Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zui
提交
1795cb87
Z
zui
项目概览
易企天创
/
zui
11 个月 前同步成功
通知
6
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
37
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
37
Issue
37
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
1795cb87
编写于
7月 16, 2014
作者:
C
Catouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* rebuilt assets with gruntjs.
上级
f774ca00
变更
15
展开全部
显示空白变更内容
内联
并排
Showing
15 changed file
with
2748 addition
and
1761 deletion
+2748
-1761
Gruntfile.js
Gruntfile.js
+58
-11
assets/chartjs/chart.line.js
assets/chartjs/chart.line.js
+87
-869
assets/chartjs/chart.line.min.js
assets/chartjs/chart.line.min.js
+10
-1
assets/chosen/css/chosen.css
assets/chosen/css/chosen.css
+1
-1
assets/chosen/css/chosen.min.css
assets/chosen/css/chosen.min.css
+1
-1
assets/chosen/js/chosen.all.js
assets/chosen/js/chosen.all.js
+1387
-0
assets/chosen/js/chosen.all.min.js
assets/chosen/js/chosen.all.min.js
+11
-3
assets/chosen/js/chosen.icons.js
assets/chosen/js/chosen.icons.js
+9
-0
assets/chosen/js/chosen.icons.min.js
assets/chosen/js/chosen.icons.min.js
+10
-1
assets/datetimepicker/css/datetimepicker.min.css
assets/datetimepicker/css/datetimepicker.min.css
+1
-1
assets/datetimepicker/js/datetimepicker.min.js
assets/datetimepicker/js/datetimepicker.min.js
+10
-1
assets/kindeditor/themes/default/default.css
assets/kindeditor/themes/default/default.css
+1083
-1
docs/mindmap.html
docs/mindmap.html
+2
-2
src/js/chart.line.js
src/js/chart.line.js
+78
-869
src/less/kindeditor-theme.default.less
src/less/kindeditor-theme.default.less
+0
-0
未找到文件。
Gruntfile.js
浏览文件 @
1795cb87
...
...
@@ -43,7 +43,7 @@ module.exports = function(grunt)
{
options
:
{
banner
:
banner
+
statement
,
banner
:
banner
,
stripBanners
:
false
},
js
:
...
...
@@ -89,12 +89,17 @@ module.exports = function(grunt)
},
mindmap
:
{
options
:
{
banner
:
banner
},
src
:
[
srcPath
+
'
js/mindmap.js
'
],
dest
:
distJsPath
+
'
<%= pkg.name %>-mindmap.js
'
},
assets
:
{
files
:
{
'
assets/chartjs/chart.line.js
'
:
srcPath
+
'
js/chart.line.js
'
,
'
assets/chosen/js/chosen.icons.js
'
:
srcPath
+
'
js/chosen.icons.js
'
,
'
assets/chosen/js/chosen.all.js
'
:
[
'
assets/chosen/js/chosen.jquery.js
'
,
'
assets/chosen/js/chosen.icons.js
'
]
}
}
},
...
...
@@ -102,18 +107,29 @@ module.exports = function(grunt)
{
options
:
{
banner
:
banner
+
statement
banner
:
banner
},
js
:
{
options
:
{
banner
:
banner
+
statement
},
src
:
[
'
<%= concat.js.dest %>
'
],
dest
:
distJsPath
+
'
<%= pkg.name %>.min.js
'
},
mindmap
:
{
options
:
{
banner
:
banner
},
src
:
[
'
<%= concat.mindmap.dest %>
'
],
dest
:
distJsPath
+
'
<%= pkg.name %>-mindmap.min.js
'
},
assets
:
{
files
:
{
'
assets/chartjs/chart.line.min.js
'
:
'
assets/chartjs/chart.line.js
'
,
'
assets/chosen/js/chosen.icons.min.js
'
:
'
assets/chosen/js/chosen.icons.js
'
,
'
assets/chosen/js/chosen.all.min.js
'
:
'
assets/chosen/js/chosen.all.js
'
,
'
assets/datetimepicker/js/datetimepicker.min.js
'
:
'
assets/datetimepicker/js/datetimepicker.js
'
}
}
},
...
...
@@ -177,6 +193,33 @@ module.exports = function(grunt)
'
dist/css/<%= pkg.name %>-theme.min.css
'
:
distPath
+
'
css/<%= pkg.name %>-theme.css
'
,
'
dist/css/<%= pkg.name %>-mindmap.min.css
'
:
distPath
+
'
css/<%= pkg.name %>-mindmap.css
'
}
},
assets
:
{
options
:
{
strictMath
:
true
,
sourceMap
:
false
},
files
:
{
'
assets/datetimepicker/css/datetimepicker.css
'
:
srcPath
+
'
less/datetimepicker.less
'
,
'
assets/kindeditor/themes/default/default.css
'
:
srcPath
+
'
less/kindeditor-theme.default.less
'
,
'
assets/chosen/css/chosen.css
'
:
srcPath
+
'
less/chosen.less
'
}
},
'
assets-min
'
:
{
options
:
{
cleancss
:
true
,
report
:
'
min
'
},
files
:
{
'
assets/datetimepicker/css/datetimepicker.min.css
'
:
'
assets/datetimepicker/css/datetimepicker.css
'
,
'
assets/chosen/css/chosen.min.css
'
:
'
assets/chosen/css/chosen.css
'
}
}
},
...
...
@@ -224,11 +267,15 @@ module.exports = function(grunt)
// These plugins provide necessary tasks.
require
(
'
load-grunt-tasks
'
)(
grunt
,
{
scope
:
'
devDependencies
'
});
//
JS d
istribution task
grunt
.
registerTask
(
'
dist-js
'
,
[
'
concat
'
,
'
uglify
'
]);
grunt
.
registerTask
(
'
dist-css
'
,
[
'
less
'
,
'
csscomb
'
,
'
usebanner
'
]);
//
D
istribution task
grunt
.
registerTask
(
'
dist-js
'
,
[
'
concat
:mindmap
'
,
'
concat:js
'
,
'
uglify:js
'
,
'
uglify:mindmap
'
]);
grunt
.
registerTask
(
'
dist-css
'
,
[
'
less
:zui
'
,
'
less:theme
'
,
'
less:mindmap
'
,
'
less:min
'
,
'
csscomb
'
,
'
usebanner
'
]);
grunt
.
registerTask
(
'
dist-fonts
'
,
[
'
copy:fonts
'
]);
grunt
.
registerTask
(
'
dist
'
,
[
'
clean
'
,
'
dist-js
'
,
'
dist-css
'
,
'
dist-fonts
'
]);
// assets componets task
grunt
.
registerTask
(
'
assets
'
,
[
'
less:assets
'
,
'
less:assets-min
'
,
'
concat:assets
'
,
'
uglify:assets
'
]);
// The default task
grunt
.
registerTask
(
'
default
'
,
[
'
clean
'
,
'
dist-js
'
,
'
dist-css
'
,
'
dist-fon
ts
'
]);
grunt
.
registerTask
(
'
default
'
,
[
'
dist
'
,
'
asse
ts
'
]);
}
assets/chartjs/chart.line.js
浏览文件 @
1795cb87
此差异已折叠。
点击以展开。
assets/chartjs/chart.line.min.js
浏览文件 @
1795cb87
window
.
Chart
=
function
(
t
){
function
e
(
t
,
e
,
i
){
var
n
=
e
.
steps
*
e
.
stepValue
,
o
=
t
-
e
.
graphMin
,
a
=
s
(
o
/
n
,
1
,
0
);
return
i
*
e
.
steps
*
a
}
function
i
(
t
,
e
,
i
,
n
){
function
o
(){
var
o
=
t
.
animation
?
s
(
d
(
l
),
null
,
0
):
1
;
f
(
n
),
t
.
scaleOverlay
?(
i
(
o
),
e
()):(
e
(),
i
(
o
))}
function
a
(){
l
+=
r
,
o
(),
1
>=
l
?
v
(
a
):
"
function
"
==
typeof
t
.
onAnimationComplete
&&
t
.
onAnimationComplete
()}
var
r
=
t
.
animation
?
1
/
s
(
t
.
animationSteps
,
Number
.
MAX_VALUE
,
1
):
1
,
d
=
c
[
t
.
animationEasing
],
l
=
t
.
animation
?
0
:
1
;
"
function
"
!=
typeof
e
&&
(
e
=
function
(){}),
v
(
a
)}
function
n
(
t
,
e
,
i
,
n
,
a
,
s
){
function
r
(
t
){
return
Math
.
floor
(
Math
.
log
(
t
)
/
Math
.
LN10
)}
var
d
,
l
,
h
,
c
,
p
,
u
,
f
;
for
(
u
=
n
-
a
,
f
=
r
(
u
),
d
=
Math
.
floor
(
a
/
(
1
*
Math
.
pow
(
10
,
f
)))
*
Math
.
pow
(
10
,
f
),
l
=
Math
.
ceil
(
n
/
(
1
*
Math
.
pow
(
10
,
f
)))
*
Math
.
pow
(
10
,
f
),
h
=
l
-
d
,
c
=
Math
.
pow
(
10
,
f
),
p
=
Math
.
round
(
h
/
c
);
i
>
p
||
p
>
e
;)
i
>
p
?(
c
/=
2
,
p
=
Math
.
round
(
h
/
c
)):(
c
*=
2
,
p
=
Math
.
round
(
h
/
c
));
var
g
=
[];
return
o
(
s
,
g
,
p
,
d
,
c
),{
steps
:
p
,
stepValue
:
c
,
graphMin
:
d
,
labels
:
g
}}
function
o
(
t
,
e
,
i
,
n
,
o
){
if
(
t
)
for
(
var
a
=
1
;
i
+
1
>
a
;
a
++
)
e
.
push
(
l
(
t
,{
value
:(
n
+
o
*
a
).
toFixed
(
r
(
o
))}))}
function
a
(
t
){
return
!
isNaN
(
parseFloat
(
t
))
&&
isFinite
(
t
)}
function
s
(
t
,
e
,
i
){
return
a
(
e
)
&&
t
>
e
?
e
:
a
(
i
)
&&
i
>
t
?
i
:
t
}
function
r
(
t
){
return
0
!=
t
%
1
?
t
.
toString
().
split
(
"
.
"
)[
1
].
length
:
0
}
function
d
(
t
,
e
){
var
i
=
{};
for
(
var
n
in
t
)
i
[
n
]
=
t
[
n
];
for
(
var
n
in
e
)
i
[
n
]
=
e
[
n
];
return
i
}
function
l
(
t
,
e
){
var
i
=
/
\W
/
.
test
(
t
)?
new
Function
(
"
obj
"
,
"
var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('
"
+
t
.
replace
(
/
[\r\t\n]
/g
,
"
"
).
split
(
"
<%
"
).
join
(
"
"
).
replace
(
/
((
^|%>
)[^\t]
*
)
'/g
,
"
$1
\r
"
).
replace
(
/
\t
=
(
.*
?)
%>/g
,
"
',$1,'
"
).
split
(
"
"
).
join
(
"
');
"
).
split
(
"
%>
"
).
join
(
"
p.push('
"
).
split
(
"
\r
"
).
join
(
"
\\
'
"
)
+
"
');}return p.join('');
"
):
m
[
t
]
=
m
[
t
]
||
l
(
document
.
getElementById
(
t
).
innerHTML
);
return
e
?
i
(
e
):
i
}
var
h
=
this
,
c
=
{
linear
:
function
(
t
){
return
t
},
easeInQuad
:
function
(
t
){
return
t
*
t
},
easeOutQuad
:
function
(
t
){
return
-
1
*
t
*
(
t
-
2
)},
easeInOutQuad
:
function
(
t
){
return
(
t
/=
.
5
)
<
1
?.
5
*
t
*
t
:
-
0.5
*
(
--
t
*
(
t
-
2
)
-
1
)},
easeInCubic
:
function
(
t
){
return
t
*
t
*
t
},
easeOutCubic
:
function
(
t
){
return
1
*
((
t
=
t
/
1
-
1
)
*
t
*
t
+
1
)},
easeInOutCubic
:
function
(
t
){
return
(
t
/=
.
5
)
<
1
?.
5
*
t
*
t
*
t
:.
5
*
((
t
-=
2
)
*
t
*
t
+
2
)},
easeInQuart
:
function
(
t
){
return
t
*
t
*
t
*
t
},
easeOutQuart
:
function
(
t
){
return
-
1
*
((
t
=
t
/
1
-
1
)
*
t
*
t
*
t
-
1
)},
easeInOutQuart
:
function
(
t
){
return
(
t
/=
.
5
)
<
1
?.
5
*
t
*
t
*
t
*
t
:
-
0.5
*
((
t
-=
2
)
*
t
*
t
*
t
-
2
)},
easeInQuint
:
function
(
t
){
return
1
*
(
t
/=
1
)
*
t
*
t
*
t
*
t
},
easeOutQuint
:
function
(
t
){
return
1
*
((
t
=
t
/
1
-
1
)
*
t
*
t
*
t
*
t
+
1
)},
easeInOutQuint
:
function
(
t
){
return
(
t
/=
.
5
)
<
1
?.
5
*
t
*
t
*
t
*
t
*
t
:.
5
*
((
t
-=
2
)
*
t
*
t
*
t
*
t
+
2
)},
easeInSine
:
function
(
t
){
return
-
1
*
Math
.
cos
(
t
/
1
*
(
Math
.
PI
/
2
))
+
1
},
easeOutSine
:
function
(
t
){
return
1
*
Math
.
sin
(
t
/
1
*
(
Math
.
PI
/
2
))},
easeInOutSine
:
function
(
t
){
return
-
0.5
*
(
Math
.
cos
(
Math
.
PI
*
t
/
1
)
-
1
)},
easeInExpo
:
function
(
t
){
return
0
==
t
?
1
:
1
*
Math
.
pow
(
2
,
10
*
(
t
/
1
-
1
))},
easeOutExpo
:
function
(
t
){
return
1
==
t
?
1
:
1
*
(
-
Math
.
pow
(
2
,
-
10
*
t
/
1
)
+
1
)},
easeInOutExpo
:
function
(
t
){
return
0
==
t
?
0
:
1
==
t
?
1
:(
t
/=
.
5
)
<
1
?.
5
*
Math
.
pow
(
2
,
10
*
(
t
-
1
)):.
5
*
(
-
Math
.
pow
(
2
,
-
10
*--
t
)
+
2
)},
easeInCirc
:
function
(
t
){
return
t
>=
1
?
t
:
-
1
*
(
Math
.
sqrt
(
1
-
(
t
/=
1
)
*
t
)
-
1
)},
easeOutCirc
:
function
(
t
){
return
1
*
Math
.
sqrt
(
1
-
(
t
=
t
/
1
-
1
)
*
t
)},
easeInOutCirc
:
function
(
t
){
return
(
t
/=
.
5
)
<
1
?
-
0.5
*
(
Math
.
sqrt
(
1
-
t
*
t
)
-
1
):.
5
*
(
Math
.
sqrt
(
1
-
(
t
-=
2
)
*
t
)
+
1
)},
easeInElastic
:
function
(
t
){
var
e
=
1.70158
,
i
=
0
,
n
=
1
;
if
(
0
==
t
)
return
0
;
if
(
1
==
(
t
/=
1
))
return
1
;
if
(
i
||
(
i
=
.
3
),
n
<
Math
.
abs
(
1
)){
n
=
1
;
var
e
=
i
/
4
}
else
var
e
=
i
/
(
2
*
Math
.
PI
)
*
Math
.
asin
(
1
/
n
);
return
-
(
n
*
Math
.
pow
(
2
,
10
*
(
t
-=
1
))
*
Math
.
sin
((
1
*
t
-
e
)
*
2
*
Math
.
PI
/
i
))},
easeOutElastic
:
function
(
t
){
var
e
=
1.70158
,
i
=
0
,
n
=
1
;
if
(
0
==
t
)
return
0
;
if
(
1
==
(
t
/=
1
))
return
1
;
if
(
i
||
(
i
=
.
3
),
n
<
Math
.
abs
(
1
)){
n
=
1
;
var
e
=
i
/
4
}
else
var
e
=
i
/
(
2
*
Math
.
PI
)
*
Math
.
asin
(
1
/
n
);
return
n
*
Math
.
pow
(
2
,
-
10
*
t
)
*
Math
.
sin
((
1
*
t
-
e
)
*
2
*
Math
.
PI
/
i
)
+
1
},
easeInOutElastic
:
function
(
t
){
var
e
=
1.70158
,
i
=
0
,
n
=
1
;
if
(
0
==
t
)
return
0
;
if
(
2
==
(
t
/=
.
5
))
return
1
;
if
(
i
||
(
i
=
1
*
.
3
*
1.5
),
n
<
Math
.
abs
(
1
)){
n
=
1
;
var
e
=
i
/
4
}
else
var
e
=
i
/
(
2
*
Math
.
PI
)
*
Math
.
asin
(
1
/
n
);
return
1
>
t
?
-
.
5
*
n
*
Math
.
pow
(
2
,
10
*
(
t
-=
1
))
*
Math
.
sin
((
1
*
t
-
e
)
*
2
*
Math
.
PI
/
i
):.
5
*
n
*
Math
.
pow
(
2
,
-
10
*
(
t
-=
1
))
*
Math
.
sin
((
1
*
t
-
e
)
*
2
*
Math
.
PI
/
i
)
+
1
},
easeInBack
:
function
(
t
){
var
e
=
1.70158
;
return
1
*
(
t
/=
1
)
*
t
*
((
e
+
1
)
*
t
-
e
)},
easeOutBack
:
function
(
t
){
var
e
=
1.70158
;
return
1
*
((
t
=
t
/
1
-
1
)
*
t
*
((
e
+
1
)
*
t
+
e
)
+
1
)},
easeInOutBack
:
function
(
t
){
var
e
=
1.70158
;
return
(
t
/=
.
5
)
<
1
?.
5
*
t
*
t
*
(((
e
*=
1.525
)
+
1
)
*
t
-
e
):.
5
*
((
t
-=
2
)
*
t
*
(((
e
*=
1.525
)
+
1
)
*
t
+
e
)
+
2
)},
easeInBounce
:
function
(
t
){
return
1
-
c
.
easeOutBounce
(
1
-
t
)},
easeOutBounce
:
function
(
t
){
return
(
t
/=
1
)
<
1
/
2.75
?
1
*
7.5625
*
t
*
t
:
2
/
2.75
>
t
?
1
*
(
7.5625
*
(
t
-=
1.5
/
2.75
)
*
t
+
.
75
):
2.5
/
2.75
>
t
?
1
*
(
7.5625
*
(
t
-=
2.25
/
2.75
)
*
t
+
.
9375
):
1
*
(
7.5625
*
(
t
-=
2.625
/
2.75
)
*
t
+
.
984375
)},
easeInOutBounce
:
function
(
t
){
return
.
5
>
t
?.
5
*
c
.
easeInBounce
(
2
*
t
):.
5
*
c
.
easeOutBounce
(
2
*
t
-
1
)
+
.
5
}},
p
=
t
.
canvas
.
width
,
u
=
t
.
canvas
.
height
;
window
.
devicePixelRatio
&&
(
t
.
canvas
.
style
.
width
=
p
+
"
px
"
,
t
.
canvas
.
style
.
height
=
u
+
"
px
"
,
t
.
canvas
.
height
=
u
*
window
.
devicePixelRatio
,
t
.
canvas
.
width
=
p
*
window
.
devicePixelRatio
,
t
.
scale
(
window
.
devicePixelRatio
,
window
.
devicePixelRatio
)),
this
.
Line
=
function
(
e
,
i
){
h
.
Line
.
defaults
=
{
scaleOverlay
:
!
1
,
scaleOverride
:
!
1
,
scaleSteps
:
null
,
scaleStepWidth
:
null
,
scaleStartValue
:
null
,
scaleLineColor
:
"
rgba(0,0,0,.1)
"
,
scaleLineWidth
:
1
,
scaleShowLabels
:
!
1
,
scaleLabel
:
"
<%=value%>
"
,
scaleFontFamily
:
"
'Arial'
"
,
scaleFontSize
:
12
,
scaleFontStyle
:
"
normal
"
,
scaleFontColor
:
"
#666
"
,
scaleShowGridLines
:
!
1
,
scaleGridLineColor
:
"
rgba(0,0,0,.05)
"
,
scaleGridLineWidth
:
1
,
bezierCurve
:
!
0
,
pointDot
:
!
1
,
pointDotRadius
:
4
,
pointDotStrokeWidth
:
2
,
datasetStroke
:
!
0
,
datasetStrokeWidth
:
1
,
datasetFill
:
!
0
,
animation
:
!
0
,
animationSteps
:
30
,
animationEasing
:
"
easeOutQuart
"
,
onAnimationComplete
:
null
};
var
n
=
i
?
d
(
h
.
Line
.
defaults
,
i
):
h
.
Line
.
defaults
;
return
new
g
(
e
,
n
,
t
)};
var
f
=
function
(
t
){
t
.
clearRect
(
0
,
0
,
p
,
u
)},
g
=
function
(
t
,
a
,
s
){
function
r
(
i
){
function
n
(
n
,
o
){
return
D
-
i
*
e
(
t
.
datasets
[
n
].
data
[
o
],
v
,
g
)}
function
o
(
t
){
return
T
+
x
*
t
}
for
(
var
r
=
0
;
r
<
t
.
datasets
.
length
;
r
++
){
s
.
strokeStyle
=
t
.
datasets
[
r
].
strokeColor
,
s
.
lineWidth
=
a
.
datasetStrokeWidth
,
s
.
beginPath
(),
s
.
moveTo
(
T
,
D
-
i
*
e
(
t
.
datasets
[
r
].
data
[
0
],
v
,
g
));
for
(
var
d
=
1
;
d
<
t
.
datasets
[
r
].
data
.
length
;
d
++
)
a
.
bezierCurve
?
s
.
bezierCurveTo
(
o
(
d
-
.
5
),
n
(
r
,
d
-
1
),
o
(
d
-
.
5
),
n
(
r
,
d
),
o
(
d
),
n
(
r
,
d
)):
s
.
lineTo
(
o
(
d
),
n
(
r
,
d
));
if
(
s
.
stroke
(),
a
.
datasetFill
?(
s
.
lineTo
(
T
+
x
*
(
t
.
datasets
[
r
].
data
.
length
-
1
),
D
),
s
.
lineTo
(
T
,
D
),
s
.
closePath
(),
s
.
fillStyle
=
t
.
datasets
[
r
].
fillColor
,
s
.
fill
()):
s
.
closePath
(),
a
.
pointDot
){
s
.
fillStyle
=
t
.
datasets
[
r
].
pointColor
,
s
.
strokeStyle
=
t
.
datasets
[
r
].
pointStrokeColor
,
s
.
lineWidth
=
a
.
pointDotStrokeWidth
;
for
(
var
l
=
0
;
l
<
t
.
datasets
[
r
].
data
.
length
;
l
++
)
s
.
beginPath
(),
s
.
arc
(
T
+
x
*
l
,
D
-
i
*
e
(
t
.
datasets
[
r
].
data
[
l
],
v
,
g
),
a
.
pointDotRadius
,
0
,
2
*
Math
.
PI
,
!
0
),
s
.
fill
(),
s
.
stroke
()}}}
function
d
(){
s
.
lineWidth
=
a
.
scaleLineWidth
,
s
.
strokeStyle
=
a
.
scaleLineColor
,
s
.
beginPath
(),
s
.
moveTo
(
p
-
C
/
2
+
5
,
D
),
s
.
lineTo
(
p
-
C
/
2
-
k
-
5
,
D
),
s
.
stroke
(),
$
>
0
?(
s
.
save
(),
s
.
textAlign
=
"
right
"
):
s
.
textAlign
=
"
center
"
,
s
.
fillStyle
=
a
.
scaleFontColor
;
for
(
var
e
=
0
;
e
<
t
.
labels
.
length
;
e
++
)
s
.
save
(),
s
.
beginPath
(),
s
.
moveTo
(
T
+
e
*
x
,
D
+
3
),
a
.
scaleShowGridLines
&&
e
>
0
?(
s
.
lineWidth
=
a
.
scaleGridLineWidth
,
s
.
strokeStyle
=
a
.
scaleGridLineColor
,
s
.
lineTo
(
T
+
e
*
x
,
5
)):
s
.
lineTo
(
T
+
e
*
x
,
D
+
3
),
s
.
stroke
();
s
.
lineWidth
=
a
.
scaleLineWidth
,
s
.
strokeStyle
=
a
.
scaleLineColor
,
s
.
textAlign
=
"
right
"
,
s
.
textBaseline
=
"
middle
"
;
for
(
var
i
=
0
;
i
<
v
.
steps
;
i
++
)
s
.
beginPath
(),
s
.
moveTo
(
T
-
3
,
D
-
(
i
+
1
)
*
g
),
a
.
scaleShowGridLines
?(
s
.
lineWidth
=
a
.
scaleGridLineWidth
,
s
.
strokeStyle
=
a
.
scaleGridLineColor
,
s
.
lineTo
(
T
+
k
+
5
,
D
-
(
i
+
1
)
*
g
)):
s
.
lineTo
(
T
-
.
5
,
D
-
(
i
+
1
)
*
g
),
s
.
stroke
(),
a
.
scaleShowLabels
&&
s
.
fillText
(
v
.
labels
[
i
],
T
-
8
,
D
-
(
i
+
1
)
*
g
)}
function
l
(){
k
=
p
,
x
=
k
/
(
t
.
labels
.
length
-
1
),
T
=
0
,
D
=
u
}
function
h
(){
f
=
u
,
s
.
font
=
a
.
scaleFontStyle
+
"
"
+
a
.
scaleFontSize
+
"
px
"
+
a
.
scaleFontFamily
,
C
=
1
;
for
(
var
e
=
0
;
e
<
t
.
labels
.
length
;
e
++
){
var
i
=
0
;
C
=
i
>
C
?
i
:
C
}
p
/
t
.
labels
.
length
<
C
?(
$
=
45
,
p
/
t
.
labels
.
length
<
Math
.
cos
(
$
)
*
C
?(
$
=
90
,
f
-=
C
):
f
-=
Math
.
sin
(
$
)
*
C
):
f
-=
a
.
scaleFontSize
,
m
=
a
.
scaleFontSize
,
f
=
u
,
y
=
f
}
function
c
(){
for
(
var
e
=
Number
.
MIN_VALUE
,
i
=
Number
.
MAX_VALUE
,
n
=
0
;
n
<
t
.
datasets
.
length
;
n
++
)
for
(
var
o
=
0
;
o
<
t
.
datasets
[
n
].
data
.
length
;
o
++
)
t
.
datasets
[
n
].
data
[
o
]
>
e
&&
(
e
=
t
.
datasets
[
n
].
data
[
o
]),
t
.
datasets
[
n
].
data
[
o
]
<
i
&&
(
i
=
t
.
datasets
[
n
].
data
[
o
]);
var
a
=
Math
.
floor
(
y
/
(.
66
*
m
)),
s
=
Math
.
floor
(.
5
*
(
y
/
m
));
return
{
maxValue
:
e
,
minValue
:
i
,
maxSteps
:
a
,
minSteps
:
s
}}
var
f
,
g
,
v
,
m
,
y
,
b
,
w
,
x
,
C
,
k
,
T
,
D
,
$
=
0
;
h
(),
b
=
c
(),
w
=
a
.
scaleShowLabels
?
a
.
scaleLabel
:
""
,
a
.
scaleOverride
?(
v
=
{
steps
:
a
.
scaleSteps
,
stepValue
:
a
.
scaleStepWidth
,
graphMin
:
a
.
scaleStartValue
,
labels
:[]},
o
(
w
,
v
.
labels
,
v
.
steps
,
a
.
scaleStartValue
,
a
.
scaleStepWidth
)):
v
=
n
(
y
,
b
.
maxSteps
,
b
.
minSteps
,
b
.
maxValue
,
b
.
minValue
,
w
),
g
=
Math
.
floor
(
y
/
v
.
steps
),
l
(),
i
(
a
,
d
,
r
,
s
)},
v
=
function
(){
return
window
.
requestAnimationFrame
||
window
.
webkitRequestAnimationFrame
||
window
.
mozRequestAnimationFrame
||
window
.
oRequestAnimationFrame
||
window
.
msRequestAnimationFrame
||
function
(
t
){
window
.
setTimeout
(
t
,
1
e3
/
60
)}}(),
m
=
{}};
\ No newline at end of file
/*!
* ====================================================
* ZUI - v1.1.0 - 2014-07-16
* https://github.com/easysoft/zui
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
*/
window
.
Chart
=
function
(
a
){
function
b
(
a
,
b
,
c
){
var
d
=
b
.
steps
*
b
.
stepValue
,
e
=
a
-
b
.
graphMin
,
f
=
g
(
e
/
d
,
1
,
0
);
return
c
*
b
.
steps
*
f
}
function
c
(
a
,
b
,
c
,
d
){
function
e
(){
var
e
=
a
.
animation
?
g
(
i
(
j
),
null
,
0
):
1
;
o
(
d
),
a
.
scaleOverlay
?(
c
(
e
),
b
()):(
b
(),
c
(
e
))}
function
f
(){
j
+=
h
,
e
(),
1
>=
j
?
q
(
f
):
"
function
"
==
typeof
a
.
onAnimationComplete
&&
a
.
onAnimationComplete
()}
var
h
=
a
.
animation
?
1
/
g
(
a
.
animationSteps
,
Number
.
MAX_VALUE
,
1
):
1
,
i
=
l
[
a
.
animationEasing
],
j
=
a
.
animation
?
0
:
1
;
"
function
"
!=
typeof
b
&&
(
b
=
function
(){}),
q
(
f
)}
function
d
(
a
,
b
,
c
,
d
,
f
,
g
){
function
h
(
a
){
return
Math
.
floor
(
Math
.
log
(
a
)
/
Math
.
LN10
)}
var
i
,
j
,
k
,
l
,
m
,
n
,
o
;
for
(
n
=
d
-
f
,
o
=
h
(
n
),
i
=
Math
.
floor
(
f
/
(
1
*
Math
.
pow
(
10
,
o
)))
*
Math
.
pow
(
10
,
o
),
j
=
Math
.
ceil
(
d
/
(
1
*
Math
.
pow
(
10
,
o
)))
*
Math
.
pow
(
10
,
o
),
k
=
j
-
i
,
l
=
Math
.
pow
(
10
,
o
),
m
=
Math
.
round
(
k
/
l
);
c
>
m
||
m
>
b
;)
c
>
m
?(
l
/=
2
,
m
=
Math
.
round
(
k
/
l
)):(
l
*=
2
,
m
=
Math
.
round
(
k
/
l
));
var
p
=
[];
return
e
(
g
,
p
,
m
,
i
,
l
),{
steps
:
m
,
stepValue
:
l
,
graphMin
:
i
,
labels
:
p
}}
function
e
(
a
,
b
,
c
,
d
,
e
){
if
(
a
)
for
(
var
f
=
1
;
c
+
1
>
f
;
f
++
)
b
.
push
(
j
(
a
,{
value
:(
d
+
e
*
f
).
toFixed
(
h
(
e
))}))}
function
f
(
a
){
return
!
isNaN
(
parseFloat
(
a
))
&&
isFinite
(
a
)}
function
g
(
a
,
b
,
c
){
return
f
(
b
)
&&
a
>
b
?
b
:
f
(
c
)
&&
c
>
a
?
c
:
a
}
function
h
(
a
){
return
a
%
1
!=
0
?
a
.
toString
().
split
(
"
.
"
)[
1
].
length
:
0
}
function
i
(
a
,
b
){
var
c
=
{};
for
(
var
d
in
a
)
c
[
d
]
=
a
[
d
];
for
(
var
d
in
b
)
c
[
d
]
=
b
[
d
];
return
c
}
function
j
(
a
,
b
){
var
c
=
/
\W
/
.
test
(
a
)?
new
Function
(
"
obj
"
,
"
var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('
"
+
a
.
replace
(
/
[\r\t\n]
/g
,
"
"
).
split
(
"
<%
"
).
join
(
"
"
).
replace
(
/
((
^|%>
)[^\t]
*
)
'/g
,
"
$1
\r
"
).
replace
(
/
\t
=
(
.*
?)
%>/g
,
"
',$1,'
"
).
split
(
"
"
).
join
(
"
');
"
).
split
(
"
%>
"
).
join
(
"
p.push('
"
).
split
(
"
\r
"
).
join
(
"
\\
'
"
)
+
"
');}return p.join('');
"
):
r
[
a
]
=
r
[
a
]
||
j
(
document
.
getElementById
(
a
).
innerHTML
);
return
b
?
c
(
b
):
c
}
var
k
=
this
,
l
=
{
linear
:
function
(
a
){
return
a
},
easeInQuad
:
function
(
a
){
return
a
*
a
},
easeOutQuad
:
function
(
a
){
return
-
1
*
a
*
(
a
-
2
)},
easeInOutQuad
:
function
(
a
){
return
(
a
/=
.
5
)
<
1
?.
5
*
a
*
a
:
-
0.5
*
(
--
a
*
(
a
-
2
)
-
1
)},
easeInCubic
:
function
(
a
){
return
a
*
a
*
a
},
easeOutCubic
:
function
(
a
){
return
1
*
((
a
=
a
/
1
-
1
)
*
a
*
a
+
1
)},
easeInOutCubic
:
function
(
a
){
return
(
a
/=
.
5
)
<
1
?.
5
*
a
*
a
*
a
:.
5
*
((
a
-=
2
)
*
a
*
a
+
2
)},
easeInQuart
:
function
(
a
){
return
a
*
a
*
a
*
a
},
easeOutQuart
:
function
(
a
){
return
-
1
*
((
a
=
a
/
1
-
1
)
*
a
*
a
*
a
-
1
)},
easeInOutQuart
:
function
(
a
){
return
(
a
/=
.
5
)
<
1
?.
5
*
a
*
a
*
a
*
a
:
-
0.5
*
((
a
-=
2
)
*
a
*
a
*
a
-
2
)},
easeInQuint
:
function
(
a
){
return
1
*
(
a
/=
1
)
*
a
*
a
*
a
*
a
},
easeOutQuint
:
function
(
a
){
return
1
*
((
a
=
a
/
1
-
1
)
*
a
*
a
*
a
*
a
+
1
)},
easeInOutQuint
:
function
(
a
){
return
(
a
/=
.
5
)
<
1
?.
5
*
a
*
a
*
a
*
a
*
a
:.
5
*
((
a
-=
2
)
*
a
*
a
*
a
*
a
+
2
)},
easeInSine
:
function
(
a
){
return
-
1
*
Math
.
cos
(
a
/
1
*
(
Math
.
PI
/
2
))
+
1
},
easeOutSine
:
function
(
a
){
return
1
*
Math
.
sin
(
a
/
1
*
(
Math
.
PI
/
2
))},
easeInOutSine
:
function
(
a
){
return
-
0.5
*
(
Math
.
cos
(
Math
.
PI
*
a
/
1
)
-
1
)},
easeInExpo
:
function
(
a
){
return
0
==
a
?
1
:
1
*
Math
.
pow
(
2
,
10
*
(
a
/
1
-
1
))},
easeOutExpo
:
function
(
a
){
return
1
==
a
?
1
:
1
*
(
-
Math
.
pow
(
2
,
-
10
*
a
/
1
)
+
1
)},
easeInOutExpo
:
function
(
a
){
return
0
==
a
?
0
:
1
==
a
?
1
:(
a
/=
.
5
)
<
1
?.
5
*
Math
.
pow
(
2
,
10
*
(
a
-
1
)):.
5
*
(
-
Math
.
pow
(
2
,
-
10
*--
a
)
+
2
)},
easeInCirc
:
function
(
a
){
return
a
>=
1
?
a
:
-
1
*
(
Math
.
sqrt
(
1
-
(
a
/=
1
)
*
a
)
-
1
)},
easeOutCirc
:
function
(
a
){
return
1
*
Math
.
sqrt
(
1
-
(
a
=
a
/
1
-
1
)
*
a
)},
easeInOutCirc
:
function
(
a
){
return
(
a
/=
.
5
)
<
1
?
-
0.5
*
(
Math
.
sqrt
(
1
-
a
*
a
)
-
1
):.
5
*
(
Math
.
sqrt
(
1
-
(
a
-=
2
)
*
a
)
+
1
)},
easeInElastic
:
function
(
a
){
var
b
=
1.70158
,
c
=
0
,
d
=
1
;
if
(
0
==
a
)
return
0
;
if
(
1
==
(
a
/=
1
))
return
1
;
if
(
c
||
(
c
=
.
3
),
d
<
Math
.
abs
(
1
)){
d
=
1
;
var
b
=
c
/
4
}
else
var
b
=
c
/
(
2
*
Math
.
PI
)
*
Math
.
asin
(
1
/
d
);
return
-
(
d
*
Math
.
pow
(
2
,
10
*
(
a
-=
1
))
*
Math
.
sin
(
2
*
(
1
*
a
-
b
)
*
Math
.
PI
/
c
))},
easeOutElastic
:
function
(
a
){
var
b
=
1.70158
,
c
=
0
,
d
=
1
;
if
(
0
==
a
)
return
0
;
if
(
1
==
(
a
/=
1
))
return
1
;
if
(
c
||
(
c
=
.
3
),
d
<
Math
.
abs
(
1
)){
d
=
1
;
var
b
=
c
/
4
}
else
var
b
=
c
/
(
2
*
Math
.
PI
)
*
Math
.
asin
(
1
/
d
);
return
d
*
Math
.
pow
(
2
,
-
10
*
a
)
*
Math
.
sin
(
2
*
(
1
*
a
-
b
)
*
Math
.
PI
/
c
)
+
1
},
easeInOutElastic
:
function
(
a
){
var
b
=
1.70158
,
c
=
0
,
d
=
1
;
if
(
0
==
a
)
return
0
;
if
(
2
==
(
a
/=
.
5
))
return
1
;
if
(
c
||
(
c
=
.
3
*
1.5
),
d
<
Math
.
abs
(
1
)){
d
=
1
;
var
b
=
c
/
4
}
else
var
b
=
c
/
(
2
*
Math
.
PI
)
*
Math
.
asin
(
1
/
d
);
return
1
>
a
?
-
.
5
*
d
*
Math
.
pow
(
2
,
10
*
(
a
-=
1
))
*
Math
.
sin
(
2
*
(
1
*
a
-
b
)
*
Math
.
PI
/
c
):
d
*
Math
.
pow
(
2
,
-
10
*
(
a
-=
1
))
*
Math
.
sin
(
2
*
(
1
*
a
-
b
)
*
Math
.
PI
/
c
)
*
.
5
+
1
},
easeInBack
:
function
(
a
){
var
b
=
1.70158
;
return
1
*
(
a
/=
1
)
*
a
*
((
b
+
1
)
*
a
-
b
)},
easeOutBack
:
function
(
a
){
var
b
=
1.70158
;
return
1
*
((
a
=
a
/
1
-
1
)
*
a
*
((
b
+
1
)
*
a
+
b
)
+
1
)},
easeInOutBack
:
function
(
a
){
var
b
=
1.70158
;
return
(
a
/=
.
5
)
<
1
?.
5
*
a
*
a
*
(((
b
*=
1.525
)
+
1
)
*
a
-
b
):.
5
*
((
a
-=
2
)
*
a
*
(((
b
*=
1.525
)
+
1
)
*
a
+
b
)
+
2
)},
easeInBounce
:
function
(
a
){
return
1
-
l
.
easeOutBounce
(
1
-
a
)},
easeOutBounce
:
function
(
a
){
return
(
a
/=
1
)
<
1
/
2.75
?
7.5625
*
a
*
a
:
2
/
2.75
>
a
?
1
*
(
7.5625
*
(
a
-=
1.5
/
2.75
)
*
a
+
.
75
):
2.5
/
2.75
>
a
?
1
*
(
7.5625
*
(
a
-=
2.25
/
2.75
)
*
a
+
.
9375
):
1
*
(
7.5625
*
(
a
-=
2.625
/
2.75
)
*
a
+
.
984375
)},
easeInOutBounce
:
function
(
a
){
return
.
5
>
a
?.
5
*
l
.
easeInBounce
(
2
*
a
):.
5
*
l
.
easeOutBounce
(
2
*
a
-
1
)
+
.
5
}},
m
=
a
.
canvas
.
width
,
n
=
a
.
canvas
.
height
;
window
.
devicePixelRatio
&&
(
a
.
canvas
.
style
.
width
=
m
+
"
px
"
,
a
.
canvas
.
style
.
height
=
n
+
"
px
"
,
a
.
canvas
.
height
=
n
*
window
.
devicePixelRatio
,
a
.
canvas
.
width
=
m
*
window
.
devicePixelRatio
,
a
.
scale
(
window
.
devicePixelRatio
,
window
.
devicePixelRatio
)),
this
.
Line
=
function
(
b
,
c
){
k
.
Line
.
defaults
=
{
scaleOverlay
:
!
1
,
scaleOverride
:
!
1
,
scaleSteps
:
null
,
scaleStepWidth
:
null
,
scaleStartValue
:
null
,
scaleLineColor
:
"
rgba(0,0,0,.1)
"
,
scaleLineWidth
:
1
,
scaleShowLabels
:
!
1
,
scaleLabel
:
"
<%=value%>
"
,
scaleFontFamily
:
"
'Arial'
"
,
scaleFontSize
:
12
,
scaleFontStyle
:
"
normal
"
,
scaleFontColor
:
"
#666
"
,
scaleShowGridLines
:
!
1
,
scaleGridLineColor
:
"
rgba(0,0,0,.05)
"
,
scaleGridLineWidth
:
1
,
bezierCurve
:
!
0
,
pointDot
:
!
1
,
pointDotRadius
:
4
,
pointDotStrokeWidth
:
2
,
datasetStroke
:
!
0
,
datasetStrokeWidth
:
1
,
datasetFill
:
!
0
,
animation
:
!
0
,
animationSteps
:
30
,
animationEasing
:
"
easeOutQuart
"
,
onAnimationComplete
:
null
};
var
d
=
c
?
i
(
k
.
Line
.
defaults
,
c
):
k
.
Line
.
defaults
;
return
new
p
(
b
,
d
,
a
)};
var
o
=
function
(
a
){
a
.
clearRect
(
0
,
0
,
m
,
n
)},
p
=
function
(
a
,
f
,
g
){
function
h
(
c
){
function
d
(
d
,
e
){
return
z
-
c
*
b
(
a
.
datasets
[
d
].
data
[
e
],
q
,
p
)}
function
e
(
a
){
return
y
+
v
*
a
}
for
(
var
h
=
0
;
h
<
a
.
datasets
.
length
;
h
++
){
g
.
strokeStyle
=
a
.
datasets
[
h
].
strokeColor
,
g
.
lineWidth
=
f
.
datasetStrokeWidth
,
g
.
beginPath
(),
g
.
moveTo
(
y
,
z
-
c
*
b
(
a
.
datasets
[
h
].
data
[
0
],
q
,
p
));
for
(
var
i
=
1
;
i
<
a
.
datasets
[
h
].
data
.
length
;
i
++
)
f
.
bezierCurve
?
g
.
bezierCurveTo
(
e
(
i
-
.
5
),
d
(
h
,
i
-
1
),
e
(
i
-
.
5
),
d
(
h
,
i
),
e
(
i
),
d
(
h
,
i
)):
g
.
lineTo
(
e
(
i
),
d
(
h
,
i
));
if
(
g
.
stroke
(),
f
.
datasetFill
?(
g
.
lineTo
(
y
+
v
*
(
a
.
datasets
[
h
].
data
.
length
-
1
),
z
),
g
.
lineTo
(
y
,
z
),
g
.
closePath
(),
g
.
fillStyle
=
a
.
datasets
[
h
].
fillColor
,
g
.
fill
()):
g
.
closePath
(),
f
.
pointDot
){
g
.
fillStyle
=
a
.
datasets
[
h
].
pointColor
,
g
.
strokeStyle
=
a
.
datasets
[
h
].
pointStrokeColor
,
g
.
lineWidth
=
f
.
pointDotStrokeWidth
;
for
(
var
j
=
0
;
j
<
a
.
datasets
[
h
].
data
.
length
;
j
++
)
g
.
beginPath
(),
g
.
arc
(
y
+
v
*
j
,
z
-
c
*
b
(
a
.
datasets
[
h
].
data
[
j
],
q
,
p
),
f
.
pointDotRadius
,
0
,
2
*
Math
.
PI
,
!
0
),
g
.
fill
(),
g
.
stroke
()}}}
function
i
(){
g
.
lineWidth
=
f
.
scaleLineWidth
,
g
.
strokeStyle
=
f
.
scaleLineColor
,
g
.
beginPath
(),
g
.
moveTo
(
m
-
w
/
2
+
5
,
z
),
g
.
lineTo
(
m
-
w
/
2
-
x
-
5
,
z
),
g
.
stroke
(),
A
>
0
?(
g
.
save
(),
g
.
textAlign
=
"
right
"
):
g
.
textAlign
=
"
center
"
,
g
.
fillStyle
=
f
.
scaleFontColor
;
for
(
var
b
=
0
;
b
<
a
.
labels
.
length
;
b
++
)
g
.
save
(),
g
.
beginPath
(),
g
.
moveTo
(
y
+
b
*
v
,
z
+
3
),
f
.
scaleShowGridLines
&&
b
>
0
?(
g
.
lineWidth
=
f
.
scaleGridLineWidth
,
g
.
strokeStyle
=
f
.
scaleGridLineColor
,
g
.
lineTo
(
y
+
b
*
v
,
5
)):
g
.
lineTo
(
y
+
b
*
v
,
z
+
3
),
g
.
stroke
();
g
.
lineWidth
=
f
.
scaleLineWidth
,
g
.
strokeStyle
=
f
.
scaleLineColor
,
g
.
textAlign
=
"
right
"
,
g
.
textBaseline
=
"
middle
"
;
for
(
var
c
=
0
;
c
<
q
.
steps
;
c
++
)
g
.
beginPath
(),
g
.
moveTo
(
y
-
3
,
z
-
(
c
+
1
)
*
p
),
f
.
scaleShowGridLines
?(
g
.
lineWidth
=
f
.
scaleGridLineWidth
,
g
.
strokeStyle
=
f
.
scaleGridLineColor
,
g
.
lineTo
(
y
+
x
+
5
,
z
-
(
c
+
1
)
*
p
)):
g
.
lineTo
(
y
-
.
5
,
z
-
(
c
+
1
)
*
p
),
g
.
stroke
(),
f
.
scaleShowLabels
&&
g
.
fillText
(
q
.
labels
[
c
],
y
-
8
,
z
-
(
c
+
1
)
*
p
)}
function
j
(){
x
=
m
,
v
=
x
/
(
a
.
labels
.
length
-
1
),
y
=
0
,
z
=
n
}
function
k
(){
o
=
n
,
g
.
font
=
f
.
scaleFontStyle
+
"
"
+
f
.
scaleFontSize
+
"
px
"
+
f
.
scaleFontFamily
,
w
=
1
;
for
(
var
b
=
0
;
b
<
a
.
labels
.
length
;
b
++
){
var
c
=
0
;
w
=
c
>
w
?
c
:
w
}
m
/
a
.
labels
.
length
<
w
?(
A
=
45
,
m
/
a
.
labels
.
length
<
Math
.
cos
(
A
)
*
w
?(
A
=
90
,
o
-=
w
):
o
-=
Math
.
sin
(
A
)
*
w
):
o
-=
f
.
scaleFontSize
,
r
=
f
.
scaleFontSize
,
o
=
n
,
s
=
o
}
function
l
(){
for
(
var
b
=
Number
.
MIN_VALUE
,
c
=
Number
.
MAX_VALUE
,
d
=
0
;
d
<
a
.
datasets
.
length
;
d
++
)
for
(
var
e
=
0
;
e
<
a
.
datasets
[
d
].
data
.
length
;
e
++
)
a
.
datasets
[
d
].
data
[
e
]
>
b
&&
(
b
=
a
.
datasets
[
d
].
data
[
e
]),
a
.
datasets
[
d
].
data
[
e
]
<
c
&&
(
c
=
a
.
datasets
[
d
].
data
[
e
]);
var
f
=
Math
.
floor
(
s
/
(.
66
*
r
)),
g
=
Math
.
floor
(
s
/
r
*
.
5
);
return
{
maxValue
:
b
,
minValue
:
c
,
maxSteps
:
f
,
minSteps
:
g
}}
var
o
,
p
,
q
,
r
,
s
,
t
,
u
,
v
,
w
,
x
,
y
,
z
,
A
=
0
;
k
(),
t
=
l
(),
u
=
f
.
scaleShowLabels
?
f
.
scaleLabel
:
""
,
f
.
scaleOverride
?(
q
=
{
steps
:
f
.
scaleSteps
,
stepValue
:
f
.
scaleStepWidth
,
graphMin
:
f
.
scaleStartValue
,
labels
:[]},
e
(
u
,
q
.
labels
,
q
.
steps
,
f
.
scaleStartValue
,
f
.
scaleStepWidth
)):
q
=
d
(
s
,
t
.
maxSteps
,
t
.
minSteps
,
t
.
maxValue
,
t
.
minValue
,
u
),
p
=
Math
.
floor
(
s
/
q
.
steps
),
j
(),
c
(
f
,
i
,
h
,
g
)},
q
=
function
(){
return
window
.
requestAnimationFrame
||
window
.
webkitRequestAnimationFrame
||
window
.
mozRequestAnimationFrame
||
window
.
oRequestAnimationFrame
||
window
.
msRequestAnimationFrame
||
function
(
a
){
window
.
setTimeout
(
a
,
1
e3
/
60
)}}(),
r
=
{}};
\ No newline at end of file
assets/chosen/css/chosen.css
浏览文件 @
1795cb87
...
...
@@ -46,7 +46,7 @@
color
:
#222222
;
text-decoration
:
none
;
white-space
:
nowrap
;
line-height
:
1.53846154
;
line-height
:
20
/
13
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
...
...
assets/chosen/css/chosen.min.css
浏览文件 @
1795cb87
.chosen-container
{
position
:
relative
;
display
:
inline-block
;
vertical-align
:
middle
;
font-size
:
13px
;
zoom
:
1
;
*
display
:
inline
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
-o-user-select
:
none
;
user-select
:
none
}
.chosen-container
.chosen-drop
{
position
:
absolute
;
top
:
100%
;
left
:
-9999px
;
z-index
:
1010
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
.15
);
border-top
:
0
;
background
:
#fff
;
box-shadow
:
0
4px
5px
rgba
(
0
,
0
,
0
,
.15
)}
.chosen-container.chosen-with-drop
.chosen-drop
{
left
:
0
}
.chosen-container
a
{
cursor
:
pointer
}
.chosen-container-single
.chosen-single
{
display
:
block
;
overflow
:
hidden
;
padding
:
5px
8px
;
height
:
32px
;
width
:
100%
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
background-clip
:
padding-box
;
vertical-align
:
middle
;
color
:
#222
;
text-decoration
:
none
;
white-space
:
nowrap
;
line-height
:
1.53846154
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-single
.chosen-default
{
color
:
gray
}
.chosen-container-single
.chosen-single
>
span
{
display
:
block
;
overflow
:
hidden
;
margin-right
:
26px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-single-with-deselect
span
{
margin-right
:
38px
}
.chosen-container-single
.chosen-single
abbr
{
position
:
absolute
;
top
:
7px
;
right
:
24px
;
display
:
block
;
width
:
19.5px
;
height
:
19.5px
;
line-height
:
19.5px
;
font-size
:
19.5px
;
font-weight
:
700
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-single
.chosen-single
abbr
:before
{
content
:
'×'
}
.chosen-container-single
.chosen-single
abbr
:focus
,
.chosen-container-single
.chosen-single
abbr
:hover
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-single
.chosen-single
div
{
position
:
absolute
;
top
:
0
;
right
:
0
;
display
:
block
;
height
:
100%
;
padding
:
5px
8px
}
.chosen-container-single
.chosen-single
div
b
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-left
:
2px
;
vertical-align
:
middle
;
border-top
:
4px
solid
#333
;
border-right
:
4px
solid
transparent
;
border-left
:
4px
solid
transparent
;
border-bottom
:
0
dotted
}
.chosen-container-single
.chosen-search
{
position
:
relative
;
z-index
:
1010
;
margin
:
0
;
padding
:
3px
4px
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-search
input
[
type
=
text
]
{
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
1px
0
;
padding
:
2px
26px
2px
8px
;
width
:
100%
;
height
:
auto
;
outline
:
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
font-size
:
12px
;
line-height
:
1.5
}
.chosen-container-single
.chosen-search
input
[
type
=
text
]
:focus
{
border-color
:
#145ccd
}
.chosen-container-single
.chosen-search
:before
{
position
:
absolute
;
display
:
block
;
right
:
10px
;
color
:
gray
;
top
:
8px
;
content
:
"\e603"
;
font-family
:
ZenIcon
}
.chosen-container-single
.chosen-drop
{
margin-top
:
-1px
;
border-radius
:
0
0
4px
4px
;
background-clip
:
padding-box
}
.chosen-container-single.chosen-container-single-nosearch
.chosen-search
{
position
:
absolute
;
left
:
-9999px
}
.chosen-container
.chosen-results
{
position
:
relative
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
margin
:
0
;
padding
:
0
;
max-height
:
240px
;
-webkit-overflow-scrolling
:
touch
}
.chosen-container
.chosen-results
li
{
display
:
none
;
margin
:
0
;
padding
:
5px
10px
;
list-style
:
none
;
line-height
:
15px
;
-webkit-touch-callout
:
none
;
-webkit-transition
:
background-color
.3s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
);
transition
:
background-color
.3s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
)}
.chosen-container
.chosen-results
li
.active-result
{
display
:
list-item
;
cursor
:
pointer
}
.chosen-container
.chosen-results
li
.disabled-result
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.highlighted
{
color
:
#fff
;
background-color
:
#3280fc
}
.chosen-container
.chosen-results
li
.no-results
{
display
:
list-item
;
background
:
#f4f4f4
}
.chosen-container
.chosen-results
li
.group-result
{
display
:
list-item
;
font-weight
:
700
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.group-option
{
padding-left
:
15px
}
.chosen-container
.chosen-results
li
em
{
font-style
:
normal
;
text-decoration
:
underline
}
.chosen-container-multi
.chosen-choices
{
position
:
relative
;
overflow
:
hidden
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
;
padding
:
0
;
width
:
100%
;
min-height
:
32px
;
min-height
:
30px
\
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
cursor
:
text
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-multi
.chosen-choices
:after
,
.chosen-container-multi
.chosen-choices
:before
{
content
:
" "
;
display
:
table
}
.chosen-container-multi
.chosen-choices
:after
{
clear
:
both
}
.chosen-container-multi
.chosen-choices
li
{
display
:
block
;
float
:
left
;
list-style
:
none
;
padding
:
0
6px
;
margin
:
4px
0
0
6px
}
.chosen-container-multi
.chosen-choices
li
.search-field
{
padding
:
0
;
margin-bottom
:
4px
;
white-space
:
nowrap
}
.chosen-container-multi
.chosen-choices
li
.search-field
input
[
type
=
text
]
{
height
:
20px
;
outline
:
0
;
border
:
0
!important
;
background
:
transparent
!important
;
box-shadow
:
none
;
color
:
gray
;
font-size
:
100%
;
border-radius
:
0
}
.chosen-container-multi
.chosen-choices
li
.search-field
.default
{
color
:
#999
}
.chosen-container-multi
.chosen-choices
li
.search-choice
{
position
:
relative
;
padding
:
3px
20px
3px
5px
;
background-color
:
#f1f1f1
;
border-radius
:
3px
;
border
:
1px
solid
#ddd
;
background-clip
:
padding-box
;
-moz-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
-webkit-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
line-height
:
12px
;
cursor
:
default
;
-webkit-transition
:
all
.5s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
);
transition
:
all
.5s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
:hover
{
border-color
:
#c4c4c4
;
background-color
:
#fff
;
-moz-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
-webkit-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
{
position
:
absolute
;
top
:
-1px
;
right
:
0
;
text-align
:
center
;
display
:
block
;
width
:
19.5px
;
height
:
19.5px
;
line-height
:
19.5px
;
font-size
:
15.6px
;
font-weight
:
700
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:before
{
content
:
'×'
}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:focus
,
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:hover
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-multi
.chosen-choices
li
.search-choice-disabled
{
padding-right
:
5px
;
border
:
1px
solid
#ccc
;
background-color
:
#e4e4e4
;
color
:
#666
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
{
background
:
#d4d4d4
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
.search-choice-close
{
background-position
:
-42px
-10px
}
.chosen-container-multi
.chosen-results
{
margin
:
0
;
padding
:
0
}
.chosen-container-multi
.chosen-drop
.result-selected
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container-active
.chosen-single
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
)}
.chosen-container-active.chosen-with-drop
.chosen-single
{
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
.15
);
-moz-border-radius-bottomright
:
0
;
border-bottom-right-radius
:
0
;
-moz-border-radius-bottomleft
:
0
;
border-bottom-left-radius
:
0
;
-moz-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
);
-webkit-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
);
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
)}
.chosen-container-active.chosen-with-drop
.chosen-single
div
{
border-left
:
none
;
background
:
0
0
}
.chosen-container-active.chosen-with-drop
.chosen-single
div
b
{
border-top
:
0
dotted
;
border-bottom
:
4px
solid
#333
;
content
:
""
}
.chosen-container-active
.chosen-choices
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
)}
.chosen-container-active
.chosen-choices
li
.search-field
input
[
type
=
text
]
{
color
:
#111
!important
}
.chosen-disabled
{
opacity
:
.5
!important
;
cursor
:
default
}
.chosen-disabled
.chosen-choices
.search-choice
.search-choice-close
,
.chosen-disabled
.chosen-single
{
cursor
:
default
}
.chosen-container.chosen-icons
.chosen-results
{
padding
:
5px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-result
{
padding
:
5px
0
;
color
:
#666
;
font-size
:
12px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-option
{
display
:
inline-block
;
padding
:
8px
;
font-size
:
14px
;
line-height
:
14px
;
width
:
30px
;
text-align
:
center
;
border-radius
:
4px
}
\ No newline at end of file
.chosen-container
{
position
:
relative
;
display
:
inline-block
;
vertical-align
:
middle
;
font-size
:
13px
;
zoom
:
1
;
*
display
:
inline
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
-o-user-select
:
none
;
user-select
:
none
}
.chosen-container
.chosen-drop
{
position
:
absolute
;
top
:
100%
;
left
:
-9999px
;
z-index
:
1010
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
.15
);
border-top
:
0
;
background
:
#fff
;
box-shadow
:
0
4px
5px
rgba
(
0
,
0
,
0
,
.15
)}
.chosen-container.chosen-with-drop
.chosen-drop
{
left
:
0
}
.chosen-container
a
{
cursor
:
pointer
}
.chosen-container-single
.chosen-single
{
display
:
block
;
overflow
:
hidden
;
padding
:
5px
8px
;
height
:
32px
;
width
:
100%
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
background-clip
:
padding-box
;
vertical-align
:
middle
;
color
:
#222
;
text-decoration
:
none
;
white-space
:
nowrap
;
line-height
:
1.53846154
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-single
.chosen-default
{
color
:
gray
}
.chosen-container-single
.chosen-single
>
span
{
display
:
block
;
overflow
:
hidden
;
margin-right
:
26px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-single-with-deselect
span
{
margin-right
:
38px
}
.chosen-container-single
.chosen-single
abbr
{
position
:
absolute
;
top
:
7px
;
right
:
24px
;
display
:
block
;
width
:
19.5px
;
height
:
19.5px
;
line-height
:
19.5px
;
font-size
:
19.5px
;
font-weight
:
700
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-single
.chosen-single
abbr
:before
{
content
:
'×'
}
.chosen-container-single
.chosen-single
abbr
:hover
,
.chosen-container-single
.chosen-single
abbr
:focus
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-single
.chosen-single
div
{
position
:
absolute
;
top
:
0
;
right
:
0
;
display
:
block
;
height
:
100%
;
padding
:
5px
8px
}
.chosen-container-single
.chosen-single
div
b
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-left
:
2px
;
vertical-align
:
middle
;
border-top
:
4px
solid
#333
;
border-right
:
4px
solid
transparent
;
border-left
:
4px
solid
transparent
;
border-bottom
:
0
dotted
}
.chosen-container-single
.chosen-search
{
position
:
relative
;
z-index
:
1010
;
margin
:
0
;
padding
:
3px
4px
;
white-space
:
nowrap
}
.chosen-container-single
.chosen-search
input
[
type
=
text
]
{
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
1px
0
;
padding
:
2px
26px
2px
8px
;
width
:
100%
;
height
:
auto
;
outline
:
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
font-size
:
12px
;
line-height
:
1.5
}
.chosen-container-single
.chosen-search
input
[
type
=
text
]
:focus
{
border-color
:
#145ccd
}
.chosen-container-single
.chosen-search
:before
{
position
:
absolute
;
display
:
block
;
right
:
10px
;
color
:
gray
;
top
:
8px
;
content
:
"\e603"
;
font-family
:
ZenIcon
}
.chosen-container-single
.chosen-drop
{
margin-top
:
-1px
;
border-radius
:
0
0
4px
4px
;
background-clip
:
padding-box
}
.chosen-container-single.chosen-container-single-nosearch
.chosen-search
{
position
:
absolute
;
left
:
-9999px
}
.chosen-container
.chosen-results
{
position
:
relative
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
margin
:
0
;
padding
:
0
;
max-height
:
240px
;
-webkit-overflow-scrolling
:
touch
}
.chosen-container
.chosen-results
li
{
display
:
none
;
margin
:
0
;
padding
:
5px
10px
;
list-style
:
none
;
line-height
:
15px
;
-webkit-touch-callout
:
none
;
-webkit-transition
:
background-color
.3s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
);
transition
:
background-color
.3s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
)}
.chosen-container
.chosen-results
li
.active-result
{
display
:
list-item
;
cursor
:
pointer
}
.chosen-container
.chosen-results
li
.disabled-result
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.highlighted
{
color
:
#fff
;
background-color
:
#3280fc
}
.chosen-container
.chosen-results
li
.no-results
{
display
:
list-item
;
background
:
#f4f4f4
}
.chosen-container
.chosen-results
li
.group-result
{
display
:
list-item
;
font-weight
:
700
;
cursor
:
default
}
.chosen-container
.chosen-results
li
.group-option
{
padding-left
:
15px
}
.chosen-container
.chosen-results
li
em
{
font-style
:
normal
;
text-decoration
:
underline
}
.chosen-container-multi
.chosen-choices
{
position
:
relative
;
overflow
:
hidden
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
;
padding
:
0
;
width
:
100%
;
min-height
:
32px
;
min-height
:
30px
\
0
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
background-color
:
#fff
;
cursor
:
text
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
);
-webkit-transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
;
transition
:
border-color
ease-in-out
.15s
,
box-shadow
ease-in-out
.15s
}
.chosen-container-multi
.chosen-choices
:before
,
.chosen-container-multi
.chosen-choices
:after
{
content
:
" "
;
display
:
table
}
.chosen-container-multi
.chosen-choices
:after
{
clear
:
both
}
.chosen-container-multi
.chosen-choices
li
{
display
:
block
;
float
:
left
;
list-style
:
none
;
padding
:
0
6px
;
margin
:
4px
0
0
6px
}
.chosen-container-multi
.chosen-choices
li
.search-field
{
padding
:
0
;
margin-bottom
:
4px
;
white-space
:
nowrap
}
.chosen-container-multi
.chosen-choices
li
.search-field
input
[
type
=
text
]
{
height
:
20px
;
outline
:
0
;
border
:
0
!important
;
background
:
transparent
!important
;
box-shadow
:
none
;
color
:
gray
;
font-size
:
100%
;
border-radius
:
0
}
.chosen-container-multi
.chosen-choices
li
.search-field
.default
{
color
:
#999
}
.chosen-container-multi
.chosen-choices
li
.search-choice
{
position
:
relative
;
padding
:
3px
20px
3px
5px
;
background-color
:
#f1f1f1
;
border-radius
:
3px
;
border
:
1px
solid
#ddd
;
background-clip
:
padding-box
;
-moz-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
-webkit-box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
box-shadow
:
0
0
2px
#fff
inset
,
0
1px
0
rgba
(
0
,
0
,
0
,
.05
);
line-height
:
12px
;
cursor
:
default
;
-webkit-transition
:
all
.5s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
);
transition
:
all
.5s
cubic-bezier
(
0.175
,
.885
,
.32
,
1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
:hover
{
border-color
:
#c4c4c4
;
background-color
:
#fff
;
-moz-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
-webkit-box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
);
box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
.1
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
{
position
:
absolute
;
top
:
-1px
;
right
:
0
;
text-align
:
center
;
display
:
block
;
width
:
19.5px
;
height
:
19.5px
;
line-height
:
19.5px
;
font-size
:
15.6px
;
font-weight
:
700
;
color
:
#000
;
text-shadow
:
0
1px
0
#fff
;
opacity
:
.2
;
filter
:
alpha
(
opacity
=
20
)}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:before
{
content
:
'×'
}
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:hover
,
.chosen-container-multi
.chosen-choices
li
.search-choice
.search-choice-close
:focus
{
color
:
#000
;
text-decoration
:
none
;
cursor
:
pointer
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
)}
.chosen-container-multi
.chosen-choices
li
.search-choice-disabled
{
padding-right
:
5px
;
border
:
1px
solid
#ccc
;
background-color
:
#e4e4e4
;
color
:
#666
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
{
background
:
#d4d4d4
}
.chosen-container-multi
.chosen-choices
li
.search-choice-focus
.search-choice-close
{
background-position
:
-42px
-10px
}
.chosen-container-multi
.chosen-results
{
margin
:
0
;
padding
:
0
}
.chosen-container-multi
.chosen-drop
.result-selected
{
display
:
list-item
;
color
:
#ccc
;
cursor
:
default
}
.chosen-container-active
.chosen-single
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
)}
.chosen-container-active.chosen-with-drop
.chosen-single
{
border
:
1px
solid
#cbcbcb
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
.15
);
-moz-border-radius-bottomright
:
0
;
border-bottom-right-radius
:
0
;
-moz-border-radius-bottomleft
:
0
;
border-bottom-left-radius
:
0
;
-moz-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
);
-webkit-box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
);
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
.175
)}
.chosen-container-active.chosen-with-drop
.chosen-single
div
{
border-left
:
0
;
background
:
0
0
}
.chosen-container-active.chosen-with-drop
.chosen-single
div
b
{
border-top
:
0
dotted
;
border-bottom
:
4px
solid
#333
;
content
:
""
}
.chosen-container-active
.chosen-choices
{
border-color
:
#145ccd
;
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.075
),
0
0
8px
rgba
(
20
,
92
,
205
,
.6
)}
.chosen-container-active
.chosen-choices
li
.search-field
input
[
type
=
text
]
{
color
:
#111
!important
}
.chosen-disabled
{
opacity
:
.5
!important
;
cursor
:
default
}
.chosen-disabled
.chosen-single
{
cursor
:
default
}
.chosen-disabled
.chosen-choices
.search-choice
.search-choice-close
{
cursor
:
default
}
.chosen-container.chosen-icons
.chosen-results
{
padding
:
5px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-result
{
padding
:
5px
0
;
color
:
#666
;
font-size
:
12px
}
.chosen-container.chosen-icons
.chosen-results
li
.group-option
{
display
:
inline-block
;
padding
:
8px
;
font-size
:
14px
;
line-height
:
14px
;
width
:
30px
;
text-align
:
center
;
border-radius
:
4px
}
\ No newline at end of file
assets/chosen/js/chosen.all.js
0 → 100644
浏览文件 @
1795cb87
此差异已折叠。
点击以展开。
assets/chosen/js/chosen.all.min.js
浏览文件 @
1795cb87
此差异已折叠。
点击以展开。
assets/chosen/js/chosen.icons.js
浏览文件 @
1795cb87
/*!
* ====================================================
* ZUI - v1.1.0 - 2014-07-16
* https://github.com/easysoft/zui
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
*/
/* ChosenIcons */
+
function
(
$
,
window
,
document
,
Math
)
{
...
...
assets/chosen/js/chosen.icons.min.js
浏览文件 @
1795cb87
+
function
(
e
,
t
,
i
,
s
){
"
use strict
"
;
var
a
=
function
(
t
,
i
){
this
.
$
=
e
(
t
),
this
.
options
=
this
.
getOptions
(
i
),
this
.
lang
=
a
.
LANGS
[
this
.
options
.
lang
],
this
.
id
=
"
chosen-icons-
"
+
parseInt
(
1
e10
*
s
.
random
()
+
1
),
this
.
init
()};
a
.
DEFAULTS
=
{
canEmpty
:
!
0
,
lang
:
"
zh-cn
"
,
commonIcons
:[
"
heart
"
,
"
user
"
,
"
group
"
,
"
list-ul
"
,
"
th
"
,
"
th-large
"
,
"
star
"
,
"
star-empty
"
,
"
search
"
,
"
envelope
"
,
"
dashboard
"
,
"
sitemap
"
,
"
umbrella
"
,
"
lightbulb
"
,
"
envelope-alt
"
,
"
cog
"
,
"
ok
"
,
"
remove
"
,
"
home
"
,
"
time
"
,
"
flag
"
,
"
flag-alt
"
,
"
flag-checkered
"
,
"
qrcode
"
,
"
tag
"
,
"
tags
"
,
"
book
"
,
"
bookmark
"
,
"
bookmark-empty
"
,
"
print
"
,
"
camera
"
,
"
picture
"
,
"
globe
"
,
"
map-marker
"
,
"
edit
"
,
"
edit-sign
"
,
"
play
"
,
"
stop
"
,
"
plus-sign
"
,
"
minus-sign
"
,
"
remove-sign
"
,
"
ok-sign
"
,
"
check-sign
"
,
"
question-sign
"
,
"
info-sign
"
,
"
exclamation-sign
"
,
"
plus
"
,
"
plus-sign
"
,
"
minus
"
,
"
minus-sign
"
,
"
asterisk
"
,
"
calendar
"
,
"
calendar-empty
"
,
"
comment
"
,
"
comment-alt
"
,
"
comments
"
,
"
comments-alt
"
,
"
folder-close
"
,
"
folder-open
"
,
"
folder-close-alt
"
,
"
folder-open-alt
"
,
"
thumbs-up
"
,
"
thumbs-down
"
,
"
pushpin
"
,
"
building
"
,
"
phone
"
,
"
rss
"
,
"
rss-sign
"
,
"
bullhorn
"
,
"
bell
"
,
"
bell-alt
"
,
"
certificate
"
,
"
wrench
"
,
"
tasks
"
,
"
cloud
"
,
"
beaker
"
,
"
magic
"
,
"
smile
"
,
"
frown
"
,
"
meh
"
,
"
code
"
,
"
location-arrow
"
],
webIcons
:[
"
share
"
,
"
pencil
"
,
"
trash
"
,
"
file-alt
"
,
"
file
"
,
"
file-text
"
,
"
download-alt
"
,
"
upload-alt
"
,
"
inbox
"
,
"
repeat
"
,
"
refresh
"
,
"
lock
"
,
"
check
"
,
"
check-empty
"
,
"
eye-open
"
,
"
eye-close
"
,
"
key
"
,
"
signin
"
,
"
signout
"
,
"
external-link
"
,
"
external-link-sign
"
,
"
link
"
,
"
reorder
"
,
"
quote-left
"
,
"
quote-right
"
,
"
spinner
"
,
"
reply
"
,
"
question
"
,
"
info
"
,
"
archive
"
,
"
collapse
"
,
"
collapse-top
"
],
editorIcons
:[
"
table
"
,
"
copy
"
,
"
save
"
,
"
list-ol
"
,
"
paste
"
,
"
keyboard
"
,
"
paper-clip
"
,
"
crop
"
,
"
unlink
"
,
"
sort-by-alphabet
"
,
"
sort-by-alphabet-alt
"
,
"
sort-by-attributes
"
,
"
sort-by-attributes-alt
"
,
"
sort-by-order
"
,
"
sort-by-order-alt
"
],
directionalIcons
:[
"
chevron-left
"
,
"
chevron-right
"
,
"
chevron-down
"
,
"
chevron-up
"
,
"
arrow-left
"
,
"
arrow-right
"
,
"
arrow-down
"
,
"
arrow-up
"
,
"
hand-right
"
,
"
hand-left
"
,
"
hand-up
"
,
"
hand-down
"
,
"
circle-arrow-left
"
,
"
circle-arrow-right
"
,
"
circle-arrow-up
"
,
"
circle-arrow-down
"
,
"
double-angle-left
"
,
"
double-angle-right
"
,
"
double-angle-down
"
,
"
double-angle-up
"
,
"
angle-left
"
,
"
angle-right
"
,
"
angle-down
"
,
"
angle-up
"
,
"
long-arrow-left
"
,
"
long-arrow-right
"
,
"
long-arrow-down
"
,
"
long-arrow-up
"
,
"
caret-left
"
,
"
caret-right
"
,
"
caret-down
"
,
"
caret-up
"
],
otherIcons
:[
"
desktop
"
,
"
laptop
"
,
"
tablet
"
,
"
mobile-phone
"
,
"
building
"
,
"
firefox
"
,
"
ie
"
,
"
opera
"
,
"
qq
"
,
"
lemon
"
,
"
sign-blank
"
,
"
circle
"
,
"
circle-blank
"
,
"
terminal
"
,
"
html5
"
,
"
android
"
,
"
apple
"
,
"
windows
"
,
"
weibo
"
,
"
renren
"
,
"
bug
"
,
"
moon
"
,
"
sun
"
]},
a
.
LANGS
=
{},
a
.
LANGS
[
"
zh-cn
"
]
=
{
emptyIcon
:
"
[没有图标]
"
,
commonIcons
:
"
常用图标
"
,
webIcons
:
"
Web 图标
"
,
editorIcons
:
"
编辑器图标
"
,
directionalIcons
:
"
箭头总汇
"
,
otherIcons
:
"
其他图标
"
},
a
.
LANGS
.
en
=
{
emptyIcon
:
"
[No Icon]
"
,
commonIcons
:
"
Common Icons
"
,
webIcons
:
"
Web Icons
"
,
editorIcons
:
"
Editor Icons
"
,
directionalIcons
:
"
Directional Icons
"
,
otherIcons
:
"
Other Icons
"
},
a
.
LANGS
[
"
zh-tw
"
]
=
{
emptyIcon
:
"
[沒有圖標]
"
,
commonIcons
:
"
常用圖標
"
,
webIcons
:
"
Web 圖標
"
,
editorIcons
:
"
編輯器圖標
"
,
directionalIcons
:
"
箭頭總匯
"
,
otherIcons
:
"
其他圖標
"
},
a
.
prototype
.
getOptions
=
function
(
t
){
return
t
=
e
.
extend
({},
a
.
DEFAULTS
,
this
.
$
.
data
(),
t
)},
a
.
prototype
.
init
=
function
(){
var
t
=
this
.
$
.
addClass
(
"
chosen-icons
"
).
addClass
(
this
.
id
);
t
.
empty
(),
this
.
options
.
canEmpty
&&
t
.
append
(
this
.
getOptionHtml
());
var
i
=
this
.
lang
;
t
.
append
(
this
.
getgroupHtml
(
"
commonIcons
"
)),
t
.
append
(
this
.
getgroupHtml
(
"
webIcons
"
)),
t
.
append
(
this
.
getgroupHtml
(
"
editorIcons
"
)),
t
.
append
(
this
.
getgroupHtml
(
"
directionalIcons
"
)),
t
.
append
(
this
.
getgroupHtml
(
"
otherIcons
"
)),
t
.
chosen
({
placeholder_text
:
"
"
,
disable_search
:
!
0
,
width
:
"
100%
"
,
inherit_select_classes
:
!
0
});
var
s
=
"
.chosen-container.
"
+
this
.
id
;
t
.
on
(
"
chosen:showing_dropdown
"
,
function
(){
e
(
s
+
"
.chosen-results .group-option
"
).
each
(
function
(){
var
t
=
e
(
this
).
addClass
(
"
icon
"
),
i
=
e
(
this
).
text
();
t
.
html
(
'
<i class="icon-
'
+
i
+
'
" title="
'
+
i
+
'
"></i>
'
)})}).
change
(
function
(){
var
t
=
e
(
s
+
"
.chosen-single > span
"
),
a
=
e
(
this
).
val
();
a
&&
a
.
length
>
0
?
t
.
html
(
'
<i class="
'
+
a
+
'
"></i> <span class="text-muted">
'
+
a
.
substr
(
5
).
replace
(
/-/g
,
"
"
)
+
"
</span>
"
):
t
.
html
(
'
<span class="text-muted">
'
+
i
.
emptyIcon
+
"
</span>
"
)});
var
a
=
t
.
data
(
"
value
"
);
a
&&
t
.
val
(
a
).
change
()},
a
.
prototype
.
getgroupHtml
=
function
(
e
){
var
t
=
this
.
options
[
e
],
i
=
'
<optgroup label="
'
+
this
.
lang
[
e
]
+
'
">
'
;
for
(
var
s
in
t
)
i
+=
this
.
getOptionHtml
(
t
[
s
]);
return
i
+
"
</optgroup>
"
},
a
.
prototype
.
getOptionHtml
=
function
(
e
){
return
name
=
e
,
e
&&
e
.
length
>
0
?
e
=
"
icon-
"
+
e
:(
e
=
""
,
name
=
this
.
lang
.
emptyIcon
),
'
<option value="
'
+
e
+
'
">
'
+
name
+
"
</option>
"
},
e
.
fn
.
chosenIcons
=
function
(
t
){
return
this
.
each
(
function
(){
var
i
=
e
(
this
),
s
=
i
.
data
(
"
zui.chosenIcons
"
),
n
=
"
object
"
==
typeof
t
&&
t
;
s
||
i
.
data
(
"
zui.chosenIcons
"
,
s
=
new
a
(
this
,
n
)),
"
string
"
==
typeof
t
&&
s
[
t
]()})},
e
.
fn
.
chosenIcons
.
Constructor
=
a
}(
jQuery
,
window
,
document
,
Math
);
\ No newline at end of file
/*!
* ====================================================
* ZUI - v1.1.0 - 2014-07-16
* https://github.com/easysoft/zui
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2014 Catouse@easysoft; Licensed GNU
* ====================================================
*/
+
function
(
a
,
b
,
c
,
d
){
"
use strict
"
;
var
e
=
function
(
b
,
c
){
this
.
$
=
a
(
b
),
this
.
options
=
this
.
getOptions
(
c
),
this
.
lang
=
e
.
LANGS
[
this
.
options
.
lang
],
this
.
id
=
"
chosen-icons-
"
+
parseInt
(
1
e10
*
d
.
random
()
+
1
),
this
.
init
()};
e
.
DEFAULTS
=
{
canEmpty
:
!
0
,
lang
:
"
zh-cn
"
,
commonIcons
:[
"
heart
"
,
"
user
"
,
"
group
"
,
"
list-ul
"
,
"
th
"
,
"
th-large
"
,
"
star
"
,
"
star-empty
"
,
"
search
"
,
"
envelope
"
,
"
dashboard
"
,
"
sitemap
"
,
"
umbrella
"
,
"
lightbulb
"
,
"
envelope-alt
"
,
"
cog
"
,
"
ok
"
,
"
remove
"
,
"
home
"
,
"
time
"
,
"
flag
"
,
"
flag-alt
"
,
"
flag-checkered
"
,
"
qrcode
"
,
"
tag
"
,
"
tags
"
,
"
book
"
,
"
bookmark
"
,
"
bookmark-empty
"
,
"
print
"
,
"
camera
"
,
"
picture
"
,
"
globe
"
,
"
map-marker
"
,
"
edit
"
,
"
edit-sign
"
,
"
play
"
,
"
stop
"
,
"
plus-sign
"
,
"
minus-sign
"
,
"
remove-sign
"
,
"
ok-sign
"
,
"
check-sign
"
,
"
question-sign
"
,
"
info-sign
"
,
"
exclamation-sign
"
,
"
plus
"
,
"
plus-sign
"
,
"
minus
"
,
"
minus-sign
"
,
"
asterisk
"
,
"
calendar
"
,
"
calendar-empty
"
,
"
comment
"
,
"
comment-alt
"
,
"
comments
"
,
"
comments-alt
"
,
"
folder-close
"
,
"
folder-open
"
,
"
folder-close-alt
"
,
"
folder-open-alt
"
,
"
thumbs-up
"
,
"
thumbs-down
"
,
"
pushpin
"
,
"
building
"
,
"
phone
"
,
"
rss
"
,
"
rss-sign
"
,
"
bullhorn
"
,
"
bell
"
,
"
bell-alt
"
,
"
certificate
"
,
"
wrench
"
,
"
tasks
"
,
"
cloud
"
,
"
beaker
"
,
"
magic
"
,
"
smile
"
,
"
frown
"
,
"
meh
"
,
"
code
"
,
"
location-arrow
"
],
webIcons
:[
"
share
"
,
"
pencil
"
,
"
trash
"
,
"
file-alt
"
,
"
file
"
,
"
file-text
"
,
"
download-alt
"
,
"
upload-alt
"
,
"
inbox
"
,
"
repeat
"
,
"
refresh
"
,
"
lock
"
,
"
check
"
,
"
check-empty
"
,
"
eye-open
"
,
"
eye-close
"
,
"
key
"
,
"
signin
"
,
"
signout
"
,
"
external-link
"
,
"
external-link-sign
"
,
"
link
"
,
"
reorder
"
,
"
quote-left
"
,
"
quote-right
"
,
"
spinner
"
,
"
reply
"
,
"
question
"
,
"
info
"
,
"
archive
"
,
"
collapse
"
,
"
collapse-top
"
],
editorIcons
:[
"
table
"
,
"
copy
"
,
"
save
"
,
"
list-ol
"
,
"
paste
"
,
"
keyboard
"
,
"
paper-clip
"
,
"
crop
"
,
"
unlink
"
,
"
sort-by-alphabet
"
,
"
sort-by-alphabet-alt
"
,
"
sort-by-attributes
"
,
"
sort-by-attributes-alt
"
,
"
sort-by-order
"
,
"
sort-by-order-alt
"
],
directionalIcons
:[
"
chevron-left
"
,
"
chevron-right
"
,
"
chevron-down
"
,
"
chevron-up
"
,
"
arrow-left
"
,
"
arrow-right
"
,
"
arrow-down
"
,
"
arrow-up
"
,
"
hand-right
"
,
"
hand-left
"
,
"
hand-up
"
,
"
hand-down
"
,
"
circle-arrow-left
"
,
"
circle-arrow-right
"
,
"
circle-arrow-up
"
,
"
circle-arrow-down
"
,
"
double-angle-left
"
,
"
double-angle-right
"
,
"
double-angle-down
"
,
"
double-angle-up
"
,
"
angle-left
"
,
"
angle-right
"
,
"
angle-down
"
,
"
angle-up
"
,
"
long-arrow-left
"
,
"
long-arrow-right
"
,
"
long-arrow-down
"
,
"
long-arrow-up
"
,
"
caret-left
"
,
"
caret-right
"
,
"
caret-down
"
,
"
caret-up
"
],
otherIcons
:[
"
desktop
"
,
"
laptop
"
,
"
tablet
"
,
"
mobile-phone
"
,
"
building
"
,
"
firefox
"
,
"
ie
"
,
"
opera
"
,
"
qq
"
,
"
lemon
"
,
"
sign-blank
"
,
"
circle
"
,
"
circle-blank
"
,
"
terminal
"
,
"
html5
"
,
"
android
"
,
"
apple
"
,
"
windows
"
,
"
weibo
"
,
"
renren
"
,
"
bug
"
,
"
moon
"
,
"
sun
"
]},
e
.
LANGS
=
{},
e
.
LANGS
[
"
zh-cn
"
]
=
{
emptyIcon
:
"
[没有图标]
"
,
commonIcons
:
"
常用图标
"
,
webIcons
:
"
Web 图标
"
,
editorIcons
:
"
编辑器图标
"
,
directionalIcons
:
"
箭头总汇
"
,
otherIcons
:
"
其他图标
"
},
e
.
LANGS
.
en
=
{
emptyIcon
:
"
[No Icon]
"
,
commonIcons
:
"
Common Icons
"
,
webIcons
:
"
Web Icons
"
,
editorIcons
:
"
Editor Icons
"
,
directionalIcons
:
"
Directional Icons
"
,
otherIcons
:
"
Other Icons
"
},
e
.
LANGS
[
"
zh-tw
"
]
=
{
emptyIcon
:
"
[沒有圖標]
"
,
commonIcons
:
"
常用圖標
"
,
webIcons
:
"
Web 圖標
"
,
editorIcons
:
"
編輯器圖標
"
,
directionalIcons
:
"
箭頭總匯
"
,
otherIcons
:
"
其他圖標
"
},
e
.
prototype
.
getOptions
=
function
(
b
){
return
b
=
a
.
extend
({},
e
.
DEFAULTS
,
this
.
$
.
data
(),
b
)},
e
.
prototype
.
init
=
function
(){
var
b
=
this
.
$
.
addClass
(
"
chosen-icons
"
).
addClass
(
this
.
id
);
b
.
empty
(),
this
.
options
.
canEmpty
&&
b
.
append
(
this
.
getOptionHtml
());
var
c
=
this
.
lang
;
b
.
append
(
this
.
getgroupHtml
(
"
commonIcons
"
)),
b
.
append
(
this
.
getgroupHtml
(
"
webIcons
"
)),
b
.
append
(
this
.
getgroupHtml
(
"
editorIcons
"
)),
b
.
append
(
this
.
getgroupHtml
(
"
directionalIcons
"
)),
b
.
append
(
this
.
getgroupHtml
(
"
otherIcons
"
)),
b
.
chosen
({
placeholder_text
:
"
"
,
disable_search
:
!
0
,
width
:
"
100%
"
,
inherit_select_classes
:
!
0
});
var
d
=
"
.chosen-container.
"
+
this
.
id
;
b
.
on
(
"
chosen:showing_dropdown
"
,
function
(){
a
(
d
+
"
.chosen-results .group-option
"
).
each
(
function
(){
var
b
=
a
(
this
).
addClass
(
"
icon
"
),
c
=
a
(
this
).
text
();
b
.
html
(
'
<i class="icon-
'
+
c
+
'
" title="
'
+
c
+
'
"></i>
'
)})}).
change
(
function
(){
var
b
=
a
(
d
+
"
.chosen-single > span
"
),
e
=
a
(
this
).
val
();
b
.
html
(
e
&&
e
.
length
>
0
?
'
<i class="
'
+
e
+
'
"></i> <span class="text-muted">
'
+
e
.
substr
(
5
).
replace
(
/-/g
,
"
"
)
+
"
</span>
"
:
'
<span class="text-muted">
'
+
c
.
emptyIcon
+
"
</span>
"
)});
var
e
=
b
.
data
(
"
value
"
);
e
&&
b
.
val
(
e
).
change
()},
e
.
prototype
.
getgroupHtml
=
function
(
a
){
var
b
=
this
.
options
[
a
],
c
=
'
<optgroup label="
'
+
this
.
lang
[
a
]
+
'
">
'
;
for
(
var
d
in
b
)
c
+=
this
.
getOptionHtml
(
b
[
d
]);
return
c
+
"
</optgroup>
"
},
e
.
prototype
.
getOptionHtml
=
function
(
a
){
return
name
=
a
,
a
&&
a
.
length
>
0
?
a
=
"
icon-
"
+
a
:(
a
=
""
,
name
=
this
.
lang
.
emptyIcon
),
'
<option value="
'
+
a
+
'
">
'
+
name
+
"
</option>
"
},
a
.
fn
.
chosenIcons
=
function
(
b
){
return
this
.
each
(
function
(){
var
c
=
a
(
this
),
d
=
c
.
data
(
"
zui.chosenIcons
"
),
f
=
"
object
"
==
typeof
b
&&
b
;
d
||
c
.
data
(
"
zui.chosenIcons
"
,
d
=
new
e
(
this
,
f
)),
"
string
"
==
typeof
b
&&
d
[
b
]()})},
a
.
fn
.
chosenIcons
.
Constructor
=
e
}(
jQuery
,
window
,
document
,
Math
);
\ No newline at end of file
assets/datetimepicker/css/datetimepicker.min.css
浏览文件 @
1795cb87
...
...
@@ -3,4 +3,4 @@
* Copyright 2012 Stefan Petre
* Improvements by Catouse
* Licensed under the Apache License v2.0
*/
.datetimepicker
{
padding
:
4px
;
margin-top
:
1px
;
white-space
:
normal
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
direction
:
ltr
}
.datetimepicker.datetimepicker-rtl
{
direction
:
rtl
}
.datetimepicker.datetimepicker-rtl
table
tr
td
span
{
float
:
right
}
.datetimepicker
>
div
{
display
:
none
}
.datetimepicker.days
div
.datetimepicker-days
,
.datetimepicker.hours
div
.datetimepicker-hours
,
.datetimepicker.minutes
div
.datetimepicker-minutes
,
.datetimepicker.months
div
.datetimepicker-months
,
.datetimepicker.years
div
.datetimepicker-years
{
display
:
block
}
.datetimepicker
table
{
margin
:
0
}
.datetimepicker
table
tr
td
.day
:hover
,
.datetimepicker
table
tr
td
.hour
:hover
,
.datetimepicker
table
tr
td
.minute
:hover
{
background
:
#eee
;
cursor
:
pointer
}
.datetimepicker
table
tr
td
span
{
display
:
block
;
width
:
23%
;
height
:
54px
;
line-height
:
54px
;
float
:
left
;
margin
:
1%
;
cursor
:
pointer
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
}
.datetimepicker
table
tr
td
span
:hover
{
background
:
#eee
}
.datetimepicker
table
tr
td
span
.old
{
color
:
#999
}
.datetimepicker
.datetimepicker-hours
span
,
.datetimepicker
.datetimepicker-minutes
span
{
height
:
26px
;
line-height
:
26px
}
.datetimepicker
th
.switch
{
width
:
145px
}
.datetimepicker-inline
{
width
:
220px
}
.datetimepicker-dropdown
,
.datetimepicker-dropdown-left
{
top
:
0
;
left
:
0
}
[
class
*=
datetimepicker-dropdown
]
:before
{
content
:
''
;
display
:
inline-block
;
border-left
:
7px
solid
transparent
;
border-right
:
7px
solid
transparent
;
border-bottom
:
7px
solid
#ccc
;
border-bottom-color
:
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
}
[
class
*=
datetimepicker-dropdown
]
:after
{
content
:
''
;
display
:
inline-block
;
border-left
:
6px
solid
transparent
;
border-right
:
6px
solid
transparent
;
border-bottom
:
6px
solid
#fff
;
position
:
absolute
}
[
class
*=
datetimepicker-dropdown-top
]
:before
{
content
:
''
;
display
:
inline-block
;
border-left
:
7px
solid
transparent
;
border-right
:
7px
solid
transparent
;
border-top
:
7px
solid
#ccc
;
border-top-color
:
rgba
(
0
,
0
,
0
,
.2
);
border-bottom
:
0
}
[
class
*=
datetimepicker-dropdown-top
]
:after
{
content
:
''
;
display
:
inline-block
;
border-left
:
6px
solid
transparent
;
border-right
:
6px
solid
transparent
;
border-top
:
6px
solid
#fff
;
border-bottom
:
0
}
.datetimepicker-dropdown-bottom-left
:before
{
top
:
-7px
;
right
:
6px
}
.datetimepicker-dropdown-bottom-left
:after
{
top
:
-6px
;
right
:
7px
}
.datetimepicker-dropdown-bottom-right
:before
{
top
:
-7px
;
left
:
6px
}
.datetimepicker-dropdown-bottom-right
:after
{
top
:
-6px
;
left
:
7px
}
.datetimepicker-dropdown-top-left
:before
{
bottom
:
-7px
;
right
:
6px
}
.datetimepicker-dropdown-top-left
:after
{
bottom
:
-6px
;
right
:
7px
}
.datetimepicker-dropdown-top-right
:before
{
bottom
:
-7px
;
left
:
6px
}
.datetimepicker-dropdown-top-right
:after
{
bottom
:
-6px
;
left
:
7px
}
.datetimepicker
td
,
.datetimepicker
th
{
text-align
:
center
;
width
:
22px
;
height
:
20px
;
padding
:
3px
0
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border
:
none
}
.table-striped
.datetimepicker
td
,
.table-striped
.datetimepicker
th
{
background-color
:
transparent
}
.datetimepicker
td
.new
,
.datetimepicker
td
.old
{
color
:
#999
}
.datetimepicker
td
.disabled
,
.datetimepicker
td
.disabled
:hover
{
background
:
0
0
;
color
:
#999
;
cursor
:
default
}
.datetimepicker
td
.day.today
{
background-color
:
#e48600
;
border-color
:
#e48600
;
border-color
:
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.25
);
color
:
#fff
}
.datetimepicker
td
.day.active
{
background-color
:
#3280fc
;
border-color
:
#0462f7
;
border-color
:
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.25
);
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
.25
)}
.datetimepicker
td
.day.active
:hover
{
background-color
:
#0462f7
}
.datetimepicker
td
.day.today.active
:hover
,
.datetimepicker
td
.day.today
:hover
{
background-color
:
#b16800
}
.datetimepicker
.datetimepicker-hours
td
span
.hour_am
,
.datetimepicker
.datetimepicker-hours
td
span
.hour_pm
{
width
:
14.6%
}
.datetimepicker
.datetimepicker-hours
fieldset
legend
,
.datetimepicker
.datetimepicker-minutes
fieldset
legend
{
margin-bottom
:
inherit
;
line-height
:
30px
}
.datetimepicker
td
span
.disabled
,
.datetimepicker
td
span
.disabled
:hover
{
background
:
0
0
;
color
:
#999
;
cursor
:
default
}
.datetimepicker
td
span
.active
,
.datetimepicker
td
span
.active.disabled
,
.datetimepicker
td
span
.active.disabled
:hover
,
.datetimepicker
td
span
.active
:hover
{
background-color
:
#3280fc
;
border-color
:
#0462f7
;
border-color
:
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.25
);
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
.25
)}
.datetimepicker
tfoot
tr
:first-child
th
,
.datetimepicker
thead
tr
:first-child
th
{
cursor
:
pointer
}
.datetimepicker
tfoot
tr
:first-child
th
:hover
,
.datetimepicker
thead
tr
:first-child
th
:hover
{
background
:
#eee
}
.input-append.date
.add-on
i
,
.input-group.date
.input-group-addon
span
,
.input-prepend.date
.add-on
i
{
cursor
:
pointer
;
width
:
14px
;
height
:
14px
}
\ No newline at end of file
*/
.datetimepicker
{
padding
:
4px
;
margin-top
:
1px
;
white-space
:
normal
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
direction
:
ltr
}
.datetimepicker.datetimepicker-rtl
{
direction
:
rtl
}
.datetimepicker.datetimepicker-rtl
table
tr
td
span
{
float
:
right
}
.datetimepicker
>
div
{
display
:
none
}
.datetimepicker.minutes
div
.datetimepicker-minutes
{
display
:
block
}
.datetimepicker.hours
div
.datetimepicker-hours
{
display
:
block
}
.datetimepicker.days
div
.datetimepicker-days
{
display
:
block
}
.datetimepicker.months
div
.datetimepicker-months
{
display
:
block
}
.datetimepicker.years
div
.datetimepicker-years
{
display
:
block
}
.datetimepicker
table
{
margin
:
0
}
.datetimepicker
table
tr
td
.minute
:hover
{
background
:
#eee
;
cursor
:
pointer
}
.datetimepicker
table
tr
td
.hour
:hover
{
background
:
#eee
;
cursor
:
pointer
}
.datetimepicker
table
tr
td
.day
:hover
{
background
:
#eee
;
cursor
:
pointer
}
.datetimepicker
table
tr
td
span
{
display
:
block
;
width
:
23%
;
height
:
54px
;
line-height
:
54px
;
float
:
left
;
margin
:
1%
;
cursor
:
pointer
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
}
.datetimepicker
table
tr
td
span
:hover
{
background
:
#eee
}
.datetimepicker
table
tr
td
span
.old
{
color
:
#999
}
.datetimepicker
.datetimepicker-hours
span
{
height
:
26px
;
line-height
:
26px
}
.datetimepicker
.datetimepicker-minutes
span
{
height
:
26px
;
line-height
:
26px
}
.datetimepicker
th
.switch
{
width
:
145px
}
.datetimepicker-inline
{
width
:
220px
}
.datetimepicker-dropdown
,
.datetimepicker-dropdown-left
{
top
:
0
;
left
:
0
}
[
class
*=
datetimepicker-dropdown
]
:before
{
content
:
''
;
display
:
inline-block
;
border-left
:
7px
solid
transparent
;
border-right
:
7px
solid
transparent
;
border-bottom
:
7px
solid
#ccc
;
border-bottom-color
:
rgba
(
0
,
0
,
0
,
.2
);
position
:
absolute
}
[
class
*=
datetimepicker-dropdown
]
:after
{
content
:
''
;
display
:
inline-block
;
border-left
:
6px
solid
transparent
;
border-right
:
6px
solid
transparent
;
border-bottom
:
6px
solid
#fff
;
position
:
absolute
}
[
class
*=
datetimepicker-dropdown-top
]
:before
{
content
:
''
;
display
:
inline-block
;
border-left
:
7px
solid
transparent
;
border-right
:
7px
solid
transparent
;
border-top
:
7px
solid
#ccc
;
border-top-color
:
rgba
(
0
,
0
,
0
,
.2
);
border-bottom
:
0
}
[
class
*=
datetimepicker-dropdown-top
]
:after
{
content
:
''
;
display
:
inline-block
;
border-left
:
6px
solid
transparent
;
border-right
:
6px
solid
transparent
;
border-top
:
6px
solid
#fff
;
border-bottom
:
0
}
.datetimepicker-dropdown-bottom-left
:before
{
top
:
-7px
;
right
:
6px
}
.datetimepicker-dropdown-bottom-left
:after
{
top
:
-6px
;
right
:
7px
}
.datetimepicker-dropdown-bottom-right
:before
{
top
:
-7px
;
left
:
6px
}
.datetimepicker-dropdown-bottom-right
:after
{
top
:
-6px
;
left
:
7px
}
.datetimepicker-dropdown-top-left
:before
{
bottom
:
-7px
;
right
:
6px
}
.datetimepicker-dropdown-top-left
:after
{
bottom
:
-6px
;
right
:
7px
}
.datetimepicker-dropdown-top-right
:before
{
bottom
:
-7px
;
left
:
6px
}
.datetimepicker-dropdown-top-right
:after
{
bottom
:
-6px
;
left
:
7px
}
.datetimepicker
td
,
.datetimepicker
th
{
text-align
:
center
;
width
:
22px
;
height
:
20px
;
padding
:
3px
0
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border
:
0
}
.table-striped
.datetimepicker
td
,
.table-striped
.datetimepicker
th
{
background-color
:
transparent
}
.datetimepicker
td
.old
,
.datetimepicker
td
.new
{
color
:
#999
}
.datetimepicker
td
.disabled
,
.datetimepicker
td
.disabled
:hover
{
background
:
0
0
;
color
:
#999
;
cursor
:
default
}
.datetimepicker
td
.day.today
{
background-color
:
#e48600
;
border-color
:
#e48600
;
border-color
:
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.25
);
color
:
#fff
}
.datetimepicker
td
.day.active
{
background-color
:
#3280fc
;
border-color
:
#0462f7
;
border-color
:
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.25
);
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
.25
)}
.datetimepicker
td
.day.active
:hover
{
background-color
:
#0462f7
}
.datetimepicker
td
.day.today
:hover
,
.datetimepicker
td
.day.today.active
:hover
{
background-color
:
#b16800
}
.datetimepicker
.datetimepicker-hours
td
span
.hour_am
,
.datetimepicker
.datetimepicker-hours
td
span
.hour_pm
{
width
:
14.6%
}
.datetimepicker
.datetimepicker-hours
fieldset
legend
,
.datetimepicker
.datetimepicker-minutes
fieldset
legend
{
margin-bottom
:
inherit
;
line-height
:
30px
}
.datetimepicker
td
span
.disabled
,
.datetimepicker
td
span
.disabled
:hover
{
background
:
0
0
;
color
:
#999
;
cursor
:
default
}
.datetimepicker
td
span
.active
,
.datetimepicker
td
span
.active
:hover
,
.datetimepicker
td
span
.active.disabled
,
.datetimepicker
td
span
.active.disabled
:hover
{
background-color
:
#3280fc
;
border-color
:
#0462f7
;
border-color
:
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.1
)
rgba
(
0
,
0
,
0
,
.25
);
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
.25
)}
.datetimepicker
thead
tr
:first-child
th
,
.datetimepicker
tfoot
tr
:first-child
th
{
cursor
:
pointer
}
.datetimepicker
thead
tr
:first-child
th
:hover
,
.datetimepicker
tfoot
tr
:first-child
th
:hover
{
background
:
#eee
}
.input-append.date
.add-on
i
,
.input-prepend.date
.add-on
i
,
.input-group.date
.input-group-addon
span
{
cursor
:
pointer
;
width
:
14px
;
height
:
14px
}
\ No newline at end of file
assets/datetimepicker/js/datetimepicker.min.js
浏览文件 @
1795cb87
此差异已折叠。
点击以展开。
assets/kindeditor/themes/default/default.css
浏览文件 @
1795cb87
此差异已折叠。
点击以展开。
docs/mindmap.html
浏览文件 @
1795cb87
...
...
@@ -10,7 +10,7 @@
<title>
ZUI
</title>
<link
href=
"../dist/css/zui.min.css"
rel=
"stylesheet"
>
<link
href=
"../dist/css/mindmap.min.css"
rel=
"stylesheet"
>
<link
href=
"../dist/css/
zui-
mindmap.min.css"
rel=
"stylesheet"
>
<style>
#mindmap
{
background
:
#fafafa
;}
</style>
...
...
@@ -21,7 +21,7 @@
<script
src=
"../assets/jquery.js"
></script>
<script
src=
"../dist/js/zui.min.js"
></script>
<script
src=
"../dist/js/mindmap.min.js"
></script>
<script
src=
"../dist/js/
zui-
mindmap.min.js"
></script>
<script
src=
"js/mindmap.js"
></script>
</body>
</html>
src/js/chart.line.js
浏览文件 @
1795cb87
此差异已折叠。
点击以展开。
src/less/kindeditor-default.less
→
src/less/kindeditor-
theme.
default.less
浏览文件 @
1795cb87
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录