@ -15106,7 +15106,8 @@ BI.Cache = {
// 判断是否设置过期时间
// 判断是否设置过期时间
if ( expiresHours && expiresHours > 0 ) {
if ( expiresHours && expiresHours > 0 ) {
var date = new Date ( ) ;
var date = new Date ( ) ;
date . setTime ( BI . getTime ( ) + expiresHours * 3600 * 1000 ) ;
// expires是标准GMT格式时间,应该使用时间戳作为起始时间
date . setTime ( date . getTime ( ) + expiresHours * 3600 * 1000 ) ;
cookieString = cookieString + "; expires=" + date . toGMTString ( ) ;
cookieString = cookieString + "; expires=" + date . toGMTString ( ) ;
}
}
if ( path ) {
if ( path ) {
@ -15121,7 +15122,7 @@ BI.Cache = {
} ,
} ,
deleteCookie : function ( name , path ) {
deleteCookie : function ( name , path ) {
var date = new Date ( ) ;
var date = new Date ( ) ;
date . setTime ( BI . getTime ( ) - 10000 ) ;
date . setTime ( date . getTime ( ) - 10000 ) ;
var cookieString = name + "=v; expires=" + date . toGMTString ( ) ;
var cookieString = name + "=v; expires=" + date . toGMTString ( ) ;
if ( path ) {
if ( path ) {
cookieString = cookieString + "; path=" + path ;
cookieString = cookieString + "; path=" + path ;
@ -32801,7 +32802,10 @@ BI.$.extend(BI.$.Event.prototype, {
textLeft = textLeft . substr ( tidx + keyword . length ) ;
textLeft = textLeft . substr ( tidx + keyword . length ) ;
if ( py != null ) {
if ( py != null ) {
py = py . substr ( tidx + keyword . length ) ;
// 每一组拼音都应该前进,而不是只是当前的
py = BI . map ( py . split ( "\u200b" ) , function ( idx , ps ) {
return ps . slice ( tidx + keyword . length ) ;
} ) . join ( "\u200b" ) ;
}
}
} else if ( pidx != null && pidx >= 0 ) {
} else if ( pidx != null && pidx >= 0 ) {
// BI-56386 这边两个pid / text.length是为了防止截取的首字符串不是完整的,但光这样做还不够,即时错位了,也不能说明就不符合条件
// BI-56386 这边两个pid / text.length是为了防止截取的首字符串不是完整的,但光这样做还不够,即时错位了,也不能说明就不符合条件
@ -65150,6 +65154,7 @@ BI.extend(BI.DynamicDateCard, {
toggle : false ,
toggle : false ,
isNeedAdjustHeight : false ,
isNeedAdjustHeight : false ,
isNeedAdjustWidth : false ,
isNeedAdjustWidth : false ,
destroyWhenHide : true ,
el : {
el : {
type : "bi.dynamic_date_trigger" ,
type : "bi.dynamic_date_trigger" ,
min : opts . minDate ,
min : opts . minDate ,
@ -65294,9 +65299,9 @@ BI.extend(BI.DynamicDateCard, {
listeners : [ {
listeners : [ {
eventName : BI . Combo . EVENT _BEFORE _POPUPVIEW ,
eventName : BI . Combo . EVENT _BEFORE _POPUPVIEW ,
action : function ( ) {
action : function ( ) {
self . popup . setValue ( self . storeValue ) ;
self . popup . setMinDate ( opts . minDate ) ;
self . popup . setMinDate ( opts . minDate ) ;
self . popup . setMaxDate ( opts . maxDate ) ;
self . popup . setMaxDate ( opts . maxDate ) ;
self . popup . setValue ( self . storeValue ) ;
self . fireEvent ( BI . DynamicDateCombo . EVENT _BEFORE _POPUPVIEW ) ;
self . fireEvent ( BI . DynamicDateCombo . EVENT _BEFORE _POPUPVIEW ) ;
}
}
} ]
} ]
@ -65710,16 +65715,16 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
setMinDate : function ( minDate ) {
setMinDate : function ( minDate ) {
if ( this . options . min !== minDate ) {
if ( this . options . min !== minDate ) {
this . options . min = minDate ;
this . ymd . setMinDate ( minDate ) ;
this . ymd . setMinDate ( minDate ) ;
}
}
this . options . min = minDate ;
} ,
} ,
setMaxDate : function ( maxDate ) {
setMaxDate : function ( maxDate ) {
if ( this . options . max !== maxDate ) {
if ( this . options . max !== maxDate ) {
this . options . max = maxDate ;
this . ymd . setMaxDate ( maxDate ) ;
this . ymd . setMaxDate ( maxDate ) ;
}
}
this . options . max = maxDate ;
} ,
} ,
setValue : function ( v ) {
setValue : function ( v ) {
@ -66158,6 +66163,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
items : [ {
items : [ {
el : {
el : {
type : "bi.combo" ,
type : "bi.combo" ,
destroyWhenHide : true ,
container : opts . container ,
container : opts . container ,
ref : function ( ) {
ref : function ( ) {
self . combo = this ;
self . combo = this ;
@ -66314,6 +66320,8 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
eventName : BI . Combo . EVENT _BEFORE _POPUPVIEW ,
eventName : BI . Combo . EVENT _BEFORE _POPUPVIEW ,
action : function ( ) {
action : function ( ) {
self . popup . setValue ( self . storeValue ) ;
self . popup . setValue ( self . storeValue ) ;
self . popup . setMinDate ( opts . minDate ) ;
self . popup . setMaxDate ( opts . maxDate ) ;
self . fireEvent ( BI . DynamicDateTimeCombo . EVENT _BEFORE _POPUPVIEW ) ;
self . fireEvent ( BI . DynamicDateTimeCombo . EVENT _BEFORE _POPUPVIEW ) ;
}
}
} ] ,
} ] ,
@ -66620,16 +66628,16 @@ BI.extend(BI.DynamicDateTimeCombo, {
setMinDate : function ( minDate ) {
setMinDate : function ( minDate ) {
if ( this . options . min !== minDate ) {
if ( this . options . min !== minDate ) {
this . options . min = minDate ;
this . ymd . setMinDate ( minDate ) ;
this . ymd . setMinDate ( minDate ) ;
}
}
this . options . min = minDate ;
} ,
} ,
setMaxDate : function ( maxDate ) {
setMaxDate : function ( maxDate ) {
if ( this . options . max !== maxDate ) {
if ( this . options . max !== maxDate ) {
this . options . max = maxDate ;
this . ymd . setMaxDate ( maxDate ) ;
this . ymd . setMaxDate ( maxDate ) ;
}
}
this . options . max = maxDate ;
} ,
} ,
setValue : function ( v ) {
setValue : function ( v ) {
@ -68024,11 +68032,15 @@ BI.IntervalSlider = BI.inherit(BI.Single, {
valueTwo = BI . parseFloat ( valueTwo ) ;
valueTwo = BI . parseFloat ( valueTwo ) ;
if ( ( oldValueOne <= oldValueTwo && valueOne > valueTwo ) || ( oldValueOne >= oldValueTwo && valueOne < valueTwo ) ) {
if ( ( oldValueOne <= oldValueTwo && valueOne > valueTwo ) || ( oldValueOne >= oldValueTwo && valueOne < valueTwo ) ) {
var isSliderOneLeft = BI . parseFloat ( this . sliderOne . element [ 0 ] . style . left ) < BI . parseFloat ( this . sliderTwo . element [ 0 ] . style . left ) ;
var isSliderOneLeft = BI . parseFloat ( this . sliderOne . element [ 0 ] . style . left ) < BI . parseFloat ( this . sliderTwo . element [ 0 ] . style . left ) ;
this . labelOne . element . css ( { left : isSliderOneLeft ? "0%" : "100%" } ) ;
this . _resetLabelPosition ( ! isSliderOneLeft ) ;
this . labelTwo . element . css ( { left : isSliderOneLeft ? "100%" : "0%" } ) ;
}
}
} ,
} ,
_resetLabelPosition : function ( needReverse ) {
this . labelOne . element . css ( { left : needReverse ? "100%" : "0%" } ) ;
this . labelTwo . element . css ( { left : needReverse ? "0%" : "100%" } ) ;
} ,
_setSliderOnePosition : function ( percent ) {
_setSliderOnePosition : function ( percent ) {
this . sliderOne . element . css ( { left : percent + "%" } ) ;
this . sliderOne . element . css ( { left : percent + "%" } ) ;
} ,
} ,
@ -68171,8 +68183,8 @@ BI.IntervalSlider = BI.inherit(BI.Single, {
var o = this . options ;
var o = this . options ;
var valueOne = BI . parseFloat ( v . min ) ;
var valueOne = BI . parseFloat ( v . min ) ;
var valueTwo = BI . parseFloat ( v . max ) ;
var valueTwo = BI . parseFloat ( v . max ) ;
valueOne = o . digit === false ? valueOne : valueOne . toFixed ( o . digit ) ;
valueOne = o . digit === false ? valueOne : BI . parseFloat ( valueOne . toFixed ( o . digit ) ) ;
valueTwo = o . digit === false ? valueTwo : valueTwo . toFixed ( o . digit ) ;
valueTwo = o . digit === false ? valueTwo : BI . parseFloat ( valueTwo . toFixed ( o . digit ) ) ;
if ( ! isNaN ( valueOne ) && ! isNaN ( valueTwo ) ) {
if ( ! isNaN ( valueOne ) && ! isNaN ( valueTwo ) ) {
if ( this . _checkValidation ( valueOne ) ) {
if ( this . _checkValidation ( valueOne ) ) {
this . valueOne = ( this . valueOne <= this . valueTwo ? valueOne : valueTwo ) ;
this . valueOne = ( this . valueOne <= this . valueTwo ? valueOne : valueTwo ) ;
@ -68213,6 +68225,7 @@ BI.IntervalSlider = BI.inherit(BI.Single, {
this . labelTwo . setValue ( this . max ) ;
this . labelTwo . setValue ( this . max ) ;
this . _setAllPosition ( 0 , 100 ) ;
this . _setAllPosition ( 0 , 100 ) ;
}
}
this . _resetLabelPosition ( ) ;
}
}
}
}
} ) ;
} ) ;
@ -71854,7 +71867,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.combo" ,
type : "bi.combo" ,
toggle : false ,
toggle : ! o . allowEdit ,
container : o . container ,
container : o . container ,
el : this . trigger ,
el : this . trigger ,
adjustLength : 1 ,
adjustLength : 1 ,
@ -72289,7 +72302,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.combo" ,
type : "bi.combo" ,
toggle : false ,
toggle : ! o . allowEdit ,
el : this . trigger ,
el : this . trigger ,
adjustLength : 1 ,
adjustLength : 1 ,
container : o . container ,
container : o . container ,
@ -74689,6 +74702,7 @@ BI.MultiSelectSearcher = BI.inherit(BI.Widget, {
type : "bi.multi_select_editor" ,
type : "bi.multi_select_editor" ,
height : o . height ,
height : o . height ,
text : o . text ,
text : o . text ,
watermark : o . watermark ,
listeners : [ {
listeners : [ {
eventName : BI . MultiSelectEditor . EVENT _FOCUS ,
eventName : BI . MultiSelectEditor . EVENT _FOCUS ,
action : function ( ) {
action : function ( ) {
@ -76331,7 +76345,8 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
baseCls : "bi-multi-tree-combo" ,
baseCls : "bi-multi-tree-combo" ,
itemsCreator : BI . emptyFn ,
itemsCreator : BI . emptyFn ,
valueFormatter : BI . emptyFn ,
valueFormatter : BI . emptyFn ,
height : 24
height : 24 ,
allowEdit : true
} ) ;
} ) ;
} ,
} ,
@ -76347,6 +76362,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
this . trigger = BI . createWidget ( {
this . trigger = BI . createWidget ( {
type : "bi.multi_select_trigger" ,
type : "bi.multi_select_trigger" ,
allowEdit : o . allowEdit ,
height : o . height ,
height : o . height ,
valueFormatter : o . valueFormatter ,
valueFormatter : o . valueFormatter ,
text : o . text ,
text : o . text ,
@ -76364,7 +76380,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.combo" ,
type : "bi.combo" ,
toggle : false ,
toggle : ! o . allowEdit ,
container : o . container ,
container : o . container ,
el : this . trigger ,
el : this . trigger ,
adjustLength : 1 ,
adjustLength : 1 ,
@ -76715,7 +76731,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.combo" ,
type : "bi.combo" ,
toggle : false ,
toggle : ! o . allowEdit ,
container : o . container ,
container : o . container ,
el : this . trigger ,
el : this . trigger ,
adjustLength : 1 ,
adjustLength : 1 ,
@ -77082,7 +77098,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.combo" ,
type : "bi.combo" ,
toggle : false ,
toggle : ! o . allowEdit ,
container : o . container ,
container : o . container ,
el : this . trigger ,
el : this . trigger ,
adjustLength : 1 ,
adjustLength : 1 ,
@ -77755,6 +77771,8 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
this . editor = BI . createWidget ( {
this . editor = BI . createWidget ( {
type : "bi.multi_select_editor" ,
type : "bi.multi_select_editor" ,
height : o . height ,
height : o . height ,
text : o . text ,
watermark : o . watermark ,
el : {
el : {
type : "bi.simple_state_editor" ,
type : "bi.simple_state_editor" ,
height : o . height
height : o . height
@ -85996,18 +86014,18 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear
setMinDate : function ( minDate ) {
setMinDate : function ( minDate ) {
if ( this . options . min !== minDate ) {
if ( this . options . min !== minDate ) {
this . options . min = minDate ;
this . yearPicker . setMinDate ( minDate ) ;
this . yearPicker . setMinDate ( minDate ) ;
this . _checkMonthStatus ( this . selectedYear ) ;
this . _checkMonthStatus ( this . selectedYear ) ;
}
}
this . options . min = minDate ;
} ,
} ,
setMaxDate : function ( maxDate ) {
setMaxDate : function ( maxDate ) {
if ( this . options . max !== maxDate ) {
if ( this . options . max !== maxDate ) {
this . options . max = maxDate ;
this . yearPicker . setMaxDate ( maxDate ) ;
this . yearPicker . setMaxDate ( maxDate ) ;
this . _checkMonthStatus ( this . selectedYear ) ;
this . _checkMonthStatus ( this . selectedYear ) ;
}
}
this . options . max = maxDate ;
} ,
} ,
getValue : function ( ) {
getValue : function ( ) {
@ -86399,16 +86417,16 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
setMinDate : function ( minDate ) {
setMinDate : function ( minDate ) {
if ( this . options . min !== minDate ) {
if ( this . options . min !== minDate ) {
this . options . min = minDate ;
this . year . setMinDate ( minDate ) ;
this . year . setMinDate ( minDate ) ;
}
}
this . options . min = minDate ;
} ,
} ,
setMaxDate : function ( maxDate ) {
setMaxDate : function ( maxDate ) {
if ( this . options . max !== maxDate ) {
if ( this . options . max !== maxDate ) {
this . options . max = maxDate ;
this . year . setMaxDate ( maxDate ) ;
this . year . setMaxDate ( maxDate ) ;
}
}
this . options . max = maxDate ;
} ,
} ,
setValue : function ( v ) {
setValue : function ( v ) {
@ -89133,6 +89151,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
}
}
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.multi_tree_insert_combo" ,
type : "bi.multi_tree_insert_combo" ,
allowEdit : o . allowEdit ,
text : o . text ,
text : o . text ,
value : o . value ,
value : o . value ,
watermark : o . watermark ,
watermark : o . watermark ,
@ -89223,6 +89242,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.multi_tree_combo" ,
type : "bi.multi_tree_combo" ,
text : o . text ,
text : o . text ,
allowEdit : o . allowEdit ,
value : o . value ,
value : o . value ,
watermark : o . watermark ,
watermark : o . watermark ,
element : this ,
element : this ,
@ -89453,6 +89473,7 @@ BI.ValueChooserInsertCombo = BI.inherit(BI.AbstractValueChooser, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.multi_select_insert_combo" ,
type : "bi.multi_select_insert_combo" ,
element : this ,
element : this ,
allowEdit : o . allowEdit ,
text : o . text ,
text : o . text ,
value : o . value ,
value : o . value ,
itemsCreator : BI . bind ( this . _itemsCreator , this ) ,
itemsCreator : BI . bind ( this . _itemsCreator , this ) ,
@ -89548,6 +89569,7 @@ BI.ValueChooserCombo = BI.inherit(BI.AbstractValueChooser, {
this . combo = BI . createWidget ( {
this . combo = BI . createWidget ( {
type : "bi.multi_select_combo" ,
type : "bi.multi_select_combo" ,
element : this ,
element : this ,
allowEdit : o . allowEdit ,
text : o . text ,
text : o . text ,
value : o . value ,
value : o . value ,
itemsCreator : BI . bind ( this . _itemsCreator , this ) ,
itemsCreator : BI . bind ( this . _itemsCreator , this ) ,
@ -90579,5 +90601,4 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
BI . watch = Fix . watch ;
BI . watch = Fix . watch ;
} ( ) ) ;
} ( ) ) ;
//# sourceMappingURL=fineui.ie.js.map
! function ( r ) { var n = { } ; function o ( e ) { if ( n [ e ] ) return n [ e ] . exports ; var t = n [ e ] = { i : e , l : ! 1 , exports : { } } ; return r [ e ] . call ( t . exports , t , t . exports , o ) , t . l = ! 0 , t . exports } o . m = r , o . c = n , o . d = function ( e , t , r ) { o . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , o . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , o . t = function ( t , e ) { if ( 1 & e && ( t = o ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( o . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var n in t ) o . d ( r , n , function ( e ) { return t [ e ] } . bind ( null , n ) ) ; return r } , o . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e [ "default" ] } : function ( ) { return e } ; return o . d ( t , "a" , t ) , t } , o . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , o . p = "" , o ( o . s = 141 ) } ( { 141 : function ( e , t , r ) { e . exports = r ( 142 ) } , 142 : function ( e , t , r ) { "use strict" ; var n = function o ( e ) { return e && e . _ _esModule ? e : { "default" : e } } ( r ( 143 ) ) ; BI . extend ( BI , n [ "default" ] ) } , 143 : function ( e , t , r ) { "use strict" ; function i ( ) { if ( "function" != typeof WeakMap ) return null ; var e = new WeakMap ; return i = function ( ) { return e } , e } Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t [ "default" ] = void 0 ; var n = { Decorators : function c ( e ) { if ( e && e . _ _esModule ) return e ; var t = i ( ) ; if ( t && t . has ( e ) ) return t . get ( e ) ; var r = { } ; if ( null != e ) { var n = Object . defineProperty && Object . getOwnPropertyDescriptor ; for ( var o in e ) if ( Object . prototype . hasOwnProperty . call ( e , o ) ) { var u = n ? Object . getOwnPropertyDescriptor ( e , o ) : null ; u && ( u . get || u . set ) ? Object . defineProperty ( r , o , u ) : r [ o ] = e [ o ] } } r [ "default" ] = e , t && t . set ( e , r ) ; return r } ( r ( 144 ) ) } ; t [ "default" ] = n } , 144 : function ( e , t , r ) { "use strict" ; function u ( e ) { if ( void 0 === e ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" ) ; return e } function i ( e , t , r ) { return t in e ? Object . defineProperty ( e , t , { value : r , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = r , e } function c ( e , t ) { e . prototype = Object . create ( t . prototype ) , function i ( e , t ) { for ( var r = Object . getOwnPropertyNames ( t ) , n = 0 ; n < r . length ; n ++ ) { var o = r [ n ] , u = Object . getOwnPropertyDescriptor ( t , o ) ; u && u . configurable && e [ o ] === undefined && Object . defineProperty ( e , o , u ) } return e } ( e . prototype . constructor = e , t ) } Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t . shortcut = function o ( ) { return function ( e ) { BI . shortcut ( e . xtype , e ) } } , t . model = function f ( ) { return function ( e ) { BI . model ( e . xtype , e ) } } , t . store = function l ( r ) { var n = 1 < arguments . length && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ; return function ( e ) { return function ( e ) { function t ( ) { return e . apply ( this , arguments ) || this } return c ( t , e ) , t . prototype . _store = function ( ) { var e = n . props ? n . props . apply ( this ) : undefined ; return BI . Models . getModel ( r . xtype , e ) } , t } ( e ) } } , t . Model = void 0 ; var n = function ( o ) { function e ( ) { for ( var e , t = arguments . length , r = new Array ( t ) , n = 0 ; n < t ; n ++ ) r [ n ] = arguments [ n ] ; return i ( u ( e = o . call . apply ( o , [ this ] . concat ( r ) ) || this ) , "model" , void 0 ) , i ( u ( e ) , "store" , void 0 ) , i ( u ( e ) , "context" , void 0 ) , i ( u ( e ) , "actions" , void 0 ) , i ( u ( e ) , "childContext" , void 0 ) , i ( u ( e ) , "TYPE" , void 0 ) , i ( u ( e ) , "computed" , void 0 ) , e } return c ( e , o ) , e . prototype . state = function ( ) { return { } } , e } ( Fix . Model ) ; t . Model = n } } ) ;