Browse Source
# Conflicts: # bi/widget.css # dist/bundle.css # dist/bundle.min.css # dist/widget.css # src/addons/slider/css/singleslider/slider/widget.slider.css # src/addons/slider/less/singleslider/slider/widget.slider.lesses6
imp
7 years ago
554 changed files with 106150 additions and 71520 deletions
@ -0,0 +1,20 @@
|
||||
.bi-single-slider-slider .slider-button { |
||||
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
||||
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
||||
-webkit-border-radius: 7px; |
||||
-moz-border-radius: 7px; |
||||
border-radius: 7px; |
||||
} |
||||
.bi-slider-track .gray-track { |
||||
background-color: rgba(153, 153, 153, 0.3); |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d999999,endColorstr=#4d999999); |
||||
-webkit-border-radius: 3px; |
||||
-moz-border-radius: 3px; |
||||
border-radius: 3px; |
||||
} |
||||
.bi-slider-track .blue-track { |
||||
-webkit-border-radius: 3px; |
||||
-moz-border-radius: 3px; |
||||
border-radius: 3px; |
||||
} |
@ -0,0 +1,25 @@
|
||||
Demo.RichEditor = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "demo-rich-editor" |
||||
}, |
||||
render: function () { |
||||
this.editor = BI.createWidget({ |
||||
type: "bi.rich_editor", |
||||
cls: "mvc-border", |
||||
width: 600, |
||||
height: 400 |
||||
}); |
||||
BI.createWidget({ |
||||
type: "bi.vertical", |
||||
element: this, |
||||
hgap: 30, |
||||
vgap: 50, |
||||
items: [this.editor] |
||||
}) |
||||
}, |
||||
|
||||
mounted: function(){ |
||||
this.editor.setValue('这是一条<font size="4" color="#009de3">测试</font>数据') |
||||
} |
||||
}); |
||||
BI.shortcut("demo.rich_editor", Demo.RichEditor); |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,60 @@
|
||||
Demo = { |
||||
version: 1.0 |
||||
}; |
||||
|
||||
if (!window.BI) { |
||||
window.BI = {}; |
||||
} |
||||
BI.servletURL = ""; |
||||
BI.resourceURL = "resource/"; |
||||
BI.i18n = { |
||||
"BI-Basic_OK": "确定", |
||||
"BI-Basic_Sure": "确定", |
||||
"BI-Basic_Clears": "清空", |
||||
"BI-Basic_Cancel": "取消", |
||||
"BI-Basic_Time": "时间", |
||||
"BI-Basic_Simple_Sunday": "日", |
||||
"BI-Basic_Simple_Monday": "一", |
||||
"BI-Basic_Simple_Tuesday": "二", |
||||
"BI-Basic_Simple_Wednesday": "三", |
||||
"BI-Basic_Simple_Thursday": "四", |
||||
"BI-Basic_Simple_Friday": "五", |
||||
"BI-Basic_Simple_Saturday": "六", |
||||
"BI-Multi_Date_Year": "年", |
||||
"BI-Multi_Date_Month": "月", |
||||
"BI-Multi_Date_Quarter": "季度", |
||||
"BI-Basic_Unrestricted": "无限制", |
||||
"BI-Quarter_1": "第1季度", |
||||
"BI-Quarter_2": "第2季度", |
||||
"BI-Quarter_3": "第3季度", |
||||
"BI-Quarter_4": "第4季度", |
||||
"BI-Basic_Value": "值", |
||||
"BI-Load_More": "加载更多", |
||||
"BI-Select_All": "全选", |
||||
"BI-No_More_Data": "无更多数据", |
||||
"BI-No_Selected_Value": "没有可选项", |
||||
"BI-Basic_Clear": "清除", |
||||
"BI-Multi_Date_Relative_Current_Time": "相对当前时间", |
||||
"BI-Multi_Date_Year_Prev": "年前", |
||||
"BI-Multi_Date_Year_Next": "年后", |
||||
"BI-Multi_Date_Year_Begin": "年初", |
||||
"BI-Multi_Date_Year_End": "年末", |
||||
"BI-Multi_Date_Quarter_Prev": "个季度前", |
||||
"BI-Multi_Date_Quarter_Next": "个季度后", |
||||
"BI-Multi_Date_Quarter_Begin": "季度初", |
||||
"BI-Multi_Date_Quarter_End": "季度末", |
||||
"BI-Multi_Date_Month_Prev": "个月前", |
||||
"BI-Multi_Date_Month_Next": "个月后", |
||||
"BI-Multi_Date_Month_Begin": "月初", |
||||
"BI-Multi_Date_Month_End": "月末", |
||||
"BI-Multi_Date_Week_Prev": "周前", |
||||
"BI-Multi_Date_Week_Next": "周后", |
||||
"BI-Multi_Date_Day_Prev": "天前", |
||||
"BI-Multi_Date_Day_Next": "天后", |
||||
"BI-Multi_Date_Today": "今天", |
||||
"BI-Date_Trigger_Error_Text": "日期格式示例\\:2015-3-11", |
||||
"BI-Year_Trigger_Invalid_Text": "请输入有效时间", |
||||
"BI-Multi_Date_YMD": "年/月/日", |
||||
"BI-Multi_Date_Week": "周", |
||||
"BI-Multi_Date_Day": "天" |
||||
}; |
@ -0,0 +1,20 @@
|
||||
.bi-single-slider-slider .slider-button { |
||||
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
||||
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
||||
-webkit-border-radius: 7px; |
||||
-moz-border-radius: 7px; |
||||
border-radius: 7px; |
||||
} |
||||
.bi-slider-track .gray-track { |
||||
background-color: rgba(153, 153, 153, 0.3); |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d999999,endColorstr=#4d999999); |
||||
-webkit-border-radius: 3px; |
||||
-moz-border-radius: 3px; |
||||
border-radius: 3px; |
||||
} |
||||
.bi-slider-track .blue-track { |
||||
-webkit-border-radius: 3px; |
||||
-moz-border-radius: 3px; |
||||
border-radius: 3px; |
||||
} |
@ -0,0 +1,5 @@
|
||||
# 通用规范 |
||||
1. 控件都会提供setValue, getValue, populate这几个方法来设置值,获取值(展示类控件除外)和刷新控件 |
||||
2. 控件都会提供setEnable, setVisible, setValid这几个方法来设置使能,是否可见,是否有效状态,并且在fineui2.0之后,会自动给子组件设置同样的状态,不要重写这些方法,一些需要在设置状态时的额外操作可以通过重写_setXXX来实现 |
||||
3. 使用populate来清空或者重置布局,不要使用empty, 慎用resize |
||||
4. 谨慎监听和触发BI.Controller.EVENT_CHANGE事件,一般来说,控件都会有一个BI.ClassName.EVENT_CHANGE事件,一些特殊的事件会在对应控件文档中列出 |
@ -0,0 +1,20 @@
|
||||
# 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) |
||||
|
@ -0,0 +1,3 @@
|
||||
## 开发教程 |
||||
|
||||
KMS: [http://www.finedevelop.com/pages/viewpage.action?pageId=15330077](http://www.finedevelop.com/pages/viewpage.action?pageId=15330077) |
@ -1,7 +1,11 @@
|
||||
# Summary |
||||
|
||||
## 总览 |
||||
* [文档规范](README.md) |
||||
* [概览](README.md) |
||||
* [起步](START.md) |
||||
|
||||
## 通用规范 |
||||
* [通用规范](OVERVIEW.md) |
||||
|
||||
## 核心控件 |
||||
* 布局 |
@ -0,0 +1,14 @@
|
||||
.DS_Store |
||||
.svn |
||||
.sass-cache |
||||
.vscode |
||||
.tmp |
||||
node_modules |
||||
bower_components |
||||
tmp |
||||
dist |
||||
archive |
||||
archive.zip |
||||
*.log |
||||
#_book |
||||
test |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue