Permissions & Authorization for Users #24
Initial Release; Includes Database and MVC refactoring
This commit is contained in:
1 parent
172ce5524a
commit
a099d68915
458 files changed
+40215
-12124
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<bundle minify="true" runOnBuild="true">
|
||||
<file>/ClientSource/Scripts/Modules/jQuery-Fancytree/jquery.fancytree-all.js</file>
|
||||
</bundle>
|
||||
@@ -0,0 +1,2 @@
|
||||
(function(n,t,i,r){"use strict";function p(t){t=t||"",n.error("Not implemented: "+t)}function u(t,i){i=": "+i||"",t||n.error("Assertion failed"+i)}function e(n,i){var r,f,u=t.console?t.console[n]:null;if(u)if(u.apply)u.apply(t.console,i);else{for(f="",r=0;r<i.length;r++)f+=i[r];u(f)}}function g(t){for(var r,u,e=n.map(n.trim(t).split("."),function(n){return parseInt(n,10)}),f=n.map(Array.prototype.slice.call(arguments,1),function(n){return parseInt(n,10)}),i=0;i<f.length;i++)if(r=e[i]||0,u=f[i]||0,r!==u)return r>u;return!0}function nt(n,t,i){var r=t[n],u=i[n];return function(){try{return t._super=function(){return r.apply(t,arguments)},u.apply(t,arguments)}finally{t._super=null}}}function tt(t,i,r,u){for(var f in r)typeof r[f]=="function"?typeof t[f]=="function"?t[f]=nt(f,t,r):f.charAt(0)==="_"?t[u][f]=n.proxy(r[f],t):n.error("Could not override tree."+f+". Use prefix '_' to create tree."+u+"._"+f):f!=="options"&&(t[u][f]=i[f])}function c(t,i){return t===r?n.Deferred(function(){this.resolve()}).promise():n.Deferred(function(){this.resolveWith(t,i)}).promise()}function l(t,i){return t===r?n.Deferred(function(){this.reject()}).promise():n.Deferred(function(){this.rejectWith(t,i)}).promise()}function w(n,t){return function(){n.resolveWith(t)}}function b(n){return n=n.toLowerCase(),function(t){return t.title.toLowerCase().indexOf(n)>=0}}function s(t,i){var e,s,r,o;for(this.parent=t,this.tree=t.tree,this.ul=null,this.li=null,this.isStatusNode=!1,this.data={},e=0,s=h.length;e<s;e++)r=h[e],this[r]=i[r];i.data&&n.extend(this.data,i.data);for(r in i)v[r]||n.isFunction(i[r])||d[r]||(this.data[r]=i[r]);this.key==null&&(this.key="_"+f._nextNodeKey++),i.active&&(u(this.tree.activeNode===null,"only one active node allowed"),this.tree.activeNode=this),this.children=null,o=i.children,o&&o.length&&this._setChildren(o)}function y(t){this.widget=t,this.$div=t.element,this.options=t.options,this._id=n.ui.fancytree._nextId++,this._ns=".fancytree-"+this._id,this.activeNode=null,this.focusNode=null,this.lastSelectedNode=null,this.systemFocusElement=null,this.statusClassPropName="span",this.ariaPropName="li",this.nodeContainerAttrName="li",this.$div.find(">ul.fancytree-container").remove();var r={tree:this},i;this.rootNode=new s(r,{title:"root",key:"root_"+this._id,children:null}),this.rootNode.parent=null,i=n("<ul>",{"class":"ui-fancytree fancytree-container"}).appendTo(this.$div),this.$container=i,this.rootNode.ul=i[0],this.options.debugLevel==null&&(this.options.debugLevel=f.debugLevel),this.options.tabbable&&this.$container.attr("tabindex","0"),this.options.aria&&this.$container.attr("role","tree").attr("aria-multiselectable",!0)}if(n.ui.fancytree&&n.ui.fancytree.version){n.ui.fancytree.warn("Fancytree: ignored duplicate include");return}for(var f=null,a="active expanded focus folder lazy selected unselectable".split(" "),k={},h="expanded extraClasses folder hideCheckbox key lazy selected title tooltip unselectable".split(" "),v={},d={active:!0,children:!0,data:!0,focus:!0},o=0;o<a.length;o++)k[a[o]]=!0;for(o=0;o<h.length;o++)v[h[o]]=!0;s.prototype={_findDirectChild:function(n){var t,r,i=this.children;if(i)if(typeof n=="string"){for(t=0,r=i.length;t<r;t++)if(i[t].key===n)return i[t]}else{if(typeof n=="number")return this.children[n];if(n.parent===this)return n}return null},_setChildren:function(n){u(n&&(!this.children||this.children.length===0),"only init supported"),this.children=[];for(var t=0,i=n.length;t<i;t++)this.children.push(new s(this,n[t]))},addChildren:function(t,i){var r,o,e,h=null,f=[];for(n.isPlainObject(t)&&(t=[t]),this.children||(this.children=[]),r=0,o=t.length;r<o;r++)f.push(new s(this,t[r]));return h=f[0],i==null?this.children=this.children.concat(f):(i=this._findDirectChild(i),e=n.inArray(i,this.children),u(e>=0,"insertBefore must be an existing child"),this.children.splice.apply(this.children,[e,0].concat(f))),(!this.parent||this.parent.ul)&&this.render(),this.tree.options.selectMode===3&&this.fixSelection3FromEndNodes(),h},addNode:function(n,t){(t===r||t==="over")&&(t="child");switch(t){case"after":return this.getParent().addChildren(n,this.getNextSibling());case"before":return this.getParent().addChildren(n,this);case"child":case"over":return this.addChildren(n)}u(!1,"Invalid mode: "+t)},applyPatch:function(t){if(t===null)return this.remove(),c(this);var i,r,u={children:!0,expanded:!0,parent:!0};for(i in t)r=t[i],u[i]||n.isFunction(r)||(v[i]?this[i]=r:this.data[i]=r);return t.hasOwnProperty("children")&&(this.removeChildren(),t.children&&this._setChildren(t.children)),this.isVisible()&&(this.renderTitle(),this.renderStatus()),t.hasOwnProperty("expanded")?this.setExpanded(t.expanded):c(this)},collapseSiblings:function(){return this.tree._callHook("nodeCollapseSiblings",this)},copyTo:function(n,t,i){return n.addNode(this.toDict(!0,i),t)},countChildren:function(n){var r=this.children,t,u,i;if(!r)return 0;if(i=r.length,n!==!1)for(t=0,u=i;t<u;t++)i+=r[t].countChildren();return i},debug:function(){this.treeLine truncated
|
||||
//@ sourceMappingURL=jQuery-Fancytree.min.js.map
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"version":3,
|
||||
"file":"jQuery-Fancytree.min.js",
|
||||
"lineCount":1,
|
||||
"mappings":"CAcE,QAAQ,CAACA,CAAC,CAAEC,CAAM,CAAEC,CAAQ,CAAEC,CAAtB,CAAiC,CAI3C,Y,CAaAC,SAASA,CAAoB,CAACC,CAAD,CAAK,CACjCA,CAAI,CAAEA,CAAI,EAAG,EAAE,CACfL,CAACM,MAAM,CAAC,mBAAoB,CAAED,CAAvB,CAF0B,CAKlCE,SAASA,CAAO,CAACC,CAAI,CAAEH,CAAP,CAAW,CAE1BA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tB,IAAIa,UAAW,CAAE,IAAI,CACrB,IAAIC,iBAAkB,CAAE,IAAI,CAC5B,IAAIC,mBAAoB,CAAE,I,CAE1B,IAAIC,oBAAqB,CAAE,M,CAC3B,IAAIC,aAAc,CAAE,IAAI,CACxB,IAAIC,sBAAuB,CAAE,IAAI,CAGjC,IAAIb,KAAKc,KAAK,CAAC,yBAAD,CAA2BC,OAAO,CAAA,CAAE,CAGlD,IAAIC,EAAa,CAAE,IAAI,CAAE,IAAR,EAChBC,CAAG,CACJ,IAAIC,SAAU,CAAE,IAAI1C,CAAa,CAACwC,CAAU,CAAE,CAC7C,KAAK,CAAE,MAAM,CACb,GAAG,CAAE,OAAQ,CAAE,IAAIb,IAAI,CACvB,QAAQ,CAAE,IAHmC,CAAb,CAI/B,CACF,IAAIe,SAASzC,OAAQ,CAAE,IAAI,CAG3BwC,CAAI,CAAE1G,CAAC,CAAC,MAAM,CAAE,CACf,OAAO,CAAE,kCADM,CAAT,CAEL4G,SAAS,CAAC,IAAInB,KAAL,CAAW,CACtB,IAAIoB,WAAY,CAAEH,CAAG,CACrB,IAAIC,SLine truncated
|
||||
"sources":["/ClientSource/Scripts/Modules/jQuery-Fancytree/jquery.fancytree-all.js"],
|
||||
"names":["$","window","document","undefined","_raiseNotImplemented","msg","error","_assert","cond","consoleApply","method","args","i","s","fn","console","apply","length","isVersionAtLeast","dottedVersion","v","t","verParts","map","trim","split","e","parseInt","testParts","Array","prototype","slice","call","arguments","_makeVirtualFunction","methodName","base","sub","_super","func","base._super","_subclassObject","tree","extension","extName","attrName","charAt","proxy","_getResolvedPromise","context","argArray","Deferred","resolve","promise","resolveWith","_getRejectedPromise","reject","rejectWith","_makeResolveFunc","deferred","_makeNodeTitleMatcher","toLowerCase","node","title","indexOf","FancytreeNode","parent","obj","l","name","cl","ul","li","isStatusNode","data","NODE_ATTRS","extend","NODE_ATTR_MAP","isFunction","NONE_NODE_DATA_MAP","key","FT","_nextNodeKey","active","activeNode","children","_setChildren","Fancytree","widget","$div","element","options","_id","ui","fancytree","_nextId","_ns","focusNode","lastSelectedNode","systemFocusElement","statusClassPropName","ariaPropName","nodeContainerAttrName","find","remove","fakeParent","$ul","rootNode","appendTo","$container","debugLevel","tabbable","attr","aria","version","warn","CLASS_ATTRS","CLASS_ATTR_MAP","_findDirectChild","ptr","push","addChildren","insertBefore","pos","firstNode","nodeList","isPlainObject","concat","inArray","splice","render","selectMode","fixSelection3FromEndNodes","addNode","mode","getParent","getNextSibling","applyPatch","patch","IGNORE_MAP","hasOwnProperty","removeChildren","isVisible","renderTitle","renderStatus","setExpanded","expanded","collapseSiblings","_callHook","copyTo","toDict","countChildren","deep","n","debug","unshift","toString","discard","lazy","isArray","findAll","match","res","visit","findFirst","_changeSelectStatusAttrs","state","changed","selected","partsel","fixSelection3AfterClick","flag","isSelected","_walk","child","allSelected","someSelected","visitParents","unselectable","fromDict","dict","getChildren","hasChildren","getFirstChild","getIndex","getIndexHier","separator","each","getParentList","o","join","getKeyPath","excludeSelf","path","sep","keyPathSeparator","getLastChild","getLevel","level","dtn","ac","includeRoot","includeSelf","getPrevSibling","hasFocus","isActive","isChildOf","otherNode","isDescendantOf","p","isExpanded","isFirstSibling","isFolder","folder","isLastSibling","isLazy","isLoading","isRoot","parents","makeVisible","moveTo","targetNode","prevParent","targetParent","lazyLoad","source","_triggerNodeEvent","force","removeChild","childNode","scheduleAction","ms","timer","clearTimeout","self","setTimeout","setActive","scrollIntoView","effects","topNode","topNodeY","dfd","nodeY","span","position","top","nodeHeight","height","scrollTop","horzScrollHeight","Math","max","innerHeight","clientHeight","containerHeight","newScrollTop","animate","setFocus","setSelected","setTitle","sortChildren","cmp","a","b","x","y","sort","recursive","callback","isEmptyObject","toggleExpanded","toggleSelected","_makeHookContext","originalEvent","funcName","contextObject","ctx","activateKey","getNodeByKey","patchList","p2","patchCount","deferredList","always","when","count","generateFormElements","selectedName","activeName","id","$result","empty","hide","getSelectedNodes","idx","append","getActiveNode","getFocusNode","searchRoot","el","getElementById","idPrefix","ftnode","stopOnParents","focusTree","info","loadKeyPath","keyPathList","_rootNode","__lazyload","done","loadMap","fail","root","segList","substr","shift","nodeClick","activate","expand","event","targetType","clickFolderMode","nodeSetFocus","target","localName","className","preventDefault","nodeCollapseSiblings","nodeDblclick","nodeKeydown","_goto","ctrlKey","opts","autoActivate","handled","KC","keyCode","sib","which","NUMPAD_ADD","nodeSetExpanded","NUMPAD_SUBTRACT","SPACE","checkbox","nodeToggleSelected","nodeSetActive","ENTER","BACKSPACE","LEFT","RIGHT","UP","DOWN","nodeLoadChildren","ajax","delay","url","nodeSetStatus","debugLazyDelay","random","round","complete","postProcess","dataType","enableAspx","d","parseJSON","jqXHR","textStatus","errorThrown","status","alert","message","nodeRender","nodeLoadKeyPath","nodeMakeVisible","nodeRemoveChild","subCtx","nodeRemoveChildren","nodeRemoveMarkup","removeNode","nodeRemoveChildMarkup","nodeRenderStatus","collapsed","_recursive","childLI","childNode1","childNode2","firstTime","isRootNode","parentNode","createElement","generateIds","appendChild","nodeRenderTitle","createNode","renderNode","style","display","firstChild","nextSibling","imageSrc","nodeTitle","role","tooltip","ares","icon","minExpandLevel","hideCheckbox","imagePath","iconclass","icons","replace","innerHTML","isLastSib","$ariaElem","cn","_classNames","cnList","statusElem","focused","removeAttr","lastsib","extraClasses","combinedExpanderPrefix","combinedIconPrefix","activeVisible","_afterLoad","prevAC","autoCollapse","autoScroll","duration","easing","fx","nLine truncated
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user