diff --git a/Build/Themes/bigRed.min.css b/Build/Themes/bigRed.min.css index 8c59284b..824f91e4 100755 --- a/Build/Themes/bigRed.min.css +++ b/Build/Themes/bigRed.min.css @@ -1 +1 @@ -.wcDocker,.wcPanelBackground{background-color:#A55}.wcPanelBackground .wcCenter{background-color:#733}.wcFrameFlasher{background-color:rgba(255,0,0,.25)}.wcFrameShadower{background-color:rgba(0,0,0,.25)}.wcFrameTitleBar{height:20px;background-color:#822;text-align:left}.wcFrameTitle{font-size:15px;font-weight:700;text-align:center;padding-top:3px;background-color:#A55}.wcFrameCenter{top:20px}.wcFrameButton{width:16px;height:16px;border:2px outset #411;background-color:#522;font-size:15px}.wcFrameButton:hover,.wcFrameButtonHover{border:2px outset #633;background-color:#684040}.wcFrameButton:active,.wcFrameButtonActive{border:2px inset #A55;background-color:#822}.wcFrameButtonToggled,.wcFrameButtonToggled:hover{border-style:inset}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(200,150,150,.2)!important}.wcFrameEdge{position:absolute;z-index:2;border:2px outset #411;background-color:#200}.wcSplitterBar{border:1px solid #411;background-color:#411}.wcSplitterBarV{border-left-style:solid;border-left-color:#822}.wcSplitterBarH{border-top-style:solid;border-top-color:#822}.wcSplitterBarV.wcSplitterBarStatic{width:0}.wcSplitterBarH.wcSplitterBarStatic{height:0}.wcPanelTab{color:#42454a;background-color:#AA7070;border:1px solid #511;border-radius:5px 5px 0 0;border-bottom:0;margin-right:1px;margin-top:5px;font-size:15px;box-shadow:inset 0 2px 4px rgba(0,0,0,.5);padding-left:2px;padding-right:2px;padding-bottom:0}.wcPanelTab:hover,.wcPanelTabHover{background-color:#AA8080}.wcPanelTabActive{color:#000;background-color:#A55;font-weight:700;margin-top:1px;font-size:16px;line-height:18px}.wcPanelTabActive:hover,.wcPanelTabActiveHover{background-color:#C66}.wcGhost{background-color:#411;border-radius:6px}.wcScrollbar,::-webkit-scrollbar{width:12px;height:12px;background-color:#A55}.wcScrollbarCorner,::-webkit-scrollbar-corner{background-color:#A55}.wcScrollbarTrack,::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.5);border-radius:10px}.wcScrollbarThumb,::-webkit-scrollbar-thumb{border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.7)}.context-menu-list,.wcMenuList{border:1px solid #A44}.context-menu-item,.context-menu-list,.wcMenuItem{background-color:#622}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#411}.context-menu-item.disabled,.wcMenuItem.disabled{color:#311;background-color:#622}.context-menu-separator,.wcMenuSeparator{border:2px solid #622;background-color:#733}.wcLoadingBackground{background-color:rgba(55,55,55,1);opacity:.4}.wcButton,.wcInput,.wcSelect,button,input,select{background-color:#A44}.wcLoadingIcon{color:#222}.wcLoadingLabel{color:#111}.wcButton,button{border:1px outset #A44}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #B66;background-color:#B66}.wcButton:active,.wcButtonActive,button:active{border:1px inset #B66;background-color:#B66}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #C88;background-color:#C88}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #933!important;background-color:#933!important;color:#533!important}.wcMobile .wcFrameTitleBar{height:29px}.wcMobile .wcFrameTitle{font-size:20px}.wcMobile .wcFrameButton{width:25px;height:25px;font-size:22px}.wcMobile .wcFrameCenter{top:29px}.wcMobile .wcPanelTab{font-size:14px;height:29px}.wcMobile .wcPanelTab>div{margin-top:4px}.wcMobile .wcSplitterBarV.wcSplitterBar:not(.wcSplitterBarStatic){width:12px;border-width:3px}.wcMobile .wcSplitterBarH.wcSplitterBar:not(.wcSplitterBarStatic){height:12px;border-width:3px}.wcMobile .wcButton,.wcMobile .wcInput,.wcMobile .wcSelect,.wcMobile button,.wcMobile input,.wcMobile select{font-size:22px} \ No newline at end of file +.wcDocker{background-color:#a55}.wcPanelBackground{background-color:#a55}.wcPanelBackground .wcCenter{background-color:#733}.wcFrameFlasher{background-color:rgba(255,0,0,.25)}.wcFrameShadower{background-color:rgba(0,0,0,.25)}.wcFrameTitleBar{height:20px;background-color:#822;text-align:left}.wcFrameTitle{font-size:15px;font-weight:700;text-align:center;padding-top:3px;background-color:#a55}.wcFrameCenter{top:20px}.wcFrameButton{width:16px;height:16px;border:2px outset #411;background-color:#522;font-size:15px}.wcFrameButton:hover,.wcFrameButtonHover{border:2px outset #633;background-color:#684040}.wcFrameButton:active,.wcFrameButtonActive{border:2px inset #a55;background-color:#822}.wcFrameButtonToggled,.wcFrameButtonToggled:hover{border-style:inset}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(200,150,150,.2)!important}.wcFrameEdge{position:absolute;z-index:2;border:2px outset #411;background-color:#200}.wcSplitterBar{border:1px solid #411;background-color:#411}.wcSplitterBarV{border-left-style:solid;border-left-color:#822}.wcSplitterBarH{border-top-style:solid;border-top-color:#822}.wcSplitterBarV.wcSplitterBarStatic{width:0}.wcSplitterBarH.wcSplitterBarStatic{height:0}.wcPanelTab{color:#42454a;background-color:#aa7070;border:1px solid #511;border-radius:5px 5px 0 0;border-bottom:0;margin-right:1px;margin-top:5px;font-size:15px;box-shadow:inset 0 2px 4px rgba(0,0,0,.5);padding-left:2px;padding-right:2px;padding-bottom:0}.wcPanelTab:hover,.wcPanelTabHover{background-color:#aa8080}.wcPanelTabActive{color:#000;background-color:#a55;font-weight:700;margin-top:1px;font-size:16px;line-height:18px}.wcPanelTabActive:hover,.wcPanelTabActiveHover{background-color:#c66}.wcGhost{background-color:#411;border-radius:6px}.wcScrollbar,::-webkit-scrollbar{width:12px;height:12px;background-color:#a55}.wcScrollbarCorner,::-webkit-scrollbar-corner{background-color:#a55}.wcScrollbarTrack,::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.5);border-radius:10px}.wcScrollbarThumb,::-webkit-scrollbar-thumb{border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.7)}.context-menu-list,.wcMenuList{border:1px solid #a44}.context-menu-item,.context-menu-list,.wcMenuItem{background-color:#622}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#411}.context-menu-item.disabled,.wcMenuItem.disabled{color:#311;background-color:#622}.context-menu-separator,.wcMenuSeparator{border:2px solid #622;background-color:#733}.wcLoadingBackground{background-color:rgba(55,55,55,1);opacity:.4}.wcLoadingIcon{color:#222}.wcLoadingLabel{color:#111}.wcInput,input{background-color:#a44}.wcSelect,select{background-color:#a44}.wcButton,button{border:1px outset #a44;background-color:#a44}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #b66;background-color:#b66}.wcButton:active,.wcButtonActive,button:active{border:1px inset #b66;background-color:#b66}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #c88;background-color:#c88}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #933!important;background-color:#933!important;color:#533!important}.wcMobile .wcFrameTitleBar{height:29px}.wcMobile .wcFrameTitle{font-size:20px}.wcMobile .wcFrameButton{width:25px;height:25px;font-size:22px}.wcMobile .wcFrameCenter{top:29px}.wcMobile .wcPanelTab{font-size:14px;height:29px}.wcMobile .wcPanelTab>div{margin-top:4px}.wcMobile .wcSplitterBarV.wcSplitterBar:not(.wcSplitterBarStatic){width:12px;border-width:3px}.wcMobile .wcSplitterBarH.wcSplitterBar:not(.wcSplitterBarStatic){height:12px;border-width:3px}.wcMobile .wcButton,.wcMobile .wcInput,.wcMobile .wcSelect,.wcMobile button,.wcMobile input,.wcMobile select{font-size:22px} \ No newline at end of file diff --git a/Build/Themes/default.min.css b/Build/Themes/default.min.css index 5981e062..bde2053e 100755 --- a/Build/Themes/default.min.css +++ b/Build/Themes/default.min.css @@ -13,4 +13,4 @@ * MIT License http://www.opensource.org/licenses/mit-license * GPL v3 http://opensource.org/licenses/GPL-3.0 * - */.wcDocker{background-color:gray}.wcModalBlocker{background-color:rgba(0,0,0,.8)}.wcPanelBackground{background-color:gray}.wcPanelBackground .wcCenter{background-color:#a9a9a9}.wcFrameFlasher,.wcFrameShadower{background-color:rgba(255,255,255,.25)}.wcFrameTitleBar{height:17px;background-color:#555}.wcFrameTitle{font-size:12px;font-weight:700;text-align:center;padding-top:3px;background-color:gray}.wcFrameButton{width:13px;height:13px;border:2px outset #444;font-size:11px;background-color:#555}.wcFrameButton:hover,.wcFrameButtonHover{background-color:#666}.wcFrameButton:active,.wcFrameButtonActive{border:2px inset #444}.wcFrameCenter{top:17px}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(200,200,200,.2)}.wcPanelTab{color:#42454a;background-color:#777;border:1px solid #000;border-radius:2px 2px 0 0;border-bottom:0;margin-right:1px;margin-top:3px;font-size:12px;padding-left:2px;padding-right:2px;padding-bottom:0}.wcPanelTab:hover,.wcPanelTabHover{background-color:#AAA}.wcPanelTabActive{color:#000;background-color:gray;font-weight:700;margin-top:1px}.wcPanelTabActive:hover,.wcPanelTabActiveHover{background-color:#CCC}.wcFrameEdge{position:absolute;z-index:2;border:2px outset #444;background-color:#222}.wcSplitterBar{border:1px outset #a9a9a9;background-color:gray}.wcSplitterBarV.wcSplitterBarStatic{width:0}.wcSplitterBarH.wcSplitterBarStatic{height:0}.wcGhost{background-color:#444;border:0;border-radius:6px}.wcScrollbar,::-webkit-scrollbar{width:12px;height:12px;background-color:#888}.wcScrollbarCorner,::-webkit-scrollbar-corner{background-color:#888}.wcScrollbarTrack,::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.5);border-radius:10px}.wcScrollbarThumb,::-webkit-scrollbar-thumb{border-radius:10px;box-shadow:inset -2px 0 6px rgba(0,0,0,.7)}.context-menu-list,.wcMenuList{border:1px solid #111}.context-menu-item,.context-menu-list,.wcMenuItem{background-color:#444}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#666}.context-menu-item.disabled,.wcMenuItem.disabled{color:#333;background-color:#444}.context-menu-separator,.wcMenuSeparator{border:2px solid #444;background-color:#777}.wcInput,.wcSelect,input,select{border:1px solid #000}.wcLoadingBackground{background-color:rgba(55,55,55,1)}.wcLoadingIcon{color:#222}.wcLoadingLabel{color:#111}.wcInput,input{vertical-align:middle}.wcButton,button{border:1px outset #777;background-color:#777;line-height:1em}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #999;background-color:#999}.wcButton:active,.wcButtonActive,button:active{border:1px inset #666;background-color:#666}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #999;background-color:#999}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #666!important;background-color:#666!important;color:#555!important}.wcButton:focus,.wcButtonFocus,button:focus{outline:0}.wcMobile .wcFrameTitleBar{height:29px}.wcMobile .wcFrameTitle{font-size:20px}.wcMobile .wcFrameButton{width:25px;height:25px;font-size:22px}.wcMobile .wcFrameCenter{top:29px}.wcMobile .wcPanelTab{font-size:14px;height:29px}.wcMobile .wcPanelTab>div{margin-top:4px}.wcMobile .wcSplitterBarV.wcSplitterBar:not(.wcSplitterBarStatic){width:12px;border-width:3px}.wcMobile .wcSplitterBarH.wcSplitterBar:not(.wcSplitterBarStatic){height:12px;border-width:3px}.wcMobile .wcButton,.wcMobile .wcInput,.wcMobile .wcSelect,.wcMobile button,.wcMobile input,.wcMobile select{font-size:22px} \ No newline at end of file + */.wcDocker{background-color:gray}.wcModalBlocker{background-color:rgba(0,0,0,.8)}.wcPanelBackground{background-color:gray}.wcPanelBackground .wcCenter{background-color:#a9a9a9}.wcFrameFlasher{background-color:rgba(255,255,255,.25)}.wcFrameShadower{background-color:rgba(255,255,255,.25)}.wcFrameTitleBar{height:17px;background-color:#555}.wcFrameTitle{font-size:12px;font-weight:700;text-align:center;padding-top:3px;background-color:gray}.wcFrameButton{width:13px;height:13px;border:2px outset #444;font-size:11px;background-color:#555}.wcFrameButton:hover,.wcFrameButtonHover{background-color:#666}.wcFrameButton:active,.wcFrameButtonActive{border:2px inset #444}.wcFrameCenter{top:17px}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(200,200,200,.2)}.wcPanelTab{color:#42454a;background-color:#777;border:1px solid #000;border-radius:2px 2px 0 0;border-bottom:0;margin-right:1px;margin-top:3px;font-size:12px;padding-left:2px;padding-right:2px;padding-bottom:0}.wcPanelTab:hover,.wcPanelTabHover{background-color:#aaa}.wcPanelTabActive{color:#000;background-color:gray;font-weight:700;margin-top:1px}.wcPanelTabActive:hover,.wcPanelTabActiveHover{background-color:#ccc}.wcFrameEdge{position:absolute;z-index:2;border:2px outset #444;background-color:#222}.wcSplitterBar{border:1px outset #a9a9a9;background-color:gray}.wcSplitterBarV.wcSplitterBarStatic{width:0}.wcSplitterBarH.wcSplitterBarStatic{height:0}.wcGhost{background-color:#444;border:0;border-radius:6px}.wcScrollbar,::-webkit-scrollbar{width:12px;height:12px;background-color:#888}.wcScrollbarCorner,::-webkit-scrollbar-corner{background-color:#888}.wcScrollbarTrack,::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.5);border-radius:10px}.wcScrollbarThumb,::-webkit-scrollbar-thumb{border-radius:10px;box-shadow:inset -2px 0 6px rgba(0,0,0,.7)}.context-menu-list,.wcMenuList{border:1px solid #111}.context-menu-item,.context-menu-list,.wcMenuItem{background-color:#444}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#666}.context-menu-item.disabled,.wcMenuItem.disabled{color:#333;background-color:#444}.context-menu-separator,.wcMenuSeparator{border:2px solid #444;background-color:#777}.wcLoadingBackground{background-color:rgba(55,55,55,1)}.wcLoadingIcon{color:#222}.wcLoadingLabel{color:#111}.wcInput,input{vertical-align:middle;border:1px solid #000}.wcSelect,select{border:1px solid #000}.wcButton,button{border:1px outset #777;background-color:#777;line-height:1em}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #999;background-color:#999}.wcButton:active,.wcButtonActive,button:active{border:1px inset #666;background-color:#666}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #999;background-color:#999}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #666!important;background-color:#666!important;color:#555!important}.wcButton:focus,.wcButtonFocus,button:focus{outline:0}.wcMobile .wcFrameTitleBar{height:29px}.wcMobile .wcFrameTitle{font-size:20px}.wcMobile .wcFrameButton{width:25px;height:25px;font-size:22px}.wcMobile .wcFrameCenter{top:29px}.wcMobile .wcPanelTab{font-size:14px;height:29px}.wcMobile .wcPanelTab>div{margin-top:4px}.wcMobile .wcSplitterBarV.wcSplitterBar:not(.wcSplitterBarStatic){width:12px;border-width:3px}.wcMobile .wcSplitterBarH.wcSplitterBar:not(.wcSplitterBarStatic){height:12px;border-width:3px}.wcMobile .wcButton,.wcMobile .wcInput,.wcMobile .wcSelect,.wcMobile button,.wcMobile input,.wcMobile select{font-size:22px} \ No newline at end of file diff --git a/Build/Themes/ideDark.min.css b/Build/Themes/ideDark.min.css index a39eadc1..333b6450 100755 --- a/Build/Themes/ideDark.min.css +++ b/Build/Themes/ideDark.min.css @@ -13,4 +13,4 @@ * MIT License http://www.opensource.org/licenses/mit-license * GPL v3 http://opensource.org/licenses/GPL-3.0 * - */body,html{width:100%;height:100%;overflow:hidden;position:relative;margin:0}.wcDocker{background-color:#515151;color:#909090}.wcModalBlocker{background-color:#000;opacity:.8}.wcPanelBackground{background-color:#222}.wcPanelBackground .wcCenter{background-color:#a9a9a9}.wcFrameFlasher,.wcFrameShadower{background-color:#fff}.wcFrameTitleBar{height:30px;background-color:#333}.wcFrameTitle{background-color:#333;border-bottom:4px solid rgba(192,88,1,1);color:rgba(192,88,1,1);height:30px;font-size:17px;font-weight:700;margin-top:3px;text-align:center}.wcFrameButtonBar{height:30px}.wcFrameButton{background-color:#333;border:none;color:#aaa;font-size:20px;height:23px;width:23px}.wcFrameButton:hover,.wcFrameButtonHover{background-color:#333;border:none;color:#fff}.wcFrameCenter{top:30px}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(200,200,200,.2)!important}.wcPanelTab{color:rgba(182,182,182,1);background-color:rgba(89,89,89,1);border:1px solid rgba(165,75,0,1);border-radius:2px 2px 0 0;border-bottom:0;box-shadow:2px -2px 2px rgba(0,0,0,.3);margin-right:1px;margin-top:6px;font-size:14px;padding:2.5px 2px 0}.wcPanelTabActive,.wcPanelTabActive:hover,.wcPanelTabActiveHover{padding-top:2.5px}.wcPanelTabActive{color:#FFE4D0!important;background-color:rgba(192,88,1,1)!important;box-shadow:0 5px 20px #000;height:30px;margin-top:1px!important}.wcCollapserFrame .wcPanelTab{background-color:#333;color:rgba(107,107,107,1);border:1px solid #444;margin-left:5px;margin-right:10px;padding-left:5px;padding-right:5px}.wcCollapserFrame .wcPanelTab:hover{background-color:#555;color:#d2d2d2}.wcFrameEdge{position:absolute;z-index:2;border:2px outset #444;background-color:#222}.wcSplitterBar{background-color:#515151}.wcSplitterBarV{transition:opacity .2s ease;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAhCAQAAABOpSL+AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAoSURBVCjPY7jPYVpxnwFBMtwXMv1/H4lkYkADowIjSuAHQwcDA4IEAIImE2aDUcP1AAAAAElFTkSuQmCC) center center no-repeat #515151;border:1px solid #000;border-left:1px solid #8b8b8b;border-right:1px solid #515151;outline:#282828 outset 1px;width:10px}.wcSplitterBarH{transition:opacity .2s ease;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAICAQAAADdTl4aAAAAIUlEQVR4AWMwrTD9TxFsZ7jPcV+IIsjFcJ9iSFWPjHoEAEtWCqrThG9qAAAAAElFTkSuQmCC) center center no-repeat #515151!important;border:1px solid #000;border-right:1px solid #515151;border-top:1px outset #8b8b8b;outline:#515151 inset 1px;height:10px}.wcSplitterBarStatic{width:0;height:0}.wcGhost{background-color:#666;border:2px dashed rgba(192,88,1,1)!important;border-radius:6px}.context-menu-list,.wcMenuList{border:1px solid #111}.context-menu-item,.context-menu-list,.wcMenuItem{color:rgba(192,88,1,1);background-color:#333}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#444}.context-menu-item.disabled,.wcMenuItem.disabled{color:#333;background-color:#444}.context-menu-separator,.wcMenuSeparator{border:2px solid #444;background-color:#777}.wcInput,.wcSelect,input,select{border:1px solid #000}.wcLoadingBackground{background-color:rgba(55,55,55,1)}.wcLoadingIcon{color:#db6e12;font-size:150px;position:absolute;top:calc(50% - 100px);left:50%;height:150px}.wcLoadingLabel{color:#db6e12}.wcLoadingLabel:after{content:'. . .';-webkit-animation:color-change 1s infinite;-moz-animation:color-change 1s infinite;-o-animation:color-change 1s infinite;-ms-animation:color-change 1s infinite;animation:color-change 1s infinite}@-webkit-keyframes color-change{0%,100%{color:#db6e12}25%,75%{color:#ca6512}50%{color:#b05812}}@-moz-keyframes color-change{0%,100%{color:#db6e12}25%,75%{color:#ca6512}50%{color:#b05812}}@-ms-keyframes color-change{0%,100%{color:#db6e12}25%,75%{color:#ca6512}50%{color:#b05812}}@-o-keyframes color-change{0%,100%{color:#db6e12}25%,75%{color:#ca6512}50%{color:#b05812}}@keyframes color-change{0%,100%{color:#db6e12}25%,75%{color:#ca6512}50%{color:#b05812}}.wcInput,input{vertical-align:middle}.wcButton,button{border:1px outset #777;background-color:#777;line-height:1em}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #999;background-color:#999}.wcButton:active,.wcButtonActive,button:active{border:1px inset #666;background-color:#666}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #999;background-color:#999}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #666!important;background-color:#666!important;color:#555!important}.wcButton:focus,.wcButtonFocus,button:focus{outline:0} \ No newline at end of file + */body,html{width:100%;height:100%;overflow:hidden;position:relative;margin:0}.wcDocker{background-color:#515151;color:#909090}.wcModalBlocker{background-color:#000;opacity:.8}.wcPanelBackground{background-color:#222}.wcPanelBackground .wcCenter{background-color:#a9a9a9}.wcFrameFlasher{background-color:#fff}.wcFrameShadower{background-color:#fff}.wcFrameTitleBar{height:30px;background-color:#333}.wcFrameTitle{background-color:#333;border-bottom:4px solid rgba(192,88,1,1);color:rgba(192,88,1,1);height:30px;font-size:17px;font-weight:700;margin-top:3px;text-align:center}.wcFrameButtonBar{height:30px}.wcFrameButton{background-color:#333;border:none;color:#aaa;font-size:20px;height:23px;width:23px}.wcFrameButton:hover,.wcFrameButtonHover{background-color:#333;border:none;color:#fff}.wcFrameCenter{top:30px}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(200,200,200,.2)!important}.wcPanelTab{color:rgba(182,182,182,1);background-color:rgba(89,89,89,1);border:1px solid rgba(165,75,0,1);border-radius:2px 2px 0 0;border-bottom:0;box-shadow:2px -2px 2px rgba(0,0,0,.3);margin-right:1px;margin-top:6px;font-size:14px;padding-left:2px;padding-right:2px;padding-top:2.5px;padding-bottom:0}.wcPanelTabActive{color:#ffe4d0!important;background-color:rgba(192,88,1,1)!important;box-shadow:0 5px 20px #000;height:30px;margin-top:1px!important;padding-top:2.5px}.wcPanelTabActive:hover,.wcPanelTabActiveHover{padding-top:2.5px}.wcCollapserFrame .wcPanelTab{background-color:#333;color:rgba(107,107,107,1);border:1px solid #444;margin-left:5px;margin-right:10px;padding-left:5px;padding-right:5px}.wcCollapserFrame .wcPanelTab:hover{background-color:#555;color:#d2d2d2}.wcFrameEdge{position:absolute;z-index:2;border:2px outset #444;background-color:#222}.wcSplitterBar{background-color:#515151}.wcSplitterBarV{transition:opacity .2s ease;background:-webkit-gradient(linear,left top,left bottom,from(#505050),to(#383838));background:-webkit-linear-gradient(left,#505050,#383838);background:linear-gradient(to right,#505050,#383838);background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAhCAQAAABOpSL+AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAoSURBVCjPY7jPYVpxnwFBMtwXMv1/H4lkYkADowIjSuAHQwcDA4IEAIImE2aDUcP1AAAAAElFTkSuQmCC) #515151 center center no-repeat;border:1px solid #000;border-left:1px solid #8b8b8b;border-right:1px solid #515151;outline:1px outset #282828;width:10px}.wcSplitterBarH{transition:opacity .2s ease;background:-webkit-gradient(linear,left top,left bottom,from(#505050),to(#383838));background:-webkit-linear-gradient(top,#505050,#383838);background:linear-gradient(to bottom,#505050,#383838);background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAICAQAAADdTl4aAAAAIUlEQVR4AWMwrTD9TxFsZ7jPcV+IIsjFcJ9iSFWPjHoEAEtWCqrThG9qAAAAAElFTkSuQmCC) #515151 center center no-repeat!important;border:1px solid #000;border-right:1px solid #515151;border-top:1px outset #8b8b8b;outline:1px inset #515151;height:10px}.wcSplitterBarStatic{width:0;height:0}.wcGhost{background-color:#666;border:2px dashed rgba(192,88,1,1)!important;border-radius:6px}.context-menu-list,.wcMenuList{border:1px solid #111}.context-menu-item,.context-menu-list,.wcMenuItem{color:rgba(192,88,1,1);background-color:#333}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#444}.context-menu-item.disabled,.wcMenuItem.disabled{color:#333;background-color:#444}.context-menu-separator,.wcMenuSeparator{border:2px solid #444;background-color:#777}.wcLoadingBackground{background-color:rgba(55,55,55,1)}.wcLoadingIcon{color:#db6e12;font-size:150px;position:absolute;top:calc(50% - 100px);left:50%;height:150px}.wcLoadingLabel{color:#db6e12}.wcLoadingLabel:after{content:'. . .';-webkit-animation:color-change 1s infinite;-moz-animation:color-change 1s infinite;-o-animation:color-change 1s infinite;-ms-animation:color-change 1s infinite;animation:color-change 1s infinite}@-webkit-keyframes color-change{0%{color:#db6e12}25%{color:#ca6512}50%{color:#b05812}75%{color:#ca6512}100%{color:#db6e12}}@-moz-keyframes color-change{0%{color:#db6e12}25%{color:#ca6512}50%{color:#b05812}75%{color:#ca6512}100%{color:#db6e12}}@-ms-keyframes color-change{0%{color:#db6e12}25%{color:#ca6512}50%{color:#b05812}75%{color:#ca6512}100%{color:#db6e12}}@-o-keyframes color-change{0%{color:#db6e12}25%{color:#ca6512}50%{color:#b05812}75%{color:#ca6512}100%{color:#db6e12}}@keyframes color-change{0%{color:#db6e12}25%{color:#ca6512}50%{color:#b05812}75%{color:#ca6512}100%{color:#db6e12}}.wcInput,input{vertical-align:middle;border:1px solid #000}.wcSelect,select{border:1px solid #000}.wcButton,button{border:1px outset #777;background-color:#777;line-height:1em}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #999;background-color:#999}.wcButton:active,.wcButtonActive,button:active{border:1px inset #666;background-color:#666}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #999;background-color:#999}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #666!important;background-color:#666!important;color:#555!important}.wcButton:focus,.wcButtonFocus,button:focus{outline:0} \ No newline at end of file diff --git a/Build/Themes/shadow.min.css b/Build/Themes/shadow.min.css index 9bd5d907..68eb7aab 100755 --- a/Build/Themes/shadow.min.css +++ b/Build/Themes/shadow.min.css @@ -1 +1 @@ -.wcDocker{background-color:#000;color:#AAA}.wcPanelBackground{background-color:#444}.wcPanelBackground .wcCenter{background-color:#111}.wcFrameFlasher{background-color:#777}.wcFrameShadower{background-color:#555}.wcFrameTitleBar{height:20px;background-color:#222;text-align:left}.wcFrameTitle{font-size:12px;font-weight:700;text-align:center;padding-top:3px;background-color:#444}.wcFrameCenter{top:20px}.wcFrameButton{width:20px;height:20px;border:0 solid #111;background-color:transparent;color:#888;font-size:17px}.wcPanelTab,.wcPanelTabActive{font-family:sans-serif;margin-top:1px;font-size:12px}.wcFrameButton:hover,.wcFrameButtonHover{border:0 solid #000;background-color:#000;color:#CCC}.wcFrameButton:active,.wcFrameButtonActive{border:0 solid #000;background-color:#000;color:#FFF}.wcFrameButtonToggled,.wcFrameButtonToggled:hover{border-style:inset}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(100,100,100,.2)!important}.wcFrameEdge{position:absolute;z-index:2;border:2px solid #000;background-color:#000}.wcSplitterBar{border:1px solid #000;background-color:#000}.wcSplitterBarV.wcSplitterBarStatic{width:0}.wcSplitterBarH.wcSplitterBarStatic{height:0}.wcPanelTab{color:#999;border-radius:0;background-color:#111;margin-right:1px;line-height:16px;padding-left:5px;padding-right:5px}.wcPanelTab:hover,.wcPanelTabHover{background-color:#777}.wcPanelTabActive,.wcPanelTabActive:hover,.wcPanelTabActiveHover{color:#DDD;background-color:#444}.wcPanelTabActive{line-height:19px;font-weight:400}.wcGhost{background-color:#000;border-radius:0}.wcScrollbar,::-webkit-scrollbar{width:12px;height:12px;background-color:#000}.wcScrollbarCorner,::-webkit-scrollbar-corner{background-color:#111}.wcScrollbarTrack,::-webkit-scrollbar-track{border-radius:0;background-color:#111}.wcScrollbarThumb,::-webkit-scrollbar-thumb{border-radius:2px;background-color:#666}.context-menu-list,.wcMenuList{border:1px solid #111}.context-menu-item,.context-menu-list,.wcMenuItem{background-color:#444}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#666}.context-menu-item.disabled,.wcMenuItem.disabled{color:#333;background-color:#444}.context-menu-separator,.wcMenuSeparator{border:2px solid #444;background-color:#777}.wcLoadingBackground{background-color:rgba(55,55,55,1);opacity:.4}.wcLoadingIcon{color:#222}.wcLoadingLabel{color:#111}.wcButton,.wcInput,.wcSelect,button,input,select{color:#CCC;background-color:#555}.wcInput,input{border:1px solid #000}.wcSelect,select{outline:0}.wcButton,button{border:1px outset #555}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #666;background-color:#666}.wcButton:active,.wcButtonActive,button:active{border:1px inset #777;background-color:#777}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #888;background-color:#888}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #494949!important;background-color:#494949!important;color:#333!important}.wcMobile .wcFrameTitleBar{height:29px}.wcMobile .wcFrameTitle{font-size:20px}.wcMobile .wcFrameButton{width:25px;height:25px;font-size:22px;border:2px solid #111}.wcMobile .wcFrameCenter{top:29px}.wcMobile .wcPanelTab{font-size:14px;height:26px}.wcMobile .wcPanelTabActive{height:30px}.wcMobile .wcPanelTab>div{margin-top:4px}.wcMobile .wcSplitterBarV.wcSplitterBar:not(.wcSplitterBarStatic){width:12px;border-width:3px;border-color:#000;border-top:0;border-bottom:0;background-color:#111}.wcMobile .wcSplitterBarH.wcSplitterBar:not(.wcSplitterBarStatic){height:12px;border-width:3px;border-color:#000;border-left:0;border-right:0;background-color:#111}.wcMobile .wcButton,.wcMobile .wcInput,.wcMobile .wcSelect,.wcMobile button,.wcMobile input,.wcMobile select{font-size:22px} \ No newline at end of file +.wcDocker{background-color:#000;color:#aaa}.wcPanelBackground{background-color:#444}.wcPanelBackground .wcCenter{background-color:#111}.wcFrameFlasher{background-color:#777}.wcFrameShadower{background-color:#555}.wcFrameTitleBar{height:20px;background-color:#222;text-align:left}.wcFrameTitle{font-size:12px;font-weight:700;text-align:center;padding-top:3px;background-color:#444}.wcFrameCenter{top:20px}.wcFrameButton{width:20px;height:20px;border:0 solid #111;background-color:transparent;color:#888;font-size:17px}.wcFrameButton:hover,.wcFrameButtonHover{border:0 solid #000;background-color:#000;color:#ccc}.wcFrameButton:active,.wcFrameButtonActive{border:0 solid #000;background-color:#000;color:#fff}.wcFrameButtonToggled,.wcFrameButtonToggled:hover{border-style:inset}.wcLayoutGrid,.wcLayoutGrid td,.wcLayoutGrid tr{border:1px solid #555}.wcLayoutGridAltColor,.wcLayoutGridAlternate tr:nth-child(even){background-color:rgba(100,100,100,.2)!important}.wcFrameEdge{position:absolute;z-index:2;border:2px solid #000;background-color:#000}.wcSplitterBar{border:1px solid #000;background-color:#000}.wcSplitterBarV.wcSplitterBarStatic{width:0}.wcSplitterBarH.wcSplitterBarStatic{height:0}.wcPanelTab{font-family:sans-serif;color:#999;border-radius:0;background-color:#111;margin-right:1px;margin-top:1px;font-size:12px;line-height:16px;padding-left:5px;padding-right:5px}.wcPanelTab:hover,.wcPanelTabHover{background-color:#777}.wcPanelTabActive{font-family:sans-serif;color:#ddd;background-color:#444;margin-top:1px;font-size:12px;line-height:19px;font-weight:400}.wcPanelTabActive:hover,.wcPanelTabActiveHover{color:#ddd;background-color:#444}.wcGhost{background-color:#000;border-radius:0}.wcScrollbar,::-webkit-scrollbar{width:12px;height:12px;background-color:#000}.wcScrollbarCorner,::-webkit-scrollbar-corner{background-color:#111}.wcScrollbarTrack,::-webkit-scrollbar-track{border-radius:0;background-color:#111}.wcScrollbarThumb,::-webkit-scrollbar-thumb{border-radius:2px;background-color:#666}.context-menu-list,.wcMenuList{border:1px solid #111}.context-menu-item,.context-menu-list,.wcMenuItem{background-color:#444}.context-menu-item.hover,.wcMenuItem:hover,.wcMenuItemHover{background-color:#666}.context-menu-item.disabled,.wcMenuItem.disabled{color:#333;background-color:#444}.context-menu-separator,.wcMenuSeparator{border:2px solid #444;background-color:#777}.wcLoadingBackground{background-color:rgba(55,55,55,1);opacity:.4}.wcLoadingIcon{color:#222}.wcLoadingLabel{color:#111}.wcInput,input{color:#ccc;background-color:#555;border:1px solid #000}.wcSelect,select{color:#ccc;background-color:#555;outline:0}.wcButton,button{color:#ccc;border:1px outset #555;background-color:#555}.wcButton:hover,.wcButtonHover,button:hover{border:1px outset #666;background-color:#666}.wcButton:active,.wcButtonActive,button:active{border:1px inset #777;background-color:#777}.wcButton:active.wcButtonHover,.wcButton:active:hover,.wcButton:hover.wcButtonActive,.wcButtonActive.wcButtonHover,button:active:hover{border:1px inset #888;background-color:#888}.wcButton.disabled,.wcButtonDisabled,button:disabled{border:1px outset #494949!important;background-color:#494949!important;color:#333!important}.wcMobile .wcFrameTitleBar{height:29px}.wcMobile .wcFrameTitle{font-size:20px}.wcMobile .wcFrameButton{width:25px;height:25px;font-size:22px;border:2px solid #111}.wcMobile .wcFrameCenter{top:29px}.wcMobile .wcPanelTab{font-size:14px;height:26px}.wcMobile .wcPanelTabActive{height:30px}.wcMobile .wcPanelTab>div{margin-top:4px}.wcMobile .wcSplitterBarV.wcSplitterBar:not(.wcSplitterBarStatic){width:12px;border-width:3px;border-color:#000;border-top:0;border-bottom:0;background-color:#111}.wcMobile .wcSplitterBarH.wcSplitterBar:not(.wcSplitterBarStatic){height:12px;border-width:3px;border-color:#000;border-left:0;border-right:0;background-color:#111}.wcMobile .wcButton,.wcMobile .wcInput,.wcMobile .wcSelect,.wcMobile button,.wcMobile input,.wcMobile select{font-size:22px} \ No newline at end of file diff --git a/Build/wcDocker.js b/Build/wcDocker.js index 999b15a5..e1b1695d 100644 --- a/Build/wcDocker.js +++ b/Build/wcDocker.js @@ -1,5 +1,4 @@ -(function () { -/** +(function () {/** * @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/almond for details @@ -20325,6 +20324,7 @@ define('wcDocker/docker',[ self._draggingSplitter.$pane[1].removeClass('wcResizing'); } + self._creatingPanel = false; self._draggingSplitter = null; self._draggingFrame = null; self._draggingFrameSizer = null; diff --git a/Build/wcDocker.min.css b/Build/wcDocker.min.css index 6ae80990..6e4991b6 100755 --- a/Build/wcDocker.min.css +++ b/Build/wcDocker.min.css @@ -13,4 +13,4 @@ * MIT License http://www.opensource.org/licenses/mit-license * GPL v3 http://opensource.org/licenses/GPL-3.0 * - */.wcDisableSelection,.wcFrameTitleBar{-webkit-touch-callout:none;-khtml-user-select:none}.wcButton,.wcFrameButton{box-sizing:content-box}.wcDockerTransition,.wcGhost{opacity:0}body,html{width:100%;height:100%;overflow:hidden;position:relative;margin:0}.wcDisableSelection{-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.wcModalBlocker{position:fixed;top:0;bottom:0;left:0;right:0;z-index:-30}.wcWide{width:100%;left:0}.wcTall{height:100%;top:0}.wcDocker{position:absolute;width:100%;height:100%;overflow:hidden}.wcFrame{position:relative}.wcFrameFlasher,.wcFrameShadower{border:0;margin:0;padding:0;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wcFrameTitleBar{width:100%;cursor:move;overflow:hidden;position:absolute;text-align:left;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.wcFrameTitle{position:absolute;top:0;left:0;right:0;bottom:0}.wcCustomTab,.wcTabScroller{position:relative}.wcFrameTitleBar.wcNotMoveable{cursor:default}.wcCustomTabTitle{cursor:default!important}.wcCustomTabMoveable{cursor:move!important}.wcTabScroller{height:100%;width:10000px}.wcFrameButtonBar{position:absolute;top:0;right:0;width:auto!important}.wcFrameButton{position:relative;float:right;cursor:pointer;text-align:center;overflow:hidden;z-index:1}.wcFrameButton>div{width:100%}.wcFrameCenter{overflow:hidden;position:absolute;top:15px;left:0;right:0;bottom:0}.wcFloating{position:fixed}.wcFrameEdge,.wcLayout,.wcLayoutPane,.wcSplitterBar{position:absolute}.wcLayout,.wcLayout td,.wcLayout tr{border:0;margin:0;padding:0;border-spacing:0}.wcLayout{top:0;left:0;right:0;bottom:0}.wcFrameEdge{z-index:2;border:2px outset #444;background-color:#222}.wcFrameEdgeV{width:2px;cursor:ew-resize;border-top:0;border-bottom:0}.wcFrameEdgeH{height:2px;cursor:ns-resize;border-left:0;border-right:0}.wcFrameCornerNW{height:2px;width:2px;cursor:nwse-resize}.wcFrameCornerNE{height:2px;width:2px;cursor:nesw-resize}.wcSplitterBar{z-index:2;border:1px outset #a9a9a9}.wcSplitterBarV{width:2px;height:100%;cursor:ew-resize}.wcSplitterBarH{height:2px;width:100%;cursor:ns-resize}.wcSplitterHidden{width:0!important;border:0!important;display:none!important}.wcSplitterBarH.wcSplitterBarStatic,.wcSplitterBarV.wcSplitterBarStatic{cursor:default!important}.wcLayoutPane{border:0;margin:0;padding:0;display:inline-block}.wcPanelTab{vertical-align:top;position:relative;display:inline-block;cursor:move;top:0}.wcPanelTab.wcNotMoveable{cursor:default}.wcCreatePanel,.wcGhost{cursor:move}.wcTabLeft{-webkit-transform:rotate(-90deg) scaleX(-1);-ms-transform:rotate(-90deg) scaleX(-1);-moz-transform:rotate(-90deg) scaleX(-1);-o-transform:rotate(-90deg) scaleX(-1);transform:rotate(-90deg) scaleX(-1);-webkit-transform-origin:left top;-ms-transform-origin:left top;-moz-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;top:0;left:0}.wcTabLeft .wcFrameButton{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabLeft .wcFrameButton span{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabLeft .wcPanelTab>div{-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);-moz-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1)}.wcTabRight{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:left top;-ms-transform-origin:left top;-moz-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;top:0;left:100%}.wcTabRight .wcFrameButton{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabRight .wcFrameButton span{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabBottom{-webkit-transform:rotate(180deg) scaleX(-1);-ms-transform:rotate(180deg) scaleX(-1);-moz-transform:rotate(180deg) scaleX(-1);-o-transform:rotate(180deg) scaleX(-1);transform:rotate(180deg) scaleX(-1);-webkit-transform-origin:left top;-ms-transform-origin:left top;-moz-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;top:100%;left:0}.wcTabBottom .wcFrameButton{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabBottom .wcFrameButton span{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabBottom .wcPanelTab>div{-webkit-transform:scaleY(-1);-ms-transform:scaleY(-1);-moz-transform:scaleY(-1);-o-transform:scaleY(-1);transform:scaleY(-1)}.wcCollapseLeft.wcCollapsible,.wcCollapseRight.wcCollapsed{-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);-moz-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcCollapseBottom.wcCollapsible{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcCollapseBottom.wcCollapsed{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcPanelTabContent{width:100%;height:100%}.wcPanelTabContent.wcPanelTabContentHidden,.wcResizing .wcHideOnResize .wcPanelTabContent{display:none}.wcGhost{position:fixed;z-index:100}.wcScrollableX{overflow-x:auto}.wcScrollableY{overflow-y:auto}.wcOverflowVisible{overflow:visible}.wcMenuIcon,.wcTabIcon{display:inline-block;text-align:center}.fa-menu{margin-left:-24px;width:24px}.wcCollapserFrame,.wcIFrame,.wcIFrame iframe,.wcLoadingIconContainer,.wcLoadingLabel{position:absolute;width:100%}.context-menu-submenu:after{content:''!important}.wcMenuSubMenu{position:absolute;right:3px;top:3px}.wcIFrame,.wcIFrame iframe{overflow:auto;z-index:1;height:100%;border:0;margin:0;padding:0}.wcIFrameFocus{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;display:none}.wcDisableSelection .wcIFrameFocus{display:block}.wcIFrame.wcDrawer{z-index:6}.wcIFrameHidden,.wcIFramePanelHidden{display:none}.wcIFrameMoving{pointer-events:none}.wcCollapserFrame{top:0;left:0;height:100%;overflow:hidden}.wcDrawer{z-index:5}.wcLoadingBackground,.wcLoadingContainer{position:absolute;top:0;left:0;right:0;bottom:0}.wcLoadingContainer{z-index:10}.wcLoadingIconContainer{height:100%;text-align:center;vertical-align:middle}.wcLoadingIcon{position:absolute;font-size:200px;left:calc(50% - 100px);top:calc(50% - 100px);height:195px}.wcLoadingLabel{font-size:100px;top:calc(50% + 100px);text-align:center}.wcFullSized{width:100%!important;height:100%!important}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}.wcAttributeLabel{white-space:nowrap;padding-right:10px;text-align:right}.wcAttributeControl{width:100%}.wcAttributeSpacer,.wcAttributeSpacerSolid{width:100%;height:22px;text-align:center;margin-top:3px;margin-bottom:3px}.wcAttributeSpacerSolid{background-color:rgba(0,0,0,.25);border-radius:20px} \ No newline at end of file + */body,html{width:100%;height:100%;overflow:hidden;position:relative;margin:0}.wcDisableSelection{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.wcModalBlocker{position:fixed;top:0;bottom:0;left:0;right:0;z-index:-30}.wcWide{width:100%;left:0}.wcTall{height:100%;top:0}.wcDocker{position:absolute;width:100%;height:100%;overflow:hidden}.wcDockerTransition{opacity:0}.wcFrame{position:relative}.wcFrameFlasher,.wcFrameShadower{border:0;margin:0;padding:0;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wcFrameTitleBar{width:100%;cursor:move;overflow:hidden;position:absolute;text-align:left;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.wcFrameTitle{position:absolute;top:0;left:0;right:0;bottom:0}.wcFrameTitleBar.wcNotMoveable{cursor:default}.wcCustomTabTitle{cursor:default!important}.wcCustomTabMoveable{cursor:move!important}.wcCustomTab{position:relative}.wcTabScroller{height:100%;width:10000px;position:relative}.wcFrameButtonBar{position:absolute;top:0;right:0;width:auto!important}.wcFrameButton{position:relative;float:right;cursor:pointer;text-align:center;overflow:hidden;z-index:1;box-sizing:content-box}.wcFrameButton>div{width:100%}.wcButton{box-sizing:content-box}.wcFrameCenter{overflow:hidden;position:absolute;top:15px;left:0;right:0;bottom:0}.wcFloating{position:fixed}.wcLayout,.wcLayout td,.wcLayout tr{border:0;margin:0;padding:0;border-spacing:0}.wcLayout{top:0;left:0;right:0;bottom:0;position:absolute}.wcFrameEdge{position:absolute;z-index:2;border:2px outset #444;background-color:#222}.wcFrameEdgeV{width:2px;cursor:ew-resize;border-top:0;border-bottom:0}.wcFrameEdgeH{height:2px;cursor:ns-resize;border-left:0;border-right:0}.wcFrameCornerNW{height:2px;width:2px;cursor:nwse-resize}.wcFrameCornerNE{height:2px;width:2px;cursor:nesw-resize}.wcSplitterBar{z-index:2;position:absolute;border:1px outset #a9a9a9}.wcSplitterBarV{width:2px;height:100%;cursor:ew-resize}.wcSplitterBarH{height:2px;width:100%;cursor:ns-resize}.wcSplitterHidden{width:0!important;border:0!important;display:none!important}.wcSplitterBarV.wcSplitterBarStatic{cursor:default!important}.wcSplitterBarH.wcSplitterBarStatic{cursor:default!important}.wcLayoutPane{border:0;margin:0;padding:0;display:inline-block;position:absolute}.wcPanelTab{vertical-align:top;position:relative;display:inline-block;cursor:move;top:0}.wcPanelTab.wcNotMoveable{cursor:default}.wcTabLeft{-webkit-transform:rotate(-90deg) scaleX(-1);-ms-transform:rotate(-90deg) scaleX(-1);-moz-transform:rotate(-90deg) scaleX(-1);-o-transform:rotate(-90deg) scaleX(-1);transform:rotate(-90deg) scaleX(-1);-webkit-transform-origin:left top;-ms-transform-origin:left top;-moz-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;top:0;left:0}.wcTabLeft .wcFrameButton{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabLeft .wcFrameButton span{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabLeft .wcPanelTab>div{-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);-moz-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1)}.wcTabRight{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:left top;-ms-transform-origin:left top;-moz-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;top:0;left:100%}.wcTabRight .wcFrameButton{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabRight .wcFrameButton span{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabBottom{-webkit-transform:rotate(180deg) scaleX(-1);-ms-transform:rotate(180deg) scaleX(-1);-moz-transform:rotate(180deg) scaleX(-1);-o-transform:rotate(180deg) scaleX(-1);transform:rotate(180deg) scaleX(-1);-webkit-transform-origin:left top;-ms-transform-origin:left top;-moz-transform-origin:left top;-o-transform-origin:left top;transform-origin:left top;top:100%;left:0}.wcTabBottom .wcFrameButton{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabBottom .wcFrameButton span{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcTabBottom .wcPanelTab>div{-webkit-transform:scaleY(-1);-ms-transform:scaleY(-1);-moz-transform:scaleY(-1);-o-transform:scaleY(-1);transform:scaleY(-1)}.wcCollapseLeft.wcCollapsible,.wcCollapseRight.wcCollapsed{-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);-moz-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcCollapseBottom.wcCollapsible{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcCollapseBottom.wcCollapsed{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;-moz-transform-origin:center center;-o-transform-origin:center center;transform-origin:center center}.wcPanelTabContent{width:100%;height:100%}.wcPanelTabContent.wcPanelTabContentHidden{display:none}.wcResizing .wcHideOnResize .wcPanelTabContent{display:none}.wcGhost{opacity:0;position:fixed;z-index:100;cursor:move}.wcScrollableX{overflow-x:auto}.wcScrollableY{overflow-y:auto}.wcOverflowVisible{overflow:visible}.wcTabIcon{display:inline-block;text-align:center}.wcMenuIcon{display:inline-block;text-align:center}.fa-menu{margin-left:-24px;width:24px}.context-menu-submenu:after{content:''!important}.wcMenuSubMenu{position:absolute;right:3px;top:3px}.wcIFrame,.wcIFrame iframe{position:absolute;overflow:auto;z-index:1;width:100%;height:100%;border:0;margin:0;padding:0}.wcIFrameFocus{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;display:none}.wcDisableSelection .wcIFrameFocus{display:block}.wcDisableSelection .wcIFrameFocus{display:block}.wcIFrame.wcDrawer{z-index:6}.wcIFrameHidden,.wcIFramePanelHidden{display:none}.wcIFrameMoving{pointer-events:none}.wcCollapserFrame{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.wcDrawer{z-index:5}.wcCreatePanel{cursor:move}.wcLoadingBackground,.wcLoadingContainer{position:absolute;top:0;left:0;right:0;bottom:0}.wcLoadingContainer{z-index:10}.wcLoadingIconContainer{position:absolute;width:100%;height:100%;text-align:center;vertical-align:middle}.wcLoadingIcon{position:absolute;font-size:200px;left:calc(50% - 100px);top:calc(50% - 100px);height:195px}.wcLoadingLabel{position:absolute;width:100%;font-size:100px;top:calc(50% + 100px);text-align:center}.wcFullSized{width:100%!important;height:100%!important}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}.wcAttributeLabel{white-space:nowrap;padding-right:10px;text-align:right}.wcAttributeControl{width:100%}.wcAttributeSpacer,.wcAttributeSpacerSolid{width:100%;height:22px;text-align:center;margin-top:3px;margin-bottom:3px}.wcAttributeSpacerSolid{background-color:rgba(0,0,0,.25);border-radius:20px} \ No newline at end of file diff --git a/Build/wcDocker.min.js b/Build/wcDocker.min.js index f18111cb..92a65ad5 100644 --- a/Build/wcDocker.min.js +++ b/Build/wcDocker.min.js @@ -35,7 +35,7 @@ this.$container?(this.$container.append(this.$pane[0]),this.$container.append(this.$pane[1]),this.$container.append(this.$bar)):(this.$pane[0].remove(),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=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 .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.$title=$('
'),this.$titleBar=$('
'),this.$tabBar=$('
'),this.$tabScroll=$('
'),this.$center=$('
'),this.$tabLeft=$('
<
'),this.$tabRight=$('
>
'),this.$close=$('
X
'),this.$collapse=$('
C
'),this.$buttonBar=$('
'),this.$tabButtonBar=$('
'),this.$tabBar.append(this.$tabScroll),this.$tabBar.append(this.$tabButtonBar),this.$frame.append(this.$buttonBar),this.$buttonBar.append(this.$close),this.$buttonBar.append(this.$collapse),this.$frame.append(this.$center),this._isFloating&&(this.$top=$('
').css("top","-6px").css("left","0px").css("right","0px"),this.$bottom=$('
').css("bottom","-6px").css("left","0px").css("right","0px"),this.$left=$('
').css("left","-6px").css("top","0px").css("bottom","0px"),this.$right=$('
').css("right","-6px").css("top","0px").css("bottom","0px"),this.$corner1=$('
').css("top","-6px").css("left","-6px"),this.$corner2=$('
').css("top","-6px").css("right","-6px"),this.$corner3=$('
').css("bottom","-6px").css("right","-6px"),this.$corner4=$('
').css("bottom","-6px").css("left","-6px"),this.$frame.append(this.$top),this.$frame.append(this.$bottom),this.$frame.append(this.$left),this.$frame.append(this.$right),this.$frame.append(this.$corner1),this.$frame.append(this.$corner2),this.$frame.append(this.$corner3),this.$frame.append(this.$corner4)),this.__container(this.$container),this._isFloating&&this.$frame.addClass("wcFloating"),this.$center.scroll(this.__scrolled.bind(this))},__update:function(){var t=this.$container.width(),e=this.$container.height();if(this._isFloating){var a=this._pos.x*t-this._size.x/2,r=this._pos.y*e-this._size.y/2;0>r&&(r=0),a+this._size.x/2<0&&(a=-this._size.x/2),a+this._size.x/2>t&&(a=t-this._size.x/2),r+parseInt(this.$center.css("top"))>e&&(r=e-parseInt(this.$center.css("top"))),this.$frame.css("left",a+"px"),this.$frame.css("top",r+"px"),this.$frame.css("width",this._size.x+"px"),this.$frame.css("height",this._size.y+"px")}(t!==this._lastSize.x||e!==this._lastSize.y)&&(this._lastSize.x=t,this._lastSize.y=e,this._resizeData.time=new Date,this._resizeData.timeout||(this._resizeData.timeout=!0,setTimeout(this.__resizeEnd.bind(this),this._resizeData.delta))),this.__onTabChange()},__resizeEnd:function(){this.__updateTabs(),new Date-this._resizeData.time1||this._isFloating||this.isCollapser();this.isCollapser()?this.$tabBar.addClass("wcNotMoveable"):(this.$titleBar.removeClass("wcNotMoveable"),this.$tabBar.removeClass("wcNotMoveable")),this.$center.children(".wcPanelTabContent").each(function(){$(this).addClass("wcPanelTabContentHidden wcPanelTabUnused")}),this._titleVisible=!0,this.$title.html("");for(var l=0;l'),this.$center.append(u)),c.__container(u),c._parent=this;var d=this._curTab===l;if(c.isVisible()!==d&&r.push({panel:c,isVisible:d}),u.removeClass("wcPanelTabUnused"),d&&(h&&h.addClass("wcPanelTabActive"),u.removeClass("wcPanelTabContentHidden"),this.$title.html(c.title()),c.$icon)){var f=c.$icon.clone();this.$title.prepend(f)}h&&(i=a(h)-n,o.push(i),i+=h.outerWidth())}var p=this.$titleBar,b=0;if(this._titleVisible){switch(this.$frame.parent()||this.$center.css("top",""),this._tabOrientation){case e.TAB.TOP:this.$frame.prepend(this.$tabBar),this.$titleBar.remove(),this.$tabBar.addClass("wcTabTop").removeClass("wcTabLeft wcTabRight wcTabBottom"),s?this.$title.remove():this.$tabBar.prepend(this.$title),p=this.$tabBar,this.$center.css("left",0).css("right",0).css("bottom",0),b=this.$center.width();break;case e.TAB.BOTTOM:if(this.$frame.prepend(this.$titleBar),this.$titleBar.append(this.$title),s){var _=this.$titleBar.height();this.$frame.append(this.$tabBar),this.$tabBar.addClass("wcTabBottom").removeClass("wcTabTop wcTabLeft wcTabRight"),this.$center.css("left",0).css("right",0).css("bottom",_)}else this.$tabBar.remove();b=this.$center.width();break;case e.TAB.LEFT:if(this.$frame.prepend(this.$titleBar),this.$titleBar.append(this.$title),s){var _=this.$titleBar.height();this.$frame.append(this.$tabBar),this.$tabBar.addClass("wcTabLeft").removeClass("wcTabTop wcTabRight wcTabBottom"),this.$center.css("left",_).css("right",0).css("bottom",0)}else this.$tabBar.remove();b=this.$center.height();break;case e.TAB.RIGHT:if(this.$frame.prepend(this.$titleBar),this.$titleBar.append(this.$title),s){var _=this.$titleBar.height();this.$frame.append(this.$tabBar),this.$tabBar.addClass("wcTabRight").removeClass("wcTabTop wcTabLeft wcTabBottom"),this.$center.css("left",0).css("right",_).css("bottom",0)}else this.$tabBar.remove();b=this.$center.height()}s||this.$center.css("left",0).css("right",0).css("bottom",0)}else this.$titleBar.remove(),this.$tabBar.remove(),this.$center.css("top",0).css("left",0).css("right",0).css("bottom",0);if(this.$center.children(".wcPanelTabUnused").each(function(){$(this).remove()}),this._titleVisible){var v=this.__onTabChange();if(t)for(var l=0;lm?(this._tabScrollPos=m-this.LEFT_TAB_BUFFER,this._tabScrollPos<0&&(this._tabScrollPos=0)):w-g>T&&(this._tabScrollPos=w-T+this.LEFT_TAB_BUFFER);break}if(this._canScrollTabs=!1,i>b-v){this._canScrollTabs=this._titleVisible,this._canScrollTabs&&(this.$tabButtonBar.append(this.$tabRight),this.$tabButtonBar.append(this.$tabLeft),v+=this.$tabRight.outerWidth(),v+=this.$tabLeft.outerWidth());var x=i-(b-v)/2;if(this._tabScrollPos>x)for(var y=this.$tabScroll.children(),l=0;lx){this._tabScrollPos=i-this.LEFT_TAB_BUFFER,this._tabScrollPos<0&&(this._tabScrollPos=0);break}}}else this._tabScrollPos=0,this.$tabLeft.remove(),this.$tabRight.remove();this.$tabScroll.stop().animate({left:-this._tabScrollPos+"px"},"fast");for(var l=0;l.5&&h.bottom>.95?s=e.DOCK.BOTTOM:h.left<=.05?s=e.DOCK.LEFT:h.right>=.95?s=e.DOCK.RIGHT:h.bottom>.95&&(s=e.DOCK.BOTTOM)}var u="",d="";switch(s){case e.DOCK.LEFT:u="left side.",d="wcCollapseLeft";break;case e.DOCK.RIGHT:u="right side.",d="wcCollapseRight";break;case e.DOCK.BOTTOM:u="bottom.",d="wcCollapseBottom"}if(u){var n=this.$collapse.children("div");n[0].className="fa fa-sign-in",n.addClass(d),n.addClass("wcCollapsible"),this.$collapse.show(),this.$collapse.attr("title","Collapse this panel into the "+u),t+=this.$collapse.outerWidth()}}for(var f=0;f"),_=p.className;b.addClass("wcFrameButton"),p.isTogglable&&(b.addClass("wcFrameButtonToggler"),p.isToggled&&(b.addClass("wcFrameButtonToggled"),_=p.toggleClassName||_)),b.attr("title",p.tip),b.data("name",p.name),b.text(p.text),_&&b.prepend($('
')),this._buttonList.push(b),this.$buttonBar.append(b),t+=b.outerWidth()}}if(this._canScrollTabs&&(this.$tabButtonBar.append(this.$tabRight),this.$tabButtonBar.append(this.$tabLeft),a+=this.$tabRight.outerWidth()+this.$tabLeft.outerWidth()),this._titleVisible)switch(this.$buttonBar.css("right",""),this._tabOrientation){case e.TAB.RIGHT:this.$buttonBar.css("right",this.$tabBar.height());case e.TAB.LEFT:this.$tabBar.css("width",this.$center.height()+this.$tabBar.height());break;case e.TAB.TOP:case e.TAB.BOTTOM:this.$tabBar.css("width",this.$center.width())}r.__update(),this.$center.scrollLeft(r._scroll.x),this.$center.scrollTop(r._scroll.y)}return this.$buttonBar.css("min-width",t).css("width",t),this.$tabButtonBar.css("min-width",a).css("width",a),this._tabOrientation===e.TAB.TOP?(this.$tabButtonBar.css("right",t),t+a):(this.$tabButtonBar.css("right",0),a)},__scrolled:function(){var t=this.panel();t._scroll.x=this.$center.scrollLeft(),t._scroll.y=this.$center.scrollTop(),t.__trigger(e.EVENT.SCROLLED)},__focus:function(t){if(t){var e=$('
');this.$frame.append(e),e.animate({opacity:1},100).animate({opacity:0},100).animate({opacity:.6},50).animate({opacity:0},50).queue(function(t){e.remove(),t()})}},__move:function(t){var e=this.$container.width(),a=this.$container.height();this._pos.x=(t.x+this._anchorMouse.x)/e,this._pos.y=(t.y+this._anchorMouse.y)/a},__anchorMove:function(t){var e=this.$container.width(),a=this.$container.height();this._anchorMouse.x=this._pos.x*e-t.x,this._anchorMouse.y=this._pos.y*a-t.y},__tabMove:function(t,e){if(t>=0&&t=0&&e .wcTabScroller > .wcPanelTab[id="'+e+'"]')[0]}return!1},__checkAnchorDrop:function(t,e,a,r,o,i){var n=this.panel();return n&&n.moveable()?n.layout().__checkAnchorDrop(t,e&&this._tabOrientation,a,!this._isFloating&&!this.isCollapser()&&r,this.$frame,n.moveable()&&n.title(),o,this.isCollapser()?this._tabOrientation:void 0,i):!1},__resize:function(t,e){var a=this.$container.width(),r=this.$container.height(),o=this.$container.offset();e.x-=o.left,e.y-=o.top;for(var i=this.minSize(),n=this.maxSize(),s={x:this._pos.x*a-this._size.x/2,y:this._pos.y*r-this._size.y/2},l=0;ln.y&&(s.y+=this._size.y-n.y,this._size.y=n.y);break;case"bottom":this._size.y=e.y-4-s.y,this._size.yn.y&&(this._size.y=n.y);break;case"left":this._size.x+=s.x-e.x-2,s.x=e.x+2,this._size.xn.x&&(s.x+=this._size.x-n.x,this._size.x=n.x);break;case"right":this._size.x=e.x-4-s.x,this._size.xn.x&&(this._size.x=n.x)}this._pos.x=(s.x+this._size.x/2)/a,this._pos.y=(s.y+this._size.y/2)/r}},__shadow:function(t){if(t)this.$shadower||(this.$shadower=$('
'),this.$frame.append(this.$shadower),this.$shadower.animate({opacity:.5},300));else if(this.$shadower){var e=this;this.$shadower.animate({opacity:0},300).queue(function(t){e.$shadower.remove(),e.$shadower=null,t()})}},__rect:function(){if(this.isCollapser())return this._parent.__rect();var t=this.$frame.offset(),e=this.$frame.width(),a=this.$frame.height();return{x:t.left,y:t.top,w:e,h:a}},__container:function(t){return"undefined"==typeof t?this.$container:(this.$container=t,this.$container?this.$container.append(this.$frame):this.$frame.remove(),this.$container)},__destroy:function(){this._curTab=-1;for(var t=0;t'),this.__container(this.$container),this._frame=new(this.docker().__getClass("wcFrame"))(this.$frame,this,!1),this._frame.tabOrientation(this._position)},__update:function(t){this.__adjustCollapsedSize(),this._frame.__update()},__adjustCollapsedSize:function(){this._frame._panelList.length?(this._closeSize=this._frame.$tabBar.outerHeight(),this._parent.$bar.removeClass("wcSplitterHidden")):(this._closeSize=0,this._parent.$bar.addClass("wcSplitterHidden"))},__rect:function(){var t=this.$frame.offset(),a=this.$frame.width(),r=this.$frame.height(),o=this._frame.panel();return o&&(this._position===e.DOCK.BOTTOM?(r=o._size.y,a/=3):(a=o._size.x,r/=3)),{x:t.left,y:t.top,w:a,h:r}},__save:function(){var t={};return t.closeSize=this._closeSize,t.frame=this._frame.__save(),t},__restore:function(t,e){this._closeSize=t.closeSize,this._frame.__restore(t.frame,e),this.__adjustCollapsedSize()},__container:function(t){return"undefined"==typeof t?this.$container:(this.$container=t,this.$container?this.$container.append(this.$frame):this.$frame.remove(),this.$container)},__destroy:function(){this._frame&&(this._frame.__destroy(),this._frame=null),this.__container(null),this._parent=null}});return o}),a("wcDocker/collapser",["dcl/dcl","./types","./splitter","./drawer","./base"],function(t,e,a,r,o){var i=t(o,{declaredClass:"wcCollapser",constructor:function(t,a,r){this.$container=$(t),this.$frame=null,this._position=r,this._parent=a,this._splitter=null,this._drawer=null,this._size=0,this._orientation=this._position===e.DOCK.LEFT||this._position===e.DOCK.RIGHT?e.ORIENTATION.HORIZONTAL:e.ORIENTATION.VERTICAL,this.__init()},collapse:function(t){this._drawer.collapse()},expand:function(){this._drawer.expand()},isExpanded:function(){return this._drawer.isExpanded()},minSize:function(){return{x:this._size,y:this._size}},maxSize:function(){var t=this._orientation===e.ORIENTATION.HORIZONTAL?!0:!1;return{x:t?this._size:1/0,y:t?1/0:this._size}},__init:function(){this.$frame=$('
'),this.__container(this.$container);var t=this.docker();switch(this._splitter=new(this.docker().__getClass("wcSplitter"))(t.$container,this,this._orientation),this._drawer=new(this.docker().__getClass("wcDrawer"))(t.$transition,this._splitter,this._position),this._position){case e.DOCK.LEFT:this._splitter.pane(0,this._drawer),this._splitter.$pane[1].remove(),this._splitter.$pane[0].addClass("wcDrawer"),this._splitter.pos(0);break;case e.DOCK.RIGHT:case e.DOCK.BOTTOM:this._splitter.pane(1,this._drawer),this._splitter.$pane[0].remove(),this._splitter.$pane[1].addClass("wcDrawer"),this._splitter.pos(1)}this._parent.$bar.addClass("wcSplitterHidden")},__update:function(t){this._splitter.__update(),this.__adjustSize()},__adjustSize:function(){this._drawer._frame._panelList.length?this._size=this._drawer._frame.$tabBar.outerHeight():this._size=0},__rect:function(){return this._drawer.__rect()},__save:function(){var t={};return t.size=this._size,t.drawer=this._drawer.__save(),t},__restore:function(t,e){this._size=t.size,this._drawer.__restore(t.drawer,e),this.__adjustSize()},__container:function(t){return"undefined"==typeof t?this.$container:(this.$container=t,this.$container?this.$container.append(this.$frame):this.$frame.remove(),this.$container)},__destroy:function(){this._splitter&&(this._splitter.__destroy(),this._splitter=null,this._frame=null),this.__container(null),this._parent=null}});return i}),a("wcDocker/layout",["dcl/dcl","./types"],function(t,e){var a=t(null,{declaredClass:"wcLayout",constructor:function(t,e){this.$container=$(t),this._parent=e,this.$elem=null,this.__init()},addItem:function(t){},clear:function(){},scene:function(){return this.$elem},__init:function(){},__update:function(){},__checkAnchorDrop:function(t,a,r,o,i,n,s,l,c){function h(t,e,a){return"number"==typeof t||"string"==typeof t&&-1!==t.indexOf("px",t.length-2)?(t=parseInt(t),{x:t,y:t}):"string"==typeof t&&-1!==t.indexOf("%",t.length-1)?(t=parseInt(t)/100,{x:e*t,y:a*t}):{x:0,y:0}}var u=this._parent.docker(),d=i.outerWidth(),f=i.outerHeight(),p=i.offset(),b=i.find(".wcFrameTitleBar").height();n||(b=0);var _=h(u._options.edgeAnchorSize,u.$container.outerWidth(),u.$container.outerHeight()),v=h(u._options.panelAnchorSize,d,f);if(n){if((!l||l===e.TAB.TOP)&&t.y>=p.top&&t.y<=p.top+b&&t.x>=p.left&&t.x<=p.left+d)return r.anchor(t,{x:p.left-2,y:p.top-2,w:d,h:b-2,loc:e.DOCK.STACKED,tab:e.TAB.TOP,item:this,self:a===e.TAB.TOP||s&&a}),!0;if(u._canOrientTabs){if((!l||l===e.TAB.BOTTOM)&&t.y>=p.top+f-b&&t.y<=p.top+f&&t.x>=p.left&&t.x<=p.left+d)return r.anchor(t,{x:p.left-2,y:p.top+f-b-2,w:d,h:b,loc:e.DOCK.STACKED,tab:e.TAB.BOTTOM,item:this,self:a===e.TAB.BOTTOM}),!0;if((!l||l===e.TAB.LEFT)&&t.y>=p.top&&t.y<=p.top+f&&t.x>=p.left&&t.x<=p.left+b)return r.anchor(t,{x:p.left-2,y:p.top-2,w:b-2,h:f,loc:e.DOCK.STACKED,tab:e.TAB.LEFT,item:this,self:a===e.TAB.LEFT}),!0;if((!l||l===e.TAB.RIGHT)&&t.y>=p.top&&t.y<=p.top+f&&t.x>=p.left+d-b&&t.x<=p.left+d)return r.anchor(t,{x:p.left+d-b-2,y:p.top-2,w:b,h:f,loc:e.DOCK.STACKED,tab:e.TAB.RIGHT,item:this,self:a===e.TAB.RIGHT}),!0}}if(c&&r._outer&&r._inner){var m=r._outer.$container.outerWidth(),w=r._outer.$container.outerHeight(),g=r._outer.$container.offset();if(t.y>=g.top&&t.y<=g.top+w&&t.x>=g.left+b&&t.x<=g.left+b+_.x)return r.anchor(t,{x:g.left-2,y:g.top-2,w:m/3,h:w,loc:e.DOCK.LEFT,item:r._inner,self:!1}),!0;if(t.y>=g.top&&t.y<=g.top+w&&t.x>=g.left+m-_.x-b&&t.x<=g.left+m-b)return r.anchor(t,{x:g.left+m-m/3-2,y:g.top-2,w:m/3,h:w,loc:e.DOCK.RIGHT,item:r._inner,self:!1}),!0;if(t.y>=g.top+b&&t.y<=g.top+b+_.y&&t.x>=g.left&&t.x<=g.left+m)return r.anchor(t,{x:g.left-2,y:g.top-2,w:m,h:w/3,loc:e.DOCK.TOP,item:r._inner,self:!1}),!0;if(t.y>=g.top+w-b-_.y&&t.y<=g.top+w-b&&t.x>=g.left&&t.x<=g.left+m)return r.anchor(t,{x:g.left-2,y:g.top+w-w/3-2,w:m,h:w/3,loc:e.DOCK.BOTTOM,item:r._inner,self:!1}),!0}if(!o)return!1;if(this._parent&&this._parent.instanceOf("wcPanel")&&this._parent._isPlaceholder)return r.anchor(t,{x:p.left-2,y:p.top-2,w:d,h:f,loc:e.DOCK.TOP,item:this,self:!1}),!0;if(f>d){if(t.y>=p.top&&t.y<=p.top+b+v.y&&t.x>=p.left&&t.x<=p.left+d)return r.anchor(t,{x:p.left-2,y:p.top-2,w:d,h:.5*f,loc:e.DOCK.TOP,item:this,self:!1}),!0;if(t.y>=p.top+f-v.y-b&&t.y<=p.top+f&&t.x>=p.left&&t.x<=p.left+d)return r.anchor(t,{x:p.left-2,y:p.top+(f-.5*f)-2,w:d,h:.5*f,loc:e.DOCK.BOTTOM,item:this,self:!1}),!0}if(t.y>=p.top&&t.y<=p.top+f){if(t.x>=p.left&&t.x<=p.left+v.x+b)return r.anchor(t,{x:p.left-2,y:p.top-2,w:.5*d,h:f,loc:e.DOCK.LEFT,item:this,self:!1}),!0;if(t.x>=p.left+d-v.x-b&&t.x<=p.left+d)return r.anchor(t,{x:p.left+.5*d-2,y:p.top-2,w:.5*d,h:f,loc:e.DOCK.RIGHT,item:this,self:!1}),!0}if(d>=f){if(t.y>=p.top&&t.y<=p.top+v.y+b&&t.x>=p.left&&t.x<=p.left+d)return r.anchor(t,{x:p.left-2,y:p.top-2,w:d,h:.5*f,loc:e.DOCK.TOP,item:this,self:!1}),!0;if(t.y>=p.top+f-v.y-b&&t.y<=p.top+f&&t.x>=p.left&&t.x<=p.left+d)return r.anchor(t,{x:p.left-2,y:p.top+(f-.5*f)-2,w:d,h:.5*f,loc:e.DOCK.BOTTOM,item:this,self:!1}),!0}return!1},__container:function(t){return"undefined"==typeof t?this.$container:(this.$container=t,this.$container?this.$container.append(this.$elem):this.$elem.remove(),this.$container)},__destroy:function(){this.__container(null),this._parent=null,this.clear(),this.$elem.remove(),this.$elem=null}});return a}),a("wcDocker/layoutsimple",["dcl/dcl","./types","./layout"],function(t,e,a){var r=t(a,{declaredClass:"wcLayoutSimple",addItem:function(t){this.$elem.append(t)},clear:function(){this.$elem.remove(),this.$elem=null,this.__init()},__init:function(){this.$elem=$('
'),this.__container(this.$container)},__update:function(){}});return r}),a("wcDocker/layouttable",["dcl/dcl","./types","./layout"],function(t,e,a){var r=t(a,{declaredClass:"wcLayoutTable",addItem:function(t,e,a,r,o){return("undefined"==typeof e||0>e)&&(e=0),("undefined"==typeof a||0>a)&&(a=0),("undefined"==typeof r||0>=r)&&(r=1),("undefined"==typeof o||0>=o)&&(o=1),this.__resizeGrid(e+r-1,a+o-1),(r>1||o>1)&&!this.__mergeGrid(e,a,r,o)?!1:(this._grid[a][e].$el.append($(t)),this.item(e,a))},item:function(t,e){if(e>=this._grid.length)return!1;if(t>=this._grid[e].length)return!1;var a=this,r={$:a._grid[e][t].$el,css:function(o,i){if(a._grid[e][t].$el){if(void 0===i)return a._grid[e][t].$el.css(o);a._grid[e][t].$el.css(o,i)}return r},stretch:function(o,i){return a.itemStretch(t,e,o,i),r}};return r},itemStretch:function(t,e,a,r){var o=this._batchProcess;this._batchProcess=!0,this.__resizeGrid(t,e);var i=this._grid[e][t];return i.x<0||i.y<0?!1:(void 0!==a&&(i.sx=a),void 0!==r&&(i.sy=r),this._batchProcess=o,o||this.__resizeGrid(0,0),!0)},clear:function(){var t=this.showGrid(),e=this.gridSpacing(),a=this.gridAlternate();this.$elem.remove(),this.__init(),this.showGrid(t),this.gridSpacing(e),this.gridAlternate(a),this._grid=[]},startBatch:function(){this._batchProcess=!0},finishBatch:function(){this._batchProcess=!1,this.__resizeGrid(0,0)},showGrid:function(t){return"undefined"!=typeof t&&this.$elem.toggleClass("wcLayoutGrid",t),this.$elem.hasClass("wcLayoutGrid")},gridSpacing:function(t){return"undefined"!=typeof t&&this.$elem.css("border-spacing",t+"px"),parseInt(this.$elem.css("border-spacing"))},gridAlternate:function(t){return"undefined"!=typeof t&&this.$elem.toggleClass("wcLayoutGridAlternate",t),this.$elem.hasClass("wcLayoutGridAlternate")},__init:function(){this.$elem=$('
'),this.$elem.append($("")),this._grid=[],this.__container(this.$container)},__update:function(){},__resizeGrid:function(t,e){for(var a=0;e>=a;++a){if(this._grid.length<=a){var r=[];r.$row=$(""),this._grid.push(r)}for(var o=0;t>=o;++o)this._grid[a].length<=o&&this._grid[a].push({$el:$(""),x:0,y:0,sx:"",sy:""})}if(!this._batchProcess){var i=this.$elem.find("tbody");$(".wcDockerTransition").append(i);for(var n=$(""),a=0;ao;++o)for(var i=0;a>i;++i){ var n=this._grid[e+o][t+i];if(!n.$el||0!==n.x||0!==n.y)return!1}var n=this._grid[e][t];a>1&&(n.$el.attr("colspan",""+a),n.x=a-1),r>1&&(n.$el.attr("rowspan",""+r),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=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 .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=0&&t=0&&e .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-1&&t-1&&t-1&&t-1&&t")),a.$icon.removeClass(),a.$icon.addClass("wcTabIcon "+e)}},faicon:function(t,e){if(t>-1&&t")),a.$icon.removeClass(),a.$icon.addClass("fa fa-fw fa-"+e)}},__init:function(){this.$frame=$('
'),this.$tabBar=$('
'),this.$tabScroll=$('
'),this.$center=$('
'),this.$tabLeft=$('
<
'),this.$tabRight=$('
>
'),this.$close=$('
X
'),this.$buttonBar=$('
'),this.$tabBar.append(this.$tabScroll),this.$tabBar.append(this.$buttonBar),this.$buttonBar.append(this.$close),this.$frame.append(this.$center),this.$frame.append(this.$tabBar),this.__container(this.$container),this._boundEvents.push({event:e.EVENT.UPDATED,handler:this.update.bind(this)}),this._boundEvents.push({event:e.EVENT.CLOSED,handler:this.destroy.bind(this)});for(var t=0;t
'+this._layoutList[n].name+"
");this._moveable&&s.addClass("wcCustomTabMoveable"),this.$tabScroll.append(s),this._layoutList[n].$icon&&s.find("div").prepend(this._layoutList[n].$icon);var l=this.$center.children('.wcPanelTabContent[id="'+n+'"]');l.length||(l=$('
'),this.$center.append(l)),this._layoutList[n].__container(l),this._layoutList[n]._parent=this;var c=this._curTab===n;l.removeClass("wcPanelTabUnused"),c&&(s.addClass("wcPanelTabActive"),l.removeClass("wcPanelTabContentHidden")),o=a(s)-i,r.push(o),o+=s.outerWidth()}var h=0,u=this.$tabBar.height();switch(this._tabOrientation){case e.TAB.TOP:this.$tabBar.addClass("wcTabTop").removeClass("wcTabLeft wcTabRight wcTabBottom"),this.$center.css("top",u).css("left",0).css("right",0).css("bottom",0),h=this.$center.width();break;case e.TAB.BOTTOM:this.$tabBar.addClass("wcTabBottom").removeClass("wcTabTop wcTabLeft wcTabRight"),this.$center.css("top",0).css("left",0).css("right",0).css("bottom",u),h=this.$center.width();break;case e.TAB.LEFT:this.$tabBar.addClass("wcTabLeft").removeClass("wcTabTop wcTabRight wcTabBottom"),this.$center.css("top",0).css("left",u).css("right",0).css("bottom",0),h=this.$center.height();break;case e.TAB.RIGHT:this.$tabBar.addClass("wcTabRight").removeClass("wcTabTop wcTabLeft wcTabBottom"),this.$center.css("top",0).css("left",0).css("right",u).css("bottom",0),h=this.$center.height()}this.$center.children(".wcPanelTabUnused").each(function(){$(this).remove()});var d=this.__onTabChange();if(t)for(var n=0;nf?(this._tabScrollPos=f-this.LEFT_TAB_BUFFER,this._tabScrollPos<0&&(this._tabScrollPos=0)):p-b>_&&(this._tabScrollPos=p-_+this.LEFT_TAB_BUFFER);break}if(this._canScrollTabs=!1,o>h-d){this._canScrollTabs=!0,this.$buttonBar.append(this.$tabRight),this.$buttonBar.append(this.$tabLeft),d+=this.$tabRight.outerWidth(),d+=this.$tabLeft.outerWidth();var v=o-(h-d)/2;if(this._tabScrollPos>v)for(var m=this.$tabScroll.children(),n=0;nv){this._tabScrollPos=o-this.LEFT_TAB_BUFFER,this._tabScrollPos<0&&(this._tabScrollPos=0);break}}}else this._tabScrollPos=0,this.$tabLeft.remove(),this.$tabRight.remove();this.$tabScroll.stop().animate({left:-this._tabScrollPos+"px"},"fast")},__onTabChange:function(){var t=0,a=this.layout(this._curTab);if(a){this.$center.toggleClass("wcScrollableX",a._scrollable.x),this.$center.toggleClass("wcScrollableY",a._scrollable.y),this.$center.toggleClass("wcOverflowVisible",a._overflowVisible),this.$tabLeft.remove(),this.$tabRight.remove(),a._closeable?(this.$close.show(),t+=this.$close.outerWidth()):this.$close.hide(),this._canScrollTabs&&(this.$tabBar.append(this.$tabRight),this.$tabBar.append(this.$tabLeft),t+=this.$tabRight.outerWidth()+this.$tabLeft.outerWidth());var r=this.fitContents(this._curTab);if(r.x){var o=a.scene().outerWidth();(this._tabOrientation===e.TAB.LEFT||this._tabOrientation===e.TAB.RIGHT)&&(o+=this.$tabScroll.height()),this.$container.css("width",o)}else this.$container.css("width","");if(r.y){var i=a.scene().outerHeight();(this._tabOrientation===e.TAB.TOP||this._tabOrientation===e.TAB.BOTTOM)&&(i+=this.$tabScroll.height()),this.$container.css("height",i)}else this.$container.css("height","");switch(this._tabOrientation){case e.TAB.RIGHT:case e.TAB.LEFT:this.$tabBar.css("width",this.$center.height()||"100%");break;case e.TAB.TOP:case e.TAB.BOTTOM:this.$tabBar.css("width",this.$center.width()||"100%")}this.$center.scrollLeft(a._scroll.x),this.$center.scrollTop(a._scroll.y)}return this.$buttonBar.css("min-width",t).css("width",t),t},__scrolled:function(){var t=this.layout(this._curTab);t._scroll.x=this.$center.scrollLeft(),t._scroll.y=this.$center.scrollTop()},__container:function(t){return"undefined"==typeof t?this.$container:(this.$container=t,this.$container?this.$container.append(this.$frame):this.$frame.remove(),this.$container)},__destroy:function(){var t=this.docker();if(t){var e=t._tabList.indexOf(this);e>-1&&t._tabList.splice(e,1)}for(;this._boundEvents.length;)this._parent.off(this._boundEvents[0].event,this._boundEvents[0].handler),this._boundEvents.shift();this._curTab=-1;for(var a=0;ae&&!i||!o||a&&!n&&s||r&&s)return 1;if(e>t&&!a||!s||i&&!r&&o||n&&o)return-1}return 0}function e(t,e,a){for(var r=t.length,o=a?r:-1;a?o--:++o-1;);return a}function s(t,e){for(var a=t.length;a--&&e.indexOf(t.charAt(a))>-1;);return a}function l(e,a){return t(e.criteria,a.criteria)||e.index-a.index}function c(e,a,r){for(var o=-1,i=e.criteria,n=a.criteria,s=i.length,l=r.length;++o=l)return c;var h=r[o];return c*("asc"===h||h===!0?1:-1)}}return e.index-a.index}function h(t){return Kt[t]}function u(t){return Wt[t]}function d(t,e,a){return e?t=Ut[t]:a&&(t=qt[t]),"\\"+t}function f(t){return"\\"+qt[t]}function p(t,e,a){for(var r=t.length,o=e+(a?0:-1);a?o--:++o=t&&t>=9&&13>=t||32==t||160==t||5760==t||6158==t||t>=8192&&(8202>=t||8232==t||8233==t||8239==t||8287==t||12288==t||65279==t)}function v(t,e){for(var a=-1,r=t.length,o=-1,i=[];++ae,o=a?t.length:0,i=Ua(0,o,this.__views__),n=i.start,s=i.end,l=s-n,c=r?s:n-1,h=this.__iteratees__,u=h.length,d=0,f=Sn(l,this.__takeCount__);if(!a||I>o||o==l&&f==l)return oa(t,this.__actions__);var p=[];t:for(;l--&&f>d;){c+=e;for(var b=-1,_=t[c];++b=I?_a(e):null,c=e.length;l&&(n=Jt,s=!1,e=l);t:for(;++ia&&(a=-a>o?0:o+a),r=r===y||r>o?o:+r||0,0>r&&(r+=o),o=a>r?0:r>>>0,a>>>=0;o>a;)t[a++]=e;return t}function Fe(t,e){var a=[];return Nn(t,function(t,r,o){e(t,r,o)&&a.push(t)}),a}function Le(t,e,a,r){var o;return a(t,function(t,a,i){return e(t,a,i)?(o=r?a:t,!1):void 0}),o}function Oe(t,e,a,r){r||(r=[]);for(var o=-1,i=t.length;++or;)t=dr(t)[e[r++]];return r&&r==o?t:y}}function He(t,e,a,r,o,i){return t===e?!0:null==t||null==e||!zo(t)&&!b(e)?t!==t&&e!==e:Ie(t,e,He,a,r,o,i)}function Ie(t,e,a,r,o,i,n){var s=ks(t),l=ks(e),c=W,h=W;s||(c=nn.call(t),c==K?c=X:c!=X&&(s=Go(t))),l||(h=nn.call(e),h==K?h=X:h!=X&&(l=Go(e)));var u=c==X&&!ee(t),d=h==X&&!ee(e),f=c==h;if(f&&!s&&!u)return Ma(t,e,c);if(!o){var p=u&&rn.call(t,"__wrapped__"),b=d&&rn.call(e,"__wrapped__");if(p||b)return a(p?t.value():t,b?e.value():e,r,o,i,n)}if(!f)return!1;i||(i=[]),n||(n=[]);for(var _=i.length;_--;)if(i[_]==t)return n[_]==e;i.push(t),n.push(e);var v=(s?Va:Ra)(t,e,a,r,o,i,n);return i.pop(),n.pop(),v}function Ve(t,e,a){var r=e.length,o=r,i=!a;if(null==t)return!o;for(t=dr(t);r--;){var n=e[r];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}for(;++re&&(e=-e>o?0:o+e),a=a===y||a>o?o:+a||0,0>a&&(a+=o),o=e>a?0:a-e>>>0,e>>>=0;for(var i=Ni(o);++r=I,l=s?_a():null,c=[];l?(o=Jt,n=!1):(s=!1,l=e?[]:c);t:for(;++a=o){for(;o>r;){var i=r+o>>>1,n=t[i];(a?e>=n:e>n)&&null!==n?r=i+1:o=i}return o}return na(t,e,Fi,a)}function na(t,e,a,r){e=a(e);for(var o=0,i=t?t.length:0,n=e!==e,s=null===e,l=e===y;i>o;){var c=Tn((o+i)/2),h=a(t[c]),u=h!==y,d=h===h;if(n)var f=d||r;else f=s?d&&u&&(r||null!=h):l?d&&(r||u):null==h?!1:r?e>=h:e>h;f?o=c+1:i=c}return Sn(i,En)}function sa(t,e,a){if("function"!=typeof t)return Fi;if(e===y)return t;switch(a){case 1:return function(a){return t.call(e,a)};case 3:return function(a,r,o){return t.call(e,a,r,o)};case 4:return function(a,r,o,i){return t.call(e,a,r,o,i)};case 5:return function(a,r,o,i,n){return t.call(e,a,r,o,i,n)}}return function(){return t.apply(e,arguments)}}function la(t){var e=new cn(t.byteLength),a=new vn(e);return a.set(new vn(t)),e}function ca(t,e,a){for(var r=a.length,o=-1,i=Cn(t.length-r,0),n=-1,s=e.length,l=Ni(s+i);++n2?a[o-2]:y,n=o>2?a[2]:y,s=o>1?a[o-1]:y;for("function"==typeof i?(i=sa(i,s,5),o-=2):(i="function"==typeof s?s:y,o-=i?1:0),n&&tr(a[0],a[1],n)&&(i=3>o?y:i,o=1);++r-1?r[n]:y}return Le(r,o,t)}}function ya(t){return function(a,r,o){return a&&a.length?(r=Na(r,o,3),e(a,r,t)):-1}}function Ba(t){return function(e,a,r){return a=Na(a,r,3),Le(e,a,t,!0)}}function Ca(t){return function(){for(var e,a=arguments.length,r=t?a:-1,o=0,i=Ni(a);t?r--:++r=I)return e.plant(r).value();for(var o=0,n=a?i[o].apply(this,t):r;++ow){var $=s?oe(s):y,P=Cn(c-w,0),F=p?B:y,A=p?y:B,E=p?T:y,D=p?y:T;e|=p?L:O,e&=~(p?O:L),b||(e&=~(C|S));var k=[t,e,a,E,F,D,A,$,l,P],z=Ea.apply(y,k);return ar(t)&&Zn(z,k),z.placeholder=x,z}}var H=d?a:this,I=f?H[t]:t;return s&&(T=cr(T,s)),u&&l=e||!yn(e))return"";var o=e-r;return a=null==a?" ":a+"",mi(a,wn(o/a.length)).slice(0,o)}function ka(t,e,a,r){function o(){for(var e=-1,s=arguments.length,l=-1,c=r.length,h=Ni(c+s);++ll))return!1;for(;++s-1&&t%1==0&&e>t}function tr(t,e,a){if(!zo(a))return!1;var r=typeof e;if("number"==r?Ja(a)&&Qa(e,a.length):"string"==r&&e in a){var o=a[e];return t===t?t===o:o!==o}return!1}function er(t,e){var a=typeof t;if("string"==a&&yt.test(t)||"number"==a)return!0;if(ks(t))return!1;var r=!xt.test(t);return r||null!=e&&t in dr(e)}function ar(t){var e=Ka(t),a=_[e];if("function"!=typeof a||!(e in et.prototype))return!1;if(t===a)return!0;var r=Un(a);return!!r&&t===r[0]}function rr(t){return"number"==typeof t&&t>-1&&t%1==0&&kn>=t}function or(t){return t===t&&!zo(t)}function ir(t,e){var a=t[1],r=e[1],o=a|r,i=A>o,n=r==A&&a==P||r==A&&a==E&&t[7].length<=e[8]||r==(A|E)&&a==P;if(!i&&!n)return t;r&C&&(t[2]=e[2],o|=a&C?0:$);var s=e[3];if(s){var l=t[3];t[3]=l?ca(l,s,e[4]):oe(s),t[4]=l?v(t[3],N):oe(e[4])}return s=e[5],s&&(l=t[5],t[5]=l?ha(l,s,e[6]):oe(s),t[6]=l?v(t[5],N):oe(e[6])),s=e[7],s&&(t[7]=oe(s)),r&A&&(t[8]=null==t[8]?e[8]:Sn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o,t}function nr(t,e){return t===y?e:zs(t,e,nr)}function sr(t,e){t=dr(t);for(var a=-1,r=e.length,o={};++ar;)n[++i]=Ye(t,r,r+=e);return n}function _r(t){for(var e=-1,a=t?t.length:0,r=-1,o=[];++ee?0:e)):[]}function mr(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,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-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);++oe?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);++ea?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);++o0&&(a=e.apply(this,arguments)),1>=t&&(e=y),a}}function bo(t,e,a){function r(){f&&hn(f),c&&hn(c),b=0,c=f=p=y}function o(e,a){a&&hn(a),c=f=p=y,e&&(b=Ts(),h=t.apply(d,l),f||c||(l=d=y))}function i(){var t=e-(Ts()-u);0>=t||t>e?o(p,c):f=bn(i,t)}function n(){o(v,f)}function s(){if(l=arguments,u=Ts(),d=this,p=v&&(f||!m),_===!1)var a=m&&!f;else{c||m||(b=u);var r=_-(u-b),o=0>=r||r>_;o?(c&&(c=hn(c)),b=u,h=t.apply(d,l)):c||(c=bn(n,r))}return o&&f?f=hn(f):f||e===_||(f=bn(i,e)),a&&(o=!0,h=t.apply(d,l)),!o||f||c||(l=d=y),h}var l,c,h,u,d,f,p,b=0,_=!1,v=!0;if("function"!=typeof t)throw new Xi(R);if(e=0>e?0:+e||0,a===!0){var m=!0;v=!1}else zo(a)&&(m=!!a.leading,_="maxWait"in a&&Cn(+a.maxWait||0,e),v="trailing"in a?!!a.trailing:v);return s.cancel=r,s}function _o(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new Xi(R);var a=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=a.cache;if(i.has(o))return i.get(o);var n=t.apply(this,r);return a.cache=i.set(o,n),n};return a.cache=new _o.Cache,a}function vo(t){if("function"!=typeof t)throw new Xi(R);return function(){return!t.apply(this,arguments)}}function mo(t){return po(2,t)}function wo(t,e){if("function"!=typeof t)throw new Xi(R);return e=Cn(e===y?t.length-1:+e||0,0),function(){for(var a=arguments,r=-1,o=Cn(a.length-e,0),i=Ni(o);++re}function So(t,e){return t>=e}function $o(t){return b(t)&&Ja(t)&&rn.call(t,"callee")&&!fn.call(t,"callee")}function Po(t){return t===!0||t===!1||b(t)&&nn.call(t)==G}function Fo(t){return b(t)&&nn.call(t)==j}function Lo(t){return!!t&&1===t.nodeType&&b(t)&&!No(t)}function Oo(t){return null==t?!0:Ja(t)&&(ks(t)||Wo(t)||$o(t)||b(t)&&ko(t.splice))?!t.length:!js(t).length}function Ao(t,e,a,r){a="function"==typeof a?sa(a,r,3):y;var o=a?a(t,e):y;return o===y?He(t,e,a):!!o}function Eo(t){return b(t)&&"string"==typeof t.message&&nn.call(t)==U}function Do(t){return"number"==typeof t&&yn(t)}function ko(t){return zo(t)&&nn.call(t)==q}function zo(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Ho(t,e,a,r){return a="function"==typeof a?sa(a,r,3):y,Ve(t,Ga(e),a)}function Io(t){return Ro(t)&&t!=+t}function Vo(t){return null==t?!1:ko(t)?ln.test(an.call(t)):b(t)&&(ee(t)?ln:At).test(t)}function Mo(t){return null===t}function Ro(t){return"number"==typeof t||b(t)&&nn.call(t)==Y}function No(t){var e;if(!b(t)||nn.call(t)!=X||ee(t)||$o(t)||!rn.call(t,"constructor")&&(e=t.constructor,"function"==typeof e&&!(e instanceof e)))return!1;var a;return _.support.ownLast?(Ae(t,function(t,e,r){return a=rn.call(r,e),!1}),a!==!1):(Ae(t,function(t,e){a=e}),a===y||rn.call(t,a))}function Ko(t){return zo(t)&&nn.call(t)==J}function Wo(t){return"string"==typeof t||b(t)&&nn.call(t)==tt}function Go(t){return b(t)&&rr(t.length)&&!!Rt[nn.call(t)]}function jo(t){return t===y}function Uo(t,e){return e>t}function qo(t,e){return e>=t}function Zo(t){var e=t?qn(t):0;return rr(e)?e?_.support.unindexedChars&&Wo(t)?t.split(""):oe(t):[]:si(t)}function Yo(t){return Te(t,ai(t))}function Xo(t,e,a){var r=Rn(t);return a&&tr(t,e,a)&&(e=y),e?we(r,e):r}function Jo(t){return ke(t,ai(t))}function Qo(t,e,a){var r=null==t?y:ze(t,fr(e),e+"");return r===y?a:r}function ti(t,e){if(null==t)return!1;var a=rn.call(t,e);if(!a&&!er(e)){if(e=fr(e),t=1==e.length?t:ze(t,Ye(e,0,-1)),null==t)return!1;e=$r(e),a=rn.call(t,e)}return a||rr(t.length)&&Qa(e,t.length)&&(ks(t)||$o(t)||Wo(t))}function ei(t,e,a){a&&tr(t,e,a)&&(e=y);for(var r=-1,o=js(t),i=o.length,n={};++r0,c=a.enumErrorProps&&(t===Qi||t instanceof Wi),h=a.enumPrototypes&&ko(t);++o=Sn(e,a)&&ta?0:+a||0,r),a-=e.length,a>=0&&t.indexOf(e,a)==a}function pi(t){return t=i(t),t&&mt.test(t)?t.replace(_t,u):t}function bi(t){return t=i(t),t&&St.test(t)?t.replace(Ct,d):t||"(?:)"}function _i(t,e,a){t=i(t),e=+e;var r=t.length;if(r>=e||!yn(e))return t;var o=(e-r)/2,n=Tn(o),s=wn(o);return a=Da("",s,a),a.slice(0,n)+t+a}function vi(t,e,a){return(a?tr(t,e,a):null==e)?e=0:e&&(e=+e),t=Ti(t),Pn(t,e||(Ot.test(t)?16:10))}function mi(t,e){var a="";if(t=i(t),e=+e,1>e||!t||!yn(e))return a;do e%2&&(a+=t),e=Tn(e/2),t+=t;while(e);return a}function wi(t,e,a){return t=i(t),a=null==a?0:Sn(0>a?0:+a||0,t.length),t.lastIndexOf(e,a)==a}function gi(t,e,a){var r=_.templateSettings;a&&tr(t,e,a)&&(e=a=y),t=i(t),e=me(we({},a||e),r,ve);var o,n,s=me(we({},e.imports),r.imports,ve),l=js(s),c=aa(s,l),h=0,u=e.interpolate||kt,d="__p += '",p=Zi((e.escape||kt).source+"|"+u.source+"|"+(u===Tt?Ft:kt).source+"|"+(e.evaluate||kt).source+"|$","g"),b="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Mt+"]")+"\n";t.replace(p,function(e,a,r,i,s,l){return r||(r=i),d+=t.slice(h,l).replace(zt,f),a&&(o=!0,d+="' +\n__e("+a+") +\n'"),s&&(n=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=l+e.length,e}),d+="';\n";var v=e.variable;v||(d="with (obj) {\n"+d+"\n}\n"),d=(n?d.replace(dt,""):d).replace(ft,"$1").replace(pt,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(n?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=rl(function(){return Gi(l,b+"return "+d).apply(y,c)});if(m.source=d,Eo(m))throw m;return m}function Ti(t,e,a){var r=t;return(t=i(t))?(a?tr(r,e,a):null==e)?t.slice(w(t),g(t)+1):(e+="",t.slice(n(t,e),s(t,e)+1)):t}function xi(t,e,a){var r=t;return t=i(t),t?(a?tr(r,e,a):null==e)?t.slice(w(t)):t.slice(n(t,e+"")):t}function yi(t,e,a){var r=t;return t=i(t),t?(a?tr(r,e,a):null==e)?t.slice(0,g(t)+1):t.slice(0,s(t,e+"")+1):t}function Bi(t,e,a){a&&tr(t,e,a)&&(e=y);var r=D,o=k;if(null!=e)if(zo(e)){var n="separator"in e?e.separator:n;r="length"in e?+e.length||0:r,o="omission"in e?i(e.omission):o}else r=+e||0;if(t=i(t),r>=t.length)return t;var s=r-o.length;if(1>s)return o;var l=t.slice(0,s);if(null==n)return l+o;if(Ko(n)){if(t.slice(s).search(n)){var c,h,u=t.slice(0,s);for(n.global||(n=Zi(n.source,(Lt.exec(n)||"")+"g")),n.lastIndex=0;c=n.exec(u);)h=c.index;l=l.slice(0,null==h?s:h)}}else if(t.indexOf(n,s)!=s){var d=l.lastIndexOf(n);d>-1&&(l=l.slice(0,d))}return l+o}function Ci(t){return t=i(t),t&&vt.test(t)?t.replace(bt,T):t}function Si(t,e,a){return a&&tr(t,e,a)&&(e=y),t=i(t),t.match(e||Ht)||[]}function $i(t,e,a){return a&&tr(t,e,a)&&(e=y),b(t)?Li(t):xe(t,e)}function Pi(t){return function(){return t}}function Fi(t){return t}function Li(t){return Re(ye(t,!0))}function Oi(t,e){return Ne(t,ye(e,!0))}function Ai(t,e,a){if(null==a){var r=zo(e),o=r?js(e):y,i=o&&o.length?ke(e,o):y;(i?i.length:r)||(i=!1,a=e,e=t,t=this)}i||(i=ke(e,js(e)));var n=!0,s=-1,l=ko(t),c=i.length;a===!1?n=!1:zo(a)&&"chain"in a&&(n=a.chain);for(;++st||!yn(t))return[];var r=-1,o=Ni(Sn(t,An));for(e=sa(e,a,1);++rr?o[r]=e(r):e(r);return o}function Vi(t){var e=++on;return i(t)+e}function Mi(t,e){return(+t||0)+(+e||0)}function Ri(t,e,a){return a&&tr(t,e,a)&&(e=y),e=Na(e,a,3),1==e.length?be(ks(t)?t:ur(t),e):ta(t,e)}a=a?ae.defaults(te.Object(),a,ae.pick(te,It)):te;var Ni=a.Array,Ki=a.Date,Wi=a.Error,Gi=a.Function,ji=a.Math,Ui=a.Number,qi=a.Object,Zi=a.RegExp,Yi=a.String,Xi=a.TypeError,Ji=Ni.prototype,Qi=Wi.prototype,tn=qi.prototype,en=Yi.prototype,an=Gi.prototype.toString,rn=tn.hasOwnProperty,on=0,nn=tn.toString,sn=te._,ln=Zi("^"+an.call(rn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cn=a.ArrayBuffer,hn=a.clearTimeout,un=a.parseFloat,dn=ji.pow,fn=tn.propertyIsEnumerable,pn=ja(a,"Set"),bn=a.setTimeout,_n=Ji.splice,vn=a.Uint8Array,mn=ja(a,"WeakMap"),wn=ji.ceil,gn=ja(qi,"create"),Tn=ji.floor,xn=ja(Ni,"isArray"),yn=a.isFinite,Bn=ja(qi,"keys"),Cn=ji.max,Sn=ji.min,$n=ja(Ki,"now"),Pn=a.parseInt,Fn=ji.random,Ln=Ui.NEGATIVE_INFINITY,On=Ui.POSITIVE_INFINITY,An=4294967295,En=An-1,Dn=An>>>1,kn=9007199254740991,zn=mn&&new mn,Hn={},In={};In[rt]=a.Float32Array,In[ot]=a.Float64Array,In[it]=a.Int8Array,In[nt]=a.Int16Array,In[st]=a.Int32Array,In[lt]=vn,In[ct]=a.Uint8ClampedArray,In[ht]=a.Uint16Array,In[ut]=a.Uint32Array;var Vn={};Vn[W]=Vn[j]=Vn[Y]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},Vn[G]=Vn[tt]={constructor:!0,toString:!0,valueOf:!0},Vn[U]=Vn[q]=Vn[J]={constructor:!0,toString:!0},Vn[X]={constructor:!0},ie(Vt,function(t){for(var e in Vn)if(rn.call(Vn,e)){var a=Vn[e];a[t]=rn.call(a,t)}});var Mn=_.support={};!function(t){var e=function(){this.x=t},a={0:t,length:t},r=[];e.prototype={valueOf:t,y:t};for(var o in new e)r.push(o);Mn.enumErrorProps=fn.call(Qi,"message")||fn.call(Qi,"name"),Mn.enumPrototypes=fn.call(e,"prototype"),Mn.nonEnumShadows=!/valueOf/.test(r),Mn.ownLast="x"!=r[0],Mn.spliceObjects=(_n.call(a,0,1),!a[0]),Mn.unindexedChars="x"[0]+qi("x")[0]!="xx"}(1,0),_.templateSettings={escape:wt,evaluate:gt,interpolate:Tt,variable:"",imports:{_:_}};var Rn=function(){function t(){}return function(e){if(zo(e)){t.prototype=e;var a=new t;t.prototype=y}return a||{}}}(),Nn=fa(Ee),Kn=fa(De,!0),Wn=pa(),Gn=pa(!0),jn=zn?function(t,e){return zn.set(t,e),t}:Fi,Un=zn?function(t){return zn.get(t)}:Di,qn=Ge("length"),Zn=function(){var t=0,e=0;return function(a,r){var o=Ts(),i=H-(o-e);if(e=o,i>0){if(++t>=z)return a}else t=0;return jn(a,r)}}(),Yn=wo(function(t,e){return b(t)&&Ja(t)?Ce(t,Oe(e,!1,!0)):[]}),Xn=ya(),Jn=ya(!0),Qn=wo(function(t){for(var e=t.length,a=e,o=Ni(u),i=Wa(),n=i===r,s=[];a--;){var l=t[a]=Ja(l=t[a])?l:[];o[a]=n&&l.length>=120?_a(a&&l):null}var c=t[0],h=-1,u=c?c.length:0,d=o[0];t:for(;++h2?t[e-2]:y,r=e>1?t[e-1]:y;return e>2&&"function"==typeof a?e-=2:(a=e>1&&"function"==typeof r?(--e,r):y,r=y),t.length=e,Vr(t,a,r)}),ss=wo(function(t){return t=Oe(t),this.thru(function(e){return re(ks(e)?e:[dr(e)],t)})}),ls=wo(function(t,e){return Ja(t)&&(t=ur(t)),ge(t,Oe(e))}),cs=ua(function(t,e,a){rn.call(t,a)?++t[a]:t[a]=1}),hs=xa(Nn),us=xa(Kn,!0),ds=Sa(ie,Nn),fs=Sa(ne,Kn),ps=ua(function(t,e,a){rn.call(t,a)?t[a].push(e):t[a]=[e]}),bs=ua(function(t,e,a){t[a]=e}),_s=wo(function(t,e,a){var r=-1,o="function"==typeof e,i=er(e),n=Ja(t)?Ni(t.length):[];return Nn(t,function(t){var s=o?e:i&&null!=t?t[e]:y;n[++r]=s?s.apply(t,a):Xa(t,e,a)}),n}),vs=ua(function(t,e,a){t[a?0:1].push(e)},function(){return[[],[]]}),ms=Aa(de,Nn),ws=Aa(fe,Kn),gs=wo(function(t,e){if(null==t)return[];var a=e[2];return a&&tr(e[0],e[1],a)&&(e.length=1),Qe(t,Oe(e),[])}),Ts=$n||function(){return(new Ki).getTime()},xs=wo(function(t,e,a){var r=C;if(a.length){var o=v(a,xs.placeholder);r|=L}return Ia(t,r,e,a,o)}),ys=wo(function(t,e){e=e.length?Oe(e):Jo(t);for(var a=-1,r=e.length;++a0||0>e)?new et(a):(0>t?a=a.takeRight(-t):t&&(a=a.drop(t)),e!==y&&(e=+e||0,a=0>e?a.dropRight(-e):a.take(e-t)),a)},et.prototype.takeRightWhile=function(t,e){return this.reverse().takeWhile(t,e).reverse()},et.prototype.toArray=function(){return this.take(On)},Ee(et.prototype,function(t,e){var a=/^(?:filter|map|reject)|While$/.test(e),r=/^(?:first|last)$/.test(e),o=_[r?"take"+("last"==e?"Right":""):e];o&&(_.prototype[e]=function(){var e=r?[1]:arguments,i=this.__chain__,n=this.__wrapped__,s=!!this.__actions__.length,l=n instanceof et,c=e[0],h=l||ks(n);h&&a&&"function"==typeof c&&1!=c.length&&(l=h=!1);var u=function(t){return r&&i?o(t,1)[0]:o.apply(y,ue([t],e))},d={func:Wr,args:[u],thisArg:y},f=l&&!s;if(r&&!i)return f?(n=n.clone(),n.__actions__.push(d),t.call(n)):o.call(y,this.value())[0];if(!r&&h){n=f?n:new et(this);var p=t.apply(n,e);return p.__actions__.push(d),new Q(p,i)}return this.thru(u)})}),ie(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(t){var e=(/^(?:replace|split)$/.test(t)?en:Ji)[t],a=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=!Mn.spliceObjects&&/^(?:pop|shift|splice)$/.test(t),o=/^(?:join|pop|replace|shift)$/.test(t),i=r?function(){var t=e.apply(this,arguments);return 0===this.length&&delete this[0],t}:e;_.prototype[t]=function(){var t=arguments;return o&&!this.__chain__?i.apply(this.value(),t):this[a](function(e){return i.apply(e,t)})}}),Ee(et.prototype,function(t,e){var a=_[e];if(a){var r=a.name+"",o=Hn[r]||(Hn[r]=[]);o.push({name:e,func:a})}}),Hn[Ea(y,S).name]=[{name:"wrapper",func:y}],et.prototype.clone=Kt,et.prototype.reverse=Wt,et.prototype.value=Gt,_.prototype.chain=Gr,_.prototype.commit=jr,_.prototype.concat=ss,_.prototype.plant=Ur,_.prototype.reverse=qr,_.prototype.toString=Zr,_.prototype.run=_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=Yr,_.prototype.collect=_.prototype.map,_.prototype.head=_.prototype.first,_.prototype.select=_.prototype.filter,_.prototype.tail=_.prototype.rest,_}var y,B="3.10.1",C=1,S=2,$=4,P=8,F=16,L=32,O=64,A=128,E=256,D=30,k="...",z=150,H=16,I=200,V=1,M=2,R="Expected a function",N="__lodash_placeholder__",K="[object Arguments]",W="[object Array]",G="[object Boolean]",j="[object Date]",U="[object Error]",q="[object Function]",Z="[object Map]",Y="[object Number]",X="[object Object]",J="[object RegExp]",Q="[object Set]",tt="[object String]",et="[object WeakMap]",at="[object ArrayBuffer]",rt="[object Float32Array]",ot="[object Float64Array]",it="[object Int8Array]",nt="[object Int16Array]",st="[object Int32Array]",lt="[object Uint8Array]",ct="[object Uint8ClampedArray]",ht="[object Uint16Array]",ut="[object Uint32Array]",dt=/\b__p \+= '';/g,ft=/\b(__p \+=) '' \+/g,pt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bt=/&(?:amp|lt|gt|quot|#39|#96);/g,_t=/[&<>"'`]/g,vt=RegExp(bt.source),mt=RegExp(_t.source),wt=/<%-([\s\S]+?)%>/g,gt=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,yt=/^\w*$/,Bt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Ct=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,St=RegExp(Ct.source),$t=/[\u0300-\u036f\ufe20-\ufe23]/g,Pt=/\\(\\)?/g,Ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lt=/\w*$/,Ot=/^0[xX]/,At=/^\[object .+?Constructor\]$/,Et=/^\d+$/,Dt=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,kt=/($^)/,zt=/['\n\r\u2028\u2029\\]/g,Ht=function(){var t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",e="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(t+"+(?="+t+e+")|"+t+"?"+e+"|"+t+"+|[0-9]+","g")}(),It=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Vt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mt=-1,Rt={};Rt[rt]=Rt[ot]=Rt[it]=Rt[nt]=Rt[st]=Rt[lt]=Rt[ct]=Rt[ht]=Rt[ut]=!0,Rt[K]=Rt[W]=Rt[at]=Rt[G]=Rt[j]=Rt[U]=Rt[q]=Rt[Z]=Rt[Y]=Rt[X]=Rt[J]=Rt[Q]=Rt[tt]=Rt[et]=!1;var Nt={};Nt[K]=Nt[W]=Nt[at]=Nt[G]=Nt[j]=Nt[rt]=Nt[ot]=Nt[it]=Nt[nt]=Nt[st]=Nt[Y]=Nt[X]=Nt[J]=Nt[tt]=Nt[lt]=Nt[ct]=Nt[ht]=Nt[ut]=!0,Nt[U]=Nt[q]=Nt[Z]=Nt[Q]=Nt[et]=!1;var Kt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Wt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Gt={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},jt={"function":!0,object:!0},Ut={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zt=jt[typeof exports]&&exports&&!exports.nodeType&&exports,Yt=jt[typeof module]&&module&&!module.nodeType&&module,Xt=Zt&&Yt&&"object"==typeof global&&global&&global.Object&&global,Jt=jt[typeof self]&&self&&self.Object&&self,Qt=jt[typeof window]&&window&&window.Object&&window,te=Xt||Qt!==(this&&this.window)&&Qt||Jt||this,ee=function(){try{Object({toString:0}+"")}catch(t){return function(){return!1}}return function(t){return"function"!=typeof t.toString&&"string"==typeof(t+"")}}(),ae=x();"function"==typeof a&&"object"==typeof a.amd&&a.amd&&a("lodash/main",[],function(){return ae})}.call(this),a("lodash",["lodash/main"],function(t){return t}),a("wcDocker/docker",["dcl/dcl","./types","./panel","./ghost","./splitter","./frame","./collapser","./layoutsimple","./layouttable","./tabframe","./drawer","./base","lodash"],function(t,e,a,r,o,i,n,s,l,c,h,u,d){var f={wcPanel:a,wcGhost:r,wcSplitter:o,wcFrame:i,wcCollapser:n,wcLayoutSimple:s,wcLayoutTable:l,wcDrawer:h,wcTabFrame:c},p=t(u,{declaredClass:"wcDocker",constructor:function(t,e){this.$outer=$(t),this.$container=$('
'), -this.$transition=$('
'),this.$loading=null,this.$outer.append(this.$container),this.$container.append(this.$transition),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=$('');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')),!0},panelTypes:function(t){for(var e=[],a=0;a=d&&h._curTab--,t.__container(this.$transition),t._parent=null,h._panelList.splice(d,1);break}if(!h.isCollapser()&&-1===h._curTab&&h._panelList.length&&(h._curTab=0),h.__updateTabs(),h.collapse(),!h.isCollapser()&&0===h._panelList.length)if(i)this.__addPlaceholder(h);else{var f=this._floatingList.indexOf(h);-1!==f&&this._floatingList.splice(f,1),f=this._frameList.indexOf(h),-1!==f&&this._frameList.splice(f,1);var p=h._parent;if(p&&p.instanceOf("wcSplitter")){p.__removeChild(h);var b;p.pane(0)?(b=p.pane(0),p._pane[0]=null):(b=p.pane(1),p._pane[1]=null),r===p&&(r._shift=b),b.__container(this.$transition),b._parent=null,f=this._splitterList.indexOf(p),-1!==f&&this._splitterList.splice(f,1);var _=p._parent;parentContainer=p.__container(),p.__destroy(),_&&_.instanceOf("wcSplitter")?(_.__removeChild(p),_.pane(0)?_.pane(1,b):_.pane(0,b)):_===this&&(this._root=b,b._parent=this,b.__container(parentContainer)),this.__update()}this._focusFrame===h&&(this._focusFrame=null),h.__destroy()}}t.initSize(l,c),a===e.DOCK.STACKED?this.__addPanelGrouped(t,r,o):this.__addPanelAlone(t,a,r,o),r==this._placeholderPanel&&(this.removePanel(this._placeholderPanel),this._placeholderPanel=null);var v=t._parent;return v&&v.instanceOf("wcFrame")&&1===v._panelList.length&&v.pos(s.left+l/2+20,s.top+c/2+20,!0),this.__update(!0),v&&v.instanceOf("wcFrame")&&u!==v._isFloating&&(v._isFloating?t.__trigger(e.EVENT.DETACHED):t.__trigger(e.EVENT.ATTACHED)),t.__trigger(e.EVENT.MOVED),t},findPanels:function(t){for(var e=[],a=0;a
'),this.$outer.append(this.$loading);var r=$('
');"number"!=typeof e&&(e=.4),r.css("opacity",e),this.$loading.append(r);var o=$('
');if(this.$loading.append(o),t){var i=$(''+t+"");this.$loading.append(i)}"number"!=typeof a&&(a=1),o.css("opacity",a),i&&i.css("opacity",a)}},finishLoading:function(t){if(this.$loading)if(t>0){var e=this;this.$loading.fadeOut(t,function(){e.$loading.remove(),e.$loading=null})}else this.$loading.remove(),this.$loading=null},on:function(t,e){return t?(this._events[t]||(this._events[t]=[]),-1!==this._events[t].indexOf(e)?!1:(this._events[t].push(e),!0)):!1},off:function(t,e){if("undefined"==typeof t)this._events={};else if(this._events[t])if("undefined"==typeof e)this._events[t]=[];else for(var a=0;a0&&o.findPanels(d.name).length>=d.options.limit)continue;var f=null,p=null,b=d.name;d.options&&(d.options.faicon&&(p=d.options.faicon),d.options.icon&&(f=d.options.icon),d.options.title&&(b=d.options.title)),u[d.name]={name:b,icon:f,faicon:p,className:"wcMenuCreatePanel"}}}var _=0,v={},m=a;"function"==typeof a&&(m=a(t,i));for(var l=0;l');if(o.prepend(i),r.icon&&i.addClass(r.icon),r.faicon&&i.addClass("fa fa-menu fa-"+r.faicon+" fa-lg fa-fw"),o.hasClass("context-menu-submenu")){var n=$('
');o.append(n)}}r.items&&s(r.items)}}(e)}(y)},hide:function(t){o._ghost&&(o._ghost.destroy(),o._ghost=!1)}},animation:{duration:250,show:"fadeIn",hide:"fadeOut"},reposition:!1,autoHide:!0,zIndex:200,items:y}}})},bypassMenu:function(){this._menuTimer&&clearTimeout(this._menuTimer);for(var t in $.contextMenu.menus){var e=$.contextMenu.menus[t].selector;$(e).contextMenu(!1)}var a=this;this._menuTimer=setTimeout(function(){for(var t in $.contextMenu.menus){var e=$.contextMenu.menus[t].selector;$(e).contextMenu(!0)}a._menuTimer=null},0)},save:function(){var t={};t.floating=[];for(var a=0;a-1){if(1===g._draggingFrame._panelList.length)return;for(var r=0;r1||g._draggingFrame.panel()!==g._placeholderPanel)for(var r=0;h>r;++r)g.movePanel(g._draggingFrame.panel(),e.DOCK.STACKED,n,c)}var l=n._parent;l&&l.instanceOf("wcFrame")&&l.panel(i),g.__focus(l)}}else{g._draggingFrameTab||g._draggingFrame.panel(0);var n=g._draggingFrame.panel(parseInt($(g._draggingFrameTab).attr("id")));if(g.movePanel(n,e.DOCK.FLOAT,null,g._ghost.__rect()),!g._draggingFrameTab){var h=g._draggingFrame._panelList.length;if(h>1||g._draggingFrame.panel()!==g._placeholderPanel)for(var r=0;h>r;++r)g.movePanel(g._draggingFrame.panel(),e.DOCK.STACKED,n,{tabOrientation:g._draggingFrame._tabOrientation})}var l=n._parent;l&&l.instanceOf("wcFrame")&&(l.pos(a.x,a.y+g._ghost.__rect().h/2-10,!0),l._size.x=g._ghost.__rect().w,l._size.y=g._ghost.__rect().h),l.__update(),g.__focus(l)}else if(g._creatingPanel){var u=e.DOCK.FLOAT,d=null;o&&(u=o.loc,d=o.item?o.item._parent:o.panel),g.addPanel(g._creatingPanel,u,d,g._ghost.rect())}g._ghost.destroy(),g._ghost=null,g.trigger(e.EVENT.END_DOCK),g.__update()}return g._draggingSplitter&&(g._draggingSplitter.$pane[0].removeClass("wcResizing"),g._draggingSplitter.$pane[1].removeClass("wcResizing")),g._draggingSplitter=null,g._draggingFrame=null,g._draggingFrameSizer=null,g._draggingFrameTab=null,g._draggingFrameTopper=!1,g._draggingCustomTabFrame=null,g._removingPanel=null,!0}function r(t){x=t;var e=g.__mouse(t);if(!(3!==e.which&&(g._draggingSplitter||g._draggingFrameSizer||g._draggingCustomTabFrame||g._ghost||g._draggingFrame||g._draggingFrameTab)))return!0;var a=(new Date).getTime();if(a-T1&&g._draggingFrameTab,g._draggingFrameTopper,!g.__isLastFrame(g._draggingFrame))){g._draggingFrame.__shadow(!1);var s=$(document.elementFromPoint(e.x,e.y)),i=s.hasClass("wcPanelTab")?s:s.parents(".wcPanelTab");g._draggingFrameTab&&i.length&&g._draggingFrameTab!==i[0]&&(g._draggingFrameTab=g._draggingFrame.__tabMove(parseInt($(g._draggingFrameTab).attr("id")),parseInt(i.attr("id"))))}else{if((new Date).getTime()-B0;var s=g._draggingFrame.__rect();g._ghost=new(g.__getClass("wcGhost"))(s,a,g),g._draggingFrame.__checkAnchorDrop(a,!0,g._ghost,!0,g._draggingFrameTopper,!g.__isLastFrame(g._draggingFrame)),g.trigger(e.EVENT.BEGIN_DOCK)}break}for(var r=0;r .wcFrameButton",c),$("body").on("touchstart",".wcFrameButtonBar > .wcFrameButton",c),$("body").on("mousedown",".wcFrameTitleBar",p),$("body").on("touchstart",".wcFrameTitleBar",p),$("body").on("mousedown",".wcSplitterBar",f),$("body").on("touchstart",".wcSplitterBar",f),$("body").on("mousedown",".wcPanelTab",m),$("body").on("touchstart",".wcPanelTab",m),$("body").on("mouseup",".wcPanelTab",d),$("body").on("touchend",".wcPanelTab",d),$("body").on("mousedown",".wcLayout",b),$("body").on("touchstart",".wcLayout",b),$("body").on("mousedown",".wcFrameEdge",_),$("body").on("touchstart",".wcFrameEdge",_),$("body").on("mousedown",".wcCreatePanel",v),$("body").on("touchstart",".wcCreatePanel",v),$("body").on("mouseup",a),$("body").on("touchend",a),$("body").on("click",".wcCustomTab .wcFrameButton",h),$("body").on("click",".wcFrameButtonBar > .wcFrameButton",u),$("body").on("keyup",w);var T=(new Date).getTime(),x=null,y=0,B=0},__testLoadFinished:function(){for(var t=0;t>>0,a=Number(arguments[1])||0;for(a=0>a?Math.ceil(a):Math.floor(a),0>a&&(a+=e);e>a;a++)if(a in this&&this[a]===t)return a;return-1});var e=function(){for(var t=3,e=document.createElement("div"),a=e.getElementsByTagName("i");e.innerHTML="",a[0];);return t>4?t:void 0}();9>e?this._canOrientTabs=!1:this._canOrientTabs=t();var a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);$("body").addClass(a?"wcMobile":"wcDesktop")},__findInner:function(){function t(t){return!!(t&&t.instanceOf("wcFrame")&&t.panel()&&!t.panel().moveable()||t.instanceOf("wcCollapser"))}for(var e=this._root;e&&e.instanceOf("wcSplitter");){var a=t(e._pane[0]),r=t(e._pane[1]);if(a&&!r)e=e._pane[1];else if(r&&!a)e=e._pane[0];else if(!a&&!r)break}return e},__initCollapsers:function(){function t(t){this._collapser[t]=this.__addCollapser(t,a),a=this._collapser[t]._parent,this._frameList.push(this._collapser[t]._drawer._frame)}if(this.isCollapseEnabled()&&$.isEmptyObject(this._collapser)){var a=this.__findInner();t.call(this,e.DOCK.LEFT),t.call(this,e.DOCK.RIGHT),t.call(this,e.DOCK.BOTTOM);var r=this;setTimeout(function(){r.__update()})}},__update:function(t){this._dirty=!0,this._dirtyDontMove=t},__forceUpdate:function(t){this._dirty=!1,this._root&&this._root.__update(t);for(var e=0;e'),this.$loading=null,this.$outer.append(this.$container),this.$container.append(this.$transition),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=$('');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')),!0},panelTypes:function(t){for(var e=[],a=0;a=d&&h._curTab--,t.__container(this.$transition),t._parent=null,h._panelList.splice(d,1);break}if(!h.isCollapser()&&-1===h._curTab&&h._panelList.length&&(h._curTab=0),h.__updateTabs(),h.collapse(),!h.isCollapser()&&0===h._panelList.length)if(i)this.__addPlaceholder(h);else{var f=this._floatingList.indexOf(h);-1!==f&&this._floatingList.splice(f,1),f=this._frameList.indexOf(h),-1!==f&&this._frameList.splice(f,1);var p=h._parent;if(p&&p.instanceOf("wcSplitter")){p.__removeChild(h);var b;p.pane(0)?(b=p.pane(0),p._pane[0]=null):(b=p.pane(1),p._pane[1]=null),r===p&&(r._shift=b),b.__container(this.$transition),b._parent=null,f=this._splitterList.indexOf(p),-1!==f&&this._splitterList.splice(f,1);var _=p._parent;parentContainer=p.__container(),p.__destroy(),_&&_.instanceOf("wcSplitter")?(_.__removeChild(p),_.pane(0)?_.pane(1,b):_.pane(0,b)):_===this&&(this._root=b,b._parent=this,b.__container(parentContainer)),this.__update()}this._focusFrame===h&&(this._focusFrame=null),h.__destroy()}}t.initSize(l,c),a===e.DOCK.STACKED?this.__addPanelGrouped(t,r,o):this.__addPanelAlone(t,a,r,o),r==this._placeholderPanel&&(this.removePanel(this._placeholderPanel),this._placeholderPanel=null);var v=t._parent;return v&&v.instanceOf("wcFrame")&&1===v._panelList.length&&v.pos(s.left+l/2+20,s.top+c/2+20,!0),this.__update(!0),v&&v.instanceOf("wcFrame")&&u!==v._isFloating&&(v._isFloating?t.__trigger(e.EVENT.DETACHED):t.__trigger(e.EVENT.ATTACHED)),t.__trigger(e.EVENT.MOVED),t},findPanels:function(t){for(var e=[],a=0;a
'),this.$outer.append(this.$loading);var r=$('
');"number"!=typeof e&&(e=.4),r.css("opacity",e),this.$loading.append(r);var o=$('
');if(this.$loading.append(o),t){var i=$(''+t+"");this.$loading.append(i)}"number"!=typeof a&&(a=1),o.css("opacity",a),i&&i.css("opacity",a)}},finishLoading:function(t){if(this.$loading)if(t>0){var e=this;this.$loading.fadeOut(t,function(){e.$loading.remove(),e.$loading=null})}else this.$loading.remove(),this.$loading=null},on:function(t,e){return t?(this._events[t]||(this._events[t]=[]),-1!==this._events[t].indexOf(e)?!1:(this._events[t].push(e),!0)):!1},off:function(t,e){if("undefined"==typeof t)this._events={};else if(this._events[t])if("undefined"==typeof e)this._events[t]=[];else for(var a=0;a0&&o.findPanels(d.name).length>=d.options.limit)continue;var f=null,p=null,b=d.name;d.options&&(d.options.faicon&&(p=d.options.faicon),d.options.icon&&(f=d.options.icon),d.options.title&&(b=d.options.title)),u[d.name]={name:b,icon:f,faicon:p,className:"wcMenuCreatePanel"}}}var _=0,v={},m=a;"function"==typeof a&&(m=a(t,i));for(var l=0;l');if(o.prepend(i),r.icon&&i.addClass(r.icon),r.faicon&&i.addClass("fa fa-menu fa-"+r.faicon+" fa-lg fa-fw"),o.hasClass("context-menu-submenu")){var n=$('
');o.append(n)}}r.items&&s(r.items)}}(e)}(y)},hide:function(t){o._ghost&&(o._ghost.destroy(),o._ghost=!1)}},animation:{duration:250,show:"fadeIn",hide:"fadeOut"},reposition:!1,autoHide:!0,zIndex:200,items:y}}})},bypassMenu:function(){this._menuTimer&&clearTimeout(this._menuTimer);for(var t in $.contextMenu.menus){var e=$.contextMenu.menus[t].selector;$(e).contextMenu(!1)}var a=this;this._menuTimer=setTimeout(function(){for(var t in $.contextMenu.menus){var e=$.contextMenu.menus[t].selector;$(e).contextMenu(!0)}a._menuTimer=null},0)},save:function(){var t={};t.floating=[];for(var a=0;a-1){if(1===g._draggingFrame._panelList.length)return;for(var r=0;r1||g._draggingFrame.panel()!==g._placeholderPanel)for(var r=0;h>r;++r)g.movePanel(g._draggingFrame.panel(),e.DOCK.STACKED,n,c)}var l=n._parent;l&&l.instanceOf("wcFrame")&&l.panel(i),g.__focus(l)}}else{g._draggingFrameTab||g._draggingFrame.panel(0);var n=g._draggingFrame.panel(parseInt($(g._draggingFrameTab).attr("id")));if(g.movePanel(n,e.DOCK.FLOAT,null,g._ghost.__rect()),!g._draggingFrameTab){var h=g._draggingFrame._panelList.length;if(h>1||g._draggingFrame.panel()!==g._placeholderPanel)for(var r=0;h>r;++r)g.movePanel(g._draggingFrame.panel(),e.DOCK.STACKED,n,{tabOrientation:g._draggingFrame._tabOrientation})}var l=n._parent;l&&l.instanceOf("wcFrame")&&(l.pos(a.x,a.y+g._ghost.__rect().h/2-10,!0),l._size.x=g._ghost.__rect().w,l._size.y=g._ghost.__rect().h),l.__update(),g.__focus(l)}else if(g._creatingPanel){var u=e.DOCK.FLOAT,d=null;o&&(u=o.loc,d=o.item?o.item._parent:o.panel),g.addPanel(g._creatingPanel,u,d,g._ghost.rect())}g._ghost.destroy(),g._ghost=null,g.trigger(e.EVENT.END_DOCK),g.__update()}return g._draggingSplitter&&(g._draggingSplitter.$pane[0].removeClass("wcResizing"),g._draggingSplitter.$pane[1].removeClass("wcResizing")),g._creatingPanel=!1,g._draggingSplitter=null,g._draggingFrame=null,g._draggingFrameSizer=null,g._draggingFrameTab=null,g._draggingFrameTopper=!1,g._draggingCustomTabFrame=null,g._removingPanel=null,!0}function r(t){x=t;var e=g.__mouse(t);if(!(3!==e.which&&(g._draggingSplitter||g._draggingFrameSizer||g._draggingCustomTabFrame||g._ghost||g._draggingFrame||g._draggingFrameTab)))return!0;var a=(new Date).getTime();if(a-T1&&g._draggingFrameTab,g._draggingFrameTopper,!g.__isLastFrame(g._draggingFrame))){g._draggingFrame.__shadow(!1);var s=$(document.elementFromPoint(e.x,e.y)),i=s.hasClass("wcPanelTab")?s:s.parents(".wcPanelTab");g._draggingFrameTab&&i.length&&g._draggingFrameTab!==i[0]&&(g._draggingFrameTab=g._draggingFrame.__tabMove(parseInt($(g._draggingFrameTab).attr("id")),parseInt(i.attr("id"))))}else{if((new Date).getTime()-B0;var s=g._draggingFrame.__rect();g._ghost=new(g.__getClass("wcGhost"))(s,a,g),g._draggingFrame.__checkAnchorDrop(a,!0,g._ghost,!0,g._draggingFrameTopper,!g.__isLastFrame(g._draggingFrame)),g.trigger(e.EVENT.BEGIN_DOCK)}break}for(var r=0;r .wcFrameButton",c),$("body").on("touchstart",".wcFrameButtonBar > .wcFrameButton",c),$("body").on("mousedown",".wcFrameTitleBar",p),$("body").on("touchstart",".wcFrameTitleBar",p),$("body").on("mousedown",".wcSplitterBar",f),$("body").on("touchstart",".wcSplitterBar",f),$("body").on("mousedown",".wcPanelTab",m),$("body").on("touchstart",".wcPanelTab",m),$("body").on("mouseup",".wcPanelTab",d),$("body").on("touchend",".wcPanelTab",d),$("body").on("mousedown",".wcLayout",b),$("body").on("touchstart",".wcLayout",b),$("body").on("mousedown",".wcFrameEdge",_),$("body").on("touchstart",".wcFrameEdge",_),$("body").on("mousedown",".wcCreatePanel",v),$("body").on("touchstart",".wcCreatePanel",v),$("body").on("mouseup",a),$("body").on("touchend",a),$("body").on("click",".wcCustomTab .wcFrameButton",h),$("body").on("click",".wcFrameButtonBar > .wcFrameButton",u),$("body").on("keyup",w);var T=(new Date).getTime(),x=null,y=0,B=0},__testLoadFinished:function(){for(var t=0;t>>0,a=Number(arguments[1])||0;for(a=0>a?Math.ceil(a):Math.floor(a),0>a&&(a+=e);e>a;a++)if(a in this&&this[a]===t)return a;return-1});var e=function(){for(var t=3,e=document.createElement("div"),a=e.getElementsByTagName("i");e.innerHTML="",a[0];);return t>4?t:void 0}();9>e?this._canOrientTabs=!1:this._canOrientTabs=t();var a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);$("body").addClass(a?"wcMobile":"wcDesktop")},__findInner:function(){function t(t){return!!(t&&t.instanceOf("wcFrame")&&t.panel()&&!t.panel().moveable()||t.instanceOf("wcCollapser"))}for(var e=this._root;e&&e.instanceOf("wcSplitter");){var a=t(e._pane[0]),r=t(e._pane[1]);if(a&&!r)e=e._pane[1];else if(r&&!a)e=e._pane[0];else if(!a&&!r)break}return e},__initCollapsers:function(){function t(t){this._collapser[t]=this.__addCollapser(t,a),a=this._collapser[t]._parent,this._frameList.push(this._collapser[t]._drawer._frame)}if(this.isCollapseEnabled()&&$.isEmptyObject(this._collapser)){var a=this.__findInner();t.call(this,e.DOCK.LEFT),t.call(this,e.DOCK.RIGHT),t.call(this,e.DOCK.BOTTOM);var r=this;setTimeout(function(){r.__update()})}},__update:function(t){this._dirty=!0,this._dirtyDontMove=t},__forceUpdate:function(t){this._dirty=!1,this._root&&this._root.__update(t);for(var e=0;e
'),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-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.__findBestPos();a===e.DOCK.LEFT||a===e.DOCK.TOP?(f.pane(0,c),f.pane(1,_._root)):(f.pane(0,_._root),f.pane(1,c)),_._root=f}}else _._root=c,c.__container(v);c.addPanel(t)},__addCollapser:function(t,a){var r=null;if(a){for(var o=a._parent,i=a;o&&!o.instanceOf("wcSplitter")&&!o.instanceOf("wcDocker");)i=o,o=o._parent;var n=new(this.__getClass("wcSplitter"))(this.$transition,o,t!==e.DOCK.BOTTOM&&t!==e.DOCK.TOP);if(o&&o.instanceOf("wcDocker")&&(this._root=n,n.__container(this.$container)),o&&o.instanceOf("wcSplitter")){var s=o.left(),l=(o.right(),{x:-1,y:-1});s===i?(l.x=o.$pane[0].width(),l.y=o.$pane[0].height(),o.pane(0,n)):(n=new(this.__getClass("wcSplitter"))(this.$transition,o,t!==e.DOCK.BOTTOM&&t!==e.DOCK.TOP),l.x=o.$pane[1].width(),l.y=o.$pane[1].height(),o.pane(1,n))}if(n){switch(n.scrollable(0,!1,!1),n.scrollable(1,!1,!1),r=new(this.__getClass("wcCollapser"))(this.$transition,n,t),t){case e.DOCK.TOP:case e.DOCK.LEFT:n.pos(0);break;case e.DOCK.BOTTOM:case e.DOCK.RIGHT:n.pos(1)}t===e.DOCK.LEFT||t===e.DOCK.TOP?(n.pane(0,r),n.pane(1,i)):(n.pane(0,i),n.pane(1,r))}}return r},__addPlaceholder:function(t){this._placeholderPanel&&console.log("WARNING: wcDocker creating placeholder panel when one already exists"),this._placeholderPanel=new(this.__getClass("wcPanel"))(this,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),t?this.__addPanelGrouped(this._placeholderPanel,t):this.__addPanelAlone(this._placeholderPanel,e.DOCK.TOP),this.__update()},__closePanel:function(t){var e=!1,a=this.panelTypeInfo(t._type);a&&a.isPersistent&&(e=!0,this._persistentList.push(t)),this.removePanel(t,e),this.__update()},__stringToPercent:function(t,e){if("string"==typeof t){if(-1!==t.indexOf("%",t.length-1))return parseFloat(t)/100;if(-1!==t.indexOf("px",t.length-2))return parseFloat(t)/e}return parseFloat(t)},__stringToPixel:function(t,e){if("string"==typeof t){if(-1!==t.indexOf("%",t.length-1))return parseFloat(t)/100*e;if(-1!==t.indexOf("px",t.length-2))return parseFloat(t)}return parseFloat(t)}});for(var b in e)p[b]=e[b];return p.defaultClasses=f,p}),a("wcDocker/iframe",["dcl/dcl","./types","./base"],function(t,e,a){var r=t(a,{declaredClass:"wcIFrame",constructor:function(t,e){this._panel=e,this._layout=e.layout(),this.$container=$(t),this.$frame=null,this.$focus=null,this.$iFrame=null,this._window=null,this._isDocking=!1,this._isHovering=!1,this._boundEvents=[],this._onLoadFuncs=[],this._onClosedFuncs=[],this.__init()},openURL:function(t){this.__clearFrame(),this.$iFrame=$(""),this.$frame.prepend(this.$iFrame),this.__onMoved(),this._window=this.$iFrame[0].contentWindow||this.$iFrame[0],this.__updateFrame(),this._window.location.replace(t),this.$iFrame[0].focus(),this.$iFrame.hover(this.__onHoverEnter.bind(this),this.__onHoverExit.bind(this));var e=this;this.$iFrame.load(function(){for(var t=0;tiFrames not supported on your device!"),this.$frame.prepend(this.$iFrame),this.__onMoved(),this._window=this.$iFrame[0].contentWindow||this.$iFrame[0],this.__updateFrame(),this._window.document.open(),this._window.document.write(t),this._window.document.close(),this.$iFrame[0].focus(),this.$iFrame.hover(this.__onHoverEnter.bind(this),this.__onHoverExit.bind(this));var e=this;this.$iFrame.load(function(){for(var t=0;tiFrames not supported on your device!"),this.$frame.prepend(this.$iFrame),this.__onMoved(),this._window=this.$iFrame[0].contentWindow||this.$iFrame[0],this.__updateFrame(),this.$iFrame[0].srcdoc=t,this.$iFrame[0].focus(),this.$iFrame.hover(this.__onHoverEnter.bind(this),this.__onHoverExit.bind(this));var e=this;this.$iFrame.load(function(){for(var t=0;t'),this.$focus=$('
'),this._panel.docker().$container.append(this.$frame),this.$frame.append(this.$focus),this._boundEvents.push({event:e.EVENT.VISIBILITY_CHANGED,handler:this.__onVisibilityChanged.bind(this)}),this._boundEvents.push({event:e.EVENT.BEGIN_DOCK,handler:this.__onBeginDock.bind(this)}),this._boundEvents.push({event:e.EVENT.END_DOCK,handler:this.__onEndDock.bind(this)}),this._boundEvents.push({event:e.EVENT.MOVE_STARTED,handler:this.__onMoveStarted.bind(this)}),this._boundEvents.push({event:e.EVENT.RESIZE_STARTED,handler:this.__onMoveStarted.bind(this)}),this._boundEvents.push({event:e.EVENT.MOVE_ENDED,handler:this.__onMoveFinished.bind(this)}),this._boundEvents.push({event:e.EVENT.RESIZE_ENDED,handler:this.__onMoveFinished.bind(this)}),this._boundEvents.push({event:e.EVENT.MOVED,handler:this.__onMoved.bind(this)}),this._boundEvents.push({event:e.EVENT.RESIZED,handler:this.__onMoved.bind(this)}),this._boundEvents.push({event:e.EVENT.ATTACHED,handler:this.__onAttached.bind(this)}),this._boundEvents.push({event:e.EVENT.DETACHED,handler:this.__updateFrame.bind(this)}),this._boundEvents.push({event:e.EVENT.GAIN_FOCUS,handler:this.__updateFrame.bind(this)}),this._boundEvents.push({event:e.EVENT.LOST_FOCUS,handler:this.__updateFrame.bind(this)}),this._boundEvents.push({event:e.EVENT.PERSISTENT_OPENED,handler:this.__updateFrame.bind(this)}),this._boundEvents.push({event:e.EVENT.PERSISTENT_CLOSED,handler:this.__updateFrame.bind(this)}),this._boundEvents.push({event:e.EVENT.CLOSED,handler:this.__onClosed.bind(this)}),this._boundEvents.push({event:e.EVENT.ORDER_CHANGED,handler:this.__onOrderChanged.bind(this)});for(var t=0;t'),this._fontWeights=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","initial","inherit"],this._borderStyles=[{display:"none",value:""},"dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"],this._shadowStyle=[{display:"normal",value:""},"inset","initial","inherit"],this._parseBoxShadowStyle=function(t){return t=t.toLowerCase(),t.indexOf("inset")>-1?"inset":t.indexOf("initial")>-1?"initial":t.indexOf("inherit")>-1?"inherit":""},this._parseBoxShadowColor=function(t){t=t.toLowerCase();var e=t.indexOf("rgb");if(e>-1){var a=t.indexOf(")");return t.substring(e,a+1)}if(e=t.indexOf("#"),e>-1){var a=t.indexOf(" ");return-1===a&&(a=t.length),t.substring(e,a+1).replace(";","")}},this._parseBoxShadowAttribute=function(t){return function(e){var a=0;e=e.replace(/\s(?![^)]*(\(|$))/g,"");for(var r=e.split(" "),o=0;o=0;--t)this._frameIndex.unshift(this._frames[t].tab()),this._frames[t].destroy();this._frames=[]},buildControls:function(t){var e=this;this._panel.startLoading(),setTimeout(function(){e.clearControls(),$("body").toggleClass("wcMobile",t?!0:!1).toggleClass("wcDesktop",t?!1:!0),e._panel.layout().clear(),e._panel.layout().startBatch(),e._panel.layout().scene().css("padding","10px"),e._panel.layout()._childFrames=[];for(var a=0,r=0;r');e._panel.layout().addItem($(""),0,a,2),e._panel.layout().addItem(i,2,a,2).stretch("20%",""),i.on("change",function(t){if(this.files.length){var a=this.files[0];if("text/css"!==a.type)return void alert("Failed to upload file, must be a stylesheet!");var r=new FileReader;e._panel.startLoading(),setTimeout(function(){r.readAsText(a,"UTF-8"),r.onload=function(t){e.apply(t.target.result);var a=$("body").hasClass("wcMobile");e.pull(e._controls),e.buildControls(a),e._panel.finishLoading(400)},r.onerror=function(t){console.log("Error reading theme file."),e._panel.finishLoading(400)}},100)}}),a+=1;var n=$('');e._panel.layout().addItem(n,0,a).stretch("25%",""),n.click(function(){e._panel.startLoading(),setTimeout(function(){var t=$("body").hasClass("wcMobile");e.pull(e._controls),e.buildControls(t),e._panel.finishLoading(400)},100)});var s=$('');e._panel.layout().addItem(s,1,a).stretch("25%",""),s.click(function(){var t=e.build();e.apply(t),s.addClass("wcButtonActive")}),e.$activeTheme&&e.$activeTheme.parent().length&&s.addClass("wcButtonActive");var l=$('');e._panel.layout().addItem(l,2,a).stretch("25%",""),l.click(function(){e._panel.startLoading(),setTimeout(function(){e.buildControls(!t),e._panel.docker().__update(),e._panel.finishLoading(400)},100)}),t&&l.addClass("wcButtonActive");var c=$('');e._panel.layout().addItem(c,3,a).stretch("25%",""),c.click(function(){var t=e.build(),a=new Blob([t],{type:"text/plain;charset=utf-8"});saveAs(a,"myTheme.css")}),e._panel.layout().finishBatch();for(var r=0;r
'),t.addItem(i,0,r,5).stretch("","100%").css("position","relative")):(i=$("
"),t.addItem(i,0,r,5).css("height","auto"));var n=new a(i,this._panel);t._childFrames.push(n),n.moveable(!1),e.orientation&&n.tabOrientation(e.orientation);for(var s=0;s",0,a,5).stretch("","100%"),o.finishBatch()},addSpacer:function(t,e,a,r){e.name?t.addItem('
'+e.name+"
",0,a,4).stretch("100%",""):t.addItem('
',0,a,4).stretch("100%","")},addColorControl:function(t,e,a,r){function o(t){t?e[c]=t.toRgbString():e[c]=null,!r&&e.isMobileDisabled&&(e.mobileValue=e.value),l.onChanged()}var i=null,n=null,s=null,l=this,c="value",h="isDisabled";r&&(c="mobileValue",h="isMobileDisabled"),n=$('"),t.addItem(n,1,a).stretch("1%","").css("text-align","right"),s=$(''),t.addItem(s,2,a,2).stretch("100%",""),s.spectrum({color:e[c],showAlpha:!0,showPalette:!0,showInput:!0,showInitial:!0,allowEmpty:!0,clickoutFiresChange:!0,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],selectionPalette:[],maxSelectionSize:8,localStorageKey:"theme.colors",preferredFormat:"hex3",change:o,move:o,hide:o}),e.grouped?i=this._lastCheckbox:(i=$(''),t.addItem(i,0,a).stretch("1%",""),i.attr("checked",!e[h]),this._lastCheckbox=i),i.change(function(){e[h]=!this.checked,s.spectrum(this.checked?"enable":"disable"),l.onChanged()}),e[h]&&s.spectrum("disable")},addTextControl:function(t,e,a,r){var o=null,i=null,n=null,s=this,l="value",c="isDisabled";r&&(l="mobileValue",c="isMobileDisabled"),i=$('"),t.addItem(i,1,a).stretch("1%","").css("text-align","right"),n=$(''),t.addItem(n,2,a,2).stretch("100%",""),n.val(e[l]),n.change(function(){e[l]=$(this).val(),!r&&e.isMobileDisabled&&(e.mobileValue=e.value),s.onChanged()}),e.grouped?o=this._lastCheckbox:(o=$(''),t.addItem(o,0,a).stretch("1%",""),o.attr("checked",!e[c]),this._lastCheckbox=o),o.change(function(){e[c]=!this.checked,n.attr("disabled",!this.checked),s.onChanged()}),e[c]&&n.attr("disabled",!0)},addPixelControl:function(t,e,a,r){var o=null,i=null,n=null,s=this,l="value",c="isDisabled";r&&(l="mobileValue",c="isMobileDisabled"),i=$('"),t.addItem(i,1,a).stretch("1%","").css("text-align","right"),n=$(''),t.addItem(n,2,a,2).stretch("100%",""),n.val(parseInt(e[l])),n.change(function(){e[l]=$(this).val()+"px",!r&&e.isMobileDisabled&&(e.mobileValue=e.value),s.onChanged()}),e.grouped?o=this._lastCheckbox:(o=$(''),t.addItem(o,0,a).stretch("1%",""),o.attr("checked",!e[c]),this._lastCheckbox=o),o.change(function(){e[c]=!this.checked,n.attr("disabled",!this.checked),s.onChanged()}),e[c]&&n.attr("disabled",!0)},addListControl:function(t){return function(e,a,r,o){var i=null,n=null,s=null,l=this,c="value",h="isDisabled";o&&(c="mobileValue",h="isMobileDisabled"),n=$('"),e.addItem(n,1,r).stretch("1%","").css("text-align","right"),s=$(''),e.addItem(s,2,r,2).stretch("100%","");for(var u=0;u"+d+""))}s.change(function(){a[c]=$(this).val(),!o&&a.isMobileDisabled&&(a.mobileValue=a.value),l.onChanged()}),a.grouped?i=this._lastCheckbox:(i=$(''),e.addItem(i,0,r).stretch("1%",""),i.attr("checked",!a[h]),this._lastCheckbox=i),i.change(function(){a[h]=!this.checked,s.attr("disabled",!this.checked),l.onChanged()}),a[h]&&s.attr("disabled",!0)}},build:function(t,e){var a=!1;t||(t={},e=this._controls,a=!0);for(var r=0;r'),$("head").append(this.$activeTheme),this.$activeTheme.text(t),this._panel.docker().__update()},pull:function(t,e){e||(this._objMapping={},this._tempItems=[]);var a=!1,r=$("body").hasClass("wcMobile");$("body").removeClass("wcMobile").addClass("wcDesktop");for(var o=0;o
',name:"Font Family",info:"The font family of standard text",create:this.addTextControl,attribute:"font-family",value:""},{selector:".wcDocker",elem:'
',name:"Font Weight",info:"The font weight of the standard text",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcDocker",elem:'
',name:"Font Size",info:"The font size of standard text",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcDocker",elem:'
',name:"Font Color",info:"The font color of standard text",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{name:"Background",create:this.addSpacer},{selector:".wcDocker, .wcPanelBackground",elem:'
',name:"Color",info:"The background color to use",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcDocker, .wcPanelBackground",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcDocker, .wcPanelBackground",elem:'
',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:".wcDocker, .wcPanelBackground",elem:'
',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:".wcDocker, .wcPanelBackground",elem:'
',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:".wcDocker, .wcPanelBackground",elem:'
',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:".wcDocker, .wcPanelBackground",elem:'
',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""},{name:"",create:this.addSpacer},{name:"Modal Blocker",create:this.addSpacer},{selector:".wcModalBlocker",elem:'
',name:"Modal Blocker Color",info:"The color of the fullscreen blocker element that appears when a modal panel is visible",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{name:"Loading Screen",create:this.addSpacer},{selector:".wcLoadingIcon",elem:'
',name:"Loading Icon Color",info:"The icon color or the loading screen to use",create:this.addColorControl,attribute:"color",value:""},{selector:".wcLoadingLabel",elem:'
',name:"Loading Label Color",info:"The label color or the loading screen to use",create:this.addColorControl,attribute:"color",value:""},{selector:".wcLoadingBackground",elem:'
',name:"Loading Screen Color",info:"The background color or the loading screen to use",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer },{name:"Ghost",create:this.addSpacer},{selector:".wcGhost",elem:'
',name:"Ghost Color",info:"The ghost color, this is the overlay that shows where a moving panel is being moved",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcGhost",elem:'
',name:"Ghost Border Radius",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:'
',name:"Edge Color",info:"The color of a floating frame",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcFrameEdge",elem:'
',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:'
',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:'
',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:'
',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:'
',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:'
',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:'
',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:'
',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:'
',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:'
',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:'
',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:'
',name:"Flash Color",info:"The color of the panel when it focus flashes.",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcFrameShadower",elem:'
',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:[{name:"Button Normal State",create:this.addSpacer},{selector:".wcFrameButton",elem:'
',name:"Size",info:"The size of a panel button",create:this.addPixelControl,attribute:"width,height",notValue:"0px",value:""},{selector:".wcFrameButton",elem:'
',name:"Font Size",info:"The font size of a panel button",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcFrameButton",elem:'
',name:"Font Weight",info:"The font weight of a panel button",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcFrameButton",elem:'
',name:"Font Color",info:"The font color of a panel button",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton",elem:'
',name:"Color",info:"The color of a panel button",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton",elem:'
',name:"Border Style",info:"The border style of a panel button",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcFrameButton",elem:'
',name:"Border Size",info:"The border size of a panel button",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcFrameButton",elem:'
',name:"Border Color",info:"The border color of a panel button",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcFrameButton",elem:'
',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:".wcFrameButton",elem:'
',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:".wcFrameButton",elem:'
',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:".wcFrameButton",elem:'
',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:".wcFrameButton",elem:'
',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Button Hover State",create:this.addTab,controls:[{name:"Button Hover State",create:this.addSpacer},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Size",info:"The size of a panel button",create:this.addPixelControl,attribute:"width,height",notValue:"0px",value:""},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Font Size",info:"The font size of a panel button",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Font Weight",info:"The font weight of a panel button",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Font Color",info:"The font color of a panel button",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Color",info:"The color of a panel button",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Border Style",info:"The border style of a panel button",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Border Size",info:"The border size of a panel button",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Border Color",info:"The border color of a panel button",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',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:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',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:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',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:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',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:".wcFrameButton:hover, .wcFrameButtonHover",elem:'
',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Button Active State",create:this.addTab,controls:[{name:"Button Active State",create:this.addSpacer},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Size",info:"The size of a panel button",create:this.addPixelControl,attribute:"width,height",notValue:"0px",value:""},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Font Size",info:"The font size of a panel button",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Font Weight",info:"The font weight of a panel button",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Font Color",info:"The font color of a panel button",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Color",info:"The color of a panel button",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Border Style",info:"The border style of a panel button",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Border Size",info:"The border size of a panel button",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Border Color",info:"The border color of a panel button",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',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:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',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:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',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:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',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:".wcFrameButton:active, .wcFrameButtonActive",elem:'
',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]}]}]},{name:"Layout",scrollable:!0,create:this.addTab,controls:[{name:"Layout Grid",create:this.addSpacer},{selector:".wcLayoutGridAlternate tr:nth-child(even), .wcLayoutGridAltColor",elem:'
',name:"Odd Row Color",info:"When a layout grid alternate mode is enabled, this is the color to use for each alternate row",create:this.addColorControl,attribute:"background-color",value:"",important:!0},{selector:".wcLayoutGrid, .wcLayoutGrid tr, .wcLayoutGrid td",elem:'
',name:"Border Style",info:"When a layout grid is visible, this is the style of the grid lines",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcLayoutGrid, .wcLayoutGrid tr, .wcLayoutGrid td",elem:'
',name:"Border Size",info:"When a layout grid is visible, this is the size of the grid lines",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcLayoutGrid, .wcLayoutGrid tr, .wcLayoutGrid td",elem:'
',name:"Border Color",info:"When a layout grid is visible, this is the color of the grid lines",create:this.addColorControl,attribute:"border-color",value:""}]},{name:"Tabs",scrollable:!0,create:this.addTab,controls:[{name:"Tab Bar",create:this.addSpacer},{selector:".wcFrameTitleBar",elem:'
',name:"Size",info:"The size of the tab bar.",create:this.addPixelControl,attribute:"height",notValue:"0px",value:"",also:[{selector:".wcFrameCenter",attribute:"top"}]},{selector:".wcFrameTitle",elem:'
',name:"Top Offset",info:"The top offset of the tab bar",create:this.addPixelControl,attribute:"padding-top",value:""},{selector:".wcFrameTitleBar",elem:'
',name:"Color",info:"The color of the tab bar",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{name:"Title Bar",create:this.addSpacer},{selector:".wcFrameTitle",elem:'
',name:"Font Size",info:"The font size of the title bar",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcFrameTitle",elem:'
',name:"Font Weight",info:"The font weight of a title bar",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcFrameTitle",elem:'
',name:"Font Color",info:"The font color of the title bar",create:this.addColorControl,attribute:"color",value:""},{selector:".wcFrameTitle",elem:'
',name:"Color",info:"The background color of the title bar",create:this.addColorControl,attribute:"background-color",value:""},{selector:".wcFrameTitle",attribute:"font-weight",value:"bold"},{selector:".wcFrameTitle",attribute:"text-align",value:"center"},{name:"",create:this.addSpacer},{name:"Tab Items",create:this.addSpacer},{create:this.addTabFrame,controls:[{name:"Tab Normal State",create:this.addTab,controls:[{name:"Tab Normal State",create:this.addSpacer},{selector:".wcPanelTab > div",elem:'
',name:"Font Top Offset",info:"The font top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTab",elem:'
',name:"Font Size",info:"The font size of a tab item",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcPanelTab",elem:'
',name:"Font Weight",info:"The font weight of a tab item",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcPanelTab",elem:'
',name:"Font Padding",info:"The padding between text and tab border",create:this.addPixelControl,attribute:"padding-left,padding-right",value:""},{selector:".wcPanelTab",elem:'
',name:"Font Color",info:"The font color of a tab item",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTab",elem:'
',name:"Top Offset",info:"The top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTab",elem:'
',name:"Height",info:"The height of a tab item",create:this.addPixelControl,attribute:"height",notValue:"0px",value:""},{selector:".wcPanelTab",elem:'
',name:"Spacing",info:"The spacing between tab items",create:this.addPixelControl,attribute:"margin-right",value:""},{selector:".wcPanelTab",elem:'
',name:"Color",info:"The color of a tab item",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTab",elem:'
',name:"Border Style",info:"The border style of a tab item",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcPanelTab",elem:'
',name:"Border Size",info:"The border size of a tab item",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcPanelTab",elem:'
',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:".wcPanelTab",elem:'
',name:"Border Color",info:"The border color of a tab item",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTab",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcPanelTab",elem:'
',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:".wcPanelTab",elem:'
',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:".wcPanelTab",elem:'
',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:".wcPanelTab",elem:'
',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:".wcPanelTab",elem:'
',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 Hover State",create:this.addTab,controls:[{name:"Tab Hover State",create:this.addSpacer},{selector:".wcPanelTab:hover > div, .wcPanelTabHover > div",elem:'
',name:"Font Top Offset",info:"The font top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Font Size",info:"The font size of a tab item",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Font Weight",info:"The font weight of a tab item",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Font Padding",info:"The padding between text and tab border",create:this.addPixelControl,attribute:"padding-left,padding-right",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Font Color",info:"The font color of a tab item",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Top Offset",info:"The top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Height",info:"The height of a tab item",create:this.addPixelControl,attribute:"height",notValue:"0px",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Spacing",info:"The spacing between tab items",create:this.addPixelControl,attribute:"margin-right",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Color",info:"The color of a tab item",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Border Style",info:"The border style of a tab item",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Border Size",info:"The border size of a tab item",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',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:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Border Color",info:"The border color of a tab item",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',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:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',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:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',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:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',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:".wcPanelTab:hover, .wcPanelTabHover",elem:'
',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 State",create:this.addTab,controls:[{name:"Tab Active State",create:this.addSpacer},{selector:".wcPanelTabActive > div",elem:'
',name:"Font Top Offset",info:"The font top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Font Size",info:"The font size of a tab item",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Font Weight",info:"The font weight of a tab item",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Font Padding",info:"The padding between text and tab border",create:this.addPixelControl,attribute:"padding-left,padding-right",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Font Color",info:"The font color of a tab item",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTabActive",elem:'
',name:"Top Offset",info:"The top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Height",info:"The height of a tab item",create:this.addPixelControl,attribute:"height",notValue:"0px",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Spacing",info:"The spacing between tab items",create:this.addPixelControl,attribute:"margin-right",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Color",info:"The color of a tab item",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTabActive",elem:'
',name:"Border Style",info:"The border style of a tab item",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcPanelTabActive",elem:'
',name:"Border Size",info:"The border size of a tab item",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcPanelTabActive",elem:'
',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",elem:'
',name:"Border Color",info:"The border color of a tab item",create:this.addColorControl, attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTabActive",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcPanelTabActive",elem:'
',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:'
',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:'
',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:'
',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:'
',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:'
',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:'
',name:"Font Size",info:"The font size of a tab item",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'
',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:'
',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:'
',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:'
',name:"Top Offset",info:"The top offset of a tab item",create:this.addPixelControl,attribute:"margin-top",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'
',name:"Height",info:"The height of a tab item",create:this.addPixelControl,attribute:"height",notValue:"0px",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'
',name:"Spacing",info:"The spacing between tab items",create:this.addPixelControl,attribute:"margin-right",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'
',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:'
',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:'
',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:'
',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:'
',name:"Border Color",info:"The border color of a tab item",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'
',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcPanelTabActive:hover, .wcPanelTabActiveHover",elem:'
',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:hover, .wcPanelTabActiveHover",elem:'
',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:hover, .wcPanelTabActiveHover",elem:'
',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:hover, .wcPanelTabActiveHover",elem:'
',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:hover, .wcPanelTabActiveHover",elem:'
',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]}]}]},{name:"Menus",scrollable:!0,create:this.addTab,controls:[{name:"Context Menu",create:this.addSpacer},{selector:".wcMenuList, .context-menu-list",elem:'
    ',name:"Border Style",info:"The border style of the context menu",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcMenuList, .context-menu-list",elem:'
      ',name:"Border Size",info:"The border size of the context menu",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcMenuList, .context-menu-list",elem:'
        ',name:"Border Color",info:"The border color of the context menu",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{name:"Menu Separator Bar",create:this.addSpacer},{selector:".wcMenuSeparator, .context-menu-separator",elem:'
      • ',name:"Color",info:"The background color of the context menu separator bar",create:this.addColorControl,attribute:"background-color",value:"",important:!0},{selector:".wcMenuSeparator, .context-menu-separator",elem:'
      • ',name:"Border Style",info:"The border style of the context menu separator bar",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcMenuSeparator, .context-menu-separator",elem:'
      • ',name:"Border Size",info:"The border size of the context menu separator bar",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcMenuSeparator, .context-menu-separator",elem:'
      • ',name:"Border Color",info:"The border color of the context menu separator bar",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{name:"Menu Items",create:this.addSpacer},{create:this.addTabFrame,controls:[{name:"Menu Normal State",create:this.addTab,controls:[{name:"Menu Normal State",create:this.addSpacer},{selector:".wcMenuList, .wcMenuItem, .context-menu-list, .context-menu-item",elem:'
      • ',name:"Font Family",info:"The font family of the context menu.",create:this.addTextControl,attribute:"font-family",value:""},{selector:".wcMenuList, .wcMenuItem, .context-menu-list, .context-menu-item",elem:'
      • ',name:"Font Weight",info:"The font weight of the context menu.",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcMenuList, .wcMenuItem, .context-menu-list, .context-menu-item",elem:'
      • ',name:"Font Size",info:"The font size of the context menu.",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcMenuList, .wcMenuItem, .context-menu-list, .context-menu-item",elem:'
      • ',name:"Font Color",info:"The font color of the context menu.",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcMenuList, .wcMenuItem, .context-menu-list, .context-menu-item",elem:'
      • ',name:"Color",info:"The background color of the context menu",create:this.addColorControl,attribute:"background-color",value:""}]},{name:"Menu Hover State",create:this.addTab,controls:[{name:"Menu Hover State",create:this.addSpacer},{selector:".wcMenuItemHover, .wcMenuItem:hover, .context-menu-item.hover",elem:'
      • ',name:"Font Family",info:"The font family of the context menu.",create:this.addTextControl,attribute:"font-family",value:""},{selector:".wcMenuItemHover, .wcMenuItem:hover, .context-menu-item.hover",elem:'
      • ',name:"Font Weight",info:"The font weight of the context menu.",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcMenuItemHover, .wcMenuItem:hover, .context-menu-item.hover",elem:'
      • ',name:"Font Size",info:"The font size of the context menu.",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcMenuItemHover, .wcMenuItem:hover, .context-menu-item.hover",elem:'
      • ',name:"Font Color",info:"The font color of the context menu.",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcMenuItemHover, .wcMenuItem:hover, .context-menu-item.hover",elem:'
      • ',name:"Color",info:"The background color of the context menu",create:this.addColorControl,attribute:"background-color",value:""}]},{name:"Menu Disabled State",create:this.addTab,controls:[{name:"Menu Disabled State",create:this.addSpacer},{selector:".wcMenuItem.disabled, .context-menu-item.disabled",elem:'
      • ',name:"Font Family",info:"The disabled font family of the context menu.",create:this.addTextControl,attribute:"font-family",value:""},{selector:".wcMenuItem.disabled, .context-menu-item.disabled",elem:'
      • ',name:"Font Weight",info:"The disabled font weight of the context menu.",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcMenuItem.disabled, .context-menu-item.disabled",elem:'
      • ',name:"Font Size",info:"The disabled font size of the context menu.",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcMenuItem.disabled, .context-menu-item.disabled",elem:'
      • ',name:"Font Color",info:"The disabled font color of the context menu.",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcMenuItem.disabled, .context-menu-item.disabled",elem:'
      • ',name:"Color",info:"The disabled background color of the context menu",create:this.addColorControl,attribute:"background-color",value:""}]}]}]},{name:"Scrollbar",scrollable:!0,create:this.addTab,controls:[{name:"Scrollbar (Chrome Only)",create:this.addSpacer},{selector:".wcScrollbar, ::-webkit-scrollbar",elem:'
        ',name:"Size",info:"The thickness of the scrollbar",create:this.addPixelControl,attribute:"width,height",notValue:"0px",value:""},{selector:".wcScrollbar, ::-webkit-scrollbar, .wcScrollbarCorner, ::-webkit-scrollbar-corner",elem:'
        ',name:"Color",info:"The color of the scrollbar",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',name:"Border Style",info:"The border style of the scrollbar track",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',name:"Border Size",info:"The border size of the scrollbar track",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',name:"Border Radius",info:"The border radius of the scrollbar track",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',name:"Border Color",info:"The border color of the scrollbar track",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',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:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',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:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',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:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',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:".wcScrollbarTrack, ::-webkit-scrollbar-track",elem:'
        ',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""},{name:"",create:this.addSpacer},{name:"Scrollbar Thumb Control (Chrome Only)",create:this.addSpacer},{create:this.addTabFrame,controls:[{name:"Thumb Normal State",create:this.addTab,controls:[{name:"Thumb Normal State",create:this.addSpacer},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Color",info:"The background color of the scrollbar thumb control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Border Style",info:"The border style of the scrollbar thumb control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Border Size",info:"The border size of the scrollbar thumb control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Border Radius",info:"The border radius of the scrollbar thumb control",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Border Color",info:"The border color of the scrollbar thumb control",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',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:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',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:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',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:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',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:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Thumb Hover State",create:this.addTab,controls:[{name:"Thumb Hover State",create:this.addSpacer},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Color",info:"The background color of the scrollbar thumb control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',name:"Border Style",info:"The border style of the scrollbar thumb control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',name:"Border Size",info:"The border size of the scrollbar thumb control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',name:"Border Radius",info:"The border radius of the scrollbar thumb control",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',name:"Border Color",info:"The border color of the scrollbar thumb control",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',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:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',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:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',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:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',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:".wcScrollbarThumbHover, .wcScrollBarThumb:hover, ::-webkit-scrollbar-thumb:hover",elem:'
        ',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Thumb Active State",create:this.addTab,controls:[{name:"Thumb Active State",create:this.addSpacer},{selector:".wcScrollbarThumb, ::-webkit-scrollbar-thumb",elem:'
        ',name:"Color",info:"The background color of the scrollbar thumb control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',name:"Border Style",info:"The border style of the scrollbar thumb control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',name:"Border Size",info:"The border size of the scrollbar thumb control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',name:"Border Radius",info:"The border radius of the scrollbar thumb control",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"},{selector:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',name:"Border Color",info:"The border color of the scrollbar thumb control",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',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:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',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:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',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:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',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:".wcScrollbarThumbActive, .wcScrollBarThumb:active, ::-webkit-scrollbar-thumb:active",elem:'
        ',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]}]}]},{name:"Controls",scrollable:!0,create:this.addTab,controls:[{create:this.addTabFrame,controls:[{name:"Inputs",create:this.addTab,controls:[{name:"Input Controls",create:this.addSpacer},{selector:".wcInput, input",elem:'',name:"Font Family",info:"The font family of the control",create:this.addTextControl,attribute:"font-family",value:""},{selector:".wcInput, input",elem:'',name:"Font Weight",info:"The font weight of the control",create:this.addListControl(this._fontWeights),attribute:"font-weight",value:""},{selector:".wcInput, input",elem:'',name:"Font Size",info:"The font size of the control",create:this.addPixelControl,attribute:"font-size",value:""},{selector:".wcInput, input",elem:'',name:"Font Color",info:"The font color of the control",create:this.addColorControl,attribute:"color",value:""},{name:"",create:this.addSpacer},{selector:".wcInput, input",elem:'',name:"Color",info:"The color of the control",create:this.addColorControl,attribute:"background-color",value:""},{name:"",create:this.addSpacer},{selector:".wcInput, input",elem:'',name:"Border Style",info:"The border style of the control",create:this.addListControl(this._borderStyles),attribute:"border-style",value:""},{selector:".wcInput, input",elem:'',name:"Border Size",info:"The border size of the control",create:this.addPixelControl,attribute:"border-width",value:"0px",mobileValue:"0px"},{selector:".wcInput, input",elem:'',name:"Border Radius",info:"The border radius of the control",create:this.addPixelControl,attribute:"border-radius",value:"0px",mobileValue:"0px"},{selector:".wcInput, input",elem:'',name:"Border Color",info:"The border color of the control",create:this.addColorControl,attribute:"border-color",value:""},{name:"",create:this.addSpacer},{selector:".wcInput, input",elem:'',name:"Box-Shadow Style",info:"The box shadow style",create:this.addListControl(this._shadowStyle),parser:this._parseBoxShadowStyle,attribute:"box-shadow",value:""},{selector:".wcInput, input",elem:'',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:".wcInput, input",elem:'',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:".wcInput, input",elem:'',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:".wcInput, input",elem:'',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:".wcInput, input",elem:'',name:"Box-Shadow Color",info:"The box shadow color",create:this.addColorControl,parser:this._parseBoxShadowColor,attribute:"box-shadow",append:!0,grouped:!0,value:""}]},{name:"Combo Boxes",create:this.addTab,controls:[{ diff --git a/Code/docker.js b/Code/docker.js index 3e4db76f..6e59f12c 100755 --- a/Code/docker.js +++ b/Code/docker.js @@ -1490,6 +1490,7 @@ define([ self._draggingSplitter.$pane[1].removeClass('wcResizing'); } + self._creatingPanel = false; self._draggingSplitter = null; self._draggingFrame = null; self._draggingFrameSizer = null;