@mescius/wijmo.react.nav 5.20242.20-nightly.d20240709.t020222 → 5.20242.20-nightly.d20240712.t020212

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.20242.20-nightly.d20240709.t020222
3
+ * Wijmo Library 5.20242.20-nightly.d20240712.t020212
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 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","preserveSelectedNode"],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)}));
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","preserveSelectedNode","allowMultiSelect"],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.20242.20-nightly.d20240709.t020222
3
+ * Wijmo Library 5.20242.20-nightly.d20240712.t020212
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{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","preserveSelectedNode"],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)}));
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","preserveSelectedNode","allowMultiSelect"],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.20242.20-nightly.d20240709.t020222
3
+ * Wijmo Library 5.20242.20-nightly.d20240712.t020212
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{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","preserveSelectedNode"]),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)}));
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","preserveSelectedNode","allowMultiSelect"]),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.20242.20-nightly.d20240709.t020222
3
+ * Wijmo Library 5.20242.20-nightly.d20240712.t020212
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -44,6 +44,7 @@ export declare type TreeViewInputs = ControlBaseInputs & {
44
44
  showCheckboxes?: boolean;
45
45
  totalItemCount?: number;
46
46
  preserveSelectedNode?: boolean;
47
+ allowMultiSelect?: boolean;
47
48
  };
48
49
  export declare type TreeViewEvents<T> = ControlBaseEvents<T> & {
49
50
  checkedItemsChanged?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20242.20-nightly.d20240709.t020222
3
+ * Wijmo Library 5.20242.20-nightly.d20240712.t020212
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,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","preserveSelectedNode"]),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)}));
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","preserveSelectedNode","allowMultiSelect"]),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.20242.20-nightly.d20240709.t020222",
3
+ "version": "5.20242.20-nightly.d20240712.t020212",
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.20242.20-nightly.d20240709.t020222",
11
- "@mescius/wijmo.nav": "5.20242.20-nightly.d20240709.t020222",
12
- "@mescius/wijmo.react.base": "5.20242.20-nightly.d20240709.t020222"
10
+ "@mescius/wijmo": "5.20242.20-nightly.d20240712.t020212",
11
+ "@mescius/wijmo.nav": "5.20242.20-nightly.d20240712.t020212",
12
+ "@mescius/wijmo.react.base": "5.20242.20-nightly.d20240712.t020212"
13
13
  },
14
14
  "homepage": "https://developer.mescius.com/wijmo",
15
15
  "bugs": {