Commit 4c32a1a3 authored by techird's avatar techird

on dev

parent c1fcb124
.idea .idea
.DS_Store .DS_Store
.dist
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace
node_modules/ node_modules/
......
...@@ -67,8 +67,12 @@ module.exports = function(grunt) { ...@@ -67,8 +67,12 @@ module.exports = function(grunt) {
files: [{ files: [{
src: [ src: [
'ui/theme/**/css/*.css', 'ui/theme/**/css/*.css',
'ui/theme/**/css/*.css.map',
'ui/theme/**/images/*', 'ui/theme/**/images/*',
'lang/**/*', 'lang/**/*',
'static/**/*',
'lib/ZeroClipboard.swf',
'lib/inflate.js',
'index.html', 'index.html',
'download.php' 'download.php'
], ],
......
# KityMinder 更新日志
## v1.2.1
### 体验优化
1. 较大提升了文件载入和操作的性能
2. 拖动时不显示子节点和连接线
3. 文字输入细节体验优化
4. 历史回退使用动画回退
5. 美化帮助窗口的样式
### BUG 修复
1. 修复 F2 不能编辑的 BUG
2. 修复按 Shift + Tab 页面溢出的 BUG
## v1.2.0
### 新功能
1. 允许节点自由拖动
2. 允许节点排序(包括拖动以及快捷键 Alt + Up 和 Alt + Down)
3. 节点上插入在线图片(暂不支持本地图片)
4. 节点上添加资源标签(分配负责人)
5. 支持节点复制粘贴
6. 支持换肤,添加了 “文艺清新” 系列的几个皮肤
### 体验优化
1. 界面重新设计,更加美观
2. 布局性能有较大的提高
3. 调整了文字输入的交互
4. 添加了布局时的动画效果
5. 扩大了超链接的点击范围
6. 优先级增加至 9 个,进度增加至 9 个
7. 支持ipad编辑
### BUG 修复
1. 修复 XSS 攻击问题(超链接和图片)
2. 修复导入损坏文件报错的问题
3. 修复新版 Chrome 下载扩展名错误问题
4. 修复 SVG 和 PNG 在缩放之后导出不全的问题
5. 修复缩放后选区闪烁的问题
6. 修复分享内容无法更新的问题 说明:需要再次点击分享创建更新链接
## v1.1.3.2
### Hot Fix
1. 修复新版 Chrome 浏览器无法导出正确文件格式的问题([#77](https://github.com/fex-team/kityminder/issues/77)
## v1.1.3.1
### Hot Fix
1. 修复某些输入法下输入英文的问题
2. 添加网盘操作(加载列表、保存文件等)失败后重试的机制
## v1.1.3
### 功能更新
1. 保存时可自定义文件名
2. 添加/删除超链接,导入第三方格式支持超链接
3. 选中节点时,按F2直接进入文字编辑状态
4. "展开全部节点""收起全部节点"功能
5. 当前选中的高亮的节点可直接进行文字编辑
6. 右键选中节点,显示编辑节点的菜单
7. 可指定放大缩小的百分比
## 问题修复
1. 修复当滚动鼠标滚轮时,光标不跟着移动的问题
2. 优化了拖拽节点操作体验
3. 修复回退操作后所选节点未回选问题
4. 修复回退操作后展开收起的节点没有记录问题
5. 优化了输入文字时的卡顿效果
6. 优化了当输入中文时,中文显示位置与光标距离过远的问题
7. html标签转码问题
8. 修复撤销按钮点击后,重做按钮还是不可点问题
## v1.1.2
### 功能更新
1. **支持本地格式文件导入**
* 支持文件拖拽和网盘文件导入
* 格式支持 xmind/freemind/mindmanager,其他格式暂不支持
2. 新增节点移动到视野中
3. 当前文件名加到 Title 中
4. 分享链接直接到粘贴板(针对已经支持的浏览器)
5. 分享到社交网络
6. 用户登出功能
7. 添加只读模式,配置项 readOnly,添加动态调用接口setEnabled,setDisabled
8. 优化当下拉菜单不可执行时,下拉菜单按钮会自动变灰
9. 添加了新的logo图标
### 问题修复
1. 导出 png 和 svg 图片时,文本中如果包含 ` ` 字符会报错的问题
2. 删除中心节点导致页面卡住
3. 文件在IE下无法导出(.txt,.svg,.km)
4. 拖入文件导入之后,草稿箱和社会化文件名不同步
5. 仅有根节点时,将其删除,再添加节点报错
6. 本地部署,127.0.0.1退出后不能登录
7. 去掉了“导出”菜单上的打勾
8. 修复了firefox下光标定位到文字最后空格,光标不跟着移动问题
9. 修复在页面失去焦点时光标不消失
10. 优化了光标定位和闪烁时常
## v1.1.1
### 功能更新
1. 添加文件操作快捷键支持:
* 新建脑图(`Ctrl` + `N`
* 保存脑图到云端(`Ctrl` + `S`
* 分享脑图(`Ctrl` + `Shift` + `S`
2. 草稿功能升级为草稿箱
3. 添加了帮助菜单
### 问题修复
1. 修复切换文件时,回复历史没有清空的问题
2. 修复在添加 markers 时,会出现 js 报错的问题
3. 仅有根节点,将其删除,再添加节点报错
## v1.1.0
### 功能更新
1. 添加了剪贴板操作的支持
2. 添加了本地自动保存草稿的功能
3. 优化了文字选中效果
4. 改进了文字输入体验
### 功能调整
1. 视野定位功能抽取为 camera 命令,并且创建新文件和打开文件会把视野定位到根节点
### 问题修复
1. 修正了 bottom 主题的位置问题
2. 修正了子节点全部删除后展开/收缩标志依然存在画布上的问题
3. 修复了 bottom 主题的键盘导航出错的问题
4. 滚轮缩放的问题
## v1.0.1
### 问题修复
1. 修复 png 导出问题。
## v1.0.0
首个版本发布,包括基本的编辑功能。
Copyright (c) 2014, FEX, Baidu.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the KityMinder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
Kity Minder
==========
## 简介
KityMinder 是百度 FEX 团队的 f-cube 小组(原 UEditor 小组)的又一力作。作为一款在线的脑图编辑工具,它有着不亚于 native 脑图工具的交互体验。同时,它充分发挥了 Web 云存储的优势,可以直接将编辑中的脑图同步到云端。此外,借由独创的 “云盘分享”功能,用户可以一键将当前编辑的脑图直接生成在线链接共享给其他用户,实现无缝沟通。
![KityMinder](snap.png "KityMinder 界面")
KityMinder 基于 SVG 技术实现,支持绝大多数的主流浏览器,包括:
1. Chrome
2. Firefox
3. Safari
4. IE9+<sup>*</sup>
*: IE9 不支持部分导出功能。
## 线上版本
产品地址:[http://naotu.baidu.com](http://naotu.baidu.com)
注意:由于历史原因,有三个发布过的公开地址:
1. [~~http://fex-team.baidu.com/kityminder/dist~~](http://fex-team.baidu.com/kityminder/dist)
2. [~~http://kitygraph.github.io/kityminder/dist~~](http://kitygraph.github.io/kityminder/dist)
3. [http://fex.baidu.com/kityminder/dist](http://fex.baidu.com/kityminder/dist)
第 1 个地址已经失效;
第 2 个地址不再维护更新(原因是我们项目地址迁移到了 fex-team);
第 3 个地址是更新频率最高的地址,新功能可以在这里尝鲜;
[产品地址](http://naotu.baidu.com)已经稳定,请大家放心使用。地址变动频繁带来的不便,请谅解。
## 依赖说明
KityMinder 依赖 Kity 库。刚下载的压缩包或者刚从 github 拉下来的代码会有一个空的 Kity 目录。要运行调试,必须加载 Kity 的依赖:
1. 如果你下载的是 KityMinder 的压缩包,那么需要手动下载 [Kity](http://fex.baidu.com/kityminder/kity/dist/kity.js) 库到 kity/dist/kity.js
2. 如果你是从 github 上拉源代码下来的,那么可以更新一下子模块:
```bash
cd YOUR_KITYMINDER_PATH
git submodule init
git submodule update
```
## 联系我们
邮件组: kity@baidu.com
讨论群: 374918234
<?php
/**
* 导出文件代理
*
* @author Jinqn, techird
*/
$type = $_REQUEST['type'];
if (isset($_REQUEST['content'])) {
$content = $_REQUEST['content'];
if ($type == 'base64') {
$content = base64_decode($content);
}
$filename = htmlspecialchars($_REQUEST["filename"]);
if (!$filename) {
$filename = "kikyminder";
}
header("Content-type: application/octet-stream; charset=utf8; name=".urlencode($filename));
header("Accept-Length: ".strlen($content));
header("Content-Length: ".strlen($content));
header("Content-Disposition: attachment; filename=".urlencode($filename));
header('Content-Description: File Transfer');
echo $content;
} else {
echo 'Empty Content!';
}
?>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="title" content="百度脑图(KityMinder)">
<meta name="keyword" content="kityminder,脑图,思维导图,kity,svg,minder,百度,fex,前端,在线">
<meta name="description" content="百度脑图,便捷的脑图编辑工具。让您在线上直接创建、保存并分享你的思路。">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>百度脑图 - 便捷的思维导图工具</title>
<script src="kityminder.all.min.js?_=1409280817067" charset="utf-8"></script>
<script src="kityminder.config.js?_=1409280817067" charset="utf-8"></script>
<script src="lang/zh-cn/zh-cn.js?_=1409280817067" charset="utf-8"></script>
<link href="ui/theme/default/css/default.all.css" type="text/css" rel="stylesheet" />
<link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
<link href="favicon.ico" type="image/x-icon" rel="apple-touch-icon-precomposed">
</head>
<body>
<div id="content-wrapper">
<div id="panel"></div>
<div id="kityminder" onselectstart="return false">
</div>
<div id="share-dialog">
<h3>URL分享:</h3>
<p>
<input id="share-url" type="url" value="http://naotu.baidu.com/?shareId=kcev3dd" />
<button id="copy-share-url" data-clipboard-target="share-url" type="button">复制</button>
</p>
<h3>社交分享:</h3>
<p id="share-platform" class="bdsharebuttonbox">
<a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
<a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
<a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
<a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a>
<a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
</p>
</div>
<div id="about">
<svg id="km-cat" viewBox="0 0 1200 1200" width="32px" height="32px">
<g id="cat-face">
<path d="M1066.769,368.482L1119.5,80L830,131.611C760.552,97.29,682.35,77.999,599.641,77.999
c-82.424,0-160.371,19.161-229.641,53.26L81,81l50.769,289l0,0c-33.792,69.019-52.77,146.612-52.77,228.641
c0,287.542,233.099,520.642,520.642,520.642s520.642-233.099,520.642-520.642C1120.282,516.011,1101.028,437.88,1066.769,368.482z"
/>
</g>
<g id="cat-eye">
<path style="fill:#FFFFFF;" d="M920.255,371C794.746,371,693,472.746,693,598.255s101.746,227.255,227.255,227.255
s227.255-101.746,227.255-227.255S1045.765,371,920.255,371z M920,746c-80.081,0-145-64.919-145-145s64.919-145,145-145
s145,64.919,145,145S1000.081,746,920,746z"/>
<path style="fill:#FFFFFF;" d="M276.255,371C150.746,371,49,472.746,49,598.255s101.746,227.255,227.255,227.255
s227.255-101.746,227.255-227.255S401.765,371,276.255,371z M276,745c-80.081,0-145-64.919-145-145s64.919-145,145-145
s145,64.919,145,145S356.081,745,276,745z"/>
</g>
</svg>
KityMinder
<a id="km-version"
href="https://github.com/fex-team/kityminder/blob/dev/CHANGELOG.md"
target="blank"
tabindex="-1">
</a>
under
<a href="https://raw.githubusercontent.com/fex-team/kityminder/dev/LICENSE"
target="_blank"
tabindex="-1">BSD License
</a>.
Powered by f-cube,
<a href="http://fex.baidu.com"
target="_blank"
tabindex="-1">FEX
</a> |
<a href="https://github.com/fex-team/kityminder.git"
target="_blank"
tabindex="-1">Source
</a>
<a href="https://github.com/fex-team/kityminder/issues/new"
target="_blank"
tabindex="-1">Bug
</a> |
<a href="mailto:kity@baidu.com"
target="_blank"
tabindex="-1">Contact Us
</a>
</div>
</div>
</body>
<!--脑图启动代码-->
<script>
/* global km:true, ZeroClipboard:true, zip:true */
/* jshint browser:true */
$(function() {
/* 依赖库初始化 */
ZeroClipboard.setDefaults({ moviePath: 'lib/ZeroClipboard.swf' });
zip.inflateJSPath = 'lib/inflate.js';
});
// create km instance
km = KM.getMinder('kityminder', window.KITYMINDER_CONFIG);
// init ui for instance
km.initUI();
// New Version Notify
$(function() {
var lastVersion = localStorage.lastKMVersion;
$('#km-version').text( 'v' + KM.version );
if (lastVersion != KM.version) {
$( '#km-version' ).addClass( 'new-version' );
localStorage.lastKMVersion = KM.version;
}
});
km.on('unziperror', function(ev) {
window.alert('文件解析错误,文件可能已损坏!');
});
km.on('parseerror', function(ev) {
window.alert('文件解析错误,文件可能已损坏!');
});
km.on('unknownprotocal', function(ev) {
window.alert('不支持的文件格式!');
});
</script>
<!--社会分享代码-->
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdMini":"2","bdMiniList":[],"bdPic":"","bdStyle":"1","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
<!--Baidu Tongji Code-->
<script type="text/javascript">
if (document.domain == 'naotu.baidu.com') {
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F0703917f224067c887f3664479a03887' type='text/javascript'%3E%3C/script%3E"));
}
</script>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(function() {
window.KITYMINDER_CONFIG = {
// 定义
//modules: [],
// 只读模式,默认是false
readOnly: false,
// 默认主题
defaultTemplate: 'default',
// 默认皮肤
defaultTheme: 'fresh-blue',
// 最大可回退的次数,默认 20
maxUndoCount: 20,
// 语言,默认是 'zh-cn'
lang: 'zh-cn',
// 配置放大缩小的比例
zoom: [50, 80, 100, 120, 150, 200],
// 图片尺寸限制
maxImageWidth: 200,
maxImageHeight: 200
};
})();
\ No newline at end of file
KityMinder.LANG['zh-cn'] = {
'template': {
'default': '思维导图',
'structure': '组织结构图',
'filetree': '文件夹'
},
'theme': {
'classic': '脑图经典',
'snow': '温柔冷光',
'fresh-red': '清新红',
'fresh-soil': '泥土黄',
'fresh-green': '文艺绿',
'fresh-blue': '天空蓝',
'fresh-purple': '浪漫紫',
'fresh-pink': '脑残粉'
},
'maintopic': '中心主题',
'topic': '分支主题',
'panels': {
'history': '历史',
'template': '模板',
'theme': '皮肤',
'layout': '布局',
'style': '样式',
'font': '字体',
'color': '颜色',
'background': '背景',
'insert': '插入',
'arrange': '调整',
'nodeop': '当前',
'priority': '优先级',
'progress': '进度',
'resource': '资源',
'attachment': '附件'
},
'ui': {
'back': '返回',
'undo': '撤销',
'redo': '重做',
'tabs': {
'idea': '思路',
'appearence': '展现',
'view': '视图'
},
'menu': {
'level1': {
'new': '新建',
'open': '打开',
'save': '保存',
'share': '分享',
'help': '帮助',
'setting': '设置'
},
'new': {
'header': '新建脑图'
},
'open': {
'header': '打开',
'recent': '最近使用',
'netdisk': '百度云盘',
'local': '本地文件',
'draft': '草稿箱'
},
'save': {
'header': '保存到',
'netdisk': '百度网盘',
'download': '导出到本地'
},
'share': {
'header': '分享我的脑图'
}
},
'mydocument': '我的文档',
'emptydir': '目录为空!',
'pickfile': '选择文件...',
'acceptfile': '支持的格式:{0}',
'dropfile': '或将文件拖至此处',
'unsupportedfile': '不支持的文件格式',
'untitleddoc': '未命名文档',
'errorloading': '加载失败:{0}',
'unknownreason': '可能是外星人篡改了代码...',
'overrideconfirm': '{0} 已存在,确认覆盖吗?',
'checklogin': '检查登录状态中...',
'loggingin': '正在登录...',
'recent': '最近打开',
'clearrecent': '清空',
'clearrecentconfirm': '确认清空最近文档列表?',
'cleardraft': '清空',
'cleardraftconfirm': '确认清空草稿箱?',
'login': '登录',
'logout': '注销',
'switchuser': '切换账户',
'userinfo': '个人信息',
'gotonetdisk': '我的网盘',
'requirelogin': '请 <a class="login-button">登录</a> 后使用',
'saveas': '保存为',
'filename': '文件名',
'fileformat': '保存格式',
'save': '保存',
'mkdir': '新建目录',
'newdir': '未命名目录',
'bold': '加粗',
'italic': '斜体',
'forecolor': '字体颜色',
'fontfamily': '字体',
'fontsize': '字号',
'layoutstyle': '主题',
'node': '节点操作',
'saveto': '另存为',
'hand': '允许拖拽',
'zoom': '放大缩小',
'markers': '标签',
'resource': '资源',
'help': '帮助',
'preference': '偏好设置',
'expandnode': '展开到叶子',
'collapsenode': '收起到一级节点',
'template': '模板',
'theme': '皮肤',
'clearstyle': '清除样式',
'copystyle': '复制样式',
'pastestyle': '粘贴样式',
'appendsiblingnode': '下一主题',
'appendchildnode': '儿子主题',
'arrangeup': '前调',
'arrangedown': '后调',
'editnode': '编辑',
'removenode': '移除',
'priority': '优先级',
'progress': {
'p1': '未开始',
'p2': '完成 1/8',
'p3': '完成 1/4',
'p4': '完成 3/8',
'p5': '完成一半',
'p6': '完成 5/8',
'p7': '完成 3/4',
'p8': '完成 7/8',
'p9': '已完成',
'p0': '清除进度'
},
'link': '链接',
'image': '图片',
'removelink': '移除已有连接',
'removeimage': '移除已有图片',
'resetlayout': '整理布局',
'justnow': '刚刚',
'minutesago': '{0} 分钟前',
'hoursago': '{0} 小时前',
'yesterday': '昨天',
'daysago': '{0} 天前',
'longago': '很久之前'
},
'popupcolor': {
'clearColor': '清空颜色',
'standardColor': '标准颜色',
'themeColor': '主题颜色'
},
'dialogs': {
'markers': {
'static': {
'lang_input_text': '文本内容:',
'lang_input_url': '链接地址:',
'lang_input_title': '标题:',
'lang_input_target': '是否在新窗口打开:'
},
'priority': '优先级',
'none': '无',
'progress': {
'title': '进度',
'notdone': '未完成',
'done1': '完成 1/8',
'done2': '完成 1/4',
'done3': '完成 3/8',
'done4': '完成 1/2',
'done5': '完成 5/8',
'done6': '完成 3/4',
'done7': '完成 7/8',
'done': '已完成'
}
},
'help': {
},
'hyperlink': {},
'image': {},
'resource': {}
},
'hyperlink': {
'hyperlink': '链接...',
'unhyperlink': '移除链接'
},
'image': {
'image': '图片...',
'removeimage': '移除图片'
},
'marker': {
'marker': '进度/优先级...'
},
'resource': {
'resource': '资源...'
}
};
\ No newline at end of file
/**
* 所有构件样式规则
**/
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-widget {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-drag: none;
color: #000000;
line-height: 1.5;
font-size: 12px;
font-family: "ff-tisa-web-pro-1", "ff-tisa-web-pro-2", "Lucida Grande", "Hiragino Sans GB", "Hiragino Sans GB W3", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
-webkit-font-smoothing: antialiased;
outline: none;
display: inline-block;
vertical-align: top;
position: relative;
top: 0;
left: 0;
}
.fui-widget.fui-selectable {
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
-webkit-user-drag: text;
}
.fui-widget * {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-drag: none;
}
.fui-widget.fui-disabled {
opacity: 0.3;
}
.fui-widget.fui-hide {
display: none !important;
}
.fui-widget.fui-mask-animate {
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
}
.fui-widget.fui-mask-hint {
-webkit-transform: perspective(600px) translateZ(30px);
-moz-transform: perspective(600px) translateZ(30px);
transform: perspective(600px) translateZ(30px);
}
/**
* 容器类通用样式
**/
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-container {
overflow: hidden;
position: relative;
top: 0;
left: 0;
}
.fui-container.fui-disabled {
opacity: 1;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-button-menu {
border: 1px solid white;
}
.fui-button-menu:HOVER {
border-color: #d5e1f2;
}
.fui-button-menu.fui-button-active {
border-color: #d5e1f2;
background: #d5e1f2;
}
.fui-button-menu.fui-button-active .fui-button {
background: #d5e1f2;
}
.fui-button-menu.fui-layout-top,
.fui-button-menu.fui-layout-bottom {
text-align: center;
}
.fui-button-menu.fui-layout-top .fui-open-btn,
.fui-button-menu.fui-layout-bottom .fui-open-btn {
display: block;
}
/**
* 通用button
*/
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-button {
overflow: hidden;
cursor: default;
font-size: 0;
}
.fui-button ._layout .fui-label {
display: block;
}
.fui-button ._layout .fui-icon {
display: block;
}
.fui-button .fui-icon {
display: inline-block;
vertical-align: middle;
}
.fui-button .fui-label {
display: inline-block;
vertical-align: middle;
}
.fui-button.fui-button-layout-top .fui-label {
display: block;
}
.fui-button.fui-button-layout-top .fui-icon {
display: block;
}
.fui-button.fui-button-layout-bottom .fui-label {
display: block;
}
.fui-button.fui-button-layout-bottom .fui-icon {
display: block;
}
.fui-button:HOVER {
background-color: #d5e1f2;
color: #000000;
}
.fui-button:ACTIVE {
background-color: #87a9da;
color: #000000;
}
.fui-button.fui-disabled:HOVER {
background-color: #ffffff;
color: #000000;
}
.fui-button.fui-disabled:ACTIVE {
background-color: #ffffff;
color: #000000;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-colorpicker {
background-color: #fff;
}
.fui-colorpicker-container {
border: 1px solid #d3d3d3;
}
.fui-colorpicker-container .fui-colorpicker-title {
background: #eee;
padding: 2px 4px;
}
.fui-colorpicker-container .fui-colorpicker-colors {
margin: 0;
padding: 0;
font-size: 0;
line-height: 0;
}
.fui-colorpicker-container .fui-colorpicker-colors-line0 {
margin-bottom: 3px;
}
.fui-colorpicker-container .fui-colorpicker-item {
display: inline-block;
margin: 0 2px;
width: 13px;
height: 13px;
border-style: solid;
border-width: 1px;
}
.fui-colorpicker-container .fui-colorpicker-commoncolor,
.fui-colorpicker-container .fui-colorpicker-standardcolor {
margin: 4px 3px;
white-space: nowrap;
}
.fui-colorpicker-container .fui-colorpicker-toolbar {
margin: 4px;
height: 27px;
}
.fui-colorpicker-container .fui-colorpicker-toolbar .fui-colorpicker-preview {
display: inline-block;
height: 25px;
line-height: 25px;
width: 120px;
border: 1px solid #d3d3d3;
}
.fui-colorpicker-container .fui-colorpicker-toolbar .fui-colorpicker-clear {
display: inline-block;
height: 25px;
line-height: 25px;
width: 60px;
border: 1px solid #d3d3d3;
font-size: 12px;
text-align: center;
position: absolute;
right: 5px;
cursor: pointer;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
/**
* 通用button
*/
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-dialog {
position: fixed;
top: -1000000px;
left: -100000px;
border: 1px solid #B1B1B1;
background: #fff;
}
.fui-dialog .fui-panel-content {
width: auto;
height: auto;
padding: 2px;
}
.fui-dialog .fui-dialog-caption {
margin: 0;
padding: 5px;
font-size: 16px;
font-weight: normal;
line-height: 1;
display: inline-block;
}
.fui-dialog .fui-dialog-head .fui-close-button {
float: right;
}
.fui-dialog .fui-dialog-head .fui-close-button .fui-close-button-icon {
width: 16px;
height: 16px;
background: url("images/close.png") no-repeat 0 0;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-drop-panel {
border: 1px solid #d3d3d3;
overflow: hidden;
position: relative;
}
.fui-drop-panel .fui-drop-panel-content {
display: inline-block;
}
.fui-drop-panel .fui-drop-panel-placeholder {
display: none;
}
.fui-drop-panel .fui-drop-panel-button {
border-left: 1px solid #d3d3d3;
visibility: visible;
}
.fui-drop-panel .fui-drop-panel-button:HOVER {
border-color: #d5e1f2;
}
.fui-drop-panel .fui-drop-panel-button:ACTIVE {
border-color: #87a9da;
}
.fui-drop-panel:HOVER {
border-color: #d5e1f2;
}
.fui-drop-panel:HOVER .fui-drop-panel-button {
border-left-color: #d5e1f2;
}
.fui-drop-panel:ACTIVE {
border-color: #87a9da;
}
.fui-drop-panel:ACTIVE .fui-drop-panel-button {
border-left-color: #d5e1f2;
}
.fui-drop-panel.fui-drop-panel-open {
overflow: visible;
}
.fui-drop-panel.fui-drop-panel-open .fui-drop-panel-content {
border: 1px solid #d3d3d3;
position: absolute;
top: -1px;
left: -1px;
}
.fui-drop-panel.fui-drop-panel-open .fui-drop-panel-button {
visibility: hidden;
}
.fui-drop-panel.fui-drop-panel-open .fui-drop-panel-placeholder {
display: inline-block;
}
.fui-drop-panel-popup {
border: 1px solid #d3d3d3;
}
.fui-drop-panel-popup:HOVER {
border-color: #d5e1f2;
}
.fui-drop-panel-popup:HOVER .fui-drop-panel-button {
border-left-color: #d5e1f2;
}
.fui-drop-panel-popup:ACTIVE {
border-color: #87a9da;
}
.fui-drop-panel-popup:ACTIVE .fui-drop-panel-button {
border-left-color: #d5e1f2;
}
.fui-icon {
text-align: center;
font-size: 0;
}
.fui-icon img {
display: inline-block;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-input-button {
border: 1px solid #ababab;
}
.fui-input-button .fui-input {
vertical-align: middle;
border: none;
}
.fui-input-button .fui-button {
vertical-align: middle;
}
.fui-input-button:HOVER {
border-color: #87a9da;
}
.fui-input-button:ACTIVE {
border-color: #87a9da;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-input {
border: 1px solid #d3d3d3;
padding: 1px;
margin: 0;
}
.fui-input:HOVER,
.fui-input:FOCUS {
border-color: #4d90fe;
}
.fui-input.fui-disabled {
border-color: #d3d3d3;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-item {
font-size: 0;
}
.fui-item .fui-icon {
vertical-align: middle;
}
.fui-item .fui-label {
vertical-align: middle;
}
.fui-item.fui-item-selected {
background: #87a9da;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-label-panel .fui-label-panel-label {
width: 100%;
color: #666;
}
.fui-label-panel.fui-no-position .fui-label-panel-label {
position: static;
}
.fui-label-panel.fui-layout-bottom .fui-label-panel-label {
position: absolute;
bottom: 0;
left: 0;
top: auto;
z-index: 2;
}
.fui-label {
cursor: default;
display: inline-block;
white-space: nowrap;
}
/**
* 通用button
*/
.fui-mask {
position: fixed;
z-index: 99998;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-menu {
background-color: #fff;
border: 1px solid #d3d3d3;
}
.fui-menu .fui-item {
padding: 2px 5px;
display: block;
}
.fui-menu .fui-item:HOVER {
background: #d5e1f2;
}
/**
* 通用button
*/
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-panel {
display: inline-block;
vertical-align: top;
overflow-y: auto;
overflow-x: hidden;
}
.fui-panel .fui-panel-content {
position: relative;
top: 0;
left: 0;
}
.fui-panel .fui-panel-content {
width: 100%;
height: 100%;
}
.fui-panel.fui-container-column {
font-size: 0;
}
.fui-panel.fui-container-column .fui-column {
display: block;
}
/**
* 通用button
*/
.fui-ppanel::-webkit-scrollbar {
width: 15px;
}
.fui-ppanel::-webkit-scrollbar-button:start:decrement,
.fui-ppanel::-webkit-scrollbar-button:end:decrement,
.fui-ppanel::-webkit-scrollbar-button:start:increment,
.fui-ppanel::-webkit-scrollbar-button:end:increment,
.fui-ppanel::-webkit-scrollbar-thumb {
border: 1px solid #e7e7e7;
}
.fui-ppanel.fui-ppanel-position {
position: fixed;
z-index: 99999;
}
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-separator {
background: #6d6d6d;
}
/**
* Spin-button
*/
.fui-spin-button .fui-spin-up-btn .fui-icon,
.fui-spin-button .fui-spin-down-btn .fui-icon {
width: 16px;
height: 9px;
background: url("images/up.png") no-repeat 3px 1.5px;
}
.fui-spin-button .fui-spin-down-btn .fui-icon {
background-image: url("images/down.png");
}
/**
* 通用button
*/
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-tabs .fui-selected {
background-color: #d5e1f2;
}
/**
* 可切换Button (ToggleButton)
*/
/**
* FUI 通用样式定义
*/
/*------------ var*/
/*------------ mixin*/
.fui-toggle-button.fui-button-pressed {
background-color: #aec5e6;
}
.fui-toggle-button.fui-button-pressed.fui-disabled {
background-color: #aec5e6;
}
.fui-toggle-button:HOVER {
background-color: #d5e1f2;
color: #000000;
}
.fui-toggle-button:ACTIVE {
background-color: #87a9da;
color: #000000;
}
.blur {
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-mz-filter: blur(5px);
-o-filter: blur(5px);
filter: blur(5px);
filter: url(../images/blur.svg#blur);
}
.validate-error {
color: red;
border-color: red !important;
}
.button,
button {
display: inline-block;
height: 30px;
padding: 0 15px;
line-height: 30px;
text-align: center;
outline: none;
background: #717b94;
cursor: default;
color: #ffffff;
border: none;
}
.button:hover,
button:hover {
background: #8e96aa;
}
.button:active,
button:active {
background: #656f87;
}
input[type=text] {
padding: 2px 5px;
height: 16px;
outline: none;
border: 1px solid #c8ccd6;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
border-radius: 2px;
}
input[type=text]:focus {
border-color: #6179b8;
}
.loading .loading-target {
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-mz-filter: blur(5px);
-o-filter: blur(5px);
filter: blur(5px);
filter: url(../images/blur.svg#blur);
}
.loading:after {
content: ' ';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(128, 130, 140, 0.75);
}
.loading:before {
content: ' ';
width: 40px;
height: 40px;
border: 4px solid;
border-color: #ffffff transparent transparent;
box-shadow: 0 0 35px white;
position: absolute;
left: 50%;
top: 50%;
margin-left: -24px;
margin-top: -24px;
z-index: 10;
border-radius: 100%;
-webkit-animation: rotate 1.33s ease infinite;
}
@-webkit-keyframes rotate {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
@-moz-keyframes rotate {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
@-ms-keyframes rotate {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
@keyframes rotate {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
.triangle {
content: ' ';
display: block;
width: 0;
height: 0;
padding: 0 !important;
line-height: 0;
font-size: 0;
border-style: solid;
border-color: transparent;
}
.fui-button {
-webkit-transition: background-color 0.2s ease;
-moz-transition: background-color 0.2s ease;
-ms-transition: background-color 0.2s ease;
-o-transition: background-color 0.2s ease;
transition: background-color 0.2s ease;
}
#tab-container .fui-button {
display: inline-block;
padding: 2px 5px 2px 3px;
}
#tab-container .fui-button .fui-label {
color: #5a6378;
font-size: 12px;
vertical-align: baseline;
}
#tab-container .fui-button.command-button {
margin-bottom: 3px;
}
#tab-container .fui-button.command-button .fui-icon {
width: 20px;
height: 20px;
margin-right: 3px;
display: inline-block;
vertical-align: baseline;
}
#tab-container .fui-button.command-button.large {
width: 50px;
height: 50px;
padding: 0;
}
#tab-container .fui-button.command-button.large .fui-icon {
width: 25px;
height: 25px;
margin-left: 12px;
margin-bottom: 3px;
margin-top: 4px;
}
#tab-container .fui-button.command-button.large .fui-label {
display: block;
text-align: center;
}
#tab-container .fui-button:hover {
background-color: #eff3fa;
}
#tab-container .fui-button:active {
background-color: #c4d0ee;
}
#tab-container .fui-button.fui-disabled:hover,
#tab-container .fui-button.fui-disabled:active {
background-color: transparent;
}
#tab-container .fui-button.active {
background-color: #d7e0f4;
}
.command-buttonset .fui-toggle-button:hover {
background-color: #eff3fa;
}
.fui-disabled.command-buttonset .fui-toggle-button:hover {
background-color: transparent;
}
.command-buttonset .fui-toggle-button:active {
-webkit-transform: scale(0.9);
-moz-transform: scale(0.9);
-ms-transform: scale(0.9);
-o-transform: scale(0.9);
tranform: scale(0.9);
}
.command-buttonset .fui-toggle-button:active:hover {
background-color: #c4d0ee;
}
.fui-disabled.command-buttonset .fui-toggle-button:active:hover {
background-color: transparent;
}
.command-buttonset .fui-toggle-button.fui-button-pressed {
background-color: #d7e0f4;
}
.command-inputmenu > .fui-input-button,
.fui-input-menu > .fui-input-button {
position: relative;
border-color: #c9ced1;
margin: 2px 0;
}
.command-inputmenu > .fui-input-button .fui-input,
.fui-input-menu > .fui-input-button .fui-input {
width: 100px;
}
.command-inputmenu > .fui-input-button > .fui-button,
.fui-input-menu > .fui-input-button > .fui-button {
position: absolute;
left: auto;
right: 0;
top: 0;
bottom: 0;
width: 20px;
border-left: 1px solid #c9ced1;
padding: 0 !important;
}
.command-inputmenu > .fui-input-button > .fui-button .fui-icon,
.fui-input-menu > .fui-input-button > .fui-button .fui-icon {
position: absolute;
left: auto;
right: 6px;
top: 50%;
margin-top: -2px;
content: ' ';
display: block;
width: 0;
height: 0;
padding: 0 !important;
line-height: 0;
font-size: 0;
border-style: solid;
border-color: transparent;
border-width: 4px 4px;
border-top-color: #5a6378;
}
#tab-container .fui-drop-panel {
padding-right: 10px;
border-color: #c9ced1;
}
#tab-container .fui-drop-panel > .fui-button {
position: absolute;
display: block;
right: 1px;
left: auto;
top: 1px;
bottom: 1px;
width: 10px;
padding: 0;
}
#tab-container .fui-drop-panel > .fui-button:hover {
background: #eff3fa;
}
#tab-container .fui-drop-panel > .fui-button:active {
background: #c4d0ee;
}
#tab-container .fui-drop-panel > .fui-button > .fui-icon {
position: absolute;
content: ' ';
display: block;
width: 0;
height: 0;
padding: 0 !important;
line-height: 0;
font-size: 0;
border-style: solid;
border-color: transparent;
border-width: 4px 3px;
border-top-color: #5a6378;
top: auto;
bottom: 2px;
left: 2px;
}
.fui-drop-panel-popup {
background: white;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
padding-right: 5px;
padding-bottom: 5px;
max-width: 300px;
}
#tab-container .fui-button-menu {
border: 1px solid transparent;
width: 40px;
height: 50px;
display: inline-block;
margin-top: 5px;
}
#tab-container .fui-button-menu:hover {
border-color: #eff3fa;
}
#tab-container .fui-button-menu .fui-button:first-child {
display: block;
width: 40px;
height: 25px;
padding: 0;
}
#tab-container .fui-button-menu .fui-button:last-child {
display: block;
width: 40px;
height: 25px;
padding: 0;
}
#tab-container .fui-button-menu .fui-button:last-child .fui-label {
font-size: 12px;
}
#tab-container .fui-button-menu .fui-button:last-child .fui-icon {
content: ' ';
width: 0;
height: 0;
padding: 0 !important;
line-height: 0;
font-size: 0;
border-style: solid;
border-color: transparent;
border-width: 4px 3px;
border-top-color: #5a6378;
display: block;
position: absolute;
top: auto;
bottom: -2px;
left: 50%;
margin-left: -3px;
}
.fui-dialog {
box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
border: none;
}
.fui-dialog > .fui-panel-content {
padding: 0;
}
.fui-dialog .fui-dialog-head {
background-color: #393f4f;
color: white;
padding: 5px;
}
.fui-dialog .fui-dialog-head h1 {
font-size: 14px;
font-weight: normal;
}
.fui-dialog .fui-dialog-head .fui-close-button {
position: absolute;
right: 6px;
top: 7px;
left: auto;
display: block;
width: 20px;
height: 20px;
cursor: pointer;
border-radius: 100%;
}
.fui-dialog .fui-dialog-head .fui-close-button .fui-close-button-icon {
display: none;
background: none;
}
.fui-dialog .fui-dialog-head .fui-close-button:hover {
background-color: #e66060;
}
.fui-dialog .fui-dialog-head .fui-close-button:active {
background-color: #e34f4f;
}
.fui-dialog .fui-dialog-head .fui-close-button:after {
content: 'x';
display: block;
width: 16px;
height: 16px;
font-family: inherit;
color: white;
font-size: 14px;
position: absolute;
left: 2px;
top: 1px;
line-height: 16px;
text-align: center;
}
.fui-dialog .fui-dialog-body {
padding: 20px;
}
.fui-dialog .fui-dialog-body p {
margin: 0;
height: 40px;
}
.fui-dialog .fui-dialog-body input[type=text],
.fui-dialog .fui-dialog-body input[type=url] {
border: 1px solid #c9ced1;
outline: none;
height: 20px;
padding: 2px 4px;
width: 300px;
}
.fui-dialog .fui-dialog-foot {
position: absolute;
bottom: 0;
left: 0;
right: 0;
top: auto;
height: 50px;
border-top: 1px solid #c9ced1;
text-align: right;
}
.fui-dialog .fui-dialog-foot .fui-button {
width: 80px;
height: 30px;
line-height: 30px;
text-align: center;
border: 1px solid #c9ced1;
border-radius: 4px;
margin: 8px 8px 0 0;
}
.fui-dialog .fui-dialog-foot .fui-button:hover {
background: #d7dbe3;
}
.fui-dialog .fui-dialog-foot .fui-button:active {
background: #c9cdd8;
}
.fui-dialog .fui-dialog-foot .fui-button.fui-xdialog-ok-btn {
background: #393f4f;
border-color: transparent;
}
.fui-dialog .fui-dialog-foot .fui-button.fui-xdialog-ok-btn:hover {
background: #444b5e;
}
.fui-dialog .fui-dialog-foot .fui-button.fui-xdialog-ok-btn:active {
background: #333846;
}
.fui-dialog .fui-dialog-foot .fui-button.fui-xdialog-ok-btn .fui-label {
color: white;
}
.fui-dialog .fui-dialog-foot .fui-button .fui-label {
font-size: 14px;
line-height: 30px;
height: 30px;
}
/**
* 基本页面样式
*/
html,
body,
div {
margin: 0;
padding: 0;
overflow: hidden;
}
body,
svg {
font-family: Arial, "Microsoft Yahei", "Heiti SC", sans-serif;
}
html,
body {
height: 100%;
}
#content-wrapper {
overflow: hidden;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
position: fixed;
}
#kityminder {
position: absolute;
top: 40px;
right: 0;
bottom: 0;
left: 0;
-moz-user-select: none;
}
#panel {
background: #393f4f;
font-family: 'Hiragino Sans GB', 'Arial', 'Microsoft Yahei';
height: 40px;
overflow: visible;
position: relative;
}
#panel h1 {
font-size: 14px;
height: 40px;
line-height: 40px;
margin: 0;
text-align: center;
font-weight: normal;
color: #ffffff;
}
.fui-widget {
-webkit-font-smoothing: auto;
}
#main-menu-btn {
display: block;
float: left;
height: 40px;
line-height: 40px;
padding: 0 30px 0 15px;
z-index: 11;
background-color: #fc8383;
}
#main-menu-btn:hover {
background-color: #fc9c9c !important;
}
#main-menu-btn:active {
background-color: #fb6a6a !important;
}
#main-menu-btn .fui-label {
height: 40px;
line-height: 40px;
font-size: 14px;
color: white;
}
#main-menu-btn:after {
content: ' ';
display: block;
position: absolute;
width: 0;
height: 0;
line-height: 0;
font-size: 0;
border: 6px solid;
border-color: white transparent transparent transparent;
right: 12px;
top: 16px;
}
#main-menu {
background: white;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
transform: translate3d(0, -100%, 0);
transform-origin: 0 0;
opacity: 0;
transition: opacity .2s ease, transform .2s ease;
z-index: 100;
}
#main-menu.show {
opacity: 1;
transform: translate3d(0, 0, 0);
}
#main-menu:before {
content: ' ';
display: block;
position: absolute;
top: 0;
left: 200px;
right: -1000px;
bottom: 10px;
box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.15);
z-index: 1;
transform: translateX(-200px) translateZ(0);
transition: transform .7s ease, opacity .5s ease;
}
.show#main-menu:before {
transform: translateX(0) translateZ(0);
transition: transform .7s ease, opacity .5s ease;
}
#main-menu .main-menu-header {
background: white;
height: 40px;
}
#main-menu .main-menu-back-panel {
background-color: #fc8383;
float: left;
width: 200px;
height: 40px;
}
#main-menu .main-menu-back-panel .main-menu-back-button {
width: 190px;
height: 30px;
padding: 5px;
}
#main-menu .main-menu-back-panel .main-menu-back-button .fui-label {
display: inline-block;
color: white;
margin-left: 10px;
font-size: 14px;
display: none;
}
#main-menu .main-menu-back-panel .main-menu-back-button .fui-icon {
display: inline-block;
width: 25px;
height: 25px;
line-height: 25px;
border-radius: 100%;
border: 2px solid white;
background: url(../images/icons.png) -1px -370px;
vertical-align: middle;
}
#main-menu .main-menu-back-panel .main-menu-back-button:hover {
background: -moz-linear-gradient(left, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0.3)), color-stop(100%, rgba(255, 255, 255, 0)));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
/* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
/* IE10+ */
background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
/* W3C */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4dffffff', endColorstr='#00ffffff', GradientType=1);
/* IE6-9 */
}
#main-menu .main-menu-back-panel .main-menu-back-button:active {
background: #fb5151;
}
#main-menu .main-menu-title {
margin-left: 200px;
height: 40px;
display: block;
background: white;
z-index: 2;
text-align: center;
font-size: 12px;
font-weight: normal;
line-height: 40px;
color: #999;
transform: translateX(-200px) translateZ(0);
transition: transform .7s ease, opacity .5s ease;
}
.show#main-menu .main-menu-title {
transform: translateX(0) translateZ(0);
transition: transform .7s ease, opacity .5s ease;
}
#main-menu .main-menu-level-1 {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 40px;
}
#main-menu .main-menu-level-1 > .fui-tabs- {
/* 二级菜单区域 */
}
#main-menu .main-menu-level-1 > .fui-tabs-button-wrap {
top: 0;
right: auto;
bottom: 0;
left: 0;
width: 200px;
position: absolute;
background-color: #fc8383;
}
#main-menu .main-menu-level-1 > .fui-tabs-button-wrap .fui-button {
display: block;
text-align: right;
height: 50px;
}
#main-menu .main-menu-level-1 > .fui-tabs-button-wrap .fui-button .fui-label {
height: 50px;
line-height: 50px;
color: white;
padding-right: 20px;
font-size: 16px;
}
#main-menu .main-menu-level-1 > .fui-tabs-button-wrap .fui-button:hover {
background: #fb6a6a;
}
#main-menu .main-menu-level-1 > .fui-tabs-button-wrap .fui-button:active {
background: #fb5151;
}
#main-menu .main-menu-level-1 > .fui-tabs-button-wrap .fui-button.fui-selected {
background: #fdb4b4;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 200px;
background-color: white;
z-index: 2;
transform: translateX(-200px) translateZ(0);
transition: transform .7s ease, opacity .5s ease;
/* 每个二级菜单的面板 */
}
.show#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap {
transform: translateX(0) translateZ(0);
transition: transform .7s ease, opacity .5s ease;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel {
position: absolute;
top: 0;
right: 40px;
bottom: 0;
left: 40px;
/* 面板内容 */
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
/* 二级菜单大标题 */
/* 二级菜单导航 */
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > h2 {
font-size: 24px;
font-weight: normal;
margin-top: 0;
margin-bottom: 20px;
color: #465468;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
/* 二级导航菜单区域 */
/* 二级菜单内容区域 */
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-button-wrap {
position: absolute;
top: 60px;
right: auto;
bottom: 30px;
left: 0;
display: block;
width: 180px;
border-right: 1px solid #c8ccd6;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-button-wrap > .fui-button {
display: block;
height: 50px;
line-height: 50px;
text-align: right;
padding-right: 20px;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-button-wrap > .fui-button > .fui-label {
font-size: 14px;
line-height: 50px;
color: #465468;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-button-wrap > .fui-button:hover {
background-color: #c8ccd6;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-button-wrap > .fui-button.fui-selected {
background-color: #717b94;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-button-wrap > .fui-button.fui-selected > .fui-label {
color: white;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-panel-wrap {
position: absolute;
top: 60px;
right: 0;
bottom: 30px;
left: 200px;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-panel-wrap > .fui-panel {
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
}
#main-menu .main-menu-level-1 > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content > .fui-tabs > .fui-tabs-panel-wrap > .fui-panel > .fui-panel-content h2 {
padding-bottom: 10px;
height: 30px;
line-height: 30px;
border-bottom: 1px solid #ededed;
font-size: 18px;
font-weight: normal;
margin: 0;
padding-left: 38px;
}
.new-file-template-select {
margin: 0;
padding: 0;
list-style: none;
}
.new-file-template-select li {
display: inline-block;
position: relative;
width: 120px;
height: 120px;
margin-right: 20px;
margin-bottom: 20px;
cursor: pointer;
}
.new-file-template-select li a {
display: block;
text-align: center;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.new-file-template-select li:before {
content: ' ';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 24px;
left: 0;
border: 1px solid #ddd;
}
.new-file-template-select li:after {
content: ' ';
display: block;
position: absolute;
width: 100px;
height: 80px;
left: 50%;
top: 10px;
margin-left: -50px;
background: url(../images/template_large.png) no-repeat;
}
.new-file-template-select li.default:after {
background-position: 0 0;
}
.new-file-template-select li.structure:after {
background-position: -100px 0;
}
.new-file-template-select li.filetree:after {
background-position: -200px 0;
}
.new-file-template-select li:hover a {
color: #fc8383;
}
.new-file-template-select li:hover:before {
border: 1px solid #fc8383;
}
.new-file-template-select li:active:before {
background-color: #fee6e6;
}
.command-button.undo,
.command-button.redo {
float: left;
border: none;
width: 40px;
height: 40px;
line-height: 40px;
padding: 0;
margin: 0;
}
.command-button.undo .fui-label,
.command-button.redo .fui-label {
display: none;
}
.command-button.undo .fui-icon,
.command-button.redo .fui-icon {
display: block;
width: 40px;
height: 40px;
background: url(../images/history.png) no-repeat;
}
.command-button.undo:hover,
.command-button.redo:hover {
background: #5a6378;
}
.command-button.undo:hover .fui-icon,
.command-button.redo:hover .fui-icon {
background-position-y: -40px;
}
.command-button.undo:active,
.command-button.redo:active {
background: #444b5b;
}
.command-button.undo.fui-disabled:hover,
.command-button.redo.fui-disabled:hover,
.command-button.undo.fui-disabled:active,
.command-button.redo.fui-disabled:active {
background: none;
}
.command-button.undo.fui-disabled .fui-icon,
.command-button.redo.fui-disabled .fui-icon {
background-position-y: 0;
}
.command-button.undo {
margin-left: 10px;
}
.command-button.redo .fui-icon {
background-position-x: -40px;
}
#tab-select {
height: 40px;
line-height: 40px;
margin-left: 10px;
float: left;
}
#tab-select .fui-button {
width: 60px;
height: 40px;
line-height: 40px;
text-align: 50px;
display: inline-block;
}
#tab-select .fui-button:hover {
background: #5a6378 !important;
}
#tab-select .fui-button:active {
background: #444b5b !important;
}
#tab-select .fui-button .fui-icon {
display: none;
}
#tab-select .fui-button .fui-label {
height: 40px;
line-height: 40px;
text-align: center;
display: block;
color: #c9cbcf;
font-size: 14px;
}
#tab-select .fui-button .fui-label:hover {
background: #5a6378;
}
#tab-select .fui-button .fui-label:active {
background: #2e333e;
}
#tab-select .fui-button.fui-selected .fui-label {
color: white;
}
#tab-select .fui-button.fui-selected:after {
content: ' ';
height: 0;
line-height: 0;
font-size: 0;
display: block;
position: absolute;
border: 6px solid;
border-color: transparent transparent white transparent;
bottom: 0;
left: 50%;
margin-left: -3px;
z-index: 11;
}
#tab-select.collapsed .fui-button.fui-selected .fui-label {
color: #c9cbcf;
}
#tab-select.collapsed .fui-button.fui-selected:after {
display: none;
}
#tab-container {
position: absolute;
top: 40px;
height: 89px;
left: 0;
right: 0;
background: white;
z-index: 10;
border-bottom: 1px solid #dbdbdb;
box-shadow: 0 -3px 3px rgba(0, 0, 0, 0.05);
/* 每一个 Tab 面板 */
-webkit-transition: all 0.15s ease;
-moz-transition: all 0.15s ease;
-ms-transition: all 0.15s ease;
-o-transition: all 0.15s ease;
transition: all 0.15s ease;
}
#tab-container > .fui-panel {
display: block;
height: 100%;
/* 每一个小节 */
}
#tab-container > .fui-panel > .fui-panel-content > .fui-panel {
height: 100%;
padding: 0 5px;
border-right: 1px dashed #eee;
}
#tab-container > .fui-panel > .fui-panel-content > .fui-panel > .fui-panel-content > .fui-label {
text-align: center;
display: block;
width: 100%;
padding: 1px 0;
position: absolute;
bottom: 0;
top: auto;
}
#tab-container > .fui-panel > .fui-panel-content > .fui-panel > .fui-panel-content > .fui-label-panel-content {
padding: 5px;
}
#tab-container.collapsed {
opacity: 0;
height: 0;
}
#search {
float: right;
position: relative;
}
#search:after {
content: ' ';
display: block;
position: absolute;
width: 24px;
height: 24px;
left: 5px;
top: 7px;
background: url(../images/icons.png) no-repeat 0 -345px;
}
#search input[type=search] {
background: #5a6378;
border: none;
height: 20px;
line-height: 20px;
border-radius: 15px;
outline: none;
color: #ffffff;
padding: 5px 10px 5px 30px;
box-sizing: content-box;
margin-top: 5px;
margin-right: 3px;
width: 30px;
-webkit-transition: width 0.5s ease;
-moz-transition: width 0.5s ease;
-ms-transition: width 0.5s ease;
-o-transition: width 0.5s ease;
transition: width 0.5s ease;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
tranform: translateZ(0);
}
#search input[type=search]:focus {
width: 150px;
}
#panel div.user-panel {
float: right;
height: 40px;
line-height: 40px;
font-size: 14px;
color: #ffffff;
vertical-align: baseline;
}
#panel div.user-panel .fui-button {
padding: 5px 10px;
height: 30px;
line-height: 30px;
}
#panel div.user-panel .fui-button:hover {
background-color: #5a6378;
}
#panel div.user-panel .fui-button:active {
background-color: #444b5b;
}
#panel div.user-panel .fui-button .fui-label {
font-size: 14px;
color: #ffffff;
vertical-align: baseline;
}
#panel div.user-panel .fui-button.user-button .fui-label {
display: none;
}
#panel div.user-panel .fui-button .fui-icon {
vertical-align: baseline;
border-radius: 100%;
}
#panel div.user-panel .fui-button .fui-icon img {
width: 30px;
height: 30px;
}
#panel div.user-panel .fui-button.login-button .fui-icon {
width: 25px;
height: 25px;
margin-right: 3px;
vertical-align: baseline;
background: url(../images/icons.png) 0 -320px;
}
.recent-file-panel h2:before {
content: ' ';
display: block;
width: 25px;
height: 25px;
position: absolute;
left: 0;
top: 2px;
background: url(../images/icons.png) no-repeat 0 -520px;
}
.recent-file-panel > .clear-recent-list {
position: absolute;
right: 0;
top: 0;
}
.recent-file-panel > .recent-file-list {
margin: 0;
padding: 0;
list-style: none;
}
.recent-file-panel > .recent-file-list:empty:after {
content: '没有最近打开文件!';
display: block;
text-align: center;
font-size: 18px;
height: 50px;
line-height: 50px;
color: #CCC;
}
.recent-file-panel > .recent-file-list .recent-file-item {
font-size: 14px;
line-height: 20px;
padding: 10px 20px 10px 40px;
cursor: default;
position: relative;
}
.recent-file-panel > .recent-file-list .recent-file-item:hover {
background-color: #f4f5f7;
}
.recent-file-panel > .recent-file-list .recent-file-item:active {
background-color: #e5e7ec;
}
.recent-file-panel > .recent-file-list .recent-file-item .file-name {
margin: 0;
font-weight: normal;
height: 20px;
line-height: 20px;
}
.recent-file-panel > .recent-file-list .recent-file-item .file-name:after {
content: ' ';
display: block;
position: absolute;
width: 25px;
height: 25px;
background: url(../images/icons.png) no-repeat 0 -445px;
left: 5px;
top: 10px;
}
.recent-file-panel > .recent-file-list .recent-file-item .file-title {
margin: 0;
margin-top: 5px;
font-size: 12px;
color: #999;
}
.recent-file-panel > .recent-file-list .recent-file-item .file-time {
position: absolute;
right: 5px;
top: 10px;
font-size: 12px;
color: #999;
}
.netdisk-finder-container .netdisk-nav {
padding-bottom: 10px;
height: 30px;
border-bottom: 1px solid #eee;
font-size: 18px;
}
.netdisk-finder-container .netdisk-nav span,
.netdisk-finder-container .netdisk-nav a {
display: inline-block;
height: 20px;
line-height: 20px;
padding: 5px 10px;
margin: 0 3px 0 0;
cursor: default;
vertical-align: middle;
}
.netdisk-finder-container .netdisk-nav span.my-document {
width: 25px;
height: 25px;
padding: 0;
text-indent: -1000px;
position: relative;
top: -2px;
background: url(../images/icons.png) 0 -470px;
}
.netdisk-finder-container .netdisk-nav a.dir-back {
border-radius: 100%;
width: 23px;
height: 23px;
padding: 0;
border: 1px solid #393f4f;
text-indent: -1000px;
position: relative;
top: -1px;
background: url(../images/icons.png) -2px -396px no-repeat;
}
.netdisk-finder-container .netdisk-nav span.spliter {
content: ' ';
display: block;
width: 0;
height: 0;
padding: 0 !important;
line-height: 0;
font-size: 0;
border-style: solid;
border-color: transparent;
border-width: 4px 4px;
border-left-color: #000000;
display: inline-block;
margin-left: 4px;
}
.netdisk-finder-container .netdisk-nav a:hover {
background-color: #f4f5f7;
}
.netdisk-finder-container .netdisk-nav a:active {
background-color: #d7dae1;
}
.netdisk-finder-container .netdisk-file-list {
margin: 0;
padding: 0;
list-style: none;
position: absolute;
top: 40px;
right: 0;
bottom: 0;
left: 0;
overflow: auto;
}
.netdisk-finder-container .netdisk-file-list .empty {
height: 50px;
line-height: 50px;
text-align: center;
font-size: 18px;
color: #ccc;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item {
font-size: 14px;
line-height: 20px;
padding: 10px 20px 10px 40px;
cursor: default;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item:hover {
background-color: #f4f5f7;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item:active {
background-color: #e5e7ec;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.selected {
background-color: #717b94;
color: white;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.selected.file:before {
background-position: 0 -545px;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.file {
position: relative;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.file:before {
content: ' ';
display: block;
position: absolute;
width: 25px;
height: 25px;
left: 5px;
top: 7px;
background: url(../images/icons.png) 0 -445px no-repeat;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.dir {
position: relative;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.dir:before {
content: ' ';
display: block;
position: absolute;
width: 25px;
height: 25px;
left: 5px;
top: 7px;
background: url(../images/icons.png) 0 -420px no-repeat;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.dir:after {
content: ' ';
display: block;
width: 0;
height: 0;
padding: 0 !important;
line-height: 0;
font-size: 0;
border-style: solid;
border-color: transparent;
border-width: 4px 4px;
border-left-color: #000000;
position: absolute;
right: 5px;
top: 20px;
margin-top: -4px;
}
.netdisk-finder-container .netdisk-file-list .netdisk-file-list-item.dir input {
margin: 0;
outline: none;
width: 61.80%;
}
.netdisk-finder-container .netdisk-mkdir {
position: absolute;
right: 0;
top: 0;
}
.netdisk-finder-container .login-tip {
display: none;
text-align: center;
font-size: 16px;
color: #999;
margin-top: 30px;
}
.netdisk-finder-container .login-tip a {
text-decoration: underline;
color: #fc8383;
cursor: pointer;
}
.netdisk-finder-container .login-tip a:hover {
color: #fdb4b4;
}
.netdisk-finder-container.require-login .login-tip {
display: block;
}
.netdisk-finder-container.require-login .netdisk-nav,
.netdisk-finder-container.require-login .netdisk-file-list,
.netdisk-finder-container.require-login .netdisk-mkdir {
display: none;
}
.netdisk-save-panel .netdisk-file-list {
bottom: 60px;
}
.netdisk-save-select {
position: absolute;
top: auto;
right: 0;
bottom: 0;
left: 0;
height: auto;
padding: 10px;
border-top: 1px solid #EEE;
background: #fcfcfc;
}
.netdisk-save-select label {
display: inline-block;
padding: 0 10px 0 0;
vertical-align: middle;
margin-top: 5px;
}
.netdisk-save-select > input {
width: 50%;
margin: 0;
margin-top: 5px;
margin-right: 10px;
vertical-align: middle;
}
.netdisk-save-select > select {
margin: 5px 0 0 0;
outline: none;
vertical-align: middle;
}
.netdisk-save-select > .save-button {
float: right;
width: 80px;
vertical-align: middle;
}
.local-file-open-panel {
position: relative;
}
.local-file-open-panel > h2:before {
content: ' ';
display: block;
width: 25px;
height: 25px;
position: absolute;
left: 0;
background: url(../images/icons.png) no-repeat 0 -495px;
}
.local-file-open-panel .pick-file {
padding: 10px 0;
}
.local-file-open-panel .pick-file a {
display: inline-block;
height: 30px;
padding: 0 15px;
line-height: 30px;
text-align: center;
outline: none;
background: #717b94;
cursor: default;
color: #ffffff;
border: none;
margin: 0 10px 10px 0;
}
.local-file-open-panel .pick-file a:hover {
background: #8e96aa;
}
.local-file-open-panel .pick-file a:active {
background: #656f87;
}
.local-file-open-panel .pick-file span {
line-height: 30px;
}
.local-file-open-panel .drop-file {
border: 2px dashed #eee;
border-radius: 4px;
height: 100px;
width: 100px;
text-align: center;
font-size: 16px;
color: #CCC;
margin: 150px auto;
transition: all .1s ease;
}
.local-file-open-panel .drop-file span {
display: block;
margin-top: 25px;
padding: 0 15px;
}
.local-file-open-panel .drop-file.accept {
border-color: #abb1c0;
transform: scale(1.2);
}
.local-file-open-panel .drop-file.deny {
border-color: #eee;
color: #eee;
}
.draft-panel h2:before {
content: ' ';
display: block;
width: 25px;
height: 25px;
position: absolute;
left: 0;
background: url(../images/icons.png) no-repeat 0 -570px;
}
.draft-panel > .clear-draft {
position: absolute;
right: 0;
top: 0;
}
.draft-panel > .draft-list {
margin: 0;
padding: 0;
list-style: none;
}
.draft-panel > .draft-list:empty:after {
content: '这是个空虚寂寞的草稿箱!';
display: block;
text-align: center;
font-size: 18px;
height: 50px;
line-height: 50px;
color: #CCC;
}
.draft-panel > .draft-list .draft-list-item {
font-size: 14px;
line-height: 20px;
padding: 10px 20px 10px 40px;
cursor: default;
position: relative;
}
.draft-panel > .draft-list .draft-list-item:hover {
background-color: #f4f5f7;
}
.draft-panel > .draft-list .draft-list-item:active {
background-color: #e5e7ec;
}
.draft-panel > .draft-list .draft-list-item .draft-title {
margin: 0;
font-weight: normal;
height: 20px;
line-height: 20px;
}
.draft-panel > .draft-list .draft-list-item .draft-title:after {
content: ' ';
display: block;
position: absolute;
width: 25px;
height: 25px;
background: url(../images/icons.png) no-repeat 0 -445px;
left: 5px;
top: 10px;
}
.draft-panel > .draft-list .draft-list-item .file-time {
position: absolute;
right: 5px;
top: 10px;
font-size: 12px;
color: #999;
}
.download-panel h2:before {
content: ' ';
display: block;
width: 25px;
height: 25px;
position: absolute;
left: 0;
background: url(../images/icons.png) no-repeat 0 -595px;
}
.download-panel > .download-list {
margin: 0;
padding: 0;
list-style: none;
}
.download-panel > .download-list li {
font-size: 14px;
padding: 10px 20px 10px 40px;
cursor: default;
position: relative;
margin: 0;
font-weight: normal;
height: 20px;
line-height: 20px;
}
.download-panel > .download-list li:hover {
background-color: #f4f5f7;
}
.download-panel > .download-list li:active {
background-color: #e5e7ec;
}
#tab-container .command-buttonset.priority {
width: 140px;
}
#tab-container .command-buttonset.priority .fui-button {
width: 20px;
height: 20px;
margin: 1px;
padding: 3px;
border-radius: 4px;
}
#tab-container .command-buttonset.priority .fui-button .fui-label {
display: none;
}
#tab-container .command-buttonset.priority .fui-button .fui-icon {
display: block;
height: 20px;
width: 20px;
background: url(../images/iconpriority.png) repeat-x;
background-color: transparent;
}
#tab-container .command-buttonset.priority .fui-button.priority-0 .fui-icon {
background-position: 20px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-1 .fui-icon {
background-position: 0px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-2 .fui-icon {
background-position: -20px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-3 .fui-icon {
background-position: -40px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-4 .fui-icon {
background-position: -60px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-5 .fui-icon {
background-position: -80px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-6 .fui-icon {
background-position: -100px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-7 .fui-icon {
background-position: -120px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-8 .fui-icon {
background-position: -140px 0;
}
#tab-container .command-buttonset.priority .fui-button.priority-9 .fui-icon {
background-position: -160px 0;
}
#tab-container .command-buttonset.priority .fui-button.fui-button-pressed {
background-color: #c4d0ee;
}
#tab-container .command-buttonset.progress {
width: 140px;
}
#tab-container .command-buttonset.progress .fui-button {
width: 20px;
height: 20px;
margin: 1px;
padding: 3px;
border-radius: 4px;
}
#tab-container .command-buttonset.progress .fui-button .fui-label {
display: none;
}
#tab-container .command-buttonset.progress .fui-button .fui-icon {
display: block;
height: 20px;
width: 20px;
background: url(../images/iconprogress.png) repeat-x;
background-color: transparent;
}
#tab-container .command-buttonset.progress .fui-button.progress-0 .fui-icon {
background-position: 20px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-1 .fui-icon {
background-position: 0px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-2 .fui-icon {
background-position: -20px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-3 .fui-icon {
background-position: -40px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-4 .fui-icon {
background-position: -60px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-5 .fui-icon {
background-position: -80px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-6 .fui-icon {
background-position: -100px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-7 .fui-icon {
background-position: -120px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-8 .fui-icon {
background-position: -140px 0;
}
#tab-container .command-buttonset.progress .fui-button.progress-9 .fui-icon {
background-position: -160px 0;
}
#tab-container .command-buttonset.progress .fui-button.fui-button-pressed {
background-color: #c4d0ee;
}
#resource-panel > .fui-panel-content > .fui-label-panel-content {
position: relative;
}
#resource-panel > .fui-panel-content > .fui-label-panel-content > .fui-input {
width: 148px;
margin: 5px 0 0;
vertical-align: middle;
}
#resource-panel > .fui-panel-content > .fui-label-panel-content > .fui-button {
left: auto;
right: 6px;
top: 11px;
padding: 1px 3px;
vertical-align: middle;
position: absolute;
}
#resource-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel {
display: block;
height: 30px;
margin-top: -1px;
width: 140px;
}
#image-button-menu .fui-button:first-child {
background-image: url(../images/icons.png);
background-position: center -125px;
background-repeat: no-repeat;
}
#link-button-menu .fui-button:first-child {
background-image: url(../images/icons.png);
background-position: center -100px;
background-repeat: no-repeat;
}
ul.resource-list {
margin: 0;
padding: 0;
list-style: none;
}
ul.resource-list li {
display: inline-block;
padding: 1px 2px;
border-radius: 4px;
margin: 5px 0px 5px 5px;
}
#template-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel {
width: 65px;
height: 50px;
}
#theme-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel {
width: 90px;
height: 50px;
}
#layout-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel {
width: 65px;
height: 50px;
margin-right: 10px;
}
.fui-button.template {
width: 50px;
height: 40px;
padding: 0 2px !important;
margin: 5px 0 0 5px !important;
}
.fui-button.template .fui-label {
display: none;
}
.fui-button.template .fui-icon {
display: block;
width: 50px;
height: 40px;
background-image: url(../images/template.png);
background-repeat: no-repeat;
}
.fui-button.template.default .fui-icon {
background-position: 0 0;
}
.fui-button.template.structure .fui-icon {
background-position: -50px 0;
}
.fui-button.template.filetree .fui-icon {
background-position: -100px 0;
}
.fui-button.theme {
padding: 5px !important;
margin: 5px 0 0 5px !important;
}
.fui-button.theme .fui-label {
width: 60px;
height: 30px;
line-height: 30px;
text-align: center;
padding: 0 5px;
}
.fui-button.layout {
width: 50px;
height: 40px;
padding: 0 2px !important;
margin: 5px 0 0 5px !important;
}
.fui-button.layout .fui-label {
display: none;
}
.fui-button.layout .fui-icon {
display: block;
width: 50px;
height: 40px;
background-image: url(../images/layout.png);
background-repeat: no-repeat;
}
.fui-button.layout.default .fui-icon {
background-position: 0 0;
}
.fui-button.layout.bottom .fui-icon {
background-position: -100px 0;
}
.fui-button.layout.filetree .fui-icon {
background-position: -200px 0;
}
#font-panel .command-button {
padding: 0;
width: 20px;
height: 20px;
border: 1px solid transparent;
background: transparent;
border-radius: 11px;
margin-left: 5px;
margin-top: 2px;
margin-bottom: 2px !important;
}
#font-panel .command-button.active {
border: 1px solid #ccd0d3;
background: #fafcff;
}
#font-panel .command-button:hover {
border: 1px solid #ccd0d3;
background: #fff;
}
#font-panel .command-button:active {
background: #e1edff;
}
#font-panel .command-button .fui-label {
display: none;
}
.command-buttonset.color-picker {
width: 100px;
}
.command-buttonset.color-picker .fui-toggle-button {
margin: 3px 3px 0 0 !important;
padding: 2px !important;
border-radius: 100%;
border: 1px solid #efefef;
background: transparent;
}
.command-buttonset.color-picker .fui-toggle-button.fui-button-pressed {
border: 1px solid #c4d0ee;
background: #fafcff;
}
.command-buttonset.color-picker .fui-toggle-button:hover {
border: 1px solid #ccd0d3;
background: #fff;
}
.command-buttonset.color-picker .fui-toggle-button .fui-label {
display: none;
}
.command-buttonset.color-picker .fui-toggle-button .fui-icon {
width: 16px;
height: 16px;
border-radius: 100%;
}
/**
* 页面下方 “关于” 面板的样式
*/
#about {
position: absolute;
bottom: 0;
right: 0;
height: 40px;
line-height: 40px;
background: #5d697a;
color: #eee;
font-family: Arial;
font-size: 13px;
font-weight: normal;
margin: 0;
text-align: right;
padding: 0 15px 0 60px;
border-bottom: 5px solid #393F4F;
overflow: visible;
-webkit-transition: all ease 0.3s 0.3s;
-moz-transition: all ease 0.3s 0.3s;
-ms-transition: all ease 0.3s 0.3s;
-o-transition: all ease 0.3s 0.3s;
transition: all ease 0.3s 0.3s;
-webkit-transform: translate(100%);
-moz-transform: translate(100%);
-ms-transform: translate(100%);
-o-transform: translate(100%);
tranform: translate(100%);
}
#about a {
color: #eee;
}
#about #km-cat {
position: absolute;
left: 15px;
top: 5px;
-webkit-transition: all ease 1.3s 0.3s;
-moz-transition: all ease 1.3s 0.3s;
-ms-transition: all ease 1.3s 0.3s;
-o-transition: all ease 1.3s 0.3s;
transition: all ease 1.3s 0.3s;
-webkit-transform: translate(-60px, 0);
-moz-transform: translate(-60px, 0);
-ms-transform: translate(-60px, 0);
-o-transform: translate(-60px, 0);
tranform: translate(-60px, 0);
cursor: pointer;
}
#about #cat-face {
fill: #393F4F;
}
#about:hover,
#about:hover #km-cat {
-webkit-transform: translate(0);
-moz-transform: translate(0);
-ms-transform: translate(0);
-o-transform: translate(0);
tranform: translate(0);
}
#about #km-version.new-version {
position: relative;
padding-right: 30px;
}
#about #km-version.new-version:after {
content: 'NEW';
color: #ff0;
position: absolute;
top: -10px;
right: -5px;
display: block;
background: #f00;
padding: 0 5px;
border-radius: 4px;
text-shadow: none;
box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.3);
-webkit-transform: scale(0.6);
-moz-transform: scale(0.6);
-ms-transform: scale(0.6);
-o-transform: scale(0.6);
tranform: scale(0.6);
}
.km_receiver {
width: 0;
height: 0;
}
.shortcuts-opt {
margin: 0px 7px;
background-color: #fff;
font-size: 14px;
}
.shortcuts-group {
padding-right: 15px;
width: 200px;
text-shadow: none;
}
.shortcuts-thead {
font-size: 14px;
font-weight: bold;
line-height: 14px;
}
#div1 {
display: none;
}
/*.help-container {
width: 586px;
float: left;
}*/
.shortcuts-use {
width: 160px;
font-size: 14px;
font-weight: lighter;
}
.help-header {
padding-bottom: 9px;
margin: 20px 20px 30px;
border-bottom: 1px solid #EEE;
display: none;
}
.shortcuts-table {
max-width: 100%;
background-color: transparent;
border-collapse: collapse;
border-spacing: 0px;
float: left;
margin-left: 10px;
margin-top: 30px;
}
.shortcuts-table tr:first-child td span {
padding: 10px 0;
font-size: 18px;
display: block;
color: white;
}
.shortcuts-table td {
display: table-cell;
float: none;
margin-left: 0px;
padding-bottom: 7px;
}
.shortcuts-table td[colspan] {
text-align: center;
}
.shortcuts-table h2 {
font-size: 31.5px;
line-height: 40px;
}
.help-container {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #ffffff;
text-shadow: 0 1px black;
margin: 30px;
}
.shortcuts-key {
display: inline-block;
padding: 3px 8px 5px;
font-size: 14px;
font-weight: normal;
line-height: 14px;
color: #6e6e6e;
/* text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25); */
white-space: nowrap;
vertical-align: baseline;
background-color: #fcfcfc;
border-radius: 3px;
/* border: 1px solid hsl(0, 0%, 60%); */
text-transform: capitalize;
box-shadow: inset 0 -2px #ebebeb, inset 0 -3px #ffffff, 0 1px 2px rgba(255, 255, 255, 0.3);
}
.mac .shortcuts-key.ctrl,
.mac .shortcuts-key.shift,
.mac .shortcuts-key.alt,
.shortcuts-key.up,
.shortcuts-key.down,
.shortcuts-key.left,
.shortcuts-key.right {
text-indent: -1000px;
position: relative;
width: 9px;
}
.mac .shortcuts-key.ctrl:after,
.mac .shortcuts-key.shift:after,
.mac .shortcuts-key.alt:after,
.shortcuts-key.up:after,
.shortcuts-key.down:after,
.shortcuts-key.left:after,
.shortcuts-key.right:after {
display: block;
position: absolute;
text-align: center;
left: 5px;
top: 4px;
width: 16px;
height: 16px;
text-indent: 0;
}
.mac .shortcuts-key.ctrl:after {
content: '⌘';
}
.mac .shortcuts-key.shift:after {
content: '⇧';
}
.mac .shortcuts-key.alt:after {
content: '⌥';
}
.shortcuts-key.up:after {
content: '↑';
top: 2px;
}
.shortcuts-key.down:after {
content: '↓';
top: 2px;
}
.shortcuts-key.left:after {
content: '←';
top: 2px;
}
.shortcuts-key.right:after {
content: '→';
top: 2px;
}
div.right {
float: right;
}
#share-dialog {
display: none;
}
.command-button .fui-icon {
background: url(../images/icons.png) no-repeat;
background-position: 0 20px;
}
.appendchildnode.command-button .fui-icon {
background-position: 0 0px;
}
.appendsiblingnode.command-button .fui-icon {
background-position: 0 -20px;
}
.editnode.command-button .fui-icon {
background-position: 0 -60px;
}
.removenode.command-button .fui-icon {
background-position: 0 -80px;
}
.resetlayout.command-button .fui-icon {
background-position: 0 -150px;
}
.clearstyle.command-button .fui-icon {
background-position: 0 -175px;
}
.copystyle.command-button .fui-icon {
background-position: 0 -200px;
}
.pastestyle.command-button .fui-icon {
background-position: 0 -220px;
}
.bold.command-button .fui-icon {
background-position: 0 -240px;
}
.italic.command-button .fui-icon {
background-position: 0 -260px;
}
.arrangeup.command-button .fui-icon {
background-position: 0 -280px;
}
.arrangedown.command-button .fui-icon {
background-position: 0 -300px;
}
/*# sourceMappingURL=default.all.css.map */
\ No newline at end of file
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
<filter id="blur">
<feGaussianBlur stdDeviation="5" />
</filter>
</svg>
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" id="km-cat" viewBox="0 0 1200 1200" width="500" height="500">
<g id="cat-face">
<path d="M1066.769,368.482L1119.5,80L830,131.611C760.552,97.29,682.35,77.999,599.641,77.999
c-82.424,0-160.371,19.161-229.641,53.26L81,81l50.769,289l0,0c-33.792,69.019-52.77,146.612-52.77,228.641
c0,287.542,233.099,520.642,520.642,520.642s520.642-233.099,520.642-520.642C1120.282,516.011,1101.028,437.88,1066.769,368.482z"
/>
</g>
<g id="cat-eye">
<path style="fill:#FFFFFF;" d="M920.255,371C794.746,371,693,472.746,693,598.255s101.746,227.255,227.255,227.255
s227.255-101.746,227.255-227.255S1045.765,371,920.255,371z M920,746c-80.081,0-145-64.919-145-145s64.919-145,145-145
s145,64.919,145,145S1000.081,746,920,746z"/>
<path style="fill:#FFFFFF;" d="M276.255,371C150.746,371,49,472.746,49,598.255s101.746,227.255,227.255,227.255
s227.255-101.746,227.255-227.255S401.765,371,276.255,371z M276,745c-80.081,0-145-64.919-145-145s64.919-145,145-145
s145,64.919,145,145S356.081,745,276,745z"/>
</g>
</svg>
\ No newline at end of file
...@@ -88,11 +88,11 @@ ...@@ -88,11 +88,11 @@
'src/module/keynav.js', 'src/module/keynav.js',
'src/module/select.js', 'src/module/select.js',
'src/module/history.js', 'src/module/history.js',
// 'src/module/editor.js', 'src/module/editor.js',
// 'src/module/editor.keyboard.js', 'src/module/editor.keyboard.js',
// 'src/module/editor.range.js', 'src/module/editor.range.js',
// 'src/module/editor.receiver.js', 'src/module/editor.receiver.js',
// 'src/module/editor.selection.js', 'src/module/editor.selection.js',
'src/module/basestyle.js', 'src/module/basestyle.js',
'src/module/font.js', 'src/module/font.js',
'src/module/zoom.js', 'src/module/zoom.js',
......
var baidu = baidu || {};
baidu.frontia = {}, function(e) {
baidu.frontia.version = "1.0.0", baidu.frontia.serviceHost = {PCS: "https://c.pcs.baidu.com",Frontia: "https://frontia.baidu.com",PBLog: "http://frontialog.smrapp.baidu.com",Social: "https://openapi.baidu.com"}, baidu.frontia.currentAccount = null, baidu.frontia.apiKey = null, baidu.frontia._CURRENT_USER_KEY = "currentUser", "undefined" != typeof localStorage && (baidu.frontia.localStorage = localStorage), baidu.frontia.DomainManager = {getSocialDomain: function() {
return baidu.frontia.serviceHost.Social
},getPCSDomain: function() {
return baidu.frontia.serviceHost.PCS
},getFrontiaDomain: function() {
return baidu.frontia.serviceHost.Frontia
},getPBLogDomain: function() {
return baidu.frontia.serviceHost.PBLog
}}, baidu.frontia.Base = Object.defineProperty(function() {
}, "extend", {value: function(e, t) {
var r = e && e.hasOwnProperty("constructor") ? e.constructor : this, n = function() {
r.apply(this, arguments)
};
if (n.prototype = function(e, t) {
return Object.getOwnPropertyNames(t).forEach(function(r) {
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r))
}), e
}(Object.create(this.prototype), e || {}), t)
for (var a in t)
t.hasOwnProperty(a) && (n[a] = t[a]);
return Object.defineProperty(n, "extend", Object.getOwnPropertyDescriptor(this, "extend")), n
}}), baidu.frontia.Object = baidu.frontia.Base.extend({acl: null,constructor: function(t) {
if (t && !(t instanceof e.ACL))
throw new Error("[construct ]: acl is invalid");
this.acl = t || null
},setAcl: function(t) {
if (t && !(t instanceof e.ACL))
throw new Error("[setAcl ]: acl is invalid");
this.acl = t || null
},getACL: function() {
return this.acl
},_getACLInfo: function() {
var t = null;
return this.acl instanceof e.ACL && (t = this.acl.toJSON()), t
}}), baidu.frontia.setCurrentAccount = function(t) {
if (!(t instanceof e.User || t instanceof e.Role))
throw new Error("[setCurrentAccount]: account is invalid");
var r = t.toJSON();
baidu.frontia.localStorage.setItem(baidu.frontia._getLocalStorageKey(baidu.frontia._CURRENT_USER_KEY), JSON.stringify(r)), baidu.frontia.currentAccount = t
}, baidu.frontia.logOutCurrentAccount = function() {
baidu.frontia.currentAccount = null, baidu.frontia.localStorage.removeItem(baidu.frontia._getLocalStorageKey(baidu.frontia._CURRENT_USER_KEY))
}, baidu.frontia.getCurrentAccount = function() {
if (baidu.frontia.currentAccount)
return baidu.frontia.currentAccount;
var e = baidu.frontia.localStorage.getItem(baidu.frontia._getLocalStorageKey(baidu.frontia._CURRENT_USER_KEY));
if (!e)
return null;
var t = JSON.parse(e);
return "user" === t.type ? new baidu.frontia.User({socialId: t.socialId,accessToken: t.accessToken,name: t.name,mediaType: t.mediaType,expiresIn: t.expiresIn}) : new baidu.frontia.Role(t.roleId)
}, baidu.frontia.init = function(e) {
if (!e)
throw new Error("[init]: apiKey is invaild");
baidu.frontia.apiKey = e
}, baidu.frontia.getApiKey = function() {
return baidu.frontia.apiKey
}, baidu.frontia._getLocalStorageKey = function(e) {
if (!baidu.frontia.apiKey)
throw "Should call baidu.frontia.init before using baidu.frontia";
if (e || (e = ""), "string" != typeof e)
throw "userKey must be a string when getting localStorage key";
return "baidu.frontia/" + baidu.frontia.apiKey + "/" + e
}
}(baidu.frontia), "undefined" != typeof module && module.exports && (module.exports = baidu), baidu.frontia.error = baidu.frontia.error || {}, function() {
baidu.frontia.error = function(e, t) {
t = t || "error", this.code = e.error_code || e.Code, this.message = e.error_msg || e.Message, this.message += " [" + t + "]"
}, baidu.frontia.ERR_MSG = {NO_AK: {error_code: -1,error_msg: "No AK found, please config AK by calling BaiduFrontia.init(yourak) at first"},INVALID_AK: {error_code: -1,error_msg: "Invalid AK"},INVALID_PARAMS: {error_code: -1,error_msg: "Invalid params"},INVALID_RES_TYPE: {error_code: -1,error_msg: "Invalid params: response_type"},INVALID_MEDIA_TYPE: {error_code: -1,error_msg: "Invalid params: media_type"}}
}(baidu.frontia), function() {
"use strict";
function e(e, t) {
var r = e.split("."), n = g;
!(r[0] in n) && n.execScript && n.execScript("var " + r[0]);
for (var a; r.length && (a = r.shift()); )
r.length || t === h ? n = n[a] ? n[a] : n[a] = {} : n[a] = t
}
function t(e, t) {
if (this.index = "number" == typeof t ? t : 0, this.f = 0, this.buffer = e instanceof (m ? Uint8Array : Array) ? e : new (m ? Uint8Array : Array)(32768), 2 * this.buffer.length <= this.index)
throw Error("invalid index");
this.buffer.length <= this.index && r(this)
}
function r(e) {
var t, r = e.buffer, n = r.length, a = new (m ? Uint8Array : Array)(n << 1);
if (m)
a.set(r);
else
for (t = 0; n > t; ++t)
a[t] = r[t];
return e.buffer = a
}
function n(e, t, r) {
var n, a = "number" == typeof t ? t : t = 0, o = "number" == typeof r ? r : e.length;
for (n = -1, a = 7 & o; a--; ++t)
n = n >>> 8 ^ S[255 & (n ^ e[t])];
for (a = o >> 3; a--; t += 8)
n = n >>> 8 ^ S[255 & (n ^ e[t])], n = n >>> 8 ^ S[255 & (n ^ e[t + 1])], n = n >>> 8 ^ S[255 & (n ^ e[t + 2])], n = n >>> 8 ^ S[255 & (n ^ e[t + 3])], n = n >>> 8 ^ S[255 & (n ^ e[t + 4])], n = n >>> 8 ^ S[255 & (n ^ e[t + 5])], n = n >>> 8 ^ S[255 & (n ^ e[t + 6])], n = n >>> 8 ^ S[255 & (n ^ e[t + 7])];
return (4294967295 ^ n) >>> 0
}
function a(e) {
this.buffer = new (m ? Uint16Array : Array)(2 * e), this.length = 0
}
function o(e, t) {
this.h = j, this.j = 0, this.input = m && e instanceof Array ? new Uint8Array(e) : e, this.c = 0, t && (t.lazy && (this.j = t.lazy), "number" == typeof t.compressionType && (this.h = t.compressionType), t.outputBuffer && (this.a = m && t.outputBuffer instanceof Array ? new Uint8Array(t.outputBuffer) : t.outputBuffer), "number" == typeof t.outputIndex && (this.c = t.outputIndex)), this.a || (this.a = new (m ? Uint8Array : Array)(32768))
}
function i(e, t) {
this.length = e, this.k = t
}
function s(e, t) {
function r(e, t) {
var r, n = e.k, a = [], o = 0;
r = O[e.length], a[o++] = 65535 & r, a[o++] = 255 & r >> 16, a[o++] = r >> 24;
var i;
switch (d) {
case 1 === n:
i = [0, n - 1, 0];
break;
case 2 === n:
i = [1, n - 2, 0];
break;
case 3 === n:
i = [2, n - 3, 0];
break;
case 4 === n:
i = [3, n - 4, 0];
break;
case 6 >= n:
i = [4, n - 5, 1];
break;
case 8 >= n:
i = [5, n - 7, 1];
break;
case 12 >= n:
i = [6, n - 9, 2];
break;
case 16 >= n:
i = [7, n - 13, 2];
break;
case 24 >= n:
i = [8, n - 17, 3];
break;
case 32 >= n:
i = [9, n - 25, 3];
break;
case 48 >= n:
i = [10, n - 33, 4];
break;
case 64 >= n:
i = [11, n - 49, 4];
break;
case 96 >= n:
i = [12, n - 65, 5];
break;
case 128 >= n:
i = [13, n - 97, 5];
break;
case 192 >= n:
i = [14, n - 129, 6];
break;
case 256 >= n:
i = [15, n - 193, 6];
break;
case 384 >= n:
i = [16, n - 257, 7];
break;
case 512 >= n:
i = [17, n - 385, 7];
break;
case 768 >= n:
i = [18, n - 513, 8];
break;
case 1024 >= n:
i = [19, n - 769, 8];
break;
case 1536 >= n:
i = [20, n - 1025, 9];
break;
case 2048 >= n:
i = [21, n - 1537, 9];
break;
case 3072 >= n:
i = [22, n - 2049, 10];
break;
case 4096 >= n:
i = [23, n - 3073, 10];
break;
case 6144 >= n:
i = [24, n - 4097, 11];
break;
case 8192 >= n:
i = [25, n - 6145, 11];
break;
case 12288 >= n:
i = [26, n - 8193, 12];
break;
case 16384 >= n:
i = [27, n - 12289, 12];
break;
case 24576 >= n:
i = [28, n - 16385, 13];
break;
case 32768 >= n:
i = [29, n - 24577, 13];
break;
default:
throw "invalid distance"
}
r = i, a[o++] = r[0], a[o++] = r[1], a[o++] = r[2];
var s, c;
for (s = 0, c = a.length; c > s; ++s)
y[_++] = a[s];
v[a[0]]++, b[a[3]]++, A = e.length + t - 1, l = null
}
var n, a, o, i, s, u, f, l, p, g = {}, y = m ? new Uint16Array(2 * t.length) : [], _ = 0, A = 0, v = new (m ? Uint32Array : Array)(286), b = new (m ? Uint32Array : Array)(30), w = e.j;
if (!m) {
for (o = 0; 285 >= o; )
v[o++] = 0;
for (o = 0; 29 >= o; )
b[o++] = 0
}
for (v[256] = 1, n = 0, a = t.length; a > n; ++n) {
for (o = s = 0, i = 3; i > o && n + o !== a; ++o)
s = s << 8 | t[n + o];
if (g[s] === h && (g[s] = []), u = g[s], !(0 < A--)) {
for (; 0 < u.length && 32768 < n - u[0]; )
u.shift();
if (n + 3 >= a) {
for (l && r(l, -1), o = 0, i = a - n; i > o; ++o)
p = t[n + o], y[_++] = p, ++v[p];
break
}
0 < u.length ? (f = c(t, n, u), l ? l.length < f.length ? (p = t[n - 1], y[_++] = p, ++v[p], r(f, 0)) : r(l, -1) : f.length < w ? l = f : r(f, 0)) : l ? r(l, -1) : (p = t[n], y[_++] = p, ++v[p])
}
u.push(n)
}
return y[_++] = 256, v[256]++, e.n = v, e.m = b, m ? y.subarray(0, _) : y
}
function c(e, t, r) {
var n, a, o, s, c, u, f = 0, l = e.length;
s = 0, u = r.length;
e: for (; u > s; s++) {
if (n = r[u - s - 1], o = 3, f > 3) {
for (c = f; c > 3; c--)
if (e[n + c - 1] !== e[t + c - 1])
continue e;
o = f
}
for (; 258 > o && l > t + o && e[n + o] === e[t + o]; )
++o;
if (o > f && (a = n, f = o), 258 === o)
break
}
return new i(f, t - a)
}
function u(e, t) {
var r, n, o, i, s, c = e.length, u = new a(572), l = new (m ? Uint8Array : Array)(c);
if (!m)
for (i = 0; c > i; i++)
l[i] = 0;
for (i = 0; c > i; ++i)
0 < e[i] && u.push(i, e[i]);
if (r = Array(u.length / 2), n = new (m ? Uint32Array : Array)(u.length / 2), 1 === r.length)
return l[u.pop().index] = 1, l;
for (i = 0, s = u.length / 2; s > i; ++i)
r[i] = u.pop(), n[i] = r[i].value;
for (o = f(n, n.length, t), i = 0, s = r.length; s > i; ++i)
l[r[i].index] = o[i];
return l
}
function f(e, t, r) {
function n(e) {
var r = h[e][d[e]];
r === t ? (n(e + 1), n(e + 1)) : --l[r], ++d[e]
}
var a, o, i, s, c, u = new (m ? Uint16Array : Array)(r), f = new (m ? Uint8Array : Array)(r), l = new (m ? Uint8Array : Array)(t), p = Array(r), h = Array(r), d = Array(r), g = (1 << r) - t, y = 1 << r - 1;
for (u[r - 1] = t, o = 0; r > o; ++o)
y > g ? f[o] = 0 : (f[o] = 1, g -= y), g <<= 1, u[r - 2 - o] = (0 | u[r - 1 - o] / 2) + t;
for (u[0] = f[0], p[0] = Array(u[0]), h[0] = Array(u[0]), o = 1; r > o; ++o)
u[o] > 2 * u[o - 1] + f[o] && (u[o] = 2 * u[o - 1] + f[o]), p[o] = Array(u[o]), h[o] = Array(u[o]);
for (a = 0; t > a; ++a)
l[a] = r;
for (i = 0; i < u[r - 1]; ++i)
p[r - 1][i] = e[i], h[r - 1][i] = i;
for (a = 0; r > a; ++a)
d[a] = 0;
for (1 === f[r - 1] && (--l[0], ++d[r - 1]), o = r - 2; o >= 0; --o) {
for (s = a = 0, c = d[o + 1], i = 0; i < u[o]; i++)
s = p[o + 1][c] + p[o + 1][c + 1], s > e[a] ? (p[o][i] = s, h[o][i] = t, c += 2) : (p[o][i] = e[a], h[o][i] = a, ++a);
d[o] = 0, 1 === f[o] && n(o)
}
return l
}
function l(e) {
var t, r, n, a, o = new (m ? Uint16Array : Array)(e.length), i = [], s = [], c = 0;
for (t = 0, r = e.length; r > t; t++)
i[e[t]] = (0 | i[e[t]]) + 1;
for (t = 1, r = 16; r >= t; t++)
s[t] = c, c += 0 | i[t], c <<= 1;
for (t = 0, r = e.length; r > t; t++)
for (c = s[e[t]], s[e[t]] += 1, n = o[t] = 0, a = e[t]; a > n; n++)
o[t] = o[t] << 1 | 1 & c, c >>>= 1;
return o
}
function p(e, t) {
this.input = e, this.c = this.i = 0, this.d = {}, t && (t.flags && (this.d = t.flags), "string" == typeof t.filename && (this.filename = t.filename), "string" == typeof t.comment && (this.l = t.comment), t.deflateOptions && (this.e = t.deflateOptions)), this.e || (this.e = {})
}
var h = void 0, d = !0, g = this, m = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array;
t.prototype.b = function(e, t, n) {
var a, o = this.buffer, i = this.index, s = this.f, c = o[i];
if (n && t > 1 && (e = t > 8 ? (w[255 & e] << 24 | w[255 & e >>> 8] << 16 | w[255 & e >>> 16] << 8 | w[255 & e >>> 24]) >> 32 - t : w[e] >> 8 - t), 8 > t + s)
c = c << t | e, s += t;
else
for (a = 0; t > a; ++a)
c = c << 1 | 1 & e >> t - a - 1, 8 === ++s && (s = 0, o[i++] = w[c], c = 0, i === o.length && (o = r(this)));
o[i] = c, this.buffer = o, this.f = s, this.index = i
}, t.prototype.finish = function() {
var e, t = this.buffer, r = this.index;
return 0 < this.f && (t[r] <<= 8 - this.f, t[r] = w[t[r]], r++), m ? e = t.subarray(0, r) : (t.length = r, e = t), e
};
var y, _ = new (m ? Uint8Array : Array)(256);
for (y = 0; 256 > y; ++y) {
for (var A = y, v = A, b = 7, A = A >>> 1; A; A >>>= 1)
v <<= 1, v |= 1 & A, --b;
_[y] = (255 & v << b) >>> 0
}
var w = _, T = [0, 1996959894, 3993919788, 2567524794, 124634137, 1886057615, 3915621685, 2657392035, 249268274, 2044508324, 3772115230, 2547177864, 162941995, 2125561021, 3887607047, 2428444049, 498536548, 1789927666, 4089016648, 2227061214, 450548861, 1843258603, 4107580753, 2211677639, 325883990, 1684777152, 4251122042, 2321926636, 335633487, 1661365465, 4195302755, 2366115317, 997073096, 1281953886, 3579855332, 2724688242, 1006888145, 1258607687, 3524101629, 2768942443, 901097722, 1119000684, 3686517206, 2898065728, 853044451, 1172266101, 3705015759, 2882616665, 651767980, 1373503546, 3369554304, 3218104598, 565507253, 1454621731, 3485111705, 3099436303, 671266974, 1594198024, 3322730930, 2970347812, 795835527, 1483230225, 3244367275, 3060149565, 1994146192, 31158534, 2563907772, 4023717930, 1907459465, 112637215, 2680153253, 3904427059, 2013776290, 251722036, 2517215374, 3775830040, 2137656763, 141376813, 2439277719, 3865271297, 1802195444, 476864866, 2238001368, 4066508878, 1812370925, 453092731, 2181625025, 4111451223, 1706088902, 314042704, 2344532202, 4240017532, 1658658271, 366619977, 2362670323, 4224994405, 1303535960, 984961486, 2747007092, 3569037538, 1256170817, 1037604311, 2765210733, 3554079995, 1131014506, 879679996, 2909243462, 3663771856, 1141124467, 855842277, 2852801631, 3708648649, 1342533948, 654459306, 3188396048, 3373015174, 1466479909, 544179635, 3110523913, 3462522015, 1591671054, 702138776, 2966460450, 3352799412, 1504918807, 783551873, 3082640443, 3233442989, 3988292384, 2596254646, 62317068, 1957810842, 3939845945, 2647816111, 81470997, 1943803523, 3814918930, 2489596804, 225274430, 2053790376, 3826175755, 2466906013, 167816743, 2097651377, 4027552580, 2265490386, 503444072, 1762050814, 4150417245, 2154129355, 426522225, 1852507879, 4275313526, 2312317920, 282753626, 1742555852, 4189708143, 2394877945, 397917763, 1622183637, 3604390888, 2714866558, 953729732, 1340076626, 3518719985, 2797360999, 1068828381, 1219638859, 3624741850, 2936675148, 906185462, 1090812512, 3747672003, 2825379669, 829329135, 1181335161, 3412177804, 3160834842, 628085408, 1382605366, 3423369109, 3138078467, 570562233, 1426400815, 3317316542, 2998733608, 733239954, 1555261956, 3268935591, 3050360625, 752459403, 1541320221, 2607071920, 3965973030, 1969922972, 40735498, 2617837225, 3943577151, 1913087877, 83908371, 2512341634, 3803740692, 2075208622, 213261112, 2463272603, 3855990285, 2094854071, 198958881, 2262029012, 4057260610, 1759359992, 534414190, 2176718541, 4139329115, 1873836001, 414664567, 2282248934, 4279200368, 1711684554, 285281116, 2405801727, 4167216745, 1634467795, 376229701, 2685067896, 3608007406, 1308918612, 956543938, 2808555105, 3495958263, 1231636301, 1047427035, 2932959818, 3654703836, 1088359270, 936918e3, 2847714899, 3736837829, 1202900863, 817233897, 3183342108, 3401237130, 1404277552, 615818150, 3134207493, 3453421203, 1423857449, 601450431, 3009837614, 3294710456, 1567103746, 711928724, 3020668471, 3272380065, 1510334235, 755167117], S = m ? new Uint32Array(T) : T;
a.prototype.getParent = function(e) {
return 2 * (0 | (e - 2) / 4)
}, a.prototype.push = function(e, t) {
var r, n, a, o = this.buffer;
for (r = this.length, o[this.length++] = t, o[this.length++] = e; r > 0 && (n = this.getParent(r), o[r] > o[n]); )
a = o[r], o[r] = o[n], o[n] = a, a = o[r + 1], o[r + 1] = o[n + 1], o[n + 1] = a, r = n;
return this.length
}, a.prototype.pop = function() {
var e, t, r, n, a, o = this.buffer;
for (t = o[0], e = o[1], this.length -= 2, o[0] = o[this.length], o[1] = o[this.length + 1], a = 0; (n = 2 * a + 2, !(n >= this.length)) && (n + 2 < this.length && o[n + 2] > o[n] && (n += 2), o[n] > o[a]); )
r = o[a], o[a] = o[n], o[n] = r, r = o[a + 1], o[a + 1] = o[n + 1], o[n + 1] = r, a = n;
return {index: e,value: t,length: this.length}
};
var k, j = 2, I = [];
for (k = 0; 288 > k; k++)
switch (d) {
case 143 >= k:
I.push([k + 48, 8]);
break;
case 255 >= k:
I.push([k - 144 + 400, 9]);
break;
case 279 >= k:
I.push([k - 256 + 0, 7]);
break;
case 287 >= k:
I.push([k - 280 + 192, 8]);
break;
default:
throw "invalid literal: " + k
}
o.prototype.g = function() {
var e, r, n, a, o = this.input;
switch (this.h) {
case 0:
for (n = 0, a = o.length; a > n; ) {
r = m ? o.subarray(n, n + 65535) : o.slice(n, n + 65535), n += r.length;
var i = r, c = n === a, f = h, p = h, g = h, y = h, _ = h, A = this.a, v = this.c;
if (m) {
for (A = new Uint8Array(this.a.buffer); A.length <= v + i.length + 5; )
A = new Uint8Array(A.length << 1);
A.set(this.a)
}
if (f = c ? 1 : 0, A[v++] = 0 | f, p = i.length, g = 65535 & ~p + 65536, A[v++] = 255 & p, A[v++] = 255 & p >>> 8, A[v++] = 255 & g, A[v++] = 255 & g >>> 8, m)
A.set(i, v), v += i.length, A = A.subarray(0, v);
else {
for (y = 0, _ = i.length; _ > y; ++y)
A[v++] = i[y];
A.length = v
}
this.c = v, this.a = A
}
break;
case 1:
var b = new t(m ? new Uint8Array(this.a.buffer) : this.a, this.c);
b.b(1, 1, d), b.b(1, 2, d);
var w, T, S, k = s(this, o);
for (w = 0, T = k.length; T > w; w++)
if (S = k[w], t.prototype.b.apply(b, I[S]), S > 256)
b.b(k[++w], k[++w], d), b.b(k[++w], 5), b.b(k[++w], k[++w], d);
else if (256 === S)
break;
this.a = b.finish(), this.c = this.a.length;
break;
case j:
var x, O, R, D, N, P, E, C, U, L, M, q, F, K, J, B = new t(m ? new Uint8Array(this.a.buffer) : this.a, this.c), z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], V = Array(19);
for (x = j, B.b(1, 1, d), B.b(x, 2, d), O = s(this, o), P = u(this.n, 15), E = l(P), C = u(this.m, 7), U = l(C), R = 286; R > 257 && 0 === P[R - 1]; R--)
;
for (D = 30; D > 1 && 0 === C[D - 1]; D--)
;
var H, G, Q, Y, $, X, Z = R, W = D, et = new (m ? Uint32Array : Array)(Z + W), tt = new (m ? Uint32Array : Array)(316), rt = new (m ? Uint8Array : Array)(19);
for (H = G = 0; Z > H; H++)
et[G++] = P[H];
for (H = 0; W > H; H++)
et[G++] = C[H];
if (!m)
for (H = 0, Y = rt.length; Y > H; ++H)
rt[H] = 0;
for (H = $ = 0, Y = et.length; Y > H; H += G) {
for (G = 1; Y > H + G && et[H + G] === et[H]; ++G)
;
if (Q = G, 0 === et[H])
if (3 > Q)
for (; 0 < Q--; )
tt[$++] = 0, rt[0]++;
else
for (; Q > 0; )
X = 138 > Q ? Q : 138, X > Q - 3 && Q > X && (X = Q - 3), 10 >= X ? (tt[$++] = 17, tt[$++] = X - 3, rt[17]++) : (tt[$++] = 18, tt[$++] = X - 11, rt[18]++), Q -= X;
else if (tt[$++] = et[H], rt[et[H]]++, Q--, 3 > Q)
for (; 0 < Q--; )
tt[$++] = et[H], rt[et[H]]++;
else
for (; Q > 0; )
X = 6 > Q ? Q : 6, X > Q - 3 && Q > X && (X = Q - 3), tt[$++] = 16, tt[$++] = X - 3, rt[16]++, Q -= X
}
for (e = m ? tt.subarray(0, $) : tt.slice(0, $), L = u(rt, 7), K = 0; 19 > K; K++)
V[K] = L[z[K]];
for (N = 19; N > 4 && 0 === V[N - 1]; N--)
;
for (M = l(L), B.b(R - 257, 5, d), B.b(D - 1, 5, d), B.b(N - 4, 4, d), K = 0; N > K; K++)
B.b(V[K], 3, d);
for (K = 0, J = e.length; J > K; K++)
if (q = e[K], B.b(M[q], L[q], d), q >= 16) {
switch (K++, q) {
case 16:
F = 2;
break;
case 17:
F = 3;
break;
case 18:
F = 7;
break;
default:
throw "invalid code: " + q
}
B.b(e[K], F, d)
}
var nt, at, ot, it, st, ct, ut, ft, lt = [E, P], pt = [U, C];
for (st = lt[0], ct = lt[1], ut = pt[0], ft = pt[1], nt = 0, at = O.length; at > nt; ++nt)
if (ot = O[nt], B.b(st[ot], ct[ot], d), ot > 256)
B.b(O[++nt], O[++nt], d), it = O[++nt], B.b(ut[it], ft[it], d), B.b(O[++nt], O[++nt], d);
else if (256 === ot)
break;
this.a = B.finish(), this.c = this.a.length;
break;
default:
throw "invalid compression type"
}
return this.a
};
var x = function() {
function e(e) {
switch (d) {
case 3 === e:
return [257, e - 3, 0];
case 4 === e:
return [258, e - 4, 0];
case 5 === e:
return [259, e - 5, 0];
case 6 === e:
return [260, e - 6, 0];
case 7 === e:
return [261, e - 7, 0];
case 8 === e:
return [262, e - 8, 0];
case 9 === e:
return [263, e - 9, 0];
case 10 === e:
return [264, e - 10, 0];
case 12 >= e:
return [265, e - 11, 1];
case 14 >= e:
return [266, e - 13, 1];
case 16 >= e:
return [267, e - 15, 1];
case 18 >= e:
return [268, e - 17, 1];
case 22 >= e:
return [269, e - 19, 2];
case 26 >= e:
return [270, e - 23, 2];
case 30 >= e:
return [271, e - 27, 2];
case 34 >= e:
return [272, e - 31, 2];
case 42 >= e:
return [273, e - 35, 3];
case 50 >= e:
return [274, e - 43, 3];
case 58 >= e:
return [275, e - 51, 3];
case 66 >= e:
return [276, e - 59, 3];
case 82 >= e:
return [277, e - 67, 4];
case 98 >= e:
return [278, e - 83, 4];
case 114 >= e:
return [279, e - 99, 4];
case 130 >= e:
return [280, e - 115, 4];
case 162 >= e:
return [281, e - 131, 5];
case 194 >= e:
return [282, e - 163, 5];
case 226 >= e:
return [283, e - 195, 5];
case 257 >= e:
return [284, e - 227, 5];
case 258 === e:
return [285, e - 258, 0];
default:
throw "invalid length: " + e
}
}
var t, r, n = [];
for (t = 3; 258 >= t; t++)
r = e(t), n[t] = r[2] << 24 | r[1] << 16 | r[0];
return n
}(), O = m ? new Uint32Array(x) : x;
p.prototype.g = function() {
var e, t, r, a, i, s, c, u, f = new (m ? Uint8Array : Array)(32768), l = 0, p = this.input, d = this.i, g = this.filename, y = this.l;
if (f[l++] = 31, f[l++] = 139, f[l++] = 8, e = 0, this.d.fname && (e |= N), this.d.fcomment && (e |= P), this.d.fhcrc && (e |= D), f[l++] = e, t = 0 | (Date.now ? Date.now() : +new Date) / 1e3, f[l++] = 255 & t, f[l++] = 255 & t >>> 8, f[l++] = 255 & t >>> 16, f[l++] = 255 & t >>> 24, f[l++] = 0, f[l++] = R, this.d.fname !== h) {
for (c = 0, u = g.length; u > c; ++c)
s = g.charCodeAt(c), s > 255 && (f[l++] = 255 & s >>> 8), f[l++] = 255 & s;
f[l++] = 0
}
if (this.d.comment) {
for (c = 0, u = y.length; u > c; ++c)
s = y.charCodeAt(c), s > 255 && (f[l++] = 255 & s >>> 8), f[l++] = 255 & s;
f[l++] = 0
}
return this.d.fhcrc && (r = 65535 & n(f, 0, l), f[l++] = 255 & r, f[l++] = 255 & r >>> 8), this.e.outputBuffer = f, this.e.outputIndex = l, i = new o(p, this.e), f = i.g(), l = i.c, m && (l + 8 > f.buffer.byteLength ? (this.a = new Uint8Array(l + 8), this.a.set(new Uint8Array(f.buffer)), f = this.a) : f = new Uint8Array(f.buffer)), a = n(p, h, h), f[l++] = 255 & a, f[l++] = 255 & a >>> 8, f[l++] = 255 & a >>> 16, f[l++] = 255 & a >>> 24, u = p.length, f[l++] = 255 & u, f[l++] = 255 & u >>> 8, f[l++] = 255 & u >>> 16, f[l++] = 255 & u >>> 24, this.i = d, m && l < f.length && (this.a = f = f.subarray(0, l)), f
};
var R = 255, D = 2, N = 8, P = 16;
e("Zlib.Gzip", p), e("Zlib.Gzip.prototype.compress", p.prototype.g)
}.call(this), baidu.frontia.util = {}, function(namespace_) {
var now = +new Date, util = {};
util.guid = function() {
return "baidu_frontia_" + now++
}, util.mix = function(e) {
for (var t = 1; t < arguments.length; t++) {
var r = arguments[t];
if (r)
for (var n in r)
r.hasOwnProperty(n) && (e[n] = r[n])
}
return e
}, util.noop = function() {
}, util.parseJSON = function(text) {
return window.JSON && "function" == typeof JSON.parse ? JSON.parse(text) : eval("(" + text + ")")
};
var whitespace = /(^[\s\t\xa0\u3000]+)|([\u3000\xa0\s\t]+$)/g;
util.trim = function(e) {
return e.replace(whitespace, "")
}, util.encodeHTML = function(e) {
return e += "", e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;")
}, util.serializeURL = function(e) {
if (!e)
return "";
var t = "";
for (var r in e)
if (e.hasOwnProperty(r)) {
var n = e[r];
t += "&" + encodeURIComponent(r) + "=" + encodeURIComponent(n)
}
return t.slice(1)
}, function(e) {
"use strict";
if (!e.Base64) {
var t, r = "2.1.2";
"undefined" != typeof module && module.exports && (t = require("buffer").Buffer);
var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", a = function(e) {
for (var t = {}, r = 0, n = e.length; n > r; r++)
t[e.charAt(r)] = r;
return t
}(n), o = String.fromCharCode, i = function(e) {
if (e.length < 2) {
var t = e.charCodeAt(0);
return 128 > t ? e : 2048 > t ? o(192 | t >>> 6) + o(128 | 63 & t) : o(224 | 15 & t >>> 12) + o(128 | 63 & t >>> 6) + o(128 | 63 & t)
}
var t = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320);
return o(240 | 7 & t >>> 18) + o(128 | 63 & t >>> 12) + o(128 | 63 & t >>> 6) + o(128 | 63 & t)
}, s = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, c = function(e) {
return e.replace(s, i)
}, u = function(e) {
var t = [0, 2, 1][e.length % 3], r = e.charCodeAt(0) << 16 | (e.length > 1 ? e.charCodeAt(1) : 0) << 8 | (e.length > 2 ? e.charCodeAt(2) : 0), a = [n.charAt(r >>> 18), n.charAt(63 & r >>> 12), t >= 2 ? "=" : n.charAt(63 & r >>> 6), t >= 1 ? "=" : n.charAt(63 & r)];
return a.join("")
}, f = e.btoa || function(e) {
return e.replace(/[\s\S]{1,3}/g, u)
}, l = t ? function(e) {
return new t(e).toString("base64")
} : function(e) {
return f(c(e))
}, p = function(e, t) {
return t ? l(e).replace(/[+\/]/g, function(e) {
return "+" == e ? "-" : "_"
}).replace(/=/g, "") : l(e)
}, h = function(e) {
return p(e, !0)
}, d = new RegExp(["[À-ß][€-¿]", "[à-ï][€-¿]{2}", "[ð-÷][€-¿]{3}"].join("|"), "g"), g = function(e) {
switch (e.length) {
case 4:
var t = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), r = t - 65536;
return o((r >>> 10) + 55296) + o((1023 & r) + 56320);
case 3:
return o((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
default:
return o((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1))
}
}, m = function(e) {
return e.replace(d, g)
}, y = function(e) {
var t = e.length, r = t % 4, n = (t > 0 ? a[e.charAt(0)] << 18 : 0) | (t > 1 ? a[e.charAt(1)] << 12 : 0) | (t > 2 ? a[e.charAt(2)] << 6 : 0) | (t > 3 ? a[e.charAt(3)] : 0), i = [o(n >>> 16), o(255 & n >>> 8), o(255 & n)];
return i.length -= [0, 0, 2, 1][r], i.join("")
}, _ = e.atob || function(e) {
return e.replace(/[\s\S]{1,4}/g, y)
}, A = t ? function(e) {
return new t(e, "base64").toString()
} : function(e) {
return m(_(e))
}, v = function(e) {
return A(e.replace(/[-_]/g, function(e) {
return "-" == e ? "+" : "/"
}).replace(/[^A-Za-z0-9\+\/]/g, ""))
};
e.mix(e, {VERSION: r,atob: _,btoa: f,fromBase64: v,toBase64: p,utob: c,encode: p,encodeURI: h,btou: m,decode: v})
}
}(util), util.isBoolean = function(e) {
return e === !0 || e === !1 || "[object Boolean]" == toString.call(e)
}, namespace_.util = util
}(baidu.frontia), baidu.frontia.ajax = {}, function(e) {
function t(e, t) {
var r = a.serializeURL(t);
if (r) {
var n = e.indexOf("?") >= 0 ? "&" : "?";
return e + n + r
}
return e
}
function r(e, t) {
null == t && (t = "");
var a = n.hooks.serializeData.getKey, o = e ? encodeURIComponent(e) : "", i = Object.prototype.toString.call(t);
switch (i) {
case "[object Array]":
for (var s = [], c = 0; c < t.length; c++) {
var u = t[c];
s[c] = r("", u)
}
return o ? o + "=" + s.join(",") : s.join(",");
case "[object Object]":
var f = [];
for (var l in t) {
var p = a(l, e), h = r(p, t[l]);
f.push(h)
}
return f.join("&");
default:
return o ? o + "=" + encodeURIComponent(t) : encodeURIComponent(t)
}
}
var n = {}, a = e.util;
n.hooks = {}, n.hooks.serializeData = function(e) {
return r("", e)
}, n.hooks.serializeData.getKey = function(e, t) {
return t ? t + "." + e : e
}, n.request = function(e) {
var r = {method: "POST",data: {},cache: !0,callback: function() {
},onerror: function() {
}};
e = a.mix(r, e);
var o, i = window.XMLHttpRequest ? new XMLHttpRequest : new ActiveXObject("Microsoft.XMLHTTP");
i.onreadystatechange = function() {
if (4 === i.readyState) {
clearTimeout(o);
var t = i.status;
if (0 === t ? t = 200 : 1223 === t && (t = 204), 200 > t || t >= 300 && 304 !== t)
return e.onerror(i), void 0;
var r = i.responseText;
if ("json" === e.dataType)
try {
r = a.parseJSON(r)
} catch (n) {
return e.onerror(i, n), void 0
}
e.callback(r)
}
};
var s = e.method.toUpperCase(), c = {};
"GET" === s && a.mix(c, e.data), e.cache === !1 && (c._ = +new Date);
var u = t(e.url, c);
if (i.open(s, u, !0), e.header) {
var f;
for (f in e.header)
e.header.hasOwnProperty(f) && i.setRequestHeader(f, e.header[f])
}
if ("GET" === s)
i.send();
else {
var l = e.contentType || "application/x-www-form-urlencoded";
i.setRequestHeader("Content-type", l);
var p = n.hooks.serializeData(e.data);
i.send(p), i.send(e.data)
}
return e.timeout > 0 && (o = setTimeout(function() {
i.status = 408, e.onerror(i)
}, e.timeout)), i
}, n.get = function(e, t, r) {
var o = {method: "GET",url: e,data: t,cache: !1};
return r = a.mix(o, r), n.request(r)
}, n.getJSON = function(e, t, r) {
var o = {method: "GET",url: e,data: t,dataType: "json",cache: cache || !1};
return r = a.mix(o, r), n.request(r)
}, n.request1 = function(e) {
var r = {method: "POST",data: {},cache: !0,callback: function() {
},onerror: function() {
}};
e = a.mix(r, e);
var o, i = window.XMLHttpRequest ? new XMLHttpRequest : new ActiveXObject("Microsoft.XMLHTTP");
i.onreadystatechange = function() {
if (4 === i.readyState) {
clearTimeout(o);
var t = i.status;
if (0 === t ? t = 200 : 1223 === t && (t = 204), 200 > t || t >= 300 && 304 !== t)
return e.onerror(i), void 0;
var r = i.responseText;
if ("json" === e.dataType && r)
try {
r = a.parseJSON(r)
} catch (n) {
return e.onerror(i, n), void 0
}
e.callback(r)
}
};
var s = e.method.toUpperCase(), c = {};
"GET" === s && a.mix(c, e.data), e.cache === !1 && (c._ = +new Date);
var u = t(e.url, c);
if (i.open(s, u, !0), e.header) {
var f;
for (f in e.header)
e.header.hasOwnProperty(f) && i.setRequestHeader(f, e.header[f])
}
if ("GET" === s)
i.send();
else if (e.contentLength && i.setRequestHeader("Content-Length", e.contentLength), "multipart/form-data" === e.contentType)
i.send(e.data);
else if ("application/json" === e.contentType)
i.setRequestHeader("Content-type", e.contentType), i.send(e.data);
else if ("application/octet-stream" === e.contentType)
i.setRequestHeader("Content-type", e.contentType), i.send(e.data);
else {
var l = e.contentType || "application/x-www-form-urlencoded";
i.setRequestHeader("Content-type", l);
var p = n.hooks.serializeData(e.data);
i.send(p)
}
return e.timeout > 0 && (o = setTimeout(function() {
i.status = 408, e.onerror(i)
}, e.timeout)), i
}, n.post = function(e, t, r, o) {
var i = {method: "POST",url: e,data: t,dataType: r || "json"};
return o = a.mix(i, o), n.request1(o)
}, n.put = function(e, t, r, o) {
var i = {method: "PUT",url: e,data: t,dataType: r || "json"};
return o = a.mix(i, o), n.request1(o)
}, e.ajax = n
}(baidu.frontia), baidu.frontia.jsonp = {}, function(e) {
e.jsonp = function() {
function e(e, t) {
var r = document.createElement("script"), n = !1;
r.src = e, r.async = !0;
var o = t || s.error;
"function" == typeof o && (r.onerror = function(t) {
o({url: e,event: t})
}), r.onload = r.onreadystatechange = function() {
n || this.readyState && "loaded" !== this.readyState && "complete" !== this.readyState || (n = !0, r.onload = r.onreadystatechange = null, r && r.parentNode && r.parentNode.removeChild(r))
}, a || (a = document.getElementsByTagName("head")[0]), a.appendChild(r)
}
function t(e) {
return encodeURIComponent(e)
}
function r(r, n, a, c, u) {
var f, l = -1 === (r || "").indexOf("?") ? "?" : "&";
u = u || s.callbackName || "callback";
var p = "baidu_frontia_" + u + "_json" + ++o;
n = n || {};
for (f in n)
n.hasOwnProperty(f) && (l += t(f) + "=" + t(n[f]) + "&");
return i[p] = function(e) {
a(e);
try {
delete i[p]
} catch (t) {
}
i[p] = null
}, e(r + l + u + "=" + p, c), p
}
function n(e) {
s = e
}
var a, o = 0, i = this, s = {};
return {get: r,init: n}
}()
}(baidu.frontia), baidu.frontia.Account = baidu.frontia.Account || {}, baidu.frontia.User = baidu.frontia.User || {}, baidu.frontia.Role = baidu.frontia.Role || {}, baidu.frontia.ACL = baidu.frontia.ACL || {}, function(e) {
function t(t) {
var r = e.util.toBase64("Application:" + t);
return "Basic " + r
}
function r(t) {
var r = {application_info: [{app_frontia_version: e.version,app_appid: e.getApiKey(),user_id: e.getCurrentAccount().getId() || "",frontia_action: [{action_name: "",timestamp: null,restimestamp: null,err_code: "",err_msg: ""}]}]};
r.application_info[0].frontia_action[0] = t;
var n = {}, a = new Zlib.Gzip(new Uint8Array(JSON.stringify(r).split("").map(function(e) {
return e.charCodeAt(0)
}))), o = a.compress();
n.stats = btoa(String.fromCharCode.apply(null, o));
var i = e.ajax;
i.post(c, JSON.stringify(n), "json", {contentType: "application/json"})
}
function n() {
var e = Math.floor((new Date).getTime() / 1e3);
return e
}
var a = e.error, o = e.ERR_MSG, i = e.DomainManager.getFrontiaDomain() + "/role", s = e.DomainManager.getFrontiaDomain() + "/user", c = e.DomainManager.getPBLogDomain() + "/pushlog";
e.Account = e.Object.extend({accountId: null,accountType: null,accountName: null,constructor: function(e, t, r) {
if (!e || "string" != typeof e && "number" != typeof e)
throw new a(o.INVALID_PARAMS, "[construct Role/User]: accountId is invalid, the typeof accountId is string or number");
this.accountType = t, this.accountId = e, this.accountName = r
},getId: function() {
return this.accountId
},getType: function() {
return this.accountType
},getName: function() {
return this.accountName
}}), e.User = e.Account.extend({accessToken: null,expirationIn: null,mediaType: null,constructor: function(t) {
t = t || {}, this.accessToken = t.accessToken, this.expiresIn = t.expiresIn, this.mediaType = t.mediaType, e.Account.prototype.constructor.call(this, t.socialId, "user", t.name)
},getAccessToken: function() {
return this.accessToken
},getExpiresIn: function() {
return this.expiresIn
},getMediaType: function() {
return this.mediaType
},getDetailInfo: function(t) {
t = t || {}, t.error || (t.error = function() {
}), t.success || (t.success = function() {
}), e.User.find({userId: this.accountId}, {error: function(e) {
t.error(e)
},success: function(e) {
0 === e.count ? t.error(new a({Code: "1701",Message: "user not exists"})) : t.success(e.result[0])
}})
},toJSON: function() {
return {socialId: this.getId(),name: this.getName(),type: this.getType(),mediaType: this.getMediaType(),expiresIn: this.getExpiresIn(),accessToken: this.getAccessToken()}
}});
var u = {options: {error: function() {
},success: function() {
}},_configure: function(e) {
e = e || {}, e.error && (this.options.error = e.error), e.success && (this.options.success = e.success)
},_checkParams: function(t, r) {
var n = this;
return t.every(function(t) {
return "string" !== t.type || t.value && "string" == typeof t.value ? "role" !== t.type || t.value && t.value instanceof e.Role ? "array" !== t.type || t.value && "Array" === Object.prototype.toString.call(t.value).slice(8, -1) ? !0 : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: targets is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: role is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: target is invalid")), !1)
})
},find: function(o, i) {
var c = {};
c.action_name = "User.list", c.timestamp = n();
var u = this;
if (1 === arguments.length)
var i = o;
i || (i = {}), u._configure(i);
var f = {};
o.mediaType && (f.media_type = o.mediaType), o.sex && (f.sex = o.sex), o.userId && (f.user_id = o.userId), o.userName && (f.username = o.userName);
var l = u._attachAccount({method: "list",criteria: f}), p = u._createAjaxOpt(c, {header: {authorization: t(e.getApiKey())},contentType: "application/json"});
p.callback = function(t) {
if (t.error_code) {
var o = new a(t);
u.options.error(o), c.err_code = o.code, c.err_msg = o.message
} else {
var i = [];
t.response_params.users.forEach(function(t) {
var r = new e.User({socialId: t.user_id,mediaType: t.media_type,name: t.username});
r.extra = t;
i.push(r);
}), u.options.success({result: i,count: t.response_params.count}), c.err_code = 0
}
c.restimestamp = n(), r(c)
};
var h = e.ajax;
h.post(s, JSON.stringify(l), "json", p)
},_attachAccount: function(t) {
var r = null;
return e.currentAccount && e.currentAccount instanceof e.Role && e.currentAccount.getId() ? (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getId()) : e.currentAccount && e.currentAccount instanceof e.User && e.currentAccount.getAccessToken() && (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getAccessToken()), t
},_createAjaxOpt: function(t, o) {
var i = this, s = {callback: function(e) {
if (e.error_code) {
var o = new a(e);
i.options.error(o), t.err_code = o.code, t.err_msg = o.message
} else
i.options.success(e), t.err_code = 0;
t.restimestamp = n(), r(t)
},onerror: function(o, s) {
try {
var c = e.util.parseJSON(o.responseText)
} catch (u) {
return i.options.error(u, o), void 0
}
var s = new a(c);
i.options.error(new a(c), o), t.err_code = s.code, t.err_msg = s.message, t.restimestamp = n(), r(t)
}};
return e.util.mix(s, o)
}};
e.util.mix(e.User, u), e.Role = e.Account.extend({roleList: {},constructor: function(t, r) {
var n = this;
n.roleList = {}, Array.isArray(r) && r.forEach(function(t) {
if (!(t instanceof e.User || t instanceof e.Role))
throw new a(o.INVALID_PARAMS, "[construct Role]: account is invalid");
n.roleList[t.getId()] = t
}), e.Account.prototype.constructor.call(this, t, "role", t)
},add: function(t) {
if (!(t instanceof e.User || t instanceof e.Role))
throw new a(o.INVALID_PARAMS, "[add Role]: account is invalid");
this.roleList[t.getId()] = t
},"delete": function(e) {
delete this.roleList[e]
},getInfo: function() {
var e = [];
for (var t in this.roleList)
this.roleList.hasOwnProperty(t) && e.push(this.roleList[t].getType() + ":" + this.roleList[t].getId());
return e
},toJSON: function() {
return {roleId: this.getId(),name: this.getName(),memberList: this.getInfo()}
}});
var f = {options: {error: function() {
},success: function() {
}},_configure: function(e) {
e = e || {}, e.error && (this.options.error = e.error), e.success && (this.options.success = e.success)
},_checkParams: function(t, r) {
var n = this;
return t.every(function(t) {
return "string" !== t.type || t.value && "string" == typeof t.value ? "role" !== t.type || t.value && t.value instanceof e.Role ? "array" !== t.type || t.value && "Array" === Object.prototype.toString.call(t.value).slice(8, -1) ? !0 : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: targets is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: role is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: target is invalid")), !1)
})
},remove: function(r, a) {
var o = {};
o.action_name = "Role.remove", o.timestamp = n();
var s = this;
if (a = a || {}, s._configure(a), s._checkParams([{value: r,type: "string"}], "Role remove")) {
var c = s._attachAccount({method: "remove",role_id: r}), u = s._createAjaxOpt(o, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), f = e.ajax;
f.post(i, JSON.stringify(c), "json", u)
}
},get: function(r, a) {
var o = {};
o.action_name = "Role.get", o.timestamp = n();
var s = this;
if (a = a || {}, s._configure(a), s._checkParams([{value: r,type: "string"}], "Role get")) {
var c = s._attachAccount({method: "describe",role_id: r}), u = s._createAjaxOpt(o, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), f = e.ajax;
f.post(i, JSON.stringify(c), "json", u)
}
},save: function(r, a) {
var o = {};
o.action_name = "Role.save", o.timestamp = n();
var s = this;
if (a = a || {}, s._configure(a), s._checkParams([{value: r,type: "role"}], "Role save")) {
var c = r.getInfo(), u = s._attachAccount({method: "create",role_id: r.getId(),child: c}), f = r.getACL();
f && (u._acl = f.toJSON());
var l = s._createAjaxOpt(o, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), p = e.ajax;
p.post(i, JSON.stringify(u), "json", l)
}
},update: function(r, s) {
var c = {};
c.action_name = "Role.update", c.timestamp = n();
var u = this, f = null;
if (s = s || {}, u._configure(s), u._checkParams([{value: r,type: "string"}], "Role update")) {
var l = u._attachAccount({method: "modify",role_id: r});
if (s.acl && s.acl instanceof e.ACL && (l._acl = s.acl.toJSON()), f = "add" === s.update_type ? "push_child" : "del" === s.update_type ? "pull_child" : "set" === s.update_type ? "set_child" : null) {
var p = [];
s.accounts.forEach(function(t) {
if (!(t instanceof e.User || t instanceof e.Role))
throw new a(o.INVALID_PARAMS, "[update Role]: account is invalid");
p.push(t.getType() + ":" + t.getId())
}), l[f] = p
}
var h = u._createAjaxOpt(c, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), d = e.ajax;
d.post(i, JSON.stringify(l), "json", h)
}
},list: function(o) {
var s = {};
s.action_name = "Role.list", s.timestamp = n();
var c = this;
o = o || {}, c._configure(o);
var u = c._attachAccount({method: "list"}), f = c._createAjaxOpt(s, {header: {authorization: t(e.getApiKey())},contentType: "application/json"});
f.callback = function(t) {
if (t.error_code) {
var o = new a(t);
c.options.error(o), s.err_code = o.code, s.err_msg = o.message
} else {
var i = [];
t.response_params.roles.forEach(function(t) {
var r = new e.ACL;
t._acl && (r._setPermission(t._acl), delete t._acl);
var n = new e.Role(t.role_id);
t.child.forEach(function(t) {
var r = t.split(":");
"user" === r[0] ? n.add(new e.User({socialId: r[1]})) : n.add(new e.Role(r[1]))
}), i.push(n)
}), c.options.success({result: i,count: t.response_params.count}), s.err_code = 0
}
s.restimestamp = n(), r(s)
};
var l = e.ajax;
l.post(i, JSON.stringify(u), "json", f)
},_attachAccount: function(t) {
var r = null;
return e.currentAccount && e.currentAccount instanceof e.Role && e.currentAccount.getId() ? (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getId()) : e.currentAccount && e.currentAccount instanceof e.User && e.currentAccount.getAccessToken() && (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getAccessToken()), t
},_createAjaxOpt: function(t, o) {
var i = this, s = {callback: function(e) {
if (e.error_code) {
var o = new a(e);
i.options.error(o), t.err_code = o.code, t.err_msg = o.message
} else
i.options.success(e), t.err_code = 0;
t.restimestamp = n(), r(t)
},onerror: function(o, s) {
try {
var c = e.util.parseJSON(o.responseText)
} catch (u) {
return i.options.error(u, o), void 0
}
var s = new a(c);
i.options.error(s, o), t.err_code = s.code, t.err_msg = s.message, t.restimestamp = n(), r(t)
}};
return e.util.mix(s, o)
}};
e.util.mix(e.Role, f), e.ACL = e.Base.extend({permissions: null,constructor: function() {
this.permissions = {}
},_setAccess: function(t, r, n) {
if (!(r instanceof e.User || r instanceof e.Role))
throw new a(o.INVALID_PARAMS, "[setAccess]: account is invalid");
if (!e.util.isBoolean(n))
throw new a(o.INVALID_PARAMS, "[setAccess]: allowed is invalid");
var i = [r.getType(), ":", r.getId()].join("");
this.permissions[i] = this.permissions[i] || {}, this.permissions[i][t] = n
},_isAccess: function(t, r) {
if (!(r instanceof e.User || r instanceof e.Role))
throw new a(o.INVALID_PARAMS, "[isAccess]: account is invalid");
if (this.permissions["role:*"] && this.permissions["role:*"][t])
return !0;
var n = [r.getType(), ":", r.getId()].join(""), i = this.permissions[n];
return i ? i[t] : !1
},_setPermission: function(e) {
this.permissions = {};
for (var t in e)
if (e.hasOwnProperty(t))
switch (e[t]) {
case 1:
this.permissions[t] = this.permissions[t] || {}, this.permissions[t].write = !0;
break;
case 2:
this.permissions[t] = this.permissions[t] || {}, this.permissions[t].read = !0;
break;
case 3:
this.permissions[t] = this.permissions[t] || {}, this.permissions[t].write = !0, this.permissions[t].read = !0
}
},setReadAccess: function(e, t) {
this._setAccess("read", e, t)
},setPublicReadAccess: function(t) {
var r = new e.Role("*");
this._setAccess("read", r, t)
},setWriteAccess: function(e, t) {
this._setAccess("write", e, t)
},setPublicWriteAccess: function(t) {
var r = new e.Role("*");
this._setAccess("write", r, t)
},isReadAccess: function(e) {
this._isAccess("read", e)
},isWriteAccess: function(e) {
this._isAccess("write", e)
},toJSON: function() {
var e = {};
for (var t in this.permissions)
if (this.permissions.hasOwnProperty(t)) {
var r = this.permissions[t];
e[t] = (r.read ? 2 : 0) + (r.write ? 1 : 0)
}
return e
}})
}(baidu.frontia), baidu.frontia.social = baidu.frontia.social || {}, function(e) {
function t(e) {
return encodeURIComponent(e + "")
}
function r(e, r, n, a, o, i, s, c) {
var u = f + "?" + "response_type=" + r + "&" + "client_id=" + e + "&" + "media_type=" + n + "&" + "redirect_uri=" + t(a);
return o && (u += "&state=" + o), i && (u += "&display=" + i), s && (u += "&client_type=" + s), c && (u += "&scope=" + c), u + "&secure=1"
}
function n(t) {
var n = e.getApiKey(), a = r(n, t.response_type, t.media_type, t.redirect_uri, t.state, t.display, t.client_type, t.scope);
return a
}
function a() {
function e() {
var e = {};
if (t) {
var r = t.indexOf("#");
if (-1 !== r) {
var n = t.slice(r + 1);
if (n) {
var a = n.split("&");
a.forEach(function(t) {
var r = t.split("=");
e[r[0]] = r[1]
})
}
}
}
return e
}
var t = location.hash, r = e();
return {access_token: r.access_token,expires_in: r.expires_in,media_type: r.media_type}
}
function o(t) {
var r = null;
return e.currentAccount && e.currentAccount instanceof e.Role && e.currentAccount.getId() ? (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getId()) : e.currentAccount && e.currentAccount instanceof e.User && e.currentAccount.getAccessToken() && (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getAccessToken()), t
}
function i(t) {
var r = e.util.toBase64("Application:" + t);
return "Basic " + r
}
function s(t) {
var r = {application_info: [{app_frontia_version: e.version,app_appid: e.getApiKey(),user_id: e.getCurrentAccount().getId() || "",frontia_action: [{action_name: "",timestamp: null,restimestamp: null,err_code: "",err_msg: ""}]}]};
r.application_info[0].frontia_action[0] = t;
var n = {}, a = new Zlib.Gzip(new Uint8Array(JSON.stringify(r).split("").map(function(e) {
return e.charCodeAt(0)
}))), o = a.compress();
n.stats = btoa(String.fromCharCode.apply(null, o));
var i = e.ajax;
i.post(p, JSON.stringify(n), "json", {contentType: "application/json"})
}
function c() {
var e = Math.floor((new Date).getTime() / 1e3);
return e
}
var u = e.error, f = e.DomainManager.getSocialDomain() + "/social/oauth/2.0/authorize", l = e.DomainManager.getSocialDomain() + "/social/api/2.0/user/info", p = e.DomainManager.getPBLogDomain() + "/pushlog", h = e.DomainManager.getFrontiaDomain() + "/user", d = {TOKEN: "token",CODE: "code"}, g = {setLoginCallback: function(t) {
var r = a();
if (!e.getCurrentAccount() && r.access_token && t) {
var n = {};
n.action_name = "social.login", n.timestamp = c(), t.success || (t.success = function() {
}), t.error || (t.error = function() {
}), e.jsonp.get(l, {access_token: r.access_token}, function(a) {
if (a.error_code) {
var f = new u(a);
t.error(f), n.err_code = f.code, n.err_msg = f.message
} else {
var l = new e.User({socialId: a.social_uid,name: a.username,accessToken: r.access_token,expiresIn: r.expires_in,mediaType: r.media_type});
e.setCurrentAccount(l);
var p = o({method: "register"}), d = {header: {authorization: i(e.getApiKey())},contentType: "application/json"}, g = e.ajax;
g.post(h, JSON.stringify(p), "json", d), t.success(l), n.err_code = 0
}
n.restimestamp = c(), s(n)
}, function() {
})
}
},login: function(t) {
if (e.logOutCurrentAccount(), !t)
throw new baidu.frontia.error(baidu.frontia.ERR_MSG.INVALID_PARAMS);
if (t.error = t.error || function() {
}, !t.response_type)
throw new baidu.frontia.error(baidu.frontia.ERR_MSG.INVALID_PARAMS);
if (!t.media_type)
throw new baidu.frontia.error(baidu.frontia.ERR_MSG.INVALID_PARAMS);
if (t.response_type != d.TOKEN)
throw new baidu.frontia.error(baidu.frontia.ERR_MSG.INVALID_PARAMS);
var r = n(t);
location.href = r
}};
e.social = g
}(baidu.frontia), baidu.frontia.storage = baidu.frontia.storage || {}, function(e) {
function t(t) {
var r = e.util.toBase64("Application:" + t);
return "Basic " + r
}
function r(t) {
var r = {application_info: [{app_frontia_version: e.version,app_appid: e.getApiKey(),user_id: e.getCurrentAccount().getId() || "",frontia_action: [{action_name: "",timestamp: null,restimestamp: null,err_code: "",err_msg: ""}]}]};
r.application_info[0].frontia_action[0] = t;
var n = {}, a = new Zlib.Gzip(new Uint8Array(JSON.stringify(r).split("").map(function(e) {
return e.charCodeAt(0)
}))), o = a.compress();
n.stats = btoa(String.fromCharCode.apply(null, o));
var i = e.ajax;
i.post(c, JSON.stringify(n), "json", {contentType: "application/json"})
}
function n() {
var e = Math.floor((new Date).getTime() / 1e3);
return e
}
var a = e.error, o = e.ERR_MSG, i = e.DomainManager.getFrontiaDomain() + "/bss/document", s = e.DomainManager.getFrontiaDomain() + "/bcs/object", c = e.DomainManager.getPBLogDomain() + "/pushlog";
e.File = e.Object.extend({constructor: function(t, r, n) {
if (t && !(t instanceof File))
throw new a(o.INVALID_PARAMS, "[baidu.frontia.File.constructor]: file is invalid");
this.file = t, this.target = r, this.detail = null, e.Object.prototype.constructor.call(this, n)
},getFileInfo: function() {
return this.detail
},_getFile: function() {
return this.file
},_getTarget: function() {
return this.target
},_setFileInfo: function(e) {
this.detail = e
}}), e.Data = e.Object.extend({constructor: function(t, r) {
this.obj = t || {}, e.Object.prototype.constructor.call(this, r)
},getData: function() {
return this.obj
}});
var u = {options: {error: function() {
},success: function() {
}},_configure: function(e) {
e = e || {}, e.error && (this.options.error = e.error), e.success && (this.options.success = e.success)
},_checkParams: function(t, r) {
var n = this;
return t.every(function(t) {
return "file" !== t.type || t.value && t.value instanceof e.File ? "string" !== t.type || t.value && "string" == typeof t.value ? "array" !== t.type || t.value && "Array" === Object.prototype.toString.call(t.value).slice(8, -1) ? "query" !== t.type || t.value && t.value instanceof u.Query ? "data" !== t.type || t.value && t.value instanceof e.Data ? !0 : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: data is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: query is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: targets is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: target is invalid")), !1) : (n.options.error(new a(o.INVALID_PARAMS, "[" + r + "]: file is null or not typeof File of baidu.frontia")), !1)
})
},uploadFile: function(o, i) {
var c = {};
c.action_name = "storage.uploadFile", c.timestamp = n();
var u = this;
if (i = i || {}, u._configure(i), u._checkParams([{value: o,type: "file"}], "storage.uploadFile")) {
var f = {file: o._getFile(),acl: o._getACLInfo(),target: o._getTarget()}, l = u._attachAccount({method: "getuploadurl"}), p = e.ajax;
p.post(s, JSON.stringify(l), "json", {header: {authorization: t(e.getApiKey())},contentType: "application/json",callback: function(o) {
if (o.error_code)
u.options.error(new a(o));
else {
var i = o.response_params.url + "&dumpheader=1", l = new FileReader;
l.onload = function() {
var o = l.result;
p.put(i, o, "json", {contentType: "application/octet-stream",callback: function(r) {
if (0 !== r.Error.Code)
u.options.error(new a(r.Error));
else {
var n = u._createAjaxOpt(c, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), o = u._attachAccount({method: "create",md5s: [r.Header["Content-MD5"]],object: f.target,_acl: f.acl});
p.post(s, JSON.stringify(o), "json", n)
}
},onerror: function(e, t) {
try {
var o = JSON.parse(e.responseText)
} catch (i) {
return u.options.error(i, e), void 0
}
var t = new a(o.Error);
u.options.error(t, e), c.err_code = t.code, c.err_msg = t.message, c.restimestamp = n(), r(c)
}})
}, l.readAsArrayBuffer(f.file)
}
},onerror: function(e, t) {
try {
var o = JSON.parse(e.responseText)
} catch (i) {
return u.options.error(i, e), void 0
}
var t = new a(o);
u.options.error(t, e), c.err_code = t.code, c.err_msg = t.message, c.restimestamp = n(), r(c)
}})
}
},getFileUrl: function(r, a) {
var o = {};
o.action_name = "storage.getFileUrl", o.timestamp = n();
var i = this;
if (a = a || {}, i._configure(a), i._checkParams([{value: r,type: "string"}], "storage.getFileUrl")) {
var c = i._attachAccount({method: "getdownloadurl",object: r}), u = i._createAjaxOpt(o, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), f = e.ajax;
f.post(s, JSON.stringify(c), "json", u)
}
},deleteFile: function(r, a) {
var o = {};
o.action_name = "storage.deleteFile", o.timestamp = n();
var i = this;
if (a = a || {}, i._configure(a), i._checkParams([{value: r,type: "string"}], "storage.deleteFile")) {
var c = i._attachAccount({method: "delete",object: r}), u = i._createAjaxOpt(o, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), f = e.ajax;
f.post(s, JSON.stringify(c), "json", u)
}
},listFile: function(o, i) {
var c = {};
c.action_name = "storage.listFile", c.timestamp = n();
var u = this;
if (i = i || {}, u._configure(i), u._checkParams([{value: o,type: "string"}], "storage.listFile")) {
var f = u._attachAccount({method: "list",object: o}), l = u._createAjaxOpt(c, {header: {authorization: t(e.getApiKey())},contentType: "application/json"});
l.callback = function(t) {
if (t.error_code) {
var o = new a(t);
u.options.error(o), c.err_code = o.code, c.err_msg = o.message
} else {
var i = [];
t.response_params.object_list.forEach(function(t) {
var r = new e.ACL;
t._acl && (r._setPermission(t._acl), delete t._acl);
var n = new e.File(null, null, r);
n._setFileInfo(t), i.push(n)
}), u.options.success({result: i,count: t.response_params.object_total}), c.err_code = 0
}
c.restimestamp = n(), r(c)
};
var p = e.ajax;
p.post(s, JSON.stringify(f), "json", l)
}
},insertData: function(r, a) {
var o = {};
if (o.action_name = "storage.insertData", o.timestamp = n(), a = a || {}, this._configure(a), this._checkParams([{value: r,type: "data"}], "storage.insertData")) {
var s = r.getData(), c = r._getACLInfo();
c && (s._acl = c);
var u = this._attachAccount({method: "insert",documents: s}), f = this._createAjaxOpt(o, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), l = e.ajax;
l.post(i, JSON.stringify(u), "json", f)
}
},deleteData: function(r, a) {
var o = {};
if (o.action_name = "storage.deleteData", o.timestamp = n(), a = a || {}, this._configure(a), this._checkParams([{value: r,type: "query"}], "storage.deleteData")) {
var s = this._attachAccount({method: "remove",criteria: r.query}), c = this._createAjaxOpt(o, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), u = e.ajax;
u.post(i, JSON.stringify(s), "json", c)
}
},updateData: function(r, a, o) {
var s = {};
if (s.action_name = "storage.updateData", s.timestamp = n(), o = o || {}, this._configure(o), this._checkParams([{value: r,type: "query"}, {value: a,type: "data"}], "storage.updateData")) {
var c = a.getData(), u = a._getACLInfo();
if (u)
if (c.hasOwnProperty("$set"))
c.$set._acl = u;
else {
var f = 0;
for (var l in c)
if (c.hasOwnProperty(l) && "$" === l[0]) {
f = 1, c.$set = {}, c.$set._acl = u;
break
}
0 === f && (c._acl = u)
}
var p = this._attachAccount({method: "update",criteria: r.query,document: c}), h = this._createAjaxOpt(s, {header: {authorization: t(e.getApiKey())},contentType: "application/json"}), d = e.ajax;
d.post(i, JSON.stringify(p), "json", h)
}
},findData: function(o, s) {
var c = {};
c.action_name = "storage.findData", c.timestamp = n();
var u = this;
if (s = s || {}, this._configure(s), this._checkParams([{value: o,type: "query"}], "storage.findData")) {
var f = this._attachAccount({method: "query",criteria: o.query}), l = this._createAjaxOpt(c, {header: {authorization: t(e.getApiKey())},contentType: "application/json"});
l.callback = function(t) {
if (t.error_code) {
var o = new a(t);
u.options.error(o), c.err_code = o.code, c.err_msg = o.message
} else {
var i = [];
t.response_params.documents.forEach(function(t) {
var r = new e.ACL;
t._acl && (r._setPermission(t._acl), delete t._acl);
var n = new e.Data(t, r);
i.push(n)
}), u.options.success({result: i,count: t.response_params.count}), c.err_code = 0
}
c.restimestamp = n(), r(c)
};
var p = e.ajax;
p.post(i, JSON.stringify(f), "json", l)
}
},_attachAccount: function(t) {
var r = null;
return e.currentAccount && e.currentAccount instanceof e.Role && e.currentAccount.getId() ? (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getId()) : e.currentAccount && e.currentAccount instanceof e.User && e.currentAccount.getAccessToken() && (r = "requester", t[r] = e.currentAccount.getType() + ":" + e.currentAccount.getAccessToken()), t
},_createAjaxOpt: function(t, o) {
var i = this, s = {callback: function(e) {
if (e.error_code) {
var o = new a(e);
i.options.error(o), t.err_code = o.code, t.err_msg = o.message
} else
i.options.success(e), t.err_code = 0;
t.restimestamp = n(), r(t)
},onerror: function(o, s) {
try {
var c = e.util.parseJSON(o.responseText)
} catch (u) {
return i.options.error(u, o), void 0
}
var s = new a(c);
i.options.error(s, o), t.err_code = s.code, t.err_msg = s.message, t.restimestamp = n(), r(t)
}};
return e.util.mix(s, o)
}};
u.Query = e.Base.extend({currentKey: null,query: null,constructor: function() {
},_set: function(e, t) {
this.query = this.query || {}, this.query[e] instanceof Object || (this.query[e] = {});
for (var r in t)
t.hasOwnProperty(r) && (this.query[e][r] = t[r])
},_build: function(e, t) {
if (null === this.currentKey)
throw new a("Query key must not be null");
switch (e) {
case u.Query.EQUAL:
this.query = this.query || {}, this.query[this.currentKey] = t;
break;
case u.Query.LESSTHAN:
this._set(this.currentKey, {$lt: t});
break;
case u.Query.LESSTHANEQUAL:
this._set(this.currentKey, {$lte: t});
break;
case u.Query.GREATERTHAN:
this._set(this.currentKey, {$gt: t});
break;
case u.Query.GREATERTHANEQUAL:
this._set(this.currentKey, {$gte: t});
break;
default:
throw new a("Query " + e + " is not supported")
}
},equal: function(e) {
return this._build(u.Query.EQUAL, e), this
},lessThan: function(e) {
return this._build(u.Query.LESSTHAN, e), this
},lessThanEqual: function(e) {
return this._build(u.Query.LESSTHANEQUAL, e), this
},greaterThan: function(e) {
return this._build(u.Query.GREATERTHAN, e), this
},greaterThanEqual: function(e) {
return this._build(u.Query.GREATERTHANEQUAL, e), this
},on: function(e) {
return this.currentKey = e, this
}}, {EQUAL: 1,LESSTHAN: 2,LESSTHANEQUAL: 3,GREATERTHAN: 4,GREATERTHANEQUAL: 5}), e.storage = u
}(baidu.frontia), baidu.frontia.personalStorage = baidu.frontia.personalStorage || {}, function(e) {
function t(e, t, r) {
var n, a = {}, o = null, i = null;
t = t || {}, "string" == typeof e ? (o = "/" === e.slice(0, 1) ? e : "/".concat(e), a.path = o) : e && (i = {list: []}, e.forEach(function(e) {
o = "/" === e.slice(0, 1) ? e : "/".concat(e), i.list.push({path: o})
}), i = JSON.stringify(i));
for (n in t)
t.hasOwnProperty(n) && -1 === r.indexOf(n) && (a[n] = t[n]);
return {query: a,body: i}
}
function r(t, r) {
var n = [s, t, e.util.serializeURL(r)].join("");
return n
}
function n(t) {
var r = {application_info: [{app_frontia_version: e.version,app_appid: e.getApiKey(),user_id: e.getCurrentAccount().getId() || "",frontia_action: [{action_name: "",timestamp: null,restimestamp: null,err_code: "",err_msg: ""}]}]};
r.application_info[0].frontia_action[0] = t;
var n = {}, a = new Zlib.Gzip(new Uint8Array(JSON.stringify(r).split("").map(function(e) {
return e.charCodeAt(0)
}))), o = a.compress();
n.stats = btoa(String.fromCharCode.apply(null, o));
var i = e.ajax;
i.post(c, JSON.stringify(n), "json", {contentType: "application/json"})
}
function a() {
var e = Math.floor((new Date).getTime() / 1e3);
return e
}
var o = baidu.frontia.error, i = baidu.frontia.ERR_MSG, s = e.DomainManager.getPCSDomain() + "/rest/2.0/pcs/", c = e.DomainManager.getPBLogDomain() + "/pushlog";
e.apiKey;
var u = {};
u = {options: {error: function() {
},success: function() {
}},_configure: function(e) {
e = e || {}, e.error && (this.options.error = e.error), e.success && (this.options.success = e.success)
},_checkParams: function(e, t) {
var r = this;
return e.every(function(e) {
return "file" !== e.type || e.value && e.value instanceof File ? "string" !== e.type || e.value && "string" == typeof e.value ? "array" !== e.type || e.value && "Array" === Object.prototype.toString.call(e.value).slice(8, -1) ? !0 : (r.options.error(new o(i.INVALID_PARAMS, "[" + t + "]: targets is invalid")), !1) : (r.options.error(new o(i.INVALID_PARAMS, "[" + t + "]: target is invalid")), !1) : (r.options.error(new o(i.INVALID_PARAMS, "[" + t + "]: file is null or not typeof File of DOM")), !1)
})
},_createAjaxOpt: function(t, r, cb) {
var i = this, s = {callback: function(e) {
if (e.error_code) {
var r = new o(e);
i.options.error(r), t.err_code = r.code, t.err_msg = r.message
} else
(cb && cb.success || i.options.success)(e), t.err_code = 0;
t.restimestamp = a(), n(t)
},onerror: function(r, s) {
try {
var c = e.util.parseJSON(r.responseText)
} catch (u) {
return i.options.error(u, r), void 0
}
var s = new o(c);
i.options.error(s, r), t.err_code = s.code, t.err_msg = s.message, t.restimestamp = a(), n(t)
}};
return e.util.mix(s, r)
},uploadFile: function(n, o, i) {
var s = {};
s.action_name = "personalStorage.uploadFile", s.timestamp = a();
var c = this;
if (i = i || {}, c._configure(i), c._checkParams([{value: n,type: "file"}, {value: o,type: "string"}], "personalStorage.uploadFile")) {
i.method = "upload";
var u = e.getCurrentAccount();
u && (accessToken = u.getAccessToken()), i.access_token = accessToken;
var f = t(o, i, ["success", "error"]), l = r("file?", f.query), p = c._createAjaxOpt(s, {contentType: "multipart/form-data"}), h = e.ajax, d = new FormData;
d.append("baidu_frontia_file", n), h.post(l, d, "json", p)
}
},uploadTextFile: function(text, target, options) {
var s = {};
s.action_name = "personalStorage.uploadFile", s.timestamp = a();
var c = this;
if (options = options || {}, c._configure(options), c._checkParams([{value: text,type: "string"}, {value: target,type: "string"}], "personalStorage.uploadFile")) {
options.method = "upload";
var u = e.getCurrentAccount();
u && (accessToken = u.getAccessToken()), options.access_token = accessToken;
var f = t(target, options, ["success", "error"]), l = r("file?", f.query), p = c._createAjaxOpt(s, {contentType: "multipart/form-data"}), h = e.ajax, d = new FormData;
var blob = new Blob([text], {type: 'text/plain'});
d.append("baidu_frontia_file", blob), h.post(l, d, "json", p);
}
},getFileUrl: function(i, s) {
var c = {};
c.action_name = "personalStorage.getFileUrl", c.timestamp = a();
var u = this;
if (s = s || {}, u._configure(s), u._checkParams([{value: i,type: "string"}], "personalStorage.getFileUrl")) {
var f = e.getCurrentAccount();
f && (accessToken = f.getAccessToken()), s.access_token = accessToken, s.method = "download";
var l = t(i, s, ["success", "error"]), p = r("file?", l.query);
s.method = "meta", l = t(i, s, ["success", "error"]);
var h = r("file?", l.query), d = {callback: function(e) {
if (e.error_code) {
var t = new o(e);
u.options.error(t), c.err_code = t.code, c.err_msg = t.message
} else
(s.success || u.options.success)(p), c.err_code = 0;
c.restimestamp = a(), n(c)
},onerror: function(t, r) {
try {
var i = e.util.parseJSON(t.responseText)
} catch (ss) {
return (s.error || u.options.error)(ss, t), void 0
}
var r = new o(i);
u.options.error(r, t), c.err_code = r.code, c.err_msg = r.message, c.restimestamp = a(), n(c)
},dataType: "json"}, g = e.ajax;
g.get(h, {}, d)
}
},deleteFile: function(n, o) {
var i = {};
i.action_name = "personalStorage.deleteFile", i.timestamp = a();
var s = this;
if (o = o || {}, s._configure(o), s._checkParams([{value: n,type: "array"}], "personalStorage.deleteFile")) {
o.method = "delete";
var c = e.getCurrentAccount();
c && (accessToken = c.getAccessToken()), o.access_token = accessToken;
var u = t(n, o, ["success", "error"]), f = r("file?", u.query), l = s._createAjaxOpt(i), p = e.ajax;
p.post(f, {param: u.body}, "json", l)
}
},listFile: function(n, o) {
var i = {};
i.action_name = "personalStorage.listFile", i.timestamp = a();
var s = this;
if (o = o || {}, s._configure(o), s._checkParams([{value: n,type: "string"}], "personalStorage.listFile")) {
o.method = "list";
var c = e.getCurrentAccount();
c && (accessToken = c.getAccessToken()), o.access_token = accessToken;
var u = t(n, o, ["success", "error"]), f = r("file?", u.query), l = s._createAjaxOpt(i, {dataType: "json"}, o), p = e.ajax;
p.get(f, {}, l)
}
},listStreamFile: function(n) {
var o = {};
o.action_name = "personalStorage.listStreamFile", o.timestamp = a();
var i = this;
n = n || {}, i._configure(n), n.method = "list";
var s = e.getCurrentAccount();
s && (accessToken = s.getAccessToken()), n.access_token = accessToken;
var c = t(null, n, ["success", "error"]);
n.filter_path && (c.query.filter_path = n.filter_path);
var u = r("stream?", c.query), f = i._createAjaxOpt(o, {dataType: "json"}), l = e.ajax;
l.get(u, {}, f)
},makeDir: function(n, o) {
var i = {};
i.action_name = "personalStorage.makeDir", i.timestamp = a();
var s = this;
if (o = o || {}, s._configure(o), s._checkParams([{value: n,type: "string"}], "personalStorage.makeDir")) {
o.method = "mkdir";
var c = e.getCurrentAccount();
c && (accessToken = c.getAccessToken()), o.access_token = accessToken;
var u = t(n, o, ["success", "error"]), f = r("file?", u.query), l = s._createAjaxOpt({dataType: "json"}), p = e.ajax;
p.post(f, {}, "json", l)
}
},getQuota: function(n) {
var o = {};
o.action_name = "personalStorage.getQuota", o.timestamp = a();
var i = this;
if (n = n || {}, i._configure(n), i._checkParams([], "psersonalStorage.getQuota")) {
n.method = "info";
var s = e.getCurrentAccount();
s && (accessToken = s.getAccessToken()), n.access_token = accessToken;
var c = t(null, n, ["success", "error"]), u = r("quota?", c.query), f = i._createAjaxOpt(o, {dataType: "json"}), l = e.ajax;
l.get(u, {}, f)
}
}}, u.constant = {ONDUP_OVERWRITE: "overwrite",ONDUP_NEWCOPY: "newcopy",BY_NAME: "name",BY_TIME: "time",BY_SIZE: "size",ORDER_ASC: "asc",ORDER_DESC: "desc",TYPE_STREAM_VIDEO: "video",TYPE_STREAM_AUDIO: "audio",TYPE_STREAM_IMAGE: "image",TYPE_STREAM_DOC: "doc"}, e.personalStorage = u
}(baidu.frontia), baidu.frontia.store = baidu.frontia.store || {}, function(e) {
function t(t) {
var r = e.util.toBase64("Application:" + t);
return "Basic " + r
}
function r() {
var e = Math.floor((new Date).getTime() / 1e3);
return e
}
var n = e.error;
e.ERR_MSG;
var a = e.DomainManager.getFrontiaDomain() + "/push";
e.DomainManager.getPBLogDomain() + "/pushlog";
var o = {options: {error: function() {
},success: function() {
}},_configure: function(e) {
e = e || {}, e.error && (this.options.error = e.error), e.success && (this.options.success = e.success)
},send: function(n, o) {
var i = {};
i.action_name = "Push.list", i.timestamp = r();
var s = this;
o = o || {}, s._configure(o);
var c = a, u = {method: "pushmsg",messages: n.messages,msg_keys: n.msg_keys};
for (var f in o)
o.hasOwnProperty(f) && "success" !== f && "error" !== f && (u[f] = o[f]);
var l = s._createAjaxOpt({header: {authorization: t(e.getApiKey())},contentType: "application/json"}), p = e.ajax;
p.post(c, JSON.stringify(u), "json", l)
},_createAjaxOpt: function(t) {
var r = this, a = {callback: function(e) {
e.error_code ? r.options.error(new n(e)) : e && e.error_code ? r.options.error(new n(e)) : r.options.success(e)
},onerror: function(t) {
try {
var a = e.util.parseJSON(t.responseText)
} catch (o) {
return r.options.error(o, t), void 0
}
r.options.error(new n(a), t)
}};
return e.util.mix(a, t)
}};
e.Push = o
}(baidu.frontia);
Subproject commit ae1bf8e7aaf22d55ed19ac888d5d33a645813de5 Subproject commit cfeb9b6ff9986033c397d6d06858cb421ace2c0b
...@@ -74,7 +74,9 @@ kity.extendClass(Minder, { ...@@ -74,7 +74,9 @@ kity.extendClass(Minder, {
for (var keys in map) { for (var keys in map) {
if (!map[has](keys)) break; if (!map[has](keys)) break;
if (e.isShortcutKey(keys)) { if (e.isShortcutKey(keys)) {
map[keys](); var fn = map[keys];
if (fn.__statusCondition && fn.__statusCondition != this.getStatus()) return;
fn();
e.preventDefault(); e.preventDefault();
} }
} }
...@@ -84,6 +86,13 @@ kity.extendClass(Minder, { ...@@ -84,6 +86,13 @@ kity.extendClass(Minder, {
addShortcut: function(keys, fn) { addShortcut: function(keys, fn) {
var binds = this._shortcutKeys; var binds = this._shortcutKeys;
keys.split(/\|\s*/).forEach(function(combine) { keys.split(/\|\s*/).forEach(function(combine) {
var parts = combine.split('::');
var status;
if (parts.length > 1) {
combine = parts[1];
status = parts[0];
fn.__statusCondition = status;
}
binds[combine] = fn; binds[combine] = fn;
}); });
}, },
......
...@@ -117,7 +117,7 @@ KityMinder.registerModule('ArrangeModule', { ...@@ -117,7 +117,7 @@ KityMinder.registerModule('ArrangeModule', {
divider: true divider: true
}], }],
commandShortcutKeys: { commandShortcutKeys: {
'arrangeup': 'alt+Up', 'arrangeup': 'normal::alt+Up',
'arrangedown': 'alt+Down' 'arrangedown': 'normal::alt+Down'
} }
}); });
\ No newline at end of file
...@@ -122,16 +122,17 @@ Minder.Receiver = kity.createClass('Receiver', { ...@@ -122,16 +122,17 @@ Minder.Receiver = kity.createClass('Receiver', {
updateTextOffsetData: function() { updateTextOffsetData: function() {
var me = this; var me = this;
var lineHeight = var fontHeight = this.minderNode.getData('font-size') || this.minderNode.getStyle('font-size');
this.minderNode.getStyle('line-height') * (this.minderNode.getData('font-size') || this.minderNode.getStyle('font-size')); var lineHeight = this.minderNode.getStyle('line-height') * fontHeight;
var offsetHeight = (me.textGroup.getShapes().length * lineHeight)/2;
var offsetHeight = (me.textGroup.getShapes().length * lineHeight - (lineHeight - fontHeight)) / 2;
var box; var box;
this.textData = []; this.textData = [];
me.textGroup.eachItem(function(index,textShape){ me.textGroup.eachItem(function(index,textShape){
me.textData[index] = []; me.textData[index] = [];
var currentLineTop = index * lineHeight + 2; var currentLineTop = index * lineHeight + 1;
var text = textShape.getContent(); var text = textShape.getContent();
for (var i = 0, l = text.length; i < l; i++) { for (var i = 0, l = text.length; i < l; i++) {
......
...@@ -103,10 +103,10 @@ KityMinder.registerModule('NodeModule', function() { ...@@ -103,10 +103,10 @@ KityMinder.registerModule('NodeModule', function() {
}], }],
'commandShortcutKeys': { 'commandShortcutKeys': {
'appendsiblingnode': 'Enter', 'appendsiblingnode': 'normal::Enter',
'appendchildnode': 'Insert|Tab', 'appendchildnode': 'normal::Insert|Tab',
'editnode': 'F2', 'editnode': 'normal::F2',
'removenode': 'Delete|Backspace' 'removenode': 'normal::Delete|Backspace'
} }
}; };
}); });
\ No newline at end of file
...@@ -7,32 +7,34 @@ var TextRenderer = KityMinder.TextRenderer = kity.createClass('TextRenderer', { ...@@ -7,32 +7,34 @@ var TextRenderer = KityMinder.TextRenderer = kity.createClass('TextRenderer', {
return new kity.Group().setId(KityMinder.uuid('node_text')); return new kity.Group().setId(KityMinder.uuid('node_text'));
}, },
update: function(textGroup,node) { update: function(textGroup, node) {
function s(name) {
return node.getData(name) || node.getStyle(name);
}
var textArr = node.getText(true); var textArr = node.getText(true);
var lineHeight = node.getStyle('line-height'); var lineHeight = node.getStyle('line-height');
var fontSize = node.getData('font-size') || node.getStyle('font-size'); var fontSize = s('font-size');
var height = textArr.length * var height = (lineHeight * fontSize) * textArr.length - (lineHeight - 1) * fontSize;
node.getStyle('line-height') * (node.getData('font-size') || node.getStyle('font-size')) / 2; var yStart = -height / 2;
var rBox = new kity.Box(),
var rBox = new kity.Box(),
r = Math.round; r = Math.round;
this.setTextStyle(node, textGroup); this.setTextStyle(node, textGroup);
for(var i= 0,text,textShape; for (var i = 0, text, textShape;
(text=textArr[i],textShape=textGroup.getItem(i), (text = textArr[i], textShape = textGroup.getItem(i),
text!==undefined||textShape!==undefined);i++){ text !== undefined || textShape !== undefined); i++) {
if(text === undefined && textShape){ if (text === undefined && textShape) {
textGroup.removeItem(i); textGroup.removeItem(i);
}else{ } else {
if(text!==undefined&&!textShape){ if (text !== undefined && !textShape) {
textShape = new kity.Text() textShape = new kity.Text()
.setVerticalAlign('top') .setVerticalAlign('top')
.setAttr('text-rendering', 'inherit'); .setAttr('text-rendering', 'inherit');
...@@ -46,15 +48,15 @@ var TextRenderer = KityMinder.TextRenderer = kity.createClass('TextRenderer', { ...@@ -46,15 +48,15 @@ var TextRenderer = KityMinder.TextRenderer = kity.createClass('TextRenderer', {
} }
this.setTextStyle(node, textGroup); this.setTextStyle(node, textGroup);
textGroup.eachItem(function(i,textShape){ textGroup.eachItem(function(i, textShape) {
var y = i * fontSize * lineHeight - height; var y = yStart + i * fontSize * lineHeight;
textShape.setY(y); textShape.setY(y);
rBox = rBox.merge(new kity.Box(0, y, textShape.getBoundaryBox().width, fontSize)); rBox = rBox.merge(new kity.Box(0, y, textShape.getBoundaryBox().width, fontSize));
}); });
var nBox = new kity.Box(r(rBox.x), r(rBox.y),r(rBox.width), r(rBox.height)); var nBox = new kity.Box(r(rBox.x), r(rBox.y), r(rBox.width), r(rBox.height));
node._currentTextGroupBox = nBox; node._currentTextGroupBox = nBox;
return function() { return function() {
...@@ -79,9 +81,9 @@ utils.extend(TextRenderer, { ...@@ -79,9 +81,9 @@ utils.extend(TextRenderer, {
} }
}); });
kity.extendClass(MinderNode,{ kity.extendClass(MinderNode, {
getTextGroup : function() { getTextGroup: function() {
return this.getRenderer('TextRenderer').getRenderShape(); return this.getRenderer('TextRenderer').getRenderShape();
} }
}); });
KityMinder.registerModule('text', { KityMinder.registerModule('text', {
......
...@@ -25,7 +25,7 @@ KityMinder.registerUI('contextmenu', function(minder) { ...@@ -25,7 +25,7 @@ KityMinder.registerUI('contextmenu', function(minder) {
} }
}); });
minder.on('contextmenu', function(e) { $('#content-wrapper').on('contextmenu', function(e) {
e.preventDefault(); e.preventDefault();
}); });
...@@ -61,6 +61,8 @@ KityMinder.registerUI('contextmenu', function(minder) { ...@@ -61,6 +61,8 @@ KityMinder.registerUI('contextmenu', function(minder) {
shortcuts.split('|').forEach(function(shortcut) { shortcuts.split('|').forEach(function(shortcut) {
var $shortcut = $('<span>').addClass('shortcut').appendTo($li); var $shortcut = $('<span>').addClass('shortcut').appendTo($li);
shortcut.split('+').forEach(function(key) { shortcut.split('+').forEach(function(key) {
var parts = key.split('::');
key = parts.length > 1 ? parts[1] : parts[0];
$('<span>').addClass('shortcut-key ' + key.toLowerCase()) $('<span>').addClass('shortcut-key ' + key.toLowerCase())
.text(camel(key)) .text(camel(key))
.appendTo($shortcut); .appendTo($shortcut);
......
...@@ -18,12 +18,22 @@ kity.extendClass(FUI.Widget, { ...@@ -18,12 +18,22 @@ kity.extendClass(FUI.Widget, {
else this.addClass('active'); else this.addClass('active');
}, },
bindExecution: function(event, fn) {
var widget = this;
widget.executionFlag = false;
widget.on(event, function() {
widget.executionFlag = true;
fn.apply(widget, arguments);
widget.executionFlag = false;
});
},
bindCommandState: function(minder, command, valueHandle) { bindCommandState: function(minder, command, valueHandle) {
var $widget = this; var widget = this;
minder.on('interactchange', function() { minder.on('interactchange', function() {
$widget.setEnable(this.queryCommandState(command) !== -1); widget.setEnable(this.queryCommandState(command) !== -1);
$widget.setActive(this.queryCommandState(command) === 1); widget.setActive(this.queryCommandState(command) === 1);
if (valueHandle) valueHandle.call($widget, this.queryCommandValue(command)); if (valueHandle && !widget.executionFlag) valueHandle.call(widget, this.queryCommandValue(command));
}); });
} }
}); });
\ No newline at end of file
...@@ -21,7 +21,7 @@ KityMinder.registerUI('menu/default', function (minder) { ...@@ -21,7 +21,7 @@ KityMinder.registerUI('menu/default', function (minder) {
$save.$tabs.select(0); // 云存储 $save.$tabs.select(0); // 云存储
$share.$tabs.select(0); // 当前脑图 $share.$tabs.select(0); // 当前脑图
if ($draft.hasLast()) { if ($draft.hasDraft()) {
$draft.openLast(); $draft.openLast();
} }
// $menu.show(); // $menu.show();
......
...@@ -74,7 +74,7 @@ KityMinder.registerUI('menu/share/share', function(minder) { ...@@ -74,7 +74,7 @@ KityMinder.registerUI('menu/share/share', function(minder) {
function renderCreatePanel() { function renderCreatePanel() {
// render template // render template
return $.pajax('ui/menu/share/create.html').then(function(html) { return $.pajax('static/pages/createshare.html').then(function(html) {
/* global jhtmls: true */ /* global jhtmls: true */
var render = jhtmls.render(html); var render = jhtmls.render(html);
$create_menu.html(render({ $create_menu.html(render({
......
...@@ -84,6 +84,7 @@ KityMinder.registerUI('nav', function(minder) { ...@@ -84,6 +84,7 @@ KityMinder.registerUI('nav', function(minder) {
paper.on('mousedown', function(e) { paper.on('mousedown', function(e) {
dragging = true; dragging = true;
moveView(e.getPosition('top'), 200); moveView(e.getPosition('top'), 200);
$previewNavigator.addClass('grab');
}); });
paper.on('mousemove', function(e) { paper.on('mousemove', function(e) {
...@@ -94,6 +95,7 @@ KityMinder.registerUI('nav', function(minder) { ...@@ -94,6 +95,7 @@ KityMinder.registerUI('nav', function(minder) {
$(window).on('mouseup', function() { $(window).on('mouseup', function() {
dragging = false; dragging = false;
$previewNavigator.removeClass('grab');
}); });
function preview() { function preview() {
......
...@@ -9,6 +9,14 @@ ...@@ -9,6 +9,14 @@
border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0;
padding: 3px; padding: 3px;
z-index: 9; z-index: 9;
cursor: crosshair;
&.grab {
cursor: move;
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
}
} }
.nav-bar { .nav-bar {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
#tab-container .command-buttonset.priority { #tab-container .command-buttonset.priority {
width: 140px; width: 130px;
.fui-button { .fui-button {
width: 20px; width: 20px;
height: 20px; height: 20px;
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
background: url(../images/iconpriority.png) repeat-x; background: url(../images/iconpriority.png) repeat-x;
background-color: transparent; background-color: transparent;
} }
padding: 3px; padding: 2px;
border-radius: 4px; border-radius: 4px;
.priority-sprite(9); .priority-sprite(9);
&.fui-button-pressed { &.fui-button-pressed {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
#tab-container .command-buttonset.progress { #tab-container .command-buttonset.progress {
width: 140px; width: 130px;
.fui-button { .fui-button {
width: 20px; width: 20px;
height: 20px; height: 20px;
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
background: url(../images/iconprogress.png) repeat-x; background: url(../images/iconprogress.png) repeat-x;
background-color: transparent; background-color: transparent;
} }
padding: 3px; padding: 2px;
border-radius: 4px; border-radius: 4px;
.progress-sprite(9); .progress-sprite(9);
&.fui-button-pressed { &.fui-button-pressed {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
& > .fui-drop-panel { & > .fui-drop-panel {
display: block; display: block;
height: 30px; height: 25px;
margin-top: -1px; margin-top: -1px;
width: 140px; width: 140px;
} }
...@@ -45,6 +45,6 @@ ul.resource-list { ...@@ -45,6 +45,6 @@ ul.resource-list {
display: inline-block; display: inline-block;
padding: 1px 2px; padding: 1px 2px;
border-radius: 4px; border-radius: 4px;
margin: 5px 0px 5px 5px; margin: 3px;
} }
} }
\ No newline at end of file
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
#tab-container { #tab-container {
position: absolute; position: absolute;
top: @panel-height; top: @panel-height;
height: 65px; height: 60px;
left: 0; left: 0;
right: 0; right: 0;
background: white; background: white;
......
...@@ -1820,7 +1820,7 @@ body { ...@@ -1820,7 +1820,7 @@ body {
#tab-container { #tab-container {
position: absolute; position: absolute;
top: 40px; top: 40px;
height: 65px; height: 60px;
left: 0; left: 0;
right: 0; right: 0;
background: white; background: white;
...@@ -2388,13 +2388,13 @@ body { ...@@ -2388,13 +2388,13 @@ body {
background-color: #e5e7ec; background-color: #e5e7ec;
} }
#tab-container .command-buttonset.priority { #tab-container .command-buttonset.priority {
width: 140px; width: 130px;
} }
#tab-container .command-buttonset.priority .fui-button { #tab-container .command-buttonset.priority .fui-button {
width: 20px; width: 20px;
height: 20px; height: 20px;
margin: 1px; margin: 1px;
padding: 3px; padding: 2px;
border-radius: 4px; border-radius: 4px;
} }
#tab-container .command-buttonset.priority .fui-button .fui-label { #tab-container .command-buttonset.priority .fui-button .fui-label {
...@@ -2441,13 +2441,13 @@ body { ...@@ -2441,13 +2441,13 @@ body {
background-color: #c4d0ee; background-color: #c4d0ee;
} }
#tab-container .command-buttonset.progress { #tab-container .command-buttonset.progress {
width: 140px; width: 130px;
} }
#tab-container .command-buttonset.progress .fui-button { #tab-container .command-buttonset.progress .fui-button {
width: 20px; width: 20px;
height: 20px; height: 20px;
margin: 1px; margin: 1px;
padding: 3px; padding: 2px;
border-radius: 4px; border-radius: 4px;
} }
#tab-container .command-buttonset.progress .fui-button .fui-label { #tab-container .command-buttonset.progress .fui-button .fui-label {
...@@ -2511,7 +2511,7 @@ body { ...@@ -2511,7 +2511,7 @@ body {
} }
#resource-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel { #resource-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel {
display: block; display: block;
height: 30px; height: 25px;
margin-top: -1px; margin-top: -1px;
width: 140px; width: 140px;
} }
...@@ -2535,7 +2535,7 @@ ul.resource-list li { ...@@ -2535,7 +2535,7 @@ ul.resource-list li {
display: inline-block; display: inline-block;
padding: 1px 2px; padding: 1px 2px;
border-radius: 4px; border-radius: 4px;
margin: 5px 0px 5px 5px; margin: 3px;
} }
#template-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel { #template-panel > .fui-panel-content > .fui-label-panel-content > .fui-drop-panel {
width: 65px; width: 65px;
...@@ -3226,6 +3226,13 @@ div.right { ...@@ -3226,6 +3226,13 @@ div.right {
border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0;
padding: 3px; padding: 3px;
z-index: 9; z-index: 9;
cursor: crosshair;
}
.preview-navigator.grab {
cursor: move;
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
} }
.nav-bar { .nav-bar {
position: absolute; position: absolute;
......
{"version":3,"sources":["lib/fui/theme/default/fui.all.css","_public.less","_triangle.less","_widgets.less","_kityminder.less","_mainmenu.less","_mainmenu.new.less","_history.less","_tab.less","_search.less","_user.less","_recent.less","_netdisk.less","_localfile.less","_draft.less","_download.less","_priority_panel.less","_progress_panel.less","_resource_panel.less","_themepanel.less","_fontpanel.less","_colorpanel.less","_about.less","_receiver.less","_help.less","_share.less","_icons.less","_nav.less"],"names":[],"mappings":";;;;;;;;AAQA;EACE,yBAAA;EACA,wBAAA;EACA,sBAAA;EACA,qBAAA;EACA,iBAAA;EACA,uBAAA;EACA,cAAA;EACA,gBAAA;EACA,eAAA;EACA,aAAa,qBAAqB,qBAAqB,iBAAiB,oBAAoB,uBAAuB,mBAAmB,iCAAtI;EACA,mCAAA;EACA,aAAA;EACA,qBAAA;EACA,mBAAA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;;AAEF,WAAW;EACT,yBAAA;EACA,wBAAA;EACA,sBAAA;EACA,qBAAA;EACA,iBAAA;EACA,uBAAA;;AAEF,WAAY;EACV,yBAAA;EACA,wBAAA;EACA,sBAAA;EACA,qBAAA;EACA,iBAAA;EACA,uBAAA;;AAEF,WAAW;EACT,YAAA;;AAEF,WAAW;EACT,wBAAA;;AAEF,WAAW;EACT,4BAAA;EACA,yBAAA;EACA,oBAAA;;AAEF,WAAW;EACT,mBAAmB,mBAAmB,gBAAtC;EACA,gBAAgB,mBAAmB,gBAAnC;EACA,WAAW,mBAAmB,gBAA9B;;;;;;;;;;AAWF;EACE,gBAAA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;;AAEF,cAAc;EACZ,UAAA;;;;;;;AAQF;EACE,uBAAA;;AAEF,gBAAgB;EACd,qBAAA;;AAEF,gBAAgB;EACd,qBAAA;EACA,mBAAA;;AAEF,gBAAgB,kBAAmB;EACjC,mBAAA;;AAEF,gBAAgB;AAChB,gBAAgB;EACd,kBAAA;;AAEF,gBAAgB,eAAgB;AAChC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A;;AAIR,QA1DJ,gBA0DK,YACG;EACI,6BAAA;;AAEJ,QA9DR,gBA0DK,YAII,OAAQ;EACL,6BAAA;;AAIR,QAnEJ,gBAmEK;EAIG,gBAAA;;AAJJ,QAnEJ,gBAmEK,OACG;EACI,6BAAA;;AAjFhB,QAwFI;EACI,UAAA;EACA,YAAA;EACA,yBAAA;EACA,kBAAA;EACA,iBAAA;EACA,gBAAA;EACA,iBAAA;;AA/FR,QAwFI,UASI;EACI,kBAAA;EACA,WAAA;EACA,WAAA;EACA,UAAA;EACA,gBAAA;EACA,uBAAA;;AAEA,QAjBR,UASI,QAQK;EACG,SAAS,GAAT;EACA,cAAA;EACA,UAAA;EACA,WAAA;EACA,iBAAA;EACA,SAAA;EACA,QAAA;EACA,kBAAA;;AAGJ,QA5BR,UASI,QAmBK,MAAM;EACH,2BAAA;;AArHhB,QAwFI,UAiCI;EACI,kBAAA;EACA,UAAA;EACA,WAAA;EACA,UAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA"} {"version":3,"sources":["lib/fui/theme/default/fui.all.css","_public.less","_triangle.less","_widgets.less","_kityminder.less","_mainmenu.less","_mainmenu.new.less","_history.less","_tab.less","_search.less","_user.less","_recent.less","_netdisk.less","_localfile.less","_draft.less","_download.less","_priority_panel.less","_progress_panel.less","_resource_panel.less","_themepanel.less","_fontpanel.less","_colorpanel.less","_about.less","_receiver.less","_help.less","_share.less","_icons.less","_nav.less"],"names":[],"mappings":";;;;;;;;AAQA;EACE,yBAAA;EACA,wBAAA;EACA,sBAAA;EACA,qBAAA;EACA,iBAAA;EACA,uBAAA;EACA,cAAA;EACA,gBAAA;EACA,eAAA;EACA,aAAa,qBAAqB,qBAAqB,iBAAiB,oBAAoB,uBAAuB,mBAAmB,iCAAtI;EACA,mCAAA;EACA,aAAA;EACA,qBAAA;EACA,mBAAA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;;AAEF,WAAW;EACT,yBAAA;EACA,wBAAA;EACA,sBAAA;EACA,qBA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ACA,UAAA;EACA,WAAA;EACA,UAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA"}
\ No newline at end of file \ No newline at end of file
...@@ -111,7 +111,7 @@ KityMinder.registerUI('topbar/user', function(minder) { ...@@ -111,7 +111,7 @@ KityMinder.registerUI('topbar/user', function(minder) {
$loginButton.show(); $loginButton.show();
$userButton.hide(); $userButton.hide();
fio.user.fire('logout'); fio.user.fire('logout');
window.location.href = 'index.html'; window.location.href = window.location.href; // refresh
} }
function login() { function login() {
......
...@@ -17,7 +17,7 @@ KityMinder.registerUI('widget/commandbutton', function(minder) { ...@@ -17,7 +17,7 @@ KityMinder.registerUI('widget/commandbutton', function(minder) {
className: ['command-widget', 'command-button', command] className: ['command-widget', 'command-button', command]
}); });
$button.on('click', onclick || function() { $button.bindExecution('click', onclick || function() {
minder.execCommand(command); minder.execCommand(command);
}); });
......
...@@ -27,7 +27,8 @@ KityMinder.registerUI('widget/commandbuttonset', function(minder) { ...@@ -27,7 +27,8 @@ KityMinder.registerUI('widget/commandbuttonset', function(minder) {
className: ['command-widget', 'command-buttonset', command].join(' ') className: ['command-widget', 'command-buttonset', command].join(' ')
}); });
$buttonset.on('change', function() {
$buttonset.bindExecution('change', function() {
minder.execCommand(command, $buttonset.getValue()); minder.execCommand(command, $buttonset.getValue());
}); });
......
...@@ -19,19 +19,14 @@ KityMinder.registerUI('widget/commandinputmenu', function(minder) { ...@@ -19,19 +19,14 @@ KityMinder.registerUI('widget/commandinputmenu', function(minder) {
}); });
var interactFlag = false;
$menu.bindCommandState(minder, command, function(value) { $menu.bindCommandState(minder, command, function(value) {
interactFlag = true;
if (!$menu.selectByValue(value)) { if (!$menu.selectByValue(value)) {
$menu.clearSelect(); $menu.clearSelect();
} }
interactFlag = false;
}); });
var lastIndex = -1; var lastIndex = -1;
$menu.on('select', function(e, info) { $menu.bindExecution('select', function(e, info) {
if (interactFlag) return;
if (~info.index) { if (~info.index) {
minder.execCommand(command, info.value); minder.execCommand(command, info.value);
} else { } else {
......
...@@ -28,7 +28,7 @@ KityMinder.registerUI('widget/commandselectmenu', function(minder) { ...@@ -28,7 +28,7 @@ KityMinder.registerUI('widget/commandselectmenu', function(minder) {
column: column || 3 column: column || 3
}); });
$selectMenu.on('change', function() { $selectMenu.bindExecution('change', function() {
minder.execCommand(command, $selectMenu.getValue()); minder.execCommand(command, $selectMenu.getValue());
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment