@mescius/wijmo.react.nav 5.20241.9-rc → 5.20241.9-temp1-nightly.d20240524.t154527
Sign up to get free protection for your applications and to get access to all the features.
- package/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +107 -134
- package/index.js +2 -2
- package/package.json +4 -4
package/es2015-commonjs.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.9
|
3
|
+
* Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
"use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var
|
14
|
+
"use strict";var __importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(t[s]=e[s]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=require("react"),wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcNav=__importStar(require("@mescius/wijmo.nav"));exports.TreeViewMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"allowDragging","autoCollapse","checkOnClick","checkedMemberPath","childItemsPath","collapseOnClick","collapseWhenDisabled","displayMemberPath","expandOnClick","expandOnLoad","imageMemberPath","isAnimated","isContentHtml","isReadOnly","itemsSource","lazyLoadFunction","selectedItem","selectedNode","showCheckboxes","totalItemCount"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"checkedItemsChanged","dragEnd","dragOver","dragStart","drop","formatItem","isCheckedChanged","isCheckedChanging","isCollapsedChanged","isCollapsedChanging","itemClicked","itemsSourceChanged","loadedItems","loadingItems","nodeEditEnded","nodeEditEnding","nodeEditStarted","nodeEditStarting","selectedItemChanged"]};exports.TreeView=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.TreeViewMeta.inputs,events:exports.TreeViewMeta.events,props:e,constructor:wjcNav.TreeView}).renderResult}));exports.TabPanelMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"autoSwitch","isAnimated","selectedIndex","selectedTab"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"selectedIndexChanged"]};exports.TabPanel=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.TabPanelMeta.inputs,events:exports.TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}));exports.TabMeta={inputs:["isDisabled","isVisible"],events:[]};exports.Tab=react_1.forwardRef((function(e,t){const s=wijmo_react_base_1.useWjComponentChildBase({ref:t,properties:exports.TabMeta.inputs,events:exports.TabMeta.events,props:e,constructor:wjcNav.Tab,needParentInstance:!1,parentProp:"tabs",isParentPropArray:!0,assignedToParent:!0,customConstructor:(e,t)=>new wjcNav.Tab(document.createElement("div"),document.createElement("div")),customProps:{children:(e,t)=>{wijmo_react_base_1.selectiveDomRender(t[0],e.header);wijmo_react_base_1.selectiveDomRender(t[1],e.pane)}}});return Object.assign({$_wjComponent:!0},s)}));exports.AccordionMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"allowCollapseAll","allowExpandMany","autoSwitch","isAnimated","selectedIndex","selectedPane","showIcons"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"selectedIndexChanged"]};exports.Accordion=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.AccordionMeta.inputs,events:exports.AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}));exports.AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};exports.AccordionPane=react_1.forwardRef((function(e,t){const s=wijmo_react_base_1.useWjComponentChildBase({ref:t,properties:exports.AccordionPaneMeta.inputs,events:exports.AccordionPaneMeta.events,props:e,constructor:wjcNav.AccordionPane,needParentInstance:!1,parentProp:"panes",isParentPropArray:!0,assignedToParent:!0,customConstructor:(e,t)=>{(null==e.selectedIndex||e.selectedIndex<0)&&(e.selectedIndex=0);return new wjcNav.AccordionPane(document.createElement("div"),document.createElement("div"))},customProps:{children:(e,t)=>{e.header.classList.forEach(t=>{t.startsWith("wj")||e.header.classList.remove(t)});e.content.classList.forEach(t=>{t.startsWith("wj")||e.header.classList.remove(t)});let s="";t[0].props&&t[0].props.className&&(s=t[0].props.className);wjcCore.addClass(e.header,s);t[1].props&&t[1].props.bodyClass&&(s=t[1].props.bodyClass);wjcCore.addClass(e.content,"");wijmo_react_base_1.selectiveDomRender(t[0],e.header);wijmo_react_base_1.selectiveDomRender(t[1],e.content)}}});return Object.assign({$_wjComponent:!0},s)}));
|
package/es2015-esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.9
|
3
|
+
* Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
import{
|
14
|
+
import{forwardRef}from"react";import{ControlBaseMeta,selectiveDomRender,useWjComponentBase,useWjComponentChildBase}from"@mescius/wijmo.react.base";import*as wjcCore from"@mescius/wijmo";import*as wjcNav from"@mescius/wijmo.nav";export const TreeViewMeta={inputs:[...ControlBaseMeta.inputs,"allowDragging","autoCollapse","checkOnClick","checkedMemberPath","childItemsPath","collapseOnClick","collapseWhenDisabled","displayMemberPath","expandOnClick","expandOnLoad","imageMemberPath","isAnimated","isContentHtml","isReadOnly","itemsSource","lazyLoadFunction","selectedItem","selectedNode","showCheckboxes","totalItemCount"],events:[...ControlBaseMeta.events,"checkedItemsChanged","dragEnd","dragOver","dragStart","drop","formatItem","isCheckedChanged","isCheckedChanging","isCollapsedChanged","isCollapsedChanging","itemClicked","itemsSourceChanged","loadedItems","loadingItems","nodeEditEnded","nodeEditEnding","nodeEditStarted","nodeEditStarting","selectedItemChanged"]};export const TreeView=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:TreeViewMeta.inputs,events:TreeViewMeta.events,props:e,constructor:wjcNav.TreeView}).renderResult}));export const TabPanelMeta={inputs:[...ControlBaseMeta.inputs,"autoSwitch","isAnimated","selectedIndex","selectedTab"],events:[...ControlBaseMeta.events,"selectedIndexChanged"]};export const TabPanel=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:TabPanelMeta.inputs,events:TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}));export const TabMeta={inputs:["isDisabled","isVisible"],events:[]};export const Tab=forwardRef((function(e,t){const n=useWjComponentChildBase({ref:t,properties:TabMeta.inputs,events:TabMeta.events,props:e,constructor:wjcNav.Tab,needParentInstance:!1,parentProp:"tabs",isParentPropArray:!0,assignedToParent:!0,customConstructor:(e,t)=>new wjcNav.Tab(document.createElement("div"),document.createElement("div")),customProps:{children:(e,t)=>{selectiveDomRender(t[0],e.header);selectiveDomRender(t[1],e.pane)}}});return Object.assign({$_wjComponent:!0},n)}));export const AccordionMeta={inputs:[...ControlBaseMeta.inputs,"allowCollapseAll","allowExpandMany","autoSwitch","isAnimated","selectedIndex","selectedPane","showIcons"],events:[...ControlBaseMeta.events,"selectedIndexChanged"]};export const Accordion=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:AccordionMeta.inputs,events:AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}));export const AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};export const AccordionPane=forwardRef((function(e,t){const n=useWjComponentChildBase({ref:t,properties:AccordionPaneMeta.inputs,events:AccordionPaneMeta.events,props:e,constructor:wjcNav.AccordionPane,needParentInstance:!1,parentProp:"panes",isParentPropArray:!0,assignedToParent:!0,customConstructor:(e,t)=>{(null==e.selectedIndex||e.selectedIndex<0)&&(e.selectedIndex=0);return new wjcNav.AccordionPane(document.createElement("div"),document.createElement("div"))},customProps:{children:(e,t)=>{e.header.classList.forEach(t=>{t.startsWith("wj")||e.header.classList.remove(t)});e.content.classList.forEach(t=>{t.startsWith("wj")||e.header.classList.remove(t)});let n="";t[0].props&&t[0].props.className&&(n=t[0].props.className);wjcCore.addClass(e.header,n);t[1].props&&t[1].props.bodyClass&&(n=t[1].props.bodyClass);wjcCore.addClass(e.content,"");selectiveDomRender(t[0],e.header);selectiveDomRender(t[1],e.content)}}});return Object.assign({$_wjComponent:!0},n)}));
|
package/es5-esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.9
|
3
|
+
* Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
var
|
14
|
+
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)};import{forwardRef}from"react";import{ControlBaseMeta,selectiveDomRender,useWjComponentBase,useWjComponentChildBase}from"@mescius/wijmo.react.base";import*as wjcCore from"@mescius/wijmo";import*as wjcNav from"@mescius/wijmo.nav";export var TreeViewMeta={inputs:ControlBaseMeta.inputs.concat(["allowDragging","autoCollapse","checkOnClick","checkedMemberPath","childItemsPath","collapseOnClick","collapseWhenDisabled","displayMemberPath","expandOnClick","expandOnLoad","imageMemberPath","isAnimated","isContentHtml","isReadOnly","itemsSource","lazyLoadFunction","selectedItem","selectedNode","showCheckboxes","totalItemCount"]),events:ControlBaseMeta.events.concat(["checkedItemsChanged","dragEnd","dragOver","dragStart","drop","formatItem","isCheckedChanged","isCheckedChanging","isCollapsedChanged","isCollapsedChanging","itemClicked","itemsSourceChanged","loadedItems","loadingItems","nodeEditEnded","nodeEditEnding","nodeEditStarted","nodeEditStarting","selectedItemChanged"])};export var TreeView=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:TreeViewMeta.inputs,events:TreeViewMeta.events,props:e,constructor:wjcNav.TreeView}).renderResult}));export var TabPanelMeta={inputs:ControlBaseMeta.inputs.concat(["autoSwitch","isAnimated","selectedIndex","selectedTab"]),events:ControlBaseMeta.events.concat(["selectedIndexChanged"])};export var TabPanel=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:TabPanelMeta.inputs,events:TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}));export var TabMeta={inputs:["isDisabled","isVisible"],events:[]};export var Tab=forwardRef((function(e,t){var n=useWjComponentChildBase({ref:t,properties:TabMeta.inputs,events:TabMeta.events,props:e,constructor:wjcNav.Tab,needParentInstance:!1,parentProp:"tabs",isParentPropArray:!0,assignedToParent:!0,customConstructor:function(e,t){return new wjcNav.Tab(document.createElement("div"),document.createElement("div"))},customProps:{children:function(e,t){selectiveDomRender(t[0],e.header);selectiveDomRender(t[1],e.pane)}}});return __assign({$_wjComponent:!0},n)}));export var AccordionMeta={inputs:ControlBaseMeta.inputs.concat(["allowCollapseAll","allowExpandMany","autoSwitch","isAnimated","selectedIndex","selectedPane","showIcons"]),events:ControlBaseMeta.events.concat(["selectedIndexChanged"])};export var Accordion=forwardRef((function(e,t){return useWjComponentBase({ref:t,properties:AccordionMeta.inputs,events:AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}));export var AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};export var AccordionPane=forwardRef((function(e,t){var n=useWjComponentChildBase({ref:t,properties:AccordionPaneMeta.inputs,events:AccordionPaneMeta.events,props:e,constructor:wjcNav.AccordionPane,needParentInstance:!1,parentProp:"panes",isParentPropArray:!0,assignedToParent:!0,customConstructor:function(e,t){(null==e.selectedIndex||e.selectedIndex<0)&&(e.selectedIndex=0);return new wjcNav.AccordionPane(document.createElement("div"),document.createElement("div"))},customProps:{children:function(e,t){e.header.classList.forEach((function(t){t.startsWith("wj")||e.header.classList.remove(t)}));e.content.classList.forEach((function(t){t.startsWith("wj")||e.header.classList.remove(t)}));var n="";t[0].props&&t[0].props.className&&(n=t[0].props.className);wjcCore.addClass(e.header,n);t[1].props&&t[1].props.bodyClass&&(n=t[1].props.bodyClass);wjcCore.addClass(e.content,"");selectiveDomRender(t[0],e.header);selectiveDomRender(t[1],e.content)}}});return __assign({$_wjComponent:!0},n)}));
|
package/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.9
|
3
|
+
* Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -18,7 +18,57 @@
|
|
18
18
|
*
|
19
19
|
*/
|
20
20
|
export declare var ___keepComment: any;
|
21
|
-
import {
|
21
|
+
import { ControlBaseEvents, ControlBaseProps } from '@mescius/wijmo.react.base';
|
22
|
+
import * as React from 'react';
|
23
|
+
import * as wjcCore from '@mescius/wijmo';
|
24
|
+
import * as wjcNav from '@mescius/wijmo.nav';
|
25
|
+
export declare type TreeViewProps = ControlBaseProps & {
|
26
|
+
allowDragging?: boolean;
|
27
|
+
autoCollapse?: boolean;
|
28
|
+
checkOnClick?: boolean;
|
29
|
+
checkedMemberPath?: string | string[];
|
30
|
+
childItemsPath?: string | string[];
|
31
|
+
collapseOnClick?: boolean;
|
32
|
+
collapseWhenDisabled?: boolean;
|
33
|
+
displayMemberPath?: string | string[];
|
34
|
+
expandOnClick?: boolean;
|
35
|
+
expandOnLoad?: boolean;
|
36
|
+
imageMemberPath?: string | string[];
|
37
|
+
isAnimated?: boolean;
|
38
|
+
isContentHtml?: boolean;
|
39
|
+
isReadOnly?: boolean;
|
40
|
+
itemsSource?: any[];
|
41
|
+
lazyLoadFunction?: wjcNav.ILazyLoad;
|
42
|
+
selectedItem?: any;
|
43
|
+
selectedNode?: wjcNav.TreeNode;
|
44
|
+
showCheckboxes?: boolean;
|
45
|
+
totalItemCount?: number;
|
46
|
+
};
|
47
|
+
export declare type TreeViewEvents<T> = ControlBaseEvents<T> & {
|
48
|
+
checkedItemsChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
49
|
+
dragEnd?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
50
|
+
dragOver?: wjcCore.IEventHandler<T, wjcNav.TreeNodeDragDropEventArgs>;
|
51
|
+
dragStart?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
52
|
+
drop?: wjcCore.IEventHandler<T, wjcNav.TreeNodeDragDropEventArgs>;
|
53
|
+
formatItem?: wjcCore.IEventHandler<T, wjcNav.FormatNodeEventArgs>;
|
54
|
+
isCheckedChanged?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
55
|
+
isCheckedChanging?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
56
|
+
isCollapsedChanged?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
57
|
+
isCollapsedChanging?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
58
|
+
itemClicked?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
59
|
+
itemsSourceChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
60
|
+
loadedItems?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
61
|
+
loadingItems?: wjcCore.IEventHandler<T, wjcCore.CancelEventArgs>;
|
62
|
+
nodeEditEnded?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
63
|
+
nodeEditEnding?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
64
|
+
nodeEditStarted?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
65
|
+
nodeEditStarting?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
66
|
+
selectedItemChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
67
|
+
};
|
68
|
+
export declare const TreeViewMeta: {
|
69
|
+
inputs: string[];
|
70
|
+
events: string[];
|
71
|
+
};
|
22
72
|
/**
|
23
73
|
* React component for the {@link wijmo.nav.TreeView} control.
|
24
74
|
*
|
@@ -28,60 +78,20 @@ import { ComponentBase } from '@mescius/wijmo.react.base';
|
|
28
78
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
29
79
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
30
80
|
*/
|
31
|
-
export declare
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
isReadOnly?: any;
|
46
|
-
allowDragging?: any;
|
47
|
-
checkOnClick?: any;
|
48
|
-
expandOnClick?: any;
|
49
|
-
collapseOnClick?: any;
|
50
|
-
expandOnLoad?: any;
|
51
|
-
lazyLoadFunction?: any;
|
52
|
-
itemsSource?: any;
|
53
|
-
selectedItem?: any;
|
54
|
-
selectedNode?: any;
|
55
|
-
checkedItems?: any;
|
56
|
-
initialized?: any;
|
57
|
-
gotFocus?: any;
|
58
|
-
lostFocus?: any;
|
59
|
-
refreshing?: any;
|
60
|
-
refreshed?: any;
|
61
|
-
invalidInput?: any;
|
62
|
-
itemsSourceChanged?: any;
|
63
|
-
loadingItems?: any;
|
64
|
-
loadedItems?: any;
|
65
|
-
itemClicked?: any;
|
66
|
-
isCollapsedChanging?: any;
|
67
|
-
isCollapsedChanged?: any;
|
68
|
-
isCheckedChanging?: any;
|
69
|
-
isCheckedChanged?: any;
|
70
|
-
formatItem?: any;
|
71
|
-
dragStart?: any;
|
72
|
-
dragOver?: any;
|
73
|
-
drop?: any;
|
74
|
-
dragEnd?: any;
|
75
|
-
nodeEditStarting?: any;
|
76
|
-
nodeEditStarted?: any;
|
77
|
-
nodeEditEnding?: any;
|
78
|
-
nodeEditEnded?: any;
|
79
|
-
selectedItemChanged?: any;
|
80
|
-
checkedItemsChanged?: any;
|
81
|
-
[key: string]: any;
|
82
|
-
};
|
83
|
-
constructor(props: any);
|
84
|
-
}
|
81
|
+
export declare const TreeView: React.ForwardRefExoticComponent<TreeViewProps & TreeViewEvents<wjcNav.TreeView>>;
|
82
|
+
export declare type TabPanelProps = ControlBaseProps & {
|
83
|
+
autoSwitch?: boolean;
|
84
|
+
isAnimated?: boolean;
|
85
|
+
selectedIndex?: number;
|
86
|
+
selectedTab?: wjcNav.Tab;
|
87
|
+
};
|
88
|
+
export declare type TabPanelEvents<T> = ControlBaseEvents<T> & {
|
89
|
+
selectedIndexChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
90
|
+
};
|
91
|
+
export declare const TabPanelMeta: {
|
92
|
+
inputs: string[];
|
93
|
+
events: string[];
|
94
|
+
};
|
85
95
|
/**
|
86
96
|
* React component for the {@link wijmo.nav.TabPanel} control.
|
87
97
|
*
|
@@ -94,29 +104,17 @@ export declare class TreeView extends ComponentBase {
|
|
94
104
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
95
105
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
96
106
|
*/
|
97
|
-
export declare
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
gotFocus?: any;
|
109
|
-
lostFocus?: any;
|
110
|
-
refreshing?: any;
|
111
|
-
refreshed?: any;
|
112
|
-
invalidInput?: any;
|
113
|
-
selectedIndexChanged?: any;
|
114
|
-
[key: string]: any;
|
115
|
-
};
|
116
|
-
constructor(props: any);
|
117
|
-
protected _createControl(): any;
|
118
|
-
componentDidMount(): void;
|
119
|
-
}
|
107
|
+
export declare const TabPanel: React.ForwardRefExoticComponent<TabPanelProps & TabPanelEvents<wjcNav.TabPanel>>;
|
108
|
+
export declare type TabProps = {
|
109
|
+
isDisabled?: boolean;
|
110
|
+
isVisible?: boolean;
|
111
|
+
children?: any;
|
112
|
+
};
|
113
|
+
export declare type TabEvents<T> = {};
|
114
|
+
export declare const TabMeta: {
|
115
|
+
inputs: string[];
|
116
|
+
events: any[];
|
117
|
+
};
|
120
118
|
/**
|
121
119
|
* React component for the {@link wijmo.nav.Tab} class.
|
122
120
|
*
|
@@ -129,20 +127,23 @@ export declare class TabPanel extends ComponentBase {
|
|
129
127
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
130
128
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
131
129
|
*/
|
132
|
-
export declare
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
130
|
+
export declare const Tab: React.ForwardRefExoticComponent<TabProps & TabEvents<wjcNav.Tab>>;
|
131
|
+
export declare type AccordionProps = ControlBaseProps & {
|
132
|
+
allowCollapseAll?: boolean;
|
133
|
+
allowExpandMany?: boolean;
|
134
|
+
autoSwitch?: boolean;
|
135
|
+
isAnimated?: boolean;
|
136
|
+
selectedIndex?: number;
|
137
|
+
selectedPane?: wjcNav.AccordionPane;
|
138
|
+
showIcons?: boolean;
|
139
|
+
};
|
140
|
+
export declare type AccordionEvents<T> = ControlBaseEvents<T> & {
|
141
|
+
selectedIndexChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
142
|
+
};
|
143
|
+
export declare const AccordionMeta: {
|
144
|
+
inputs: string[];
|
145
|
+
events: string[];
|
146
|
+
};
|
146
147
|
/**
|
147
148
|
* React component for the {@link wijmo.nav.Accordion} control.
|
148
149
|
*
|
@@ -155,32 +156,18 @@ export declare class Tab extends ComponentBase {
|
|
155
156
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
156
157
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
157
158
|
*/
|
158
|
-
export declare
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
allowExpandMany?: any;
|
171
|
-
initialized?: any;
|
172
|
-
gotFocus?: any;
|
173
|
-
lostFocus?: any;
|
174
|
-
refreshing?: any;
|
175
|
-
refreshed?: any;
|
176
|
-
invalidInput?: any;
|
177
|
-
selectedIndexChanged?: any;
|
178
|
-
[key: string]: any;
|
179
|
-
};
|
180
|
-
constructor(props: any);
|
181
|
-
protected _createControl(): any;
|
182
|
-
componentDidMount(): void;
|
183
|
-
}
|
159
|
+
export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & AccordionEvents<wjcNav.Accordion>>;
|
160
|
+
export declare type AccordionPaneProps = {
|
161
|
+
isCollapsed?: boolean;
|
162
|
+
isDisabled?: boolean;
|
163
|
+
isVisible?: boolean;
|
164
|
+
children?: any;
|
165
|
+
};
|
166
|
+
export declare type AccordionPaneEvents<T> = {};
|
167
|
+
export declare const AccordionPaneMeta: {
|
168
|
+
inputs: string[];
|
169
|
+
events: any[];
|
170
|
+
};
|
184
171
|
/**
|
185
172
|
* React component for the {@link wijmo.nav.AccordionPane} class.
|
186
173
|
*
|
@@ -193,18 +180,4 @@ export declare class Accordion extends ComponentBase {
|
|
193
180
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
194
181
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
195
182
|
*/
|
196
|
-
export declare
|
197
|
-
props: {
|
198
|
-
template?: any;
|
199
|
-
children?: any;
|
200
|
-
isDisabled?: any;
|
201
|
-
isVisible?: any;
|
202
|
-
isCollapsed?: any;
|
203
|
-
initialized?: any;
|
204
|
-
[key: string]: any;
|
205
|
-
};
|
206
|
-
_parentProp: string;
|
207
|
-
constructor(props: any);
|
208
|
-
protected _createControl(): any;
|
209
|
-
protected _renderImpl(): any;
|
210
|
-
}
|
183
|
+
export declare const AccordionPane: React.ForwardRefExoticComponent<AccordionPaneProps & AccordionPaneEvents<wjcNav.AccordionPane>>;
|
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.9
|
3
|
+
* Wijmo Library 5.20241.9-temp1-nightly.d20240524.t154527
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -11,4 +11,4 @@
|
|
11
11
|
*
|
12
12
|
*/
|
13
13
|
|
14
|
-
"use strict";var
|
14
|
+
"use strict";var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++){t=arguments[a];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e}).apply(this,arguments)},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.hasOwnProperty.call(e,a)&&(t[a]=e[a]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var react_1=require("react"),wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcNav=__importStar(require("@mescius/wijmo.nav"));exports.TreeViewMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["allowDragging","autoCollapse","checkOnClick","checkedMemberPath","childItemsPath","collapseOnClick","collapseWhenDisabled","displayMemberPath","expandOnClick","expandOnLoad","imageMemberPath","isAnimated","isContentHtml","isReadOnly","itemsSource","lazyLoadFunction","selectedItem","selectedNode","showCheckboxes","totalItemCount"]),events:wijmo_react_base_1.ControlBaseMeta.events.concat(["checkedItemsChanged","dragEnd","dragOver","dragStart","drop","formatItem","isCheckedChanged","isCheckedChanging","isCollapsedChanged","isCollapsedChanging","itemClicked","itemsSourceChanged","loadedItems","loadingItems","nodeEditEnded","nodeEditEnding","nodeEditStarted","nodeEditStarting","selectedItemChanged"])};exports.TreeView=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.TreeViewMeta.inputs,events:exports.TreeViewMeta.events,props:e,constructor:wjcNav.TreeView}).renderResult}));exports.TabPanelMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["autoSwitch","isAnimated","selectedIndex","selectedTab"]),events:wijmo_react_base_1.ControlBaseMeta.events.concat(["selectedIndexChanged"])};exports.TabPanel=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.TabPanelMeta.inputs,events:exports.TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}));exports.TabMeta={inputs:["isDisabled","isVisible"],events:[]};exports.Tab=react_1.forwardRef((function(e,t){var a=wijmo_react_base_1.useWjComponentChildBase({ref:t,properties:exports.TabMeta.inputs,events:exports.TabMeta.events,props:e,constructor:wjcNav.Tab,needParentInstance:!1,parentProp:"tabs",isParentPropArray:!0,assignedToParent:!0,customConstructor:function(e,t){return new wjcNav.Tab(document.createElement("div"),document.createElement("div"))},customProps:{children:function(e,t){wijmo_react_base_1.selectiveDomRender(t[0],e.header);wijmo_react_base_1.selectiveDomRender(t[1],e.pane)}}});return __assign({$_wjComponent:!0},a)}));exports.AccordionMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["allowCollapseAll","allowExpandMany","autoSwitch","isAnimated","selectedIndex","selectedPane","showIcons"]),events:wijmo_react_base_1.ControlBaseMeta.events.concat(["selectedIndexChanged"])};exports.Accordion=react_1.forwardRef((function(e,t){return wijmo_react_base_1.useWjComponentBase({ref:t,properties:exports.AccordionMeta.inputs,events:exports.AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}));exports.AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};exports.AccordionPane=react_1.forwardRef((function(e,t){var a=wijmo_react_base_1.useWjComponentChildBase({ref:t,properties:exports.AccordionPaneMeta.inputs,events:exports.AccordionPaneMeta.events,props:e,constructor:wjcNav.AccordionPane,needParentInstance:!1,parentProp:"panes",isParentPropArray:!0,assignedToParent:!0,customConstructor:function(e,t){(null==e.selectedIndex||e.selectedIndex<0)&&(e.selectedIndex=0);return new wjcNav.AccordionPane(document.createElement("div"),document.createElement("div"))},customProps:{children:function(e,t){e.header.classList.forEach((function(t){t.startsWith("wj")||e.header.classList.remove(t)}));e.content.classList.forEach((function(t){t.startsWith("wj")||e.header.classList.remove(t)}));var a="";t[0].props&&t[0].props.className&&(a=t[0].props.className);wjcCore.addClass(e.header,a);t[1].props&&t[1].props.bodyClass&&(a=t[1].props.bodyClass);wjcCore.addClass(e.content,"");wijmo_react_base_1.selectiveDomRender(t[0],e.header);wijmo_react_base_1.selectiveDomRender(t[1],e.content)}}});return __assign({$_wjComponent:!0},a)}));
|
package/package.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mescius/wijmo.react.nav",
|
3
|
-
"version": "5.20241.9-
|
3
|
+
"version": "5.20241.9-temp1-nightly.d20240524.t154527",
|
4
4
|
"description": "UI library for pure JS, Angular, React, Vue and more...",
|
5
5
|
"author": "MESCIUS inc",
|
6
6
|
"license": "Commercial",
|
7
7
|
"main": "./index.js",
|
8
8
|
"types": "./index.d.ts",
|
9
9
|
"dependencies": {
|
10
|
-
"@mescius/wijmo": "5.20241.9-
|
11
|
-
"@mescius/wijmo.nav": "5.20241.9-
|
12
|
-
"@mescius/wijmo.react.base": "5.20241.9-
|
10
|
+
"@mescius/wijmo": "5.20241.9-temp1-nightly.d20240524.t154527",
|
11
|
+
"@mescius/wijmo.nav": "5.20241.9-temp1-nightly.d20240524.t154527",
|
12
|
+
"@mescius/wijmo.react.base": "5.20241.9-temp1-nightly.d20240524.t154527"
|
13
13
|
},
|
14
14
|
"homepage": "https://developer.mescius.com/wijmo",
|
15
15
|
"bugs": {
|