Browse Source

Merge pull request #606 in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '96f07fbe4ef6e35bed6df06bdd1ebc46bb0de865':
  build
  支持传chooseType
es6
Dailer 6 years ago
parent
commit
6b6779b09e
  1. 7
      dist/bundle.js
  2. 20
      dist/bundle.min.js
  3. 7
      dist/fineui.js
  4. 20
      dist/fineui.min.js
  5. 7
      dist/widget.js
  6. 7
      src/widget/multilayersingletree/multilayersingletree.leveltree.js

7
dist/bundle.js vendored

@ -65640,7 +65640,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
baseCls: "bi-multilayer-single-level-tree", baseCls: "bi-multilayer-single-level-tree",
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single
}); });
}, },
@ -65719,7 +65720,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button_tree", type: "bi.button_tree",
chooseType: BI.Selection.Single, chooseType: o.chooseType,
layouts: [{ layouts: [{
type: "bi.vertical" type: "bi.vertical"
}] }]
@ -65737,7 +65738,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
element: this, element: this,
scrollable: true, scrollable: true,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {

20
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/fineui.js vendored

@ -65879,7 +65879,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
baseCls: "bi-multilayer-single-level-tree", baseCls: "bi-multilayer-single-level-tree",
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single
}); });
}, },
@ -65958,7 +65959,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button_tree", type: "bi.button_tree",
chooseType: BI.Selection.Single, chooseType: o.chooseType,
layouts: [{ layouts: [{
type: "bi.vertical" type: "bi.vertical"
}] }]
@ -65976,7 +65977,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
element: this, element: this,
scrollable: true, scrollable: true,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {

20
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/widget.js vendored

@ -7235,7 +7235,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
baseCls: "bi-multilayer-single-level-tree", baseCls: "bi-multilayer-single-level-tree",
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single
}); });
}, },
@ -7314,7 +7315,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button_tree", type: "bi.button_tree",
chooseType: BI.Selection.Single, chooseType: o.chooseType,
layouts: [{ layouts: [{
type: "bi.vertical" type: "bi.vertical"
}] }]
@ -7332,7 +7333,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
element: this, element: this,
scrollable: true, scrollable: true,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {

7
src/widget/multilayersingletree/multilayersingletree.leveltree.js

@ -10,7 +10,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
baseCls: "bi-multilayer-single-level-tree", baseCls: "bi-multilayer-single-level-tree",
isDefaultInit: false, isDefaultInit: false,
items: [], items: [],
itemsCreator: BI.emptyFn itemsCreator: BI.emptyFn,
chooseType: BI.Selection.Single
}); });
}, },
@ -89,7 +90,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
el: { el: {
type: "bi.button_tree", type: "bi.button_tree",
chooseType: BI.Selection.Single, chooseType: o.chooseType,
layouts: [{ layouts: [{
type: "bi.vertical" type: "bi.vertical"
}] }]
@ -107,7 +108,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
element: this, element: this,
scrollable: true, scrollable: true,
items: [this.tree] items: [this.tree]
}) });
}, },
populate: function (nodes) { populate: function (nodes) {

Loading…
Cancel
Save