@mescius/wijmo.react.nav 5.20241.10-nightly.d20240501.t020145 → 5.20241.10-nightly.d20240502.t041331

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240501.t020145
3
+ * Wijmo Library 5.20241.10-nightly.d20240502.t041331
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 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;
14
+ "use strict";var __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});const react_1=require("react"),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"]};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 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:(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},a)}));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 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:(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},a)}));
package/es2015-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240501.t020145
3
+ * Wijmo Library 5.20241.10-nightly.d20240502.t041331
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{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)}
14
+ import{forwardRef}from"react";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 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)=>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},n)}));
package/es5-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240501.t020145
3
+ * Wijmo Library 5.20241.10-nightly.d20240502.t041331
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 __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)}
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 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){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},n)}));
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240501.t020145
3
+ * Wijmo Library 5.20241.10-nightly.d20240502.t041331
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -19,6 +19,7 @@
19
19
  */
20
20
  export declare var ___keepComment: any;
21
21
  import { ControlBaseEvents, ControlBaseProps } from '@mescius/wijmo.react.base';
22
+ import * as React from 'react';
22
23
  import * as wjcCore from '@mescius/wijmo';
23
24
  import * as wjcNav from '@mescius/wijmo.nav';
24
25
  export declare type TreeViewProps = ControlBaseProps & {
@@ -77,7 +78,7 @@ export declare const TreeViewMeta: {
77
78
  * You can use this event to perform further initialization in addition to setting properties in JSX.
78
79
  * The signature of the handler function is the same as any other Wijmo event handlers.
79
80
  */
80
- export declare function TreeView(props: TreeViewProps & TreeViewEvents<wjcNav.TreeView>): any;
81
+ export declare const TreeView: React.ForwardRefExoticComponent<TreeViewProps & TreeViewEvents<wjcNav.TreeView>>;
81
82
  export declare type TabPanelProps = ControlBaseProps & {
82
83
  autoSwitch?: boolean;
83
84
  isAnimated?: boolean;
@@ -103,7 +104,7 @@ export declare const TabPanelMeta: {
103
104
  * You can use this event to perform further initialization in addition to setting properties in JSX.
104
105
  * The signature of the handler function is the same as any other Wijmo event handlers.
105
106
  */
106
- export declare function TabPanel(props: TabPanelProps & TabPanelEvents<wjcNav.TabPanel>): any;
107
+ export declare const TabPanel: React.ForwardRefExoticComponent<TabPanelProps & TabPanelEvents<wjcNav.TabPanel>>;
107
108
  export declare type TabProps = {
108
109
  isDisabled?: boolean;
109
110
  isVisible?: boolean;
@@ -125,7 +126,7 @@ export declare const TabMeta: {
125
126
  * You can use this event to perform further initialization in addition to setting properties in JSX.
126
127
  * The signature of the handler function is the same as any other Wijmo event handlers.
127
128
  */
128
- export declare function Tab(props: TabProps & TabEvents<wjcNav.Tab>): any;
129
+ export declare const Tab: React.ForwardRefExoticComponent<TabProps & TabEvents<wjcNav.Tab>>;
129
130
  export declare type AccordionProps = ControlBaseProps & {
130
131
  allowCollapseAll?: boolean;
131
132
  allowExpandMany?: boolean;
@@ -154,7 +155,7 @@ export declare const AccordionMeta: {
154
155
  * You can use this event to perform further initialization in addition to setting properties in JSX.
155
156
  * The signature of the handler function is the same as any other Wijmo event handlers.
156
157
  */
157
- export declare function Accordion(props: AccordionProps & AccordionEvents<wjcNav.Accordion>): any;
158
+ export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & AccordionEvents<wjcNav.Accordion>>;
158
159
  export declare type AccordionPaneProps = {
159
160
  isCollapsed?: boolean;
160
161
  isDisabled?: boolean;
@@ -177,4 +178,4 @@ export declare const AccordionPaneMeta: {
177
178
  * You can use this event to perform further initialization in addition to setting properties in JSX.
178
179
  * The signature of the handler function is the same as any other Wijmo event handlers.
179
180
  */
180
- export declare function AccordionPane(props: AccordionPaneProps & AccordionPaneEvents<wjcNav.AccordionPane>): any;
181
+ 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.10-nightly.d20240501.t020145
3
+ * Wijmo Library 5.20241.10-nightly.d20240502.t041331
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 __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;
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 r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}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 react_1=require("react"),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"])};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 n=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},n)}));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 n=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){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},n)}));
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@mescius/wijmo.react.nav",
3
- "version": "5.20241.10-nightly.d20240501.t020145",
3
+ "version": "5.20241.10-nightly.d20240502.t041331",
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.d20240501.t020145",
11
- "@mescius/wijmo.nav": "5.20241.10-nightly.d20240501.t020145",
12
- "@mescius/wijmo.react.base": "5.20241.10-nightly.d20240501.t020145"
10
+ "@mescius/wijmo": "5.20241.10-nightly.d20240502.t041331",
11
+ "@mescius/wijmo.nav": "5.20241.10-nightly.d20240502.t041331",
12
+ "@mescius/wijmo.react.base": "5.20241.10-nightly.d20240502.t041331"
13
13
  },
14
14
  "homepage": "https://developer.mescius.com/wijmo",
15
15
  "bugs": {