Browse Source

update

master
guy 7 years ago
parent
commit
02ffca8f8d
  1. 2
      demo/js/base/table/demo.grid_table.js
  2. 2
      demo/js/base/table/demo.resizable_table.js
  3. 2
      demo/js/case/demo.clipboard.js
  4. 2
      demo/js/case/pager/demo.direction_pager.js
  5. 2
      demo/js/case/table/demo.adaptive_table.js
  6. 16
      demo/js/category/customATree/demo.multilayerselecttree.leveltree.js
  7. 2
      demo/js/category/largeTable/cell.js
  8. 2
      demo/js/category/largeTable/header.js
  9. 2
      demo/js/category/largeTable/sequenceheadercell.normal.js
  10. 2
      demo/js/category/sortTree/demo.sortTree.js
  11. 2
      demo/js/component/demo.treevaluechooserpane.js
  12. 2
      demo/js/component/demo.valuechooserpane.js
  13. 2
      demo/js/config/fix.js
  14. 4
      demo/js/core/abstract/demo.button_group.js
  15. 2
      demo/js/core/abstract/demo.button_tree.js
  16. 2
      demo/js/core/abstract/demo.list_view.js
  17. 2
      demo/js/core/abstract/demo.virtual_list.js
  18. 2
      demo/js/core/layout/demo.center_adapt.js
  19. 8
      demo/js/face.js
  20. 2
      demo/js/fix-2.0/scene.js
  21. 2
      demo/js/widget/downlist/demo.downlist.js
  22. 2
      demo/js/widget/relationview/demo.relationview.js
  23. 4
      demo/js/widget/table/demo.page_table.js
  24. 2
      demo/js/widget/table/demo.sequence_table.js
  25. 2
      demo/js/widget/yearquarter/demo.year_quarter_combo.js
  26. 74
      dist/demo.js

2
demo/js/base/table/demo.grid_table.js

@ -29,7 +29,7 @@ Demo.Func = BI.inherit(BI.Widget, {
var table = BI.createWidget({
type: "bi.resizable_table",
el: {
type: "bi.grid_table",
type: "bi.grid_table"
},
width: 600,
height: 500,

2
demo/js/base/table/demo.resizable_table.js

@ -29,7 +29,7 @@ Demo.Func = BI.inherit(BI.Widget, {
var table = BI.createWidget({
type: "bi.resizable_table",
el: {
type: "bi.grid_table",
type: "bi.grid_table"
},
width: 600,
height: 500,

2
demo/js/case/demo.clipboard.js

@ -30,7 +30,7 @@ Demo.Func = BI.inherit(BI.Widget, {
items: [{
el: editor,
left: 100,
top: 50,
top: 50
}, {
el: clipboard,
left: 100,

2
demo/js/case/pager/demo.direction_pager.js

@ -10,7 +10,7 @@ Demo.Func = BI.inherit(BI.Widget, {
vgap: 50,
element: this,
items: [{
type: "bi.direction_pager",
type: "bi.direction_pager"
}]
})
}

2
demo/js/case/table/demo.adaptive_table.js

@ -127,7 +127,7 @@ Demo.Func = BI.inherit(BI.Widget, {
el: {
type: "bi.resizable_table",
el: {
type: "bi.grid_table",
type: "bi.grid_table"
}
},
width: 600,

16
demo/js/category/customATree/demo.multilayerselecttree.leveltree.js

@ -116,7 +116,7 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"text": "B",
value: 2,
isParent: true,
open: true,
open: true
}])
} else {
if (op.node.id == 1) {
@ -134,14 +134,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 1,
"text": "test12",
value: 12,
layer: 1,
layer: 1
},
{
"id": 13,
"pId": 1,
"text": "test13",
value: 13,
layer: 1,
layer: 1
},
{
"id": 14,
@ -156,14 +156,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 1,
"text": "test15",
value: 15,
layer: 1,
layer: 1
},
{
"id": 16,
"pId": 1,
"text": "test16",
value: 16,
layer: 1,
layer: 1
},
{"id": 17, "pId": 1, "text": "test17", layer: 1, value: 17}
])
@ -173,14 +173,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 2,
"text": "test21",
value: 21,
layer: 1,
layer: 1
},
{
"id": 22,
"pId": 2,
"text": "test22",
value: 22,
layer: 1,
layer: 1
}])
} else if (op.node.id == 11) {
callback([{
@ -188,7 +188,7 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 11,
"text": "test111",
value: 111,
layer: 2,
layer: 2
}])
}
}

2
demo/js/category/largeTable/cell.js

@ -42,6 +42,6 @@ BI.DetailTableCell = BI.inherit(BI.Widget, {
if (BI.isNotNull(o.styles) && BI.isObject(o.styles)) {
this.element.css(o.styles);
}
},
}
});
BI.shortcut("bi.detail_table_cell", BI.DetailTableCell);

2
demo/js/category/largeTable/header.js

@ -33,6 +33,6 @@ BI.DetailTableHeader = BI.inherit(BI.Widget, {
if (BI.isNotNull(o.styles) && BI.isObject(o.styles)) {
this.element.css(o.styles);
}
},
}
});
BI.shortcut("bi.detail_table_header", BI.DetailTableHeader);

2
demo/js/category/largeTable/sequenceheadercell.normal.js

@ -5,7 +5,7 @@
BI.NormalSequenceHeaderCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.NormalSequenceHeaderCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-normal-sequence-header-cell",
baseCls: "bi-normal-sequence-header-cell"
})
},

2
demo/js/category/sortTree/demo.sortTree.js

@ -131,6 +131,6 @@ Demo.SortTree = BI.inherit(BI.Widget, {
}
});
return nodes;
},
}
});
BI.shortcut("demo.sort_tree", Demo.SortTree);

2
demo/js/component/demo.treevaluechooserpane.js

@ -6,7 +6,7 @@ Demo.TreeValueChooser = BI.inherit(BI.Widget, {
return {
type: "bi.tree_value_chooser_pane",
items: BI.deepClone(Demo.CONSTANTS.TREEITEMS),
items: BI.deepClone(Demo.CONSTANTS.TREEITEMS)
// itemsCreator: function (op, callback) {
// callback(tree);
// }

2
demo/js/component/demo.valuechooserpane.js

@ -5,7 +5,7 @@ Demo.ValueChooserPane = BI.inherit(BI.Widget, {
render: function () {
return {
type: "bi.value_chooser_pane",
items: BI.deepClone(Demo.CONSTANTS.ITEMS),
items: BI.deepClone(Demo.CONSTANTS.ITEMS)
// itemsCreator: function (op, callback) {
// callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
// }

2
demo/js/config/fix.js

@ -29,7 +29,7 @@ var viewRouter = new (BI.inherit(BI.WRouter, {
"/tmp": "TmpView",
"/tmp/child": "TmpChildView",
"/tmp/child/child": "TmpChildChildView",
"/tmp/child/child": "TmpChildChildView"
},
getSkipToView: function (v) {

4
demo/js/core/abstract/demo.button_group.js

@ -16,7 +16,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.vertical",
items: [{
type: "bi.vtape",
height: 200,
height: 200
}]
}],
items: [{
@ -24,7 +24,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.label",
text: "button_group是一类具有相同属性或相似属性的抽象, 本案例实现的是布局的嵌套(vertical布局下内嵌center_adapt布局)"
},
height: 150,
height: 150
}, {
el: {
type: "bi.button",

2
demo/js/core/abstract/demo.button_tree.js

@ -9,7 +9,7 @@ Demo.Func = BI.inherit(BI.Widget, {
layouts: [{
type: "bi.vertical"
}, {
type: "bi.center_adapt",
type: "bi.center_adapt"
}],
items: [{
type: "bi.label",

2
demo/js/core/abstract/demo.list_view.js

@ -13,7 +13,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.label",
width: 200,
height: 200,
text: (i + 1) + "." + item.text,
text: (i + 1) + "." + item.text
});
})
}

2
demo/js/core/abstract/demo.virtual_list.js

@ -9,7 +9,7 @@ Demo.Func = BI.inherit(BI.Widget, {
return BI.extend({}, item, {
type: "bi.label",
height: 30,
text: (i + 1) + "." + item.text,
text: (i + 1) + "." + item.text
});
})
}

2
demo/js/core/layout/demo.center_adapt.js

@ -13,6 +13,6 @@ Demo.CenterAdapt = BI.inherit(BI.Widget, {
cls: "layout-bg1"
}]
}
},
}
});
BI.shortcut("demo.center_adapt", Demo.CenterAdapt);

8
demo/js/face.js

@ -389,15 +389,15 @@ Demo.Face = BI.inherit(BI.Widget, {
}, {
text: "column 1.222222222222222222222222222222222222",
cls: "dot-e-font",
value: 22,
value: 22
}, {
text: "column 1.3",
cls: "dot-e-font",
value: 23,
value: 23
}, {
text: "column 1.4",
cls: "dot-e-font",
value: 24,
value: 24
}, {
text: "column 1.5",
cls: "dot-e-font",
@ -420,7 +420,7 @@ Demo.Face = BI.inherit(BI.Widget, {
height: 25,
text: "column 2.1",
value: 11
}, {text: "column 2.2", value: 12, cls: "dot-e-font"}],
}, {text: "column 2.2", value: 12, cls: "dot-e-font"}]
}

2
demo/js/fix-2.0/scene.js

@ -214,7 +214,7 @@
type: "bi.label",
cls: "layout-bg1",
width: 150
}),
})
}, {
type: "bi.vertical",

2
demo/js/widget/downlist/demo.downlist.js

@ -43,7 +43,7 @@ Demo.Downlist = BI.inherit(BI.Widget, {
}, {
text: "column 1.222222222222222222222222222222222222",
cls: "dot-e-font",
value: 22,
value: 22
}]
}],
[{

2
demo/js/widget/relationview/demo.relationview.js

@ -50,7 +50,7 @@ Demo.RelationView = BI.inherit(BI.Widget, {
foreign: {region: "B", value: "b1", text: "b1字段"}
},
{
primary: {region: "X33", value: "x233", text: "x233字段"},
primary: {region: "X33", value: "x233", text: "x233字段"}
}
]
});

4
demo/js/widget/table/demo.page_table.js

@ -90,7 +90,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.page_table_cell",
text: "node3",
values: [1, 2]
}],
}]
//values: [1, 2]
}];
@ -109,7 +109,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.collection_table"
}
}
},
}
},
sequence: {
type: "bi.sequence_table_dynamic_number"

2
demo/js/widget/table/demo.sequence_table.js

@ -110,7 +110,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.collection_table"
}
}
},
}
},
sequence: {
type: "bi.sequence_table_tree_number"

2
demo/js/widget/yearquarter/demo.year_quarter_combo.js

@ -16,7 +16,7 @@ Demo.YearQuarterCombo = BI.inherit(BI.Widget, {
self.widget = _ref;
},
yearBehaviors: {},
quarterBehaviors: {},
quarterBehaviors: {}
}, {
type: "bi.button",
text: "getValue",

74
dist/demo.js vendored

@ -953,7 +953,7 @@ BI.shortcut("demo.collection_table", Demo.Func);Demo.Func = BI.inherit(BI.Widget
var table = BI.createWidget({
type: "bi.resizable_table",
el: {
type: "bi.grid_table",
type: "bi.grid_table"
},
width: 600,
height: 500,
@ -1009,7 +1009,7 @@ BI.shortcut("demo.grid_table", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
var table = BI.createWidget({
type: "bi.resizable_table",
el: {
type: "bi.grid_table",
type: "bi.grid_table"
},
width: 600,
height: 500,
@ -1972,7 +1972,7 @@ BI.shortcut("demo.calendar", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
items: [{
el: editor,
left: 100,
top: 50,
top: 50
}, {
el: clipboard,
left: 100,
@ -2420,7 +2420,7 @@ BI.shortcut("demo.all_count_pager", Demo.Func);Demo.Func = BI.inherit(BI.Widget,
vgap: 50,
element: this,
items: [{
type: "bi.direction_pager",
type: "bi.direction_pager"
}]
})
}
@ -2690,7 +2690,7 @@ BI.shortcut("demo.popup_panel", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
el: {
type: "bi.resizable_table",
el: {
type: "bi.grid_table",
type: "bi.grid_table"
}
},
width: 600,
@ -3923,7 +3923,7 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"text": "B",
value: 2,
isParent: true,
open: true,
open: true
}])
} else {
if (op.node.id == 1) {
@ -3941,14 +3941,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 1,
"text": "test12",
value: 12,
layer: 1,
layer: 1
},
{
"id": 13,
"pId": 1,
"text": "test13",
value: 13,
layer: 1,
layer: 1
},
{
"id": 14,
@ -3963,14 +3963,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 1,
"text": "test15",
value: 15,
layer: 1,
layer: 1
},
{
"id": 16,
"pId": 1,
"text": "test16",
value: 16,
layer: 1,
layer: 1
},
{"id": 17, "pId": 1, "text": "test17", layer: 1, value: 17}
])
@ -3980,14 +3980,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 2,
"text": "test21",
value: 21,
layer: 1,
layer: 1
},
{
"id": 22,
"pId": 2,
"text": "test22",
value: 22,
layer: 1,
layer: 1
}])
} else if (op.node.id == 11) {
callback([{
@ -3995,7 +3995,7 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 11,
"text": "test111",
value: 111,
layer: 2,
layer: 2
}])
}
}
@ -4063,7 +4063,7 @@ BI.DetailTableCell = BI.inherit(BI.Widget, {
if (BI.isNotNull(o.styles) && BI.isObject(o.styles)) {
this.element.css(o.styles);
}
},
}
});
BI.shortcut("bi.detail_table_cell", BI.DetailTableCell);/**
* Created by Young's on 2016/4/15.
@ -4100,7 +4100,7 @@ BI.DetailTableHeader = BI.inherit(BI.Widget, {
if (BI.isNotNull(o.styles) && BI.isObject(o.styles)) {
this.element.css(o.styles);
}
},
}
});
BI.shortcut("bi.detail_table_header", BI.DetailTableHeader);Demo.Face = BI.inherit(BI.Widget, {
props: {
@ -4243,7 +4243,7 @@ BI.shortcut("demo.large_table", Demo.Face);/**
BI.NormalSequenceHeaderCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.NormalSequenceHeaderCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-normal-sequence-header-cell",
baseCls: "bi-normal-sequence-header-cell"
})
},
@ -4409,7 +4409,7 @@ Demo.SortTree = BI.inherit(BI.Widget, {
}
});
return nodes;
},
}
});
BI.shortcut("demo.sort_tree", Demo.SortTree);Demo.Center = BI.inherit(BI.Widget, {
props: {
@ -4537,7 +4537,7 @@ Demo.TreeValueChooser = BI.inherit(BI.Widget, {
return {
type: "bi.tree_value_chooser_pane",
items: BI.deepClone(Demo.CONSTANTS.TREEITEMS),
items: BI.deepClone(Demo.CONSTANTS.TREEITEMS)
// itemsCreator: function (op, callback) {
// callback(tree);
// }
@ -4571,7 +4571,7 @@ BI.shortcut("demo.value_chooser_combo", Demo.ValueChooserCombo);Demo.ValueChoose
render: function () {
return {
type: "bi.value_chooser_pane",
items: BI.deepClone(Demo.CONSTANTS.ITEMS),
items: BI.deepClone(Demo.CONSTANTS.ITEMS)
// itemsCreator: function (op, callback) {
// callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
// }
@ -5195,7 +5195,7 @@ var viewRouter = new (BI.inherit(BI.WRouter, {
"/tmp": "TmpView",
"/tmp/child": "TmpChildView",
"/tmp/child/child": "TmpChildChildView",
"/tmp/child/child": "TmpChildChildView"
},
getSkipToView: function (v) {
@ -6596,7 +6596,7 @@ BI.shortcut("demo.tab", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.vertical",
items: [{
type: "bi.vtape",
height: 200,
height: 200
}]
}],
items: [{
@ -6604,7 +6604,7 @@ BI.shortcut("demo.tab", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.label",
text: "button_group是一类具有相同属性或相似属性的抽象, 本案例实现的是布局的嵌套(vertical布局下内嵌center_adapt布局)"
},
height: 150,
height: 150
}, {
el: {
type: "bi.button",
@ -6650,7 +6650,7 @@ BI.shortcut("demo.button_group", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
layouts: [{
type: "bi.vertical"
}, {
type: "bi.center_adapt",
type: "bi.center_adapt"
}],
items: [{
type: "bi.label",
@ -7016,7 +7016,7 @@ BI.shortcut("demo.grid_view", Demo.Func);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.label",
width: 200,
height: 200,
text: (i + 1) + "." + item.text,
text: (i + 1) + "." + item.text
});
})
}
@ -7143,7 +7143,7 @@ BI.shortcut("demo.virtual_group_item", Demo.Item);Demo.Func = BI.inherit(BI.Widg
return BI.extend({}, item, {
type: "bi.label",
height: 30,
text: (i + 1) + "." + item.text,
text: (i + 1) + "." + item.text
});
})
}
@ -7281,7 +7281,7 @@ BI.shortcut("demo.border", Demo.BorderLayout);Demo.CenterAdapt = BI.inherit(BI.W
cls: "layout-bg1"
}]
}
},
}
});
BI.shortcut("demo.center_adapt", Demo.CenterAdapt);/**
* Created by User on 2017/3/22.
@ -8510,15 +8510,15 @@ BI.shortcut("demo.vtape", Demo.VtapeLayout);Demo.Face = BI.inherit(BI.Widget, {
}, {
text: "column 1.222222222222222222222222222222222222",
cls: "dot-e-font",
value: 22,
value: 22
}, {
text: "column 1.3",
cls: "dot-e-font",
value: 23,
value: 23
}, {
text: "column 1.4",
cls: "dot-e-font",
value: 24,
value: 24
}, {
text: "column 1.5",
cls: "dot-e-font",
@ -8541,7 +8541,7 @@ BI.shortcut("demo.vtape", Demo.VtapeLayout);Demo.Face = BI.inherit(BI.Widget, {
height: 25,
text: "column 2.1",
value: 11
}, {text: "column 2.2", value: 12, cls: "dot-e-font"}],
}, {text: "column 2.2", value: 12, cls: "dot-e-font"}]
}
@ -10417,7 +10417,7 @@ BI.shortcut("demo.tmp", Demo.Func);
type: "bi.label",
cls: "layout-bg1",
width: 150
}),
})
}, {
type: "bi.vertical",
@ -12012,7 +12012,7 @@ BI.shortcut("demo.date_time", Demo.CustomDateTime);Demo.Downlist = BI.inherit(BI
}, {
text: "column 1.222222222222222222222222222222222222",
cls: "dot-e-font",
value: 22,
value: 22
}]
}],
[{
@ -12800,7 +12800,7 @@ Demo.RelationView = BI.inherit(BI.Widget, {
foreign: {region: "B", value: "b1", text: "b1字段"}
},
{
primary: {region: "X33", value: "x233", text: "x233字段"},
primary: {region: "X33", value: "x233", text: "x233字段"}
}
]
});
@ -13194,7 +13194,7 @@ BI.shortcut("demo.slider", Demo.Slider);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.page_table_cell",
text: "node3",
values: [1, 2]
}],
}]
//values: [1, 2]
}];
@ -13213,7 +13213,7 @@ BI.shortcut("demo.slider", Demo.Slider);Demo.Func = BI.inherit(BI.Widget, {
type: "bi.collection_table"
}
}
},
}
},
sequence: {
type: "bi.sequence_table_dynamic_number"
@ -13816,7 +13816,7 @@ BI.shortcut("demo.responsive_table", Demo.Func);Demo.Func = BI.inherit(BI.Widget
type: "bi.collection_table"
}
}
},
}
},
sequence: {
type: "bi.sequence_table_tree_number"
@ -14225,7 +14225,7 @@ Demo.YearQuarterCombo = BI.inherit(BI.Widget, {
self.widget = _ref;
},
yearBehaviors: {},
quarterBehaviors: {},
quarterBehaviors: {}
}, {
type: "bi.button",
text: "getValue",

Loading…
Cancel
Save