@ -1,4 +1,4 @@
/*! time: 2021-8-22 21:3 0:32 */
/*! time: 2021-8-25 17:2 0:32 */
/******/ ( function ( modules ) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = { } ;
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return _ _webpack _require _ _ ( _ _webpack _require _ _ . s = 1456 ) ;
/******/ return _ _webpack _require _ _ ( _ _webpack _require _ _ . s = 1458 ) ;
/******/ } )
/************************************************************************/
/******/ ( [
@ -138,6 +138,15 @@ var _single = __webpack_require__(2);
"use strict" ;
var _widget = _ _webpack _require _ _ ( 0 ) ;
/***/ } ) ,
/* 15 */
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
function _typeof ( obj ) { "@babel/helpers - typeof" ; if ( typeof Symbol === "function" && typeof Symbol . iterator === "symbol" ) { _typeof = function _typeof ( obj ) { return typeof obj ; } ; } else { _typeof = function _typeof ( obj ) { return obj && typeof Symbol === "function" && obj . constructor === Symbol && obj !== Symbol . prototype ? "symbol" : typeof obj ; } ; } return _typeof ( obj ) ; }
var g ; // This works in non-strict mode
@ -160,16 +169,7 @@ try {
module . exports = g ;
/***/ } ) ,
/* 15 */ ,
/* 16 */
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _widget = _ _webpack _require _ _ ( 0 ) ;
/***/ } ) ,
/* 16 */ ,
/* 17 */ ,
/* 18 */ ,
/* 19 */ ,
@ -273,7 +273,7 @@ var _widget = __webpack_require__(0);
"use strict" ;
var _pane = _ _webpack _require _ _ ( 16 ) ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
/***/ } ) ,
/* 53 */
@ -356,7 +356,7 @@ __webpack_require__(96); // On some exotic environments, it's not clear which ob
exports . setImmediate = typeof self !== "undefined" && self . setImmediate || typeof global !== "undefined" && global . setImmediate || void 0 && ( void 0 ) . setImmediate ;
exports . clearImmediate = typeof self !== "undefined" && self . clearImmediate || typeof global !== "undefined" && global . clearImmediate || void 0 && ( void 0 ) . clearImmediate ;
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 14 ) ) )
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 15 ) ) )
/***/ } ) ,
/* 62 */ ,
@ -684,7 +684,7 @@ if (_global.BI == null) {
if ( _global . BI . prepares == null ) {
_global . BI . prepares = [ ] ;
}
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 14 ) ) )
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 15 ) ) )
/***/ } ) ,
/* 92 */
@ -2040,7 +2040,7 @@ if (!_global.BI) {
} ) ;
} ) ( ) ;
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 14 ) , _ _webpack _require _ _ ( 61 ) . setImmediate ) )
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 15 ) , _ _webpack _require _ _ ( 61 ) . setImmediate ) )
/***/ } ) ,
/* 96 */
@ -2250,7 +2250,7 @@ if (!_global.BI) {
attachTo . setImmediate = setImmediate ;
attachTo . clearImmediate = clearImmediate ;
} ) ( typeof self === "undefined" ? typeof global === "undefined" ? void 0 : global : self ) ;
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 14 ) , _ _webpack _require _ _ ( 75 ) ) )
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 15 ) , _ _webpack _require _ _ ( 75 ) ) )
/***/ } ) ,
/* 97 */
@ -4429,7 +4429,7 @@ _.extend(BI, {
} ;
} ) ( ) ;
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 14 ) ) )
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 15 ) ) )
/***/ } ) ,
/* 103 */
@ -16027,6 +16027,7 @@ BI.Region.prototype = {
TOOL _BAR _HEIGHT : 24 ,
LIST _ITEM _HEIGHT : 24 ,
TRIGGER _HEIGHT : 24 ,
TOAST _TOP : 10
} ,
} ;
@ -16838,7 +16839,7 @@ BI.Layout = BI.inherit(BI.Widget, {
} else { // 如果新节点在旧节点区间中存在就复用一下
var sameOldIndex = sameOldVnode [ 1 ] ;
updated = self . patchItem ( sameOldVnode [ 0 ] , newStartVnode , sameOldIndex , newStartIdx ) || updated ;
children [ sameOldVnode [ 0 ] . key == null ? newStartIdx : sameOldVnode [ 0 ] . key ] = self . _children [ self . _getChildName ( newStartIdx ) ] = self . _children [ self . _getChildName ( sameOldIndex ) ] ;
children [ sameOldVnode [ 0 ] . key == null ? newStartIdx : sameOldVnode [ 0 ] . key ] = self . _children [ self . _getChildName ( sameOldIndex ) ] ;
if ( newStartIdx !== sameOldIndex ) {
delete self . _children [ self . _getChildName ( sameOldIndex ) ] ;
}
@ -16877,6 +16878,7 @@ BI.Layout = BI.inherit(BI.Widget, {
function addNode ( vnode , index ) {
var opt = self . _getOptions ( vnode ) ;
var key = opt . key == null ? index : opt . key ;
delete self . _children [ self . _getChildName ( index ) ] ;
return children [ key ] = self . _addElement ( index , vnode ) ;
}
@ -16941,9 +16943,11 @@ BI.Layout = BI.inherit(BI.Widget, {
c . destroy ( ) ;
} ) ;
this . _children = { } ;
this . _isMounted = false ;
}
this . options . items = opt . items ;
this . stroke ( opt . items ) ;
this . _mount ( ) ;
} ,
update : function ( opt ) {
@ -17664,11 +17668,6 @@ BI.TableAdaptLayout = BI.inherit(BI.Layout, {
if ( ! this . hasWidget ( this . _getChildName ( i ) ) ) {
var w = BI . _lazyCreateWidget ( item ) ;
w . element . css ( { position : "relative" , top : "0" , left : "0" , margin : "0px auto" } ) ;
if ( o . verticalAlign === BI . VerticalAlign . Stretch ) {
var top = o . vgap + o . tgap + ( item . tgap || 0 ) + ( item . vgap || 0 ) ,
bottom = o . vgap + o . bgap + ( item . bgap || 0 ) + ( item . vgap || 0 ) ;
w . element . css ( "height" , "calc(100% - " + ( ( top + bottom ) / BI . pixRatio + BI . pixUnit ) + ")" ) ;
}
td = BI . _lazyCreateWidget ( {
type : "bi.default" ,
width : width ,
@ -17679,6 +17678,11 @@ BI.TableAdaptLayout = BI.inherit(BI.Layout, {
td = this . getWidgetByName ( this . _getChildName ( i ) ) ;
td . element . width ( width ) ;
}
if ( o . verticalAlign === BI . VerticalAlign . Stretch ) {
var top = o . vgap + o . tgap + ( item . tgap || 0 ) + ( item . vgap || 0 ) ,
bottom = o . vgap + o . bgap + ( item . bgap || 0 ) + ( item . vgap || 0 ) ;
w . element . css ( "height" , "calc(100% - " + ( ( top + bottom ) / BI . pixRatio + BI . pixUnit ) + ")" ) ;
}
// 对于表现为td的元素设置最大宽度,有几点需要注意
// 1、由于直接对td设置最大宽度是在规范中未定义的, 所以要使用类似td:firstChild来迂回实现
// 2、不能给多个td设置最大宽度,这样只会平分宽度
@ -18035,7 +18039,7 @@ BI.shortcut("bi.vertical_fill", BI.VerticalFillLayout);
BI . FloatHorizontalFillLayout = BI . inherit ( BI . Layout , {
props : function ( ) {
return BI . extend ( BI . FloatHorizontalFillLayout . superclass . props . apply ( this , arguments ) , {
baseCls : "bi-h-float-fill" ,
baseCls : "bi-h-float-fill clearfix " ,
horizontalAlign : BI . HorizontalAlign . Stretch ,
verticalAlign : BI . VerticalAlign . Stretch ,
hgap : 0 ,
@ -18332,6 +18336,18 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
this . populate ( this . options . items ) ;
} ,
_hasFill : function ( ) {
var o = this . options ;
if ( o . columnSize . length > 0 ) {
return o . columnSize . indexOf ( "fill" ) >= 0 ;
}
return BI . some ( o . items , function ( i , item ) {
if ( item . width === "fill" ) {
return true ;
}
} ) ;
} ,
_addElement : function ( i , item ) {
var o = this . options ;
var w = BI . FlexHorizontalLayout . superclass . _addElement . apply ( this , arguments ) ;
@ -18352,7 +18368,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
}
}
// 当既有动态宽度和自适应宽度的时候只压缩自适应
if ( columnSize === "" && o . columnSize . indexOf ( "fill" ) >= 0 ) {
if ( columnSize === "" && this . _hasFill ( ) ) {
w . element . addClass ( "f-s-n" ) ;
}
} else {
@ -18577,6 +18593,18 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
this . populate ( this . options . items ) ;
} ,
_hasFill : function ( ) {
var o = this . options ;
if ( o . rowSize . length > 0 ) {
return o . rowSize . indexOf ( "fill" ) >= 0 ;
}
return BI . some ( o . items , function ( i , item ) {
if ( item . height === "fill" ) {
return true ;
}
} ) ;
} ,
_addElement : function ( i , item ) {
var o = this . options ;
var w = BI . FlexVerticalLayout . superclass . _addElement . apply ( this , arguments ) ;
@ -18597,7 +18625,7 @@ BI.FlexVerticalLayout = BI.inherit(BI.Layout, {
}
}
// 当既有动态宽度和自适应宽度的时候只压缩自适应
if ( rowSize === "" && o . rowSize . indexOf ( "fill" ) >= 0 ) {
if ( rowSize === "" && this . _hasFill ( ) ) {
w . element . addClass ( "f-s-n" ) ;
}
} else {
@ -18788,6 +18816,18 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
this . populate ( this . options . items ) ;
} ,
_hasFill : function ( ) {
var o = this . options ;
if ( o . columnSize . length > 0 ) {
return o . columnSize . indexOf ( "fill" ) >= 0 ;
}
return BI . some ( o . items , function ( i , item ) {
if ( item . width === "fill" ) {
return true ;
}
} ) ;
} ,
_addElement : function ( i , item ) {
var o = this . options ;
var w = BI . FlexWrapperHorizontalLayout . superclass . _addElement . apply ( this , arguments ) ;
@ -18808,7 +18848,7 @@ BI.FlexWrapperHorizontalLayout = BI.inherit(BI.Layout, {
}
}
// 当既有动态宽度和自适应宽度的时候只压缩自适应
if ( columnSize === "" && o . columnSize . indexOf ( "fill" ) >= 0 ) {
if ( columnSize === "" && this . _hasFill ( ) ) {
w . element . addClass ( "f-s-n" ) ;
}
} else {
@ -18948,6 +18988,18 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
this . populate ( this . options . items ) ;
} ,
_hasFill : function ( ) {
var o = this . options ;
if ( o . rowSize . length > 0 ) {
return o . rowSize . indexOf ( "fill" ) >= 0 ;
}
return BI . some ( o . items , function ( i , item ) {
if ( item . height === "fill" ) {
return true ;
}
} ) ;
} ,
_addElement : function ( i , item ) {
var o = this . options ;
var w = BI . FlexWrapperVerticalLayout . superclass . _addElement . apply ( this , arguments ) ;
@ -18968,7 +19020,7 @@ BI.FlexWrapperVerticalLayout = BI.inherit(BI.Layout, {
}
}
// 当既有动态宽度和自适应宽度的时候只压缩自适应
if ( rowSize === "" && o . rowSize . indexOf ( "fill" ) >= 0 ) {
if ( rowSize === "" && this . _hasFill ( ) ) {
w . element . addClass ( "f-s-n" ) ;
}
} else {
@ -25152,7 +25204,7 @@ BI.Msg = function () {
eventName : BI . Toast . EVENT _DESTORY ,
action : function ( ) {
BI . remove ( toastStack , toast . element ) ;
var _height = 10 ;
var _height = BI . SIZE _CONSANTS . TOAST _TOP ;
BI . each ( toastStack , function ( i , element ) {
element . css ( { "top" : _height } ) ;
_height += element . outerHeight ( ) + 10 ;
@ -25161,7 +25213,7 @@ BI.Msg = function () {
}
} ]
} ) ;
var height = 10 ;
var height = BI . SIZE _CONSANTS . TOAST _TOP ;
BI . each ( toastStack , function ( i , element ) {
height += element . outerHeight ( ) + 10 ;
} ) ;
@ -34546,7 +34598,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
_init : function ( ) {
var self = this , o = this . options ;
BI . ColorChooser . superclass . _init . apply ( this , arguments ) ;
o . value = o . value || "" ;
o . value = ( o . value || "" ) . toLowerCase ( ) ;
this . combo = BI . createWidget ( {
type : "bi.combo" ,
element : this ,
@ -34941,6 +34993,7 @@ BI.SimpleHexColorChooserPopup = BI.inherit(BI.Widget, {
var self = this , o = this . options ;
return {
type : "bi.hex_color_chooser_popup" ,
recommendColorsGetter : o . recommendColorsGetter ,
value : o . value ,
simple : true , // 是否有自动
listeners : [ {
@ -35303,7 +35356,8 @@ BI.SimpleColorChooser = BI.inherit(BI.Widget, {
width : o . width ,
height : o . height ,
popup : {
type : "bi.simple_hex_color_chooser_popup"
type : "bi.simple_hex_color_chooser_popup" ,
recommendColorsGetter : o . recommendColorsGetter ,
}
} ) ;
this . combo . on ( BI . ColorChooser . EVENT _CHANGE , function ( ) {
@ -36012,7 +36066,7 @@ BI.shortcut("bi.color_picker", BI.ColorPicker);
BI . HexColorPickerEditor = BI . inherit ( BI . Widget , {
constants : {
RGB _WIDTH : 36 ,
RGB _WIDTH : 32 ,
HEX _WIDTH : 70 ,
HEX _PREFIX _POSITION : 1
} ,
@ -36322,7 +36376,7 @@ BI.shortcut("bi.hex_color_picker_editor", BI.HexColorPickerEditor);
BI . SimpleHexColorPickerEditor = BI . inherit ( BI . Widget , {
constants : {
RGB _WIDTH : 36 ,
RGB _WIDTH : 32 ,
HEX _WIDTH : 70 ,
HEX _PREFIX _POSITION : 1
} ,
@ -42585,7 +42639,7 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
setValue : function ( selectedValues ) {
BI . MultiSelectBar . superclass . setValue . apply ( this , arguments ) ;
var isAllChecked = this . options . isAllCheckedBySelectedValue . apply ( this , arguments ) ;
this . _ setSelected( isAllChecked ) ;
this . setSelected ( isAllChecked ) ;
! isAllChecked && this . setHalfSelected ( this . options . isHalfCheckedBySelectedValue . apply ( this , arguments ) ) ;
} ,
@ -54229,10 +54283,16 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
this . _assertValue ( res ) ;
this . requesting = true ;
if ( this . storeValue . type === res . type ) {
var result = BI . Func . getSearchResult ( this . storeValue . value , this . trigger . getKey ( ) ) ;
var result = BI . Func . getSearchResult ( BI . map ( this . storeValue . value , function ( _i , v ) {
return {
text : o . valueFormatter ( v ) || v ,
value : v
} ;
} ) , this . trigger . getKey ( ) ) ;
var change = false ;
var map = this . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , v ) {
BI . each ( BI . concat ( result . match , result . find ) , function ( i , obj ) {
var v = obj . value ;
if ( BI . isNotNull ( map [ v ] ) ) {
change = true ;
self . storeValue . assist && self . storeValue . assist . push ( map [ v ] ) ;
@ -54246,7 +54306,9 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
o . itemsCreator ( {
type : BI . MultiSelectCombo . REQ _GET _ALL _DATA ,
keywords : [ this . trigger . getKey ( ) ] ,
selectedValues : this . storeValue . value ,
selectedValues : BI . filter ( this . storeValue . value , function ( _i , v ) {
return ! BI . contains ( res . value , v ) ;
} ) ,
} , function ( ob ) {
var items = BI . map ( ob . items , "value" ) ;
var selectedMap = self . _makeMap ( self . storeValue . value ) ;
@ -54729,10 +54791,16 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
this . _assertValue ( res ) ;
this . requesting = true ;
if ( this . storeValue . type === res . type ) {
var result = BI . Func . getSearchResult ( this . storeValue . value , this . trigger . getKey ( ) ) ;
var result = BI . Func . getSearchResult ( BI . map ( this . storeValue . value , function ( _i , v ) {
return {
text : o . valueFormatter ( v ) || v ,
value : v
} ;
} ) , this . trigger . getKey ( ) ) ;
var change = false ;
var map = self . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , v ) {
var map = this . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , obj ) {
var v = obj . value ;
if ( BI . isNotNull ( map [ v ] ) ) {
change = true ;
self . storeValue . assist && self . storeValue . assist . push ( map [ v ] ) ;
@ -54746,7 +54814,9 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
o . itemsCreator ( {
type : BI . MultiSelectNoBarCombo . REQ _GET _ALL _DATA ,
keywords : [ this . trigger . getKey ( ) ] ,
selectedValues : this . storeValue . value ,
selectedValues : BI . filter ( this . storeValue . value , function ( _i , v ) {
return ! BI . contains ( res . value , v ) ;
} ) ,
} , function ( ob ) {
var items = BI . map ( ob . items , "value" ) ;
var selectedMap = self . _makeMap ( self . storeValue . value ) ;
@ -55218,10 +55288,16 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
this . _assertValue ( res ) ;
this . requesting = true ;
if ( this . storeValue . type === res . type ) {
var result = BI . Func . getSearchResult ( this . storeValue . value , this . trigger . getKey ( ) ) ;
var result = BI . Func . getSearchResult ( BI . map ( this . storeValue . value , function ( _i , v ) {
return {
text : o . valueFormatter ( v ) || v ,
value : v
} ;
} ) , this . trigger . getKey ( ) ) ;
var change = false ;
var map = this . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , v ) {
BI . each ( BI . concat ( result . match , result . find ) , function ( i , obj ) {
var v = obj . value ;
if ( BI . isNotNull ( map [ v ] ) ) {
change = true ;
self . storeValue . assist && self . storeValue . assist . push ( map [ v ] ) ;
@ -55235,7 +55311,9 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
o . itemsCreator ( {
type : BI . MultiSelectInsertCombo . REQ _GET _ALL _DATA ,
keywords : [ this . trigger . getKey ( ) ] ,
selectedValues : this . storeValue . value ,
selectedValues : BI . filter ( this . storeValue . value , function ( _i , v ) {
return ! BI . contains ( res . value , v ) ;
} ) ,
} , function ( ob ) {
var items = BI . map ( ob . items , "value" ) ;
var selectedMap = self . _makeMap ( self . storeValue . value ) ;
@ -55703,10 +55781,16 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
this . _assertValue ( res ) ;
this . requesting = true ;
if ( this . storeValue . type === res . type ) {
var result = BI . Func . getSearchResult ( this . storeValue . value , this . trigger . getKey ( ) ) ;
var result = BI . Func . getSearchResult ( BI . map ( this . storeValue . value , function ( _i , v ) {
return {
text : o . valueFormatter ( v ) || v ,
value : v
} ;
} ) , this . trigger . getKey ( ) ) ;
var change = false ;
var map = this . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , v ) {
BI . each ( BI . concat ( result . match , result . find ) , function ( i , obj ) {
var v = obj . value ;
if ( BI . isNotNull ( map [ v ] ) ) {
change = true ;
self . storeValue . assist && self . storeValue . assist . push ( map [ v ] ) ;
@ -55720,7 +55804,9 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
o . itemsCreator ( {
type : BI . MultiSelectInsertNoBarCombo . REQ _GET _ALL _DATA ,
keywords : [ this . trigger . getKey ( ) ] ,
selectedValues : this . storeValue . value ,
selectedValues : BI . filter ( this . storeValue . value , function ( _i , v ) {
return ! BI . contains ( res . value , v ) ;
} ) ,
} , function ( ob ) {
var items = BI . map ( ob . items , "value" ) ;
var selectedMap = self . _makeMap ( self . storeValue . value ) ;
@ -58285,10 +58371,16 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
var self = this , o = this . options ;
this . _assertValue ( res ) ;
if ( this . storeValue . type === res . type ) {
var result = BI . Func . getSearchResult ( this . storeValue . value , this . trigger . getKey ( ) ) ;
var result = BI . Func . getSearchResult ( BI . map ( this . storeValue . value , function ( _i , v ) {
return {
text : o . valueFormatter ( v ) || v ,
value : v
} ;
} ) , this . trigger . getKeyword ( ) ) ;
var change = false ;
var map = this . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , v ) {
BI . each ( BI . concat ( result . match , result . find ) , function ( i , obj ) {
var v = obj . value ;
if ( BI . isNotNull ( map [ v ] ) ) {
change = true ;
delete map [ v ] ;
@ -58301,7 +58393,9 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
o . itemsCreator ( {
type : BI . MultiSelectInsertList . REQ _GET _ALL _DATA ,
keywords : [ this . trigger . getKeyword ( ) ] ,
selectedValues : this . storeValue . value ,
selectedValues : BI . filter ( this . storeValue . value , function ( _i , v ) {
return ! BI . contains ( res . value , v ) ;
} ) ,
} , function ( ob ) {
var items = BI . map ( ob . items , "value" ) ;
var selectedMap = self . _makeMap ( self . storeValue . value ) ;
@ -58635,10 +58729,16 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
var self = this , o = this . options ;
this . _assertValue ( res ) ;
if ( this . storeValue . type === res . type ) {
var result = BI . Func . getSearchResult ( this . storeValue . value , this . trigger . getKey ( ) ) ;
var result = BI . Func . getSearchResult ( BI . map ( this . storeValue . value , function ( _i , v ) {
return {
text : o . valueFormatter ( v ) || v ,
value : v
} ;
} ) , this . trigger . getKeyword ( ) ) ;
var change = false ;
var map = this . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , v ) {
BI . each ( BI . concat ( result . match , result . find ) , function ( i , obj ) {
var v = obj . value ;
if ( BI . isNotNull ( map [ v ] ) ) {
change = true ;
delete map [ v ] ;
@ -58651,7 +58751,9 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
o . itemsCreator ( {
type : BI . MultiSelectInsertNoBarList . REQ _GET _ALL _DATA ,
keywords : [ this . trigger . getKeyword ( ) ] ,
selectedValues : this . storeValue . value ,
selectedValues : BI . filter ( this . storeValue . value , function ( _i , v ) {
return ! BI . contains ( res . value , v ) ;
} ) ,
} , function ( ob ) {
var items = BI . map ( ob . items , "value" ) ;
var selectedMap = self . _makeMap ( self . storeValue . value ) ;
@ -58972,10 +59074,16 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
var self = this , o = this . options ;
this . _assertValue ( res ) ;
if ( this . storeValue . type === res . type ) {
var result = BI . Func . getSearchResult ( this . storeValue . value , this . trigger . getKey ( ) ) ;
var result = BI . Func . getSearchResult ( BI . map ( this . storeValue . value , function ( _i , v ) {
return {
text : o . valueFormatter ( v ) || v ,
value : v
} ;
} ) , this . trigger . getKey ( ) ) ;
var change = false ;
var map = this . _makeMap ( this . storeValue . value ) ;
BI . each ( BI . concat ( result . match , result . find ) , function ( i , v ) {
BI . each ( BI . concat ( result . match , result . find ) , function ( i , obj ) {
var v = obj . value ;
if ( BI . isNotNull ( map [ v ] ) ) {
change = true ;
delete map [ v ] ;
@ -58988,7 +59096,9 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
o . itemsCreator ( {
type : BI . MultiSelectList . REQ _GET _ALL _DATA ,
keywords : [ this . trigger . getKey ( ) ] ,
selectedValues : this . storeValue . value ,
selectedValues : BI . filter ( this . storeValue . value , function ( _i , v ) {
return ! BI . contains ( res . value , v ) ;
} ) ,
} , function ( ob ) {
var items = BI . map ( ob . items , "value" ) ;
var selectedMap = self . _makeMap ( self . storeValue . value ) ;
@ -61308,7 +61418,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI . Func . getSortedResult ( BI . keys ( value ) ) ;
BI . each ( names , function ( idx , name ) {
var childNodes = getChildrenNode ( value [ name ] ) ;
text += ( name === "null" ? "" : ( o . valueFormatter ( name + "" ) || name ) ) + ( childNodes === "" ? "" : ( ":" + childNodes ) ) + "; " ;
text += ( name === "null" ? "" : ( o . valueFormatter ( name + "" ) || name ) ) + ( childNodes === "" ? ( BI . isEmptyObject ( value [ name ] ) ? "" : ":" ) : ( ":" + childNodes ) ) + "; " ;
if ( childNodes === "" ) {
count ++ ;
}
@ -64099,7 +64209,7 @@ BI.SingleSelectSearchInsertPane = BI.inherit(BI.Widget, {
type : "bi.label" ,
text : BI . i18nText ( "BI-Basic_Click_To_Add_Text" , "" ) ,
height : this . constants . height ,
cls : "bi-high-light " ,
cls : "bi-keyword-red-mark " ,
hgap : 5 ,
} ) ;
@ -75820,6 +75930,18 @@ Object.defineProperty(exports, "TdLayout", {
return _layout11 . TdLayout ;
}
} ) ;
Object . defineProperty ( exports , "MultiLayerSelectLevelTree" , {
enumerable : true ,
get : function get ( ) {
return _multilayerselecttree3 . MultiLayerSelectLevelTree ;
}
} ) ;
Object . defineProperty ( exports , "SelectTreeExpander" , {
enumerable : true ,
get : function get ( ) {
return _selecttree . SelectTreeExpander ;
}
} ) ;
exports [ "default" ] = void 0 ;
var _combo = _ _webpack _require _ _ ( 718 ) ;
@ -75828,7 +75950,7 @@ var _group = __webpack_require__(68);
var _tab = _ _webpack _require _ _ ( 719 ) ;
var _pane = _ _webpack _require _ _ ( 16 ) ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
var _button = _ _webpack _require _ _ ( 4 ) ;
@ -76156,6 +76278,10 @@ var _pane3 = __webpack_require__(861);
var _layout11 = _ _webpack _require _ _ ( 862 ) ;
var _multilayerselecttree3 = _ _webpack _require _ _ ( 863 ) ;
var _selecttree = _ _webpack _require _ _ ( 864 ) ;
function _getRequireWildcardCache ( ) { if ( typeof WeakMap !== "function" ) return null ; var cache = new WeakMap ( ) ; _getRequireWildcardCache = function _getRequireWildcardCache ( ) { return cache ; } ; return cache ; }
function _interopRequireWildcard ( obj ) { if ( obj && obj . _ _esModule ) { return obj ; } if ( obj === null || _typeof ( obj ) !== "object" && typeof obj !== "function" ) { return { "default" : obj } ; } var cache = _getRequireWildcardCache ( ) ; if ( cache && cache . has ( obj ) ) { return cache . get ( obj ) ; } var newObj = { } ; var hasPropertyDescriptor = Object . defineProperty && Object . getOwnPropertyDescriptor ; for ( var key in obj ) { if ( Object . prototype . hasOwnProperty . call ( obj , key ) ) { var desc = hasPropertyDescriptor ? Object . getOwnPropertyDescriptor ( obj , key ) : null ; if ( desc && ( desc . get || desc . set ) ) { Object . defineProperty ( newObj , key , desc ) ; } else { newObj [ key ] = obj [ key ] ; } } } newObj [ "default" ] = obj ; if ( cache ) { cache . set ( obj , newObj ) ; } return newObj ; }
@ -76334,7 +76460,7 @@ var _widget = __webpack_require__(0);
"use strict" ;
var _pane = _ _webpack _require _ _ ( 16 ) ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
/***/ } ) ,
/* 737 */
@ -76878,7 +77004,7 @@ var _widget = __webpack_require__(0);
"use strict" ;
var _pane = _ _webpack _require _ _ ( 16 ) ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
/***/ } ) ,
/* 775 */
@ -76941,7 +77067,7 @@ var _widget = __webpack_require__(0);
"use strict" ;
var _pane = _ _webpack _require _ _ ( 16 ) ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
/***/ } ) ,
/* 782 */
@ -77130,7 +77256,7 @@ var _widget = __webpack_require__(0);
"use strict" ;
var _pane = _ _webpack _require _ _ ( 16 ) ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
/***/ } ) ,
/* 803 */
@ -77526,7 +77652,7 @@ var _button = __webpack_require__(46);
"use strict" ;
var _pane = _ _webpack _require _ _ ( 16 ) ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
/***/ } ) ,
/* 847 */
@ -77671,8 +77797,24 @@ var _abstract = __webpack_require__(30);
var _layout = _ _webpack _require _ _ ( 3 ) ;
/***/ } ) ,
/* 863 */ ,
/* 864 */ ,
/* 863 */
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _pane = _ _webpack _require _ _ ( 14 ) ;
/***/ } ) ,
/* 864 */
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _widget = _ _webpack _require _ _ ( 0 ) ;
/***/ } ) ,
/* 865 */ ,
/* 866 */ ,
/* 867 */ ,
@ -77699,7 +77841,9 @@ var _layout = __webpack_require__(3);
/* 888 */ ,
/* 889 */ ,
/* 890 */ ,
/* 891 */
/* 891 */ ,
/* 892 */ ,
/* 893 */
/***/ ( function ( module , exports ) {
; ( function ( ) {
@ -77862,8 +78006,6 @@ var _layout = __webpack_require__(3);
/***/ } ) ,
/* 892 */ ,
/* 893 */ ,
/* 894 */ ,
/* 895 */ ,
/* 896 */ ,
@ -77896,7 +78038,9 @@ var _layout = __webpack_require__(3);
/* 923 */ ,
/* 924 */ ,
/* 925 */ ,
/* 926 */
/* 926 */ ,
/* 927 */ ,
/* 928 */
/***/ ( function ( module , exports ) {
; ( function ( ) {
@ -78172,8 +78316,6 @@ var _layout = __webpack_require__(3);
/***/ } ) ,
/* 927 */ ,
/* 928 */ ,
/* 929 */ ,
/* 930 */ ,
/* 931 */ ,
@ -78181,14 +78323,16 @@ var _layout = __webpack_require__(3);
/* 933 */ ,
/* 934 */ ,
/* 935 */ ,
/* 936 */
/* 936 */ ,
/* 937 */ ,
/* 938 */
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
/* WEBPACK VAR INJECTION */ ( function ( global ) { module . exports = global [ "Fix" ] = _ _webpack _require _ _ ( 937 ) ;
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 14 ) ) )
/* WEBPACK VAR INJECTION */ ( function ( global ) { module . exports = global [ "Fix" ] = _ _webpack _require _ _ ( 939 ) ;
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 15 ) ) )
/***/ } ) ,
/* 937 */
/* 939 */
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
/* WEBPACK VAR INJECTION */ ( function ( setImmediate ) { function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
@ -79721,8 +79865,6 @@ var _layout = __webpack_require__(3);
/* WEBPACK VAR INJECTION */ } . call ( this , _ _webpack _require _ _ ( 61 ) . setImmediate ) )
/***/ } ) ,
/* 938 */ ,
/* 939 */ ,
/* 940 */ ,
/* 941 */ ,
/* 942 */ ,
@ -79921,14 +80063,14 @@ var _layout = __webpack_require__(3);
/* 1135 */ ,
/* 1136 */ ,
/* 1137 */ ,
/* 1138 */
/* 1138 */ ,
/* 1139 */ ,
/* 1140 */
/***/ ( function ( module , exports ) {
/***/ } ) ,
/* 1139 */ ,
/* 1140 */ ,
/* 1141 */ ,
/* 1142 */ ,
/* 1143 */ ,
@ -80244,7 +80386,9 @@ var _layout = __webpack_require__(3);
/* 1453 */ ,
/* 1454 */ ,
/* 1455 */ ,
/* 1456 */
/* 1456 */ ,
/* 1457 */ ,
/* 1458 */
/***/ ( function ( module , exports , _ _webpack _require _ _ ) {
_ _webpack _require _ _ ( 92 ) ;
@ -80363,7 +80507,7 @@ __webpack_require__(378);
_ _webpack _require _ _ ( 110 ) ;
_ _webpack _require _ _ ( 111 ) ;
_ _webpack _require _ _ ( 112 ) ;
_ _webpack _require _ _ ( 936 ) ;
_ _webpack _require _ _ ( 938 ) ;
_ _webpack _require _ _ ( 379 ) ;
_ _webpack _require _ _ ( 380 ) ;
_ _webpack _require _ _ ( 381 ) ;
@ -80761,9 +80905,9 @@ __webpack_require__(712);
_ _webpack _require _ _ ( 713 ) ;
_ _webpack _require _ _ ( 714 ) ;
_ _webpack _require _ _ ( 715 ) ;
_ _webpack _require _ _ ( 926 ) ;
_ _webpack _require _ _ ( 891 ) ;
_ _webpack _require _ _ ( 1138 ) ;
_ _webpack _require _ _ ( 928 ) ;
_ _webpack _require _ _ ( 893 ) ;
_ _webpack _require _ _ ( 1140 ) ;
module . exports = _ _webpack _require _ _ ( 716 ) ;