diff --git a/docs/.gitignore b/docs/.gitignore
index 680a9dfb35..db96e36249 100644
--- a/docs/.gitignore
+++ b/docs/.gitignore
@@ -10,5 +10,5 @@ dist
archive
archive.zip
*.log
-#_book
+_book
test
\ No newline at end of file
diff --git a/docs/_book/OVERVIEW.html b/docs/OVERVIEW.html
similarity index 100%
rename from docs/_book/OVERVIEW.html
rename to docs/OVERVIEW.html
diff --git a/docs/OVERVIEW.md b/docs/OVERVIEW.md
deleted file mode 100644
index 4dd2d34d84..0000000000
--- a/docs/OVERVIEW.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# 通用规范
-1. 控件都会提供setValue, getValue, populate这几个方法来设置值,获取值(展示类控件除外)和刷新控件
-2. 控件都会提供setEnable, setVisible, setValid这几个方法来设置使能,是否可见,是否有效状态,并且在fineui2.0之后,会自动给子组件设置同样的状态,不要重写这些方法,一些需要在设置状态时的额外操作可以通过重写_setXXX来实现
-3. 使用populate来清空或者重置布局,不要使用empty, 慎用resize
-4. 谨慎监听和触发BI.Controller.EVENT_CHANGE事件,一般来说,控件都会有一个BI.ClassName.EVENT_CHANGE事件,一些特殊的事件会在对应控件文档中列出
\ No newline at end of file
diff --git a/docs/README.md b/docs/README.md
deleted file mode 100644
index c39fd092d6..0000000000
--- a/docs/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# FineUIdocs
-FineUI文档
-
-
-## 文档地址
-
-GithubPages: [https://fanruan.github.io/fineui](https://fanruan.github.io/fineui)
-
-CodingPages: [http://fanruan.coding.me/fineui](http://fanruan.coding.me/fineui)
-
-
-## Demo
-
-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)
-
diff --git a/docs/_book/START.html b/docs/START.html
similarity index 100%
rename from docs/_book/START.html
rename to docs/START.html
diff --git a/docs/START.md b/docs/START.md
deleted file mode 100644
index 49a09c4016..0000000000
--- a/docs/START.md
+++ /dev/null
@@ -1,3 +0,0 @@
-## 开发教程
-
-KMS: [http://www.finedevelop.com/pages/viewpage.action?pageId=15330077](http://www.finedevelop.com/pages/viewpage.action?pageId=15330077)
diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md
deleted file mode 100644
index daa6818a29..0000000000
--- a/docs/SUMMARY.md
+++ /dev/null
@@ -1,176 +0,0 @@
-# Summary
-
-## 总览
-* [概览](README.md)
-* [起步](START.md)
-
-## 通用规范
-* [通用规范](OVERVIEW.md)
-
-## 核心控件
-* 布局
- * [vertical](core/layout/vertical.md)
- * [horizontal](core/layout/horizontal.md)
- * [htape](core/layout/htape.md)
- * [vtape](core/layout/vtape.md)
- * [center_adapt](core/layout/center_adapt.md)
- * [vertical_adapt](core/layout/vertical_adapt.md)
- * [left_right_vertical_adapt](core/layout/left_right_vertical_adapt.md)
- * [flow](core/layout/flow.md)
- * [center](core/layout/center.md)
- * [horizontal_adapt](core/layout/horizontal_adapt.md)
- * [horizontal_auto](core/layout/horizontal_auto.md)
- * [horizontal_float](core/layout/horizontal_float.md)
- * [float_center](core/layout/float_center.md)
- * [border](core/layout/border.md)
- * [grid](core/layout/grid.md)
- * [table](core/layout/table.md)
- * [td](core/layout/td.md)
-* 抽象控件
- * [button_group](core/abstract/button_group.md)
- * [button_tree](core/abstract/button_tree.md)
- * [virtual_group](core/abstract/virtual_group.md)
- * [custom_tree](core/abstract/custom_tree.md)
- * [grid_view](core/abstract/grid_view.md)
- * [collection_view](core/abstract/collection_view.md)
- * [virtual_list](core/abstract/virtual_list.md)
-* 组合控件
- * [combo](core/combination/bi.combo.md)
- * [expander](core/combination/bi.expander.md)
- * [group_combo](core/combination/group_combo.md)
- * [loader](core/combination/loader.md)
- * [navigation](core/combination/navigation.md)
- * [searcher](core/combination/searcher.md)
- * [switcher](core/combination/switcher.md)
- * [tab](core/combination/tab.md)
-* 弹出层
- * [float_box](core/layer/layer_float_box.md)
- * [popup](core/layer/layer_popup.md)
- * [searcher](core/layer/layer_searcher.md)
-* [widget](core/widget.md)
-* [single](core/single.md)
-* [basic_button](core/basic_button.md)
-* [node_button](core/node_button.md)
-* [pane](core/pane.md)
-
-## 基础控件
-* [label](base/label.md)
-* [bubble](base/bubble.md)
-* [toast](base/toast.md)
-* [message](base/message.md)
-* 按钮
- * [button](base/button/button.md)
- * [text_button](base/button/text_button.md)
- * [icon_button](base/button/icon_button.md)
- * [image_button](base/button/image_button.md)
-* 编辑框
- * [editor](base/editor/editor.md)
- * [code_editor](base/editor/code_editor.md)
- * [multifile_editor](base/editor/multifile_editor.md)
- * [textarea_editor](base/editor/textarea_editor.md)
- * [formula_editor](base/editor/formula_editor.md)
-* 表格
- * [table_view](base/table/table_view.md)
- * [grid_table](base/table/grid_table.md)
- * [collection_table](base/table/collection_table.md)
- * [resizable_table](base/table/resizable_table.md)
-* [pager](base/pager.md)
-* [svg](base/svg.md)
-* [canvas](base/canvas.md)
-
-## 实例控件
-* 按钮
- * [multi_select_item](case/button/multi_select_item.md)
- * [single_select_item](case/button/single_select_item.md)
- * [single_select_radio_item](case/button/single_select_radio_item.md)
-* 编辑框
- * [shelter_editor](case/editor/shelter_editor.md)
- * [sign_editor](case/editor/sign_editor.md)
- * [sign_initial_editor](case/editor/sign_initial_editor.md)
- * [state_editor](case/editor/state_editor.md)
-* 弹出层
- * [multi_popup_layer](case/layer/multi_popup_layer.md)
- * [layer_panel](case/layer/layer_panel.md)
- * [pane_list](case/layer/pane_list.md)
- * [panel](case/layer/panel.md)
-* 列表
- * [select_list](case/list/list.select.md)
- * [lazy_loader](case/loader/lazy_loader.md)
- * [list_loader](case/loader/list_loader.md)
- * [sort_list](case/loader/sort_list.md)
-* 触发器
- * [editor_trigger](case/trigger/editor_trigger.md)
- * [icon_trigger](case/trigger/icon_trigger.md)
- * [text_trigger](case/trigger/text_trigger.md)
-* 下拉框
- * [bubble_combo](case/combo/bubble_combo.md)
- * [icon_combo](case/combo/icon_combo.md)
- * [static_combo](case/combo/static_combo.md)
- * [text_value_combo](case/combo/text_value_combo.md)
- * [text_value_downlist_combo](case/combo/text_value_downlist_combo.md)
-* 树
- * [branch_tree](case/tree/branch_tree.md)
- * [handstand_branch_tree](case/tree/handstand_branch_tree.md)
- * [display_tree](case/tree/display_tree.md)
- * [simple_tree](case/tree/simple_tree.md)
- * [level_tree](case/tree/level_tree.md)
- * [branch_relation](case/tree/branch_relation.md)
-* 表格
- * [adaptive_table](case/table/adaptive_table.md)
- * [tree_table](case/table/tree_table.md)
- * [layer_tree_table](case/table/layer_tree_table.md)
-* Pager
- * [all_count_pager](case/pager/all_count_pager.md)
- * [direction_pager](case/pager/direction_pager.md)
-* [calendar](case/calendar.md)
-* [clipboard](case/clipboard.md)
-* [complex_canvas](case/complex_canvas.md)
-* [color_chooser](case/color_chooser.md)
-* [color_chooser_popup](case/color_chooser_popup.md)
-* [segment](case/segment.md)
-
-## 详细控件
-* 各种小组件
- * [通用按钮](detailed/bi.button/general.md)
- * [提示性信息](detailed/bi.button/tooltip.md)
- * [各种items](detailed/bi.button/items.md)
- * [各种节点nodes](detailed/bi.button/node.md)
- * [各种segment](detailed/bi.button/segment.md)
-* 树形结构
- * [multi_tree_combo](detailed/tree/bi.multi_tree_combo.md)
- * [switch_tree](detailed/tree/bi.switch_tree.md)
-* 表格
- * [preview_table](detailed/table/bi.preview_table.md)
- * [responsive_table](detailed/table/bi.responsive_table.md)
- * [excel_table](detailed/table/bi.excel_table.md)
- * [page_table](detailed/table/bi.page_table.md)
-* 文本框控件
- * [bi.text_editor](detailed/text_input/bi.text_editor.md)
- * [bi.search_editor](detailed/text_input/bi.search_editor.md)
- * [bi.clear_editor](detailed/text_input/bi.clear_editor.md)
- * [finetuning_number_editor](detailed/text_input/finetuning_number_editor.md)
-* [year_combo](detailed/year_combo.md)
-* [month_combo](detailed/month_combo.md)
-* [quarter_combo](detailed/quarter_combo.md)
-* [down_list_combo](detailed/down_list_combo.md)
-* [numeric_interval](detailed/numeric_interval.md)
-* [multi_select_combo](detailed/multi_select_combo.md)
-* 简单日期控件
- * [date_combo](detailed/date/date_combo.md)
- * [date_pane_widget](detailed/date/date_pane_widget.md)
- * [year_month_combo](detailed/date/year_month_combo.md)
- * [year_quarter_combo](detailed/date/year_quarter_combo.md)
- * [custom_date_time](detailed/date/custom_date_time.md)
-* 简单下拉树
- * [single_tree_combo](detailed/combo/single_tree_combo.md)
- * [multilayer_single_tree_combo](detailed/combo/multilayer_single_tree_combo.md)
- * [select_tree_combo](detailed/combo/select_tree_combo.md)
- * [multilayer_select_tree_combo](detailed/combo/multilayer_select_tree_combo.md)
-* 路径选择
- * [path_chooser](detailed/path/path_chooser.md)
- * [direction_path_chooser](detailed/path/direction_path_chooser.md)
-* [relation_view](detailed/relation_view.md)
-* [dialog](detailed/dialog.md)
-* [file_manager](detailed/file_manager.md)
-* [slider](detailed/slider.md)
-
diff --git a/docs/_book/base/bubble.md b/docs/_book/base/bubble.md
deleted file mode 100644
index bd138066d8..0000000000
--- a/docs/_book/base/bubble.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# bi.bubble
-
-#### 气泡提示
-
-{% method %}
-[source](https://jsfiddle.net/fineui/4u705v2v/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.bubble',
- element: "#wrapper",
- height: 30,
- text: "测试"
-})
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :---- |:----
-| direction | 气泡显示位置 | string | — | "top" |
-| height | 气泡高度 | number | — | 35 |
-| text | 气泡显示内容 | string | — | " " |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setText | 设置文本值 | 需要设置的文本值text|
-
-
----
\ No newline at end of file
diff --git a/docs/_book/base/button/button.md b/docs/_book/base/button/button.md
deleted file mode 100644
index 4323fb3513..0000000000
--- a/docs/_book/base/button/button.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# bi.button
-
-## 文字类型的按钮,基类[BI.BasicButton](/core/basicButton.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/txqwwzLm/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.button',
- element: "#wrapper",
- text: '一般按钮',
- level: 'common',
- height: 30
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 | number | — | 10 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 0 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | [ ] |
-| width | 宽度 | number | — | — |
-| height | 高度 | number | — | — |
-
-
-##### 高级属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| level |按钮类型 | string| common,success,warning,ignore | common |
-| minWidth | 最小宽度,如果block/clear中某一项为true,此项值为0,否则为90 | number | — | 90 |
-| shadow | 是否显示阴影 | boolean| true,false | props.clear !== true |
-| isShadowShowingOnSelected|选中状态下是否显示阴影 | boolean| true,false | true |
-| readonly | 是否只读 | boolean | true,false | true |
-| iconClass | 图标类型 | string| — | " "|
-| block| 是否块状显示,即不显示边框,没有最小宽度的限制 | boolean| true,false | false |
-| clear| 是否去掉边框和背景 |boolean| true,false | false |
-| textAlign | 文字布局 | string | left,center,right | cneter |
-| whiteSpace | 元素内的空白处理方式 | string | normal,nowrap | nowrap|
-| forceCenter | 是否无论如何都要居中, 不考虑超出边界的情况, 在未知宽度和高度时有效 | boolean | true,false | false |
-| textWidth| 按钮文本宽度 | number| — | null |
-| textHeight | 按钮文本高度 | number| — | null |
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| doRedMark | 文本标红 | — |
-| unRedMark | 取消文本标红| —|
-| doHighLight | 文本高亮 | —|
-| unHighLight | 取消文本高亮 | —|
-| setText| 设置文本值 | 需要设置的文本值text|
-| doClick | 点击事件 | —|
-| destroy | 销毁事件 |— |
-| setValue | 设置文本值 | 需要设置的文本值text |
-
----
-
-
diff --git a/docs/_book/base/button/icon_button.md b/docs/_book/base/button/icon_button.md
deleted file mode 100644
index e98fd0821e..0000000000
--- a/docs/_book/base/button/icon_button.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# bi.icon_button
-
-## 图标button,基类[BI.BasicButton](/core/basicButton.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/g52u14ay/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.icon_button',
- cls: "close-ha-font",
- width: 20,
- height: 20
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| iconWidth | 图标宽度 | number| — | null |
-| iconHeight | 图标高度 | number| — | null |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| doClick | 点击事件 | —|
-
-
----
-
-
diff --git a/docs/_book/base/button/image_button.md b/docs/_book/base/button/image_button.md
deleted file mode 100644
index e30b66be47..0000000000
--- a/docs/_book/base/button/image_button.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# bi.image_button
-
-## 图片的button,基类[BI.BasicButton](/core/basicButton.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/yc0g9gLw/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.image_button',
- src: "http://www.easyicon.net/api/resizeApi.php?id=1206741&size=128",
- width: 100,
- height: 100
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| src |图片路径 |string | —|" " |
-| iconWidth | 图标宽度 | number/string| — | "100%" |
-| iconHeight | 图标高度 | number/string | — | "100%"|
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| doClick | 点击事件 | —|
-| setWidth | 设置按钮宽度| 宽度width |
-| setHeight | 设置按钮高度 | 高度height|
-| setImageWidth | 设置图片宽度| 宽度width |
-| setImageHeight| 设置图片高度| 高度height|
-| getImageWidth | 获取图片宽度| —|
-| getImageHeight | 获取图片高度| —|
-| setSrc| 设置图片路径| src |
-| getSrc |获取图片路径| — |
-
-
-
----
-
-
diff --git a/docs/_book/base/button/text_button.md b/docs/_book/base/button/text_button.md
deleted file mode 100644
index 6686420a81..0000000000
--- a/docs/_book/base/button/text_button.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# bi.text_button
-
-## 可以点击的一行文字,基类[BI.BasicButton](/core/basicButton.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/5p99L39q/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.text_button',
- text: '文字按钮',
- height: 30
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 | number | — | 10 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| text|按钮文本内容 | string| — | — |
-| textWidth| 按钮文本宽度 | number| — | null |
-| textHeight | 按钮文本高度 | number| — | null |
-
-
-##### 高级属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| py | 拼音 | string| | " " |
-| textAlign | 文字布局 | string | left,center,right | cneter |
-| whiteSpace | 元素内的空白处理方式 | string | normal,nowrap | nowrap|
-| forceCenter | 是否无论如何都要居中, 不考虑超出边界的情况, 在未知宽度和高度时有效 | boolean | true,false | false |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| doRedMark | 文本标红 | — |
-| unRedMark | 取消文本标红| —|
-| doHighLight | 文本高亮 | —|
-| unHighLight | 取消文本高亮 | —|
-| setText| 设置文本值 | 需要设置的文本值text|
-| doClick | 点击事件 | —|
-| setValue | 设置文本值 | 需要设置的文本值text |
-| setStyle | 设置文本样式 |需要设置的文本标签样式,例{"color":"#000"} |
-
-
----
-
-
diff --git a/docs/_book/base/canvas.md b/docs/_book/base/canvas.md
deleted file mode 100644
index 7c08f96afd..0000000000
--- a/docs/_book/base/canvas.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# bi.canvas
-
-## canvas绘图,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/gcgd1va0/)
-
-{% common %}
-```javascript
-
-var canvas = BI.createWidget({
- type: "bi.canvas",
- element: "#wrapper",
- width: 500,
- height: 600
-});
-canvas.circle(150, 50, 20, "green");
-canvas.stroke();
-
-
-```
-
-{% endmethod %}
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| line | 绘制线段| (x0, y0, x1, y1) |
-| rect | 绘制矩形 | (x,y,w,h,color)分别表示左上角的横坐标、纵坐标,矩形宽、高、以及绘制的颜色|
-| circle | 绘制圆形 | (x, y, radius, color)分别表示原点的横坐标,纵坐标,半径以及颜色 |
-| hollow | 填充中空的路径 | — |
-| solid | 填充实心的路径 | — |
-| gradient | 绘制渐变色 | (x0, y0, x1, y1, start, end) |
-| reset | 重置画布 | —|
-| stroke | 绘制 | callback |
-
----
-
-
diff --git a/docs/_book/base/editor/code_editor.md b/docs/_book/base/editor/code_editor.md
deleted file mode 100644
index 9a17529e17..0000000000
--- a/docs/_book/base/editor/code_editor.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# bi.code_editor
-
-## 代码文本框,基类[BI.Single](/core/single.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/fx86hLgm/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.code_editor",
- cls: "mvc-border",
- width: 600,
- height: 400
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| watermark | 文本框placeholder | string | — | " " |
-| readOnly | 是否只读 | boolean | true,false | false|
-| lineHeight | 行高 | number|— | 2|
-| value | 文本框值| string| —| " "|
-| paramFormatter| 参数显示值构造函数 | function| — | value |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| insertParam | 插入参数 | param |
-| insertString | 插入字符串 | str|
-| getValue | 获取文本框值|—|
-| setValue | 设置文本框值|value|
-| focus | 文本框获取焦点| — |
-| blur | 文本框失焦|—|
-| setStyle | 设置文本样式 |需要设置的文本标签样式style,例{"color":"#000"} |
-| getStyle | 获取文本样式 |— |
-| refresh | 刷新文本框 | —|
-
-
-
-
----
-
-
diff --git a/docs/_book/base/editor/editor.md b/docs/_book/base/editor/editor.md
deleted file mode 100644
index 61be1f4d0c..0000000000
--- a/docs/_book/base/editor/editor.md
+++ /dev/null
@@ -1,89 +0,0 @@
-# bi.editor
-
-## 文本框,基类[BI.Single](/core/single.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/4eLytgve/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.editor",
- element: "#wrapper",
- errorText: "字段不可重名!",
- width: 200,
- height: 30
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| validationChecker | 输入较验函数 |function| — | — |
-| quitChecker | 是否允许退出编辑函数 | function | — | — |
-| allowBlank | 是否允许空值 | boolean | true,false | false |
-| watermark | 文本框placeholder | string | — | " " |
-| errorText | 错误提示 | string/function | —| " "|
-| tipType| 提示类型 | string |success,warning | "warning"|
-| inputType| 输入框类型| string| 参考input输入框类型 | "text"|
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setErrorText | 设置错误文本 | text |
-| getErrorText | 获取错误文本 | —|
-| setErrorVisible | 设置错误文本可见|b |
-| disableError | 设置error不可用|— |
-| enableError| 设置error可用| —|
-| disableWaterMark | 设置文本框placeholder不可用| —|
-| enableWaterMark | 恢复文本框placeholder可用| — |
-| focus | 文本框获取焦点| — |
-| blur | 文本框失焦|—|
-| selectAll | 选中文本框文本| —|
-| onKeyDown |按键事件|key|
-| setValue | 设置文本框值|value|
-| getLastValidValue | 获取文本框最后一次输入的有效值| —|
-| resetLastValidValue| 重置文本框最后一次输入的有效值|value|
-| getValue | 获取文本框值|—|
-| isEditing | 文本框是否处于编辑状态|—|
-| isValid | 文本框值是否有效|—|
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.Editor.EVENT_CHANGE | editor的value发生改变触发 |
-|BI.Editor.EVENT_FOCUS | focus事件 |
-|BI.Editor.EVENT_BLUR | blur事件 |
-|BI.Editor.EVENT_CLICK | 点击编辑框触发(不在编辑状态时) |
-|BI.Editor.EVENT_KEY_DOWN | keyDown时触发 |
-|BI.Editor.EVENT_SPACE | 按下空格触发 |
-|BI.Editor.EVENT_BACKSPACE | 按下Backspace触发 |
-|BI.Editor.EVENT_START | 开始输入触发 |
-|BI.Editor.EVENT_PAUSE | 暂停输入触发(输入空白字符) |
-|BI.Editor.EVENT_STOP | 停止输入触发 |
-|BI.Editor.EVENT_CONFIRM | 确定输入触发(blur时且输入值有效) |
-|BI.Editor.EVENT_VALID | 输入值有效的状态事件 |
-|BI.Editor.EVENT_ERROR | 输入值无效的状态事件 |
-|BI.Editor.EVENT_ENTER | 回车事件 |
-|BI.Editor.EVENT_RESTRICT | 回车但是值不合法 |
-|BI.Editor.EVENT_REMOVE | 输入为空时按下backspace |
-|BI.Editor.EVENT_EMPTY | 输入框为空时触发 |
-
-
----
-
-
diff --git a/docs/_book/base/editor/formula_editor.md b/docs/_book/base/editor/formula_editor.md
deleted file mode 100644
index e44f77c324..0000000000
--- a/docs/_book/base/editor/formula_editor.md
+++ /dev/null
@@ -1,59 +0,0 @@
-# bi.formula_editor
-
-## 公式编辑控件,基类[BI.Single](/core/single.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/qnquz4o0/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.formula_editor",
- cls: "bi-border",
- watermark:'请输入公式',
- value: 'SUM(C5, 16, 26)',
- width: "100%",
- height: "100%"
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| value | 文本域的值 | string | — | " "|
-| watermark | 文本框placeholder| string | —| " " |
-| fieldTextValueMap | 字段集合 | onject | —| {}|
-| showHint | 是否显示提示信息 | boolean | true,false | true |
-| lineHeight | 行高 | number | —| 2|
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| disableWaterMark | 设置文本框placeholder不可用 | — |
-| focus | 文本框获取焦点| — |
-| insertField | 添加字段 | field |
-| insertFunction | 插入函数 | fn |
-| insertOperator | 插入操作符| op|
-| setFunction | 设置函数 | v|
-| insertString | 插入字符串 | str|
-| getFormulaString | 获取公式框内容 |— |
-| getUsedFields | 获取可用字段 | — |
-| getCheckString | 获取校验内容 | — |
-| getValue | 获取文本框值|—|
-| setValue | 设置文本框值|value|
-| setFieldTextValueMap | 设置字段集合 | fieldTextValueMap |
-| refresh | 刷新文本框 | —|
-
-
-
----
-
-
diff --git a/docs/_book/base/editor/multifile_editor.md b/docs/_book/base/editor/multifile_editor.md
deleted file mode 100644
index bef06cf044..0000000000
--- a/docs/_book/base/editor/multifile_editor.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# bi.multifile_editor
-
-## 多文件,基类[BI.Single](/core/single.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/25r3r5fq/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.multifile_editor",
- width: 400,
- height: 300
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| multiple | 是否支持多选 | boolean | true,false| false |
-| maxSize | 最大可选数量 | number |— | -1 |
-| accept | 允许上传的文件类型 | string | —| " "|
-| url | 文件路径 | string | —| " "|
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| select | 选择文件 | —|
-| getValue | 获取文件名称 | —|
-| upload | 文件上传| —|
-| reset | 重置| —|
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.MultifileEditor.EVENT_UPLOADSTART | 开始上传时触发 |
-|BI.MultifileEditor.EVENT_PROGRESS | 上传过程中触发 |
-|BI.MultifileEditor.EVENT_UPLOADED | 上传结束后触发 |
-
-
----
-
-
diff --git a/docs/_book/base/editor/textarea_editor.md b/docs/_book/base/editor/textarea_editor.md
deleted file mode 100644
index a220051632..0000000000
--- a/docs/_book/base/editor/textarea_editor.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# bi.textarea_editor
-
-## 文本域,基类[BI.Single](/core/single.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/90721e0a/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.textarea_editor",
- width: 400,
- height: 300
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| value | 文本域的值 | string | — | " "|
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| getValue | 获取文本域值|—|
-| setValue | 设置文本域值|value|
-| setStyle | 设置文本域样式 |需要设置的文本域样式style,例{"color":"#000"} |
-| getStyle | 获取文本域样式 |— |
-| focus | 文本域获取焦点| — |
-| blur | 文本域失焦|—|
-
-
-
-
----
-
-
diff --git a/docs/_book/base/label.md b/docs/_book/base/label.md
deleted file mode 100644
index 1cfa2b5370..0000000000
--- a/docs/_book/base/label.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# bi.label
-
-#### 文本标签
-
-{% method %}
-[source](https://jsfiddle.net/fineui/47f5ps1j/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.label",
- textWidth: 100,
- textHeight: 30,
- text: "基本标签"
-});
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | —| 0 |
-| vgap | 效果相当于容器上下padding值 | number | —| 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | —| 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| textWidth | 文本标签宽度 | number| — | null |
-| textHeight | 文本标签宽度 | number| — | null |
-| text | 文本内容 | string | — | " " |
-
-
-##### 高级属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| textAlign | 文本对齐方式 | string | left,center,right | center |
-| whiteSpace | 元素内空白处理方式 | string| normal,nowrap | nowrap|
-| forceCenter | 是否无论如何都要居中, 不考虑超出边界的情况, 在未知宽度和高度时有效 | boolean | true,false | true |
-| py | 拼音 | string | — | 空 |
-| keyword | 设置标红的关键词 | string | —| 空 |
-| disabled | 灰化 | boolean| true,false | 无 |
-| title | 提示title | string | — | 空 |
-| warningTitle | 错误提示title | string | — | 空 |
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| doRedMark | 文本标红 | — |
-| unRedMark | 取消文本标红| —|
-| doHighLight | 文本高亮 | —|
-| unHighLight | 取消文本高亮 | —|
-| setText| 设置文本值 | 需要设置的文本值text|
-| getText| 获取文本值 | —|
-| setStyle | 设置文本样式 |需要设置的文本标签样式,例{"color":"#000"} |
-| setValue | 设置文本值 | 需要设置的文本值text |
-| populate| 清空label | —|
-
-
----
\ No newline at end of file
diff --git a/docs/_book/base/message.md b/docs/_book/base/message.md
deleted file mode 100644
index ae2532e232..0000000000
--- a/docs/_book/base/message.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# bi.Msg
-
-#### 消息提示
-
-{% method %}
-[source](https://jsfiddle.net/fineui/feu8kf4u/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.button",
- element: "#wrapper",
- text : '点击我弹出一个消息框',
- height : 30,
- handler : function() {
- BI.Msg.confirm('测试消息框',"我是测试消息框的内容");
- }
-});
-
-
-
-```
-
-{% endmethod %}
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| alert | 警告消息框 | title, message, callback|
-| confirm | 确认消息框 | title, message, callback |
-| prompt | 提示消息框 | title, message, value, callback, min_width |
-| toast | toast提示 | message, level, context|
-
-
----
diff --git a/docs/_book/base/pager.md b/docs/_book/base/pager.md
deleted file mode 100644
index d26530586c..0000000000
--- a/docs/_book/base/pager.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# bi.pager
-
-## 分页控件,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/rhhte9b3/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.pager",
- height: 50,
- pages: 18,
- groups: 5,
- curr: 6,
- first: "首页",
- last: "尾页"
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| behaviors | 自定义列表中item项的行为,如高亮,标红等 | object| — | {}|
-| layouts | 布局| array |— | {type:"bi.horizontal",hgap:10,vgap:0} |
-| dynamicShow | 是否动态显示上一页、下一页、首页、尾页, 若为false,则指对其设置使能状态 | boolean| true,false | true|
-| dynamicShowFirstLast | 是否动态显示首页、尾页,dynamicShow为false时生效| boolean| true,false | false |
-| dynamicShowPrevNext | 是否动态显示上一页、下一页,dynamicShow为false时生效 | boolean| true,false | false|
-| pages | 是否显示总页数 | boolean| true,false|false|
-| curr | 初始化当前页 | function | —| function(){return 1;}|
-| groups | 连续显示分页数 | number | — | 0 |
-| jump | 页数跳转| function |— | —|
-| first | 是否显示首页 | boolean | true,false| false|
-| last | 是否显示尾页 | boolean | true,false| false|
-| prev | 上一页 | string,object —| — |"上一页" |
-| next | 下一页 | sting,object| —| "下一页" |
-| firstPage | 第一页 | number|— | 1 |
-| lastPage | 最后一页,在万不得已时才会调用这个函数获取最后一页的页码, 主要作用于setValue方法 | function | —| function(){ return 1;}|
-| hasPrev | 判断是否有上一页,pages不可用时有效 | function | —| — |
-| hasNext | 判断是否有下一页,pages不可用时有效 | function |— | — |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| getCurrentPage | 获取当前页码 | —|
-| setAllPages | 设置总页数 | pages |
-| hasPrev | 判断是否有上一页 | v |
-| hasNext | 判断是否有下一页 | v |
-| setValue | 设置当前页码 | v |
-| getValue | 获取当前页码 | —|
-| attr | 设置属性 | key,value |
-| populate | 刷新或者清空列表| —|
-
-## 事件
-| 名称 | 说明 |
-| :------ |:------------- |
-| BI.Pager.EVENT_AFTER_POPULATE | pager刷新完成事件 |
-
----
-
-
diff --git a/docs/_book/base/svg.md b/docs/_book/base/svg.md
deleted file mode 100644
index 6724b4fc97..0000000000
--- a/docs/_book/base/svg.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# bi.svg
-
-## svg绘图,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/1xn8snp3/)
-
-{% common %}
-```javascript
-
-var svg = BI.createWidget({
- type: "bi.svg",
- width: 500,
- height: 600
-});
-
-svg.path("M10,10L50,50M50,10L10,50")
- .attr({stroke: "red"});
-
-
-```
-
-{% endmethod %}
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| add | 添加对象到json数组 | json |
-| path | 绘制路径 | pathString |
-| image | 绘制图片 | (src,x,y,w,h)分别表示图片路径,绘制的原点横、纵坐标,宽、高 |
-| rect | 绘制矩形 | (x,y,w,h,r)分别表示左上角的横坐标、纵坐标,矩形宽、高、以及矩形的圆角border-radius大小|
-| circle | 绘制圆形 | (x,y,r)分别表示原点的横坐标,纵坐标,以及半径 |
-| ellipse | 绘制椭圆 |(x,y,rx,ry)分别表示原点的横、纵坐标,以及水平半径和垂直半径|
-| text | 绘制文本 | (x,y,text)分别表示绘制的原点横、纵坐标以及要绘制的文本内容|
-| print | 根据制定参数打印出路径 | (x, y, string, font, size, origin, letter_spacing, line_spacing) |
-| setStart | 开始绘制 | — |
-| setFinish | 结束绘制 | — |
-| setSize | 设置画布尺寸 | (width,height)分别表示画布宽高|
-| setViewBox | 设置画布可视区域 | (x,y,width,height,fit)分别表示可视区域原点坐标以及可视区域宽高,以及是否根据可视区域进行调整 |
-| getById | 根据id返回元素 | id |
-| getElementByPoint | 获根据给定的点坐标返回元素 | (x,y)|
-| getElementsByPoint | 获根据给定的点坐标返回元素 | (x,y) |
-| getFont | 通过给定的参数在已注册的字体中找到字体对象 | (family, weight, style, stretch) |
-| set | 绘制形状的集合 | — |
-| remove | 设置总页数 | pages |
-| clear | 判断是否有上一页 | v |
-
-
-
-
-
----
-
-
diff --git a/docs/_book/base/table/collection_table.md b/docs/_book/base/table/collection_table.md
deleted file mode 100644
index 81679f78d7..0000000000
--- a/docs/_book/base/table/collection_table.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# bi.collection_table
-
-### 基本的表格 继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/x2zxfzhp/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.collection_table",
- element: "body",
- columnSize: [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: "第二行第二列"
- }]
- ]
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | ------------- | -------------------- | ----------------- |
-| isNeedFreeze | 是否冻结列 | boolean | false |
-| freezeCols | 冻结的列 | array | [] |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeCols | 合并的单元格列号 | array | [] |
-| mergeRule | 合并规则, 默认相等时合并 | function(row1, row2) | 默认row1 = row2 时合并 |
-| columnSize | 单元格宽度集合 | array | [] |
-| headerRowSize | 表头高度 | number | 25 |
-| rowSize | 普通单元格高度 | number | 25 |
-| regionColumnSize | 列项间的 | array | [] |
-| items | 子组件 | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------------------- | ----------- | ---------- |
-| setWidth | 设置宽度 | width |
-| setHeight | 设置高度 | height |
-| setColumnSize | 设置列宽 | columnSize |
-| getColumnSize | 得到列宽 | — |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| getScrollRegionColumnSize | 获取横向滚动条宽度 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| getColumns | 获取列项 | — |
-| populate | 增加行 | rows |
-| restore | 存储数据 | — |
-
-------
-
diff --git a/docs/_book/base/table/grid_table.md b/docs/_book/base/table/grid_table.md
deleted file mode 100644
index 365e8f7333..0000000000
--- a/docs/_book/base/table/grid_table.md
+++ /dev/null
@@ -1,59 +0,0 @@
-# bi.grid_table
-
-### 列表展示的table,继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/a936vcvj/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.grid_table",
- element: 'body',
- width: 600,
- height: 500,
- isResizeAdapt: true,
- isNeedResize: true,
- isNeedFreeze: true,
- freezeCols: [0, 1],
- columnSize: [50,50,200,250,400],
- items: items,
- header: header
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | ------- | ------- | ----- |
-| isNeedFreeze | 是否需要冻结 | boolean | false |
-| freezeCols | 冻结列 | array | [] |
-| columnSize | 单元格宽度集合 | array | [] |
-| headerRowSize | 表头高度 | number | 25 |
-| rowSize | 普通单元格高度 | number | 25 |
-| regionColumnSize | 列项间的 | array | [] |
-| header | 表头 | array | [] |
-| items | 子组件 | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------------------ | ----------- | ---------- |
-| setWidth | 设置宽度 | width |
-| setHeight | 设置高度 | height |
-| getRegionSize | 获取间隙大小 | — |
-| setColumnSize | 设置列宽 | columnSize |
-| getColumnSize | 得到列宽 | — |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| populate | 刷新内容 | rows |
-| restore | 储存 | — |
-
-------
-
diff --git a/docs/_book/base/table/resizable_table.md b/docs/_book/base/table/resizable_table.md
deleted file mode 100644
index 6f67b1c3fb..0000000000
--- a/docs/_book/base/table/resizable_table.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# bi.resizable_table
-
-### 可调整列宽的grid表格,继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/0e7p2ezc/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.resizable_table",
- element: "body",
- columnSize: [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: "第二行第二列"
- }]
- ]
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | --------- | ------- | ----- |
-| isNeedFreeze | 是否需要冻结列 | boolean | false |
-| freezeCols | 冻结的列 | array | [] |
-| isNeedResize | 是否需要调整大小 | boolean | false |
-| isResizeAdapt | 是否调整时自适应 | boolean | true |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeCols | 合并的单元格列号 | array | [] |
-| columnSize | 单元格宽度集合 | array | [] |
-| minColumnSize | 最小列宽 | array | [] |
-| maxColumnSize | 最大列宽 | array | [] |
-| headerRowSize | 表头高度 | number | 25 |
-| rowSize | 普通单元格高度 | number | 25 |
-| header | 表头 | array | [] |
-| regionColumnSize | 列项间的 | array | [] |
-| items | 子组件 | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------------------ | ----------- | ------------- |
-| setWidth | 设置宽度 | — |
-| setHeight | 设置高度 | — |
-| setColumnSize | 设置列宽 | columnSize |
-| getColumnSize | 得到列宽 | — |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| attr | 设置属性 | key:键,value:值 |
-| populate | 刷新内容 | rows |
-| restore | 保存表 | — |
-
-------
-
diff --git a/docs/_book/base/table/table_view.md b/docs/_book/base/table/table_view.md
deleted file mode 100644
index 2cceb75ab1..0000000000
--- a/docs/_book/base/table/table_view.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# bi.table_view
-
-### 能处理静态宽度以及动态宽度的表
-
-{% method %}
-[source](https://jsfiddle.net/fineui/mbazb80a/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.table_view",
- element: 'body',
- isNeedMerge: true,
- isNeedFreeze: true,
- freezeCols: [0, 1],
- mergeCols: [0, 1],
- columnSize: [100, 200, 300, 400, 500],
- items: [],
- header: []
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | ------------- | -------------------- | ----------------- |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeCols | 合并的单元格列号 | array | [] |
-| mergeRule | 合并规则, 默认相等时合并 | function(row1, row2) | 默认row1 = row2 时合并 |
-| columnSize | 单元格宽度集合 | array | [] |
-| headerRowSize | 表头高度 | number | 25 |
-| footerRowSize | 表尾高度 | number | 25 |
-| rowSize | 普通单元格高度 | number | 25 |
-| regionColumnSize | 列项间的 | array | false |
-| header | 表头 | array | [] |
-| footer | 表尾 | array | false |
-| items | 子组件 | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ---------------------------- | ---------------- | ---------- |
-| resize | 调整表格 | — |
-| setColumnSize | 设置列宽 | columnSize |
-| getColumnSize | 得到列宽 | — |
-| getCalculateColumnSize | 获得计算后的列宽 | — |
-| setHeaderColumnSize | 设置表头的列宽 | columnSize |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| getCalculateRegionColumnSize | 获取计算后的列项之间的间隙 | — |
-| getCalculateRegionRowSize | 获取计算后的列项上下之间的间隙 | — |
-| getClientRegionColumnSize | 获取浏览器中显示的列项之间的间隙 | — |
-| getScrollRegionColumnSize | 获取横向滚动条宽度 | — |
-| getScrollRegionRowSize | 获取纵向滚动条宽度 | — |
-| hasVerticalScroll | 是否含有数值滚动条 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| getColumns | 获取列项 | — |
-| populate | 刷新内容 | rows |
-
-## 事件
-| 事件 | 说明 |
-| :------------------------------ | :------------------ |
-| BI.Table.EVENT_TABLE_AFTER_INIT | table初始化完成后触发 |
-| BI.Table.EVENT_TABLE_RESIZE | table大小调整时触发(窗口变化等) |
-| BI.Table.EVENT_TABLE_SCROLL | 滚动事件 |
-
----
-
diff --git a/docs/_book/base/toast.md b/docs/_book/base/toast.md
deleted file mode 100644
index b889aa92cf..0000000000
--- a/docs/_book/base/toast.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# bi.toast
-
-#### toast提示
-
-{% method %}
-[source](https://jsfiddle.net/fineui/wop751sg/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.toast',
- element: "#wrapper",
- height: 30,
- level: "warning",
- text: "toast测试"
-})
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :---- |:----
-| level | 提示类型 | string | success,warning | "success" |
-| height | 高度 | number | — | 30 |
-| text | 显示内容 | string | — | " " |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setText | 设置文本值 | 需要设置的文本值text |
-| setHeight | 设置高度 | 需要设置的高度值height |
-
----
diff --git a/docs/_book/case/button/multi_select_item.md b/docs/_book/case/button/multi_select_item.md
deleted file mode 100644
index eb48696d32..0000000000
--- a/docs/_book/case/button/multi_select_item.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# bi.multi_select_item
-
-## 复选框item,基类[BI.BasicButton](/core/basic_button.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/0z1fud88/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.vertical',
- element: "#wrapper",
- items: [{
- type: "bi.label",
- height: 30,
- text: "复选item"
- }, {
- type: "bi.multi_select_item",
- text: "复选项"
- }]
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| height | 高度 | number | — | 30
-| logic | 布局逻辑 | object | — | {dynamic:false} |
-
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setSelected| 设置选中值| v |
-| doRedMark | 标红 |—|
-| unRedMark | 取消标红 | — |
-| doClick | 点击事件| —
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/button/single_select_item.md b/docs/_book/case/button/single_select_item.md
deleted file mode 100644
index 56facc4d54..0000000000
--- a/docs/_book/case/button/single_select_item.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# bi.single_select_item
-
-## 可以点击的label,基类[BI.BasicButton](/core/basic_button.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/19qqcej4/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.vertical',
- element: "#wrapper",
- items: [{
- type: "bi.label",
- height: 30,
- text: "复选item"
- }, {
- type: "bi.single_select_item",
- text: "复选项"
- }]
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| height | 高度 | number | — | 25
-| hgap | 效果相当于文本框左右padding值 |number | —| 10 |
-|textAlign |文本对齐方式 |string |left,center,right |"left"
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setSelected| 设置选中值| v |
-| doRedMark | 标红 |—|
-| unRedMark | 取消标红 | — |
-| doClick | 点击事件| —
-
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/button/single_select_radio_item.md b/docs/_book/case/button/single_select_radio_item.md
deleted file mode 100644
index 9aac21b3db..0000000000
--- a/docs/_book/case/button/single_select_radio_item.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# bi.single_select_radio_item
-
-## 单选框item,基类[BI.BasicButton](/core/basic_button.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/d3vw4438/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.vertical',
- element: "#wrapper",
- items: [{
- type: "bi.label",
- height: 30,
- text: "单选item"
- }, {
- type: "bi.single_select_radio_item",
- text: "单选项"
- }]
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| height | 高度 | number | — | 25
-| hgap | 效果相当于文本框左右padding值 |number | —| 10 |
-|textAlign |文本对齐方式 |string |left,center,right |"left"
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setSelected| 设置选中值| v |
-| doRedMark | 标红 |—|
-| unRedMark | 取消标红 | — |
-| doClick | 点击事件| —
-
-
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/calendar.md b/docs/_book/case/calendar.md
deleted file mode 100644
index 87f96a3a2f..0000000000
--- a/docs/_book/case/calendar.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# bi.calendar
-
-### 日历控件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/4sfsaoma/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.calendar',
- min: '1900-01-01', //最小日期
- max: '2099-12-31', //最大日期
- year: 2015,
- month: 7, //7表示八月
- day: 25,
-});
-
-```
-
-{% endmethod %}
-
-
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ----- | ----- | ------ | ------------ |
-| min | 最小日期 | string | '1900-01-01' |
-| max | 最大日期 | string | '2099-12-31' |
-| year | 设定的年份 | number | 2015 |
-| month | 设定的月份 | number | 7 |
-| day | 设定的日期 | number | 25 |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| ----------- | ------- | -------------------------- |
-| isFrontDate | 是否为最小日期 | — |
-| isFinalDate | 是否为最大日期 | — |
-| setValue | 设置日期 | object: {year, month, day} |
-| getVlaue | 获得日期 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/clipboard.md b/docs/_book/case/clipboard.md
deleted file mode 100644
index afd485beb3..0000000000
--- a/docs/_book/case/clipboard.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# bi.clipboard
-
-### 剪切板
-
-{% method %}
-[source](https://jsfiddle.net/fineui/kLzq99c3/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.clipboard',
- width: 100,
- height: 100,
- copy: function () {},
-
- afterCopy: function () {}
-});
-
-```
-
-{% endmethod %}
-
-
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| --------- | ---------- | -------- | ---------- |
-| copy | 获取需要拷贝的值 | function | BI.emptyFn |
-| afterCopy | 完成拷贝后执行的方法 | function | BI.emptyFn |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/color_chooser.md b/docs/_book/case/color_chooser.md
deleted file mode 100644
index b8627be06e..0000000000
--- a/docs/_book/case/color_chooser.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# bi.color_chooser
-
-### 选色控件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/z4fwweg9/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.color_chooser",
- element: "#wrapper",
- width: 30,
- height: 30
-});
-
-```
-
-{% endmethod %}
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| ------------- | ------ | ----- |
-| isViewVisible | 判断是否显示 | — |
-| setValue | 设置颜色值 | color |
-| getValue | 获取颜色值 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/color_chooser_popup.md b/docs/_book/case/color_chooser_popup.md
deleted file mode 100644
index f279f76acf..0000000000
--- a/docs/_book/case/color_chooser_popup.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# bi.color_chooser_popup
-
-### 选色控件弹窗
-
-{% method %}
-[source](https://jsfiddle.net/fineui/xL7moydu/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.color_chooser_popup",
-});
-
-```
-
-{% endmethod %}
-
-
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------ | ---- | ------ | ---- |
-| height | 高度 | number | 145 |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------------- | -------- | ------ |
-| setStoreColors | 设置储存的颜色值 | colors |
-| setValue | 设置颜色值 | color |
-| getValue | 获取颜色值 | — |
-
-
-
-### 事件
-
-| 事件 | 说明 |
-| ------------------ | -------- |
-| EVENT_VALUE_CHANGE | 颜色值改变时触发 |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/combo/bubble_combo.md b/docs/_book/case/combo/bubble_combo.md
deleted file mode 100644
index c35d143df8..0000000000
--- a/docs/_book/case/combo/bubble_combo.md
+++ /dev/null
@@ -1,86 +0,0 @@
-# bi.bubble_combo
-
-## 表示一个可以展开的节点, 不仅有选中状态而且有展开状态, 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/urvt04so/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.bubble_combo",
- element:"#wrapper",
- el: {
- type: "bi.button",
- text: "测试",
- height: 25
- },
- popup: {
- el: {
- type: "bi.button_group",
- items: BI.makeArray(100, {
- type: "bi.text_item",
- height: 25,
- text: "item"
- }),
- layouts: [{
- type: "bi.vertical"
- }]
- },
- maxHeight: 200
- }
- })
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| text | 组件text值 | string | —| "" |
-| value | 组件value值 | string |— |""|
-| stopEvent | 阻止事件 |boolean | true,false | false |
-| stopPropagation | 阻止冒泡 | boolean | true,false| false |
-| selected | button的选中状态 | boolean | true,false |false |
-| once | 点击一次选中有效,再点无效 | boolean | true,false | false|
-| forceSelected | 点击即选中, 选中了就不会被取消,与once的区别是forceSelected不影响事件的触发| boolean | true,false| false|
-| forceNotSelected | 无论怎么点击都不会被选中 | boolean| true,false | false|
-| disableSelected | 使能选中| boolean | true,false| false|
-| shadow | 是否显示阴影 | boolean| true,false| false|
-| isShadowShowingOnSelected| 选中状态下是否显示阴影|boolean| true,false | false|
-| trigger | 被选元素要触发的事件 | string | mousedown, mouseup, click, dblclick, lclick | null|
-| handler | 点击事件回调 | function | —| BI.emptyFn |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| bindEvent | 绑定事件| —|
-| beforeClick | 点击事件之前 | —|
-| doClick | 点击事件 | — |
-| handle | 返回该对象 | —|
-| hover | hover事件| —|
-| dishover | 取消hover事件| —|
-|setSelected | 设置选中的文本| b|
-| isSelected | 是否被选中| —|
-| isOnce | 是否只允许点击一次| —|
-| isForceSelected| 判断是否点击即选中| —|
-| isForceNotSelected| 判断是否怎么点击都不会被选中|—|
-| isDisableSelected| 判断是否让选中|—|
-| setText| 设置文本值|—|
-| getText| 获取文本值|—|
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/combo/icon_combo.md b/docs/_book/case/combo/icon_combo.md
deleted file mode 100644
index 4a2229c8c4..0000000000
--- a/docs/_book/case/combo/icon_combo.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# bi.icon_combo
-
-## 切换trigger图标的combo 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/z02vzvtb/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.icon_combo",
- element: "#wrapper",
- iconClass: "rename-font",
- items: [{
- value: "第一项",
- iconClass: "delete-font"
- }, {
- value: "第二项",
- iconClass: "rename-font"
- }, {
- value: "第三项",
- iconClass: "move-font"
- }]
-});
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| width | 宽度 | number | — | 24
-| height | 高度 | number | — | 24
-| iconClass | icon的类名 | string | —|" "|
-| el | 自定义下拉框trigger| object | —|{ } |
-| popup | 弹出层| object | —| { }
-| minWidth| 最小宽度| number | —|100|
-| maxWidth | 最大宽度 | string/number | — | "auto"|
-| maxHeight | 最大高度 | number | —| 300
-| adjustLength | 弹出列表和trigger的距离 | number | — | 0 |
-| adjustXOffset | 调整横向偏移 | number | — | 0 |
-| adjustYOffset |调整纵向偏移 | number | — | 0 |
-| offsetStyle | 弹出层显示位置 | string | left,right,center | "left,right,center"|
-| chooseType | 选择类型 | const | 参考button_group | BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setValue| 设置value值|—|
-| getValue| 获取value值|—|
-| showView | 显示弹出层 | —|
-| hideView | 隐藏弹出层 |—|
-| populate | 刷新列表 | items |
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/combo/static_combo.md b/docs/_book/case/combo/static_combo.md
deleted file mode 100644
index c6417aa64f..0000000000
--- a/docs/_book/case/combo/static_combo.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# bi.static_combo
-
-## 单选combo,trigger显示项不会改变 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/kn64gfzn/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.static_combo",
- element: "#wrapper",
- text: "Value 不变",
- items: [{
- text: "1",
- value: 1
- }, {
- text: "2",
- value: 2
- }, {
- text: "3",
- value: 3
- }]
- });
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| height | 高度 | number | — | 24
-| el | 自定义下拉框trigger| object | —|{ } |
-| items | 子组件 | array | — | [ ]
-| text | 文本内容 | string | — | " " |
-| chooseType | 选择类型 | const |参考button_group | BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setValue| 设置value值|—|
-| getValue| 获取value值|—|
-| populate | 刷新列表 | items |
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/combo/text_value_combo.md b/docs/_book/case/combo/text_value_combo.md
deleted file mode 100644
index 0111637b7f..0000000000
--- a/docs/_book/case/combo/text_value_combo.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# bi.text_value_combo
-
-## 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/hcf0kd9m/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.text_value_combo",
- element: "#wrapper",
- text: "value_combo",
- width: 300,
- items: [{
- text: "1",
- value: 1
- }, {
- text: "2",
- value: 2
- }, {
- text: "3",
- value: 3
- }]
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| height | 高度 | number | — | 30
-| el | 自定义下拉框trigger| object |—|{ } |
-| text | 文本内容 | string | — | " " |
-| chooseType | 选择类型 | const |参考button_group | BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setValue| 设置value值|—|
-| getValue| 获取value值|—|
-| populate | 刷新列表 | items |
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/combo/text_value_downlist_combo.md b/docs/_book/case/combo/text_value_downlist_combo.md
deleted file mode 100644
index 733435fc59..0000000000
--- a/docs/_book/case/combo/text_value_downlist_combo.md
+++ /dev/null
@@ -1,65 +0,0 @@
-# bi.text_value_down_list_combo
-
-## 有二级下拉菜单的combo 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/xtxmfgx1/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.text_value_down_list_combo",
- element: "#wrapper",
- text: "text",
- items: [
- [{
- el: {
- text: "1",
- value: 1
- },
- children: [{
- text: "11",
- value: 11
- }]
- }],
- [{
- text: "2",
- value: 2
- }, {
- text: "3",
- value: 3
- }]
- ]
-});
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| height | 高度 | number | — | 30
-| text | 文本内容 | string | — | " " |
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setValue| 设置value值|—|
-| getValue| 获取value值|—|
-| populate | 刷新列表 | items |
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/complex_canvas.md b/docs/_book/case/complex_canvas.md
deleted file mode 100644
index 8a358a502b..0000000000
--- a/docs/_book/case/complex_canvas.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# complex_canvas
-
-## 复杂的canvas绘图
-
-{% method %}
-[source](https://jsfiddle.net/fineui/psozjkgn/)
-
-{% common %}
-```javascript
-
-var canvas = BI.createWidget({
- type: "bi.complex_canvas",
- width: 500,
- height: 600
- });
-canvas.branch(55, 100, 10, 10, 100, 10, 200, 10, {
- offset: 20,
- strokeStyle: "red",
- lineWidth: 2
- });
-
-canvas.stroke();
-
-
-```
-
-{% endmethod %}
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| branch | 绘制树枝节点| (x0, y0, x1, y1, x2, y2) (以x0, y0为根节点,分支到x1,y1, x2,y2...)|
-| stroke | 绘制 | |
-
----
-
-
diff --git a/docs/_book/case/editor/shelter_editor.md b/docs/_book/case/editor/shelter_editor.md
deleted file mode 100644
index 58e28c3729..0000000000
--- a/docs/_book/case/editor/shelter_editor.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# bi.shelter_editor
-
-## 带标记的文本框,需手动控制进入编辑状态 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/9Lbx6kga/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.shelter_editor",
- cls: "bi-border",
- width: 300,
- watermark: "这个是带标记的"
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| validationChecker | 输入较验函数 |function| — | — |
-| quitChecker | 是否允许退出编辑函数 | function | — | — |
-| allowBlank | 是否允许空值 | boolean | true,false | true |
-| watermark | 文本框placeholder | string | — | " " |
-| errorText | 错误提示 | string/function | —| " "|
-| height| 高度| number |— | 30|
-| textAlign| 对齐方式 | string |left,center,right |"left"|
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setErrorText | 设置错误文本 | text |
-| getErrorText | 获取错误文本 | —|
-| focus | 文本框获取焦点| — |
-| blur | 文本框失焦|—|
-| onKeyDown |按键事件|key|
-| setValue | 设置文本框值|value|
-| getLastValidValue | 获取文本框最后一次输入的有效值| —|
-| setTextStyle| 设置文本框样式| style |
-| getValue | 获取文本框值|—|
-| isEditing | 文本框是否处于编辑状态|—|
-| isValid | 文本框值是否有效|—|
-| doRedMark | 文本标红 | — |
-| unRedMark | 取消文本标红| —|
-| doHighLight | 文本高亮 | —|
-| unHighLight | 取消文本高亮 | —|
-| setTitle| 设置title | title|
-| setWarningTitle| 设置错误title | title |
-| setState | 设置文本框值 |—
-| getState | 获取文本框值 | —
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.Editor.EVENT_CHANGE | editor的value发生改变触发 |
-|BI.Editor.EVENT_FOCUS | focus事件 |
-|BI.Editor.EVENT_BLUR | blur事件 |
-|BI.Editor.EVENT_CLICK | 点击编辑框触发(不在编辑状态时) |
-|BI.Editor.EVENT_KEY_DOWN | keyDown时触发 |
-|BI.Editor.EVENT_SPACE | 按下空格触发 |
-|BI.Editor.EVENT_BACKSPACE | 按下Backspace触发 |
-|BI.Editor.EVENT_START | 开始输入触发 |
-|BI.Editor.EVENT_PAUSE | 暂停输入触发(输入空白字符) |
-|BI.Editor.EVENT_STOP | 停止输入触发 |
-|BI.Editor.EVENT_CONFIRM | 确定输入触发(blur时且输入值有效) |
-|BI.Editor.EVENT_VALID | 输入值有效的状态事件 |
-|BI.Editor.EVENT_ERROR | 输入值无效的状态事件 |
-|BI.Editor.EVENT_ENTER | 回车事件 |
-|BI.Editor.EVENT_RESTRICT | 回车但是值不合法 |
-|BI.Editor.EVENT_REMOVE | 输入为空时按下backspace |
-|BI.Editor.EVENT_EMPTY | 输入框为空时触发 |
-
-
-
-
----
-
-
diff --git a/docs/_book/case/editor/sign_editor.md b/docs/_book/case/editor/sign_editor.md
deleted file mode 100644
index 11dffc2e0d..0000000000
--- a/docs/_book/case/editor/sign_editor.md
+++ /dev/null
@@ -1,91 +0,0 @@
-# bi.sign_editor
-
-## 带标记的文本框,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/tmdedu5t/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.sign_editor",
- cls:"layout-bg5",
- value: "123",
- text: "456",
- width: 300
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | —| 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| validationChecker | 输入较验函数 |function| — | — |
-| quitChecker | 是否允许退出编辑函数 | function | — | — |
-| allowBlank | 是否允许空值 | boolean | true,false | true |
-| watermark | 文本框placeholder | string | — | " " |
-| errorText | 错误提示 | string/function | —| " "|
-| height| 高度| number |— | 30|
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setErrorText | 设置错误文本 | text |
-| getErrorText | 获取错误文本 | —|
-| focus | 文本框获取焦点| — |
-| blur | 文本框失焦|—|
-| setValue | 设置文本框值|value|
-| getLastValidValue | 获取文本框最后一次输入的有效值| —|
-| getValue | 获取文本框值|—|
-| isEditing | 文本框是否处于编辑状态|—|
-| isValid | 文本框值是否有效|—|
-| doRedMark | 文本标红 | — |
-| unRedMark | 取消文本标红| —|
-| doHighLight | 文本高亮 | —|
-| unHighLight | 取消文本高亮 | —|
-| setTitle| 设置title | title|
-| setWarningTitle| 设置错误title | title |
-| setState | 设置文本框值 |—
-| getState | 获取文本框值 | —
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.Editor.EVENT_CHANGE | editor的value发生改变触发 |
-|BI.Editor.EVENT_FOCUS | focus事件 |
-|BI.Editor.EVENT_BLUR | blur事件 |
-|BI.Editor.EVENT_CLICK | 点击编辑框触发(不在编辑状态时) |
-|BI.Editor.EVENT_KEY_DOWN | keyDown时触发 |
-|BI.Editor.EVENT_SPACE | 按下空格触发 |
-|BI.Editor.EVENT_BACKSPACE | 按下Backspace触发 |
-|BI.Editor.EVENT_START | 开始输入触发 |
-|BI.Editor.EVENT_PAUSE | 暂停输入触发(输入空白字符) |
-|BI.Editor.EVENT_STOP | 停止输入触发 |
-|BI.Editor.EVENT_CONFIRM | 确定输入触发(blur时且输入值有效) |
-|BI.Editor.EVENT_VALID | 输入值有效的状态事件 |
-|BI.Editor.EVENT_ERROR | 输入值无效的状态事件 |
-|BI.Editor.EVENT_ENTER | 回车事件 |
-|BI.Editor.EVENT_RESTRICT | 回车但是值不合法 |
-|BI.Editor.EVENT_REMOVE | 输入为空时按下backspace |
-|BI.Editor.EVENT_EMPTY | 输入框为空时触发 |
-
-
-
-
----
-
-
diff --git a/docs/_book/case/editor/sign_initial_editor.md b/docs/_book/case/editor/sign_initial_editor.md
deleted file mode 100644
index c08af2c657..0000000000
--- a/docs/_book/case/editor/sign_initial_editor.md
+++ /dev/null
@@ -1,92 +0,0 @@
-# bi.sign_initial_editor
-
-## 指定初始值 之后初始值会一直显示的editor 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/9vjghevp/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.sign_initial_editor",
- cls: "layout-bg5",
- text: "原始值",
- width: 300
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | —| 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | | 0 |
-| validationChecker | 输入较验函数 |function| — | — |
-| quitChecker | 是否允许退出编辑函数 | function | — | — |
-| allowBlank | 是否允许空值 | boolean | true,false | true |
-| watermark | 文本框placeholder | string | — | " " |
-| errorText | 错误提示 | string/function | —| " "|
-| height| 高度| number |— | 30|
-| text | 文本内容 | string | —| " " |
-| value | 文本value值 | string | — | " " |
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setErrorText | 设置错误文本 | text |
-| getErrorText | 获取错误文本 | —|
-| focus | 文本框获取焦点| — |
-| blur | 文本框失焦|—|
-| setValue | 设置文本框值|value|
-| getLastValidValue | 获取文本框最后一次输入的有效值| —|
-| getValue | 获取文本框值|—|
-| isEditing | 文本框是否处于编辑状态|—|
-| isValid | 文本框值是否有效|—|
-| doRedMark | 文本标红 | — |
-| unRedMark | 取消文本标红| —|
-| doHighLight | 文本高亮 | —|
-| unHighLight | 取消文本高亮 | —|
-| setTitle| 设置title | title|
-| setWarningTitle| 设置错误title | title |
-| setState | 设置文本框值 |—
-| getState | 获取文本框值 | —
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.Editor.EVENT_CHANGE | editor的value发生改变触发 |
-|BI.Editor.EVENT_FOCUS | focus事件 |
-|BI.Editor.EVENT_BLUR | blur事件 |
-|BI.Editor.EVENT_CLICK | 点击编辑框触发(不在编辑状态时) |
-|BI.Editor.EVENT_KEY_DOWN | keyDown时触发 |
-|BI.Editor.EVENT_SPACE | 按下空格触发 |
-|BI.Editor.EVENT_BACKSPACE | 按下Backspace触发 |
-|BI.Editor.EVENT_START | 开始输入触发 |
-|BI.Editor.EVENT_PAUSE | 暂停输入触发(输入空白字符) |
-|BI.Editor.EVENT_STOP | 停止输入触发 |
-|BI.Editor.EVENT_CONFIRM | 确定输入触发(blur时且输入值有效) |
-|BI.Editor.EVENT_VALID | 输入值有效的状态事件 |
-|BI.Editor.EVENT_ERROR | 输入值无效的状态事件 |
-|BI.Editor.EVENT_ENTER | 回车事件 |
-|BI.Editor.EVENT_RESTRICT | 回车但是值不合法 |
-|BI.Editor.EVENT_REMOVE | 输入为空时按下backspace |
-|BI.Editor.EVENT_EMPTY | 输入框为空时触发 |
-
-
-
-
----
-
-
diff --git a/docs/_book/case/editor/state_editor.md b/docs/_book/case/editor/state_editor.md
deleted file mode 100644
index 364a5cc0d0..0000000000
--- a/docs/_book/case/editor/state_editor.md
+++ /dev/null
@@ -1,89 +0,0 @@
-# bi.state_editor
-
-## 记录状态的输入框,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/p68bwkmv/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.state_editor",
- value: "123",
- text: "456",
- width: 300
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | —| 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| validationChecker | 输入较验函数 |function| — | — |
-| quitChecker | 是否允许退出编辑函数 | function |— | — |
-| allowBlank | 是否允许空值 | boolean | true,false | true |
-| watermark | 文本框placeholder | string | —| " " |
-| errorText | 错误提示 | string/function |— | " "|
-| height| 高度| number |— | 30|
-
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setErrorText | 设置错误文本 | text |
-| getErrorText | 获取错误文本 | —|
-| focus | 文本框获取焦点| — |
-| blur | 文本框失焦|—|
-| setValue | 设置文本框值|value|
-| getLastValidValue | 获取文本框最后一次输入的有效值| —|
-| getValue | 获取文本框值|—|
-| isEditing | 文本框是否处于编辑状态|—|
-| isValid | 文本框值是否有效|—|
-| doRedMark | 文本标红 | — |
-| unRedMark | 取消文本标红| —|
-| doHighLight | 文本高亮 | —|
-| unHighLight | 取消文本高亮 | —|
-| setState | 设置文本框值 |—
-| getState | 获取文本框值 | —
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.Editor.EVENT_CHANGE | editor的value发生改变触发 |
-|BI.Editor.EVENT_FOCUS | focus事件 |
-|BI.Editor.EVENT_BLUR | blur事件 |
-|BI.Editor.EVENT_CLICK | 点击编辑框触发(不在编辑状态时) |
-|BI.Editor.EVENT_KEY_DOWN | keyDown时触发 |
-|BI.Editor.EVENT_SPACE | 按下空格触发 |
-|BI.Editor.EVENT_BACKSPACE | 按下Backspace触发 |
-|BI.Editor.EVENT_START | 开始输入触发 |
-|BI.Editor.EVENT_PAUSE | 暂停输入触发(输入空白字符) |
-|BI.Editor.EVENT_STOP | 停止输入触发 |
-|BI.Editor.EVENT_CONFIRM | 确定输入触发(blur时且输入值有效) |
-|BI.Editor.EVENT_VALID | 输入值有效的状态事件 |
-|BI.Editor.EVENT_ERROR | 输入值无效的状态事件 |
-|BI.Editor.EVENT_ENTER | 回车事件 |
-|BI.Editor.EVENT_RESTRICT | 回车但是值不合法 |
-|BI.Editor.EVENT_REMOVE | 输入为空时按下backspace |
-|BI.Editor.EVENT_EMPTY | 输入框为空时触发 |
-
-
-
-
----
-
-
diff --git a/docs/_book/case/layer/layer_panel.md b/docs/_book/case/layer/layer_panel.md
deleted file mode 100644
index 8e34ca2f27..0000000000
--- a/docs/_book/case/layer/layer_panel.md
+++ /dev/null
@@ -1,69 +0,0 @@
-# bi.popup_panel
-
-## 可以理解为MultiPopupView和Panel两个面板的结合体,基类[BI.MultiPopupView](case/layer/multi_popup_layer.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/zhnqvera/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.popup_panel",
- title: "测试",
- width: 300
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| title | 标题 | string | — | " "
-
-
-
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| prependItems | 内部前插入 | items |
-| addItems | 内部后插入 | items |
-| removeItemAt | 移除指定索引处的item | indexs |
-| populate | 刷新列表 | items |
-| setNotSelectedValue| 设置未被选中的值 | value,可以是单个值也可以是个数组|
-| setValue | 设置value值 | value,可以是单个值也可以是个数组 |
-| getNotSelectedValue | 获取没有被选中的值 | —|
-| getValue | 获取被选中的值 |—|
-| getAllButtons | 获取所有button |—|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getSelectedButtons | 获取所有被选中的元素 | —|
-| getNotSelectedButtons | 获取所有未被选中的元素 | —|
-| getIndexByValue | 根据value值获取value在数组中的索引 | value|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-| empty| 清空组件|—|
-| hasPrev| 是否有上一页|—|
-| hasNext | 是否有下一页 | —
-
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.PopupPanel.EVENT_CHANGE | panel的value发生改变触发 |
-| BI.PopupPanel.EVENT_CLOSE | panel的关闭事件
-| BI.PopupPanel.EVENT_CLICK_TOOLBAR_BUTTON | 点击工具栏事件
-
-
-
-
----
-
-
diff --git a/docs/_book/case/layer/multi_popup_layer.md b/docs/_book/case/layer/multi_popup_layer.md
deleted file mode 100644
index dfe6b7f26e..0000000000
--- a/docs/_book/case/layer/multi_popup_layer.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# bi.multi_popup_view
-
-## 下拉框弹出层的多选版本,toolbar带有若干按钮, zIndex在1000w,基类[BI.MultiPopupView](case/layer/multi_popup_layer.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/8of9a7cy/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.multi_popup_view",
- width: 300
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| buttons | 按钮组 |array | — | BI.i18nText("BI-Basic_Sure")
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/layer/pane_list.md b/docs/_book/case/layer/pane_list.md
deleted file mode 100644
index 8b60035a69..0000000000
--- a/docs/_book/case/layer/pane_list.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# bi.list_pane
-
-## list面板,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/7Lv8q9p9/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.list_pane',
- element: "#wrapper",
- cls: "bi-border",
- items: []
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| items | 列表 | array | — | [ ]
-| itemsCreator | 列表创建器| function | — | —
-| hasNext | 是否有下一页 | function | —| —
-| onLoad | 正在加载 | function | —| —
-| el | 开启panel的元素 | object | —|{type: "bi.button_group" }|
-| logic | 布局逻辑 | object |— | { dynamic:true}
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | —| 0 |
-| lgap | 效果相当于容器left-padding值 | number | —| 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-
-
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| prependItems | 内部前插入 | items |
-| addItems | 内部后插入 | items |
-| removeItemAt | 移除指定索引处的item | indexs |
-| populate | 刷新列表 | items |
-| setNotSelectedValue| 设置未被选中的值 | value,可以是单个值也可以是个数组|
-| setValue | 设置value值 | value,可以是单个值也可以是个数组 |
-| getNotSelectedValue | 获取没有被选中的值 | —|
-| getValue | 获取被选中的值 |—|
-| getAllButtons | 获取所有button |—|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getSelectedButtons | 获取所有被选中的元素 | —|
-| getNotSelectedButtons | 获取所有未被选中的元素 | —|
-| getIndexByValue | 根据value值获取value在数组中的索引 | value|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-| empty| 清空组件|—|
-| hasPrev| 是否有上一页|—|
-| hasNext | 是否有下一页 | —
-
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/layer/panel.md b/docs/_book/case/layer/panel.md
deleted file mode 100644
index 4eb7392848..0000000000
--- a/docs/_book/case/layer/panel.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# bi.panel
-
-## 带有标题栏的panel,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/3m1q3857/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.panel",
- title: "标题",
- titleButtons: [{
- type: "bi.button",
- text: "+"
- }],
- el: this.button_group,
- logic: {
- dynamic: true
- }
-});
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| title | 标题 | string | — | " "
-| titleButton | 标题后的按钮组 | array | —| [ ]
-| el | 开启panel的元素 | object | —|{ }|
-| logic | 布局逻辑 | object |— | { dynamic:false}
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setTitle |设置标题| title
-
-
-
-
-
----
-
-
diff --git a/docs/_book/case/list/list.select.md b/docs/_book/case/list/list.select.md
deleted file mode 100644
index 0b8f2aacfc..0000000000
--- a/docs/_book/case/list/list.select.md
+++ /dev/null
@@ -1,59 +0,0 @@
-# bi.select_list
-
-### 选择列表
-
-{% method %}
-[source](https://jsfiddle.net/fineui/c3azpxss/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.select_list",
- items: [{
- text: '1',
- }, {
- text: '2',
- }]
-});
-
-```
-
-{% endmethod %}
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------ | --------------- | -------- | ---------------- |
-| direction | toolbar位置 | string | BI.Direction.Top |
-| onLoaded | 加载完成的回调(测试了无效果) | function | BI.emptyFn |
-| items | 子项 | array | [] |
-| itemsCreator | 元素创造器 | function | BI.emptyFn |
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| --------------------- | ------------- | ------- |
-| setAllSelected | 设置全选 | v: boolean |
-| setToolBarVisible | 设置toolbar是否可见 | b: boolean |
-| isAllSelected | 是否全选中 | — |
-| hasPrev | 是否有上一页 | — |
-| hasNext | 是否有下一页 | — |
-| prependItems | 列表最前添加元素 | items |
-| addItems | 列表最后添加元素 | items |
-| setValue | 设置值 | data |
-| getVlaue | 获得值 | — |
-| empty | 清空 | — |
-| populate | 替换内容 | items |
-| resetHeight | 重新设置高度 | h |
-| setNotSelectedValue | 设置未选中值 | — |
-| getNotSelectedValue | 获取未选中植 | — |
-| getAllButtons | 获得所以根节点 | — |
-| getAllLeaves | 获得所有叶节点 | — |
-| getSelectedButtons | 获取选中的根节点 | — |
-| getNotSelectedButtons | 获取未选中的根节点 | — |
-| getIndexByValue | 根据值获取索引 | value |
-| getNodeById | 根据id获取node | id |
-| getNodeByValue | 根据值获取node | value |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/loader/lazy_loader.md b/docs/_book/case/loader/lazy_loader.md
deleted file mode 100644
index f206e98a9b..0000000000
--- a/docs/_book/case/loader/lazy_loader.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# bi.lazy_loader
-
-### 懒加载loader
-
-{% method %}
-[source](https://jsfiddle.net/fineui/n710yphc/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.lazy_loader",
- width: 100,
- element: 'body',
- items: items,
-});
-
-```
-
-{% endmethod %}
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| --------------------- | ---------- | ----- |
-| addItems | 列表最后添加元素 | items |
-| setValue | 设置值 | data |
-| getVlaue | 获得值 | — |
-| empty | 清空 | — |
-| populate | 替换内容 | items |
-| setNotSelectedValue | 设置未选中值 | — |
-| getNotSelectedValue | 获取未选中植 | — |
-| getAllButtons | 获得所以根节点 | — |
-| getAllLeaves | 获得所有叶节点 | — |
-| getSelectedButtons | 获取选中的根节点 | — |
-| getNotSelectedButtons | 获取未选中的根节点 | — |
-| getIndexByValue | 根据值获取索引 | value |
-| getNodeById | 根据id获取node | id |
-| getNodeByValue | 根据值获取node | value |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/loader/list_loader.md b/docs/_book/case/loader/list_loader.md
deleted file mode 100644
index 35334aadb7..0000000000
--- a/docs/_book/case/loader/list_loader.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# bi.list_loader
-
-### 为解决排序问题引入的控件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/8wa7rvcd/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.list_loader",
- width: 100,
- element: 'body',
- items: items,
-});
-
-```
-
-{% endmethod %}
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------ | ------ | -------- | ---------- |
-| count | 分页计数 | number | false |
-| next | | object | {} |
-| hasNext | 是否有下一页 | function | BI.emptyFn |
-| items | 子项 | array | [] |
-| itemsCreator | 元素创造器 | function | BI.emptyFn |
-| onLoaded | 加载完成回调 | function | BI.emptyFn |
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| --------------------- | ---------- | ----- |
-| hasNext | 是否有下一页 | — |
-| addItems | 列表最后添加元素 | items |
-| setValue | 设置值 | data |
-| getVlaue | 获得值 | — |
-| empty | 清空 | — |
-| populate | 替换内容 | items |
-| resetHeight | 重新设置高度 | h |
-| setNotSelectedValue | 设置未选中值 | — |
-| getNotSelectedValue | 获取未选中植 | — |
-| getAllButtons | 获得所以根节点 | — |
-| getAllLeaves | 获得所有叶节点 | — |
-| getSelectedButtons | 获取选中的根节点 | — |
-| getNotSelectedButtons | 获取未选中的根节点 | — |
-| getIndexByValue | 根据值获取索引 | value |
-| getNodeById | 根据id获取node | id |
-| getNodeByValue | 根据值获取node | value |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/loader/sort_list.md b/docs/_book/case/loader/sort_list.md
deleted file mode 100644
index 572b8f2fcb..0000000000
--- a/docs/_book/case/loader/sort_list.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# bi.sort_list
-
-### 排序列表
-
-{% method %}
-[source](https://jsfiddle.net/fineui/wj68tdvx/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.sort_list",
- width: 100,
- element: 'body',
- items: items,
-});
-
-```
-
-{% endmethod %}
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------ | ------ | -------- | ---------- |
-| count | 分页计数 | number | false |
-| next | | object | {} |
-| hasNext | 是否有下一页 | function | BI.emptyFn |
-| items | 子项 | array | [] |
-| itemsCreator | 元素创造器 | function | BI.emptyFn |
-| onLoaded | 加载完成回调 | function | BI.emptyFn |
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| --------------------- | ---------- | ----- |
-| hasNext | 是否有下一页 | — |
-| addItems | 列表最后添加元素 | items |
-| setValue | 设置值 | data |
-| getVlaue | 获得值 | — |
-| empty | 清空 | — |
-| populate | 替换内容 | items |
-| resetHeight | 重新设置高度 | h |
-| setNotSelectedValue | 设置未选中值 | — |
-| getNotSelectedValue | 获取未选中植 | — |
-| getAllButtons | 获得所以根节点 | — |
-| getAllLeaves | 获得所有叶节点 | — |
-| getSelectedButtons | 获取选中的根节点 | — |
-| getNotSelectedButtons | 获取未选中的根节点 | — |
-| getIndexByValue | 根据值获取索引 | value |
-| getNodeById | 根据id获取node | id |
-| getNodeByValue | 根据值获取node | value |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/pager/all_count_pager.md b/docs/_book/case/pager/all_count_pager.md
deleted file mode 100644
index 88a5807271..0000000000
--- a/docs/_book/case/pager/all_count_pager.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# bi.all_count_pager
-
-### 有总页数和总行数的分页控件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/cmtamo5L/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.all_count_pager',
- height: 30,
- pages: 10, //必选项
- curr: 1,
- count: 1,
-});
-
-```
-
-{% endmethod %}
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------ | ---- | ------ | ---- |
-| height | 控件高度 | number | 30 |
-| pages | 总页数 | number | 1 |
-| curr | 当前页 | number | 1 |
-| count | 总行数 | number | 1 |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| --------------- | -------- | ---------- |
-| setAllPages | 设置总页数 | v |
-| setValue | 设置当前页码 | v |
-| setVPage | 设置当前页码 | v |
-| setCount | 设置计数 | count |
-| getCurrentPage | 获取当前页码 | — |
-| hasPrev | 是否有前一页 | — |
-| hasNext | 是否有后一页 | — |
-| setPagerVisible | 设置页码是否可见 | true/false |
-| populate | 清空内容 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/pager/direction_pager.md b/docs/_book/case/pager/direction_pager.md
deleted file mode 100644
index 636fd69313..0000000000
--- a/docs/_book/case/pager/direction_pager.md
+++ /dev/null
@@ -1,65 +0,0 @@
-# bi.direction_pager
-
-### 显示页码的分页控件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/vyc36s2a/)
-
-{% common %}
-```javascript
-
-var pager = BI.createWidget({
- type: 'bi.direction_pager',
- height: 30,
- horizontal: {
- pages: 10, //必选项
- curr: 1, //初始化当前页, pages为数字时可用,
- firstPage: 1,
- lastPage: 10,
- },
- vertical: {
- pages: 10, //必选项
- curr: 1, //初始化当前页, pages为数字时可用,
- firstPage: 1,
- lastPage: 10,
- },
- element: 'body',
-});
-
-```
-
-{% endmethod %}
-
-### 参数
-
-| 参数 | 二级参数 | 说明 | 类型 | 默认值 |
-| ---------- | --------- | ---------------------- | --------------- | ---------- |
-| height | | 控件高度 | number | 30 |
-| horizontal | | 横向翻页设置 | object | — |
-| | pages | 总页数 | number/boolean | false |
-| | curr | 当前页, pages为数字时可用 | number | 1 |
-| | hasPrev | 判断是否有前一页的方法 | function | BI.emptyFn |
-| | hasNext | 判断是否有后一页的方法 | function | BI.emptyFn |
-| | firstPage | 第一页 | number | 1 |
-| | lastPage | 最后一页 | number/function | BI.emptyFn |
-| vertical | | 纵向翻页设置,参数与horizontal相同 | object | — |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| ---------------- | ---------- | ---- |
-| getVPage | 获取纵向页码 | — |
-| getHPage | 获取水平向页码 | — |
-| setVPage | 获取纵向页码 | v |
-| setHPage | 获取水平向页码 | v |
-| hasVNext | 纵向坐标是否有下一页 | — |
-| hasHNext | 横向坐标是否有下一页 | — |
-| hasVPrev | 纵向坐标是否有上一页 | — |
-| hasHPrev | 横向坐标是否有上一页 | — |
-| setHPagerVisible | 设置横向分页键可见 | — |
-| setVPagerVisible | 设置纵向分页键可见 | — |
-| populate | 清空内容 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/segment.md b/docs/_book/case/segment.md
deleted file mode 100644
index 0a8164faa6..0000000000
--- a/docs/_book/case/segment.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# bi.sgement
-
-## 各种segment
-
-{% method %}
-[source](https://jsfiddle.net/fineui/7skvd64L/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.vertical",
- element: "#wrapper",
- items: [{
- type: "bi.label",
- height: 30,
- text: "默认风格"
- }, {
- type: "bi.segment",
- items: [{
- text: "tab1",
- value: 1,
- selected: true
- }, {
- text: "tab2",
- value: 2
- }, {
- text: "tab3 disabled",
- disabled: true,
- value: 3
- }]
- }],
- hgap: 50,
- vgap: 20
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 10 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 0 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array |— | [ ] |
-| width | 宽度 | number | — | — |
-| height | 高度 | number | — | — |
-
-
----
-
-
diff --git a/docs/_book/case/table/adaptive_table.md b/docs/_book/case/table/adaptive_table.md
deleted file mode 100644
index e107170164..0000000000
--- a/docs/_book/case/table/adaptive_table.md
+++ /dev/null
@@ -1,69 +0,0 @@
-# bi.adaptive_table
-
-### 自适应宽度的表格
-
-{% method %}
-[source](https://jsfiddle.net/fineui/pbgnjeg0/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.adaptive_table",
- element: 'body',
- width: 600,
- height: 500,
- isResizeAdapt: true,
- isNeedResize: true,
- isNeedFreeze: true,
- freezeCols: [0, 1],
- columnSize: [50,50,200,250,400],
- header: [],
- items: [],
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | ------------- | -------------------- | ----------------- |
-| isNeedResize | 是否可改变列大小 | boolean | true |
-| isNeedFreeze | 是否需要冻结表头 | boolean | false |
-| freezeCols | 冻结的列 | array | [] |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeCols | 合并的单元格列号 | array | [] |
-| mergeRule | 合并规则, 默认相等时合并 | function(row1, row2) | 默认row1 = row2 时合并 |
-| columnSize | 单元格宽度集合 | array | [] |
-| minColumnSize | 最小列宽 | array | [] |
-| maxColumnSize | 最大列宽 | array | [] |
-| headerRowSize | 表头高度 | number | 25 |
-| rowSize | 普通单元格高度 | number | 25 |
-| regionColumnSize | 列项间的 | array | [] |
-| header | 表头 | array | [] |
-| items | 子组件 | array | [] |
-| crossHeader | 交叉表头 | array | [] |
-| crossItems | 交叉项 | array | [] |
-
-
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------------------ | ----------- | ------------------ |
-| setWidth | 设置宽度 | width: 宽度 |
-| setHeight | 设置高度 | height: 高度 |
-| setColumnSize | 设置列宽 | columnSize: 列宽数组 |
-| getColumnSize | 得到列宽 | — |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize: 列宽数组 |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop: 纵向滚动距离 |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft: 横向滚动距离 |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft: 横向滚动距离 |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| attr | 设置属性 | key: 键 value: 值 |
-| restore | 存储 | — |
-| populate | 增加项 | items: array |
-| destroy | 摧毁表 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/table/layer_tree_table.md b/docs/_book/case/table/layer_tree_table.md
deleted file mode 100644
index faca563b51..0000000000
--- a/docs/_book/case/table/layer_tree_table.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# bi.layer_tree_table
-
-### 层级树状结构的表格
-
-{% method %}
-[source](https://jsfiddle.net/fineui/pqyuLoay/)
-
-{% common %}
-```javascript
-var table = BI.createWidget({
- type: "bi.layer_tree_table",
- width: 600,
- height: 400,
- columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
- minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
- header: header,
- items: items,
- crossHeader: crossHeader,
- crossItems: crossItems,
- element: 'body',
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ----------------------- | ------------------------ | -------------------- | ----------------- |
-| isNeedResize | 是否需要调整列宽 | boolean | false |
-| isResizeAdapt | 是否需要在调整列宽或区域宽度的时候它们自适应变化 | boolean | true |
-| isNeedFreeze | 是否需要冻结表头 | boolean | false |
-| freezeCols | 冻结的列 | array | [] |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeCols | 合并的单元格列号 | array | [] |
-| mergeRule | 合并规则, 默认相等时合并 | function(row1, row2) | 默认row1 = row2 时合并 |
-| columnSize | 单元格宽度集合 | array | [] |
-| minColumnSize | 最小列宽 | array | [] |
-| maxColumnSize | 最大列宽 | array | [] |
-| headerRowSize | 表头高度 | number | 25 |
-| headerCellStyleGetter | | function | BI.emptyFn |
-| summaryCellStyleGetter | | function | BI.emptyFn |
-| sequenceCellStyleGetter | | function | BI.emptyFn |
-| rowSize | 普通单元格高度 | number | 25 |
-| regionColumnSize | 列项间的 | array | [] |
-| header | 表头 | array | [] |
-| items | 子组件 | array | [] |
-| crossHeader | 交叉表头 | array | [] |
-| crossItems | 交叉项 | array | [] |
-
-
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------------------ | ----------- | ------------------ |
-| setWidth | 设置宽度 | width: 宽度 |
-| setHeight | 设置高度 | height: 高度 |
-| setColumnSize | 设置列宽 | columnSize: 列宽数组 |
-| getColumnSize | 得到列宽 | — |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize: 列宽数组 |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop: 纵向滚动距离 |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft: 横向滚动距离 |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft: 横向滚动距离 |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| attr | 设置属性 | key: 键 value: 值 |
-| restore | 存储 | — |
-| populate | 增加项 | items: array |
-| destroy | 摧毁表 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/table/tree_table.md b/docs/_book/case/table/tree_table.md
deleted file mode 100644
index 5e95b66418..0000000000
--- a/docs/_book/case/table/tree_table.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# bi.tree_table
-
-### 树状结构的表格
-
-{% method %}
-[source](https://jsfiddle.net/fineui/a0m21ozk/)
-
-{% common %}
-```javascript
-var table = BI.createWidget({
- type: "bi.tree_table",
- width: 600,
- height: 400,
- columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
- minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
- header: header,
- items: items,
- crossHeader: crossHeader,
- crossItems: crossItems,
- element: 'body',
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ----------------------- | ------------------------ | -------------------- | ----------------- |
-| isNeedResize | 是否需要调整列宽 | boolean | false |
-| isResizeAdapt | 是否需要在调整列宽或区域宽度的时候它们自适应变化 | boolean | true |
-| isNeedFreeze | 是否需要冻结表头 | boolean | false |
-| freezeCols | 冻结的列 | array | [] |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeCols | 合并的单元格列号 | array | [] |
-| mergeRule | 合并规则, 默认相等时合并 | function(row1, row2) | 默认row1 = row2 时合并 |
-| columnSize | 单元格宽度集合 | array | [] |
-| minColumnSize | 最小列宽 | array | [] |
-| maxColumnSize | 最大列宽 | array | [] |
-| headerRowSize | 表头高度 | number | 25 |
-| headerCellStyleGetter | | function | BI.emptyFn |
-| summaryCellStyleGetter | | function | BI.emptyFn |
-| sequenceCellStyleGetter | | function | BI.emptyFn |
-| rowSize | 普通单元格高度 | number | 25 |
-| regionColumnSize | 列项间的 | array | [] |
-| header | 表头 | array | [] |
-| items | 子组件 | array | [] |
-| crossHeader | 交叉表头 | array | [] |
-| crossItems | 交叉项 | array | [] |
-
-
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------------------ | ----------- | ------------------ |
-| setWidth | 设置宽度 | width: 宽度 |
-| setHeight | 设置高度 | height: 高度 |
-| setColumnSize | 设置列宽 | columnSize: 列宽数组 |
-| getColumnSize | 得到列宽 | — |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize: 列宽数组 |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop: 纵向滚动距离 |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft: 横向滚动距离 |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft: 横向滚动距离 |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| attr | 设置属性 | key: 键 value: 值 |
-| restore | 存储 | — |
-| populate | 增加项 | items: array |
-| destroy | 摧毁表 | — |
-
-------
-
diff --git a/docs/_book/case/tree/branch_relation.md b/docs/_book/case/tree/branch_relation.md
deleted file mode 100644
index 7976786946..0000000000
--- a/docs/_book/case/tree/branch_relation.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# bi.branch_relation
-
-### 表关联树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/z5hLcruk/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.branch_relation",
- element: 'body',
- items: [],
- direction: BI.Direction.Right,
- align: BI.HorizontalAlign.Right,
- centerOffset: -50
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------ | ------- | ------ | -------------------- |
-| centerOffset | 重心偏移量 | number | 0 |
-| direction | 根节点所在方向 | string | BI.Direction.Bottom |
-| align | 对齐方向 | string | BI.VerticalAlign.Top |
-| items | 元素 | array | null |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ---- | ----------- |
-| populate | 去掉所有内容 | items: 子项数组 |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/tree/branch_tree.md b/docs/_book/case/tree/branch_tree.md
deleted file mode 100644
index 76e1837051..0000000000
--- a/docs/_book/case/tree/branch_tree.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# bi.branch_tree
-### 横向分支的树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/mLq3e170/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.branch_tree",
- element: 'body',
- items: [{
- el: {},
- children: [{
- el: {},
- children: {},
- // ...
- }]
- }]
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| -------- | -------------------- | ------ | ---- |
-| expander | branch_expander组件配置项 | object | {} |
-| el | 基础元素 | object | {} |
-| items | 子项 | array | [] |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ------ | ---- |
-| populate | 去掉所有内容 | — |
-| getValue | 获取所选项值 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/tree/display_tree.md b/docs/_book/case/tree/display_tree.md
deleted file mode 100644
index 4a2c831057..0000000000
--- a/docs/_book/case/tree/display_tree.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# bi.display_tree
-
-### 树展示控件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/cfL6fpa1/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.display_tree",
- element: 'body',
-});
-
-tree.initTree({
- id: 1,
- text: '',
- open: true,
-});
-```
-
-{% endmethod %}
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ------ | ---- |
-| initTree | 加载tree结构 | node: 节点数组 settings: 配置项 |
-| destroy | 摧毁元素 | — |
-
-------
-
diff --git a/docs/_book/case/tree/handstand_branch_tree.md b/docs/_book/case/tree/handstand_branch_tree.md
deleted file mode 100644
index bac0a81eb9..0000000000
--- a/docs/_book/case/tree/handstand_branch_tree.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# bi.handstand_branch_tree
-### 纵向分支的树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/c2kaoc7x/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.handstand_branch_tree",
- element: 'body',
- el: {},
- items: [{
- el: {},
- children: [{
- el: {},
- children: {},
- // ...
- }]
- }]
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| -------- | -------------------- | ------ | ---- |
-| expander | branch_expander组件配置项 | object | {} |
-| el | 基础元素 | object | {} |
-| items | 子项 | array | [] |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ------ | ---- |
-| populate | 去掉所有内容 | — |
-| getValue | 获取所选项值 | — |
-
-------
-
diff --git a/docs/_book/case/tree/level_tree.md b/docs/_book/case/tree/level_tree.md
deleted file mode 100644
index e444f27e78..0000000000
--- a/docs/_book/case/tree/level_tree.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# bi.level_tree
-
-### 二级树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/nvvkwhfo/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.level_tree",
- element: 'body',
- items: [],
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| -------- | ----------------- | ------ | ---- |
-| expander | branch_expander配置 | object | {} |
-| items | 元素 | array | [] |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------------- | -------- | ----------- |
-| initTree | 构造树结构 | nodes |
-| stroke | 生成树方法 | nodes |
-| populate | 去掉所有内容 | items: 子项数组 |
-| setValue | 设置值 | v |
-| getValue | 获得值 | — |
-| getAllLeaves | 获取所有叶节点 | — |
-| getNodeById | 根据Id获取节点 | id |
-| getNodeByValue | 根据值获取节点 | id |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/tree/simple_tree.md b/docs/_book/case/tree/simple_tree.md
deleted file mode 100644
index 35d8a5308a..0000000000
--- a/docs/_book/case/tree/simple_tree.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# bi.simple_tree
-
-### 简单的多选树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/5qtobqxb/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.simple_tree",
- element: 'body',
-});
-
-tree.populate(items);
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------ | -------- | -------- | ---------- |
-| itemsCreator | items构造器 | function | BI.emptyFn |
-| items | 元素 | array | null |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ---- | ------------------------------ |
-| populate | 去掉所有内容 | items: 子项数组 keywords: 关键字标红字符串 |
-| setValue | 设置值 | v |
-| getValue | 获得值 | — |
-| empty | 清空树 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/case/trigger/editor_trigger.md b/docs/_book/case/trigger/editor_trigger.md
deleted file mode 100644
index a7c163ccb7..0000000000
--- a/docs/_book/case/trigger/editor_trigger.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# bi.editor_trigger
-
-### 文本输入框trigger
-
-{% method %}
-[source](https://jsfiddle.net/fineui/8ttm4g1u/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.editor_trigger",
- element: "body",
-});
-
-```
-
-{% endmethod %}
-
-
-
-### 参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ----------------- | ------- | -------- | ---------- |
-| validationChecker | 验证函数 | function | BI.emptyFn |
-| quitChecker | 退出时验证函数 | function | BI.emptyFn |
-| allowBlank | 是否允许为空 | boolean | false |
-| watermark | 水印 | string | "" |
-| errorText | 错误信息 | string | "" |
-| triggerWidth | 触发器宽度 | number | 30 |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ---- | ----- |
-| setValue | 设置值 | value |
-| getVlaue | 获得值 | — |
-| setText | | text |
-
-------
-
diff --git a/docs/_book/case/trigger/icon_trigger.md b/docs/_book/case/trigger/icon_trigger.md
deleted file mode 100644
index e61f8cf77f..0000000000
--- a/docs/_book/case/trigger/icon_trigger.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# bi.icon_trigger
-
-### 图标按钮trigger
-
-{% method %}
-[source](https://jsfiddle.net/fineui/qs44h1xy/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.icon_trigger",
- element: "body",
-});
-
-```
-
-{% endmethod %}
-
-------
-
diff --git a/docs/_book/case/trigger/text_trigger.md b/docs/_book/case/trigger/text_trigger.md
deleted file mode 100644
index 078cb6b7bb..0000000000
--- a/docs/_book/case/trigger/text_trigger.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# bi.text_trigger
-
-### 文本输入框trigger
-
-{% method %}
-[source](https://jsfiddle.net/fineui/6pz5pjp6/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.editor_trigger",
- element: "body",
-});
-
-```
-
-{% endmethod %}
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ---- | ----- |
-| setValue | 设置值 | value |
-| getVlaue | 获得值 | — |
-
-------
-
diff --git a/docs/_book/core/abstract/button_group.md b/docs/_book/core/abstract/button_group.md
deleted file mode 100644
index d79e75d18d..0000000000
--- a/docs/_book/core/abstract/button_group.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# bi.button_group
-
-## 一组具有相同属性的元素集合,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/te0nLap1/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.button_group",
- chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
- layouts: [{
- type: "bi.vertical"
- }],
- items: [{
- el: {
- type: "bi.label",
- text: "button_group"
- },
- height: 50,
- }]
-})
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-###### chooseType可选值为 CHOOSE_TYPE_SINGLE,CHOOSE_TYPE_MULTI,CHOOSE_TYPE_ALL,CHOOSE_TYPE_NONE,CHOOSE_TYPE_DEFAULT
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| behaviors | 自定义列表中item项的行为,如高亮,标红等 |object | — |{ }|
-| items | 子组件数组 | array | — | [ ] |
-| chooseType | 选择类型 | const | 见上| BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
-| layouts | 布局 | array | — | [{type: "bi.center",hgap: 0,vgap: 0}] |
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| doBehavior | 自定义列表中item项的行为,如高亮,标红等 | — |
-| prependItems | 内部前插入 | items |
-| addItems | 内部后插入 | items |
-| removeItemAt | 移除指定索引处的item | indexs |
-| removeItems | 移除制定元素 | values |
-| populate | 刷新列表 | items |
-| setNotSelectedValue| 设置未被选中的值 | value,可以是单个值也可以是个数组|
-| setEnabledValue | 设置value值可用| value,可以是单个值也可以是个数组 |
-| setValue | 设置value值 | value,可以是单个值也可以是个数组 |
-| getNotSelectedValue | 获取没有被选中的值 | —|
-| getValue | 获取被选中的值 |—|
-| getAllButtons | 获取所有button |—|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getSelectedButtons | 获取所有被选中的元素 | —|
-| getNotSelectedButtons | 获取所有未被选中的元素 | —|
-| getIndexByValue | 根据value值获取value在数组中的索引 | value|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-
-
----
-
-
diff --git a/docs/_book/core/abstract/button_tree.md b/docs/_book/core/abstract/button_tree.md
deleted file mode 100644
index 0e3cf8eb6f..0000000000
--- a/docs/_book/core/abstract/button_tree.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# bi.button_tree
-
-## 一组具有相同属性的元素集合,基类[BI.ButtonGroup](/core/abstract/button_group.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/pgwpw4n9/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.button_tree",
- chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
- layouts: [{
- type: "bi.vertical"
- }],
- items: [{
- type: "bi.label",
- text: "0",
- value: "label1",
- height:50,
- vgap:10
- }]
-})
-```
-
-{% endmethod %}
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setNotSelectedValue| 设置未被选中的值 | value,可以是单个值也可以是个数组|
-| setEnabledValue | 设置value值可用| value,可以是单个值也可以是个数组 |
-| setValue | 设置value值 | value,可以是单个值也可以是个数组 |
-| getNotSelectedValue | 获取没有被选中的值 | —|
-| getValue | 获取被选中的值 |—|
-| getAllButtons | 获取所有button |—|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getSelectedButtons | 获取所有被选中的元素 | —|
-| getNotSelectedButtons | 获取所有未被选中的元素 | —|
-| getIndexByValue | 根据value值获取value在数组中的索引 | value|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-
-
-
----
-
-
diff --git a/docs/_book/core/abstract/collection_view.md b/docs/_book/core/abstract/collection_view.md
deleted file mode 100644
index d6bc366667..0000000000
--- a/docs/_book/core/abstract/collection_view.md
+++ /dev/null
@@ -1,71 +0,0 @@
-# bi.collection_view
-
-## CollectionView,指定行列可以删除看不见的元素 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/cmq0b3v0/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.collection_view",
- element:"#wrapper",
- width: 400,
- height: 300,
- items: [],
- cellSizeAndPositionGetter: function (index) {
- return {
- x: index % 10 * 50,
- y: Math.floor(index / 10) * 50,
- width: 50,
- height: 50
- }
- }
-});
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| items | 子组件数组 | array | — | [ ] |
-| overflowX | 是否显示横向滚动条| boolean | true,false | true |
-| overflowY | 是否显示纵向滚动条 | boolean | true,false | true |
-| cellSizeAndPositionGetter | 设置每个单元格的位置坐标和宽高 | function|— | — |
-| horizontalOverscanSize | 横向超出可视范围区域预加载的数量 | number | — | 0 |
-| verticalOverscanSize | 纵向超出可视范围区域预加载的数量 | number | — | 0 |
-| width | 行宽,必设 |number| — | — |
-| height | 列宽,必设 | number | —| — |
-| scrollLeft | 滚动条相对于左边的偏移 | number | — | 0 |
-| scrollTop | 滚动条相对于顶部的偏移 | number | — | 0 |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setScrollLeft | 设置滚动条相对于左边的偏移 | scrollLeft|
-| setScrollTop | 设置滚动条相对于顶部的偏移 | scrollTop |
-| setOverflowX | 设置是否显示横向滚动条 | b |
-| setOverflowY | 设置是否显示横向滚动条 | b|
-| getScrollLeft | 获取滚动条相对于左边的偏移 | —|
-| getScrollTop | 获取滚动条相对于顶部的偏移 | — |
-| getMaxScrollLeft | 获取滚动条相对于左边的最大偏移 | — |
-| getMaxScrollTop | 获取滚动条相对于顶部的最大偏移 |—|
-| restore | 还原列表设置 | — |
-| populate | 刷新列表 | items |
-
-
-## 事件
-| 事件 | 说明 | 回调参数 |
-| :------ |:------------- |:------------------------|
-|BI.CollectionView.EVENT_SCROLL| 滚动时触发的事件 | {scrollLeft: scrollLeft, scrollTop: scrollTop} |
-
----
-
-
diff --git a/docs/_book/core/abstract/custom_tree.md b/docs/_book/core/abstract/custom_tree.md
deleted file mode 100644
index 451cb84665..0000000000
--- a/docs/_book/core/abstract/custom_tree.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# bi.custom_tree
-
-## 自定义树,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/gesh31xg/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.custom_tree",
- el: {
- type: "bi.button_tree",
- chooseType: 0,
- layouts: [{
- type: "bi.vertical",
- hgap: 30
- }]
- },
- items: [{
- id: -1,
- pId: -2,
- value: "根目录",
- open: true,
- type: "bi.plus_group_node",
- height: 25
- },
- {
- id: 1,
- pId: -1,
- value: "第一级目录1",
- type: "bi.plus_group_node",
- height: 25
- },
- {
- id: 11,
- pId: 1,
- value: "第二级文件1",
- type: "bi.single_select_item",
- height: 25
- }]
-});
-
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| items | 子组件数组 | array | — | [ ] |
-| itemsCreator| 子组件构造器 | object | — | { } |
-| expander | popup组件 | object | — | {el: {},popup: {type: "bi.custom_tree"}}|
-| el | 开启popup元素 | object | — | {type: "bi.button_tree",chooseType: 0,layouts: [{type: "bi.vertical"}]}|
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| initTree | 构造树结构 | nodes |
-| stroke | 生成树方法 | nodes |
-| prependItems | 内部前插入 | items |
-| addItems | 内部后插入 | items |
-| populate | 刷新列表 | nodes|
-| render | 渲染列表 | — |
-| setValue | 设置value值 | value,可以是单个值也可以是个数组 |
-| getValue | 获取被选中的值 |—|
-| getAllButtons | 获取所有button |—|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-| empty| 清空组件|—|
-
-
-
----
-
-
diff --git a/docs/_book/core/abstract/grid_view.md b/docs/_book/core/abstract/grid_view.md
deleted file mode 100644
index c0b6b94b9a..0000000000
--- a/docs/_book/core/abstract/grid_view.md
+++ /dev/null
@@ -1,78 +0,0 @@
-# bi.grid_view
-
-## 可以合并单元格,指定行列可以删除看不见的元素,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/fkntzLq5/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.grid_view",
- width: 400,
- height: 300,
- estimatedRowSize: 30,
- estimatedColumnSize: 100,
- items: [],
- scrollTop: 100,
- rowHeightGetter: function () {
- return 30;
- },
- columnWidthGetter: function () {
- return 100;
- }
-});
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| items | 子组件数组 | array | — | [ ] |
-| overflowX | 是否显示横向滚动条| boolean | true,false | true |
-| overflowY | 是否显示纵向滚动条 | boolean | true,false | true |
-| overscanColumnCount| 超出可视范围区域预加载多少列 | number|— | 0 |
-| overscanRowCount| 超出可视范围区域预加载多少行 | number | — | 0 |
-| width | 行宽,必设 |number| — | — |
-| height | 列宽,必设 | number | —| — |
-| rowHeightGetter| 每格行宽 |number,function | —| function |
-| columnWidthGetter| 每格列宽 | number,function |— | function |
-| estimatedColumnSize| 预估行宽,columnWidthGetter为function时必设 |number,function |— | function |
-| estimatedRowSize | 预估列宽,rowHeightGetter为function时必设 | number,function | —| function |
-| scrollLeft | 滚动条相对于左边的偏移 | number | — | 0 |
-| scrollTop | 滚动条相对于顶部的偏移 | number | —|0 |
-
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setScrollLeft | 设置滚动条相对于左边的偏移 | scrollLeft|
-| setScrollTop | 设置滚动条相对于顶部的偏移 | scrollTop |
-| setOverflowX | 设置是否显示横向滚动条 | b |
-| setOverflowY | 设置是否显示横向滚动条 | b|
-| getScrollLeft | 获取滚动条相对于左边的偏移 | —|
-| getScrollTop | 获取滚动条相对于顶部的偏移 | — |
-| getMaxScrollLeft | 获取滚动条相对于左边的最大偏移 | — |
-| getMaxScrollTop | 获取滚动条相对于顶部的最大偏移 |—|
-| setEstimatedColumnSize | 设置列宽 |width|
-| setEstimatedRowSize | 设置行宽 | height |
-| restore | 还原列表设置 | — |
-| populate | 刷新列表 | items |
-
-## 事件
-| 事件 | 说明 | 回调参数
-| :------ |:------------- |:----------|
-|BI.GridView.EVENT_SCROLL| 滚动时触发的事件 | {scrollLeft: scrollLeft, scrollTop: scrollTop} |
-
-
----
-
-
diff --git a/docs/_book/core/abstract/virtual_group.md b/docs/_book/core/abstract/virtual_group.md
deleted file mode 100644
index 5cbcf431c7..0000000000
--- a/docs/_book/core/abstract/virtual_group.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# bi.virtual_group
-
-## 优化过的buttonGroup,删除看不见的元素 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/9pd0dct0/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.virtual_group",
- width: 500,
- height: 300,
- chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
- layouts: [{
- type: "bi.vertical"
- }, {
- type: "bi.center_adapt",
- }],
- items:[]
-})
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| items | 子组件数组 | array | — | [ ] |
-| layouts | 布局 | array | — | [{type: "bi.center",hgap: 0,vgap: 0}] |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setValue | 设置value值 | value,可以是单个值也可以是个数组 |
-| getValue | 获取被选中的值 |—|
-| prependItems | 内部前插入 | items |
-| addItems | 内部后插入 | items |
-| populate | 刷新列表 | items |
-| render | 渲染列表 | —|
-
-
-
----
-
-
diff --git a/docs/_book/core/abstract/virtual_list.md b/docs/_book/core/abstract/virtual_list.md
deleted file mode 100644
index b462e46c4a..0000000000
--- a/docs/_book/core/abstract/virtual_list.md
+++ /dev/null
@@ -1,52 +0,0 @@
-# bi.virtual_list
-
-## 看不见的元素全部删除的list,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/L995LrL9/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.virtual_list",
- element:"body",
- items: BI.map([{value: "xxxx"}], function (i, item) {
- return BI.extend({}, item, {
- type: "bi.label",
- height: 30,
- text: (i + 1) + "." + item.text,
- });
- })
- })
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| items | 子组件数组 | array | — | [ ] |
-| blockSize | 滚动加载的个数 | number | — | 10 |
-| overscanHeight | 超出可视范围区域的高度 | number | — | 100 |
-| scrollTop | 滚动条相对于顶部的偏移 | number | — | 0 |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| render | 渲染列表 | —|
-| mounted | 组件挂载 | —|
-| restore | 还原列表设置 | — |
-| populate | 刷新列表 | items |
-| destroyed | 销毁组件 | —|
-
-
-
----
-
-
diff --git a/docs/_book/core/basic_button.md b/docs/_book/core/basic_button.md
deleted file mode 100644
index d30a821609..0000000000
--- a/docs/_book/core/basic_button.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# bi.basic_button
-
-## 一般的button父级,基类[BI.Single](/core/single.md)
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| value | 组件value值 | string | —| null|
-| stopEvent | 阻止事件 |boolean | true,false | false |
-| stopPropagation | 阻止冒泡 | boolean | true,false| false |
-| selected | button的选中状态 | boolean | true,false |false |
-| once | 点击一次选中有效,再点无效 | boolean | true,false | false|
-| forceSelected | 点击即选中, 选中了就不会被取消,与once的区别是forceSelected不影响事件的触发| boolean | true,false| false|
-| forceNotSelected | 无论怎么点击都不会被选中 | boolean| true,false | false|
-| disableSelected | 使能选中| boolean | true,false| false|
-| shadow | 是否显示阴影 | boolean| true,false| false|
-| isShadowShowingOnSelected| 选中状态下是否显示阴影|boolean| true,false | false|
-| trigger | 被选元素要触发的事件 | string | mousedown, mouseup, click, dblclick, lclick | null|
-| handler | 点击事件回调 | function | —| BI.emptyFn |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| bindEvent | 绑定事件| —|
-| beforeClick | 点击事件之前 | —|
-| doClick | 点击事件 | — |
-| handle | 返回该对象 | —|
-| hover | hover事件| —|
-| dishover | 取消hover事件| —|
-|setSelected | 设置选中的文本| b|
-| isSelected | 是否被选中| —|
-| isOnce | 是否只允许点击一次| —|
-| isForceSelected| 判断是否点击即选中| —|
-| isForceNotSelected| 判断是否怎么点击都不会被选中|—|
-| isDisableSelected| 判断是否让选中|—|
-| setText| 设置文本值|—|
-| getText| 获取文本值|—|
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-
-
----
-
-
diff --git a/docs/_book/core/combination/bi.combo.md b/docs/_book/core/combination/bi.combo.md
deleted file mode 100644
index 94c8b78246..0000000000
--- a/docs/_book/core/combination/bi.combo.md
+++ /dev/null
@@ -1,88 +0,0 @@
-# bi.combo
-
-## combo,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/wxykkjou/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.combo",
- element: "body",
- adjustLength: 2,
- el: {
- type: "bi.button",
- text: "测试",
- height: 25
- },
- popup: {}
-});
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| el | 自定义下拉框trigger | object | — |{ }|
-| trigger | 下拉列表的弹出方式 | string | click,hover | "click" |
-| adjustLength | 弹出列表和trigger的距离 | number | — | 0 |
-| toggle | 切换状态 | boolean | true,false | true |
-| direction | 弹出列表和trigger的位置关系 | string | top | bottom | left | right | top,left | top,right | bottom,left | bottom,right | "bottom"|
-| isDefaultInit | 是否默认初始化子节点 |boolean | true,false | false |
-| destroyWhenHide | 隐藏弹窗层是否销毁 | boolean | true,false | false |
-| isNeedAdjustHeight | 是否需要高度调整 | boolean | true,false | true |
-| isNeedAdjustWidth | 是否需要宽度调整 | boolean | true,false | true |
-| stopEvent | 是否阻止事件 | boolean | true,false | false |
-| stopPropagation | 阻止事件冒泡 | boolean | true,false | false |
-| adjustXOffset | 调整横向偏移 | number | — | 0 |
-| adjustYOffset |调整纵向偏移 | number | — | 0 |
-| hideChecker | 是否隐藏弹出层检测 | function | — | —|
-| offsetStyle | 弹出层显示位置 | string | left,right,center | "left,right,center"|
-| popup | 弹出层 | object | — | { }|
-| comboClass | combo类 | string | — | "bi-combo-popup" |
-| hoverClass | hover类 | string | — | "bi-combo-hover" |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| adjustWidth | 调整宽度 | —|
-| adjustHeight | 调整高度 | —|
-| resetListHeight | 重置列表高度 | height |
-| resetListWidth | 重置列表宽度 | width |
-| populate | 刷新列表 | items |
-| setValue |设置combo value值| v |
-| getValue | 获取combo value值 | —|
-| isViewVisible | 弹窗层是否可见 | —|
-| showView | 显示弹出层 | —|
-| hideView | 隐藏弹出层 |—|
-| getView | 获取弹出层 | —|
-| getPopupPosition | 获取弹出层的位置 | —|
-| toggle | 开启或者隐藏弹出层 | —|
-| destroy | 销毁组件 | —|
-
-## 事件
-| 名称 | 说明 |
-| :------ |:------------- |
-|BI.Combo.EVENT_TRIGGER_CHANGE | trigger发生改变触发 |
-|BI.Combo.EVENT_CHANGE | 弹出层点击触发 |
-|BI.Combo.EVENT_EXPAND | 下拉框展开触发 |
-|BI.Combo.EVENT_COLLAPSE | 下拉框收起触发
-|BI.Combo.EVENT_AFTER_INIT | 下拉框初始化后触发 |
-|BI.Combo.EVENT_BEFORE_POPUPVIEW | 下拉列表弹出前触发 |
-|BI.Combo.EVENT_AFTER_POPUPVIEW | 下拉列表弹出后触发 |
-|BI.Combo.EVENT_BEFORE_HIDEVIEW | 下拉列表收起前触发 |
-|BI.Combo.EVENT_AFTER_HIDEVIEW | 下拉列表收起后触发 |
-
-
----
-
-
diff --git a/docs/_book/core/combination/bi.expander.md b/docs/_book/core/combination/bi.expander.md
deleted file mode 100644
index b5d6ab3826..0000000000
--- a/docs/_book/core/combination/bi.expander.md
+++ /dev/null
@@ -1,88 +0,0 @@
-# bi.expander
-
-## 某个可以展开的节点,基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/2xavqk4k/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.expander",
- element: "#wrapper",
- el: {
- type: "bi.icon_text_node",
- cls: "pull-right-ha-font",
- height: 25,
- text: "Expander"
- },
- popup: {
- items: [{
- type: "bi.single_select_item",
- height: 25,
- text: "项目1",
- value: 1
- }, {
- type: "bi.single_select_item",
- height: 25,
- text: "项目2",
- value: 2
- }]
- }
-});
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| el | 自定义下拉框trigger | object | — |{ }|
-| trigger | 下拉列表的弹出方式 | string | click,hover | "click" |
-| adjustLength | 弹出列表和trigger的距离 | number | — | 0 |
-| toggle | 切换状态 | boolean | true,false | true |
-| direction | 弹出列表和trigger的位置关系 | string | top | bottom | left | right | top,left | top,right | bottom,left | bottom,right | "bottom"|
-| isDefaultInit | 是否默认初始化子节点 |boolean | true,false | false |
-| popup | 弹出层 | object | — | { }|
-| expanderClass | 展开类 | string | —| "bi-expander-popup" |
-| hoverClass | hover类| string | — | "bi-expander-hover" |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| populate | 刷新列表 | items |
-| setValue | 设置combo value值| v |
-| getValue | 获取combo value值 | —|
-| isViewVisible | 弹窗层是否可见 | —|
-| showView | 显示弹出层| —|
-| hideView | 隐藏弹出层| —|
-| getView | 获取弹出层| —|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-| isExpanded | 节点是否展开 | — |
-| destroy | 销毁组件| — |
-
-## 事件
-| 名称 | 说明 |
-| :------ |:------------- |
-|BI.Expander.EVENT_TRIGGER_CHANGE | trigger发生改变触发 |
-|BI.Expander.EVENT_CHANGE | 弹出层点击触发 |
-|BI.Expander.EVENT_EXPAND | Expander展开触发 |
-|BI.Expander.EVENT_COLLAPSE | Expander收起触发
-|BI.Expander.EVENT_AFTER_INIT | Expander初始化后触发 |
-|BI.Expander.EVENT_BEFORE_POPUPVIEW | 下拉列表弹出前触发 |
-|BI.Expander.EVENT_AFTER_POPUPVIEW | 下拉列表弹出后触发 |
-|BI.Expander.EVENT_BEFORE_HIDEVIEW | 下拉列表收起前触发 |
-|BI.Expander.EVENT_AFTER_HIDEVIEW | 下拉列表收起后触发 |
-
----
-
-
diff --git a/docs/_book/core/combination/group_combo.md b/docs/_book/core/combination/group_combo.md
deleted file mode 100644
index d9dc8ab73b..0000000000
--- a/docs/_book/core/combination/group_combo.md
+++ /dev/null
@@ -1,64 +0,0 @@
-# bi.combo_group
-
-## 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/x32ue8xv/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- 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
- }]
-});
-
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| childern | 子组件 | array | — | [ ] |
-| popup | 弹出层 | object | — |{el: {type: "bi.button_tree",chooseType: 0,layouts: [{type: "bi.vertical"}]}}|
-| isDefaultInit | 是否默认初始化子节点 |boolean | true,false | false |
-| isNeedAdjustHeight | 是否需要高度调整 | boolean | true,false | false |
-| isNeedAdjustWidth | 是否需要宽度调整 | boolean | true,false | false |
-| el | 自定义下拉框trigger | object | — |{type: "bi.text_button", text: "", value: ""}|
-| trigger | 下拉列表的弹出方式 | string | click,hover | "click" |
-| adjustLength | 弹出列表和trigger的距离 | number | — | 0 |
-| direction | 弹出列表和trigger的位置关系 | string | top | bottom | left | right | top,left | top,right | bottom,left | bottom,right | "bottom"|
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| populate | 刷新列表 | items |
-| setValue | 设置combo value值| v |
-| getValue | 获取combo value值 | — |
-
-
-
----
-
-
diff --git a/docs/_book/core/combination/loader.md b/docs/_book/core/combination/loader.md
deleted file mode 100644
index 47a4061052..0000000000
--- a/docs/_book/core/combination/loader.md
+++ /dev/null
@@ -1,83 +0,0 @@
-# bi.loader
-
-## 加载控件,[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/qgLtctnx/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.loader",
- itemsCreator: function(options, populate) {
- populate(BI.map(BI.map(BI.makeArray(3, null), function(idx, value){
- return {
- text: faker.name.findName(),
- value: BI.UUID()
- };
- }), function(i, v) {
- return BI.extend(v, {
- type: "bi.single_select_item",
- height: 25
- })
- }))
- },
- hasNext: function(option) {
- return option.count < 10;
- }
-});
-
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| direction | combo弹出层位置 | string | top,bottom,left,right,(top,left),(top,right),(bottom,left),(bottom,right) | "top"|
-| isDefaultInit | 是否默认初始化子数据 |boolean | true,false | true |
-| logic | 布局逻辑 | object | —| {dynamic:true,scrolly:true} |
-| items| 子组件 | array | — | []|
-| itemsCreator | 子组件构造器 | function | — | — |
-| onLoaded | 加载中 | function | — | — |
-| count | 是否显示总页数 | boolean| true,false|boolean|
-| prev | 上一页 | boolean | true,false | boolean |
-| next | 下一页 | boolean | true,false | boolean |
-| hasPrev | 判断是否有上一页 | function | — | — |
-| hasNext | 判断是否有下一页 | function | — | — |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| hasNext | 判断是否有下一页 | — |
-| prependItems | 内部前插入 | items |
-| addItems | 内部后插入 | items |
-| populate | 刷新列表 | items |
-| setNotSelectedValue| 设置未被选中的值 | value,可以是单个值也可以是个数组|
-| setValue | 设置value值 | value,可以是单个值也可以是个数组 |
-| getNotSelectedValue | 获取没有被选中的值 | —|
-| getValue | 获取被选中的值 |—|
-| getAllButtons | 获取所有button |—|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getSelectedButtons | 获取所有被选中的元素 | —|
-| getNotSelectedButtons | 获取所有未被选中的元素 | —|
-| getIndexByValue | 根据value值获取value在数组中的索引 | value|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-
-
-
----
-
-
diff --git a/docs/_book/core/combination/navigation.md b/docs/_book/core/combination/navigation.md
deleted file mode 100644
index ca3e11e2b0..0000000000
--- a/docs/_book/core/combination/navigation.md
+++ /dev/null
@@ -1,78 +0,0 @@
-# bi.navigation
-
-## 导航栏控件,[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ubsren48/)
-
-{% common %}
-```javascript
-
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.navigation",
- tab: {
- height: 30,
- items: [{
- once: false,
- text: "后退",
- value: -1
- }, {
- once: false,
- text: "前进",
- value: 1
- }]
- },
- cardCreator: function(v) {
- return BI.createWidget({
- type: "bi.label",
- cls: "layout-bg" + BI.random(1, 8),
- text: "第" + v + "页"
- })
- }
-})
-
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| direction | 控件位置 | string | top,bottom,left,right,custom | "bottom"|
-| single | 是否为单页 | boolean | true,false | true |
-| defaultShowIndex | 是否默认显示 |boolean | true,false | true |
-| tab | tab页元素 | boolean | true,false | true |
-| logic | 布局逻辑 | object | — | {dynamic:true} |
-| cardCreator | 面板构造器 | function | — | v |
-| afterCardCreated | 面板构造之后 | function | — | — |
-| afterCardShow | 面板显示之后 | function | —| — |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| render | 渲染组件 | — |
-| mounted | 挂载组件 | —|
-| afterCardCreated | 创建卡导航页页之后 | v |
-| afterCardShow | 导航页展示之后 | v |
-| setSelect | 设置选中的index | v |
-| getSelect | 获取选中的index| —|
-| getSelectedCard | 获取选中的导航页| —|
-| populate | 刷新列表 | items |
-| setValue | 设置value值 | value |
-| getValue | 获取被选中的值 |—|
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-
-
-
----
-
-
diff --git a/docs/_book/core/combination/searcher.md b/docs/_book/core/combination/searcher.md
deleted file mode 100644
index a7e26cb46b..0000000000
--- a/docs/_book/core/combination/searcher.md
+++ /dev/null
@@ -1,102 +0,0 @@
-# bi.searcher
-
-## 搜索逻辑控件,[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/k6s24et1/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.searcher",
- element:"#wrapper",
- adapter: {
- getItems: function () {
- return [{
- type: "bi.label",
- value: "张三"
- }]
- }
- },
- popup: {
- type: "bi.button_group",
- cls: "bi-border",
- items: items,
- layouts: [{
- type: "bi.vertical"
- }],
- },
- masker: false
- })
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于容器左右padding值 | number | —| 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | —| 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | —| 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | —| 0 |
-| chooseType | 选择类型 | const | | CHOOSE_TYPE_SINGLE |
-| isDefaultInit | 是否默认初始化子节点 |boolean | true,false | false |
-| isAutoSearch | 是否自动搜索 |boolean | true,false | true |
-| isAutoSync | 是否自动同步数据, 即是否保持搜索面板和adapter面板状态值的统一 |boolean | true,false | true |
-| onSearch | isAutoSearch为false时启用 | function(op.callback) | — | —|
-| el | 开启弹出层的元素 | object | — | {type: "bi.search_editor"}|
-| popup | 弹出层 | object | — |{type: "bi.searcher_view"}|
-| adapter | 弹出层显示的位置元素 | object | —| null|
-| masker | masker层 | object | — | {offset: {}}|
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| populate | 刷新列表 | result, searchResult, keyword |
-| setValue | 设置value值 | value |
-| getValue | 获取被选中的值 |—|
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-| adapter | 搜索列表位置 | — |
-| doSearch | 开始搜索 | — |
-| stopSearch | 停止搜索 | —|
-| isSearching | 是否正在搜索 | —|
-| isViewVisible | 组件是否可见 | —|
-| getView | 获取搜索列表栏 | —|
-| hasMatched | 是否匹配 | —|
-| adjustHeight | 调整高度 | —|
-| adjustView| 调整搜索列表栏| —|
-| getKeyword | 获取搜索关键词| —|
-| getKeywords | 获取搜索关键词数组| —|
-
-
-## 事件方法
-
-| 事件名称| 说明| 回调参数 |
-| :------ |:------------- | :-----
-| EVENT_START | 开始搜索 | —|
-| EVENT_STOP | 停止搜索 | —|
-| EVENT_PAUSE | 暂停搜索 | —|
-| EVENT_SEARCHING | 搜索中| —|
-| EVENT_AFTER_INIT | 初始化之后 | —|
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.Searcher.EVENT_CHANGE | 搜索结果面板发生改变触发 |
-|BI.Searcher.EVENT_START | 开始搜索触发 |
-|BI.Searcher.EVENT_STOP | 停止搜索触发(搜索框为空) |
-|BI.Searcher.EVENT_PAUSE | 搜索暂停触发(搜索文本以空白字符结尾) |
-|BI.Searcher.EVENT_SEARCHING | 正在搜索时触发 |
-|BI.Searcher.EVENT_AFTER_INIT | 搜索结果面板初始化完成后触发 |
-
----
-
-
diff --git a/docs/_book/core/combination/switcher.md b/docs/_book/core/combination/switcher.md
deleted file mode 100644
index b7354fdf9f..0000000000
--- a/docs/_book/core/combination/switcher.md
+++ /dev/null
@@ -1,83 +0,0 @@
-# bi.switcher
-
-## 切换显示或隐藏面板,[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/4sj60ap0/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.switcher",
- el: {
- type: "bi.button",
- height: 25,
- text: "Switcher"
- },
- popup: {
-
- },
- adapter: {
-
- }
-})
-
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| trigger | 下拉列表的弹出方式 | string | click,hover | "click" |
-| toggle | 切换状态 | boolean | true,false | true |
-| direction | 面板显示的位置 | string | — | BI.Direction.Top |
-| el | 自定义下拉框trigger | object | — | { }|
-| popup | 弹出层 | object | — |{ }|
-| adapter | 弹出层的位置 | object | — | null|
-| masker | masker层 | obejct | — | { }|
-| switcherClass | 切换类 | string| —| "bi-switcher-popup" |
-| hoverClass | hover类 | string | — | "bi-switcher-hover" |
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| setValue | 设置value值 | value |
-| getValue | 获取被选中的值 |—|
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-| populate | 刷新列表 | items |
-| isViewVisible | 弹窗层是否可见 | —|
-| showView | 显示弹出层 | —|
-| hideView | 隐藏弹出层|—|
-| getView | 获取弹出层|—|
-| getAllLeaves | 获取所有的叶子节点 | —|
-| getNodeById | 根据id获取节点 | id |
-| getNodeByValue | 根据value值获取节点 | value |
-| isExpanded | 节点是否展开 |— |
-| setAdapter | 设置弹出层显示的位置元素|adapter|
-| adjustView| 调整弹出层显示的位置元素 |—|
-
-## 事件方法
-
-| 事件名称| 说明| 回调参数 |
-| :------ |:------------- | :-----
-| EVENT_EXPAND | 面板展开 | —|
-| EVENT_COLLAPSE | 面板收起 | —|
-| EVENT_TRIGGER_CHANGE | 面板切换 | —|
-| EVENT_AFTER_INIT | 初始化之后 | —|
-| EVENT_BEFORE_POPUPVIEW | 面板显示之前| —|
-| EVENT_AFTER_POPUPVIEW | 面板显示之后| —|
-| EVENT_BEFORE_HIDEVIEW | 面板隐藏之前| —|
-| EVENT_AFTER_HIDEVIEW | 面板隐藏之后 | —|
-
-
----
-
-
diff --git a/docs/_book/core/combination/tab.md b/docs/_book/core/combination/tab.md
deleted file mode 100644
index 9023bbf440..0000000000
--- a/docs/_book/core/combination/tab.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# bi.switcher
-
-## 切换显示或隐藏面板,[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/pdo5s8pq/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.tab",
- tab: {
- type: "bi.button_group",
- height: 30,
- items: [{
- text: "Tab1",
- value: 1,
- width: 50
- }, {
- text: "Tab2",
- value: 2,
- width: 50
- }]
- },
- cardCreator: function(v) {
- switch (v) {
- case 1:
- return BI.createWidget({
- type: "bi.label",
- cls: "bi-card",
- text: "面板1"
- })
- case 2:
- return BI.createWidget({
- type: "bi.label",
- cls: "bi-card",
- text: "面板2"
- })
- }
- }
-})
-
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| direction | 控件位置 | string | top,bottom,left,right,custom | "bottom"|
-| single | 是否为单页 | boolean | true,false | false |
-| defaultShowIndex | 是否默认显示tab页 | boolean | true,false | false |
-| tab | tab标签页 | object | — | { } |
-| logic | 布局逻辑 | object | — | {dynamic:false} |
-| cardCreator | 面板构造器| function | — | function (v) {return BI.createWidget();} |
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| render | 渲染组件 | — |
-| mounted | 挂载组件 | —|
-| removeTab | 移除tab面板页 | cardname |
-| getTab | 获取tab面板页 | v |
-| setSelect | 设置选中的index | v |
-| getSelect | 获取选中的index| —|
-| getSelectedTab | 获取选中的tab面板页 | —|
-| populate | 刷新列表 | items |
-| setValue | 设置value值 | value |
-| getValue | 获取被选中的值 |—|
-| empty| 清空组件|—|
-| destroy| 销毁组件|—|
-
-
-
-
----
-
-
diff --git a/docs/_book/core/layer/layer_float_box.md b/docs/_book/core/layer/layer_float_box.md
deleted file mode 100644
index 8f2c8178f2..0000000000
--- a/docs/_book/core/layer/layer_float_box.md
+++ /dev/null
@@ -1,63 +0,0 @@
-# bi.float_box
-
-## floatBox弹出层,[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/72gp1n0p/)
-
-{% common %}
-```javascript
-
-var id = BI.UUID();
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.text_button",
- text: "点击弹出FloatBox",
- width: 200,
- height: 80,
- handler: function() {
- BI.Popovers.remove(id);
- BI.Popovers.create(id, new BI.BarPopoverSection()).open(id);
- }
-})
-
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| width | 弹出层宽度 | number | — | 600 |
-| height | 弹出层高度 | number | — | 500 |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| populate | 刷新列表 | sectionProvider |
-| destroyed| 销毁组件|—|
-| show | 显示 | —|
-| hide | 隐藏 | —|
-| open | 打开弹出层 | —|
-| close| 关闭弹出层 | —|
-| setZindex | 设置z-index| z-index |
-
-
-## 事件方法
-
-| 事件名称| 说明| 回调参数 |
-| :------ |:------------- | :-----
-| EVENT_FLOAT_BOX_CLOSED | 关闭弹出层 | —|
-| EVENT_FLOAT_BOX_CLOSED | 打开弹出层 | —|
-
-
-
----
-
-
diff --git a/docs/_book/core/layer/layer_popup.md b/docs/_book/core/layer/layer_popup.md
deleted file mode 100644
index 365009083e..0000000000
--- a/docs/_book/core/layer/layer_popup.md
+++ /dev/null
@@ -1,76 +0,0 @@
-# bi.popup_view
-
-## 下拉框弹出层, zIndex在1000w,[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/x95pg143/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- element: "#wrapper",
- type: "bi.popup_view",
- el: {
- type: "bi.button_group",
- items: [{
- text: "aaa",
- value: "aaa"
- }, {
- text: "bbb",
- value: "bbb"
- }],
- layouts: [{
- type: "bi.vertical"
- }]
- }
-})
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| maxWidth | 弹出层最大宽度 | number/string | — | "auto" |
-| minWidth | 弹出层最小宽度 | number | — | 100 |
-| maxHeight | 弹出层最大高度 | number/string | — | — |
-| minHeight | 弹出层最小高度 | number | — | 25 |
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | —| 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | —| 0 |
-| tgap | 效果相当于容器top-padding值 | number | —| 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| direction| 工具栏的方向| const | 参考button_group | BI.Direction.Top |
-| stopEvent | 是否停止mousedown、mouseup事件 | boolean | true,false | false |
-| stopPropagation | 是否停止mousedown、mouseup向上冒泡 | boolean | true,false | false |
-| tabs | 导航栏 | array | — | [] |
-| logic | 布局逻辑| object | — | {dynamic:true} |
-| tools | 自定义工具栏 |boolean | true,false | false |
-| buttons | toolbar栏 | array | — | [] |
-| el | 子组件 | object | — |{ type: "bi.button_group",items: [], chooseType: 0,behaviors: {},layouts: [{type: "bi.vertical"}]} |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| populate | 刷新列表 | items |
-| resetWidth | 重置宽度 | width |
-| resetHeight | 重置高度 | height|
-| setValue | 设置value 值 | value |
-| getValue| 获取value值 | —|
-| setZindex | 设置z-index| z-index |
-| getView | 获取弹出层 | —|
-
-
-
-
-
----
-
-
diff --git a/docs/_book/core/layer/layer_searcher.md b/docs/_book/core/layer/layer_searcher.md
deleted file mode 100644
index 64c0898b26..0000000000
--- a/docs/_book/core/layer/layer_searcher.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# bi.searcher_view
-
-## 搜索面板, 基类[BI.Widget](/core/widget.md)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/qkfns6wm/)
-
-{% common %}
-```javascript
-
-var searcher = BI.createWidget({
- element: "#wrapper",
- type: "bi.searcher_view",
-});
-searcher.populate([{
- text: "aba",
- value: "aba"
-},{
- text: "acc",
- value: "acc"
-}], [{
- text: "a",
- value: "a"
-}], "a");
-
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| tipText | title文本 | string | — | BI.i18nText("BI-No_Select") |
-| chooseType | 选择类型 | const | 参考button_group | BI.Selection.Single |
-| matcher | 完全匹配的构造器 | object | — | {type: "bi.button_group",behaviors: { redmark: function () { return true;} },items: [], layouts: [{ type: "bi.vertical"}]} |
-| searcher | 搜索到的元素 | object| — | {type: "bi.button_group",behaviors: {redmark: function () {return true;}}, items: [], layouts: [{ type: "bi.vertical" }]}|
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| populate | 刷新列表 | searchResult, matchResult, keyword |
-| setValue | 设置value 值 | value |
-| getValue| 获取value值 | —|
-| empty | 清空组件 | —|
-| hasMatched | 是否有匹配的元素 | —|
-
-
-
----
-
-
diff --git a/docs/_book/core/layout/border.md b/docs/_book/core/layout/border.md
deleted file mode 100644
index 73ed1973ae..0000000000
--- a/docs/_book/core/layout/border.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# bi.border
-
-#### 上下的高度固定/左右的宽度固定,中间的高度/宽度自适应
-
-{% method %}
-[source](https://jsfiddle.net/fineui/qtdsdegp/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.border',
- element: "#wrapper",
- items: {
- north: {
- el: {type: "bi.label"},
- height: 30,
- top: 20,
- left: 20,
- right: 20
- },
- south: {
- el: {type: "bi.label"},
- height: 50,
- bottom: 20,
- left: 20,
- right: 20
- },
- west: {
- el: {type: "bi.label"},
- width: 200,
- left: 20
- },
- east: {
- el: {type: "bi.label"},
- width: 300,
- right: 20
- },
- center: {el: {type: "bi.label"}}
- }
-});
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| items | 子控件对象 | object | north,east,west,south,center | [ ] |
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/center.md b/docs/_book/core/layout/center.md
deleted file mode 100644
index cdce922657..0000000000
--- a/docs/_book/core/layout/center.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# bi.center
-
-#### 水平和垂直方向都居中容器, 非自适应,用于宽度高度固定的面板
-
-{% method %}
-[source](https://jsfiddle.net/fineui/8fd2nvkm/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.center",
- element: "#wrapper",
- items: [{
- type: "bi.label",
- text: "Center 1,这里虽然设置label的高度30,但是最终影响高度的是center布局",
- cls: "layout-bg1",
- whiteSpace: "normal"
- },{
- type: "bi.label",
- text: "Center 2,为了演示label是占满整个的,用了一个whiteSpace:normal",
- cls: "layout-bg2",
- whiteSpace: "normal"
- }],
- hgap: 20,
- vgap: 20
-});
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/center_adapt.md b/docs/_book/core/layout/center_adapt.md
deleted file mode 100644
index 25a58a3280..0000000000
--- a/docs/_book/core/layout/center_adapt.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# bi.center_adapt
-
-#### 自适应左右垂直居中布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/7bsxw7u5/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.center_adapt",
- element: "#wrapper",
- hgap: 10,
- items: [{
- type: "bi.label",
- text: "Center Adapt 1",
- cls: "layout-bg1",
- height: 30
- }, {
- type: "bi.label",
- text: "Center Adapt 2",
- cls: "layout-bg2",
- height: 30
- }]
-})
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| columnSize | 每列宽度所组成的数组 | array | — | [ ] |
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/float_center.md b/docs/_book/core/layout/float_center.md
deleted file mode 100644
index d65513feaf..0000000000
--- a/docs/_book/core/layout/float_center.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# bi.float_center
-
-#### 浮动布局实现的居中容器
-
-{% method %}
-[source](https://jsfiddle.net/fineui/1vgn555m/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.float_center',
- element: "#wrapper",
- items: [{
- type: "bi.label",
- text: "floatCenter与center的不同在于,它可以控制最小宽度和最大宽度",
- cls: "layout-bg1",
- whiteSpace: "normal"
- }, {
- type: "bi.label",
- text: "floatCenter与center的不同在于,它可以控制最小宽度和最大宽度",
- cls: "layout-bg2",
- whiteSpace: "normal"
- }],
- height: 300,
- hgap: 20,
- vgap: 20
-});
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/flow.md b/docs/_book/core/layout/flow.md
deleted file mode 100644
index 88f72ab036..0000000000
--- a/docs/_book/core/layout/flow.md
+++ /dev/null
@@ -1,75 +0,0 @@
-# bi.flow
-
-#### 靠左/右对齐的自由浮动布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/c761a856/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.center_adapt",
- element: "#wrapper",
- items: [{
- type: "bi.left",
- items: [{
- type: "bi.label",
- height: 30,
- text: "Left-1",
- cls: "layout-bg1",
- hgap: 20
- }, {
- type: "bi.label",
- height: 30,
- text: "Left-2",
- cls: "layout-bg2",
- hgap: 20
- }],
- hgap: 20,
- vgap: 20
- }, {
- type: "bi.right",
- items: [{
- type: "bi.label",
- height: 30,
- text: "Right-1",
- cls: "layout-bg3",
- hgap: 20
- }, {
- type: "bi.label",
- height: 30,
- text: "Right-2",
- cls: "layout-bg4",
- hgap: 20
- }],
- hgap: 20,
- vgap: 20
- }]
-});
-
-
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | — |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/grid.md b/docs/_book/core/layout/grid.md
deleted file mode 100644
index 613e2aed8b..0000000000
--- a/docs/_book/core/layout/grid.md
+++ /dev/null
@@ -1,71 +0,0 @@
-# bi.grid
-
-#### 网格布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/1gwjbpL6/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.grid',
- element: "#wrapper",
- columns: 2,
- rows: 2,
- items: [{
- column: 0,
- row: 0,
- el: {
- type: "bi.label",
- text: "column-0, row-0",
- cls: "layout-bg1"
- }
- }, {
- column: 1,
- row: 0,
- el: {
- type: "bi.label",
- text: "column-1, row-0",
- cls: "layout-bg2"
- }
- } {
- column: 0,
- row: 1,
- el: {
- type: "bi.label",
- text: "column-0, row-1",
- cls: "layout-bg5"
- }
- }, {
- column: 1,
- row: 1,
- el: {
- type: "bi.label",
- text: "column-1, row-1",
- cls: "layout-bg6"
- }
- }]
-});
-
-
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| columns | 列数 | number | — | null |
-| rows | 行数 | number | — | null |
-| items | 子控件数组 | array | — | [] |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/horizontal.md b/docs/_book/core/layout/horizontal.md
deleted file mode 100644
index 7be0637cc4..0000000000
--- a/docs/_book/core/layout/horizontal.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# bi.horizontal
-
-#### 水平流式布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/oj7y7q3o/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.horizontal',
- element: "#wrapper",
- items: [{
- type: "bi.text_button",
- cls: "layout-bg1",
- text: "这里设置了lgap,rgap,tgap,bgap",
- height: 30,
- width: 200
- }, {
- type: "bi.text_button",
- cls: "layout-bg2",
- text: "这里设置了lgap,rgap,tgap,bgap",
- height: 30,
- width: 200
- }]
-});
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| columnSize | 每列宽度所组成的数组 | array | — | [ ] |
-| verticalAlign | 元素的垂直对齐方式 | string | 参考相关css属性 | "middle" |
-| scrollx | 设置水平方向是否有滚动条 | boolean | true,false | true |
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/horizontal_adapt.md b/docs/_book/core/layout/horizontal_adapt.md
deleted file mode 100644
index 33e41c6161..0000000000
--- a/docs/_book/core/layout/horizontal_adapt.md
+++ /dev/null
@@ -1,52 +0,0 @@
-# bi.horizontal_adapt
-
-
-#### 自适应左右居中布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/Lgobog42/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.horizontal_adapt",
- element: "#wrapper",
- vgap: 10,
- items: [{
- type: "bi.label",
- text: "Horizontal Adapt左右自适应",
- cls: "layout-bg1",
- width: 300,
- height: 30
- }, {
- type: "bi.label",
- text: "Horizontal Adapt左右自适应",
- cls: "layout-bg2",
- //width: 300,
- height: 30
- }]
-})
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| columnSize | 每列宽度所组成的数组 | array | — | [ ] |
-| verticalAlign | 元素的垂直对齐方式 | const | 参考相关css属性 | BI.VerticalAlign.Middle |
-
-
----
-
diff --git a/docs/_book/core/layout/horizontal_auto.md b/docs/_book/core/layout/horizontal_auto.md
deleted file mode 100644
index 91ee4f7307..0000000000
--- a/docs/_book/core/layout/horizontal_auto.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# bi.horizontal_auto
-
-#### 水平方向居中自适应容器
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ej2j8umg/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.horizontal_auto",
- element: "#wrapper",
- vgap: 10,
- items: [{
- type: "bi.label",
- text: "Horizontal Auto左右自适应",
- cls: "layout-bg1",
- width: 300,
- height: 30
- }, {
- type: "bi.label",
- text: "Horizontal Auto左右自适应",
- cls: "layout-bg2",
- width: 300,
- height: 30
- }]
-})
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/horizontal_float.md b/docs/_book/core/layout/horizontal_float.md
deleted file mode 100644
index 2ec26e17c5..0000000000
--- a/docs/_book/core/layout/horizontal_float.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# bi.horizontal_float
-
-#### 浮动的水平居中布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/91rd0zpe/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.horizontal_float",
- element: "#wrapper",
- vgap: 10,
- items: [{
- type: "bi.label",
- text: "Horizontal Float左右自适应",
- cls: "layout-bg1",
- width: 200,
- height:30
- }]
-})
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — |[ ] |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/htape.md b/docs/_book/core/layout/htape.md
deleted file mode 100644
index 166da0a9f3..0000000000
--- a/docs/_book/core/layout/htape.md
+++ /dev/null
@@ -1,64 +0,0 @@
-# bi.htape
-
-#### 水平tape布局,两列定宽,一列自适应
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ry7Lnhgw/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.htape",
- element: "#wrapper",
- items : [
- {
- width: 100,
- el : {
- type : 'bi.label',
- text : '1',
- cls: "layout-bg1"
- }
- }, {
- width: 200,
- el : {
- type : 'bi.label',
- text : '2',
- cls: "layout-bg2"
- }
- }, {
- width: 'fill',
- el : {
- type : 'bi.label',
- text : '3',
- cls: "layout-bg3"
- }
- }
- ]
-});
-
-
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number |— | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | —| 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | [{width: 100,el: {type: 'bi.button', text: 'button1'}},{width: 'fill',el: {type: 'bi.button', text: 'button2'}},{width: 200,el: {type: 'bi.button', text: 'button3'}}] |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/left_right_vertical_adapt.md b/docs/_book/core/layout/left_right_vertical_adapt.md
deleted file mode 100644
index 8c101a587b..0000000000
--- a/docs/_book/core/layout/left_right_vertical_adapt.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# bi.left_right_vertical_adapt
-
-#### 左右分离,垂直方向居中容器
-
-{% method %}
-[source](https://jsfiddle.net/fineui/2udhep9z/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.left_right_vertical_adapt',
- element: "#wrapper",
- lhgap: 10,
- rhgap: 10,
- items: {
- left: [{
- type: "bi.label",
- text: "左边的垂直居中",
- cls: "layout-bg1",
- width: 100,
- height: 30
- }],
- right: [{
- type: "bi.label",
- text: "右边的垂直居中",
- cls: "layout-bg1",
- width: 100,
- height: 30
- }]
- }
-});
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| lhgap | 左边容器左右padding值 | number | — | 0 |
-| lrgap | 左边容器right-padding值 | number | — | 0 |
-| llgap | 左边容器left-padding值 | number | — | 0 |
-| rhgap | 右边容器左右padding值 | number | — | 0 |
-| rrgap | 右边容器right-padding值 | number | — | 0 |
-| rhgap | 右边容器left-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | [ ] |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/table.md b/docs/_book/core/layout/table.md
deleted file mode 100644
index c8bcb316f3..0000000000
--- a/docs/_book/core/layout/table.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# bi.table
-
-### table作为一个列表集合存在,继承BI.Widget
-{% method %}
-[source](https://jsfiddle.net/fineui/8t2en619/)
-
-{% common %}
-```javascript
-BI.createWidget({
- element: "body",
- type: "bi.table",
- items: [],
- columnSize: [100, "fill", 200],
- rowSize: [10, 30, 50, 70, 90, 110, 130],
- hgap: 20,
- vgap: 10
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------- | --------- | ------------ | ---------------------------------------- |
-| scrolly | 是否出现滚动条 | boolean | true |
-| columnSize | 列项宽度 | array/number | [200, 200, 'fill'] |
-| rowSize | 行高 | array/number | 30 |
-| hgap | 内部元素间纵向距离 | number | 0 |
-| vgap | 内部元素间横向距离 | number | 0 |
-| items | 子项 | array | [{width: 100,el: {type: 'bi.button', text: 'button1'}},{width: 'fill',el: {type: 'bi.button', text: 'button2'}},{width: 200,el: {type: 'bi.button', text: 'button3'}}] |
-
-## 方法
-| 方法名 | 说明 | 用法 |
-| :------- | ------ | ---------------- |
-| addItem | 增加内容 | addItem(arr) |
-| populate | 更换新的内容 | poplulate(items) |
-
diff --git a/docs/_book/core/layout/td.md b/docs/_book/core/layout/td.md
deleted file mode 100644
index 53f047f5db..0000000000
--- a/docs/_book/core/layout/td.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# bi.td
-
-### 单元格控件,继承BI.Layout
-
-{% method %}
-[source](https://jsfiddle.net/fineui/v4jrz6a3/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.td",
- element: 'body',
- columnSize: [20, 20, 'fill'],
- items: []
-});
-```
-
-{% endmethod %}
-
-
-
-##参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------- | ---- | ------ | ---------------------------------------- |
-| columnSize | 列宽 | array | [200, 200, 200] |
-| hgap | 纵向间隙 | number | 0 |
-| vgap | 横向间隙 | number | 0 |
-| items | 内容项 | array | [[{el: {text: 'label1'}},{ el: {text: 'label2'},{ el: {text: 'label3'} |
-
-
-## 方法
-
-| 方法名 | 说明 | 用法 |
-| -------- | ------ | ---------------- |
-| addItem | 增加内容 | addItem(arr) |
-| populate | 更换新的内容 | poplulate(items) |
-
diff --git a/docs/_book/core/layout/vertical.md b/docs/_book/core/layout/vertical.md
deleted file mode 100644
index a85b8b942c..0000000000
--- a/docs/_book/core/layout/vertical.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# bi.vertical
-
-#### 垂直流式布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/zjyaz9fn/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'demo.vertical',
- element: "#wrapper",
- items: [{
- type: "bi.label",
- cls: "layout-bg1",
- text: "这里设置了hgap(水平间距),vgap(垂直间距)",
- height: 30
- }, {
- type: "bi.label",
- cls: "layout-bg2",
- text: "这里设置了hgap(水平间距),vgap(垂直间距)",
- height: 30
- }]
-});
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| scrolly | 设置垂直方向是否有滚动条 | boolean | true,false | true |
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/vertical_adapt.md b/docs/_book/core/layout/vertical_adapt.md
deleted file mode 100644
index f3ea0a3360..0000000000
--- a/docs/_book/core/layout/vertical_adapt.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# bi.vertical_adapt
-
-#### 自适应垂直居中布局
-
-{% method %}
-[source](https://jsfiddle.net/fineui/7t1bsfy0/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.vertical_adapt",
- element: "#wrapper",
- vgap: 10,
- items: [{
- type: "bi.label",
- text: "Vertical Adapt上下自适应",
- cls: "layout-bg1",
- width: 300,
- height: 30
- }, {
- type: "bi.label",
- text: "Vertical Adapt上下自适应",
- cls: "layout-bg2",
- width: 300,
- height: 30
- }]
-})
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| columnSize | 每列宽度所组成的数组 | array | — | [ ] |
-
----
\ No newline at end of file
diff --git a/docs/_book/core/layout/vtape.md b/docs/_book/core/layout/vtape.md
deleted file mode 100644
index 370508b760..0000000000
--- a/docs/_book/core/layout/vtape.md
+++ /dev/null
@@ -1,64 +0,0 @@
-# bi.vtape
-
-#### 垂直tape布局,两列定高,一列自适应
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ufpnz53d/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.vtape",
- element: "#wrapper",
- items : [
- {
- height: 100,
- el : {
- type : 'bi.label',
- text : '1',
- cls: "layout-bg1"
- }
- }, {
- height: 200,
- el : {
- type : 'bi.label',
- text : '2',
- cls: "layout-bg2"
- }
- }, {
- height: 'fill',
- el : {
- type : 'bi.label',
- text : '3',
- cls: "layout-bg3"
- }
- }
- ]
-});
-
-
-
-
-
-```
-
-{% endmethod %}
-
-
-## API
-##### 基础属性
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :----- | :----|:----
-| hgap | 效果相当于容器左右padding值 | number | — | 0 |
-| vgap | 效果相当于容器上下padding值 | number | — | 0 |
-| lgap | 效果相当于容器left-padding值 | number | — | 0 |
-| rgap | 效果相当于容器right-padding值 | number | — | 0 |
-| tgap | 效果相当于容器top-padding值 | number | — | 0 |
-| bgap | 效果相当于容器bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | {height: 100,el: {type: 'bi.button', text: 'button1'}},{height: 'fill',el: {type: 'bi.button', text: 'button2'}},{height: 200,el: {type: 'bi.button', text: 'button3'}} |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/core/node_button.md b/docs/_book/core/node_button.md
deleted file mode 100644
index 212f98fda5..0000000000
--- a/docs/_book/core/node_button.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# bi.NodeButton
-
-## 表示一个可以展开的节点, 不仅有选中状态而且有展开状态, [BI.BasicButton](/core/basic_button.md)
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| open | 节点是否展开 | boolean | true,false | false |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| doClick | 点击展开| —
-| isOnce | 点击一次后失效 | —
-| isOpened | 判断节点是否展开| —
-| setOpened | 设置节点展开状态| b
-| triggerCollapse | 节点收起 | —
-| triggerExpand | 节点展开| —
-
-
-
-
----
-
-
diff --git a/docs/_book/core/pane.md b/docs/_book/core/pane.md
deleted file mode 100644
index 93ea2f6e54..0000000000
--- a/docs/_book/core/pane.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# bi.pane
-
-## 当没有元素时有提示信息的view, [BI.Widget](/core/widget.md)
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| tipText | title文本 | string | — | BI.i18nText("BI-No_Selected_Item") |
-| overlap| 是否含有遮罩层 | boolean | true,false | true |
-| onLoaded | 已经加载 | function | — | — |
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| populate | 刷新列表 | items |
-| empty | 清空组件 | — |
-| hasMatched | 是否有匹配的元素 | —|
-| loading | 加载中 | — |
-| loaded | 加载完毕 | —
-| check | 检查是否为空| —
-| setTipVisible | 设tip可见| —
-
-
-
-
-
----
-
-
diff --git a/docs/_book/core/single.md b/docs/_book/core/single.md
deleted file mode 100644
index a99f542b8d..0000000000
--- a/docs/_book/core/single.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# bi.single
-
-## 这仅仅只是一个超类, 所有简单控件的基类,类的控制,title的控制,文字超过边界显示3个点,cursor默认pointor,基类[BI.Widget](/core/widget.md)
-
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| readonly | 是否只读 | boolean | true,false| false |
-| title | title | string |— | null |
-| warningTitle | 错误title | string | —| null|
-| tipType | title类型 | string | success,warning | null |
-| value | 组件value值 | string |— | null |
-
-
-
-## 对外方法
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| enableHover | 恢复hover可用| opt |
-| disabledHover | 取消hover事件 | —|
-| populate | 刷新或者清空列表 | items |
-| setTitle | 设置title| title,opt |
-| setWarningTitle | 设置错误title | title,opt|
-| getTipType | 获取tipType|—|
-| isReadOnly | 是否只读| —|
-| getTitle | 获取title|—|
-| getWarningTitle | 获取warningtitle| —|
-| setValue | 设置value值| value|
-|getValue| 获取value值| —|
-
-
-
-
-
----
-
-
diff --git a/docs/_book/core/widget.md b/docs/_book/core/widget.md
deleted file mode 100644
index 5cc99bcc73..0000000000
--- a/docs/_book/core/widget.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# bi.widget
-
-## 所有控件的超类
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| root | 根组件 | boolean | true,false | false |
-| tagName | html标签 | string| —| "div" |
-| attributes | 属性| object | —| null |
-| data | 数据 | object | — | null |
-| disabled | 是否可用 | boolean |true,false | false |
-| invisible | 是否可见 | boolean | true,false | false|
-| invalid | 是否有效 | boolean | true,false |false |
-| baseCls | 基础class类 | string | —| " "|
-| extraCls | 扩展class类 | string| — | " "|
-| cls | class类名 | string |— | " "|
-
-## 生命周期函数
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| beforeCreate | 组件实例刚被创建 |— |
-| created | 组件实例创建完成 | —|
-| render | 渲染组件 | — |
-| beforeMounted | 组件挂载之前| —|
-| mounted | 组件挂载 |—|
-| update | 组件更新 | —|
-| beforeDestroyed | 组件销毁前调用| —|
-| destroyed | 组件销毁后调用 | —|
-
-
-## 对外方法
-#####(注: fineui2.0引入生命周期后,widget的实现类不需要重写setEnable,setValid等方法,会自动调用子组件的对应方法
-#####,一些需要在设置状态后做的额外工作可以通过重写_setXXX来实现)
-
-| 名称 | 说明 | 回调参数
-| :------ |:------------- | :-----
-| isMounted | 判断组件是否挂载| — |
-| setWidth | 设置组件宽度 | width |
-| setHeight | 设置组件高度 | height |
-| setEnable | 设置组件是否可用 | enable |
-| setVisible | 设置组件是否可见 | visible |
-| setValid | 设置组件是否有效 | valid|
-| doBehavior | 自定义下拉列表中item项的行为,如高亮,标红等 | —|
-| getWidth | 获取组件宽度 | —|
-| getHeight| 获取组件高度| —|
-| isValid | 判断是否有效 | —|
-| addWidget | 添加组件 | name,widget|
-| getWidgetByName | 根据组件名称获取组件| name |
-| removeWidget | 移除组件 | nameOrWidget |
-| hasWidget | 判断是否有该组件 | name |
-| getName | 获取组件名称 | —|
-| setTag | 设置tag | tag |
-| getTag | 获取tag | —|
-| attr | 设置组件属性 | key,value |
-| getText | 获取text值 | —|
-| setText | 设置text值 | text|
-| getValue | 获取value值 | —|
-|setValue| 设置value值| value|
-| isEnabled | 是否可用 | —|
-| isVisible | 是否可见 | —|
-| disable | 设置组件不可用 | —|
-| enable | 设置组件可用| —|
-| valid | 设置组件有效| —|
-|invalid | 设置组件无效 | —|
-| invisible | 设置组件不可见 | —|
-| visible | 设置组件可见 | —|
-| isolate | 组件不在页面展示,组件事件和内容都在 | —|
-| empty | 清空组件 | —|
-| destroy | 销毁组件| —|
-
-
-
----
-
-
diff --git a/docs/_book/detailed/bi.button/general.md b/docs/_book/detailed/bi.button/general.md
deleted file mode 100644
index 76adf095cf..0000000000
--- a/docs/_book/detailed/bi.button/general.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# bi.button
-
-## 通用按钮,详情见[BI.button](/base/button/button.md)
-
-
-
-
diff --git a/docs/_book/detailed/bi.button/items.md b/docs/_book/detailed/bi.button/items.md
deleted file mode 100644
index 57bc8ae655..0000000000
--- a/docs/_book/detailed/bi.button/items.md
+++ /dev/null
@@ -1,52 +0,0 @@
-## 各种items
-
-{% method %}
-[source](https://jsfiddle.net/fineui/jyo0qdwL/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.vertical',
- element: "#wrapper",
- items: [{
- type: "bi.label",
- height: 30,
- text: "单选item"
- }, {
- type: "bi.single_select_item",
- text: "单选项"
- }, {
- type: "bi.label",
- height: 30,
- text: "复选item"
- }, {
- type: "bi.multi_select_item",
- text: "复选项"
- }]
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 | number | — | 10 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 0 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | [ ] |
-| width | 宽度 | number | — | — |
-| height | 高度 | number | — | — |
-
-
-
----
-
-
diff --git a/docs/_book/detailed/bi.button/node.md b/docs/_book/detailed/bi.button/node.md
deleted file mode 100644
index 1445723baf..0000000000
--- a/docs/_book/detailed/bi.button/node.md
+++ /dev/null
@@ -1,58 +0,0 @@
-## 各种节点nodes
-
-{% method %}
-[source](https://jsfiddle.net/fineui/jg257cog/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: 'bi.vertical',
- element: "#wrapper",
- items: [{
- type: "bi.label",
- height: 30,
- text: "十字形的节点"
- }, {
- type: "bi.plus_group_node",
- text: "十字形的节点"
- }, {
- type: "bi.label",
- height: 30,
- text: "三角形的节点"
- }, {
- type: "bi.triangle_group_node",
- text: "三角形的节点"
- }, {
- type: "bi.label",
- height: 30,
- text: "箭头节点"
- }, {
- type: "bi.arrow_group_node",
- text: "箭头节点"
- }]
-});
-
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 | number | — | 10 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 0 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | [ ] |
-| width | 宽度 | number | — | — |
-| height | 高度 | number | — | — |
-
-
----
-
-
diff --git a/docs/_book/detailed/bi.button/segment.md b/docs/_book/detailed/bi.button/segment.md
deleted file mode 100644
index 2261e781ea..0000000000
--- a/docs/_book/detailed/bi.button/segment.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# bi.sgement
-
-## 各种segment
-
-{% method %}
-[source](https://jsfiddle.net/fineui/7skvd64L/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.vertical",
- element: "#wrapper",
- items: [{
- type: "bi.label",
- height: 30,
- text: "默认风格"
- }, {
- type: "bi.segment",
- items: [{
- text: "tab1",
- value: 1,
- selected: true
- }, {
- text: "tab2",
- value: 2
- }, {
- text: "tab3 disabled",
- disabled: true,
- value: 3
- }]
- }],
- hgap: 50,
- vgap: 20
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 10 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 0 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | [ ] |
-| width | 宽度 | number | — | — |
-| height | 高度 | number | — | — |
-
-
----
-
-
diff --git a/docs/_book/detailed/bi.button/tooltip.md b/docs/_book/detailed/bi.button/tooltip.md
deleted file mode 100644
index ad2075e880..0000000000
--- a/docs/_book/detailed/bi.button/tooltip.md
+++ /dev/null
@@ -1,46 +0,0 @@
-## 提示性信息
-
-{% method %}
-[source](https://jsfiddle.net/fineui/gn25yyrx/)
-
-{% common %}
-```javascript
-var toast = BI.createWidget({
- type: "bi.vertical",
- element: "#wrapper",
- items: [{
- el: {
- type: 'bi.button',
- text: '简单Toast测试',
- height: 30,
- handler: function () {
- BI.Msg.toast("这是一条简单的数据");
- }
- }
- }],
- vgap: 20
-});
-
-```
-
-{% endmethod %}
-
-## API
-##### 基础属性
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-| hgap | 效果相当于文本框左右padding值 | number | — | 10 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 0 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| items | 子控件数组 | array | — | [ ] |
-| width | 宽度 | number | — | — |
-| height | 高度 | number | — | — |
-
-
-
----
-
-
diff --git a/docs/_book/detailed/combo/multilayer_select_tree_combo.md b/docs/_book/detailed/combo/multilayer_select_tree_combo.md
deleted file mode 100644
index f5934c7a68..0000000000
--- a/docs/_book/detailed/combo/multilayer_select_tree_combo.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# bi.multilayer_select_tree_combo
-
-### 多层级下拉可选节点树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ryo1cnrL/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.multilayer_select_tree_combo",
- element: 'body',
- items: [],
- text: "默认值",
- width: 300,
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------ | ---- | ------ | ---- |
-| height | 高度 | number | 30 |
-| text | 文本框值 | string | '' |
-| items | 元素 | array | null |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 回调参数 |
-| -------- | ---- | ----------- |
-| populate | 刷新内容 | items: 子项数组 |
-| setValue | 设置值 | setValue |
-| getValue | 获取值 | getValue |
-
-------
\ No newline at end of file
diff --git a/docs/_book/detailed/combo/multilayer_single_tree_combo.md b/docs/_book/detailed/combo/multilayer_single_tree_combo.md
deleted file mode 100644
index de905edcec..0000000000
--- a/docs/_book/detailed/combo/multilayer_single_tree_combo.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# bi.multilayer_single_tree_combo
-
-### 多层级下拉单选树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/o0u3vp83/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.multilayer_single_tree_combo",
- element: 'body',
- items: [],
- text: "默认值",
- width: 300,
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------ | ----- | -------- | ---------- |
-| height | 高度 | number | 30 |
-| text | 文本框值 | string | '' |
-| itemsCreator | 元素创造器 | function | BI.emptyFn |
-| items | 元素 | array | null |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 回调参数 |
-| -------- | ---- | ----------- |
-| populate | 刷新内容 | items: 子项数组 |
-| setValue | 设置值 | setValue |
-| getValue | 获取值 | getValue |
-
-------
\ No newline at end of file
diff --git a/docs/_book/detailed/combo/select_tree_combo.md b/docs/_book/detailed/combo/select_tree_combo.md
deleted file mode 100644
index 30d7679c02..0000000000
--- a/docs/_book/detailed/combo/select_tree_combo.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# bi.select_tree_combo
-
-### 二级可选节点下拉框树
-
-{% method %}
-[source](https://jsfiddle.net/fineui/Lgqr17tg/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.select_tree_combo",
- element: 'body',
- items: [],
- text: "默认值",
- width: 300,
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------- | ---- | ------ | ---- |
-| height | 高度 | number | 30 |
-| text | 文本框值 | string | '' |
-| items | 元素 | array | null |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 回调参数 |
-| -------- | ---- | ----------- |
-| populate | 刷新内容 | items: 子项数组 |
-| setValue | 设置值 | setValue |
-| getValue | 获取值 | getValue |
-
-------
\ No newline at end of file
diff --git a/docs/_book/detailed/combo/single_tree_combo.md b/docs/_book/detailed/combo/single_tree_combo.md
deleted file mode 100644
index e404841467..0000000000
--- a/docs/_book/detailed/combo/single_tree_combo.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# bi.single_tree_combo
-
-### 二级树下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/oxkb9uw5/)
-
-{% common %}
-```javascript
-var tree = BI.createWidget({
- type: "bi.single_tree_combo",
- element: 'body',
- items: [],
- text: "默认值",
- width: 300,
-});
-```
-
-{% endmethod %}
-
-
-
-### 参数设置
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------- | ---- | ------ | ---- |
-| trigger | 下拉列表的弹出方式 | object | {} |
-| height | 高度 | number | 30 |
-| text | 文本框值 | string | '' |
-| items | 元素 | array | null |
-
-
-
-### 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ---- | ----------- |
-| populate | 刷新内容 | items: 子项数组 |
-| setValue | 设置值 | setValue |
-| getValue | 获取值 | getValue |
-
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.SingleTreeCombo.EVENT_BEFORE_POPUPVIEW| 下拉框弹出前触发 |
-其他事件详见[Input](../../base/editor/editor.md)
-
-
----
-
diff --git a/docs/_book/detailed/date/custom_date_time.md b/docs/_book/detailed/date/custom_date_time.md
deleted file mode 100644
index cd2b1d4564..0000000000
--- a/docs/_book/detailed/date/custom_date_time.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# custom_date_time
-
-## 日期选择下拉框(可以选择时分秒)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/2d9dcxov/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.custom_date_time_combo",
- element: "#wrapper",
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-| BI.CustomDateTimeCombo.EVENT_CANCEL| 点击取消触发 |
-| BI.CustomDateTimeCombo.EVENT_CONFIRM| 点击确认触发 |
-
----
diff --git a/docs/_book/detailed/date/date_combo.md b/docs/_book/detailed/date/date_combo.md
deleted file mode 100644
index 0db0306f39..0000000000
--- a/docs/_book/detailed/date/date_combo.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# date_combo
-
-##日期选择下拉框(弹出的年月选择可以进一步选择日期)
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ebps32uy/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.date_combo",
- element: "#wrapper",
- width: 300
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/date/date_pane_widget.md b/docs/_book/detailed/date/date_pane_widget.md
deleted file mode 100644
index 57a0172208..0000000000
--- a/docs/_book/detailed/date/date_pane_widget.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# date_pane_widget
-
-##日期选择下拉框的弹出面板
-
-{% method %}
-[source](https://jsfiddle.net/fineui/rL9005u6/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.date_pane_widget",
- element: "#wrapper",
- width: 300
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| min | 限定可选日期的下限 | string | | '1900-01-01' |
-| max | 限定可选日期的上限 | string | | '2099-12-31' |
-| selectedTime | 选中的初始年月 | obj({year: y, month: m}) | — | — |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/date/year_month_combo.md b/docs/_book/detailed/date/year_month_combo.md
deleted file mode 100644
index f22537f98b..0000000000
--- a/docs/_book/detailed/date/year_month_combo.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# year_month_combo
-
-##年月选择下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ehvjj3xt/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.year_month_combo",
- width: 300
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| yearBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object| —| { } |
-| monthBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object|— | { }|
-
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-| BI.YearMonthCombo.EVENT_BEFORE_POPUPVIEW | 弹出框弹出前触发 |
-| BI.YearMonthCombo.EVENT_CONFIRM| 点击确认触发 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/date/year_quarter_combo.md b/docs/_book/detailed/date/year_quarter_combo.md
deleted file mode 100644
index 6389cf304d..0000000000
--- a/docs/_book/detailed/date/year_quarter_combo.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# year_quarter_combo
-
-##年季度选择下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/xe6Lt6mo/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.year_quarter_combo",
- width: 300
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| yearBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object| | |
-| monthBehaviors |自定义年份选择的行为(详见[button_group](../../core/abstract/button_group.md)) | object| —|{ } |
-
-
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-| BI.YearQuarterCombo.EVENT_BEFORE_POPUPVIEW | 弹出框弹出前触发 |
-| BI.YearQuarterCombo.EVENT_CONFIRM| 点击确认触发 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/dialog.md b/docs/_book/detailed/dialog.md
deleted file mode 100644
index 51e5b77765..0000000000
--- a/docs/_book/detailed/dialog.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# dialog
-
-## 对话框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/9tj0jrpp/)
-
-{% common %}
-```javascript
-BI.Msg.alert(title, content)
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| title | 对话框标题 | string | — | " " |
-| content | 对话框内容 | string | — | " " |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/down_list_combo.md b/docs/_book/detailed/down_list_combo.md
deleted file mode 100644
index 5766bd5325..0000000000
--- a/docs/_book/detailed/down_list_combo.md
+++ /dev/null
@@ -1,80 +0,0 @@
-# down_list_combo
-
-## 多层下拉列表的下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/p0hykqo9/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.down_list_combo',
- element: '#wrapper',
- width: 300,
- items: [
- [{
- el: {
- text: "column 1111",
- iconCls1: "check-mark-e-font",
- value: 11
- },
- children: [{
- text: "column 1.1",
- value: 21,
- cls: "dot-e-font",
- selected: true
- }, {
- text: "column 1.222222222222222222222222222222222222",
- cls: "dot-e-font",
- value: 22,
- }]
- }],
- [{
- el: {
- type: "bi.icon_text_icon_item",
- text: "column 2",
- iconCls1: "chart-type-e-font",
- cls: "dot-e-font",
- value: 12
- },
- disabled: true,
- children: [{
- type: "bi.icon_text_item",
- cls: "dot-e-font",
- height: 25,
- text: "column 2.1",
- value: 11
- }, {
- text: "column 2.2",
- value: 12,
- cls: "dot-e-font"
- }]
- }]
- ]
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| el | 自定义下拉框trigger | object | | |
-| trigger | 下拉列表的弹出方式 | string | click, hover | click |
-| direction | 弹出列表和trigger的位置关系 | string | top | bottom | left | right | top,left | top,right | bottom,left | bottom,right | bottom |
-| adjustLength | 弹出列表和trigger的距离 | number | | 0 |
-
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.DownListCombo.EVENT_CHANGE| 点击一级节点触发 |
-|BI.DownListCombo.EVENT_SON_VALUE_CHANGE| 点击二级节点触发 |
-|BI.DownListCombo.EVENT_BEFORE_POPUPVIEW| 下拉列表弹出前触发 |
-
-##具体配置方法见[Combo](../core/combination/bi.combo.md)
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/file_manager.md b/docs/_book/detailed/file_manager.md
deleted file mode 100644
index dbad359670..0000000000
--- a/docs/_book/detailed/file_manager.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# file_manager
-
-## 文件管理器
-
-{% method %}
-[source](https://jsfiddle.net/fineui/2g4k0kxh/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.file_manager",
- items: [{
- id: "1",
- value: "1",
- text: "根目录"
- }, {
- id: "11",
- pId: "1",
- value: "11",
- text: "第一级子目录1"
- }, {
- id: "12",
- pId: "1",
- value: "12",
- text: "第一级子目录2"
- }]
-})
-```
-
-{% endmethod %}
-
-
-
-##方法
-
-| 方法 | 说明 |
-| :------ |:------------- |
-| getSelectedValue() | 获取当前选中项的value值 |
-| getSelectedId | 获取当前选中项的id属性 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/month_combo.md b/docs/_book/detailed/month_combo.md
deleted file mode 100644
index ea87ce4bc5..0000000000
--- a/docs/_book/detailed/month_combo.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# month_combo
-
-## 月份选择下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/u4u04ntn/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.month_combo',
- element: '#wrapper',
- width: 300
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| behaviors | 自定义下拉列表中item项的行为,如高亮,标红等(详见[button_group](../core/abstract/button_group.md)) | object | | {} |
-
-
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.MonthCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
-|BI.MonthCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/multi_select_combo.md b/docs/_book/detailed/multi_select_combo.md
deleted file mode 100644
index f0b44627d0..0000000000
--- a/docs/_book/detailed/multi_select_combo.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# multi_select_combo
-
-## 带确定的复选下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/oskypvLe/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.multi_select_combo",
- element: '#wrapper',
- width: 500,
- itemsCreator: function(){
- return {
- items: [],
- hasNext: false
- }
- }
-});
-```
-
-{% endmethod %}
-
-
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.MultiSelectCombo.EVENT_CONFIRM| 点击确定触发 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/numeric_interval.md b/docs/_book/detailed/numeric_interval.md
deleted file mode 100644
index 374a520d6e..0000000000
--- a/docs/_book/detailed/numeric_interval.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# numeric_interval
-
-## 数值区间控件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/oskypvLe/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.numerical_interval",
- element: '#wrapper',
- width: 500
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| min | 最小值初始值 | number | | 无 |
-| max | 最大值初始值 | number | | 无 |
-| closeMin | 左区间初始状态 | boolean | | true |
-| closeMax | 右区间初始状态 | boolean | | true |
-
-## 方法
-| 方法 | 说明 | 用法 |
-| ---------------------------- | ---------------- | ------------------------------------ |
-| isStateValid() | 当前状态是否有效(输入是否合法, 区间是否成立) | |
-| setMinEnable(boolean) | 设置左区间输入框disable状态 | |
-| setCloseMinEnable(boolean) | 设置左区间开闭combo的disable状态 | |
-| setMaxEnable(boolean) | 设置右区间输入框disable状态 | |
-| setCloseMaxEnable(boolean) | 设置右区间开闭combo的disable状态 | |
-| setNumTip(string) | 设置数值区间的tip提示 | — |
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.NumericalInterval.EVENT_VALID| 区间合法的状态事件 |
-|BI.NumericalInterval.EVENT_ERROR| 区间不合法的状态事件 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/path/direction_path_chooser.md b/docs/_book/detailed/path/direction_path_chooser.md
deleted file mode 100644
index e22203d234..0000000000
--- a/docs/_book/detailed/path/direction_path_chooser.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# direction_path_chooser
-
-## 带方向的路径选择
-
-{% method %}
-[source](https://jsfiddle.net/fineui/04h6gsps/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.direction_path_chooser",
- element: "#wrapper",
- items: [[{
- "region": "合同信息",
- "text": "客户ID",
- "value": "defa1f7ba8b2684a客户ID"
- }, {
- "region": "客户信息",
- "text": "主键",
- "value": "1f4711c201ef1842",
- "direction": -1
- }, {
- "region": "合同的回款信息",
- "text": "合同ID",
- "value": "e351e9f1d8147947合同ID",
- "direction": -1
- }]]
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| items |二维数组,每个元素代表一条路径,相较于[path_chooser](path_chooser.md)多一个属性direction来指定方向 | array| — | [ ]|
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/path/path_chooser.md b/docs/_book/detailed/path/path_chooser.md
deleted file mode 100644
index 097ecb0607..0000000000
--- a/docs/_book/detailed/path/path_chooser.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# path_chooser
-
-## 路径选择
-
-{% method %}
-[source](https://jsfiddle.net/fineui/5519b4xo/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.path_chooser",
- element: "#wrapper",
- items: [[{
- "region": "8c4460bc3605685e",
- "regionText": "采购订单XXX",
- "text": "ID",
- "value": "1"
- }, {
- "region": "0fbd0dc648f41e97",
- "regionText": "采购订单",
- "text": "学号",
- "value": "3"
- }, {
- "region": "c6d72d6c7e19a667",
- "regionText": "供应商基本信息",
- "text": "ID",
- "value": "5"
- }]]
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| items |二维数组,每个元素代表一条路径 | array| — | [ ] |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/quarter_combo.md b/docs/_book/detailed/quarter_combo.md
deleted file mode 100644
index e15d26d540..0000000000
--- a/docs/_book/detailed/quarter_combo.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# quarter_combo
-
-## 季度选择下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/rw7ubwtj/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.quarter_combo',
- element: '#wrapper',
- width: 300
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| behaviors | 自定义下拉列表中item项的行为,如高亮,标红等(详见[button_group](../core/abstract/button_group.md)) | object | | {} |
-
-
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.QuarterCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
-|BI.QuarterCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/relation_view.md b/docs/_book/detailed/relation_view.md
deleted file mode 100644
index d2997620d7..0000000000
--- a/docs/_book/detailed/relation_view.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# relation_view
-
-## 关联视图
-
-{% method %}
-[source](https://jsfiddle.net/fineui/k19mvL7q/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.relation_view",
- items: [{
- primary: {
- region: "B", regionText: "比",
- title: "b2...",
- value: "b2", text: "b2字段"
- },
- foreign: {region: "C", value: "c1", text: "c1字段"}
- }, {
- primary: {region: "A", value: "a1", text: "a1字段"},
- foreign: {region: "C", value: "c2", text: "c2字段"}
- }]
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/slider.md b/docs/_book/detailed/slider.md
deleted file mode 100644
index d8a9ae6f2b..0000000000
--- a/docs/_book/detailed/slider.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# bi.slider
-
-### slider插件
-
-{% method %}
-[source](https://jsfiddle.net/fineui/k6svamdz/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.slider",
- min: 16,
- max: 50,
-});
-```
-
-{% endmethod %}
-
-
-
-##参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ---- | ---- | ------ | ---- |
-| min | 最小值 | number | 10 |
-| max | 最大值 | number | 50 |
-
-
-
-## 方法
-
-| 方法名 | 说明 | 参数 |
-| -------- | ---- | ----- |
-| getValue | 获得当前值 | — |
-| setValue | 设置当前值 | value |
-| | | |
-
-------
-
diff --git a/docs/_book/detailed/table/bi.excel_table.md b/docs/_book/detailed/table/bi.excel_table.md
deleted file mode 100644
index 4ab567cc99..0000000000
--- a/docs/_book/detailed/table/bi.excel_table.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# bi.excel_table
-
-### 类似excel式的表格,继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/cbmv07g4/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.excel_table",
- element: "body",
- columnSize: [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: "第二行第二列"
- }]
- ]
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | ------------- | -------------------- | ----------------- |
-| isNeedResize | 是否需要调整大小 | boolean | false |
-| isResizeAdapt | 是否调整时自适应 | boolean | true |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeCols | 合并的单元格列号 | array | [] |
-| mergeRule | 合并规则, 默认相等时合并 | function(row1, row2) | 默认row1 = row2 时合并 |
-| columnSize | 单元格宽度集合 | array | [] |
-| headerRowSize | 表头高度 | number | 37 |
-| footerRowSize | 表尾高度 | number | 37 |
-| rowSize | 普通单元格高度 | number | 37 |
-| regionColumnSize | 列项间的 | array | [82, ""] |
-| items | 子组件 | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ---------------------------- | ---------------- | ------------- |
-| resize | 调整表格 | — |
-| setColumnSize | 设置列宽 | columnSize |
-| getColumnSize | 得到列宽 | — |
-| getCalculateColumnSize | 获得计算后的列宽 | — |
-| setHeaderColumnSize | 设置表头的列宽 | columnSize |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| getCalculateRegionColumnSize | 获取计算后的列项之间的间隙 | — |
-| getCalculateRegionRowSize | 获取计算后的列项上下之间的间隙 | — |
-| getClientRegionColumnSize | 获取浏览器中显示的列项之间的间隙 | — |
-| getScrollRegionColumnSize | 获取横向滚动条宽度 | — |
-| getScrollRegionRowSize | 获取纵向滚动条宽度 | — |
-| hasVerticalScroll | 是否含有数值滚动条 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| getColumns | 获取列项 | — |
-| resizeHeader | 调整表头 | — |
-| attr | 设置属性 | key:键,value:值 |
-| populate | 增加行 | rows |
-| destroy | 摧毁表 | — |
-
----
-
-
diff --git a/docs/_book/detailed/table/bi.page_table.md b/docs/_book/detailed/table/bi.page_table.md
deleted file mode 100644
index 1dc78f8814..0000000000
--- a/docs/_book/detailed/table/bi.page_table.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# bi.page_table
-
-### 分页表格
-
-{% method %}
-[source](https://jsfiddle.net/fineui/4egug10x/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.page_table",
- element: "body",
- columnSize: [200,200],
- items: [],
- pager: {
- horizontal : {},
- vertical: {}
- }
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 二级参数 | 三级参数 | 说明 | 类型 | 默认值 |
-| ----------------------- | ---------- | --------- | ------------------ | -------------------- | ----------------- |
-| pager | | | 分页选项 | object | — |
-| | horizontal | | 水平分页选项 | object | — |
-| | | pages | 显示总页数 | boolean | false |
-| | | curr | 当前页 | number | 1 |
-| | | hasPrev | 判断是否有前一页的函数 | function | BI.emptyFn |
-| | | hasNext | 是否有下一页 | function | BI.emptyFn |
-| | | firstPage | 第一页 | number | 1 |
-| | | lastPage | 最后一页 | number/function | BI.emptyFn |
-| | vertical | | 纵向分页,参数与horizontal | object | — |
-| itemsCreator | | | 元素创造器 | function | BI.emptyFn |
-| isNeedFreeze | | | 是否需要冻结表头 | boolean | false |
-| freezeCols | | | 冻结的列 | array | [] |
-| isNeedMerge | | | 是否需要合并单元格 | boolean | false |
-| mergeCols | | | 合并的单元格列号 | array | [] |
-| mergeRule | | | 合并规则, 默认相等时合并 | function(row1, row2) | 默认row1 = row2 时合并 |
-| columnSize | | | 单元格宽度集合 | array | [] |
-| minColumnSize | | | 最小列宽 | array | [] |
-| maxColumnSize | | | 最大列宽 | array | [] |
-| headerRowSize | | | 表头高度 | number | 25 |
-| rowSize | | | 普通单元格高度 | number | 25 |
-| regionColumnSize | | | 列项间的 | array | [] |
-| headerCellStyleGetter | | | | function | BI.emptyFn |
-| summaryCellStyleGetter | | | | function | BI.emptyFn |
-| sequenceCellStyleGetter | | | | function | BI.emptyFn |
-| header | | | 表头 | array | [] |
-| items | | | 子组件 | array | [] |
-| crossHeader | | | 交叉表头 | array | [] |
-| crossItems | | | 交叉项 | array | [] |
-
-
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------------------ | ----------- | ------------------ |
-| setHPage | 设置水平页数 | v: 页码 |
-| setVpage | 设置纵向页数 | v: 页码 |
-| getHPage | 获得水平页数 | — |
-| getVPage | 获得垂直页数 | — |
-| setWidth | 设置宽度 | width: 宽度 |
-| setHeight | 设置高度 | height: 高度 |
-| setColumnSize | 设置列宽 | columnSize: 列宽数组 |
-| getColumnSize | 得到列宽 | — |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize: 列宽数组 |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop: 纵向滚动距离 |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft: 横向滚动距离 |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft: 横向滚动距离 |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| attr | 设置属性 | key: 键 value: 值 |
-| populate | 增加 | — |
-| destroy | 摧毁表 | — |
-
-------
\ No newline at end of file
diff --git a/docs/_book/detailed/table/bi.preview_table.md b/docs/_book/detailed/table/bi.preview_table.md
deleted file mode 100644
index e8d99a07b5..0000000000
--- a/docs/_book/detailed/table/bi.preview_table.md
+++ /dev/null
@@ -1,75 +0,0 @@
-# bi.preview_table
-
-### 用于表格预览,继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/po4s0hub/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.preview_table",
- header: [[{
- text: "表头1"
- }, {
- text: "表头2"
- }, {
- text: "表头3"
- }]],
- element: 'body',
- columnSize: [100, "", 50],
- items: [[{
- text: "第一行第一列"
- }, {
- text: "第一行第二列"
- }, {
- text: "第一行第三列"
- }]]
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------- | ---- | ------------ | ----- |
-| isNeedFreeze | 是否冻结 | boolean | false |
-| freezeCols | 冻结的列 | array | [] |
-| rowSize | 行高 | array/number | null |
-| columnSize | 列宽 | array | [] |
-| headerRowSize | 表头行高 | number | 30 |
-| header | 表头内容 | array | [] |
-| items | 子组件 | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ---------------------------- | ---------------- | ------------- |
-| resize | 调整表格 | — |
-| setColumnSize | 设置列宽 | columnSize |
-| getColumnSize | 得到列宽 | — |
-| getCalculateColumnSize | 获得计算后的列宽 | — |
-| setHeaderColumnSize | 设置表头的列宽 | columnSize |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| getCalculateRegionColumnSize | 获取计算后的列项之间的间隙 | — |
-| getCalculateRegionRowSize | 获取计算后的列项上下之间的间隙 | — |
-| getClientRegionColumnSize | 获取浏览器中显示的列项之间的间隙 | — |
-| getScrollRegionColumnSize | 获取横向滚动条宽度 | — |
-| getScrollRegionRowSize | 获取纵向滚动条宽度 | — |
-| hasVerticalScroll | 是否含有数值滚动条 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| getColumns | 获取列项 | — |
-| resizeHeader | 调整表头 | — |
-| attr | 设置属性 | key:键,value:值 |
-| populate | 替换为新的内容 | rows |
-| destroy | 摧毁表 | — |
-
----
-
diff --git a/docs/_book/detailed/table/bi.responsive_table.md b/docs/_book/detailed/table/bi.responsive_table.md
deleted file mode 100644
index de0f5e2fad..0000000000
--- a/docs/_book/detailed/table/bi.responsive_table.md
+++ /dev/null
@@ -1,86 +0,0 @@
-# bi.responsive_table
-
-### 自适应宽度的表格,继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/y70jwztm/)
-
-{% common %}
-```javascript
-
-BI.createWidget({
- type: "bi.responsive_table",
- isNeedMerge: true,
- isNeedFreeze: true,
- mergeCols: [0, 1],
- columnSize: ["", "", ""],
- items: [[{
- text: "第一行第一列"
- }, {
- text: "第一行第二列"
- }, {
- text: "第一行第三列"
- }]],
- header: [[{
- text: "表头1"
- }, {
- text: "表头2"
- }, {
- text: "表头3"
- }]],
- element: 'body'
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 默认值 |
-| ---------------- | ------------------------------------ | -------- | -------- |
-| isNeedFreeze | 是否需要冻结单元格 | boolean | false |
-| freezeCols | 冻结的列号,从0开始,isNeedFreeze为true时生效 | array | [] |
-| isNeedMerge | 是否需要合并单元格 | boolean | false |
-| mergeRule | function (row1, row2) 合并规则, 默认相等时合并 | function | function |
-| columnSize | 列宽 | array | [] |
-| headerRowSize | 表头行高 | number | 25 |
-| footerRowSize | 表尾行高 | number | 25 |
-| rowSize | 行高 | number | 25 |
-| columnSize | 列宽 | array | [] |
-| regionColumnSize | | boolean | false |
-| header | 表头内容 | array | [] |
-| footer | 是否需要表尾 | boolean | false |
-| items | 子组件二维数组 | array | [] |
-| crossHeader | 交叉表头 | array | [] |
-| crossItems | 交叉表内容二维数组 | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ---------------------------- | ---------------- | ------------- |
-| resize | 调整表格 | — |
-| setColumnSize | 设置列宽 | columnSize |
-| getColumnSize | 得到列宽 | — |
-| getCalculateColumnSize | 获得计算后的列宽 | — |
-| setHeaderColumnSize | 设置表头的列宽 | columnSize |
-| setRegionColumnSize | 设置列项之间的间隙 | columnSize |
-| getRegionColumnSize | 获得列项之间的间隙 | — |
-| getCalculateRegionColumnSize | 获取计算后的列项之间的间隙 | — |
-| getCalculateRegionRowSize | 获取计算后的列项上下之间的间隙 | — |
-| getClientRegionColumnSize | 获取浏览器中显示的列项之间的间隙 | — |
-| getScrollRegionColumnSize | 获取横向滚动条宽度 | — |
-| getScrollRegionRowSize | 获取纵向滚动条宽度 | — |
-| hasVerticalScroll | 是否含有数值滚动条 | — |
-| setVerticalScroll | 设置纵向滚动距离 | scrollTop |
-| setLeftHorizontalScroll | 设置左到右横向滚动距离 | scrollLeft |
-| setRightHorizontalScroll | 设置右往左横向滚动距离 | scrollLeft |
-| getVerticalScroll | 获取纵向滚动距离 | — |
-| getLeftHorizontalScroll | 获取左到右横向滚动距离 | — |
-| getRightHorizontalScroll | 获取右往左横向滚动距离 | — |
-| getColumns | 获取列项 | — |
-| resizeHeader | 调整表头 | — |
-| attr | 设置属性 | key:键,value:值 |
-| populate | 替换为新内容 | rows |
-| destroy | 摧毁表 | — |
-
-------
-
diff --git a/docs/_book/detailed/text_input/bi.clear_editor.md b/docs/_book/detailed/text_input/bi.clear_editor.md
deleted file mode 100644
index 63a1303d8f..0000000000
--- a/docs/_book/detailed/text_input/bi.clear_editor.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# bi.clear_editor
-
-## 带清除按钮的输入框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/ppgph3qu/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.clear_editor',
- cls: "bi-border",
- element: '#wrapper',
- width: 300,
- watermark:"带清除按钮的输入框",
-});
-```
-
-{% endmethod %}
-
-##API
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| validationChecker | 输入较验函数 | function | — | — |
-| quitChecker | 是否允许退出编辑函数 | function | — | — |
-| allowBlank | 是否允许空值 | boolean | true,false | false |
-| watermark | 文本框placeholder | string | — | null |
-| value | 文本框默认值 | string | — | " " |
-| errorText | 错误提示 | string | — | null |
-| width | 文本框宽度 | number | — | — |
-| height | 文本框高度 | number | — | 30 |
-
-
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.ClearEditor.EVENT_CLEAR| 点击清空按钮触发 |
-
-### 其他事件详见[Input](../../base/editor/editor.md)
-
-
----
-
diff --git a/docs/_book/detailed/text_input/bi.search_editor.md b/docs/_book/detailed/text_input/bi.search_editor.md
deleted file mode 100644
index 62a967f490..0000000000
--- a/docs/_book/detailed/text_input/bi.search_editor.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-## bi.search_editor
-### 搜索框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/4a1rLppw/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.search_editor',
- element: '#wrapper',
- width: 300,
- watermark:"搜索",
-});
-```
-
-{% endmethod %}
-
-##API
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| validationChecker | 输入较验函数 |function| — | — |
-| quitChecker | 是否允许退出编辑函数 | function | — | — |
-| allowBlank | 是否允许空值 | boolean | true,false | false |
-| watermark | 文本框placeholder | string | — | null |
-| value | 文本框默认值 | string | — | " " |
-| errorText | 错误提示 | string | —| null |
-| width | 文本框宽度 | number | — | — |
-| height | 文本框高度 | number | — | 30 |
-
-
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.SearchEditor.EVENT_CLEAR| 点击清空按钮触发 |
-
-### 其他事件详见[Editor](../../base/editor/editor.md)
-
-
----
-
diff --git a/docs/_book/detailed/text_input/bi.text_editor.md b/docs/_book/detailed/text_input/bi.text_editor.md
deleted file mode 100644
index 8ee6de74d3..0000000000
--- a/docs/_book/detailed/text_input/bi.text_editor.md
+++ /dev/null
@@ -1,48 +0,0 @@
-#bi.text_editor
-#####通过鼠标或键盘输入字符
-
-## 基础用法
-
-{% method %}
-[source](https://jsfiddle.net/fineui/cna5o200/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: "bi.text_editor",
- element: "#wrapper",
- width: 200,
- height: 30,
- watermark:"请输入内容"
-});
-```
-
-{% endmethod %}
-
-## API
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| hgap | 效果相当于文本框左右padding值 | number | — | 4 |
-| vgap | 效果相当于文本框上下padding值 | number | — | 2 |
-| lgap | 效果相当于文本框left-padding值 | number | — | 0 |
-| rgap | 效果相当于文本框right-padding值 | number | — | 0 |
-| tgap |效果相当于文本框top-padding值 | number | — | 0 |
-| bgap | 效果相当于文本框bottom-padding值 | number | — | 0 |
-| validationChecker | 输入较验函数 |function| — | — |
-| quitChecker | 是否允许退出编辑函数 | function | — | — |
-| allowBlank | 是否允许空值 | boolean | true,false | false |
-| watermark | 文本框placeholder | string | — | null |
-| value | 文本框默认值 | string | — | " " |
-| errorText | 错误提示 | string | — | null |
-| width | 文本框宽度 | number | — | — |
-| height | 文本框高度 | number | — | 30 |
-
-
-
-
-### 事件详见[Editor](../../base/editor/editor.md)
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/text_input/finetuning_number_editor.md b/docs/_book/detailed/text_input/finetuning_number_editor.md
deleted file mode 100644
index 1864f9f731..0000000000
--- a/docs/_book/detailed/text_input/finetuning_number_editor.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# finetuning_number_editor
-
-## 数值微调器
-
-{% method %}
-[source](https://jsfiddle.net/fineui/52dhwtfz/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.fine_tuning_number_editor',
- element: '#wrapper',
- width: 300
-});
-```
-
-{% endmethod %}
-
-## 参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| value | 编辑框中的值,-1表示自动 | number | | -1 |
-
-
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.FineTuningNumberEditor.EVENT_CONFIRM| 点击增加/减少按钮或者编辑框确定时触发 |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/detailed/tree/bi.multi_tree_combo.md b/docs/_book/detailed/tree/bi.multi_tree_combo.md
deleted file mode 100644
index dca879fad4..0000000000
--- a/docs/_book/detailed/tree/bi.multi_tree_combo.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# bi.multi_tree_combo
-
-### 树下拉框,继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/caw7efpf/)
-
-{% common %}
-```javascript
-var items = [{
- id: -1,
- pId: -2,
- value: "根目录",
- text: "根目录"
-}, {
- id: 1,
- pId: -1,
- value: "第一级目录1",
- text: "第一级目录1"
-}, {
- id: 11,
- pId: 1,
- value: "第二级文件1",
- text: "第二级文件1"
-}];
-
-BI.createWidget({
- type: "bi.multi_tree_combo",
- itemsCreator: function (options, callback) {
- callback({
- items: items
- });
- },
- width: 300
-})
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ------------ | ------------- | -------- | ------------- |
-| width | 宽度 | number | 200 |
-| height | 高度 | number | 30 |
-| items | 子项,pId代表父节点ID | array | null |
-| itemsCreator | 子项创建函数 | function | function() {} |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| -------- | ------- | --------------- |
-| setValue | 设置文本框值 | v |
-| getValue | 获取文本框值 | — |
-| populate | 更改树结构内容 | items |
-
-## 事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.MultiTreeCombo.EVENT_CONFIRM| 点击一级节点触发 |
----
-
diff --git a/docs/_book/detailed/tree/bi.switch_tree.md b/docs/_book/detailed/tree/bi.switch_tree.md
deleted file mode 100644
index b1e3302078..0000000000
--- a/docs/_book/detailed/tree/bi.switch_tree.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# bi.switch_tree
-
-### 可以单选多选切换的树,继承BI.Widget
-
-{% method %}
-[source](https://jsfiddle.net/fineui/crd4z1nd/)
-
-{% common %}
-```javascript
-var items = [{
- id: -1,
- pId: -2,
- value: "根目录",
- text: "根目录"
-}, {
- id: 1,
- pId: -1,
- value: "第一级目录1",
- text: "第一级目录1"
-}, {
- id: 11,
- pId: 1,
- value: "第二级文件1",
- text: "第二级文件1"
-}];
-
-var tree = BI.createWidget({
- type: "bi.switch_tree",
- items: items,
-});
-```
-
-{% endmethod %}
-
-## 参数设置
-| 参数 | 说明 | 类型 | 默认值 |
-| ----- | ------------- | ----- | ---- |
-| items | 子项,pId代表父节点ID | array | [] |
-
-## 方法
-| 方法名 | 说明 | 参数 |
-| ------------ | --------- | ------------ |
-| switchSelect | 切换树结构 | — |
-| setSelect | 设置选中项 | v |
-| getSelect | 获取选中项 | — |
-| setValue | 设置当前选中项内容 | v |
-| getValue | 获取当前选中项内容 | v |
-| populate | 更改树结构内容 | items |
-
-------
-
-
-
diff --git a/docs/_book/detailed/year_combo.md b/docs/_book/detailed/year_combo.md
deleted file mode 100644
index 7cd74f0bcb..0000000000
--- a/docs/_book/detailed/year_combo.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# year_combo
-
-## 年份选择下拉框
-
-{% method %}
-[source](https://jsfiddle.net/fineui/3na3125L/)
-
-{% common %}
-```javascript
-BI.createWidget({
- type: 'bi.year_combo',
- element: '#wrapper',
- width: 300
-});
-```
-
-{% endmethod %}
-
-##参数
-
-| 参数 | 说明 | 类型 | 可选值 | 默认值
-| :------ |:------------- | :-----| :----|:----|
-| behaviors | 自定义下拉列表中item项的行为,如高亮,标红等(详见[button_group](../core/abstract/button_group.md)) | object | | {} |
-| min | 限定可选日期的下限 | string | | '1900-01-01' |
-| max | 限定可选日期的上限 | string | | '2099-12-31' |
-
-
-
-##事件
-| 事件 | 说明 |
-| :------ |:------------- |
-|BI.YearCombo.EVENT_CONFIRM| 选中日期或者退出编辑状态触发 |
-|BI.YearCombo.EVENT_BEFORE_POPUPVIEW| 选中日期或者退出编辑状态触发 |
-
-
-
----
\ No newline at end of file
diff --git a/docs/_book/base/bubble.html b/docs/base/bubble.html
similarity index 100%
rename from docs/_book/base/bubble.html
rename to docs/base/bubble.html
diff --git a/docs/_book/base/button/button.html b/docs/base/button/button.html
similarity index 100%
rename from docs/_book/base/button/button.html
rename to docs/base/button/button.html
diff --git a/docs/_book/base/button/icon_button.html b/docs/base/button/icon_button.html
similarity index 100%
rename from docs/_book/base/button/icon_button.html
rename to docs/base/button/icon_button.html
diff --git a/docs/_book/base/button/image_button.html b/docs/base/button/image_button.html
similarity index 100%
rename from docs/_book/base/button/image_button.html
rename to docs/base/button/image_button.html
diff --git a/docs/_book/base/button/text_button.html b/docs/base/button/text_button.html
similarity index 100%
rename from docs/_book/base/button/text_button.html
rename to docs/base/button/text_button.html
diff --git a/docs/_book/base/canvas.html b/docs/base/canvas.html
similarity index 100%
rename from docs/_book/base/canvas.html
rename to docs/base/canvas.html
diff --git a/docs/_book/base/editor/code_editor.html b/docs/base/editor/code_editor.html
similarity index 100%
rename from docs/_book/base/editor/code_editor.html
rename to docs/base/editor/code_editor.html
diff --git a/docs/_book/base/editor/editor.html b/docs/base/editor/editor.html
similarity index 100%
rename from docs/_book/base/editor/editor.html
rename to docs/base/editor/editor.html
diff --git a/docs/_book/base/editor/formula_editor.html b/docs/base/editor/formula_editor.html
similarity index 100%
rename from docs/_book/base/editor/formula_editor.html
rename to docs/base/editor/formula_editor.html
diff --git a/docs/_book/base/editor/multifile_editor.html b/docs/base/editor/multifile_editor.html
similarity index 100%
rename from docs/_book/base/editor/multifile_editor.html
rename to docs/base/editor/multifile_editor.html
diff --git a/docs/_book/base/editor/textarea_editor.html b/docs/base/editor/textarea_editor.html
similarity index 100%
rename from docs/_book/base/editor/textarea_editor.html
rename to docs/base/editor/textarea_editor.html
diff --git a/docs/_book/base/label.html b/docs/base/label.html
similarity index 100%
rename from docs/_book/base/label.html
rename to docs/base/label.html
diff --git a/docs/_book/base/message.html b/docs/base/message.html
similarity index 100%
rename from docs/_book/base/message.html
rename to docs/base/message.html
diff --git a/docs/_book/base/pager.html b/docs/base/pager.html
similarity index 100%
rename from docs/_book/base/pager.html
rename to docs/base/pager.html
diff --git a/docs/_book/base/svg.html b/docs/base/svg.html
similarity index 100%
rename from docs/_book/base/svg.html
rename to docs/base/svg.html
diff --git a/docs/_book/base/table/collection_table.html b/docs/base/table/collection_table.html
similarity index 100%
rename from docs/_book/base/table/collection_table.html
rename to docs/base/table/collection_table.html
diff --git a/docs/_book/base/table/grid_table.html b/docs/base/table/grid_table.html
similarity index 100%
rename from docs/_book/base/table/grid_table.html
rename to docs/base/table/grid_table.html
diff --git a/docs/_book/base/table/resizable_table.html b/docs/base/table/resizable_table.html
similarity index 100%
rename from docs/_book/base/table/resizable_table.html
rename to docs/base/table/resizable_table.html
diff --git a/docs/_book/base/table/table_view.html b/docs/base/table/table_view.html
similarity index 100%
rename from docs/_book/base/table/table_view.html
rename to docs/base/table/table_view.html
diff --git a/docs/_book/base/toast.html b/docs/base/toast.html
similarity index 100%
rename from docs/_book/base/toast.html
rename to docs/base/toast.html
diff --git a/docs/book.json b/docs/book.json
deleted file mode 100644
index 2fcb0b3d20..0000000000
--- a/docs/book.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "plugins": [
- "jsfiddle",
- "splitter",
- "theme-api",
- "expandable-chapters"
- ],
- "pluginsConfig": {
- "theme-default": {
- "showLevel": false
- },
- "jsfiddle": {
- "type": "script",
- "tabs": [
- "result",
- "js",
- "html"
- ],
- "height": "100",
- "width": "500",
- "fontColor": "00FF00"
- },
- "expandable-chapters":{}
- }
-}
\ No newline at end of file
diff --git a/docs/_book/case/button/multi_select_item.html b/docs/case/button/multi_select_item.html
similarity index 100%
rename from docs/_book/case/button/multi_select_item.html
rename to docs/case/button/multi_select_item.html
diff --git a/docs/_book/case/button/single_select_item.html b/docs/case/button/single_select_item.html
similarity index 100%
rename from docs/_book/case/button/single_select_item.html
rename to docs/case/button/single_select_item.html
diff --git a/docs/_book/case/button/single_select_radio_item.html b/docs/case/button/single_select_radio_item.html
similarity index 100%
rename from docs/_book/case/button/single_select_radio_item.html
rename to docs/case/button/single_select_radio_item.html
diff --git a/docs/_book/case/calendar.html b/docs/case/calendar.html
similarity index 100%
rename from docs/_book/case/calendar.html
rename to docs/case/calendar.html
diff --git a/docs/_book/case/clipboard.html b/docs/case/clipboard.html
similarity index 100%
rename from docs/_book/case/clipboard.html
rename to docs/case/clipboard.html
diff --git a/docs/_book/case/color_chooser.html b/docs/case/color_chooser.html
similarity index 100%
rename from docs/_book/case/color_chooser.html
rename to docs/case/color_chooser.html
diff --git a/docs/_book/case/color_chooser_popup.html b/docs/case/color_chooser_popup.html
similarity index 100%
rename from docs/_book/case/color_chooser_popup.html
rename to docs/case/color_chooser_popup.html
diff --git a/docs/_book/case/combo/bubble_combo.html b/docs/case/combo/bubble_combo.html
similarity index 100%
rename from docs/_book/case/combo/bubble_combo.html
rename to docs/case/combo/bubble_combo.html
diff --git a/docs/_book/case/combo/icon_combo.html b/docs/case/combo/icon_combo.html
similarity index 100%
rename from docs/_book/case/combo/icon_combo.html
rename to docs/case/combo/icon_combo.html
diff --git a/docs/_book/case/combo/static_combo.html b/docs/case/combo/static_combo.html
similarity index 100%
rename from docs/_book/case/combo/static_combo.html
rename to docs/case/combo/static_combo.html
diff --git a/docs/_book/case/combo/text_value_combo.html b/docs/case/combo/text_value_combo.html
similarity index 100%
rename from docs/_book/case/combo/text_value_combo.html
rename to docs/case/combo/text_value_combo.html
diff --git a/docs/_book/case/combo/text_value_downlist_combo.html b/docs/case/combo/text_value_downlist_combo.html
similarity index 100%
rename from docs/_book/case/combo/text_value_downlist_combo.html
rename to docs/case/combo/text_value_downlist_combo.html
diff --git a/docs/_book/case/complex_canvas.html b/docs/case/complex_canvas.html
similarity index 100%
rename from docs/_book/case/complex_canvas.html
rename to docs/case/complex_canvas.html
diff --git a/docs/_book/case/editor/shelter_editor.html b/docs/case/editor/shelter_editor.html
similarity index 100%
rename from docs/_book/case/editor/shelter_editor.html
rename to docs/case/editor/shelter_editor.html
diff --git a/docs/_book/case/editor/sign_editor.html b/docs/case/editor/sign_editor.html
similarity index 100%
rename from docs/_book/case/editor/sign_editor.html
rename to docs/case/editor/sign_editor.html
diff --git a/docs/_book/case/editor/sign_initial_editor.html b/docs/case/editor/sign_initial_editor.html
similarity index 100%
rename from docs/_book/case/editor/sign_initial_editor.html
rename to docs/case/editor/sign_initial_editor.html
diff --git a/docs/_book/case/editor/state_editor.html b/docs/case/editor/state_editor.html
similarity index 100%
rename from docs/_book/case/editor/state_editor.html
rename to docs/case/editor/state_editor.html
diff --git a/docs/_book/case/layer/layer_panel.html b/docs/case/layer/layer_panel.html
similarity index 100%
rename from docs/_book/case/layer/layer_panel.html
rename to docs/case/layer/layer_panel.html
diff --git a/docs/_book/case/layer/multi_popup_layer.html b/docs/case/layer/multi_popup_layer.html
similarity index 100%
rename from docs/_book/case/layer/multi_popup_layer.html
rename to docs/case/layer/multi_popup_layer.html
diff --git a/docs/_book/case/layer/pane_list.html b/docs/case/layer/pane_list.html
similarity index 100%
rename from docs/_book/case/layer/pane_list.html
rename to docs/case/layer/pane_list.html
diff --git a/docs/_book/case/layer/panel.html b/docs/case/layer/panel.html
similarity index 100%
rename from docs/_book/case/layer/panel.html
rename to docs/case/layer/panel.html
diff --git a/docs/_book/case/list/list.select.html b/docs/case/list/list.select.html
similarity index 100%
rename from docs/_book/case/list/list.select.html
rename to docs/case/list/list.select.html
diff --git a/docs/_book/case/loader/lazy_loader.html b/docs/case/loader/lazy_loader.html
similarity index 100%
rename from docs/_book/case/loader/lazy_loader.html
rename to docs/case/loader/lazy_loader.html
diff --git a/docs/_book/case/loader/list_loader.html b/docs/case/loader/list_loader.html
similarity index 100%
rename from docs/_book/case/loader/list_loader.html
rename to docs/case/loader/list_loader.html
diff --git a/docs/_book/case/loader/sort_list.html b/docs/case/loader/sort_list.html
similarity index 100%
rename from docs/_book/case/loader/sort_list.html
rename to docs/case/loader/sort_list.html
diff --git a/docs/_book/case/pager/all_count_pager.html b/docs/case/pager/all_count_pager.html
similarity index 100%
rename from docs/_book/case/pager/all_count_pager.html
rename to docs/case/pager/all_count_pager.html
diff --git a/docs/_book/case/pager/direction_pager.html b/docs/case/pager/direction_pager.html
similarity index 100%
rename from docs/_book/case/pager/direction_pager.html
rename to docs/case/pager/direction_pager.html
diff --git a/docs/_book/case/segment.html b/docs/case/segment.html
similarity index 100%
rename from docs/_book/case/segment.html
rename to docs/case/segment.html
diff --git a/docs/_book/case/table/adaptive_table.html b/docs/case/table/adaptive_table.html
similarity index 100%
rename from docs/_book/case/table/adaptive_table.html
rename to docs/case/table/adaptive_table.html
diff --git a/docs/_book/case/table/layer_tree_table.html b/docs/case/table/layer_tree_table.html
similarity index 100%
rename from docs/_book/case/table/layer_tree_table.html
rename to docs/case/table/layer_tree_table.html
diff --git a/docs/_book/case/table/tree_table.html b/docs/case/table/tree_table.html
similarity index 100%
rename from docs/_book/case/table/tree_table.html
rename to docs/case/table/tree_table.html
diff --git a/docs/_book/case/tree/branch_relation.html b/docs/case/tree/branch_relation.html
similarity index 100%
rename from docs/_book/case/tree/branch_relation.html
rename to docs/case/tree/branch_relation.html
diff --git a/docs/_book/case/tree/branch_tree.html b/docs/case/tree/branch_tree.html
similarity index 100%
rename from docs/_book/case/tree/branch_tree.html
rename to docs/case/tree/branch_tree.html
diff --git a/docs/_book/case/tree/display_tree.html b/docs/case/tree/display_tree.html
similarity index 100%
rename from docs/_book/case/tree/display_tree.html
rename to docs/case/tree/display_tree.html
diff --git a/docs/_book/case/tree/handstand_branch_tree.html b/docs/case/tree/handstand_branch_tree.html
similarity index 100%
rename from docs/_book/case/tree/handstand_branch_tree.html
rename to docs/case/tree/handstand_branch_tree.html
diff --git a/docs/_book/case/tree/level_tree.html b/docs/case/tree/level_tree.html
similarity index 100%
rename from docs/_book/case/tree/level_tree.html
rename to docs/case/tree/level_tree.html
diff --git a/docs/_book/case/tree/simple_tree.html b/docs/case/tree/simple_tree.html
similarity index 100%
rename from docs/_book/case/tree/simple_tree.html
rename to docs/case/tree/simple_tree.html
diff --git a/docs/_book/case/trigger/editor_trigger.html b/docs/case/trigger/editor_trigger.html
similarity index 100%
rename from docs/_book/case/trigger/editor_trigger.html
rename to docs/case/trigger/editor_trigger.html
diff --git a/docs/_book/case/trigger/icon_trigger.html b/docs/case/trigger/icon_trigger.html
similarity index 100%
rename from docs/_book/case/trigger/icon_trigger.html
rename to docs/case/trigger/icon_trigger.html
diff --git a/docs/_book/case/trigger/text_trigger.html b/docs/case/trigger/text_trigger.html
similarity index 100%
rename from docs/_book/case/trigger/text_trigger.html
rename to docs/case/trigger/text_trigger.html
diff --git a/docs/_book/core/abstract/button_group.html b/docs/core/abstract/button_group.html
similarity index 100%
rename from docs/_book/core/abstract/button_group.html
rename to docs/core/abstract/button_group.html
diff --git a/docs/_book/core/abstract/button_tree.html b/docs/core/abstract/button_tree.html
similarity index 100%
rename from docs/_book/core/abstract/button_tree.html
rename to docs/core/abstract/button_tree.html
diff --git a/docs/_book/core/abstract/collection_view.html b/docs/core/abstract/collection_view.html
similarity index 100%
rename from docs/_book/core/abstract/collection_view.html
rename to docs/core/abstract/collection_view.html
diff --git a/docs/_book/core/abstract/custom_tree.html b/docs/core/abstract/custom_tree.html
similarity index 100%
rename from docs/_book/core/abstract/custom_tree.html
rename to docs/core/abstract/custom_tree.html
diff --git a/docs/_book/core/abstract/grid_view.html b/docs/core/abstract/grid_view.html
similarity index 100%
rename from docs/_book/core/abstract/grid_view.html
rename to docs/core/abstract/grid_view.html
diff --git a/docs/_book/core/abstract/virtual_group.html b/docs/core/abstract/virtual_group.html
similarity index 100%
rename from docs/_book/core/abstract/virtual_group.html
rename to docs/core/abstract/virtual_group.html
diff --git a/docs/_book/core/abstract/virtual_list.html b/docs/core/abstract/virtual_list.html
similarity index 100%
rename from docs/_book/core/abstract/virtual_list.html
rename to docs/core/abstract/virtual_list.html
diff --git a/docs/_book/core/basic_button.html b/docs/core/basic_button.html
similarity index 100%
rename from docs/_book/core/basic_button.html
rename to docs/core/basic_button.html
diff --git a/docs/_book/core/combination/bi.combo.html b/docs/core/combination/bi.combo.html
similarity index 100%
rename from docs/_book/core/combination/bi.combo.html
rename to docs/core/combination/bi.combo.html
diff --git a/docs/_book/core/combination/bi.expander.html b/docs/core/combination/bi.expander.html
similarity index 100%
rename from docs/_book/core/combination/bi.expander.html
rename to docs/core/combination/bi.expander.html
diff --git a/docs/_book/core/combination/group_combo.html b/docs/core/combination/group_combo.html
similarity index 100%
rename from docs/_book/core/combination/group_combo.html
rename to docs/core/combination/group_combo.html
diff --git a/docs/_book/core/combination/loader.html b/docs/core/combination/loader.html
similarity index 100%
rename from docs/_book/core/combination/loader.html
rename to docs/core/combination/loader.html
diff --git a/docs/_book/core/combination/navigation.html b/docs/core/combination/navigation.html
similarity index 100%
rename from docs/_book/core/combination/navigation.html
rename to docs/core/combination/navigation.html
diff --git a/docs/_book/core/combination/searcher.html b/docs/core/combination/searcher.html
similarity index 100%
rename from docs/_book/core/combination/searcher.html
rename to docs/core/combination/searcher.html
diff --git a/docs/_book/core/combination/switcher.html b/docs/core/combination/switcher.html
similarity index 100%
rename from docs/_book/core/combination/switcher.html
rename to docs/core/combination/switcher.html
diff --git a/docs/_book/core/combination/tab.html b/docs/core/combination/tab.html
similarity index 100%
rename from docs/_book/core/combination/tab.html
rename to docs/core/combination/tab.html
diff --git a/docs/_book/core/layer/layer_float_box.html b/docs/core/layer/layer_float_box.html
similarity index 100%
rename from docs/_book/core/layer/layer_float_box.html
rename to docs/core/layer/layer_float_box.html
diff --git a/docs/_book/core/layer/layer_popup.html b/docs/core/layer/layer_popup.html
similarity index 100%
rename from docs/_book/core/layer/layer_popup.html
rename to docs/core/layer/layer_popup.html
diff --git a/docs/_book/core/layer/layer_searcher.html b/docs/core/layer/layer_searcher.html
similarity index 100%
rename from docs/_book/core/layer/layer_searcher.html
rename to docs/core/layer/layer_searcher.html
diff --git a/docs/_book/core/layout/border.html b/docs/core/layout/border.html
similarity index 100%
rename from docs/_book/core/layout/border.html
rename to docs/core/layout/border.html
diff --git a/docs/_book/core/layout/center.html b/docs/core/layout/center.html
similarity index 100%
rename from docs/_book/core/layout/center.html
rename to docs/core/layout/center.html
diff --git a/docs/_book/core/layout/center_adapt.html b/docs/core/layout/center_adapt.html
similarity index 100%
rename from docs/_book/core/layout/center_adapt.html
rename to docs/core/layout/center_adapt.html
diff --git a/docs/_book/core/layout/float_center.html b/docs/core/layout/float_center.html
similarity index 100%
rename from docs/_book/core/layout/float_center.html
rename to docs/core/layout/float_center.html
diff --git a/docs/_book/core/layout/flow.html b/docs/core/layout/flow.html
similarity index 100%
rename from docs/_book/core/layout/flow.html
rename to docs/core/layout/flow.html
diff --git a/docs/_book/core/layout/grid.html b/docs/core/layout/grid.html
similarity index 100%
rename from docs/_book/core/layout/grid.html
rename to docs/core/layout/grid.html
diff --git a/docs/_book/core/layout/horizontal.html b/docs/core/layout/horizontal.html
similarity index 100%
rename from docs/_book/core/layout/horizontal.html
rename to docs/core/layout/horizontal.html
diff --git a/docs/_book/core/layout/horizontal_adapt.html b/docs/core/layout/horizontal_adapt.html
similarity index 100%
rename from docs/_book/core/layout/horizontal_adapt.html
rename to docs/core/layout/horizontal_adapt.html
diff --git a/docs/_book/core/layout/horizontal_auto.html b/docs/core/layout/horizontal_auto.html
similarity index 100%
rename from docs/_book/core/layout/horizontal_auto.html
rename to docs/core/layout/horizontal_auto.html
diff --git a/docs/_book/core/layout/horizontal_float.html b/docs/core/layout/horizontal_float.html
similarity index 100%
rename from docs/_book/core/layout/horizontal_float.html
rename to docs/core/layout/horizontal_float.html
diff --git a/docs/_book/core/layout/htape.html b/docs/core/layout/htape.html
similarity index 100%
rename from docs/_book/core/layout/htape.html
rename to docs/core/layout/htape.html
diff --git a/docs/_book/core/layout/left_right_vertical_adapt.html b/docs/core/layout/left_right_vertical_adapt.html
similarity index 100%
rename from docs/_book/core/layout/left_right_vertical_adapt.html
rename to docs/core/layout/left_right_vertical_adapt.html
diff --git a/docs/_book/core/layout/table.html b/docs/core/layout/table.html
similarity index 100%
rename from docs/_book/core/layout/table.html
rename to docs/core/layout/table.html
diff --git a/docs/_book/core/layout/td.html b/docs/core/layout/td.html
similarity index 100%
rename from docs/_book/core/layout/td.html
rename to docs/core/layout/td.html
diff --git a/docs/_book/core/layout/vertical.html b/docs/core/layout/vertical.html
similarity index 100%
rename from docs/_book/core/layout/vertical.html
rename to docs/core/layout/vertical.html
diff --git a/docs/_book/core/layout/vertical_adapt.html b/docs/core/layout/vertical_adapt.html
similarity index 100%
rename from docs/_book/core/layout/vertical_adapt.html
rename to docs/core/layout/vertical_adapt.html
diff --git a/docs/_book/core/layout/vtape.html b/docs/core/layout/vtape.html
similarity index 100%
rename from docs/_book/core/layout/vtape.html
rename to docs/core/layout/vtape.html
diff --git a/docs/_book/core/node_button.html b/docs/core/node_button.html
similarity index 100%
rename from docs/_book/core/node_button.html
rename to docs/core/node_button.html
diff --git a/docs/_book/core/pane.html b/docs/core/pane.html
similarity index 100%
rename from docs/_book/core/pane.html
rename to docs/core/pane.html
diff --git a/docs/_book/core/single.html b/docs/core/single.html
similarity index 100%
rename from docs/_book/core/single.html
rename to docs/core/single.html
diff --git a/docs/_book/core/widget.html b/docs/core/widget.html
similarity index 100%
rename from docs/_book/core/widget.html
rename to docs/core/widget.html
diff --git a/docs/_book/detailed/bi.button/general.html b/docs/detailed/bi.button/general.html
similarity index 100%
rename from docs/_book/detailed/bi.button/general.html
rename to docs/detailed/bi.button/general.html
diff --git a/docs/_book/detailed/bi.button/items.html b/docs/detailed/bi.button/items.html
similarity index 100%
rename from docs/_book/detailed/bi.button/items.html
rename to docs/detailed/bi.button/items.html
diff --git a/docs/_book/detailed/bi.button/node.html b/docs/detailed/bi.button/node.html
similarity index 100%
rename from docs/_book/detailed/bi.button/node.html
rename to docs/detailed/bi.button/node.html
diff --git a/docs/_book/detailed/bi.button/segment.html b/docs/detailed/bi.button/segment.html
similarity index 100%
rename from docs/_book/detailed/bi.button/segment.html
rename to docs/detailed/bi.button/segment.html
diff --git a/docs/_book/detailed/bi.button/tooltip.html b/docs/detailed/bi.button/tooltip.html
similarity index 100%
rename from docs/_book/detailed/bi.button/tooltip.html
rename to docs/detailed/bi.button/tooltip.html
diff --git a/docs/_book/detailed/combo/multilayer_select_tree_combo.html b/docs/detailed/combo/multilayer_select_tree_combo.html
similarity index 100%
rename from docs/_book/detailed/combo/multilayer_select_tree_combo.html
rename to docs/detailed/combo/multilayer_select_tree_combo.html
diff --git a/docs/_book/detailed/combo/multilayer_single_tree_combo.html b/docs/detailed/combo/multilayer_single_tree_combo.html
similarity index 100%
rename from docs/_book/detailed/combo/multilayer_single_tree_combo.html
rename to docs/detailed/combo/multilayer_single_tree_combo.html
diff --git a/docs/_book/detailed/combo/select_tree_combo.html b/docs/detailed/combo/select_tree_combo.html
similarity index 100%
rename from docs/_book/detailed/combo/select_tree_combo.html
rename to docs/detailed/combo/select_tree_combo.html
diff --git a/docs/_book/detailed/combo/single_tree_combo.html b/docs/detailed/combo/single_tree_combo.html
similarity index 100%
rename from docs/_book/detailed/combo/single_tree_combo.html
rename to docs/detailed/combo/single_tree_combo.html
diff --git a/docs/_book/detailed/date/custom_date_time.html b/docs/detailed/date/custom_date_time.html
similarity index 100%
rename from docs/_book/detailed/date/custom_date_time.html
rename to docs/detailed/date/custom_date_time.html
diff --git a/docs/_book/detailed/date/date_combo.html b/docs/detailed/date/date_combo.html
similarity index 100%
rename from docs/_book/detailed/date/date_combo.html
rename to docs/detailed/date/date_combo.html
diff --git a/docs/_book/detailed/date/date_pane_widget.html b/docs/detailed/date/date_pane_widget.html
similarity index 100%
rename from docs/_book/detailed/date/date_pane_widget.html
rename to docs/detailed/date/date_pane_widget.html
diff --git a/docs/_book/detailed/date/year_month_combo.html b/docs/detailed/date/year_month_combo.html
similarity index 100%
rename from docs/_book/detailed/date/year_month_combo.html
rename to docs/detailed/date/year_month_combo.html
diff --git a/docs/_book/detailed/date/year_quarter_combo.html b/docs/detailed/date/year_quarter_combo.html
similarity index 100%
rename from docs/_book/detailed/date/year_quarter_combo.html
rename to docs/detailed/date/year_quarter_combo.html
diff --git a/docs/_book/detailed/dialog.html b/docs/detailed/dialog.html
similarity index 100%
rename from docs/_book/detailed/dialog.html
rename to docs/detailed/dialog.html
diff --git a/docs/_book/detailed/down_list_combo.html b/docs/detailed/down_list_combo.html
similarity index 100%
rename from docs/_book/detailed/down_list_combo.html
rename to docs/detailed/down_list_combo.html
diff --git a/docs/_book/detailed/file_manager.html b/docs/detailed/file_manager.html
similarity index 100%
rename from docs/_book/detailed/file_manager.html
rename to docs/detailed/file_manager.html
diff --git a/docs/_book/detailed/month_combo.html b/docs/detailed/month_combo.html
similarity index 100%
rename from docs/_book/detailed/month_combo.html
rename to docs/detailed/month_combo.html
diff --git a/docs/_book/detailed/multi_select_combo.html b/docs/detailed/multi_select_combo.html
similarity index 100%
rename from docs/_book/detailed/multi_select_combo.html
rename to docs/detailed/multi_select_combo.html
diff --git a/docs/_book/detailed/numeric_interval.html b/docs/detailed/numeric_interval.html
similarity index 100%
rename from docs/_book/detailed/numeric_interval.html
rename to docs/detailed/numeric_interval.html
diff --git a/docs/_book/detailed/path/direction_path_chooser.html b/docs/detailed/path/direction_path_chooser.html
similarity index 100%
rename from docs/_book/detailed/path/direction_path_chooser.html
rename to docs/detailed/path/direction_path_chooser.html
diff --git a/docs/_book/detailed/path/path_chooser.html b/docs/detailed/path/path_chooser.html
similarity index 100%
rename from docs/_book/detailed/path/path_chooser.html
rename to docs/detailed/path/path_chooser.html
diff --git a/docs/_book/detailed/quarter_combo.html b/docs/detailed/quarter_combo.html
similarity index 100%
rename from docs/_book/detailed/quarter_combo.html
rename to docs/detailed/quarter_combo.html
diff --git a/docs/_book/detailed/relation_view.html b/docs/detailed/relation_view.html
similarity index 100%
rename from docs/_book/detailed/relation_view.html
rename to docs/detailed/relation_view.html
diff --git a/docs/_book/detailed/slider.html b/docs/detailed/slider.html
similarity index 100%
rename from docs/_book/detailed/slider.html
rename to docs/detailed/slider.html
diff --git a/docs/_book/detailed/table/bi.excel_table.html b/docs/detailed/table/bi.excel_table.html
similarity index 100%
rename from docs/_book/detailed/table/bi.excel_table.html
rename to docs/detailed/table/bi.excel_table.html
diff --git a/docs/_book/detailed/table/bi.page_table.html b/docs/detailed/table/bi.page_table.html
similarity index 100%
rename from docs/_book/detailed/table/bi.page_table.html
rename to docs/detailed/table/bi.page_table.html
diff --git a/docs/_book/detailed/table/bi.preview_table.html b/docs/detailed/table/bi.preview_table.html
similarity index 100%
rename from docs/_book/detailed/table/bi.preview_table.html
rename to docs/detailed/table/bi.preview_table.html
diff --git a/docs/_book/detailed/table/bi.responsive_table.html b/docs/detailed/table/bi.responsive_table.html
similarity index 100%
rename from docs/_book/detailed/table/bi.responsive_table.html
rename to docs/detailed/table/bi.responsive_table.html
diff --git a/docs/_book/detailed/text_input/bi.clear_editor.html b/docs/detailed/text_input/bi.clear_editor.html
similarity index 100%
rename from docs/_book/detailed/text_input/bi.clear_editor.html
rename to docs/detailed/text_input/bi.clear_editor.html
diff --git a/docs/_book/detailed/text_input/bi.search_editor.html b/docs/detailed/text_input/bi.search_editor.html
similarity index 100%
rename from docs/_book/detailed/text_input/bi.search_editor.html
rename to docs/detailed/text_input/bi.search_editor.html
diff --git a/docs/_book/detailed/text_input/bi.text_editor.html b/docs/detailed/text_input/bi.text_editor.html
similarity index 100%
rename from docs/_book/detailed/text_input/bi.text_editor.html
rename to docs/detailed/text_input/bi.text_editor.html
diff --git a/docs/_book/detailed/text_input/finetuning_number_editor.html b/docs/detailed/text_input/finetuning_number_editor.html
similarity index 100%
rename from docs/_book/detailed/text_input/finetuning_number_editor.html
rename to docs/detailed/text_input/finetuning_number_editor.html
diff --git a/docs/_book/detailed/tree/bi.multi_tree_combo.html b/docs/detailed/tree/bi.multi_tree_combo.html
similarity index 100%
rename from docs/_book/detailed/tree/bi.multi_tree_combo.html
rename to docs/detailed/tree/bi.multi_tree_combo.html
diff --git a/docs/_book/detailed/tree/bi.switch_tree.html b/docs/detailed/tree/bi.switch_tree.html
similarity index 100%
rename from docs/_book/detailed/tree/bi.switch_tree.html
rename to docs/detailed/tree/bi.switch_tree.html
diff --git a/docs/_book/detailed/year_combo.html b/docs/detailed/year_combo.html
similarity index 100%
rename from docs/_book/detailed/year_combo.html
rename to docs/detailed/year_combo.html
diff --git a/docs/_book/gitbook/fonts/fontawesome/FontAwesome.otf b/docs/gitbook/fonts/fontawesome/FontAwesome.otf
similarity index 100%
rename from docs/_book/gitbook/fonts/fontawesome/FontAwesome.otf
rename to docs/gitbook/fonts/fontawesome/FontAwesome.otf
diff --git a/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot b/docs/gitbook/fonts/fontawesome/fontawesome-webfont.eot
similarity index 100%
rename from docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot
rename to docs/gitbook/fonts/fontawesome/fontawesome-webfont.eot
diff --git a/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.svg b/docs/gitbook/fonts/fontawesome/fontawesome-webfont.svg
similarity index 100%
rename from docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.svg
rename to docs/gitbook/fonts/fontawesome/fontawesome-webfont.svg
diff --git a/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf b/docs/gitbook/fonts/fontawesome/fontawesome-webfont.ttf
similarity index 100%
rename from docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf
rename to docs/gitbook/fonts/fontawesome/fontawesome-webfont.ttf
diff --git a/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff b/docs/gitbook/fonts/fontawesome/fontawesome-webfont.woff
similarity index 100%
rename from docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff
rename to docs/gitbook/fonts/fontawesome/fontawesome-webfont.woff
diff --git a/docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 b/docs/gitbook/fonts/fontawesome/fontawesome-webfont.woff2
similarity index 100%
rename from docs/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff2
rename to docs/gitbook/fonts/fontawesome/fontawesome-webfont.woff2
diff --git a/docs/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css b/docs/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css
rename to docs/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css
diff --git a/docs/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js b/docs/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js
rename to docs/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js
diff --git a/docs/_book/gitbook/gitbook-plugin-fontsettings/fontsettings.js b/docs/gitbook/gitbook-plugin-fontsettings/fontsettings.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-fontsettings/fontsettings.js
rename to docs/gitbook/gitbook-plugin-fontsettings/fontsettings.js
diff --git a/docs/_book/gitbook/gitbook-plugin-fontsettings/website.css b/docs/gitbook/gitbook-plugin-fontsettings/website.css
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-fontsettings/website.css
rename to docs/gitbook/gitbook-plugin-fontsettings/website.css
diff --git a/docs/_book/gitbook/gitbook-plugin-highlight/ebook.css b/docs/gitbook/gitbook-plugin-highlight/ebook.css
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-highlight/ebook.css
rename to docs/gitbook/gitbook-plugin-highlight/ebook.css
diff --git a/docs/_book/gitbook/gitbook-plugin-highlight/website.css b/docs/gitbook/gitbook-plugin-highlight/website.css
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-highlight/website.css
rename to docs/gitbook/gitbook-plugin-highlight/website.css
diff --git a/docs/_book/gitbook/gitbook-plugin-jsfiddle/plugin.js b/docs/gitbook/gitbook-plugin-jsfiddle/plugin.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-jsfiddle/plugin.js
rename to docs/gitbook/gitbook-plugin-jsfiddle/plugin.js
diff --git a/docs/_book/gitbook/gitbook-plugin-lunr/lunr.min.js b/docs/gitbook/gitbook-plugin-lunr/lunr.min.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-lunr/lunr.min.js
rename to docs/gitbook/gitbook-plugin-lunr/lunr.min.js
diff --git a/docs/_book/gitbook/gitbook-plugin-lunr/search-lunr.js b/docs/gitbook/gitbook-plugin-lunr/search-lunr.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-lunr/search-lunr.js
rename to docs/gitbook/gitbook-plugin-lunr/search-lunr.js
diff --git a/docs/_book/gitbook/gitbook-plugin-search/lunr.min.js b/docs/gitbook/gitbook-plugin-search/lunr.min.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-search/lunr.min.js
rename to docs/gitbook/gitbook-plugin-search/lunr.min.js
diff --git a/docs/_book/gitbook/gitbook-plugin-search/search-engine.js b/docs/gitbook/gitbook-plugin-search/search-engine.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-search/search-engine.js
rename to docs/gitbook/gitbook-plugin-search/search-engine.js
diff --git a/docs/_book/gitbook/gitbook-plugin-search/search.css b/docs/gitbook/gitbook-plugin-search/search.css
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-search/search.css
rename to docs/gitbook/gitbook-plugin-search/search.css
diff --git a/docs/_book/gitbook/gitbook-plugin-search/search.js b/docs/gitbook/gitbook-plugin-search/search.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-search/search.js
rename to docs/gitbook/gitbook-plugin-search/search.js
diff --git a/docs/_book/gitbook/gitbook-plugin-sharing/buttons.js b/docs/gitbook/gitbook-plugin-sharing/buttons.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-sharing/buttons.js
rename to docs/gitbook/gitbook-plugin-sharing/buttons.js
diff --git a/docs/_book/gitbook/gitbook-plugin-splitter/splitter.css b/docs/gitbook/gitbook-plugin-splitter/splitter.css
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-splitter/splitter.css
rename to docs/gitbook/gitbook-plugin-splitter/splitter.css
diff --git a/docs/_book/gitbook/gitbook-plugin-splitter/splitter.js b/docs/gitbook/gitbook-plugin-splitter/splitter.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-splitter/splitter.js
rename to docs/gitbook/gitbook-plugin-splitter/splitter.js
diff --git a/docs/_book/gitbook/gitbook-plugin-theme-api/theme-api.css b/docs/gitbook/gitbook-plugin-theme-api/theme-api.css
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-theme-api/theme-api.css
rename to docs/gitbook/gitbook-plugin-theme-api/theme-api.css
diff --git a/docs/_book/gitbook/gitbook-plugin-theme-api/theme-api.js b/docs/gitbook/gitbook-plugin-theme-api/theme-api.js
similarity index 100%
rename from docs/_book/gitbook/gitbook-plugin-theme-api/theme-api.js
rename to docs/gitbook/gitbook-plugin-theme-api/theme-api.js
diff --git a/docs/_book/gitbook/gitbook.js b/docs/gitbook/gitbook.js
similarity index 100%
rename from docs/_book/gitbook/gitbook.js
rename to docs/gitbook/gitbook.js
diff --git a/docs/_book/gitbook/images/apple-touch-icon-precomposed-152.png b/docs/gitbook/images/apple-touch-icon-precomposed-152.png
similarity index 100%
rename from docs/_book/gitbook/images/apple-touch-icon-precomposed-152.png
rename to docs/gitbook/images/apple-touch-icon-precomposed-152.png
diff --git a/docs/_book/gitbook/images/favicon.ico b/docs/gitbook/images/favicon.ico
similarity index 100%
rename from docs/_book/gitbook/images/favicon.ico
rename to docs/gitbook/images/favicon.ico
diff --git a/docs/_book/gitbook/style.css b/docs/gitbook/style.css
similarity index 100%
rename from docs/_book/gitbook/style.css
rename to docs/gitbook/style.css
diff --git a/docs/_book/gitbook/theme.js b/docs/gitbook/theme.js
similarity index 100%
rename from docs/_book/gitbook/theme.js
rename to docs/gitbook/theme.js
diff --git a/docs/_book/index.html b/docs/index.html
similarity index 100%
rename from docs/_book/index.html
rename to docs/index.html
diff --git a/docs/package.json b/docs/package.json
index e0c7288a6e..0e5f42b6c3 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -1,7 +1,7 @@
{
"name": "fineuidocs",
"version": "1.0.0",
- "description": "FineUI文档",
+ "description": "FineUI的交互、前端以及视觉文档规范",
"main": "index.js",
"scripts": {
"init": "gitbook init",
diff --git a/docs/_book/search_index.json b/docs/search_index.json
similarity index 100%
rename from docs/_book/search_index.json
rename to docs/search_index.json
diff --git a/docs/_book/.gitignore b/uidoc/_book/.gitignore
similarity index 100%
rename from docs/_book/.gitignore
rename to uidoc/_book/.gitignore
diff --git a/docs/_book/LICENSE b/uidoc/_book/LICENSE
similarity index 100%
rename from docs/_book/LICENSE
rename to uidoc/_book/LICENSE
diff --git a/uidoc/_book/base/bubble.html b/uidoc/_book/base/bubble.html
new file mode 100644
index 0000000000..3c12e8c663
--- /dev/null
+++ b/uidoc/_book/base/bubble.html
@@ -0,0 +1,2554 @@
+
+
+
+
+
+
+ bubble · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.bubble
+气泡提示
+
+BI.createWidget({
+ type: 'bi.bubble',
+ element: "#wrapper",
+ height: 30,
+ text: "测试"
+})
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+direction |
+气泡显示位置 |
+string |
+— |
+"top" |
+
+
+height |
+气泡高度 |
+number |
+— |
+35 |
+
+
+text |
+气泡显示内容 |
+string |
+— |
+" " |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setText |
+设置文本值 |
+需要设置的文本值text |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/button/button.html b/uidoc/_book/base/button/button.html
new file mode 100644
index 0000000000..e6e5c45e80
--- /dev/null
+++ b/uidoc/_book/base/button/button.html
@@ -0,0 +1,2734 @@
+
+
+
+
+
+
+ button · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ type: 'bi.button',
+ element: "#wrapper",
+ text: '一般按钮',
+ level: 'common',
+ height: 30
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 |
+number |
+— |
+10 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+width |
+宽度 |
+number |
+— |
+— |
+
+
+height |
+高度 |
+number |
+— |
+— |
+
+
+
+高级属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+level |
+按钮类型 |
+string |
+common,success,warning,ignore |
+common |
+
+
+minWidth |
+最小宽度,如果block/clear中某一项为true,此项值为0,否则为90 |
+number |
+— |
+90 |
+
+
+shadow |
+是否显示阴影 |
+boolean |
+true,false |
+props.clear !== true |
+
+
+isShadowShowingOnSelected |
+选中状态下是否显示阴影 |
+boolean |
+true,false |
+true |
+
+
+readonly |
+是否只读 |
+boolean |
+true,false |
+true |
+
+
+iconClass |
+图标类型 |
+string |
+— |
+" " |
+
+
+block |
+是否块状显示,即不显示边框,没有最小宽度的限制 |
+boolean |
+true,false |
+false |
+
+
+clear |
+是否去掉边框和背景 |
+boolean |
+true,false |
+false |
+
+
+textAlign |
+文字布局 |
+string |
+left,center,right |
+cneter |
+
+
+whiteSpace |
+元素内的空白处理方式 |
+string |
+normal,nowrap |
+nowrap |
+
+
+forceCenter |
+是否无论如何都要居中, 不考虑超出边界的情况, 在未知宽度和高度时有效 |
+boolean |
+true,false |
+false |
+
+
+textWidth |
+按钮文本宽度 |
+number |
+— |
+null |
+
+
+textHeight |
+按钮文本高度 |
+number |
+— |
+null |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+doRedMark |
+文本标红 |
+— |
+
+
+unRedMark |
+取消文本标红 |
+— |
+
+
+doHighLight |
+文本高亮 |
+— |
+
+
+unHighLight |
+取消文本高亮 |
+— |
+
+
+setText |
+设置文本值 |
+需要设置的文本值text |
+
+
+doClick |
+点击事件 |
+— |
+
+
+destroy |
+销毁事件 |
+— |
+
+
+setValue |
+设置文本值 |
+需要设置的文本值text |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/button/icon_button.html b/uidoc/_book/base/button/icon_button.html
new file mode 100644
index 0000000000..3b27603237
--- /dev/null
+++ b/uidoc/_book/base/button/icon_button.html
@@ -0,0 +1,2546 @@
+
+
+
+
+
+
+ icon_button · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ type: 'bi.icon_button',
+ cls: "close-ha-font",
+ width: 20,
+ height: 20
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+iconWidth |
+图标宽度 |
+number |
+— |
+null |
+
+
+iconHeight |
+图标高度 |
+number |
+— |
+null |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+doClick |
+点击事件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/button/image_button.html b/uidoc/_book/base/button/image_button.html
new file mode 100644
index 0000000000..303a84d754
--- /dev/null
+++ b/uidoc/_book/base/button/image_button.html
@@ -0,0 +1,2591 @@
+
+
+
+
+
+
+ image_button · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ type: 'bi.image_button',
+ src: "http://www.easyicon.net/api/resizeApi.php?id=1206741&size=128",
+ width: 100,
+ height: 100
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+src |
+图片路径 |
+string |
+— |
+" " |
+
+
+iconWidth |
+图标宽度 |
+number/string |
+— |
+"100%" |
+
+
+iconHeight |
+图标高度 |
+number/string |
+— |
+"100%" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+doClick |
+点击事件 |
+— |
+
+
+setWidth |
+设置按钮宽度 |
+宽度width |
+
+
+setHeight |
+设置按钮高度 |
+高度height |
+
+
+setImageWidth |
+设置图片宽度 |
+宽度width |
+
+
+setImageHeight |
+设置图片高度 |
+高度height |
+
+
+getImageWidth |
+获取图片宽度 |
+— |
+
+
+getImageHeight |
+获取图片高度 |
+— |
+
+
+setSrc |
+设置图片路径 |
+src |
+
+
+getSrc |
+获取图片路径 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/button/text_button.html b/uidoc/_book/base/button/text_button.html
new file mode 100644
index 0000000000..6c14618c41
--- /dev/null
+++ b/uidoc/_book/base/button/text_button.html
@@ -0,0 +1,2650 @@
+
+
+
+
+
+
+ text_button · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.text_button
+
+
+BI.createWidget({
+ type: 'bi.text_button',
+ text: '文字按钮',
+ height: 30
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 |
+number |
+— |
+10 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+text |
+按钮文本内容 |
+string |
+— |
+— |
+
+
+textWidth |
+按钮文本宽度 |
+number |
+— |
+null |
+
+
+textHeight |
+按钮文本高度 |
+number |
+— |
+null |
+
+
+
+高级属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+py |
+拼音 |
+string |
+ |
+" " |
+
+
+textAlign |
+文字布局 |
+string |
+left,center,right |
+cneter |
+
+
+whiteSpace |
+元素内的空白处理方式 |
+string |
+normal,nowrap |
+nowrap |
+
+
+forceCenter |
+是否无论如何都要居中, 不考虑超出边界的情况, 在未知宽度和高度时有效 |
+boolean |
+true,false |
+false |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+doRedMark |
+文本标红 |
+— |
+
+
+unRedMark |
+取消文本标红 |
+— |
+
+
+doHighLight |
+文本高亮 |
+— |
+
+
+unHighLight |
+取消文本高亮 |
+— |
+
+
+setText |
+设置文本值 |
+需要设置的文本值text |
+
+
+doClick |
+点击事件 |
+— |
+
+
+setValue |
+设置文本值 |
+需要设置的文本值text |
+
+
+setStyle |
+设置文本样式 |
+需要设置的文本标签样式,例{"color":"#000"} |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/canvas.html b/uidoc/_book/base/canvas.html
new file mode 100644
index 0000000000..5dba267340
--- /dev/null
+++ b/uidoc/_book/base/canvas.html
@@ -0,0 +1,2553 @@
+
+
+
+
+
+
+ canvas · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.canvas
+
+
+var canvas = BI.createWidget({
+ type: "bi.canvas",
+ element: "#wrapper",
+ width: 500,
+ height: 600
+});
+canvas.circle(150, 50, 20, "green");
+canvas.stroke();
+
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+line |
+绘制线段 |
+(x0, y0, x1, y1) |
+
+
+rect |
+绘制矩形 |
+(x,y,w,h,color)分别表示左上角的横坐标、纵坐标,矩形宽、高、以及绘制的颜色 |
+
+
+circle |
+绘制圆形 |
+(x, y, radius, color)分别表示原点的横坐标,纵坐标,半径以及颜色 |
+
+
+hollow |
+填充中空的路径 |
+— |
+
+
+solid |
+填充实心的路径 |
+— |
+
+
+gradient |
+绘制渐变色 |
+(x0, y0, x1, y1, start, end) |
+
+
+reset |
+重置画布 |
+— |
+
+
+stroke |
+绘制 |
+callback |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/editor/code_editor.html b/uidoc/_book/base/editor/code_editor.html
new file mode 100644
index 0000000000..b2c3edcee3
--- /dev/null
+++ b/uidoc/_book/base/editor/code_editor.html
@@ -0,0 +1,2607 @@
+
+
+
+
+
+
+ code_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.code_editor
+
+
+BI.createWidget({
+ type: "bi.code_editor",
+ cls: "mvc-border",
+ width: 600,
+ height: 400
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+" " |
+
+
+readOnly |
+是否只读 |
+boolean |
+true,false |
+false |
+
+
+lineHeight |
+行高 |
+number |
+— |
+2 |
+
+
+value |
+文本框值 |
+string |
+— |
+" " |
+
+
+paramFormatter |
+参数显示值构造函数 |
+function |
+— |
+value |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+insertParam |
+插入参数 |
+param |
+
+
+insertString |
+插入字符串 |
+str |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+setValue |
+设置文本框值 |
+value |
+
+
+focus |
+文本框获取焦点 |
+— |
+
+
+blur |
+文本框失焦 |
+— |
+
+
+setStyle |
+设置文本样式 |
+需要设置的文本标签样式style,例{"color":"#000"} |
+
+
+getStyle |
+获取文本样式 |
+— |
+
+
+refresh |
+刷新文本框 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/editor/editor.html b/uidoc/_book/base/editor/editor.html
new file mode 100644
index 0000000000..bb6691f75a
--- /dev/null
+++ b/uidoc/_book/base/editor/editor.html
@@ -0,0 +1,2781 @@
+
+
+
+
+
+
+ editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.editor
+
+
+BI.createWidget({
+ type: "bi.editor",
+ element: "#wrapper",
+ errorText: "字段不可重名!",
+ width: 200,
+ height: 30
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+false |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string/function |
+— |
+" " |
+
+
+tipType |
+提示类型 |
+string |
+success,warning |
+"warning" |
+
+
+inputType |
+输入框类型 |
+string |
+参考input输入框类型 |
+"text" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setErrorText |
+设置错误文本 |
+text |
+
+
+getErrorText |
+获取错误文本 |
+— |
+
+
+setErrorVisible |
+设置错误文本可见 |
+b |
+
+
+disableError |
+设置error不可用 |
+— |
+
+
+enableError |
+设置error可用 |
+— |
+
+
+disableWaterMark |
+设置文本框placeholder不可用 |
+— |
+
+
+enableWaterMark |
+恢复文本框placeholder可用 |
+— |
+
+
+focus |
+文本框获取焦点 |
+— |
+
+
+blur |
+文本框失焦 |
+— |
+
+
+selectAll |
+选中文本框文本 |
+— |
+
+
+onKeyDown |
+按键事件 |
+key |
+
+
+setValue |
+设置文本框值 |
+value |
+
+
+getLastValidValue |
+获取文本框最后一次输入的有效值 |
+— |
+
+
+resetLastValidValue |
+重置文本框最后一次输入的有效值 |
+value |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+isEditing |
+文本框是否处于编辑状态 |
+— |
+
+
+isValid |
+文本框值是否有效 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.Editor.EVENT_CHANGE |
+editor的value发生改变触发 |
+
+
+BI.Editor.EVENT_FOCUS |
+focus事件 |
+
+
+BI.Editor.EVENT_BLUR |
+blur事件 |
+
+
+BI.Editor.EVENT_CLICK |
+点击编辑框触发(不在编辑状态时) |
+
+
+BI.Editor.EVENT_KEY_DOWN |
+keyDown时触发 |
+
+
+BI.Editor.EVENT_SPACE |
+按下空格触发 |
+
+
+BI.Editor.EVENT_BACKSPACE |
+按下Backspace触发 |
+
+
+BI.Editor.EVENT_START |
+开始输入触发 |
+
+
+BI.Editor.EVENT_PAUSE |
+暂停输入触发(输入空白字符) |
+
+
+BI.Editor.EVENT_STOP |
+停止输入触发 |
+
+
+BI.Editor.EVENT_CONFIRM |
+确定输入触发(blur时且输入值有效) |
+
+
+BI.Editor.EVENT_VALID |
+输入值有效的状态事件 |
+
+
+BI.Editor.EVENT_ERROR |
+输入值无效的状态事件 |
+
+
+BI.Editor.EVENT_ENTER |
+回车事件 |
+
+
+BI.Editor.EVENT_RESTRICT |
+回车但是值不合法 |
+
+
+BI.Editor.EVENT_REMOVE |
+输入为空时按下backspace |
+
+
+BI.Editor.EVENT_EMPTY |
+输入框为空时触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/editor/formula_editor.html b/uidoc/_book/base/editor/formula_editor.html
new file mode 100644
index 0000000000..57a7df2af7
--- /dev/null
+++ b/uidoc/_book/base/editor/formula_editor.html
@@ -0,0 +1,2632 @@
+
+
+
+
+
+
+ formula_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ type: "bi.formula_editor",
+ cls: "bi-border",
+ watermark:'请输入公式',
+ value: 'SUM(C5, 16, 26)',
+ width: "100%",
+ height: "100%"
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+value |
+文本域的值 |
+string |
+— |
+" " |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+" " |
+
+
+fieldTextValueMap |
+字段集合 |
+onject |
+— |
+{} |
+
+
+showHint |
+是否显示提示信息 |
+boolean |
+true,false |
+true |
+
+
+lineHeight |
+行高 |
+number |
+— |
+2 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+disableWaterMark |
+设置文本框placeholder不可用 |
+— |
+
+
+focus |
+文本框获取焦点 |
+— |
+
+
+insertField |
+添加字段 |
+field |
+
+
+insertFunction |
+插入函数 |
+fn |
+
+
+insertOperator |
+插入操作符 |
+op |
+
+
+setFunction |
+设置函数 |
+v |
+
+
+insertString |
+插入字符串 |
+str |
+
+
+getFormulaString |
+获取公式框内容 |
+— |
+
+
+getUsedFields |
+获取可用字段 |
+— |
+
+
+getCheckString |
+获取校验内容 |
+— |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+setValue |
+设置文本框值 |
+value |
+
+
+setFieldTextValueMap |
+设置字段集合 |
+fieldTextValueMap |
+
+
+refresh |
+刷新文本框 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/editor/multifile_editor.html b/uidoc/_book/base/editor/multifile_editor.html
new file mode 100644
index 0000000000..7d297c5f53
--- /dev/null
+++ b/uidoc/_book/base/editor/multifile_editor.html
@@ -0,0 +1,2597 @@
+
+
+
+
+
+
+ multifile_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.multifile_editor
+
+
+BI.createWidget({
+ type: "bi.multifile_editor",
+ width: 400,
+ height: 300
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+multiple |
+是否支持多选 |
+boolean |
+true,false |
+false |
+
+
+maxSize |
+最大可选数量 |
+number |
+— |
+-1 |
+
+
+accept |
+允许上传的文件类型 |
+string |
+— |
+" " |
+
+
+url |
+文件路径 |
+string |
+— |
+" " |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+select |
+选择文件 |
+— |
+
+
+getValue |
+获取文件名称 |
+— |
+
+
+upload |
+文件上传 |
+— |
+
+
+reset |
+重置 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.MultifileEditor.EVENT_UPLOADSTART |
+开始上传时触发 |
+
+
+BI.MultifileEditor.EVENT_PROGRESS |
+上传过程中触发 |
+
+
+BI.MultifileEditor.EVENT_UPLOADED |
+上传结束后触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/editor/textarea_editor.html b/uidoc/_book/base/editor/textarea_editor.html
new file mode 100644
index 0000000000..08c6007599
--- /dev/null
+++ b/uidoc/_book/base/editor/textarea_editor.html
@@ -0,0 +1,2563 @@
+
+
+
+
+
+
+ textarea_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.textarea_editor
+
+
+BI.createWidget({
+ type: "bi.textarea_editor",
+ width: 400,
+ height: 300
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+value |
+文本域的值 |
+string |
+— |
+" " |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+getValue |
+获取文本域值 |
+— |
+
+
+setValue |
+设置文本域值 |
+value |
+
+
+setStyle |
+设置文本域样式 |
+需要设置的文本域样式style,例{"color":"#000"} |
+
+
+getStyle |
+获取文本域样式 |
+— |
+
+
+focus |
+文本域获取焦点 |
+— |
+
+
+blur |
+文本域失焦 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/label.html b/uidoc/_book/base/label.html
new file mode 100644
index 0000000000..23568d82ee
--- /dev/null
+++ b/uidoc/_book/base/label.html
@@ -0,0 +1,2706 @@
+
+
+
+
+
+
+ label · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.label
+文本标签
+
+BI.createWidget({
+ type: "bi.label",
+ textWidth: 100,
+ textHeight: 30,
+ text: "基本标签"
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+textWidth |
+文本标签宽度 |
+number |
+— |
+null |
+
+
+textHeight |
+文本标签宽度 |
+number |
+— |
+null |
+
+
+text |
+文本内容 |
+string |
+— |
+" " |
+
+
+
+高级属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+textAlign |
+文本对齐方式 |
+string |
+left,center,right |
+center |
+
+
+whiteSpace |
+元素内空白处理方式 |
+string |
+normal,nowrap |
+nowrap |
+
+
+forceCenter |
+是否无论如何都要居中, 不考虑超出边界的情况, 在未知宽度和高度时有效 |
+boolean |
+true,false |
+true |
+
+
+py |
+拼音 |
+string |
+— |
+空 |
+
+
+keyword |
+设置标红的关键词 |
+string |
+— |
+空 |
+
+
+disabled |
+灰化 |
+boolean |
+true,false |
+无 |
+
+
+title |
+提示title |
+string |
+— |
+空 |
+
+
+warningTitle |
+错误提示title |
+string |
+— |
+空 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+doRedMark |
+文本标红 |
+— |
+
+
+unRedMark |
+取消文本标红 |
+— |
+
+
+doHighLight |
+文本高亮 |
+— |
+
+
+unHighLight |
+取消文本高亮 |
+— |
+
+
+setText |
+设置文本值 |
+需要设置的文本值text |
+
+
+getText |
+获取文本值 |
+— |
+
+
+setStyle |
+设置文本样式 |
+需要设置的文本标签样式,例{"color":"#000"} |
+
+
+setValue |
+设置文本值 |
+需要设置的文本值text |
+
+
+populate |
+清空label |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/message.html b/uidoc/_book/base/message.html
new file mode 100644
index 0000000000..838f15c2a3
--- /dev/null
+++ b/uidoc/_book/base/message.html
@@ -0,0 +1,2536 @@
+
+
+
+
+
+
+ message · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.Msg
+消息提示
+
+BI.createWidget({
+ type: "bi.button",
+ element: "#wrapper",
+ text : '点击我弹出一个消息框',
+ height : 30,
+ handler : function() {
+ BI.Msg.confirm('测试消息框',"我是测试消息框的内容");
+ }
+});
+
+
+
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+alert |
+警告消息框 |
+title, message, callback |
+
+
+confirm |
+确认消息框 |
+title, message, callback |
+
+
+prompt |
+提示消息框 |
+title, message, value, callback, min_width |
+
+
+toast |
+toast提示 |
+message, level, context |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/pager.html b/uidoc/_book/base/pager.html
new file mode 100644
index 0000000000..9405c80c17
--- /dev/null
+++ b/uidoc/_book/base/pager.html
@@ -0,0 +1,2704 @@
+
+
+
+
+
+
+ pager · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ type: "bi.pager",
+ height: 50,
+ pages: 18,
+ groups: 5,
+ curr: 6,
+ first: "首页",
+ last: "尾页"
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+behaviors |
+自定义列表中item项的行为,如高亮,标红等 |
+object |
+— |
+{} |
+
+
+layouts |
+布局 |
+array |
+— |
+{type:"bi.horizontal",hgap:10,vgap:0} |
+
+
+dynamicShow |
+是否动态显示上一页、下一页、首页、尾页, 若为false,则指对其设置使能状态 |
+boolean |
+true,false |
+true |
+
+
+dynamicShowFirstLast |
+是否动态显示首页、尾页,dynamicShow为false时生效 |
+boolean |
+true,false |
+false |
+
+
+dynamicShowPrevNext |
+是否动态显示上一页、下一页,dynamicShow为false时生效 |
+boolean |
+true,false |
+false |
+
+
+pages |
+是否显示总页数 |
+boolean |
+true,false |
+false |
+
+
+curr |
+初始化当前页 |
+function |
+— |
+function(){return 1;} |
+
+
+groups |
+连续显示分页数 |
+number |
+— |
+0 |
+
+
+jump |
+页数跳转 |
+function |
+— |
+— |
+
+
+first |
+是否显示首页 |
+boolean |
+true,false |
+false |
+
+
+last |
+是否显示尾页 |
+boolean |
+true,false |
+false |
+
+
+prev |
+上一页 |
+string,object — |
+— |
+"上一页" |
+
+
+next |
+下一页 |
+sting,object |
+— |
+"下一页" |
+
+
+firstPage |
+第一页 |
+number |
+— |
+1 |
+
+
+lastPage |
+最后一页,在万不得已时才会调用这个函数获取最后一页的页码, 主要作用于setValue方法 |
+function |
+— |
+function(){ return 1;} |
+
+
+hasPrev |
+判断是否有上一页,pages不可用时有效 |
+function |
+— |
+— |
+
+
+hasNext |
+判断是否有下一页,pages不可用时有效 |
+function |
+— |
+— |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+getCurrentPage |
+获取当前页码 |
+— |
+
+
+setAllPages |
+设置总页数 |
+pages |
+
+
+hasPrev |
+判断是否有上一页 |
+v |
+
+
+hasNext |
+判断是否有下一页 |
+v |
+
+
+setValue |
+设置当前页码 |
+v |
+
+
+getValue |
+获取当前页码 |
+— |
+
+
+attr |
+设置属性 |
+key,value |
+
+
+populate |
+刷新或者清空列表 |
+— |
+
+
+
+事件
+
+
+
+名称 |
+说明 |
+
+
+
+
+BI.Pager.EVENT_AFTER_POPULATE |
+pager刷新完成事件 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/svg.html b/uidoc/_book/base/svg.html
new file mode 100644
index 0000000000..104ad6aa5e
--- /dev/null
+++ b/uidoc/_book/base/svg.html
@@ -0,0 +1,2610 @@
+
+
+
+
+
+
+ svg · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.svg
+
+
+var svg = BI.createWidget({
+ type: "bi.svg",
+ width: 500,
+ height: 600
+});
+
+svg.path("M10,10L50,50M50,10L10,50")
+ .attr({stroke: "red"});
+
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+add |
+添加对象到json数组 |
+json |
+
+
+path |
+绘制路径 |
+pathString |
+
+
+image |
+绘制图片 |
+(src,x,y,w,h)分别表示图片路径,绘制的原点横、纵坐标,宽、高 |
+
+
+rect |
+绘制矩形 |
+(x,y,w,h,r)分别表示左上角的横坐标、纵坐标,矩形宽、高、以及矩形的圆角border-radius大小 |
+
+
+circle |
+绘制圆形 |
+(x,y,r)分别表示原点的横坐标,纵坐标,以及半径 |
+
+
+ellipse |
+绘制椭圆 |
+(x,y,rx,ry)分别表示原点的横、纵坐标,以及水平半径和垂直半径 |
+
+
+text |
+绘制文本 |
+(x,y,text)分别表示绘制的原点横、纵坐标以及要绘制的文本内容 |
+
+
+print |
+根据制定参数打印出路径 |
+(x, y, string, font, size, origin, letter_spacing, line_spacing) |
+
+
+setStart |
+开始绘制 |
+— |
+
+
+setFinish |
+结束绘制 |
+— |
+
+
+setSize |
+设置画布尺寸 |
+(width,height)分别表示画布宽高 |
+
+
+setViewBox |
+设置画布可视区域 |
+(x,y,width,height,fit)分别表示可视区域原点坐标以及可视区域宽高,以及是否根据可视区域进行调整 |
+
+
+getById |
+根据id返回元素 |
+id |
+
+
+getElementByPoint |
+获根据给定的点坐标返回元素 |
+(x,y) |
+
+
+getElementsByPoint |
+获根据给定的点坐标返回元素 |
+(x,y) |
+
+
+getFont |
+通过给定的参数在已注册的字体中找到字体对象 |
+(family, weight, style, stretch) |
+
+
+set |
+绘制形状的集合 |
+— |
+
+
+remove |
+设置总页数 |
+pages |
+
+
+clear |
+判断是否有上一页 |
+v |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/table/collection_table.html b/uidoc/_book/base/table/collection_table.html
new file mode 100644
index 0000000000..bb0bc5c067
--- /dev/null
+++ b/uidoc/_book/base/table/collection_table.html
@@ -0,0 +1,2683 @@
+
+
+
+
+
+
+ collection_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.collection_table
+
+BI.createWidget({
+ type: "bi.collection_table",
+ element: "body",
+ columnSize: [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: "第二行第二列"
+ }]
+ ]
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedFreeze |
+是否冻结列 |
+boolean |
+false |
+
+
+freezeCols |
+冻结的列 |
+array |
+[] |
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+合并的单元格列号 |
+array |
+[] |
+
+
+mergeRule |
+合并规则, 默认相等时合并 |
+function(row1, row2) |
+默认row1 = row2 时合并 |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+25 |
+
+
+rowSize |
+普通单元格高度 |
+number |
+25 |
+
+
+regionColumnSize |
+列项间的 |
+array |
+[] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setWidth |
+设置宽度 |
+width |
+
+
+setHeight |
+设置高度 |
+height |
+
+
+setColumnSize |
+设置列宽 |
+columnSize |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+getScrollRegionColumnSize |
+获取横向滚动条宽度 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+getColumns |
+获取列项 |
+— |
+
+
+populate |
+增加行 |
+rows |
+
+
+restore |
+存储数据 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/table/grid_table.html b/uidoc/_book/base/table/grid_table.html
new file mode 100644
index 0000000000..045140db6f
--- /dev/null
+++ b/uidoc/_book/base/table/grid_table.html
@@ -0,0 +1,2654 @@
+
+
+
+
+
+
+ grid_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.grid_table
+
+BI.createWidget({
+ type: "bi.grid_table",
+ element: 'body',
+ width: 600,
+ height: 500,
+ isResizeAdapt: true,
+ isNeedResize: true,
+ isNeedFreeze: true,
+ freezeCols: [0, 1],
+ columnSize: [50,50,200,250,400],
+ items: items,
+ header: header
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedFreeze |
+是否需要冻结 |
+boolean |
+false |
+
+
+freezeCols |
+冻结列 |
+array |
+[] |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+25 |
+
+
+rowSize |
+普通单元格高度 |
+number |
+25 |
+
+
+regionColumnSize |
+列项间的 |
+array |
+[] |
+
+
+header |
+表头 |
+array |
+[] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setWidth |
+设置宽度 |
+width |
+
+
+setHeight |
+设置高度 |
+height |
+
+
+getRegionSize |
+获取间隙大小 |
+— |
+
+
+setColumnSize |
+设置列宽 |
+columnSize |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+populate |
+刷新内容 |
+rows |
+
+
+restore |
+储存 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/table/resizable_table.html b/uidoc/_book/base/table/resizable_table.html
new file mode 100644
index 0000000000..3973e4d64f
--- /dev/null
+++ b/uidoc/_book/base/table/resizable_table.html
@@ -0,0 +1,2702 @@
+
+
+
+
+
+
+ resizable_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.resizable_table
+
+BI.createWidget({
+ type: "bi.resizable_table",
+ element: "body",
+ columnSize: [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: "第二行第二列"
+ }]
+ ]
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedFreeze |
+是否需要冻结列 |
+boolean |
+false |
+
+
+freezeCols |
+冻结的列 |
+array |
+[] |
+
+
+isNeedResize |
+是否需要调整大小 |
+boolean |
+false |
+
+
+isResizeAdapt |
+是否调整时自适应 |
+boolean |
+true |
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+合并的单元格列号 |
+array |
+[] |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+minColumnSize |
+最小列宽 |
+array |
+[] |
+
+
+maxColumnSize |
+最大列宽 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+25 |
+
+
+rowSize |
+普通单元格高度 |
+number |
+25 |
+
+
+header |
+表头 |
+array |
+[] |
+
+
+regionColumnSize |
+列项间的 |
+array |
+[] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setWidth |
+设置宽度 |
+— |
+
+
+setHeight |
+设置高度 |
+— |
+
+
+setColumnSize |
+设置列宽 |
+columnSize |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+attr |
+设置属性 |
+key:键,value:值 |
+
+
+populate |
+刷新内容 |
+rows |
+
+
+restore |
+保存表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/table/table_view.html b/uidoc/_book/base/table/table_view.html
new file mode 100644
index 0000000000..7a3d8005e3
--- /dev/null
+++ b/uidoc/_book/base/table/table_view.html
@@ -0,0 +1,2721 @@
+
+
+
+
+
+
+ table_view · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.table_view
+能处理静态宽度以及动态宽度的表
+BI.createWidget({
+ type: "bi.table_view",
+ element: 'body',
+ isNeedMerge: true,
+ isNeedFreeze: true,
+ freezeCols: [0, 1],
+ mergeCols: [0, 1],
+ columnSize: [100, 200, 300, 400, 500],
+ items: [],
+ header: []
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+合并的单元格列号 |
+array |
+[] |
+
+
+mergeRule |
+合并规则, 默认相等时合并 |
+function(row1, row2) |
+默认row1 = row2 时合并 |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+25 |
+
+
+footerRowSize |
+表尾高度 |
+number |
+25 |
+
+
+rowSize |
+普通单元格高度 |
+number |
+25 |
+
+
+regionColumnSize |
+列项间的 |
+array |
+false |
+
+
+header |
+表头 |
+array |
+[] |
+
+
+footer |
+表尾 |
+array |
+false |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+resize |
+调整表格 |
+— |
+
+
+setColumnSize |
+设置列宽 |
+columnSize |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+getCalculateColumnSize |
+获得计算后的列宽 |
+— |
+
+
+setHeaderColumnSize |
+设置表头的列宽 |
+columnSize |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+getCalculateRegionColumnSize |
+获取计算后的列项之间的间隙 |
+— |
+
+
+getCalculateRegionRowSize |
+获取计算后的列项上下之间的间隙 |
+— |
+
+
+getClientRegionColumnSize |
+获取浏览器中显示的列项之间的间隙 |
+— |
+
+
+getScrollRegionColumnSize |
+获取横向滚动条宽度 |
+— |
+
+
+getScrollRegionRowSize |
+获取纵向滚动条宽度 |
+— |
+
+
+hasVerticalScroll |
+是否含有数值滚动条 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+getColumns |
+获取列项 |
+— |
+
+
+populate |
+刷新内容 |
+rows |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.Table.EVENT_TABLE_AFTER_INIT |
+table初始化完成后触发 |
+
+
+BI.Table.EVENT_TABLE_RESIZE |
+table大小调整时触发(窗口变化等) |
+
+
+BI.Table.EVENT_TABLE_SCROLL |
+滚动事件 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/base/toast.html b/uidoc/_book/base/toast.html
new file mode 100644
index 0000000000..1bb66a13d8
--- /dev/null
+++ b/uidoc/_book/base/toast.html
@@ -0,0 +1,2560 @@
+
+
+
+
+
+
+ toast · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.toast
+toast提示
+
+BI.createWidget({
+ type: 'bi.toast',
+ element: "#wrapper",
+ height: 30,
+ level: "warning",
+ text: "toast测试"
+})
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+level |
+提示类型 |
+string |
+success,warning |
+"success" |
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+text |
+显示内容 |
+string |
+— |
+" " |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setText |
+设置文本值 |
+需要设置的文本值text |
+
+
+setHeight |
+设置高度 |
+需要设置的高度值height |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/button/multi_select_item.html b/uidoc/_book/case/button/multi_select_item.html
new file mode 100644
index 0000000000..3e34ab6fe2
--- /dev/null
+++ b/uidoc/_book/case/button/multi_select_item.html
@@ -0,0 +1,2565 @@
+
+
+
+
+
+
+ multi_select_item · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.multi_select_item
+
+
+BI.createWidget({
+ type: 'bi.vertical',
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "复选item"
+ }, {
+ type: "bi.multi_select_item",
+ text: "复选项"
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+logic |
+布局逻辑 |
+object |
+— |
+{dynamic:false} |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setSelected |
+设置选中值 |
+v |
+
+
+doRedMark |
+标红 |
+— |
+
+
+unRedMark |
+取消标红 |
+— |
+
+
+doClick |
+点击事件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/button/single_select_item.html b/uidoc/_book/case/button/single_select_item.html
new file mode 100644
index 0000000000..485ef236e9
--- /dev/null
+++ b/uidoc/_book/case/button/single_select_item.html
@@ -0,0 +1,2574 @@
+
+
+
+
+
+
+ single_select_item · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.single_select_item
+
+
+BI.createWidget({
+ type: 'bi.vertical',
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "复选item"
+ }, {
+ type: "bi.single_select_item",
+ text: "复选项"
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+— |
+25 |
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+10 |
+
+
+textAlign |
+文本对齐方式 |
+string |
+left,center,right |
+"left" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setSelected |
+设置选中值 |
+v |
+
+
+doRedMark |
+标红 |
+— |
+
+
+unRedMark |
+取消标红 |
+— |
+
+
+doClick |
+点击事件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/button/single_select_radio_item.html b/uidoc/_book/case/button/single_select_radio_item.html
new file mode 100644
index 0000000000..6b083f0680
--- /dev/null
+++ b/uidoc/_book/case/button/single_select_radio_item.html
@@ -0,0 +1,2572 @@
+
+
+
+
+
+
+ single_select_radio_item · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.single_select_radio_item
+
+
+BI.createWidget({
+ type: 'bi.vertical',
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "单选item"
+ }, {
+ type: "bi.single_select_radio_item",
+ text: "单选项"
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+— |
+25 |
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+10 |
+
+
+textAlign |
+文本对齐方式 |
+string |
+left,center,right |
+"left" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setSelected |
+设置选中值 |
+v |
+
+
+doRedMark |
+标红 |
+— |
+
+
+unRedMark |
+取消标红 |
+— |
+
+
+doClick |
+点击事件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/calendar.html b/uidoc/_book/case/calendar.html
new file mode 100644
index 0000000000..0ae77984e1
--- /dev/null
+++ b/uidoc/_book/case/calendar.html
@@ -0,0 +1,2579 @@
+
+
+
+
+
+
+ calendar · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.calendar
+日历控件
+
+BI.createWidget({
+ type: 'bi.calendar',
+ min: '1900-01-01',
+ max: '2099-12-31',
+ year: 2015,
+ month: 7,
+ day: 25,
+});
+
+
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+min |
+最小日期 |
+string |
+'1900-01-01' |
+
+
+max |
+最大日期 |
+string |
+'2099-12-31' |
+
+
+year |
+设定的年份 |
+number |
+2015 |
+
+
+month |
+设定的月份 |
+number |
+7 |
+
+
+day |
+设定的日期 |
+number |
+25 |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+isFrontDate |
+是否为最小日期 |
+— |
+
+
+isFinalDate |
+是否为最大日期 |
+— |
+
+
+setValue |
+设置日期 |
+object: {year, month, day} |
+
+
+getVlaue |
+获得日期 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/clipboard.html b/uidoc/_book/case/clipboard.html
new file mode 100644
index 0000000000..2d7c6f3033
--- /dev/null
+++ b/uidoc/_book/case/clipboard.html
@@ -0,0 +1,2529 @@
+
+
+
+
+
+
+ clipboard · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.clipboard
+剪切板
+
+BI.createWidget({
+ type: 'bi.clipboard',
+ width: 100,
+ height: 100,
+ copy: function () {},
+
+ afterCopy: function () {}
+});
+
+
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+copy |
+获取需要拷贝的值 |
+function |
+BI.emptyFn |
+
+
+afterCopy |
+完成拷贝后执行的方法 |
+function |
+BI.emptyFn |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/color_chooser.html b/uidoc/_book/case/color_chooser.html
new file mode 100644
index 0000000000..8120ce8a7a
--- /dev/null
+++ b/uidoc/_book/case/color_chooser.html
@@ -0,0 +1,2529 @@
+
+
+
+
+
+
+ color_chooser · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.color_chooser
+选色控件
+
+BI.createWidget({
+ type: "bi.color_chooser",
+ element: "#wrapper",
+ width: 30,
+ height: 30
+});
+
+
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+isViewVisible |
+判断是否显示 |
+— |
+
+
+setValue |
+设置颜色值 |
+color |
+
+
+getValue |
+获取颜色值 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/color_chooser_popup.html b/uidoc/_book/case/color_chooser_popup.html
new file mode 100644
index 0000000000..feed9e82dd
--- /dev/null
+++ b/uidoc/_book/case/color_chooser_popup.html
@@ -0,0 +1,2560 @@
+
+
+
+
+
+
+ color_chooser_popup · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+选色控件弹窗
+
+BI.createWidget({
+ type: "bi.color_chooser_popup",
+});
+
+
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+145 |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setStoreColors |
+设置储存的颜色值 |
+colors |
+
+
+setValue |
+设置颜色值 |
+color |
+
+
+getValue |
+获取颜色值 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+EVENT_VALUE_CHANGE |
+颜色值改变时触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/combo/bubble_combo.html b/uidoc/_book/case/combo/bubble_combo.html
new file mode 100644
index 0000000000..d35e920c3d
--- /dev/null
+++ b/uidoc/_book/case/combo/bubble_combo.html
@@ -0,0 +1,2713 @@
+
+
+
+
+
+
+ bubble_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.bubble_combo
+
+
+BI.createWidget({
+ type: "bi.bubble_combo",
+ element:"#wrapper",
+ el: {
+ type: "bi.button",
+ text: "测试",
+ height: 25
+ },
+ popup: {
+ el: {
+ type: "bi.button_group",
+ items: BI.makeArray(100, {
+ type: "bi.text_item",
+ height: 25,
+ text: "item"
+ }),
+ layouts: [{
+ type: "bi.vertical"
+ }]
+ },
+ maxHeight: 200
+ }
+ })
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+text |
+组件text值 |
+string |
+— |
+"" |
+
+
+value |
+组件value值 |
+string |
+— |
+"" |
+
+
+stopEvent |
+阻止事件 |
+boolean |
+true,false |
+false |
+
+
+stopPropagation |
+阻止冒泡 |
+boolean |
+true,false |
+false |
+
+
+selected |
+button的选中状态 |
+boolean |
+true,false |
+false |
+
+
+once |
+点击一次选中有效,再点无效 |
+boolean |
+true,false |
+false |
+
+
+forceSelected |
+点击即选中, 选中了就不会被取消,与once的区别是forceSelected不影响事件的触发 |
+boolean |
+true,false |
+false |
+
+
+forceNotSelected |
+无论怎么点击都不会被选中 |
+boolean |
+true,false |
+false |
+
+
+disableSelected |
+使能选中 |
+boolean |
+true,false |
+false |
+
+
+shadow |
+是否显示阴影 |
+boolean |
+true,false |
+false |
+
+
+isShadowShowingOnSelected |
+选中状态下是否显示阴影 |
+boolean |
+true,false |
+false |
+
+
+trigger |
+被选元素要触发的事件 |
+string |
+mousedown, mouseup, click, dblclick, lclick |
+null |
+
+
+handler |
+点击事件回调 |
+function |
+— |
+BI.emptyFn |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+bindEvent |
+绑定事件 |
+— |
+
+
+beforeClick |
+点击事件之前 |
+— |
+
+
+doClick |
+点击事件 |
+— |
+
+
+handle |
+返回该对象 |
+— |
+
+
+hover |
+hover事件 |
+— |
+
+
+dishover |
+取消hover事件 |
+— |
+
+
+setSelected |
+设置选中的文本 |
+b |
+
+
+isSelected |
+是否被选中 |
+— |
+
+
+isOnce |
+是否只允许点击一次 |
+— |
+
+
+isForceSelected |
+判断是否点击即选中 |
+— |
+
+
+isForceNotSelected |
+判断是否怎么点击都不会被选中 |
+— |
+
+
+isDisableSelected |
+判断是否让选中 |
+— |
+
+
+setText |
+设置文本值 |
+— |
+
+
+getText |
+获取文本值 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/combo/icon_combo.html b/uidoc/_book/case/combo/icon_combo.html
new file mode 100644
index 0000000000..09347df1da
--- /dev/null
+++ b/uidoc/_book/case/combo/icon_combo.html
@@ -0,0 +1,2652 @@
+
+
+
+
+
+
+ icon_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.icon_combo
+
+
+BI.createWidget({
+ type: "bi.icon_combo",
+ element: "#wrapper",
+ iconClass: "rename-font",
+ items: [{
+ value: "第一项",
+ iconClass: "delete-font"
+ }, {
+ value: "第二项",
+ iconClass: "rename-font"
+ }, {
+ value: "第三项",
+ iconClass: "move-font"
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+width |
+宽度 |
+number |
+— |
+24 |
+
+
+height |
+高度 |
+number |
+— |
+24 |
+
+
+iconClass |
+icon的类名 |
+string |
+— |
+" " |
+
+
+el |
+自定义下拉框trigger |
+object |
+— |
+{ } |
+
+
+popup |
+弹出层 |
+object |
+— |
+{ } |
+
+
+minWidth |
+最小宽度 |
+number |
+— |
+100 |
+
+
+maxWidth |
+最大宽度 |
+string/number |
+— |
+"auto" |
+
+
+maxHeight |
+最大高度 |
+number |
+— |
+300 |
+
+
+adjustLength |
+弹出列表和trigger的距离 |
+number |
+— |
+0 |
+
+
+adjustXOffset |
+调整横向偏移 |
+number |
+— |
+0 |
+
+
+adjustYOffset |
+调整纵向偏移 |
+number |
+— |
+0 |
+
+
+offsetStyle |
+弹出层显示位置 |
+string |
+left,right,center |
+"left,right,center" |
+
+
+chooseType |
+选择类型 |
+const |
+参考button_group |
+BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setValue |
+设置value值 |
+— |
+
+
+getValue |
+获取value值 |
+— |
+
+
+showView |
+显示弹出层 |
+— |
+
+
+hideView |
+隐藏弹出层 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/combo/static_combo.html b/uidoc/_book/case/combo/static_combo.html
new file mode 100644
index 0000000000..9c14dd9aa5
--- /dev/null
+++ b/uidoc/_book/case/combo/static_combo.html
@@ -0,0 +1,2586 @@
+
+
+
+
+
+
+ static_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.static_combo
+
+
+BI.createWidget({
+ type: "bi.static_combo",
+ element: "#wrapper",
+ text: "Value 不变",
+ items: [{
+ text: "1",
+ value: 1
+ }, {
+ text: "2",
+ value: 2
+ }, {
+ text: "3",
+ value: 3
+ }]
+ });
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+— |
+24 |
+
+
+el |
+自定义下拉框trigger |
+object |
+— |
+{ } |
+
+
+items |
+子组件 |
+array |
+— |
+[ ] |
+
+
+text |
+文本内容 |
+string |
+— |
+" " |
+
+
+chooseType |
+选择类型 |
+const |
+参考button_group |
+BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setValue |
+设置value值 |
+— |
+
+
+getValue |
+获取value值 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/combo/text_value_combo.html b/uidoc/_book/case/combo/text_value_combo.html
new file mode 100644
index 0000000000..e9bbdeaa74
--- /dev/null
+++ b/uidoc/_book/case/combo/text_value_combo.html
@@ -0,0 +1,2580 @@
+
+
+
+
+
+
+ text_value_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.text_value_combo
+
+
+BI.createWidget({
+ type: "bi.text_value_combo",
+ element: "#wrapper",
+ text: "value_combo",
+ width: 300,
+ items: [{
+ text: "1",
+ value: 1
+ }, {
+ text: "2",
+ value: 2
+ }, {
+ text: "3",
+ value: 3
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+el |
+自定义下拉框trigger |
+object |
+— |
+{ } |
+
+
+text |
+文本内容 |
+string |
+— |
+" " |
+
+
+chooseType |
+选择类型 |
+const |
+参考button_group |
+BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setValue |
+设置value值 |
+— |
+
+
+getValue |
+获取value值 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/combo/text_value_downlist_combo.html b/uidoc/_book/case/combo/text_value_downlist_combo.html
new file mode 100644
index 0000000000..c6c0283699
--- /dev/null
+++ b/uidoc/_book/case/combo/text_value_downlist_combo.html
@@ -0,0 +1,2572 @@
+
+
+
+
+
+
+ text_value_downlist_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.text_value_down_list_combo
+
+
+BI.createWidget({
+ type: "bi.text_value_down_list_combo",
+ element: "#wrapper",
+ text: "text",
+ items: [
+ [{
+ el: {
+ text: "1",
+ value: 1
+ },
+ children: [{
+ text: "11",
+ value: 11
+ }]
+ }],
+ [{
+ text: "2",
+ value: 2
+ }, {
+ text: "3",
+ value: 3
+ }]
+ ]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+text |
+文本内容 |
+string |
+— |
+" " |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setValue |
+设置value值 |
+— |
+
+
+getValue |
+获取value值 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/complex_canvas.html b/uidoc/_book/case/complex_canvas.html
new file mode 100644
index 0000000000..014e6ecd73
--- /dev/null
+++ b/uidoc/_book/case/complex_canvas.html
@@ -0,0 +1,2527 @@
+
+
+
+
+
+
+ complex_canvas · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ complex_canvas
+复杂的canvas绘图
+
+var canvas = BI.createWidget({
+ type: "bi.complex_canvas",
+ width: 500,
+ height: 600
+ });
+canvas.branch(55, 100, 10, 10, 100, 10, 200, 10, {
+ offset: 20,
+ strokeStyle: "red",
+ lineWidth: 2
+ });
+
+canvas.stroke();
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+branch |
+绘制树枝节点 |
+(x0, y0, x1, y1, x2, y2) (以x0, y0为根节点,分支到x1,y1, x2,y2...) |
+
+
+stroke |
+绘制 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/editor/shelter_editor.html b/uidoc/_book/case/editor/shelter_editor.html
new file mode 100644
index 0000000000..a51a0c1e96
--- /dev/null
+++ b/uidoc/_book/case/editor/shelter_editor.html
@@ -0,0 +1,2791 @@
+
+
+
+
+
+
+ shelter_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.shelter_editor
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.shelter_editor",
+ cls: "bi-border",
+ width: 300,
+ watermark: "这个是带标记的"
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+true |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string/function |
+— |
+" " |
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+textAlign |
+对齐方式 |
+string |
+left,center,right |
+"left" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setErrorText |
+设置错误文本 |
+text |
+
+
+getErrorText |
+获取错误文本 |
+— |
+
+
+focus |
+文本框获取焦点 |
+— |
+
+
+blur |
+文本框失焦 |
+— |
+
+
+onKeyDown |
+按键事件 |
+key |
+
+
+setValue |
+设置文本框值 |
+value |
+
+
+getLastValidValue |
+获取文本框最后一次输入的有效值 |
+— |
+
+
+setTextStyle |
+设置文本框样式 |
+style |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+isEditing |
+文本框是否处于编辑状态 |
+— |
+
+
+isValid |
+文本框值是否有效 |
+— |
+
+
+doRedMark |
+文本标红 |
+— |
+
+
+unRedMark |
+取消文本标红 |
+— |
+
+
+doHighLight |
+文本高亮 |
+— |
+
+
+unHighLight |
+取消文本高亮 |
+— |
+
+
+setTitle |
+设置title |
+title |
+
+
+setWarningTitle |
+设置错误title |
+title |
+
+
+setState |
+设置文本框值 |
+— |
+
+
+getState |
+获取文本框值 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.Editor.EVENT_CHANGE |
+editor的value发生改变触发 |
+
+
+BI.Editor.EVENT_FOCUS |
+focus事件 |
+
+
+BI.Editor.EVENT_BLUR |
+blur事件 |
+
+
+BI.Editor.EVENT_CLICK |
+点击编辑框触发(不在编辑状态时) |
+
+
+BI.Editor.EVENT_KEY_DOWN |
+keyDown时触发 |
+
+
+BI.Editor.EVENT_SPACE |
+按下空格触发 |
+
+
+BI.Editor.EVENT_BACKSPACE |
+按下Backspace触发 |
+
+
+BI.Editor.EVENT_START |
+开始输入触发 |
+
+
+BI.Editor.EVENT_PAUSE |
+暂停输入触发(输入空白字符) |
+
+
+BI.Editor.EVENT_STOP |
+停止输入触发 |
+
+
+BI.Editor.EVENT_CONFIRM |
+确定输入触发(blur时且输入值有效) |
+
+
+BI.Editor.EVENT_VALID |
+输入值有效的状态事件 |
+
+
+BI.Editor.EVENT_ERROR |
+输入值无效的状态事件 |
+
+
+BI.Editor.EVENT_ENTER |
+回车事件 |
+
+
+BI.Editor.EVENT_RESTRICT |
+回车但是值不合法 |
+
+
+BI.Editor.EVENT_REMOVE |
+输入为空时按下backspace |
+
+
+BI.Editor.EVENT_EMPTY |
+输入框为空时触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/editor/sign_editor.html b/uidoc/_book/case/editor/sign_editor.html
new file mode 100644
index 0000000000..b744f74f11
--- /dev/null
+++ b/uidoc/_book/case/editor/sign_editor.html
@@ -0,0 +1,2777 @@
+
+
+
+
+
+
+ sign_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.sign_editor
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.sign_editor",
+ cls:"layout-bg5",
+ value: "123",
+ text: "456",
+ width: 300
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+true |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string/function |
+— |
+" " |
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setErrorText |
+设置错误文本 |
+text |
+
+
+getErrorText |
+获取错误文本 |
+— |
+
+
+focus |
+文本框获取焦点 |
+— |
+
+
+blur |
+文本框失焦 |
+— |
+
+
+setValue |
+设置文本框值 |
+value |
+
+
+getLastValidValue |
+获取文本框最后一次输入的有效值 |
+— |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+isEditing |
+文本框是否处于编辑状态 |
+— |
+
+
+isValid |
+文本框值是否有效 |
+— |
+
+
+doRedMark |
+文本标红 |
+— |
+
+
+unRedMark |
+取消文本标红 |
+— |
+
+
+doHighLight |
+文本高亮 |
+— |
+
+
+unHighLight |
+取消文本高亮 |
+— |
+
+
+setTitle |
+设置title |
+title |
+
+
+setWarningTitle |
+设置错误title |
+title |
+
+
+setState |
+设置文本框值 |
+— |
+
+
+getState |
+获取文本框值 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.Editor.EVENT_CHANGE |
+editor的value发生改变触发 |
+
+
+BI.Editor.EVENT_FOCUS |
+focus事件 |
+
+
+BI.Editor.EVENT_BLUR |
+blur事件 |
+
+
+BI.Editor.EVENT_CLICK |
+点击编辑框触发(不在编辑状态时) |
+
+
+BI.Editor.EVENT_KEY_DOWN |
+keyDown时触发 |
+
+
+BI.Editor.EVENT_SPACE |
+按下空格触发 |
+
+
+BI.Editor.EVENT_BACKSPACE |
+按下Backspace触发 |
+
+
+BI.Editor.EVENT_START |
+开始输入触发 |
+
+
+BI.Editor.EVENT_PAUSE |
+暂停输入触发(输入空白字符) |
+
+
+BI.Editor.EVENT_STOP |
+停止输入触发 |
+
+
+BI.Editor.EVENT_CONFIRM |
+确定输入触发(blur时且输入值有效) |
+
+
+BI.Editor.EVENT_VALID |
+输入值有效的状态事件 |
+
+
+BI.Editor.EVENT_ERROR |
+输入值无效的状态事件 |
+
+
+BI.Editor.EVENT_ENTER |
+回车事件 |
+
+
+BI.Editor.EVENT_RESTRICT |
+回车但是值不合法 |
+
+
+BI.Editor.EVENT_REMOVE |
+输入为空时按下backspace |
+
+
+BI.Editor.EVENT_EMPTY |
+输入框为空时触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/editor/sign_initial_editor.html b/uidoc/_book/case/editor/sign_initial_editor.html
new file mode 100644
index 0000000000..0377687329
--- /dev/null
+++ b/uidoc/_book/case/editor/sign_initial_editor.html
@@ -0,0 +1,2790 @@
+
+
+
+
+
+
+ sign_initial_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.sign_initial_editor
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.sign_initial_editor",
+ cls: "layout-bg5",
+ text: "原始值",
+ width: 300
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+ |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+true |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string/function |
+— |
+" " |
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+text |
+文本内容 |
+string |
+— |
+" " |
+
+
+value |
+文本value值 |
+string |
+— |
+" " |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setErrorText |
+设置错误文本 |
+text |
+
+
+getErrorText |
+获取错误文本 |
+— |
+
+
+focus |
+文本框获取焦点 |
+— |
+
+
+blur |
+文本框失焦 |
+— |
+
+
+setValue |
+设置文本框值 |
+value |
+
+
+getLastValidValue |
+获取文本框最后一次输入的有效值 |
+— |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+isEditing |
+文本框是否处于编辑状态 |
+— |
+
+
+isValid |
+文本框值是否有效 |
+— |
+
+
+doRedMark |
+文本标红 |
+— |
+
+
+unRedMark |
+取消文本标红 |
+— |
+
+
+doHighLight |
+文本高亮 |
+— |
+
+
+unHighLight |
+取消文本高亮 |
+— |
+
+
+setTitle |
+设置title |
+title |
+
+
+setWarningTitle |
+设置错误title |
+title |
+
+
+setState |
+设置文本框值 |
+— |
+
+
+getState |
+获取文本框值 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.Editor.EVENT_CHANGE |
+editor的value发生改变触发 |
+
+
+BI.Editor.EVENT_FOCUS |
+focus事件 |
+
+
+BI.Editor.EVENT_BLUR |
+blur事件 |
+
+
+BI.Editor.EVENT_CLICK |
+点击编辑框触发(不在编辑状态时) |
+
+
+BI.Editor.EVENT_KEY_DOWN |
+keyDown时触发 |
+
+
+BI.Editor.EVENT_SPACE |
+按下空格触发 |
+
+
+BI.Editor.EVENT_BACKSPACE |
+按下Backspace触发 |
+
+
+BI.Editor.EVENT_START |
+开始输入触发 |
+
+
+BI.Editor.EVENT_PAUSE |
+暂停输入触发(输入空白字符) |
+
+
+BI.Editor.EVENT_STOP |
+停止输入触发 |
+
+
+BI.Editor.EVENT_CONFIRM |
+确定输入触发(blur时且输入值有效) |
+
+
+BI.Editor.EVENT_VALID |
+输入值有效的状态事件 |
+
+
+BI.Editor.EVENT_ERROR |
+输入值无效的状态事件 |
+
+
+BI.Editor.EVENT_ENTER |
+回车事件 |
+
+
+BI.Editor.EVENT_RESTRICT |
+回车但是值不合法 |
+
+
+BI.Editor.EVENT_REMOVE |
+输入为空时按下backspace |
+
+
+BI.Editor.EVENT_EMPTY |
+输入框为空时触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/editor/state_editor.html b/uidoc/_book/case/editor/state_editor.html
new file mode 100644
index 0000000000..3d997619b8
--- /dev/null
+++ b/uidoc/_book/case/editor/state_editor.html
@@ -0,0 +1,2764 @@
+
+
+
+
+
+
+ state_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.state_editor
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.state_editor",
+ value: "123",
+ text: "456",
+ width: 300
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+true |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string/function |
+— |
+" " |
+
+
+height |
+高度 |
+number |
+— |
+30 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setErrorText |
+设置错误文本 |
+text |
+
+
+getErrorText |
+获取错误文本 |
+— |
+
+
+focus |
+文本框获取焦点 |
+— |
+
+
+blur |
+文本框失焦 |
+— |
+
+
+setValue |
+设置文本框值 |
+value |
+
+
+getLastValidValue |
+获取文本框最后一次输入的有效值 |
+— |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+isEditing |
+文本框是否处于编辑状态 |
+— |
+
+
+isValid |
+文本框值是否有效 |
+— |
+
+
+doRedMark |
+文本标红 |
+— |
+
+
+unRedMark |
+取消文本标红 |
+— |
+
+
+doHighLight |
+文本高亮 |
+— |
+
+
+unHighLight |
+取消文本高亮 |
+— |
+
+
+setState |
+设置文本框值 |
+— |
+
+
+getState |
+获取文本框值 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.Editor.EVENT_CHANGE |
+editor的value发生改变触发 |
+
+
+BI.Editor.EVENT_FOCUS |
+focus事件 |
+
+
+BI.Editor.EVENT_BLUR |
+blur事件 |
+
+
+BI.Editor.EVENT_CLICK |
+点击编辑框触发(不在编辑状态时) |
+
+
+BI.Editor.EVENT_KEY_DOWN |
+keyDown时触发 |
+
+
+BI.Editor.EVENT_SPACE |
+按下空格触发 |
+
+
+BI.Editor.EVENT_BACKSPACE |
+按下Backspace触发 |
+
+
+BI.Editor.EVENT_START |
+开始输入触发 |
+
+
+BI.Editor.EVENT_PAUSE |
+暂停输入触发(输入空白字符) |
+
+
+BI.Editor.EVENT_STOP |
+停止输入触发 |
+
+
+BI.Editor.EVENT_CONFIRM |
+确定输入触发(blur时且输入值有效) |
+
+
+BI.Editor.EVENT_VALID |
+输入值有效的状态事件 |
+
+
+BI.Editor.EVENT_ERROR |
+输入值无效的状态事件 |
+
+
+BI.Editor.EVENT_ENTER |
+回车事件 |
+
+
+BI.Editor.EVENT_RESTRICT |
+回车但是值不合法 |
+
+
+BI.Editor.EVENT_REMOVE |
+输入为空时按下backspace |
+
+
+BI.Editor.EVENT_EMPTY |
+输入框为空时触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/layer/layer_panel.html b/uidoc/_book/case/layer/layer_panel.html
new file mode 100644
index 0000000000..b44099e437
--- /dev/null
+++ b/uidoc/_book/case/layer/layer_panel.html
@@ -0,0 +1,2647 @@
+
+
+
+
+
+
+ layer_panel · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.popup_panel",
+ title: "测试",
+ width: 300
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+title |
+标题 |
+string |
+— |
+" " |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+prependItems |
+内部前插入 |
+items |
+
+
+addItems |
+内部后插入 |
+items |
+
+
+removeItemAt |
+移除指定索引处的item |
+indexs |
+
+
+populate |
+刷新列表 |
+items |
+
+
+setNotSelectedValue |
+设置未被选中的值 |
+value,可以是单个值也可以是个数组 |
+
+
+setValue |
+设置value值 |
+value,可以是单个值也可以是个数组 |
+
+
+getNotSelectedValue |
+获取没有被选中的值 |
+— |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+getAllButtons |
+获取所有button |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getSelectedButtons |
+获取所有被选中的元素 |
+— |
+
+
+getNotSelectedButtons |
+获取所有未被选中的元素 |
+— |
+
+
+getIndexByValue |
+根据value值获取value在数组中的索引 |
+value |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+empty |
+清空组件 |
+— |
+
+
+hasPrev |
+是否有上一页 |
+— |
+
+
+hasNext |
+是否有下一页 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.PopupPanel.EVENT_CHANGE |
+panel的value发生改变触发 |
+
+
+BI.PopupPanel.EVENT_CLOSE |
+panel的关闭事件 |
+
+
+BI.PopupPanel.EVENT_CLICK_TOOLBAR_BUTTON |
+点击工具栏事件 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/layer/multi_popup_layer.html b/uidoc/_book/case/layer/multi_popup_layer.html
new file mode 100644
index 0000000000..9821930593
--- /dev/null
+++ b/uidoc/_book/case/layer/multi_popup_layer.html
@@ -0,0 +1,2519 @@
+
+
+
+
+
+
+ multi_popup_layer · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.multi_popup_view",
+ width: 300
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+buttons |
+按钮组 |
+array |
+— |
+BI.i18nText("BI-Basic_Sure") |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/layer/pane_list.html b/uidoc/_book/case/layer/pane_list.html
new file mode 100644
index 0000000000..4d1a218b1a
--- /dev/null
+++ b/uidoc/_book/case/layer/pane_list.html
@@ -0,0 +1,2701 @@
+
+
+
+
+
+
+ pane_list · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.list_pane
+
+
+BI.createWidget({
+ type: 'bi.list_pane',
+ element: "#wrapper",
+ cls: "bi-border",
+ items: []
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+列表 |
+array |
+— |
+[ ] |
+
+
+itemsCreator |
+列表创建器 |
+function |
+— |
+— |
+
+
+hasNext |
+是否有下一页 |
+function |
+— |
+— |
+
+
+onLoad |
+正在加载 |
+function |
+— |
+— |
+
+
+el |
+开启panel的元素 |
+object |
+— |
+{type: "bi.button_group" } |
+
+
+logic |
+布局逻辑 |
+object |
+— |
+{ dynamic:true} |
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+prependItems |
+内部前插入 |
+items |
+
+
+addItems |
+内部后插入 |
+items |
+
+
+removeItemAt |
+移除指定索引处的item |
+indexs |
+
+
+populate |
+刷新列表 |
+items |
+
+
+setNotSelectedValue |
+设置未被选中的值 |
+value,可以是单个值也可以是个数组 |
+
+
+setValue |
+设置value值 |
+value,可以是单个值也可以是个数组 |
+
+
+getNotSelectedValue |
+获取没有被选中的值 |
+— |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+getAllButtons |
+获取所有button |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getSelectedButtons |
+获取所有被选中的元素 |
+— |
+
+
+getNotSelectedButtons |
+获取所有未被选中的元素 |
+— |
+
+
+getIndexByValue |
+根据value值获取value在数组中的索引 |
+value |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+empty |
+清空组件 |
+— |
+
+
+hasPrev |
+是否有上一页 |
+— |
+
+
+hasNext |
+是否有下一页 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/layer/panel.html b/uidoc/_book/case/layer/panel.html
new file mode 100644
index 0000000000..8e4fd9adb8
--- /dev/null
+++ b/uidoc/_book/case/layer/panel.html
@@ -0,0 +1,2565 @@
+
+
+
+
+
+
+ panel · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.panel
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.panel",
+ title: "标题",
+ titleButtons: [{
+ type: "bi.button",
+ text: "+"
+ }],
+ el: this.button_group,
+ logic: {
+ dynamic: true
+ }
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+title |
+标题 |
+string |
+— |
+" " |
+
+
+titleButton |
+标题后的按钮组 |
+array |
+— |
+[ ] |
+
+
+el |
+开启panel的元素 |
+object |
+— |
+{ } |
+
+
+logic |
+布局逻辑 |
+object |
+— |
+{ dynamic:false} |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setTitle |
+设置标题 |
+title |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/list/list.select.html b/uidoc/_book/case/list/list.select.html
new file mode 100644
index 0000000000..6f56e49866
--- /dev/null
+++ b/uidoc/_book/case/list/list.select.html
@@ -0,0 +1,2654 @@
+
+
+
+
+
+
+ select_list · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.select_list
+选择列表
+
+BI.createWidget({
+ type: "bi.select_list",
+ items: [{
+ text: '1',
+ }, {
+ text: '2',
+ }]
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+direction |
+toolbar位置 |
+string |
+BI.Direction.Top |
+
+
+onLoaded |
+加载完成的回调(测试了无效果) |
+function |
+BI.emptyFn |
+
+
+items |
+子项 |
+array |
+[] |
+
+
+itemsCreator |
+元素创造器 |
+function |
+BI.emptyFn |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setAllSelected |
+设置全选 |
+v: boolean |
+
+
+setToolBarVisible |
+设置toolbar是否可见 |
+b: boolean |
+
+
+isAllSelected |
+是否全选中 |
+— |
+
+
+hasPrev |
+是否有上一页 |
+— |
+
+
+hasNext |
+是否有下一页 |
+— |
+
+
+prependItems |
+列表最前添加元素 |
+items |
+
+
+addItems |
+列表最后添加元素 |
+items |
+
+
+setValue |
+设置值 |
+data |
+
+
+getVlaue |
+获得值 |
+— |
+
+
+empty |
+清空 |
+— |
+
+
+populate |
+替换内容 |
+items |
+
+
+resetHeight |
+重新设置高度 |
+h |
+
+
+setNotSelectedValue |
+设置未选中值 |
+— |
+
+
+getNotSelectedValue |
+获取未选中植 |
+— |
+
+
+getAllButtons |
+获得所以根节点 |
+— |
+
+
+getAllLeaves |
+获得所有叶节点 |
+— |
+
+
+getSelectedButtons |
+获取选中的根节点 |
+— |
+
+
+getNotSelectedButtons |
+获取未选中的根节点 |
+— |
+
+
+getIndexByValue |
+根据值获取索引 |
+value |
+
+
+getNodeById |
+根据id获取node |
+id |
+
+
+getNodeByValue |
+根据值获取node |
+value |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/loader/lazy_loader.html b/uidoc/_book/case/loader/lazy_loader.html
new file mode 100644
index 0000000000..d2299d708f
--- /dev/null
+++ b/uidoc/_book/case/loader/lazy_loader.html
@@ -0,0 +1,2584 @@
+
+
+
+
+
+
+ lazy_loader · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.lazy_loader
+懒加载loader
+
+BI.createWidget({
+ type: "bi.lazy_loader",
+ width: 100,
+ element: 'body',
+ items: items,
+});
+
+
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+addItems |
+列表最后添加元素 |
+items |
+
+
+setValue |
+设置值 |
+data |
+
+
+getVlaue |
+获得值 |
+— |
+
+
+empty |
+清空 |
+— |
+
+
+populate |
+替换内容 |
+items |
+
+
+setNotSelectedValue |
+设置未选中值 |
+— |
+
+
+getNotSelectedValue |
+获取未选中植 |
+— |
+
+
+getAllButtons |
+获得所以根节点 |
+— |
+
+
+getAllLeaves |
+获得所有叶节点 |
+— |
+
+
+getSelectedButtons |
+获取选中的根节点 |
+— |
+
+
+getNotSelectedButtons |
+获取未选中的根节点 |
+— |
+
+
+getIndexByValue |
+根据值获取索引 |
+value |
+
+
+getNodeById |
+根据id获取node |
+id |
+
+
+getNodeByValue |
+根据值获取node |
+value |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/loader/list_loader.html b/uidoc/_book/case/loader/list_loader.html
new file mode 100644
index 0000000000..8b569f46a7
--- /dev/null
+++ b/uidoc/_book/case/loader/list_loader.html
@@ -0,0 +1,2641 @@
+
+
+
+
+
+
+ list_loader · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.list_loader
+为解决排序问题引入的控件
+
+BI.createWidget({
+ type: "bi.list_loader",
+ width: 100,
+ element: 'body',
+ items: items,
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+count |
+分页计数 |
+number |
+false |
+
+
+next |
+ |
+object |
+{} |
+
+
+hasNext |
+是否有下一页 |
+function |
+BI.emptyFn |
+
+
+items |
+子项 |
+array |
+[] |
+
+
+itemsCreator |
+元素创造器 |
+function |
+BI.emptyFn |
+
+
+onLoaded |
+加载完成回调 |
+function |
+BI.emptyFn |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+hasNext |
+是否有下一页 |
+— |
+
+
+addItems |
+列表最后添加元素 |
+items |
+
+
+setValue |
+设置值 |
+data |
+
+
+getVlaue |
+获得值 |
+— |
+
+
+empty |
+清空 |
+— |
+
+
+populate |
+替换内容 |
+items |
+
+
+resetHeight |
+重新设置高度 |
+h |
+
+
+setNotSelectedValue |
+设置未选中值 |
+— |
+
+
+getNotSelectedValue |
+获取未选中植 |
+— |
+
+
+getAllButtons |
+获得所以根节点 |
+— |
+
+
+getAllLeaves |
+获得所有叶节点 |
+— |
+
+
+getSelectedButtons |
+获取选中的根节点 |
+— |
+
+
+getNotSelectedButtons |
+获取未选中的根节点 |
+— |
+
+
+getIndexByValue |
+根据值获取索引 |
+value |
+
+
+getNodeById |
+根据id获取node |
+id |
+
+
+getNodeByValue |
+根据值获取node |
+value |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/loader/sort_list.html b/uidoc/_book/case/loader/sort_list.html
new file mode 100644
index 0000000000..185a4f2d29
--- /dev/null
+++ b/uidoc/_book/case/loader/sort_list.html
@@ -0,0 +1,2639 @@
+
+
+
+
+
+
+ sort_list · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.sort_list
+排序列表
+
+BI.createWidget({
+ type: "bi.sort_list",
+ width: 100,
+ element: 'body',
+ items: items,
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+count |
+分页计数 |
+number |
+false |
+
+
+next |
+ |
+object |
+{} |
+
+
+hasNext |
+是否有下一页 |
+function |
+BI.emptyFn |
+
+
+items |
+子项 |
+array |
+[] |
+
+
+itemsCreator |
+元素创造器 |
+function |
+BI.emptyFn |
+
+
+onLoaded |
+加载完成回调 |
+function |
+BI.emptyFn |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+hasNext |
+是否有下一页 |
+— |
+
+
+addItems |
+列表最后添加元素 |
+items |
+
+
+setValue |
+设置值 |
+data |
+
+
+getVlaue |
+获得值 |
+— |
+
+
+empty |
+清空 |
+— |
+
+
+populate |
+替换内容 |
+items |
+
+
+resetHeight |
+重新设置高度 |
+h |
+
+
+setNotSelectedValue |
+设置未选中值 |
+— |
+
+
+getNotSelectedValue |
+获取未选中植 |
+— |
+
+
+getAllButtons |
+获得所以根节点 |
+— |
+
+
+getAllLeaves |
+获得所有叶节点 |
+— |
+
+
+getSelectedButtons |
+获取选中的根节点 |
+— |
+
+
+getNotSelectedButtons |
+获取未选中的根节点 |
+— |
+
+
+getIndexByValue |
+根据值获取索引 |
+value |
+
+
+getNodeById |
+根据id获取node |
+id |
+
+
+getNodeByValue |
+根据值获取node |
+value |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/pager/all_count_pager.html b/uidoc/_book/case/pager/all_count_pager.html
new file mode 100644
index 0000000000..eb13adef83
--- /dev/null
+++ b/uidoc/_book/case/pager/all_count_pager.html
@@ -0,0 +1,2593 @@
+
+
+
+
+
+
+ all_count_pager · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+有总页数和总行数的分页控件
+
+BI.createWidget({
+ type: 'bi.all_count_pager',
+ height: 30,
+ pages: 10,
+ curr: 1,
+ count: 1,
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+height |
+控件高度 |
+number |
+30 |
+
+
+pages |
+总页数 |
+number |
+1 |
+
+
+curr |
+当前页 |
+number |
+1 |
+
+
+count |
+总行数 |
+number |
+1 |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setAllPages |
+设置总页数 |
+v |
+
+
+setValue |
+设置当前页码 |
+v |
+
+
+setVPage |
+设置当前页码 |
+v |
+
+
+setCount |
+设置计数 |
+count |
+
+
+getCurrentPage |
+获取当前页码 |
+— |
+
+
+hasPrev |
+是否有前一页 |
+— |
+
+
+hasNext |
+是否有后一页 |
+— |
+
+
+setPagerVisible |
+设置页码是否可见 |
+true/false |
+
+
+populate |
+清空内容 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/pager/direction_pager.html b/uidoc/_book/case/pager/direction_pager.html
new file mode 100644
index 0000000000..1058e5a248
--- /dev/null
+++ b/uidoc/_book/case/pager/direction_pager.html
@@ -0,0 +1,2655 @@
+
+
+
+
+
+
+ direction_pager · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+显示页码的分页控件
+
+var pager = BI.createWidget({
+ type: 'bi.direction_pager',
+ height: 30,
+ horizontal: {
+ pages: 10,
+ curr: 1,
+ firstPage: 1,
+ lastPage: 10,
+ },
+ vertical: {
+ pages: 10,
+ curr: 1,
+ firstPage: 1,
+ lastPage: 10,
+ },
+ element: 'body',
+});
+
+
+
+参数
+
+
+
+参数 |
+二级参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+height |
+ |
+控件高度 |
+number |
+30 |
+
+
+horizontal |
+ |
+横向翻页设置 |
+object |
+— |
+
+
+ |
+pages |
+总页数 |
+number/boolean |
+false |
+
+
+ |
+curr |
+当前页, pages为数字时可用 |
+number |
+1 |
+
+
+ |
+hasPrev |
+判断是否有前一页的方法 |
+function |
+BI.emptyFn |
+
+
+ |
+hasNext |
+判断是否有后一页的方法 |
+function |
+BI.emptyFn |
+
+
+ |
+firstPage |
+第一页 |
+number |
+1 |
+
+
+ |
+lastPage |
+最后一页 |
+number/function |
+BI.emptyFn |
+
+
+vertical |
+ |
+纵向翻页设置,参数与horizontal相同 |
+object |
+— |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+getVPage |
+获取纵向页码 |
+— |
+
+
+getHPage |
+获取水平向页码 |
+— |
+
+
+setVPage |
+获取纵向页码 |
+v |
+
+
+setHPage |
+获取水平向页码 |
+v |
+
+
+hasVNext |
+纵向坐标是否有下一页 |
+— |
+
+
+hasHNext |
+横向坐标是否有下一页 |
+— |
+
+
+hasVPrev |
+纵向坐标是否有上一页 |
+— |
+
+
+hasHPrev |
+横向坐标是否有上一页 |
+— |
+
+
+setHPagerVisible |
+设置横向分页键可见 |
+— |
+
+
+setVPagerVisible |
+设置纵向分页键可见 |
+— |
+
+
+populate |
+清空内容 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/segment.html b/uidoc/_book/case/segment.html
new file mode 100644
index 0000000000..2a8711645f
--- /dev/null
+++ b/uidoc/_book/case/segment.html
@@ -0,0 +1,2595 @@
+
+
+
+
+
+
+ segment · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.sgement
+各种segment
+
+BI.createWidget({
+ type: "bi.vertical",
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "默认风格"
+ }, {
+ type: "bi.segment",
+ items: [{
+ text: "tab1",
+ value: 1,
+ selected: true
+ }, {
+ text: "tab2",
+ value: 2
+ }, {
+ text: "tab3 disabled",
+ disabled: true,
+ value: 3
+ }]
+ }],
+ hgap: 50,
+ vgap: 20
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+10 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+width |
+宽度 |
+number |
+— |
+— |
+
+
+height |
+高度 |
+number |
+— |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/_book/case/shelter_editor.md b/uidoc/_book/case/shelter_editor.md
similarity index 100%
rename from docs/_book/case/shelter_editor.md
rename to uidoc/_book/case/shelter_editor.md
diff --git a/uidoc/_book/case/table/adaptive_table.html b/uidoc/_book/case/table/adaptive_table.html
new file mode 100644
index 0000000000..5377978480
--- /dev/null
+++ b/uidoc/_book/case/table/adaptive_table.html
@@ -0,0 +1,2705 @@
+
+
+
+
+
+
+ adaptive_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.adaptive_table
+自适应宽度的表格
+BI.createWidget({
+ type: "bi.adaptive_table",
+ element: 'body',
+ width: 600,
+ height: 500,
+ isResizeAdapt: true,
+ isNeedResize: true,
+ isNeedFreeze: true,
+ freezeCols: [0, 1],
+ columnSize: [50,50,200,250,400],
+ header: [],
+ items: [],
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedResize |
+是否可改变列大小 |
+boolean |
+true |
+
+
+isNeedFreeze |
+是否需要冻结表头 |
+boolean |
+false |
+
+
+freezeCols |
+冻结的列 |
+array |
+[] |
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+合并的单元格列号 |
+array |
+[] |
+
+
+mergeRule |
+合并规则, 默认相等时合并 |
+function(row1, row2) |
+默认row1 = row2 时合并 |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+minColumnSize |
+最小列宽 |
+array |
+[] |
+
+
+maxColumnSize |
+最大列宽 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+25 |
+
+
+rowSize |
+普通单元格高度 |
+number |
+25 |
+
+
+regionColumnSize |
+列项间的 |
+array |
+[] |
+
+
+header |
+表头 |
+array |
+[] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+crossHeader |
+交叉表头 |
+array |
+[] |
+
+
+crossItems |
+交叉项 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setWidth |
+设置宽度 |
+width: 宽度 |
+
+
+setHeight |
+设置高度 |
+height: 高度 |
+
+
+setColumnSize |
+设置列宽 |
+columnSize: 列宽数组 |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize: 列宽数组 |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop: 纵向滚动距离 |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+attr |
+设置属性 |
+key: 键 value: 值 |
+
+
+restore |
+存储 |
+— |
+
+
+populate |
+增加项 |
+items: array |
+
+
+destroy |
+摧毁表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/table/layer_tree_table.html b/uidoc/_book/case/table/layer_tree_table.html
new file mode 100644
index 0000000000..03ff370d4f
--- /dev/null
+++ b/uidoc/_book/case/table/layer_tree_table.html
@@ -0,0 +1,2728 @@
+
+
+
+
+
+
+ layer_tree_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.layer_tree_table
+层级树状结构的表格
+var table = BI.createWidget({
+ type: "bi.layer_tree_table",
+ width: 600,
+ height: 400,
+ columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
+ minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
+ header: header,
+ items: items,
+ crossHeader: crossHeader,
+ crossItems: crossItems,
+ element: 'body',
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedResize |
+是否需要调整列宽 |
+boolean |
+false |
+
+
+isResizeAdapt |
+是否需要在调整列宽或区域宽度的时候它们自适应变化 |
+boolean |
+true |
+
+
+isNeedFreeze |
+是否需要冻结表头 |
+boolean |
+false |
+
+
+freezeCols |
+冻结的列 |
+array |
+[] |
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+合并的单元格列号 |
+array |
+[] |
+
+
+mergeRule |
+合并规则, 默认相等时合并 |
+function(row1, row2) |
+默认row1 = row2 时合并 |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+minColumnSize |
+最小列宽 |
+array |
+[] |
+
+
+maxColumnSize |
+最大列宽 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+25 |
+
+
+headerCellStyleGetter |
+ |
+function |
+BI.emptyFn |
+
+
+summaryCellStyleGetter |
+ |
+function |
+BI.emptyFn |
+
+
+sequenceCellStyleGetter |
+ |
+function |
+BI.emptyFn |
+
+
+rowSize |
+普通单元格高度 |
+number |
+25 |
+
+
+regionColumnSize |
+列项间的 |
+array |
+[] |
+
+
+header |
+表头 |
+array |
+[] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+crossHeader |
+交叉表头 |
+array |
+[] |
+
+
+crossItems |
+交叉项 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setWidth |
+设置宽度 |
+width: 宽度 |
+
+
+setHeight |
+设置高度 |
+height: 高度 |
+
+
+setColumnSize |
+设置列宽 |
+columnSize: 列宽数组 |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize: 列宽数组 |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop: 纵向滚动距离 |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+attr |
+设置属性 |
+key: 键 value: 值 |
+
+
+restore |
+存储 |
+— |
+
+
+populate |
+增加项 |
+items: array |
+
+
+destroy |
+摧毁表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/table/tree_table.html b/uidoc/_book/case/table/tree_table.html
new file mode 100644
index 0000000000..23db449168
--- /dev/null
+++ b/uidoc/_book/case/table/tree_table.html
@@ -0,0 +1,2730 @@
+
+
+
+
+
+
+ tree_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.tree_table
+树状结构的表格
+var table = BI.createWidget({
+ type: "bi.tree_table",
+ width: 600,
+ height: 400,
+ columnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
+ minColumnSize: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
+ header: header,
+ items: items,
+ crossHeader: crossHeader,
+ crossItems: crossItems,
+ element: 'body',
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedResize |
+是否需要调整列宽 |
+boolean |
+false |
+
+
+isResizeAdapt |
+是否需要在调整列宽或区域宽度的时候它们自适应变化 |
+boolean |
+true |
+
+
+isNeedFreeze |
+是否需要冻结表头 |
+boolean |
+false |
+
+
+freezeCols |
+冻结的列 |
+array |
+[] |
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+合并的单元格列号 |
+array |
+[] |
+
+
+mergeRule |
+合并规则, 默认相等时合并 |
+function(row1, row2) |
+默认row1 = row2 时合并 |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+minColumnSize |
+最小列宽 |
+array |
+[] |
+
+
+maxColumnSize |
+最大列宽 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+25 |
+
+
+headerCellStyleGetter |
+ |
+function |
+BI.emptyFn |
+
+
+summaryCellStyleGetter |
+ |
+function |
+BI.emptyFn |
+
+
+sequenceCellStyleGetter |
+ |
+function |
+BI.emptyFn |
+
+
+rowSize |
+普通单元格高度 |
+number |
+25 |
+
+
+regionColumnSize |
+列项间的 |
+array |
+[] |
+
+
+header |
+表头 |
+array |
+[] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+crossHeader |
+交叉表头 |
+array |
+[] |
+
+
+crossItems |
+交叉项 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setWidth |
+设置宽度 |
+width: 宽度 |
+
+
+setHeight |
+设置高度 |
+height: 高度 |
+
+
+setColumnSize |
+设置列宽 |
+columnSize: 列宽数组 |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize: 列宽数组 |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop: 纵向滚动距离 |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+attr |
+设置属性 |
+key: 键 value: 值 |
+
+
+restore |
+存储 |
+— |
+
+
+populate |
+增加项 |
+items: array |
+
+
+destroy |
+摧毁表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/tree/branch_relation.html b/uidoc/_book/case/tree/branch_relation.html
new file mode 100644
index 0000000000..4041af3784
--- /dev/null
+++ b/uidoc/_book/case/tree/branch_relation.html
@@ -0,0 +1,2555 @@
+
+
+
+
+
+
+ branch_relation · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.branch_relation
+表关联树
+var tree = BI.createWidget({
+ type: "bi.branch_relation",
+ element: 'body',
+ items: [],
+ direction: BI.Direction.Right,
+ align: BI.HorizontalAlign.Right,
+ centerOffset: -50
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+centerOffset |
+重心偏移量 |
+number |
+0 |
+
+
+direction |
+根节点所在方向 |
+string |
+BI.Direction.Bottom |
+
+
+align |
+对齐方向 |
+string |
+BI.VerticalAlign.Top |
+
+
+items |
+元素 |
+array |
+null |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+populate |
+去掉所有内容 |
+items: 子项数组 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/tree/branch_tree.html b/uidoc/_book/case/tree/branch_tree.html
new file mode 100644
index 0000000000..54b6cabd3d
--- /dev/null
+++ b/uidoc/_book/case/tree/branch_tree.html
@@ -0,0 +1,2558 @@
+
+
+
+
+
+
+ branch_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.branch_tree
+横向分支的树
+BI.createWidget({
+ type: "bi.branch_tree",
+ element: 'body',
+ items: [{
+ el: {},
+ children: [{
+ el: {},
+ children: {},
+
+ }]
+ }]
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+expander |
+branch_expander组件配置项 |
+object |
+{} |
+
+
+el |
+基础元素 |
+object |
+{} |
+
+
+items |
+子项 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+populate |
+去掉所有内容 |
+— |
+
+
+getValue |
+获取所选项值 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/tree/display_tree.html b/uidoc/_book/case/tree/display_tree.html
new file mode 100644
index 0000000000..f30cb77707
--- /dev/null
+++ b/uidoc/_book/case/tree/display_tree.html
@@ -0,0 +1,2526 @@
+
+
+
+
+
+
+ display_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.display_tree
+树展示控件
+var tree = BI.createWidget({
+ type: "bi.display_tree",
+ element: 'body',
+});
+
+tree.initTree({
+ id: 1,
+ text: '',
+ open: true,
+});
+
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+initTree |
+加载tree结构 |
+node: 节点数组 settings: 配置项 |
+
+
+destroy |
+摧毁元素 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/tree/handstand_branch_tree.html b/uidoc/_book/case/tree/handstand_branch_tree.html
new file mode 100644
index 0000000000..2da51cb44d
--- /dev/null
+++ b/uidoc/_book/case/tree/handstand_branch_tree.html
@@ -0,0 +1,2561 @@
+
+
+
+
+
+
+ handstand_branch_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.handstand_branch_tree
+纵向分支的树
+BI.createWidget({
+ type: "bi.handstand_branch_tree",
+ element: 'body',
+ el: {},
+ items: [{
+ el: {},
+ children: [{
+ el: {},
+ children: {},
+
+ }]
+ }]
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+expander |
+branch_expander组件配置项 |
+object |
+{} |
+
+
+el |
+基础元素 |
+object |
+{} |
+
+
+items |
+子项 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+populate |
+去掉所有内容 |
+— |
+
+
+getValue |
+获取所选项值 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/tree/level_tree.html b/uidoc/_book/case/tree/level_tree.html
new file mode 100644
index 0000000000..109da52706
--- /dev/null
+++ b/uidoc/_book/case/tree/level_tree.html
@@ -0,0 +1,2577 @@
+
+
+
+
+
+
+ level_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.level_tree
+二级树
+var tree = BI.createWidget({
+ type: "bi.level_tree",
+ element: 'body',
+ items: [],
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+expander |
+branch_expander配置 |
+object |
+{} |
+
+
+items |
+元素 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+initTree |
+构造树结构 |
+nodes |
+
+
+stroke |
+生成树方法 |
+nodes |
+
+
+populate |
+去掉所有内容 |
+items: 子项数组 |
+
+
+setValue |
+设置值 |
+v |
+
+
+getValue |
+获得值 |
+— |
+
+
+getAllLeaves |
+获取所有叶节点 |
+— |
+
+
+getNodeById |
+根据Id获取节点 |
+id |
+
+
+getNodeByValue |
+根据值获取节点 |
+id |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/tree/simple_tree.html b/uidoc/_book/case/tree/simple_tree.html
new file mode 100644
index 0000000000..b4a6b72a6e
--- /dev/null
+++ b/uidoc/_book/case/tree/simple_tree.html
@@ -0,0 +1,2558 @@
+
+
+
+
+
+
+ simple_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.simple_tree
+简单的多选树
+var tree = BI.createWidget({
+ type: "bi.simple_tree",
+ element: 'body',
+});
+
+tree.populate(items);
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+itemsCreator |
+items构造器 |
+function |
+BI.emptyFn |
+
+
+items |
+元素 |
+array |
+null |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+populate |
+去掉所有内容 |
+items: 子项数组 keywords: 关键字标红字符串 |
+
+
+setValue |
+设置值 |
+v |
+
+
+getValue |
+获得值 |
+— |
+
+
+empty |
+清空树 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/trigger/editor_trigger.html b/uidoc/_book/case/trigger/editor_trigger.html
new file mode 100644
index 0000000000..e574fd8b87
--- /dev/null
+++ b/uidoc/_book/case/trigger/editor_trigger.html
@@ -0,0 +1,2574 @@
+
+
+
+
+
+
+ editor_trigger · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.editor_trigger
+文本输入框trigger
+
+BI.createWidget({
+ type: "bi.editor_trigger",
+ element: "body",
+});
+
+
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+validationChecker |
+验证函数 |
+function |
+BI.emptyFn |
+
+
+quitChecker |
+退出时验证函数 |
+function |
+BI.emptyFn |
+
+
+allowBlank |
+是否允许为空 |
+boolean |
+false |
+
+
+watermark |
+水印 |
+string |
+"" |
+
+
+errorText |
+错误信息 |
+string |
+"" |
+
+
+triggerWidth |
+触发器宽度 |
+number |
+30 |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setValue |
+设置值 |
+value |
+
+
+getVlaue |
+获得值 |
+— |
+
+
+setText |
+ |
+text |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/trigger/icon_trigger.html b/uidoc/_book/case/trigger/icon_trigger.html
new file mode 100644
index 0000000000..9fd7f7fae9
--- /dev/null
+++ b/uidoc/_book/case/trigger/icon_trigger.html
@@ -0,0 +1,2498 @@
+
+
+
+
+
+
+ icon_trigger · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.icon_trigger
+图标按钮trigger
+
+BI.createWidget({
+ type: "bi.icon_trigger",
+ element: "body",
+});
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/case/trigger/text_trigger.html b/uidoc/_book/case/trigger/text_trigger.html
new file mode 100644
index 0000000000..582cfe6a10
--- /dev/null
+++ b/uidoc/_book/case/trigger/text_trigger.html
@@ -0,0 +1,2518 @@
+
+
+
+
+
+
+ text_trigger · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.text_trigger
+文本输入框trigger
+
+BI.createWidget({
+ type: "bi.editor_trigger",
+ element: "body",
+});
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setValue |
+设置值 |
+value |
+
+
+getVlaue |
+获得值 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/abstract/button_group.html b/uidoc/_book/core/abstract/button_group.html
new file mode 100644
index 0000000000..8abb076301
--- /dev/null
+++ b/uidoc/_book/core/abstract/button_group.html
@@ -0,0 +1,2663 @@
+
+
+
+
+
+
+ button_group · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.button_group",
+ chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
+ layouts: [{
+ type: "bi.vertical"
+ }],
+ items: [{
+ el: {
+ type: "bi.label",
+ text: "button_group"
+ },
+ height: 50,
+ }]
+})
+
+
+
+API
+基础属性
+chooseType可选值为 CHOOSE_TYPE_SINGLE,CHOOSE_TYPE_MULTI,CHOOSE_TYPE_ALL,CHOOSE_TYPE_NONE,CHOOSE_TYPE_DEFAULT
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+behaviors |
+自定义列表中item项的行为,如高亮,标红等 |
+object |
+— |
+{ } |
+
+
+items |
+子组件数组 |
+array |
+— |
+[ ] |
+
+
+chooseType |
+选择类型 |
+const |
+见上 |
+BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
+
+
+layouts |
+布局 |
+array |
+— |
+[{type: "bi.center",hgap: 0,vgap: 0}] |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+doBehavior |
+自定义列表中item项的行为,如高亮,标红等 |
+— |
+
+
+prependItems |
+内部前插入 |
+items |
+
+
+addItems |
+内部后插入 |
+items |
+
+
+removeItemAt |
+移除指定索引处的item |
+indexs |
+
+
+removeItems |
+移除制定元素 |
+values |
+
+
+populate |
+刷新列表 |
+items |
+
+
+setNotSelectedValue |
+设置未被选中的值 |
+value,可以是单个值也可以是个数组 |
+
+
+setEnabledValue |
+设置value值可用 |
+value,可以是单个值也可以是个数组 |
+
+
+setValue |
+设置value值 |
+value,可以是单个值也可以是个数组 |
+
+
+getNotSelectedValue |
+获取没有被选中的值 |
+— |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+getAllButtons |
+获取所有button |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getSelectedButtons |
+获取所有被选中的元素 |
+— |
+
+
+getNotSelectedButtons |
+获取所有未被选中的元素 |
+— |
+
+
+getIndexByValue |
+根据value值获取value在数组中的索引 |
+value |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/abstract/button_tree.html b/uidoc/_book/core/abstract/button_tree.html
new file mode 100644
index 0000000000..2e05b7d72a
--- /dev/null
+++ b/uidoc/_book/core/abstract/button_tree.html
@@ -0,0 +1,2581 @@
+
+
+
+
+
+
+ button_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.button_tree",
+ chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
+ layouts: [{
+ type: "bi.vertical"
+ }],
+ items: [{
+ type: "bi.label",
+ text: "0",
+ value: "label1",
+ height:50,
+ vgap:10
+ }]
+})
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setNotSelectedValue |
+设置未被选中的值 |
+value,可以是单个值也可以是个数组 |
+
+
+setEnabledValue |
+设置value值可用 |
+value,可以是单个值也可以是个数组 |
+
+
+setValue |
+设置value值 |
+value,可以是单个值也可以是个数组 |
+
+
+getNotSelectedValue |
+获取没有被选中的值 |
+— |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+getAllButtons |
+获取所有button |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getSelectedButtons |
+获取所有被选中的元素 |
+— |
+
+
+getNotSelectedButtons |
+获取所有未被选中的元素 |
+— |
+
+
+getIndexByValue |
+根据value值获取value在数组中的索引 |
+value |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/abstract/collection_view.html b/uidoc/_book/core/abstract/collection_view.html
new file mode 100644
index 0000000000..887c9112a3
--- /dev/null
+++ b/uidoc/_book/core/abstract/collection_view.html
@@ -0,0 +1,2673 @@
+
+
+
+
+
+
+ collection_view · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.collection_view
+
+
+BI.createWidget({
+ type: "bi.collection_view",
+ element:"#wrapper",
+ width: 400,
+ height: 300,
+ items: [],
+ cellSizeAndPositionGetter: function (index) {
+ return {
+ x: index % 10 * 50,
+ y: Math.floor(index / 10) * 50,
+ width: 50,
+ height: 50
+ }
+ }
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+子组件数组 |
+array |
+— |
+[ ] |
+
+
+overflowX |
+是否显示横向滚动条 |
+boolean |
+true,false |
+true |
+
+
+overflowY |
+是否显示纵向滚动条 |
+boolean |
+true,false |
+true |
+
+
+cellSizeAndPositionGetter |
+设置每个单元格的位置坐标和宽高 |
+function |
+— |
+— |
+
+
+horizontalOverscanSize |
+横向超出可视范围区域预加载的数量 |
+number |
+— |
+0 |
+
+
+verticalOverscanSize |
+纵向超出可视范围区域预加载的数量 |
+number |
+— |
+0 |
+
+
+width |
+行宽,必设 |
+number |
+— |
+— |
+
+
+height |
+列宽,必设 |
+number |
+— |
+— |
+
+
+scrollLeft |
+滚动条相对于左边的偏移 |
+number |
+— |
+0 |
+
+
+scrollTop |
+滚动条相对于顶部的偏移 |
+number |
+— |
+0 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setScrollLeft |
+设置滚动条相对于左边的偏移 |
+scrollLeft |
+
+
+setScrollTop |
+设置滚动条相对于顶部的偏移 |
+scrollTop |
+
+
+setOverflowX |
+设置是否显示横向滚动条 |
+b |
+
+
+setOverflowY |
+设置是否显示横向滚动条 |
+b |
+
+
+getScrollLeft |
+获取滚动条相对于左边的偏移 |
+— |
+
+
+getScrollTop |
+获取滚动条相对于顶部的偏移 |
+— |
+
+
+getMaxScrollLeft |
+获取滚动条相对于左边的最大偏移 |
+— |
+
+
+getMaxScrollTop |
+获取滚动条相对于顶部的最大偏移 |
+— |
+
+
+restore |
+还原列表设置 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+回调参数 |
+
+
+
+
+BI.CollectionView.EVENT_SCROLL |
+滚动时触发的事件 |
+{scrollLeft: scrollLeft, scrollTop: scrollTop} |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/abstract/custom_tree.html b/uidoc/_book/core/abstract/custom_tree.html
new file mode 100644
index 0000000000..a1adafaaa2
--- /dev/null
+++ b/uidoc/_book/core/abstract/custom_tree.html
@@ -0,0 +1,2647 @@
+
+
+
+
+
+
+ custom_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.custom_tree
+
+
+BI.createWidget({
+ type: "bi.custom_tree",
+ el: {
+ type: "bi.button_tree",
+ chooseType: 0,
+ layouts: [{
+ type: "bi.vertical",
+ hgap: 30
+ }]
+ },
+ items: [{
+ id: -1,
+ pId: -2,
+ value: "根目录",
+ open: true,
+ type: "bi.plus_group_node",
+ height: 25
+ },
+ {
+ id: 1,
+ pId: -1,
+ value: "第一级目录1",
+ type: "bi.plus_group_node",
+ height: 25
+ },
+ {
+ id: 11,
+ pId: 1,
+ value: "第二级文件1",
+ type: "bi.single_select_item",
+ height: 25
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+子组件数组 |
+array |
+— |
+[ ] |
+
+
+itemsCreator |
+子组件构造器 |
+object |
+— |
+{ } |
+
+
+expander |
+popup组件 |
+object |
+— |
+{el: {},popup: {type: "bi.custom_tree"}} |
+
+
+el |
+开启popup元素 |
+object |
+— |
+{type: "bi.button_tree",chooseType: 0,layouts: [{type: "bi.vertical"}]} |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+initTree |
+构造树结构 |
+nodes |
+
+
+stroke |
+生成树方法 |
+nodes |
+
+
+prependItems |
+内部前插入 |
+items |
+
+
+addItems |
+内部后插入 |
+items |
+
+
+populate |
+刷新列表 |
+nodes |
+
+
+render |
+渲染列表 |
+— |
+
+
+setValue |
+设置value值 |
+value,可以是单个值也可以是个数组 |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+getAllButtons |
+获取所有button |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+empty |
+清空组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/abstract/grid_view.html b/uidoc/_book/core/abstract/grid_view.html
new file mode 100644
index 0000000000..f59aac2103
--- /dev/null
+++ b/uidoc/_book/core/abstract/grid_view.html
@@ -0,0 +1,2704 @@
+
+
+
+
+
+
+ grid_view · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.grid_view
+
+
+BI.createWidget({
+ type: "bi.grid_view",
+ width: 400,
+ height: 300,
+ estimatedRowSize: 30,
+ estimatedColumnSize: 100,
+ items: [],
+ scrollTop: 100,
+ rowHeightGetter: function () {
+ return 30;
+ },
+ columnWidthGetter: function () {
+ return 100;
+ }
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+子组件数组 |
+array |
+— |
+[ ] |
+
+
+overflowX |
+是否显示横向滚动条 |
+boolean |
+true,false |
+true |
+
+
+overflowY |
+是否显示纵向滚动条 |
+boolean |
+true,false |
+true |
+
+
+overscanColumnCount |
+超出可视范围区域预加载多少列 |
+number |
+— |
+0 |
+
+
+overscanRowCount |
+超出可视范围区域预加载多少行 |
+number |
+— |
+0 |
+
+
+width |
+行宽,必设 |
+number |
+— |
+— |
+
+
+height |
+列宽,必设 |
+number |
+— |
+— |
+
+
+rowHeightGetter |
+每格行宽 |
+number,function |
+— |
+function |
+
+
+columnWidthGetter |
+每格列宽 |
+number,function |
+— |
+function |
+
+
+estimatedColumnSize |
+预估行宽,columnWidthGetter为function时必设 |
+number,function |
+— |
+function |
+
+
+estimatedRowSize |
+预估列宽,rowHeightGetter为function时必设 |
+number,function |
+— |
+function |
+
+
+scrollLeft |
+滚动条相对于左边的偏移 |
+number |
+— |
+0 |
+
+
+scrollTop |
+滚动条相对于顶部的偏移 |
+number |
+— |
+0 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setScrollLeft |
+设置滚动条相对于左边的偏移 |
+scrollLeft |
+
+
+setScrollTop |
+设置滚动条相对于顶部的偏移 |
+scrollTop |
+
+
+setOverflowX |
+设置是否显示横向滚动条 |
+b |
+
+
+setOverflowY |
+设置是否显示横向滚动条 |
+b |
+
+
+getScrollLeft |
+获取滚动条相对于左边的偏移 |
+— |
+
+
+getScrollTop |
+获取滚动条相对于顶部的偏移 |
+— |
+
+
+getMaxScrollLeft |
+获取滚动条相对于左边的最大偏移 |
+— |
+
+
+getMaxScrollTop |
+获取滚动条相对于顶部的最大偏移 |
+— |
+
+
+setEstimatedColumnSize |
+设置列宽 |
+width |
+
+
+setEstimatedRowSize |
+设置行宽 |
+height |
+
+
+restore |
+还原列表设置 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+回调参数 |
+
+
+
+
+BI.GridView.EVENT_SCROLL |
+滚动时触发的事件 |
+{scrollLeft: scrollLeft, scrollTop: scrollTop} |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/abstract/virtual_group.html b/uidoc/_book/core/abstract/virtual_group.html
new file mode 100644
index 0000000000..52d19eb93e
--- /dev/null
+++ b/uidoc/_book/core/abstract/virtual_group.html
@@ -0,0 +1,2578 @@
+
+
+
+
+
+
+ virtual_group · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.virtual_group
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.virtual_group",
+ width: 500,
+ height: 300,
+ chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI,
+ layouts: [{
+ type: "bi.vertical"
+ }, {
+ type: "bi.center_adapt",
+ }],
+ items:[]
+})
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+子组件数组 |
+array |
+— |
+[ ] |
+
+
+layouts |
+布局 |
+array |
+— |
+[{type: "bi.center",hgap: 0,vgap: 0}] |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setValue |
+设置value值 |
+value,可以是单个值也可以是个数组 |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+prependItems |
+内部前插入 |
+items |
+
+
+addItems |
+内部后插入 |
+items |
+
+
+populate |
+刷新列表 |
+items |
+
+
+render |
+渲染列表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/abstract/virtual_list.html b/uidoc/_book/core/abstract/virtual_list.html
new file mode 100644
index 0000000000..b0e00a6e7c
--- /dev/null
+++ b/uidoc/_book/core/abstract/virtual_list.html
@@ -0,0 +1,2583 @@
+
+
+
+
+
+
+ virtual_list · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.virtual_list
+
+
+BI.createWidget({
+ type: "bi.virtual_list",
+ element:"body",
+ items: BI.map([{value: "xxxx"}], function (i, item) {
+ return BI.extend({}, item, {
+ type: "bi.label",
+ height: 30,
+ text: (i + 1) + "." + item.text,
+ });
+ })
+ })
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+子组件数组 |
+array |
+— |
+[ ] |
+
+
+blockSize |
+滚动加载的个数 |
+number |
+— |
+10 |
+
+
+overscanHeight |
+超出可视范围区域的高度 |
+number |
+— |
+100 |
+
+
+scrollTop |
+滚动条相对于顶部的偏移 |
+number |
+— |
+0 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+render |
+渲染列表 |
+— |
+
+
+mounted |
+组件挂载 |
+— |
+
+
+restore |
+还原列表设置 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+destroyed |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/basic_button.html b/uidoc/_book/core/basic_button.html
new file mode 100644
index 0000000000..4497c35deb
--- /dev/null
+++ b/uidoc/_book/core/basic_button.html
@@ -0,0 +1,2680 @@
+
+
+
+
+
+
+ basic_button · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+value |
+组件value值 |
+string |
+— |
+null |
+
+
+stopEvent |
+阻止事件 |
+boolean |
+true,false |
+false |
+
+
+stopPropagation |
+阻止冒泡 |
+boolean |
+true,false |
+false |
+
+
+selected |
+button的选中状态 |
+boolean |
+true,false |
+false |
+
+
+once |
+点击一次选中有效,再点无效 |
+boolean |
+true,false |
+false |
+
+
+forceSelected |
+点击即选中, 选中了就不会被取消,与once的区别是forceSelected不影响事件的触发 |
+boolean |
+true,false |
+false |
+
+
+forceNotSelected |
+无论怎么点击都不会被选中 |
+boolean |
+true,false |
+false |
+
+
+disableSelected |
+使能选中 |
+boolean |
+true,false |
+false |
+
+
+shadow |
+是否显示阴影 |
+boolean |
+true,false |
+false |
+
+
+isShadowShowingOnSelected |
+选中状态下是否显示阴影 |
+boolean |
+true,false |
+false |
+
+
+trigger |
+被选元素要触发的事件 |
+string |
+mousedown, mouseup, click, dblclick, lclick |
+null |
+
+
+handler |
+点击事件回调 |
+function |
+— |
+BI.emptyFn |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+bindEvent |
+绑定事件 |
+— |
+
+
+beforeClick |
+点击事件之前 |
+— |
+
+
+doClick |
+点击事件 |
+— |
+
+
+handle |
+返回该对象 |
+— |
+
+
+hover |
+hover事件 |
+— |
+
+
+dishover |
+取消hover事件 |
+— |
+
+
+setSelected |
+设置选中的文本 |
+b |
+
+
+isSelected |
+是否被选中 |
+— |
+
+
+isOnce |
+是否只允许点击一次 |
+— |
+
+
+isForceSelected |
+判断是否点击即选中 |
+— |
+
+
+isForceNotSelected |
+判断是否怎么点击都不会被选中 |
+— |
+
+
+isDisableSelected |
+判断是否让选中 |
+— |
+
+
+setText |
+设置文本值 |
+— |
+
+
+getText |
+获取文本值 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/bi.combo.html b/uidoc/_book/core/combination/bi.combo.html
new file mode 100644
index 0000000000..c660d2bdcd
--- /dev/null
+++ b/uidoc/_book/core/combination/bi.combo.html
@@ -0,0 +1,2773 @@
+
+
+
+
+
+
+ combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.combo
+
+
+BI.createWidget({
+ type: "bi.combo",
+ element: "body",
+ adjustLength: 2,
+ el: {
+ type: "bi.button",
+ text: "测试",
+ height: 25
+ },
+ popup: {}
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+el |
+自定义下拉框trigger |
+object |
+— |
+{ } |
+
+
+trigger |
+下拉列表的弹出方式 |
+string |
+click,hover |
+"click" |
+
+
+adjustLength |
+弹出列表和trigger的距离 |
+number |
+— |
+0 |
+
+
+toggle |
+切换状态 |
+boolean |
+true,false |
+true |
+
+
+direction |
+弹出列表和trigger的位置关系 |
+string |
+top | bottom | left | right | top,left | top,right | bottom,left | bottom,right |
+"bottom" |
+
+
+isDefaultInit |
+是否默认初始化子节点 |
+boolean |
+true,false |
+false |
+
+
+destroyWhenHide |
+隐藏弹窗层是否销毁 |
+boolean |
+true,false |
+false |
+
+
+isNeedAdjustHeight |
+是否需要高度调整 |
+boolean |
+true,false |
+true |
+
+
+isNeedAdjustWidth |
+是否需要宽度调整 |
+boolean |
+true,false |
+true |
+
+
+stopEvent |
+是否阻止事件 |
+boolean |
+true,false |
+false |
+
+
+stopPropagation |
+阻止事件冒泡 |
+boolean |
+true,false |
+false |
+
+
+adjustXOffset |
+调整横向偏移 |
+number |
+— |
+0 |
+
+
+adjustYOffset |
+调整纵向偏移 |
+number |
+— |
+0 |
+
+
+hideChecker |
+是否隐藏弹出层检测 |
+function |
+— |
+— |
+
+
+offsetStyle |
+弹出层显示位置 |
+string |
+left,right,center |
+"left,right,center" |
+
+
+popup |
+弹出层 |
+object |
+— |
+{ } |
+
+
+comboClass |
+combo类 |
+string |
+— |
+"bi-combo-popup" |
+
+
+hoverClass |
+hover类 |
+string |
+— |
+"bi-combo-hover" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+adjustWidth |
+调整宽度 |
+— |
+
+
+adjustHeight |
+调整高度 |
+— |
+
+
+resetListHeight |
+重置列表高度 |
+height |
+
+
+resetListWidth |
+重置列表宽度 |
+width |
+
+
+populate |
+刷新列表 |
+items |
+
+
+setValue |
+设置combo value值 |
+v |
+
+
+getValue |
+获取combo value值 |
+— |
+
+
+isViewVisible |
+弹窗层是否可见 |
+— |
+
+
+showView |
+显示弹出层 |
+— |
+
+
+hideView |
+隐藏弹出层 |
+— |
+
+
+getView |
+获取弹出层 |
+— |
+
+
+getPopupPosition |
+获取弹出层的位置 |
+— |
+
+
+toggle |
+开启或者隐藏弹出层 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+事件
+
+
+
+名称 |
+说明 |
+
+
+
+
+BI.Combo.EVENT_TRIGGER_CHANGE |
+trigger发生改变触发 |
+
+
+BI.Combo.EVENT_CHANGE |
+弹出层点击触发 |
+
+
+BI.Combo.EVENT_EXPAND |
+下拉框展开触发 |
+
+
+BI.Combo.EVENT_COLLAPSE |
+下拉框收起触发 |
+
+
+BI.Combo.EVENT_AFTER_INIT |
+下拉框初始化后触发 |
+
+
+BI.Combo.EVENT_BEFORE_POPUPVIEW |
+下拉列表弹出前触发 |
+
+
+BI.Combo.EVENT_AFTER_POPUPVIEW |
+下拉列表弹出后触发 |
+
+
+BI.Combo.EVENT_BEFORE_HIDEVIEW |
+下拉列表收起前触发 |
+
+
+BI.Combo.EVENT_AFTER_HIDEVIEW |
+下拉列表收起后触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/bi.expander.html b/uidoc/_book/core/combination/bi.expander.html
new file mode 100644
index 0000000000..d7428922d5
--- /dev/null
+++ b/uidoc/_book/core/combination/bi.expander.html
@@ -0,0 +1,2714 @@
+
+
+
+
+
+
+ expander · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.expander
+
+
+BI.createWidget({
+ type: "bi.expander",
+ element: "#wrapper",
+ el: {
+ type: "bi.icon_text_node",
+ cls: "pull-right-ha-font",
+ height: 25,
+ text: "Expander"
+ },
+ popup: {
+ items: [{
+ type: "bi.single_select_item",
+ height: 25,
+ text: "项目1",
+ value: 1
+ }, {
+ type: "bi.single_select_item",
+ height: 25,
+ text: "项目2",
+ value: 2
+ }]
+ }
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+el |
+自定义下拉框trigger |
+object |
+— |
+{ } |
+
+
+trigger |
+下拉列表的弹出方式 |
+string |
+click,hover |
+"click" |
+
+
+adjustLength |
+弹出列表和trigger的距离 |
+number |
+— |
+0 |
+
+
+toggle |
+切换状态 |
+boolean |
+true,false |
+true |
+
+
+direction |
+弹出列表和trigger的位置关系 |
+string |
+top | bottom | left | right | top,left | top,right | bottom,left | bottom,right |
+"bottom" |
+
+
+isDefaultInit |
+是否默认初始化子节点 |
+boolean |
+true,false |
+false |
+
+
+popup |
+弹出层 |
+object |
+— |
+{ } |
+
+
+expanderClass |
+展开类 |
+string |
+— |
+"bi-expander-popup" |
+
+
+hoverClass |
+hover类 |
+string |
+— |
+"bi-expander-hover" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新列表 |
+items |
+
+
+setValue |
+设置combo value值 |
+v |
+
+
+getValue |
+获取combo value值 |
+— |
+
+
+isViewVisible |
+弹窗层是否可见 |
+— |
+
+
+showView |
+显示弹出层 |
+— |
+
+
+hideView |
+隐藏弹出层 |
+— |
+
+
+getView |
+获取弹出层 |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+isExpanded |
+节点是否展开 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+事件
+
+
+
+名称 |
+说明 |
+
+
+
+
+BI.Expander.EVENT_TRIGGER_CHANGE |
+trigger发生改变触发 |
+
+
+BI.Expander.EVENT_CHANGE |
+弹出层点击触发 |
+
+
+BI.Expander.EVENT_EXPAND |
+Expander展开触发 |
+
+
+BI.Expander.EVENT_COLLAPSE |
+Expander收起触发 |
+
+
+BI.Expander.EVENT_AFTER_INIT |
+Expander初始化后触发 |
+
+
+BI.Expander.EVENT_BEFORE_POPUPVIEW |
+下拉列表弹出前触发 |
+
+
+BI.Expander.EVENT_AFTER_POPUPVIEW |
+下拉列表弹出后触发 |
+
+
+BI.Expander.EVENT_BEFORE_HIDEVIEW |
+下拉列表收起前触发 |
+
+
+BI.Expander.EVENT_AFTER_HIDEVIEW |
+下拉列表收起后触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/group_combo.html b/uidoc/_book/core/combination/group_combo.html
new file mode 100644
index 0000000000..acdbb72b92
--- /dev/null
+++ b/uidoc/_book/core/combination/group_combo.html
@@ -0,0 +1,2617 @@
+
+
+
+
+
+
+ group_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.combo_group
+
+
+BI.createWidget({
+ element: "#wrapper",
+ 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
+ }]
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+childern |
+子组件 |
+array |
+— |
+[ ] |
+
+
+popup |
+弹出层 |
+object |
+— |
+{el: {type: "bi.button_tree",chooseType: 0,layouts: [{type: "bi.vertical"}]}} |
+
+
+isDefaultInit |
+是否默认初始化子节点 |
+boolean |
+true,false |
+false |
+
+
+isNeedAdjustHeight |
+是否需要高度调整 |
+boolean |
+true,false |
+false |
+
+
+isNeedAdjustWidth |
+是否需要宽度调整 |
+boolean |
+true,false |
+false |
+
+
+el |
+自定义下拉框trigger |
+object |
+— |
+{type: "bi.text_button", text: "", value: ""} |
+
+
+trigger |
+下拉列表的弹出方式 |
+string |
+click,hover |
+"click" |
+
+
+adjustLength |
+弹出列表和trigger的距离 |
+number |
+— |
+0 |
+
+
+direction |
+弹出列表和trigger的位置关系 |
+string |
+top | bottom | left | right | top,left | top,right | bottom,left | bottom,right |
+"bottom" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新列表 |
+items |
+
+
+setValue |
+设置combo value值 |
+v |
+
+
+getValue |
+获取combo value值 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/loader.html b/uidoc/_book/core/combination/loader.html
new file mode 100644
index 0000000000..84f41d317f
--- /dev/null
+++ b/uidoc/_book/core/combination/loader.html
@@ -0,0 +1,2704 @@
+
+
+
+
+
+
+ loader · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.loader
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.loader",
+ itemsCreator: function(options, populate) {
+ populate(BI.map(BI.map(BI.makeArray(3, null), function(idx, value){
+ return {
+ text: faker.name.findName(),
+ value: BI.UUID()
+ };
+ }), function(i, v) {
+ return BI.extend(v, {
+ type: "bi.single_select_item",
+ height: 25
+ })
+ }))
+ },
+ hasNext: function(option) {
+ return option.count < 10;
+ }
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+direction |
+combo弹出层位置 |
+string |
+top,bottom,left,right,(top,left),(top,right),(bottom,left),(bottom,right) |
+"top" |
+
+
+isDefaultInit |
+是否默认初始化子数据 |
+boolean |
+true,false |
+true |
+
+
+logic |
+布局逻辑 |
+object |
+— |
+{dynamic:true,scrolly:true} |
+
+
+items |
+子组件 |
+array |
+— |
+[] |
+
+
+itemsCreator |
+子组件构造器 |
+function |
+— |
+— |
+
+
+onLoaded |
+加载中 |
+function |
+— |
+— |
+
+
+count |
+是否显示总页数 |
+boolean |
+true,false |
+boolean |
+
+
+prev |
+上一页 |
+boolean |
+true,false |
+boolean |
+
+
+next |
+下一页 |
+boolean |
+true,false |
+boolean |
+
+
+hasPrev |
+判断是否有上一页 |
+function |
+— |
+— |
+
+
+hasNext |
+判断是否有下一页 |
+function |
+— |
+— |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+hasNext |
+判断是否有下一页 |
+— |
+
+
+prependItems |
+内部前插入 |
+items |
+
+
+addItems |
+内部后插入 |
+items |
+
+
+populate |
+刷新列表 |
+items |
+
+
+setNotSelectedValue |
+设置未被选中的值 |
+value,可以是单个值也可以是个数组 |
+
+
+setValue |
+设置value值 |
+value,可以是单个值也可以是个数组 |
+
+
+getNotSelectedValue |
+获取没有被选中的值 |
+— |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+getAllButtons |
+获取所有button |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getSelectedButtons |
+获取所有被选中的元素 |
+— |
+
+
+getNotSelectedButtons |
+获取所有未被选中的元素 |
+— |
+
+
+getIndexByValue |
+根据value值获取value在数组中的索引 |
+value |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/navigation.html b/uidoc/_book/core/combination/navigation.html
new file mode 100644
index 0000000000..eb4dbb74aa
--- /dev/null
+++ b/uidoc/_book/core/combination/navigation.html
@@ -0,0 +1,2661 @@
+
+
+
+
+
+
+ navigation · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.navigation
+
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.navigation",
+ tab: {
+ height: 30,
+ items: [{
+ once: false,
+ text: "后退",
+ value: -1
+ }, {
+ once: false,
+ text: "前进",
+ value: 1
+ }]
+ },
+ cardCreator: function(v) {
+ return BI.createWidget({
+ type: "bi.label",
+ cls: "layout-bg" + BI.random(1, 8),
+ text: "第" + v + "页"
+ })
+ }
+})
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+direction |
+控件位置 |
+string |
+top,bottom,left,right,custom |
+"bottom" |
+
+
+single |
+是否为单页 |
+boolean |
+true,false |
+true |
+
+
+defaultShowIndex |
+是否默认显示 |
+boolean |
+true,false |
+true |
+
+
+tab |
+tab页元素 |
+boolean |
+true,false |
+true |
+
+
+logic |
+布局逻辑 |
+object |
+— |
+{dynamic:true} |
+
+
+cardCreator |
+面板构造器 |
+function |
+— |
+v |
+
+
+afterCardCreated |
+面板构造之后 |
+function |
+— |
+— |
+
+
+afterCardShow |
+面板显示之后 |
+function |
+— |
+— |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+render |
+渲染组件 |
+— |
+
+
+mounted |
+挂载组件 |
+— |
+
+
+afterCardCreated |
+创建卡导航页页之后 |
+v |
+
+
+afterCardShow |
+导航页展示之后 |
+v |
+
+
+setSelect |
+设置选中的index |
+v |
+
+
+getSelect |
+获取选中的index |
+— |
+
+
+getSelectedCard |
+获取选中的导航页 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+setValue |
+设置value值 |
+value |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/searcher.html b/uidoc/_book/core/combination/searcher.html
new file mode 100644
index 0000000000..cce5837572
--- /dev/null
+++ b/uidoc/_book/core/combination/searcher.html
@@ -0,0 +1,2799 @@
+
+
+
+
+
+
+ searcher · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.searcher
+
+
+BI.createWidget({
+ type: "bi.searcher",
+ element:"#wrapper",
+ adapter: {
+ getItems: function () {
+ return [{
+ type: "bi.label",
+ value: "张三"
+ }]
+ }
+ },
+ popup: {
+ type: "bi.button_group",
+ cls: "bi-border",
+ items: items,
+ layouts: [{
+ type: "bi.vertical"
+ }],
+ },
+ masker: false
+ })
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+chooseType |
+选择类型 |
+const |
+ |
+CHOOSE_TYPE_SINGLE |
+
+
+isDefaultInit |
+是否默认初始化子节点 |
+boolean |
+true,false |
+false |
+
+
+isAutoSearch |
+是否自动搜索 |
+boolean |
+true,false |
+true |
+
+
+isAutoSync |
+是否自动同步数据, 即是否保持搜索面板和adapter面板状态值的统一 |
+boolean |
+true,false |
+true |
+
+
+onSearch |
+isAutoSearch为false时启用 |
+function(op.callback) |
+— |
+— |
+
+
+el |
+开启弹出层的元素 |
+object |
+— |
+{type: "bi.search_editor"} |
+
+
+popup |
+弹出层 |
+object |
+— |
+{type: "bi.searcher_view"} |
+
+
+adapter |
+弹出层显示的位置元素 |
+object |
+— |
+null |
+
+
+masker |
+masker层 |
+object |
+— |
+{offset: {}} |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新列表 |
+result, searchResult, keyword |
+
+
+setValue |
+设置value值 |
+value |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+adapter |
+搜索列表位置 |
+— |
+
+
+doSearch |
+开始搜索 |
+— |
+
+
+stopSearch |
+停止搜索 |
+— |
+
+
+isSearching |
+是否正在搜索 |
+— |
+
+
+isViewVisible |
+组件是否可见 |
+— |
+
+
+getView |
+获取搜索列表栏 |
+— |
+
+
+hasMatched |
+是否匹配 |
+— |
+
+
+adjustHeight |
+调整高度 |
+— |
+
+
+adjustView |
+调整搜索列表栏 |
+— |
+
+
+getKeyword |
+获取搜索关键词 |
+— |
+
+
+getKeywords |
+获取搜索关键词数组 |
+— |
+
+
+
+事件方法
+
+
+
+事件名称 |
+说明 |
+回调参数 |
+
+
+
+
+EVENT_START |
+开始搜索 |
+— |
+
+
+EVENT_STOP |
+停止搜索 |
+— |
+
+
+EVENT_PAUSE |
+暂停搜索 |
+— |
+
+
+EVENT_SEARCHING |
+搜索中 |
+— |
+
+
+EVENT_AFTER_INIT |
+初始化之后 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.Searcher.EVENT_CHANGE |
+搜索结果面板发生改变触发 |
+
+
+BI.Searcher.EVENT_START |
+开始搜索触发 |
+
+
+BI.Searcher.EVENT_STOP |
+停止搜索触发(搜索框为空) |
+
+
+BI.Searcher.EVENT_PAUSE |
+搜索暂停触发(搜索文本以空白字符结尾) |
+
+
+BI.Searcher.EVENT_SEARCHING |
+正在搜索时触发 |
+
+
+BI.Searcher.EVENT_AFTER_INIT |
+搜索结果面板初始化完成后触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/switcher.html b/uidoc/_book/core/combination/switcher.html
new file mode 100644
index 0000000000..b3356fa827
--- /dev/null
+++ b/uidoc/_book/core/combination/switcher.html
@@ -0,0 +1,2726 @@
+
+
+
+
+
+
+ switcher · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.switcher
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.switcher",
+ el: {
+ type: "bi.button",
+ height: 25,
+ text: "Switcher"
+ },
+ popup: {
+
+ },
+ adapter: {
+
+ }
+})
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+trigger |
+下拉列表的弹出方式 |
+string |
+click,hover |
+"click" |
+
+
+toggle |
+切换状态 |
+boolean |
+true,false |
+true |
+
+
+direction |
+面板显示的位置 |
+string |
+— |
+BI.Direction.Top |
+
+
+el |
+自定义下拉框trigger |
+object |
+— |
+{ } |
+
+
+popup |
+弹出层 |
+object |
+— |
+{ } |
+
+
+adapter |
+弹出层的位置 |
+object |
+— |
+null |
+
+
+masker |
+masker层 |
+obejct |
+— |
+{ } |
+
+
+switcherClass |
+切换类 |
+string |
+— |
+"bi-switcher-popup" |
+
+
+hoverClass |
+hover类 |
+string |
+— |
+"bi-switcher-hover" |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+setValue |
+设置value值 |
+value |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+isViewVisible |
+弹窗层是否可见 |
+— |
+
+
+showView |
+显示弹出层 |
+— |
+
+
+hideView |
+隐藏弹出层 |
+— |
+
+
+getView |
+获取弹出层 |
+— |
+
+
+getAllLeaves |
+获取所有的叶子节点 |
+— |
+
+
+getNodeById |
+根据id获取节点 |
+id |
+
+
+getNodeByValue |
+根据value值获取节点 |
+value |
+
+
+isExpanded |
+节点是否展开 |
+— |
+
+
+setAdapter |
+设置弹出层显示的位置元素 |
+adapter |
+
+
+adjustView |
+调整弹出层显示的位置元素 |
+— |
+
+
+
+事件方法
+
+
+
+事件名称 |
+说明 |
+回调参数 |
+
+
+
+
+EVENT_EXPAND |
+面板展开 |
+— |
+
+
+EVENT_COLLAPSE |
+面板收起 |
+— |
+
+
+EVENT_TRIGGER_CHANGE |
+面板切换 |
+— |
+
+
+EVENT_AFTER_INIT |
+初始化之后 |
+— |
+
+
+EVENT_BEFORE_POPUPVIEW |
+面板显示之前 |
+— |
+
+
+EVENT_AFTER_POPUPVIEW |
+面板显示之后 |
+— |
+
+
+EVENT_BEFORE_HIDEVIEW |
+面板隐藏之前 |
+— |
+
+
+EVENT_AFTER_HIDEVIEW |
+面板隐藏之后 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/combination/tab.html b/uidoc/_book/core/combination/tab.html
new file mode 100644
index 0000000000..ab9dd0e784
--- /dev/null
+++ b/uidoc/_book/core/combination/tab.html
@@ -0,0 +1,2654 @@
+
+
+
+
+
+
+ tab · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.switcher
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.tab",
+ tab: {
+ type: "bi.button_group",
+ height: 30,
+ items: [{
+ text: "Tab1",
+ value: 1,
+ width: 50
+ }, {
+ text: "Tab2",
+ value: 2,
+ width: 50
+ }]
+ },
+ cardCreator: function(v) {
+ switch (v) {
+ case 1:
+ return BI.createWidget({
+ type: "bi.label",
+ cls: "bi-card",
+ text: "面板1"
+ })
+ case 2:
+ return BI.createWidget({
+ type: "bi.label",
+ cls: "bi-card",
+ text: "面板2"
+ })
+ }
+ }
+})
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+direction |
+控件位置 |
+string |
+top,bottom,left,right,custom |
+"bottom" |
+
+
+single |
+是否为单页 |
+boolean |
+true,false |
+false |
+
+
+defaultShowIndex |
+是否默认显示tab页 |
+boolean |
+true,false |
+false |
+
+
+tab |
+tab标签页 |
+object |
+— |
+{ } |
+
+
+logic |
+布局逻辑 |
+object |
+— |
+{dynamic:false} |
+
+
+cardCreator |
+面板构造器 |
+function |
+— |
+function (v) {return BI.createWidget();} |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+render |
+渲染组件 |
+— |
+
+
+mounted |
+挂载组件 |
+— |
+
+
+removeTab |
+移除tab面板页 |
+cardname |
+
+
+getTab |
+获取tab面板页 |
+v |
+
+
+setSelect |
+设置选中的index |
+v |
+
+
+getSelect |
+获取选中的index |
+— |
+
+
+getSelectedTab |
+获取选中的tab面板页 |
+— |
+
+
+populate |
+刷新列表 |
+items |
+
+
+setValue |
+设置value值 |
+value |
+
+
+getValue |
+获取被选中的值 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layer/layer_float_box.html b/uidoc/_book/core/layer/layer_float_box.html
new file mode 100644
index 0000000000..b17eafdb7c
--- /dev/null
+++ b/uidoc/_book/core/layer/layer_float_box.html
@@ -0,0 +1,2603 @@
+
+
+
+
+
+
+ float_box · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.float_box
+
+
+var id = BI.UUID();
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.text_button",
+ text: "点击弹出FloatBox",
+ width: 200,
+ height: 80,
+ handler: function() {
+ BI.Popovers.remove(id);
+ BI.Popovers.create(id, new BI.BarPopoverSection()).open(id);
+ }
+})
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+width |
+弹出层宽度 |
+number |
+— |
+600 |
+
+
+height |
+弹出层高度 |
+number |
+— |
+500 |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新列表 |
+sectionProvider |
+
+
+destroyed |
+销毁组件 |
+— |
+
+
+show |
+显示 |
+— |
+
+
+hide |
+隐藏 |
+— |
+
+
+open |
+打开弹出层 |
+— |
+
+
+close |
+关闭弹出层 |
+— |
+
+
+setZindex |
+设置z-index |
+z-index |
+
+
+
+事件方法
+
+
+
+事件名称 |
+说明 |
+回调参数 |
+
+
+
+
+EVENT_FLOAT_BOX_CLOSED |
+关闭弹出层 |
+— |
+
+
+EVENT_FLOAT_BOX_CLOSED |
+打开弹出层 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layer/layer_popup.html b/uidoc/_book/core/layer/layer_popup.html
new file mode 100644
index 0000000000..bcc5a7826e
--- /dev/null
+++ b/uidoc/_book/core/layer/layer_popup.html
@@ -0,0 +1,2699 @@
+
+
+
+
+
+
+ popup · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+BI.createWidget({
+ element: "#wrapper",
+ type: "bi.popup_view",
+ el: {
+ type: "bi.button_group",
+ items: [{
+ text: "aaa",
+ value: "aaa"
+ }, {
+ text: "bbb",
+ value: "bbb"
+ }],
+ layouts: [{
+ type: "bi.vertical"
+ }]
+ }
+})
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+maxWidth |
+弹出层最大宽度 |
+number/string |
+— |
+"auto" |
+
+
+minWidth |
+弹出层最小宽度 |
+number |
+— |
+100 |
+
+
+maxHeight |
+弹出层最大高度 |
+number/string |
+— |
+— |
+
+
+minHeight |
+弹出层最小高度 |
+number |
+— |
+25 |
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+direction |
+工具栏的方向 |
+const |
+参考button_group |
+BI.Direction.Top |
+
+
+stopEvent |
+是否停止mousedown、mouseup事件 |
+boolean |
+true,false |
+false |
+
+
+stopPropagation |
+是否停止mousedown、mouseup向上冒泡 |
+boolean |
+true,false |
+false |
+
+
+tabs |
+导航栏 |
+array |
+— |
+[] |
+
+
+logic |
+布局逻辑 |
+object |
+— |
+{dynamic:true} |
+
+
+tools |
+自定义工具栏 |
+boolean |
+true,false |
+false |
+
+
+buttons |
+toolbar栏 |
+array |
+— |
+[] |
+
+
+el |
+子组件 |
+object |
+— |
+{ type: "bi.button_group",items: [], chooseType: 0,behaviors: {},layouts: [{type: "bi.vertical"}]} |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新列表 |
+items |
+
+
+resetWidth |
+重置宽度 |
+width |
+
+
+resetHeight |
+重置高度 |
+height |
+
+
+setValue |
+设置value 值 |
+value |
+
+
+getValue |
+获取value值 |
+— |
+
+
+setZindex |
+设置z-index |
+z-index |
+
+
+getView |
+获取弹出层 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layer/layer_searcher.html b/uidoc/_book/core/layer/layer_searcher.html
new file mode 100644
index 0000000000..8bfd2e518e
--- /dev/null
+++ b/uidoc/_book/core/layer/layer_searcher.html
@@ -0,0 +1,2588 @@
+
+
+
+
+
+
+ searcher · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.searcher_view
+
+
+var searcher = BI.createWidget({
+ element: "#wrapper",
+ type: "bi.searcher_view",
+});
+searcher.populate([{
+ text: "aba",
+ value: "aba"
+},{
+ text: "acc",
+ value: "acc"
+}], [{
+ text: "a",
+ value: "a"
+}], "a");
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+tipText |
+title文本 |
+string |
+— |
+BI.i18nText("BI-No_Select") |
+
+
+chooseType |
+选择类型 |
+const |
+参考button_group |
+BI.Selection.Single |
+
+
+matcher |
+完全匹配的构造器 |
+object |
+— |
+{type: "bi.button_group",behaviors: { redmark: function () { return true;} },items: [], layouts: [{ type: "bi.vertical"}]} |
+
+
+searcher |
+搜索到的元素 |
+object |
+— |
+{type: "bi.button_group",behaviors: {redmark: function () {return true;}}, items: [], layouts: [{ type: "bi.vertical" }]} |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新列表 |
+searchResult, matchResult, keyword |
+
+
+setValue |
+设置value 值 |
+value |
+
+
+getValue |
+获取value值 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+hasMatched |
+是否有匹配的元素 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/border.html b/uidoc/_book/core/layout/border.html
new file mode 100644
index 0000000000..202874574e
--- /dev/null
+++ b/uidoc/_book/core/layout/border.html
@@ -0,0 +1,2547 @@
+
+
+
+
+
+
+ border · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.border
+上下的高度固定/左右的宽度固定,中间的高度/宽度自适应
+BI.createWidget({
+ type: 'bi.border',
+ element: "#wrapper",
+ items: {
+ north: {
+ el: {type: "bi.label"},
+ height: 30,
+ top: 20,
+ left: 20,
+ right: 20
+ },
+ south: {
+ el: {type: "bi.label"},
+ height: 50,
+ bottom: 20,
+ left: 20,
+ right: 20
+ },
+ west: {
+ el: {type: "bi.label"},
+ width: 200,
+ left: 20
+ },
+ east: {
+ el: {type: "bi.label"},
+ width: 300,
+ right: 20
+ },
+ center: {el: {type: "bi.label"}}
+ }
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+子控件对象 |
+object |
+north,east,west,south,center |
+[ ] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/center.html b/uidoc/_book/core/layout/center.html
new file mode 100644
index 0000000000..48271c37b3
--- /dev/null
+++ b/uidoc/_book/core/layout/center.html
@@ -0,0 +1,2569 @@
+
+
+
+
+
+
+ center · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.center
+水平和垂直方向都居中容器, 非自适应,用于宽度高度固定的面板
+
+BI.createWidget({
+ type: "bi.center",
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ text: "Center 1,这里虽然设置label的高度30,但是最终影响高度的是center布局",
+ cls: "layout-bg1",
+ whiteSpace: "normal"
+ },{
+ type: "bi.label",
+ text: "Center 2,为了演示label是占满整个的,用了一个whiteSpace:normal",
+ cls: "layout-bg2",
+ whiteSpace: "normal"
+ }],
+ hgap: 20,
+ vgap: 20
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/center_adapt.html b/uidoc/_book/core/layout/center_adapt.html
new file mode 100644
index 0000000000..15aec3fc9b
--- /dev/null
+++ b/uidoc/_book/core/layout/center_adapt.html
@@ -0,0 +1,2575 @@
+
+
+
+
+
+
+ center_adapt · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.center_adapt
+自适应左右垂直居中布局
+
+BI.createWidget({
+ type: "bi.center_adapt",
+ element: "#wrapper",
+ hgap: 10,
+ items: [{
+ type: "bi.label",
+ text: "Center Adapt 1",
+ cls: "layout-bg1",
+ height: 30
+ }, {
+ type: "bi.label",
+ text: "Center Adapt 2",
+ cls: "layout-bg2",
+ height: 30
+ }]
+})
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+columnSize |
+每列宽度所组成的数组 |
+array |
+— |
+[ ] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/float_center.html b/uidoc/_book/core/layout/float_center.html
new file mode 100644
index 0000000000..9653a92b74
--- /dev/null
+++ b/uidoc/_book/core/layout/float_center.html
@@ -0,0 +1,2570 @@
+
+
+
+
+
+
+ float_center · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.float_center
+浮动布局实现的居中容器
+
+BI.createWidget({
+ type: 'bi.float_center',
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ text: "floatCenter与center的不同在于,它可以控制最小宽度和最大宽度",
+ cls: "layout-bg1",
+ whiteSpace: "normal"
+ }, {
+ type: "bi.label",
+ text: "floatCenter与center的不同在于,它可以控制最小宽度和最大宽度",
+ cls: "layout-bg2",
+ whiteSpace: "normal"
+ }],
+ height: 300,
+ hgap: 20,
+ vgap: 20
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/flow.html b/uidoc/_book/core/layout/flow.html
new file mode 100644
index 0000000000..d44bddee0e
--- /dev/null
+++ b/uidoc/_book/core/layout/flow.html
@@ -0,0 +1,2598 @@
+
+
+
+
+
+
+ flow · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.flow
+靠左/右对齐的自由浮动布局
+
+BI.createWidget({
+ type: "bi.center_adapt",
+ element: "#wrapper",
+ items: [{
+ type: "bi.left",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "Left-1",
+ cls: "layout-bg1",
+ hgap: 20
+ }, {
+ type: "bi.label",
+ height: 30,
+ text: "Left-2",
+ cls: "layout-bg2",
+ hgap: 20
+ }],
+ hgap: 20,
+ vgap: 20
+ }, {
+ type: "bi.right",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "Right-1",
+ cls: "layout-bg3",
+ hgap: 20
+ }, {
+ type: "bi.label",
+ height: 30,
+ text: "Right-2",
+ cls: "layout-bg4",
+ hgap: 20
+ }],
+ hgap: 20,
+ vgap: 20
+ }]
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/grid.html b/uidoc/_book/core/layout/grid.html
new file mode 100644
index 0000000000..d2285fea76
--- /dev/null
+++ b/uidoc/_book/core/layout/grid.html
@@ -0,0 +1,2570 @@
+
+
+
+
+
+
+ grid · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.grid
+网格布局
+
+BI.createWidget({
+ type: 'bi.grid',
+ element: "#wrapper",
+ columns: 2,
+ rows: 2,
+ items: [{
+ column: 0,
+ row: 0,
+ el: {
+ type: "bi.label",
+ text: "column-0, row-0",
+ cls: "layout-bg1"
+ }
+ }, {
+ column: 1,
+ row: 0,
+ el: {
+ type: "bi.label",
+ text: "column-1, row-0",
+ cls: "layout-bg2"
+ }
+ } {
+ column: 0,
+ row: 1,
+ el: {
+ type: "bi.label",
+ text: "column-0, row-1",
+ cls: "layout-bg5"
+ }
+ }, {
+ column: 1,
+ row: 1,
+ el: {
+ type: "bi.label",
+ text: "column-1, row-1",
+ cls: "layout-bg6"
+ }
+ }]
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+columns |
+列数 |
+number |
+— |
+null |
+
+
+rows |
+行数 |
+number |
+— |
+null |
+
+
+items |
+子控件数组 |
+array |
+— |
+[] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/horizontal.html b/uidoc/_book/core/layout/horizontal.html
new file mode 100644
index 0000000000..efcbc812e3
--- /dev/null
+++ b/uidoc/_book/core/layout/horizontal.html
@@ -0,0 +1,2590 @@
+
+
+
+
+
+
+ horizontal · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.horizontal
+水平流式布局
+
+BI.createWidget({
+ type: 'bi.horizontal',
+ element: "#wrapper",
+ items: [{
+ type: "bi.text_button",
+ cls: "layout-bg1",
+ text: "这里设置了lgap,rgap,tgap,bgap",
+ height: 30,
+ width: 200
+ }, {
+ type: "bi.text_button",
+ cls: "layout-bg2",
+ text: "这里设置了lgap,rgap,tgap,bgap",
+ height: 30,
+ width: 200
+ }]
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+columnSize |
+每列宽度所组成的数组 |
+array |
+— |
+[ ] |
+
+
+verticalAlign |
+元素的垂直对齐方式 |
+string |
+参考相关css属性 |
+"middle" |
+
+
+scrollx |
+设置水平方向是否有滚动条 |
+boolean |
+true,false |
+true |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/horizontal_adapt.html b/uidoc/_book/core/layout/horizontal_adapt.html
new file mode 100644
index 0000000000..6e789b28b7
--- /dev/null
+++ b/uidoc/_book/core/layout/horizontal_adapt.html
@@ -0,0 +1,2584 @@
+
+
+
+
+
+
+ horizontal_adapt · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.horizontal_adapt
+自适应左右居中布局
+
+BI.createWidget({
+ type: "bi.horizontal_adapt",
+ element: "#wrapper",
+ vgap: 10,
+ items: [{
+ type: "bi.label",
+ text: "Horizontal Adapt左右自适应",
+ cls: "layout-bg1",
+ width: 300,
+ height: 30
+ }, {
+ type: "bi.label",
+ text: "Horizontal Adapt左右自适应",
+ cls: "layout-bg2",
+
+ height: 30
+ }]
+})
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+columnSize |
+每列宽度所组成的数组 |
+array |
+— |
+[ ] |
+
+
+verticalAlign |
+元素的垂直对齐方式 |
+const |
+参考相关css属性 |
+BI.VerticalAlign.Middle |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/horizontal_auto.html b/uidoc/_book/core/layout/horizontal_auto.html
new file mode 100644
index 0000000000..fd918b0c41
--- /dev/null
+++ b/uidoc/_book/core/layout/horizontal_auto.html
@@ -0,0 +1,2570 @@
+
+
+
+
+
+
+ horizontal_auto · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.horizontal_auto
+水平方向居中自适应容器
+
+BI.createWidget({
+ type: "bi.horizontal_auto",
+ element: "#wrapper",
+ vgap: 10,
+ items: [{
+ type: "bi.label",
+ text: "Horizontal Auto左右自适应",
+ cls: "layout-bg1",
+ width: 300,
+ height: 30
+ }, {
+ type: "bi.label",
+ text: "Horizontal Auto左右自适应",
+ cls: "layout-bg2",
+ width: 300,
+ height: 30
+ }]
+})
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/horizontal_float.html b/uidoc/_book/core/layout/horizontal_float.html
new file mode 100644
index 0000000000..f2fc033705
--- /dev/null
+++ b/uidoc/_book/core/layout/horizontal_float.html
@@ -0,0 +1,2571 @@
+
+
+
+
+
+
+ horizontal_float · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.horizontal_float
+浮动的水平居中布局
+
+BI.createWidget({
+ type: "bi.horizontal_float",
+ element: "#wrapper",
+ vgap: 10,
+ items: [{
+ type: "bi.label",
+ text: "Horizontal Float左右自适应",
+ cls: "layout-bg1",
+ width: 200,
+ height:30
+ }]
+})
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/htape.html b/uidoc/_book/core/layout/htape.html
new file mode 100644
index 0000000000..517fa528ef
--- /dev/null
+++ b/uidoc/_book/core/layout/htape.html
@@ -0,0 +1,2587 @@
+
+
+
+
+
+
+ htape · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.htape
+水平tape布局,两列定宽,一列自适应
+
+BI.createWidget({
+ type: "bi.htape",
+ element: "#wrapper",
+ items : [
+ {
+ width: 100,
+ el : {
+ type : 'bi.label',
+ text : '1',
+ cls: "layout-bg1"
+ }
+ }, {
+ width: 200,
+ el : {
+ type : 'bi.label',
+ text : '2',
+ cls: "layout-bg2"
+ }
+ }, {
+ width: 'fill',
+ el : {
+ type : 'bi.label',
+ text : '3',
+ cls: "layout-bg3"
+ }
+ }
+ ]
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[{width: 100,el: {type: 'bi.button', text: 'button1'}},{width: 'fill',el: {type: 'bi.button', text: 'button2'}},{width: 200,el: {type: 'bi.button', text: 'button3'}}] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/left_right_vertical_adapt.html b/uidoc/_book/core/layout/left_right_vertical_adapt.html
new file mode 100644
index 0000000000..21ef975b99
--- /dev/null
+++ b/uidoc/_book/core/layout/left_right_vertical_adapt.html
@@ -0,0 +1,2581 @@
+
+
+
+
+
+
+ left_right_vertical_adapt · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.left_right_vertical_adapt
+左右分离,垂直方向居中容器
+
+BI.createWidget({
+ type: 'bi.left_right_vertical_adapt',
+ element: "#wrapper",
+ lhgap: 10,
+ rhgap: 10,
+ items: {
+ left: [{
+ type: "bi.label",
+ text: "左边的垂直居中",
+ cls: "layout-bg1",
+ width: 100,
+ height: 30
+ }],
+ right: [{
+ type: "bi.label",
+ text: "右边的垂直居中",
+ cls: "layout-bg1",
+ width: 100,
+ height: 30
+ }]
+ }
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+lhgap |
+左边容器左右padding值 |
+number |
+— |
+0 |
+
+
+lrgap |
+左边容器right-padding值 |
+number |
+— |
+0 |
+
+
+llgap |
+左边容器left-padding值 |
+number |
+— |
+0 |
+
+
+rhgap |
+右边容器左右padding值 |
+number |
+— |
+0 |
+
+
+rrgap |
+右边容器right-padding值 |
+number |
+— |
+0 |
+
+
+rhgap |
+右边容器left-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/table.html b/uidoc/_book/core/layout/table.html
new file mode 100644
index 0000000000..809ecb3df2
--- /dev/null
+++ b/uidoc/_book/core/layout/table.html
@@ -0,0 +1,2572 @@
+
+
+
+
+
+
+ table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.table
+
+BI.createWidget({
+ element: "body",
+ type: "bi.table",
+ items: [],
+ columnSize: [100, "fill", 200],
+ rowSize: [10, 30, 50, 70, 90, 110, 130],
+ hgap: 20,
+ vgap: 10
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+scrolly |
+是否出现滚动条 |
+boolean |
+true |
+
+
+columnSize |
+列项宽度 |
+array/number |
+[200, 200, 'fill'] |
+
+
+rowSize |
+行高 |
+array/number |
+30 |
+
+
+hgap |
+内部元素间纵向距离 |
+number |
+0 |
+
+
+vgap |
+内部元素间横向距离 |
+number |
+0 |
+
+
+items |
+子项 |
+array |
+[{width: 100,el: {type: 'bi.button', text: 'button1'}},{width: 'fill',el: {type: 'bi.button', text: 'button2'}},{width: 200,el: {type: 'bi.button', text: 'button3'}}] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+用法 |
+
+
+
+
+addItem |
+增加内容 |
+addItem(arr) |
+
+
+populate |
+更换新的内容 |
+poplulate(items) |
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/td.html b/uidoc/_book/core/layout/td.html
new file mode 100644
index 0000000000..6a3681799e
--- /dev/null
+++ b/uidoc/_book/core/layout/td.html
@@ -0,0 +1,2557 @@
+
+
+
+
+
+
+ td · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.td
+单元格控件,继承BI.Layout
+BI.createWidget({
+ type: "bi.td",
+ element: 'body',
+ columnSize: [20, 20, 'fill'],
+ items: []
+});
+
+
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+columnSize |
+列宽 |
+array |
+[200, 200, 200] |
+
+
+hgap |
+纵向间隙 |
+number |
+0 |
+
+
+vgap |
+横向间隙 |
+number |
+0 |
+
+
+items |
+内容项 |
+array |
+[[{el: {text: 'label1'}},{ el: {text: 'label2'},{ el: {text: 'label3'} |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+用法 |
+
+
+
+
+addItem |
+增加内容 |
+addItem(arr) |
+
+
+populate |
+更换新的内容 |
+poplulate(items) |
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/vertical.html b/uidoc/_book/core/layout/vertical.html
new file mode 100644
index 0000000000..724e9459ef
--- /dev/null
+++ b/uidoc/_book/core/layout/vertical.html
@@ -0,0 +1,2572 @@
+
+
+
+
+
+
+ vertical · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.vertical
+垂直流式布局
+
+BI.createWidget({
+ type: 'demo.vertical',
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ cls: "layout-bg1",
+ text: "这里设置了hgap(水平间距),vgap(垂直间距)",
+ height: 30
+ }, {
+ type: "bi.label",
+ cls: "layout-bg2",
+ text: "这里设置了hgap(水平间距),vgap(垂直间距)",
+ height: 30
+ }]
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+scrolly |
+设置垂直方向是否有滚动条 |
+boolean |
+true,false |
+true |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/vertical_adapt.html b/uidoc/_book/core/layout/vertical_adapt.html
new file mode 100644
index 0000000000..7cfd86008b
--- /dev/null
+++ b/uidoc/_book/core/layout/vertical_adapt.html
@@ -0,0 +1,2577 @@
+
+
+
+
+
+
+ vertical_adapt · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.vertical_adapt
+自适应垂直居中布局
+
+BI.createWidget({
+ type: "bi.vertical_adapt",
+ element: "#wrapper",
+ vgap: 10,
+ items: [{
+ type: "bi.label",
+ text: "Vertical Adapt上下自适应",
+ cls: "layout-bg1",
+ width: 300,
+ height: 30
+ }, {
+ type: "bi.label",
+ text: "Vertical Adapt上下自适应",
+ cls: "layout-bg2",
+ width: 300,
+ height: 30
+ }]
+})
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+columnSize |
+每列宽度所组成的数组 |
+array |
+— |
+[ ] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/layout/vtape.html b/uidoc/_book/core/layout/vtape.html
new file mode 100644
index 0000000000..0e6dfe4e49
--- /dev/null
+++ b/uidoc/_book/core/layout/vtape.html
@@ -0,0 +1,2587 @@
+
+
+
+
+
+
+ vtape · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.vtape
+垂直tape布局,两列定高,一列自适应
+
+BI.createWidget({
+ type: "bi.vtape",
+ element: "#wrapper",
+ items : [
+ {
+ height: 100,
+ el : {
+ type : 'bi.label',
+ text : '1',
+ cls: "layout-bg1"
+ }
+ }, {
+ height: 200,
+ el : {
+ type : 'bi.label',
+ text : '2',
+ cls: "layout-bg2"
+ }
+ }, {
+ height: 'fill',
+ el : {
+ type : 'bi.label',
+ text : '3',
+ cls: "layout-bg3"
+ }
+ }
+ ]
+});
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于容器左右padding值 |
+number |
+— |
+0 |
+
+
+vgap |
+效果相当于容器上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于容器left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于容器right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于容器top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于容器bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+{height: 100,el: {type: 'bi.button', text: 'button1'}},{height: 'fill',el: {type: 'bi.button', text: 'button2'}},{height: 200,el: {type: 'bi.button', text: 'button3'}} |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/node_button.html b/uidoc/_book/core/node_button.html
new file mode 100644
index 0000000000..5e07182e87
--- /dev/null
+++ b/uidoc/_book/core/node_button.html
@@ -0,0 +1,2553 @@
+
+
+
+
+
+
+ node_button · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+open |
+节点是否展开 |
+boolean |
+true,false |
+false |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+doClick |
+点击展开 |
+— |
+
+
+isOnce |
+点击一次后失效 |
+— |
+
+
+isOpened |
+判断节点是否展开 |
+— |
+
+
+setOpened |
+设置节点展开状态 |
+b |
+
+
+triggerCollapse |
+节点收起 |
+— |
+
+
+triggerExpand |
+节点展开 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/pane.html b/uidoc/_book/core/pane.html
new file mode 100644
index 0000000000..4b65c4fcbe
--- /dev/null
+++ b/uidoc/_book/core/pane.html
@@ -0,0 +1,2572 @@
+
+
+
+
+
+
+ pane · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.pane
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+tipText |
+title文本 |
+string |
+— |
+BI.i18nText("BI-No_Selected_Item") |
+
+
+overlap |
+是否含有遮罩层 |
+boolean |
+true,false |
+true |
+
+
+onLoaded |
+已经加载 |
+function |
+— |
+— |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新列表 |
+items |
+
+
+empty |
+清空组件 |
+— |
+
+
+hasMatched |
+是否有匹配的元素 |
+— |
+
+
+loading |
+加载中 |
+— |
+
+
+loaded |
+加载完毕 |
+— |
+
+
+check |
+检查是否为空 |
+— |
+
+
+setTipVisible |
+设tip可见 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/single.html b/uidoc/_book/core/single.html
new file mode 100644
index 0000000000..f80f7d5ca1
--- /dev/null
+++ b/uidoc/_book/core/single.html
@@ -0,0 +1,2606 @@
+
+
+
+
+
+
+ single · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.single
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+readonly |
+是否只读 |
+boolean |
+true,false |
+false |
+
+
+title |
+title |
+string |
+— |
+null |
+
+
+warningTitle |
+错误title |
+string |
+— |
+null |
+
+
+tipType |
+title类型 |
+string |
+success,warning |
+null |
+
+
+value |
+组件value值 |
+string |
+— |
+null |
+
+
+
+对外方法
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+enableHover |
+恢复hover可用 |
+opt |
+
+
+disabledHover |
+取消hover事件 |
+— |
+
+
+populate |
+刷新或者清空列表 |
+items |
+
+
+setTitle |
+设置title |
+title,opt |
+
+
+setWarningTitle |
+设置错误title |
+title,opt |
+
+
+getTipType |
+获取tipType |
+— |
+
+
+isReadOnly |
+是否只读 |
+— |
+
+
+getTitle |
+获取title |
+— |
+
+
+getWarningTitle |
+获取warningtitle |
+— |
+
+
+setValue |
+设置value值 |
+value |
+
+
+getValue |
+获取value值 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/core/widget.html b/uidoc/_book/core/widget.html
new file mode 100644
index 0000000000..b948e114f4
--- /dev/null
+++ b/uidoc/_book/core/widget.html
@@ -0,0 +1,2805 @@
+
+
+
+
+
+
+ widget · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+所有控件的超类
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+root |
+根组件 |
+boolean |
+true,false |
+false |
+
+
+tagName |
+html标签 |
+string |
+— |
+"div" |
+
+
+attributes |
+属性 |
+object |
+— |
+null |
+
+
+data |
+数据 |
+object |
+— |
+null |
+
+
+disabled |
+是否可用 |
+boolean |
+true,false |
+false |
+
+
+invisible |
+是否可见 |
+boolean |
+true,false |
+false |
+
+
+invalid |
+是否有效 |
+boolean |
+true,false |
+false |
+
+
+baseCls |
+基础class类 |
+string |
+— |
+" " |
+
+
+extraCls |
+扩展class类 |
+string |
+— |
+" " |
+
+
+cls |
+class类名 |
+string |
+— |
+" " |
+
+
+
+生命周期函数
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+beforeCreate |
+组件实例刚被创建 |
+— |
+
+
+created |
+组件实例创建完成 |
+— |
+
+
+render |
+渲染组件 |
+— |
+
+
+beforeMounted |
+组件挂载之前 |
+— |
+
+
+mounted |
+组件挂载 |
+— |
+
+
+update |
+组件更新 |
+— |
+
+
+beforeDestroyed |
+组件销毁前调用 |
+— |
+
+
+destroyed |
+组件销毁后调用 |
+— |
+
+
+
+对外方法
+
+,一些需要在设置状态后做的额外工作可以通过重写_setXXX来实现)
+
+
+
+名称 |
+说明 |
+回调参数 |
+
+
+
+
+isMounted |
+判断组件是否挂载 |
+— |
+
+
+setWidth |
+设置组件宽度 |
+width |
+
+
+setHeight |
+设置组件高度 |
+height |
+
+
+setEnable |
+设置组件是否可用 |
+enable |
+
+
+setVisible |
+设置组件是否可见 |
+visible |
+
+
+setValid |
+设置组件是否有效 |
+valid |
+
+
+doBehavior |
+自定义下拉列表中item项的行为,如高亮,标红等 |
+— |
+
+
+getWidth |
+获取组件宽度 |
+— |
+
+
+getHeight |
+获取组件高度 |
+— |
+
+
+isValid |
+判断是否有效 |
+— |
+
+
+addWidget |
+添加组件 |
+name,widget |
+
+
+getWidgetByName |
+根据组件名称获取组件 |
+name |
+
+
+removeWidget |
+移除组件 |
+nameOrWidget |
+
+
+hasWidget |
+判断是否有该组件 |
+name |
+
+
+getName |
+获取组件名称 |
+— |
+
+
+setTag |
+设置tag |
+tag |
+
+
+getTag |
+获取tag |
+— |
+
+
+attr |
+设置组件属性 |
+key,value |
+
+
+getText |
+获取text值 |
+— |
+
+
+setText |
+设置text值 |
+text |
+
+
+getValue |
+获取value值 |
+— |
+
+
+setValue |
+设置value值 |
+value |
+
+
+isEnabled |
+是否可用 |
+— |
+
+
+isVisible |
+是否可见 |
+— |
+
+
+disable |
+设置组件不可用 |
+— |
+
+
+enable |
+设置组件可用 |
+— |
+
+
+valid |
+设置组件有效 |
+— |
+
+
+invalid |
+设置组件无效 |
+— |
+
+
+invisible |
+设置组件不可见 |
+— |
+
+
+visible |
+设置组件可见 |
+— |
+
+
+isolate |
+组件不在页面展示,组件事件和内容都在 |
+— |
+
+
+empty |
+清空组件 |
+— |
+
+
+destroy |
+销毁组件 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/bi.button/general.html b/uidoc/_book/detailed/bi.button/general.html
new file mode 100644
index 0000000000..ea3dda5dd3
--- /dev/null
+++ b/uidoc/_book/detailed/bi.button/general.html
@@ -0,0 +1,2486 @@
+
+
+
+
+
+
+ 通用按钮 · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/bi.button/items.html b/uidoc/_book/detailed/bi.button/items.html
new file mode 100644
index 0000000000..f11b0ee726
--- /dev/null
+++ b/uidoc/_book/detailed/bi.button/items.html
@@ -0,0 +1,2590 @@
+
+
+
+
+
+
+ 各种items · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 各种items
+
+BI.createWidget({
+ type: 'bi.vertical',
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "单选item"
+ }, {
+ type: "bi.single_select_item",
+ text: "单选项"
+ }, {
+ type: "bi.label",
+ height: 30,
+ text: "复选item"
+ }, {
+ type: "bi.multi_select_item",
+ text: "复选项"
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 |
+number |
+— |
+10 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+width |
+宽度 |
+number |
+— |
+— |
+
+
+height |
+高度 |
+number |
+— |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/bi.button/node.html b/uidoc/_book/detailed/bi.button/node.html
new file mode 100644
index 0000000000..365f8dbc26
--- /dev/null
+++ b/uidoc/_book/detailed/bi.button/node.html
@@ -0,0 +1,2597 @@
+
+
+
+
+
+
+ 各种节点nodes · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 各种节点nodes
+
+BI.createWidget({
+ type: 'bi.vertical',
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "十字形的节点"
+ }, {
+ type: "bi.plus_group_node",
+ text: "十字形的节点"
+ }, {
+ type: "bi.label",
+ height: 30,
+ text: "三角形的节点"
+ }, {
+ type: "bi.triangle_group_node",
+ text: "三角形的节点"
+ }, {
+ type: "bi.label",
+ height: 30,
+ text: "箭头节点"
+ }, {
+ type: "bi.arrow_group_node",
+ text: "箭头节点"
+ }]
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值,如果clear属性为true,该属性值置0 |
+number |
+— |
+10 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+width |
+宽度 |
+number |
+— |
+— |
+
+
+height |
+高度 |
+number |
+— |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/bi.button/segment.html b/uidoc/_book/detailed/bi.button/segment.html
new file mode 100644
index 0000000000..0f0d700db9
--- /dev/null
+++ b/uidoc/_book/detailed/bi.button/segment.html
@@ -0,0 +1,2595 @@
+
+
+
+
+
+
+ 各种segment · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.sgement
+各种segment
+
+BI.createWidget({
+ type: "bi.vertical",
+ element: "#wrapper",
+ items: [{
+ type: "bi.label",
+ height: 30,
+ text: "默认风格"
+ }, {
+ type: "bi.segment",
+ items: [{
+ text: "tab1",
+ value: 1,
+ selected: true
+ }, {
+ text: "tab2",
+ value: 2
+ }, {
+ text: "tab3 disabled",
+ disabled: true,
+ value: 3
+ }]
+ }],
+ hgap: 50,
+ vgap: 20
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+10 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+width |
+宽度 |
+number |
+— |
+— |
+
+
+height |
+高度 |
+number |
+— |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/bi.button/tooltip.html b/uidoc/_book/detailed/bi.button/tooltip.html
new file mode 100644
index 0000000000..5d3cb7e439
--- /dev/null
+++ b/uidoc/_book/detailed/bi.button/tooltip.html
@@ -0,0 +1,2585 @@
+
+
+
+
+
+
+ 提示性信息 · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提示性信息
+var toast = BI.createWidget({
+ type: "bi.vertical",
+ element: "#wrapper",
+ items: [{
+ el: {
+ type: 'bi.button',
+ text: '简单Toast测试',
+ height: 30,
+ handler: function () {
+ BI.Msg.toast("这是一条简单的数据");
+ }
+ }
+ }],
+ vgap: 20
+});
+
+
+
+API
+基础属性
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+10 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+0 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+items |
+子控件数组 |
+array |
+— |
+[ ] |
+
+
+width |
+宽度 |
+number |
+— |
+— |
+
+
+height |
+高度 |
+number |
+— |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/combo/multilayer_select_tree_combo.html b/uidoc/_book/detailed/combo/multilayer_select_tree_combo.html
new file mode 100644
index 0000000000..a7599a7eb7
--- /dev/null
+++ b/uidoc/_book/detailed/combo/multilayer_select_tree_combo.html
@@ -0,0 +1,2558 @@
+
+
+
+
+
+
+ multilayer_select_tree_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.multilayer_select_tree_combo
+多层级下拉可选节点树
+var tree = BI.createWidget({
+ type: "bi.multilayer_select_tree_combo",
+ element: 'body',
+ items: [],
+ text: "默认值",
+ width: 300,
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+30 |
+
+
+text |
+文本框值 |
+string |
+'' |
+
+
+items |
+元素 |
+array |
+null |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新内容 |
+items: 子项数组 |
+
+
+setValue |
+设置值 |
+setValue |
+
+
+getValue |
+获取值 |
+getValue |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/combo/multilayer_single_tree_combo.html b/uidoc/_book/detailed/combo/multilayer_single_tree_combo.html
new file mode 100644
index 0000000000..0d3f84de7d
--- /dev/null
+++ b/uidoc/_book/detailed/combo/multilayer_single_tree_combo.html
@@ -0,0 +1,2566 @@
+
+
+
+
+
+
+ multilayer_single_tree_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.multilayer_single_tree_combo
+多层级下拉单选树
+var tree = BI.createWidget({
+ type: "bi.multilayer_single_tree_combo",
+ element: 'body',
+ items: [],
+ text: "默认值",
+ width: 300,
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+30 |
+
+
+text |
+文本框值 |
+string |
+'' |
+
+
+itemsCreator |
+元素创造器 |
+function |
+BI.emptyFn |
+
+
+items |
+元素 |
+array |
+null |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新内容 |
+items: 子项数组 |
+
+
+setValue |
+设置值 |
+setValue |
+
+
+getValue |
+获取值 |
+getValue |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/combo/select_tree_combo.html b/uidoc/_book/detailed/combo/select_tree_combo.html
new file mode 100644
index 0000000000..c5fa6db964
--- /dev/null
+++ b/uidoc/_book/detailed/combo/select_tree_combo.html
@@ -0,0 +1,2560 @@
+
+
+
+
+
+
+ select_tree_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.select_tree_combo
+二级可选节点下拉框树
+var tree = BI.createWidget({
+ type: "bi.select_tree_combo",
+ element: 'body',
+ items: [],
+ text: "默认值",
+ width: 300,
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+height |
+高度 |
+number |
+30 |
+
+
+text |
+文本框值 |
+string |
+'' |
+
+
+items |
+元素 |
+array |
+null |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+回调参数 |
+
+
+
+
+populate |
+刷新内容 |
+items: 子项数组 |
+
+
+setValue |
+设置值 |
+setValue |
+
+
+getValue |
+获取值 |
+getValue |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/combo/single_tree_combo.html b/uidoc/_book/detailed/combo/single_tree_combo.html
new file mode 100644
index 0000000000..3cab74ff30
--- /dev/null
+++ b/uidoc/_book/detailed/combo/single_tree_combo.html
@@ -0,0 +1,2580 @@
+
+
+
+
+
+
+ single_tree_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.single_tree_combo
+二级树下拉框
+var tree = BI.createWidget({
+ type: "bi.single_tree_combo",
+ element: 'body',
+ items: [],
+ text: "默认值",
+ width: 300,
+});
+
+
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+trigger |
+下拉列表的弹出方式 |
+object |
+{} |
+
+
+height |
+高度 |
+number |
+30 |
+
+
+text |
+文本框值 |
+string |
+'' |
+
+
+items |
+元素 |
+array |
+null |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+populate |
+刷新内容 |
+items: 子项数组 |
+
+
+setValue |
+设置值 |
+setValue |
+
+
+getValue |
+获取值 |
+getValue |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.SingleTreeCombo.EVENT_BEFORE_POPUPVIEW |
+下拉框弹出前触发 |
+
+
+
+其他事件详见Input
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/date/custom_date_time.html b/uidoc/_book/detailed/date/custom_date_time.html
new file mode 100644
index 0000000000..b3943441c9
--- /dev/null
+++ b/uidoc/_book/detailed/date/custom_date_time.html
@@ -0,0 +1,2531 @@
+
+
+
+
+
+
+ custom_date_time · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ custom_date_time
+日期选择下拉框(可以选择时分秒)
+BI.createWidget({
+ type: "bi.custom_date_time_combo",
+ element: "#wrapper",
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+ |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.CustomDateTimeCombo.EVENT_CANCEL |
+点击取消触发 |
+
+
+BI.CustomDateTimeCombo.EVENT_CONFIRM |
+点击确认触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/date/date_combo.html b/uidoc/_book/detailed/date/date_combo.html
new file mode 100644
index 0000000000..c11eea6ae5
--- /dev/null
+++ b/uidoc/_book/detailed/date/date_combo.html
@@ -0,0 +1,2513 @@
+
+
+
+
+
+
+ date_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ date_combo
+日期选择下拉框(弹出的年月选择可以进一步选择日期)
+BI.createWidget({
+ type: "bi.date_combo",
+ element: "#wrapper",
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/date/date_pane_widget.html b/uidoc/_book/detailed/date/date_pane_widget.html
new file mode 100644
index 0000000000..25dee31644
--- /dev/null
+++ b/uidoc/_book/detailed/date/date_pane_widget.html
@@ -0,0 +1,2533 @@
+
+
+
+
+
+
+ date_pane_widget · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+日期选择下拉框的弹出面板
+BI.createWidget({
+ type: "bi.date_pane_widget",
+ element: "#wrapper",
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+min |
+限定可选日期的下限 |
+string |
+ |
+'1900-01-01' |
+
+
+max |
+限定可选日期的上限 |
+string |
+ |
+'2099-12-31' |
+
+
+selectedTime |
+选中的初始年月 |
+obj({year: y, month: m}) |
+— |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/date/year_month_combo.html b/uidoc/_book/detailed/date/year_month_combo.html
new file mode 100644
index 0000000000..67bd2cd0ea
--- /dev/null
+++ b/uidoc/_book/detailed/date/year_month_combo.html
@@ -0,0 +1,2544 @@
+
+
+
+
+
+
+ year_month_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ year_month_combo
+年月选择下拉框
+BI.createWidget({
+ type: "bi.year_month_combo",
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+yearBehaviors |
+自定义年份选择的行为(详见button_group) |
+object |
+— |
+{ } |
+
+
+monthBehaviors |
+自定义年份选择的行为(详见button_group) |
+object |
+— |
+{ } |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.YearMonthCombo.EVENT_BEFORE_POPUPVIEW |
+弹出框弹出前触发 |
+
+
+BI.YearMonthCombo.EVENT_CONFIRM |
+点击确认触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/date/year_quarter_combo.html b/uidoc/_book/detailed/date/year_quarter_combo.html
new file mode 100644
index 0000000000..312abcaced
--- /dev/null
+++ b/uidoc/_book/detailed/date/year_quarter_combo.html
@@ -0,0 +1,2544 @@
+
+
+
+
+
+
+ year_quarter_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ year_quarter_combo
+年季度选择下拉框
+BI.createWidget({
+ type: "bi.year_quarter_combo",
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+yearBehaviors |
+自定义年份选择的行为(详见button_group) |
+object |
+ |
+ |
+
+
+monthBehaviors |
+自定义年份选择的行为(详见button_group) |
+object |
+— |
+{ } |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.YearQuarterCombo.EVENT_BEFORE_POPUPVIEW |
+弹出框弹出前触发 |
+
+
+BI.YearQuarterCombo.EVENT_CONFIRM |
+点击确认触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/dialog.html b/uidoc/_book/detailed/dialog.html
new file mode 100644
index 0000000000..b293ed3323
--- /dev/null
+++ b/uidoc/_book/detailed/dialog.html
@@ -0,0 +1,2522 @@
+
+
+
+
+
+
+ dialog · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dialog
+对话框
+BI.Msg.alert(title, content)
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+title |
+对话框标题 |
+string |
+— |
+" " |
+
+
+content |
+对话框内容 |
+string |
+— |
+" " |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/down_list_combo.html b/uidoc/_book/detailed/down_list_combo.html
new file mode 100644
index 0000000000..89cb7ed086
--- /dev/null
+++ b/uidoc/_book/detailed/down_list_combo.html
@@ -0,0 +1,2604 @@
+
+
+
+
+
+
+ down_list_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ down_list_combo
+多层下拉列表的下拉框
+BI.createWidget({
+ type: 'bi.down_list_combo',
+ element: '#wrapper',
+ width: 300,
+ items: [
+ [{
+ el: {
+ text: "column 1111",
+ iconCls1: "check-mark-e-font",
+ value: 11
+ },
+ children: [{
+ text: "column 1.1",
+ value: 21,
+ cls: "dot-e-font",
+ selected: true
+ }, {
+ text: "column 1.222222222222222222222222222222222222",
+ cls: "dot-e-font",
+ value: 22,
+ }]
+ }],
+ [{
+ el: {
+ type: "bi.icon_text_icon_item",
+ text: "column 2",
+ iconCls1: "chart-type-e-font",
+ cls: "dot-e-font",
+ value: 12
+ },
+ disabled: true,
+ children: [{
+ type: "bi.icon_text_item",
+ cls: "dot-e-font",
+ height: 25,
+ text: "column 2.1",
+ value: 11
+ }, {
+ text: "column 2.2",
+ value: 12,
+ cls: "dot-e-font"
+ }]
+ }]
+ ]
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+el |
+自定义下拉框trigger |
+object |
+ |
+ |
+
+
+trigger |
+下拉列表的弹出方式 |
+string |
+click, hover |
+click |
+
+
+direction |
+弹出列表和trigger的位置关系 |
+string |
+top | bottom | left | right | top,left | top,right | bottom,left | bottom,right |
+bottom |
+
+
+adjustLength |
+弹出列表和trigger的距离 |
+number |
+ |
+0 |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.DownListCombo.EVENT_CHANGE |
+点击一级节点触发 |
+
+
+BI.DownListCombo.EVENT_SON_VALUE_CHANGE |
+点击二级节点触发 |
+
+
+BI.DownListCombo.EVENT_BEFORE_POPUPVIEW |
+下拉列表弹出前触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/file_manager.html b/uidoc/_book/detailed/file_manager.html
new file mode 100644
index 0000000000..ac075f1c1f
--- /dev/null
+++ b/uidoc/_book/detailed/file_manager.html
@@ -0,0 +1,2532 @@
+
+
+
+
+
+
+ file_manager · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ file_manager
+文件管理器
+BI.createWidget({
+ type: "bi.file_manager",
+ items: [{
+ id: "1",
+ value: "1",
+ text: "根目录"
+ }, {
+ id: "11",
+ pId: "1",
+ value: "11",
+ text: "第一级子目录1"
+ }, {
+ id: "12",
+ pId: "1",
+ value: "12",
+ text: "第一级子目录2"
+ }]
+})
+
+
+
+
+
+方法
+
+
+
+方法 |
+说明 |
+
+
+
+
+getSelectedValue() |
+获取当前选中项的value值 |
+
+
+getSelectedId |
+获取当前选中项的id属性 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/month_combo.html b/uidoc/_book/detailed/month_combo.html
new file mode 100644
index 0000000000..5c4c180dd2
--- /dev/null
+++ b/uidoc/_book/detailed/month_combo.html
@@ -0,0 +1,2538 @@
+
+
+
+
+
+
+ month_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ month_combo
+月份选择下拉框
+BI.createWidget({
+ type: 'bi.month_combo',
+ element: '#wrapper',
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+behaviors |
+自定义下拉列表中item项的行为,如高亮,标红等(详见button_group) |
+object |
+ |
+{} |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.MonthCombo.EVENT_CONFIRM |
+选中日期或者退出编辑状态触发 |
+
+
+BI.MonthCombo.EVENT_BEFORE_POPUPVIEW |
+选中日期或者退出编辑状态触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/multi_select_combo.html b/uidoc/_book/detailed/multi_select_combo.html
new file mode 100644
index 0000000000..124623a518
--- /dev/null
+++ b/uidoc/_book/detailed/multi_select_combo.html
@@ -0,0 +1,2517 @@
+
+
+
+
+
+
+ multi_select_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ multi_select_combo
+带确定的复选下拉框
+BI.createWidget({
+ type: "bi.multi_select_combo",
+ element: '#wrapper',
+ width: 500,
+ itemsCreator: function(){
+ return {
+ items: [],
+ hasNext: false
+ }
+ }
+});
+
+
+
+
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.MultiSelectCombo.EVENT_CONFIRM |
+点击确定触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/numeric_interval.html b/uidoc/_book/detailed/numeric_interval.html
new file mode 100644
index 0000000000..f26c178135
--- /dev/null
+++ b/uidoc/_book/detailed/numeric_interval.html
@@ -0,0 +1,2601 @@
+
+
+
+
+
+
+ numeric_interval · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ numeric_interval
+数值区间控件
+BI.createWidget({
+ type: "bi.numerical_interval",
+ element: '#wrapper',
+ width: 500
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+min |
+最小值初始值 |
+number |
+ |
+无 |
+
+
+max |
+最大值初始值 |
+number |
+ |
+无 |
+
+
+closeMin |
+左区间初始状态 |
+boolean |
+ |
+true |
+
+
+closeMax |
+右区间初始状态 |
+boolean |
+ |
+true |
+
+
+
+方法
+
+
+
+方法 |
+说明 |
+用法 |
+
+
+
+
+isStateValid() |
+当前状态是否有效(输入是否合法, 区间是否成立) |
+ |
+
+
+setMinEnable(boolean) |
+设置左区间输入框disable状态 |
+ |
+
+
+setCloseMinEnable(boolean) |
+设置左区间开闭combo的disable状态 |
+ |
+
+
+setMaxEnable(boolean) |
+设置右区间输入框disable状态 |
+ |
+
+
+setCloseMaxEnable(boolean) |
+设置右区间开闭combo的disable状态 |
+ |
+
+
+setNumTip(string) |
+设置数值区间的tip提示 |
+— |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.NumericalInterval.EVENT_VALID |
+区间合法的状态事件 |
+
+
+BI.NumericalInterval.EVENT_ERROR |
+区间不合法的状态事件 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/path/direction_path_chooser.html b/uidoc/_book/detailed/path/direction_path_chooser.html
new file mode 100644
index 0000000000..4c034aaed9
--- /dev/null
+++ b/uidoc/_book/detailed/path/direction_path_chooser.html
@@ -0,0 +1,2533 @@
+
+
+
+
+
+
+ direction_path_chooser · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ direction_path_chooser
+带方向的路径选择
+BI.createWidget({
+ type: "bi.direction_path_chooser",
+ element: "#wrapper",
+ items: [[{
+ "region": "合同信息",
+ "text": "客户ID",
+ "value": "defa1f7ba8b2684a客户ID"
+ }, {
+ "region": "客户信息",
+ "text": "主键",
+ "value": "1f4711c201ef1842",
+ "direction": -1
+ }, {
+ "region": "合同的回款信息",
+ "text": "合同ID",
+ "value": "e351e9f1d8147947合同ID",
+ "direction": -1
+ }]]
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+二维数组,每个元素代表一条路径,相较于path_chooser多一个属性direction来指定方向 |
+array |
+— |
+[ ] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/path/path_chooser.html b/uidoc/_book/detailed/path/path_chooser.html
new file mode 100644
index 0000000000..c53eb3ecc7
--- /dev/null
+++ b/uidoc/_book/detailed/path/path_chooser.html
@@ -0,0 +1,2532 @@
+
+
+
+
+
+
+ path_chooser · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ path_chooser
+路径选择
+BI.createWidget({
+ type: "bi.path_chooser",
+ element: "#wrapper",
+ items: [[{
+ "region": "8c4460bc3605685e",
+ "regionText": "采购订单XXX",
+ "text": "ID",
+ "value": "1"
+ }, {
+ "region": "0fbd0dc648f41e97",
+ "regionText": "采购订单",
+ "text": "学号",
+ "value": "3"
+ }, {
+ "region": "c6d72d6c7e19a667",
+ "regionText": "供应商基本信息",
+ "text": "ID",
+ "value": "5"
+ }]]
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+items |
+二维数组,每个元素代表一条路径 |
+array |
+— |
+[ ] |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/quarter_combo.html b/uidoc/_book/detailed/quarter_combo.html
new file mode 100644
index 0000000000..86310752d6
--- /dev/null
+++ b/uidoc/_book/detailed/quarter_combo.html
@@ -0,0 +1,2538 @@
+
+
+
+
+
+
+ quarter_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ quarter_combo
+季度选择下拉框
+BI.createWidget({
+ type: 'bi.quarter_combo',
+ element: '#wrapper',
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+behaviors |
+自定义下拉列表中item项的行为,如高亮,标红等(详见button_group) |
+object |
+ |
+{} |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.QuarterCombo.EVENT_CONFIRM |
+选中日期或者退出编辑状态触发 |
+
+
+BI.QuarterCombo.EVENT_BEFORE_POPUPVIEW |
+选中日期或者退出编辑状态触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/relation_view.html b/uidoc/_book/detailed/relation_view.html
new file mode 100644
index 0000000000..be42d64b30
--- /dev/null
+++ b/uidoc/_book/detailed/relation_view.html
@@ -0,0 +1,2524 @@
+
+
+
+
+
+
+ relation_view · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ relation_view
+关联视图
+BI.createWidget({
+ type: "bi.relation_view",
+ items: [{
+ primary: {
+ region: "B", regionText: "比",
+ title: "b2...",
+ value: "b2", text: "b2字段"
+ },
+ foreign: {region: "C", value: "c1", text: "c1字段"}
+ }, {
+ primary: {region: "A", value: "a1", text: "a1字段"},
+ foreign: {region: "C", value: "c2", text: "c2字段"}
+ }]
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/slider.html b/uidoc/_book/detailed/slider.html
new file mode 100644
index 0000000000..b2587d1672
--- /dev/null
+++ b/uidoc/_book/detailed/slider.html
@@ -0,0 +1,2549 @@
+
+
+
+
+
+
+ slider · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.slider
+slider插件
+BI.createWidget({
+ type: "bi.slider",
+ min: 16,
+ max: 50,
+});
+
+
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+min |
+最小值 |
+number |
+10 |
+
+
+max |
+最大值 |
+number |
+50 |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+getValue |
+获得当前值 |
+— |
+
+
+setValue |
+设置当前值 |
+value |
+
+
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/table/bi.excel_table.html b/uidoc/_book/detailed/table/bi.excel_table.html
new file mode 100644
index 0000000000..2df0283710
--- /dev/null
+++ b/uidoc/_book/detailed/table/bi.excel_table.html
@@ -0,0 +1,2729 @@
+
+
+
+
+
+
+ excel_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.excel_table
+
+BI.createWidget({
+ type: "bi.excel_table",
+ element: "body",
+ columnSize: [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: "第二行第二列"
+ }]
+ ]
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedResize |
+是否需要调整大小 |
+boolean |
+false |
+
+
+isResizeAdapt |
+是否调整时自适应 |
+boolean |
+true |
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+合并的单元格列号 |
+array |
+[] |
+
+
+mergeRule |
+合并规则, 默认相等时合并 |
+function(row1, row2) |
+默认row1 = row2 时合并 |
+
+
+columnSize |
+单元格宽度集合 |
+array |
+[] |
+
+
+headerRowSize |
+表头高度 |
+number |
+37 |
+
+
+footerRowSize |
+表尾高度 |
+number |
+37 |
+
+
+rowSize |
+普通单元格高度 |
+number |
+37 |
+
+
+regionColumnSize |
+列项间的 |
+array |
+[82, ""] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+resize |
+调整表格 |
+— |
+
+
+setColumnSize |
+设置列宽 |
+columnSize |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+getCalculateColumnSize |
+获得计算后的列宽 |
+— |
+
+
+setHeaderColumnSize |
+设置表头的列宽 |
+columnSize |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+getCalculateRegionColumnSize |
+获取计算后的列项之间的间隙 |
+— |
+
+
+getCalculateRegionRowSize |
+获取计算后的列项上下之间的间隙 |
+— |
+
+
+getClientRegionColumnSize |
+获取浏览器中显示的列项之间的间隙 |
+— |
+
+
+getScrollRegionColumnSize |
+获取横向滚动条宽度 |
+— |
+
+
+getScrollRegionRowSize |
+获取纵向滚动条宽度 |
+— |
+
+
+hasVerticalScroll |
+是否含有数值滚动条 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+getColumns |
+获取列项 |
+— |
+
+
+resizeHeader |
+调整表头 |
+— |
+
+
+attr |
+设置属性 |
+key:键,value:值 |
+
+
+populate |
+增加行 |
+rows |
+
+
+destroy |
+摧毁表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/table/bi.page_table.html b/uidoc/_book/detailed/table/bi.page_table.html
new file mode 100644
index 0000000000..f7580fb1ef
--- /dev/null
+++ b/uidoc/_book/detailed/table/bi.page_table.html
@@ -0,0 +1,2847 @@
+
+
+
+
+
+
+ page_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.page_table
+分页表格
+BI.createWidget({
+ type: "bi.page_table",
+ element: "body",
+ columnSize: [200,200],
+ items: [],
+ pager: {
+ horizontal : {},
+ vertical: {}
+ }
+});
+
+
+
+参数设置
+
+
+
+参数 |
+二级参数 |
+三级参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+pager |
+ |
+ |
+分页选项 |
+object |
+— |
+
+
+ |
+horizontal |
+ |
+水平分页选项 |
+object |
+— |
+
+
+ |
+ |
+pages |
+显示总页数 |
+boolean |
+false |
+
+
+ |
+ |
+curr |
+当前页 |
+number |
+1 |
+
+
+ |
+ |
+hasPrev |
+判断是否有前一页的函数 |
+function |
+BI.emptyFn |
+
+
+ |
+ |
+hasNext |
+是否有下一页 |
+function |
+BI.emptyFn |
+
+
+ |
+ |
+firstPage |
+第一页 |
+number |
+1 |
+
+
+ |
+ |
+lastPage |
+最后一页 |
+number/function |
+BI.emptyFn |
+
+
+ |
+vertical |
+ |
+纵向分页,参数与horizontal |
+object |
+— |
+
+
+itemsCreator |
+ |
+ |
+元素创造器 |
+function |
+BI.emptyFn |
+
+
+isNeedFreeze |
+ |
+ |
+是否需要冻结表头 |
+boolean |
+false |
+
+
+freezeCols |
+ |
+ |
+冻结的列 |
+array |
+[] |
+
+
+isNeedMerge |
+ |
+ |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeCols |
+ |
+ |
+合并的单元格列号 |
+array |
+[] |
+
+
+mergeRule |
+ |
+ |
+合并规则, 默认相等时合并 |
+function(row1, row2) |
+默认row1 = row2 时合并 |
+
+
+columnSize |
+ |
+ |
+单元格宽度集合 |
+array |
+[] |
+
+
+minColumnSize |
+ |
+ |
+最小列宽 |
+array |
+[] |
+
+
+maxColumnSize |
+ |
+ |
+最大列宽 |
+array |
+[] |
+
+
+headerRowSize |
+ |
+ |
+表头高度 |
+number |
+25 |
+
+
+rowSize |
+ |
+ |
+普通单元格高度 |
+number |
+25 |
+
+
+regionColumnSize |
+ |
+ |
+列项间的 |
+array |
+[] |
+
+
+headerCellStyleGetter |
+ |
+ |
+ |
+function |
+BI.emptyFn |
+
+
+summaryCellStyleGetter |
+ |
+ |
+ |
+function |
+BI.emptyFn |
+
+
+sequenceCellStyleGetter |
+ |
+ |
+ |
+function |
+BI.emptyFn |
+
+
+header |
+ |
+ |
+表头 |
+array |
+[] |
+
+
+items |
+ |
+ |
+子组件 |
+array |
+[] |
+
+
+crossHeader |
+ |
+ |
+交叉表头 |
+array |
+[] |
+
+
+crossItems |
+ |
+ |
+交叉项 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setHPage |
+设置水平页数 |
+v: 页码 |
+
+
+setVpage |
+设置纵向页数 |
+v: 页码 |
+
+
+getHPage |
+获得水平页数 |
+— |
+
+
+getVPage |
+获得垂直页数 |
+— |
+
+
+setWidth |
+设置宽度 |
+width: 宽度 |
+
+
+setHeight |
+设置高度 |
+height: 高度 |
+
+
+setColumnSize |
+设置列宽 |
+columnSize: 列宽数组 |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize: 列宽数组 |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop: 纵向滚动距离 |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft: 横向滚动距离 |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+attr |
+设置属性 |
+key: 键 value: 值 |
+
+
+populate |
+增加 |
+— |
+
+
+destroy |
+摧毁表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/table/bi.preview_table.html b/uidoc/_book/detailed/table/bi.preview_table.html
new file mode 100644
index 0000000000..6f01a0691f
--- /dev/null
+++ b/uidoc/_book/detailed/table/bi.preview_table.html
@@ -0,0 +1,2698 @@
+
+
+
+
+
+
+ preview_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.preview_table
+
+
+BI.createWidget({
+ type: "bi.preview_table",
+ header: [[{
+ text: "表头1"
+ }, {
+ text: "表头2"
+ }, {
+ text: "表头3"
+ }]],
+ element: 'body',
+ columnSize: [100, "", 50],
+ items: [[{
+ text: "第一行第一列"
+ }, {
+ text: "第一行第二列"
+ }, {
+ text: "第一行第三列"
+ }]]
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedFreeze |
+是否冻结 |
+boolean |
+false |
+
+
+freezeCols |
+冻结的列 |
+array |
+[] |
+
+
+rowSize |
+行高 |
+array/number |
+null |
+
+
+columnSize |
+列宽 |
+array |
+[] |
+
+
+headerRowSize |
+表头行高 |
+number |
+30 |
+
+
+header |
+表头内容 |
+array |
+[] |
+
+
+items |
+子组件 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+resize |
+调整表格 |
+— |
+
+
+setColumnSize |
+设置列宽 |
+columnSize |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+getCalculateColumnSize |
+获得计算后的列宽 |
+— |
+
+
+setHeaderColumnSize |
+设置表头的列宽 |
+columnSize |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+getCalculateRegionColumnSize |
+获取计算后的列项之间的间隙 |
+— |
+
+
+getCalculateRegionRowSize |
+获取计算后的列项上下之间的间隙 |
+— |
+
+
+getClientRegionColumnSize |
+获取浏览器中显示的列项之间的间隙 |
+— |
+
+
+getScrollRegionColumnSize |
+获取横向滚动条宽度 |
+— |
+
+
+getScrollRegionRowSize |
+获取纵向滚动条宽度 |
+— |
+
+
+hasVerticalScroll |
+是否含有数值滚动条 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+getColumns |
+获取列项 |
+— |
+
+
+resizeHeader |
+调整表头 |
+— |
+
+
+attr |
+设置属性 |
+key:键,value:值 |
+
+
+populate |
+替换为新的内容 |
+rows |
+
+
+destroy |
+摧毁表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/table/bi.responsive_table.html b/uidoc/_book/detailed/table/bi.responsive_table.html
new file mode 100644
index 0000000000..73dde2e110
--- /dev/null
+++ b/uidoc/_book/detailed/table/bi.responsive_table.html
@@ -0,0 +1,2751 @@
+
+
+
+
+
+
+ responsive_table · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.responsive_table
+
+
+BI.createWidget({
+ type: "bi.responsive_table",
+ isNeedMerge: true,
+ isNeedFreeze: true,
+ mergeCols: [0, 1],
+ columnSize: ["", "", ""],
+ items: [[{
+ text: "第一行第一列"
+ }, {
+ text: "第一行第二列"
+ }, {
+ text: "第一行第三列"
+ }]],
+ header: [[{
+ text: "表头1"
+ }, {
+ text: "表头2"
+ }, {
+ text: "表头3"
+ }]],
+ element: 'body'
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+isNeedFreeze |
+是否需要冻结单元格 |
+boolean |
+false |
+
+
+freezeCols |
+冻结的列号,从0开始,isNeedFreeze为true时生效 |
+array |
+[] |
+
+
+isNeedMerge |
+是否需要合并单元格 |
+boolean |
+false |
+
+
+mergeRule |
+function (row1, row2) 合并规则, 默认相等时合并 |
+function |
+function |
+
+
+columnSize |
+列宽 |
+array |
+[] |
+
+
+headerRowSize |
+表头行高 |
+number |
+25 |
+
+
+footerRowSize |
+表尾行高 |
+number |
+25 |
+
+
+rowSize |
+行高 |
+number |
+25 |
+
+
+columnSize |
+列宽 |
+array |
+[] |
+
+
+regionColumnSize |
+ |
+boolean |
+false |
+
+
+header |
+表头内容 |
+array |
+[] |
+
+
+footer |
+是否需要表尾 |
+boolean |
+false |
+
+
+items |
+子组件二维数组 |
+array |
+[] |
+
+
+crossHeader |
+交叉表头 |
+array |
+[] |
+
+
+crossItems |
+交叉表内容二维数组 |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+resize |
+调整表格 |
+— |
+
+
+setColumnSize |
+设置列宽 |
+columnSize |
+
+
+getColumnSize |
+得到列宽 |
+— |
+
+
+getCalculateColumnSize |
+获得计算后的列宽 |
+— |
+
+
+setHeaderColumnSize |
+设置表头的列宽 |
+columnSize |
+
+
+setRegionColumnSize |
+设置列项之间的间隙 |
+columnSize |
+
+
+getRegionColumnSize |
+获得列项之间的间隙 |
+— |
+
+
+getCalculateRegionColumnSize |
+获取计算后的列项之间的间隙 |
+— |
+
+
+getCalculateRegionRowSize |
+获取计算后的列项上下之间的间隙 |
+— |
+
+
+getClientRegionColumnSize |
+获取浏览器中显示的列项之间的间隙 |
+— |
+
+
+getScrollRegionColumnSize |
+获取横向滚动条宽度 |
+— |
+
+
+getScrollRegionRowSize |
+获取纵向滚动条宽度 |
+— |
+
+
+hasVerticalScroll |
+是否含有数值滚动条 |
+— |
+
+
+setVerticalScroll |
+设置纵向滚动距离 |
+scrollTop |
+
+
+setLeftHorizontalScroll |
+设置左到右横向滚动距离 |
+scrollLeft |
+
+
+setRightHorizontalScroll |
+设置右往左横向滚动距离 |
+scrollLeft |
+
+
+getVerticalScroll |
+获取纵向滚动距离 |
+— |
+
+
+getLeftHorizontalScroll |
+获取左到右横向滚动距离 |
+— |
+
+
+getRightHorizontalScroll |
+获取右往左横向滚动距离 |
+— |
+
+
+getColumns |
+获取列项 |
+— |
+
+
+resizeHeader |
+调整表头 |
+— |
+
+
+attr |
+设置属性 |
+key:键,value:值 |
+
+
+populate |
+替换为新内容 |
+rows |
+
+
+destroy |
+摧毁表 |
+— |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/text_input/bi.clear_editor.html b/uidoc/_book/detailed/text_input/bi.clear_editor.html
new file mode 100644
index 0000000000..78285d9000
--- /dev/null
+++ b/uidoc/_book/detailed/text_input/bi.clear_editor.html
@@ -0,0 +1,2628 @@
+
+
+
+
+
+
+ bi.clear_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.clear_editor
+带清除按钮的输入框
+BI.createWidget({
+ type: 'bi.clear_editor',
+ cls: "bi-border",
+ element: '#wrapper',
+ width: 300,
+ watermark:"带清除按钮的输入框",
+});
+
+
+
+API
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+false |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+null |
+
+
+value |
+文本框默认值 |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string |
+— |
+null |
+
+
+width |
+文本框宽度 |
+number |
+— |
+— |
+
+
+height |
+文本框高度 |
+number |
+— |
+30 |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.ClearEditor.EVENT_CLEAR |
+点击清空按钮触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/text_input/bi.search_editor.html b/uidoc/_book/detailed/text_input/bi.search_editor.html
new file mode 100644
index 0000000000..e962e6396c
--- /dev/null
+++ b/uidoc/_book/detailed/text_input/bi.search_editor.html
@@ -0,0 +1,2627 @@
+
+
+
+
+
+
+ bi.search_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.search_editor
+搜索框
+BI.createWidget({
+ type: 'bi.search_editor',
+ element: '#wrapper',
+ width: 300,
+ watermark:"搜索",
+});
+
+
+
+API
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+false |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+null |
+
+
+value |
+文本框默认值 |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string |
+— |
+null |
+
+
+width |
+文本框宽度 |
+number |
+— |
+— |
+
+
+height |
+文本框高度 |
+number |
+— |
+30 |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.SearchEditor.EVENT_CLEAR |
+点击清空按钮触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/text_input/bi.text_editor.html b/uidoc/_book/detailed/text_input/bi.text_editor.html
new file mode 100644
index 0000000000..b74f453bd6
--- /dev/null
+++ b/uidoc/_book/detailed/text_input/bi.text_editor.html
@@ -0,0 +1,2612 @@
+
+
+
+
+
+
+ bi.text_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.text_editor
+通过鼠标或键盘输入字符
+基础用法
+BI.createWidget({
+ type: "bi.text_editor",
+ element: "#wrapper",
+ width: 200,
+ height: 30,
+ watermark:"请输入内容"
+});
+
+
+
+API
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+hgap |
+效果相当于文本框左右padding值 |
+number |
+— |
+4 |
+
+
+vgap |
+效果相当于文本框上下padding值 |
+number |
+— |
+2 |
+
+
+lgap |
+效果相当于文本框left-padding值 |
+number |
+— |
+0 |
+
+
+rgap |
+效果相当于文本框right-padding值 |
+number |
+— |
+0 |
+
+
+tgap |
+效果相当于文本框top-padding值 |
+number |
+— |
+0 |
+
+
+bgap |
+效果相当于文本框bottom-padding值 |
+number |
+— |
+0 |
+
+
+validationChecker |
+输入较验函数 |
+function |
+— |
+— |
+
+
+quitChecker |
+是否允许退出编辑函数 |
+function |
+— |
+— |
+
+
+allowBlank |
+是否允许空值 |
+boolean |
+true,false |
+false |
+
+
+watermark |
+文本框placeholder |
+string |
+— |
+null |
+
+
+value |
+文本框默认值 |
+string |
+— |
+" " |
+
+
+errorText |
+错误提示 |
+string |
+— |
+null |
+
+
+width |
+文本框宽度 |
+number |
+— |
+— |
+
+
+height |
+文本框高度 |
+number |
+— |
+30 |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/text_input/finetuning_number_editor.html b/uidoc/_book/detailed/text_input/finetuning_number_editor.html
new file mode 100644
index 0000000000..24765241b3
--- /dev/null
+++ b/uidoc/_book/detailed/text_input/finetuning_number_editor.html
@@ -0,0 +1,2534 @@
+
+
+
+
+
+
+ finetuning_number_editor · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ finetuning_number_editor
+数值微调器
+BI.createWidget({
+ type: 'bi.fine_tuning_number_editor',
+ element: '#wrapper',
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+value |
+编辑框中的值,-1表示自动 |
+number |
+ |
+-1 |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.FineTuningNumberEditor.EVENT_CONFIRM |
+点击增加/减少按钮或者编辑框确定时触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/tree/bi.multi_tree_combo.html b/uidoc/_book/detailed/tree/bi.multi_tree_combo.html
new file mode 100644
index 0000000000..dad3508e80
--- /dev/null
+++ b/uidoc/_book/detailed/tree/bi.multi_tree_combo.html
@@ -0,0 +1,2596 @@
+
+
+
+
+
+
+ multi_tree_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.multi_tree_combo
+
+var items = [{
+ id: -1,
+ pId: -2,
+ value: "根目录",
+ text: "根目录"
+}, {
+ id: 1,
+ pId: -1,
+ value: "第一级目录1",
+ text: "第一级目录1"
+}, {
+ id: 11,
+ pId: 1,
+ value: "第二级文件1",
+ text: "第二级文件1"
+}];
+
+BI.createWidget({
+ type: "bi.multi_tree_combo",
+ itemsCreator: function (options, callback) {
+ callback({
+ items: items
+ });
+ },
+ width: 300
+})
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+width |
+宽度 |
+number |
+200 |
+
+
+height |
+高度 |
+number |
+30 |
+
+
+items |
+子项,pId代表父节点ID |
+array |
+null |
+
+
+itemsCreator |
+子项创建函数 |
+function |
+function() {} |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+setValue |
+设置文本框值 |
+v |
+
+
+getValue |
+获取文本框值 |
+— |
+
+
+populate |
+更改树结构内容 |
+items |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.MultiTreeCombo.EVENT_CONFIRM |
+点击一级节点触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/tree/bi.switch_tree.html b/uidoc/_book/detailed/tree/bi.switch_tree.html
new file mode 100644
index 0000000000..9dece3d6de
--- /dev/null
+++ b/uidoc/_book/detailed/tree/bi.switch_tree.html
@@ -0,0 +1,2573 @@
+
+
+
+
+
+
+ switch_tree · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bi.switch_tree
+
+var items = [{
+ id: -1,
+ pId: -2,
+ value: "根目录",
+ text: "根目录"
+}, {
+ id: 1,
+ pId: -1,
+ value: "第一级目录1",
+ text: "第一级目录1"
+}, {
+ id: 11,
+ pId: 1,
+ value: "第二级文件1",
+ text: "第二级文件1"
+}];
+
+var tree = BI.createWidget({
+ type: "bi.switch_tree",
+ items: items,
+});
+
+
+
+参数设置
+
+
+
+参数 |
+说明 |
+类型 |
+默认值 |
+
+
+
+
+items |
+子项,pId代表父节点ID |
+array |
+[] |
+
+
+
+方法
+
+
+
+方法名 |
+说明 |
+参数 |
+
+
+
+
+switchSelect |
+切换树结构 |
+— |
+
+
+setSelect |
+设置选中项 |
+v |
+
+
+getSelect |
+获取选中项 |
+— |
+
+
+setValue |
+设置当前选中项内容 |
+v |
+
+
+getValue |
+获取当前选中项内容 |
+v |
+
+
+populate |
+更改树结构内容 |
+items |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/detailed/year_combo.html b/uidoc/_book/detailed/year_combo.html
new file mode 100644
index 0000000000..08fcbe66ce
--- /dev/null
+++ b/uidoc/_book/detailed/year_combo.html
@@ -0,0 +1,2552 @@
+
+
+
+
+
+
+ year_combo · GitBook
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ year_combo
+年份选择下拉框
+BI.createWidget({
+ type: 'bi.year_combo',
+ element: '#wrapper',
+ width: 300
+});
+
+
+
+参数
+
+
+
+参数 |
+说明 |
+类型 |
+可选值 |
+默认值 |
+
+
+
+
+behaviors |
+自定义下拉列表中item项的行为,如高亮,标红等(详见button_group) |
+object |
+ |
+{} |
+
+
+min |
+限定可选日期的下限 |
+string |
+ |
+'1900-01-01' |
+
+
+max |
+限定可选日期的上限 |
+string |
+ |
+'2099-12-31' |
+
+
+
+事件
+
+
+
+事件 |
+说明 |
+
+
+
+
+BI.YearCombo.EVENT_CONFIRM |
+选中日期或者退出编辑状态触发 |
+
+
+BI.YearCombo.EVENT_BEFORE_POPUPVIEW |
+选中日期或者退出编辑状态触发 |
+
+
+
+
+
+
+
+
+
+
+
+
+
results matching ""
+
+
+
+
+
+
No results matching ""
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uidoc/_book/gitbook/fonts/fontawesome/FontAwesome.otf b/uidoc/_book/gitbook/fonts/fontawesome/FontAwesome.otf
new file mode 100644
index 0000000000..d4de13e832
Binary files /dev/null and b/uidoc/_book/gitbook/fonts/fontawesome/FontAwesome.otf differ
diff --git a/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot
new file mode 100644
index 0000000000..c7b00d2ba8
Binary files /dev/null and b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.eot differ
diff --git a/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.svg b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.svg
new file mode 100644
index 0000000000..8b66187fe0
--- /dev/null
+++ b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.svg
@@ -0,0 +1,685 @@
+
+
+
\ No newline at end of file
diff --git a/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf
new file mode 100644
index 0000000000..f221e50a2e
Binary files /dev/null and b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.ttf differ
diff --git a/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff
new file mode 100644
index 0000000000..6e7483cf61
Binary files /dev/null and b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff differ
diff --git a/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff2
new file mode 100644
index 0000000000..7eb74fd127
Binary files /dev/null and b/uidoc/_book/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 differ
diff --git a/uidoc/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css b/uidoc/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css
new file mode 100644
index 0000000000..9f46b97237
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css
@@ -0,0 +1,29 @@
+.book .book-summary .chapter > .articles {
+ overflow: hidden;
+ max-height: 0px;
+}
+
+.book .book-summary .chapter.expanded > .articles {
+ max-height: 9999px;
+}
+
+.book .book-summary .exc-trigger {
+ position: absolute;
+ left: 12px;
+ top: 12px;
+}
+
+.book .book-summary ul.summary li a,
+.book .book-summary ul.summary li span {
+ padding-left: 30px;
+ cursor: pointer;
+}
+
+.book .book-summary .exc-trigger:before {
+ content: "\f054";
+}
+
+.book .book-summary .expanded > a .exc-trigger:before,
+.book .book-summary .expanded > span .exc-trigger:before {
+ content: "\f078";
+}
diff --git a/uidoc/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js b/uidoc/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js
new file mode 100644
index 0000000000..19c35d3c48
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js
@@ -0,0 +1,69 @@
+require(['gitbook', 'jQuery'], function(gitbook, $) {
+ var TOGGLE_CLASSNAME = 'expanded',
+ CHAPTER = '.chapter',
+ ARTICLES = '.articles',
+ TRIGGER_TEMPLATE = '',
+ LS_NAMESPACE = 'expChapters';
+ var init = function () {
+ // adding the trigger element to each ARTICLES parent and binding the event
+ $(ARTICLES)
+ .parent(CHAPTER)
+ .children('a,span')
+ .append(TRIGGER_TEMPLATE)
+ .on('click', function(e) {
+ if (!$(e.target).is('a')) {
+ e.preventDefault();
+ e.stopPropagation();
+ toggle($(e.target).closest(CHAPTER));
+ }
+ });
+
+ expand(lsItem());
+ //expand current selected chapter with it's parents
+ var activeChapter = $(CHAPTER + '.active');
+ expand(activeChapter);
+ expand(activeChapter.parents(CHAPTER));
+
+
+ }
+ var toggle = function ($chapter) {
+ if ($chapter.hasClass('expanded')) {
+ collapse($chapter);
+ } else {
+ expand($chapter);
+ }
+ }
+ var collapse = function ($chapter) {
+ if ($chapter.length && $chapter.hasClass(TOGGLE_CLASSNAME)) {
+ $chapter.removeClass(TOGGLE_CLASSNAME);
+ lsItem($chapter);
+ }
+ }
+ var expand = function ($chapter) {
+ if ($chapter.length && !$chapter.hasClass(TOGGLE_CLASSNAME)) {
+ $chapter.addClass(TOGGLE_CLASSNAME);
+ lsItem($chapter);
+ }
+ }
+ var lsItem = function () {
+ var map = JSON.parse(localStorage.getItem(LS_NAMESPACE)) || {}
+ if (arguments.length) {
+ var $chapters = arguments[0];
+ $chapters.each(function (index, element) {
+ var level = $(this).data('level');
+ var value = $(this).hasClass(TOGGLE_CLASSNAME);
+ map[level] = value;
+ })
+ localStorage.setItem(LS_NAMESPACE, JSON.stringify(map));
+ } else {
+ return $(CHAPTER).map(function(index, element){
+ if (map[$(this).data('level')]) {
+ return this;
+ }
+ })
+ }
+ }
+ gitbook.events.bind('page.change', function() {
+ init()
+ });
+});
diff --git a/uidoc/_book/gitbook/gitbook-plugin-fontsettings/fontsettings.js b/uidoc/_book/gitbook/gitbook-plugin-fontsettings/fontsettings.js
new file mode 100644
index 0000000000..ff7be71413
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-fontsettings/fontsettings.js
@@ -0,0 +1,240 @@
+require(['gitbook', 'jquery'], function(gitbook, $) {
+ // Configuration
+ var MAX_SIZE = 4,
+ MIN_SIZE = 0,
+ BUTTON_ID;
+
+ // Current fontsettings state
+ var fontState;
+
+ // Default themes
+ var THEMES = [
+ {
+ config: 'white',
+ text: 'White',
+ id: 0
+ },
+ {
+ config: 'sepia',
+ text: 'Sepia',
+ id: 1
+ },
+ {
+ config: 'night',
+ text: 'Night',
+ id: 2
+ }
+ ];
+
+ // Default font families
+ var FAMILIES = [
+ {
+ config: 'serif',
+ text: 'Serif',
+ id: 0
+ },
+ {
+ config: 'sans',
+ text: 'Sans',
+ id: 1
+ }
+ ];
+
+ // Return configured themes
+ function getThemes() {
+ return THEMES;
+ }
+
+ // Modify configured themes
+ function setThemes(themes) {
+ THEMES = themes;
+ updateButtons();
+ }
+
+ // Return configured font families
+ function getFamilies() {
+ return FAMILIES;
+ }
+
+ // Modify configured font families
+ function setFamilies(families) {
+ FAMILIES = families;
+ updateButtons();
+ }
+
+ // Save current font settings
+ function saveFontSettings() {
+ gitbook.storage.set('fontState', fontState);
+ update();
+ }
+
+ // Increase font size
+ function enlargeFontSize(e) {
+ e.preventDefault();
+ if (fontState.size >= MAX_SIZE) return;
+
+ fontState.size++;
+ saveFontSettings();
+ }
+
+ // Decrease font size
+ function reduceFontSize(e) {
+ e.preventDefault();
+ if (fontState.size <= MIN_SIZE) return;
+
+ fontState.size--;
+ saveFontSettings();
+ }
+
+ // Change font family
+ function changeFontFamily(configName, e) {
+ if (e && e instanceof Event) {
+ e.preventDefault();
+ }
+
+ var familyId = getFontFamilyId(configName);
+ fontState.family = familyId;
+ saveFontSettings();
+ }
+
+ // Change type of color theme
+ function changeColorTheme(configName, e) {
+ if (e && e instanceof Event) {
+ e.preventDefault();
+ }
+
+ var $book = gitbook.state.$book;
+
+ // Remove currently applied color theme
+ if (fontState.theme !== 0)
+ $book.removeClass('color-theme-'+fontState.theme);
+
+ // Set new color theme
+ var themeId = getThemeId(configName);
+ fontState.theme = themeId;
+ if (fontState.theme !== 0)
+ $book.addClass('color-theme-'+fontState.theme);
+
+ saveFontSettings();
+ }
+
+ // Return the correct id for a font-family config key
+ // Default to first font-family
+ function getFontFamilyId(configName) {
+ // Search for plugin configured font family
+ var configFamily = $.grep(FAMILIES, function(family) {
+ return family.config == configName;
+ })[0];
+ // Fallback to default font family
+ return (!!configFamily)? configFamily.id : 0;
+ }
+
+ // Return the correct id for a theme config key
+ // Default to first theme
+ function getThemeId(configName) {
+ // Search for plugin configured theme
+ var configTheme = $.grep(THEMES, function(theme) {
+ return theme.config == configName;
+ })[0];
+ // Fallback to default theme
+ return (!!configTheme)? configTheme.id : 0;
+ }
+
+ function update() {
+ var $book = gitbook.state.$book;
+
+ $('.font-settings .font-family-list li').removeClass('active');
+ $('.font-settings .font-family-list li:nth-child('+(fontState.family+1)+')').addClass('active');
+
+ $book[0].className = $book[0].className.replace(/\bfont-\S+/g, '');
+ $book.addClass('font-size-'+fontState.size);
+ $book.addClass('font-family-'+fontState.family);
+
+ if(fontState.theme !== 0) {
+ $book[0].className = $book[0].className.replace(/\bcolor-theme-\S+/g, '');
+ $book.addClass('color-theme-'+fontState.theme);
+ }
+ }
+
+ function init(config) {
+ // Search for plugin configured font family
+ var configFamily = getFontFamilyId(config.family),
+ configTheme = getThemeId(config.theme);
+
+ // Instantiate font state object
+ fontState = gitbook.storage.get('fontState', {
+ size: config.size || 2,
+ family: configFamily,
+ theme: configTheme
+ });
+
+ update();
+ }
+
+ function updateButtons() {
+ // Remove existing fontsettings buttons
+ if (!!BUTTON_ID) {
+ gitbook.toolbar.removeButton(BUTTON_ID);
+ }
+
+ // Create buttons in toolbar
+ BUTTON_ID = gitbook.toolbar.createButton({
+ icon: 'fa fa-font',
+ label: 'Font Settings',
+ className: 'font-settings',
+ dropdown: [
+ [
+ {
+ text: 'A',
+ className: 'font-reduce',
+ onClick: reduceFontSize
+ },
+ {
+ text: 'A',
+ className: 'font-enlarge',
+ onClick: enlargeFontSize
+ }
+ ],
+ $.map(FAMILIES, function(family) {
+ family.onClick = function(e) {
+ return changeFontFamily(family.config, e);
+ };
+
+ return family;
+ }),
+ $.map(THEMES, function(theme) {
+ theme.onClick = function(e) {
+ return changeColorTheme(theme.config, e);
+ };
+
+ return theme;
+ })
+ ]
+ });
+ }
+
+ // Init configuration at start
+ gitbook.events.bind('start', function(e, config) {
+ var opts = config.fontsettings;
+
+ // Generate buttons at start
+ updateButtons();
+
+ // Init current settings
+ init(opts);
+ });
+
+ // Expose API
+ gitbook.fontsettings = {
+ enlargeFontSize: enlargeFontSize,
+ reduceFontSize: reduceFontSize,
+ setTheme: changeColorTheme,
+ setFamily: changeFontFamily,
+ getThemes: getThemes,
+ setThemes: setThemes,
+ getFamilies: getFamilies,
+ setFamilies: setFamilies
+ };
+});
+
+
diff --git a/uidoc/_book/gitbook/gitbook-plugin-fontsettings/website.css b/uidoc/_book/gitbook/gitbook-plugin-fontsettings/website.css
new file mode 100644
index 0000000000..26591fe811
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-fontsettings/website.css
@@ -0,0 +1,291 @@
+/*
+ * Theme 1
+ */
+.color-theme-1 .dropdown-menu {
+ background-color: #111111;
+ border-color: #7e888b;
+}
+.color-theme-1 .dropdown-menu .dropdown-caret .caret-inner {
+ border-bottom: 9px solid #111111;
+}
+.color-theme-1 .dropdown-menu .buttons {
+ border-color: #7e888b;
+}
+.color-theme-1 .dropdown-menu .button {
+ color: #afa790;
+}
+.color-theme-1 .dropdown-menu .button:hover {
+ color: #73553c;
+}
+/*
+ * Theme 2
+ */
+.color-theme-2 .dropdown-menu {
+ background-color: #2d3143;
+ border-color: #272a3a;
+}
+.color-theme-2 .dropdown-menu .dropdown-caret .caret-inner {
+ border-bottom: 9px solid #2d3143;
+}
+.color-theme-2 .dropdown-menu .buttons {
+ border-color: #272a3a;
+}
+.color-theme-2 .dropdown-menu .button {
+ color: #62677f;
+}
+.color-theme-2 .dropdown-menu .button:hover {
+ color: #f4f4f5;
+}
+.book .book-header .font-settings .font-enlarge {
+ line-height: 30px;
+ font-size: 1.4em;
+}
+.book .book-header .font-settings .font-reduce {
+ line-height: 30px;
+ font-size: 1em;
+}
+.book.color-theme-1 .book-body {
+ color: #704214;
+ background: #f3eacb;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section {
+ background: #f3eacb;
+}
+.book.color-theme-2 .book-body {
+ color: #bdcadb;
+ background: #1c1f2b;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section {
+ background: #1c1f2b;
+}
+.book.font-size-0 .book-body .page-inner section {
+ font-size: 1.2rem;
+}
+.book.font-size-1 .book-body .page-inner section {
+ font-size: 1.4rem;
+}
+.book.font-size-2 .book-body .page-inner section {
+ font-size: 1.6rem;
+}
+.book.font-size-3 .book-body .page-inner section {
+ font-size: 2.2rem;
+}
+.book.font-size-4 .book-body .page-inner section {
+ font-size: 4rem;
+}
+.book.font-family-0 {
+ font-family: Georgia, serif;
+}
+.book.font-family-1 {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal {
+ color: #704214;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal a {
+ color: inherit;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h3,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h4,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h5,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 {
+ color: inherit;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2 {
+ border-color: inherit;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 {
+ color: inherit;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal hr {
+ background-color: inherit;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal blockquote {
+ border-color: inherit;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code {
+ background: #fdf6e3;
+ color: #657b83;
+ border-color: #f8df9c;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal .highlight {
+ background-color: inherit;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table th,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table td {
+ border-color: #f5d06c;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr {
+ color: inherit;
+ background-color: #fdf6e3;
+ border-color: #444444;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) {
+ background-color: #fbeecb;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
+ color: #bdcadb;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal a {
+ color: #3eb1d0;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h3,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h4,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h5,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 {
+ color: #fffffa;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2 {
+ border-color: #373b4e;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 {
+ color: #373b4e;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal hr {
+ background-color: #373b4e;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal blockquote {
+ border-color: #373b4e;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code {
+ color: #9dbed8;
+ background: #2d3143;
+ border-color: #2d3143;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal .highlight {
+ background-color: #282a39;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table th,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table td {
+ border-color: #3b3f54;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr {
+ color: #b6c2d2;
+ background-color: #2d3143;
+ border-color: #3b3f54;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) {
+ background-color: #35394b;
+}
+.book.color-theme-1 .book-header {
+ color: #afa790;
+ background: transparent;
+}
+.book.color-theme-1 .book-header .btn {
+ color: #afa790;
+}
+.book.color-theme-1 .book-header .btn:hover {
+ color: #73553c;
+ background: none;
+}
+.book.color-theme-1 .book-header h1 {
+ color: #704214;
+}
+.book.color-theme-2 .book-header {
+ color: #7e888b;
+ background: transparent;
+}
+.book.color-theme-2 .book-header .btn {
+ color: #3b3f54;
+}
+.book.color-theme-2 .book-header .btn:hover {
+ color: #fffff5;
+ background: none;
+}
+.book.color-theme-2 .book-header h1 {
+ color: #bdcadb;
+}
+.book.color-theme-1 .book-body .navigation {
+ color: #afa790;
+}
+.book.color-theme-1 .book-body .navigation:hover {
+ color: #73553c;
+}
+.book.color-theme-2 .book-body .navigation {
+ color: #383f52;
+}
+.book.color-theme-2 .book-body .navigation:hover {
+ color: #fffff5;
+}
+/*
+ * Theme 1
+ */
+.book.color-theme-1 .book-summary {
+ color: #afa790;
+ background: #111111;
+ border-right: 1px solid rgba(0, 0, 0, 0.07);
+}
+.book.color-theme-1 .book-summary .book-search {
+ background: transparent;
+}
+.book.color-theme-1 .book-summary .book-search input,
+.book.color-theme-1 .book-summary .book-search input:focus {
+ border: 1px solid transparent;
+}
+.book.color-theme-1 .book-summary ul.summary li.divider {
+ background: #7e888b;
+ box-shadow: none;
+}
+.book.color-theme-1 .book-summary ul.summary li i.fa-check {
+ color: #33cc33;
+}
+.book.color-theme-1 .book-summary ul.summary li.done > a {
+ color: #877f6a;
+}
+.book.color-theme-1 .book-summary ul.summary li a,
+.book.color-theme-1 .book-summary ul.summary li span {
+ color: #877f6a;
+ background: transparent;
+ font-weight: normal;
+}
+.book.color-theme-1 .book-summary ul.summary li.active > a,
+.book.color-theme-1 .book-summary ul.summary li a:hover {
+ color: #704214;
+ background: transparent;
+ font-weight: normal;
+}
+/*
+ * Theme 2
+ */
+.book.color-theme-2 .book-summary {
+ color: #bcc1d2;
+ background: #2d3143;
+ border-right: none;
+}
+.book.color-theme-2 .book-summary .book-search {
+ background: transparent;
+}
+.book.color-theme-2 .book-summary .book-search input,
+.book.color-theme-2 .book-summary .book-search input:focus {
+ border: 1px solid transparent;
+}
+.book.color-theme-2 .book-summary ul.summary li.divider {
+ background: #272a3a;
+ box-shadow: none;
+}
+.book.color-theme-2 .book-summary ul.summary li i.fa-check {
+ color: #33cc33;
+}
+.book.color-theme-2 .book-summary ul.summary li.done > a {
+ color: #62687f;
+}
+.book.color-theme-2 .book-summary ul.summary li a,
+.book.color-theme-2 .book-summary ul.summary li span {
+ color: #c1c6d7;
+ background: transparent;
+ font-weight: 600;
+}
+.book.color-theme-2 .book-summary ul.summary li.active > a,
+.book.color-theme-2 .book-summary ul.summary li a:hover {
+ color: #f4f4f5;
+ background: #252737;
+ font-weight: 600;
+}
diff --git a/uidoc/_book/gitbook/gitbook-plugin-highlight/ebook.css b/uidoc/_book/gitbook/gitbook-plugin-highlight/ebook.css
new file mode 100644
index 0000000000..cecaaab5a6
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-highlight/ebook.css
@@ -0,0 +1,135 @@
+pre,
+code {
+ /* http://jmblog.github.io/color-themes-for-highlightjs */
+ /* Tomorrow Comment */
+ /* Tomorrow Red */
+ /* Tomorrow Orange */
+ /* Tomorrow Yellow */
+ /* Tomorrow Green */
+ /* Tomorrow Aqua */
+ /* Tomorrow Blue */
+ /* Tomorrow Purple */
+}
+pre .hljs-comment,
+code .hljs-comment,
+pre .hljs-title,
+code .hljs-title {
+ color: #8e908c;
+}
+pre .hljs-variable,
+code .hljs-variable,
+pre .hljs-attribute,
+code .hljs-attribute,
+pre .hljs-tag,
+code .hljs-tag,
+pre .hljs-regexp,
+code .hljs-regexp,
+pre .hljs-deletion,
+code .hljs-deletion,
+pre .ruby .hljs-constant,
+code .ruby .hljs-constant,
+pre .xml .hljs-tag .hljs-title,
+code .xml .hljs-tag .hljs-title,
+pre .xml .hljs-pi,
+code .xml .hljs-pi,
+pre .xml .hljs-doctype,
+code .xml .hljs-doctype,
+pre .html .hljs-doctype,
+code .html .hljs-doctype,
+pre .css .hljs-id,
+code .css .hljs-id,
+pre .css .hljs-class,
+code .css .hljs-class,
+pre .css .hljs-pseudo,
+code .css .hljs-pseudo {
+ color: #c82829;
+}
+pre .hljs-number,
+code .hljs-number,
+pre .hljs-preprocessor,
+code .hljs-preprocessor,
+pre .hljs-pragma,
+code .hljs-pragma,
+pre .hljs-built_in,
+code .hljs-built_in,
+pre .hljs-literal,
+code .hljs-literal,
+pre .hljs-params,
+code .hljs-params,
+pre .hljs-constant,
+code .hljs-constant {
+ color: #f5871f;
+}
+pre .ruby .hljs-class .hljs-title,
+code .ruby .hljs-class .hljs-title,
+pre .css .hljs-rules .hljs-attribute,
+code .css .hljs-rules .hljs-attribute {
+ color: #eab700;
+}
+pre .hljs-string,
+code .hljs-string,
+pre .hljs-value,
+code .hljs-value,
+pre .hljs-inheritance,
+code .hljs-inheritance,
+pre .hljs-header,
+code .hljs-header,
+pre .hljs-addition,
+code .hljs-addition,
+pre .ruby .hljs-symbol,
+code .ruby .hljs-symbol,
+pre .xml .hljs-cdata,
+code .xml .hljs-cdata {
+ color: #718c00;
+}
+pre .css .hljs-hexcolor,
+code .css .hljs-hexcolor {
+ color: #3e999f;
+}
+pre .hljs-function,
+code .hljs-function,
+pre .python .hljs-decorator,
+code .python .hljs-decorator,
+pre .python .hljs-title,
+code .python .hljs-title,
+pre .ruby .hljs-function .hljs-title,
+code .ruby .hljs-function .hljs-title,
+pre .ruby .hljs-title .hljs-keyword,
+code .ruby .hljs-title .hljs-keyword,
+pre .perl .hljs-sub,
+code .perl .hljs-sub,
+pre .javascript .hljs-title,
+code .javascript .hljs-title,
+pre .coffeescript .hljs-title,
+code .coffeescript .hljs-title {
+ color: #4271ae;
+}
+pre .hljs-keyword,
+code .hljs-keyword,
+pre .javascript .hljs-function,
+code .javascript .hljs-function {
+ color: #8959a8;
+}
+pre .hljs,
+code .hljs {
+ display: block;
+ background: white;
+ color: #4d4d4c;
+ padding: 0.5em;
+}
+pre .coffeescript .javascript,
+code .coffeescript .javascript,
+pre .javascript .xml,
+code .javascript .xml,
+pre .tex .hljs-formula,
+code .tex .hljs-formula,
+pre .xml .javascript,
+code .xml .javascript,
+pre .xml .vbscript,
+code .xml .vbscript,
+pre .xml .css,
+code .xml .css,
+pre .xml .hljs-cdata,
+code .xml .hljs-cdata {
+ opacity: 0.5;
+}
diff --git a/uidoc/_book/gitbook/gitbook-plugin-highlight/website.css b/uidoc/_book/gitbook/gitbook-plugin-highlight/website.css
new file mode 100644
index 0000000000..6674448f7c
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-highlight/website.css
@@ -0,0 +1,434 @@
+.book .book-body .page-wrapper .page-inner section.normal pre,
+.book .book-body .page-wrapper .page-inner section.normal code {
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
+ /* Tomorrow Comment */
+ /* Tomorrow Red */
+ /* Tomorrow Orange */
+ /* Tomorrow Yellow */
+ /* Tomorrow Green */
+ /* Tomorrow Aqua */
+ /* Tomorrow Blue */
+ /* Tomorrow Purple */
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-comment,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-title {
+ color: #8e908c;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-tag,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-tag,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-regexp,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-deletion,
+.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-constant,
+.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-constant,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-tag .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-tag .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-pi,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-pi,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-doctype,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-doctype,
+.book .book-body .page-wrapper .page-inner section.normal pre .html .hljs-doctype,
+.book .book-body .page-wrapper .page-inner section.normal code .html .hljs-doctype,
+.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-id,
+.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-id,
+.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-class,
+.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-class,
+.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo,
+.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo {
+ color: #c82829;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-number,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-pragma,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-literal,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-literal,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-params,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-params,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-constant,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-constant {
+ color: #f5871f;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-class .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-class .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-rules .hljs-attribute,
+.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-rules .hljs-attribute {
+ color: #eab700;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-string,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-value,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-value,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-inheritance,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-inheritance,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-header,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-header,
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-addition,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-addition,
+.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-symbol,
+.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-symbol,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
+ color: #718c00;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-hexcolor,
+.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-hexcolor {
+ color: #3e999f;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-function,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-function,
+.book .book-body .page-wrapper .page-inner section.normal pre .python .hljs-decorator,
+.book .book-body .page-wrapper .page-inner section.normal code .python .hljs-decorator,
+.book .book-body .page-wrapper .page-inner section.normal pre .python .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal code .python .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-function .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-function .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-title .hljs-keyword,
+.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-title .hljs-keyword,
+.book .book-body .page-wrapper .page-inner section.normal pre .perl .hljs-sub,
+.book .book-body .page-wrapper .page-inner section.normal code .perl .hljs-sub,
+.book .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal pre .coffeescript .hljs-title,
+.book .book-body .page-wrapper .page-inner section.normal code .coffeescript .hljs-title {
+ color: #4271ae;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs-keyword,
+.book .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-function,
+.book .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-function {
+ color: #8959a8;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .hljs,
+.book .book-body .page-wrapper .page-inner section.normal code .hljs {
+ display: block;
+ background: white;
+ color: #4d4d4c;
+ padding: 0.5em;
+}
+.book .book-body .page-wrapper .page-inner section.normal pre .coffeescript .javascript,
+.book .book-body .page-wrapper .page-inner section.normal code .coffeescript .javascript,
+.book .book-body .page-wrapper .page-inner section.normal pre .javascript .xml,
+.book .book-body .page-wrapper .page-inner section.normal code .javascript .xml,
+.book .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
+.book .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .javascript,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .javascript,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .vbscript,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .vbscript,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .css,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .css,
+.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
+.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
+ opacity: 0.5;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code {
+ /*
+
+Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull
+
+*/
+ /* Solarized Green */
+ /* Solarized Cyan */
+ /* Solarized Blue */
+ /* Solarized Yellow */
+ /* Solarized Orange */
+ /* Solarized Red */
+ /* Solarized Violet */
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs {
+ display: block;
+ padding: 0.5em;
+ background: #fdf6e3;
+ color: #657b83;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-comment,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-template_comment,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-template_comment,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-header,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .diff .hljs-header,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-doctype,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-doctype,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-pi,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-pi,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .lisp .hljs-string,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .lisp .hljs-string,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-javadoc,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-javadoc {
+ color: #93a1a1;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-winutils,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-winutils,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .method,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .method,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-addition,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-addition,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-tag,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-tag,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-request,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-request,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-status,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-status,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .nginx .hljs-title,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .nginx .hljs-title {
+ color: #859900;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-number,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-command,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-command,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-string,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag .hljs-value,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-tag .hljs-value,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-rules .hljs-value,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-rules .hljs-value,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-phpdoc,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-phpdoc,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-hexcolor,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-hexcolor,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_url,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_url {
+ color: #2aa198;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-title,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-localvars,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-localvars,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-chunk,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-chunk,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-decorator,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-decorator,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-identifier,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-identifier,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .vhdl .hljs-literal,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .vhdl .hljs-literal,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-id,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-id,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-function,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-function {
+ color: #268bd2;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .lisp .hljs-body,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .lisp .hljs-body,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .smalltalk .hljs-number,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .smalltalk .hljs-number,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-constant,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-constant,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-class .hljs-title,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-class .hljs-title,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-parent,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-parent,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .haskell .hljs-type,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .haskell .hljs-type,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_reference,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_reference {
+ color: #b58900;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor .hljs-keyword,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor .hljs-keyword,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-pragma,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-shebang,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-shebang,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol .hljs-string,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol .hljs-string,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-change,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .diff .hljs-change,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-special,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-special,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attr_selector,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attr_selector,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-subst,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-subst,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-cdata,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-cdata,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .clojure .hljs-title,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .clojure .hljs-title,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-header,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-header {
+ color: #cb4b16;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-deletion,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-important,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-important {
+ color: #dc322f;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_label,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_label {
+ color: #6c71c4;
+}
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
+.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula {
+ background: #eee8d5;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code {
+ /* Tomorrow Night Bright Theme */
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
+ /* Tomorrow Comment */
+ /* Tomorrow Red */
+ /* Tomorrow Orange */
+ /* Tomorrow Yellow */
+ /* Tomorrow Green */
+ /* Tomorrow Aqua */
+ /* Tomorrow Blue */
+ /* Tomorrow Purple */
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-comment,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-title {
+ color: #969896;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-variable,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-tag,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-deletion,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-constant,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-constant,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-tag .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-tag .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-pi,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-pi,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-doctype,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-doctype,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .html .hljs-doctype,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .html .hljs-doctype,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-id,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-id,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-class,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-class,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo {
+ color: #d54e53;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-number,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-number,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-pragma,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-literal,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-literal,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-params,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-params,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-constant,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-constant {
+ color: #e78c45;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-class .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-class .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-rules .hljs-attribute,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-rules .hljs-attribute {
+ color: #e7c547;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-string,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-string,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-value,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-value,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-inheritance,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-inheritance,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-header,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-header,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-addition,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-addition,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-symbol,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-symbol,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
+ color: #b9ca4a;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-hexcolor,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-hexcolor {
+ color: #70c0b1;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-function,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-function,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .python .hljs-decorator,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .python .hljs-decorator,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .python .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .python .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-function .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-function .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-title .hljs-keyword,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-title .hljs-keyword,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .perl .hljs-sub,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .perl .hljs-sub,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .coffeescript .hljs-title,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .coffeescript .hljs-title {
+ color: #7aa6da;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-function,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-function {
+ color: #c397d8;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs {
+ display: block;
+ background: black;
+ color: #eaeaea;
+ padding: 0.5em;
+}
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .coffeescript .javascript,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .coffeescript .javascript,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .xml,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .xml,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .javascript,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .javascript,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .vbscript,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .vbscript,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .css,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .css,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata,
+.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata {
+ opacity: 0.5;
+}
diff --git a/uidoc/_book/gitbook/gitbook-plugin-jsfiddle/plugin.js b/uidoc/_book/gitbook/gitbook-plugin-jsfiddle/plugin.js
new file mode 100644
index 0000000000..c8bce1c8ef
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-jsfiddle/plugin.js
@@ -0,0 +1,102 @@
+require(["gitbook", "jquery"], function (gitbook, $) {
+ var matcher = /\/\/jsfiddle.net\/.+/;
+ var defaults = {
+ type: 'script',
+ tabs: ['js', 'html', 'css', 'result'],
+ theme: 'light'
+ };
+ var localConfig = {
+ jsfiddle: {}
+ };
+ var extractConfigFromURL = function (href) {
+ var match = /(#)(.+)$/ig.exec(href);
+ if (match && match[2]) {
+ return match[2].split('&').reduce(function (params, param) {
+ var splitParam = param.split('=');
+ if (splitParam[0] === 'tabs') {
+ splitParam[1] = splitParam[1].split(',');
+ }
+ params[splitParam[0]] = splitParam[1];
+ return params;
+ }, {});
+ }
+ return {};
+ };
+ var generateAdditionalParams = function (config) {
+ var params = '/';
+ if (config.theme) {
+ params += config.theme + '/';
+ }
+ var colors = Object.keys(config).reduce(function (colors, key) {
+ if (['href', 'type', 'theme', 'tabs', 'width', 'height'].indexOf(key) !== -1) {
+ return colors;
+ }
+ colors += key + '=' + config[key] + '&';
+ return colors;
+ }, '');
+
+ colors = colors.replace(/&$/, '');
+ if (colors) {
+ return params + '?' + colors;
+ }
+ return params;
+ };
+
+ var generateUrl = function (config) {
+ var additionalParam = generateAdditionalParams(config);
+ var type = config.type == 'frame' ? 'embedded' : 'embed';
+ return config.href + type + '/' + config.tabs.join(',') + additionalParam;
+ };
+
+ var creator = {
+ script: function (config) {
+ var script = document.createElement('script');
+ script.src = generateUrl(config);
+ script.async = true;
+ return script;
+ },
+ frame: function (config) {
+ return $([
+ ''
+ ].join(''))[0];
+ }
+ };
+
+ var createEmbedNode = function (href, config) {
+ var normalURL = href.replace(/#.+$/, '');
+ var configFromUrl = extractConfigFromURL(href);
+ var mergedConfig = $.extend({href: normalURL}, config, configFromUrl);
+ return creator[mergedConfig.type](mergedConfig);
+ };
+
+ function embedAllLink(config) {
+ localConfig.jsfiddle = $.extend(localConfig.jsfiddle || {}, config.jsfiddle);
+ $(".book-body a").each(function (index, link) {
+ if (link.href && matcher.test(link.href)) {
+ link.parentNode.insertBefore(createEmbedNode(link.href, localConfig.jsfiddle), link.nextSibling);
+ link.parentNode.removeChild(link);
+ }
+ });
+ }
+
+ gitbook.events.bind("start", function (e, config) {
+ localConfig.jsfiddle = $.extend({}, defaults);
+ matcher = /(http|https):\/\/jsfiddle.net\/.+/;
+ embedAllLink(config);
+ });
+
+ gitbook.events.bind("page.change", function () {
+ if (matcher) {
+ embedAllLink(localConfig);
+ }
+ });
+
+});
\ No newline at end of file
diff --git a/uidoc/_book/gitbook/gitbook-plugin-livereload/plugin.js b/uidoc/_book/gitbook/gitbook-plugin-livereload/plugin.js
new file mode 100644
index 0000000000..923b3aed5c
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-livereload/plugin.js
@@ -0,0 +1,11 @@
+(function() {
+ var newEl = document.createElement('script'),
+ firstScriptTag = document.getElementsByTagName('script')[0];
+
+ if (firstScriptTag) {
+ newEl.async = 1;
+ newEl.src = '//' + window.location.hostname + ':35729/livereload.js';
+ firstScriptTag.parentNode.insertBefore(newEl, firstScriptTag);
+ }
+
+})();
diff --git a/uidoc/_book/gitbook/gitbook-plugin-lunr/lunr.min.js b/uidoc/_book/gitbook/gitbook-plugin-lunr/lunr.min.js
new file mode 100644
index 0000000000..6aa6bc7d69
--- /dev/null
+++ b/uidoc/_book/gitbook/gitbook-plugin-lunr/lunr.min.js
@@ -0,0 +1,7 @@
+/**
+ * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.5.12
+ * Copyright (C) 2015 Oliver Nightingale
+ * MIT Licensed
+ * @license
+ */
+!function(){var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.5.12",t.utils={},t.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},t.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},t.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},t.EventEmitter.prototype.hasHandler=function(t){return t in this.events},t.tokenizer=function(t){return arguments.length&&null!=t&&void 0!=t?Array.isArray(t)?t.map(function(t){return t.toLowerCase()}):t.toString().trim().toLowerCase().split(/[\s\-]+/):[]},t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.registeredFunctions[e];if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");this._stack.splice(i,0,n)},t.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);-1!=e&&this._stack.splice(e,1)},t.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,i=this._stack.length,o=0;n>o;o++){for(var r=t[o],s=0;i>s&&(r=this._stack[s](r,o,t),void 0!==r);s++);void 0!==r&&e.push(r)}return e},t.Pipeline.prototype.reset=function(){this._stack=[]},t.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},t.Vector.Node=function(t,e,n){this.idx=t,this.val=e,this.next=n},t.Vector.prototype.insert=function(e,n){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new t.Vector.Node(e,n,i),this.length++;if(en.idx?n=n.next:(i+=e.val*n.val,e=e.next,n=n.next);return i},t.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},t.SortedSet=function(){this.length=0,this.elements=[]},t.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},t.SortedSet.prototype.add=function(){var t,e;for(t=0;t1;){if(r===t)return o;t>r&&(e=o),r>t&&(n=o),i=n-e,o=e+Math.floor(i/2),r=this.elements[o]}return r===t?o:-1},t.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,i=n-e,o=e+Math.floor(i/2),r=this.elements[o];i>1;)t>r&&(e=o),r>t&&(n=o),i=n-e,o=e+Math.floor(i/2),r=this.elements[o];return r>t?o:t>r?o+1:void 0},t.SortedSet.prototype.intersect=function(e){for(var n=new t.SortedSet,i=0,o=0,r=this.length,s=e.length,a=this.elements,h=e.elements;;){if(i>r-1||o>s-1)break;a[i]!==h[o]?a[i]h[o]&&o++:(n.add(a[i]),i++,o++)}return n},t.SortedSet.prototype.clone=function(){var e=new t.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},t.SortedSet.prototype.union=function(t){var e,n,i;return this.length>=t.length?(e=this,n=t):(e=t,n=this),i=e.clone(),i.add.apply(i,n.toArray()),i},t.SortedSet.prototype.toJSON=function(){return this.toArray()},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.Store,this.tokenStore=new t.TokenStore,this.corpusTokens=new t.SortedSet,this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},t.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;return n._fields=e.fields,n._ref=e.ref,n.documentStore=t.Store.load(e.documentStore),n.tokenStore=t.TokenStore.load(e.tokenStore),n.corpusTokens=t.SortedSet.load(e.corpusTokens),n.pipeline=t.Pipeline.load(e.pipeline),n},t.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},t.Index.prototype.ref=function(t){return this._ref=t,this},t.Index.prototype.add=function(e,n){var i={},o=new t.SortedSet,r=e[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(n){var r=this.pipeline.run(t.tokenizer(e[n.name]));i[n.name]=r,t.SortedSet.prototype.add.apply(o,r)},this),this.documentStore.set(r,o),t.SortedSet.prototype.add.apply(this.corpusTokens,o.toArray());for(var s=0;s0&&(i=1+Math.log(this.documentStore.length/n)),this._idfCache[e]=i},t.Index.prototype.search=function(e){var n=this.pipeline.run(t.tokenizer(e)),i=new t.Vector,o=[],r=this._fields.reduce(function(t,e){return t+e.boost},0),s=n.some(function(t){return this.tokenStore.has(t)},this);if(!s)return[];n.forEach(function(e,n,s){var a=1/s.length*this._fields.length*r,h=this,l=this.tokenStore.expand(e).reduce(function(n,o){var r=h.corpusTokens.indexOf(o),s=h.idf(o),l=1,u=new t.SortedSet;if(o!==e){var c=Math.max(3,o.length-e.length);l=1/Math.log(c)}return r>-1&&i.insert(r,a*s*l),Object.keys(h.tokenStore.get(o)).forEach(function(t){u.add(t)}),n.union(u)},new t.SortedSet);o.push(l)},this);var a=o.reduce(function(t,e){return t.intersect(e)});return a.map(function(t){return{ref:t,score:i.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},t.Index.prototype.documentVector=function(e){for(var n=this.documentStore.get(e),i=n.length,o=new t.Vector,r=0;i>r;r++){var s=n.elements[r],a=this.tokenStore.get(s)[e].tf,h=this.idf(s);o.insert(this.corpusTokens.indexOf(s),a*h)}return o},t.Index.prototype.toJSON=function(){return{version:t.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},t.Store=function(){this.store={},this.length=0},t.Store.load=function(e){var n=new this;return n.length=e.length,n.store=Object.keys(e.store).reduce(function(n,i){return n[i]=t.SortedSet.load(e.store[i]),n},{}),n},t.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},t.Store.prototype.get=function(t){return this.store[t]},t.Store.prototype.has=function(t){return t in this.store},t.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},t.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},t.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i="[aeiouy]",o=n+"[^aeiouy]*",r=i+"[aeiou]*",s="^("+o+")?"+r+o,a="^("+o+")?"+r+o+"("+r+")?$",h="^("+o+")?"+r+o+r+o,l="^("+o+")?"+i,u=new RegExp(s),c=new RegExp(h),f=new RegExp(a),d=new RegExp(l),p=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,y=/^(.+?)(ed|ing)$/,g=/.$/,S=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+o+i+"[^aeiouwxy]$"),k=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,_=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,F=/^(.+?)(s|t)(ion)$/,O=/^(.+?)e$/,P=/ll$/,N=new RegExp("^"+o+i+"[^aeiouwxy]$"),T=function(n){var i,o,r,s,a,h,l;if(n.length<3)return n;if(r=n.substr(0,1),"y"==r&&(n=r.toUpperCase()+n.substr(1)),s=p,a=m,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=v,a=y,s.test(n)){var T=s.exec(n);s=u,s.test(T[1])&&(s=g,n=n.replace(s,""))}else if(a.test(n)){var T=a.exec(n);i=T[1],a=d,a.test(i)&&(n=i,a=S,h=w,l=x,a.test(n)?n+="e":h.test(n)?(s=g,n=n.replace(s,"")):l.test(n)&&(n+="e"))}if(s=k,s.test(n)){var T=s.exec(n);i=T[1],n=i+"i"}if(s=b,s.test(n)){var T=s.exec(n);i=T[1],o=T[2],s=u,s.test(i)&&(n=i+t[o])}if(s=E,s.test(n)){var T=s.exec(n);i=T[1],o=T[2],s=u,s.test(i)&&(n=i+e[o])}if(s=_,a=F,s.test(n)){var T=s.exec(n);i=T[1],s=c,s.test(i)&&(n=i)}else if(a.test(n)){var T=a.exec(n);i=T[1]+T[2],a=c,a.test(i)&&(n=i)}if(s=O,s.test(n)){var T=s.exec(n);i=T[1],s=c,a=f,h=N,(s.test(i)||a.test(i)&&!h.test(i))&&(n=i)}return s=P,a=c,s.test(n)&&a.test(n)&&(s=g,n=n.replace(s,"")),"y"==r&&(n=r.toLowerCase()+n.substr(1)),n};return T}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.stopWordFilter=function(e){return e&&t.stopWordFilter.stopWords[e]!==e?e:void 0},t.stopWordFilter.stopWords={a:"a",able:"able",about:"about",across:"across",after:"after",all:"all",almost:"almost",also:"also",am:"am",among:"among",an:"an",and:"and",any:"any",are:"are",as:"as",at:"at",be:"be",because:"because",been:"been",but:"but",by:"by",can:"can",cannot:"cannot",could:"could",dear:"dear",did:"did","do":"do",does:"does",either:"either","else":"else",ever:"ever",every:"every","for":"for",from:"from",get:"get",got:"got",had:"had",has:"has",have:"have",he:"he",her:"her",hers:"hers",him:"him",his:"his",how:"how",however:"however",i:"i","if":"if","in":"in",into:"into",is:"is",it:"it",its:"its",just:"just",least:"least",let:"let",like:"like",likely:"likely",may:"may",me:"me",might:"might",most:"most",must:"must",my:"my",neither:"neither",no:"no",nor:"nor",not:"not",of:"of",off:"off",often:"often",on:"on",only:"only",or:"or",other:"other",our:"our",own:"own",rather:"rather",said:"said",say:"say",says:"says",she:"she",should:"should",since:"since",so:"so",some:"some",than:"than",that:"that",the:"the",their:"their",them:"them",then:"then",there:"there",these:"these",they:"they","this":"this",tis:"tis",to:"to",too:"too",twas:"twas",us:"us",wants:"wants",was:"was",we:"we",were:"were",what:"what",when:"when",where:"where",which:"which","while":"while",who:"who",whom:"whom",why:"why",will:"will","with":"with",would:"would",yet:"yet",you:"you",your:"your"},t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(t){var e=t.replace(/^\W+/,"").replace(/\W+$/,"");return""===e?void 0:e},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.TokenStore=function(){this.root={docs:{}},this.length=0},t.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},t.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,i=t[0],o=t.slice(1);return i in n||(n[i]={docs:{}}),0===o.length?(n[i].docs[e.ref]=e,void(this.length+=1)):this.add(o,e,n[i])},t.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;no;o++){for(var r=t[o],s=0;i>s&&(r=this._stack[s](r,o,t),void 0!==r);s++);void 0!==r&&e.push(r)}return e},t.Pipeline.prototype.reset=function(){this._stack=[]},t.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},t.Vector.Node=function(t,e,n){this.idx=t,this.val=e,this.next=n},t.Vector.prototype.insert=function(e,n){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new t.Vector.Node(e,n,i),this.length++;if(en.idx?n=n.next:(i+=e.val*n.val,e=e.next,n=n.next);return i},t.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},t.SortedSet=function(){this.length=0,this.elements=[]},t.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},t.SortedSet.prototype.add=function(){var t,e;for(t=0;t1;){if(r===t)return o;t>r&&(e=o),r>t&&(n=o),i=n-e,o=e+Math.floor(i/2),r=this.elements[o]}return r===t?o:-1},t.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,i=n-e,o=e+Math.floor(i/2),r=this.elements[o];i>1;)t>r&&(e=o),r>t&&(n=o),i=n-e,o=e+Math.floor(i/2),r=this.elements[o];return r>t?o:t>r?o+1:void 0},t.SortedSet.prototype.intersect=function(e){for(var n=new t.SortedSet,i=0,o=0,r=this.length,s=e.length,a=this.elements,h=e.elements;;){if(i>r-1||o>s-1)break;a[i]!==h[o]?a[i]h[o]&&o++:(n.add(a[i]),i++,o++)}return n},t.SortedSet.prototype.clone=function(){var e=new t.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},t.SortedSet.prototype.union=function(t){var e,n,i;return this.length>=t.length?(e=this,n=t):(e=t,n=this),i=e.clone(),i.add.apply(i,n.toArray()),i},t.SortedSet.prototype.toJSON=function(){return this.toArray()},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.Store,this.tokenStore=new t.TokenStore,this.corpusTokens=new t.SortedSet,this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},t.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;return n._fields=e.fields,n._ref=e.ref,n.documentStore=t.Store.load(e.documentStore),n.tokenStore=t.TokenStore.load(e.tokenStore),n.corpusTokens=t.SortedSet.load(e.corpusTokens),n.pipeline=t.Pipeline.load(e.pipeline),n},t.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},t.Index.prototype.ref=function(t){return this._ref=t,this},t.Index.prototype.add=function(e,n){var i={},o=new t.SortedSet,r=e[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(n){var r=this.pipeline.run(t.tokenizer(e[n.name]));i[n.name]=r,t.SortedSet.prototype.add.apply(o,r)},this),this.documentStore.set(r,o),t.SortedSet.prototype.add.apply(this.corpusTokens,o.toArray());for(var s=0;s0&&(i=1+Math.log(this.documentStore.length/n)),this._idfCache[e]=i},t.Index.prototype.search=function(e){var n=this.pipeline.run(t.tokenizer(e)),i=new t.Vector,o=[],r=this._fields.reduce(function(t,e){return t+e.boost},0),s=n.some(function(t){return this.tokenStore.has(t)},this);if(!s)return[];n.forEach(function(e,n,s){var a=1/s.length*this._fields.length*r,h=this,l=this.tokenStore.expand(e).reduce(function(n,o){var r=h.corpusTokens.indexOf(o),s=h.idf(o),l=1,u=new t.SortedSet;if(o!==e){var c=Math.max(3,o.length-e.length);l=1/Math.log(c)}return r>-1&&i.insert(r,a*s*l),Object.keys(h.tokenStore.get(o)).forEach(function(t){u.add(t)}),n.union(u)},new t.SortedSet);o.push(l)},this);var a=o.reduce(function(t,e){return t.intersect(e)});return a.map(function(t){return{ref:t,score:i.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},t.Index.prototype.documentVector=function(e){for(var n=this.documentStore.get(e),i=n.length,o=new t.Vector,r=0;i>r;r++){var s=n.elements[r],a=this.tokenStore.get(s)[e].tf,h=this.idf(s);o.insert(this.corpusTokens.indexOf(s),a*h)}return o},t.Index.prototype.toJSON=function(){return{version:t.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},t.Store=function(){this.store={},this.length=0},t.Store.load=function(e){var n=new this;return n.length=e.length,n.store=Object.keys(e.store).reduce(function(n,i){return n[i]=t.SortedSet.load(e.store[i]),n},{}),n},t.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},t.Store.prototype.get=function(t){return this.store[t]},t.Store.prototype.has=function(t){return t in this.store},t.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},t.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},t.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i="[aeiouy]",o=n+"[^aeiouy]*",r=i+"[aeiou]*",s="^("+o+")?"+r+o,a="^("+o+")?"+r+o+"("+r+")?$",h="^("+o+")?"+r+o+r+o,l="^("+o+")?"+i,u=new RegExp(s),c=new RegExp(h),f=new RegExp(a),d=new RegExp(l),p=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,y=/^(.+?)(ed|ing)$/,g=/.$/,S=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+o+i+"[^aeiouwxy]$"),k=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,_=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,F=/^(.+?)(s|t)(ion)$/,O=/^(.+?)e$/,P=/ll$/,N=new RegExp("^"+o+i+"[^aeiouwxy]$"),T=function(n){var i,o,r,s,a,h,l;if(n.length<3)return n;if(r=n.substr(0,1),"y"==r&&(n=r.toUpperCase()+n.substr(1)),s=p,a=m,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=v,a=y,s.test(n)){var T=s.exec(n);s=u,s.test(T[1])&&(s=g,n=n.replace(s,""))}else if(a.test(n)){var T=a.exec(n);i=T[1],a=d,a.test(i)&&(n=i,a=S,h=w,l=x,a.test(n)?n+="e":h.test(n)?(s=g,n=n.replace(s,"")):l.test(n)&&(n+="e"))}if(s=k,s.test(n)){var T=s.exec(n);i=T[1],n=i+"i"}if(s=b,s.test(n)){var T=s.exec(n);i=T[1],o=T[2],s=u,s.test(i)&&(n=i+t[o])}if(s=E,s.test(n)){var T=s.exec(n);i=T[1],o=T[2],s=u,s.test(i)&&(n=i+e[o])}if(s=_,a=F,s.test(n)){var T=s.exec(n);i=T[1],s=c,s.test(i)&&(n=i)}else if(a.test(n)){var T=a.exec(n);i=T[1]+T[2],a=c,a.test(i)&&(n=i)}if(s=O,s.test(n)){var T=s.exec(n);i=T[1],s=c,a=f,h=N,(s.test(i)||a.test(i)&&!h.test(i))&&(n=i)}return s=P,a=c,s.test(n)&&a.test(n)&&(s=g,n=n.replace(s,"")),"y"==r&&(n=r.toLowerCase()+n.substr(1)),n};return T}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.stopWordFilter=function(e){return e&&t.stopWordFilter.stopWords[e]!==e?e:void 0},t.stopWordFilter.stopWords={a:"a",able:"able",about:"about",across:"across",after:"after",all:"all",almost:"almost",also:"also",am:"am",among:"among",an:"an",and:"and",any:"any",are:"are",as:"as",at:"at",be:"be",because:"because",been:"been",but:"but",by:"by",can:"can",cannot:"cannot",could:"could",dear:"dear",did:"did","do":"do",does:"does",either:"either","else":"else",ever:"ever",every:"every","for":"for",from:"from",get:"get",got:"got",had:"had",has:"has",have:"have",he:"he",her:"her",hers:"hers",him:"him",his:"his",how:"how",however:"however",i:"i","if":"if","in":"in",into:"into",is:"is",it:"it",its:"its",just:"just",least:"least",let:"let",like:"like",likely:"likely",may:"may",me:"me",might:"might",most:"most",must:"must",my:"my",neither:"neither",no:"no",nor:"nor",not:"not",of:"of",off:"off",often:"often",on:"on",only:"only",or:"or",other:"other",our:"our",own:"own",rather:"rather",said:"said",say:"say",says:"says",she:"she",should:"should",since:"since",so:"so",some:"some",than:"than",that:"that",the:"the",their:"their",them:"them",then:"then",there:"there",these:"these",they:"they","this":"this",tis:"tis",to:"to",too:"too",twas:"twas",us:"us",wants:"wants",was:"was",we:"we",were:"were",what:"what",when:"when",where:"where",which:"which","while":"while",who:"who",whom:"whom",why:"why",will:"will","with":"with",would:"would",yet:"yet",you:"you",your:"your"},t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(t){var e=t.replace(/^\W+/,"").replace(/\W+$/,"");return""===e?void 0:e},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.TokenStore=function(){this.root={docs:{}},this.length=0},t.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},t.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,i=t[0],o=t.slice(1);return i in n||(n[i]={docs:{}}),0===o.length?(n[i].docs[e.ref]=e,void(this.length+=1)):this.add(o,e,n[i])},t.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;n element for each result
+ res.results.forEach(function(res) {
+ var $li = $('', {
+ 'class': 'search-results-item'
+ });
+
+ var $title = $('