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({ var table = BI.createWidget({
type: "bi.resizable_table", type: "bi.resizable_table",
el: { el: {
type: "bi.grid_table", type: "bi.grid_table"
}, },
width: 600, width: 600,
height: 500, 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({ var table = BI.createWidget({
type: "bi.resizable_table", type: "bi.resizable_table",
el: { el: {
type: "bi.grid_table", type: "bi.grid_table"
}, },
width: 600, width: 600,
height: 500, height: 500,

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

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

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

@ -10,7 +10,7 @@ Demo.Func = BI.inherit(BI.Widget, {
vgap: 50, vgap: 50,
element: this, element: this,
items: [{ 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: { el: {
type: "bi.resizable_table", type: "bi.resizable_table",
el: { el: {
type: "bi.grid_table", type: "bi.grid_table"
} }
}, },
width: 600, width: 600,

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

@ -116,7 +116,7 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"text": "B", "text": "B",
value: 2, value: 2,
isParent: true, isParent: true,
open: true, open: true
}]) }])
} else { } else {
if (op.node.id == 1) { if (op.node.id == 1) {
@ -134,14 +134,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 1, "pId": 1,
"text": "test12", "text": "test12",
value: 12, value: 12,
layer: 1, layer: 1
}, },
{ {
"id": 13, "id": 13,
"pId": 1, "pId": 1,
"text": "test13", "text": "test13",
value: 13, value: 13,
layer: 1, layer: 1
}, },
{ {
"id": 14, "id": 14,
@ -156,14 +156,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 1, "pId": 1,
"text": "test15", "text": "test15",
value: 15, value: 15,
layer: 1, layer: 1
}, },
{ {
"id": 16, "id": 16,
"pId": 1, "pId": 1,
"text": "test16", "text": "test16",
value: 16, value: 16,
layer: 1, layer: 1
}, },
{"id": 17, "pId": 1, "text": "test17", layer: 1, value: 17} {"id": 17, "pId": 1, "text": "test17", layer: 1, value: 17}
]) ])
@ -173,14 +173,14 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 2, "pId": 2,
"text": "test21", "text": "test21",
value: 21, value: 21,
layer: 1, layer: 1
}, },
{ {
"id": 22, "id": 22,
"pId": 2, "pId": 2,
"text": "test22", "text": "test22",
value: 22, value: 22,
layer: 1, layer: 1
}]) }])
} else if (op.node.id == 11) { } else if (op.node.id == 11) {
callback([{ callback([{
@ -188,7 +188,7 @@ BI.DemoLevelTree = BI.inherit(BI.Widget, {
"pId": 11, "pId": 11,
"text": "test111", "text": "test111",
value: 111, 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)) { if (BI.isNotNull(o.styles) && BI.isObject(o.styles)) {
this.element.css(o.styles); this.element.css(o.styles);
} }
}, }
}); });
BI.shortcut("bi.detail_table_cell", BI.DetailTableCell); 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)) { if (BI.isNotNull(o.styles) && BI.isObject(o.styles)) {
this.element.css(o.styles); this.element.css(o.styles);
} }
}, }
}); });
BI.shortcut("bi.detail_table_header", BI.DetailTableHeader); 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, { BI.NormalSequenceHeaderCell = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.NormalSequenceHeaderCell.superclass._defaultConfig.apply(this, arguments), { 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; return nodes;
}, }
}); });
BI.shortcut("demo.sort_tree", Demo.SortTree); 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 { return {
type: "bi.tree_value_chooser_pane", type: "bi.tree_value_chooser_pane",
items: BI.deepClone(Demo.CONSTANTS.TREEITEMS), items: BI.deepClone(Demo.CONSTANTS.TREEITEMS)
// itemsCreator: function (op, callback) { // itemsCreator: function (op, callback) {
// callback(tree); // callback(tree);
// } // }

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

@ -5,7 +5,7 @@ Demo.ValueChooserPane = BI.inherit(BI.Widget, {
render: function () { render: function () {
return { return {
type: "bi.value_chooser_pane", type: "bi.value_chooser_pane",
items: BI.deepClone(Demo.CONSTANTS.ITEMS), items: BI.deepClone(Demo.CONSTANTS.ITEMS)
// itemsCreator: function (op, callback) { // itemsCreator: function (op, callback) {
// callback(BI.deepClone(Demo.CONSTANTS.ITEMS)); // 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": "TmpView",
"/tmp/child": "TmpChildView", "/tmp/child": "TmpChildView",
"/tmp/child/child": "TmpChildChildView", "/tmp/child/child": "TmpChildChildView"
}, },
getSkipToView: function (v) { 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", type: "bi.vertical",
items: [{ items: [{
type: "bi.vtape", type: "bi.vtape",
height: 200, height: 200
}] }]
}], }],
items: [{ items: [{
@ -24,7 +24,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.label", type: "bi.label",
text: "button_group是一类具有相同属性或相似属性的抽象, 本案例实现的是布局的嵌套(vertical布局下内嵌center_adapt布局)" text: "button_group是一类具有相同属性或相似属性的抽象, 本案例实现的是布局的嵌套(vertical布局下内嵌center_adapt布局)"
}, },
height: 150, height: 150
}, { }, {
el: { el: {
type: "bi.button", type: "bi.button",

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

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

Loading…
Cancel
Save