@syncfusion/ej2-react-navigations
Version:
A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another for React
12 lines (11 loc) • 15.8 kB
JavaScript
/*!
* filename: ej2-react-navigations.umd.min.js
* version : 31.2.3
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-navigations")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-navigations"],e):e((t=t||self).ej={},t.ej2ReactBase,t.React,t.ej2Navigations)}(this,function(e,t,n,o){"use strict";E=function(t,e){return(E=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var E,r,F=function(t,e){function n(){this.constructor=t}E(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},U=(r=t.ComplexBase,F(S,r),S.moduleName="accordionItem",S);function S(){return null!==r&&r.apply(this,arguments)||this}i=t.ComplexBase,F(s,i),s.propertyName="items",s.moduleName="accordionItems";var i,F=s;function s(){return null!==i&&i.apply(this,arguments)||this}q=function(t,e){return(q=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var q,c,V=function(t,e){function n(){this.constructor=t}q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},V=(c=o.Accordion,V(z,c),z.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));c.prototype.render.call(this),this.initRenderCalled=!0},z);function z(t){t=c.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={accordionItems:"accordionItem"},t.statelessTemplateProps=["itemTemplate","headerTemplate"],t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(V,[t.ComponentBase,n.Component]);G=function(t,e){return(G=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var G,p,H=function(t,e){function n(){this.constructor=t}G(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},J=(p=t.ComplexBase,H(K,p),K.moduleName="item",K);function K(){return null!==p&&p.apply(this,arguments)||this}a=t.ComplexBase,H(l,a),l.propertyName="items",l.moduleName="items";var a,H=l;function l(){return null!==a&&a.apply(this,arguments)||this}L=function(t,e){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var L,u,Q=function(t,e){function n(){this.constructor=t}L(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Q=(u=o.Toolbar,Q(W,u),W.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));u.prototype.render.call(this),this.initRenderCalled=!0},W);function W(t){t=u.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={items:"item"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Q,[t.ComponentBase,n.Component]);X=function(t,e){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var X,f,Y=function(t,e){function n(){this.constructor=t}X(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Y=(f=o.ContextMenu,Y(Z,f),Z.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("ul",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));f.prototype.render.call(this),this.initRenderCalled=!0},Z);function Z(t){t=f.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Y,[t.ComponentBase,n.Component]);$=function(t,e){return($=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var $,h,tt=function(t,e){function n(){this.constructor=t}$(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},et=(h=t.ComplexBase,tt(nt,h),nt.moduleName="breadcrumbItem",nt);function nt(){return null!==h&&h.apply(this,arguments)||this}d=t.ComplexBase,tt(m,d),m.propertyName="items",m.moduleName="breadcrumbItems";var d,tt=m;function m(){return null!==d&&d.apply(this,arguments)||this}ot=function(t,e){return(ot=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var ot,y,rt=function(t,e){function n(){this.constructor=t}ot(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},rt=(y=o.Breadcrumb,rt(it,y),it.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("nav",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));y.prototype.render.call(this),this.initRenderCalled=!0},it);function it(t){t=y.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={breadcrumbItems:"breadcrumbItem"},t.statelessTemplateProps=["itemTemplate"],t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(rt,[t.ComponentBase,n.Component]);st=function(t,e){return(st=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var st,_,ct=function(t,e){function n(){this.constructor=t}st(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},pt=(_=t.ComplexBase,ct(at,_),at.moduleName="carouselItem",at);function at(){return null!==_&&_.apply(this,arguments)||this}C=t.ComplexBase,ct(b,C),b.propertyName="items",b.moduleName="carouselItems";var C,ct=b;function b(){return null!==C&&C.apply(this,arguments)||this}lt=function(t,e){return(lt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var lt,R,ut=function(t,e){function n(){this.constructor=t}lt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ut=(R=o.Carousel,ut(ft,R),ft.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));R.prototype.render.call(this),this.initRenderCalled=!0},ft);function ft(t){t=R.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={carouselItems:"carouselItem"},t.statelessTemplateProps=["itemTemplate"],t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(ut,[t.ComponentBase,n.Component]);ht=function(t,e){return(ht=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var ht,v,dt=function(t,e){function n(){this.constructor=t}ht(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},mt=(v=t.ComplexBase,dt(O,v),O.moduleName="tabItem",O.complexTemplate={"header.text":"header.text"},O);function O(){return null!==v&&v.apply(this,arguments)||this}j=t.ComplexBase,dt(P,j),P.propertyName="items",P.moduleName="tabItems";var j,dt=P;function P(){return null!==j&&j.apply(this,arguments)||this}yt=function(t,e){return(yt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var yt,M,_t=function(t,e){function n(){this.constructor=t}yt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},_t=(M=o.Tab,_t(Ct,M),Ct.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},Ct);function Ct(t){t=M.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={tabItems:"tabItem"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(_t,[t.ComponentBase,n.Component]);bt=function(t,e){return(bt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var bt,I,Rt=function(t,e){function n(){this.constructor=t}bt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Rt=(I=o.TreeView,Rt(vt,I),vt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));I.prototype.render.call(this),this.initRenderCalled=!0},vt);function vt(t){t=I.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Rt,[t.ComponentBase,n.Component]);Ot=function(t,e){return(Ot=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var Ot,k,jt=function(t,e){function n(){this.constructor=t}Ot(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},jt=(k=o.Sidebar,jt(Pt,k),Pt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));k.prototype.render.call(this),this.initRenderCalled=!0},Pt);function Pt(t){t=k.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(jt,[t.ComponentBase,n.Component]);Mt=function(t,e){return(Mt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var Mt,w,It=function(t,e){function n(){this.constructor=t}Mt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},kt=(w=t.ComplexBase,It(wt,w),wt.moduleName="menuItem",wt);function wt(){return null!==w&&w.apply(this,arguments)||this}A=t.ComplexBase,It(x,A),x.propertyName="items",x.moduleName="menuItems";var A,It=x;function x(){return null!==A&&A.apply(this,arguments)||this}At=function(t,e){return(At=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var At,B,xt=function(t,e){function n(){this.constructor=t}At(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},xt=(B=o.Menu,xt(Bt,B),Bt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("ul",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));B.prototype.render.call(this),this.initRenderCalled=!0},Bt);function Bt(t){t=B.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={menuItems:"menuItem"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(xt,[t.ComponentBase,n.Component]);gt=function(t,e){return(gt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var gt,g,Dt=function(t,e){function n(){this.constructor=t}gt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Dt=(g=o.AppBar,Dt(Tt,g),Tt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("header",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));g.prototype.render.call(this),this.initRenderCalled=!0},Tt);function Tt(t){t=g.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!0,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Dt,[t.ComponentBase,n.Component]);Nt=function(t,e){return(Nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var Nt,D,Et=function(t,e){function n(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ft=(D=t.ComplexBase,Et(Ut,D),Ut.moduleName="step",Ut);function Ut(){return null!==D&&D.apply(this,arguments)||this}T=t.ComplexBase,Et(N,T),N.propertyName="steps",N.moduleName="steps";var T,Et=N;function N(){return null!==T&&T.apply(this,arguments)||this}St=function(t,e){return(St=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var St,qt,Vt=function(t,e){function n(){this.constructor=t}St(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Vt=(qt=o.Stepper,Vt(zt,qt),zt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("nav",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));qt.prototype.render.call(this),this.initRenderCalled=!0},zt);function zt(t){t=qt.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={steps:"step"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}t.applyMixins(Vt,[t.ComponentBase,n.Component]),Object.keys(o).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})}),Object.defineProperty(e,"Inject",{enumerable:!0,get:function(){return t.Inject}}),e.AccordionComponent=V,e.AccordionItemDirective=U,e.AccordionItemsDirective=F,e.AppBarComponent=Dt,e.BreadcrumbComponent=rt,e.BreadcrumbItemDirective=et,e.BreadcrumbItemsDirective=tt,e.CarouselComponent=ut,e.CarouselItemDirective=pt,e.CarouselItemsDirective=ct,e.ContextMenuComponent=Y,e.ItemDirective=J,e.ItemsDirective=H,e.MenuComponent=xt,e.MenuItemDirective=kt,e.MenuItemsDirective=It,e.SidebarComponent=jt,e.StepDirective=Ft,e.StepperComponent=Vt,e.StepsDirective=Et,e.TabComponent=_t,e.TabItemDirective=mt,e.TabItemsDirective=dt,e.ToolbarComponent=Q,e.TreeViewComponent=Rt,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-navigations.umd.min.js.map