forked from fanruan/fineui
Urthur
7 years ago
282 changed files with 202838 additions and 205894 deletions
@ -1,93 +1,93 @@
|
||||
if(![].indexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.indexOf = function (o) { |
||||
for (var i = 0, len = this.length; i < len; i++) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
} |
||||
if(![].lastIndexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* ie67不支持数组的这个方法 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.lastIndexOf = function (o) { |
||||
for (var len = this.length, i = len - 1; i >= 0; i--) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
}/** |
||||
* 特殊情况 |
||||
* Created by wang on 15/6/23. |
||||
*/ |
||||
//解决console未定义问题 guy
|
||||
window.console = window.console || (function () { |
||||
var c = {}; |
||||
c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile |
||||
= c.clear = c.exception = c.trace = c.assert = function () { |
||||
}; |
||||
return c; |
||||
})(); |
||||
/* |
||||
* 前端缓存 |
||||
*/ |
||||
window.localStorage || (window.localStorage = { |
||||
items: {}, |
||||
setItem: function (k, v) { |
||||
BI.Cache.addCookie(k, v); |
||||
}, |
||||
getItem: function (k) { |
||||
return BI.Cache.getCookie(k); |
||||
}, |
||||
removeItem: function (k) { |
||||
BI.Cache.deleteCookie(k); |
||||
}, |
||||
key: function () { |
||||
|
||||
}, |
||||
clear: function () { |
||||
this.items = {}; |
||||
} |
||||
});//修复ie9下sort方法的bug
|
||||
!function (window) { |
||||
var ua = window.navigator.userAgent.toLowerCase(), |
||||
reg = /msie|applewebkit.+safari/; |
||||
if (reg.test(ua)) { |
||||
var _sort = Array.prototype.sort; |
||||
Array.prototype.sort = function (fn) { |
||||
if (!!fn && typeof fn === 'function') { |
||||
if (this.length < 2) { |
||||
return this; |
||||
} |
||||
var i = 0, j = i + 1, l = this.length, tmp, r = false, t = 0; |
||||
for (; i < l; i++) { |
||||
for (j = i + 1; j < l; j++) { |
||||
t = fn.call(this, this[i], this[j]); |
||||
r = (typeof t === 'number' ? t : |
||||
!!t ? 1 : 0) > 0; |
||||
if (r === true) { |
||||
tmp = this[i]; |
||||
this[i] = this[j]; |
||||
this[j] = tmp; |
||||
} |
||||
} |
||||
} |
||||
return this; |
||||
} else { |
||||
return _sort.call(this); |
||||
} |
||||
}; |
||||
} |
||||
if(![].indexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.indexOf = function (o) { |
||||
for (var i = 0, len = this.length; i < len; i++) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
} |
||||
if(![].lastIndexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* ie67不支持数组的这个方法 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.lastIndexOf = function (o) { |
||||
for (var len = this.length, i = len - 1; i >= 0; i--) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
}/** |
||||
* 特殊情况 |
||||
* Created by wang on 15/6/23. |
||||
*/ |
||||
//解决console未定义问题 guy
|
||||
window.console = window.console || (function () { |
||||
var c = {}; |
||||
c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile |
||||
= c.clear = c.exception = c.trace = c.assert = function () { |
||||
}; |
||||
return c; |
||||
})(); |
||||
/* |
||||
* 前端缓存 |
||||
*/ |
||||
window.localStorage || (window.localStorage = { |
||||
items: {}, |
||||
setItem: function (k, v) { |
||||
BI.Cache.addCookie(k, v); |
||||
}, |
||||
getItem: function (k) { |
||||
return BI.Cache.getCookie(k); |
||||
}, |
||||
removeItem: function (k) { |
||||
BI.Cache.deleteCookie(k); |
||||
}, |
||||
key: function () { |
||||
|
||||
}, |
||||
clear: function () { |
||||
this.items = {}; |
||||
} |
||||
});//修复ie9下sort方法的bug
|
||||
!function (window) { |
||||
var ua = window.navigator.userAgent.toLowerCase(), |
||||
reg = /msie|applewebkit.+safari/; |
||||
if (reg.test(ua)) { |
||||
var _sort = Array.prototype.sort; |
||||
Array.prototype.sort = function (fn) { |
||||
if (!!fn && typeof fn === 'function') { |
||||
if (this.length < 2) { |
||||
return this; |
||||
} |
||||
var i = 0, j = i + 1, l = this.length, tmp, r = false, t = 0; |
||||
for (; i < l; i++) { |
||||
for (j = i + 1; j < l; j++) { |
||||
t = fn.call(this, this[i], this[j]); |
||||
r = (typeof t === 'number' ? t : |
||||
!!t ? 1 : 0) > 0; |
||||
if (r === true) { |
||||
tmp = this[i]; |
||||
this[i] = this[j]; |
||||
this[j] = tmp; |
||||
} |
||||
} |
||||
} |
||||
return this; |
||||
} else { |
||||
return _sort.call(this); |
||||
} |
||||
}; |
||||
} |
||||
}(window); |
@ -1,540 +1,416 @@
|
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement .arrangement-helper { |
||||
background: #3f8ce8; |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-block { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .arrangement-drop-region { |
||||
overflow: hidden; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .drop-devider { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .top-left, |
||||
.bi-arrangement .arrangement-drop-container .top-right, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right, |
||||
.bi-arrangement .arrangement-drop-container .top-left-second, |
||||
.bi-arrangement .arrangement-drop-container .top-right-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right-second, |
||||
.bi-arrangement .arrangement-drop-container .top-center, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center, |
||||
.bi-arrangement .arrangement-drop-container .left-center, |
||||
.bi-arrangement .arrangement-drop-container .right-center, |
||||
.bi-arrangement .arrangement-drop-container .top-center-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center-second, |
||||
.bi-arrangement .arrangement-drop-container .left-center-second, |
||||
.bi-arrangement .arrangement-drop-container .right-center-second { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement-droppable { |
||||
z-index: 100000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-adapt-editor .adapt-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-search-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
.bi-search-editor .close-font { |
||||
font-size: 20px; |
||||
} |
||||
.bi-search-editor .search-font { |
||||
font-size: 20px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-small-search-editor .bi-editor { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-input { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-label { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .close-font { |
||||
font-size: 18px; |
||||
} |
||||
.bi-small-search-editor .search-font { |
||||
font-size: 18px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-initial-editor .sign-initial-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-style-editor .sign-style-editor-text { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
} |
||||
.bi-sign-style-editor .sign-style-editor-tip { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
color: #808080; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-text-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-date-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-down-list-popup .bi-down-list-item .list-item-text { |
||||
max-width: 203px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #d4dadd; |
||||
} |
||||
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #525466; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table-header-cell { |
||||
font-weight: bold; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text { |
||||
max-width: 200px; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #eff1f4; |
||||
color: #999999; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-triangle { |
||||
z-index: 1; |
||||
} |
||||
.bi-theme-dark .bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #191b2b; |
||||
color: #999999; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-fine-tuning-number-editor { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-line { |
||||
z-index: 1000000000; |
||||
background-color: #f07d0a; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-icon { |
||||
z-index: 1000000000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-month-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-check-pane .multi-select-check-selected { |
||||
text-decoration: underline; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-trigger { |
||||
-webkit-border-radius: 2px 2px 2px 2px; |
||||
-moz-border-radius: 2px 2px 2px 2px; |
||||
border-radius: 2px 2px 2px 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-search-pane .multi-select-toolbar { |
||||
color: #e85050; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-check-selected-button { |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-pane .multi-tree-check-selected { |
||||
color: #3f8ce8; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-popup .popup-view-tree { |
||||
min-height: 170px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-selected-button .trigger-check-selected { |
||||
color: #3f8ce8; |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-numerical-interval .numerical-interval-small-editor { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-editor { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval.number-error .bi-input { |
||||
color: #e85050; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-page-table-cell { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-chooser .path-chooser-radio { |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-region .path-region-label { |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-preview-table-cell { |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-preview-table { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
.bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #eff1f4; |
||||
} |
||||
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #191b2b; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-preview-table-header-cell { |
||||
font-weight: bold; |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-quarter-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-relation-view-region .relation-view-region-container { |
||||
z-index: 1; |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-relation-view-region .relation-view-region-container.other-package { |
||||
border-style: dashed; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-dynamic-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-list-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-tree-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-tree-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-popup .year-popup-navigation { |
||||
line-height: 30px; |
||||
color: #3f8ce8; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #d4dadd; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #525466; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement .arrangement-helper { |
||||
background: #3f8ce8; |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-block { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .arrangement-drop-region { |
||||
overflow: hidden; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .drop-devider { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .top-left, |
||||
.bi-arrangement .arrangement-drop-container .top-right, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right, |
||||
.bi-arrangement .arrangement-drop-container .top-left-second, |
||||
.bi-arrangement .arrangement-drop-container .top-right-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right-second, |
||||
.bi-arrangement .arrangement-drop-container .top-center, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center, |
||||
.bi-arrangement .arrangement-drop-container .left-center, |
||||
.bi-arrangement .arrangement-drop-container .right-center, |
||||
.bi-arrangement .arrangement-drop-container .top-center-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center-second, |
||||
.bi-arrangement .arrangement-drop-container .left-center-second, |
||||
.bi-arrangement .arrangement-drop-container .right-center-second { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement-droppable { |
||||
z-index: 100000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-adapt-editor .adapt-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-search-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
.bi-search-editor .close-font { |
||||
font-size: 20px; |
||||
} |
||||
.bi-search-editor .search-font { |
||||
font-size: 20px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-small-search-editor .bi-editor { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-input { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-label { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .close-font { |
||||
font-size: 18px; |
||||
} |
||||
.bi-small-search-editor .search-font { |
||||
font-size: 18px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-initial-editor .sign-initial-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-style-editor .sign-style-editor-text { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
} |
||||
.bi-sign-style-editor .sign-style-editor-tip { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
color: #808080; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-text-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-date-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-down-list-popup .bi-down-list-item .list-item-text { |
||||
max-width: 203px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #d4dadd; |
||||
} |
||||
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #525466; |
||||
} |
||||
.bi-excel-table-header-cell { |
||||
font-weight: bold; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text { |
||||
max-width: 200px; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #eff1f4; |
||||
color: #999999; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-triangle { |
||||
z-index: 1; |
||||
} |
||||
.bi-theme-dark .bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #191b2b; |
||||
color: #999999; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-fine-tuning-number-editor { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-line { |
||||
z-index: 1000000000; |
||||
background-color: #f07d0a; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-icon { |
||||
z-index: 1000000000; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-month-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-multi-select-check-pane .multi-select-check-selected { |
||||
text-decoration: underline; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-trigger { |
||||
-webkit-border-radius: 2px 2px 2px 2px; |
||||
-moz-border-radius: 2px 2px 2px 2px; |
||||
border-radius: 2px 2px 2px 2px; |
||||
} |
||||
.bi-multi-select-search-pane .multi-select-toolbar { |
||||
color: #e85050; |
||||
} |
||||
.bi-multi-select-check-selected-button { |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-pane .multi-tree-check-selected { |
||||
color: #3f8ce8; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
.bi-multi-tree-popup .popup-view-tree { |
||||
min-height: 170px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-selected-button .trigger-check-selected { |
||||
color: #3f8ce8; |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-numerical-interval .numerical-interval-small-editor { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-editor { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval.number-error .bi-input { |
||||
color: #e85050; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-page-table-cell { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-chooser .path-chooser-radio { |
||||
z-index: 1; |
||||
} |
||||
.bi-path-region .path-region-label { |
||||
z-index: 1; |
||||
} |
||||
.bi-preview-table-cell { |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
.bi-preview-table { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
.bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #eff1f4; |
||||
} |
||||
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #191b2b; |
||||
} |
||||
.bi-preview-table-header-cell { |
||||
font-weight: bold; |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-quarter-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-relation-view-region .relation-view-region-container { |
||||
z-index: 1; |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-relation-view-region .relation-view-region-container.other-package { |
||||
border-style: dashed; |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-tree-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-tree-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-popup .year-popup-navigation { |
||||
line-height: 30px; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #d4dadd; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #525466; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-year-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
|
@ -1,6 +1,3 @@
|
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.demo-face .face-config .config-label { |
||||
font-size: 14px; |
||||
} |
||||
|
@ -1,3 +0,0 @@
|
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
@ -1,3 +0,0 @@
|
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
@ -1,3 +0,0 @@
|
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
@ -0,0 +1,215 @@
|
||||
/** |
||||
* guy |
||||
* 二级树 |
||||
* @class BI.PlatformLevelTree |
||||
* @extends BI.Select |
||||
*/ |
||||
BI.PlatformLevelTree = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "platform-level-tree", |
||||
itemsCreator: BI.emptyFn |
||||
}, |
||||
|
||||
render: function () { |
||||
var self = this, o = this.options; |
||||
this.tree = BI.createWidget({ |
||||
type: "bi.custom_tree", |
||||
element: this, |
||||
expander: { |
||||
type: "bi.select_tree_expander", |
||||
isDefaultInit: false, |
||||
el: {}, |
||||
popup: { |
||||
type: "bi.custom_tree" |
||||
} |
||||
}, |
||||
|
||||
itemsCreator: function (op, callback) { |
||||
o.itemsCreator(op, function (items) { |
||||
callback(self._formatItems(items)) |
||||
}) |
||||
}, |
||||
|
||||
el: { |
||||
type: "bi.loader", |
||||
next: false, |
||||
el: { |
||||
type: "bi.button_tree", |
||||
chooseType: 0, |
||||
layouts: [{ |
||||
type: "bi.vertical" |
||||
}] |
||||
} |
||||
} |
||||
}); |
||||
this.tree.on(BI.CustomTree.EVENT_CHANGE, function () { |
||||
self.fireEvent(BI.PlatformLevelTree.EVENT_CHANGE, arguments); |
||||
}) |
||||
}, |
||||
|
||||
_formatItems: function (nodes) { |
||||
var self = this; |
||||
BI.each(nodes, function (i, node) { |
||||
var extend = {}; |
||||
if (node.isParent === true || BI.isNotEmptyArray(node.children)) { |
||||
switch (i) { |
||||
case 0 : |
||||
extend.type = "bi.multilayer_select_tree_first_plus_group_node"; |
||||
break; |
||||
case nodes.length - 1 : |
||||
extend.type = "bi.multilayer_select_tree_last_plus_group_node"; |
||||
break; |
||||
default : |
||||
extend.type = "bi.multilayer_select_tree_mid_plus_group_node"; |
||||
break; |
||||
} |
||||
BI.defaults(node, extend); |
||||
} else { |
||||
switch (i) { |
||||
case nodes.length - 1: |
||||
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; |
||||
break; |
||||
default : |
||||
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; |
||||
} |
||||
BI.defaults(node, extend); |
||||
} |
||||
}); |
||||
return nodes; |
||||
}, |
||||
|
||||
populate: function () { |
||||
this.tree.populate(); |
||||
}, |
||||
|
||||
getValue: function () { |
||||
return this.tree.getValue(); |
||||
} |
||||
}); |
||||
BI.PlatformLevelTree.EVENT_CHANGE = "EVENT_CHANGE"; |
||||
BI.shortcut("bi.platform_level_tree", BI.PlatformLevelTree); |
||||
|
||||
|
||||
BI.DemoLevelTree = BI.inherit(BI.Widget, { |
||||
|
||||
render: function () { |
||||
var self = this; |
||||
return { |
||||
type: "bi.vtape", |
||||
items: [{ |
||||
el: { |
||||
type: "bi.platform_level_tree", |
||||
ref: function () { |
||||
self.tree = this; |
||||
}, |
||||
itemsCreator: function (op, callback) { |
||||
if (!op.node) {//根节点
|
||||
callback([{ |
||||
"id": 1, |
||||
"pId": 0, |
||||
text: "A", |
||||
value: 1, |
||||
isParent: true |
||||
}, { |
||||
"id": 2, |
||||
"pId": 0, |
||||
"text": "B", |
||||
value: 2, |
||||
isParent: true, |
||||
open: true, |
||||
}]) |
||||
} else { |
||||
if (op.node.id == 1) { |
||||
callback([ |
||||
{ |
||||
"id": 11, |
||||
"pId": 1, |
||||
"text": "test11", |
||||
value: 11, |
||||
layer: 1, |
||||
isParent: true |
||||
}, |
||||
{ |
||||
"id": 12, |
||||
"pId": 1, |
||||
"text": "test12", |
||||
value: 12, |
||||
layer: 1, |
||||
}, |
||||
{ |
||||
"id": 13, |
||||
"pId": 1, |
||||
"text": "test13", |
||||
value: 13, |
||||
layer: 1, |
||||
}, |
||||
{ |
||||
"id": 14, |
||||
"pId": 1, |
||||
"text": "test14", |
||||
value: 14, |
||||
layer: 1, |
||||
height: 35 |
||||
}, |
||||
{ |
||||
"id": 15, |
||||
"pId": 1, |
||||
"text": "test15", |
||||
value: 15, |
||||
layer: 1, |
||||
}, |
||||
{ |
||||
"id": 16, |
||||
"pId": 1, |
||||
"text": "test16", |
||||
value: 16, |
||||
layer: 1, |
||||
}, |
||||
{"id": 17, "pId": 1, "text": "test17", layer: 1, value: 17} |
||||
]) |
||||
} else if (op.node.id == 2) { |
||||
callback([{ |
||||
"id": 21, |
||||
"pId": 2, |
||||
"text": "test21", |
||||
value: 21, |
||||
layer: 1, |
||||
}, |
||||
{ |
||||
"id": 22, |
||||
"pId": 2, |
||||
"text": "test22", |
||||
value: 22, |
||||
layer: 1, |
||||
}]) |
||||
} else if (op.node.id == 11) { |
||||
callback([{ |
||||
"id": 111, |
||||
"pId": 11, |
||||
"text": "test111", |
||||
value: 111, |
||||
layer: 2, |
||||
}]) |
||||
} |
||||
} |
||||
} |
||||
} |
||||
}, { |
||||
el: { |
||||
type: "bi.button", |
||||
text: "确定", |
||||
handler: function () { |
||||
BI.Msg.toast(JSON.stringify(self.tree.getValue())); |
||||
} |
||||
}, |
||||
height: 25 |
||||
}] |
||||
|
||||
} |
||||
}, |
||||
|
||||
mounted: function () { |
||||
|
||||
} |
||||
}); |
||||
BI.shortcut("demo.platform_level_tree", BI.DemoLevelTree); |
@ -1,188 +1,188 @@
|
||||
Demo.CORE_CONFIG = [{ |
||||
id: 1, |
||||
text: "核心控件", |
||||
}, { |
||||
id: 101, |
||||
pId: 1, |
||||
text: "布局" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.center_adapt", |
||||
value: "demo.center_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.vertical_adapt", |
||||
value: "demo.vertical_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.horizontal_adapt", |
||||
value: "demo.horizontal_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.horizontal_auto", |
||||
value: "demo.horizontal_auto" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.horizontal_float", |
||||
value: "demo.horizontal_float" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.left_right_vertical_adapt", |
||||
value: "demo.left_right_vertical_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.center", |
||||
value: "demo.center_layout" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.float_center", |
||||
value: "demo.float_center" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.vertical", |
||||
value: "demo.vertical" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.horizontal", |
||||
value: "demo.horizontal" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.border", |
||||
value: "demo.border" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.left, bi.right", |
||||
value: "demo.flow" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.inline", |
||||
value: "demo.inline" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.htape", |
||||
value: "demo.htape" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.vtape", |
||||
value: "demo.vtape" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.grid", |
||||
value: "demo.grid" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.table", |
||||
value: "demo.table_layout" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.td", |
||||
value: "demo.td" |
||||
}, { |
||||
pId: 1, |
||||
id: 102, |
||||
text: "抽象控件" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.button_group", |
||||
value: "demo.button_group" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.button_tree", |
||||
value: "demo.button_tree" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.virtual_group", |
||||
value: "demo.virtual_group" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.custom_tree", |
||||
value: "demo.custom_tree" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.grid_view", |
||||
value: "demo.grid_view" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.collection_view", |
||||
value: "demo.collection_view" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.list_view", |
||||
value: "demo.list_view" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.virtual_list", |
||||
value: "demo.virtual_list" |
||||
}, { |
||||
pId: 102, |
||||
id: 10201, |
||||
text: "组合控件" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.combo", |
||||
value: "demo.combo" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.expander", |
||||
value: "demo.expander" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.group_combo", |
||||
value: "demo.group_combo" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.loader", |
||||
value: "demo.loader" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.navigation", |
||||
value: "demo.navigation" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.searcher", |
||||
value: "demo.searcher" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.switcher", |
||||
value: "demo.switcher" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.tab", |
||||
value: "demo.tab" |
||||
}, { |
||||
pId: 102, |
||||
id: 10202, |
||||
text: "弹出层" |
||||
}, { |
||||
pId: 10202, |
||||
text: "bi.layer_float_box", |
||||
value: "demo.layer_float_box" |
||||
}, { |
||||
pId: 10202, |
||||
text: "bi.layer_popup", |
||||
value: "demo.layer_popup" |
||||
}, { |
||||
pId: 10202, |
||||
text: "bi.layer_searcher", |
||||
value: "demo.layer_searcher" |
||||
}, { |
||||
pId: 1, |
||||
text: "widget", |
||||
value: "demo.widget" |
||||
}, { |
||||
pId: 1, |
||||
text: "single", |
||||
value: "demo.single" |
||||
}, { |
||||
pId: 1, |
||||
text: "BasicButton", |
||||
value: "demo.basic_button" |
||||
}, { |
||||
pId: 1, |
||||
text: "NodeButton", |
||||
value: "demo.node_button" |
||||
}, { |
||||
pId: 1, |
||||
text: "pane", |
||||
value: "demo.pane" |
||||
Demo.CORE_CONFIG = [{ |
||||
id: 1, |
||||
text: "核心控件", |
||||
}, { |
||||
id: 101, |
||||
pId: 1, |
||||
text: "布局" |
||||
}, { |
||||
pId: 101, |
||||
text: "自适应居中bi.center_adapt", |
||||
value: "demo.center_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "自适应垂直居中bi.vertical_adapt", |
||||
value: "demo.vertical_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "自适应水平居中bi.horizontal_adapt", |
||||
value: "demo.horizontal_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "margin-auto自适应水平居中bi.horizontal_auto", |
||||
value: "demo.horizontal_auto" |
||||
}, { |
||||
pId: 101, |
||||
text: "float水平居中bi.horizontal_float", |
||||
value: "demo.horizontal_float" |
||||
}, { |
||||
pId: 101, |
||||
text: "左右垂直居中bi.left_right_vertical_adapt", |
||||
value: "demo.left_right_vertical_adapt" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.center", |
||||
value: "demo.center_layout" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.float_center", |
||||
value: "demo.float_center" |
||||
}, { |
||||
pId: 101, |
||||
text: "垂直流式bi.vertical", |
||||
value: "demo.vertical" |
||||
}, { |
||||
pId: 101, |
||||
text: "水平流式bi.horizontal", |
||||
value: "demo.horizontal" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.border", |
||||
value: "demo.border" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.left, bi.right", |
||||
value: "demo.flow" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.inline", |
||||
value: "demo.inline" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.htape", |
||||
value: "demo.htape" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.vtape", |
||||
value: "demo.vtape" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.grid", |
||||
value: "demo.grid" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.table", |
||||
value: "demo.table_layout" |
||||
}, { |
||||
pId: 101, |
||||
text: "bi.td", |
||||
value: "demo.td" |
||||
}, { |
||||
pId: 1, |
||||
id: 102, |
||||
text: "抽象控件" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.button_group", |
||||
value: "demo.button_group" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.button_tree", |
||||
value: "demo.button_tree" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.virtual_group", |
||||
value: "demo.virtual_group" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.custom_tree", |
||||
value: "demo.custom_tree" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.grid_view", |
||||
value: "demo.grid_view" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.collection_view", |
||||
value: "demo.collection_view" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.list_view", |
||||
value: "demo.list_view" |
||||
}, { |
||||
pId: 102, |
||||
text: "bi.virtual_list", |
||||
value: "demo.virtual_list" |
||||
}, { |
||||
pId: 102, |
||||
id: 10201, |
||||
text: "组合控件" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.combo", |
||||
value: "demo.combo" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.expander", |
||||
value: "demo.expander" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.group_combo", |
||||
value: "demo.group_combo" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.loader", |
||||
value: "demo.loader" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.navigation", |
||||
value: "demo.navigation" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.searcher", |
||||
value: "demo.searcher" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.switcher", |
||||
value: "demo.switcher" |
||||
}, { |
||||
pId: 10201, |
||||
text: "bi.tab", |
||||
value: "demo.tab" |
||||
}, { |
||||
pId: 102, |
||||
id: 10202, |
||||
text: "弹出层" |
||||
}, { |
||||
pId: 10202, |
||||
text: "bi.layer_float_box", |
||||
value: "demo.layer_float_box" |
||||
}, { |
||||
pId: 10202, |
||||
text: "bi.layer_popup", |
||||
value: "demo.layer_popup" |
||||
}, { |
||||
pId: 10202, |
||||
text: "bi.layer_searcher", |
||||
value: "demo.layer_searcher" |
||||
}, { |
||||
pId: 1, |
||||
text: "widget", |
||||
value: "demo.widget" |
||||
}, { |
||||
pId: 1, |
||||
text: "single", |
||||
value: "demo.single" |
||||
}, { |
||||
pId: 1, |
||||
text: "BasicButton", |
||||
value: "demo.basic_button" |
||||
}, { |
||||
pId: 1, |
||||
text: "NodeButton", |
||||
value: "demo.node_button" |
||||
}, { |
||||
pId: 1, |
||||
text: "pane", |
||||
value: "demo.pane" |
||||
}]; |
@ -0,0 +1,13 @@
|
||||
/** |
||||
* Created by User on 2017/3/22. |
||||
*/ |
||||
Demo.RelationView = BI.inherit(BI.Widget, { |
||||
props: { |
||||
}, |
||||
render: function () { |
||||
return { |
||||
type: "bi.interactive_arrangement", |
||||
}; |
||||
} |
||||
}); |
||||
BI.shortcut("demo.interactive_arrangement", Demo.RelationView); |
File diff suppressed because one or more lines are too long
@ -1,93 +1,93 @@
|
||||
if(![].indexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.indexOf = function (o) { |
||||
for (var i = 0, len = this.length; i < len; i++) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
} |
||||
if(![].lastIndexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* ie67不支持数组的这个方法 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.lastIndexOf = function (o) { |
||||
for (var len = this.length, i = len - 1; i >= 0; i--) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
}/** |
||||
* 特殊情况 |
||||
* Created by wang on 15/6/23. |
||||
*/ |
||||
//解决console未定义问题 guy
|
||||
window.console = window.console || (function () { |
||||
var c = {}; |
||||
c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile |
||||
= c.clear = c.exception = c.trace = c.assert = function () { |
||||
}; |
||||
return c; |
||||
})(); |
||||
/* |
||||
* 前端缓存 |
||||
*/ |
||||
window.localStorage || (window.localStorage = { |
||||
items: {}, |
||||
setItem: function (k, v) { |
||||
BI.Cache.addCookie(k, v); |
||||
}, |
||||
getItem: function (k) { |
||||
return BI.Cache.getCookie(k); |
||||
}, |
||||
removeItem: function (k) { |
||||
BI.Cache.deleteCookie(k); |
||||
}, |
||||
key: function () { |
||||
|
||||
}, |
||||
clear: function () { |
||||
this.items = {}; |
||||
} |
||||
});//修复ie9下sort方法的bug
|
||||
!function (window) { |
||||
var ua = window.navigator.userAgent.toLowerCase(), |
||||
reg = /msie|applewebkit.+safari/; |
||||
if (reg.test(ua)) { |
||||
var _sort = Array.prototype.sort; |
||||
Array.prototype.sort = function (fn) { |
||||
if (!!fn && typeof fn === 'function') { |
||||
if (this.length < 2) { |
||||
return this; |
||||
} |
||||
var i = 0, j = i + 1, l = this.length, tmp, r = false, t = 0; |
||||
for (; i < l; i++) { |
||||
for (j = i + 1; j < l; j++) { |
||||
t = fn.call(this, this[i], this[j]); |
||||
r = (typeof t === 'number' ? t : |
||||
!!t ? 1 : 0) > 0; |
||||
if (r === true) { |
||||
tmp = this[i]; |
||||
this[i] = this[j]; |
||||
this[j] = tmp; |
||||
} |
||||
} |
||||
} |
||||
return this; |
||||
} else { |
||||
return _sort.call(this); |
||||
} |
||||
}; |
||||
} |
||||
if(![].indexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.indexOf = function (o) { |
||||
for (var i = 0, len = this.length; i < len; i++) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
} |
||||
if(![].lastIndexOf){ |
||||
/** |
||||
* 检查指定的值是否在数组中 |
||||
* ie67不支持数组的这个方法 |
||||
* @param {Object} o 要检查的值 |
||||
* @return {Number} o在数组中的索引(如果不在数组中则返回-1) |
||||
*/ |
||||
Array.prototype.lastIndexOf = function (o) { |
||||
for (var len = this.length, i = len - 1; i >= 0; i--) { |
||||
if (_.isEqual(o, this[i])) { |
||||
return i; |
||||
} |
||||
} |
||||
return -1; |
||||
} |
||||
}/** |
||||
* 特殊情况 |
||||
* Created by wang on 15/6/23. |
||||
*/ |
||||
//解决console未定义问题 guy
|
||||
window.console = window.console || (function () { |
||||
var c = {}; |
||||
c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile |
||||
= c.clear = c.exception = c.trace = c.assert = function () { |
||||
}; |
||||
return c; |
||||
})(); |
||||
/* |
||||
* 前端缓存 |
||||
*/ |
||||
window.localStorage || (window.localStorage = { |
||||
items: {}, |
||||
setItem: function (k, v) { |
||||
BI.Cache.addCookie(k, v); |
||||
}, |
||||
getItem: function (k) { |
||||
return BI.Cache.getCookie(k); |
||||
}, |
||||
removeItem: function (k) { |
||||
BI.Cache.deleteCookie(k); |
||||
}, |
||||
key: function () { |
||||
|
||||
}, |
||||
clear: function () { |
||||
this.items = {}; |
||||
} |
||||
});//修复ie9下sort方法的bug
|
||||
!function (window) { |
||||
var ua = window.navigator.userAgent.toLowerCase(), |
||||
reg = /msie|applewebkit.+safari/; |
||||
if (reg.test(ua)) { |
||||
var _sort = Array.prototype.sort; |
||||
Array.prototype.sort = function (fn) { |
||||
if (!!fn && typeof fn === 'function') { |
||||
if (this.length < 2) { |
||||
return this; |
||||
} |
||||
var i = 0, j = i + 1, l = this.length, tmp, r = false, t = 0; |
||||
for (; i < l; i++) { |
||||
for (j = i + 1; j < l; j++) { |
||||
t = fn.call(this, this[i], this[j]); |
||||
r = (typeof t === 'number' ? t : |
||||
!!t ? 1 : 0) > 0; |
||||
if (r === true) { |
||||
tmp = this[i]; |
||||
this[i] = this[j]; |
||||
this[j] = tmp; |
||||
} |
||||
} |
||||
} |
||||
return this; |
||||
} else { |
||||
return _sort.call(this); |
||||
} |
||||
}; |
||||
} |
||||
}(window); |
@ -1,540 +1,416 @@
|
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement .arrangement-helper { |
||||
background: #3f8ce8; |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-block { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .arrangement-drop-region { |
||||
overflow: hidden; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .drop-devider { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .top-left, |
||||
.bi-arrangement .arrangement-drop-container .top-right, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right, |
||||
.bi-arrangement .arrangement-drop-container .top-left-second, |
||||
.bi-arrangement .arrangement-drop-container .top-right-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right-second, |
||||
.bi-arrangement .arrangement-drop-container .top-center, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center, |
||||
.bi-arrangement .arrangement-drop-container .left-center, |
||||
.bi-arrangement .arrangement-drop-container .right-center, |
||||
.bi-arrangement .arrangement-drop-container .top-center-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center-second, |
||||
.bi-arrangement .arrangement-drop-container .left-center-second, |
||||
.bi-arrangement .arrangement-drop-container .right-center-second { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement-droppable { |
||||
z-index: 100000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-adapt-editor .adapt-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-search-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
.bi-search-editor .close-font { |
||||
font-size: 20px; |
||||
} |
||||
.bi-search-editor .search-font { |
||||
font-size: 20px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-small-search-editor .bi-editor { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-input { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-label { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .close-font { |
||||
font-size: 18px; |
||||
} |
||||
.bi-small-search-editor .search-font { |
||||
font-size: 18px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-initial-editor .sign-initial-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-style-editor .sign-style-editor-text { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
} |
||||
.bi-sign-style-editor .sign-style-editor-tip { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
color: #808080; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-text-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-date-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-down-list-popup .bi-down-list-item .list-item-text { |
||||
max-width: 203px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #d4dadd; |
||||
} |
||||
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #525466; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table-header-cell { |
||||
font-weight: bold; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text { |
||||
max-width: 200px; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #eff1f4; |
||||
color: #999999; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-triangle { |
||||
z-index: 1; |
||||
} |
||||
.bi-theme-dark .bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #191b2b; |
||||
color: #999999; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-fine-tuning-number-editor { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-line { |
||||
z-index: 1000000000; |
||||
background-color: #f07d0a; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-icon { |
||||
z-index: 1000000000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-month-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-check-pane .multi-select-check-selected { |
||||
text-decoration: underline; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-trigger { |
||||
-webkit-border-radius: 2px 2px 2px 2px; |
||||
-moz-border-radius: 2px 2px 2px 2px; |
||||
border-radius: 2px 2px 2px 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-search-pane .multi-select-toolbar { |
||||
color: #e85050; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-check-selected-button { |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-pane .multi-tree-check-selected { |
||||
color: #3f8ce8; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-popup .popup-view-tree { |
||||
min-height: 170px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-selected-button .trigger-check-selected { |
||||
color: #3f8ce8; |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-numerical-interval .numerical-interval-small-editor { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-editor { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval.number-error .bi-input { |
||||
color: #e85050; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-page-table-cell { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-chooser .path-chooser-radio { |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-region .path-region-label { |
||||
z-index: 1; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-preview-table-cell { |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-preview-table { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
.bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #eff1f4; |
||||
} |
||||
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #191b2b; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-preview-table-header-cell { |
||||
font-weight: bold; |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-quarter-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-relation-view-region .relation-view-region-container { |
||||
z-index: 1; |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-relation-view-region .relation-view-region-container.other-package { |
||||
border-style: dashed; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-dynamic-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-list-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-tree-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-tree-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-popup .year-popup-navigation { |
||||
line-height: 30px; |
||||
color: #3f8ce8; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #d4dadd; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #525466; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement .arrangement-helper { |
||||
background: #3f8ce8; |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-block { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .arrangement-drop-region { |
||||
overflow: hidden; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .drop-devider { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .top-left, |
||||
.bi-arrangement .arrangement-drop-container .top-right, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right, |
||||
.bi-arrangement .arrangement-drop-container .top-left-second, |
||||
.bi-arrangement .arrangement-drop-container .top-right-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right-second, |
||||
.bi-arrangement .arrangement-drop-container .top-center, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center, |
||||
.bi-arrangement .arrangement-drop-container .left-center, |
||||
.bi-arrangement .arrangement-drop-container .right-center, |
||||
.bi-arrangement .arrangement-drop-container .top-center-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center-second, |
||||
.bi-arrangement .arrangement-drop-container .left-center-second, |
||||
.bi-arrangement .arrangement-drop-container .right-center-second { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement-droppable { |
||||
z-index: 100000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-adapt-editor .adapt-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-search-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
.bi-search-editor .close-font { |
||||
font-size: 20px; |
||||
} |
||||
.bi-search-editor .search-font { |
||||
font-size: 20px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-small-search-editor .bi-editor { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-input { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-label { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .close-font { |
||||
font-size: 18px; |
||||
} |
||||
.bi-small-search-editor .search-font { |
||||
font-size: 18px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-initial-editor .sign-initial-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-style-editor .sign-style-editor-text { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
} |
||||
.bi-sign-style-editor .sign-style-editor-tip { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
color: #808080; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-text-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-date-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-down-list-popup .bi-down-list-item .list-item-text { |
||||
max-width: 203px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #d4dadd; |
||||
} |
||||
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #525466; |
||||
} |
||||
.bi-excel-table-header-cell { |
||||
font-weight: bold; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text { |
||||
max-width: 200px; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #eff1f4; |
||||
color: #999999; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-triangle { |
||||
z-index: 1; |
||||
} |
||||
.bi-theme-dark .bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #191b2b; |
||||
color: #999999; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-fine-tuning-number-editor { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-line { |
||||
z-index: 1000000000; |
||||
background-color: #f07d0a; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-icon { |
||||
z-index: 1000000000; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-month-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-multi-select-check-pane .multi-select-check-selected { |
||||
text-decoration: underline; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-trigger { |
||||
-webkit-border-radius: 2px 2px 2px 2px; |
||||
-moz-border-radius: 2px 2px 2px 2px; |
||||
border-radius: 2px 2px 2px 2px; |
||||
} |
||||
.bi-multi-select-search-pane .multi-select-toolbar { |
||||
color: #e85050; |
||||
} |
||||
.bi-multi-select-check-selected-button { |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-pane .multi-tree-check-selected { |
||||
color: #3f8ce8; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
.bi-multi-tree-popup .popup-view-tree { |
||||
min-height: 170px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-selected-button .trigger-check-selected { |
||||
color: #3f8ce8; |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-numerical-interval .numerical-interval-small-editor { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-editor { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval.number-error .bi-input { |
||||
color: #e85050; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-page-table-cell { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-chooser .path-chooser-radio { |
||||
z-index: 1; |
||||
} |
||||
.bi-path-region .path-region-label { |
||||
z-index: 1; |
||||
} |
||||
.bi-preview-table-cell { |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
.bi-preview-table { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
.bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #eff1f4; |
||||
} |
||||
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #191b2b; |
||||
} |
||||
.bi-preview-table-header-cell { |
||||
font-weight: bold; |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-quarter-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-relation-view-region .relation-view-region-container { |
||||
z-index: 1; |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-relation-view-region .relation-view-region-container.other-package { |
||||
border-style: dashed; |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-tree-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-tree-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-popup .year-popup-navigation { |
||||
line-height: 30px; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #d4dadd; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #525466; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-year-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
|
@ -1,96 +1,115 @@
|
||||
/** |
||||
* |
||||
* 表格单元格 |
||||
* |
||||
* Created by GUY on 2016/1/12. |
||||
* @class BI.ResizableTableCell |
||||
* @extends BI.Widget |
||||
*/ |
||||
BI.ResizableTableCell = BI.inherit(BI.Widget, { |
||||
_defaultConfig: function () { |
||||
return BI.extend(BI.ResizableTableCell.superclass._defaultConfig.apply(this, arguments), { |
||||
baseCls: "bi-resizable-table-cell", |
||||
cell: {}, |
||||
start: BI.emptyFn, |
||||
resize: BI.emptyFn, |
||||
stop: BI.emptyFn |
||||
}) |
||||
}, |
||||
|
||||
_init: function () { |
||||
BI.ResizableTableCell.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options; |
||||
this.cell = BI.createWidget(BI.extend({type: "bi.label"}, o.cell, {width: o.width, height: o.height})); |
||||
|
||||
var startDrag = false; |
||||
var size = 0, offset = 0, defaultSize = o.width; |
||||
var mouseMoveTracker = new BI.MouseMoveTracker(function (deltaX, deltaY) { |
||||
if (mouseMoveTracker.isDragging()) { |
||||
startDrag = true; |
||||
offset += deltaX; |
||||
size = BI.clamp(defaultSize + offset, 15, Number.MAX_VALUE); |
||||
self.handler.element.addClass("dragging"); |
||||
o.resize(size); |
||||
} |
||||
}, function () { |
||||
if (startDrag === true) { |
||||
size = BI.clamp(size, 15, Number.MAX_VALUE); |
||||
o.stop(size); |
||||
size = 0; |
||||
offset = 0; |
||||
defaultSize = o.width; |
||||
self.handler.element.removeClass("dragging"); |
||||
startDrag = false; |
||||
} |
||||
mouseMoveTracker.releaseMouseMoves(); |
||||
}, document); |
||||
this.handler = BI.createWidget({ |
||||
type: "bi.absolute", |
||||
cls: "resizable-table-cell-resizer-container", |
||||
width: 6, |
||||
items: [{ |
||||
el: { |
||||
type: "bi.layout", |
||||
cls: "resizable-table-cell-resizer-knob", |
||||
width: 4 |
||||
}, |
||||
right: 0, |
||||
top: 0, |
||||
bottom: 0 |
||||
}] |
||||
}); |
||||
this.handler.element.on("mousedown", function (event) { |
||||
defaultSize = o.width; |
||||
mouseMoveTracker.captureMouseMoves(event); |
||||
}); |
||||
BI.createWidget({ |
||||
type: "bi.absolute", |
||||
element: this, |
||||
items: [{ |
||||
el: this.cell, |
||||
left: 0, |
||||
right: 0, |
||||
top: 0, |
||||
bottom: 0 |
||||
}, { |
||||
el: this.handler, |
||||
right: 0, |
||||
top: 0, |
||||
bottom: 0 |
||||
}] |
||||
}) |
||||
}, |
||||
|
||||
setWidth: function (width) { |
||||
BI.ResizableTableCell.superclass.setWidth.apply(this, arguments); |
||||
var o = this.options; |
||||
this.cell.setWidth(o.width); |
||||
}, |
||||
|
||||
setHeight: function (height) { |
||||
BI.ResizableTableCell.superclass.setHeight.apply(this, arguments); |
||||
var o = this.options; |
||||
this.cell.setHeight(o.height); |
||||
} |
||||
}); |
||||
/** |
||||
* |
||||
* 表格单元格 |
||||
* |
||||
* Created by GUY on 2016/1/12. |
||||
* @class BI.ResizableTableCell |
||||
* @extends BI.Widget |
||||
*/ |
||||
BI.ResizableTableCell = BI.inherit(BI.Widget, { |
||||
_defaultConfig: function () { |
||||
return BI.extend(BI.ResizableTableCell.superclass._defaultConfig.apply(this, arguments), { |
||||
baseCls: "bi-resizable-table-cell", |
||||
cell: {}, |
||||
minSize: 15, |
||||
// suitableSize,
|
||||
maxSize: Number.MAX_VALUE, |
||||
start: BI.emptyFn, |
||||
resize: BI.emptyFn, |
||||
stop: BI.emptyFn |
||||
}) |
||||
}, |
||||
|
||||
_init: function () { |
||||
BI.ResizableTableCell.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options; |
||||
this.cell = BI.createWidget(BI.extend({type: "bi.label"}, o.cell, {width: o.width, height: o.height})); |
||||
|
||||
var startDrag = false; |
||||
var size = 0, offset = 0, defaultSize = o.width; |
||||
|
||||
function optimizeSize(s) { |
||||
var optSize = BI.clamp(s, o.minSize, o.maxSize || Number.MAX_VALUE); |
||||
// if (o.suitableSize) {
|
||||
// if (Math.abs(o.suitableSize - optSize) < 5) {
|
||||
// optSize = o.suitableSize;
|
||||
// self.handler.element.addClass("suitable");
|
||||
// } else {
|
||||
// self.handler.element.removeClass("suitable");
|
||||
// }
|
||||
// }
|
||||
return optSize; |
||||
} |
||||
|
||||
var mouseMoveTracker = new BI.MouseMoveTracker(function (deltaX, deltaY) { |
||||
if (mouseMoveTracker.isDragging()) { |
||||
startDrag = true; |
||||
offset += deltaX; |
||||
size = optimizeSize(defaultSize + offset); |
||||
self.handler.element.addClass("dragging"); |
||||
o.resize(size); |
||||
} |
||||
}, function () { |
||||
if (startDrag === true) { |
||||
size = optimizeSize(size); |
||||
o.stop(size); |
||||
size = 0; |
||||
offset = 0; |
||||
defaultSize = o.width; |
||||
startDrag = false; |
||||
} |
||||
self.handler.element.removeClass("dragging"); |
||||
self.handler.element.removeClass("suitable"); |
||||
mouseMoveTracker.releaseMouseMoves(); |
||||
}, document); |
||||
this.handler = BI.createWidget({ |
||||
type: "bi.absolute", |
||||
cls: "resizable-table-cell-resizer-container", |
||||
width: 6, |
||||
items: [{ |
||||
el: { |
||||
type: "bi.layout", |
||||
cls: "resizable-table-cell-resizer-knob", |
||||
width: 4 |
||||
}, |
||||
right: 0, |
||||
top: 0, |
||||
bottom: 0 |
||||
}] |
||||
}); |
||||
this.handler.element.on("mousedown", function (event) { |
||||
defaultSize = o.width; |
||||
optimizeSize(defaultSize); |
||||
mouseMoveTracker.captureMouseMoves(event); |
||||
}); |
||||
BI.createWidget({ |
||||
type: "bi.absolute", |
||||
element: this, |
||||
items: [{ |
||||
el: this.cell, |
||||
left: 0, |
||||
right: 0, |
||||
top: 0, |
||||
bottom: 0 |
||||
}, { |
||||
el: this.handler, |
||||
right: 0, |
||||
top: 0, |
||||
bottom: 0 |
||||
}] |
||||
}) |
||||
}, |
||||
|
||||
setWidth: function (width) { |
||||
BI.ResizableTableCell.superclass.setWidth.apply(this, arguments); |
||||
var o = this.options; |
||||
this.cell.setWidth(o.width); |
||||
}, |
||||
|
||||
setHeight: function (height) { |
||||
BI.ResizableTableCell.superclass.setHeight.apply(this, arguments); |
||||
var o = this.options; |
||||
this.cell.setHeight(o.height); |
||||
} |
||||
}); |
||||
BI.shortcut("bi.resizable_table_cell", BI.ResizableTableCell); |
@ -1,224 +1,222 @@
|
||||
/** |
||||
* Created by GUY on 2017/2/8. |
||||
* |
||||
* @class BI.BubbleCombo |
||||
* @extends BI.Widget |
||||
*/ |
||||
BI.BubbleCombo = BI.inherit(BI.Widget, { |
||||
_const: { |
||||
TRIANGLE_LENGTH: 6 |
||||
}, |
||||
_defaultConfig: function () { |
||||
return BI.extend(BI.BubbleCombo.superclass._defaultConfig.apply(this, arguments), { |
||||
baseCls: "bi-bubble-combo", |
||||
trigger: "click", |
||||
toggle: true, |
||||
direction: "bottom", //top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
||||
isDefaultInit: false, |
||||
destroyWhenHide: false, |
||||
isNeedAdjustHeight: true,//是否需要高度调整
|
||||
isNeedAdjustWidth: true, |
||||
stopPropagation: false, |
||||
adjustLength: 0,//调整的距离
|
||||
// adjustXOffset: 0,
|
||||
// adjustYOffset: 10,
|
||||
hideChecker: BI.emptyFn, |
||||
offsetStyle: "left", //left,right,center
|
||||
el: {}, |
||||
popup: {}, |
||||
}) |
||||
}, |
||||
_init: function () { |
||||
BI.BubbleCombo.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options; |
||||
this.combo = BI.createWidget({ |
||||
type: "bi.combo", |
||||
element: this, |
||||
trigger: o.trigger, |
||||
toggle: o.toggle, |
||||
direction: o.direction, |
||||
isDefaultInit: o.isDefaultInit, |
||||
destroyWhenHide: o.destroyWhenHide, |
||||
isNeedAdjustHeight: o.isNeedAdjustHeight, |
||||
isNeedAdjustWidth: o.isNeedAdjustWidth, |
||||
adjustLength: this._getAdjustLength(), |
||||
stopPropagation: o.stopPropagation, |
||||
adjustXOffset: 0, |
||||
adjustYOffset: 0, |
||||
hideChecker: o.hideChecker, |
||||
offsetStyle: o.offsetStyle, |
||||
el: o.el, |
||||
popup: BI.extend({ |
||||
type: "bi.bubble_popup_view" |
||||
}, o.popup), |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_CHANGE, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_CHANGE, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_EXPAND, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_EXPAND, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_COLLAPSE, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_COLLAPSE, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_AFTER_INIT, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_AFTER_INIT, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_BEFORE_POPUPVIEW, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_AFTER_POPUPVIEW, function () { |
||||
self._showTriangle(); |
||||
self.fireEvent(BI.BubbleCombo.EVENT_AFTER_POPUPVIEW, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_BEFORE_HIDEVIEW, function () { |
||||
self._hideTriangle(); |
||||
self.fireEvent(BI.BubbleCombo.EVENT_BEFORE_HIDEVIEW, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_AFTER_HIDEVIEW, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_AFTER_HIDEVIEW, arguments); |
||||
}); |
||||
}, |
||||
|
||||
_getAdjustLength: function () { |
||||
return this._const.TRIANGLE_LENGTH + this.options.adjustLength; |
||||
}, |
||||
|
||||
_createTriangle: function (direction) { |
||||
var pos = {}, op = {}; |
||||
var adjustLength = this.options.adjustLength; |
||||
var offset = this.element.offset(); |
||||
var left = offset.left, right = offset.left + this.element.outerWidth(); |
||||
var top = offset.top, bottom = offset.top + this.element.outerHeight(); |
||||
switch (direction) { |
||||
case "left": |
||||
pos = { |
||||
top: top, |
||||
height: this.element.outerHeight(), |
||||
left: left - adjustLength - this._const.TRIANGLE_LENGTH |
||||
}; |
||||
op = {width: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
case "right": |
||||
pos = { |
||||
top: top, |
||||
height: this.element.outerHeight(), |
||||
left: right + adjustLength |
||||
}; |
||||
op = {width: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
case "top": |
||||
pos = { |
||||
left: left, |
||||
width: this.element.outerWidth(), |
||||
top: top - adjustLength - this._const.TRIANGLE_LENGTH |
||||
}; |
||||
op = {height: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
case "bottom": |
||||
pos = { |
||||
left: left, |
||||
width: this.element.outerWidth(), |
||||
top: bottom + adjustLength |
||||
}; |
||||
op = {height: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
default: |
||||
break; |
||||
} |
||||
this.triangle = BI.createWidget(op, { |
||||
type: "bi.center_adapt", |
||||
cls: "button-combo-triangle-wrapper", |
||||
items: [{ |
||||
type: "bi.layout", |
||||
cls: "bubble-combo-triangle-" + direction + " bi-high-light-border" |
||||
}] |
||||
}); |
||||
pos.el = this.triangle; |
||||
BI.createWidget({ |
||||
type: "bi.absolute", |
||||
element: this, |
||||
items: [pos] |
||||
}) |
||||
}, |
||||
|
||||
_createLeftTriangle: function () { |
||||
this._createTriangle("left"); |
||||
}, |
||||
|
||||
_createRightTriangle: function () { |
||||
this._createTriangle("right"); |
||||
}, |
||||
|
||||
_createTopTriangle: function () { |
||||
this._createTriangle("top"); |
||||
}, |
||||
|
||||
_createBottomTriangle: function () { |
||||
this._createTriangle("bottom"); |
||||
}, |
||||
|
||||
_showTriangle: function () { |
||||
var pos = this.combo.getPopupPosition(); |
||||
switch (pos.dir) { |
||||
case "left,top": |
||||
case "left,bottom": |
||||
this._createLeftTriangle(); |
||||
this.combo.getView().showLine("right"); |
||||
break; |
||||
case "right,top": |
||||
case "right,bottom": |
||||
this._createRightTriangle(); |
||||
this.combo.getView().showLine("left"); |
||||
break; |
||||
case "top,left": |
||||
case "top,right": |
||||
this._createTopTriangle(); |
||||
this.combo.getView().showLine("bottom"); |
||||
break; |
||||
case "bottom,left": |
||||
case "bottom,right": |
||||
this._createBottomTriangle(); |
||||
this.combo.getView().showLine("top"); |
||||
break; |
||||
} |
||||
}, |
||||
|
||||
_hideTriangle: function () { |
||||
this.triangle && this.triangle.destroy(); |
||||
this.combo.getView() && this.combo.getView().hideLine(); |
||||
}, |
||||
|
||||
hideView: function () { |
||||
this._hideTriangle(); |
||||
this.combo && this.combo.hideView(); |
||||
}, |
||||
|
||||
showView: function () { |
||||
this.combo && this.combo.showView(); |
||||
}, |
||||
|
||||
hasView: function () { |
||||
return BI.isNotNull(this.combo.getView()); |
||||
}, |
||||
|
||||
isViewVisible: function () { |
||||
return this.combo.isViewVisible(); |
||||
} |
||||
}); |
||||
|
||||
BI.BubbleCombo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE"; |
||||
BI.BubbleCombo.EVENT_CHANGE = "EVENT_CHANGE"; |
||||
BI.BubbleCombo.EVENT_EXPAND = "EVENT_EXPAND"; |
||||
BI.BubbleCombo.EVENT_COLLAPSE = "EVENT_COLLAPSE"; |
||||
BI.BubbleCombo.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; |
||||
|
||||
|
||||
BI.BubbleCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; |
||||
BI.BubbleCombo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; |
||||
BI.BubbleCombo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; |
||||
BI.BubbleCombo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; |
||||
/** |
||||
* Created by GUY on 2017/2/8. |
||||
* |
||||
* @class BI.BubbleCombo |
||||
* @extends BI.Widget |
||||
*/ |
||||
BI.BubbleCombo = BI.inherit(BI.Widget, { |
||||
_const: { |
||||
TRIANGLE_LENGTH: 6 |
||||
}, |
||||
_defaultConfig: function () { |
||||
return BI.extend(BI.BubbleCombo.superclass._defaultConfig.apply(this, arguments), { |
||||
baseCls: "bi-bubble-combo", |
||||
trigger: "click", |
||||
toggle: true, |
||||
direction: "bottom", //top||bottom||left||right||top,left||top,right||bottom,left||bottom,right
|
||||
isDefaultInit: false, |
||||
destroyWhenHide: false, |
||||
isNeedAdjustHeight: true,//是否需要高度调整
|
||||
isNeedAdjustWidth: true, |
||||
stopPropagation: false, |
||||
adjustLength: 0,//调整的距离
|
||||
// adjustXOffset: 0,
|
||||
// adjustYOffset: 10,
|
||||
hideChecker: BI.emptyFn, |
||||
offsetStyle: "left", //left,right,center
|
||||
el: {}, |
||||
popup: {}, |
||||
}) |
||||
}, |
||||
_init: function () { |
||||
BI.BubbleCombo.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options; |
||||
this.combo = BI.createWidget({ |
||||
type: "bi.combo", |
||||
element: this, |
||||
trigger: o.trigger, |
||||
toggle: o.toggle, |
||||
direction: o.direction, |
||||
isDefaultInit: o.isDefaultInit, |
||||
destroyWhenHide: o.destroyWhenHide, |
||||
isNeedAdjustHeight: o.isNeedAdjustHeight, |
||||
isNeedAdjustWidth: o.isNeedAdjustWidth, |
||||
adjustLength: this._getAdjustLength(), |
||||
stopPropagation: o.stopPropagation, |
||||
adjustXOffset: 0, |
||||
adjustYOffset: 0, |
||||
hideChecker: o.hideChecker, |
||||
offsetStyle: o.offsetStyle, |
||||
el: o.el, |
||||
popup: BI.extend({ |
||||
type: "bi.bubble_popup_view" |
||||
}, o.popup), |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_CHANGE, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_CHANGE, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_EXPAND, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_EXPAND, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_COLLAPSE, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_COLLAPSE, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_AFTER_INIT, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_AFTER_INIT, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_BEFORE_POPUPVIEW, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_BEFORE_POPUPVIEW, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_AFTER_POPUPVIEW, function () { |
||||
self._showTriangle(); |
||||
self.fireEvent(BI.BubbleCombo.EVENT_AFTER_POPUPVIEW, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_BEFORE_HIDEVIEW, function () { |
||||
self._hideTriangle(); |
||||
self.fireEvent(BI.BubbleCombo.EVENT_BEFORE_HIDEVIEW, arguments); |
||||
}); |
||||
this.combo.on(BI.Combo.EVENT_AFTER_HIDEVIEW, function () { |
||||
self.fireEvent(BI.BubbleCombo.EVENT_AFTER_HIDEVIEW, arguments); |
||||
}); |
||||
}, |
||||
|
||||
_getAdjustLength: function () { |
||||
return this._const.TRIANGLE_LENGTH + this.options.adjustLength; |
||||
}, |
||||
|
||||
_createTriangle: function (direction) { |
||||
var pos = {}, op = {}; |
||||
var adjustLength = this.options.adjustLength; |
||||
var offset = this.element.offset(); |
||||
var left = offset.left, right = offset.left + this.element.outerWidth(); |
||||
var top = offset.top, bottom = offset.top + this.element.outerHeight(); |
||||
switch (direction) { |
||||
case "left": |
||||
pos = { |
||||
top: top, |
||||
height: this.element.outerHeight(), |
||||
left: left - adjustLength - this._const.TRIANGLE_LENGTH |
||||
}; |
||||
op = {width: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
case "right": |
||||
pos = { |
||||
top: top, |
||||
height: this.element.outerHeight(), |
||||
left: right + adjustLength |
||||
}; |
||||
op = {width: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
case "top": |
||||
pos = { |
||||
left: left, |
||||
width: this.element.outerWidth(), |
||||
top: top - adjustLength - this._const.TRIANGLE_LENGTH |
||||
}; |
||||
op = {height: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
case "bottom": |
||||
pos = { |
||||
left: left, |
||||
width: this.element.outerWidth(), |
||||
top: bottom + adjustLength |
||||
}; |
||||
op = {height: this._const.TRIANGLE_LENGTH}; |
||||
break; |
||||
default: |
||||
break; |
||||
} |
||||
this.triangle && this.triangle.destroy(); |
||||
this.triangle = BI.createWidget(op, { |
||||
type: "bi.center_adapt", |
||||
cls: "button-combo-triangle-wrapper", |
||||
items: [{ |
||||
type: "bi.layout", |
||||
cls: "bubble-combo-triangle-" + direction + " bi-high-light-border" |
||||
}] |
||||
}); |
||||
pos.el = this.triangle; |
||||
BI.createWidget({ |
||||
type: "bi.absolute", |
||||
element: this, |
||||
items: [pos] |
||||
}) |
||||
}, |
||||
|
||||
_createLeftTriangle: function () { |
||||
this._createTriangle("left"); |
||||
}, |
||||
|
||||
_createRightTriangle: function () { |
||||
this._createTriangle("right"); |
||||
}, |
||||
|
||||
_createTopTriangle: function () { |
||||
this._createTriangle("top"); |
||||
}, |
||||
|
||||
_createBottomTriangle: function () { |
||||
this._createTriangle("bottom"); |
||||
}, |
||||
|
||||
_showTriangle: function () { |
||||
var pos = this.combo.getPopupPosition(); |
||||
switch (pos.dir) { |
||||
case "left,top": |
||||
case "left,bottom": |
||||
this._createLeftTriangle(); |
||||
this.combo.getView().showLine("right"); |
||||
break; |
||||
case "right,top": |
||||
case "right,bottom": |
||||
this._createRightTriangle(); |
||||
this.combo.getView().showLine("left"); |
||||
break; |
||||
case "top,left": |
||||
case "top,right": |
||||
this._createTopTriangle(); |
||||
this.combo.getView().showLine("bottom"); |
||||
break; |
||||
case "bottom,left": |
||||
case "bottom,right": |
||||
this._createBottomTriangle(); |
||||
this.combo.getView().showLine("top"); |
||||
break; |
||||
} |
||||
}, |
||||
|
||||
_hideTriangle: function () { |
||||
this.triangle && this.triangle.destroy(); |
||||
this.triangle = null; |
||||
this.combo.getView() && this.combo.getView().hideLine(); |
||||
}, |
||||
|
||||
hideView: function () { |
||||
this._hideTriangle(); |
||||
this.combo && this.combo.hideView(); |
||||
}, |
||||
|
||||
showView: function () { |
||||
this.combo && this.combo.showView(); |
||||
}, |
||||
|
||||
isViewVisible: function () { |
||||
return this.combo.isViewVisible(); |
||||
} |
||||
}); |
||||
|
||||
BI.BubbleCombo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE"; |
||||
BI.BubbleCombo.EVENT_CHANGE = "EVENT_CHANGE"; |
||||
BI.BubbleCombo.EVENT_EXPAND = "EVENT_EXPAND"; |
||||
BI.BubbleCombo.EVENT_COLLAPSE = "EVENT_COLLAPSE"; |
||||
BI.BubbleCombo.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; |
||||
|
||||
|
||||
BI.BubbleCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; |
||||
BI.BubbleCombo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; |
||||
BI.BubbleCombo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; |
||||
BI.BubbleCombo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; |
||||
BI.shortcut("bi.bubble_combo", BI.BubbleCombo); |
@ -1,177 +1,176 @@
|
||||
/** |
||||
* Created by GUY on 2016/4/29. |
||||
* |
||||
* @class BI.SortList |
||||
* @extends BI.Widget |
||||
*/ |
||||
BI.SortList = BI.inherit(BI.Widget, { |
||||
_defaultConfig: function () { |
||||
return BI.extend(BI.SortList.superclass._defaultConfig.apply(this, arguments), { |
||||
baseCls: "bi-sort-list", |
||||
|
||||
isDefaultInit: true,//是否默认初始化数据
|
||||
|
||||
//下面是button_group的属性
|
||||
el: { |
||||
type: "bi.button_group" |
||||
}, |
||||
|
||||
items: [], |
||||
itemsCreator: BI.emptyFn, |
||||
onLoaded: BI.emptyFn, |
||||
|
||||
//下面是分页信息
|
||||
count: false, |
||||
next: {}, |
||||
hasNext: BI.emptyFn |
||||
|
||||
//containment: this.element,
|
||||
//connectWith: ".bi-sort-list",
|
||||
}) |
||||
}, |
||||
|
||||
_init: function () { |
||||
BI.SortList.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options; |
||||
this.loader = BI.createWidget({ |
||||
type: "bi.list_loader", |
||||
element: this, |
||||
isDefaultInit: o.isDefaultInit, |
||||
el: o.el, |
||||
items: this._formatItems(o.items), |
||||
itemsCreator: function (op, callback) { |
||||
o.itemsCreator(op, function (items) { |
||||
callback(self._formatItems(items)); |
||||
}); |
||||
}, |
||||
onLoaded: o.onLoaded, |
||||
count: o.count, |
||||
next: o.next, |
||||
hasNext: o.hasNext |
||||
}); |
||||
this.loader.on(BI.Controller.EVENT_CHANGE, function (type, value, obj) { |
||||
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
||||
if (type === BI.Events.CLICK) { |
||||
self.fireEvent(BI.SortList.EVENT_CHANGE, value, obj); |
||||
} |
||||
}); |
||||
|
||||
this.loader.element.sortable({ |
||||
containment: o.containment || this.element, |
||||
connectWith: o.connectWith || ".bi-sort-list", |
||||
items: ".sort-item", |
||||
cursor: o.cursor || "drag", |
||||
tolerance: o.tolerance || "intersect", |
||||
placeholder: { |
||||
element: function ($currentItem) { |
||||
var holder = BI.createWidget({ |
||||
type: "bi.layout", |
||||
cls: "bi-sortable-holder", |
||||
height: $currentItem.outerHeight() |
||||
}); |
||||
holder.element.css({ |
||||
"margin-left": $currentItem.css("margin-left"), |
||||
"margin-right": $currentItem.css("margin-right"), |
||||
"margin-top": $currentItem.css("margin-top"), |
||||
"margin-bottom": $currentItem.css("margin-bottom"), |
||||
"margin": $currentItem.css("margin") |
||||
}); |
||||
return holder.element; |
||||
}, |
||||
update: function () { |
||||
|
||||
} |
||||
}, |
||||
start: function (event, ui) { |
||||
|
||||
}, |
||||
stop: function (event, ui) { |
||||
self.fireEvent(BI.SortList.EVENT_CHANGE); |
||||
}, |
||||
over: function (event, ui) { |
||||
|
||||
} |
||||
}); |
||||
}, |
||||
|
||||
_formatItems: function (items) { |
||||
BI.each(items, function (i, item) { |
||||
item = BI.stripEL(item); |
||||
item.cls = item.cls ? item.cls + " sort-item" : "sort-item"; |
||||
item.attributes = { |
||||
sorted: item.value |
||||
}; |
||||
}); |
||||
return items; |
||||
}, |
||||
|
||||
hasNext: function () { |
||||
return this.loader.hasNext(); |
||||
}, |
||||
|
||||
addItems: function (items) { |
||||
this.loader.addItems(items); |
||||
}, |
||||
|
||||
populate: function (items) { |
||||
this.loader.populate.apply(this.loader, arguments); |
||||
}, |
||||
|
||||
empty: function () { |
||||
this.loader.empty(); |
||||
}, |
||||
|
||||
doBehavior: function () { |
||||
this.loader.doBehavior.apply(this.loader, arguments); |
||||
}, |
||||
|
||||
setNotSelectedValue: function () { |
||||
this.loader.setNotSelectedValue.apply(this.loader, arguments); |
||||
}, |
||||
|
||||
getNotSelectedValue: function () { |
||||
return this.loader.getNotSelectedValue(); |
||||
}, |
||||
|
||||
setValue: function () { |
||||
this.loader.setValue.apply(this.loader, arguments); |
||||
}, |
||||
|
||||
getValue: function () { |
||||
return this.loader.getValue(); |
||||
}, |
||||
|
||||
getAllButtons: function () { |
||||
return this.loader.getAllButtons(); |
||||
}, |
||||
|
||||
getAllLeaves: function () { |
||||
return this.loader.getAllLeaves(); |
||||
}, |
||||
|
||||
getSelectedButtons: function () { |
||||
return this.loader.getSelectedButtons(); |
||||
}, |
||||
|
||||
getNotSelectedButtons: function () { |
||||
return this.loader.getNotSelectedButtons(); |
||||
}, |
||||
|
||||
getIndexByValue: function (value) { |
||||
return this.loader.getIndexByValue(value); |
||||
}, |
||||
|
||||
getNodeById: function (id) { |
||||
return this.loader.getNodeById(id); |
||||
}, |
||||
|
||||
getNodeByValue: function (value) { |
||||
return this.loader.getNodeByValue(value); |
||||
}, |
||||
|
||||
getSortedValues: function () { |
||||
return this.loader.element.sortable("toArray", {attribute: "sorted"}); |
||||
} |
||||
}); |
||||
BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; |
||||
/** |
||||
* Created by GUY on 2016/4/29. |
||||
* |
||||
* @class BI.SortList |
||||
* @extends BI.Widget |
||||
*/ |
||||
BI.SortList = BI.inherit(BI.Widget, { |
||||
_defaultConfig: function () { |
||||
return BI.extend(BI.SortList.superclass._defaultConfig.apply(this, arguments), { |
||||
baseCls: "bi-sort-list", |
||||
|
||||
isDefaultInit: true,//是否默认初始化数据
|
||||
|
||||
//下面是button_group的属性
|
||||
el: { |
||||
type: "bi.button_group" |
||||
}, |
||||
|
||||
items: [], |
||||
itemsCreator: BI.emptyFn, |
||||
onLoaded: BI.emptyFn, |
||||
|
||||
//下面是分页信息
|
||||
count: false, |
||||
next: {}, |
||||
hasNext: BI.emptyFn |
||||
|
||||
//containment: this.element,
|
||||
//connectWith: ".bi-sort-list",
|
||||
}) |
||||
}, |
||||
|
||||
_init: function () { |
||||
BI.SortList.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options; |
||||
this.loader = BI.createWidget({ |
||||
type: "bi.list_loader", |
||||
element: this, |
||||
isDefaultInit: o.isDefaultInit, |
||||
el: o.el, |
||||
items: this._formatItems(o.items), |
||||
itemsCreator: function (op, callback) { |
||||
o.itemsCreator(op, function (items) { |
||||
callback(self._formatItems(items)); |
||||
}); |
||||
}, |
||||
onLoaded: o.onLoaded, |
||||
count: o.count, |
||||
next: o.next, |
||||
hasNext: o.hasNext |
||||
}); |
||||
this.loader.on(BI.Controller.EVENT_CHANGE, function (type, value, obj) { |
||||
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
||||
if (type === BI.Events.CLICK) { |
||||
self.fireEvent(BI.SortList.EVENT_CHANGE, value, obj); |
||||
} |
||||
}); |
||||
|
||||
this.loader.element.sortable({ |
||||
containment: o.containment || this.element, |
||||
connectWith: o.connectWith || ".bi-sort-list", |
||||
items: ".sort-item", |
||||
cursor: o.cursor || "drag", |
||||
tolerance: o.tolerance || "intersect", |
||||
placeholder: { |
||||
element: function ($currentItem) { |
||||
var holder = BI.createWidget({ |
||||
type: "bi.layout", |
||||
cls: "bi-sortable-holder", |
||||
height: $currentItem.outerHeight() |
||||
}); |
||||
holder.element.css({ |
||||
"margin-left": $currentItem.css("margin-left"), |
||||
"margin-right": $currentItem.css("margin-right"), |
||||
"margin-top": $currentItem.css("margin-top"), |
||||
"margin-bottom": $currentItem.css("margin-bottom"), |
||||
"margin": $currentItem.css("margin") |
||||
}); |
||||
return holder.element; |
||||
}, |
||||
update: function () { |
||||
|
||||
} |
||||
}, |
||||
start: function (event, ui) { |
||||
|
||||
}, |
||||
stop: function (event, ui) { |
||||
self.fireEvent(BI.SortList.EVENT_CHANGE); |
||||
}, |
||||
over: function (event, ui) { |
||||
|
||||
} |
||||
}); |
||||
}, |
||||
|
||||
_formatItems: function (items) { |
||||
BI.each(items, function (i, item) { |
||||
item = BI.stripEL(item); |
||||
item.cls = item.cls ? item.cls + " sort-item" : "sort-item"; |
||||
item.attributes = { |
||||
sorted: item.value |
||||
}; |
||||
}); |
||||
return items; |
||||
}, |
||||
|
||||
hasNext: function () { |
||||
return this.loader.hasNext(); |
||||
}, |
||||
|
||||
addItems: function (items) { |
||||
this.loader.addItems(items); |
||||
}, |
||||
|
||||
populate: function (items) { |
||||
if (items) { |
||||
arguments[0] = this._formatItems(items); |
||||
} |
||||
this.loader.populate.apply(this.loader, arguments); |
||||
}, |
||||
|
||||
empty: function () { |
||||
this.loader.empty(); |
||||
}, |
||||
|
||||
setNotSelectedValue: function () { |
||||
this.loader.setNotSelectedValue.apply(this.loader, arguments); |
||||
}, |
||||
|
||||
getNotSelectedValue: function () { |
||||
return this.loader.getNotSelectedValue(); |
||||
}, |
||||
|
||||
setValue: function () { |
||||
this.loader.setValue.apply(this.loader, arguments); |
||||
}, |
||||
|
||||
getValue: function () { |
||||
return this.loader.getValue(); |
||||
}, |
||||
|
||||
getAllButtons: function () { |
||||
return this.loader.getAllButtons(); |
||||
}, |
||||
|
||||
getAllLeaves: function () { |
||||
return this.loader.getAllLeaves(); |
||||
}, |
||||
|
||||
getSelectedButtons: function () { |
||||
return this.loader.getSelectedButtons(); |
||||
}, |
||||
|
||||
getNotSelectedButtons: function () { |
||||
return this.loader.getNotSelectedButtons(); |
||||
}, |
||||
|
||||
getIndexByValue: function (value) { |
||||
return this.loader.getIndexByValue(value); |
||||
}, |
||||
|
||||
getNodeById: function (id) { |
||||
return this.loader.getNodeById(id); |
||||
}, |
||||
|
||||
getNodeByValue: function (value) { |
||||
return this.loader.getNodeByValue(value); |
||||
}, |
||||
|
||||
getSortedValues: function () { |
||||
return this.loader.element.sortable("toArray", {attribute: "sorted"}); |
||||
} |
||||
}); |
||||
BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; |
||||
BI.shortcut("bi.sort_list", BI.SortList); |
@ -1,79 +1,80 @@
|
||||
/** |
||||
* 文本输入框trigger |
||||
* |
||||
* Created by GUY on 2015/9/15. |
||||
* @class BI.EditorTrigger |
||||
* @extends BI.Trigger |
||||
*/ |
||||
BI.EditorTrigger = BI.inherit(BI.Trigger, { |
||||
_const: { |
||||
hgap: 4 |
||||
}, |
||||
|
||||
_defaultConfig: function () { |
||||
var conf = BI.EditorTrigger.superclass._defaultConfig.apply(this, arguments); |
||||
return BI.extend(conf, { |
||||
baseCls: (conf.baseCls || "") + " bi-editor-trigger bi-border", |
||||
height: 30, |
||||
validationChecker: BI.emptyFn, |
||||
quitChecker: BI.emptyFn, |
||||
allowBlank: false, |
||||
watermark: "", |
||||
errorText: "", |
||||
triggerWidth: 30 |
||||
}); |
||||
}, |
||||
|
||||
_init: function () { |
||||
this.options.height -= 2; |
||||
BI.EditorTrigger.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options, c = this._const; |
||||
this.editor = BI.createWidget({ |
||||
type: "bi.sign_editor", |
||||
height: o.height, |
||||
value: o.value, |
||||
validationChecker: o.validationChecker, |
||||
quitChecker: o.quitChecker, |
||||
mouseOut: false, |
||||
allowBlank: o.allowBlank, |
||||
watermark: o.watermark, |
||||
errorText: o.errorText |
||||
}); |
||||
this.editor.on(BI.Controller.EVENT_CHANGE, function () { |
||||
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
||||
}); |
||||
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () { |
||||
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments); |
||||
}); |
||||
|
||||
BI.createWidget({ |
||||
element: this, |
||||
type: 'bi.htape', |
||||
items: [ |
||||
{ |
||||
el: this.editor |
||||
}, { |
||||
el: { |
||||
type: "bi.trigger_icon_button", |
||||
width: o.triggerWidth |
||||
}, |
||||
width: o.triggerWidth |
||||
} |
||||
] |
||||
}); |
||||
}, |
||||
|
||||
getValue: function () { |
||||
return this.editor.getValue(); |
||||
}, |
||||
|
||||
setValue: function (value) { |
||||
this.editor.setValue(value); |
||||
}, |
||||
|
||||
setText: function (text) { |
||||
this.editor.setState(text); |
||||
} |
||||
}); |
||||
BI.EditorTrigger.EVENT_CHANGE = "BI.EditorTrigger.EVENT_CHANGE"; |
||||
/** |
||||
* 文本输入框trigger |
||||
* |
||||
* Created by GUY on 2015/9/15. |
||||
* @class BI.EditorTrigger |
||||
* @extends BI.Trigger |
||||
*/ |
||||
BI.EditorTrigger = BI.inherit(BI.Trigger, { |
||||
_const: { |
||||
hgap: 4 |
||||
}, |
||||
|
||||
_defaultConfig: function () { |
||||
var conf = BI.EditorTrigger.superclass._defaultConfig.apply(this, arguments); |
||||
return BI.extend(conf, { |
||||
baseCls: (conf.baseCls || "") + " bi-editor-trigger bi-border", |
||||
height: 30, |
||||
validationChecker: BI.emptyFn, |
||||
quitChecker: BI.emptyFn, |
||||
allowBlank: false, |
||||
watermark: "", |
||||
errorText: "", |
||||
triggerWidth: 30 |
||||
}); |
||||
}, |
||||
|
||||
_init: function () { |
||||
this.options.height -= 2; |
||||
BI.EditorTrigger.superclass._init.apply(this, arguments); |
||||
var self = this, o = this.options, c = this._const; |
||||
this.editor = BI.createWidget({ |
||||
type: "bi.sign_editor", |
||||
height: o.height, |
||||
value: o.value, |
||||
validationChecker: o.validationChecker, |
||||
quitChecker: o.quitChecker, |
||||
mouseOut: false, |
||||
allowBlank: o.allowBlank, |
||||
watermark: o.watermark, |
||||
errorText: o.errorText |
||||
}); |
||||
this.editor.on(BI.Controller.EVENT_CHANGE, function () { |
||||
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); |
||||
}); |
||||
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () { |
||||
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments); |
||||
}); |
||||
|
||||
BI.createWidget({ |
||||
element: this, |
||||
type: 'bi.htape', |
||||
items: [ |
||||
{ |
||||
el: this.editor |
||||
}, { |
||||
el: { |
||||
type: "bi.trigger_icon_button", |
||||
cls: "bi-border-left", |
||||
width: o.triggerWidth |
||||
}, |
||||
width: o.triggerWidth |
||||
} |
||||
] |
||||
}); |
||||
}, |
||||
|
||||
getValue: function () { |
||||
return this.editor.getValue(); |
||||
}, |
||||
|
||||
setValue: function (value) { |
||||
this.editor.setValue(value); |
||||
}, |
||||
|
||||
setText: function (text) { |
||||
this.editor.setState(text); |
||||
} |
||||
}); |
||||
BI.EditorTrigger.EVENT_CHANGE = "BI.EditorTrigger.EVENT_CHANGE"; |
||||
BI.shortcut("bi.editor_trigger", BI.EditorTrigger); |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue