Cleanup styling of wcDocker tab control buttons.

This commit is contained in:
Arun Kollan authored and Dave Page committed 2016-04-07 13:40:16 +01:00
1 parent ca277bc8b6
commit 22841f8664
5 files changed
+128 -77

No files matched your search

+70 -65
View File
@@ -300,24 +300,21 @@ iframe {
}
.obj_properties fieldset > .fieldset-content {
border-radius:5px;
padding: 5px 10px;
width: 99.8%;
margin: 0 0.1%;
border-color: #92AFC8;
border-width: 2px;
border-style: ridge;
background-color: ##D7D8DD;
border-radius:5px;
padding: 5px 10px;
border-color: #92AFC8;
border-width: 2px;
border-style: ridge;
}
.obj_properties .badge {
display: block;
text-align: left;
cursor: pointer;
margin-bottom: 1px;
background-color: #2C76B4;
border-radius:5px;
padding: 5px 7px;
display: block;
text-align: left;
cursor: pointer;
margin-bottom: 1px;
background-color: #2C76B4;
border-radius:5px;
padding: 5px 7px;
}
.obj_properties .badge .caret {
@@ -343,9 +340,7 @@ iframe {
}
.obj_properties table {
display: table !important;
width: 98%;
margin: 0.8%;
display: table !important;
}
.obj_properties table tr {
@@ -384,8 +379,8 @@ iframe {
}
.pg-prop-btn-group button {
padding: 5px;
margin: 2px 5px;
padding: 5px;
margin: 2px 5px;
}
.pg-prop-btn-group button:not(:first-child):not(:last-child) {
@@ -395,8 +390,6 @@ iframe {
.pg-prop-content {
position: absolute;
overflow: auto;
top: 3px;
bottom: 0;
padding-bottom: 7px;
padding-top: 0;
padding-right: 0;
@@ -408,7 +401,7 @@ iframe {
}
.has-pg-prop-btn-group {
top: 43px;
top: 48px;
}
.pg-prop-content > div {
@@ -476,8 +469,8 @@ fieldset[disabled] .form-control {
}
.backgrid th, .backgrid td {
line-height: 18px;
font-size: 12px;
line-height: 18px;
font-size: 12px;
}
.backgrid th {
@@ -727,74 +720,69 @@ div.inline-tab-panel > ul.nav-tabs > li > a,
div.inline-tab-panel > ul.nav-tabs > li > a:active,
div.inline-tab-panel > ul.nav-tabs > li > a:hover,
div.inline-tab-panel > ul.nav-tabs > li > a:focus {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
div.inline-tab-panel > ul.nav-tabs > li:first-child > a,
div.inline-tab-panel > ul.nav-tabs > li:first-child > a:active,
div.inline-tab-panel > ul.nav-tabs > li:first-child > a:hover,
div.inline-tab-panel > ul.nav-tabs > li:first-child > a:focus {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
margin-left: 1px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
margin-left: 1px;
}
div.inline-tab-panel > ul.tab-content {
padding-left: 5px; padding-right: 5px; border-color: #DDD;
border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
border-width: 0px 1px 1px 1px; border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px; border-style: solid solid;
padding-left: 5px; padding-right: 5px; border-color: #DDD;
border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
border-width: 0px 1px 1px 1px; border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px; border-style: solid solid;
}
div.inline-tab-panel > ul.tab-content > div.tab-pane {
min-height: 150px; padding: 0px !important;
min-height: 150px; padding: 0px !important;
}
div.inline-tab-panel > ul.tab-content > div.tab-pane > *:first-child {
margin-top: 5px;
margin-top: 5px;
}
div.inline-tab-panel > ul.tab-content > div.tab-pane > *:last-child {
margin-bottom: 5px;
margin-bottom: 5px;
}
.pgadmin-control-error-message
{
padding-left: 4px;
.pgadmin-control-error-message{
padding-left: 4px;
}
.btn-group-sm>.btn, .btn-sm
{
font-size: 11px;
padding: 3px 3px;
.btn-group-sm>.btn, .btn-sm{
font-size: 11px;
padding: 3px 3px;
}
td.edit-cell.editable.sortable.renderable.editor {
outline: 0px;
outline: 0px;
}
.privilege_label
{
font-size: 10px!important;
}
.backgrid th, .backgrid td
{
padding: 2px;
font-weight: normal!important;
}
.pg-panel-depends-container > table > thead > tr > th {
padding: 2px;
.privilege_label{
font-size: 10px!important;
}
.backgrid th:first-child , .backgrid th:last-child{
border-left-color: #2C76B4;
.backgrid th, .backgrid td{
padding: 2px;
font-weight: normal!important;
}
.backgrid th:last-child{
border-right-color: #2C76B4;
.subnode > table.backgrid > thead > tr > th:first-child{
border-left-color: #2C76B4;
}
.select2-container .select2-selection--single .select2-selection__rendered
{
padding-left: 3px;
.subnode > table.backgrid > thead > tr > th:last-child{
border-right-color: #2C76B4;
}
.select2-container .select2-selection--single .select2-selection__rendered{
padding-left: 5px;
}
/* Message panel shown on browser tabs */
@@ -908,6 +896,23 @@ ul.nav.nav-tabs {
padding-top: 4px;
}
.btn-primary{
margin: 2px 13px !important;
.pg-panel-depends-container >table.backgrid.table-bordered {
border: 0px;
}
.pg-panel-depends-container > table > thead > tr > th {
padding: 2px;
border: 1px solid #ddd;
}
.pg-panel-depends-container > table > thead > tr > th:first-child {
border-left: 0px;
}
.pg-panel-depends-container > table > thead > tr > th:last-child {
border-right: 0px;
}
.btn-primary{
margin: 2px 13px !important;
}
@@ -37,15 +37,24 @@
.wcFrameButton {
width: 20px;
height: 20px;
border: 2px solid #8A0D0D;
background-color: #A56D6D;
border: 2px solid #9E9E9E;
background-color: #ddd;
font-size: 12px;
border-radius: 5px 5px 5px 5px;
margin-right: 2px;
}
.wcFrameMiniButton {
width: 8px;
}
.wcFrameButton.wcFrameButtonLeft {
right: 10px;
}
.wcFrameButton.wcFrameButtonRight {
right: 10px;
}
.wcFrameButton:hover {
border: 2px solid #CCCCCC;
}
@@ -263,11 +272,9 @@
}
.wcFrameButtonBar {
top: 7px;
top: 5px;
right: 5px;
color: white;
}
.context-menu-list {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
@@ -313,3 +320,12 @@ font-size: 13px;
ul.dropdown-menu > li.menu-item > a > i.wcTabIcon {
width: 14px;
}
.wcFrameButton .fa.fa-close {
margin-top: 3.5px;
padding-left: 1px;
}
span.fa.fa-arrow-left, .fa-arrow-right {
margin-top: 4px;
}
+30
View File
@@ -1,3 +1,4 @@
16/03/2016
The wcDocker theme frame width has been changed from 6px to 4px. This change has
been brought about to keep the width of the frame consistent with the width of
the window divider.
@@ -35,3 +36,32 @@ index 954d73e..bc64b3b 100755
The same changes have been made to wcDocker-min.js and is not included as the
file is tidy formatted.
06/04/2016
The wcDocker is updated to remove the extra left and the right arrows ( signs ) which are not required for tab navigation. New rules has been added to set the position for each specific navigational buttons ; left & right
diff --git a/web/pgadmin/static/js/wcDocker/wcDocker.js b/web/pgadmin/static/js/wcDocker/wcDocker.js
index bc64b3b..b4a5193 100755
--- a/web/pgadmin/static/js/wcDocker/wcDocker.js
+++ b/web/pgadmin/static/js/wcDocker/wcDocker.js
@@ -3392,8 +3392,8 @@ define('wcDocker/frame',[
this.$tabBar = $('<div class="wcFrameTitleBar">');
this.$tabScroll = $('<div class="wcTabScroller">');
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
- this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span>&lt;</div>');
- this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>&gt;</div>');
+ this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
+ this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><div class="fa fa-close"></div>X</div>');
this.$collapse = $('<div class="wcFrameButton" title="Collapse the active panel"><div class="fa fa-download"></div>C</div>');
@@ -5985,8 +5985,8 @@ define('wcDocker/tabframe',[
this.$tabBar = $('<div class="wcFrameTitleBar wcCustomTabTitle wcWide">');
this.$tabScroll = $('<div class="wcTabScroller">');
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
- this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span>&lt;</div>');
- this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>&gt;</div>');
+ this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
+ this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-close"></span>X</div>');
//this.$maximize = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-expand"></span>X</div>');
+4 -4
View File
@@ -3392,8 +3392,8 @@ define('wcDocker/frame',[
this.$tabBar = $('<div class="wcFrameTitleBar">');
this.$tabScroll = $('<div class="wcTabScroller">');
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span>&lt;</div>');
this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>&gt;</div>');
this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><div class="fa fa-close"></div>X</div>');
this.$collapse = $('<div class="wcFrameButton" title="Collapse the active panel"><div class="fa fa-download"></div>C</div>');
@@ -5985,8 +5985,8 @@ define('wcDocker/tabframe',[
this.$tabBar = $('<div class="wcFrameTitleBar wcCustomTabTitle wcWide">');
this.$tabScroll = $('<div class="wcTabScroller">');
this.$center = $('<div class="wcFrameCenter wcPanelBackground">');
this.$tabLeft = $('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span>&lt;</div>');
this.$tabRight = $('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>&gt;</div>');
this.$tabLeft = $('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>');
this.$tabRight = $('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>');
this.$close = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-close"></span>X</div>');
//this.$maximize = $('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-expand"></span>X</div>');
+3 -3
View File
@@ -32,11 +32,11 @@
*/
!function(){var t,e,a;!function(r){function o(t,e){return g.call(t,e)}function i(t,e){var a,r,o,i,n,s,l,c,h,u,d,f=e&&e.split("/"),p=m.map,b=p&&p["*"]||{};if(t&&"."===t.charAt(0))if(e){for(t=t.split("/"),n=t.length-1,m.nodeIdCompat&&x.test(t[n])&&(t[n]=t[n].replace(x,"")),t=f.slice(0,f.length-1).concat(t),h=0;h<t.length;h+=1)if(d=t[h],"."===d)t.splice(h,1),h-=1;else if(".."===d){if(1===h&&(".."===t[2]||".."===t[0]))break;h>0&&(t.splice(h-1,2),h-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((f||b)&&p){for(a=t.split("/"),h=a.length;h>0;h-=1){if(r=a.slice(0,h).join("/"),f)for(u=f.length;u>0;u-=1)if(o=p[f.slice(0,u).join("/")],o&&(o=o[r])){i=o,s=h;break}if(i)break;!l&&b&&b[r]&&(l=b[r],c=h)}!i&&l&&(i=l,s=c),i&&(a.splice(0,s,i),t=a.join("/"))}return t}function n(t,e){return function(){var a=T.call(arguments,0);return"string"!=typeof a[0]&&1===a.length&&a.push(null),f.apply(r,a.concat([t,e]))}}function s(t){return function(e){return i(e,t)}}function l(t){return function(e){_[t]=e}}function c(t){if(o(v,t)){var e=v[t];delete v[t],w[t]=!0,d.apply(r,e)}if(!o(_,t)&&!o(w,t))throw new Error("No "+t);return _[t]}function h(t){var e,a=t?t.indexOf("!"):-1;return a>-1&&(e=t.substring(0,a),t=t.substring(a+1,t.length)),[e,t]}function u(t){return function(){return m&&m.config&&m.config[t]||{}}}var d,f,p,b,_={},v={},m={},w={},g=Object.prototype.hasOwnProperty,T=[].slice,x=/\.js$/;p=function(t,e){var a,r=h(t),o=r[0];return t=r[1],o&&(o=i(o,e),a=c(o)),o?t=a&&a.normalize?a.normalize(t,s(e)):i(t,e):(t=i(t,e),r=h(t),o=r[0],t=r[1],o&&(a=c(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:a}},b={require:function(t){return n(t)},exports:function(t){var e=_[t];return"undefined"!=typeof e?e:_[t]={}},module:function(t){return{id:t,uri:"",exports:_[t],config:u(t)}}},d=function(t,e,a,i){var s,h,u,d,f,m,g=[],T=typeof a;if(i=i||t,"undefined"===T||"function"===T){for(e=!e.length&&a.length?["require","exports","module"]:e,f=0;f<e.length;f+=1)if(d=p(e[f],i),h=d.f,"require"===h)g[f]=b.require(t);else if("exports"===h)g[f]=b.exports(t),m=!0;else if("module"===h)s=g[f]=b.module(t);else if(o(_,h)||o(v,h)||o(w,h))g[f]=c(h);else{if(!d.p)throw new Error(t+" missing "+h);d.p.load(d.n,n(i,!0),l(h),{}),g[f]=_[h]}u=a?a.apply(_[t],g):void 0,t&&(s&&s.exports!==r&&s.exports!==_[t]?_[t]=s.exports:u===r&&m||(_[t]=u))}else t&&(_[t]=a)},t=e=f=function(t,e,a,o,i){if("string"==typeof t)return b[t]?b[t](e):c(p(t,e).f);if(!t.splice){if(m=t,m.deps&&f(m.deps,m.callback),!e)return;e.splice?(t=e,e=a,a=null):t=r}return e=e||function(){},"function"==typeof a&&(a=o,o=i),o?d(r,t,e,a):setTimeout(function(){d(r,t,e,a)},4),f},f.config=function(t){return f(t)},t._defined=_,a=function(t,e,a){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(a=e,e=[]),o(_,t)||o(v,t)||(v[t]=[t,e,a])},a.amd={jQuery:!0}}(),a("libs/almond",function(){}),function(t){"undefined"!=typeof a?a("dcl/mini",[],t):"undefined"!=typeof module?module.exports=t():dcl=t()}(function(){"use strict";function t(e,r){var i,c,h,u,d,f,p,b,_,v,m=[0],w=0;if(e)if(e instanceof Array){for(d={},b=e.slice(0).reverse(),_=b.length-1;_>=0;--_)if(c=b[_],c._uniqueId=c._uniqueId||n++,i=c._meta){for(p=i.bases,w=p.length-1;w>0;--w)v=p[w]._uniqueId,d[v]=(d[v]||0)+1;b[_]=p.slice(0)}else b[_]=[c];f={};t:for(;b.length;){for(_=0;_<b.length;++_)if(p=b[_],c=p[0],v=c._uniqueId,!d[v]){f[v]||(m.push(c),f[v]=1),p.shift(),p.length?--d[p[0]._uniqueId]:b.splice(_,1);continue t}t._error("cycle",r,b)}e=e[0],w=m.length-((u=e._meta)&&e===m[m.length-(w=u.bases.length)]?w:1)-1}else e._uniqueId=e._uniqueId||n++,m=m.concat((u=e._meta)?u.bases:e);for(i=e?t.delegate(e[l]):{},p=e&&(u=e._meta)?t.delegate(u.weaver):{constructor:2};w>0;--w)if(c=m[w],u=c._meta,t.mix(i,u&&u.ownProps||c[l]),u)for(v in b=u.weaver)p[v]=(+p[v]||0)|b[v];for(v in r)a(u=r[v])?p[v]=+p[v]||0:i[v]=u;return u={bases:m,ownProps:r,weaver:p,chains:{}},m[0]={_meta:u,prototype:i},o(u,i),h=i[s],h._meta=u,h[l]=i,m[0]=h,t._postprocess(h)}function e(t){this.around=t}function a(t){return t&&t.spr instanceof e}function r(t){var e=[];for(var a in t)e.push(a);return e}function o(e,a){var r=e.weaver,o=e.bases,i=e.chains;for(var n in r)a[n]=t._stub(r[n],o,n,i)}var i,n=0,s="constructor",l="prototype",c={};return(i=function(t,e){for(var a in e)t[a]=e[a]})(t,{mix:i,delegate:function(t){return Object.create(t)},allKeys:r,Super:e,superCall:function(e){return t._makeSuper(e)},_makeSuper:function(t,a){var r=function(){};return r.spr=new(a||e)(t),r},_postprocess:function(t){return t},_error:function(t){throw Error("dcl: "+t)},_instantiate:function(t,e,a){var r=t.spr.around(e);return r.ctr=t.ctr,r},_extractChain:function(t,e,r){for(var o,i,n=t.length-1,h=[],u="around"==r;o=t[n];--n)((i=o._meta)?(i=i.ownProps).hasOwnProperty(e)&&(a(i=i[e])?u?i.spr.around:i=i.spr[r]:u):u&&(i=e==s?o:o[l][e])&&i!==c[e])&&(i.ctr=o,h.push(i));return h},_stubChain:function(t){var e,a=t.length;return a?1==a?(e=t[0],function(){e.apply(this,arguments)}):function(){for(var e=0;a>e;++e)Line truncated
this.$pane[1].remove(),this.$bar.remove()),this.$container)},__removeChild:function(t){if(this._pane[0]===t)this._pane[0]=!1;else{if(this._pane[1]!==t)return;this._pane[1]=!1}t&&(t.__container(null),t._parent=null)},__destroy:function(){for(this._anim&&(clearInterval(this._anim),this._anim=0),this.$bar.clearQueue();this._boundEvents.length;)this._parent.off(this._boundEvents[0].event,this._boundEvents[0].handler),this._boundEvents.shift();this._pane[0]&&(this._pane[0].__destroy(),this._pane[0]=null),this._pane[1]&&(this._pane[1].__destroy(),this._pane[1]=null),this.__container(null),this._parent=!1}});return r}),a("wcDocker/frame",["dcl/dcl","./types","./base"],function(t,e,a){var r=t(a,{declaredClass:"wcFrame",LEFT_TAB_BUFFER:15,constructor:function(t,a,r){this.$container=$(t),this._parent=a,this._isFloating=r,this.$frame=null,this.$title=null,this.$titleBar=null,this.$tabBar=null,this.$tabScroll=null,this.$center=null,this.$tabLeft=null,this.$tabRight=null,this.$close=null,this.$collapse=null,this.$top=null,this.$bottom=null,this.$left=null,this.$right=null,this.$corner1=null,this.$corner2=null,this.$corner3=null,this.$corner4=null,this.$buttonBar=null,this.$shadower=null,this.$modalBlocker=null,this._titleVisible=!0,this._canScrollTabs=!1,this._tabOrientation=e.TAB.TOP,this._tabScrollPos=0,this._curTab=-1,this._panelList=[],this._buttonList=[],this._resizeData={time:-1,timeout:!1,delta:150},this._pos={x:.5,y:.5},this._size={x:400,y:400},this._lastSize={x:400,y:400},this._anchorMouse={x:0,y:0},this.__init()},pos:function(t,e,a){var r=this.$container.width(),o=this.$container.height();return"undefined"==typeof t?a?{x:this._pos.x*r,y:this._pos.y*o}:{x:this._pos.x,y:this._pos.y}:void(a?(this._pos.x=t/r,this._pos.y=e/o):(this._pos.x=t,this._pos.y=e))},initSize:function(){for(var t={x:-1,y:-1},e=0;e<this._panelList.length;++e)t.x<this._panelList[e].initSize().x&&(t.x=this._panelList[e].initSize().x),t.y<this._panelList[e].initSize().y&&(t.y=this._panelList[e].initSize().y);return t.x<0||t.y<0?!1:t},minSize:function(){for(var t={x:0,y:0},e=0;e<this._panelList.length;++e)t.x=Math.max(t.x,this._panelList[e].minSize().x),t.y=Math.max(t.y,this._panelList[e].minSize().y);return t},maxSize:function(){for(var t={x:1/0,y:1/0},e=0;e<this._panelList.length;++e)t.x=Math.min(t.x,this._panelList[e].maxSize().x),t.y=Math.min(t.y,this._panelList[e].maxSize().y);return t},tabOrientation:function(t){return void 0!==t&&this._tabOrientation!==t&&this.docker()._canOrientTabs&&(this._tabOrientation=t,this.__updateTabs(),this.__updateTabs()),this._tabOrientation},addPanel:function(t,e){var a=this._panelList.indexOf(t);-1!==a&&this._panelList.splice(a,1),"undefined"==typeof e?this._panelList.push(t):this._panelList.splice(e,0,t),-1===this._curTab&&this._panelList.length&&(this.isCollapser()||(this._curTab=0),this._size=this.initSize()),this.__updateTabs()},removePanel:function(t){for(var e=0;e<this._panelList.length;++e)if(this._panelList[e]===t){this.isCollapser()?this._curTab=-1:this._curTab>=e&&this._curTab--,this._panelList[e]._parent===this&&(this._panelList[e].__container(null),this._panelList[e]._parent=null),this._panelList.splice(e,1),t._isVisible=!1;break}return-1===this._curTab&&!this.collapse()&&this._panelList.length&&(this._curTab=0),this.__updateTabs(),this._panelList.length>0},panel:function(t,e){return"undefined"!=typeof t&&(this.isCollapser()&&t===this._curTab&&(this.collapse(),t=-1),t<this._panelList.length&&(this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+this._curTab+'"]').removeClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+this._curTab+'"]').addClass("wcPanelTabContentHidden"),this._curTab!==t&&this.collapse(),this._curTab=t,t>-1&&(this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+t+'"]').addClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+t+'"]').removeClass("wcPanelTabContentHidden"),this.expand()),this.__updateTabs(e))),this._curTab>-1&&this._curTab<this._panelList.length?this._panelList[this._curTab]:this.isCollapser()&&this._panelList.length?this._panelList[0]:!1},isCollapser:function(){return this._parent&&"wcDrawer"===this._parent.declaredClass},collapse:function(t){return this.isCollapser()?(this._parent.collapse(t),!0):!1},expand:function(){return this.isCollapser()?(this._parent.expand(),!0):!1},isExpanded:function(){return this.isCollapser()?this._parent.isExpanded():void 0},__init:function(){this.$frame=$('<div class="wcFrame wcWide wcTall">'),this.$title=$('<div class="wcFrameTitle">'),this.$titleBar=$('<div class="wcFrameTitleBar wcFrameTopper">'),this.$tabBar=$('<div class="wcFrameTitleBar">'),this.$tabScroll=$('<div class="wcTabScroller">'),this.$center=$('<div class="wcFrameCenter wcPanelBackground">'),this.$tabLeft=$('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span>&lt;</div>'),this.$tabRight=$('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arroLine truncated
n.y=r-1);for(var o=0;r>o;++o)for(var i=0;a>i;++i)if(0!==o||0!==i){var n=this._grid[e+o][t+i];n.$el.remove(),n.$el=null,n.x=-i,n.y=-o}return!0}});return r}),a("wcDocker/tabframe",["dcl/dcl","./types","./base"],function(t,e,a){var r=t(a,{declaredClass:"wcTabFrame",LEFT_TAB_BUFFER:15,constructor:function(t,a){this.$container=$(t),this._parent=a,this.$frame=null,this.$tabBar=null,this.$tabScroll=null,this.$center=null,this.$tabLeft=null,this.$tabRight=null,this.$close=null,this._tabOrientation=e.TAB.TOP,this._canScrollTabs=!1,this._tabScrollPos=0,this._curTab=-1,this._layoutList=[],this._moveable=!0,this._boundEvents=[],this.__init()},update:function(){var t=this.$center.scrollTop();this.__updateTabs(),this.$center.scrollTop(t)},destroy:function(){this.__destroy()},tabCount:function(){return this._layoutList.length},tabOrientation:function(t){return void 0!==t&&this._tabOrientation!==t&&this.docker()._canOrientTabs&&(this._tabOrientation=t,this.__updateTabs(),this.__updateTabs()),this._tabOrientation},addTab:function(t,e,a){var r=a||"wcLayoutTable",o=new(this.docker().__getClass(r))(".wcDockerTransition",this._parent);return o.name=t,o._scrollable={x:!0,y:!0},o._scroll={x:0,y:0},o._closeable=!1,o._overflowVisible=!1,"undefined"==typeof e||-1>=e?this._layoutList.push(o):this._layoutList.splice(e,0,o),-1===this._curTab&&this._layoutList.length&&(this._curTab=0),this.__updateTabs(),o},removeTab:function(t){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t].name;return this._layoutList[t].__destroy(),this._layoutList.splice(t,1),this._curTab>=t&&(this._curTab--,this._curTab<0&&(this._curTab=0)),this.__updateTabs(),this._parent.__trigger(e.EVENT.CUSTOM_TAB_CLOSED,{obj:this,name:a,index:t}),!0}return!1},tab:function(t,a){if("undefined"!=typeof t&&t>-1&&t<this._layoutList.length){this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+this._curTab+'"]').removeClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+this._curTab+'"]').addClass("wcPanelTabContentHidden"),this._curTab=t,this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+t+'"]').addClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+t+'"]').removeClass("wcPanelTabContentHidden"),this.__updateTabs(a);var r=this._layoutList[this._curTab].name;this._parent.__trigger(e.EVENT.CUSTOM_TAB_CHANGED,{obj:this,name:r,index:t})}return this._curTab},layout:function(t){return t>-1&&t<this._layoutList.length?this._layoutList[t]:!1},moveTab:function(t,e){if(t>=0&&t<this._layoutList.length&&e>=0&&e<this._layoutList.length){var a=this._layoutList.splice(t,1);return this._layoutList.splice(e,0,a[0]),this._curTab===t&&(this._curTab=e),this.__updateTabs(),this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+e+'"]')[0]}return!1},moveable:function(t){return"undefined"!=typeof t&&(this._moveable=t),this._moveable},closeable:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];return"undefined"!=typeof e&&(a._closeable=e),a._closeable}return!1},scrollable:function(t,e,a){if(t>-1&&t<this._layoutList.length){var r=this._layoutList[t],o=!1;return"undefined"!=typeof e&&(r._scrollable.x=e,o=!0),"undefined"!=typeof a&&(r._scrollable.y=a,o=!0),o&&this.__onTabChange(),{x:r._scrollable.x,y:r._scrollable.y}}return!1},overflowVisible:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];return"undefined"!=typeof overflow&&(a._overflowVisible=overflow,this.__onTabChange()),a._overflowVisible}return!1},fitContents:function(t,e,a){if(t>-1&&t<this._layoutList.length){var r=this._layoutList[t];r.hasOwnProperty("_fitContents")||(r._fitContents={x:!1,y:!1});var o=!1;return"undefined"!=typeof e&&(r._fitContents.x=e,o=!0),"undefined"!=typeof a&&(r._fitContents.y=a,o=!0),o&&this.__onTabChange(),{x:r._fitContents.x,y:r._fitContents.y}}return!1},icon:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];a.$icon||(a.$icon=$("<div>")),a.$icon.removeClass(),a.$icon.addClass("wcTabIcon "+e)}},faicon:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];a.$icon||(a.$icon=$("<div>")),a.$icon.removeClass(),a.$icon.addClass("fa fa-fw fa-"+e)}},__init:function(){this.$frame=$('<div class="wcCustomTab wcWide wcTall">'),this.$tabBar=$('<div class="wcFrameTitleBar wcCustomTabTitle wcWide">'),this.$tabScroll=$('<div class="wcTabScroller">'),this.$center=$('<div class="wcFrameCenter wcPanelBackground">'),this.$tabLeft=$('<div class="wcFrameButton" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span>&lt;</div>'),this.$tabRight=$('<div class="wcFrameButton" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span>&gt;</div>'),this.$close=$('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-close"></span>X</div>'),this.$buttonBar=$('<div class="wcFrameButtonBar">'),this.$tabBar.append(this.$tabScroll),this.$tabBar.append(this.$buttonBar),this.$buttonBar.append(this.$close),this.$frame.append(this.$cLine truncated
this.$pane[1].remove(),this.$bar.remove()),this.$container)},__removeChild:function(t){if(this._pane[0]===t)this._pane[0]=!1;else{if(this._pane[1]!==t)return;this._pane[1]=!1}t&&(t.__container(null),t._parent=null)},__destroy:function(){for(this._anim&&(clearInterval(this._anim),this._anim=0),this.$bar.clearQueue();this._boundEvents.length;)this._parent.off(this._boundEvents[0].event,this._boundEvents[0].handler),this._boundEvents.shift();this._pane[0]&&(this._pane[0].__destroy(),this._pane[0]=null),this._pane[1]&&(this._pane[1].__destroy(),this._pane[1]=null),this.__container(null),this._parent=!1}});return r}),a("wcDocker/frame",["dcl/dcl","./types","./base"],function(t,e,a){var r=t(a,{declaredClass:"wcFrame",LEFT_TAB_BUFFER:15,constructor:function(t,a,r){this.$container=$(t),this._parent=a,this._isFloating=r,this.$frame=null,this.$title=null,this.$titleBar=null,this.$tabBar=null,this.$tabScroll=null,this.$center=null,this.$tabLeft=null,this.$tabRight=null,this.$close=null,this.$collapse=null,this.$top=null,this.$bottom=null,this.$left=null,this.$right=null,this.$corner1=null,this.$corner2=null,this.$corner3=null,this.$corner4=null,this.$buttonBar=null,this.$shadower=null,this.$modalBlocker=null,this._titleVisible=!0,this._canScrollTabs=!1,this._tabOrientation=e.TAB.TOP,this._tabScrollPos=0,this._curTab=-1,this._panelList=[],this._buttonList=[],this._resizeData={time:-1,timeout:!1,delta:150},this._pos={x:.5,y:.5},this._size={x:400,y:400},this._lastSize={x:400,y:400},this._anchorMouse={x:0,y:0},this.__init()},pos:function(t,e,a){var r=this.$container.width(),o=this.$container.height();return"undefined"==typeof t?a?{x:this._pos.x*r,y:this._pos.y*o}:{x:this._pos.x,y:this._pos.y}:void(a?(this._pos.x=t/r,this._pos.y=e/o):(this._pos.x=t,this._pos.y=e))},initSize:function(){for(var t={x:-1,y:-1},e=0;e<this._panelList.length;++e)t.x<this._panelList[e].initSize().x&&(t.x=this._panelList[e].initSize().x),t.y<this._panelList[e].initSize().y&&(t.y=this._panelList[e].initSize().y);return t.x<0||t.y<0?!1:t},minSize:function(){for(var t={x:0,y:0},e=0;e<this._panelList.length;++e)t.x=Math.max(t.x,this._panelList[e].minSize().x),t.y=Math.max(t.y,this._panelList[e].minSize().y);return t},maxSize:function(){for(var t={x:1/0,y:1/0},e=0;e<this._panelList.length;++e)t.x=Math.min(t.x,this._panelList[e].maxSize().x),t.y=Math.min(t.y,this._panelList[e].maxSize().y);return t},tabOrientation:function(t){return void 0!==t&&this._tabOrientation!==t&&this.docker()._canOrientTabs&&(this._tabOrientation=t,this.__updateTabs(),this.__updateTabs()),this._tabOrientation},addPanel:function(t,e){var a=this._panelList.indexOf(t);-1!==a&&this._panelList.splice(a,1),"undefined"==typeof e?this._panelList.push(t):this._panelList.splice(e,0,t),-1===this._curTab&&this._panelList.length&&(this.isCollapser()||(this._curTab=0),this._size=this.initSize()),this.__updateTabs()},removePanel:function(t){for(var e=0;e<this._panelList.length;++e)if(this._panelList[e]===t){this.isCollapser()?this._curTab=-1:this._curTab>=e&&this._curTab--,this._panelList[e]._parent===this&&(this._panelList[e].__container(null),this._panelList[e]._parent=null),this._panelList.splice(e,1),t._isVisible=!1;break}return-1===this._curTab&&!this.collapse()&&this._panelList.length&&(this._curTab=0),this.__updateTabs(),this._panelList.length>0},panel:function(t,e){return"undefined"!=typeof t&&(this.isCollapser()&&t===this._curTab&&(this.collapse(),t=-1),t<this._panelList.length&&(this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+this._curTab+'"]').removeClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+this._curTab+'"]').addClass("wcPanelTabContentHidden"),this._curTab!==t&&this.collapse(),this._curTab=t,t>-1&&(this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+t+'"]').addClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+t+'"]').removeClass("wcPanelTabContentHidden"),this.expand()),this.__updateTabs(e))),this._curTab>-1&&this._curTab<this._panelList.length?this._panelList[this._curTab]:this.isCollapser()&&this._panelList.length?this._panelList[0]:!1},isCollapser:function(){return this._parent&&"wcDrawer"===this._parent.declaredClass},collapse:function(t){return this.isCollapser()?(this._parent.collapse(t),!0):!1},expand:function(){return this.isCollapser()?(this._parent.expand(),!0):!1},isExpanded:function(){return this.isCollapser()?this._parent.isExpanded():void 0},__init:function(){this.$frame=$('<div class="wcFrame wcWide wcTall">'),this.$title=$('<div class="wcFrameTitle">'),this.$titleBar=$('<div class="wcFrameTitleBar wcFrameTopper">'),this.$tabBar=$('<div class="wcFrameTitleBar">'),this.$tabScroll=$('<div class="wcTabScroller">'),this.$center=$('<div class="wcFrameCenter wcPanelBackground">'),this.$tabLeft=$('<div class="wcFrameButton wcFrameButtonLeft" title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>'),this.$tabRight=$('<div class="wcFrameButton wcFrameButtonRight " title="Scroll tabs to tLine truncated
n.y=r-1);for(var o=0;r>o;++o)for(var i=0;a>i;++i)if(0!==o||0!==i){var n=this._grid[e+o][t+i];n.$el.remove(),n.$el=null,n.x=-i,n.y=-o}return!0}});return r}),a("wcDocker/tabframe",["dcl/dcl","./types","./base"],function(t,e,a){var r=t(a,{declaredClass:"wcTabFrame",LEFT_TAB_BUFFER:15,constructor:function(t,a){this.$container=$(t),this._parent=a,this.$frame=null,this.$tabBar=null,this.$tabScroll=null,this.$center=null,this.$tabLeft=null,this.$tabRight=null,this.$close=null,this._tabOrientation=e.TAB.TOP,this._canScrollTabs=!1,this._tabScrollPos=0,this._curTab=-1,this._layoutList=[],this._moveable=!0,this._boundEvents=[],this.__init()},update:function(){var t=this.$center.scrollTop();this.__updateTabs(),this.$center.scrollTop(t)},destroy:function(){this.__destroy()},tabCount:function(){return this._layoutList.length},tabOrientation:function(t){return void 0!==t&&this._tabOrientation!==t&&this.docker()._canOrientTabs&&(this._tabOrientation=t,this.__updateTabs(),this.__updateTabs()),this._tabOrientation},addTab:function(t,e,a){var r=a||"wcLayoutTable",o=new(this.docker().__getClass(r))(".wcDockerTransition",this._parent);return o.name=t,o._scrollable={x:!0,y:!0},o._scroll={x:0,y:0},o._closeable=!1,o._overflowVisible=!1,"undefined"==typeof e||-1>=e?this._layoutList.push(o):this._layoutList.splice(e,0,o),-1===this._curTab&&this._layoutList.length&&(this._curTab=0),this.__updateTabs(),o},removeTab:function(t){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t].name;return this._layoutList[t].__destroy(),this._layoutList.splice(t,1),this._curTab>=t&&(this._curTab--,this._curTab<0&&(this._curTab=0)),this.__updateTabs(),this._parent.__trigger(e.EVENT.CUSTOM_TAB_CLOSED,{obj:this,name:a,index:t}),!0}return!1},tab:function(t,a){if("undefined"!=typeof t&&t>-1&&t<this._layoutList.length){this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+this._curTab+'"]').removeClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+this._curTab+'"]').addClass("wcPanelTabContentHidden"),this._curTab=t,this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+t+'"]').addClass("wcPanelTabActive"),this.$center.children('.wcPanelTabContent[id="'+t+'"]').removeClass("wcPanelTabContentHidden"),this.__updateTabs(a);var r=this._layoutList[this._curTab].name;this._parent.__trigger(e.EVENT.CUSTOM_TAB_CHANGED,{obj:this,name:r,index:t})}return this._curTab},layout:function(t){return t>-1&&t<this._layoutList.length?this._layoutList[t]:!1},moveTab:function(t,e){if(t>=0&&t<this._layoutList.length&&e>=0&&e<this._layoutList.length){var a=this._layoutList.splice(t,1);return this._layoutList.splice(e,0,a[0]),this._curTab===t&&(this._curTab=e),this.__updateTabs(),this.$tabBar.find('> .wcTabScroller > .wcPanelTab[id="'+e+'"]')[0]}return!1},moveable:function(t){return"undefined"!=typeof t&&(this._moveable=t),this._moveable},closeable:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];return"undefined"!=typeof e&&(a._closeable=e),a._closeable}return!1},scrollable:function(t,e,a){if(t>-1&&t<this._layoutList.length){var r=this._layoutList[t],o=!1;return"undefined"!=typeof e&&(r._scrollable.x=e,o=!0),"undefined"!=typeof a&&(r._scrollable.y=a,o=!0),o&&this.__onTabChange(),{x:r._scrollable.x,y:r._scrollable.y}}return!1},overflowVisible:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];return"undefined"!=typeof overflow&&(a._overflowVisible=overflow,this.__onTabChange()),a._overflowVisible}return!1},fitContents:function(t,e,a){if(t>-1&&t<this._layoutList.length){var r=this._layoutList[t];r.hasOwnProperty("_fitContents")||(r._fitContents={x:!1,y:!1});var o=!1;return"undefined"!=typeof e&&(r._fitContents.x=e,o=!0),"undefined"!=typeof a&&(r._fitContents.y=a,o=!0),o&&this.__onTabChange(),{x:r._fitContents.x,y:r._fitContents.y}}return!1},icon:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];a.$icon||(a.$icon=$("<div>")),a.$icon.removeClass(),a.$icon.addClass("wcTabIcon "+e)}},faicon:function(t,e){if(t>-1&&t<this._layoutList.length){var a=this._layoutList[t];a.$icon||(a.$icon=$("<div>")),a.$icon.removeClass(),a.$icon.addClass("fa fa-fw fa-"+e)}},__init:function(){this.$frame=$('<div class="wcCustomTab wcWide wcTall">'),this.$tabBar=$('<div class="wcFrameTitleBar wcCustomTabTitle wcWide">'),this.$tabScroll=$('<div class="wcTabScroller">'),this.$center=$('<div class="wcFrameCenter wcPanelBackground">'),this.$tabLeft=$('<div class="wcFrameButton wcFrameButtonLeft " title="Scroll tabs to the left."><span class="fa fa-arrow-left"></span></div>'),this.$tabRight=$('<div class="wcFrameButton wcFrameButtonRight" title="Scroll tabs to the right."><span class="fa fa-arrow-right"></span></div>'),this.$close=$('<div class="wcFrameButton" title="Close the currently active panel tab"><span class="fa fa-close"></span>X</div>'),this.$buttonBar=$('<div class="wcFrameButtonBar">'),this.$tabBar.append(this.$tabScroll),this.$tabBar.append(this.$buttonBar),this.$buttonBar.append(this.$cloLine truncated
e=r-(+e||0),Ye(t,0,0>e?0:e)):[]}function wr(t,e,a){return t&&t.length?ra(t,Na(e,a,3),!0,!0):[]}function gr(t,e,a){return t&&t.length?ra(t,Na(e,a,3),!0):[]}function Tr(t,e,a,r){var o=t?t.length:0;return o?(a&&"number"!=typeof a&&tr(t,e,a)&&(a=0,r=o),Pe(t,e,a,r)):[]}function xr(t){return t?t[0]:y}function yr(t,e,a){var r=t?t.length:0;return a&&tr(t,e,a)&&(e=!1),r?Oe(t,e):[]}function Br(t){var e=t?t.length:0;return e?Oe(t,!0):[]}function Cr(t,e,a){var o=t?t.length:0;if(!o)return-1;if("number"==typeof a)a=0>a?Cn(o+a,0):a;else if(a){var i=ia(t,e);return o>i&&(e===e?e===t[i]:t[i]!==t[i])?i:-1}return r(t,e,a||0)}function Sr(t){return mr(t,1)}function $r(t){var e=t?t.length:0;return e?t[e-1]:y}function Pr(t,e,a){var r=t?t.length:0;if(!r)return-1;var o=r;if("number"==typeof a)o=(0>a?Cn(r+a,0):Sn(a||0,r-1))+1;else if(a){o=ia(t,e,!0)-1;var i=t[o];return(e===e?e===i:i!==i)?o:-1}if(e!==e)return p(t,o,!0);for(;o--;)if(t[o]===e)return o;return-1}function Fr(){var t=arguments,e=t[0];if(!e||!e.length)return e;for(var a=0,r=Wa(),o=t.length;++a<o;)for(var i=0,n=t[a];(i=r(e,n,i))>-1;)_n.call(e,i,1);return e}function Lr(t,e,a){var r=[];if(!t||!t.length)return r;var o=-1,i=[],n=t.length;for(e=Na(e,a,3);++o<n;){var s=t[o];e(s,o,t)&&(r.push(s),i.push(o))}return Ue(t,i),r}function Or(t){return vr(t,1)}function Ar(t,e,a){var r=t?t.length:0;return r?(a&&"number"!=typeof a&&tr(t,e,a)&&(e=0,a=r),Ye(t,e,a)):[]}function Er(t,e,a){var r=t?t.length:0;return r?((a?tr(t,e,a):null==e)&&(e=1),Ye(t,0,0>e?0:e)):[]}function Dr(t,e,a){var r=t?t.length:0;return r?((a?tr(t,e,a):null==e)&&(e=1),e=r-(+e||0),Ye(t,0>e?0:e)):[]}function kr(t,e,a){return t&&t.length?ra(t,Na(e,a,3),!1,!0):[]}function zr(t,e,a){return t&&t.length?ra(t,Na(e,a,3)):[]}function Hr(t,e,a,o){var i=t?t.length:0;if(!i)return[];null!=e&&"boolean"!=typeof e&&(o=a,a=tr(t,e,o)?y:e,e=!1);var n=Na();return(null!=a||n!==xe)&&(a=n(a,o,3)),e&&Wa()===r?m(t,a):ea(t,a)}function Ir(t){if(!t||!t.length)return[];var e=-1,a=0;t=ce(t,function(t){return Ja(t)?(a=Cn(t.length,a),!0):void 0});for(var r=Ni(a);++e<a;)r[e]=he(t,Ge(e));return r}function Vr(t,e,a){var r=t?t.length:0;if(!r)return[];var o=Ir(t);return null==e?o:(e=sa(e,a,4),he(o,function(t){return de(t,e,y,!0)}))}function Mr(){for(var t=-1,e=arguments.length;++t<e;){var a=arguments[t];if(Ja(a))var r=r?ue(Ce(r,a),Ce(a,r)):a}return r?ea(r):[]}function Rr(t,e){var a=-1,r=t?t.length:0,o={};for(!r||e||ks(t[0])||(e=[]);++a<r;){var i=t[a];e?o[i]=e[a]:i&&(o[i[0]]=i[1])}return o}function Nr(t){var e=_(t);return e.__chain__=!0,e}function Kr(t,e,a){return e.call(a,t),t}function Wr(t,e,a){return e.call(a,t)}function Gr(){return Nr(this)}function jr(){return new Q(this.value(),this.__chain__)}function Ur(t){for(var e,a=this;a instanceof Z;){var r=pr(a);e?o.__wrapped__=r:e=r;var o=r;a=a.__wrapped__}return o.__wrapped__=t,e}function qr(){var t=this.__wrapped__,e=function(t){return t.reverse()};if(t instanceof et){var a=t;return this.__actions__.length&&(a=new et(this)),a=a.reverse(),a.__actions__.push({func:Wr,args:[e],thisArg:y}),new Q(a,this.__chain__)}return this.thru(e)}function Zr(){return this.value()+""}function Yr(){return oa(this.__wrapped__,this.__actions__)}function Xr(t,e,a){var r=ks(t)?se:Se;return a&&tr(t,e,a)&&(e=y),("function"!=typeof e||a!==y)&&(e=Na(e,a,3)),r(t,e)}function Jr(t,e,a){var r=ks(t)?ce:Fe;return e=Na(e,a,3),r(t,e)}function Qr(t,e){return hs(t,Re(e))}function to(t,e,a,r){var o=t?qn(t):0;return rr(o)||(t=si(t),o=t.length),a="number"!=typeof a||r&&tr(e,a,r)?0:0>a?Cn(o+a,0):a||0,"string"==typeof t||!ks(t)&&Wo(t)?o>=a&&t.indexOf(e,a)>-1:!!o&&Wa(t,e,a)>-1}function eo(t,e,a){var r=ks(t)?he:Me;return e=Na(e,a,3),r(t,e)}function ao(t,e){return eo(t,ki(e))}function ro(t,e,a){var r=ks(t)?ce:Fe;return e=Na(e,a,3),r(t,function(t,a,r){return!e(t,a,r)})}function oo(t,e,a){if(a?tr(t,e,a):null==e){t=ur(t);var r=t.length;return r>0?t[qe(0,r-1)]:y}var o=-1,i=Zo(t),r=i.length,n=r-1;for(e=Sn(0>e?0:+e||0,r);++o<e;){var s=qe(o,n),l=i[s];i[s]=i[o],i[o]=l}return i.length=e,i}function io(t){return oo(t,On)}function no(t){var e=t?qn(t):0;return rr(e)?e:js(t).length}function so(t,e,a){var r=ks(t)?pe:Xe;return a&&tr(t,e,a)&&(e=y),("function"!=typeof e||a!==y)&&(e=Na(e,a,3)),r(t,e)}function lo(t,e,a){if(null==t)return[];a&&tr(t,e,a)&&(e=y);var r=-1;e=Na(e,a,3);var o=Me(t,function(t,a,o){return{criteria:e(t,a,o),index:++r,value:t}});return Je(o,l)}function co(t,e,a,r){return null==t?[]:(r&&tr(e,a,r)&&(a=y),ks(e)||(e=null==e?[]:[e]),ks(a)||(a=null==a?[]:[a]),Qe(t,e,a))}function ho(t,e){return Jr(t,Re(e))}function uo(t,e){if("function"!=typeof e){if("function"!=typeof t)throw new Xi(R);var a=t;t=e,e=a}return t=yn(t=+t)?t:0,function(){return--t<1?e.apply(this,arguments):void 0}}function fo(t,e,a){return a&&tr(t,e,a)&&(e=y),e=t&&null==e?t.length:Cn(+e||0,0),Ia(t,A,y,y,y,y,e)}function po(t,e){var a;if("function"!=typeof e){if("function"!=typeof t)throw new Xi(R);var r=t;t=e,e=r}return function(){return--t>0&&(a=e.apply(this,arguments)),1>=t&&(e=y),a}}function boLine truncated
this._canOrientTabs=!0,this._events={},this._root=null,this._frameList=[],this._floatingList=[],this._modalList=[],this._persistentList=[],this._focusFrame=null,this._placeholderPanel=null,this._contextTimer=0,this._dirty=!1,this._dirtyDontMove=!1,this._splitterList=[],this._tabList=[],this._collapser={},this._dockPanelTypeList=[],this._creatingPanel=!1,this._draggingSplitter=null,this._draggingFrame=null,this._draggingFrameSizer=null,this._draggingFrameTab=null,this._draggingFrameTopper=!1,this._draggingCustomTabFrame=null,this._ghost=null,this._menuTimer=0,this._mouseOrigin={x:0,y:0},this._resizeData={time:-1,timeout:!1,delta:150};var a={themePath:"Themes",theme:"default",loadingClass:"fa fa-spinner fa-pulse",allowContextMenu:!0,hideOnResize:!1,allowCollapse:!0,responseRate:10,moveStartDelay:300,edgeAnchorSize:50,panelAnchorSize:"15%",detachToWidth:"50%",detachToHeight:"50%"};this._options={};for(var r in f)a[r+"Class"]=f[r];for(var r in a)this._options[r]=a[r];for(var r in e)this._options[r]=e[r];this.__init()},themePath:function(t){return void 0!==t&&(this._options.themePath=t),this._options.themePath},theme:function(t){if(void 0!==t){var e=$("#wcTheme"),a=(new Date).getTime(),r=t.indexOf(".css");r>-1&&(t=t.substring(0,r));var o=$('<link id="wcTheme" rel="stylesheet" type="text/css" href="'+this._options.themePath+"/"+t+".css?v="+a+'"/>');this._options.theme=t;var i=this;o[0].onload=function(){e.remove(),i.__update()},$("head").append(o)}return this._options.theme},isCollapseEnabled:function(){return this._canOrientTabs&&this._options.allowCollapse},registerPanelType:function(t,e,a){var r=e;"function"==typeof r&&(r={onCreate:e},console.log("WARNING: Passing in the creation function directly to wcDocker.registerPanelType parameter 2 is now deprecated and will be removed in the next version! Please use the preferred options object instead.")),"undefined"!=typeof a&&(r.isPrivate=a,console.log("WARNING: Passing in the isPrivate flag to wcDocker.registerPanelType parameter 3 is now deprecated and will be removed in the next version! Please use the preferred options object instead.")),$.isEmptyObject(r)&&(r=null);for(var o=0;o<this._dockPanelTypeList.length;++o)if(this._dockPanelTypeList[o].name===t)return!1;this._dockPanelTypeList.push({name:t,options:r});var i=$("menu").find("menu");return i.append($('<menuitem label="'+t+'">')),!0},panelTypes:function(t){for(var e=[],a=0;a<this._dockPanelTypeList.length;++a)(t||!this._dockPanelTypeList[a].options.isPrivate)&&e.push(this._dockPanelTypeList[a].name);return e},panelTypeInfo:function(t){for(var e=0;e<this._dockPanelTypeList.length;++e)if(this._dockPanelTypeList[e].name==t)return this._dockPanelTypeList[e].options;return!1},addPanel:function(t,a,r,o){function i(t){a===e.DOCK.STACKED?this.__addPanelGrouped(t,r,o):this.__addPanelAlone(t,a,r,o),this._placeholderPanel&&t.moveable()&&a!==e.DOCK.FLOAT&&a!==e.DOCK.MODAL&&this.removePanel(this._placeholderPanel)&&(this._placeholderPanel=null),this.__forceUpdate()}for(var n=0;n<this._persistentList.length;++n)if(this._persistentList[n]._type===t){var s=this._persistentList.splice(n,1)[0];return i.call(this,s),s.__trigger(e.EVENT.PERSISTENT_OPENED),s}for(var l=0;l<this._dockPanelTypeList.length;++l)if(this._dockPanelTypeList[l].name===t){var c=this._dockPanelTypeList[l],s=new(this.__getClass("wcPanel"))(this,t,c.options);s.__container(this.$transition);var h=c.options&&c.options.options||{};return s._panelObject=new c.options.onCreate(s,h),i.call(this,s),s}return!1},removePanel:function(t,a){if(!t)return!1;var r=this.__isLastPanel(t),o=t._parent;if(o&&o.instanceOf("wcFrame")){for(var i=t.__trigger(e.EVENT.CLOSING),n=0;n<i.length;++n)if(!i[n])return!1;if(a?(t.__container(this.$transition),t._parent=null):t.__trigger(e.EVENT.CLOSED),!o.removePanel(t)&&!o.isCollapser()){if(r)return this.__addPlaceholder(o),a?t.__trigger(e.EVENT.PERSISTENT_CLOSED):t.__destroy(),!0;var s=this._floatingList.indexOf(o);-1!==s&&this._floatingList.splice(s,1),s=this._frameList.indexOf(o),-1!==s&&this._frameList.splice(s,1),s=this._modalList.indexOf(o),-1!==s&&this._modalList.splice(s,1),this._modalList.length?this.__focus(this._modalList[this._modalList.length-1]):this._floatingList.length&&this.__focus(this._floatingList[this._floatingList.length-1]);var l=o._parent;if(l&&l.instanceOf("wcSplitter")){l.__removeChild(o);var c;l.pane(0)?(c=l.pane(0),l._pane[0]=null):(c=l.pane(1),l._pane[1]=null),c.__container(this.$transition),c._parent=null,s=this._splitterList.indexOf(l),-1!==s&&this._splitterList.splice(s,1);var h=l._parent;parentContainer=l.__container(),l.__destroy(),h&&h.instanceOf("wcSplitter")?(h.__removeChild(l),h.pane(0)?h.pane(1,c):h.pane(0,c)):h===this&&(this._root=c,c._parent=this,c.__container(parentContainer)),this.__update()}else o===this._root&&(this._root=null);this._focusFrame===o&&(this._focusFrame=null),o.__destroy()}return a?t.__trigger(e.EVENT.PERSISTENT_CLOSED):t.__destroy(),!0}return!1},movePanel:function(t,a,r,o){var i=Line truncated
this._focusFrame&&(this._focusFrame._isFloating&&(this._focusFrame.$frame.addClass("wcFloatingFocus"),r&&$("body").append(this._focusFrame.$frame)),this._focusFrame.__focus(a),this._focusFrame.__trigger(e.EVENT.GAIN_FOCUS)),this.__orderPanels()},__trigger:function(t,e){if(t){var a=[];if(this._events[t])for(var r=this._events[t].slice(0),o=0;o<r.length;++o)a.push(r[o].call(this,e));return a}},__isLastPanel:function(t){for(var e=0;e<this._frameList.length;++e){var a=this._frameList[e];if(!a._isFloating&&!a.isCollapser())for(var r=0;r<a._panelList.length;++r){var o=a._panelList[r];if(o!==t&&o.moveable())return!1}}return!0},__isLastFrame:function(t){for(var e=0;e<this._frameList.length;++e){var a=this._frameList[e];if(!a._isFloating&&a!==t&&!a.isCollapser())for(var r=0;r<a._panelList.length;++r){var o=a._panelList[r];if(o.moveable())return!1}}return!0},__create:function(t,a,r){switch(t.type){case"wcSplitter":var o=new(this.__getClass("wcSplitter"))(r,a,t.horizontal);return o.scrollable(0,!1,!1),o.scrollable(1,!1,!1),o;case"wcFrame":var i=new(this.__getClass("wcFrame"))(r,a,t.floating);return this._frameList.push(i),t.floating&&this._floatingList.push(i),i;case"wcPanel":if(t.panelType===e.PANEL_PLACEHOLDER)return this._placeholderPanel||(this._placeholderPanel=new(this.__getClass("wcPanel"))(a,e.PANEL_PLACEHOLDER,{}),this._placeholderPanel._isPlaceholder=!0,this._placeholderPanel.__container(this.$transition),this._placeholderPanel._panelObject=new function(t){t.title(!1),t.closeable(!1)}(this._placeholderPanel),this._placeholderPanel.__container(r)),this._placeholderPanel;for(var n=0;n<this._dockPanelTypeList.length;++n)if(this._dockPanelTypeList[n].name===t.panelType){var s=new(this.__getClass("wcPanel"))(a,t.panelType,this._dockPanelTypeList[n].options);s.__container(this.$transition);var l=this._dockPanelTypeList[n].options&&this._dockPanelTypeList[n].options.options||{};s._panelObject=new this._dockPanelTypeList[n].options.onCreate(s,l),s.__container(r);break}return s}return null},__addPanelGrouped:function(t,a,r){var o=a;return o&&o.instanceOf("wcPanel")&&(o=a._parent),o&&o.instanceOf("wcFrame")?(r&&r.tabOrientation&&o.tabOrientation(r.tabOrientation),void o.addPanel(t)):void this.__addPanelAlone(t,e.DOCK.LEFT,a,r)},__addPanelAlone:function(t,a,r,o){if(r&&r._shift){var i=r;r=r._shift,i._shift=void 0}if(o){var n=this.$container.width(),s=this.$container.height();o.hasOwnProperty("x")&&(o.x=this.__stringToPixel(o.x,n)),o.hasOwnProperty("y")&&(o.y=this.__stringToPixel(o.y,s)),o.hasOwnProperty("w")||(o.w=t.initSize().x),o.hasOwnProperty("h")||(o.h=t.initSize().y),o.w=this.__stringToPixel(o.w,n),o.h=this.__stringToPixel(o.h,s),t._size.x=o.w,t._size.y=o.h}if(r===e.COLLAPSED){if(this.__initCollapsers(),this._collapser[a]){r=this._collapser[a]._drawer._frame.addPanel(t);var l=this;return setTimeout(function(){l.__update()}),t}return console.log('ERROR: Attempted to collapse panel "'+t._type+'" to invalid location: '+a),!1}if(a===e.DOCK.FLOAT||a===e.DOCK.MODAL){var c=new(this.__getClass("wcFrame"))(this.$container,this,!0);if(o&&o.tabOrientation&&c.tabOrientation(o.tabOrientation),this._frameList.push(c),this._floatingList.push(c),this.__focus(c),c.addPanel(t),c.pos(t._pos.x,t._pos.y,!1),a===e.DOCK.MODAL&&(c.$modalBlocker=$('<div class="wcModalBlocker"></div>'),c.$frame.prepend(c.$modalBlocker),t.moveable(!1),c.$frame.addClass("wcModal"),this._modalList.push(c)),o){var h=c.pos(void 0,void 0,!0);o.hasOwnProperty("x")&&(h.x=o.x+o.w/2),o.hasOwnProperty("y")&&(h.y=o.y+o.h/2),c.pos(h.x,h.y,!0),c._size={x:o.w,y:o.h}}return void this.__orderPanels()}if(r){for(var u=r._parent,d=r;u&&!u.instanceOf("wcSplitter")&&!u.instanceOf("wcDocker");)d=u,u=u._parent;if(u&&u.instanceOf("wcSplitter")){var f,p=u.pane(0),b=(u.pane(1),{x:-1,y:-1});if(p===d?(f=new(this.__getClass("wcSplitter"))(this.$transition,u,a!==e.DOCK.BOTTOM&&a!==e.DOCK.TOP),b.x=u.$pane[0].width(),b.y=u.$pane[0].height(),u.pane(0,f)):(f=new(this.__getClass("wcSplitter"))(this.$transition,u,a!==e.DOCK.BOTTOM&&a!==e.DOCK.TOP),b.x=u.$pane[1].width(),b.y=u.$pane[1].height(),u.pane(1,f)),f){if(f.scrollable(0,!1,!1),f.scrollable(1,!1,!1),o||(o={w:t._size.x,h:t._size.y}),o)switch(o.w<0&&(o.w=b.x/2),o.h<0&&(o.h=b.y/2),a){case e.DOCK.LEFT:f.pos(o.w/b.x);break;case e.DOCK.RIGHT:f.pos(1-o.w/b.x);break;case e.DOCK.TOP:f.pos(o.h/b.y);break;case e.DOCK.BOTTOM:f.pos(1-o.h/b.y)}else f.pos(.5);c=new(this.__getClass("wcFrame"))(this.$transition,f,!1),this._frameList.push(c),a===e.DOCK.LEFT||a===e.DOCK.TOP?(f.pane(0,c),f.pane(1,d)):(f.pane(0,d),f.pane(1,c)),c.addPanel(t)}return}}var _=this,v=this.$container,c=new(this.__getClass("wcFrame"))(this.$transition,_,!1);if(this._frameList.push(c),_._root){var f=new(this.__getClass("wcSplitter"))(v,_,a!==e.DOCK.BOTTOM&&a!==e.DOCK.TOP);if(f){c._parent=f,f.scrollable(0,!1,!1),f.scrollable(1,!1,!1);var b={x:v.width(),y:v.height()};if(o)switch(o.w<0&&(o.w=b.x/2),o.h<0&&(o.h=b.y/2),a){case e.DOCK.LEFT:f.pos(o.w/b.x);break;case e.DOCK.RIGHT:f.pos(1-oLine truncated
info:"The ghost border radius",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"}]},{name:"Frames",scrollable:!0,create:this.addTab,controls:[{name:"Floating Frames",create:this.addSpacer},{selector:".wcFrameEdge",elem:'<div class="wcFrameEdge"></div>',name:"Edge Color",info:"The color of a floating frame",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcFrameEdge",elem:'<div class="wcFrameEdge"></div>',name:"Edge Border Color",info:"The border color of a floating frame",create:this.addColorControl,attribute:"border-color",value:""},{selector:".wcFrameEdge",attribute:"border-width",value:"2"},{selector:".wcFrameEdge",attribute:"border-style",value:"solid"},{name:"",create:this.addSpacer},{name:"Splitter Frames",create:this.addSpacer},{create:this.addTabFrame,controls:[{name:"Moveable Splitter",create:this.addTab,controls:[{name:"Moveable Splitter",create:this.addSpacer},{selector:".wcSplitterBar.wcSplitterBarV:not(.wcSplitterBarStatic)",elem:'<div class="wcSplitterBar wcSplitterBarV"></div>',name:"Size",info:"The size of a splitter bar",create:this.addPixelControl,attribute:"width",value:"",also:[{selector:".wcSplitterBar.wcSplitterBarH:not(.wcSplitterBarStatic)",attribute:"height"}]},{selector:".wcSplitterBar.wcSplitterBarV:not(.wcSplitterBarStatic), .wcSplitterBar.wcSplitterBarH:not(.wcSplitterBarStatic)",elem:'<div class="wcSplitterBar wcSplitterBarV"></div>',name:"Color",info:"The color of a splitter bar",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcSplitterBar.wcSplitterBarV:not(.wcSplitterBarStatic), .wcSplitterBar.wcSplitterBarH:not(.wcSplitterBarStatic)",elem:'<div class="wcSplitterBar wcSplitterBarV"></div>',name:"Border Style",info:"The border style of a splitter bar",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcSplitterBar.wcSplitterBarV:not(.wcSplitterBarStatic), .wcSplitterBar.wcSplitterBarH:not(.wcSplitterBarStatic)",elem:'<div class="wcSplitterBar wcSplitterBarV"></div>',name:"Border Size",info:"The border size of a splitter bar",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcSplitterBar.wcSplitterBarV:not(.wcSplitterBarStatic), .wcSplitterBar.wcSplitterBarH:not(.wcSplitterBarStatic)",elem:'<div class="wcSplitterBar wcSplitterBarV"></div>',name:"Border Color",info:"The border color of a splitter bar",create:this.addColorControl,attribute:"border-color",value:""}]},{name:"Static Splitter",create:this.addTab,controls:[{name:"Static Splitter",create:this.addSpacer},{selector:".wcSplitterBar.wcSplitterBarV.wcSplitterBarStatic",elem:'<div class="wcSplitterBar wcSplitterBarV wcSplitterBarStatic"></div>',name:"Size",info:"The size of a static splitter bar",create:this.addPixelControl,attribute:"width",value:"",also:[{selector:".wcSplitterBar.wcSplitterBarH.wcSplitterBarStatic",attribute:"height"}]},{selector:".wcSplitterBar.wcSplitterBarV.wcSplitterBarStatic, .wcSplitterBar.wcSplitterBarH.wcSplitterBarStatic",elem:'<div class="wcSplitterBar wcSplitterBarV wcSplitterBarStatic"></div>',name:"Color",info:"The color of a static splitter bar",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcSplitterBar.wcSplitterBarV.wcSplitterBarStatic, .wcSplitterBar.wcSplitterBarH.wcSplitterBarStatic",elem:'<div class="wcSplitterBar wcSplitterBarV wcSplitterBarStatic"></div>',name:"Border Style",info:"The border style of a static splitter bar",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcSplitterBar.wcSplitterBarV.wcSplitterBarStatic, .wcSplitterBar.wcSplitterBarH.wcSplitterBarStatic",elem:'<div class="wcSplitterBar wcSplitterBarV wcSplitterBarStatic"></div>',name:"Border Size",info:"The border size of a static splitter bar",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcSplitterBar.wcSplitterBarV.wcSplitterBarStatic, .wcSplitterBar.wcSplitterBarH.wcSplitterBarStatic",elem:'<div class="wcSplitterBar wcSplitterBarV wcSplitterBarStatic"></div>',name:"Border Color",info:"The border color of a static splitter bar",create:this.addColorControl,attribute:"border-color",value:""}]}]}]},{name:"Panels",scrollable:!0,create:this.addTab,controls:[{name:"Panels",create:this.addSpacer},{selector:".wcFrameFlasher",elem:'<div class="wcFrameFlasher"></div>',name:"Flash Color",info:"The color of the panel when it focus flashes.",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcFrameShadower",elem:'<div class="wcFrameShadower"></div>',name:"Shadow Color",info:"The color of the panel when it is being moved by the user.",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{name:"Panel Buttons",create:this.addSpacer},{create:this.addTabFrame,orientation:e.TAB.TOP,controls:[{name:"Button Normal State",create:this.addTab,controls:[Line truncated
name:"Box-Shadow Left Offset",info:"The box shadow horizontal offset from the left (can be negative)",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(1),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcPanelTabActive",elem:'<div class="wcPanelTab wcPanelTabActive"></div>',name:"Box-Shadow Top Offset",info:"The box shadow vertical offset from the top (can be negative)",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(2),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcPanelTabActive",elem:'<div class="wcPanelTab wcPanelTabActive"></div>',name:"Box-Shadow Blur",info:"The box shadow blur",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(3),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcPanelTabActive",elem:'<div class="wcPanelTab wcPanelTabActive"></div>',name:"Box-Shadow Spread",info:"The box shadow spread",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(4),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcPanelTabActive",elem:'<div class="wcPanelTab wcPanelTabActive"></div>',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Tab Active Hover State",create:this.addTab,controls:[{name:"Tab Active Hover State",create:this.addSpacer},{selector:".wcPanelTabActive:hover > div, .wcPanelTabActiveHover > div",elem:'<div class="wcPanelTab"><div></div></div>',name:"Font Top Offset",info:"The font top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Font Size",info:"The font size of a tab item",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Font Weight",info:"The font weight of a tab item",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Font Padding",info:"The padding between text and tab border",create:this.addPixelControl,attribute:"padding-left,padding-right",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Font Color",info:"The font color of a tab item",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Top Offset",info:"The top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Height",info:"The height of a tab item",create:this.addPixelControl,attribute:"height",notValue:"0px",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Spacing",info:"The spacing between tab items",create:this.addPixelControl,attribute:"margin-right",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Color",info:"The color of a tab item",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Border Style",info:"The border style of a tab item",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Border Size",info:"The border size of a tab item",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Border Radius",info:"The border radius of a tab item",create:this.addPixelControl,attribute:"border-top-left-radius,border-top-right-radius",value:"0px",mobileValue:"0px"},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'<div class="wcPanelTab wcPanelTabActive wcPanelTabActiveHover"></div>',name:"Border Color",info:"The border color of a tab item",create:this.addColorControl,attribute:"border-color",value:""},{name:Line truncated
attribute:"font-weight",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Font Size",info:"The font size of the control",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Font Color",info:"The font color of the control",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Color",info:"The color of the control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Style",info:"The border style of the control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Size",info:"The border size of the control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Radius",info:"The border radius of the control",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Color",info:"The border color of the control",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Left Offset",info:"The box shadow horizontal offset from the left (can be negative)",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(1),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Top Offset",info:"The box shadow vertical offset from the top (can be negative)",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(2),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Blur",info:"The box shadow blur",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(3),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Spread",info:"The box shadow spread",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(4),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Buttons",create:this.addTab,controls:[{name:"Button Controls",create:this.addSpacer},{create:this.addTabFrame,controls:[{name:"Button Normal State",create:this.addTab,controls:[{name:"Button Normal State",create:this.addSpacer},{selector:".wcButton:focus, button:focus",attribute:"outline",value:"0"},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Family",info:"The font family of the control",create:this.addTextControl,attribute:"font-family",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Weight",info:"The font weight of the control",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Size",info:"The font size of the control",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Color",info:"The font color of the control",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Color",info:"The color of the control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Border Style",info:"The border style of the control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Border Size",info:"The border size of the control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Border RadiLine truncated
attribute:"font-weight",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Font Size",info:"The font size of the control",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Font Color",info:"The font color of the control",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Color",info:"The color of the control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Style",info:"The border style of the control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Size",info:"The border size of the control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Radius",info:"The border radius of the control",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Border Color",info:"The border color of the control",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Left Offset",info:"The box shadow horizontal offset from the left (can be negative)",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(1),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Top Offset",info:"The box shadow vertical offset from the top (can be negative)",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(2),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Blur",info:"The box shadow blur",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(3),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Spread",info:"The box shadow spread",create:this.addPixelControl,parser:this._parseBoxShadowAttribute(4),attribute:"box-shadow",append:!0,grouped:!0,value:"0px",mobileValue:"0px"},{selector:".wcSelect, select",elem:'<select class="wcSelect"></select>',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Buttons",create:this.addTab,controls:[{name:"Button Controls",create:this.addSpacer},{create:this.addTabFrame,controls:[{name:"Button Normal State",create:this.addTab,controls:[{name:"Button Normal State",create:this.addSpacer},{selector:".wcButton:focus, button:focus",attribute:"outline",value:"0"},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Family",info:"The font family of the control",create:this.addTextControl,attribute:"font-family",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Weight",info:"The font weight of the control",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Size",info:"The font size of the control",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Font Color",info:"The font color of the control",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Color",info:"The color of the control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Border Style",info:"The border style of the control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Border Size",info:"The border size of the control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcButton, button",elem:'<button class="wcButton"></button>',name:"Border RadiLine truncated