windy 6 years ago
parent
commit
0f195e4590
  1. 20
      dist/bundle.ie.js
  2. 20
      dist/bundle.ie.min.js
  3. 20
      dist/bundle.js
  4. 24
      dist/bundle.min.js
  5. 20
      dist/fineui.ie.js
  6. 18
      dist/fineui.ie.min.js
  7. 20
      dist/fineui.js
  8. 22
      dist/fineui.min.js
  9. 20
      dist/fineui_without_jquery_polyfill.js
  10. 2
      dist/utils.min.js
  11. 20
      dist/widget.js
  12. 10
      src/widget/multilayerselecttree/multilayerselecttree.leveltree.js
  13. 3
      src/widget/multilayerselecttree/multilayerselecttree.popup.js
  14. 4
      src/widget/multilayersingletree/multilayersingletree.leveltree.js
  15. 3
      src/widget/multilayersingletree/multilayersingletree.popup.js

20
dist/bundle.ie.js vendored

@ -65716,7 +65716,8 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
value: "" value: "",
scrollable: true
}); });
}, },
@ -65742,7 +65743,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
extend.isLastNode = true; extend.isLastNode = true;
} }
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_select_tree_first_plus_group_node" extend.type = "bi.multilayer_select_tree_first_plus_group_node";
} }
if (i === 0 && i === nodes.length - 1 && !pNode) { // 根 if (i === 0 && i === nodes.length - 1 && !pNode) { // 根
extend.type = "bi.multilayer_select_tree_plus_group_node"; extend.type = "bi.multilayer_select_tree_plus_group_node";
@ -65752,7 +65753,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
} else { } else {
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item";
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_single_tree_first_tree_leaf_item" extend.type = "bi.multilayer_single_tree_first_tree_leaf_item";
} }
if (i === nodes.length - 1) { if (i === nodes.length - 1) {
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_last_tree_leaf_item";
@ -65808,8 +65809,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {
@ -65868,7 +65870,8 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
value: o.value, value: o.value,
itemsCreator: o.itemsCreator itemsCreator: o.itemsCreator,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({
@ -66406,7 +66409,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single chooseType: BI.Selection.Single,
scrollable: true
}); });
}, },
@ -66501,6 +66505,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}); });
}, },
@ -66564,7 +66569,8 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
value: o.value value: o.value,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

20
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/bundle.js vendored

@ -66120,7 +66120,8 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
value: "" value: "",
scrollable: true
}); });
}, },
@ -66146,7 +66147,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
extend.isLastNode = true; extend.isLastNode = true;
} }
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_select_tree_first_plus_group_node" extend.type = "bi.multilayer_select_tree_first_plus_group_node";
} }
if (i === 0 && i === nodes.length - 1 && !pNode) { // 根 if (i === 0 && i === nodes.length - 1 && !pNode) { // 根
extend.type = "bi.multilayer_select_tree_plus_group_node"; extend.type = "bi.multilayer_select_tree_plus_group_node";
@ -66156,7 +66157,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
} else { } else {
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item";
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_single_tree_first_tree_leaf_item" extend.type = "bi.multilayer_single_tree_first_tree_leaf_item";
} }
if (i === nodes.length - 1) { if (i === nodes.length - 1) {
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_last_tree_leaf_item";
@ -66212,8 +66213,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {
@ -66272,7 +66274,8 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
value: o.value, value: o.value,
itemsCreator: o.itemsCreator itemsCreator: o.itemsCreator,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({
@ -66810,7 +66813,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single chooseType: BI.Selection.Single,
scrollable: true
}); });
}, },
@ -66905,6 +66909,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}); });
}, },
@ -66968,7 +66973,8 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
value: o.value value: o.value,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

24
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/fineui.ie.js vendored

@ -65961,7 +65961,8 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
value: "" value: "",
scrollable: true
}); });
}, },
@ -65987,7 +65988,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
extend.isLastNode = true; extend.isLastNode = true;
} }
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_select_tree_first_plus_group_node" extend.type = "bi.multilayer_select_tree_first_plus_group_node";
} }
if (i === 0 && i === nodes.length - 1 && !pNode) { // 根 if (i === 0 && i === nodes.length - 1 && !pNode) { // 根
extend.type = "bi.multilayer_select_tree_plus_group_node"; extend.type = "bi.multilayer_select_tree_plus_group_node";
@ -65997,7 +65998,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
} else { } else {
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item";
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_single_tree_first_tree_leaf_item" extend.type = "bi.multilayer_single_tree_first_tree_leaf_item";
} }
if (i === nodes.length - 1) { if (i === nodes.length - 1) {
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_last_tree_leaf_item";
@ -66053,8 +66054,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {
@ -66113,7 +66115,8 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
value: o.value, value: o.value,
itemsCreator: o.itemsCreator itemsCreator: o.itemsCreator,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({
@ -66651,7 +66654,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single chooseType: BI.Selection.Single,
scrollable: true
}); });
}, },
@ -66746,6 +66750,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}); });
}, },
@ -66809,7 +66814,8 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
value: o.value value: o.value,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

18
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/fineui.js vendored

@ -66365,7 +66365,8 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
value: "" value: "",
scrollable: true
}); });
}, },
@ -66391,7 +66392,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
extend.isLastNode = true; extend.isLastNode = true;
} }
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_select_tree_first_plus_group_node" extend.type = "bi.multilayer_select_tree_first_plus_group_node";
} }
if (i === 0 && i === nodes.length - 1 && !pNode) { // 根 if (i === 0 && i === nodes.length - 1 && !pNode) { // 根
extend.type = "bi.multilayer_select_tree_plus_group_node"; extend.type = "bi.multilayer_select_tree_plus_group_node";
@ -66401,7 +66402,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
} else { } else {
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item";
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_single_tree_first_tree_leaf_item" extend.type = "bi.multilayer_single_tree_first_tree_leaf_item";
} }
if (i === nodes.length - 1) { if (i === nodes.length - 1) {
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_last_tree_leaf_item";
@ -66457,8 +66458,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {
@ -66517,7 +66519,8 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
value: o.value, value: o.value,
itemsCreator: o.itemsCreator itemsCreator: o.itemsCreator,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({
@ -67055,7 +67058,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single chooseType: BI.Selection.Single,
scrollable: true
}); });
}, },
@ -67150,6 +67154,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}); });
}, },
@ -67213,7 +67218,8 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
value: o.value value: o.value,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

22
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/fineui_without_jquery_polyfill.js vendored

@ -49179,7 +49179,8 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
value: "" value: "",
scrollable: true
}); });
}, },
@ -49205,7 +49206,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
extend.isLastNode = true; extend.isLastNode = true;
} }
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_select_tree_first_plus_group_node" extend.type = "bi.multilayer_select_tree_first_plus_group_node";
} }
if (i === 0 && i === nodes.length - 1 && !pNode) { // 根 if (i === 0 && i === nodes.length - 1 && !pNode) { // 根
extend.type = "bi.multilayer_select_tree_plus_group_node"; extend.type = "bi.multilayer_select_tree_plus_group_node";
@ -49215,7 +49216,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
} else { } else {
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item";
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_single_tree_first_tree_leaf_item" extend.type = "bi.multilayer_single_tree_first_tree_leaf_item";
} }
if (i === nodes.length - 1) { if (i === nodes.length - 1) {
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_last_tree_leaf_item";
@ -49271,8 +49272,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {
@ -49331,7 +49333,8 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
value: o.value, value: o.value,
itemsCreator: o.itemsCreator itemsCreator: o.itemsCreator,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({
@ -49869,7 +49872,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single chooseType: BI.Selection.Single,
scrollable: true
}); });
}, },
@ -49964,6 +49968,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}); });
}, },
@ -50027,7 +50032,8 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
value: o.value value: o.value,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

20
dist/widget.js vendored

@ -6695,7 +6695,8 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
value: "" value: "",
scrollable: true
}); });
}, },
@ -6721,7 +6722,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
extend.isLastNode = true; extend.isLastNode = true;
} }
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_select_tree_first_plus_group_node" extend.type = "bi.multilayer_select_tree_first_plus_group_node";
} }
if (i === 0 && i === nodes.length - 1 && !pNode) { // 根 if (i === 0 && i === nodes.length - 1 && !pNode) { // 根
extend.type = "bi.multilayer_select_tree_plus_group_node"; extend.type = "bi.multilayer_select_tree_plus_group_node";
@ -6731,7 +6732,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
} else { } else {
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item";
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_single_tree_first_tree_leaf_item" extend.type = "bi.multilayer_single_tree_first_tree_leaf_item";
} }
if (i === nodes.length - 1) { if (i === nodes.length - 1) {
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_last_tree_leaf_item";
@ -6787,8 +6788,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {
@ -6847,7 +6849,8 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
value: o.value, value: o.value,
itemsCreator: o.itemsCreator itemsCreator: o.itemsCreator,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({
@ -7385,7 +7388,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single chooseType: BI.Selection.Single,
scrollable: true
}); });
}, },
@ -7480,6 +7484,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}); });
}, },
@ -7543,7 +7548,8 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
value: o.value value: o.value,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

10
src/widget/multilayerselecttree/multilayerselecttree.leveltree.js

@ -11,7 +11,8 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
value: "" value: "",
scrollable: true
}); });
}, },
@ -37,7 +38,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
extend.isLastNode = true; extend.isLastNode = true;
} }
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_select_tree_first_plus_group_node" extend.type = "bi.multilayer_select_tree_first_plus_group_node";
} }
if (i === 0 && i === nodes.length - 1 && !pNode) { // 根 if (i === 0 && i === nodes.length - 1 && !pNode) { // 根
extend.type = "bi.multilayer_select_tree_plus_group_node"; extend.type = "bi.multilayer_select_tree_plus_group_node";
@ -47,7 +48,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
} else { } else {
extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_mid_tree_leaf_item";
if (i === 0 && !pNode) { if (i === 0 && !pNode) {
extend.type = "bi.multilayer_single_tree_first_tree_leaf_item" extend.type = "bi.multilayer_single_tree_first_tree_leaf_item";
} }
if (i === nodes.length - 1) { if (i === nodes.length - 1) {
extend.type = "bi.multilayer_single_tree_last_tree_leaf_item"; extend.type = "bi.multilayer_single_tree_last_tree_leaf_item";
@ -103,8 +104,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {

3
src/widget/multilayerselecttree/multilayerselecttree.popup.js

@ -28,7 +28,8 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
value: o.value, value: o.value,
itemsCreator: o.itemsCreator itemsCreator: o.itemsCreator,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

4
src/widget/multilayersingletree/multilayersingletree.leveltree.js

@ -11,7 +11,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single chooseType: BI.Selection.Single,
scrollable: true
}); });
}, },
@ -106,6 +107,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
element: this, element: this,
scrollable: o.scrollable,
items: [this.tree] items: [this.tree]
}); });
}, },

3
src/widget/multilayersingletree/multilayersingletree.popup.js

@ -27,7 +27,8 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, {
isDefaultInit: o.isDefaultInit, isDefaultInit: o.isDefaultInit,
items: o.items, items: o.items,
itemsCreator: o.itemsCreator, itemsCreator: o.itemsCreator,
value: o.value value: o.value,
scrollable: null
}); });
BI.createWidget({ BI.createWidget({

Loading…
Cancel
Save