forked from booleanhunter/ReactJS-AdminLTE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reactjsAdminlte.js
3 lines (3 loc) · 40.5 KB
/
reactjsAdminlte.js
1
2
3
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("jquery"),require("reactDom"),require("velocity"));else if("function"==typeof define&&define.amd)define(["react","jquery","reactDom","velocity"],t);else{var a="object"==typeof exports?t(require("react"),require("jquery"),require("reactDom"),require("velocity")):t(e.react,e.jquery,e.reactDom,e.velocity);for(var l in a)("object"==typeof exports?exports:e)[l]=a[l]}}(this,function(e,t,a,l){return function(e){function t(l){if(a[l])return a[l].exports;var r=a[l]={exports:{},id:l,loaded:!1};return e[l].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a={};return t.m=e,t.c=a,t.p="",t(0)}([function(e,t,a){"use strict";var l=a(12),r=a(21),s=a(19),n=a(20),c=a(30),i=a(11),o=a(6),m=a(8),p=a(7),u=a(27),f=a(29),d=a(28),h=a(24),E=a(25),N=a(26),g=a(36),v=a(4);console.log(l),t.HeaderBar=l,t.NavigationMenu=r,t.InfoTile=s,t.ProgressBar=n,t.StatTile=c,t.CustomBox=i,t.ChatBox=o,t.Conversations=m,t.Contacts=p,t.ProfileCard=u,t.ProfileInfoList=f,t.ProfileInfoBlocks=d,t.Post=h,t.SocialButton=E,t.SocialInfo=N,t.Timeline=g,t.initialize=v.initialize()},function(t,a){t.exports=e},function(e,a){e.exports=t},function(e,t){e.exports=a},function(e,t,a){var l,r;l=[t,a(2),a(5)],r=function(e,t,a){e.toggleBoxCollapse=function(e,a,l){e.className.indexOf("collapsed-box")!==-1?(l.className=l.className.replace(/fa-plus/g,"fa-minus"),t(a).velocity("slideDown",{duration:500,easing:"easeInSine",complete:function(){e.className=e.className.replace(/ collapsed-box/g,"")}})):(l.className=l.className.replace(/fa-minus/g,"fa-plus"),t(a).velocity("slideUp",{duration:500,easing:"easeInSine",complete:function(){e.className+=" collapsed-box"}}))},e.removeBox=function(e){t(e).velocity("slideUp",{duration:500,easing:"easeInSine"})},e.initialize=function(){function e(e){t("body").tooltip({selector:e})}return{bootstrapTooltips:e}}}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t){e.exports=l},function(e,t,a){var l,r;l=[a(1),a(3),a(4)],r=function(e,t,a){var l=e.createClass({displayName:"ChatBox",getDefaultProps:function(){return{headerTheme:"box-primary",notificationTheme:"bg-light-blue",chatTheme:"direct-chat-primary",buttonTheme:"btn-primary",title:"Chat Box",notifications:0}},toggleCollapse:function(e){var l=t.findDOMNode(this).children[0],r=t.findDOMNode(this).children[0].children[1],s=e.currentTarget.children[0];a.toggleBoxCollapse(l,r,s)},removeBox:function(e){var l=t.findDOMNode(this).children[0];a.removeBox(l)},toggleChat:function(){var e=t.findDOMNode(this).children[0];e.className.indexOf("direct-chat-contacts-open")===-1?e.className+=" direct-chat-contacts-open":e.className=e.className.replace(/ direct-chat-contacts-open/g,"")},render:function(){var t="",a=this,l=e.Children.map(this.props.children,function(e){return e});return console.log(l),this.props.border===!0&&(t="box-solid"),e.createElement("div",{className:"col-md-"+this.props.width},e.createElement("div",{className:"box "+this.props.headerTheme+" direct-chat "+this.props.chatTheme+" "+t},e.createElement("div",{className:"box-header with-border"},e.createElement("h3",{className:"box-title"},this.props.title),e.createElement("div",{className:"box-tools pull-right"},e.createElement("span",{"data-toggle":"tooltip",title:"",className:"badge "+this.props.notificationTheme,"data-original-title":this.props.notifications+" New Messages"},this.props.notifications),e.createElement("button",{className:"btn btn-box-tool","data-widget":"collapse",onClick:a.toggleCollapse},e.createElement("i",{className:"fa fa-minus"})),e.createElement("button",{className:"btn btn-box-tool","data-toggle":"tooltip",title:"","data-widget":"chat-pane-toggle","data-original-title":"Contacts",onClick:a.toggleChat},e.createElement("i",{className:"fa fa-comments"})),e.createElement("button",{className:"btn btn-box-tool","data-widget":"remove",onClick:a.removeBox},e.createElement("i",{className:"fa fa-times"})))),e.createElement("div",{className:"box-body"},this.props.children),e.createElement("div",{className:"box-footer"},e.createElement("form",{action:"#",method:"post"},e.createElement("div",{className:"input-group"},e.createElement("input",{type:"text",name:"message",placeholder:"Type Message ...",className:"form-control"}),e.createElement("span",{className:"input-group-btn"},e.createElement("button",{type:"button",className:"btn btn-flat "+this.props.buttonTheme},"Send")))))))}});return l}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"Contacts",render:function(){var t=this.props.contacts.map(function(t,a){return e.createElement("li",{key:"contact"+a},e.createElement("a",{href:t.link},e.createElement("img",{className:"contacts-list-img",src:t.displayPicture}),e.createElement("div",{className:"contacts-list-info"},e.createElement("span",{className:"contacts-list-name"},t.displayName,e.createElement("small",{className:"contacts-list-date pull-right"},t.date)),e.createElement("span",{className:"contacts-list-msg"},t.message))))});return e.createElement("div",{className:"direct-chat-contacts"},e.createElement("ul",{className:"contacts-list"},t))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"Conversations",render:function(){var t=this.props.conversations.map(function(t,a){return e.createElement("div",{className:"direct-chat-msg "+t.align,key:"message"+a},e.createElement("div",{className:"direct-chat-info clearfix"},e.createElement("span",{className:"direct-chat-name pull-right"},t.displayName),e.createElement("span",{className:"direct-chat-timestamp pull-left"},t.date)),e.createElement("img",{className:"direct-chat-img",src:t.displayPicture,alt:"message user image"}),e.createElement("div",{className:"direct-chat-text"},t.message))});return e.createElement("div",{className:"direct-chat-messages"},t)}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[t,a(2),a(5)],r=function(e,t,a){e.findClosestElement=function(e,t){for(var a=new RegExp("(^|\\s)"+t+"(\\s|$)","gi");!a.test(e.className);)if(e=e.parentNode,!e)return null;return e},e.toggleBoxCollapse=function(e,a,l){e.className.indexOf("collapsed-box")!==-1?(l.className=l.className.replace(/fa-plus/g,"fa-minus"),t(a).velocity("slideDown",{duration:500,easing:"easeInSine",complete:function(){e.className=e.className.replace(/ collapsed-box/g,"")}})):(l.className=l.className.replace(/fa-minus/g,"fa-plus"),t(a).velocity("slideUp",{duration:500,easing:"easeInSine",complete:function(){e.className+=" collapsed-box"}}))},e.removeBox=function(e){console.log(e),t(e).velocity("slideUp",{duration:500,easing:"easeInSine"})},e.initialize=function(){function e(e){t("body").tooltip({selector:e})}return{bootstrapTooltips:e}}}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(3),a(9)],r=function(e,t,a){var l=e.createClass({displayName:"BoxTool",toggleCollapse:function(e){var t=a.findClosestElement(e.currentTarget,this.props.containerClass),l=t.children[1],r=e.currentTarget.children[0];a.toggleBoxCollapse(t,l,r)},removeBox:function(e){var t=a.findClosestElement(e.currentTarget,this.props.containerClass);a.removeBox(t)},edit:function(){this.props.callback()},render:function(){var t=this;switch(this.props.toolType){case"expand":return e.createElement("button",{className:"btn btn-box-tool","data-widget":"expand",onClick:t.toggleCollapse},e.createElement("i",{className:"fa fa-plus"}));case"collapse":return e.createElement("button",{className:"btn btn-box-tool","data-widget":"collapse",onClick:t.toggleCollapse},e.createElement("i",{className:"fa fa-minus"}));case"remove":return e.createElement("button",{className:"btn btn-box-tool","data-widget":"remove",onClick:t.removeBox},e.createElement("i",{className:"fa fa-times"}))}}});return l}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(3)],r=function(e,t){var l=e.createClass({displayName:"Box",getDefaultProps:function(){return{collapsed:!1,theme:"box-default",loading:!1,border:!0,title:"Default title",content:""}},render:function(){var t,l,r,s="",n="",c=[];if(this.props.border===!0&&(n="box-solid"),this.props.boxTools){var i=a(10);this.props.boxTools.map(function(t,a){c.push(e.createElement(i,{key:a,toolType:t,containerClass:"box"}))}),t=e.createElement("div",{className:"box-tools pull-right"},c)}return this.props.loading===!0&&(l=e.createElement("div",{className:"overlay"},e.createElement("i",{className:"fa fa-refresh fa-spin"}))),this.props.collapsed&&(s="collapsed-box"),this.props.footer&&(r=e.createElement("div",{className:"box-footer"},this.props.footer)),e.createElement("div",{className:"col-md-"+this.props.width+" col-sm-6 col-xs-12"},e.createElement("div",{className:"box "+this.props.theme+" "+n+" color-palette-box "+s},e.createElement("div",{className:"box-header with-border"},e.createElement("h3",{className:"box-title"},this.props.headerMarkup," ",this.props.title),t),e.createElement("div",{className:"box-body"},this.props.content,this.props.children),r,l))}});return l}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(2),a(13),a(15),a(17)],r=function(e,t,a,l,r){var s=e.createClass({displayName:"HeaderBar",pushMenu:function(){var e=document.body;e.clientWidth>768?e.className.indexOf("sidebar-collapse")===-1?e.className+=" sidebar-collapse":e.className=e.className.replace(" sidebar-collapse",""):e.className.indexOf("sidebar-open")===-1?e.className+=" sidebar-open":e.className=e.className.replace(" sidebar-open","")},render:function(){var t=this;return e.createElement("header",{className:"main-header"},e.createElement("a",{href:"index2.html",className:"logo"},e.createElement("span",{className:"logo-mini"},e.createElement("b",null,"A"),"LT"),e.createElement("span",{className:"logo-lg"},e.createElement("b",null,"Admin"),"LTE")),e.createElement("nav",{className:"navbar navbar-static-top",role:"navigation"},e.createElement("a",{href:"#",className:"sidebar-toggle","data-toggle":"offcanvas",role:"button",onClick:t.pushMenu},e.createElement("span",{className:"sr-only"},"Toggle navigation")),e.createElement("div",{className:"navbar-custom-menu"},e.createElement("ul",{className:"nav navbar-nav"},e.createElement(a,null),e.createElement(l,null),e.createElement(r,null),e.createElement("li",{className:"dropdown user user-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"user-image",alt:"User Image"}),e.createElement("span",{className:"hidden-xs"},"Alexander Pierce")),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"user-header"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"img-circle",alt:"User Image"}),e.createElement("p",null,"Alexander Pierce - Web Developer",e.createElement("small",null,"Member since Nov. 2012"))),e.createElement("li",{className:"user-body"},e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Followers")),e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Sales")),e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Friends"))),e.createElement("li",{className:"user-footer"},e.createElement("div",{className:"pull-left"},e.createElement("a",{href:"#",className:"btn btn-default btn-flat"},"Profile")),e.createElement("div",{className:"pull-right"},e.createElement("a",{href:"#",className:"btn btn-default btn-flat"},"Sign out"))))),e.createElement("li",null,e.createElement("a",{href:"#","data-toggle":"control-sidebar"},e.createElement("i",{className:"fa fa-gears"})))))))}});return s}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(14)],r=function(e,t){var a=e.createClass({displayName:"HeaderMessages",getInitialState:function(){return{messages:[]}},componentDidMount:function(){var e=[{title:"Support Team",displayPicture:"dist/img/user2-160x160.jpg",content:"Why not buy a new awesome theme?",time:"5 mins"},{title:"AdminLTE Design Team",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 hours"},{title:"Developers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Today"},{title:"Sales Department",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Yesterday"},{title:"Reviewers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 days"}];this.setState({messages:e})},render:function(){var a=this,l=this.state.messages.map(function(a,l){return e.createElement(t,{key:l,title:a.title,displayPicture:a.displayPicture,time:a.time,content:a.content})});return e.createElement("li",{className:"dropdown messages-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-envelope-o"}),e.createElement("span",{className:"label label-success"},a.state.messages.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.messages.length," messages"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},l),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"See All Messages"))))}});return a}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"MessageItem",render:function(){return e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("div",{className:"pull-left"},e.createElement("img",{src:this.props.displayPicture,className:"img-circle",alt:"User Image"})),e.createElement("h4",null,this.props.title,e.createElement("small",null,e.createElement("i",{className:"fa fa-clock-o"})," ",this.props.time)),e.createElement("p",null,this.props.content)))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(16)],r=function(e,t){var a=e.createClass({displayName:"HeaderNotifications",getInitialState:function(){return{notifications:[]}},componentDidMount:function(){var e=[{content:"5 new members joined today",theme:"fa fa-users text-aqua"},{content:"Very long description here that may not fit into the page and may cause design problems",theme:"fa fa-warning text-yellow"},{content:"5 new members joined",theme:"fa fa-users text-red"},{content:"25 sales made",theme:"fa fa-shopping-cart text-green"},{content:"You changed your username",className:"fa fa-user text-red"}];this.setState({notifications:e})},render:function(){var a=this,l=this.state.notifications.map(function(a,l){return e.createElement(t,{key:l,theme:a.theme,content:a.content})});return e.createElement("li",{className:"dropdown notifications-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-bell-o"}),e.createElement("span",{className:"label label-warning"},a.state.notifications.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.notifications.length," notifications"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},l),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"View all"))))}});return a}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"NotificationItem",render:function(){return e.createElement("li",{key:"header-notification-item"},e.createElement("a",{href:"#"},e.createElement("i",{className:this.props.theme})," ",this.props.content))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(18)],r=function(e,t){var a=e.createClass({displayName:"HeaderTasks",getInitialState:function(){return{tasks:[]}},componentDidMount:function(){var e=[{subject:"Design some buttons",percentage:20},{subject:"Create a nice theme",percentage:40},{subject:"Some task I need to do",percentage:60},{subject:"Make beautiful transitions",percentage:80}];this.setState({tasks:e})},render:function(){var a,l=this,r=this.state.tasks.map(function(l,r){return l.percentage<21?a="progress-bar-red":l.percentage>20&&l.percentage<41?a="progress-bar-yellow":l.percentage>40&&l.percentage<61?a="progress-bar-green":l.percentage>60&&(a="progress-bar-aqua"),e.createElement(t,{key:r,percentage:l.percentage,content:l.content,theme:a})});return e.createElement("li",{className:"dropdown tasks-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-flag-o"}),e.createElement("span",{className:"label label-danger"},l.state.tasks.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.tasks.length," tasks"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},r),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"View all tasks"))))}});return a}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"TaskItem",render:function(){var t={width:this.props.percentage+"%"};return e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("h3",null,this.props.content,e.createElement("small",{className:"pull-right"},this.props.percentage+"%")),e.createElement("div",{className:"progress xs"},e.createElement("div",{className:"progress-bar "+this.props.theme,style:t},e.createElement("span",{className:"sr-only"},this.props.percentage+"% Complete"," ")))))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"InfoTile",getDefaultProps:function(){return{content:"",icon:"fa-star-o",stats:"0",subject:"Default Subject",theme:"bg-aqua"}},render:function(){return this.props.children?e.createElement("div",{className:"col-md-"+this.props.width+" col-sm-6 col-xs-12"},e.createElement("div",{className:"info-box "+this.props.theme},e.createElement("span",{className:"info-box-icon"},e.createElement("i",{className:"fa "+this.props.icon})),e.createElement("div",{className:"info-box-content"},e.createElement("span",{className:"info-box-text"},this.props.subject),e.createElement("span",{className:"info-box-number"},this.props.stats),this.props.children),this.props.content)):e.createElement("div",{className:"col-md-3 col-sm-6 col-xs-12"},e.createElement("div",{className:"info-box"},e.createElement("span",{className:"info-box-icon "+this.props.theme},e.createElement("i",{className:"fa "+this.props.icon})),e.createElement("div",{className:"info-box-content"},e.createElement("span",{className:"info-box-text"},this.props.subject),e.createElement("span",{className:"info-box-number"},this.props.stats)),this.props.content))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"ProgressBar",getDefaultProps:function(){return{percent:50,description:"Default progress 50%",color:"white"}},render:function(){var t={width:this.props.percent+"%",backgroundColor:this.props.color};return e.createElement("div",null,e.createElement("div",{className:"progress"},e.createElement("div",{className:"progress-bar",style:t})),e.createElement("span",{className:"progress-description"},this.props.description))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(2)],r=function(e,t){var a=e.createClass({displayName:"NavigationMenu",render:function(){return e.createElement("aside",{className:"main-sidebar"},e.createElement("section",{className:"sidebar"},e.createElement("div",{className:"user-panel"},e.createElement("div",{className:"pull-left image"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"img-circle",alt:"User Image"})),e.createElement("div",{className:"pull-left info"},e.createElement("p",null,"Alexander Pierce"),e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle text-success"})," Online"))),e.createElement("form",{action:"#",method:"get",className:"sidebar-form"},e.createElement("div",{className:"input-group"},e.createElement("input",{type:"text",name:"q",className:"form-control",placeholder:"Search..."}),e.createElement("span",{className:"input-group-btn"},e.createElement("button",{type:"submit",name:"search",id:"search-btn",className:"btn btn-flat"},e.createElement("i",{className:"fa fa-search"}))))),e.createElement("ul",{className:"sidebar-menu"},e.createElement("li",{className:"header"},"MAIN NAVIGATION"),e.createElement("li",{className:"active treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-dashboard"}),e.createElement("span",null,"Dashboard"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",{className:"active"},e.createElement("a",{href:"index.html"},e.createElement("i",{className:"fa fa-circle-o"})," Dashboard v1")),e.createElement("li",null,e.createElement("a",{href:"index2.html"},e.createElement("i",{className:"fa fa-circle-o"})," Dashboard v2")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-files-o"}),e.createElement("span",null,"Layout Options"),e.createElement("span",{className:"label label-primary pull-right"},"4")),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/layout/top-nav.html"},e.createElement("i",{className:"fa fa-circle-o"})," Top Navigation")),e.createElement("li",null,e.createElement("a",{href:"pages/layout/boxed.html"},e.createElement("i",{className:"fa fa-circle-o"})," Boxed")),e.createElement("li",null,e.createElement("a",{href:"pages/layout/fixed.html"},e.createElement("i",{className:"fa fa-circle-o"})," Fixed")),e.createElement("li",null,e.createElement("a",{href:"pages/layout/collapsed-sidebar.html"},e.createElement("i",{className:"fa fa-circle-o"})," Collapsed Sidebar")))),e.createElement("li",null,e.createElement("a",{href:"pages/widgets.html"},e.createElement("i",{className:"fa fa-th"}),e.createElement("span",null,"Widgets"),e.createElement("small",{className:"label pull-right bg-green"},"new"))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-pie-chart"}),e.createElement("span",null,"Charts"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/charts/chartjs.html"},e.createElement("i",{className:"fa fa-circle-o"})," ChartJS")),e.createElement("li",null,e.createElement("a",{href:"pages/charts/morris.html"},e.createElement("i",{className:"fa fa-circle-o"})," Morris")),e.createElement("li",null,e.createElement("a",{href:"pages/charts/flot.html"},e.createElement("i",{className:"fa fa-circle-o"})," Flot")),e.createElement("li",null,e.createElement("a",{href:"pages/charts/inline.html"},e.createElement("i",{className:"fa fa-circle-o"})," Inline charts")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-laptop"}),e.createElement("span",null,"UI Elements"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/UI/general.html"},e.createElement("i",{className:"fa fa-circle-o"})," General")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/icons.html"},e.createElement("i",{className:"fa fa-circle-o"})," Icons")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/buttons.html"},e.createElement("i",{className:"fa fa-circle-o"})," Buttons")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/sliders.html"},e.createElement("i",{className:"fa fa-circle-o"})," Sliders")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/timeline.html"},e.createElement("i",{className:"fa fa-circle-o"})," Timeline")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/modals.html"},e.createElement("i",{className:"fa fa-circle-o"})," Modals")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-edit"})," ",e.createElement("span",null,"Forms"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/forms/general.html"},e.createElement("i",{className:"fa fa-circle-o"})," General Elements")),e.createElement("li",null,e.createElement("a",{href:"pages/forms/advanced.html"},e.createElement("i",{className:"fa fa-circle-o"})," Advanced Elements")),e.createElement("li",null,e.createElement("a",{href:"pages/forms/editors.html"},e.createElement("i",{className:"fa fa-circle-o"})," Editors")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-table"})," ",e.createElement("span",null,"Tables"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/tables/simple.html"},e.createElement("i",{className:"fa fa-circle-o"})," Simple tables")),e.createElement("li",null,e.createElement("a",{href:"pages/tables/data.html"},e.createElement("i",{className:"fa fa-circle-o"})," Data tables")))),e.createElement("li",null,e.createElement("a",{href:"pages/calendar.html"},e.createElement("i",{className:"fa fa-calendar"})," ",e.createElement("span",null,"Calendar"),e.createElement("small",{className:"label pull-right bg-red"},"3"))),e.createElement("li",null,e.createElement("a",{href:"pages/mailbox/mailbox.html"},e.createElement("i",{className:"fa fa-envelope"})," ",e.createElement("span",null,"Mailbox"),e.createElement("small",{className:"label pull-right bg-yellow"},"12"))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-folder"})," ",e.createElement("span",null,"Examples"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/examples/invoice.html"},e.createElement("i",{className:"fa fa-circle-o"})," Invoice")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/profile.html"},e.createElement("i",{className:"fa fa-circle-o"})," Profile")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/login.html"},e.createElement("i",{className:"fa fa-circle-o"})," Login")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/register.html"},e.createElement("i",{className:"fa fa-circle-o"})," Register")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/lockscreen.html"},e.createElement("i",{className:"fa fa-circle-o"})," Lockscreen")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/404.html"},e.createElement("i",{className:"fa fa-circle-o"})," 404 Error")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/500.html"},e.createElement("i",{className:"fa fa-circle-o"})," 500 Error")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/blank.html"},e.createElement("i",{className:"fa fa-circle-o"})," Blank Page")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-share"})," ",e.createElement("span",null,"Multilevel"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level One")),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level One ",e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Two")),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Two ",e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Three")),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Three")))))),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level One")))),e.createElement("li",null,e.createElement("a",{href:"documentation/index.html"},e.createElement("i",{className:"fa fa-book"})," ",e.createElement("span",null,"Documentation"))),e.createElement("li",{className:"header"},"LABELS"),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o text-red"})," ",e.createElement("span",null,"Important"))),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o text-yellow"})," ",e.createElement("span",null,"Warning"))),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o text-aqua"})," ",e.createElement("span",null,"Information"))))))}});return a}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"Attachment",render:function(){return e.createElement("div",{className:"attachment-block clearfix"},e.createElement("img",{className:"attachment-img",src:this.props.picture,alt:"attachment image"}),e.createElement("div",{className:"attachment-pushed"},e.createElement("h4",{className:"attachment-heading"},e.createElement("a",{href:this.props.link},this.props.title)),e.createElement("div",{className:"attachment-text"},this.props.content,e.createElement("a",{href:this.props.link},"more"))))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"Post",getDefaultProps:function(){return{content:"sample comment",displayName:"John Doe",displayPicture:"../dist/img/user4-128x128.jpg",date:"8:03 PM Today"}},render:function(){return e.createElement("div",{className:"box-comment"},e.createElement("img",{className:"img-circle img-sm",src:this.props.displayPicture,alt:"user image"}),e.createElement("div",{className:"comment-text"},e.createElement("span",{className:"username"},this.props.displayName,e.createElement("span",{className:"text-muted pull-right"},this.props.date)),this.props.content))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(3),a(23),a(22),a(4)],r=function(e,t,a,l,r){var s=e.createClass({displayName:"Post",getDefaultProps:function(){return{displayName:"John Doe",description:"My profile description",displayPicture:"../dist/img/user7-128x128.jpg"}},toggleCollapse:function(e){var a=t.findDOMNode(this).children[0],l=t.findDOMNode(this).children[0].children[1],s=e.currentTarget.children[0];
r.toggleBoxCollapse(a,l,s)},removeBox:function(e){var a=t.findDOMNode(this).children[0];r.removeBox(a)},render:function(){var t="",r=[],s=[];return this.props.postPicture&&(t=e.createElement("img",{className:"img-responsive pad",src:this.props.postPicture,alt:"Photo"})),this.props.attachments&&(r=this.props.attachments.map(function(t,a){return e.createElement(l,{key:a,title:t.title,picture:t.picture,link:t.link,content:t.content})})),this.props.comments&&(s=this.props.comments.map(function(t,l){return e.createElement(a,{key:l,displayName:t.displayName,displayPicture:t.displayPicture,date:t.date,content:t.content})})),e.createElement("div",{className:"col-md-"+this.props.width},e.createElement("div",{className:"box box-widget"},e.createElement("div",{className:"box-header with-border"},e.createElement("div",{className:"user-block"},e.createElement("img",{className:"img-circle",src:this.props.displayPicture,alt:"user image"}),e.createElement("span",{className:"username"},e.createElement("a",{href:"#"},this.props.displayName)),e.createElement("span",{className:"description"},this.props.date)),e.createElement("div",{className:"box-tools"},e.createElement("button",{className:"btn btn-box-tool","data-toggle":"tooltip",title:"Mark as read"},e.createElement("i",{className:"fa fa-circle-o"})),e.createElement("button",{className:"btn btn-box-tool","data-widget":"collapse",onClick:this.toggleCollapse},e.createElement("i",{className:"fa fa-minus"})),e.createElement("button",{className:"btn btn-box-tool","data-widget":"remove",onClick:this.removeBox},e.createElement("i",{className:"fa fa-times"})))),e.createElement("div",{className:"box-body"},t,e.createElement("p",null,this.props.content),r,this.props.children),e.createElement("div",{className:"box-footer box-comments"},s),e.createElement("div",{className:"box-footer"},e.createElement("form",{action:"#",method:"post"},e.createElement("img",{className:"img-responsive img-circle img-sm",src:"../dist/img/user4-128x128.jpg",alt:"alt text"}),e.createElement("div",{className:"img-push"},e.createElement("input",{type:"text",className:"form-control input-sm",placeholder:"Press enter to post comment"}))))))}});return s}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"SocialButton",getDefaultProps:function(){return{position:"",type:"like",theme:"btn-default"}},render:function(){var t;switch(this.props.position){case"left":t="pull-left";break;case"right":t="pull-right";break;default:t=""}return"like"===this.props.type?e.createElement("button",{className:"btn btn-xs "+t+" "+this.props.theme},e.createElement("i",{className:"fa fa-thumbs-o-up"}),"Like"):"share"===this.props.type?e.createElement("button",{className:"btn btn-xs "+t+" "+this.props.theme},e.createElement("i",{className:"fa fa-share"}),"Share"):void 0}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"SocialInfo",getDefaultProps:function(){return{info:"",position:"pull-right"}},render:function(){var t="";switch(this.props.position){case"left":t="pull-left";break;case"right":t="pull-right";break;default:t="pull-right"}return e.createElement("span",{className:"text-muted "+t},this.props.info)}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"ProfileCard",getDefaultProps:function(){return{pictureAlignment:"center",theme:"bg-yellow",displayName:"John Doe",description:"My profile description",displayPicture:"../dist/img/user7-128x128.jpg"}},render:function(){var t={},a="widget-user",l="";return"left"===this.props.pictureAlignment&&(a="widget-user-2",l="no-padding"),this.props.coverPicture&&(t={background:"url("+this.props.coverPicture+") center"}),e.createElement("div",{className:"col-md-"+this.props.width},e.createElement("div",{className:"box box-widget "+a},e.createElement("div",{className:"widget-user-header "+this.props.theme,style:t},e.createElement("div",{className:"widget-user-image"},e.createElement("img",{className:"img-circle",src:this.props.displayPicture,alt:"User Avatar"})),e.createElement("h3",{className:"widget-user-username"},this.props.displayName),e.createElement("h5",{className:"widget-user-desc"},this.props.description)),e.createElement("div",{className:"box-footer "+l},this.props.children)))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"ProfileInfoBlocks",render:function(){var t=this.props.list.map(function(t,a){return e.createElement("div",{className:"col-sm-4 border-right",key:a},e.createElement("div",{className:"description-block"},e.createElement("h5",{className:"description-header"},t.stats),e.createElement("span",{className:"description-text"},t.description)))});return e.createElement("div",{className:"row"},t)}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"ProfileInfoList",render:function(){var t=this.props.list.map(function(t,a){return e.createElement("li",{key:a},e.createElement("a",{href:t.link},t.description,e.createElement("span",{className:"pull-right badge "+t.badgeTheme},t.stats)))});return e.createElement("ul",{className:"nav nav-stacked"},t)}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"StatTile",getDefaultProps:function(){return{color:"bg-yellow",icon:"ion-person-add",subject:"Default Subject",stats:"0",link:"/default/link"}},render:function(){var t="",a=e.createElement("h3",null," ",this.props.stats," ");if(this.props.link&&(t=e.createElement("a",{href:this.props.link,className:"small-box-footer"},"More info ",e.createElement("i",{className:"fa fa-arrow-circle-right"}))),this.props.stats.indexOf("%")!==-1){var l={fontSize:"20px"};a=e.createElement("h3",null,this.props.stats.replace(/%/g,""),e.createElement("sup",{style:l},"%"))}return e.createElement("div",{className:"col-lg-"+this.props.width+" col-xs-6"},e.createElement("div",{className:"small-box "+this.props.theme},e.createElement("div",{className:"inner"},a,e.createElement("p",null,this.props.subject)),e.createElement("div",{className:"icon"},e.createElement("i",{className:"fa "+this.props.icon})),t))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"TimeLabel",getDefaultProps:function(){return{theme:"bg-red",content:"Default content"}},render:function(){return e.createElement("li",{className:"time-label"},e.createElement("span",{className:this.props.theme},this.props.content))}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"TimelineBody",getDefaultProps:function(){return{content:"Sample content"}},render:function(){return e.createElement("div",{className:"timeline-body"},this.props.content,this.props.children)}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"TimelineFooter",render:function(){return e.createElement("div",{className:"timeline-footer"},this.props.content,this.props.children)}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1)],r=function(e){var t=e.createClass({displayName:"TimelineHeader",render:function(){return e.createElement("h3",{className:"timeline-header"},e.createElement("a",{href:this.props.url,target:"_blank"},this.props.title),this.props.content,this.props.children)}});return t}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(34),a(32),a(33)],r=function(e,t,a,l){var r=e.createClass({displayName:"TimelineItem",getDefaultProps:function(){return{icon:"fa fa-coffee",iconTheme:"bg-blue",time:""}},render:function(){var r="",s="";return this.props.body&&(r=e.createElement(a,{content:this.props.body.content},this.props.body.markup)),this.props.footer&&(s=e.createElement(l,{content:this.props.footer.content},this.props.footer.markup)),e.createElement("li",null,e.createElement("i",{className:this.props.icon+" "+this.props.iconTheme}),e.createElement("div",{className:"timeline-item"},e.createElement("span",{className:"time"},e.createElement("i",{className:"fa fa-clock-o"}),this.props.time),e.createElement(t,{url:this.props.header.url,title:this.props.header.title,content:this.props.header.content}),r,s))}});return r}.apply(t,l),!(void 0!==r&&(e.exports=r))},function(e,t,a){var l,r;l=[a(1),a(31),a(35)],r=function(e,t,a){var l=e.createClass({displayName:"Timeline",render:function(){var l=[];return this.props.children?l=this.props.children:this.props.timelineInfo.map(function(r,s){r.endDate&&l.push(e.createElement(t,{key:"label1"+s,theme:"bg-red",content:r.endDate})),r.items.map(function(t,r){l.push(e.createElement(a,{key:"item"+s+r,icon:t.icon,iconTheme:t.iconTheme,time:t.time,header:t.header,body:t.body,footer:t.footer}))}),r.startDate&&l.push(e.createElement(t,{key:"label2"+s,theme:"bg-green",content:r.startDate}))}),e.createElement("div",{className:"col-md-12"},e.createElement("ul",{className:"timeline"},l,e.createElement("li",null,e.createElement("i",{className:"fa fa-clock-o bg-gray"}))))}});return l}.apply(t,l),!(void 0!==r&&(e.exports=r))}])});
//# sourceMappingURL=reactjsAdminlte.js.map