Browse Source

Merge branch 'master' of ssh://cloud.finedevelop.com:7999/~windy/fui

master
windy 7 years ago
parent
commit
d8e8dbf578
  1. 2
      demo/config.js
  2. 39
      dist/_fineui.min.js
  3. 6
      dist/bundle.css
  4. 18
      dist/bundle.js
  5. 2
      dist/bundle.min.css
  6. 41
      dist/bundle.min.js
  7. 2
      dist/demo.js
  8. 6
      dist/fineui.css
  9. 2
      dist/fineui.min.css
  10. 39
      dist/fineui.min.js
  11. 6
      dist/widget.css
  12. 18
      dist/widget.js
  13. 3
      src/css/widget/multilayerselecttree/multilayerselecttree.css
  14. 3
      src/css/widget/multilayersingletree/multilayersingletree.css
  15. 5
      src/less/widget/multilayerselecttree/multilayerselecttree.leveltree.less
  16. 5
      src/less/widget/multilayersingletree/multilayersingletree.leveltree.less
  17. 9
      src/widget/multilayerselecttree/multilayerselecttree.leveltree.js
  18. 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

6
dist/bundle.css vendored

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

18
dist/bundle.js vendored

@ -94243,7 +94243,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
this._assertId(nodes);
this.tree = BI.createWidget({
type: "bi.custom_tree",
element: this,
cls: "tree-view display-inline",
expander: {
type: "bi.select_tree_expander",
isDefaultInit: o.isDefaultInit,
@ -94271,6 +94271,13 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
self.fireEvent(BI.MultiLayerSelectLevelTree.EVENT_CHANGE, arguments);
}
});
BI.createWidget({
type: "bi.adaptive",
element: this,
scrollable: true,
items: [this.tree]
})
},
populate: function (nodes) {
@ -94790,7 +94797,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: {},
@ -94821,6 +94828,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"},

6
dist/fineui.css vendored

@ -4665,6 +4665,12 @@ ul.ztree.zTreeDragUL {
.bi-multidate-segment .bi-multidate-editor {
font-size: 14px;
}
.bi-multilayer-select-level-tree .tree-view {
min-width: 100%;
}
.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

6
dist/widget.css vendored

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

18
dist/widget.js vendored

@ -7756,7 +7756,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
this._assertId(nodes);
this.tree = BI.createWidget({
type: "bi.custom_tree",
element: this,
cls: "tree-view display-inline",
expander: {
type: "bi.select_tree_expander",
isDefaultInit: o.isDefaultInit,
@ -7784,6 +7784,13 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, {
self.fireEvent(BI.MultiLayerSelectLevelTree.EVENT_CHANGE, arguments);
}
});
BI.createWidget({
type: "bi.adaptive",
element: this,
scrollable: true,
items: [this.tree]
})
},
populate: function (nodes) {
@ -8303,7 +8310,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 +8341,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/multilayerselecttree/multilayerselecttree.css

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

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/multilayerselecttree/multilayerselecttree.leveltree.less

@ -0,0 +1,5 @@
.bi-multilayer-select-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/multilayerselecttree/multilayerselecttree.leveltree.js

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

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