webui: restructure webui/extjs source files
I want to keep the 3rd-party packages away from the main source where possible.
|
@ -99,10 +99,12 @@ extjs_root(http_connection_t *hc, const char *remain, void *opaque)
|
|||
"<link rel=\"stylesheet\" type=\"text/css\" href=\""EXTJSPATH"/resources/css/ext-all-notheme%s.css\">\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\""EXTJSPATH"/resources/css/xtheme-blue.css\">\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"static/livegrid/resources/css/ext-ux-livegrid.css\">\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"static/extjs/examples/ux/gridfilters/css/GridFilters.css\">\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"static/extjs/examples/ux/gridfilters/css/RangeMenu.css\">\n"
|
||||
"<link rel=\"stylesheet\" type=\"text/css\" href=\"static/app/ext.css\">\n",
|
||||
tvheadend_webui_debug ? "-debug" : "",
|
||||
tvheadend_webui_debug ? "-debug" : "",
|
||||
tvheadend_webui_debug ? "" : "-min");
|
||||
"");//tvheadend_webui_debug ? "" : "-min");
|
||||
|
||||
extjs_exec(hq, "Ext.BLANK_IMAGE_URL = " "'"EXTJSPATH"/resources/images/default/s.gif';");
|
||||
|
||||
|
@ -115,6 +117,15 @@ extjs_root(http_connection_t *hc, const char *remain, void *opaque)
|
|||
extjs_load(hq, "static/multiselect/multiselect.js");
|
||||
extjs_load(hq, "static/multiselect/ddview.js");
|
||||
extjs_load(hq, "static/checkcolumn/CheckColumn.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/GridFilters.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/filter/Filter.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/filter/BooleanFilter.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/filter/DateFilter.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/filter/ListFilter.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/filter/NumericFilter.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/filter/StringFilter.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/menu/ListMenu.js");
|
||||
extjs_load(hq, "static/extjs/examples/ux/gridfilters/menu/RangeMenu.js");
|
||||
|
||||
/**
|
||||
* Create a namespace for our app
|
||||
|
|
11
src/webui/static/extjs/ext-all.js
vendored
|
@ -1,6 +0,0 @@
|
|||
2010-03-16 jwr:
|
||||
The CSS file, yourtheme.css, is an exact copy of xtheme-blue.css. Feel free to edit the images inside the yourtheme image directory to build your custom theme--just remember to update your background-image file paths in yourtheme.css.
|
||||
|
||||
2006-11-21 jvs:
|
||||
ext-all.css contains all of the other css files combined and stripped of comments (except themes).
|
||||
|
6993
src/webui/static/extjs/resources/css/ext-all.css
vendored
|
@ -1,7 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}img,body,html{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}
|
|
@ -1,45 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-combo-list {
|
||||
border:1px solid;
|
||||
zoom:1;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.x-combo-list-inner {
|
||||
overflow:auto;
|
||||
position:relative; /* for calculating scroll offsets */
|
||||
zoom:1;
|
||||
overflow-x:hidden;
|
||||
}
|
||||
|
||||
.x-combo-list-hd {
|
||||
border-bottom:1px solid;
|
||||
padding:3px;
|
||||
}
|
||||
|
||||
.x-resizable-pinned .x-combo-list-inner {
|
||||
border-bottom:1px solid;
|
||||
}
|
||||
|
||||
.x-combo-list-item {
|
||||
padding:2px;
|
||||
border:1px solid;
|
||||
white-space: nowrap;
|
||||
overflow:hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.x-combo-list .x-combo-selected{
|
||||
border:1px dotted !important;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.x-combo-list .x-toolbar {
|
||||
border-top:1px solid;
|
||||
border-bottom:0 none;
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
#x-debug-browser .x-tree .x-tree-node a span {
|
||||
padding-top:2px;
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tool-toggle {
|
||||
background-position:0 -75px;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tool-toggle-over {
|
||||
background-position:-15px -75px;
|
||||
}
|
||||
|
||||
#x-debug-browser.x-panel-collapsed .x-tool-toggle {
|
||||
background-position:0 -60px;
|
||||
}
|
||||
|
||||
#x-debug-browser.x-panel-collapsed .x-tool-toggle-over {
|
||||
background-position:-15px -60px;
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-progress-wrap {
|
||||
border:1px solid;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.x-progress-inner {
|
||||
height:18px;
|
||||
background:repeat-x;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
.x-progress-bar {
|
||||
height:18px;
|
||||
float:left;
|
||||
width:0;
|
||||
background: repeat-x left center;
|
||||
border-top:1px solid;
|
||||
border-bottom:1px solid;
|
||||
border-right:1px solid;
|
||||
}
|
||||
|
||||
.x-progress-text {
|
||||
padding:1px 5px;
|
||||
overflow:hidden;
|
||||
position:absolute;
|
||||
left:0;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.x-progress-text-back {
|
||||
line-height:16px;
|
||||
}
|
||||
|
||||
.ext-ie .x-progress-text-back {
|
||||
line-height:15px;
|
||||
}
|
||||
|
||||
.ext-strict .ext-ie7 .x-progress-text-back{
|
||||
width: 100%;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}img,body,html{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}
|
||||
|
||||
.ext-forced-border-box, .ext-forced-border-box * {
|
||||
-moz-box-sizing: border-box;
|
||||
-ms-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-panel-noborder .x-panel-header-noborder {
|
||||
border-bottom-color:#343d4e;
|
||||
}
|
||||
|
||||
.x-panel-noborder .x-panel-tbar-noborder .x-toolbar {
|
||||
border-bottom-color:#343d4e;
|
||||
}
|
||||
|
||||
.x-panel-noborder .x-panel-bbar-noborder .x-toolbar {
|
||||
border-top-color:#343d4e;
|
||||
}
|
||||
|
||||
.x-tab-panel-bbar-noborder .x-toolbar {
|
||||
border-top-color:#343d4e;
|
||||
}
|
||||
|
||||
.x-tab-panel-tbar-noborder .x-toolbar {
|
||||
border-bottom-color:#343d4e;
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-dd-drag-ghost{
|
||||
color:#000;
|
||||
font: normal 14px arial, helvetica, sans-serif;
|
||||
border-color: #ddd #bbb #bbb #ddd;
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
.x-dd-drop-nodrop .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-no.gif);
|
||||
}
|
||||
|
||||
.x-dd-drop-ok .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-yes.gif);
|
||||
}
|
||||
|
||||
.x-dd-drop-ok-add .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-add.gif);
|
||||
}
|
||||
|
||||
.x-view-selector {
|
||||
background-color:#c3daf9;
|
||||
border-color:#3399bb;
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
#x-debug-browser .x-tree .x-tree-node a span {
|
||||
color:#222297;
|
||||
font-size:14px;
|
||||
font-family:"monotype","courier new",sans-serif;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree a i {
|
||||
color:#ff4545;
|
||||
font-style:normal;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree a em {
|
||||
color:#999;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree .x-tree-node .x-tree-selected a span{
|
||||
background-color:#c3daf9;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-html-editor-wrap {
|
||||
border-color:#737B8C;
|
||||
background-color:#fff;
|
||||
}
|
||||
.x-html-editor-wrap iframe {
|
||||
background-color: #fff;
|
||||
}
|
||||
.x-html-editor-tb .x-btn-text {
|
||||
background-image:url(../images/access/editor/tb-sprite.gif);
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-progress-wrap {
|
||||
border-color:#18181a;
|
||||
}
|
||||
|
||||
.x-progress-inner {
|
||||
background-color:#232d38;
|
||||
background-image:none;
|
||||
}
|
||||
|
||||
.x-progress-bar {
|
||||
background-color:#f39a00;
|
||||
background-image:url(../images/access/progress/progress-bg.gif);
|
||||
border-top-color:#a66900;
|
||||
border-bottom-color:#a66900;
|
||||
border-right-color:#ffb941;
|
||||
height: 20px !important; /* structural override for Accessibility Theme */
|
||||
}
|
||||
|
||||
.x-progress-text {
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
color:#fff;
|
||||
padding: 0 5px !important; /* structural override for Accessibility Theme */
|
||||
}
|
||||
|
||||
.x-progress-text-back {
|
||||
color:#aaa;
|
||||
line-height: 19px;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-slider-horz, .x-slider-horz .x-slider-end, .x-slider-horz .x-slider-inner {
|
||||
background-image:url(../images/access/slider/slider-bg.png);
|
||||
}
|
||||
|
||||
.x-slider-horz .x-slider-thumb {
|
||||
background-image:url(../images/access/slider/slider-thumb.png);
|
||||
}
|
||||
|
||||
.x-slider-vert, .x-slider-vert .x-slider-end, .x-slider-vert .x-slider-inner {
|
||||
background-image:url(../images/access/slider/slider-v-bg.png);
|
||||
}
|
||||
|
||||
.x-slider-vert .x-slider-thumb {
|
||||
background-image:url(../images/access/slider/slider-v-thumb.png);
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-panel-noborder .x-panel-header-noborder {
|
||||
border-bottom-color:#d0d0d0;
|
||||
}
|
||||
|
||||
.x-panel-noborder .x-panel-tbar-noborder .x-toolbar {
|
||||
border-bottom-color:#d0d0d0;
|
||||
}
|
||||
|
||||
.x-panel-noborder .x-panel-bbar-noborder .x-toolbar {
|
||||
border-top-color:#d0d0d0;
|
||||
}
|
||||
|
||||
.x-tab-panel-bbar-noborder .x-toolbar {
|
||||
border-top-color:#d0d0d0;
|
||||
}
|
||||
|
||||
.x-tab-panel-tbar-noborder .x-toolbar {
|
||||
border-bottom-color:#d0d0d0;
|
||||
}
|
||||
|
||||
.x-border-layout-ct {
|
||||
background-color:#f0f0f0;
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-dd-drag-ghost{
|
||||
color:#000;
|
||||
font: normal 11px arial, helvetica, sans-serif;
|
||||
border-color: #ddd #bbb #bbb #ddd;
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
.x-dd-drop-nodrop .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-no.gif);
|
||||
}
|
||||
|
||||
.x-dd-drop-ok .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-yes.gif);
|
||||
}
|
||||
|
||||
.x-dd-drop-ok-add .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-add.gif);
|
||||
}
|
||||
|
||||
.x-view-selector {
|
||||
background-color:#D6D6D6;
|
||||
border-color:#888888;
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
#x-debug-browser .x-tree .x-tree-node a span {
|
||||
color:#222297;
|
||||
font-size:11px;
|
||||
font-family:"monotype","courier new",sans-serif;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree a i {
|
||||
color:#ff4545;
|
||||
font-style:normal;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree a em {
|
||||
color:#999;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree .x-tree-node .x-tree-selected a span{
|
||||
background-color:#D5D5D5;
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-window-dlg .ext-mb-text,
|
||||
.x-window-dlg .x-window-header-text {
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
.x-window-dlg .ext-mb-textarea {
|
||||
font:normal 12px tahoma,arial,helvetica,sans-serif;
|
||||
}
|
||||
|
||||
.x-window-dlg .x-msg-box-wait {
|
||||
background-image:url(../images/default/grid/loading.gif);
|
||||
}
|
||||
|
||||
.x-window-dlg .ext-mb-info {
|
||||
background-image:url(../images/gray/window/icon-info.gif);
|
||||
}
|
||||
|
||||
.x-window-dlg .ext-mb-warning {
|
||||
background-image:url(../images/gray/window/icon-warning.gif);
|
||||
}
|
||||
|
||||
.x-window-dlg .ext-mb-question {
|
||||
background-image:url(../images/gray/window/icon-question.gif);
|
||||
}
|
||||
|
||||
.x-window-dlg .ext-mb-error {
|
||||
background-image:url(../images/gray/window/icon-error.gif);
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-html-editor-wrap {
|
||||
border-color:#BCBCBC;
|
||||
background-color:#fff;
|
||||
}
|
||||
.x-html-editor-tb .x-btn-text {
|
||||
background-image:url(../images/default/editor/tb-sprite.gif);
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-list-header{
|
||||
background-color:#f9f9f9;
|
||||
background-image:url(../images/gray/grid/grid3-hrow2.gif);
|
||||
}
|
||||
|
||||
.x-list-header-inner div em {
|
||||
border-left-color:#ddd;
|
||||
font:normal 11px arial, tahoma, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.x-list-body dt em {
|
||||
font:normal 11px arial, tahoma, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.x-list-over {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.x-list-selected {
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
|
||||
.x-list-resizer {
|
||||
border-left-color:#555;
|
||||
border-right-color:#555;
|
||||
}
|
||||
|
||||
.x-list-header-inner em.sort-asc, .x-list-header-inner em.sort-desc {
|
||||
background-image:url(../images/gray/grid/sort-hd.gif);
|
||||
border-color: #d0d0d0;
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-pivotgrid .x-grid3-header-offset table td {
|
||||
background: url(../images/gray/grid/grid3-hrow2.gif) repeat-x 50% 100%;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
border-left-color: #D0D0D0;
|
||||
border-right-color: #D0D0D0;
|
||||
}
|
||||
|
||||
.x-pivotgrid .x-grid3-row-headers {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.x-pivotgrid .x-grid3-row-headers table td {
|
||||
background: #EEE url(../images/default/grid/grid3-rowheader.gif) repeat-x left top;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
border-left-color: #EEE;
|
||||
border-right-color: #D0D0D0;
|
||||
border-bottom: 1px solid;
|
||||
border-bottom-color: #D0D0D0;
|
||||
height: 18px;
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-progress-wrap {
|
||||
border-color:#8E8E8E;
|
||||
}
|
||||
|
||||
.x-progress-inner {
|
||||
background-color:#E7E7E7;
|
||||
background-image:url(../images/gray/qtip/bg.gif);
|
||||
}
|
||||
|
||||
.x-progress-bar {
|
||||
background-color:#BCBCBC;
|
||||
background-image:url(../images/gray/progress/progress-bg.gif);
|
||||
border-top-color:#E2E2E2;
|
||||
border-bottom-color:#A4A4A4;
|
||||
border-right-color:#A4A4A4;
|
||||
}
|
||||
|
||||
.x-progress-text {
|
||||
font-size:11px;
|
||||
font-weight:bold;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.x-progress-text-back {
|
||||
color:#5F5F5F;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-slider-horz, .x-slider-horz .x-slider-end, .x-slider-horz .x-slider-inner {
|
||||
background-image:url(../images/default/slider/slider-bg.png);
|
||||
}
|
||||
|
||||
.x-slider-horz .x-slider-thumb {
|
||||
background-image:url(../images/gray/slider/slider-thumb.png);
|
||||
}
|
||||
|
||||
.x-slider-vert, .x-slider-vert .x-slider-end, .x-slider-vert .x-slider-inner {
|
||||
background-image:url(../images/default/slider/slider-v-bg.png);
|
||||
}
|
||||
|
||||
.x-slider-vert .x-slider-thumb {
|
||||
background-image:url(../images/gray/slider/slider-v-thumb.png);
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-panel-noborder .x-panel-header-noborder {
|
||||
border-bottom-color:#99bbe8;
|
||||
}
|
||||
|
||||
.x-panel-noborder .x-panel-tbar-noborder .x-toolbar {
|
||||
border-bottom-color:#99bbe8;
|
||||
}
|
||||
|
||||
.x-panel-noborder .x-panel-bbar-noborder .x-toolbar {
|
||||
border-top-color:#99bbe8;
|
||||
}
|
||||
|
||||
.x-tab-panel-bbar-noborder .x-toolbar {
|
||||
border-top-color:#99bbe8;
|
||||
}
|
||||
|
||||
.x-tab-panel-tbar-noborder .x-toolbar {
|
||||
border-bottom-color:#99bbe8;
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-dd-drag-ghost{
|
||||
color:#000;
|
||||
font: normal 11px arial, helvetica, sans-serif;
|
||||
border-color: #ddd #bbb #bbb #ddd;
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
.x-dd-drop-nodrop .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-no.gif);
|
||||
}
|
||||
|
||||
.x-dd-drop-ok .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-yes.gif);
|
||||
}
|
||||
|
||||
.x-dd-drop-ok-add .x-dd-drop-icon{
|
||||
background-image: url(../images/default/dd/drop-add.gif);
|
||||
}
|
||||
|
||||
.x-view-selector {
|
||||
background-color:#c3daf9;
|
||||
border-color:#3399bb;
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
#x-debug-browser .x-tree .x-tree-node a span {
|
||||
color:#222297;
|
||||
font-size:11px;
|
||||
font-family:"monotype","courier new",sans-serif;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree a i {
|
||||
color:#ff4545;
|
||||
font-style:normal;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree a em {
|
||||
color:#999;
|
||||
}
|
||||
|
||||
#x-debug-browser .x-tree .x-tree-node .x-tree-selected a span{
|
||||
background-color:#c3daf9;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-html-editor-wrap {
|
||||
border-color:#a9bfd3;
|
||||
background-color:#fff;
|
||||
}
|
||||
.x-html-editor-tb .x-btn-text {
|
||||
background-image:url(../images/default/editor/tb-sprite.gif);
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-list-header{
|
||||
background-color:#f9f9f9;
|
||||
background-image:url(../images/default/grid/grid3-hrow.gif);
|
||||
}
|
||||
|
||||
.x-list-header-inner div em {
|
||||
border-left-color:#ddd;
|
||||
font:normal 11px arial, tahoma, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.x-list-body dt em {
|
||||
font:normal 11px arial, tahoma, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.x-list-over {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.x-list-selected {
|
||||
background-color:#dfe8f6;
|
||||
}
|
||||
|
||||
.x-list-resizer {
|
||||
border-left-color:#555;
|
||||
border-right-color:#555;
|
||||
}
|
||||
|
||||
.x-list-header-inner em.sort-asc, .x-list-header-inner em.sort-desc {
|
||||
background-image:url(../images/default/grid/sort-hd.gif);
|
||||
border-color: #99bbe8;
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-pivotgrid .x-grid3-header-offset table td {
|
||||
background: url(../images/default/grid/grid3-hrow.gif) repeat-x 50% 100%;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
border-left-color: #EEE;
|
||||
border-right-color: #D0D0D0;
|
||||
}
|
||||
|
||||
.x-pivotgrid .x-grid3-row-headers {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.x-pivotgrid .x-grid3-row-headers table td {
|
||||
background: #EEE url(../images/default/grid/grid3-rowheader.gif) repeat-x left top;
|
||||
border-left: 1px solid;
|
||||
border-right: 1px solid;
|
||||
border-left-color: #EEE;
|
||||
border-right-color: #D0D0D0;
|
||||
border-bottom: 1px solid;
|
||||
border-bottom-color: #D0D0D0;
|
||||
height: 18px;
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-progress-wrap {
|
||||
border-color:#6593cf;
|
||||
}
|
||||
|
||||
.x-progress-inner {
|
||||
background-color:#e0e8f3;
|
||||
background-image:url(../images/default/qtip/bg.gif);
|
||||
}
|
||||
|
||||
.x-progress-bar {
|
||||
background-color:#9cbfee;
|
||||
background-image:url(../images/default/progress/progress-bg.gif);
|
||||
border-top-color:#d1e4fd;
|
||||
border-bottom-color:#7fa9e4;
|
||||
border-right-color:#7fa9e4;
|
||||
}
|
||||
|
||||
.x-progress-text {
|
||||
font-size:11px;
|
||||
font-weight:bold;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.x-progress-text-back {
|
||||
color:#396095;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
.x-slider-horz, .x-slider-horz .x-slider-end, .x-slider-horz .x-slider-inner {
|
||||
background-image:url(../images/default/slider/slider-bg.png);
|
||||
}
|
||||
|
||||
.x-slider-horz .x-slider-thumb {
|
||||
background-image:url(../images/default/slider/slider-thumb.png);
|
||||
}
|
||||
|
||||
.x-slider-vert, .x-slider-vert .x-slider-end, .x-slider-vert .x-slider-inner {
|
||||
background-image:url(../images/default/slider/slider-v-bg.png);
|
||||
}
|
||||
|
||||
.x-slider-vert .x-slider-thumb {
|
||||
background-image:url(../images/default/slider/slider-v-thumb.png);
|
||||
}
|
1
vendor/ext-3.4
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
ext-3.4.1/
|
35
vendor/ext-3.4.1/INCLUDE_ORDER.txt
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
All adapter related files below are located in
|
||||
/adapters/<lib name>/ of this zip file.
|
||||
|
||||
Your include order should be:
|
||||
|
||||
Ext Stand-alone
|
||||
-------------------------------------------------------------------
|
||||
ext-base.js
|
||||
ext-all.js (or your choice of files)
|
||||
|
||||
|
||||
Yahoo! UI (.12+)
|
||||
-------------------------------------------------------------------
|
||||
yui-utilities.js
|
||||
ext-yui-adapter.js
|
||||
ext-all.js (or your choice of files)
|
||||
|
||||
|
||||
jQuery (1.1+)
|
||||
-------------------------------------------------------------------
|
||||
jquery.js
|
||||
ext-jquery-adapter.js
|
||||
ext-all.js (or your choice of files)
|
||||
|
||||
|
||||
Prototype (1.5+) / Scriptaculous (1.7+)
|
||||
-------------------------------------------------------------------
|
||||
prototype.js
|
||||
scriptaculous.js?load=effects (or whatever you want to load)
|
||||
ext-prototype-adapter.js
|
||||
ext-all.js (or your choice of files)
|
||||
|
||||
|
||||
|
||||
See the examples folders for more examples.
|
|
@ -1,9 +1,23 @@
|
|||
/*!
|
||||
* Ext JS Library 3.4.0
|
||||
* Copyright(c) 2006-2011 Sencha Inc.
|
||||
* licensing@sencha.com
|
||||
* http://www.sencha.com/license
|
||||
*/
|
||||
/*
|
||||
This file is part of Ext JS 3.4
|
||||
|
||||
Copyright (c) 2011-2013 Sencha Inc
|
||||
|
||||
Contact: http://www.sencha.com/contact
|
||||
|
||||
GNU General Public License Usage
|
||||
This file may be used under the terms of the GNU General Public License version 3.0 as
|
||||
published by the Free Software Foundation and appearing in the file LICENSE included in the
|
||||
packaging of this file.
|
||||
|
||||
Please review the following information to ensure the GNU General Public License version 3.0
|
||||
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
||||
|
||||
If you are unsure which license is appropriate for your use, please contact the sales department
|
||||
at http://www.sencha.com/contact.
|
||||
|
||||
Build date: 2013-04-03 15:07:25
|
||||
*/
|
||||
// for old browsers
|
||||
window.undefined = window.undefined;
|
||||
|
||||
|
@ -18,11 +32,11 @@ Ext = {
|
|||
* The version of the framework
|
||||
* @type String
|
||||
*/
|
||||
version : '3.4.0',
|
||||
version : '3.4.1.1',
|
||||
versionDetail : {
|
||||
major : 3,
|
||||
minor : 4,
|
||||
patch : 0
|
||||
patch : 1.1
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -65,19 +79,81 @@ Ext.apply = function(o, c, defaults){
|
|||
isSafari3 = isSafari && check(/version\/3/),
|
||||
isSafari4 = isSafari && check(/version\/4/),
|
||||
isIE = !isOpera && check(/msie/),
|
||||
isIE7 = isIE && (check(/msie 7/) || docMode == 7),
|
||||
isIE8 = isIE && (check(/msie 8/) && docMode != 7),
|
||||
isIE9 = isIE && check(/msie 9/),
|
||||
isIE6 = isIE && !isIE7 && !isIE8 && !isIE9,
|
||||
isIE7 = isIE && ((check(/msie 7/) && docMode != 8 && docMode != 9 && docMode != 10) || docMode == 7),
|
||||
isIE8 = isIE && ((check(/msie 8/) && docMode != 7 && docMode != 9 && docMode != 10) || docMode == 8),
|
||||
isIE9 = isIE && ((check(/msie 9/) && docMode != 7 && docMode != 8 && docMode != 10) || docMode == 9),
|
||||
isIE10 = isIE && ((check(/msie 10/) && docMode != 7 && docMode != 8 && docMode != 9) || docMode == 10),
|
||||
isIE6 = isIE && check(/msie 6/),
|
||||
isIE9m = isIE && (isIE6 || isIE7 || isIE8 || isIE9),
|
||||
isGecko = !isWebKit && check(/gecko/),
|
||||
isGecko2 = isGecko && check(/rv:1\.8/),
|
||||
isGecko3 = isGecko && check(/rv:1\.9/),
|
||||
isBorderBox = isIE && !isStrict,
|
||||
isBorderBox = isIE9m && !isStrict,
|
||||
isWindows = check(/windows|win32/),
|
||||
isMac = check(/macintosh|mac os x/),
|
||||
isAir = check(/adobeair/),
|
||||
isLinux = check(/linux/),
|
||||
isSecure = /^https/i.test(window.location.protocol);
|
||||
isSecure = /^https/i.test(window.location.protocol),
|
||||
noArgs = [],
|
||||
nonEnumerables = [],
|
||||
emptyFn = Ext.emptyFn,
|
||||
t = Ext.apply({}, {
|
||||
constructor: emptyFn,
|
||||
toString: emptyFn,
|
||||
valueOf: emptyFn
|
||||
}),
|
||||
callOverrideParent = function () {
|
||||
var method = callOverrideParent.caller.caller; // skip callParent (our caller)
|
||||
return method.$owner.prototype[method.$name].apply(this, arguments);
|
||||
};
|
||||
|
||||
if (t.constructor !== emptyFn) {
|
||||
nonEnumerables.push('constructor');
|
||||
}
|
||||
if (t.toString !== emptyFn) {
|
||||
nonEnumerables.push('toString');
|
||||
}
|
||||
if (t.valueOf !== emptyFn) {
|
||||
nonEnumerables.push('valueOf');
|
||||
}
|
||||
if (!nonEnumerables.length) {
|
||||
nonEnumerables = null;
|
||||
}
|
||||
|
||||
// Create the abstract Base class to provide an empty constructor and callParent implementations
|
||||
function Base () {
|
||||
//
|
||||
}
|
||||
|
||||
Ext.apply(Base, {
|
||||
$isClass: true,
|
||||
|
||||
callParent: function (args) {
|
||||
var method;
|
||||
|
||||
// This code is intentionally inlined for the least number of debugger stepping
|
||||
return (method = this.callParent.caller) && (method.$previous ||
|
||||
((method = method.$owner ? method : method.caller) &&
|
||||
method.$owner.superclass.self[method.$name])).apply(this, args || noArgs);
|
||||
}
|
||||
});
|
||||
|
||||
Base.prototype = {
|
||||
constructor: function() {
|
||||
},
|
||||
callParent: function(args) {
|
||||
// NOTE: this code is deliberately as few expressions (and no function calls)
|
||||
// as possible so that a debugger can skip over this noise with the minimum number
|
||||
// of steps. Basically, just hit Step Into until you are where you really wanted
|
||||
// to be.
|
||||
var method,
|
||||
superMethod = (method = this.callParent.caller) && (method.$previous ||
|
||||
((method = method.$owner ? method : method.caller) &&
|
||||
method.$owner.superclass[method.$name]));
|
||||
|
||||
return superMethod.apply(this, args || noArgs);
|
||||
}
|
||||
};
|
||||
|
||||
// remove css image flicker
|
||||
if(isIE6){
|
||||
|
@ -270,29 +346,375 @@ MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
|
|||
};
|
||||
}(),
|
||||
|
||||
global: (function () {
|
||||
return this;
|
||||
})(),
|
||||
|
||||
Base: Base,
|
||||
|
||||
namespaceCache: {},
|
||||
|
||||
createNamespace: function (namespaceOrClass, isClass) {
|
||||
var cache = Ext.namespaceCache,
|
||||
namespace = isClass ? namespaceOrClass.substring(0, namespaceOrClass.lastIndexOf('.'))
|
||||
: namespaceOrClass,
|
||||
ns = cache[namespace],
|
||||
i, n, part, parts, partials;
|
||||
|
||||
if (!ns) {
|
||||
ns = Ext.global;
|
||||
if (namespace) {
|
||||
partials = [];
|
||||
parts = namespace.split('.');
|
||||
|
||||
for (i = 0, n = parts.length; i < n; ++i) {
|
||||
part = parts[i];
|
||||
|
||||
ns = ns[part] || (ns[part] = {});
|
||||
partials.push(part);
|
||||
|
||||
cache[partials.join('.')] = ns; // build up prefixes as we go
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ns;
|
||||
},
|
||||
|
||||
getClassByName: function (className) {
|
||||
var parts = className.split('.'),
|
||||
cls = Ext.global,
|
||||
n = parts.length,
|
||||
i;
|
||||
|
||||
for (i = 0; cls && i < n; ++i) {
|
||||
cls = cls[parts[i]];
|
||||
}
|
||||
|
||||
return cls || null;
|
||||
},
|
||||
|
||||
addMembers: function (cls, target, members, handleNonEnumerables) {
|
||||
var i, name, member;
|
||||
|
||||
for (name in members) {
|
||||
if (members.hasOwnProperty(name)) {
|
||||
member = members[name];
|
||||
if (typeof member == 'function') {
|
||||
member.$owner = cls;
|
||||
member.$name = name;
|
||||
}
|
||||
|
||||
target[name] = member;
|
||||
}
|
||||
}
|
||||
|
||||
if (handleNonEnumerables && nonEnumerables) {
|
||||
for (i = nonEnumerables.length; i-- > 0; ) {
|
||||
name = nonEnumerables[i];
|
||||
if (members.hasOwnProperty(name)) {
|
||||
member = members[name];
|
||||
if (typeof member == 'function') {
|
||||
member.$owner = cls;
|
||||
member.$name = name;
|
||||
}
|
||||
|
||||
target[name] = member;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.
|
||||
* Usage:<pre><code>
|
||||
Ext.override(MyClass, {
|
||||
newMethod1: function(){
|
||||
// etc.
|
||||
},
|
||||
newMethod2: function(foo){
|
||||
// etc.
|
||||
}
|
||||
});
|
||||
</code></pre>
|
||||
* @param {Object} origclass The class to override
|
||||
* @param {Object} overrides The list of functions to add to origClass. This should be specified as an object literal
|
||||
* containing one or more methods.
|
||||
* @method
|
||||
* Defines a class or override. A basic class is defined like this:
|
||||
*
|
||||
* Ext.define('My.awesome.Class', {
|
||||
* someProperty: 'something',
|
||||
*
|
||||
* someMethod: function(s) {
|
||||
* alert(s + this.someProperty);
|
||||
* }
|
||||
*
|
||||
* ...
|
||||
* });
|
||||
*
|
||||
* var obj = new My.awesome.Class();
|
||||
*
|
||||
* obj.someMethod('Say '); // alerts 'Say something'
|
||||
*
|
||||
* To create an anonymous class, pass `null` for the `className`:
|
||||
*
|
||||
* Ext.define(null, {
|
||||
* constructor: function () {
|
||||
* // ...
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* In some cases, it is helpful to create a nested scope to contain some private
|
||||
* properties. The best way to do this is to pass a function instead of an object
|
||||
* as the second parameter. This function will be called to produce the class
|
||||
* body:
|
||||
*
|
||||
* Ext.define('MyApp.foo.Bar', function () {
|
||||
* var id = 0;
|
||||
*
|
||||
* return {
|
||||
* nextId: function () {
|
||||
* return ++id;
|
||||
* }
|
||||
* };
|
||||
* });
|
||||
*
|
||||
* When using this form of `Ext.define`, the function is passed a reference to its
|
||||
* class. This can be used as an efficient way to access any static properties you
|
||||
* may have:
|
||||
*
|
||||
* Ext.define('MyApp.foo.Bar', function (Bar) {
|
||||
* return {
|
||||
* statics: {
|
||||
* staticMethod: function () {
|
||||
* // ...
|
||||
* }
|
||||
* },
|
||||
*
|
||||
* method: function () {
|
||||
* return Bar.staticMethod();
|
||||
* }
|
||||
* };
|
||||
* });
|
||||
*
|
||||
* To define an override, include the `override` property. The content of an
|
||||
* override is aggregated with the specified class in order to extend or modify
|
||||
* that class. This can be as simple as setting default property values or it can
|
||||
* extend and/or replace methods. This can also extend the statics of the class.
|
||||
*
|
||||
* One use for an override is to break a large class into manageable pieces.
|
||||
*
|
||||
* // File: /src/app/Panel.js
|
||||
*
|
||||
* Ext.define('My.app.Panel', {
|
||||
* extend: 'Ext.panel.Panel',
|
||||
*
|
||||
* constructor: function (config) {
|
||||
* this.callParent(arguments); // calls Ext.panel.Panel's constructor
|
||||
* //...
|
||||
* },
|
||||
*
|
||||
* statics: {
|
||||
* method: function () {
|
||||
* return 'abc';
|
||||
* }
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* // File: /src/app/PanelPart2.js
|
||||
* Ext.define('My.app.PanelPart2', {
|
||||
* override: 'My.app.Panel',
|
||||
*
|
||||
* constructor: function (config) {
|
||||
* this.callParent(arguments); // calls My.app.Panel's constructor
|
||||
* //...
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* Another use of overrides is to provide optional parts of classes that can be
|
||||
* independently required. In this case, the class may even be unaware of the
|
||||
* override altogether.
|
||||
*
|
||||
* Ext.define('My.ux.CoolTip', {
|
||||
* override: 'Ext.tip.ToolTip',
|
||||
*
|
||||
* constructor: function (config) {
|
||||
* this.callParent(arguments); // calls Ext.tip.ToolTip's constructor
|
||||
* //...
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* Overrides can also contain statics:
|
||||
*
|
||||
* Ext.define('My.app.BarMod', {
|
||||
* override: 'Ext.foo.Bar',
|
||||
*
|
||||
* statics: {
|
||||
* method: function (x) {
|
||||
* return this.callParent([x * 2]); // call Ext.foo.Bar.method
|
||||
* }
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* @param {String} className The class name to create in string dot-namespaced format, for example:
|
||||
* 'My.very.awesome.Class', 'FeedViewer.plugin.CoolPager'
|
||||
* It is highly recommended to follow this simple convention:
|
||||
* - The root and the class name are 'CamelCased'
|
||||
* - Everything else is lower-cased
|
||||
* Pass `null` to create an anonymous class.
|
||||
* @param {Object} data The key - value pairs of properties to apply to this class. Property names can be of any valid
|
||||
* strings, except those in the reserved listed below:
|
||||
* - `mixins`
|
||||
* - `statics`
|
||||
* - `config`
|
||||
* - `alias`
|
||||
* - `self`
|
||||
* - `singleton`
|
||||
* - `alternateClassName`
|
||||
* - `override`
|
||||
*
|
||||
* @param {Function} createdFn Optional callback to execute after the class is created, the execution scope of which
|
||||
* (`this`) will be the newly created class itself.
|
||||
* @return {Ext.Base}
|
||||
* @markdown
|
||||
* @member Ext
|
||||
* @method define
|
||||
*/
|
||||
define: function (className, body, createdFn) {
|
||||
var override = body.override,
|
||||
cls, extend, name, namespace;
|
||||
|
||||
if (override) {
|
||||
delete body.override;
|
||||
cls = Ext.getClassByName(override);
|
||||
Ext.override(cls, body);
|
||||
} else {
|
||||
if (className) {
|
||||
namespace = Ext.createNamespace(className, true);
|
||||
name = className.substring(className.lastIndexOf('.')+1);
|
||||
}
|
||||
|
||||
cls = function ctor () {
|
||||
this.constructor.apply(this, arguments);
|
||||
}
|
||||
|
||||
if (className) {
|
||||
cls.displayName = className;
|
||||
}
|
||||
cls.$isClass = true;
|
||||
cls.callParent = Ext.Base.callParent;
|
||||
|
||||
if (typeof body == 'function') {
|
||||
body = body(cls);
|
||||
}
|
||||
|
||||
extend = body.extend;
|
||||
if (extend) {
|
||||
delete body.extend;
|
||||
if (typeof extend == 'string') {
|
||||
extend = Ext.getClassByName(extend);
|
||||
}
|
||||
} else {
|
||||
extend = Base;
|
||||
}
|
||||
|
||||
Ext.extend(cls, extend, body);
|
||||
if (cls.prototype.constructor === cls) {
|
||||
delete cls.prototype.constructor;
|
||||
}
|
||||
|
||||
// Not extending a class which derives from Base...
|
||||
if (!cls.prototype.$isClass) {
|
||||
Ext.applyIf(cls.prototype, Base.prototype);
|
||||
}
|
||||
cls.prototype.self = cls;
|
||||
|
||||
if (body.xtype) {
|
||||
Ext.reg(body.xtype, cls);
|
||||
}
|
||||
cls = body.singleton ? new cls() : cls;
|
||||
if (className) {
|
||||
namespace[name] = cls;
|
||||
}
|
||||
}
|
||||
|
||||
if (createdFn) {
|
||||
createdFn.call(cls);
|
||||
}
|
||||
|
||||
return cls;
|
||||
},
|
||||
|
||||
/**
|
||||
* Overrides members of the specified `target` with the given values.
|
||||
*
|
||||
* If the `target` is a function, it is assumed to be a constructor and the contents
|
||||
* of `overrides` are applied to its `prototype` using {@link Ext#apply Ext.apply}.
|
||||
*
|
||||
* If the `target` is an instance of a class created using {@link #define},
|
||||
* the `overrides` are applied to only that instance. In this case, methods are
|
||||
* specially processed to allow them to use {@link Ext.Base#callParent}.
|
||||
*
|
||||
* var panel = new Ext.Panel({ ... });
|
||||
*
|
||||
* Ext.override(panel, {
|
||||
* initComponent: function () {
|
||||
* // extra processing...
|
||||
*
|
||||
* this.callParent();
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* If the `target` is none of these, the `overrides` are applied to the `target`
|
||||
* using {@link Ext#apply Ext.apply}.
|
||||
*
|
||||
* Please refer to {@link Ext#define Ext.define} for further details.
|
||||
*
|
||||
* @param {Object} target The target to override.
|
||||
* @param {Object} overrides The properties to add or replace on `target`.
|
||||
* @method override
|
||||
*/
|
||||
override : function(origclass, overrides){
|
||||
if(overrides){
|
||||
var p = origclass.prototype;
|
||||
Ext.apply(p, overrides);
|
||||
if(Ext.isIE && overrides.hasOwnProperty('toString')){
|
||||
p.toString = overrides.toString;
|
||||
override: function (target, overrides) {
|
||||
var proto, statics;
|
||||
|
||||
if (overrides) {
|
||||
if (target.$isClass) {
|
||||
statics = overrides.statics;
|
||||
if (statics) {
|
||||
delete overrides.statics;
|
||||
}
|
||||
|
||||
Ext.addMembers(target, target.prototype, overrides, true);
|
||||
if (statics) {
|
||||
Ext.addMembers(target, target, statics);
|
||||
}
|
||||
} else if (typeof target == 'function') {
|
||||
proto = target.prototype;
|
||||
Ext.apply(proto, overrides);
|
||||
if(Ext.isIE && overrides.hasOwnProperty('toString')){
|
||||
proto.toString = overrides.toString;
|
||||
}
|
||||
} else {
|
||||
var owner = target.self,
|
||||
name, value;
|
||||
|
||||
if (owner && owner.$isClass) {
|
||||
for (name in overrides) {
|
||||
if (overrides.hasOwnProperty(name)) {
|
||||
value = overrides[name];
|
||||
|
||||
if (typeof value == 'function') {
|
||||
//<debug>
|
||||
if (owner.$className) {
|
||||
value.displayName = owner.$className + '#' + name;
|
||||
}
|
||||
//</debug>
|
||||
|
||||
value.$name = name;
|
||||
value.$owner = owner;
|
||||
value.$previous = target.hasOwnProperty(name)
|
||||
? target[name] // already hooked, so call previous hook
|
||||
: callOverrideParent; // calls by name on prototype
|
||||
}
|
||||
|
||||
target[name] = value;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Ext.apply(target, overrides);
|
||||
|
||||
if (!target.constructor.$isClass) {
|
||||
target.constructor.prototype.callParent = Base.prototype.callParent;
|
||||
target.constructor.callParent = Base.callParent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -321,7 +743,7 @@ Company.data.CustomStore = function(config) { ... }
|
|||
ns,
|
||||
sub,
|
||||
current;
|
||||
|
||||
|
||||
for(; i < len1; ++i) {
|
||||
main = arguments[i];
|
||||
ns = arguments[i].split('.');
|
||||
|
@ -569,32 +991,31 @@ function(el){
|
|||
getBody : function(){
|
||||
return Ext.get(DOC.body || DOC.documentElement);
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Returns the current document body as an {@link Ext.Element}.
|
||||
* @return Ext.Element The document body
|
||||
* @method
|
||||
*/
|
||||
getHead : function() {
|
||||
var head;
|
||||
|
||||
|
||||
return function() {
|
||||
if (head == undefined) {
|
||||
head = Ext.get(DOC.getElementsByTagName("head")[0]);
|
||||
}
|
||||
|
||||
|
||||
return head;
|
||||
};
|
||||
}(),
|
||||
|
||||
/**
|
||||
* Removes a DOM node from the document.
|
||||
*/
|
||||
/**
|
||||
* <p>Removes this element from the document, removes all DOM event listeners, and deletes the cache reference.
|
||||
* All DOM event listeners are removed from this element. If {@link Ext#enableNestedListenerRemoval} is
|
||||
* <code>true</code>, then DOM event listeners are also removed from all child nodes. The body node
|
||||
* will be ignored if passed in.</p>
|
||||
* @param {HTMLElement} node The node to remove
|
||||
* @method
|
||||
*/
|
||||
removeNode : isIE && !isIE8 ? function(){
|
||||
var d;
|
||||
|
@ -781,6 +1202,29 @@ function(el){
|
|||
* @type Boolean
|
||||
*/
|
||||
isIE9 : isIE9,
|
||||
|
||||
/**
|
||||
* True if the detected browser is Internet Explorer 10.x
|
||||
* @type Boolean
|
||||
*/
|
||||
isIE10 : isIE10,
|
||||
|
||||
/**
|
||||
* True if the detected browser is Internet Explorer 9.x or lower
|
||||
* @type Boolean
|
||||
*/
|
||||
isIE9m : isIE9m,
|
||||
|
||||
/**
|
||||
* True if the detected browser is Internet Explorer 10.x or higher
|
||||
* @type Boolean
|
||||
*/
|
||||
isIE10p : isIE && !(isIE6 || isIE7 || isIE8 || isIE9),
|
||||
|
||||
// IE10 quirks behaves like Gecko/WebKit quirks, so don't include it here
|
||||
// Used internally
|
||||
isIEQuirks: isIE && (!isStrict && (isIE6 || isIE7 || isIE8 || isIE9)),
|
||||
|
||||
/**
|
||||
* True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox).
|
||||
* @type Boolean
|
||||
|
@ -1297,14 +1741,14 @@ Ext.TaskMgr = new Ext.util.TaskRunner();(function(){
|
|||
},
|
||||
|
||||
getViewportHeight: function(){
|
||||
return Ext.isIE ?
|
||||
return Ext.isIE9m ?
|
||||
(Ext.isStrict ? doc.documentElement.clientHeight : doc.body.clientHeight) :
|
||||
self.innerHeight;
|
||||
},
|
||||
|
||||
getViewportWidth : function() {
|
||||
return !Ext.isStrict && !Ext.isOpera ? doc.body.clientWidth :
|
||||
Ext.isIE ? doc.documentElement.clientWidth : self.innerWidth;
|
||||
Ext.isIE9m ? doc.documentElement.clientWidth : self.innerWidth;
|
||||
},
|
||||
|
||||
getY : function(el) {
|
||||
|
@ -1719,7 +2163,7 @@ Ext.TaskMgr = new Ext.util.TaskRunner();(function(){
|
|||
_load : function(e) {
|
||||
loadComplete = true;
|
||||
|
||||
if (Ext.isIE && e !== true) {
|
||||
if (Ext.isIE9m && e !== true) {
|
||||
// IE8 complains that _load is null or not an object
|
||||
// so lets remove self via arguments.callee
|
||||
doRemove(win, "load", arguments.callee);
|
||||
|
@ -1769,8 +2213,7 @@ Ext.TaskMgr = new Ext.util.TaskRunner();(function(){
|
|||
* http://developer.yahoo.net/yui/license.txt
|
||||
*/
|
||||
Ext.lib.Ajax = function() {
|
||||
var activeX = ['Msxml2.XMLHTTP.6.0',
|
||||
'Msxml2.XMLHTTP.3.0',
|
||||
var activeX = ['Msxml2.XMLHTTP.3.0',
|
||||
'Msxml2.XMLHTTP'],
|
||||
CONTENTTYPE = 'Content-Type';
|
||||
|
||||
|
@ -2893,7 +3336,7 @@ Ext.lib.Ajax = function() {
|
|||
}
|
||||
});
|
||||
})();
|
||||
if (Ext.isIE) {
|
||||
if (Ext.isIE9m) {
|
||||
function fnCleanUp() {
|
||||
var p = Function.prototype;
|
||||
delete p.createSequence;
|
21
vendor/ext-3.4.1/adapter/ext/ext-base.js
vendored
Normal file
2261
vendor/ext-3.4.1/adapter/jquery/ext-jquery-adapter-debug.js
vendored
Normal file
21
vendor/ext-3.4.1/adapter/jquery/ext-jquery-adapter.js
vendored
Normal file
2290
vendor/ext-3.4.1/adapter/prototype/ext-prototype-adapter-debug.js
vendored
Normal file
21
vendor/ext-3.4.1/adapter/prototype/ext-prototype-adapter.js
vendored
Normal file
2056
vendor/ext-3.4.1/adapter/yui/ext-yui-adapter-debug.js
vendored
Normal file
21
vendor/ext-3.4.1/adapter/yui/ext-yui-adapter.js
vendored
Normal file
21
vendor/ext-3.4.1/docs/app-1c3b39672c292d36e4a5ff05c1bb7035.js
vendored
Normal file
21
vendor/ext-3.4.1/docs/data-218318ee90d3522428760e464306d0ed.js
vendored
Normal file
26
vendor/ext-3.4.1/docs/eg-iframe.html
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<title>Sencha Examples</title>
|
||||
|
||||
<script type="text/javascript" src="extjs-build/ext-all.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="extjs-build/resources/css/ext-all.css">
|
||||
|
||||
<script type="text/javascript">
|
||||
function loadInlineExample(code, options, callback) {
|
||||
try {
|
||||
document.body.innerHTML = '';
|
||||
eval(code);
|
||||
callback && callback(true);
|
||||
} catch (e) {
|
||||
document.body.innerHTML = e;
|
||||
callback && callback(false, e);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
58
vendor/ext-3.4.1/docs/extjs/ext-all.js
vendored
Normal file
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/boundlist/trigger-arrow.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1,010 B After Width: | Height: | Size: 1,010 B |
Before Width: | Height: | Size: 1,005 B After Width: | Height: | Size: 1,005 B |
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 851 B After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 839 B After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-disabled-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-disabled-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-focus-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-focus-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-focus-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-over-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-over-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-over-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-pressed-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-pressed-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-large-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-disabled-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-focus-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-focus-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-focus-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-over-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-over-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-over-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-medium-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-disabled-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-disabled-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-focus-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-focus-corners.gif
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-focus-sides.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
vendor/ext-3.4.1/docs/extjs/resources/themes/images/default/btn/btn-default-small-over-bg.gif
vendored
Normal file
After Width: | Height: | Size: 1.8 KiB |