Browse Source

无JIRA任务 测试demo忘记revert了

es6
windy 6 years ago
parent
commit
82b2d7d6c1
  1. 92
      demo/js/core/abstract/demo.button_group.js
  2. 2
      dist/2.0/fineui.ie.js
  3. 38
      dist/2.0/fineui.ie.min.js
  4. 2
      dist/2.0/fineui.js
  5. 6
      dist/2.0/fineui.min.js
  6. 2
      dist/bundle.ie.js
  7. 38
      dist/bundle.ie.min.js
  8. 2
      dist/bundle.js
  9. 6
      dist/bundle.min.js
  10. 94
      dist/demo.js
  11. 2
      dist/fineui.ie.js
  12. 38
      dist/fineui.ie.min.js
  13. 2
      dist/fineui.js
  14. 6
      dist/fineui.min.js
  15. 2
      dist/fineui_without_jquery_polyfill.js
  16. 2
      dist/utils.min.js
  17. 2
      dist/widget.js
  18. 2
      src/widget/downlist/popup.downlist.js

92
demo/js/core/abstract/demo.button_group.js

@ -7,52 +7,80 @@ Demo.Func = BI.inherit(BI.Widget, {
return { return {
type: "bi.vertical", type: "bi.vertical",
items: [{ items: [{
type: "bi.button_group", type: "bi.custom_tree",
ref: function (_ref) { ref: function (_ref) {
ref = _ref; ref = _ref;
}, },
chooseType: BI.ButtonGroup.CHOOSE_TYPE_NONE, el: {
type: "bi.button_tree",
chooseType: 0,
layouts: [{ layouts: [{
type: "bi.vertical", type: "bi.vertical"
items: [{
type: "bi.vtape",
height: 200
}]
}], }],
items: [{ behaviors: {
el: { redmark: function () {
type: "bi.label", return true;
text: "button_group是一类具有相同属性或相似属性的抽象, 本案例实现的是布局的嵌套(vertical布局下内嵌center_adapt布局)" }
}, },
height: 150
}, {
el: {
type: "bi.button",
text: "1"
} }
}]
}, { }, {
type: "bi.button", type: "bi.button",
text: "populate", text: "populate",
handler: function () { handler: function () {
ref.populate([{ ref.populate([
el: { {
type: "bi.label", "type": "bi.multilayer_icon_tree_leaf_item",
text: "1" "id": 0,
"pId": 100,
"text": "归一化1",
"title": "归一化1",
"value": {
"modelType": 100,
"modelName": "归一化1"
}, },
height: 50 "isParent": false,
}, { "layer": 1
el: {
type: "bi.button",
text: "2"
}, },
height: 50 {
}, { "type": "bi.multilayer_icon_tree_leaf_item",
el: { "id": 1,
type: "bi.label", "pId": 100,
text: "3" "text": "标准化1",
"title": "标准化1",
"value": {
"modelType": 100,
"modelName": "标准化1"
},
"isParent": false,
"layer": 1
},
{
"type": "bi.multilayer_icon_tree_leaf_item",
"id": 2,
"pId": 103,
"text": "主成分1",
"title": "主成分1",
"value": {
"modelType": 103,
"modelName": "主成分1"
},
"isParent": false,
"layer": 1
},
{
"type": "bi.multilayer_icon_tree_leaf_item",
"id": 3,
"pId": 102,
"text": "特征工程1",
"title": "特征工程1",
"value": {
"modelType": 102,
"modelName": "特征工程1"
},
"isParent": false,
"layer": 1
} }
}]); ], "t");
} }
}] }]

2
dist/2.0/fineui.ie.js vendored

@ -61717,7 +61717,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

38
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.js vendored

@ -62121,7 +62121,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

6
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.js vendored

@ -61717,7 +61717,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

38
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.js vendored

@ -62121,7 +62121,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

94
dist/demo.js vendored

@ -4581,52 +4581,80 @@ BI.shortcut("demo.tab", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
return { return {
type: "bi.vertical", type: "bi.vertical",
items: [{ items: [{
type: "bi.button_group", type: "bi.custom_tree",
ref: function (_ref) { ref: function (_ref) {
ref = _ref; ref = _ref;
}, },
chooseType: BI.ButtonGroup.CHOOSE_TYPE_NONE, el: {
type: "bi.button_tree",
chooseType: 0,
layouts: [{ layouts: [{
type: "bi.vertical", type: "bi.vertical"
items: [{
type: "bi.vtape",
height: 200
}]
}], }],
items: [{ behaviors: {
el: { redmark: function () {
type: "bi.label", return true;
text: "button_group是一类具有相同属性或相似属性的抽象, 本案例实现的是布局的嵌套(vertical布局下内嵌center_adapt布局)" }
}, },
height: 150
}, {
el: {
type: "bi.button",
text: "1"
} }
}]
}, { }, {
type: "bi.button", type: "bi.button",
text: "populate", text: "populate",
handler: function () { handler: function () {
ref.populate([{ ref.populate([
el: { {
type: "bi.label", "type": "bi.multilayer_icon_tree_leaf_item",
text: "1" "id": 0,
"pId": 100,
"text": "归一化1",
"title": "归一化1",
"value": {
"modelType": 100,
"modelName": "归一化1"
},
"isParent": false,
"layer": 1
}, },
height: 50 {
}, { "type": "bi.multilayer_icon_tree_leaf_item",
el: { "id": 1,
type: "bi.button", "pId": 100,
text: "2" "text": "标准化1",
"title": "标准化1",
"value": {
"modelType": 100,
"modelName": "标准化1"
},
"isParent": false,
"layer": 1
}, },
height: 50 {
}, { "type": "bi.multilayer_icon_tree_leaf_item",
el: { "id": 2,
type: "bi.label", "pId": 103,
text: "3" "text": "主成分1",
} "title": "主成分1",
}]); "value": {
"modelType": 103,
"modelName": "主成分1"
},
"isParent": false,
"layer": 1
},
{
"type": "bi.multilayer_icon_tree_leaf_item",
"id": 3,
"pId": 102,
"text": "特征工程1",
"title": "特征工程1",
"value": {
"modelType": 102,
"modelName": "特征工程1"
},
"isParent": false,
"layer": 1
}
], "t");
} }
}] }]

2
dist/fineui.ie.js vendored

@ -61962,7 +61962,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

38
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

@ -62366,7 +62366,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

6
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui_without_jquery_polyfill.js vendored

@ -45189,7 +45189,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/widget.js vendored

@ -2204,7 +2204,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

2
src/widget/downlist/popup.downlist.js

@ -204,7 +204,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, {
_checkValues: function (values) { _checkValues: function (values) {
var value = []; var value = [];
BI.each(this.options.items, function (idx, itemGroup) { BI.each(this.items, function (idx, itemGroup) {
BI.each(itemGroup, function (id, item) { BI.each(itemGroup, function (id, item) {
if(BI.isNotNull(item.children)) { if(BI.isNotNull(item.children)) {
var childValues = BI.map(item.children, "value"); var childValues = BI.map(item.children, "value");

Loading…
Cancel
Save