guy 7 years ago
parent
commit
2d0cf6e74d
  1. 2
      demo/config.js
  2. 39
      dist/_fineui.min.js
  3. 3
      dist/bundle.css
  4. 9
      dist/bundle.js
  5. 2
      dist/bundle.min.css
  6. 41
      dist/bundle.min.js
  7. 2
      dist/demo.js
  8. 3
      dist/fineui.css
  9. 2
      dist/fineui.min.css
  10. 39
      dist/fineui.min.js
  11. 3
      dist/widget.css
  12. 9
      dist/widget.js
  13. 3
      src/css/widget/multilayersingletree/multilayersingletree.css
  14. 5
      src/less/widget/multilayersingletree/multilayersingletree.leveltree.less
  15. 9
      src/widget/multilayersingletree/multilayersingletree.leveltree.js

2
demo/config.js

@ -1524,7 +1524,7 @@ Demo.CONSTANTS = {
{id: 121, pId: 12, value: "第三级目录1", text: "第三级目录1"},
{id: 122, pId: 12, value: "第三级文件1", text: "第三级文件1"},
{id: 1211, pId: 121, value: "第四级目录1", text: "第四级目录1"},
{id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件1"},
{id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"},
{id: 2, pId: -1, value: "第一级目录2", text: "第一级目录2"},
{id: 21, pId: 2, value: "第二级目录3", text: "第二级目录3"},
{id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"},

39
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/bundle.css vendored

@ -4665,6 +4665,9 @@ ul.ztree.zTreeDragUL {
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-single-level-tree .tree-view {
min-width: 100%;
}
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}

9
dist/bundle.js vendored

@ -94783,7 +94783,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
this._assertId(nodes);
this.tree = BI.createWidget({
type: "bi.custom_tree",
element: this,
cls: "tree-view display-inline",
expander: {
isDefaultInit: o.isDefaultInit,
el: {},
@ -94814,6 +94814,13 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
self.fireEvent(BI.MultiLayerSingleLevelTree.EVENT_CHANGE, v);
}
});
BI.createWidget({
type: "bi.adaptive",
element: this,
scrollable: true,
items: [this.tree]
})
},
populate: function (nodes) {

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

41
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js vendored

@ -16202,7 +16202,7 @@ Demo.CONSTANTS = {
{id: 121, pId: 12, value: "第三级目录1", text: "第三级目录1"},
{id: 122, pId: 12, value: "第三级文件1", text: "第三级文件1"},
{id: 1211, pId: 121, value: "第四级目录1", text: "第四级目录1"},
{id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件1"},
{id: 12111, pId: 1211, value: "第五级文件1", text: "第五级文件111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"},
{id: 2, pId: -1, value: "第一级目录2", text: "第一级目录2"},
{id: 21, pId: 2, value: "第二级目录3", text: "第二级目录3"},
{id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"},

3
dist/fineui.css vendored

@ -4665,6 +4665,9 @@ ul.ztree.zTreeDragUL {
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-single-level-tree .tree-view {
min-width: 100%;
}
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

39
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/widget.css vendored

@ -189,6 +189,9 @@
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-single-level-tree .tree-view {
min-width: 100%;
}
.bi-multi-select-check-pane .multi-select-check-selected {
text-decoration: underline;
}

9
dist/widget.js vendored

@ -8303,7 +8303,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
this._assertId(nodes);
this.tree = BI.createWidget({
type: "bi.custom_tree",
element: this,
cls: "tree-view display-inline",
expander: {
isDefaultInit: o.isDefaultInit,
el: {},
@ -8334,6 +8334,13 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
self.fireEvent(BI.MultiLayerSingleLevelTree.EVENT_CHANGE, v);
}
});
BI.createWidget({
type: "bi.adaptive",
element: this,
scrollable: true,
items: [this.tree]
})
},
populate: function (nodes) {

3
src/css/widget/multilayersingletree/multilayersingletree.css

@ -0,0 +1,3 @@
.bi-multilayer-single-level-tree .tree-view {
min-width: 100%;
}

5
src/less/widget/multilayersingletree/multilayersingletree.leveltree.less

@ -0,0 +1,5 @@
.bi-multilayer-single-level-tree {
.tree-view {
min-width: 100%;
}
}

9
src/widget/multilayersingletree/multilayersingletree.leveltree.js

@ -70,7 +70,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
this._assertId(nodes);
this.tree = BI.createWidget({
type: "bi.custom_tree",
element: this,
cls: "tree-view display-inline",
expander: {
isDefaultInit: o.isDefaultInit,
el: {},
@ -101,6 +101,13 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, {
self.fireEvent(BI.MultiLayerSingleLevelTree.EVENT_CHANGE, v);
}
});
BI.createWidget({
type: "bi.adaptive",
element: this,
scrollable: true,
items: [this.tree]
})
},
populate: function (nodes) {

Loading…
Cancel
Save