Browse Source

Merge pull request #133 in FUI/fineui from ~GUY/fineui:master to master

* commit '6579e741fc1be8a79a10cb1950bbd23b3b634666':
  update
  update
  update
  udpate
  downlistcombo的样式改一下
  update
  update
es6
guy 7 years ago
parent
commit
f1e2affe65
  1. 1
      bi/case.js
  2. 2
      bi/core.js
  3. 11
      bi/widget.css
  4. 344
      bi/widget.js
  5. 1509
      demo/config.js
  6. 48
      demo/js/base/demo.canvas.js
  7. 33
      demo/js/case/combo/demo.editor_icon_check_combo.js
  8. 8
      demo/js/case/combo/demo.icon_combo.js
  9. 30
      demo/js/case/combo/demo.text_value_combo.js
  10. 25
      demo/js/case/combo/demo.text_value_down_list_combo.js
  11. 2
      demo/js/case/combo/demo.text_vlaue_check_combo.js
  12. 20
      demo/js/case/demo.color_chooser_popup.js
  13. 28
      demo/js/case/demo.segment.js
  14. 51
      demo/js/case/editor/demo.shelter_editor.js
  15. 27
      demo/js/case/editor/demo.sign_editor.js
  16. 33
      demo/js/case/editor/demo.simple_state_editor.js
  17. 15
      demo/js/case/editor/demo.state_editor.js
  18. 22
      demo/js/case/item/demo.multi_select_item.js
  19. 25
      demo/js/case/item/demo.single_select_item.js
  20. 25
      demo/js/case/item/demo.single_select_radio_item.js
  21. 23
      demo/js/case/list/demo.lazy_loader.js
  22. 22
      demo/js/case/list/demo.select_list.js
  23. 25
      demo/js/case/pager/demo.all_count_pager.js
  24. 18
      demo/js/case/pager/demo.direction_pager.js
  25. 34
      demo/js/case/pane/demo.list_pane.js
  26. 39
      demo/js/case/pane/demo.multi_popup_view.js
  27. 28
      demo/js/case/pane/demo.panel.js
  28. 39
      demo/js/case/pane/demo.popup_panel.js
  29. 160
      demo/js/case/table/demo.adaptive_table.js
  30. 149
      demo/js/case/table/demo.layer_tree_table.js
  31. 149
      demo/js/case/table/demo.tree_table.js
  32. 24
      demo/js/case/triggers/demo.editor_trigger.js
  33. 24
      demo/js/case/triggers/demo.icon_trigger.js
  34. 25
      demo/js/case/triggers/demo.select_text_trigger.js
  35. 25
      demo/js/case/triggers/demo.text_trigger.js
  36. 4
      demo/js/config/base.js
  37. 16
      demo/js/config/case.js
  38. 49
      demo/js/config/core.js
  39. 38
      demo/js/config/widget.js
  40. 484
      demo/js/core/abstract/combination/demo.combo.js
  41. 163
      demo/js/core/abstract/combination/demo.combo2.js
  42. 87
      demo/js/core/abstract/combination/demo.combo_group.js
  43. 41
      demo/js/core/abstract/combination/demo.expander.js
  44. 27
      demo/js/core/abstract/combination/demo.loader.js
  45. 35
      demo/js/core/abstract/combination/demo.navigation.js
  46. 92
      demo/js/core/abstract/combination/demo.sercher.js
  47. 59
      demo/js/core/abstract/combination/demo.switcher.js
  48. 69
      demo/js/core/abstract/combination/demo.tab.js
  49. 0
      demo/js/core/abstract/demo.custom_tree.js
  50. 7
      demo/js/core/layout/demo.absolute.js
  51. 2
      demo/js/core/layout/demo.center.js
  52. 71
      demo/js/core/layout/demo.center_adapt.js
  53. 2
      demo/js/core/layout/demo.float_center.js
  54. 39
      demo/js/core/layout/demo.horizontal.js
  55. 23
      demo/js/core/layout/demo.horizontal_adapt.js
  56. 5
      demo/js/core/layout/demo.horizontal_auto.js
  57. 22
      demo/js/core/layout/demo.horizontal_float.js
  58. 47
      demo/js/core/layout/demo.inline.js
  59. 8
      demo/js/core/layout/demo.vertical.js
  60. 4
      demo/js/core/layout/demo.vertical_adapt.js
  61. 3
      demo/js/widget/basewidget/demo.items.js
  62. 4
      demo/js/widget/date/demo.multidate_combo.js
  63. 32
      demo/js/widget/datetime/demo.datetime.js
  64. 27
      demo/js/widget/dialog/demo.dialog.js
  65. 2
      demo/js/widget/downlist/demo.downlist.js
  66. 40
      demo/js/widget/table/demo.excel_table.js
  67. 2
      demo/version.js
  68. 11
      dist/bundle.css
  69. 347
      dist/bundle.js
  70. 2
      dist/bundle.min.css
  71. 28
      dist/bundle.min.js
  72. 1
      dist/case.js
  73. 2
      dist/config.js
  74. 2
      dist/core.js
  75. 7490
      dist/demo.js
  76. 11
      dist/widget.css
  77. 344
      dist/widget.js
  78. 3
      docs/COURSE.md
  79. 5
      docs/README.md
  80. 2
      docs/START.md
  81. 1
      docs/SUMMARY.md
  82. 2699
      docs/_book/COURSE.html
  83. 17
      docs/_book/OVERVIEW.html
  84. 19
      docs/_book/START.html
  85. 15
      docs/_book/base/bubble.html
  86. 15
      docs/_book/base/button/button.html
  87. 15
      docs/_book/base/button/icon_button.html
  88. 15
      docs/_book/base/button/image_button.html
  89. 15
      docs/_book/base/button/text_button.html
  90. 15
      docs/_book/base/canvas.html
  91. 15
      docs/_book/base/editor/code_editor.html
  92. 15
      docs/_book/base/editor/editor.html
  93. 15
      docs/_book/base/editor/formula_editor.html
  94. 15
      docs/_book/base/editor/multifile_editor.html
  95. 15
      docs/_book/base/editor/rich_editor.html
  96. 15
      docs/_book/base/editor/textarea_editor.html
  97. 15
      docs/_book/base/label.html
  98. 15
      docs/_book/base/message.html
  99. 15
      docs/_book/base/pager.html
  100. 15
      docs/_book/base/svg.html
  101. Some files were not shown because too many files have changed in this diff Show More

1
bi/case.js

@ -3748,6 +3748,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ColorChooserPopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-chooser-popup",
width: 200,
height: 145
})
},

2
bi/core.js

@ -12526,7 +12526,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-horizontal-layout",
verticalAlign: BI.VerticalAlign.Middle,
verticalAlign: BI.VerticalAlign.Top,
columnSize: [],
scrollx: true,
hgap: 0,

11
bi/widget.css

@ -42,6 +42,9 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-down-list-popup .list-group-item-text {
max-width: 203px;
}
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
@ -85,19 +88,19 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-multidate-popup .bi-multidate-popup-label {
.bi-multidate-popup .multidate-popup-label {
color: #3f8ce8;
font-size: 14px;
}
.bi-multidate-popup .bi-multidate-popup-item:active,
.bi-multidate-popup .bi-multidate-popup-item.active {
.bi-multidate-popup .multidate-popup-item:active,
.bi-multidate-popup .multidate-popup-item.active {
background-color: #3f8ce8;
color: #ffffff;
-webkit-border-radius: 2px 2px 0 0;
-moz-border-radius: 2px 2px 0 0;
border-radius: 2px 2px 0 0;
}
.bi-multidate-popup .bi-multidate-popup-button {
.bi-multidate-popup .multidate-popup-button {
color: #3f8ce8;
font-size: 14px;
}

344
bi/widget.js

@ -2268,7 +2268,7 @@ BI.DateCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-combo bi-border",
height: 30
height: 25
});
},
_init: function () {
@ -2768,6 +2768,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
_defaultConfig: function () {
return BI.extend(BI.DateTimeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: 'bi-date-time-combo bi-border',
width: 200,
height: 24
});
},
@ -2883,50 +2884,6 @@ BI.DateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.DateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW = "BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW";
BI.shortcut('bi.date_time_combo', BI.DateTimeCombo);
/**
* Created by Urthur on 2017/7/14.
*/
BI.CustomDateTimeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.CustomDateTimeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-custom-date-time-combo"
})
},
_init: function () {
BI.CustomDateTimeCombo.superclass._init.apply(this, arguments);
var self = this;
this.DateTime = BI.createWidget({
type: "bi.date_time_combo",
element: this
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CANCEL, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CANCEL);
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CONFIRM);
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CHANGE, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
});
},
getValue: function () {
return this.DateTime.getValue();
},
setValue: function (v) {
this.DateTime.setValue(v);
}
});
BI.CustomDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.CustomDateTimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.CustomDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.shortcut("bi.custom_date_time_combo", BI.CustomDateTimeCombo);
/**
* Created by Urthur on 2017/7/14.
*/
@ -2944,7 +2901,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
this.cancelButton = BI.createWidget({
type: 'bi.text_button',
forceCenter: true,
cls: 'bi-multidate-popup-button bi-border-top bi-border-right',
cls: 'multidate-popup-button bi-border-top bi-border-right',
shadow: true,
text: BI.i18nText("BI-Basic_Cancel")
});
@ -2955,7 +2912,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
this.okButton = BI.createWidget({
type: "bi.text_button",
forceCenter: true,
cls: 'bi-multidate-popup-button bi-border-top',
cls: 'multidate-popup-button bi-border-top',
shadow: true,
text: BI.i18nText("BI-Basic_OK")
});
@ -2973,7 +2930,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
});
this.dateSelect = BI.createWidget({
type: "bi.horizontal",
type: "bi.vertical_adapt",
cls: "bi-border-top",
items: [{
type: "bi.label",
@ -2985,11 +2942,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.hour = _ref;
self.hour.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}, {
type: "bi.label",
@ -3001,11 +2961,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.minute = _ref;
self.minute.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}, {
type: "bi.label",
@ -3017,11 +2980,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.second = _ref;
self.second.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}]
});
@ -4447,270 +4413,6 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, {
}
});
BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/**
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTableCell
* @extends BI.Widget
*/
BI.ExcelTableCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTableCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table-cell",
text: ""
});
},
_init: function () {
BI.ExcelTableCell.superclass._init.apply(this, arguments);
var self = this, o = this.options;
BI.createWidget({
type: "bi.label",
element: this,
textAlign: "left",
whiteSpace: "normal",
height: this.options.height,
text: this.options.text,
value: this.options.value
})
}
});
BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/**
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTableHeaderCell
* @extends BI.Widget
*/
BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTableHeaderCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table-header-cell bi-background",
text: ""
});
},
_init: function () {
BI.ExcelTableHeaderCell.superclass._init.apply(this, arguments);
var self = this, o = this.options;
BI.createWidget({
type: "bi.label",
element: this,
textAlign: BI.HorizontalAlign.Center,
whiteSpace: "normal",
height: this.options.height,
text: this.options.text,
value: this.options.value
})
}
});
BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/**
* Excel表格
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTable
* @extends BI.Widget
*/
BI.ExcelTable = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTable.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table",
el: {
type: "bi.responsive_table"
},
isNeedResize: false,
isResizeAdapt: true,
isNeedMerge: false,//是否需要合并单元格
mergeCols: [], //合并的单元格列号
mergeRule: function (row1, row2) { //合并规则, 默认相等时合并
return BI.isEqual(row1, row2);
},
columnSize: [],
headerRowSize: 37,
footerRowSize: 37,
rowSize: 37,
regionColumnSize: false,
items: [] //二维数组
});
},
_init: function () {
BI.ExcelTable.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var mergeCols = [];
BI.each(o.mergeCols, function (i, col) {
mergeCols.push(col + 1);
});
this.table = BI.createWidget(o.el, {
type: "bi.table_view",
element: this,
isNeedFreeze: false,
isNeedMerge: o.isNeedMerge,
mergeCols: mergeCols,
mergeRule: o.mergeRule,
columnSize: [""].concat(o.columnSize),
headerRowSize: 18,
rowSize: o.rowSize,
regionColumnSize: o.regionColumnSize || [82, ""]
});
if (BI.isNotEmptyArray(o.items)) {
this.populate(o.items);
}
BI.nextTick(function () {
self.setRegionColumnSize(o.regionColumnSize || [82, ""]);
});
},
resize: function () {
this.table.resize();
},
setColumnSize: function (columnSize) {
this.table.setColumnSize(columnSize);
},
getColumnSize: function () {
return this.table.getColumnSize();
},
getCalculateColumnSize: function () {
return this.table.getCalculateColumnSize();
},
setHeaderColumnSize: function (columnSize) {
this.table.setHeaderColumnSize(columnSize);
},
setRegionColumnSize: function (columnSize) {
this.table.setRegionColumnSize(columnSize);
},
getRegionColumnSize: function () {
return this.table.getRegionColumnSize();
},
getCalculateRegionColumnSize: function () {
return this.table.getCalculateRegionColumnSize();
},
getCalculateRegionRowSize: function () {
return this.table.getCalculateRegionRowSize();
},
getClientRegionColumnSize: function () {
return this.table.getClientRegionColumnSize();
},
getScrollRegionColumnSize: function () {
return this.table.getScrollRegionColumnSize();
},
getScrollRegionRowSize: function () {
return this.table.getScrollRegionRowSize();
},
hasVerticalScroll: function () {
return this.table.hasVerticalScroll();
},
setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop);
},
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
getVerticalScroll: function () {
return this.table.getVerticalScroll();
},
getLeftHorizontalScroll: function () {
return this.table.getLeftHorizontalScroll();
},
getRightHorizontalScroll: function () {
return this.table.getRightHorizontalScroll();
},
getColumns: function () {
return this.table.getColumns();
},
resizeHeader: function () {
this.table.resize();
this.table._resizeHeader && this.table._resizeHeader();
},
attr: function (key,value) {
var self = this;
if (BI.isObject(key)) {
BI.each(key, function (k, v) {
self.attr(k, v);
});
return;
}
BI.ExcelTable.superclass.attr.apply(this, arguments);
switch (key){
case "mergeCols":
var mCols = [];
BI.each(value, function (i, col) {
mCols.push(col + 1);
});
value=mCols;
break;
}
this.table.attr.apply(this.table, arguments);
},
populate: function (rows) {
var self = this;
var columnSize = this.getColumnSize();
var items = [];
var header = [{
type: "bi.excel_table_header_cell"
}];
if (BI.isNotNull(rows)) {
BI.each(columnSize, function (i, size) {
header.push({
type: "bi.excel_table_header_cell",
text: BI.int2Abc(i + 1)
});
});
BI.each(rows, function (i, row) {
items.push([{
type: "bi.excel_table_header_cell",
text: (i + 1)
}].concat(row));
});
}
this.table.populate(items, [header]);
},
destroy: function () {
this.table.destroy();
BI.ExcelTable.superclass.destroy.apply(this, arguments);
}
});
BI.shortcut('bi.excel_table', BI.ExcelTable);/**
* 文件管理控件组
*
* Created by GUY on 2015/12/11.

1509
demo/config.js

File diff suppressed because one or more lines are too long

48
demo/js/base/demo.canvas.js

@ -0,0 +1,48 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var canvas = BI.createWidget({
type: "bi.canvas",
width: 500,
height: 600
});
canvas.rect(0, 0, 80, 100, "#7dbd2f");
canvas.line(80, 0, 100, 100, 200, 100, 300, 0, {
strokeStyle: "red",
lineWidth: 2
});
canvas.circle(150, 50, 20, "green");
//渐变矩形
canvas.rect(0, 120, 80, 100, canvas.gradient(0, 120, 80, 220, "#FF0000", "#00FF00"));
//空心图形
canvas.hollow(100, 120, 100, 220, 200, 120, {
strokeStyle: "blue"
});
//实心图形
canvas.solid(100, 240, 200, 240, 150, 280, 200, 320, 100, 320, {
strokeStyle: "yellow",
fillStyle: "pink"
});
canvas.stroke();
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: canvas,
left: 100,
top: 50
}]
})
}
});
BI.shortcut("demo.canvas", Demo.Func);

33
demo/js/case/combo/demo.editor_icon_check_combo.js

@ -0,0 +1,33 @@
/**
* Created by Dailer on 2017/7/11.
*/
Demo.TextValueCombo = BI.inherit(BI.Widget, {
props: {
baseCls: ""
},
render: function () {
return {
type: "bi.horizontal_auto",
items: [{
type: "bi.editor_icon_check_combo",
watermark: "默认值",
width: 200,
height: 30,
items: [{
//text: "MVC-1",
value: "1"
}, {
//text: "MVC-2",
value: "2"
}, {
//text: "MVC-3",
value: "3"
}]
}],
vgap: 20
}
}
})
BI.shortcut("demo.editor_icon_check_combo", Demo.TextValueCombo);

8
demo/js/case/combo/demo.icon_combo.js

@ -18,16 +18,16 @@ Demo.IconCombo = BI.inherit(BI.Widget, {
ref:function(_ref){
self.refs=_ref;
},
// iconClass: "pull-down-ha-font",
iconClass: "search-font",
items: [{
value: "第一项",
iconClass: "delete-font"
iconClass: "close-font"
}, {
value: "第二项",
iconClass: "rename-font"
iconClass: "search-font"
}, {
value: "第三项",
iconClass: "move-font"
iconClass: "copy-font"
}]
}],
vgap: 20

30
demo/js/case/combo/demo.text_value_combo.js

@ -11,35 +11,7 @@ Demo.TextValueCombo = BI.inherit(BI.Widget, {
type: "bi.horizontal_auto",
items: [{
type: "bi.text_value_combo",
text: "天气热死了",
width: 300,
items: [{
text: "MVC-1",
value: 1
}, {
text: "MVC-2",
value: 2
}, {
text: "MVC-3",
value: 3
}]
},{
type: "bi.text_value_check_combo",
text: "天气热死了",
width: 300,
items: [{
text: "MVC-1",
value: 1
}, {
text: "MVC-2",
value: 2
}, {
text: "MVC-3",
value: 3
}]
},{
type: "bi.text_value_combo",
text: "天气热死了",
text: "默认值",
width: 300,
items: [{
text: "MVC-1",

25
demo/js/case/combo/demo.text_value_down_list_combo.js

@ -6,25 +6,12 @@ Demo.TextValueDownListCombo = BI.inherit(BI.Widget, {
baseCls: ""
},
beforeMount:function(){
this.refs.setValue(2);
},
render: function () {
var self = this;
return {
type: "bi.horizontal_auto",
items: [{
type: "bi.label",
cls: "layout-bg2",
text: "分组+二级",
width: 300
}, {
type: "bi.text_value_down_list_combo",
text: "天气热死了",
width: 300,
ref: function (_ref) {
self.refs = _ref;
@ -32,25 +19,29 @@ Demo.TextValueDownListCombo = BI.inherit(BI.Widget, {
items: [
[{
el: {
text: "MVC-1",
text: "层级1",
value: 1
},
children: [{
text: "MVC-1-1",
text: "层级1-1",
value: 11
}]
}],
[{
text: "MVC-2",
text: "层级2",
value: 2
}, {
text: "MVC-3",
text: "层级3",
value: 3
}]
]
}],
vgap: 20
}
},
mounted: function () {
this.refs.setValue(2);
}
})

2
demo/js/case/combo/demo.text_vlaue_check_combo.js

@ -11,7 +11,7 @@ Demo.TextValueCheckCombo = BI.inherit(BI.Widget, {
type: "bi.horizontal_auto",
items: [{
type: "bi.text_value_check_combo",
text: "天气热死了",
text: "默认值",
width: 300,
items: [{
text: "MVC-1",

20
demo/js/case/demo.color_chooser_popup.js

@ -0,0 +1,20 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
return {
type: "bi.absolute",
items: [{
el: {
type: "bi.color_chooser_popup",
cls: "bi-card"
},
left: 100,
top: 250
}]
}
}
});
BI.shortcut("demo.color_chooser_popup", Demo.Func);

28
demo/js/case/demo.segment.js

@ -0,0 +1,28 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
element: this,
vgap: 20,
hgap: 30,
items: [{
type: "bi.segment",
items: [{
text: "1",
value: 1
}, {
text: "2",
value: 2
}, {
text: "3",
value: 3
}]
}]
})
}
});
BI.shortcut("demo.segment", Demo.Func);

51
demo/js/case/editor/demo.shelter_editor.js

@ -6,35 +6,40 @@ Demo.ClearEditor = BI.inherit(BI.Widget, {
baseCls: ""
},
render: function () {
var editor;
return {
type: "bi.horizontal_auto",
items: [{
var editor = BI.createWidget({
type: "bi.shelter_editor",
cls: "bi-border",
ref:function(_ref){
editor=_ref;
validationChecker: function (v) {
return v != "a";
},
width: 300,
watermark: "这个是带标记的"
},{
type:"bi.button",
text:"setValue",
width:300,
handler:function(){
editor.setValue("凛冬将至");
}
},{
watermark: "可以设置标记的输入框",
text: "这是一个遮罩"
})
BI.createWidget({
type: "bi.vertical",
element: this,
hgap: 30,
vgap: 20,
bgap: 50,
items: [editor]
})
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.button",
text:"doHighLight",
width:300,
text: "focus",
height: 25,
handler: function () {
editor.doHighLight();
console.log(editor.getState());
}
}],
vgap: 20
editor.focus();
}
},
right: 10,
left: 10,
bottom: 10
}]
})
}
})

27
demo/js/case/editor/demo.sign_editor.js

@ -6,18 +6,23 @@ Demo.SignEditor = BI.inherit(BI.Widget, {
baseCls: ""
},
render: function () {
return {
type: "bi.horizontal_adapt",
items: [{
var editor = BI.createWidget({
type: "bi.sign_editor",
// cls:"layout-bg5",
value: "123",
text: "456",
width: 300
}],
vgap: 20
}
cls: "bi-border",
validationChecker: function (v) {
return v != "a";
},
watermark: "可以设置标记的输入框",
text: "这是一个标记,点击它即可进行输入"
})
editor.setValue(2);
BI.createWidget({
type: "bi.vertical",
element: this,
hgap: 30,
vgap: 20,
items: [editor]
})
}
})

33
demo/js/case/editor/demo.simple_state_editor.js

@ -0,0 +1,33 @@
/**
* Created by Dailer on 2017/7/11.
*/
Demo.SimpleStateEditor = BI.inherit(BI.Widget, {
props: {
baseCls: ""
},
render: function () {
var self = this;
return {
type: "bi.horizontal_adapt",
items: [{
type: "bi.simple_state_editor",
ref: function () {
self.editor = this;
},
cls: "bi-border",
width: 300
}],
vgap: 20
}
},
mounted: function () {
var self = this;
setTimeout(function () {
self.editor.setState(["*", "*"]);
}, 1000)
}
})
BI.shortcut("demo.simple_state_editor", Demo.SimpleStateEditor);

15
demo/js/case/editor/demo.state_editor.js

@ -6,17 +6,28 @@ Demo.StateEditor = BI.inherit(BI.Widget, {
baseCls: ""
},
render: function () {
var self = this;
return {
type: "bi.horizontal_adapt",
items: [{
type: "bi.state_editor",
value: "123",
text: "456",
ref: function () {
self.editor = this;
},
cls: "bi-border",
width: 300
}],
vgap: 20
}
},
mounted: function () {
var self = this;
setTimeout(function () {
self.editor.setState(["*", "*"]);
}, 1000)
}
})

22
demo/js/case/item/demo.multi_select_item.js

@ -0,0 +1,22 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
return {
type: "bi.vertical",
items: [{
type: "bi.label",
height: 30,
text: "复选item"
}, {
type: "bi.multi_select_item",
text: "复选项"
}],
hgap: 300
}
}
});
BI.shortcut("demo.multi_select_item", Demo.Func);

25
demo/js/case/item/demo.single_select_item.js

@ -0,0 +1,25 @@
/**
* Created by Dailer on 2017/7/25.
*/
Demo.Items = BI.inherit(BI.Widget, {
render: function () {
return {
type: "bi.vertical",
items: [{
type: "bi.label",
height: 30,
text: "单选item"
}, {
type: "bi.single_select_item",
text: "单选项"
}],
hgap: 300
}
}
});
BI.shortcut("demo.single_select_item", Demo.Items);

25
demo/js/case/item/demo.single_select_radio_item.js

@ -0,0 +1,25 @@
/**
* Created by Dailer on 2017/7/25.
*/
Demo.Items = BI.inherit(BI.Widget, {
render: function () {
return {
type: "bi.vertical",
items: [{
type: "bi.label",
height: 30,
text: "单选item"
}, {
type: "bi.single_select_radio_item",
text: "单选项"
}],
hgap: 300
}
}
});
BI.shortcut("demo.single_select_radio_item", Demo.Items);

23
demo/js/case/list/demo.lazy_loader.js

@ -0,0 +1,23 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
BI.createWidget({
type: "bi.lazy_loader",
element: this,
el: {
layouts: [{
type: "bi.left",
hgap: 5
}]
},
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), {
type: "bi.button"
})
})
}
});
BI.shortcut("demo.lazy_loader", Demo.Func);

22
demo/js/case/list/demo.select_list.js

@ -0,0 +1,22 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
BI.createWidget({
type: "bi.select_list",
element: this,
el: {
el: {
chooseType: BI.Selection.Multi
}
},
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), {
type: "bi.multi_select_item"
})
})
}
});
BI.shortcut("demo.select_list", Demo.Func);

25
demo/js/case/pager/demo.all_count_pager.js

@ -0,0 +1,25 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
hgap: 200,
vgap: 50,
element: this,
items: [{
type: "bi.label",
height: 30,
text: " (测试条件:总页数为3)"
}, {
type: "bi.all_count_pager",
pages: 3,
curr: 1,
count: 1000
}]
})
}
});
BI.shortcut("demo.all_count_pager", Demo.Func);

18
demo/js/case/pager/demo.direction_pager.js

@ -0,0 +1,18 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
hgap: 200,
vgap: 50,
element: this,
items: [{
type: "bi.direction_pager",
}]
})
}
});
BI.shortcut("demo.direction_pager", Demo.Func);

34
demo/js/case/pane/demo.list_pane.js

@ -0,0 +1,34 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
return {
type: "bi.list_pane",
ref: function () {
self.pane = this;
},
itemsCreator: function (op, callback) {
setTimeout(function () {
callback(BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), {
type: "bi.multi_select_item",
height: 25
}))
}, 2000)
},
el: {
type: "bi.button_group",
layouts: [{
type: "bi.vertical"
}]
}
}
},
mounted: function () {
this.pane.populate();
}
});
BI.shortcut("demo.list_pane", Demo.Func);

39
demo/js/case/pane/demo.multi_popup_view.js

@ -0,0 +1,39 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
return {
type: "bi.absolute",
items: [{
el: {
type: "bi.combo",
width: 200,
height: 30,
el: {
type: "bi.text_button",
text: "点击",
cls: "bi-border",
height: 30
},
popup: {
type: "bi.multi_popup_view",
el: {
type: "bi.button_group",
layouts: [{
type: "bi.vertical"
}],
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), {
type: "bi.multi_select_item",
height: 25
})
}
}
}
}]
}
}
});
BI.shortcut("demo.multi_popup_view", Demo.Func);

28
demo/js/case/pane/demo.panel.js

@ -0,0 +1,28 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
return {
type: "bi.panel",
title: "title",
titleButtons: [{
type: "bi.button",
text: "操作"
}],
el: {
type: "bi.button_group",
layouts: [{
type: "bi.vertical"
}],
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), {
type: "bi.multi_select_item",
height: 25
})
}
}
}
});
BI.shortcut("demo.panel", Demo.Func);

39
demo/js/case/pane/demo.popup_panel.js

@ -0,0 +1,39 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
return {
type: "bi.absolute",
items: [{
el: {
type: "bi.combo",
width: 200,
height: 30,
el: {
type: "bi.text_button",
text: "点击",
cls: "bi-border",
height: 30
},
popup: {
type: "bi.popup_panel",
el: {
type: "bi.button_group",
layouts: [{
type: "bi.vertical"
}],
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.ITEMS), {
type: "bi.multi_select_item",
height: 25
})
}
}
}
}]
}
}
});
BI.shortcut("demo.popup_panel", Demo.Func);

160
demo/js/case/table/demo.adaptive_table.js

@ -0,0 +1,160 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var items = [[{
text: "第一行第一列"
}, {
text: "第一行第一列"
}, {
text: "第一行第一列"
}], [{
text: "第一行第一列"
}, {
text: "第一行第一列"
}, {
text: "第一行第一列"
}], [{
text: "第三行第一列"
}, {
text: "第三行第二列"
}, {
text: "第三行第三列"
}], [{
text: "第四行第一列"
}, {
text: "第四行第二列"
}, {
text: "第四行第三列"
}], [{
text: "第五行第一列"
}, {
text: "第五行第二列"
}, {
text: "第五行第三列"
}], [{
text: "第六行第一列"
}, {
text: "第六行第二列"
}, {
text: "第六行第三列"
}], [{
text: "第七行第一列"
}, {
text: "第七行第二列"
}, {
text: "第七行第三列"
}], [{
text: "第八行第一列"
}, {
text: "第八行第二列"
}, {
text: "第八行第三列"
}], [{
text: "第九行第一列"
}, {
text: "第九行第二列"
}, {
text: "第九行第三列"
}], [{
text: "第十行第一列"
}, {
text: "第十行第二列"
}, {
text: "第十行第三列"
}], [{
text: "第十一行第一列"
}, {
text: "第十一行第二列"
}, {
text: "第十一行第三列"
}], [{
text: "第十二行第一列"
}, {
text: "第十二行第二列"
}, {
text: "第十二行第三列"
}], [{
text: "第十三行第一列"
}, {
text: "第十三行第二列"
}, {
text: "第十三行第三列"
}], [{
text: "第十四行第一列"
}, {
text: "第十四行第二列"
}, {
text: "第十四行第三列"
}], [{
text: "第十五行第一列"
}, {
text: "第十五行第二列"
}, {
text: "第十五行第三列"
}], [{
text: "第十六行第一列"
}, {
text: "第十六行第二列"
}, {
text: "第十六行第三列"
}], [{
text: "第十七行第一列"
}, {
text: "第十七行第二列"
}, {
text: "第十七行第三列"
}], [{
text: "第十八行第一列"
}, {
text: "第十八行第二列"
}, {
text: "第十八行第三列"
}]];
var header = [[{
text: "表头1"
}, {
text: "表头2"
}, {
text: "表头3"
}]];
var table = BI.createWidget({
type: "bi.adaptive_table",
el: {
type: "bi.resizable_table",
el: {
type: "bi.grid_table",
}
},
width: 600,
height: 400,
minColumnSize: [100, 100, 100],
columnSize: [100, 100, 100],
header: header,
items: items
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.grid",
columns: 1,
rows: 1,
items: [[{
el: table
}]]
},
left: 10,
right: 10,
top: 10,
bottom: 10
}]
})
}
});
BI.shortcut("demo.adaptive_table", Demo.Func);

149
demo/js/case/table/demo.layer_tree_table.js

@ -0,0 +1,149 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var items = [{
children: [{
text: "节点1",
children: [{
text: "子节点1",
children: [{
text: "叶节点1",
values: [{text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 112}]
}, {
text: "叶节点2",
values: [{text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 122}]
}],
values: [{text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 1102}]
}, {
text: "子节点2",
children: [{
text: "叶节点3",
values: [{text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 132}]
}, {
text: "叶节点4",
values: [{text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 142}]
}],
values: [{text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 1202}]
}, {
text: "子节点3",
children: [{
text: "叶节点5",
values: [{text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 152}]
}],
values: [{text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 1302}]
}],
values: [{text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 11002}]
}, {
text: "节点2",
values: [{text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 12002}]
}],
values: [{text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 112002}]
}];
var header = [{
text: "header1"
}, {
text: "header2"
}, {
text: "header3"
}, {
text: "金额",
tag: 1
}, {
text: "金额",
tag: 2
}, {
text: "金额",
tag: 3
}, {
text: "金额",
tag: 4
}, {
text: "金额",
tag: 5
}, {
text: "金额",
tag: 6
}, {
text: "金额",
tag: 7
}];
var crossHeader = [{
text: "cross1"
}, {
text: "cross2"
}];
var crossItems = [{
children: [{
text: "节点1",
children: [{
text: "子节点1"
}, {
text: "子节点2"
}],
values: [0]
}, {
text: "节点2",
children: [{
text: "子节点3"
}, {
text: "子节点4"
}],
values: [0]
}],
values: [0]
}];
var table = BI.createWidget({
type: "bi.layer_tree_table",
el: {
type: "bi.adaptive_table",
el: {
type: "bi.resizable_table",
el: {
type: "bi.collection_table",
mergeRule: function (col1, col2) {
return BI.isEqual(col1, col2);
}
}
}
},
width: 600,
height: 400,
isNeedFreeze: true,
isNeedMerge: true,
freezeCols: [0, 1, 2],
mergeCols: [0, 1, 2],
minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
header: header,
items: items,
crossHeader: crossHeader,
crossItems: crossItems
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.grid",
columns: 1,
rows: 1,
items: [[{
el: table
}]]
},
left: 10,
right: 10,
top: 10,
bottom: 10
}]
})
}
});
BI.shortcut("demo.layer_tree_table", Demo.Func);

149
demo/js/case/table/demo.tree_table.js

@ -0,0 +1,149 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var items = [{
children: [{
text: "节点1",
children: [{
text: "子节点1",
children: [{
text: "叶节点1",
values: [{text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 11}, {text: 12}, {text: 112}]
}, {
text: "叶节点2",
values: [{text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 21}, {text: 22}, {text: 122}]
}],
values: [{text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 101}, {text: 102}, {text: 1102}]
}, {
text: "子节点2",
children: [{
text: "叶节点3",
values: [{text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 31}, {text: 32}, {text: 132}]
}, {
text: "叶节点4",
values: [{text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 41}, {text: 42}, {text: 142}]
}],
values: [{text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 201}, {text: 202}, {text: 1202}]
}, {
text: "子节点3",
children: [{
text: "叶节点5",
values: [{text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 51}, {text: 52}, {text: 152}]
}],
values: [{text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 301}, {text: 302}, {text: 1302}]
}],
values: [{text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 1001}, {text: 1002}, {text: 11002}]
}, {
text: "节点2",
values: [{text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 2001}, {text: 2002}, {text: 12002}]
}],
values: [{text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 12001}, {text: 12002}, {text: 112002}]
}];
var header = [{
text: "header1"
}, {
text: "header2"
}, {
text: "header3"
}, {
text: "金额",
tag: 1
}, {
text: "金额",
tag: 2
}, {
text: "金额",
tag: 3
}, {
text: "金额",
tag: 4
}, {
text: "金额",
tag: 5
}, {
text: "金额",
tag: 6
}, {
text: "金额",
tag: 7
}];
var crossHeader = [{
text: "cross1"
}, {
text: "cross2"
}];
var crossItems = [{
children: [{
text: "节点1",
children: [{
text: "子节点1"
}, {
text: "子节点2"
}],
values: [0]
}, {
text: "节点2",
children: [{
text: "子节点3"
}, {
text: "子节点4"
}],
values: [0]
}],
values: [0]
}];
var table = BI.createWidget({
type: "bi.tree_table",
el: {
type: "bi.adaptive_table",
el: {
type: "bi.resizable_table",
el: {
type: "bi.collection_table",
mergeRule: function (col1, col2) {
return BI.isEqual(col1, col2);
}
}
}
},
width: 600,
height: 400,
isNeedFreeze: true,
isNeedMerge: true,
freezeCols: [0, 1, 2],
mergeCols: [0, 1, 2],
minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
header: header,
items: items,
crossHeader: crossHeader,
crossItems: crossItems
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.grid",
columns: 1,
rows: 1,
items: [[{
el: table
}]]
},
left: 10,
right: 10,
top: 10,
bottom: 10
}]
})
}
});
BI.shortcut("demo.tree_table", Demo.Func);

24
demo/js/case/triggers/demo.editor_trigger.js

@ -0,0 +1,24 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [{
type: "bi.label",
text: "输入框加图标的trigger"
}, {
type: "bi.editor_trigger",
watermark: "这是水印",
width: 200,
height: 30
}],
hgap: 20,
vgap: 20
})
}
});
BI.shortcut("demo.editor_trigger", Demo.Func);

24
demo/js/case/triggers/demo.icon_trigger.js

@ -0,0 +1,24 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [{
type: "bi.label",
text: "只有一个图标的trigger"
}, {
type: "bi.icon_trigger",
width: 30,
height: 30
}],
hgap: 20,
vgap: 20
})
}
});
BI.shortcut("demo.icon_trigger", Demo.Func);

25
demo/js/case/triggers/demo.select_text_trigger.js

@ -0,0 +1,25 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [{
type: "bi.label",
text: "可被选择的trigger"
}, {
type: "bi.select_text_trigger",
text: "这是一个简单的trigger",
width: 200,
height: 30
}],
hgap: 20,
vgap: 20
})
}
});
BI.shortcut("demo.select_text_trigger", Demo.Func);

25
demo/js/case/triggers/demo.text_trigger.js

@ -0,0 +1,25 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
BI.createWidget({
type: "bi.vertical",
element: this,
items: [{
type: "bi.label",
text: "文本加图标的trigger"
}, {
type: "bi.text_trigger",
text: "这是一个简单的trigger",
width: 200,
height: 30
}],
hgap: 20,
vgap: 20
})
}
});
BI.shortcut("demo.text_trigger", Demo.Func);

4
demo/js/config/base.js

@ -106,10 +106,6 @@ Demo.BASE_CONFIG = [{
pId: 204,
text: "bi.resizable_table",
value: "demo.resizable_table"
}, {
pId: 2,
text: "bi.canvas",
value: "demo.canvas"
}, {
pId: 2,
text: "bi.pager",

16
demo/js/config/case.js

@ -60,20 +60,20 @@ Demo.CASE_CONFIG = [{
value: "demo.lazy_loader"
}, {
pId: 302,
text: "bi.list_loader",
value: "demo.list_loader"
text: "bi.sort_list(排序)",
value: "demo.sort_list"
}, {
pId: 302,
text: "bi.sort_list",
value: "demo.sort_list"
text: "bi.list_loader(排序)",
value: "demo.list_loader"
}, {
pId: 3,
id: 303,
text: "面板"
}, {
pId: 303,
text: "bi.pane_list",
value: "demo.pane_list"
text: "bi.list_pane",
value: "demo.list_pane"
}, {
pId: 303,
text: "bi.panel",
@ -134,6 +134,10 @@ Demo.CASE_CONFIG = [{
pId: 306,
text: "bi.text_value_check_combo",
value: "demo.text_value_check_combo"
}, {
pId: 306,
text: "bi.editor_icon_check_combo",
value: "demo.editor_icon_check_combo"
}, {
pId: 306,
text: "bi.text_value_down_list_combo",

49
demo/js/config/core.js

@ -7,27 +7,31 @@ Demo.CORE_CONFIG = [{
text: "布局"
}, {
pId: 101,
text: "自适应居中bi.center_adapt",
text: "bi.absolute",
value: "demo.absolute"
}, {
pId: 101,
text: "bi.center_adapt",
value: "demo.center_adapt"
}, {
pId: 101,
text: "自适应垂直居中bi.vertical_adapt",
text: "bi.vertical_adapt",
value: "demo.vertical_adapt"
}, {
pId: 101,
text: "自适应水平居中bi.horizontal_adapt",
text: "bi.horizontal_adapt",
value: "demo.horizontal_adapt"
}, {
pId: 101,
text: "margin-auto自适应水平居中bi.horizontal_auto",
text: "bi.horizontal_auto",
value: "demo.horizontal_auto"
}, {
pId: 101,
text: "float水平居中bi.horizontal_float",
text: "bi.horizontal_float",
value: "demo.horizontal_float"
}, {
pId: 101,
text: "左右垂直居中bi.left_right_vertical_adapt",
text: "bi.left_right_vertical_adapt",
value: "demo.left_right_vertical_adapt"
}, {
pId: 101,
@ -39,11 +43,11 @@ Demo.CORE_CONFIG = [{
value: "demo.float_center"
}, {
pId: 101,
text: "垂直流式bi.vertical",
text: "bi.vertical",
value: "demo.vertical"
}, {
pId: 101,
text: "水平流式bi.horizontal",
text: "bi.horizontal",
value: "demo.horizontal"
}, {
pId: 101,
@ -53,10 +57,6 @@ Demo.CORE_CONFIG = [{
pId: 101,
text: "bi.left, bi.right",
value: "demo.flow"
}, {
pId: 101,
text: "bi.inline",
value: "demo.inline"
}, {
pId: 101,
text: "bi.htape",
@ -77,6 +77,9 @@ Demo.CORE_CONFIG = [{
pId: 101,
text: "bi.td",
value: "demo.td"
}, {
pId: 101,
text: "..."
}, {
pId: 1,
id: 102,
@ -121,14 +124,18 @@ Demo.CORE_CONFIG = [{
pId: 10201,
text: "bi.combo",
value: "demo.combo"
}, {
pId: 10201,
text: "bi.combo(各种位置)",
value: "demo.combo2"
}, {
pId: 10201,
text: "bi.expander",
value: "demo.expander"
}, {
pId: 10201,
text: "bi.group_combo",
value: "demo.group_combo"
text: "bi.combo_group",
value: "demo.combo_group"
}, {
pId: 10201,
text: "bi.loader",
@ -155,23 +162,23 @@ Demo.CORE_CONFIG = [{
text: "弹出层"
}, {
pId: 10202,
text: "bi.layer_float_box",
value: "demo.layer_float_box"
text: "bi.float_box",
value: "demo.float_box"
}, {
pId: 10202,
text: "bi.layer_popup",
value: "demo.layer_popup"
text: "bi.popup_view",
value: "demo.popup_view"
}, {
pId: 10202,
text: "bi.searcher_view",
value: "demo.searcher_view"
}, {
pId: 1,
text: "widget",
text: "Widget",
value: "demo.widget"
}, {
pId: 1,
text: "single",
text: "Single",
value: "demo.single"
}, {
pId: 1,
@ -183,6 +190,6 @@ Demo.CORE_CONFIG = [{
value: "demo.node_button"
}, {
pId: 1,
text: "pane",
text: "Pane",
value: "demo.pane"
}];

38
demo/js/config/widget.js

@ -80,8 +80,12 @@ Demo.WIDGET_CONFIG = [{
value: "demo.responsive_table"
}, {
pId: 404,
text: "bi.excel_table",
value: "demo.excel_table"
text: "bi.sequence_table",
value: "demo.sequence_table"
}, {
pId: 404,
text: "bi.page_table",
value: "demo.page_table"
}, {
pId: 4,
id: 405,
@ -154,14 +158,6 @@ Demo.WIDGET_CONFIG = [{
pId: 412,
text: "bi.quarter_combo",
value: "demo.quarter"
}, {
pId: 412,
text: "bi.date_combo",
value: "demo.date"
}, {
pId: 412,
text: "bi.date_pane",
value: "demo.date_pane"
}, {
pId: 412,
text: "bi.year_month_combo",
@ -172,11 +168,19 @@ Demo.WIDGET_CONFIG = [{
value: "demo.year_quarter_combo"
}, {
pId: 412,
text: "bi.custom_date_time",
value: "demo.custom_date_time"
text: "bi.date_pane",
value: "demo.date_pane"
}, {
pId: 412,
text: "bi.multidate_combo",
value: "demo.multidate_combo"
}, {
pId: 412,
text: "bi.date_time",
value: "demo.date_time"
}, {
pId: 412,
text: '时间间隔',
text: 'bi.time_interval',
value: 'demo.time_interval'
}, {
pId: 4,
@ -218,14 +222,6 @@ Demo.WIDGET_CONFIG = [{
pId: 417,
text: "bi.interactive_arrangement",
value: "demo.interactive_arrangement"
}, {
pId: 4,
id: 418,
text: "提示对话框"
}, {
pId: 418,
text: "bi.dialog",
value: "demo.dialog"
}, {
pId: 4,
id: 419,

484
demo/js/core/abstract/combination/demo.combo.js

@ -2,9 +2,491 @@ Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
years: [{
text: "2010年", value: 2010, iconCls: "close-ha-font"
}, {
text: "2011年", value: 2011
}, {
text: "2012年", value: 2012, iconCls: "close-ha-font"
}, {
text: "2013年", value: 2013
}, {
text: "2014年", value: 2014, iconCls: "close-ha-font"
}, {
text: "2015年", value: 2015, iconCls: "close-ha-font"
}, {
text: "2016年", value: 2016, iconCls: "close-ha-font"
}, {
text: "2017年", value: 2017, iconCls: "close-ha-font"
}],
child: [{
type: "bi.combo_group",
el: {
type: "bi.icon_text_icon_item",
text: "2010年",
value: 2010,
height: 25,
iconCls: "close-ha-font"
},
children: [{
type: "bi.single_select_item",
height: 25,
text: "一月",
value: 11
}, {
type: "bi.icon_text_icon_item",
height: 25,
text: "二月",
value: 12,
children: [{type: "bi.single_select_item", text: "一号", value: 101, height: 25}]
}]
}, {
text: "2011年", value: 2011
}, {
text: "2012年", value: 2012, iconCls: "close-ha-font"
}, {
text: "2013年", value: 2013
}, {
text: "2014年", value: 2014, iconCls: "close-ha-font"
}, {
text: "2015年", value: 2015, iconCls: "close-ha-font"
}],
months: [[{
el: {
text: "一月", value: 1
}
}, {
el: {
text: "二月", value: 2
}
}], [{
el: {
text: "三月", value: 3
}
}, {
el: {
text: "四月", value: 4
}
}], [{
el: {
text: "五月", value: 5
}
}, {
el: {
text: "六月", value: 6
}
}], [{
el: {
text: "七月", value: 7
}
}, {
el: {
text: "八月", value: 8
}
}], [{
el: {
text: "九月", value: 9
}
}, {
el: {
text: "十月", value: 10
}
}], [{
el: {
text: "十一月", value: 11
}
}, {
el: {
text: "十二月", value: 12
}
}]],
dynamic: [
{
text: "2010年", value: 1
}, {
text: "20112222年", value: 2
}, {
text: "201233333年", value: 3
}, {
text: "2013年", value: 4
}, {
text: "2012324年", value: 5
}, {
text: "2015年", value: 6
}, {
text: "2016年", value: 7
}, {
text: "201744444444444444444444444444444444444年", value: 8
}
],
week: [{
text: "周一", value: 100, iconClsLeft: "close-ha-font", iconClsRight: "close-font"
}, {
text: "周二", value: 101, iconClsLeft: "close-ha-font"
}, {
text: "周三", value: 102
}, {
text: "周四", value: 103, iconClsRight: "close-ha-font"
}, {
text: "周五", value: 104, iconClsLeft: "close-ha-font", iconClsRight: "close-font"
}, {
text: "周六", value: 105, iconClsLeft: "close-font", iconClsRight: "close-ha-font"
}, {
text: "周日", value: 106, iconClsLeft: "close-font"
}],
_createTop: function () {
var self = this;
var yearCombo = BI.createWidget({
type: "bi.combo",
el: {
type: "bi.button",
text: "简单下拉框",
height: 30
},
popup: {
el: {
type: "bi.button_group",
items: BI.createItems(BI.deepClone(this.years), {
type: "bi.single_select_radio_item",
height: 25,
handler: function (v) {
}
}),
layouts: [{
type: "bi.vertical"
}]
}
},
width: 200
});
var multiCombo = BI.createWidget({
type: "bi.combo",
el: {
type: "bi.button",
text: "多选下拉框",
height: 30
},
popup: {
el: {
items: BI.createItems(BI.deepClone(this.years), {
type: "bi.multi_select_item",
height: 25,
handler: function (v) {
}
}),
chooseType: 1,
layouts: [{
type: "bi.vertical"
}]
},
tool: {
type: "bi.label",
text: "这是一个下拉框",
height: 35
},
tabs: [{
type: "bi.multi_select_bar",
height: 25,
text: "全选",
onCheck: function (v) {
if (v) {
multiCombo.setValue(BI.pluck(BI.deepClone(self.years), "value"));
} else {
multiCombo.setValue([]);
}
},
isAllCheckedBySelectedValue: function (selectedValue) {
return selectedValue.length == self.years.length
// return true;
}
}],
buttons: [{
type: "bi.text_button",
text: "清空",
handler: function () {
multiCombo.setValue([]);
}
}, {
type: "bi.text_button",
text: "确定",
handler: function () {
BI.Msg.alert("", multiCombo.getValue());
}
}]
},
width: 200
});
var dynamicPopupCombo = BI.createWidget({
type: "bi.combo",
isNeedAdjustWidth: false,
offsetStyle: "center",
el: {
type: "bi.button",
text: "动态调整宽度",
height: 30
},
popup: {
el: {
items: BI.createItems(BI.deepClone(this.dynamic), {
type: "bi.single_select_item",
height: 25
}),
layouts: [{
type: "bi.vertical"
}]
}
},
width: 200
});
var dynamicCombo = BI.createWidget({
type: "bi.combo",
dynamic: true,
el: {
type: "bi.button",
text: "搜索",
height: 30
},
popup: {
el: {
type: "bi.loader",
logic: {
dynamic: true,
scrolly: true
},
el: {
behaviors: {
redmark: function () {
return true;
}
},
layouts: [{
type: "bi.vertical"
}]
},
itemsCreator: function (options, popuplate) {
var times = options.times;
BI.delay(function () {
if (times == 3) {
popuplate([{
type: "bi.single_select_item",
text: "这是最后一个",
value: "这是最后一个",
py: "zszhyg",
height: 25
}]);
return;
}
var map = BI.map(BI.makeArray(3, null), function (i, v) {
var val = i + "_" + BI.random(1, 100);
return {
type: "bi.single_select_item",
text: val,
value: val,
height: 25
}
});
popuplate(map);
}, 1000);
},
hasNext: function (options) {
return options.times < 3
}
},
buttons: [{
type: "bi.text_button",
text: "清空",
handler: function () {
dynamicCombo.setValue([]);
}
}, {
type: "bi.text_button",
text: "确定",
handler: function () {
BI.Msg.alert("", dynamicCombo.getValue());
}
}]
},
width: 200
});
return BI.createWidget({
type: "bi.left",
items: [yearCombo, multiCombo, dynamicPopupCombo, dynamicCombo],
hgap: 20,
vgap: 20
})
},
_createBottom: function () {
var combo = BI.createWidget({
type: "bi.combo",
el: {
type: "bi.text_button",
cls: "button-combo",
height: 30
},
popup: {
el: {
type: "bi.button_group",
items: BI.createItems(BI.deepClone(this.years), {
type: "bi.single_select_item",
iconWidth: 25,
height: 25,
handler: function (v) {
}
}),
chooseType: 1,
layouts: [{
type: "bi.vertical"
}]
}
},
width: 200
});
combo.setValue(BI.deepClone(this.years)[0].value);
var childCombo = BI.createWidget({
type: "bi.combo",
el: {
type: "bi.text_button",
cls: "button-combo",
height: 30
},
popup: {
el: {
type: "bi.button_tree",
items: BI.createItems(BI.deepClone(this.child), {
type: "bi.single_select_item",
height: 25,
handler: function (v) {
}
}),
layouts: [{
type: "bi.vertical"
}]
}
},
width: 200
});
childCombo.setValue(BI.deepClone(this.child)[0].children[0].value);
var monthCombo = BI.createWidget({
type: "bi.combo",
el: {
type: "bi.button",
text: "多层样式下拉框",
height: 30
},
popup: {
el: {
items: BI.createItems(BI.deepClone(this.months), {
type: "bi.single_select_item",
cls: "button-combo",
handler: function (v) {
}
}),
layouts: [{
type: "bi.adaptive",
items: [{
el: {
type: "bi.table",
columns: 2,
rows: 6,
columnSize: [0.5, 'fill'],
rowSize: 30
},
left: 4,
right: 4,
top: 2,
bottom: 2
}]
}, {
type: "bi.absolute",
el: {left: 4, top: 2, right: 4, bottom: 2}
}]
}
},
width: 200
});
var yearCombo = BI.createWidget({
type: "bi.combo",
el: {
type: "bi.button",
text: "自定义控件",
height: 30
},
popup: {
el: {
type: "bi.navigation",
direction: "bottom",
logic: {
dynamic: true
},
tab: {
height: 30,
items: [{
once: false,
text: "后退",
value: -1,
cls: "mvc-button layout-bg3"
}, {
once: false,
text: "前进",
value: 1,
cls: "mvc-button layout-bg4"
}]
},
cardCreator: function (v) {
return BI.createWidget({
type: "bi.text_button",
whiteSpace: "normal",
text: new Date().getFullYear() + v
})
}
}
},
width: 200
});
return BI.createWidget({
type: "bi.left",
items: [combo, childCombo, monthCombo, yearCombo],
hgap: 20,
vgap: 20
})
},
render: function () {
return {
type: "bi.layout",
type: "bi.grid",
columns: 1,
rows: 2,
items: [{
column: 0,
row: 0,
el: this._createTop()
}, {
column: 0,
row: 1,
el: this._createBottom()
}]
}
}
});

163
demo/js/core/abstract/combination/demo.combo2.js

@ -0,0 +1,163 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
_createEl: function () {
return {
type: "bi.button",
height: 25,
text: "点击"
}
},
oneCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustLength: 5,
el: this._createEl(),
popup: {
el: {
type: "bi.layout",
height: 500
},
maxHeight: 400
}
});
},
twoCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustXOffset: 25,
adjustYOffset: 5,
direction: "bottom,left",
el: this._createEl(),
popup: {
el: {
type: "bi.layout",
height: 1200
}
}
});
},
threeCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustYOffset: 5,
el: this._createEl(),
isNeedAdjustHeight: false,
popup: {
el: {
type: "bi.layout",
height: 1200
}
}
});
},
fourCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustXOffset: 25,
adjustYOffset: 5,
direction: "left",
el: this._createEl(),
isNeedAdjustHeight: true,
popup: {
el: {
type: "bi.layout",
height: 1200
}
}
})
},
fiveCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustXOffset: 25,
adjustYOffset: 5,
direction: "left,top",
el: this._createEl(),
isNeedAdjustHeight: true,
popup: {
el: {
type: "bi.layout",
height: 1200
},
maxHeight: 2000
}
})
},
sixCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustXOffset: 25,
adjustYOffset: 5,
direction: "top,left",
el: this._createEl(),
isNeedAdjustHeight: true,
popup: {
el: {
type: "bi.layout",
height: 1200
}
}
})
},
sevenCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustXOffset: 25,
adjustYOffset: 5,
direction: "bottom",
isNeedAdjustWidth: false,
//isNeedAdjustHeight: false,
offsetStyle: "center",
el: this._createEl(),
popup: {
el: {
type: "bi.layout",
width: 200,
height: 1200
}
}
})
},
eightCombo: function () {
return BI.createWidget({
type: "bi.combo",
adjustXOffset: 25,
adjustYOffset: 5,
direction: "right",
isNeedAdjustWidth: false,
//isNeedAdjustHeight: false,
offsetStyle: "middle",
el: this._createEl(),
popup: {
el: {
type: "bi.layout",
width: 200,
height: 200
}
}
})
},
render: function () {
return {
type: "bi.grid",
hgap: 10,
vgap: 5,
items: [[this.oneCombo(), this.twoCombo(), this.threeCombo()],
[this.fourCombo(), this.fiveCombo(), this.sixCombo()],
[this.sevenCombo(), this.eightCombo()]]
};
}
});
BI.shortcut("demo.combo2", Demo.Func);

87
demo/js/core/abstract/combination/demo.combo_group.js

@ -0,0 +1,87 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
child: [{
type: "bi.combo_group",
el: {
type: "bi.icon_text_icon_item",
text: "2010年",
value: 2010,
height: 25,
iconCls: "close-ha-font"
},
children: [{
type: "bi.single_select_item",
height: 25,
text: "一月",
value: 11
}, {
type: "bi.icon_text_icon_item",
height: 25,
text: "二月",
value: 12,
children: [{type: "bi.single_select_item", text: "一号", value: 101, height: 25}]
}]
}, {
text: "2011年", value: 2011
}, {
text: "2012年", value: 2012, iconCls: "close-ha-font"
}, {
text: "2013年", value: 2013
}, {
text: "2014年", value: 2014, iconCls: "close-ha-font"
}, {
text: "2015年", value: 2015, iconCls: "close-ha-font"
}],
_createBottom: function () {
var childCombo = BI.createWidget({
type: "bi.combo",
el: {
type: "bi.text_button",
cls: "button-combo",
height: 30
},
popup: {
el: {
type: "bi.button_tree",
items: BI.createItems(BI.deepClone(this.child), {
type: "bi.single_select_item",
height: 25,
handler: function (v) {
}
}),
layouts: [{
type: "bi.vertical"
}]
}
},
width: 200
});
childCombo.setValue(BI.deepClone(this.child)[0].children[0].value);
return BI.createWidget({
type: "bi.left",
items: [childCombo],
hgap: 20,
vgap: 20
})
},
render: function () {
return {
type: "bi.grid",
columns: 1,
rows: 1,
items: [{
column: 0,
row: 0,
el: this._createBottom()
}]
}
}
});
BI.shortcut("demo.combo_group", Demo.Func);

41
demo/js/core/abstract/combination/demo.expander.js

@ -0,0 +1,41 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
return {
type: "bi.vertical",
hgap: 30,
vgap: 20,
items: [{
type: "bi.expander",
el: {
type: "bi.icon_text_node",
cls: "pull-right-ha-font mvc-border",
height: 25,
text: "Expander"
},
popup: {
cls: "mvc-border",
items: BI.createItems([{
text: "项目1",
value: 1
}, {
text: "项目2",
value: 2
}, {
text: "项目3",
value: 3
}, {
text: "项目4",
value: 4
}], {
type: "bi.single_select_item",
height: 25
})
}
}]
}
}
});
BI.shortcut("demo.expander", Demo.Func);

27
demo/js/core/abstract/combination/demo.loader.js

@ -0,0 +1,27 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var self = this;
this.all = 0;
var items = BI.deepClone(Demo.CONSTANTS.ITEMS);
return {
type: "bi.loader",
itemsCreator: function (options, populate) {
setTimeout(function () {
populate(BI.map(items.slice((options.times - 1) * 10, options.times * 10), function (i, v) {
return BI.extend(v, {
type: "bi.single_select_item",
height: 25
})
}))
}, 1000);
},
hasNext: function (options) {
return options.times * 10 < items.length;
}
}
}
});
BI.shortcut("demo.loader", Demo.Func);

35
demo/js/core/abstract/combination/demo.navigation.js

@ -0,0 +1,35 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
_createNav: function (v) {
return BI.createWidget({
type: "bi.label",
cls: "layout-bg" + BI.random(1, 8),
text: "第" + v + "页"
})
},
render: function () {
return {
type: "bi.navigation",
defaultShowIndex: 0,
tab: {
height: 30,
items: [{
once: false,
text: "后退",
value: -1,
cls: "mvc-button layout-bg3"
}, {
once: false,
text: "前进",
value: 1,
cls: "mvc-button layout-bg4"
}]
},
cardCreator: BI.bind(this._createNav, this)
}
}
});
BI.shortcut("demo.navigation", Demo.Func);

92
demo/js/core/abstract/combination/demo.sercher.js

@ -2,57 +2,83 @@ Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
_createItems: function (items) {
return BI.createItems(items, {
type: "bi.multi_select_item",
height: 25,
handler: function (v) {
}
})
},
render: function () {
var self = this;
var items = [{
type: "bi.label",
value: "张三"
text: "2010年", value: 2010, py: "2010n", title: "1111111111111111111111111111111111"
}, {
text: "2011年", value: 2011, py: "2011n", title: "1111111111111111111111111111111111"
}, {
text: "2012年", value: 2012, py: "2012n", title: "1111111111111111111111111111111111"
}, {
text: "2013年", value: 2013, py: "2013n", title: "1111111111111111111111111111111111"
}, {
text: "2014年", value: 2014, py: "2014n", title: "1111111111111111111111111111111111"
}, {
text: "2015年", value: 2015, py: "2015n", title: "1111111111111111111111111111111111"
}, {
type: "bi.label",
value: "李四"
text: "2016年", value: 2016, py: "2016n", title: "1111111111111111111111111111111111"
}, {
text: "2017年", value: 2017, py: "2017n", title: "1111111111111111111111111111111111"
}];
var popup = BI.createWidget({
var adapter = BI.createWidget({
type: "bi.button_group",
cls: "bi-border",
items: items,
cls: "layout-bg1",
items: this._createItems(items),
chooseType: 1,
behaviors: {},
layouts: [{
type: "bi.vertical"
}]
});
return {
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: adapter,
top: 50,
left: 50,
width: 200,
height: 100
}]
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: {
type: "bi.absolute",
width: 200,
height: 30,
items: [{
el: {
type: "bi.searcher",
listeners: [{
eventName: BI.Searcher.EVENT_STOP,
action: function () {
popup.populate(items)
}
}, {
eventName: BI.Searcher.EVENT_PAUSE,
action: function () {
popup.populate(items)
}
}],
adapter: {
getItems: function () {
return items
}
},
popup: popup,
masker: false
adapter: adapter,
width: 200,
height: 30
},
left: 0,
right: 0,
top: 0
}, {
el: popup,
left: 0,
right: 0,
top: 50,
top: 0,
bottom: 0
}]
}
},
top: 100,
left: 300
}]
})
}
});
BI.shortcut("demo.searcher", Demo.Func);

59
demo/js/core/abstract/combination/demo.switcher.js

@ -0,0 +1,59 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
render: function () {
var adapter = BI.createWidget({
type: "bi.label",
cls: "layout-bg2",
text: "将在该处弹出switcher"
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: adapter,
top: 50,
left: 20,
width: 200,
height: 300
}]
});
BI.createWidget({
type: "bi.vertical",
element: this,
hgap: 30,
vgap: 20,
items: [{
type: "bi.switcher",
el: {
type: "bi.button",
height: 25,
text: "Switcher"
},
popup: {
cls: "mvc-border layout-bg5",
items: BI.createItems([{
text: "项目1",
value: 1
}, {
text: "项目2",
value: 2
}, {
text: "项目3",
value: 3
}, {
text: "项目4",
value: 4
}], {
type: "bi.single_select_item",
height: 25
})
},
adapter: adapter
}]
})
}
});
BI.shortcut("demo.switcher", Demo.Func);

69
demo/js/core/abstract/combination/demo.tab.js

@ -0,0 +1,69 @@
Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
_createTabs: function (v) {
switch (v) {
case 1:
return BI.createWidget({
type: "bi.label",
cls: "layout-bg1",
text: "面板1"
})
case 2:
return BI.createWidget({
type: "bi.label",
cls: "layout-bg2",
text: "面板2"
})
}
},
render: function () {
this.tab = BI.createWidget({
type: "bi.button_group",
height: 30,
items: [{
text: "Tab1",
value: 1,
width: 50,
cls: "mvc-button layout-bg3"
}, {
text: "Tab2",
value: 2,
width: 50,
cls: "mvc-button layout-bg4"
}],
layouts: [{
type: "bi.center_adapt",
items: [{
el: {
type: "bi.horizontal",
width: 100
}
}]
}]
});
var tab = BI.createWidget({
direction: "custom",
type: "bi.tab",
element: this,
tab: this.tab,
cardCreator: BI.bind(this._createTabs, this)
});
BI.createWidget({
type: "bi.absolute",
element: this,
items: [{
el: this.tab,
left: 200,
top: 200
}]
})
tab.setSelect(2);
}
});
BI.shortcut("demo.tab", Demo.Func);

0
demo/js/core/abstract/mvc.custom_tree.js → demo/js/core/abstract/demo.custom_tree.js

7
demo/js/core/layout/demo.absolute.js

@ -7,8 +7,11 @@ Demo.AbsoluteLayout = BI.inherit(BI.Widget, {
type: "bi.absolute",
items: [{
el: {
type: "bi.button",
text: "absolute"
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 200
},
left: 100,
top: 100

2
demo/js/core/layout/demo.center.js

@ -10,7 +10,7 @@ Demo.CenterLayout = BI.inherit(BI.Widget, {
type: "bi.center",
items: [{
type: "bi.label",
text: "Center 1,这里虽然设置label的高度30,但是最终影响高度的是center布局",
text: "其实是一个grid嵌套absolute的实现",
cls: "layout-bg1",
whiteSpace: "normal"
},{

71
demo/js/core/layout/demo.center_adapt.js

@ -4,78 +4,15 @@ Demo.CenterAdapt = BI.inherit(BI.Widget, {
},
render: function () {
return {
type: "bi.grid",
columns: 1,
rows: 2,
items: [{
column: 0,
row: 0,
el: this._createNoWidth()
}, {
column: 0,
row: 1,
el: this._createBottom()
}]
}
},
_createNoWidth: function () {
return BI.createWidget({
type: "bi.center_adapt",
hgap: 10,
items: [{
type: "bi.label",
text: "Center Adapt 1,center adapt布局只会影响容器内部的位置(水平和垂直居中)而不会影响到内部控件本身属性",
cls: "layout-bg1",
height: 30
}, {
type: "bi.label",
text: "Center Adapt 2,根据内部控件的宽度的比例来计算",
cls: "layout-bg2",
height: 30
}, {
type: "bi.label",
text: "Center Adapt 3,这些label都是没有宽度的",
cls: "layout-bg3",
height: 30
}, {
type: "bi.label",
text: "Center Adapt 4",
cls: "layout-bg5",
height: 30
}]
})
},
_createBottom: function () {
return BI.createWidget({
type: "bi.center_adapt",
items: [{
type: "bi.text_button",
text: "这个是有宽度和高度的按钮-1",
height: "100%",
width: 160,
text: "水平垂直居中",
width: 300,
height: 200,
cls: "layout-bg1"
}, {
type: "bi.text_button",
text: "这个是有宽度和高度的按钮-2",
height: 30,
width: 160,
cls: "layout-bg2"
}, {
type: "bi.text_button",
text: "这个是有宽度和高度的按钮-3",
height: 30,
width: 160,
cls: "layout-bg3"
}, {
type: "bi.text_button",
text: "这个是有宽度和高度的按钮-4",
height: 30,
width: 160,
cls: "layout-bg5"
}]
})
}
},
});
BI.shortcut("demo.center_adapt", Demo.CenterAdapt);

2
demo/js/core/layout/demo.float_center.js

@ -15,7 +15,7 @@ Demo.FloatCenterLayout = BI.inherit(BI.Widget, {
whiteSpace: "normal"
}, {
type: "bi.label",
text: "floatCenter与center的不同在于,它可以控制最小宽度和最大宽度",
text: "浮动式的中间布局",
cls: "layout-bg2",
whiteSpace: "normal"
}],

39
demo/js/core/layout/demo.horizontal.js

@ -7,43 +7,20 @@ Demo.Horizontal = BI.inherit(BI.Widget, {
},
render: function () {
return {
type: "bi.vertical",
items: [{
type: "bi.horizontal",
items: [{
type: "bi.absolute",
items: [{
el: {
type: "bi.text_button",
cls: "layout-bg1",
text: "这里设置了lgap(左边距),rgap(右边距),tgap(上边距),bgap(下边距)这里设置了lgap(左边距),rgap(右边距),tgap(上边距),bgap(下边距)",
height: 30
},
left: 0,
right: 0
}],
width: 100,
type: "bi.label",
text: "水平布局",
cls: "layout-bg3",
width: 300,
height: 30
}, {
type: "bi.absolute",
items: [{
el: {
type: "bi.text_button",
cls: "layout-bg2",
text: "这里设置了lgap(左边距),rgap(右边距),tgap(上边距),bgap(下边距)这里设置了lgap(左边距),rgap(右边距),tgap(上边距),bgap(下边距)",
height: 30
},
left: 0,
right: 0
}],
width: 200,
type: "bi.label",
text: "水平布局",
cls: "layout-bg4",
width: 300,
height: 30
}]
}],
lgap: 20,
rgap: 80,
tgap: 80,
bgap: 50
}
}
});

23
demo/js/core/layout/demo.horizontal_adapt.js

@ -9,18 +9,29 @@ Demo.HorizontalAdapt = BI.inherit(BI.Widget, {
_createLayout: function () {
return BI.createWidget({
type: "bi.horizontal_adapt",
vgap: 10,
items: [{
type: "bi.label",
text: "Horizontal Adapt左右自适应",
text: "例子1:可用做水平居中",
cls: "layout-bg1",
width: 300,
height: 30
}]
})
},
_createAdaptLayout: function () {
return BI.createWidget({
type: "bi.horizontal_adapt",
columnSize: [300, 'fill'],
items: [{
type: "bi.label",
text: "例子2:用于水平适应布局",
cls: "layout-bg1",
height: 30
}, {
type: "bi.label",
text: "Horizontal Adapt左右自适应",
text: "水平自适应列",
cls: "layout-bg2",
//width: 300,
height: 30
}]
})
@ -35,6 +46,10 @@ Demo.HorizontalAdapt = BI.inherit(BI.Widget, {
column: 0,
row: 0,
el: this._createLayout()
}, {
column: 0,
row: 1,
el: this._createAdaptLayout()
}]
}
}

5
demo/js/core/layout/demo.horizontal_auto.js

@ -9,16 +9,15 @@ Demo.HorizontalAuto = BI.inherit(BI.Widget, {
_createLayout: function () {
return BI.createWidget({
type: "bi.horizontal_auto",
vgap: 10,
items: [{
type: "bi.label",
text: "Horizontal Auto左右自适应",
text: "水平居中",
cls: "layout-bg1",
width: 300,
height: 30
}, {
type: "bi.label",
text: "Horizontal Auto左右自适应",
text: "水平居中优先使用该布局",
cls: "layout-bg2",
width: 300,
height: 30

22
demo/js/core/layout/demo.horizontal_float.js

@ -6,28 +6,14 @@ Demo.HorizontalFloat = BI.inherit(BI.Widget, {
baseCls: "demo-horizontal-float"
},
_createLayout: function () {
return BI.createWidget({
render: function () {
return {
type: "bi.horizontal_float",
vgap: 10,
items: [{
type: "bi.label",
text: "Horizontal Float左右自适应",
text: "浮动式水平居中布局方案,用于宽度未知的情况",
cls: "layout-bg1",
width: 100
}]
})
},
render: function () {
return {
type: "bi.grid",
columns: 1,
rows: 2,
items: [{
column: 0,
row: 0,
el: this._createLayout()
height: 30
}]
}
}

47
demo/js/core/layout/demo.inline.js

@ -1,47 +0,0 @@
/**
* Created by User on 2017/3/22.
*/
Demo.InlineLayout = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-inline"
},
render: function () {
return {
type: "bi.inline",
items: [{
type: "bi.label",
height: 30,
text: "Left-1",
cls: "layout-bg1",
hgap: 200
}, {
type: "bi.label",
height: 30,
text: "Left-2",
cls: "layout-bg2",
hgap: 200
}, {
type: "bi.label",
height: 30,
text: "Left-3",
cls: "layout-bg3",
hgap: 200
}, {
type: "bi.label",
height: 30,
text: "Left-4",
cls: "layout-bg4",
hgap: 200
}, {
type: "bi.label",
height: 30,
text: "Left-5",
cls: "layout-bg5",
hgap: 200
}],
hgap: 20,
vgap: 20
}
}
});
BI.shortcut("demo.inline", Demo.InlineLayout);

8
demo/js/core/layout/demo.vertical.js

@ -10,13 +10,13 @@ Demo.VerticalLayout = BI.inherit(BI.Widget, {
type: "bi.vertical",
items: [{
type: "bi.label",
cls: "layout-bg1",
text: "这里设置了hgap(水平间距),vgap(垂直间距)",
cls: "layout-bg3",
text: "垂直布局",
height: 30
}, {
type: "bi.label",
cls: "layout-bg2",
text: "这里设置了hgap(水平间距),vgap(垂直间距)",
cls: "layout-bg4",
text: "垂直布局",
height: 30
}]
}

4
demo/js/core/layout/demo.vertical_adapt.js

@ -12,13 +12,13 @@ Demo.VerticalAdaptLayout = BI.inherit(BI.Widget, {
vgap: 10,
items: [{
type: "bi.label",
text: "Vertical Adapt上下自适应",
text: "垂直居中",
cls: "layout-bg1",
width: 300,
height: 30
}, {
type: "bi.label",
text: "Vertical Adapt上下自适应",
text: "垂直居中",
cls: "layout-bg2",
width: 300,
height: 30

3
demo/js/widget/basewidget/demo.items.js

@ -15,6 +15,9 @@ Demo.Items = BI.inherit(BI.Widget, {
}, {
type: "bi.single_select_item",
text: "单选项"
}, {
type: "bi.single_select_radio_item",
text: "单选项"
}, {
type: "bi.label",
height: 30,

4
demo/js/widget/date/demo.date.js → demo/js/widget/date/demo.multidate_combo.js

@ -16,7 +16,7 @@ Demo.Date = BI.inherit(BI.Widget, {
type: "bi.horizontal_auto",
vgap: 10,
items: [{
type: "bi.date_combo",
type: "bi.multidate_combo",
ref: function () {
self.datecombo = this;
},
@ -44,4 +44,4 @@ Demo.Date = BI.inherit(BI.Widget, {
}
})
BI.shortcut("demo.date", Demo.Date);
BI.shortcut("demo.multidate_combo", Demo.Date);

32
demo/js/widget/datetime/demo.datetime.js

@ -2,31 +2,27 @@
* Created by Urthur on 2017/7/18.
*/
Demo.CustomDateTime = BI.inherit(BI.Widget, {
props: {
},
props: {},
render: function () {
var self = this;
return {
type: "bi.absolute",
items: [{
el: {
type: "bi.custom_date_time_combo",
ref: function (_ref) {
self.customDateTime = _ref;
var value, date, dateStr;
self.customDateTime.on(BI.CustomDateTimeCombo.EVENT_CONFIRM, function () {
value = this.getValue();
date = new Date(value.year,value.month,value.day,value.hour,value.minute,value.second);
dateStr = date.print("%Y-%X-%d %H:%M:%S");
BI.Msg.alert("日期", dateStr);
});
self.customDateTime.on(BI.CustomDateTimeCombo.EVENT_CANCEL, function () {
value = this.getValue();
date = new Date(value.year,value.month,value.day,value.hour,value.minute,value.second);
dateStr = date.print("%Y-%X-%d %H:%M:%S");
type: "bi.date_time_combo",
listeners: [{
eventName: BI.DateTimeCombo.EVENT_CONFIRM,
action: function () {
var value = this.getValue();
var date = new Date(value.year, value.month, value.day, value.hour, value.minute, value.second);
var dateStr = date.print("%Y-%X-%d %H:%M:%S");
BI.Msg.alert("日期", dateStr);
});
}
}, {
eventName: BI.DateTimeCombo.EVENT_CANCEL,
action: function () {
}
}]
},
top: 200,
left: 200
@ -34,4 +30,4 @@ Demo.CustomDateTime = BI.inherit(BI.Widget, {
};
}
});
BI.shortcut("demo.custom_date_time", Demo.CustomDateTime);
BI.shortcut("demo.date_time", Demo.CustomDateTime);

27
demo/js/widget/dialog/demo.dialog.js

@ -1,27 +0,0 @@
Demo.DialogView = BI.inherit(BI.Widget, {
render: function () {
var items = [{
el: {
type: 'bi.button',
text: '弹出对话框',
level: 'common',
height: 30
}
}];
BI.each(items, function (i, item) {
item.el.handler = function () {
BI.Msg.alert('提示', "这是一段可以换行的文字,为了使它换行我要多写几个字,但是我又凑不够这么多的字,万般焦急下,只能随便写写");
}
});
return {
type: "bi.left",
vgap: 200,
hgap: 20,
items: items
}
}
});
BI.shortcut("demo.dialog", Demo.DialogView);

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

@ -17,7 +17,7 @@ Demo.Downlist = BI.inherit(BI.Widget, {
render: function () {
self = this;
var self = this;
return {
type: "bi.horizontal_adapt",
items: [{

40
demo/js/widget/table/demo.excel_table.js

@ -1,40 +0,0 @@
/**
* Created by Dailer on 2017/7/12.
*/
Demo.ExcelTable = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-exceltable"
},
render: function () {
return {
type: "bi.horizontal_auto",
items: [{
type: "bi.excel_table",
columnSize: [200,200,200,200,200],
items: [
[{
type: "bi.label",
cls: "layout-bg1",
text: "第一行第一列"
}, {
type: "bi.label",
cls: "layout-bg2",
text: "第一行第二列"
}],
[{
type: "bi.label",
cls: "layout-bg3",
text: "第二行第一列"
}, {
type: "bi.label",
cls: "layout-bg4",
text: "第二行第二列"
}]
]
}],
width:500
}
}
})
BI.shortcut("demo.excel_table", Demo.ExcelTable);

2
demo/version.js

@ -13,6 +13,8 @@ BI.i18n = {
"BI-Basic_Clears": "清空",
"BI-Basic_Cancel": "取消",
"BI-Basic_Time": "时间",
"BI-Basic_Total": "总",
"BI-Tiao_Data": "条数据",
"BI-Basic_Simple_Sunday": "日",
"BI-Basic_Simple_Monday": "一",
"BI-Basic_Simple_Tuesday": "二",

11
dist/bundle.css vendored

@ -3129,6 +3129,9 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-down-list-popup .list-group-item-text {
max-width: 203px;
}
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
@ -3172,19 +3175,19 @@ ul.ztree.zTreeDragUL {
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-multidate-popup .bi-multidate-popup-label {
.bi-multidate-popup .multidate-popup-label {
color: #3f8ce8;
font-size: 14px;
}
.bi-multidate-popup .bi-multidate-popup-item:active,
.bi-multidate-popup .bi-multidate-popup-item.active {
.bi-multidate-popup .multidate-popup-item:active,
.bi-multidate-popup .multidate-popup-item.active {
background-color: #3f8ce8;
color: #ffffff;
-webkit-border-radius: 2px 2px 0 0;
-moz-border-radius: 2px 2px 0 0;
border-radius: 2px 2px 0 0;
}
.bi-multidate-popup .bi-multidate-popup-button {
.bi-multidate-popup .multidate-popup-button {
color: #3f8ce8;
font-size: 14px;
}

347
dist/bundle.js vendored

@ -26085,7 +26085,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-horizontal-layout",
verticalAlign: BI.VerticalAlign.Middle,
verticalAlign: BI.VerticalAlign.Top,
columnSize: [],
scrollx: true,
hgap: 0,
@ -69421,6 +69421,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ColorChooserPopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-chooser-popup",
width: 200,
height: 145
})
},
@ -80652,7 +80653,7 @@ BI.DateCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-combo bi-border",
height: 30
height: 25
});
},
_init: function () {
@ -81152,6 +81153,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
_defaultConfig: function () {
return BI.extend(BI.DateTimeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: 'bi-date-time-combo bi-border',
width: 200,
height: 24
});
},
@ -81267,50 +81269,6 @@ BI.DateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.DateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW = "BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW";
BI.shortcut('bi.date_time_combo', BI.DateTimeCombo);
/**
* Created by Urthur on 2017/7/14.
*/
BI.CustomDateTimeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.CustomDateTimeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-custom-date-time-combo"
})
},
_init: function () {
BI.CustomDateTimeCombo.superclass._init.apply(this, arguments);
var self = this;
this.DateTime = BI.createWidget({
type: "bi.date_time_combo",
element: this
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CANCEL, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CANCEL);
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CONFIRM);
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CHANGE, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
});
},
getValue: function () {
return this.DateTime.getValue();
},
setValue: function (v) {
this.DateTime.setValue(v);
}
});
BI.CustomDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.CustomDateTimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.CustomDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.shortcut("bi.custom_date_time_combo", BI.CustomDateTimeCombo);
/**
* Created by Urthur on 2017/7/14.
*/
@ -81328,7 +81286,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
this.cancelButton = BI.createWidget({
type: 'bi.text_button',
forceCenter: true,
cls: 'bi-multidate-popup-button bi-border-top bi-border-right',
cls: 'multidate-popup-button bi-border-top bi-border-right',
shadow: true,
text: BI.i18nText("BI-Basic_Cancel")
});
@ -81339,7 +81297,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
this.okButton = BI.createWidget({
type: "bi.text_button",
forceCenter: true,
cls: 'bi-multidate-popup-button bi-border-top',
cls: 'multidate-popup-button bi-border-top',
shadow: true,
text: BI.i18nText("BI-Basic_OK")
});
@ -81357,7 +81315,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
});
this.dateSelect = BI.createWidget({
type: "bi.horizontal",
type: "bi.vertical_adapt",
cls: "bi-border-top",
items: [{
type: "bi.label",
@ -81369,11 +81327,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.hour = _ref;
self.hour.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}, {
type: "bi.label",
@ -81385,11 +81346,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.minute = _ref;
self.minute.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}, {
type: "bi.label",
@ -81401,11 +81365,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.second = _ref;
self.second.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}]
});
@ -82831,270 +82798,6 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, {
}
});
BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/**
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTableCell
* @extends BI.Widget
*/
BI.ExcelTableCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTableCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table-cell",
text: ""
});
},
_init: function () {
BI.ExcelTableCell.superclass._init.apply(this, arguments);
var self = this, o = this.options;
BI.createWidget({
type: "bi.label",
element: this,
textAlign: "left",
whiteSpace: "normal",
height: this.options.height,
text: this.options.text,
value: this.options.value
})
}
});
BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/**
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTableHeaderCell
* @extends BI.Widget
*/
BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTableHeaderCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table-header-cell bi-background",
text: ""
});
},
_init: function () {
BI.ExcelTableHeaderCell.superclass._init.apply(this, arguments);
var self = this, o = this.options;
BI.createWidget({
type: "bi.label",
element: this,
textAlign: BI.HorizontalAlign.Center,
whiteSpace: "normal",
height: this.options.height,
text: this.options.text,
value: this.options.value
})
}
});
BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/**
* Excel表格
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTable
* @extends BI.Widget
*/
BI.ExcelTable = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTable.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table",
el: {
type: "bi.responsive_table"
},
isNeedResize: false,
isResizeAdapt: true,
isNeedMerge: false,//是否需要合并单元格
mergeCols: [], //合并的单元格列号
mergeRule: function (row1, row2) { //合并规则, 默认相等时合并
return BI.isEqual(row1, row2);
},
columnSize: [],
headerRowSize: 37,
footerRowSize: 37,
rowSize: 37,
regionColumnSize: false,
items: [] //二维数组
});
},
_init: function () {
BI.ExcelTable.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var mergeCols = [];
BI.each(o.mergeCols, function (i, col) {
mergeCols.push(col + 1);
});
this.table = BI.createWidget(o.el, {
type: "bi.table_view",
element: this,
isNeedFreeze: false,
isNeedMerge: o.isNeedMerge,
mergeCols: mergeCols,
mergeRule: o.mergeRule,
columnSize: [""].concat(o.columnSize),
headerRowSize: 18,
rowSize: o.rowSize,
regionColumnSize: o.regionColumnSize || [82, ""]
});
if (BI.isNotEmptyArray(o.items)) {
this.populate(o.items);
}
BI.nextTick(function () {
self.setRegionColumnSize(o.regionColumnSize || [82, ""]);
});
},
resize: function () {
this.table.resize();
},
setColumnSize: function (columnSize) {
this.table.setColumnSize(columnSize);
},
getColumnSize: function () {
return this.table.getColumnSize();
},
getCalculateColumnSize: function () {
return this.table.getCalculateColumnSize();
},
setHeaderColumnSize: function (columnSize) {
this.table.setHeaderColumnSize(columnSize);
},
setRegionColumnSize: function (columnSize) {
this.table.setRegionColumnSize(columnSize);
},
getRegionColumnSize: function () {
return this.table.getRegionColumnSize();
},
getCalculateRegionColumnSize: function () {
return this.table.getCalculateRegionColumnSize();
},
getCalculateRegionRowSize: function () {
return this.table.getCalculateRegionRowSize();
},
getClientRegionColumnSize: function () {
return this.table.getClientRegionColumnSize();
},
getScrollRegionColumnSize: function () {
return this.table.getScrollRegionColumnSize();
},
getScrollRegionRowSize: function () {
return this.table.getScrollRegionRowSize();
},
hasVerticalScroll: function () {
return this.table.hasVerticalScroll();
},
setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop);
},
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
getVerticalScroll: function () {
return this.table.getVerticalScroll();
},
getLeftHorizontalScroll: function () {
return this.table.getLeftHorizontalScroll();
},
getRightHorizontalScroll: function () {
return this.table.getRightHorizontalScroll();
},
getColumns: function () {
return this.table.getColumns();
},
resizeHeader: function () {
this.table.resize();
this.table._resizeHeader && this.table._resizeHeader();
},
attr: function (key,value) {
var self = this;
if (BI.isObject(key)) {
BI.each(key, function (k, v) {
self.attr(k, v);
});
return;
}
BI.ExcelTable.superclass.attr.apply(this, arguments);
switch (key){
case "mergeCols":
var mCols = [];
BI.each(value, function (i, col) {
mCols.push(col + 1);
});
value=mCols;
break;
}
this.table.attr.apply(this.table, arguments);
},
populate: function (rows) {
var self = this;
var columnSize = this.getColumnSize();
var items = [];
var header = [{
type: "bi.excel_table_header_cell"
}];
if (BI.isNotNull(rows)) {
BI.each(columnSize, function (i, size) {
header.push({
type: "bi.excel_table_header_cell",
text: BI.int2Abc(i + 1)
});
});
BI.each(rows, function (i, row) {
items.push([{
type: "bi.excel_table_header_cell",
text: (i + 1)
}].concat(row));
});
}
this.table.populate(items, [header]);
},
destroy: function () {
this.table.destroy();
BI.ExcelTable.superclass.destroy.apply(this, arguments);
}
});
BI.shortcut('bi.excel_table', BI.ExcelTable);/**
* 文件管理控件组
*
* Created by GUY on 2015/12/11.

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

28
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/case.js vendored

@ -3748,6 +3748,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ColorChooserPopup.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-chooser-popup",
width: 200,
height: 145
})
},

2
dist/config.js vendored

@ -13,6 +13,8 @@ BI.i18n = {
"BI-Basic_Clears": "清空",
"BI-Basic_Cancel": "取消",
"BI-Basic_Time": "时间",
"BI-Basic_Total": "总",
"BI-Tiao_Data": "条数据",
"BI-Basic_Simple_Sunday": "日",
"BI-Basic_Simple_Monday": "一",
"BI-Basic_Simple_Tuesday": "二",

2
dist/core.js vendored

@ -26034,7 +26034,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, {
props: function () {
return BI.extend(BI.FlexHorizontalLayout.superclass.props.apply(this, arguments), {
baseCls: "bi-flex-horizontal-layout",
verticalAlign: BI.VerticalAlign.Middle,
verticalAlign: BI.VerticalAlign.Top,
columnSize: [],
scrollx: true,
hgap: 0,

7490
dist/demo.js vendored

File diff suppressed because one or more lines are too long

11
dist/widget.css vendored

@ -42,6 +42,9 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-down-list-popup .list-group-item-text {
max-width: 203px;
}
.bi-down-list-popup .bi-down-list-item .list-item-text {
max-width: 203px;
}
@ -85,19 +88,19 @@
-moz-border-radius: 2px;
border-radius: 2px;
}
.bi-multidate-popup .bi-multidate-popup-label {
.bi-multidate-popup .multidate-popup-label {
color: #3f8ce8;
font-size: 14px;
}
.bi-multidate-popup .bi-multidate-popup-item:active,
.bi-multidate-popup .bi-multidate-popup-item.active {
.bi-multidate-popup .multidate-popup-item:active,
.bi-multidate-popup .multidate-popup-item.active {
background-color: #3f8ce8;
color: #ffffff;
-webkit-border-radius: 2px 2px 0 0;
-moz-border-radius: 2px 2px 0 0;
border-radius: 2px 2px 0 0;
}
.bi-multidate-popup .bi-multidate-popup-button {
.bi-multidate-popup .multidate-popup-button {
color: #3f8ce8;
font-size: 14px;
}

344
dist/widget.js vendored

@ -2268,7 +2268,7 @@ BI.DateCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.DateCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-date-combo bi-border",
height: 30
height: 25
});
},
_init: function () {
@ -2768,6 +2768,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
_defaultConfig: function () {
return BI.extend(BI.DateTimeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: 'bi-date-time-combo bi-border',
width: 200,
height: 24
});
},
@ -2883,50 +2884,6 @@ BI.DateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.DateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW = "BI.DateTimeCombo.EVENT_BEFORE_POPUPVIEW";
BI.shortcut('bi.date_time_combo', BI.DateTimeCombo);
/**
* Created by Urthur on 2017/7/14.
*/
BI.CustomDateTimeCombo = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.CustomDateTimeCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-custom-date-time-combo"
})
},
_init: function () {
BI.CustomDateTimeCombo.superclass._init.apply(this, arguments);
var self = this;
this.DateTime = BI.createWidget({
type: "bi.date_time_combo",
element: this
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CANCEL, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CANCEL);
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CONFIRM);
});
this.DateTime.on(BI.DateTimeCombo.EVENT_CHANGE, function () {
self.fireEvent(BI.CustomDateTimeCombo.EVENT_CHANGE);
});
},
getValue: function () {
return this.DateTime.getValue();
},
setValue: function (v) {
this.DateTime.setValue(v);
}
});
BI.CustomDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.CustomDateTimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.CustomDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.shortcut("bi.custom_date_time_combo", BI.CustomDateTimeCombo);
/**
* Created by Urthur on 2017/7/14.
*/
@ -2944,7 +2901,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
this.cancelButton = BI.createWidget({
type: 'bi.text_button',
forceCenter: true,
cls: 'bi-multidate-popup-button bi-border-top bi-border-right',
cls: 'multidate-popup-button bi-border-top bi-border-right',
shadow: true,
text: BI.i18nText("BI-Basic_Cancel")
});
@ -2955,7 +2912,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
this.okButton = BI.createWidget({
type: "bi.text_button",
forceCenter: true,
cls: 'bi-multidate-popup-button bi-border-top',
cls: 'multidate-popup-button bi-border-top',
shadow: true,
text: BI.i18nText("BI-Basic_OK")
});
@ -2973,7 +2930,7 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
});
this.dateSelect = BI.createWidget({
type: "bi.horizontal",
type: "bi.vertical_adapt",
cls: "bi-border-top",
items: [{
type: "bi.label",
@ -2985,11 +2942,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.hour = _ref;
self.hour.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}, {
type: "bi.label",
@ -3001,11 +2961,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.minute = _ref;
self.minute.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}, {
type: "bi.label",
@ -3017,11 +2980,14 @@ BI.DateTimePopup = BI.inherit(BI.Widget, {
min: 0,
width: 60,
height: 30,
listeners: [{
eventName: BI.DateTimeSelect.EVENT_CONFIRM,
action: function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
}
}],
ref: function (_ref) {
self.second = _ref;
self.second.on(BI.DateTimeSelect.EVENT_CONFIRM, function () {
self.fireEvent(BI.DateTimePopup.CALENDAR_EVENT_CHANGE);
});
}
}]
});
@ -4447,270 +4413,6 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, {
}
});
BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/**
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTableCell
* @extends BI.Widget
*/
BI.ExcelTableCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTableCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table-cell",
text: ""
});
},
_init: function () {
BI.ExcelTableCell.superclass._init.apply(this, arguments);
var self = this, o = this.options;
BI.createWidget({
type: "bi.label",
element: this,
textAlign: "left",
whiteSpace: "normal",
height: this.options.height,
text: this.options.text,
value: this.options.value
})
}
});
BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/**
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTableHeaderCell
* @extends BI.Widget
*/
BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTableHeaderCell.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table-header-cell bi-background",
text: ""
});
},
_init: function () {
BI.ExcelTableHeaderCell.superclass._init.apply(this, arguments);
var self = this, o = this.options;
BI.createWidget({
type: "bi.label",
element: this,
textAlign: BI.HorizontalAlign.Center,
whiteSpace: "normal",
height: this.options.height,
text: this.options.text,
value: this.options.value
})
}
});
BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/**
* Excel表格
*
* Created by GUY on 2016/3/28.
* @class BI.ExcelTable
* @extends BI.Widget
*/
BI.ExcelTable = BI.inherit(BI.Widget, {
_defaultConfig: function () {
return BI.extend(BI.ExcelTable.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-excel-table",
el: {
type: "bi.responsive_table"
},
isNeedResize: false,
isResizeAdapt: true,
isNeedMerge: false,//是否需要合并单元格
mergeCols: [], //合并的单元格列号
mergeRule: function (row1, row2) { //合并规则, 默认相等时合并
return BI.isEqual(row1, row2);
},
columnSize: [],
headerRowSize: 37,
footerRowSize: 37,
rowSize: 37,
regionColumnSize: false,
items: [] //二维数组
});
},
_init: function () {
BI.ExcelTable.superclass._init.apply(this, arguments);
var self = this, o = this.options;
var mergeCols = [];
BI.each(o.mergeCols, function (i, col) {
mergeCols.push(col + 1);
});
this.table = BI.createWidget(o.el, {
type: "bi.table_view",
element: this,
isNeedFreeze: false,
isNeedMerge: o.isNeedMerge,
mergeCols: mergeCols,
mergeRule: o.mergeRule,
columnSize: [""].concat(o.columnSize),
headerRowSize: 18,
rowSize: o.rowSize,
regionColumnSize: o.regionColumnSize || [82, ""]
});
if (BI.isNotEmptyArray(o.items)) {
this.populate(o.items);
}
BI.nextTick(function () {
self.setRegionColumnSize(o.regionColumnSize || [82, ""]);
});
},
resize: function () {
this.table.resize();
},
setColumnSize: function (columnSize) {
this.table.setColumnSize(columnSize);
},
getColumnSize: function () {
return this.table.getColumnSize();
},
getCalculateColumnSize: function () {
return this.table.getCalculateColumnSize();
},
setHeaderColumnSize: function (columnSize) {
this.table.setHeaderColumnSize(columnSize);
},
setRegionColumnSize: function (columnSize) {
this.table.setRegionColumnSize(columnSize);
},
getRegionColumnSize: function () {
return this.table.getRegionColumnSize();
},
getCalculateRegionColumnSize: function () {
return this.table.getCalculateRegionColumnSize();
},
getCalculateRegionRowSize: function () {
return this.table.getCalculateRegionRowSize();
},
getClientRegionColumnSize: function () {
return this.table.getClientRegionColumnSize();
},
getScrollRegionColumnSize: function () {
return this.table.getScrollRegionColumnSize();
},
getScrollRegionRowSize: function () {
return this.table.getScrollRegionRowSize();
},
hasVerticalScroll: function () {
return this.table.hasVerticalScroll();
},
setVerticalScroll: function (scrollTop) {
this.table.setVerticalScroll(scrollTop);
},
setLeftHorizontalScroll: function (scrollLeft) {
this.table.setLeftHorizontalScroll(scrollLeft);
},
setRightHorizontalScroll: function (scrollLeft) {
this.table.setRightHorizontalScroll(scrollLeft);
},
getVerticalScroll: function () {
return this.table.getVerticalScroll();
},
getLeftHorizontalScroll: function () {
return this.table.getLeftHorizontalScroll();
},
getRightHorizontalScroll: function () {
return this.table.getRightHorizontalScroll();
},
getColumns: function () {
return this.table.getColumns();
},
resizeHeader: function () {
this.table.resize();
this.table._resizeHeader && this.table._resizeHeader();
},
attr: function (key,value) {
var self = this;
if (BI.isObject(key)) {
BI.each(key, function (k, v) {
self.attr(k, v);
});
return;
}
BI.ExcelTable.superclass.attr.apply(this, arguments);
switch (key){
case "mergeCols":
var mCols = [];
BI.each(value, function (i, col) {
mCols.push(col + 1);
});
value=mCols;
break;
}
this.table.attr.apply(this.table, arguments);
},
populate: function (rows) {
var self = this;
var columnSize = this.getColumnSize();
var items = [];
var header = [{
type: "bi.excel_table_header_cell"
}];
if (BI.isNotNull(rows)) {
BI.each(columnSize, function (i, size) {
header.push({
type: "bi.excel_table_header_cell",
text: BI.int2Abc(i + 1)
});
});
BI.each(rows, function (i, row) {
items.push([{
type: "bi.excel_table_header_cell",
text: (i + 1)
}].concat(row));
});
}
this.table.populate(items, [header]);
},
destroy: function () {
this.table.destroy();
BI.ExcelTable.superclass.destroy.apply(this, arguments);
}
});
BI.shortcut('bi.excel_table', BI.ExcelTable);/**
* 文件管理控件组
*
* Created by GUY on 2015/12/11.

3
docs/COURSE.md

@ -1,3 +0,0 @@
#### 高级开发教程
KMS: [http://www.finedevelop.com/pages/viewpage.action?pageId=15330077](http://www.finedevelop.com/pages/viewpage.action?pageId=15330077)

5
docs/README.md

@ -13,8 +13,3 @@ CodingPages: [http://fanruan.coding.me/fineui](http://fanruan.coding.me/fineui)
CodingPages: [http://fanruan.coding.me/fineui/dist/index.html](http://fanruan.coding.me/fineui/dist/index.html)
#### 代码设计文档
KMS: [http://www.finedevelop.com/display/DR/FineUI](http://www.finedevelop.com/display/DR/FineUI)

2
docs/START.md

@ -29,8 +29,6 @@
</body>
</html>
```
#### 源码集成配置
[http://www.finedevelop.com/pages/viewpage.action?pageId=16056735](http://www.finedevelop.com/pages/viewpage.action?pageId=16056735)
#### 源码集成Demo
BI的组件就是集成的fineui进行开发的

1
docs/SUMMARY.md

@ -3,7 +3,6 @@
## 总览
* [概览](README.md)
* [起步](START.md)
* [高级教程](COURSE.md)
## 通用规范
* [通用规范](OVERVIEW.md)

2699
docs/_book/COURSE.html

File diff suppressed because it is too large Load Diff

17
docs/_book/OVERVIEW.html

@ -70,7 +70,7 @@
<link rel="prev" href="COURSE.html" />
<link rel="prev" href="START.html" />
</head>
@ -125,19 +125,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="COURSE.html">
<a href="COURSE.html">
高级教程
</a>
</li>
@ -2647,7 +2634,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"通用规范","level":"2.1","depth":1,"next":{"title":"布局","level":"3.1","depth":1,"ref":"","articles":[{"title":"vertical","level":"3.1.1","depth":2,"path":"core/layout/vertical.md","ref":"core/layout/vertical.md","articles":[]},{"title":"horizontal","level":"3.1.2","depth":2,"path":"core/layout/horizontal.md","ref":"core/layout/horizontal.md","articles":[]},{"title":"htape","level":"3.1.3","depth":2,"path":"core/layout/htape.md","ref":"core/layout/htape.md","articles":[]},{"title":"vtape","level":"3.1.4","depth":2,"path":"core/layout/vtape.md","ref":"core/layout/vtape.md","articles":[]},{"title":"center_adapt","level":"3.1.5","depth":2,"path":"core/layout/center_adapt.md","ref":"core/layout/center_adapt.md","articles":[]},{"title":"vertical_adapt","level":"3.1.6","depth":2,"path":"core/layout/vertical_adapt.md","ref":"core/layout/vertical_adapt.md","articles":[]},{"title":"left_right_vertical_adapt","level":"3.1.7","depth":2,"path":"core/layout/left_right_vertical_adapt.md","ref":"core/layout/left_right_vertical_adapt.md","articles":[]},{"title":"flow","level":"3.1.8","depth":2,"path":"core/layout/flow.md","ref":"core/layout/flow.md","articles":[]},{"title":"center","level":"3.1.9","depth":2,"path":"core/layout/center.md","ref":"core/layout/center.md","articles":[]},{"title":"horizontal_adapt","level":"3.1.10","depth":2,"path":"core/layout/horizontal_adapt.md","ref":"core/layout/horizontal_adapt.md","articles":[]},{"title":"horizontal_auto","level":"3.1.11","depth":2,"path":"core/layout/horizontal_auto.md","ref":"core/layout/horizontal_auto.md","articles":[]},{"title":"horizontal_float","level":"3.1.12","depth":2,"path":"core/layout/horizontal_float.md","ref":"core/layout/horizontal_float.md","articles":[]},{"title":"float_center","level":"3.1.13","depth":2,"path":"core/layout/float_center.md","ref":"core/layout/float_center.md","articles":[]},{"title":"border","level":"3.1.14","depth":2,"path":"core/layout/border.md","ref":"core/layout/border.md","articles":[]},{"title":"grid","level":"3.1.15","depth":2,"path":"core/layout/grid.md","ref":"core/layout/grid.md","articles":[]},{"title":"table","level":"3.1.16","depth":2,"path":"core/layout/table.md","ref":"core/layout/table.md","articles":[]},{"title":"td","level":"3.1.17","depth":2,"path":"core/layout/td.md","ref":"core/layout/td.md","articles":[]}]},"previous":{"title":"高级教程","level":"1.3","depth":1,"path":"COURSE.md","ref":"COURSE.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"OVERVIEW.md","mtime":"2017-09-17T09:30:18.175Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"通用规范","level":"2.1","depth":1,"next":{"title":"布局","level":"3.1","depth":1,"ref":"","articles":[{"title":"vertical","level":"3.1.1","depth":2,"path":"core/layout/vertical.md","ref":"core/layout/vertical.md","articles":[]},{"title":"horizontal","level":"3.1.2","depth":2,"path":"core/layout/horizontal.md","ref":"core/layout/horizontal.md","articles":[]},{"title":"htape","level":"3.1.3","depth":2,"path":"core/layout/htape.md","ref":"core/layout/htape.md","articles":[]},{"title":"vtape","level":"3.1.4","depth":2,"path":"core/layout/vtape.md","ref":"core/layout/vtape.md","articles":[]},{"title":"center_adapt","level":"3.1.5","depth":2,"path":"core/layout/center_adapt.md","ref":"core/layout/center_adapt.md","articles":[]},{"title":"vertical_adapt","level":"3.1.6","depth":2,"path":"core/layout/vertical_adapt.md","ref":"core/layout/vertical_adapt.md","articles":[]},{"title":"left_right_vertical_adapt","level":"3.1.7","depth":2,"path":"core/layout/left_right_vertical_adapt.md","ref":"core/layout/left_right_vertical_adapt.md","articles":[]},{"title":"flow","level":"3.1.8","depth":2,"path":"core/layout/flow.md","ref":"core/layout/flow.md","articles":[]},{"title":"center","level":"3.1.9","depth":2,"path":"core/layout/center.md","ref":"core/layout/center.md","articles":[]},{"title":"horizontal_adapt","level":"3.1.10","depth":2,"path":"core/layout/horizontal_adapt.md","ref":"core/layout/horizontal_adapt.md","articles":[]},{"title":"horizontal_auto","level":"3.1.11","depth":2,"path":"core/layout/horizontal_auto.md","ref":"core/layout/horizontal_auto.md","articles":[]},{"title":"horizontal_float","level":"3.1.12","depth":2,"path":"core/layout/horizontal_float.md","ref":"core/layout/horizontal_float.md","articles":[]},{"title":"float_center","level":"3.1.13","depth":2,"path":"core/layout/float_center.md","ref":"core/layout/float_center.md","articles":[]},{"title":"border","level":"3.1.14","depth":2,"path":"core/layout/border.md","ref":"core/layout/border.md","articles":[]},{"title":"grid","level":"3.1.15","depth":2,"path":"core/layout/grid.md","ref":"core/layout/grid.md","articles":[]},{"title":"table","level":"3.1.16","depth":2,"path":"core/layout/table.md","ref":"core/layout/table.md","articles":[]},{"title":"td","level":"3.1.17","depth":2,"path":"core/layout/td.md","ref":"core/layout/td.md","articles":[]}]},"previous":{"title":"起步","level":"1.2","depth":1,"path":"START.md","ref":"START.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"OVERVIEW.md","mtime":"2017-09-17T09:30:18.175Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>

19
docs/_book/START.html

@ -69,7 +69,7 @@
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="COURSE.html" />
<link rel="next" href="OVERVIEW.html" />
<link rel="prev" href="./" />
@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="COURSE.html">
<a href="COURSE.html">
高级教程
</a>
</li>
@ -2637,8 +2624,6 @@
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<h4 id="&#x6E90;&#x7801;&#x96C6;&#x6210;&#x914D;&#x7F6E;">&#x6E90;&#x7801;&#x96C6;&#x6210;&#x914D;&#x7F6E;</h4>
<p><a href="http://www.finedevelop.com/pages/viewpage.action?pageId=16056735" target="_blank">http://www.finedevelop.com/pages/viewpage.action?pageId=16056735</a></p>
<h4 id="&#x6E90;&#x7801;&#x96C6;&#x6210;demo">&#x6E90;&#x7801;&#x96C6;&#x6210;Demo</h4>
<p>BI&#x7684;&#x7EC4;&#x4EF6;&#x5C31;&#x662F;&#x96C6;&#x6210;&#x7684;fineui&#x8FDB;&#x884C;&#x5F00;&#x53D1;&#x7684;
<a href="https://coding.net/u/fanruan/p/bi-components/" target="_blank">https://coding.net/u/fanruan/p/bi-components/</a></p>
@ -2675,7 +2660,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"起步","level":"1.2","depth":1,"next":{"title":"高级教程","level":"1.3","depth":1,"path":"COURSE.md","ref":"COURSE.md","articles":[]},"previous":{"title":"概览","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"START.md","mtime":"2017-09-21T02:42:54.202Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"起步","level":"1.2","depth":1,"next":{"title":"通用规范","level":"2.1","depth":1,"path":"OVERVIEW.md","ref":"OVERVIEW.md","articles":[]},"previous":{"title":"概览","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"START.md","mtime":"2017-09-26T06:42:10.863Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/bubble.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../COURSE.html">
<a href="../COURSE.html">
高级教程
</a>
</li>
@ -2710,7 +2697,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"bubble","level":"4.2","depth":1,"next":{"title":"toast","level":"4.3","depth":1,"path":"base/toast.md","ref":"base/toast.md","articles":[]},"previous":{"title":"label","level":"4.1","depth":1,"path":"base/label.md","ref":"base/label.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/bubble.md","mtime":"2017-09-17T09:27:52.390Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"bubble","level":"4.2","depth":1,"next":{"title":"toast","level":"4.3","depth":1,"path":"base/toast.md","ref":"base/toast.md","articles":[]},"previous":{"title":"label","level":"4.1","depth":1,"path":"base/label.md","ref":"base/label.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/bubble.md","mtime":"2017-09-17T09:27:52.390Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/button/button.html

@ -125,19 +125,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2883,7 +2870,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"button","level":"4.5.1","depth":2,"next":{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},"previous":{"title":"按钮","level":"4.5","depth":1,"ref":"","articles":[{"title":"button","level":"4.5.1","depth":2,"path":"base/button/button.md","ref":"base/button/button.md","articles":[]},{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},{"title":"image_button","level":"4.5.4","depth":2,"path":"base/button/image_button.md","ref":"base/button/image_button.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/button.md","mtime":"2017-09-18T08:48:32.862Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"button","level":"4.5.1","depth":2,"next":{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},"previous":{"title":"按钮","level":"4.5","depth":1,"ref":"","articles":[{"title":"button","level":"4.5.1","depth":2,"path":"base/button/button.md","ref":"base/button/button.md","articles":[]},{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},{"title":"image_button","level":"4.5.4","depth":2,"path":"base/button/image_button.md","ref":"base/button/image_button.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/button.md","mtime":"2017-09-18T08:48:32.862Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/button/icon_button.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2702,7 +2689,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"icon_button","level":"4.5.3","depth":2,"next":{"title":"image_button","level":"4.5.4","depth":2,"path":"base/button/image_button.md","ref":"base/button/image_button.md","articles":[]},"previous":{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/icon_button.md","mtime":"2017-09-17T09:27:52.404Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"icon_button","level":"4.5.3","depth":2,"next":{"title":"image_button","level":"4.5.4","depth":2,"path":"base/button/image_button.md","ref":"base/button/image_button.md","articles":[]},"previous":{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/icon_button.md","mtime":"2017-09-17T09:27:52.404Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/button/image_button.html

@ -125,19 +125,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2747,7 +2734,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"image_button","level":"4.5.4","depth":2,"next":{"title":"编辑框","level":"4.6","depth":1,"ref":"","articles":[{"title":"editor","level":"4.6.1","depth":2,"path":"base/editor/editor.md","ref":"base/editor/editor.md","articles":[]},{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},{"title":"rich_editor","level":"4.6.6","depth":2,"path":"base/editor/rich_editor.md","ref":"base/editor/rich_editor.md","articles":[]}]},"previous":{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/image_button.md","mtime":"2017-09-17T09:27:52.413Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"image_button","level":"4.5.4","depth":2,"next":{"title":"编辑框","level":"4.6","depth":1,"ref":"","articles":[{"title":"editor","level":"4.6.1","depth":2,"path":"base/editor/editor.md","ref":"base/editor/editor.md","articles":[]},{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},{"title":"rich_editor","level":"4.6.6","depth":2,"path":"base/editor/rich_editor.md","ref":"base/editor/rich_editor.md","articles":[]}]},"previous":{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/image_button.md","mtime":"2017-09-17T09:27:52.413Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/button/text_button.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2806,7 +2793,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"text_button","level":"4.5.2","depth":2,"next":{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},"previous":{"title":"button","level":"4.5.1","depth":2,"path":"base/button/button.md","ref":"base/button/button.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/text_button.md","mtime":"2017-09-17T09:27:52.419Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"text_button","level":"4.5.2","depth":2,"next":{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},"previous":{"title":"button","level":"4.5.1","depth":2,"path":"base/button/button.md","ref":"base/button/button.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/button/text_button.md","mtime":"2017-09-17T09:27:52.419Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/canvas.html

@ -125,19 +125,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../COURSE.html">
<a href="../COURSE.html">
高级教程
</a>
</li>
@ -2709,7 +2696,7 @@ canvas.stroke();
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"canvas","level":"4.10","depth":1,"next":{"title":"按钮","level":"5.1","depth":1,"ref":"","articles":[{"title":"multi_select_item","level":"5.1.1","depth":2,"path":"case/button/multi_select_item.md","ref":"case/button/multi_select_item.md","articles":[]},{"title":"single_select_item","level":"5.1.2","depth":2,"path":"case/button/single_select_item.md","ref":"case/button/single_select_item.md","articles":[]},{"title":"single_select_radio_item","level":"5.1.3","depth":2,"path":"case/button/single_select_radio_item.md","ref":"case/button/single_select_radio_item.md","articles":[]}]},"previous":{"title":"svg","level":"4.9","depth":1,"path":"base/svg.md","ref":"base/svg.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/canvas.md","mtime":"2017-09-17T09:27:52.426Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"canvas","level":"4.10","depth":1,"next":{"title":"按钮","level":"5.1","depth":1,"ref":"","articles":[{"title":"multi_select_item","level":"5.1.1","depth":2,"path":"case/button/multi_select_item.md","ref":"case/button/multi_select_item.md","articles":[]},{"title":"single_select_item","level":"5.1.2","depth":2,"path":"case/button/single_select_item.md","ref":"case/button/single_select_item.md","articles":[]},{"title":"single_select_radio_item","level":"5.1.3","depth":2,"path":"case/button/single_select_radio_item.md","ref":"case/button/single_select_radio_item.md","articles":[]}]},"previous":{"title":"svg","level":"4.9","depth":1,"path":"base/svg.md","ref":"base/svg.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/canvas.md","mtime":"2017-09-17T09:27:52.426Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/editor/code_editor.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2763,7 +2750,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"code_editor","level":"4.6.2","depth":2,"next":{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},"previous":{"title":"editor","level":"4.6.1","depth":2,"path":"base/editor/editor.md","ref":"base/editor/editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/code_editor.md","mtime":"2017-09-17T09:27:52.434Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"code_editor","level":"4.6.2","depth":2,"next":{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},"previous":{"title":"editor","level":"4.6.1","depth":2,"path":"base/editor/editor.md","ref":"base/editor/editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/code_editor.md","mtime":"2017-09-17T09:27:52.434Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/editor/editor.html

@ -125,19 +125,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2937,7 +2924,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"editor","level":"4.6.1","depth":2,"next":{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},"previous":{"title":"编辑框","level":"4.6","depth":1,"ref":"","articles":[{"title":"editor","level":"4.6.1","depth":2,"path":"base/editor/editor.md","ref":"base/editor/editor.md","articles":[]},{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},{"title":"rich_editor","level":"4.6.6","depth":2,"path":"base/editor/rich_editor.md","ref":"base/editor/rich_editor.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/editor.md","mtime":"2017-09-17T09:27:52.441Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"editor","level":"4.6.1","depth":2,"next":{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},"previous":{"title":"编辑框","level":"4.6","depth":1,"ref":"","articles":[{"title":"editor","level":"4.6.1","depth":2,"path":"base/editor/editor.md","ref":"base/editor/editor.md","articles":[]},{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},{"title":"rich_editor","level":"4.6.6","depth":2,"path":"base/editor/rich_editor.md","ref":"base/editor/rich_editor.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/editor.md","mtime":"2017-09-17T09:27:52.441Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/editor/formula_editor.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2790,7 +2777,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"formula_editor","level":"4.6.5","depth":2,"next":{"title":"rich_editor","level":"4.6.6","depth":2,"path":"base/editor/rich_editor.md","ref":"base/editor/rich_editor.md","articles":[]},"previous":{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/formula_editor.md","mtime":"2017-09-17T09:27:52.447Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"formula_editor","level":"4.6.5","depth":2,"next":{"title":"rich_editor","level":"4.6.6","depth":2,"path":"base/editor/rich_editor.md","ref":"base/editor/rich_editor.md","articles":[]},"previous":{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/formula_editor.md","mtime":"2017-09-17T09:27:52.447Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/editor/multifile_editor.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2753,7 +2740,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"multifile_editor","level":"4.6.3","depth":2,"next":{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},"previous":{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/multifile_editor.md","mtime":"2017-09-20T08:46:14.901Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"multifile_editor","level":"4.6.3","depth":2,"next":{"title":"textarea_editor","level":"4.6.4","depth":2,"path":"base/editor/textarea_editor.md","ref":"base/editor/textarea_editor.md","articles":[]},"previous":{"title":"code_editor","level":"4.6.2","depth":2,"path":"base/editor/code_editor.md","ref":"base/editor/code_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/multifile_editor.md","mtime":"2017-09-20T08:46:14.901Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/editor/rich_editor.html

@ -125,19 +125,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2641,7 +2628,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"rich_editor","level":"4.6.6","depth":2,"next":{"title":"表格","level":"4.7","depth":1,"ref":"","articles":[{"title":"table_view","level":"4.7.1","depth":2,"path":"base/table/table_view.md","ref":"base/table/table_view.md","articles":[]},{"title":"grid_table","level":"4.7.2","depth":2,"path":"base/table/grid_table.md","ref":"base/table/grid_table.md","articles":[]},{"title":"collection_table","level":"4.7.3","depth":2,"path":"base/table/collection_table.md","ref":"base/table/collection_table.md","articles":[]},{"title":"resizable_table","level":"4.7.4","depth":2,"path":"base/table/resizable_table.md","ref":"base/table/resizable_table.md","articles":[]}]},"previous":{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/rich_editor.md","mtime":"2017-09-25T02:07:50.174Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"rich_editor","level":"4.6.6","depth":2,"next":{"title":"表格","level":"4.7","depth":1,"ref":"","articles":[{"title":"table_view","level":"4.7.1","depth":2,"path":"base/table/table_view.md","ref":"base/table/table_view.md","articles":[]},{"title":"grid_table","level":"4.7.2","depth":2,"path":"base/table/grid_table.md","ref":"base/table/grid_table.md","articles":[]},{"title":"collection_table","level":"4.7.3","depth":2,"path":"base/table/collection_table.md","ref":"base/table/collection_table.md","articles":[]},{"title":"resizable_table","level":"4.7.4","depth":2,"path":"base/table/resizable_table.md","ref":"base/table/resizable_table.md","articles":[]}]},"previous":{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/rich_editor.md","mtime":"2017-09-25T02:07:50.174Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/editor/textarea_editor.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../../COURSE.html">
<a href="../../COURSE.html">
高级教程
</a>
</li>
@ -2719,7 +2706,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"textarea_editor","level":"4.6.4","depth":2,"next":{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},"previous":{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/textarea_editor.md","mtime":"2017-09-17T09:27:52.458Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"textarea_editor","level":"4.6.4","depth":2,"next":{"title":"formula_editor","level":"4.6.5","depth":2,"path":"base/editor/formula_editor.md","ref":"base/editor/formula_editor.md","articles":[]},"previous":{"title":"multifile_editor","level":"4.6.3","depth":2,"path":"base/editor/multifile_editor.md","ref":"base/editor/multifile_editor.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/editor/textarea_editor.md","mtime":"2017-09-17T09:27:52.458Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/label.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../COURSE.html">
<a href="../COURSE.html">
高级教程
</a>
</li>
@ -2857,7 +2844,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"label","level":"4.1","depth":1,"next":{"title":"bubble","level":"4.2","depth":1,"path":"base/bubble.md","ref":"base/bubble.md","articles":[]},"previous":{"title":"pane","level":"3.9","depth":1,"path":"core/pane.md","ref":"core/pane.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/label.md","mtime":"2017-09-18T08:20:29.622Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"label","level":"4.1","depth":1,"next":{"title":"bubble","level":"4.2","depth":1,"path":"base/bubble.md","ref":"base/bubble.md","articles":[]},"previous":{"title":"pane","level":"3.9","depth":1,"path":"core/pane.md","ref":"core/pane.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/label.md","mtime":"2017-09-18T08:20:29.622Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/message.html

@ -125,19 +125,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../COURSE.html">
<a href="../COURSE.html">
高级教程
</a>
</li>
@ -2692,7 +2679,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"message","level":"4.4","depth":1,"next":{"title":"按钮","level":"4.5","depth":1,"ref":"","articles":[{"title":"button","level":"4.5.1","depth":2,"path":"base/button/button.md","ref":"base/button/button.md","articles":[]},{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},{"title":"image_button","level":"4.5.4","depth":2,"path":"base/button/image_button.md","ref":"base/button/image_button.md","articles":[]}]},"previous":{"title":"toast","level":"4.3","depth":1,"path":"base/toast.md","ref":"base/toast.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/message.md","mtime":"2017-09-17T09:27:52.468Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"message","level":"4.4","depth":1,"next":{"title":"按钮","level":"4.5","depth":1,"ref":"","articles":[{"title":"button","level":"4.5.1","depth":2,"path":"base/button/button.md","ref":"base/button/button.md","articles":[]},{"title":"text_button","level":"4.5.2","depth":2,"path":"base/button/text_button.md","ref":"base/button/text_button.md","articles":[]},{"title":"icon_button","level":"4.5.3","depth":2,"path":"base/button/icon_button.md","ref":"base/button/icon_button.md","articles":[]},{"title":"image_button","level":"4.5.4","depth":2,"path":"base/button/image_button.md","ref":"base/button/image_button.md","articles":[]}]},"previous":{"title":"toast","level":"4.3","depth":1,"path":"base/toast.md","ref":"base/toast.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/message.md","mtime":"2017-09-17T09:27:52.468Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/pager.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../COURSE.html">
<a href="../COURSE.html">
高级教程
</a>
</li>
@ -2846,7 +2833,7 @@ BI.createWidget({
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"pager","level":"4.8","depth":1,"next":{"title":"svg","level":"4.9","depth":1,"path":"base/svg.md","ref":"base/svg.md","articles":[]},"previous":{"title":"resizable_table","level":"4.7.4","depth":2,"path":"base/table/resizable_table.md","ref":"base/table/resizable_table.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/pager.md","mtime":"2017-09-20T09:24:06.996Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"pager","level":"4.8","depth":1,"next":{"title":"svg","level":"4.9","depth":1,"path":"base/svg.md","ref":"base/svg.md","articles":[]},"previous":{"title":"resizable_table","level":"4.7.4","depth":2,"path":"base/table/resizable_table.md","ref":"base/table/resizable_table.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/pager.md","mtime":"2017-09-20T09:24:06.996Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>

15
docs/_book/base/svg.html

@ -127,19 +127,6 @@
</li>
<li class="chapter " data-level="1.3" data-path="../COURSE.html">
<a href="../COURSE.html">
高级教程
</a>
</li>
@ -2766,7 +2753,7 @@ svg.path(<span class="hljs-string">&quot;M10,10L50,50M50,10L10,50&quot;</span>)
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"svg","level":"4.9","depth":1,"next":{"title":"canvas","level":"4.10","depth":1,"path":"base/canvas.md","ref":"base/canvas.md","articles":[]},"previous":{"title":"pager","level":"4.8","depth":1,"path":"base/pager.md","ref":"base/pager.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/svg.md","mtime":"2017-09-17T09:27:52.481Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-25T06:37:05.692Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"svg","level":"4.9","depth":1,"next":{"title":"canvas","level":"4.10","depth":1,"path":"base/canvas.md","ref":"base/canvas.md","articles":[]},"previous":{"title":"pager","level":"4.8","depth":1,"path":"base/pager.md","ref":"base/pager.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["jsfiddle","splitter","theme-api","expandable-chapters"],"pluginsConfig":{"jsfiddle":{"type":"script","tabs":["result","js","html"],"height":"100","width":"500","fontColor":"00FF00"},"splitter":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"theme-api":{"languages":[],"split":true,"theme":"light"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"base/svg.md","mtime":"2017-09-17T09:27:52.481Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-26T06:42:55.216Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save