Browse Source

REPORT-20994 fix: selecttree.xpander提供getAllLeaves

es6
windy 5 years ago
parent
commit
25bbff492a
  1. 17
      dist/2.0/fineui.ie.js
  2. 17
      dist/2.0/fineui.js
  3. 17
      dist/bundle.ie.js
  4. 17
      dist/bundle.js
  5. 13
      dist/case.js
  6. 17
      dist/fineui.ie.js
  7. 17
      dist/fineui.js
  8. 17
      dist/fineui_without_jquery_polyfill.js
  9. 4
      dist/widget.js
  10. 4
      src/widget/selecttree/selecttree.expander.js

17
dist/2.0/fineui.ie.js vendored

@ -52480,7 +52480,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -52659,16 +52659,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -52897,7 +52898,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -52905,7 +52906,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -80092,6 +80093,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

17
dist/2.0/fineui.js vendored

@ -52884,7 +52884,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -53063,16 +53063,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -53301,7 +53302,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -53309,7 +53310,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -80496,6 +80497,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

17
dist/bundle.ie.js vendored

@ -52480,7 +52480,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -52659,16 +52659,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -52897,7 +52898,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -52905,7 +52906,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -80092,6 +80093,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

17
dist/bundle.js vendored

@ -52884,7 +52884,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -53063,16 +53063,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -53301,7 +53302,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -53309,7 +53310,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -80496,6 +80497,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

13
dist/case.js vendored

@ -456,7 +456,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -635,16 +635,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -873,7 +874,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -881,7 +882,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},

17
dist/fineui.ie.js vendored

@ -52725,7 +52725,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -52904,16 +52904,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -53142,7 +53143,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -53150,7 +53151,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -80337,6 +80338,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

17
dist/fineui.js vendored

@ -53129,7 +53129,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -53308,16 +53308,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -53546,7 +53547,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -53554,7 +53555,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -80741,6 +80742,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

17
dist/fineui_without_jquery_polyfill.js vendored

@ -37258,7 +37258,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({
@ -37437,16 +37437,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},
@ -37675,7 +37676,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -37683,7 +37684,7 @@ BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArro
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},
@ -63041,6 +63042,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

4
dist/widget.js vendored

@ -18153,6 +18153,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

4
src/widget/selecttree/selecttree.expander.js

@ -48,6 +48,10 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, {
});
},
getAllLeaves: function () {
return this.expander.getAllLeaves();
},
setValue: function (v) {
if (BI.contains(v, this.trigger.getValue())) {
this.trigger.setSelected(true);

Loading…
Cancel
Save