@mescius/wijmo.react.nav 5.20241.10-nightly.d20240426.t020159 → 5.20241.10-nightly.d20240430.t020132
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 +104 -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.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240430.t020132
|
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 n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),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"]};function TreeView(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.TreeViewMeta.inputs,events:exports.TreeViewMeta.events,props:e,constructor:wjcNav.TreeView}).renderResult}exports.TreeView=TreeView;exports.TabPanelMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"autoSwitch","isAnimated","selectedIndex","selectedTab"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"selectedIndexChanged"]};function TabPanel(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.TabPanelMeta.inputs,events:exports.TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}exports.TabPanel=TabPanel;exports.TabMeta={inputs:["isDisabled","isVisible"],events:[]};function Tab(e){const t=wijmo_react_base_1.useWjComponentChildBase({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},t)}exports.Tab=Tab;exports.AccordionMeta={inputs:[...wijmo_react_base_1.ControlBaseMeta.inputs,"allowCollapseAll","allowExpandMany","autoSwitch","isAnimated","selectedIndex","selectedPane","showIcons"],events:[...wijmo_react_base_1.ControlBaseMeta.events,"selectedIndexChanged"]};function Accordion(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.AccordionMeta.inputs,events:exports.AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}exports.Accordion=Accordion;exports.AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};function AccordionPane(e){const t=wijmo_react_base_1.useWjComponentChildBase({properties:exports.AccordionPaneMeta.inputs,events:exports.AccordionPaneMeta.events,props:e,constructor:wjcNav.AccordionPane,needParentInstance:!1,parentProp:"panes",isParentPropArray:!0,assignedToParent:!0,customConstructor:(e,t)=>new wjcNav.AccordionPane(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.content)}}});return Object.assign({$_wjComponent:!0},t)}exports.AccordionPane=AccordionPane;
|
package/es2015-esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240430.t020132
|
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{ControlBaseMeta,selectiveDomRender,useWjComponentBase,useWjComponentChildBase}from"@mescius/wijmo.react.base";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 function TreeView(e){return useWjComponentBase({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 function TabPanel(e){return useWjComponentBase({properties:TabPanelMeta.inputs,events:TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}export const TabMeta={inputs:["isDisabled","isVisible"],events:[]};export function Tab(e){const t=useWjComponentChildBase({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},t)}export const AccordionMeta={inputs:[...ControlBaseMeta.inputs,"allowCollapseAll","allowExpandMany","autoSwitch","isAnimated","selectedIndex","selectedPane","showIcons"],events:[...ControlBaseMeta.events,"selectedIndexChanged"]};export function Accordion(e){return useWjComponentBase({properties:AccordionMeta.inputs,events:AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}export const AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};export function AccordionPane(e){const t=useWjComponentChildBase({properties:AccordionPaneMeta.inputs,events:AccordionPaneMeta.events,props:e,constructor:wjcNav.AccordionPane,needParentInstance:!1,parentProp:"panes",isParentPropArray:!0,assignedToParent:!0,customConstructor:(e,t)=>new wjcNav.AccordionPane(document.createElement("div"),document.createElement("div")),customProps:{children:(e,t)=>{selectiveDomRender(t[0],e.header);selectiveDomRender(t[1],e.content)}}});return Object.assign({$_wjComponent:!0},t)}
|
package/es5-esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240430.t020132
|
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{ControlBaseMeta,selectiveDomRender,useWjComponentBase,useWjComponentChildBase}from"@mescius/wijmo.react.base";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 function TreeView(e){return useWjComponentBase({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 function TabPanel(e){return useWjComponentBase({properties:TabPanelMeta.inputs,events:TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}export var TabMeta={inputs:["isDisabled","isVisible"],events:[]};export function Tab(e){var t=useWjComponentChildBase({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},t)}export var AccordionMeta={inputs:ControlBaseMeta.inputs.concat(["allowCollapseAll","allowExpandMany","autoSwitch","isAnimated","selectedIndex","selectedPane","showIcons"]),events:ControlBaseMeta.events.concat(["selectedIndexChanged"])};export function Accordion(e){return useWjComponentBase({properties:AccordionMeta.inputs,events:AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}export var AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};export function AccordionPane(e){var t=useWjComponentChildBase({properties:AccordionPaneMeta.inputs,events:AccordionPaneMeta.events,props:e,constructor:wjcNav.AccordionPane,needParentInstance:!1,parentProp:"panes",isParentPropArray:!0,assignedToParent:!0,customConstructor:function(e,t){return new wjcNav.AccordionPane(document.createElement("div"),document.createElement("div"))},customProps:{children:function(e,t){selectiveDomRender(t[0],e.header);selectiveDomRender(t[1],e.content)}}});return __assign({$_wjComponent:!0},t)}
|
package/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240430.t020132
|
4
4
|
* https://developer.mescius.com/wijmo
|
5
5
|
*
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
@@ -18,7 +18,56 @@
|
|
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 wjcCore from '@mescius/wijmo';
|
23
|
+
import * as wjcNav from '@mescius/wijmo.nav';
|
24
|
+
export declare type TreeViewProps = ControlBaseProps & {
|
25
|
+
allowDragging?: boolean;
|
26
|
+
autoCollapse?: boolean;
|
27
|
+
checkOnClick?: boolean;
|
28
|
+
checkedMemberPath?: string | string[];
|
29
|
+
childItemsPath?: string | string[];
|
30
|
+
collapseOnClick?: boolean;
|
31
|
+
collapseWhenDisabled?: boolean;
|
32
|
+
displayMemberPath?: string | string[];
|
33
|
+
expandOnClick?: boolean;
|
34
|
+
expandOnLoad?: boolean;
|
35
|
+
imageMemberPath?: string | string[];
|
36
|
+
isAnimated?: boolean;
|
37
|
+
isContentHtml?: boolean;
|
38
|
+
isReadOnly?: boolean;
|
39
|
+
itemsSource?: any[];
|
40
|
+
lazyLoadFunction?: wjcNav.ILazyLoad;
|
41
|
+
selectedItem?: any;
|
42
|
+
selectedNode?: wjcNav.TreeNode;
|
43
|
+
showCheckboxes?: boolean;
|
44
|
+
totalItemCount?: number;
|
45
|
+
};
|
46
|
+
export declare type TreeViewEvents<T> = ControlBaseEvents<T> & {
|
47
|
+
checkedItemsChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
48
|
+
dragEnd?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
49
|
+
dragOver?: wjcCore.IEventHandler<T, wjcNav.TreeNodeDragDropEventArgs>;
|
50
|
+
dragStart?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
51
|
+
drop?: wjcCore.IEventHandler<T, wjcNav.TreeNodeDragDropEventArgs>;
|
52
|
+
formatItem?: wjcCore.IEventHandler<T, wjcNav.FormatNodeEventArgs>;
|
53
|
+
isCheckedChanged?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
54
|
+
isCheckedChanging?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
55
|
+
isCollapsedChanged?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
56
|
+
isCollapsedChanging?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
57
|
+
itemClicked?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
58
|
+
itemsSourceChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
59
|
+
loadedItems?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
60
|
+
loadingItems?: wjcCore.IEventHandler<T, wjcCore.CancelEventArgs>;
|
61
|
+
nodeEditEnded?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
62
|
+
nodeEditEnding?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
63
|
+
nodeEditStarted?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
64
|
+
nodeEditStarting?: wjcCore.IEventHandler<T, wjcNav.TreeNodeEventArgs>;
|
65
|
+
selectedItemChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
66
|
+
};
|
67
|
+
export declare const TreeViewMeta: {
|
68
|
+
inputs: string[];
|
69
|
+
events: string[];
|
70
|
+
};
|
22
71
|
/**
|
23
72
|
* React component for the {@link wijmo.nav.TreeView} control.
|
24
73
|
*
|
@@ -28,60 +77,20 @@ import { ComponentBase } from '@mescius/wijmo.react.base';
|
|
28
77
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
29
78
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
30
79
|
*/
|
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
|
-
}
|
80
|
+
export declare function TreeView(props: TreeViewProps & TreeViewEvents<wjcNav.TreeView>): any;
|
81
|
+
export declare type TabPanelProps = ControlBaseProps & {
|
82
|
+
autoSwitch?: boolean;
|
83
|
+
isAnimated?: boolean;
|
84
|
+
selectedIndex?: number;
|
85
|
+
selectedTab?: wjcNav.Tab;
|
86
|
+
};
|
87
|
+
export declare type TabPanelEvents<T> = ControlBaseEvents<T> & {
|
88
|
+
selectedIndexChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
89
|
+
};
|
90
|
+
export declare const TabPanelMeta: {
|
91
|
+
inputs: string[];
|
92
|
+
events: string[];
|
93
|
+
};
|
85
94
|
/**
|
86
95
|
* React component for the {@link wijmo.nav.TabPanel} control.
|
87
96
|
*
|
@@ -94,29 +103,16 @@ export declare class TreeView extends ComponentBase {
|
|
94
103
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
95
104
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
96
105
|
*/
|
97
|
-
export declare
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
initialized?: any;
|
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
|
-
}
|
106
|
+
export declare function TabPanel(props: TabPanelProps & TabPanelEvents<wjcNav.TabPanel>): any;
|
107
|
+
export declare type TabProps = {
|
108
|
+
isDisabled?: boolean;
|
109
|
+
isVisible?: boolean;
|
110
|
+
};
|
111
|
+
export declare type TabEvents<T> = {};
|
112
|
+
export declare const TabMeta: {
|
113
|
+
inputs: string[];
|
114
|
+
events: any[];
|
115
|
+
};
|
120
116
|
/**
|
121
117
|
* React component for the {@link wijmo.nav.Tab} class.
|
122
118
|
*
|
@@ -129,20 +125,23 @@ export declare class TabPanel extends ComponentBase {
|
|
129
125
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
130
126
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
131
127
|
*/
|
132
|
-
export declare
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
128
|
+
export declare function Tab(props: TabProps & TabEvents<wjcNav.Tab>): any;
|
129
|
+
export declare type AccordionProps = ControlBaseProps & {
|
130
|
+
allowCollapseAll?: boolean;
|
131
|
+
allowExpandMany?: boolean;
|
132
|
+
autoSwitch?: boolean;
|
133
|
+
isAnimated?: boolean;
|
134
|
+
selectedIndex?: number;
|
135
|
+
selectedPane?: wjcNav.AccordionPane;
|
136
|
+
showIcons?: boolean;
|
137
|
+
};
|
138
|
+
export declare type AccordionEvents<T> = ControlBaseEvents<T> & {
|
139
|
+
selectedIndexChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
|
140
|
+
};
|
141
|
+
export declare const AccordionMeta: {
|
142
|
+
inputs: string[];
|
143
|
+
events: string[];
|
144
|
+
};
|
146
145
|
/**
|
147
146
|
* React component for the {@link wijmo.nav.Accordion} control.
|
148
147
|
*
|
@@ -155,32 +154,17 @@ export declare class Tab extends ComponentBase {
|
|
155
154
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
156
155
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
157
156
|
*/
|
158
|
-
export declare
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
allowCollapseAll?: any;
|
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
|
-
}
|
157
|
+
export declare function Accordion(props: AccordionProps & AccordionEvents<wjcNav.Accordion>): any;
|
158
|
+
export declare type AccordionPaneProps = {
|
159
|
+
isCollapsed?: boolean;
|
160
|
+
isDisabled?: boolean;
|
161
|
+
isVisible?: boolean;
|
162
|
+
};
|
163
|
+
export declare type AccordionPaneEvents<T> = {};
|
164
|
+
export declare const AccordionPaneMeta: {
|
165
|
+
inputs: string[];
|
166
|
+
events: any[];
|
167
|
+
};
|
184
168
|
/**
|
185
169
|
* React component for the {@link wijmo.nav.AccordionPane} class.
|
186
170
|
*
|
@@ -193,18 +177,4 @@ export declare class Accordion extends ComponentBase {
|
|
193
177
|
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
194
178
|
* The signature of the handler function is the same as any other Wijmo event handlers.
|
195
179
|
*/
|
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
|
-
}
|
180
|
+
export declare function AccordionPane(props: AccordionPaneProps & AccordionPaneEvents<wjcNav.AccordionPane>): any;
|
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
*
|
3
|
-
* Wijmo Library 5.20241.10-nightly.
|
3
|
+
* Wijmo Library 5.20241.10-nightly.d20240430.t020132
|
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,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)},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_react_base_1=require("@mescius/wijmo.react.base"),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"])};function TreeView(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.TreeViewMeta.inputs,events:exports.TreeViewMeta.events,props:e,constructor:wjcNav.TreeView}).renderResult}exports.TreeView=TreeView;exports.TabPanelMeta={inputs:wijmo_react_base_1.ControlBaseMeta.inputs.concat(["autoSwitch","isAnimated","selectedIndex","selectedTab"]),events:wijmo_react_base_1.ControlBaseMeta.events.concat(["selectedIndexChanged"])};function TabPanel(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.TabPanelMeta.inputs,events:exports.TabPanelMeta.events,props:e,constructor:wjcNav.TabPanel}).renderResult}exports.TabPanel=TabPanel;exports.TabMeta={inputs:["isDisabled","isVisible"],events:[]};function Tab(e){var t=wijmo_react_base_1.useWjComponentChildBase({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},t)}exports.Tab=Tab;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"])};function Accordion(e){return wijmo_react_base_1.useWjComponentBase({properties:exports.AccordionMeta.inputs,events:exports.AccordionMeta.events,props:e,constructor:wjcNav.Accordion}).renderResult}exports.Accordion=Accordion;exports.AccordionPaneMeta={inputs:["isCollapsed","isDisabled","isVisible"],events:[]};function AccordionPane(e){var t=wijmo_react_base_1.useWjComponentChildBase({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){return new wjcNav.AccordionPane(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.content)}}});return __assign({$_wjComponent:!0},t)}exports.AccordionPane=AccordionPane;
|
package/package.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mescius/wijmo.react.nav",
|
3
|
-
"version": "5.20241.10-nightly.
|
3
|
+
"version": "5.20241.10-nightly.d20240430.t020132",
|
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.10-nightly.
|
11
|
-
"@mescius/wijmo.nav": "5.20241.10-nightly.
|
12
|
-
"@mescius/wijmo.react.base": "5.20241.10-nightly.
|
10
|
+
"@mescius/wijmo": "5.20241.10-nightly.d20240430.t020132",
|
11
|
+
"@mescius/wijmo.nav": "5.20241.10-nightly.d20240430.t020132",
|
12
|
+
"@mescius/wijmo.react.base": "5.20241.10-nightly.d20240430.t020132"
|
13
13
|
},
|
14
14
|
"homepage": "https://developer.mescius.com/wijmo",
|
15
15
|
"bugs": {
|