Browse Source

build一下

master
windy 5 years ago
parent
commit
0353227f22
  1. 4
      dist/2.0/fineui.css
  2. 16
      dist/2.0/fineui.ie.js
  3. 8
      dist/2.0/fineui.ie.min.js
  4. 16
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.min.css
  6. 20
      dist/2.0/fineui.min.js
  7. 4
      dist/bundle.css
  8. 16
      dist/bundle.ie.js
  9. 8
      dist/bundle.ie.min.js
  10. 16
      dist/bundle.js
  11. 2
      dist/bundle.min.css
  12. 20
      dist/bundle.min.js
  13. 4
      dist/core.css
  14. 4
      dist/core_without_normalize.css
  15. 4
      dist/fineui.css
  16. 16
      dist/fineui.ie.js
  17. 18
      dist/fineui.ie.min.js
  18. 16
      dist/fineui.js
  19. 2
      dist/fineui.min.css
  20. 18
      dist/fineui.min.js
  21. 16
      dist/fineui_without_jquery_polyfill.js
  22. 2
      dist/utils.min.js
  23. 16
      dist/widget.js

4
dist/2.0/fineui.css vendored

@ -723,8 +723,8 @@ textarea {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40);
} }
.bi-theme-dark .bi-z-index-mask { .bi-theme-dark .bi-z-index-mask {
background-color: rgba(25, 27, 43, 0.8); background-color: rgba(96, 100, 121, 0.5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc191b2b,endColorstr=#cc191b2b); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80606479,endColorstr=#80606479);
} }
.bi-list-item:hover, .bi-list-item:hover,
.bi-list-item.hover { .bi-list-item.hover {

16
dist/2.0/fineui.ie.js vendored

@ -75767,7 +75767,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76070,7 +76070,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76386,7 +76386,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76499,7 +76499,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -76649,7 +76649,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

8
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/2.0/fineui.js vendored

@ -76171,7 +76171,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76474,7 +76474,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76790,7 +76790,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76903,7 +76903,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -77053,7 +77053,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

20
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/bundle.css vendored

@ -723,8 +723,8 @@ textarea {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40);
} }
.bi-theme-dark .bi-z-index-mask { .bi-theme-dark .bi-z-index-mask {
background-color: rgba(25, 27, 43, 0.8); background-color: rgba(96, 100, 121, 0.5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc191b2b,endColorstr=#cc191b2b); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80606479,endColorstr=#80606479);
} }
.bi-list-item:hover, .bi-list-item:hover,
.bi-list-item.hover { .bi-list-item.hover {

16
dist/bundle.ie.js vendored

@ -75767,7 +75767,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76070,7 +76070,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76386,7 +76386,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76499,7 +76499,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -76649,7 +76649,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

8
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/bundle.js vendored

@ -76171,7 +76171,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76474,7 +76474,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76790,7 +76790,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76903,7 +76903,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -77053,7 +77053,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

20
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/core.css vendored

@ -723,8 +723,8 @@ textarea {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40);
} }
.bi-theme-dark .bi-z-index-mask { .bi-theme-dark .bi-z-index-mask {
background-color: rgba(25, 27, 43, 0.8); background-color: rgba(96, 100, 121, 0.5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc191b2b,endColorstr=#cc191b2b); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80606479,endColorstr=#80606479);
} }
.bi-list-item:hover, .bi-list-item:hover,
.bi-list-item.hover { .bi-list-item.hover {

4
dist/core_without_normalize.css vendored

@ -443,8 +443,8 @@ textarea {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40);
} }
.bi-theme-dark .bi-z-index-mask { .bi-theme-dark .bi-z-index-mask {
background-color: rgba(25, 27, 43, 0.8); background-color: rgba(96, 100, 121, 0.5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc191b2b,endColorstr=#cc191b2b); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80606479,endColorstr=#80606479);
} }
.bi-list-item:hover, .bi-list-item:hover,
.bi-list-item.hover { .bi-list-item.hover {

4
dist/fineui.css vendored

@ -723,8 +723,8 @@ textarea {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80232e40,endColorstr=#80232e40);
} }
.bi-theme-dark .bi-z-index-mask { .bi-theme-dark .bi-z-index-mask {
background-color: rgba(25, 27, 43, 0.8); background-color: rgba(96, 100, 121, 0.5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc191b2b,endColorstr=#cc191b2b); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80606479,endColorstr=#80606479);
} }
.bi-list-item:hover, .bi-list-item:hover,
.bi-list-item.hover { .bi-list-item.hover {

16
dist/fineui.ie.js vendored

@ -76012,7 +76012,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76315,7 +76315,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76631,7 +76631,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76744,7 +76744,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -76894,7 +76894,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

18
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui.js vendored

@ -76416,7 +76416,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -76719,7 +76719,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -77035,7 +77035,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -77148,7 +77148,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -77298,7 +77298,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

18
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui_without_jquery_polyfill.js vendored

@ -58718,7 +58718,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -59021,7 +59021,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -59337,7 +59337,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -59450,7 +59450,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -59600,7 +59600,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/widget.js vendored

@ -13832,7 +13832,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -14135,7 +14135,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -14451,7 +14451,7 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
var checked = this.getSearcher().hasChecked(); var checked = this.getSearcher().hasChecked();
var val = { var val = {
type: BI.Selection.Multi, type: BI.Selection.Multi,
value: checked ? {1: 1} : {} value: checked ? this.getValue() : {}
}; };
this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None);
this.getCounter().setButtonChecked(val); this.getCounter().setButtonChecked(val);
@ -14564,7 +14564,7 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiTreePopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-multi-tree-popup", baseCls: "bi-multi-tree-popup",
maxWidth: "auto", maxWidth: "auto",
minWidth: 100, minWidth: 140,
maxHeight: 400, maxHeight: 400,
onLoaded: BI.emptyFn, onLoaded: BI.emptyFn,
el: { el: {
@ -14714,7 +14714,13 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
setValue: function (v) { setValue: function (v) {
v || (v = {}); v || (v = {});
this.setVisible(BI.size(v.value) > 0); var show = BI.size(v.value) > 0;
this.setVisible(show);
if(show) {
this.indicator.setVisible(true);
this.checkSelected.setVisible(false);
}
} }
}); });

Loading…
Cancel
Save