diff --git a/.gitignore b/.gitignore index fabd4e5..8d7f826 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /.idea /upload -**/target \ No newline at end of file +target \ No newline at end of file diff --git a/admin/target/classes/application.yml b/admin/target/classes/application.yml deleted file mode 100644 index ab38e13..0000000 --- a/admin/target/classes/application.yml +++ /dev/null @@ -1,49 +0,0 @@ -### 服务器配置 -server: - port: 8080 -### 配置 -project: - captcha-open: true #是否开启登录验证码 - shiro: - remember-me-timeout: 7 #cookie记住登录信息时间,默认7天(天) - global-session-timeout: 1800 #Session会话超时时间,默认30分钟(秒) - upload: - #file-path: #文件上传路径,默认在项目根目录upload下 - static-path: /upload/** #上传文件静态访问路径 - -### spring配置 -spring: -## 数据库配置 - datasource: - driver-class-name: com.mysql.jdbc.Driver - url: jdbc:mysql://139.196.24.156:3306/cwhelp?useSSL=false&characterEncoding=utf-8 - username: root - password: ifish7mysql - devtools: - restart: - enabled: true - ## jpa配置 - jpa: - show-sql: true - hibernate: - ddl-auto: update - properties: - hibernate.dialect: com.cwhelp.common.mysql.MySQLDialectUTF8 - hibernate.format_sql: false - open-in-view: true - - ## thymeleaf模板设置 - thymeleaf: - prefix: classpath:/templates - suffix: .html - mode: HTML - encoding: utf-8 - servlet.content-type: text/html - cache: false - -## 文件上传配置 - servlet: - multipart: - max-file-size: 10MB - max-request-size: 10MB -debug: true \ No newline at end of file diff --git a/admin/target/classes/com/cwhelp/BootApplication.class b/admin/target/classes/com/cwhelp/BootApplication.class deleted file mode 100644 index c0f17a1..0000000 Binary files a/admin/target/classes/com/cwhelp/BootApplication.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/business/controller/BssDeptController.class b/admin/target/classes/com/cwhelp/admin/business/controller/BssDeptController.class deleted file mode 100644 index 5c2a890..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/business/controller/BssDeptController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/business/controller/BssPlatformController.class b/admin/target/classes/com/cwhelp/admin/business/controller/BssPlatformController.class deleted file mode 100644 index d975d53..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/business/controller/BssPlatformController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/business/validator/BssDeptValid.class b/admin/target/classes/com/cwhelp/admin/business/validator/BssDeptValid.class deleted file mode 100644 index 25750a8..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/business/validator/BssDeptValid.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/business/validator/BssPlatformValid.class b/admin/target/classes/com/cwhelp/admin/business/validator/BssPlatformValid.class deleted file mode 100644 index 6b604b2..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/business/validator/BssPlatformValid.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/ActionLogController.class b/admin/target/classes/com/cwhelp/admin/system/controller/ActionLogController.class deleted file mode 100644 index 72edd35..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/ActionLogController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/DeptController.class b/admin/target/classes/com/cwhelp/admin/system/controller/DeptController.class deleted file mode 100644 index 142aa00..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/DeptController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/DictController.class b/admin/target/classes/com/cwhelp/admin/system/controller/DictController.class deleted file mode 100644 index 81c22ff..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/DictController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/LoginController.class b/admin/target/classes/com/cwhelp/admin/system/controller/LoginController.class deleted file mode 100644 index 3a1b8f4..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/LoginController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/MainController.class b/admin/target/classes/com/cwhelp/admin/system/controller/MainController.class deleted file mode 100644 index fbeabd8..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/MainController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/MenuController.class b/admin/target/classes/com/cwhelp/admin/system/controller/MenuController.class deleted file mode 100644 index ce9403e..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/MenuController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/RoleController.class b/admin/target/classes/com/cwhelp/admin/system/controller/RoleController.class deleted file mode 100644 index f4fdaf2..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/RoleController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/UploadController.class b/admin/target/classes/com/cwhelp/admin/system/controller/UploadController.class deleted file mode 100644 index 60a9567..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/UploadController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/controller/UserController.class b/admin/target/classes/com/cwhelp/admin/system/controller/UserController.class deleted file mode 100644 index 2738c46..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/controller/UserController.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/validator/ActionLogValid.class b/admin/target/classes/com/cwhelp/admin/system/validator/ActionLogValid.class deleted file mode 100644 index 4d7d5bc..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/validator/ActionLogValid.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/validator/DeptValid.class b/admin/target/classes/com/cwhelp/admin/system/validator/DeptValid.class deleted file mode 100644 index ccbfc11..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/validator/DeptValid.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/validator/DictValid.class b/admin/target/classes/com/cwhelp/admin/system/validator/DictValid.class deleted file mode 100644 index f41f69e..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/validator/DictValid.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/validator/MenuValid.class b/admin/target/classes/com/cwhelp/admin/system/validator/MenuValid.class deleted file mode 100644 index f61014b..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/validator/MenuValid.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/validator/RoleValid.class b/admin/target/classes/com/cwhelp/admin/system/validator/RoleValid.class deleted file mode 100644 index 2dcd458..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/validator/RoleValid.class and /dev/null differ diff --git a/admin/target/classes/com/cwhelp/admin/system/validator/UserValid.class b/admin/target/classes/com/cwhelp/admin/system/validator/UserValid.class deleted file mode 100644 index ce6bec7..0000000 Binary files a/admin/target/classes/com/cwhelp/admin/system/validator/UserValid.class and /dev/null differ diff --git a/admin/target/classes/ehcache.xml b/admin/target/classes/ehcache.xml deleted file mode 100644 index 85e8ece..0000000 --- a/admin/target/classes/ehcache.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/static/css/main.css b/admin/target/classes/static/css/main.css deleted file mode 100644 index eeacabb..0000000 --- a/admin/target/classes/static/css/main.css +++ /dev/null @@ -1,993 +0,0 @@ -@charset "UTF-8"; -/* 通用样式 */ -a{ - cursor: pointer; -} -.required { - position: relative; -} -.required:after { - position: absolute; - transform: translateY(8%); - right: 4px; - font-size: 18px; - color: #ea644a; - content: '*'; -} - -/* 滚动条样式 */ -::-webkit-scrollbar-track { - background-color: #F5F5F5; -} -::-webkit-scrollbar { - width: 6px; - height: 6px; - background-color: #F5F5F5; -} -::-webkit-scrollbar-thumb { - background-color: #999; -} - -/* 导航栏样式 */ -.layui-layout-admin .layui-header{ - height: 50px; - background-color: #009688; -} -.layui-layout-admin .layui-header .layui-logo{ - width: 220px; - color: #ffffff; - line-height: 50px; - background-color: #007d71; - overflow: hidden; - -webkit-transition: left 0.3s ease, width 0.3s ease; - -o-transition: left 0.3s ease, width 0.3s ease; - transition: left 0.3s ease, width 0.3s ease; -} -.layui-layout-admin .layui-header .side-toggle{ - left: 220px; - display: block; - padding: 0 20px; - height: 50px; - line-height: 50px; - color: #ffffff; - -webkit-transition: left 0.3s ease, width 0.3s ease; - -o-transition: left 0.3s ease, width 0.3s ease; - transition: left 0.3s ease, width 0.3s ease; -} -.layui-layout-admin .layui-header .side-toggle:hover{ - background-color: #00635a; -} -.layui-layout-admin .layui-header .layui-nav .layui-nav-item{ - line-height: 50px; -} -.layui-layout-admin .layui-header .layui-nav .layui-nav-item>a{ - color: #ffffff; - padding: 0 16px; - -webkit-transition: all 0.2s; - -o-transition: all 0.2s; - transition: all 0.2s; -} -.layui-layout-admin .layui-header .layui-nav .layui-nav-item>a:hover{ - background-color: #038478; -} -.layui-layout-admin .layui-header .layui-nav .layui-nav-item>a>.fa{ - font-size: 18px; -} -.layui-layout-admin .layui-header .layui-nav .layui-this:after{ - background: none; -} -.layui-layout-admin .layui-header .layui-nav .timo-search{ - position: relative; - margin:0 16px; -} -.layui-layout-admin .layui-header .layui-nav .timo-search-input{ - border: 0; - width: 190px; - height: 30px; - padding: 5px 10px; - padding-right: 30px; - border-radius: 2px; - background-color: rgba(255, 255, 255, 0.8); -} -.layui-layout-admin .layui-header .layui-nav .timo-search-button{ - position: absolute; - right: 0; - top: 10px; - bottom: 10px; - padding: 0 10px; - border: 0; - color: rgba(0, 0, 0, 0.8); - background: none; - cursor: pointer; -} -.layui-layout-admin .layui-header .layui-nav .timo-screen-full>.fa{ - position: relative; - top: 3px; -} -.layui-layout-admin .layui-header .layui-nav .timo-screen-full.full-on>.fa:before{ - content: "\e758"; -} -.layui-layout-admin .layui-header .layui-nav .timo-nav-user>a{ - padding-right: 28px; -} -.layui-layout-admin .layui-header .layui-nav .timo-nav-user>a .layui-nav-more{ - right: 12px; -} -.layui-layout-admin .layui-header .layui-nav-bar{ - background-color: rgba(0,0,0,0); -} -.layui-layout-admin .layui-header .layui-nav-child{ - top:55px; - left: -60px; - right: 0; - padding: 0; - margin-top: 2px; - text-align: center; - box-shadow: initial; - border: initial; - background-color: initial; -} -.layui-layout-admin .layui-header .timo-nav-child-box{ - float: right; - min-width: 120px; - padding: 5px 0; - box-shadow: 0 2px 4px rgba(0,0,0,.12); - border: 1px solid #d2d2d2; - background-color: #fff; -} -.layui-layout-admin .layui-header .layui-nav-child a{ - padding: 0; -} -.layui-layout-admin .layui-header .layui-nav-child .fa{ - margin-right: 10px; - color: #666666; -} - -/* 个人中心页面 */ -.user-info-page .user-info{ - position: absolute; - left: 0; - width: 180px; - height: 380px; - border-right: 1px solid #cccccc; - padding:0 20px; -} -.user-info-page .user-info .user-avatar-box{ - position: relative; - margin: 0 auto; - width: 100px; - height: 100px; - border-radius: 50%; - overflow: hidden; - border: 4px solid #d9dde1; - cursor: pointer; -} -.user-info-page .user-info .user-avatar-box .user-avatar{ - width: 100%; - height: 100%; -} -.user-info-page .user-info .user-avatar-box .edit-avatar{ - position: absolute; - bottom: -34px; - width: 100%; - height: 34px; - line-height: 34px; - color: #ffffff; - text-align: center; - background-color: rgba(0,0,0,0.6); - transition: bottom 0.2s; -} -.user-info-page .user-info .user-avatar-box:hover .edit-avatar{ - bottom: 0; -} -.user-info-page .user-info .detail-info{ - margin-top: 14px; - line-height: 1.8; - font-size: 16px; -} -.user-info-page .user-info .detail-info li{ - padding-left: 12px; - overflow: hidden; - text-overflow:ellipsis; - white-space: nowrap; - cursor: default; -} -.user-info-page .user-edit{ - position: absolute; - left: 220px; - right: 0; - height: 380px; - opacity: 0.7; -} -.user-info-page .canvas-panel{ - display: none; - position: absolute; - top: 0; - width: 100%; - height: 100%; - cursor: move; - overflow: hidden; - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC); -} -.user-info-page .canvas-bg{ - position: absolute; -} -.user-info-page .canvas-shade{ - position: absolute; - width: 100%; - height: 100%; - background-color: rgba(0,0,0,0.3); -} -.user-info-page .canvas-crop{ - position: absolute; - top: 50%; - left: 50%; - width: 280px; - height: 280px; - background-color: #FFFFFF; - border: 1px solid rgb(40, 121, 255); - -webkit-transform: translate(-141px, -141px); - transform: translate(-141px,-141px); -} -.user-info-page .canvas-group{ - position: absolute; - right: 14px; - bottom: 10px; - display: none; -} -.user-info-page .canvas-group .layui-btn-primary:hover{ - opacity: 1; -} - -/* 侧边栏 */ -.layui-layout-admin .layui-side{ - top: 50px; - width: 220px; - background-color: #222d32!important; - -webkit-transition: left 0.3s ease, width 0.3s ease; - -o-transition: left 0.3s ease, width 0.3s ease; - transition: left 0.3s ease, width 0.3s ease; -} -.layui-layout-admin .layui-side .layui-side-scroll{ - width: 240px; -} -.layui-layout-admin .layui-side .layui-nav-tree{ - width: 220px; -} -.layui-layout-admin .layui-side .layui-side-user{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - padding: 20px; - margin-top: 10px; - margin-bottom: 10px; - color: #fff; -} -.layui-layout-admin .layui-side .layui-side-user-avatar{ - cursor: pointer; - -webkit-box-flex: 0; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - margin-right: 15px; - width: 48px; - border-radius: 50%; - -webkit-transition: all 0.2s; - -o-transition: all 0.2s; - transition: all 0.2s; -} -.layui-layout-admin .layui-side .layui-side-user-name{ - font-size: 16px; -} -.layui-layout-admin .layui-side .layui-side-user-designation{ - margin-top: 2px; -} -.layui-layout-admin .layui-side .layui-side-user-designation:before{ - content:""; - display:inline-block; - width: 10px; - height: 10px; - background-color: #5FB878; - border-radius: 50%; - margin-right: 2px; -} -.layui-layout-admin .layui-side .layui-nav{ - background-color: #222d32; -} -.layui-layout-admin .layui-side a{ - font-size: 15px; -} -.layui-layout-admin .layui-side a .layui-icon, -.layui-layout-admin .layui-side a .fa{ - display: inline-block; - font-size: 15px; - width: 24px; -} -.layui-layout-admin .layui-side a .fa{ - font-size: 16px; -} -.layui-layout-admin .layui-side .layui-nav-item>a:hover{ - background-color: #222d32; -} -.layui-layout-admin .layui-side .layui-nav-child{ - padding: 4px 0; -} -.layui-layout-admin .layui-side .layui-nav-child a{ - padding-left: 44px; -} -.layui-layout-admin .layui-side .layui-nav-child .layui-nav-child a{ - padding-left: 64px; -} - -/* 主体区域 */ -.layui-layout-admin .layui-body{ - top: 50px; - left: 220px; - margin: 0; - bottom: 0; - -webkit-transition: left 0.3s ease, width 0.3s ease; - -o-transition: left 0.3s ease, width 0.3s ease; - transition: left 0.3s ease, width 0.3s ease; -} -.layui-layout-admin .layui-body .layui-tab-title{ - z-index: 999; - background-color: #ffffff; - -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); - box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); -} -.layui-layout-admin .layui-body .layui-tab-title li{ - padding-left: 16px; - padding-right: 8px; - border-right: 1px solid #f6f6f6; -} -.layui-layout-admin .layui-body .layui-tab-title li:hover{ - background-color: #f8f8f8; -} -.layui-layout-admin .layui-body .layui-tab-title .layui-this{ - color: #009688; - background-color: #f8f8f8; -} -.layui-layout-admin .layui-body .layui-tab-title .layui-this:after{ - border-bottom: 2px solid #009688; -} -.layui-layout-admin .layui-body .layui-tab-title .layui-icon-home{ - text-align: left; - font-size: 15px; - display: inline-block; - width: 22px; -} -.layui-layout-admin .layui-body .layui-tab-title .layui-tab-close{ - width: 16px; - height: 16px; - line-height: 18px; - font-weight: bold; -} -.layui-layout-admin .layui-body .layui-tab-title .layui-tab-close:hover{ - background-color: #cccccc; -} -.layui-layout-admin .layui-body .layui-tab-content, -.layui-layout-admin .layui-body .layui-tab-content .layui-tab-item, -.layui-layout-admin .layui-body .layui-tab-content .layui-layout-iframe -{ - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; -} -.layui-layout-admin .layui-body .layui-tab-content{ - top: 40px; - padding: 0; - z-index: 998; -} -.layui-layout-admin .layui-body .layui-tab-content .layui-layout-iframe{ - width: 100%; - height: 100%; -} - -/* 其他 */ -.layui-layout-admin .layui-header .layui-logo-mini, -.layui-layout-admin .side-toggle .layui-icon-spread-left, -.timo-checkbox input[type="checkbox"]{ - display: none; -} -.timo-checkbox{ - display: block; - width: 18px; - height: 18px; -} -.timo-checkbox .layui-icon{ - display: block; - width: 16px; - height: 16px; - line-height: 16px; - cursor: pointer; -} -.timo-checkbox .layui-icon:before{ - display: block; - width: 100%; - height: 100%; - text-align: center; - border: 1px solid #d2d2d2; - font-size: 12px; - border-radius: 2px; - color: #fff; - background-color: #fff; -} -.timo-checkbox input[type="checkbox"]:checked + .layui-icon:before{ - border-color: #009688; - background-color: #009688; -} - -/* 收起侧边栏 */ -@media (min-width: 767px) { - .layui-layout-admin.layui-side-shrink .layui-logo, - .layui-layout-admin.layui-side-shrink .layui-side { - width: 50px; - } - .layui-layout-admin.layui-side-shrink .layui-side:hover{ - width: 220px; - } - .layui-layout-admin.layui-side-shrink .layui-side:hover .layui-nav-title{ - display: inline; - } - .layui-layout-admin.layui-side-shrink .layui-header .side-toggle, - .layui-layout-admin.layui-side-shrink .layui-body { - left: 50px; - } - .layui-layout-admin.layui-side-shrink .layui-side-user { - padding: 10px; - } - .layui-layout-admin.layui-side-shrink .layui-side-user .layui-side-user-avatar { - width: 30px; - } - .layui-layout-admin.layui-side-shrink .layui-side .layui-nav .layui-nav-item a { - padding: 0 17px; - } - .layui-layout-admin.layui-side-shrink .layui-logo-mini, - .layui-layout-admin.layui-side-shrink .side-toggle .layui-icon-spread-left { - display: inline; - } - .layui-layout-admin.layui-side-shrink .layui-logo-lg, - .layui-layout-admin.layui-side-shrink .layui-side .layui-nav-title, - .layui-layout-admin.layui-side-shrink .layui-side .layui-nav-more, - .layui-layout-admin.layui-side-shrink .layui-side .layui-nav-itemed > .layui-nav-child, - .layui-layout-admin.layui-side-shrink .layui-side-user-name, - .layui-layout-admin.layui-side-shrink .layui-side-user-designation, - .layui-layout-admin.layui-side-shrink .side-toggle .layui-icon-shrink-right { - display: none; - } -} - -/* 自适应小屏幕 */ -@media (max-width: 767px){ - .layui-layout-admin .layui-side{ - left: -220px; - } - .layui-layout-admin .layui-body, - .layui-layout-admin .layui-header .side-toggle{ - left: 0; - } - .layui-layout-admin .layui-header .layui-logo{ - display: none; - } - .layui-layout-admin.layui-side-shrink .layui-side{ - left: 0; - } -} - -/* 登录页面 */ -.layui-layout-login .login-bg{ - background-color: #e7e7e7; - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: -1; -} -.layui-layout-login .login-bg .cover{ - background-color: #009688; - height: 50%; -} -.layui-layout-login .login-content{ - width:250px; - position: absolute; - top: 50%; - left: 50%; - transform:translate(-50%,-50%); - background-color: #ffffff; - padding: 40px; - padding-top: 32px; - -webkit-box-shadow: 0px 3px 20px 3px rgba(0, 0, 0, 0.15); - box-shadow: 0px 3px 20px 3px rgba(0, 0, 0, 0.15); -} -.layui-layout-login .login-content.captcha{ - width:300px; - padding-bottom: 38px; -} -.layui-layout-login .login-content.captcha .captcha-item .layui-icon{ - font-size: 16px; -} -.layui-layout-login .login-content.captcha .captcha-item .layui-input{ - float: left; - width: 180px; -} -.layui-layout-login .login-content.captcha .captcha-item .captcha-img{ - float: right; - height: 38px; - cursor: pointer; -} -.layui-layout-login .login-box-title{ - font-size: 26px; - margin-bottom: 20px; - text-align: center; - color: #444444; -} -.layui-layout-login .layui-form-item{ - position: relative; - margin-bottom: 20px; - min-height: 18px; -} -.layui-layout-login .layui-form-item label{ - position: absolute; - top:0; - left: 0; - font-size: 18px; - width: 38px; - line-height: 38px; - text-align: center; - color: #999999; -} -.layui-layout-login .layui-form-item input[type=text], -.layui-layout-login .layui-form-item input[type=password]{ - padding-left: 36px; - border: 1px solid #ddd; - transition: all 0s; - -webkit-transition: all 0s; -} -.layui-layout-login .layui-form-item .layui-form-checkbox{ - margin-top: 0; -} -.layui-layout-login .layui-form-item .layui-form-checkbox .layui-icon{ - width: 14px; - height: 14px; - top: 1px; - line-height: 14px; -} -.layui-layout-login .layui-form-item .layui-form-checkbox[lay-skin=primary]:hover i { - border-color: #009688; -} -.layui-layout-login .layui-form-item .layui-form-checked[lay-skin=primary] i{ - border-color: #009688; - background-color: #009688; -} -.layui-layout-login .layui-form-item .forget-password{ - color: #009688; -} - -/* 页面通用样式 */ -.timo-layout-page{ - background-color: #eeeeee; - padding: 18px; -} -.timo-layout-page .timo-card-header{ - border-radius: 0; - border-top: 4px solid #d2d2d2; - border-bottom: 1px solid #e2e2e2; -} -.timo-layout-page .timo-card-header .refresh-btn{ - position: absolute; - top:8px; - right: 8px; - width: 25px; - height: 25px; - line-height: 26px; - cursor: pointer; - font-weight: bold; - text-align: center; - border-radius: 4px; -} -.timo-layout-page .timo-card-header .refresh-btn:hover{ - background-color: #cccccc; -} -.timo-layout-page .timo-card-screen{ - margin-bottom: 8px; -} -.timo-layout-page .timo-card-screen.put-row .screen-btn-group{ - clear: both; - float: left; - width: 100%; - margin-top: 4px; -} -.timo-layout-page .timo-card-screen .screen-btn-group{ - margin-right: 1px; -} -.timo-layout-page .timo-card-screen .screen-btn-group .layui-btn{ - margin-top: 5px; - margin-bottom: 5px; -} -.timo-layout-page .timo-card-screen.put-row .screen-btn-group .btn-group-left{ - float: left; - margin-left: -2px; -} -.timo-layout-page .timo-card-screen.put-row .screen-btn-group .btn-group-left button{ - margin-right: 6px; -} -.timo-layout-page .timo-card-screen.put-row .screen-btn-group .btn-group-right{ - float: right; -} -.timo-search-status{ - width: 70px; -} -.timo-search-status .timo-search-select{ - width: 70px; - height: 38px; - padding-left: 12px; - border-color: #e6e6e6; - cursor: pointer; -} -.timo-layout-page .layui-form-pane .layui-inline{ - margin: 5px 0; -} -.timo-layout-page .layui-form-pane .layui-form-label{ - width: auto; - background-color: #fff; - border-color: #009688; - color: #009688; - font-weight: bold; -} -.timo-layout-page .layui-form-pane input, -.timo-layout-page .layui-form-pane select{ - border-color: #009688; - border-radius: 0 2px 2px 0; -} -.timo-layout-page .layui-form-pane input:hover, -.timo-layout-page .layui-form-pane input:focus{ - border-color: #009688 !important; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 150, 136, 0.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 150, 136, 0.6); -} -.timo-layout-page .layui-form-pane .layui-input-block{ - margin-left: 0px; - float: left; -} -.timo-layout-page .screen-btn-group .layui-btn{ - padding: 0 14px; -} -.timo-layout-page .timo-table-wrap{ - overflow-y: auto; - margin: 5px 0; -} -.timo-layout-page .timo-table{ - color: #000000; - margin: 0; -} -.timo-layout-page .timo-table.timo-table-fixed{ - table-layout: fixed; -} -.timo-layout-page .timo-table a{ - color: #009688; -} -.timo-layout-page .timo-table a:hover { - color: #004a43; - text-decoration: underline; -} -.timo-layout-page .timo-table th, -.timo-layout-page .timo-table td{ - padding: 12px; - border: 1px solid #dee2e6; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.timo-layout-page .timo-table th{ - vertical-align: bottom; - border-bottom: 2px solid #dee2e6; - font-weight: bold; - background-color: #ffffff; -} -.timo-layout-page .timo-table .timo-table-checkbox{ - width: 20px; -} -.timo-layout-page .timo-table .timo-checkbox{ - margin: 0 1px; -} -.timo-layout-page .timo-table .timo-table-null{ - text-align: center; -} -.timo-layout-page .timo-table .sortable{ - cursor: pointer; - padding-right: 18px; - background:#FFFFFF url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC") no-repeat right; -} -.timo-layout-page .timo-table .sortable.asc{ - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg=="); -} -.timo-layout-page .timo-table .sortable.desc{ - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII="); -} - -.timo-layout-page .page-info{ - padding-top: 12px; - vertical-align: center; -} -.timo-layout-page .page-number{ - display: inline-block; - padding: 3px; - padding-top: 1px; - border-radius: 2px; - cursor: pointer; - border: 1px solid #e2e2e2; - height: 24px; - margin-left: 6px; -} -.btn-group{ - position: relative; - display: inline-block; - vertical-align: middle; -} -.caret { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 4px dashed; - border-top: 4px solid\9; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} -.btn-group .layui-nav-child{ - top: initial; - left: -20px; - right: 0; - margin-top: 2px; -} -.btn-group .layui-nav-child a{ - display: block; - padding: 0 20px; -} -.btn-group .layui-nav-child a:hover { - background-color: #f2f2f2; - color: #000; -} -.btn-group.show .layui-nav-child{ - display: block; -} -.timo-layout-page .screen-btn-group .layui-btn{ - margin-left: 2px; -} -.timo-layout-page .screen-btn-group .btn-group .layui-btn{ - padding-right: 12px; -} -.timo-layout-page .screen-btn-group .btn-group .caret{ - margin-left: 4px; -} - -/* 分页样式 */ -.pagination { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - padding-left: 0; - list-style: none; - border-radius: 0.25rem; - float: right; - margin-top: 4px; - margin-bottom: 8px; -} -.page-link { - position: relative; - display: block; - padding: 8px 14px; - margin-left: -1px; - line-height: 1.25; - color: #009688; - background-color: #FFF; - border: 1px solid #dee2e6; -} -.page-link:hover{ - background-color: #dddddd; -} -.page-item:first-child .page-link { - margin-left: 0; - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} -.page-item:last-child .page-link { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} -.page-item.active .page-link { - z-index: 1; - color: #FFF; - background-color: #009688; - border-color: #009688; -} -.page-item .breviary{ - font-weight: bold; -} - -/* 添加/编辑页面 */ -.timo-compile{ - padding-top: 20px; -} -.timo-compile .layui-input-inline{ - width: 240px; -} -.timo-compile .layui-input-inline input:hover, -.timo-compile .layui-input-block input:hover, -.timo-compile .layui-input-inline textarea:hover, -.timo-compile .layui-input-block textarea:hover{ - border-color: #009688!important; -} -.timo-compile .layui-input-info{ - float: left; - margin-left: 4px; - height: 38px; - line-height: 38px; - color: #747474; -} -.timo-compile .layui-form-text{ - padding-right: 20px; -} -.timo-compile .layui-form-text .layui-textarea{ - max-width: 360px; -} -.timo-compile .layui-form-text .layui-textarea.textarea-fill{ - max-width: initial; -} -.timo-compile .timo-finally{ - border-top: 1px solid #ddd; - padding: 14px 0 0 0; - margin: 10px 20px 20px; -} -.timo-compile .timo-finally .layui-btn{ - padding: 0 14px; -} -.timo-compile .timo-finally .btn-secondary{ - color: #FFF; - background-color: #737c85; - border-color: #737c85; -} - -/* 详细页面 */ -.timo-detail-page{ - padding: 12px; -} -.timo-detail-title{ - padding:10px 15px; - font-weight: bold; - border: 1px solid #c9ced1; - border-bottom: none; -} -.timo-detail-table{ - color: #000000; - margin: 0 0 12px; -} -.timo-detail-table th{ - font-weight: bold; -} -.timo-detail-table th, -.timo-detail-table td{ - border: 1px solid #c9ced1; -} -.timo-detail-table tbody tr:hover{ - background-color: #ffffff; -} - -/* 树形数据展示 */ -.timo-tree-table tbody{ - visibility: hidden; -} -.timo-nav-tree{ - margin-top: 6px; - margin-right: 15px; - border: 1px solid #dee2e6; - max-height: 590px; - overflow-y: auto; -} -.timo-nav-tree .layui-card-header{ - border-bottom: 1px solid #dee2e6; -} -.timo-tree .toggle-fill{ - width: 16px; - display: inline-block; -} -.timo-tree .toggle-icon{ - color: #555555; - width: 16px; - cursor: pointer; - text-align: center; -} -.timo-tree .tree-hidd{ - display: none; -} -.timo-tree .tree-active{ - background-color: #f2f2f2; -} -.timo-tree .ztree span.tree-add{ - margin-left:2px; - background-position:-144px 0; - vertical-align:top; - *vertical-align:middle -} - -/* 树形选择器 */ -.selectContent{ - display: none; - position: absolute; - z-index: 999; - padding-bottom: 4px; - overflow-y: scroll; - max-height: 210px; - background-color: #FAFAFA; - border: 1px solid rgb(204, 204, 204); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); -} -.select-tree{ - cursor: pointer; -} -.select-tree + .layui-edge{ - position: absolute; - right: 10px; - top: 50%; - margin-top: -3px; - border-width: 6px; - border-top: 6px solid #c2c2c2; -} - -/* 上传图片展示 */ -.upload-show{ - clear: both; - overflow: hidden; - margin-left: 110px; -} -.upload-show .upload-item{ - position: relative; - float: left; -} -.upload-show .upload-item:after { - content: ''; - position: absolute; - top: 12px; - left: 0; - right: 12px; - bottom: 0; - background-color: rgba(0,0,0,0.25); -} -.upload-show .upload-item.succeed:after{ - display: none; -} -.upload-show .upload-item.error:after { - background-color: rgba(255, 10, 0, 0.25); -} -.upload-show .upload-item img{ - height: 84px; - margin-top: 12px; - margin-right: 12px; - padding: 8px; - border: 1px solid #cccccc; -} -.upload-show .upload-item .upload-item-close{ - display: block; - position: absolute; - top: 12px; - right: 12px; - z-index: 999999; - color: #FFFFFF; - background-color: rgba(0, 150, 136, 0.69); - font-size: 11px; - width: 14px; - height: 14px; - text-align: center; - line-height: 15px; - cursor: pointer; -} -.upload-show .upload-item .upload-item-close:hover{ - background-color: #009688; -} \ No newline at end of file diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/css/font-awesome.css b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/css/font-awesome.css deleted file mode 100644 index ee906a8..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/css/font-awesome.css +++ /dev/null @@ -1,2337 +0,0 @@ -/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */ -/* FONT PATH - * -------------------------- */ -@font-face { - font-family: 'FontAwesome'; - src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); - src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); - font-weight: normal; - font-style: normal; -} -.fa { - display: inline-block; - font: normal normal normal 14px/1 FontAwesome; - font-size: inherit; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/* makes the font 33% larger relative to the icon container */ -.fa-lg { - font-size: 1.33333333em; - line-height: 0.75em; - vertical-align: -15%; -} -.fa-2x { - font-size: 2em; -} -.fa-3x { - font-size: 3em; -} -.fa-4x { - font-size: 4em; -} -.fa-5x { - font-size: 5em; -} -.fa-fw { - width: 1.28571429em; - text-align: center; -} -.fa-ul { - padding-left: 0; - margin-left: 2.14285714em; - list-style-type: none; -} -.fa-ul > li { - position: relative; -} -.fa-li { - position: absolute; - left: -2.14285714em; - width: 2.14285714em; - top: 0.14285714em; - text-align: center; -} -.fa-li.fa-lg { - left: -1.85714286em; -} -.fa-border { - padding: .2em .25em .15em; - border: solid 0.08em #eeeeee; - border-radius: .1em; -} -.fa-pull-left { - float: left; -} -.fa-pull-right { - float: right; -} -.fa.fa-pull-left { - margin-right: .3em; -} -.fa.fa-pull-right { - margin-left: .3em; -} -/* Deprecated as of 4.4.0 */ -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.fa.pull-left { - margin-right: .3em; -} -.fa.pull-right { - margin-left: .3em; -} -.fa-spin { - -webkit-animation: fa-spin 2s infinite linear; - animation: fa-spin 2s infinite linear; -} -.fa-pulse { - -webkit-animation: fa-spin 1s infinite steps(8); - animation: fa-spin 1s infinite steps(8); -} -@-webkit-keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -@keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -.fa-rotate-90 { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); -} -.fa-rotate-180 { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} -.fa-rotate-270 { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; - -webkit-transform: rotate(270deg); - -ms-transform: rotate(270deg); - transform: rotate(270deg); -} -.fa-flip-horizontal { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; - -webkit-transform: scale(-1, 1); - -ms-transform: scale(-1, 1); - transform: scale(-1, 1); -} -.fa-flip-vertical { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; - -webkit-transform: scale(1, -1); - -ms-transform: scale(1, -1); - transform: scale(1, -1); -} -:root .fa-rotate-90, -:root .fa-rotate-180, -:root .fa-rotate-270, -:root .fa-flip-horizontal, -:root .fa-flip-vertical { - filter: none; -} -.fa-stack { - position: relative; - display: inline-block; - width: 2em; - height: 2em; - line-height: 2em; - vertical-align: middle; -} -.fa-stack-1x, -.fa-stack-2x { - position: absolute; - left: 0; - width: 100%; - text-align: center; -} -.fa-stack-1x { - line-height: inherit; -} -.fa-stack-2x { - font-size: 2em; -} -.fa-inverse { - color: #ffffff; -} -/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen - readers do not read off random characters that represent icons */ -.fa-glass:before { - content: "\f000"; -} -.fa-music:before { - content: "\f001"; -} -.fa-search:before { - content: "\f002"; -} -.fa-envelope-o:before { - content: "\f003"; -} -.fa-heart:before { - content: "\f004"; -} -.fa-star:before { - content: "\f005"; -} -.fa-star-o:before { - content: "\f006"; -} -.fa-user:before { - content: "\f007"; -} -.fa-film:before { - content: "\f008"; -} -.fa-th-large:before { - content: "\f009"; -} -.fa-th:before { - content: "\f00a"; -} -.fa-th-list:before { - content: "\f00b"; -} -.fa-check:before { - content: "\f00c"; -} -.fa-remove:before, -.fa-close:before, -.fa-times:before { - content: "\f00d"; -} -.fa-search-plus:before { - content: "\f00e"; -} -.fa-search-minus:before { - content: "\f010"; -} -.fa-power-off:before { - content: "\f011"; -} -.fa-signal:before { - content: "\f012"; -} -.fa-gear:before, -.fa-cog:before { - content: "\f013"; -} -.fa-trash-o:before { - content: "\f014"; -} -.fa-home:before { - content: "\f015"; -} -.fa-file-o:before { - content: "\f016"; -} -.fa-clock-o:before { - content: "\f017"; -} -.fa-road:before { - content: "\f018"; -} -.fa-download:before { - content: "\f019"; -} -.fa-arrow-circle-o-down:before { - content: "\f01a"; -} -.fa-arrow-circle-o-up:before { - content: "\f01b"; -} -.fa-inbox:before { - content: "\f01c"; -} -.fa-play-circle-o:before { - content: "\f01d"; -} -.fa-rotate-right:before, -.fa-repeat:before { - content: "\f01e"; -} -.fa-refresh:before { - content: "\f021"; -} -.fa-list-alt:before { - content: "\f022"; -} -.fa-lock:before { - content: "\f023"; -} -.fa-flag:before { - content: "\f024"; -} -.fa-headphones:before { - content: "\f025"; -} -.fa-volume-off:before { - content: "\f026"; -} -.fa-volume-down:before { - content: "\f027"; -} -.fa-volume-up:before { - content: "\f028"; -} -.fa-qrcode:before { - content: "\f029"; -} -.fa-barcode:before { - content: "\f02a"; -} -.fa-tag:before { - content: "\f02b"; -} -.fa-tags:before { - content: "\f02c"; -} -.fa-book:before { - content: "\f02d"; -} -.fa-bookmark:before { - content: "\f02e"; -} -.fa-print:before { - content: "\f02f"; -} -.fa-camera:before { - content: "\f030"; -} -.fa-font:before { - content: "\f031"; -} -.fa-bold:before { - content: "\f032"; -} -.fa-italic:before { - content: "\f033"; -} -.fa-text-height:before { - content: "\f034"; -} -.fa-text-width:before { - content: "\f035"; -} -.fa-align-left:before { - content: "\f036"; -} -.fa-align-center:before { - content: "\f037"; -} -.fa-align-right:before { - content: "\f038"; -} -.fa-align-justify:before { - content: "\f039"; -} -.fa-list:before { - content: "\f03a"; -} -.fa-dedent:before, -.fa-outdent:before { - content: "\f03b"; -} -.fa-indent:before { - content: "\f03c"; -} -.fa-video-camera:before { - content: "\f03d"; -} -.fa-photo:before, -.fa-image:before, -.fa-picture-o:before { - content: "\f03e"; -} -.fa-pencil:before { - content: "\f040"; -} -.fa-map-marker:before { - content: "\f041"; -} -.fa-adjust:before { - content: "\f042"; -} -.fa-tint:before { - content: "\f043"; -} -.fa-edit:before, -.fa-pencil-square-o:before { - content: "\f044"; -} -.fa-share-square-o:before { - content: "\f045"; -} -.fa-check-square-o:before { - content: "\f046"; -} -.fa-arrows:before { - content: "\f047"; -} -.fa-step-backward:before { - content: "\f048"; -} -.fa-fast-backward:before { - content: "\f049"; -} -.fa-backward:before { - content: "\f04a"; -} -.fa-play:before { - content: "\f04b"; -} -.fa-pause:before { - content: "\f04c"; -} -.fa-stop:before { - content: "\f04d"; -} -.fa-forward:before { - content: "\f04e"; -} -.fa-fast-forward:before { - content: "\f050"; -} -.fa-step-forward:before { - content: "\f051"; -} -.fa-eject:before { - content: "\f052"; -} -.fa-chevron-left:before { - content: "\f053"; -} -.fa-chevron-right:before { - content: "\f054"; -} -.fa-plus-circle:before { - content: "\f055"; -} -.fa-minus-circle:before { - content: "\f056"; -} -.fa-times-circle:before { - content: "\f057"; -} -.fa-check-circle:before { - content: "\f058"; -} -.fa-question-circle:before { - content: "\f059"; -} -.fa-info-circle:before { - content: "\f05a"; -} -.fa-crosshairs:before { - content: "\f05b"; -} -.fa-times-circle-o:before { - content: "\f05c"; -} -.fa-check-circle-o:before { - content: "\f05d"; -} -.fa-ban:before { - content: "\f05e"; -} -.fa-arrow-left:before { - content: "\f060"; -} -.fa-arrow-right:before { - content: "\f061"; -} -.fa-arrow-up:before { - content: "\f062"; -} -.fa-arrow-down:before { - content: "\f063"; -} -.fa-mail-forward:before, -.fa-share:before { - content: "\f064"; -} -.fa-expand:before { - content: "\f065"; -} -.fa-compress:before { - content: "\f066"; -} -.fa-plus:before { - content: "\f067"; -} -.fa-minus:before { - content: "\f068"; -} -.fa-asterisk:before { - content: "\f069"; -} -.fa-exclamation-circle:before { - content: "\f06a"; -} -.fa-gift:before { - content: "\f06b"; -} -.fa-leaf:before { - content: "\f06c"; -} -.fa-fire:before { - content: "\f06d"; -} -.fa-eye:before { - content: "\f06e"; -} -.fa-eye-slash:before { - content: "\f070"; -} -.fa-warning:before, -.fa-exclamation-triangle:before { - content: "\f071"; -} -.fa-plane:before { - content: "\f072"; -} -.fa-calendar:before { - content: "\f073"; -} -.fa-random:before { - content: "\f074"; -} -.fa-comment:before { - content: "\f075"; -} -.fa-magnet:before { - content: "\f076"; -} -.fa-chevron-up:before { - content: "\f077"; -} -.fa-chevron-down:before { - content: "\f078"; -} -.fa-retweet:before { - content: "\f079"; -} -.fa-shopping-cart:before { - content: "\f07a"; -} -.fa-folder:before { - content: "\f07b"; -} -.fa-folder-open:before { - content: "\f07c"; -} -.fa-arrows-v:before { - content: "\f07d"; -} -.fa-arrows-h:before { - content: "\f07e"; -} -.fa-bar-chart-o:before, -.fa-bar-chart:before { - content: "\f080"; -} -.fa-twitter-square:before { - content: "\f081"; -} -.fa-facebook-square:before { - content: "\f082"; -} -.fa-camera-retro:before { - content: "\f083"; -} -.fa-key:before { - content: "\f084"; -} -.fa-gears:before, -.fa-cogs:before { - content: "\f085"; -} -.fa-comments:before { - content: "\f086"; -} -.fa-thumbs-o-up:before { - content: "\f087"; -} -.fa-thumbs-o-down:before { - content: "\f088"; -} -.fa-star-half:before { - content: "\f089"; -} -.fa-heart-o:before { - content: "\f08a"; -} -.fa-sign-out:before { - content: "\f08b"; -} -.fa-linkedin-square:before { - content: "\f08c"; -} -.fa-thumb-tack:before { - content: "\f08d"; -} -.fa-external-link:before { - content: "\f08e"; -} -.fa-sign-in:before { - content: "\f090"; -} -.fa-trophy:before { - content: "\f091"; -} -.fa-github-square:before { - content: "\f092"; -} -.fa-upload:before { - content: "\f093"; -} -.fa-lemon-o:before { - content: "\f094"; -} -.fa-phone:before { - content: "\f095"; -} -.fa-square-o:before { - content: "\f096"; -} -.fa-bookmark-o:before { - content: "\f097"; -} -.fa-phone-square:before { - content: "\f098"; -} -.fa-twitter:before { - content: "\f099"; -} -.fa-facebook-f:before, -.fa-facebook:before { - content: "\f09a"; -} -.fa-github:before { - content: "\f09b"; -} -.fa-unlock:before { - content: "\f09c"; -} -.fa-credit-card:before { - content: "\f09d"; -} -.fa-feed:before, -.fa-rss:before { - content: "\f09e"; -} -.fa-hdd-o:before { - content: "\f0a0"; -} -.fa-bullhorn:before { - content: "\f0a1"; -} -.fa-bell:before { - content: "\f0f3"; -} -.fa-certificate:before { - content: "\f0a3"; -} -.fa-hand-o-right:before { - content: "\f0a4"; -} -.fa-hand-o-left:before { - content: "\f0a5"; -} -.fa-hand-o-up:before { - content: "\f0a6"; -} -.fa-hand-o-down:before { - content: "\f0a7"; -} -.fa-arrow-circle-left:before { - content: "\f0a8"; -} -.fa-arrow-circle-right:before { - content: "\f0a9"; -} -.fa-arrow-circle-up:before { - content: "\f0aa"; -} -.fa-arrow-circle-down:before { - content: "\f0ab"; -} -.fa-globe:before { - content: "\f0ac"; -} -.fa-wrench:before { - content: "\f0ad"; -} -.fa-tasks:before { - content: "\f0ae"; -} -.fa-filter:before { - content: "\f0b0"; -} -.fa-briefcase:before { - content: "\f0b1"; -} -.fa-arrows-alt:before { - content: "\f0b2"; -} -.fa-group:before, -.fa-users:before { - content: "\f0c0"; -} -.fa-chain:before, -.fa-link:before { - content: "\f0c1"; -} -.fa-cloud:before { - content: "\f0c2"; -} -.fa-flask:before { - content: "\f0c3"; -} -.fa-cut:before, -.fa-scissors:before { - content: "\f0c4"; -} -.fa-copy:before, -.fa-files-o:before { - content: "\f0c5"; -} -.fa-paperclip:before { - content: "\f0c6"; -} -.fa-save:before, -.fa-floppy-o:before { - content: "\f0c7"; -} -.fa-square:before { - content: "\f0c8"; -} -.fa-navicon:before, -.fa-reorder:before, -.fa-bars:before { - content: "\f0c9"; -} -.fa-list-ul:before { - content: "\f0ca"; -} -.fa-list-ol:before { - content: "\f0cb"; -} -.fa-strikethrough:before { - content: "\f0cc"; -} -.fa-underline:before { - content: "\f0cd"; -} -.fa-table:before { - content: "\f0ce"; -} -.fa-magic:before { - content: "\f0d0"; -} -.fa-truck:before { - content: "\f0d1"; -} -.fa-pinterest:before { - content: "\f0d2"; -} -.fa-pinterest-square:before { - content: "\f0d3"; -} -.fa-google-plus-square:before { - content: "\f0d4"; -} -.fa-google-plus:before { - content: "\f0d5"; -} -.fa-money:before { - content: "\f0d6"; -} -.fa-caret-down:before { - content: "\f0d7"; -} -.fa-caret-up:before { - content: "\f0d8"; -} -.fa-caret-left:before { - content: "\f0d9"; -} -.fa-caret-right:before { - content: "\f0da"; -} -.fa-columns:before { - content: "\f0db"; -} -.fa-unsorted:before, -.fa-sort:before { - content: "\f0dc"; -} -.fa-sort-down:before, -.fa-sort-desc:before { - content: "\f0dd"; -} -.fa-sort-up:before, -.fa-sort-asc:before { - content: "\f0de"; -} -.fa-envelope:before { - content: "\f0e0"; -} -.fa-linkedin:before { - content: "\f0e1"; -} -.fa-rotate-left:before, -.fa-undo:before { - content: "\f0e2"; -} -.fa-legal:before, -.fa-gavel:before { - content: "\f0e3"; -} -.fa-dashboard:before, -.fa-tachometer:before { - content: "\f0e4"; -} -.fa-comment-o:before { - content: "\f0e5"; -} -.fa-comments-o:before { - content: "\f0e6"; -} -.fa-flash:before, -.fa-bolt:before { - content: "\f0e7"; -} -.fa-sitemap:before { - content: "\f0e8"; -} -.fa-umbrella:before { - content: "\f0e9"; -} -.fa-paste:before, -.fa-clipboard:before { - content: "\f0ea"; -} -.fa-lightbulb-o:before { - content: "\f0eb"; -} -.fa-exchange:before { - content: "\f0ec"; -} -.fa-cloud-download:before { - content: "\f0ed"; -} -.fa-cloud-upload:before { - content: "\f0ee"; -} -.fa-user-md:before { - content: "\f0f0"; -} -.fa-stethoscope:before { - content: "\f0f1"; -} -.fa-suitcase:before { - content: "\f0f2"; -} -.fa-bell-o:before { - content: "\f0a2"; -} -.fa-coffee:before { - content: "\f0f4"; -} -.fa-cutlery:before { - content: "\f0f5"; -} -.fa-file-text-o:before { - content: "\f0f6"; -} -.fa-building-o:before { - content: "\f0f7"; -} -.fa-hospital-o:before { - content: "\f0f8"; -} -.fa-ambulance:before { - content: "\f0f9"; -} -.fa-medkit:before { - content: "\f0fa"; -} -.fa-fighter-jet:before { - content: "\f0fb"; -} -.fa-beer:before { - content: "\f0fc"; -} -.fa-h-square:before { - content: "\f0fd"; -} -.fa-plus-square:before { - content: "\f0fe"; -} -.fa-angle-double-left:before { - content: "\f100"; -} -.fa-angle-double-right:before { - content: "\f101"; -} -.fa-angle-double-up:before { - content: "\f102"; -} -.fa-angle-double-down:before { - content: "\f103"; -} -.fa-angle-left:before { - content: "\f104"; -} -.fa-angle-right:before { - content: "\f105"; -} -.fa-angle-up:before { - content: "\f106"; -} -.fa-angle-down:before { - content: "\f107"; -} -.fa-desktop:before { - content: "\f108"; -} -.fa-laptop:before { - content: "\f109"; -} -.fa-tablet:before { - content: "\f10a"; -} -.fa-mobile-phone:before, -.fa-mobile:before { - content: "\f10b"; -} -.fa-circle-o:before { - content: "\f10c"; -} -.fa-quote-left:before { - content: "\f10d"; -} -.fa-quote-right:before { - content: "\f10e"; -} -.fa-spinner:before { - content: "\f110"; -} -.fa-circle:before { - content: "\f111"; -} -.fa-mail-reply:before, -.fa-reply:before { - content: "\f112"; -} -.fa-github-alt:before { - content: "\f113"; -} -.fa-folder-o:before { - content: "\f114"; -} -.fa-folder-open-o:before { - content: "\f115"; -} -.fa-smile-o:before { - content: "\f118"; -} -.fa-frown-o:before { - content: "\f119"; -} -.fa-meh-o:before { - content: "\f11a"; -} -.fa-gamepad:before { - content: "\f11b"; -} -.fa-keyboard-o:before { - content: "\f11c"; -} -.fa-flag-o:before { - content: "\f11d"; -} -.fa-flag-checkered:before { - content: "\f11e"; -} -.fa-terminal:before { - content: "\f120"; -} -.fa-code:before { - content: "\f121"; -} -.fa-mail-reply-all:before, -.fa-reply-all:before { - content: "\f122"; -} -.fa-star-half-empty:before, -.fa-star-half-full:before, -.fa-star-half-o:before { - content: "\f123"; -} -.fa-location-arrow:before { - content: "\f124"; -} -.fa-crop:before { - content: "\f125"; -} -.fa-code-fork:before { - content: "\f126"; -} -.fa-unlink:before, -.fa-chain-broken:before { - content: "\f127"; -} -.fa-question:before { - content: "\f128"; -} -.fa-info:before { - content: "\f129"; -} -.fa-exclamation:before { - content: "\f12a"; -} -.fa-superscript:before { - content: "\f12b"; -} -.fa-subscript:before { - content: "\f12c"; -} -.fa-eraser:before { - content: "\f12d"; -} -.fa-puzzle-piece:before { - content: "\f12e"; -} -.fa-microphone:before { - content: "\f130"; -} -.fa-microphone-slash:before { - content: "\f131"; -} -.fa-shield:before { - content: "\f132"; -} -.fa-calendar-o:before { - content: "\f133"; -} -.fa-fire-extinguisher:before { - content: "\f134"; -} -.fa-rocket:before { - content: "\f135"; -} -.fa-maxcdn:before { - content: "\f136"; -} -.fa-chevron-circle-left:before { - content: "\f137"; -} -.fa-chevron-circle-right:before { - content: "\f138"; -} -.fa-chevron-circle-up:before { - content: "\f139"; -} -.fa-chevron-circle-down:before { - content: "\f13a"; -} -.fa-html5:before { - content: "\f13b"; -} -.fa-css3:before { - content: "\f13c"; -} -.fa-anchor:before { - content: "\f13d"; -} -.fa-unlock-alt:before { - content: "\f13e"; -} -.fa-bullseye:before { - content: "\f140"; -} -.fa-ellipsis-h:before { - content: "\f141"; -} -.fa-ellipsis-v:before { - content: "\f142"; -} -.fa-rss-square:before { - content: "\f143"; -} -.fa-play-circle:before { - content: "\f144"; -} -.fa-ticket:before { - content: "\f145"; -} -.fa-minus-square:before { - content: "\f146"; -} -.fa-minus-square-o:before { - content: "\f147"; -} -.fa-level-up:before { - content: "\f148"; -} -.fa-level-down:before { - content: "\f149"; -} -.fa-check-square:before { - content: "\f14a"; -} -.fa-pencil-square:before { - content: "\f14b"; -} -.fa-external-link-square:before { - content: "\f14c"; -} -.fa-share-square:before { - content: "\f14d"; -} -.fa-compass:before { - content: "\f14e"; -} -.fa-toggle-down:before, -.fa-caret-square-o-down:before { - content: "\f150"; -} -.fa-toggle-up:before, -.fa-caret-square-o-up:before { - content: "\f151"; -} -.fa-toggle-right:before, -.fa-caret-square-o-right:before { - content: "\f152"; -} -.fa-euro:before, -.fa-eur:before { - content: "\f153"; -} -.fa-gbp:before { - content: "\f154"; -} -.fa-dollar:before, -.fa-usd:before { - content: "\f155"; -} -.fa-rupee:before, -.fa-inr:before { - content: "\f156"; -} -.fa-cny:before, -.fa-rmb:before, -.fa-yen:before, -.fa-jpy:before { - content: "\f157"; -} -.fa-ruble:before, -.fa-rouble:before, -.fa-rub:before { - content: "\f158"; -} -.fa-won:before, -.fa-krw:before { - content: "\f159"; -} -.fa-bitcoin:before, -.fa-btc:before { - content: "\f15a"; -} -.fa-file:before { - content: "\f15b"; -} -.fa-file-text:before { - content: "\f15c"; -} -.fa-sort-alpha-asc:before { - content: "\f15d"; -} -.fa-sort-alpha-desc:before { - content: "\f15e"; -} -.fa-sort-amount-asc:before { - content: "\f160"; -} -.fa-sort-amount-desc:before { - content: "\f161"; -} -.fa-sort-numeric-asc:before { - content: "\f162"; -} -.fa-sort-numeric-desc:before { - content: "\f163"; -} -.fa-thumbs-up:before { - content: "\f164"; -} -.fa-thumbs-down:before { - content: "\f165"; -} -.fa-youtube-square:before { - content: "\f166"; -} -.fa-youtube:before { - content: "\f167"; -} -.fa-xing:before { - content: "\f168"; -} -.fa-xing-square:before { - content: "\f169"; -} -.fa-youtube-play:before { - content: "\f16a"; -} -.fa-dropbox:before { - content: "\f16b"; -} -.fa-stack-overflow:before { - content: "\f16c"; -} -.fa-instagram:before { - content: "\f16d"; -} -.fa-flickr:before { - content: "\f16e"; -} -.fa-adn:before { - content: "\f170"; -} -.fa-bitbucket:before { - content: "\f171"; -} -.fa-bitbucket-square:before { - content: "\f172"; -} -.fa-tumblr:before { - content: "\f173"; -} -.fa-tumblr-square:before { - content: "\f174"; -} -.fa-long-arrow-down:before { - content: "\f175"; -} -.fa-long-arrow-up:before { - content: "\f176"; -} -.fa-long-arrow-left:before { - content: "\f177"; -} -.fa-long-arrow-right:before { - content: "\f178"; -} -.fa-apple:before { - content: "\f179"; -} -.fa-windows:before { - content: "\f17a"; -} -.fa-android:before { - content: "\f17b"; -} -.fa-linux:before { - content: "\f17c"; -} -.fa-dribbble:before { - content: "\f17d"; -} -.fa-skype:before { - content: "\f17e"; -} -.fa-foursquare:before { - content: "\f180"; -} -.fa-trello:before { - content: "\f181"; -} -.fa-female:before { - content: "\f182"; -} -.fa-male:before { - content: "\f183"; -} -.fa-gittip:before, -.fa-gratipay:before { - content: "\f184"; -} -.fa-sun-o:before { - content: "\f185"; -} -.fa-moon-o:before { - content: "\f186"; -} -.fa-archive:before { - content: "\f187"; -} -.fa-bug:before { - content: "\f188"; -} -.fa-vk:before { - content: "\f189"; -} -.fa-weibo:before { - content: "\f18a"; -} -.fa-renren:before { - content: "\f18b"; -} -.fa-pagelines:before { - content: "\f18c"; -} -.fa-stack-exchange:before { - content: "\f18d"; -} -.fa-arrow-circle-o-right:before { - content: "\f18e"; -} -.fa-arrow-circle-o-left:before { - content: "\f190"; -} -.fa-toggle-left:before, -.fa-caret-square-o-left:before { - content: "\f191"; -} -.fa-dot-circle-o:before { - content: "\f192"; -} -.fa-wheelchair:before { - content: "\f193"; -} -.fa-vimeo-square:before { - content: "\f194"; -} -.fa-turkish-lira:before, -.fa-try:before { - content: "\f195"; -} -.fa-plus-square-o:before { - content: "\f196"; -} -.fa-space-shuttle:before { - content: "\f197"; -} -.fa-slack:before { - content: "\f198"; -} -.fa-envelope-square:before { - content: "\f199"; -} -.fa-wordpress:before { - content: "\f19a"; -} -.fa-openid:before { - content: "\f19b"; -} -.fa-institution:before, -.fa-bank:before, -.fa-university:before { - content: "\f19c"; -} -.fa-mortar-board:before, -.fa-graduation-cap:before { - content: "\f19d"; -} -.fa-yahoo:before { - content: "\f19e"; -} -.fa-google:before { - content: "\f1a0"; -} -.fa-reddit:before { - content: "\f1a1"; -} -.fa-reddit-square:before { - content: "\f1a2"; -} -.fa-stumbleupon-circle:before { - content: "\f1a3"; -} -.fa-stumbleupon:before { - content: "\f1a4"; -} -.fa-delicious:before { - content: "\f1a5"; -} -.fa-digg:before { - content: "\f1a6"; -} -.fa-pied-piper-pp:before { - content: "\f1a7"; -} -.fa-pied-piper-alt:before { - content: "\f1a8"; -} -.fa-drupal:before { - content: "\f1a9"; -} -.fa-joomla:before { - content: "\f1aa"; -} -.fa-language:before { - content: "\f1ab"; -} -.fa-fax:before { - content: "\f1ac"; -} -.fa-building:before { - content: "\f1ad"; -} -.fa-child:before { - content: "\f1ae"; -} -.fa-paw:before { - content: "\f1b0"; -} -.fa-spoon:before { - content: "\f1b1"; -} -.fa-cube:before { - content: "\f1b2"; -} -.fa-cubes:before { - content: "\f1b3"; -} -.fa-behance:before { - content: "\f1b4"; -} -.fa-behance-square:before { - content: "\f1b5"; -} -.fa-steam:before { - content: "\f1b6"; -} -.fa-steam-square:before { - content: "\f1b7"; -} -.fa-recycle:before { - content: "\f1b8"; -} -.fa-automobile:before, -.fa-car:before { - content: "\f1b9"; -} -.fa-cab:before, -.fa-taxi:before { - content: "\f1ba"; -} -.fa-tree:before { - content: "\f1bb"; -} -.fa-spotify:before { - content: "\f1bc"; -} -.fa-deviantart:before { - content: "\f1bd"; -} -.fa-soundcloud:before { - content: "\f1be"; -} -.fa-database:before { - content: "\f1c0"; -} -.fa-file-pdf-o:before { - content: "\f1c1"; -} -.fa-file-word-o:before { - content: "\f1c2"; -} -.fa-file-excel-o:before { - content: "\f1c3"; -} -.fa-file-powerpoint-o:before { - content: "\f1c4"; -} -.fa-file-photo-o:before, -.fa-file-picture-o:before, -.fa-file-image-o:before { - content: "\f1c5"; -} -.fa-file-zip-o:before, -.fa-file-archive-o:before { - content: "\f1c6"; -} -.fa-file-sound-o:before, -.fa-file-audio-o:before { - content: "\f1c7"; -} -.fa-file-movie-o:before, -.fa-file-video-o:before { - content: "\f1c8"; -} -.fa-file-code-o:before { - content: "\f1c9"; -} -.fa-vine:before { - content: "\f1ca"; -} -.fa-codepen:before { - content: "\f1cb"; -} -.fa-jsfiddle:before { - content: "\f1cc"; -} -.fa-life-bouy:before, -.fa-life-buoy:before, -.fa-life-saver:before, -.fa-support:before, -.fa-life-ring:before { - content: "\f1cd"; -} -.fa-circle-o-notch:before { - content: "\f1ce"; -} -.fa-ra:before, -.fa-resistance:before, -.fa-rebel:before { - content: "\f1d0"; -} -.fa-ge:before, -.fa-empire:before { - content: "\f1d1"; -} -.fa-git-square:before { - content: "\f1d2"; -} -.fa-git:before { - content: "\f1d3"; -} -.fa-y-combinator-square:before, -.fa-yc-square:before, -.fa-hacker-news:before { - content: "\f1d4"; -} -.fa-tencent-weibo:before { - content: "\f1d5"; -} -.fa-qq:before { - content: "\f1d6"; -} -.fa-wechat:before, -.fa-weixin:before { - content: "\f1d7"; -} -.fa-send:before, -.fa-paper-plane:before { - content: "\f1d8"; -} -.fa-send-o:before, -.fa-paper-plane-o:before { - content: "\f1d9"; -} -.fa-history:before { - content: "\f1da"; -} -.fa-circle-thin:before { - content: "\f1db"; -} -.fa-header:before { - content: "\f1dc"; -} -.fa-paragraph:before { - content: "\f1dd"; -} -.fa-sliders:before { - content: "\f1de"; -} -.fa-share-alt:before { - content: "\f1e0"; -} -.fa-share-alt-square:before { - content: "\f1e1"; -} -.fa-bomb:before { - content: "\f1e2"; -} -.fa-soccer-ball-o:before, -.fa-futbol-o:before { - content: "\f1e3"; -} -.fa-tty:before { - content: "\f1e4"; -} -.fa-binoculars:before { - content: "\f1e5"; -} -.fa-plug:before { - content: "\f1e6"; -} -.fa-slideshare:before { - content: "\f1e7"; -} -.fa-twitch:before { - content: "\f1e8"; -} -.fa-yelp:before { - content: "\f1e9"; -} -.fa-newspaper-o:before { - content: "\f1ea"; -} -.fa-wifi:before { - content: "\f1eb"; -} -.fa-calculator:before { - content: "\f1ec"; -} -.fa-paypal:before { - content: "\f1ed"; -} -.fa-google-wallet:before { - content: "\f1ee"; -} -.fa-cc-visa:before { - content: "\f1f0"; -} -.fa-cc-mastercard:before { - content: "\f1f1"; -} -.fa-cc-discover:before { - content: "\f1f2"; -} -.fa-cc-amex:before { - content: "\f1f3"; -} -.fa-cc-paypal:before { - content: "\f1f4"; -} -.fa-cc-stripe:before { - content: "\f1f5"; -} -.fa-bell-slash:before { - content: "\f1f6"; -} -.fa-bell-slash-o:before { - content: "\f1f7"; -} -.fa-trash:before { - content: "\f1f8"; -} -.fa-copyright:before { - content: "\f1f9"; -} -.fa-at:before { - content: "\f1fa"; -} -.fa-eyedropper:before { - content: "\f1fb"; -} -.fa-paint-brush:before { - content: "\f1fc"; -} -.fa-birthday-cake:before { - content: "\f1fd"; -} -.fa-area-chart:before { - content: "\f1fe"; -} -.fa-pie-chart:before { - content: "\f200"; -} -.fa-line-chart:before { - content: "\f201"; -} -.fa-lastfm:before { - content: "\f202"; -} -.fa-lastfm-square:before { - content: "\f203"; -} -.fa-toggle-off:before { - content: "\f204"; -} -.fa-toggle-on:before { - content: "\f205"; -} -.fa-bicycle:before { - content: "\f206"; -} -.fa-bus:before { - content: "\f207"; -} -.fa-ioxhost:before { - content: "\f208"; -} -.fa-angellist:before { - content: "\f209"; -} -.fa-cc:before { - content: "\f20a"; -} -.fa-shekel:before, -.fa-sheqel:before, -.fa-ils:before { - content: "\f20b"; -} -.fa-meanpath:before { - content: "\f20c"; -} -.fa-buysellads:before { - content: "\f20d"; -} -.fa-connectdevelop:before { - content: "\f20e"; -} -.fa-dashcube:before { - content: "\f210"; -} -.fa-forumbee:before { - content: "\f211"; -} -.fa-leanpub:before { - content: "\f212"; -} -.fa-sellsy:before { - content: "\f213"; -} -.fa-shirtsinbulk:before { - content: "\f214"; -} -.fa-simplybuilt:before { - content: "\f215"; -} -.fa-skyatlas:before { - content: "\f216"; -} -.fa-cart-plus:before { - content: "\f217"; -} -.fa-cart-arrow-down:before { - content: "\f218"; -} -.fa-diamond:before { - content: "\f219"; -} -.fa-ship:before { - content: "\f21a"; -} -.fa-user-secret:before { - content: "\f21b"; -} -.fa-motorcycle:before { - content: "\f21c"; -} -.fa-street-view:before { - content: "\f21d"; -} -.fa-heartbeat:before { - content: "\f21e"; -} -.fa-venus:before { - content: "\f221"; -} -.fa-mars:before { - content: "\f222"; -} -.fa-mercury:before { - content: "\f223"; -} -.fa-intersex:before, -.fa-transgender:before { - content: "\f224"; -} -.fa-transgender-alt:before { - content: "\f225"; -} -.fa-venus-double:before { - content: "\f226"; -} -.fa-mars-double:before { - content: "\f227"; -} -.fa-venus-mars:before { - content: "\f228"; -} -.fa-mars-stroke:before { - content: "\f229"; -} -.fa-mars-stroke-v:before { - content: "\f22a"; -} -.fa-mars-stroke-h:before { - content: "\f22b"; -} -.fa-neuter:before { - content: "\f22c"; -} -.fa-genderless:before { - content: "\f22d"; -} -.fa-facebook-official:before { - content: "\f230"; -} -.fa-pinterest-p:before { - content: "\f231"; -} -.fa-whatsapp:before { - content: "\f232"; -} -.fa-server:before { - content: "\f233"; -} -.fa-user-plus:before { - content: "\f234"; -} -.fa-user-times:before { - content: "\f235"; -} -.fa-hotel:before, -.fa-bed:before { - content: "\f236"; -} -.fa-viacoin:before { - content: "\f237"; -} -.fa-train:before { - content: "\f238"; -} -.fa-subway:before { - content: "\f239"; -} -.fa-medium:before { - content: "\f23a"; -} -.fa-yc:before, -.fa-y-combinator:before { - content: "\f23b"; -} -.fa-optin-monster:before { - content: "\f23c"; -} -.fa-opencart:before { - content: "\f23d"; -} -.fa-expeditedssl:before { - content: "\f23e"; -} -.fa-battery-4:before, -.fa-battery:before, -.fa-battery-full:before { - content: "\f240"; -} -.fa-battery-3:before, -.fa-battery-three-quarters:before { - content: "\f241"; -} -.fa-battery-2:before, -.fa-battery-half:before { - content: "\f242"; -} -.fa-battery-1:before, -.fa-battery-quarter:before { - content: "\f243"; -} -.fa-battery-0:before, -.fa-battery-empty:before { - content: "\f244"; -} -.fa-mouse-pointer:before { - content: "\f245"; -} -.fa-i-cursor:before { - content: "\f246"; -} -.fa-object-group:before { - content: "\f247"; -} -.fa-object-ungroup:before { - content: "\f248"; -} -.fa-sticky-note:before { - content: "\f249"; -} -.fa-sticky-note-o:before { - content: "\f24a"; -} -.fa-cc-jcb:before { - content: "\f24b"; -} -.fa-cc-diners-club:before { - content: "\f24c"; -} -.fa-clone:before { - content: "\f24d"; -} -.fa-balance-scale:before { - content: "\f24e"; -} -.fa-hourglass-o:before { - content: "\f250"; -} -.fa-hourglass-1:before, -.fa-hourglass-start:before { - content: "\f251"; -} -.fa-hourglass-2:before, -.fa-hourglass-half:before { - content: "\f252"; -} -.fa-hourglass-3:before, -.fa-hourglass-end:before { - content: "\f253"; -} -.fa-hourglass:before { - content: "\f254"; -} -.fa-hand-grab-o:before, -.fa-hand-rock-o:before { - content: "\f255"; -} -.fa-hand-stop-o:before, -.fa-hand-paper-o:before { - content: "\f256"; -} -.fa-hand-scissors-o:before { - content: "\f257"; -} -.fa-hand-lizard-o:before { - content: "\f258"; -} -.fa-hand-spock-o:before { - content: "\f259"; -} -.fa-hand-pointer-o:before { - content: "\f25a"; -} -.fa-hand-peace-o:before { - content: "\f25b"; -} -.fa-trademark:before { - content: "\f25c"; -} -.fa-registered:before { - content: "\f25d"; -} -.fa-creative-commons:before { - content: "\f25e"; -} -.fa-gg:before { - content: "\f260"; -} -.fa-gg-circle:before { - content: "\f261"; -} -.fa-tripadvisor:before { - content: "\f262"; -} -.fa-odnoklassniki:before { - content: "\f263"; -} -.fa-odnoklassniki-square:before { - content: "\f264"; -} -.fa-get-pocket:before { - content: "\f265"; -} -.fa-wikipedia-w:before { - content: "\f266"; -} -.fa-safari:before { - content: "\f267"; -} -.fa-chrome:before { - content: "\f268"; -} -.fa-firefox:before { - content: "\f269"; -} -.fa-opera:before { - content: "\f26a"; -} -.fa-internet-explorer:before { - content: "\f26b"; -} -.fa-tv:before, -.fa-television:before { - content: "\f26c"; -} -.fa-contao:before { - content: "\f26d"; -} -.fa-500px:before { - content: "\f26e"; -} -.fa-amazon:before { - content: "\f270"; -} -.fa-calendar-plus-o:before { - content: "\f271"; -} -.fa-calendar-minus-o:before { - content: "\f272"; -} -.fa-calendar-times-o:before { - content: "\f273"; -} -.fa-calendar-check-o:before { - content: "\f274"; -} -.fa-industry:before { - content: "\f275"; -} -.fa-map-pin:before { - content: "\f276"; -} -.fa-map-signs:before { - content: "\f277"; -} -.fa-map-o:before { - content: "\f278"; -} -.fa-map:before { - content: "\f279"; -} -.fa-commenting:before { - content: "\f27a"; -} -.fa-commenting-o:before { - content: "\f27b"; -} -.fa-houzz:before { - content: "\f27c"; -} -.fa-vimeo:before { - content: "\f27d"; -} -.fa-black-tie:before { - content: "\f27e"; -} -.fa-fonticons:before { - content: "\f280"; -} -.fa-reddit-alien:before { - content: "\f281"; -} -.fa-edge:before { - content: "\f282"; -} -.fa-credit-card-alt:before { - content: "\f283"; -} -.fa-codiepie:before { - content: "\f284"; -} -.fa-modx:before { - content: "\f285"; -} -.fa-fort-awesome:before { - content: "\f286"; -} -.fa-usb:before { - content: "\f287"; -} -.fa-product-hunt:before { - content: "\f288"; -} -.fa-mixcloud:before { - content: "\f289"; -} -.fa-scribd:before { - content: "\f28a"; -} -.fa-pause-circle:before { - content: "\f28b"; -} -.fa-pause-circle-o:before { - content: "\f28c"; -} -.fa-stop-circle:before { - content: "\f28d"; -} -.fa-stop-circle-o:before { - content: "\f28e"; -} -.fa-shopping-bag:before { - content: "\f290"; -} -.fa-shopping-basket:before { - content: "\f291"; -} -.fa-hashtag:before { - content: "\f292"; -} -.fa-bluetooth:before { - content: "\f293"; -} -.fa-bluetooth-b:before { - content: "\f294"; -} -.fa-percent:before { - content: "\f295"; -} -.fa-gitlab:before { - content: "\f296"; -} -.fa-wpbeginner:before { - content: "\f297"; -} -.fa-wpforms:before { - content: "\f298"; -} -.fa-envira:before { - content: "\f299"; -} -.fa-universal-access:before { - content: "\f29a"; -} -.fa-wheelchair-alt:before { - content: "\f29b"; -} -.fa-question-circle-o:before { - content: "\f29c"; -} -.fa-blind:before { - content: "\f29d"; -} -.fa-audio-description:before { - content: "\f29e"; -} -.fa-volume-control-phone:before { - content: "\f2a0"; -} -.fa-braille:before { - content: "\f2a1"; -} -.fa-assistive-listening-systems:before { - content: "\f2a2"; -} -.fa-asl-interpreting:before, -.fa-american-sign-language-interpreting:before { - content: "\f2a3"; -} -.fa-deafness:before, -.fa-hard-of-hearing:before, -.fa-deaf:before { - content: "\f2a4"; -} -.fa-glide:before { - content: "\f2a5"; -} -.fa-glide-g:before { - content: "\f2a6"; -} -.fa-signing:before, -.fa-sign-language:before { - content: "\f2a7"; -} -.fa-low-vision:before { - content: "\f2a8"; -} -.fa-viadeo:before { - content: "\f2a9"; -} -.fa-viadeo-square:before { - content: "\f2aa"; -} -.fa-snapchat:before { - content: "\f2ab"; -} -.fa-snapchat-ghost:before { - content: "\f2ac"; -} -.fa-snapchat-square:before { - content: "\f2ad"; -} -.fa-pied-piper:before { - content: "\f2ae"; -} -.fa-first-order:before { - content: "\f2b0"; -} -.fa-yoast:before { - content: "\f2b1"; -} -.fa-themeisle:before { - content: "\f2b2"; -} -.fa-google-plus-circle:before, -.fa-google-plus-official:before { - content: "\f2b3"; -} -.fa-fa:before, -.fa-font-awesome:before { - content: "\f2b4"; -} -.fa-handshake-o:before { - content: "\f2b5"; -} -.fa-envelope-open:before { - content: "\f2b6"; -} -.fa-envelope-open-o:before { - content: "\f2b7"; -} -.fa-linode:before { - content: "\f2b8"; -} -.fa-address-book:before { - content: "\f2b9"; -} -.fa-address-book-o:before { - content: "\f2ba"; -} -.fa-vcard:before, -.fa-address-card:before { - content: "\f2bb"; -} -.fa-vcard-o:before, -.fa-address-card-o:before { - content: "\f2bc"; -} -.fa-user-circle:before { - content: "\f2bd"; -} -.fa-user-circle-o:before { - content: "\f2be"; -} -.fa-user-o:before { - content: "\f2c0"; -} -.fa-id-badge:before { - content: "\f2c1"; -} -.fa-drivers-license:before, -.fa-id-card:before { - content: "\f2c2"; -} -.fa-drivers-license-o:before, -.fa-id-card-o:before { - content: "\f2c3"; -} -.fa-quora:before { - content: "\f2c4"; -} -.fa-free-code-camp:before { - content: "\f2c5"; -} -.fa-telegram:before { - content: "\f2c6"; -} -.fa-thermometer-4:before, -.fa-thermometer:before, -.fa-thermometer-full:before { - content: "\f2c7"; -} -.fa-thermometer-3:before, -.fa-thermometer-three-quarters:before { - content: "\f2c8"; -} -.fa-thermometer-2:before, -.fa-thermometer-half:before { - content: "\f2c9"; -} -.fa-thermometer-1:before, -.fa-thermometer-quarter:before { - content: "\f2ca"; -} -.fa-thermometer-0:before, -.fa-thermometer-empty:before { - content: "\f2cb"; -} -.fa-shower:before { - content: "\f2cc"; -} -.fa-bathtub:before, -.fa-s15:before, -.fa-bath:before { - content: "\f2cd"; -} -.fa-podcast:before { - content: "\f2ce"; -} -.fa-window-maximize:before { - content: "\f2d0"; -} -.fa-window-minimize:before { - content: "\f2d1"; -} -.fa-window-restore:before { - content: "\f2d2"; -} -.fa-times-rectangle:before, -.fa-window-close:before { - content: "\f2d3"; -} -.fa-times-rectangle-o:before, -.fa-window-close-o:before { - content: "\f2d4"; -} -.fa-bandcamp:before { - content: "\f2d5"; -} -.fa-grav:before { - content: "\f2d6"; -} -.fa-etsy:before { - content: "\f2d7"; -} -.fa-imdb:before { - content: "\f2d8"; -} -.fa-ravelry:before { - content: "\f2d9"; -} -.fa-eercast:before { - content: "\f2da"; -} -.fa-microchip:before { - content: "\f2db"; -} -.fa-snowflake-o:before { - content: "\f2dc"; -} -.fa-superpowers:before { - content: "\f2dd"; -} -.fa-wpexplorer:before { - content: "\f2de"; -} -.fa-meetup:before { - content: "\f2e0"; -} -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} -.sr-only-focusable:active, -.sr-only-focusable:focus { - position: static; - width: auto; - height: auto; - margin: 0; - overflow: visible; - clip: auto; -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/css/font-awesome.min.css b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/css/font-awesome.min.css deleted file mode 100644 index 540440c..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/css/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/FontAwesome.otf b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/FontAwesome.otf deleted file mode 100644 index 401ec0f..0000000 Binary files a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/FontAwesome.otf and /dev/null differ diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.eot b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.eot deleted file mode 100644 index e9f60ca..0000000 Binary files a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.svg b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.svg deleted file mode 100644 index 855c845..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.svg +++ /dev/null @@ -1,2671 +0,0 @@ - - - - -Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 - By ,,, -Copyright Dave Gandy 2016. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf deleted file mode 100644 index 35acda2..0000000 Binary files a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.woff b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.woff deleted file mode 100644 index 400014a..0000000 Binary files a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 deleted file mode 100644 index 4d13fc6..0000000 Binary files a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 and /dev/null differ diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/animated.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/animated.less deleted file mode 100644 index 66ad52a..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/animated.less +++ /dev/null @@ -1,34 +0,0 @@ -// Animated Icons -// -------------------------- - -.@{fa-css-prefix}-spin { - -webkit-animation: fa-spin 2s infinite linear; - animation: fa-spin 2s infinite linear; -} - -.@{fa-css-prefix}-pulse { - -webkit-animation: fa-spin 1s infinite steps(8); - animation: fa-spin 1s infinite steps(8); -} - -@-webkit-keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} - -@keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/bordered-pulled.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/bordered-pulled.less deleted file mode 100644 index f1c8ad7..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/bordered-pulled.less +++ /dev/null @@ -1,25 +0,0 @@ -// Bordered & Pulled -// ------------------------- - -.@{fa-css-prefix}-border { - padding: .2em .25em .15em; - border: solid .08em @fa-border-color; - border-radius: .1em; -} - -.@{fa-css-prefix}-pull-left { float: left; } -.@{fa-css-prefix}-pull-right { float: right; } - -.@{fa-css-prefix} { - &.@{fa-css-prefix}-pull-left { margin-right: .3em; } - &.@{fa-css-prefix}-pull-right { margin-left: .3em; } -} - -/* Deprecated as of 4.4.0 */ -.pull-right { float: right; } -.pull-left { float: left; } - -.@{fa-css-prefix} { - &.pull-left { margin-right: .3em; } - &.pull-right { margin-left: .3em; } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/core.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/core.less deleted file mode 100644 index c577ac8..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/core.less +++ /dev/null @@ -1,12 +0,0 @@ -// Base Class Definition -// ------------------------- - -.@{fa-css-prefix} { - display: inline-block; - font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration - font-size: inherit; // can't have font-size inherit on line above, so need to override - text-rendering: auto; // optimizelegibility throws things off #1094 - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/fixed-width.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/fixed-width.less deleted file mode 100644 index 110289f..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/fixed-width.less +++ /dev/null @@ -1,6 +0,0 @@ -// Fixed Width Icons -// ------------------------- -.@{fa-css-prefix}-fw { - width: (18em / 14); - text-align: center; -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/font-awesome.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/font-awesome.less deleted file mode 100644 index c3677de..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/font-awesome.less +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */ - -@import "variables.less"; -@import "mixins.less"; -@import "path.less"; -@import "core.less"; -@import "larger.less"; -@import "fixed-width.less"; -@import "list.less"; -@import "bordered-pulled.less"; -@import "animated.less"; -@import "rotated-flipped.less"; -@import "stacked.less"; -@import "icons.less"; -@import "screen-reader.less"; diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/icons.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/icons.less deleted file mode 100644 index 159d600..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/icons.less +++ /dev/null @@ -1,789 +0,0 @@ -/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen - readers do not read off random characters that represent icons */ - -.@{fa-css-prefix}-glass:before { content: @fa-var-glass; } -.@{fa-css-prefix}-music:before { content: @fa-var-music; } -.@{fa-css-prefix}-search:before { content: @fa-var-search; } -.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; } -.@{fa-css-prefix}-heart:before { content: @fa-var-heart; } -.@{fa-css-prefix}-star:before { content: @fa-var-star; } -.@{fa-css-prefix}-star-o:before { content: @fa-var-star-o; } -.@{fa-css-prefix}-user:before { content: @fa-var-user; } -.@{fa-css-prefix}-film:before { content: @fa-var-film; } -.@{fa-css-prefix}-th-large:before { content: @fa-var-th-large; } -.@{fa-css-prefix}-th:before { content: @fa-var-th; } -.@{fa-css-prefix}-th-list:before { content: @fa-var-th-list; } -.@{fa-css-prefix}-check:before { content: @fa-var-check; } -.@{fa-css-prefix}-remove:before, -.@{fa-css-prefix}-close:before, -.@{fa-css-prefix}-times:before { content: @fa-var-times; } -.@{fa-css-prefix}-search-plus:before { content: @fa-var-search-plus; } -.@{fa-css-prefix}-search-minus:before { content: @fa-var-search-minus; } -.@{fa-css-prefix}-power-off:before { content: @fa-var-power-off; } -.@{fa-css-prefix}-signal:before { content: @fa-var-signal; } -.@{fa-css-prefix}-gear:before, -.@{fa-css-prefix}-cog:before { content: @fa-var-cog; } -.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-o; } -.@{fa-css-prefix}-home:before { content: @fa-var-home; } -.@{fa-css-prefix}-file-o:before { content: @fa-var-file-o; } -.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock-o; } -.@{fa-css-prefix}-road:before { content: @fa-var-road; } -.@{fa-css-prefix}-download:before { content: @fa-var-download; } -.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-circle-o-down; } -.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-circle-o-up; } -.@{fa-css-prefix}-inbox:before { content: @fa-var-inbox; } -.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle-o; } -.@{fa-css-prefix}-rotate-right:before, -.@{fa-css-prefix}-repeat:before { content: @fa-var-repeat; } -.@{fa-css-prefix}-refresh:before { content: @fa-var-refresh; } -.@{fa-css-prefix}-list-alt:before { content: @fa-var-list-alt; } -.@{fa-css-prefix}-lock:before { content: @fa-var-lock; } -.@{fa-css-prefix}-flag:before { content: @fa-var-flag; } -.@{fa-css-prefix}-headphones:before { content: @fa-var-headphones; } -.@{fa-css-prefix}-volume-off:before { content: @fa-var-volume-off; } -.@{fa-css-prefix}-volume-down:before { content: @fa-var-volume-down; } -.@{fa-css-prefix}-volume-up:before { content: @fa-var-volume-up; } -.@{fa-css-prefix}-qrcode:before { content: @fa-var-qrcode; } -.@{fa-css-prefix}-barcode:before { content: @fa-var-barcode; } -.@{fa-css-prefix}-tag:before { content: @fa-var-tag; } -.@{fa-css-prefix}-tags:before { content: @fa-var-tags; } -.@{fa-css-prefix}-book:before { content: @fa-var-book; } -.@{fa-css-prefix}-bookmark:before { content: @fa-var-bookmark; } -.@{fa-css-prefix}-print:before { content: @fa-var-print; } -.@{fa-css-prefix}-camera:before { content: @fa-var-camera; } -.@{fa-css-prefix}-font:before { content: @fa-var-font; } -.@{fa-css-prefix}-bold:before { content: @fa-var-bold; } -.@{fa-css-prefix}-italic:before { content: @fa-var-italic; } -.@{fa-css-prefix}-text-height:before { content: @fa-var-text-height; } -.@{fa-css-prefix}-text-width:before { content: @fa-var-text-width; } -.@{fa-css-prefix}-align-left:before { content: @fa-var-align-left; } -.@{fa-css-prefix}-align-center:before { content: @fa-var-align-center; } -.@{fa-css-prefix}-align-right:before { content: @fa-var-align-right; } -.@{fa-css-prefix}-align-justify:before { content: @fa-var-align-justify; } -.@{fa-css-prefix}-list:before { content: @fa-var-list; } -.@{fa-css-prefix}-dedent:before, -.@{fa-css-prefix}-outdent:before { content: @fa-var-outdent; } -.@{fa-css-prefix}-indent:before { content: @fa-var-indent; } -.@{fa-css-prefix}-video-camera:before { content: @fa-var-video-camera; } -.@{fa-css-prefix}-photo:before, -.@{fa-css-prefix}-image:before, -.@{fa-css-prefix}-picture-o:before { content: @fa-var-picture-o; } -.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil; } -.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker; } -.@{fa-css-prefix}-adjust:before { content: @fa-var-adjust; } -.@{fa-css-prefix}-tint:before { content: @fa-var-tint; } -.@{fa-css-prefix}-edit:before, -.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-pencil-square-o; } -.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square-o; } -.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square-o; } -.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows; } -.@{fa-css-prefix}-step-backward:before { content: @fa-var-step-backward; } -.@{fa-css-prefix}-fast-backward:before { content: @fa-var-fast-backward; } -.@{fa-css-prefix}-backward:before { content: @fa-var-backward; } -.@{fa-css-prefix}-play:before { content: @fa-var-play; } -.@{fa-css-prefix}-pause:before { content: @fa-var-pause; } -.@{fa-css-prefix}-stop:before { content: @fa-var-stop; } -.@{fa-css-prefix}-forward:before { content: @fa-var-forward; } -.@{fa-css-prefix}-fast-forward:before { content: @fa-var-fast-forward; } -.@{fa-css-prefix}-step-forward:before { content: @fa-var-step-forward; } -.@{fa-css-prefix}-eject:before { content: @fa-var-eject; } -.@{fa-css-prefix}-chevron-left:before { content: @fa-var-chevron-left; } -.@{fa-css-prefix}-chevron-right:before { content: @fa-var-chevron-right; } -.@{fa-css-prefix}-plus-circle:before { content: @fa-var-plus-circle; } -.@{fa-css-prefix}-minus-circle:before { content: @fa-var-minus-circle; } -.@{fa-css-prefix}-times-circle:before { content: @fa-var-times-circle; } -.@{fa-css-prefix}-check-circle:before { content: @fa-var-check-circle; } -.@{fa-css-prefix}-question-circle:before { content: @fa-var-question-circle; } -.@{fa-css-prefix}-info-circle:before { content: @fa-var-info-circle; } -.@{fa-css-prefix}-crosshairs:before { content: @fa-var-crosshairs; } -.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle-o; } -.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle-o; } -.@{fa-css-prefix}-ban:before { content: @fa-var-ban; } -.@{fa-css-prefix}-arrow-left:before { content: @fa-var-arrow-left; } -.@{fa-css-prefix}-arrow-right:before { content: @fa-var-arrow-right; } -.@{fa-css-prefix}-arrow-up:before { content: @fa-var-arrow-up; } -.@{fa-css-prefix}-arrow-down:before { content: @fa-var-arrow-down; } -.@{fa-css-prefix}-mail-forward:before, -.@{fa-css-prefix}-share:before { content: @fa-var-share; } -.@{fa-css-prefix}-expand:before { content: @fa-var-expand; } -.@{fa-css-prefix}-compress:before { content: @fa-var-compress; } -.@{fa-css-prefix}-plus:before { content: @fa-var-plus; } -.@{fa-css-prefix}-minus:before { content: @fa-var-minus; } -.@{fa-css-prefix}-asterisk:before { content: @fa-var-asterisk; } -.@{fa-css-prefix}-exclamation-circle:before { content: @fa-var-exclamation-circle; } -.@{fa-css-prefix}-gift:before { content: @fa-var-gift; } -.@{fa-css-prefix}-leaf:before { content: @fa-var-leaf; } -.@{fa-css-prefix}-fire:before { content: @fa-var-fire; } -.@{fa-css-prefix}-eye:before { content: @fa-var-eye; } -.@{fa-css-prefix}-eye-slash:before { content: @fa-var-eye-slash; } -.@{fa-css-prefix}-warning:before, -.@{fa-css-prefix}-exclamation-triangle:before { content: @fa-var-exclamation-triangle; } -.@{fa-css-prefix}-plane:before { content: @fa-var-plane; } -.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar; } -.@{fa-css-prefix}-random:before { content: @fa-var-random; } -.@{fa-css-prefix}-comment:before { content: @fa-var-comment; } -.@{fa-css-prefix}-magnet:before { content: @fa-var-magnet; } -.@{fa-css-prefix}-chevron-up:before { content: @fa-var-chevron-up; } -.@{fa-css-prefix}-chevron-down:before { content: @fa-var-chevron-down; } -.@{fa-css-prefix}-retweet:before { content: @fa-var-retweet; } -.@{fa-css-prefix}-shopping-cart:before { content: @fa-var-shopping-cart; } -.@{fa-css-prefix}-folder:before { content: @fa-var-folder; } -.@{fa-css-prefix}-folder-open:before { content: @fa-var-folder-open; } -.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-v; } -.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-h; } -.@{fa-css-prefix}-bar-chart-o:before, -.@{fa-css-prefix}-bar-chart:before { content: @fa-var-bar-chart; } -.@{fa-css-prefix}-twitter-square:before { content: @fa-var-twitter-square; } -.@{fa-css-prefix}-facebook-square:before { content: @fa-var-facebook-square; } -.@{fa-css-prefix}-camera-retro:before { content: @fa-var-camera-retro; } -.@{fa-css-prefix}-key:before { content: @fa-var-key; } -.@{fa-css-prefix}-gears:before, -.@{fa-css-prefix}-cogs:before { content: @fa-var-cogs; } -.@{fa-css-prefix}-comments:before { content: @fa-var-comments; } -.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-o-up; } -.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-o-down; } -.@{fa-css-prefix}-star-half:before { content: @fa-var-star-half; } -.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart-o; } -.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out; } -.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin-square; } -.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumb-tack; } -.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link; } -.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in; } -.@{fa-css-prefix}-trophy:before { content: @fa-var-trophy; } -.@{fa-css-prefix}-github-square:before { content: @fa-var-github-square; } -.@{fa-css-prefix}-upload:before { content: @fa-var-upload; } -.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon-o; } -.@{fa-css-prefix}-phone:before { content: @fa-var-phone; } -.@{fa-css-prefix}-square-o:before { content: @fa-var-square-o; } -.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark-o; } -.@{fa-css-prefix}-phone-square:before { content: @fa-var-phone-square; } -.@{fa-css-prefix}-twitter:before { content: @fa-var-twitter; } -.@{fa-css-prefix}-facebook-f:before, -.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook; } -.@{fa-css-prefix}-github:before { content: @fa-var-github; } -.@{fa-css-prefix}-unlock:before { content: @fa-var-unlock; } -.@{fa-css-prefix}-credit-card:before { content: @fa-var-credit-card; } -.@{fa-css-prefix}-feed:before, -.@{fa-css-prefix}-rss:before { content: @fa-var-rss; } -.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd-o; } -.@{fa-css-prefix}-bullhorn:before { content: @fa-var-bullhorn; } -.@{fa-css-prefix}-bell:before { content: @fa-var-bell; } -.@{fa-css-prefix}-certificate:before { content: @fa-var-certificate; } -.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-o-right; } -.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-o-left; } -.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-o-up; } -.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-o-down; } -.@{fa-css-prefix}-arrow-circle-left:before { content: @fa-var-arrow-circle-left; } -.@{fa-css-prefix}-arrow-circle-right:before { content: @fa-var-arrow-circle-right; } -.@{fa-css-prefix}-arrow-circle-up:before { content: @fa-var-arrow-circle-up; } -.@{fa-css-prefix}-arrow-circle-down:before { content: @fa-var-arrow-circle-down; } -.@{fa-css-prefix}-globe:before { content: @fa-var-globe; } -.@{fa-css-prefix}-wrench:before { content: @fa-var-wrench; } -.@{fa-css-prefix}-tasks:before { content: @fa-var-tasks; } -.@{fa-css-prefix}-filter:before { content: @fa-var-filter; } -.@{fa-css-prefix}-briefcase:before { content: @fa-var-briefcase; } -.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-arrows-alt; } -.@{fa-css-prefix}-group:before, -.@{fa-css-prefix}-users:before { content: @fa-var-users; } -.@{fa-css-prefix}-chain:before, -.@{fa-css-prefix}-link:before { content: @fa-var-link; } -.@{fa-css-prefix}-cloud:before { content: @fa-var-cloud; } -.@{fa-css-prefix}-flask:before { content: @fa-var-flask; } -.@{fa-css-prefix}-cut:before, -.@{fa-css-prefix}-scissors:before { content: @fa-var-scissors; } -.@{fa-css-prefix}-copy:before, -.@{fa-css-prefix}-files-o:before { content: @fa-var-files-o; } -.@{fa-css-prefix}-paperclip:before { content: @fa-var-paperclip; } -.@{fa-css-prefix}-save:before, -.@{fa-css-prefix}-floppy-o:before { content: @fa-var-floppy-o; } -.@{fa-css-prefix}-square:before { content: @fa-var-square; } -.@{fa-css-prefix}-navicon:before, -.@{fa-css-prefix}-reorder:before, -.@{fa-css-prefix}-bars:before { content: @fa-var-bars; } -.@{fa-css-prefix}-list-ul:before { content: @fa-var-list-ul; } -.@{fa-css-prefix}-list-ol:before { content: @fa-var-list-ol; } -.@{fa-css-prefix}-strikethrough:before { content: @fa-var-strikethrough; } -.@{fa-css-prefix}-underline:before { content: @fa-var-underline; } -.@{fa-css-prefix}-table:before { content: @fa-var-table; } -.@{fa-css-prefix}-magic:before { content: @fa-var-magic; } -.@{fa-css-prefix}-truck:before { content: @fa-var-truck; } -.@{fa-css-prefix}-pinterest:before { content: @fa-var-pinterest; } -.@{fa-css-prefix}-pinterest-square:before { content: @fa-var-pinterest-square; } -.@{fa-css-prefix}-google-plus-square:before { content: @fa-var-google-plus-square; } -.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus; } -.@{fa-css-prefix}-money:before { content: @fa-var-money; } -.@{fa-css-prefix}-caret-down:before { content: @fa-var-caret-down; } -.@{fa-css-prefix}-caret-up:before { content: @fa-var-caret-up; } -.@{fa-css-prefix}-caret-left:before { content: @fa-var-caret-left; } -.@{fa-css-prefix}-caret-right:before { content: @fa-var-caret-right; } -.@{fa-css-prefix}-columns:before { content: @fa-var-columns; } -.@{fa-css-prefix}-unsorted:before, -.@{fa-css-prefix}-sort:before { content: @fa-var-sort; } -.@{fa-css-prefix}-sort-down:before, -.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-desc; } -.@{fa-css-prefix}-sort-up:before, -.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-asc; } -.@{fa-css-prefix}-envelope:before { content: @fa-var-envelope; } -.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin; } -.@{fa-css-prefix}-rotate-left:before, -.@{fa-css-prefix}-undo:before { content: @fa-var-undo; } -.@{fa-css-prefix}-legal:before, -.@{fa-css-prefix}-gavel:before { content: @fa-var-gavel; } -.@{fa-css-prefix}-dashboard:before, -.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer; } -.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment-o; } -.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments-o; } -.@{fa-css-prefix}-flash:before, -.@{fa-css-prefix}-bolt:before { content: @fa-var-bolt; } -.@{fa-css-prefix}-sitemap:before { content: @fa-var-sitemap; } -.@{fa-css-prefix}-umbrella:before { content: @fa-var-umbrella; } -.@{fa-css-prefix}-paste:before, -.@{fa-css-prefix}-clipboard:before { content: @fa-var-clipboard; } -.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb-o; } -.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange; } -.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download; } -.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload; } -.@{fa-css-prefix}-user-md:before { content: @fa-var-user-md; } -.@{fa-css-prefix}-stethoscope:before { content: @fa-var-stethoscope; } -.@{fa-css-prefix}-suitcase:before { content: @fa-var-suitcase; } -.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell-o; } -.@{fa-css-prefix}-coffee:before { content: @fa-var-coffee; } -.@{fa-css-prefix}-cutlery:before { content: @fa-var-cutlery; } -.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-text-o; } -.@{fa-css-prefix}-building-o:before { content: @fa-var-building-o; } -.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital-o; } -.@{fa-css-prefix}-ambulance:before { content: @fa-var-ambulance; } -.@{fa-css-prefix}-medkit:before { content: @fa-var-medkit; } -.@{fa-css-prefix}-fighter-jet:before { content: @fa-var-fighter-jet; } -.@{fa-css-prefix}-beer:before { content: @fa-var-beer; } -.@{fa-css-prefix}-h-square:before { content: @fa-var-h-square; } -.@{fa-css-prefix}-plus-square:before { content: @fa-var-plus-square; } -.@{fa-css-prefix}-angle-double-left:before { content: @fa-var-angle-double-left; } -.@{fa-css-prefix}-angle-double-right:before { content: @fa-var-angle-double-right; } -.@{fa-css-prefix}-angle-double-up:before { content: @fa-var-angle-double-up; } -.@{fa-css-prefix}-angle-double-down:before { content: @fa-var-angle-double-down; } -.@{fa-css-prefix}-angle-left:before { content: @fa-var-angle-left; } -.@{fa-css-prefix}-angle-right:before { content: @fa-var-angle-right; } -.@{fa-css-prefix}-angle-up:before { content: @fa-var-angle-up; } -.@{fa-css-prefix}-angle-down:before { content: @fa-var-angle-down; } -.@{fa-css-prefix}-desktop:before { content: @fa-var-desktop; } -.@{fa-css-prefix}-laptop:before { content: @fa-var-laptop; } -.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet; } -.@{fa-css-prefix}-mobile-phone:before, -.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile; } -.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle-o; } -.@{fa-css-prefix}-quote-left:before { content: @fa-var-quote-left; } -.@{fa-css-prefix}-quote-right:before { content: @fa-var-quote-right; } -.@{fa-css-prefix}-spinner:before { content: @fa-var-spinner; } -.@{fa-css-prefix}-circle:before { content: @fa-var-circle; } -.@{fa-css-prefix}-mail-reply:before, -.@{fa-css-prefix}-reply:before { content: @fa-var-reply; } -.@{fa-css-prefix}-github-alt:before { content: @fa-var-github-alt; } -.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder-o; } -.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open-o; } -.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile-o; } -.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown-o; } -.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh-o; } -.@{fa-css-prefix}-gamepad:before { content: @fa-var-gamepad; } -.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard-o; } -.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag-o; } -.@{fa-css-prefix}-flag-checkered:before { content: @fa-var-flag-checkered; } -.@{fa-css-prefix}-terminal:before { content: @fa-var-terminal; } -.@{fa-css-prefix}-code:before { content: @fa-var-code; } -.@{fa-css-prefix}-mail-reply-all:before, -.@{fa-css-prefix}-reply-all:before { content: @fa-var-reply-all; } -.@{fa-css-prefix}-star-half-empty:before, -.@{fa-css-prefix}-star-half-full:before, -.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half-o; } -.@{fa-css-prefix}-location-arrow:before { content: @fa-var-location-arrow; } -.@{fa-css-prefix}-crop:before { content: @fa-var-crop; } -.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-fork; } -.@{fa-css-prefix}-unlink:before, -.@{fa-css-prefix}-chain-broken:before { content: @fa-var-chain-broken; } -.@{fa-css-prefix}-question:before { content: @fa-var-question; } -.@{fa-css-prefix}-info:before { content: @fa-var-info; } -.@{fa-css-prefix}-exclamation:before { content: @fa-var-exclamation; } -.@{fa-css-prefix}-superscript:before { content: @fa-var-superscript; } -.@{fa-css-prefix}-subscript:before { content: @fa-var-subscript; } -.@{fa-css-prefix}-eraser:before { content: @fa-var-eraser; } -.@{fa-css-prefix}-puzzle-piece:before { content: @fa-var-puzzle-piece; } -.@{fa-css-prefix}-microphone:before { content: @fa-var-microphone; } -.@{fa-css-prefix}-microphone-slash:before { content: @fa-var-microphone-slash; } -.@{fa-css-prefix}-shield:before { content: @fa-var-shield; } -.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar-o; } -.@{fa-css-prefix}-fire-extinguisher:before { content: @fa-var-fire-extinguisher; } -.@{fa-css-prefix}-rocket:before { content: @fa-var-rocket; } -.@{fa-css-prefix}-maxcdn:before { content: @fa-var-maxcdn; } -.@{fa-css-prefix}-chevron-circle-left:before { content: @fa-var-chevron-circle-left; } -.@{fa-css-prefix}-chevron-circle-right:before { content: @fa-var-chevron-circle-right; } -.@{fa-css-prefix}-chevron-circle-up:before { content: @fa-var-chevron-circle-up; } -.@{fa-css-prefix}-chevron-circle-down:before { content: @fa-var-chevron-circle-down; } -.@{fa-css-prefix}-html5:before { content: @fa-var-html5; } -.@{fa-css-prefix}-css3:before { content: @fa-var-css3; } -.@{fa-css-prefix}-anchor:before { content: @fa-var-anchor; } -.@{fa-css-prefix}-unlock-alt:before { content: @fa-var-unlock-alt; } -.@{fa-css-prefix}-bullseye:before { content: @fa-var-bullseye; } -.@{fa-css-prefix}-ellipsis-h:before { content: @fa-var-ellipsis-h; } -.@{fa-css-prefix}-ellipsis-v:before { content: @fa-var-ellipsis-v; } -.@{fa-css-prefix}-rss-square:before { content: @fa-var-rss-square; } -.@{fa-css-prefix}-play-circle:before { content: @fa-var-play-circle; } -.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket; } -.@{fa-css-prefix}-minus-square:before { content: @fa-var-minus-square; } -.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square-o; } -.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up; } -.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down; } -.@{fa-css-prefix}-check-square:before { content: @fa-var-check-square; } -.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pencil-square; } -.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square; } -.@{fa-css-prefix}-share-square:before { content: @fa-var-share-square; } -.@{fa-css-prefix}-compass:before { content: @fa-var-compass; } -.@{fa-css-prefix}-toggle-down:before, -.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-o-down; } -.@{fa-css-prefix}-toggle-up:before, -.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-o-up; } -.@{fa-css-prefix}-toggle-right:before, -.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-o-right; } -.@{fa-css-prefix}-euro:before, -.@{fa-css-prefix}-eur:before { content: @fa-var-eur; } -.@{fa-css-prefix}-gbp:before { content: @fa-var-gbp; } -.@{fa-css-prefix}-dollar:before, -.@{fa-css-prefix}-usd:before { content: @fa-var-usd; } -.@{fa-css-prefix}-rupee:before, -.@{fa-css-prefix}-inr:before { content: @fa-var-inr; } -.@{fa-css-prefix}-cny:before, -.@{fa-css-prefix}-rmb:before, -.@{fa-css-prefix}-yen:before, -.@{fa-css-prefix}-jpy:before { content: @fa-var-jpy; } -.@{fa-css-prefix}-ruble:before, -.@{fa-css-prefix}-rouble:before, -.@{fa-css-prefix}-rub:before { content: @fa-var-rub; } -.@{fa-css-prefix}-won:before, -.@{fa-css-prefix}-krw:before { content: @fa-var-krw; } -.@{fa-css-prefix}-bitcoin:before, -.@{fa-css-prefix}-btc:before { content: @fa-var-btc; } -.@{fa-css-prefix}-file:before { content: @fa-var-file; } -.@{fa-css-prefix}-file-text:before { content: @fa-var-file-text; } -.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-asc; } -.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-desc; } -.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; } -.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; } -.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-asc; } -.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-desc; } -.@{fa-css-prefix}-thumbs-up:before { content: @fa-var-thumbs-up; } -.@{fa-css-prefix}-thumbs-down:before { content: @fa-var-thumbs-down; } -.@{fa-css-prefix}-youtube-square:before { content: @fa-var-youtube-square; } -.@{fa-css-prefix}-youtube:before { content: @fa-var-youtube; } -.@{fa-css-prefix}-xing:before { content: @fa-var-xing; } -.@{fa-css-prefix}-xing-square:before { content: @fa-var-xing-square; } -.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube-play; } -.@{fa-css-prefix}-dropbox:before { content: @fa-var-dropbox; } -.@{fa-css-prefix}-stack-overflow:before { content: @fa-var-stack-overflow; } -.@{fa-css-prefix}-instagram:before { content: @fa-var-instagram; } -.@{fa-css-prefix}-flickr:before { content: @fa-var-flickr; } -.@{fa-css-prefix}-adn:before { content: @fa-var-adn; } -.@{fa-css-prefix}-bitbucket:before { content: @fa-var-bitbucket; } -.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket-square; } -.@{fa-css-prefix}-tumblr:before { content: @fa-var-tumblr; } -.@{fa-css-prefix}-tumblr-square:before { content: @fa-var-tumblr-square; } -.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-down; } -.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-up; } -.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-left; } -.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-right; } -.@{fa-css-prefix}-apple:before { content: @fa-var-apple; } -.@{fa-css-prefix}-windows:before { content: @fa-var-windows; } -.@{fa-css-prefix}-android:before { content: @fa-var-android; } -.@{fa-css-prefix}-linux:before { content: @fa-var-linux; } -.@{fa-css-prefix}-dribbble:before { content: @fa-var-dribbble; } -.@{fa-css-prefix}-skype:before { content: @fa-var-skype; } -.@{fa-css-prefix}-foursquare:before { content: @fa-var-foursquare; } -.@{fa-css-prefix}-trello:before { content: @fa-var-trello; } -.@{fa-css-prefix}-female:before { content: @fa-var-female; } -.@{fa-css-prefix}-male:before { content: @fa-var-male; } -.@{fa-css-prefix}-gittip:before, -.@{fa-css-prefix}-gratipay:before { content: @fa-var-gratipay; } -.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun-o; } -.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon-o; } -.@{fa-css-prefix}-archive:before { content: @fa-var-archive; } -.@{fa-css-prefix}-bug:before { content: @fa-var-bug; } -.@{fa-css-prefix}-vk:before { content: @fa-var-vk; } -.@{fa-css-prefix}-weibo:before { content: @fa-var-weibo; } -.@{fa-css-prefix}-renren:before { content: @fa-var-renren; } -.@{fa-css-prefix}-pagelines:before { content: @fa-var-pagelines; } -.@{fa-css-prefix}-stack-exchange:before { content: @fa-var-stack-exchange; } -.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-circle-o-right; } -.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-circle-o-left; } -.@{fa-css-prefix}-toggle-left:before, -.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-o-left; } -.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle-o; } -.@{fa-css-prefix}-wheelchair:before { content: @fa-var-wheelchair; } -.@{fa-css-prefix}-vimeo-square:before { content: @fa-var-vimeo-square; } -.@{fa-css-prefix}-turkish-lira:before, -.@{fa-css-prefix}-try:before { content: @fa-var-try; } -.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square-o; } -.@{fa-css-prefix}-space-shuttle:before { content: @fa-var-space-shuttle; } -.@{fa-css-prefix}-slack:before { content: @fa-var-slack; } -.@{fa-css-prefix}-envelope-square:before { content: @fa-var-envelope-square; } -.@{fa-css-prefix}-wordpress:before { content: @fa-var-wordpress; } -.@{fa-css-prefix}-openid:before { content: @fa-var-openid; } -.@{fa-css-prefix}-institution:before, -.@{fa-css-prefix}-bank:before, -.@{fa-css-prefix}-university:before { content: @fa-var-university; } -.@{fa-css-prefix}-mortar-board:before, -.@{fa-css-prefix}-graduation-cap:before { content: @fa-var-graduation-cap; } -.@{fa-css-prefix}-yahoo:before { content: @fa-var-yahoo; } -.@{fa-css-prefix}-google:before { content: @fa-var-google; } -.@{fa-css-prefix}-reddit:before { content: @fa-var-reddit; } -.@{fa-css-prefix}-reddit-square:before { content: @fa-var-reddit-square; } -.@{fa-css-prefix}-stumbleupon-circle:before { content: @fa-var-stumbleupon-circle; } -.@{fa-css-prefix}-stumbleupon:before { content: @fa-var-stumbleupon; } -.@{fa-css-prefix}-delicious:before { content: @fa-var-delicious; } -.@{fa-css-prefix}-digg:before { content: @fa-var-digg; } -.@{fa-css-prefix}-pied-piper-pp:before { content: @fa-var-pied-piper-pp; } -.@{fa-css-prefix}-pied-piper-alt:before { content: @fa-var-pied-piper-alt; } -.@{fa-css-prefix}-drupal:before { content: @fa-var-drupal; } -.@{fa-css-prefix}-joomla:before { content: @fa-var-joomla; } -.@{fa-css-prefix}-language:before { content: @fa-var-language; } -.@{fa-css-prefix}-fax:before { content: @fa-var-fax; } -.@{fa-css-prefix}-building:before { content: @fa-var-building; } -.@{fa-css-prefix}-child:before { content: @fa-var-child; } -.@{fa-css-prefix}-paw:before { content: @fa-var-paw; } -.@{fa-css-prefix}-spoon:before { content: @fa-var-spoon; } -.@{fa-css-prefix}-cube:before { content: @fa-var-cube; } -.@{fa-css-prefix}-cubes:before { content: @fa-var-cubes; } -.@{fa-css-prefix}-behance:before { content: @fa-var-behance; } -.@{fa-css-prefix}-behance-square:before { content: @fa-var-behance-square; } -.@{fa-css-prefix}-steam:before { content: @fa-var-steam; } -.@{fa-css-prefix}-steam-square:before { content: @fa-var-steam-square; } -.@{fa-css-prefix}-recycle:before { content: @fa-var-recycle; } -.@{fa-css-prefix}-automobile:before, -.@{fa-css-prefix}-car:before { content: @fa-var-car; } -.@{fa-css-prefix}-cab:before, -.@{fa-css-prefix}-taxi:before { content: @fa-var-taxi; } -.@{fa-css-prefix}-tree:before { content: @fa-var-tree; } -.@{fa-css-prefix}-spotify:before { content: @fa-var-spotify; } -.@{fa-css-prefix}-deviantart:before { content: @fa-var-deviantart; } -.@{fa-css-prefix}-soundcloud:before { content: @fa-var-soundcloud; } -.@{fa-css-prefix}-database:before { content: @fa-var-database; } -.@{fa-css-prefix}-file-pdf-o:before { content: @fa-var-file-pdf-o; } -.@{fa-css-prefix}-file-word-o:before { content: @fa-var-file-word-o; } -.@{fa-css-prefix}-file-excel-o:before { content: @fa-var-file-excel-o; } -.@{fa-css-prefix}-file-powerpoint-o:before { content: @fa-var-file-powerpoint-o; } -.@{fa-css-prefix}-file-photo-o:before, -.@{fa-css-prefix}-file-picture-o:before, -.@{fa-css-prefix}-file-image-o:before { content: @fa-var-file-image-o; } -.@{fa-css-prefix}-file-zip-o:before, -.@{fa-css-prefix}-file-archive-o:before { content: @fa-var-file-archive-o; } -.@{fa-css-prefix}-file-sound-o:before, -.@{fa-css-prefix}-file-audio-o:before { content: @fa-var-file-audio-o; } -.@{fa-css-prefix}-file-movie-o:before, -.@{fa-css-prefix}-file-video-o:before { content: @fa-var-file-video-o; } -.@{fa-css-prefix}-file-code-o:before { content: @fa-var-file-code-o; } -.@{fa-css-prefix}-vine:before { content: @fa-var-vine; } -.@{fa-css-prefix}-codepen:before { content: @fa-var-codepen; } -.@{fa-css-prefix}-jsfiddle:before { content: @fa-var-jsfiddle; } -.@{fa-css-prefix}-life-bouy:before, -.@{fa-css-prefix}-life-buoy:before, -.@{fa-css-prefix}-life-saver:before, -.@{fa-css-prefix}-support:before, -.@{fa-css-prefix}-life-ring:before { content: @fa-var-life-ring; } -.@{fa-css-prefix}-circle-o-notch:before { content: @fa-var-circle-o-notch; } -.@{fa-css-prefix}-ra:before, -.@{fa-css-prefix}-resistance:before, -.@{fa-css-prefix}-rebel:before { content: @fa-var-rebel; } -.@{fa-css-prefix}-ge:before, -.@{fa-css-prefix}-empire:before { content: @fa-var-empire; } -.@{fa-css-prefix}-git-square:before { content: @fa-var-git-square; } -.@{fa-css-prefix}-git:before { content: @fa-var-git; } -.@{fa-css-prefix}-y-combinator-square:before, -.@{fa-css-prefix}-yc-square:before, -.@{fa-css-prefix}-hacker-news:before { content: @fa-var-hacker-news; } -.@{fa-css-prefix}-tencent-weibo:before { content: @fa-var-tencent-weibo; } -.@{fa-css-prefix}-qq:before { content: @fa-var-qq; } -.@{fa-css-prefix}-wechat:before, -.@{fa-css-prefix}-weixin:before { content: @fa-var-weixin; } -.@{fa-css-prefix}-send:before, -.@{fa-css-prefix}-paper-plane:before { content: @fa-var-paper-plane; } -.@{fa-css-prefix}-send-o:before, -.@{fa-css-prefix}-paper-plane-o:before { content: @fa-var-paper-plane-o; } -.@{fa-css-prefix}-history:before { content: @fa-var-history; } -.@{fa-css-prefix}-circle-thin:before { content: @fa-var-circle-thin; } -.@{fa-css-prefix}-header:before { content: @fa-var-header; } -.@{fa-css-prefix}-paragraph:before { content: @fa-var-paragraph; } -.@{fa-css-prefix}-sliders:before { content: @fa-var-sliders; } -.@{fa-css-prefix}-share-alt:before { content: @fa-var-share-alt; } -.@{fa-css-prefix}-share-alt-square:before { content: @fa-var-share-alt-square; } -.@{fa-css-prefix}-bomb:before { content: @fa-var-bomb; } -.@{fa-css-prefix}-soccer-ball-o:before, -.@{fa-css-prefix}-futbol-o:before { content: @fa-var-futbol-o; } -.@{fa-css-prefix}-tty:before { content: @fa-var-tty; } -.@{fa-css-prefix}-binoculars:before { content: @fa-var-binoculars; } -.@{fa-css-prefix}-plug:before { content: @fa-var-plug; } -.@{fa-css-prefix}-slideshare:before { content: @fa-var-slideshare; } -.@{fa-css-prefix}-twitch:before { content: @fa-var-twitch; } -.@{fa-css-prefix}-yelp:before { content: @fa-var-yelp; } -.@{fa-css-prefix}-newspaper-o:before { content: @fa-var-newspaper-o; } -.@{fa-css-prefix}-wifi:before { content: @fa-var-wifi; } -.@{fa-css-prefix}-calculator:before { content: @fa-var-calculator; } -.@{fa-css-prefix}-paypal:before { content: @fa-var-paypal; } -.@{fa-css-prefix}-google-wallet:before { content: @fa-var-google-wallet; } -.@{fa-css-prefix}-cc-visa:before { content: @fa-var-cc-visa; } -.@{fa-css-prefix}-cc-mastercard:before { content: @fa-var-cc-mastercard; } -.@{fa-css-prefix}-cc-discover:before { content: @fa-var-cc-discover; } -.@{fa-css-prefix}-cc-amex:before { content: @fa-var-cc-amex; } -.@{fa-css-prefix}-cc-paypal:before { content: @fa-var-cc-paypal; } -.@{fa-css-prefix}-cc-stripe:before { content: @fa-var-cc-stripe; } -.@{fa-css-prefix}-bell-slash:before { content: @fa-var-bell-slash; } -.@{fa-css-prefix}-bell-slash-o:before { content: @fa-var-bell-slash-o; } -.@{fa-css-prefix}-trash:before { content: @fa-var-trash; } -.@{fa-css-prefix}-copyright:before { content: @fa-var-copyright; } -.@{fa-css-prefix}-at:before { content: @fa-var-at; } -.@{fa-css-prefix}-eyedropper:before { content: @fa-var-eyedropper; } -.@{fa-css-prefix}-paint-brush:before { content: @fa-var-paint-brush; } -.@{fa-css-prefix}-birthday-cake:before { content: @fa-var-birthday-cake; } -.@{fa-css-prefix}-area-chart:before { content: @fa-var-area-chart; } -.@{fa-css-prefix}-pie-chart:before { content: @fa-var-pie-chart; } -.@{fa-css-prefix}-line-chart:before { content: @fa-var-line-chart; } -.@{fa-css-prefix}-lastfm:before { content: @fa-var-lastfm; } -.@{fa-css-prefix}-lastfm-square:before { content: @fa-var-lastfm-square; } -.@{fa-css-prefix}-toggle-off:before { content: @fa-var-toggle-off; } -.@{fa-css-prefix}-toggle-on:before { content: @fa-var-toggle-on; } -.@{fa-css-prefix}-bicycle:before { content: @fa-var-bicycle; } -.@{fa-css-prefix}-bus:before { content: @fa-var-bus; } -.@{fa-css-prefix}-ioxhost:before { content: @fa-var-ioxhost; } -.@{fa-css-prefix}-angellist:before { content: @fa-var-angellist; } -.@{fa-css-prefix}-cc:before { content: @fa-var-cc; } -.@{fa-css-prefix}-shekel:before, -.@{fa-css-prefix}-sheqel:before, -.@{fa-css-prefix}-ils:before { content: @fa-var-ils; } -.@{fa-css-prefix}-meanpath:before { content: @fa-var-meanpath; } -.@{fa-css-prefix}-buysellads:before { content: @fa-var-buysellads; } -.@{fa-css-prefix}-connectdevelop:before { content: @fa-var-connectdevelop; } -.@{fa-css-prefix}-dashcube:before { content: @fa-var-dashcube; } -.@{fa-css-prefix}-forumbee:before { content: @fa-var-forumbee; } -.@{fa-css-prefix}-leanpub:before { content: @fa-var-leanpub; } -.@{fa-css-prefix}-sellsy:before { content: @fa-var-sellsy; } -.@{fa-css-prefix}-shirtsinbulk:before { content: @fa-var-shirtsinbulk; } -.@{fa-css-prefix}-simplybuilt:before { content: @fa-var-simplybuilt; } -.@{fa-css-prefix}-skyatlas:before { content: @fa-var-skyatlas; } -.@{fa-css-prefix}-cart-plus:before { content: @fa-var-cart-plus; } -.@{fa-css-prefix}-cart-arrow-down:before { content: @fa-var-cart-arrow-down; } -.@{fa-css-prefix}-diamond:before { content: @fa-var-diamond; } -.@{fa-css-prefix}-ship:before { content: @fa-var-ship; } -.@{fa-css-prefix}-user-secret:before { content: @fa-var-user-secret; } -.@{fa-css-prefix}-motorcycle:before { content: @fa-var-motorcycle; } -.@{fa-css-prefix}-street-view:before { content: @fa-var-street-view; } -.@{fa-css-prefix}-heartbeat:before { content: @fa-var-heartbeat; } -.@{fa-css-prefix}-venus:before { content: @fa-var-venus; } -.@{fa-css-prefix}-mars:before { content: @fa-var-mars; } -.@{fa-css-prefix}-mercury:before { content: @fa-var-mercury; } -.@{fa-css-prefix}-intersex:before, -.@{fa-css-prefix}-transgender:before { content: @fa-var-transgender; } -.@{fa-css-prefix}-transgender-alt:before { content: @fa-var-transgender-alt; } -.@{fa-css-prefix}-venus-double:before { content: @fa-var-venus-double; } -.@{fa-css-prefix}-mars-double:before { content: @fa-var-mars-double; } -.@{fa-css-prefix}-venus-mars:before { content: @fa-var-venus-mars; } -.@{fa-css-prefix}-mars-stroke:before { content: @fa-var-mars-stroke; } -.@{fa-css-prefix}-mars-stroke-v:before { content: @fa-var-mars-stroke-v; } -.@{fa-css-prefix}-mars-stroke-h:before { content: @fa-var-mars-stroke-h; } -.@{fa-css-prefix}-neuter:before { content: @fa-var-neuter; } -.@{fa-css-prefix}-genderless:before { content: @fa-var-genderless; } -.@{fa-css-prefix}-facebook-official:before { content: @fa-var-facebook-official; } -.@{fa-css-prefix}-pinterest-p:before { content: @fa-var-pinterest-p; } -.@{fa-css-prefix}-whatsapp:before { content: @fa-var-whatsapp; } -.@{fa-css-prefix}-server:before { content: @fa-var-server; } -.@{fa-css-prefix}-user-plus:before { content: @fa-var-user-plus; } -.@{fa-css-prefix}-user-times:before { content: @fa-var-user-times; } -.@{fa-css-prefix}-hotel:before, -.@{fa-css-prefix}-bed:before { content: @fa-var-bed; } -.@{fa-css-prefix}-viacoin:before { content: @fa-var-viacoin; } -.@{fa-css-prefix}-train:before { content: @fa-var-train; } -.@{fa-css-prefix}-subway:before { content: @fa-var-subway; } -.@{fa-css-prefix}-medium:before { content: @fa-var-medium; } -.@{fa-css-prefix}-yc:before, -.@{fa-css-prefix}-y-combinator:before { content: @fa-var-y-combinator; } -.@{fa-css-prefix}-optin-monster:before { content: @fa-var-optin-monster; } -.@{fa-css-prefix}-opencart:before { content: @fa-var-opencart; } -.@{fa-css-prefix}-expeditedssl:before { content: @fa-var-expeditedssl; } -.@{fa-css-prefix}-battery-4:before, -.@{fa-css-prefix}-battery:before, -.@{fa-css-prefix}-battery-full:before { content: @fa-var-battery-full; } -.@{fa-css-prefix}-battery-3:before, -.@{fa-css-prefix}-battery-three-quarters:before { content: @fa-var-battery-three-quarters; } -.@{fa-css-prefix}-battery-2:before, -.@{fa-css-prefix}-battery-half:before { content: @fa-var-battery-half; } -.@{fa-css-prefix}-battery-1:before, -.@{fa-css-prefix}-battery-quarter:before { content: @fa-var-battery-quarter; } -.@{fa-css-prefix}-battery-0:before, -.@{fa-css-prefix}-battery-empty:before { content: @fa-var-battery-empty; } -.@{fa-css-prefix}-mouse-pointer:before { content: @fa-var-mouse-pointer; } -.@{fa-css-prefix}-i-cursor:before { content: @fa-var-i-cursor; } -.@{fa-css-prefix}-object-group:before { content: @fa-var-object-group; } -.@{fa-css-prefix}-object-ungroup:before { content: @fa-var-object-ungroup; } -.@{fa-css-prefix}-sticky-note:before { content: @fa-var-sticky-note; } -.@{fa-css-prefix}-sticky-note-o:before { content: @fa-var-sticky-note-o; } -.@{fa-css-prefix}-cc-jcb:before { content: @fa-var-cc-jcb; } -.@{fa-css-prefix}-cc-diners-club:before { content: @fa-var-cc-diners-club; } -.@{fa-css-prefix}-clone:before { content: @fa-var-clone; } -.@{fa-css-prefix}-balance-scale:before { content: @fa-var-balance-scale; } -.@{fa-css-prefix}-hourglass-o:before { content: @fa-var-hourglass-o; } -.@{fa-css-prefix}-hourglass-1:before, -.@{fa-css-prefix}-hourglass-start:before { content: @fa-var-hourglass-start; } -.@{fa-css-prefix}-hourglass-2:before, -.@{fa-css-prefix}-hourglass-half:before { content: @fa-var-hourglass-half; } -.@{fa-css-prefix}-hourglass-3:before, -.@{fa-css-prefix}-hourglass-end:before { content: @fa-var-hourglass-end; } -.@{fa-css-prefix}-hourglass:before { content: @fa-var-hourglass; } -.@{fa-css-prefix}-hand-grab-o:before, -.@{fa-css-prefix}-hand-rock-o:before { content: @fa-var-hand-rock-o; } -.@{fa-css-prefix}-hand-stop-o:before, -.@{fa-css-prefix}-hand-paper-o:before { content: @fa-var-hand-paper-o; } -.@{fa-css-prefix}-hand-scissors-o:before { content: @fa-var-hand-scissors-o; } -.@{fa-css-prefix}-hand-lizard-o:before { content: @fa-var-hand-lizard-o; } -.@{fa-css-prefix}-hand-spock-o:before { content: @fa-var-hand-spock-o; } -.@{fa-css-prefix}-hand-pointer-o:before { content: @fa-var-hand-pointer-o; } -.@{fa-css-prefix}-hand-peace-o:before { content: @fa-var-hand-peace-o; } -.@{fa-css-prefix}-trademark:before { content: @fa-var-trademark; } -.@{fa-css-prefix}-registered:before { content: @fa-var-registered; } -.@{fa-css-prefix}-creative-commons:before { content: @fa-var-creative-commons; } -.@{fa-css-prefix}-gg:before { content: @fa-var-gg; } -.@{fa-css-prefix}-gg-circle:before { content: @fa-var-gg-circle; } -.@{fa-css-prefix}-tripadvisor:before { content: @fa-var-tripadvisor; } -.@{fa-css-prefix}-odnoklassniki:before { content: @fa-var-odnoklassniki; } -.@{fa-css-prefix}-odnoklassniki-square:before { content: @fa-var-odnoklassniki-square; } -.@{fa-css-prefix}-get-pocket:before { content: @fa-var-get-pocket; } -.@{fa-css-prefix}-wikipedia-w:before { content: @fa-var-wikipedia-w; } -.@{fa-css-prefix}-safari:before { content: @fa-var-safari; } -.@{fa-css-prefix}-chrome:before { content: @fa-var-chrome; } -.@{fa-css-prefix}-firefox:before { content: @fa-var-firefox; } -.@{fa-css-prefix}-opera:before { content: @fa-var-opera; } -.@{fa-css-prefix}-internet-explorer:before { content: @fa-var-internet-explorer; } -.@{fa-css-prefix}-tv:before, -.@{fa-css-prefix}-television:before { content: @fa-var-television; } -.@{fa-css-prefix}-contao:before { content: @fa-var-contao; } -.@{fa-css-prefix}-500px:before { content: @fa-var-500px; } -.@{fa-css-prefix}-amazon:before { content: @fa-var-amazon; } -.@{fa-css-prefix}-calendar-plus-o:before { content: @fa-var-calendar-plus-o; } -.@{fa-css-prefix}-calendar-minus-o:before { content: @fa-var-calendar-minus-o; } -.@{fa-css-prefix}-calendar-times-o:before { content: @fa-var-calendar-times-o; } -.@{fa-css-prefix}-calendar-check-o:before { content: @fa-var-calendar-check-o; } -.@{fa-css-prefix}-industry:before { content: @fa-var-industry; } -.@{fa-css-prefix}-map-pin:before { content: @fa-var-map-pin; } -.@{fa-css-prefix}-map-signs:before { content: @fa-var-map-signs; } -.@{fa-css-prefix}-map-o:before { content: @fa-var-map-o; } -.@{fa-css-prefix}-map:before { content: @fa-var-map; } -.@{fa-css-prefix}-commenting:before { content: @fa-var-commenting; } -.@{fa-css-prefix}-commenting-o:before { content: @fa-var-commenting-o; } -.@{fa-css-prefix}-houzz:before { content: @fa-var-houzz; } -.@{fa-css-prefix}-vimeo:before { content: @fa-var-vimeo; } -.@{fa-css-prefix}-black-tie:before { content: @fa-var-black-tie; } -.@{fa-css-prefix}-fonticons:before { content: @fa-var-fonticons; } -.@{fa-css-prefix}-reddit-alien:before { content: @fa-var-reddit-alien; } -.@{fa-css-prefix}-edge:before { content: @fa-var-edge; } -.@{fa-css-prefix}-credit-card-alt:before { content: @fa-var-credit-card-alt; } -.@{fa-css-prefix}-codiepie:before { content: @fa-var-codiepie; } -.@{fa-css-prefix}-modx:before { content: @fa-var-modx; } -.@{fa-css-prefix}-fort-awesome:before { content: @fa-var-fort-awesome; } -.@{fa-css-prefix}-usb:before { content: @fa-var-usb; } -.@{fa-css-prefix}-product-hunt:before { content: @fa-var-product-hunt; } -.@{fa-css-prefix}-mixcloud:before { content: @fa-var-mixcloud; } -.@{fa-css-prefix}-scribd:before { content: @fa-var-scribd; } -.@{fa-css-prefix}-pause-circle:before { content: @fa-var-pause-circle; } -.@{fa-css-prefix}-pause-circle-o:before { content: @fa-var-pause-circle-o; } -.@{fa-css-prefix}-stop-circle:before { content: @fa-var-stop-circle; } -.@{fa-css-prefix}-stop-circle-o:before { content: @fa-var-stop-circle-o; } -.@{fa-css-prefix}-shopping-bag:before { content: @fa-var-shopping-bag; } -.@{fa-css-prefix}-shopping-basket:before { content: @fa-var-shopping-basket; } -.@{fa-css-prefix}-hashtag:before { content: @fa-var-hashtag; } -.@{fa-css-prefix}-bluetooth:before { content: @fa-var-bluetooth; } -.@{fa-css-prefix}-bluetooth-b:before { content: @fa-var-bluetooth-b; } -.@{fa-css-prefix}-percent:before { content: @fa-var-percent; } -.@{fa-css-prefix}-gitlab:before { content: @fa-var-gitlab; } -.@{fa-css-prefix}-wpbeginner:before { content: @fa-var-wpbeginner; } -.@{fa-css-prefix}-wpforms:before { content: @fa-var-wpforms; } -.@{fa-css-prefix}-envira:before { content: @fa-var-envira; } -.@{fa-css-prefix}-universal-access:before { content: @fa-var-universal-access; } -.@{fa-css-prefix}-wheelchair-alt:before { content: @fa-var-wheelchair-alt; } -.@{fa-css-prefix}-question-circle-o:before { content: @fa-var-question-circle-o; } -.@{fa-css-prefix}-blind:before { content: @fa-var-blind; } -.@{fa-css-prefix}-audio-description:before { content: @fa-var-audio-description; } -.@{fa-css-prefix}-volume-control-phone:before { content: @fa-var-volume-control-phone; } -.@{fa-css-prefix}-braille:before { content: @fa-var-braille; } -.@{fa-css-prefix}-assistive-listening-systems:before { content: @fa-var-assistive-listening-systems; } -.@{fa-css-prefix}-asl-interpreting:before, -.@{fa-css-prefix}-american-sign-language-interpreting:before { content: @fa-var-american-sign-language-interpreting; } -.@{fa-css-prefix}-deafness:before, -.@{fa-css-prefix}-hard-of-hearing:before, -.@{fa-css-prefix}-deaf:before { content: @fa-var-deaf; } -.@{fa-css-prefix}-glide:before { content: @fa-var-glide; } -.@{fa-css-prefix}-glide-g:before { content: @fa-var-glide-g; } -.@{fa-css-prefix}-signing:before, -.@{fa-css-prefix}-sign-language:before { content: @fa-var-sign-language; } -.@{fa-css-prefix}-low-vision:before { content: @fa-var-low-vision; } -.@{fa-css-prefix}-viadeo:before { content: @fa-var-viadeo; } -.@{fa-css-prefix}-viadeo-square:before { content: @fa-var-viadeo-square; } -.@{fa-css-prefix}-snapchat:before { content: @fa-var-snapchat; } -.@{fa-css-prefix}-snapchat-ghost:before { content: @fa-var-snapchat-ghost; } -.@{fa-css-prefix}-snapchat-square:before { content: @fa-var-snapchat-square; } -.@{fa-css-prefix}-pied-piper:before { content: @fa-var-pied-piper; } -.@{fa-css-prefix}-first-order:before { content: @fa-var-first-order; } -.@{fa-css-prefix}-yoast:before { content: @fa-var-yoast; } -.@{fa-css-prefix}-themeisle:before { content: @fa-var-themeisle; } -.@{fa-css-prefix}-google-plus-circle:before, -.@{fa-css-prefix}-google-plus-official:before { content: @fa-var-google-plus-official; } -.@{fa-css-prefix}-fa:before, -.@{fa-css-prefix}-font-awesome:before { content: @fa-var-font-awesome; } -.@{fa-css-prefix}-handshake-o:before { content: @fa-var-handshake-o; } -.@{fa-css-prefix}-envelope-open:before { content: @fa-var-envelope-open; } -.@{fa-css-prefix}-envelope-open-o:before { content: @fa-var-envelope-open-o; } -.@{fa-css-prefix}-linode:before { content: @fa-var-linode; } -.@{fa-css-prefix}-address-book:before { content: @fa-var-address-book; } -.@{fa-css-prefix}-address-book-o:before { content: @fa-var-address-book-o; } -.@{fa-css-prefix}-vcard:before, -.@{fa-css-prefix}-address-card:before { content: @fa-var-address-card; } -.@{fa-css-prefix}-vcard-o:before, -.@{fa-css-prefix}-address-card-o:before { content: @fa-var-address-card-o; } -.@{fa-css-prefix}-user-circle:before { content: @fa-var-user-circle; } -.@{fa-css-prefix}-user-circle-o:before { content: @fa-var-user-circle-o; } -.@{fa-css-prefix}-user-o:before { content: @fa-var-user-o; } -.@{fa-css-prefix}-id-badge:before { content: @fa-var-id-badge; } -.@{fa-css-prefix}-drivers-license:before, -.@{fa-css-prefix}-id-card:before { content: @fa-var-id-card; } -.@{fa-css-prefix}-drivers-license-o:before, -.@{fa-css-prefix}-id-card-o:before { content: @fa-var-id-card-o; } -.@{fa-css-prefix}-quora:before { content: @fa-var-quora; } -.@{fa-css-prefix}-free-code-camp:before { content: @fa-var-free-code-camp; } -.@{fa-css-prefix}-telegram:before { content: @fa-var-telegram; } -.@{fa-css-prefix}-thermometer-4:before, -.@{fa-css-prefix}-thermometer:before, -.@{fa-css-prefix}-thermometer-full:before { content: @fa-var-thermometer-full; } -.@{fa-css-prefix}-thermometer-3:before, -.@{fa-css-prefix}-thermometer-three-quarters:before { content: @fa-var-thermometer-three-quarters; } -.@{fa-css-prefix}-thermometer-2:before, -.@{fa-css-prefix}-thermometer-half:before { content: @fa-var-thermometer-half; } -.@{fa-css-prefix}-thermometer-1:before, -.@{fa-css-prefix}-thermometer-quarter:before { content: @fa-var-thermometer-quarter; } -.@{fa-css-prefix}-thermometer-0:before, -.@{fa-css-prefix}-thermometer-empty:before { content: @fa-var-thermometer-empty; } -.@{fa-css-prefix}-shower:before { content: @fa-var-shower; } -.@{fa-css-prefix}-bathtub:before, -.@{fa-css-prefix}-s15:before, -.@{fa-css-prefix}-bath:before { content: @fa-var-bath; } -.@{fa-css-prefix}-podcast:before { content: @fa-var-podcast; } -.@{fa-css-prefix}-window-maximize:before { content: @fa-var-window-maximize; } -.@{fa-css-prefix}-window-minimize:before { content: @fa-var-window-minimize; } -.@{fa-css-prefix}-window-restore:before { content: @fa-var-window-restore; } -.@{fa-css-prefix}-times-rectangle:before, -.@{fa-css-prefix}-window-close:before { content: @fa-var-window-close; } -.@{fa-css-prefix}-times-rectangle-o:before, -.@{fa-css-prefix}-window-close-o:before { content: @fa-var-window-close-o; } -.@{fa-css-prefix}-bandcamp:before { content: @fa-var-bandcamp; } -.@{fa-css-prefix}-grav:before { content: @fa-var-grav; } -.@{fa-css-prefix}-etsy:before { content: @fa-var-etsy; } -.@{fa-css-prefix}-imdb:before { content: @fa-var-imdb; } -.@{fa-css-prefix}-ravelry:before { content: @fa-var-ravelry; } -.@{fa-css-prefix}-eercast:before { content: @fa-var-eercast; } -.@{fa-css-prefix}-microchip:before { content: @fa-var-microchip; } -.@{fa-css-prefix}-snowflake-o:before { content: @fa-var-snowflake-o; } -.@{fa-css-prefix}-superpowers:before { content: @fa-var-superpowers; } -.@{fa-css-prefix}-wpexplorer:before { content: @fa-var-wpexplorer; } -.@{fa-css-prefix}-meetup:before { content: @fa-var-meetup; } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/larger.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/larger.less deleted file mode 100644 index c9d6467..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/larger.less +++ /dev/null @@ -1,13 +0,0 @@ -// Icon Sizes -// ------------------------- - -/* makes the font 33% larger relative to the icon container */ -.@{fa-css-prefix}-lg { - font-size: (4em / 3); - line-height: (3em / 4); - vertical-align: -15%; -} -.@{fa-css-prefix}-2x { font-size: 2em; } -.@{fa-css-prefix}-3x { font-size: 3em; } -.@{fa-css-prefix}-4x { font-size: 4em; } -.@{fa-css-prefix}-5x { font-size: 5em; } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/list.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/list.less deleted file mode 100644 index 0b44038..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/list.less +++ /dev/null @@ -1,19 +0,0 @@ -// List Icons -// ------------------------- - -.@{fa-css-prefix}-ul { - padding-left: 0; - margin-left: @fa-li-width; - list-style-type: none; - > li { position: relative; } -} -.@{fa-css-prefix}-li { - position: absolute; - left: -@fa-li-width; - width: @fa-li-width; - top: (2em / 14); - text-align: center; - &.@{fa-css-prefix}-lg { - left: (-@fa-li-width + (4em / 14)); - } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/mixins.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/mixins.less deleted file mode 100644 index beef231..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/mixins.less +++ /dev/null @@ -1,60 +0,0 @@ -// Mixins -// -------------------------- - -.fa-icon() { - display: inline-block; - font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration - font-size: inherit; // can't have font-size inherit on line above, so need to override - text-rendering: auto; // optimizelegibility throws things off #1094 - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -} - -.fa-icon-rotate(@degrees, @rotation) { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})"; - -webkit-transform: rotate(@degrees); - -ms-transform: rotate(@degrees); - transform: rotate(@degrees); -} - -.fa-icon-flip(@horiz, @vert, @rotation) { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)"; - -webkit-transform: scale(@horiz, @vert); - -ms-transform: scale(@horiz, @vert); - transform: scale(@horiz, @vert); -} - - -// Only display content to screen readers. A la Bootstrap 4. -// -// See: http://a11yproject.com/posts/how-to-hide-content/ - -.sr-only() { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0,0,0,0); - border: 0; -} - -// Use in conjunction with .sr-only to only display content when it's focused. -// -// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 -// -// Credit: HTML5 Boilerplate - -.sr-only-focusable() { - &:active, - &:focus { - position: static; - width: auto; - height: auto; - margin: 0; - overflow: visible; - clip: auto; - } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/path.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/path.less deleted file mode 100644 index 835be41..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/path.less +++ /dev/null @@ -1,15 +0,0 @@ -/* FONT PATH - * -------------------------- */ - -@font-face { - font-family: 'FontAwesome'; - src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); - src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), - url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), - url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), - url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), - url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); - // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts - font-weight: normal; - font-style: normal; -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/rotated-flipped.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/rotated-flipped.less deleted file mode 100644 index f6ba814..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/rotated-flipped.less +++ /dev/null @@ -1,20 +0,0 @@ -// Rotated & Flipped Icons -// ------------------------- - -.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } -.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } -.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } - -.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); } -.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); } - -// Hook for IE8-9 -// ------------------------- - -:root .@{fa-css-prefix}-rotate-90, -:root .@{fa-css-prefix}-rotate-180, -:root .@{fa-css-prefix}-rotate-270, -:root .@{fa-css-prefix}-flip-horizontal, -:root .@{fa-css-prefix}-flip-vertical { - filter: none; -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/screen-reader.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/screen-reader.less deleted file mode 100644 index 11c1881..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/screen-reader.less +++ /dev/null @@ -1,5 +0,0 @@ -// Screen Readers -// ------------------------- - -.sr-only { .sr-only(); } -.sr-only-focusable { .sr-only-focusable(); } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/stacked.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/stacked.less deleted file mode 100644 index fc53fb0..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/stacked.less +++ /dev/null @@ -1,20 +0,0 @@ -// Stacked Icons -// ------------------------- - -.@{fa-css-prefix}-stack { - position: relative; - display: inline-block; - width: 2em; - height: 2em; - line-height: 2em; - vertical-align: middle; -} -.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { - position: absolute; - left: 0; - width: 100%; - text-align: center; -} -.@{fa-css-prefix}-stack-1x { line-height: inherit; } -.@{fa-css-prefix}-stack-2x { font-size: 2em; } -.@{fa-css-prefix}-inverse { color: @fa-inverse; } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/variables.less b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/variables.less deleted file mode 100644 index 7ddbbc0..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/less/variables.less +++ /dev/null @@ -1,800 +0,0 @@ -// Variables -// -------------------------- - -@fa-font-path: "../fonts"; -@fa-font-size-base: 14px; -@fa-line-height-base: 1; -//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts"; // for referencing Bootstrap CDN font files directly -@fa-css-prefix: fa; -@fa-version: "4.7.0"; -@fa-border-color: #eee; -@fa-inverse: #fff; -@fa-li-width: (30em / 14); - -@fa-var-500px: "\f26e"; -@fa-var-address-book: "\f2b9"; -@fa-var-address-book-o: "\f2ba"; -@fa-var-address-card: "\f2bb"; -@fa-var-address-card-o: "\f2bc"; -@fa-var-adjust: "\f042"; -@fa-var-adn: "\f170"; -@fa-var-align-center: "\f037"; -@fa-var-align-justify: "\f039"; -@fa-var-align-left: "\f036"; -@fa-var-align-right: "\f038"; -@fa-var-amazon: "\f270"; -@fa-var-ambulance: "\f0f9"; -@fa-var-american-sign-language-interpreting: "\f2a3"; -@fa-var-anchor: "\f13d"; -@fa-var-android: "\f17b"; -@fa-var-angellist: "\f209"; -@fa-var-angle-double-down: "\f103"; -@fa-var-angle-double-left: "\f100"; -@fa-var-angle-double-right: "\f101"; -@fa-var-angle-double-up: "\f102"; -@fa-var-angle-down: "\f107"; -@fa-var-angle-left: "\f104"; -@fa-var-angle-right: "\f105"; -@fa-var-angle-up: "\f106"; -@fa-var-apple: "\f179"; -@fa-var-archive: "\f187"; -@fa-var-area-chart: "\f1fe"; -@fa-var-arrow-circle-down: "\f0ab"; -@fa-var-arrow-circle-left: "\f0a8"; -@fa-var-arrow-circle-o-down: "\f01a"; -@fa-var-arrow-circle-o-left: "\f190"; -@fa-var-arrow-circle-o-right: "\f18e"; -@fa-var-arrow-circle-o-up: "\f01b"; -@fa-var-arrow-circle-right: "\f0a9"; -@fa-var-arrow-circle-up: "\f0aa"; -@fa-var-arrow-down: "\f063"; -@fa-var-arrow-left: "\f060"; -@fa-var-arrow-right: "\f061"; -@fa-var-arrow-up: "\f062"; -@fa-var-arrows: "\f047"; -@fa-var-arrows-alt: "\f0b2"; -@fa-var-arrows-h: "\f07e"; -@fa-var-arrows-v: "\f07d"; -@fa-var-asl-interpreting: "\f2a3"; -@fa-var-assistive-listening-systems: "\f2a2"; -@fa-var-asterisk: "\f069"; -@fa-var-at: "\f1fa"; -@fa-var-audio-description: "\f29e"; -@fa-var-automobile: "\f1b9"; -@fa-var-backward: "\f04a"; -@fa-var-balance-scale: "\f24e"; -@fa-var-ban: "\f05e"; -@fa-var-bandcamp: "\f2d5"; -@fa-var-bank: "\f19c"; -@fa-var-bar-chart: "\f080"; -@fa-var-bar-chart-o: "\f080"; -@fa-var-barcode: "\f02a"; -@fa-var-bars: "\f0c9"; -@fa-var-bath: "\f2cd"; -@fa-var-bathtub: "\f2cd"; -@fa-var-battery: "\f240"; -@fa-var-battery-0: "\f244"; -@fa-var-battery-1: "\f243"; -@fa-var-battery-2: "\f242"; -@fa-var-battery-3: "\f241"; -@fa-var-battery-4: "\f240"; -@fa-var-battery-empty: "\f244"; -@fa-var-battery-full: "\f240"; -@fa-var-battery-half: "\f242"; -@fa-var-battery-quarter: "\f243"; -@fa-var-battery-three-quarters: "\f241"; -@fa-var-bed: "\f236"; -@fa-var-beer: "\f0fc"; -@fa-var-behance: "\f1b4"; -@fa-var-behance-square: "\f1b5"; -@fa-var-bell: "\f0f3"; -@fa-var-bell-o: "\f0a2"; -@fa-var-bell-slash: "\f1f6"; -@fa-var-bell-slash-o: "\f1f7"; -@fa-var-bicycle: "\f206"; -@fa-var-binoculars: "\f1e5"; -@fa-var-birthday-cake: "\f1fd"; -@fa-var-bitbucket: "\f171"; -@fa-var-bitbucket-square: "\f172"; -@fa-var-bitcoin: "\f15a"; -@fa-var-black-tie: "\f27e"; -@fa-var-blind: "\f29d"; -@fa-var-bluetooth: "\f293"; -@fa-var-bluetooth-b: "\f294"; -@fa-var-bold: "\f032"; -@fa-var-bolt: "\f0e7"; -@fa-var-bomb: "\f1e2"; -@fa-var-book: "\f02d"; -@fa-var-bookmark: "\f02e"; -@fa-var-bookmark-o: "\f097"; -@fa-var-braille: "\f2a1"; -@fa-var-briefcase: "\f0b1"; -@fa-var-btc: "\f15a"; -@fa-var-bug: "\f188"; -@fa-var-building: "\f1ad"; -@fa-var-building-o: "\f0f7"; -@fa-var-bullhorn: "\f0a1"; -@fa-var-bullseye: "\f140"; -@fa-var-bus: "\f207"; -@fa-var-buysellads: "\f20d"; -@fa-var-cab: "\f1ba"; -@fa-var-calculator: "\f1ec"; -@fa-var-calendar: "\f073"; -@fa-var-calendar-check-o: "\f274"; -@fa-var-calendar-minus-o: "\f272"; -@fa-var-calendar-o: "\f133"; -@fa-var-calendar-plus-o: "\f271"; -@fa-var-calendar-times-o: "\f273"; -@fa-var-camera: "\f030"; -@fa-var-camera-retro: "\f083"; -@fa-var-car: "\f1b9"; -@fa-var-caret-down: "\f0d7"; -@fa-var-caret-left: "\f0d9"; -@fa-var-caret-right: "\f0da"; -@fa-var-caret-square-o-down: "\f150"; -@fa-var-caret-square-o-left: "\f191"; -@fa-var-caret-square-o-right: "\f152"; -@fa-var-caret-square-o-up: "\f151"; -@fa-var-caret-up: "\f0d8"; -@fa-var-cart-arrow-down: "\f218"; -@fa-var-cart-plus: "\f217"; -@fa-var-cc: "\f20a"; -@fa-var-cc-amex: "\f1f3"; -@fa-var-cc-diners-club: "\f24c"; -@fa-var-cc-discover: "\f1f2"; -@fa-var-cc-jcb: "\f24b"; -@fa-var-cc-mastercard: "\f1f1"; -@fa-var-cc-paypal: "\f1f4"; -@fa-var-cc-stripe: "\f1f5"; -@fa-var-cc-visa: "\f1f0"; -@fa-var-certificate: "\f0a3"; -@fa-var-chain: "\f0c1"; -@fa-var-chain-broken: "\f127"; -@fa-var-check: "\f00c"; -@fa-var-check-circle: "\f058"; -@fa-var-check-circle-o: "\f05d"; -@fa-var-check-square: "\f14a"; -@fa-var-check-square-o: "\f046"; -@fa-var-chevron-circle-down: "\f13a"; -@fa-var-chevron-circle-left: "\f137"; -@fa-var-chevron-circle-right: "\f138"; -@fa-var-chevron-circle-up: "\f139"; -@fa-var-chevron-down: "\f078"; -@fa-var-chevron-left: "\f053"; -@fa-var-chevron-right: "\f054"; -@fa-var-chevron-up: "\f077"; -@fa-var-child: "\f1ae"; -@fa-var-chrome: "\f268"; -@fa-var-circle: "\f111"; -@fa-var-circle-o: "\f10c"; -@fa-var-circle-o-notch: "\f1ce"; -@fa-var-circle-thin: "\f1db"; -@fa-var-clipboard: "\f0ea"; -@fa-var-clock-o: "\f017"; -@fa-var-clone: "\f24d"; -@fa-var-close: "\f00d"; -@fa-var-cloud: "\f0c2"; -@fa-var-cloud-download: "\f0ed"; -@fa-var-cloud-upload: "\f0ee"; -@fa-var-cny: "\f157"; -@fa-var-code: "\f121"; -@fa-var-code-fork: "\f126"; -@fa-var-codepen: "\f1cb"; -@fa-var-codiepie: "\f284"; -@fa-var-coffee: "\f0f4"; -@fa-var-cog: "\f013"; -@fa-var-cogs: "\f085"; -@fa-var-columns: "\f0db"; -@fa-var-comment: "\f075"; -@fa-var-comment-o: "\f0e5"; -@fa-var-commenting: "\f27a"; -@fa-var-commenting-o: "\f27b"; -@fa-var-comments: "\f086"; -@fa-var-comments-o: "\f0e6"; -@fa-var-compass: "\f14e"; -@fa-var-compress: "\f066"; -@fa-var-connectdevelop: "\f20e"; -@fa-var-contao: "\f26d"; -@fa-var-copy: "\f0c5"; -@fa-var-copyright: "\f1f9"; -@fa-var-creative-commons: "\f25e"; -@fa-var-credit-card: "\f09d"; -@fa-var-credit-card-alt: "\f283"; -@fa-var-crop: "\f125"; -@fa-var-crosshairs: "\f05b"; -@fa-var-css3: "\f13c"; -@fa-var-cube: "\f1b2"; -@fa-var-cubes: "\f1b3"; -@fa-var-cut: "\f0c4"; -@fa-var-cutlery: "\f0f5"; -@fa-var-dashboard: "\f0e4"; -@fa-var-dashcube: "\f210"; -@fa-var-database: "\f1c0"; -@fa-var-deaf: "\f2a4"; -@fa-var-deafness: "\f2a4"; -@fa-var-dedent: "\f03b"; -@fa-var-delicious: "\f1a5"; -@fa-var-desktop: "\f108"; -@fa-var-deviantart: "\f1bd"; -@fa-var-diamond: "\f219"; -@fa-var-digg: "\f1a6"; -@fa-var-dollar: "\f155"; -@fa-var-dot-circle-o: "\f192"; -@fa-var-download: "\f019"; -@fa-var-dribbble: "\f17d"; -@fa-var-drivers-license: "\f2c2"; -@fa-var-drivers-license-o: "\f2c3"; -@fa-var-dropbox: "\f16b"; -@fa-var-drupal: "\f1a9"; -@fa-var-edge: "\f282"; -@fa-var-edit: "\f044"; -@fa-var-eercast: "\f2da"; -@fa-var-eject: "\f052"; -@fa-var-ellipsis-h: "\f141"; -@fa-var-ellipsis-v: "\f142"; -@fa-var-empire: "\f1d1"; -@fa-var-envelope: "\f0e0"; -@fa-var-envelope-o: "\f003"; -@fa-var-envelope-open: "\f2b6"; -@fa-var-envelope-open-o: "\f2b7"; -@fa-var-envelope-square: "\f199"; -@fa-var-envira: "\f299"; -@fa-var-eraser: "\f12d"; -@fa-var-etsy: "\f2d7"; -@fa-var-eur: "\f153"; -@fa-var-euro: "\f153"; -@fa-var-exchange: "\f0ec"; -@fa-var-exclamation: "\f12a"; -@fa-var-exclamation-circle: "\f06a"; -@fa-var-exclamation-triangle: "\f071"; -@fa-var-expand: "\f065"; -@fa-var-expeditedssl: "\f23e"; -@fa-var-external-link: "\f08e"; -@fa-var-external-link-square: "\f14c"; -@fa-var-eye: "\f06e"; -@fa-var-eye-slash: "\f070"; -@fa-var-eyedropper: "\f1fb"; -@fa-var-fa: "\f2b4"; -@fa-var-facebook: "\f09a"; -@fa-var-facebook-f: "\f09a"; -@fa-var-facebook-official: "\f230"; -@fa-var-facebook-square: "\f082"; -@fa-var-fast-backward: "\f049"; -@fa-var-fast-forward: "\f050"; -@fa-var-fax: "\f1ac"; -@fa-var-feed: "\f09e"; -@fa-var-female: "\f182"; -@fa-var-fighter-jet: "\f0fb"; -@fa-var-file: "\f15b"; -@fa-var-file-archive-o: "\f1c6"; -@fa-var-file-audio-o: "\f1c7"; -@fa-var-file-code-o: "\f1c9"; -@fa-var-file-excel-o: "\f1c3"; -@fa-var-file-image-o: "\f1c5"; -@fa-var-file-movie-o: "\f1c8"; -@fa-var-file-o: "\f016"; -@fa-var-file-pdf-o: "\f1c1"; -@fa-var-file-photo-o: "\f1c5"; -@fa-var-file-picture-o: "\f1c5"; -@fa-var-file-powerpoint-o: "\f1c4"; -@fa-var-file-sound-o: "\f1c7"; -@fa-var-file-text: "\f15c"; -@fa-var-file-text-o: "\f0f6"; -@fa-var-file-video-o: "\f1c8"; -@fa-var-file-word-o: "\f1c2"; -@fa-var-file-zip-o: "\f1c6"; -@fa-var-files-o: "\f0c5"; -@fa-var-film: "\f008"; -@fa-var-filter: "\f0b0"; -@fa-var-fire: "\f06d"; -@fa-var-fire-extinguisher: "\f134"; -@fa-var-firefox: "\f269"; -@fa-var-first-order: "\f2b0"; -@fa-var-flag: "\f024"; -@fa-var-flag-checkered: "\f11e"; -@fa-var-flag-o: "\f11d"; -@fa-var-flash: "\f0e7"; -@fa-var-flask: "\f0c3"; -@fa-var-flickr: "\f16e"; -@fa-var-floppy-o: "\f0c7"; -@fa-var-folder: "\f07b"; -@fa-var-folder-o: "\f114"; -@fa-var-folder-open: "\f07c"; -@fa-var-folder-open-o: "\f115"; -@fa-var-font: "\f031"; -@fa-var-font-awesome: "\f2b4"; -@fa-var-fonticons: "\f280"; -@fa-var-fort-awesome: "\f286"; -@fa-var-forumbee: "\f211"; -@fa-var-forward: "\f04e"; -@fa-var-foursquare: "\f180"; -@fa-var-free-code-camp: "\f2c5"; -@fa-var-frown-o: "\f119"; -@fa-var-futbol-o: "\f1e3"; -@fa-var-gamepad: "\f11b"; -@fa-var-gavel: "\f0e3"; -@fa-var-gbp: "\f154"; -@fa-var-ge: "\f1d1"; -@fa-var-gear: "\f013"; -@fa-var-gears: "\f085"; -@fa-var-genderless: "\f22d"; -@fa-var-get-pocket: "\f265"; -@fa-var-gg: "\f260"; -@fa-var-gg-circle: "\f261"; -@fa-var-gift: "\f06b"; -@fa-var-git: "\f1d3"; -@fa-var-git-square: "\f1d2"; -@fa-var-github: "\f09b"; -@fa-var-github-alt: "\f113"; -@fa-var-github-square: "\f092"; -@fa-var-gitlab: "\f296"; -@fa-var-gittip: "\f184"; -@fa-var-glass: "\f000"; -@fa-var-glide: "\f2a5"; -@fa-var-glide-g: "\f2a6"; -@fa-var-globe: "\f0ac"; -@fa-var-google: "\f1a0"; -@fa-var-google-plus: "\f0d5"; -@fa-var-google-plus-circle: "\f2b3"; -@fa-var-google-plus-official: "\f2b3"; -@fa-var-google-plus-square: "\f0d4"; -@fa-var-google-wallet: "\f1ee"; -@fa-var-graduation-cap: "\f19d"; -@fa-var-gratipay: "\f184"; -@fa-var-grav: "\f2d6"; -@fa-var-group: "\f0c0"; -@fa-var-h-square: "\f0fd"; -@fa-var-hacker-news: "\f1d4"; -@fa-var-hand-grab-o: "\f255"; -@fa-var-hand-lizard-o: "\f258"; -@fa-var-hand-o-down: "\f0a7"; -@fa-var-hand-o-left: "\f0a5"; -@fa-var-hand-o-right: "\f0a4"; -@fa-var-hand-o-up: "\f0a6"; -@fa-var-hand-paper-o: "\f256"; -@fa-var-hand-peace-o: "\f25b"; -@fa-var-hand-pointer-o: "\f25a"; -@fa-var-hand-rock-o: "\f255"; -@fa-var-hand-scissors-o: "\f257"; -@fa-var-hand-spock-o: "\f259"; -@fa-var-hand-stop-o: "\f256"; -@fa-var-handshake-o: "\f2b5"; -@fa-var-hard-of-hearing: "\f2a4"; -@fa-var-hashtag: "\f292"; -@fa-var-hdd-o: "\f0a0"; -@fa-var-header: "\f1dc"; -@fa-var-headphones: "\f025"; -@fa-var-heart: "\f004"; -@fa-var-heart-o: "\f08a"; -@fa-var-heartbeat: "\f21e"; -@fa-var-history: "\f1da"; -@fa-var-home: "\f015"; -@fa-var-hospital-o: "\f0f8"; -@fa-var-hotel: "\f236"; -@fa-var-hourglass: "\f254"; -@fa-var-hourglass-1: "\f251"; -@fa-var-hourglass-2: "\f252"; -@fa-var-hourglass-3: "\f253"; -@fa-var-hourglass-end: "\f253"; -@fa-var-hourglass-half: "\f252"; -@fa-var-hourglass-o: "\f250"; -@fa-var-hourglass-start: "\f251"; -@fa-var-houzz: "\f27c"; -@fa-var-html5: "\f13b"; -@fa-var-i-cursor: "\f246"; -@fa-var-id-badge: "\f2c1"; -@fa-var-id-card: "\f2c2"; -@fa-var-id-card-o: "\f2c3"; -@fa-var-ils: "\f20b"; -@fa-var-image: "\f03e"; -@fa-var-imdb: "\f2d8"; -@fa-var-inbox: "\f01c"; -@fa-var-indent: "\f03c"; -@fa-var-industry: "\f275"; -@fa-var-info: "\f129"; -@fa-var-info-circle: "\f05a"; -@fa-var-inr: "\f156"; -@fa-var-instagram: "\f16d"; -@fa-var-institution: "\f19c"; -@fa-var-internet-explorer: "\f26b"; -@fa-var-intersex: "\f224"; -@fa-var-ioxhost: "\f208"; -@fa-var-italic: "\f033"; -@fa-var-joomla: "\f1aa"; -@fa-var-jpy: "\f157"; -@fa-var-jsfiddle: "\f1cc"; -@fa-var-key: "\f084"; -@fa-var-keyboard-o: "\f11c"; -@fa-var-krw: "\f159"; -@fa-var-language: "\f1ab"; -@fa-var-laptop: "\f109"; -@fa-var-lastfm: "\f202"; -@fa-var-lastfm-square: "\f203"; -@fa-var-leaf: "\f06c"; -@fa-var-leanpub: "\f212"; -@fa-var-legal: "\f0e3"; -@fa-var-lemon-o: "\f094"; -@fa-var-level-down: "\f149"; -@fa-var-level-up: "\f148"; -@fa-var-life-bouy: "\f1cd"; -@fa-var-life-buoy: "\f1cd"; -@fa-var-life-ring: "\f1cd"; -@fa-var-life-saver: "\f1cd"; -@fa-var-lightbulb-o: "\f0eb"; -@fa-var-line-chart: "\f201"; -@fa-var-link: "\f0c1"; -@fa-var-linkedin: "\f0e1"; -@fa-var-linkedin-square: "\f08c"; -@fa-var-linode: "\f2b8"; -@fa-var-linux: "\f17c"; -@fa-var-list: "\f03a"; -@fa-var-list-alt: "\f022"; -@fa-var-list-ol: "\f0cb"; -@fa-var-list-ul: "\f0ca"; -@fa-var-location-arrow: "\f124"; -@fa-var-lock: "\f023"; -@fa-var-long-arrow-down: "\f175"; -@fa-var-long-arrow-left: "\f177"; -@fa-var-long-arrow-right: "\f178"; -@fa-var-long-arrow-up: "\f176"; -@fa-var-low-vision: "\f2a8"; -@fa-var-magic: "\f0d0"; -@fa-var-magnet: "\f076"; -@fa-var-mail-forward: "\f064"; -@fa-var-mail-reply: "\f112"; -@fa-var-mail-reply-all: "\f122"; -@fa-var-male: "\f183"; -@fa-var-map: "\f279"; -@fa-var-map-marker: "\f041"; -@fa-var-map-o: "\f278"; -@fa-var-map-pin: "\f276"; -@fa-var-map-signs: "\f277"; -@fa-var-mars: "\f222"; -@fa-var-mars-double: "\f227"; -@fa-var-mars-stroke: "\f229"; -@fa-var-mars-stroke-h: "\f22b"; -@fa-var-mars-stroke-v: "\f22a"; -@fa-var-maxcdn: "\f136"; -@fa-var-meanpath: "\f20c"; -@fa-var-medium: "\f23a"; -@fa-var-medkit: "\f0fa"; -@fa-var-meetup: "\f2e0"; -@fa-var-meh-o: "\f11a"; -@fa-var-mercury: "\f223"; -@fa-var-microchip: "\f2db"; -@fa-var-microphone: "\f130"; -@fa-var-microphone-slash: "\f131"; -@fa-var-minus: "\f068"; -@fa-var-minus-circle: "\f056"; -@fa-var-minus-square: "\f146"; -@fa-var-minus-square-o: "\f147"; -@fa-var-mixcloud: "\f289"; -@fa-var-mobile: "\f10b"; -@fa-var-mobile-phone: "\f10b"; -@fa-var-modx: "\f285"; -@fa-var-money: "\f0d6"; -@fa-var-moon-o: "\f186"; -@fa-var-mortar-board: "\f19d"; -@fa-var-motorcycle: "\f21c"; -@fa-var-mouse-pointer: "\f245"; -@fa-var-music: "\f001"; -@fa-var-navicon: "\f0c9"; -@fa-var-neuter: "\f22c"; -@fa-var-newspaper-o: "\f1ea"; -@fa-var-object-group: "\f247"; -@fa-var-object-ungroup: "\f248"; -@fa-var-odnoklassniki: "\f263"; -@fa-var-odnoklassniki-square: "\f264"; -@fa-var-opencart: "\f23d"; -@fa-var-openid: "\f19b"; -@fa-var-opera: "\f26a"; -@fa-var-optin-monster: "\f23c"; -@fa-var-outdent: "\f03b"; -@fa-var-pagelines: "\f18c"; -@fa-var-paint-brush: "\f1fc"; -@fa-var-paper-plane: "\f1d8"; -@fa-var-paper-plane-o: "\f1d9"; -@fa-var-paperclip: "\f0c6"; -@fa-var-paragraph: "\f1dd"; -@fa-var-paste: "\f0ea"; -@fa-var-pause: "\f04c"; -@fa-var-pause-circle: "\f28b"; -@fa-var-pause-circle-o: "\f28c"; -@fa-var-paw: "\f1b0"; -@fa-var-paypal: "\f1ed"; -@fa-var-pencil: "\f040"; -@fa-var-pencil-square: "\f14b"; -@fa-var-pencil-square-o: "\f044"; -@fa-var-percent: "\f295"; -@fa-var-phone: "\f095"; -@fa-var-phone-square: "\f098"; -@fa-var-photo: "\f03e"; -@fa-var-picture-o: "\f03e"; -@fa-var-pie-chart: "\f200"; -@fa-var-pied-piper: "\f2ae"; -@fa-var-pied-piper-alt: "\f1a8"; -@fa-var-pied-piper-pp: "\f1a7"; -@fa-var-pinterest: "\f0d2"; -@fa-var-pinterest-p: "\f231"; -@fa-var-pinterest-square: "\f0d3"; -@fa-var-plane: "\f072"; -@fa-var-play: "\f04b"; -@fa-var-play-circle: "\f144"; -@fa-var-play-circle-o: "\f01d"; -@fa-var-plug: "\f1e6"; -@fa-var-plus: "\f067"; -@fa-var-plus-circle: "\f055"; -@fa-var-plus-square: "\f0fe"; -@fa-var-plus-square-o: "\f196"; -@fa-var-podcast: "\f2ce"; -@fa-var-power-off: "\f011"; -@fa-var-print: "\f02f"; -@fa-var-product-hunt: "\f288"; -@fa-var-puzzle-piece: "\f12e"; -@fa-var-qq: "\f1d6"; -@fa-var-qrcode: "\f029"; -@fa-var-question: "\f128"; -@fa-var-question-circle: "\f059"; -@fa-var-question-circle-o: "\f29c"; -@fa-var-quora: "\f2c4"; -@fa-var-quote-left: "\f10d"; -@fa-var-quote-right: "\f10e"; -@fa-var-ra: "\f1d0"; -@fa-var-random: "\f074"; -@fa-var-ravelry: "\f2d9"; -@fa-var-rebel: "\f1d0"; -@fa-var-recycle: "\f1b8"; -@fa-var-reddit: "\f1a1"; -@fa-var-reddit-alien: "\f281"; -@fa-var-reddit-square: "\f1a2"; -@fa-var-refresh: "\f021"; -@fa-var-registered: "\f25d"; -@fa-var-remove: "\f00d"; -@fa-var-renren: "\f18b"; -@fa-var-reorder: "\f0c9"; -@fa-var-repeat: "\f01e"; -@fa-var-reply: "\f112"; -@fa-var-reply-all: "\f122"; -@fa-var-resistance: "\f1d0"; -@fa-var-retweet: "\f079"; -@fa-var-rmb: "\f157"; -@fa-var-road: "\f018"; -@fa-var-rocket: "\f135"; -@fa-var-rotate-left: "\f0e2"; -@fa-var-rotate-right: "\f01e"; -@fa-var-rouble: "\f158"; -@fa-var-rss: "\f09e"; -@fa-var-rss-square: "\f143"; -@fa-var-rub: "\f158"; -@fa-var-ruble: "\f158"; -@fa-var-rupee: "\f156"; -@fa-var-s15: "\f2cd"; -@fa-var-safari: "\f267"; -@fa-var-save: "\f0c7"; -@fa-var-scissors: "\f0c4"; -@fa-var-scribd: "\f28a"; -@fa-var-search: "\f002"; -@fa-var-search-minus: "\f010"; -@fa-var-search-plus: "\f00e"; -@fa-var-sellsy: "\f213"; -@fa-var-send: "\f1d8"; -@fa-var-send-o: "\f1d9"; -@fa-var-server: "\f233"; -@fa-var-share: "\f064"; -@fa-var-share-alt: "\f1e0"; -@fa-var-share-alt-square: "\f1e1"; -@fa-var-share-square: "\f14d"; -@fa-var-share-square-o: "\f045"; -@fa-var-shekel: "\f20b"; -@fa-var-sheqel: "\f20b"; -@fa-var-shield: "\f132"; -@fa-var-ship: "\f21a"; -@fa-var-shirtsinbulk: "\f214"; -@fa-var-shopping-bag: "\f290"; -@fa-var-shopping-basket: "\f291"; -@fa-var-shopping-cart: "\f07a"; -@fa-var-shower: "\f2cc"; -@fa-var-sign-in: "\f090"; -@fa-var-sign-language: "\f2a7"; -@fa-var-sign-out: "\f08b"; -@fa-var-signal: "\f012"; -@fa-var-signing: "\f2a7"; -@fa-var-simplybuilt: "\f215"; -@fa-var-sitemap: "\f0e8"; -@fa-var-skyatlas: "\f216"; -@fa-var-skype: "\f17e"; -@fa-var-slack: "\f198"; -@fa-var-sliders: "\f1de"; -@fa-var-slideshare: "\f1e7"; -@fa-var-smile-o: "\f118"; -@fa-var-snapchat: "\f2ab"; -@fa-var-snapchat-ghost: "\f2ac"; -@fa-var-snapchat-square: "\f2ad"; -@fa-var-snowflake-o: "\f2dc"; -@fa-var-soccer-ball-o: "\f1e3"; -@fa-var-sort: "\f0dc"; -@fa-var-sort-alpha-asc: "\f15d"; -@fa-var-sort-alpha-desc: "\f15e"; -@fa-var-sort-amount-asc: "\f160"; -@fa-var-sort-amount-desc: "\f161"; -@fa-var-sort-asc: "\f0de"; -@fa-var-sort-desc: "\f0dd"; -@fa-var-sort-down: "\f0dd"; -@fa-var-sort-numeric-asc: "\f162"; -@fa-var-sort-numeric-desc: "\f163"; -@fa-var-sort-up: "\f0de"; -@fa-var-soundcloud: "\f1be"; -@fa-var-space-shuttle: "\f197"; -@fa-var-spinner: "\f110"; -@fa-var-spoon: "\f1b1"; -@fa-var-spotify: "\f1bc"; -@fa-var-square: "\f0c8"; -@fa-var-square-o: "\f096"; -@fa-var-stack-exchange: "\f18d"; -@fa-var-stack-overflow: "\f16c"; -@fa-var-star: "\f005"; -@fa-var-star-half: "\f089"; -@fa-var-star-half-empty: "\f123"; -@fa-var-star-half-full: "\f123"; -@fa-var-star-half-o: "\f123"; -@fa-var-star-o: "\f006"; -@fa-var-steam: "\f1b6"; -@fa-var-steam-square: "\f1b7"; -@fa-var-step-backward: "\f048"; -@fa-var-step-forward: "\f051"; -@fa-var-stethoscope: "\f0f1"; -@fa-var-sticky-note: "\f249"; -@fa-var-sticky-note-o: "\f24a"; -@fa-var-stop: "\f04d"; -@fa-var-stop-circle: "\f28d"; -@fa-var-stop-circle-o: "\f28e"; -@fa-var-street-view: "\f21d"; -@fa-var-strikethrough: "\f0cc"; -@fa-var-stumbleupon: "\f1a4"; -@fa-var-stumbleupon-circle: "\f1a3"; -@fa-var-subscript: "\f12c"; -@fa-var-subway: "\f239"; -@fa-var-suitcase: "\f0f2"; -@fa-var-sun-o: "\f185"; -@fa-var-superpowers: "\f2dd"; -@fa-var-superscript: "\f12b"; -@fa-var-support: "\f1cd"; -@fa-var-table: "\f0ce"; -@fa-var-tablet: "\f10a"; -@fa-var-tachometer: "\f0e4"; -@fa-var-tag: "\f02b"; -@fa-var-tags: "\f02c"; -@fa-var-tasks: "\f0ae"; -@fa-var-taxi: "\f1ba"; -@fa-var-telegram: "\f2c6"; -@fa-var-television: "\f26c"; -@fa-var-tencent-weibo: "\f1d5"; -@fa-var-terminal: "\f120"; -@fa-var-text-height: "\f034"; -@fa-var-text-width: "\f035"; -@fa-var-th: "\f00a"; -@fa-var-th-large: "\f009"; -@fa-var-th-list: "\f00b"; -@fa-var-themeisle: "\f2b2"; -@fa-var-thermometer: "\f2c7"; -@fa-var-thermometer-0: "\f2cb"; -@fa-var-thermometer-1: "\f2ca"; -@fa-var-thermometer-2: "\f2c9"; -@fa-var-thermometer-3: "\f2c8"; -@fa-var-thermometer-4: "\f2c7"; -@fa-var-thermometer-empty: "\f2cb"; -@fa-var-thermometer-full: "\f2c7"; -@fa-var-thermometer-half: "\f2c9"; -@fa-var-thermometer-quarter: "\f2ca"; -@fa-var-thermometer-three-quarters: "\f2c8"; -@fa-var-thumb-tack: "\f08d"; -@fa-var-thumbs-down: "\f165"; -@fa-var-thumbs-o-down: "\f088"; -@fa-var-thumbs-o-up: "\f087"; -@fa-var-thumbs-up: "\f164"; -@fa-var-ticket: "\f145"; -@fa-var-times: "\f00d"; -@fa-var-times-circle: "\f057"; -@fa-var-times-circle-o: "\f05c"; -@fa-var-times-rectangle: "\f2d3"; -@fa-var-times-rectangle-o: "\f2d4"; -@fa-var-tint: "\f043"; -@fa-var-toggle-down: "\f150"; -@fa-var-toggle-left: "\f191"; -@fa-var-toggle-off: "\f204"; -@fa-var-toggle-on: "\f205"; -@fa-var-toggle-right: "\f152"; -@fa-var-toggle-up: "\f151"; -@fa-var-trademark: "\f25c"; -@fa-var-train: "\f238"; -@fa-var-transgender: "\f224"; -@fa-var-transgender-alt: "\f225"; -@fa-var-trash: "\f1f8"; -@fa-var-trash-o: "\f014"; -@fa-var-tree: "\f1bb"; -@fa-var-trello: "\f181"; -@fa-var-tripadvisor: "\f262"; -@fa-var-trophy: "\f091"; -@fa-var-truck: "\f0d1"; -@fa-var-try: "\f195"; -@fa-var-tty: "\f1e4"; -@fa-var-tumblr: "\f173"; -@fa-var-tumblr-square: "\f174"; -@fa-var-turkish-lira: "\f195"; -@fa-var-tv: "\f26c"; -@fa-var-twitch: "\f1e8"; -@fa-var-twitter: "\f099"; -@fa-var-twitter-square: "\f081"; -@fa-var-umbrella: "\f0e9"; -@fa-var-underline: "\f0cd"; -@fa-var-undo: "\f0e2"; -@fa-var-universal-access: "\f29a"; -@fa-var-university: "\f19c"; -@fa-var-unlink: "\f127"; -@fa-var-unlock: "\f09c"; -@fa-var-unlock-alt: "\f13e"; -@fa-var-unsorted: "\f0dc"; -@fa-var-upload: "\f093"; -@fa-var-usb: "\f287"; -@fa-var-usd: "\f155"; -@fa-var-user: "\f007"; -@fa-var-user-circle: "\f2bd"; -@fa-var-user-circle-o: "\f2be"; -@fa-var-user-md: "\f0f0"; -@fa-var-user-o: "\f2c0"; -@fa-var-user-plus: "\f234"; -@fa-var-user-secret: "\f21b"; -@fa-var-user-times: "\f235"; -@fa-var-users: "\f0c0"; -@fa-var-vcard: "\f2bb"; -@fa-var-vcard-o: "\f2bc"; -@fa-var-venus: "\f221"; -@fa-var-venus-double: "\f226"; -@fa-var-venus-mars: "\f228"; -@fa-var-viacoin: "\f237"; -@fa-var-viadeo: "\f2a9"; -@fa-var-viadeo-square: "\f2aa"; -@fa-var-video-camera: "\f03d"; -@fa-var-vimeo: "\f27d"; -@fa-var-vimeo-square: "\f194"; -@fa-var-vine: "\f1ca"; -@fa-var-vk: "\f189"; -@fa-var-volume-control-phone: "\f2a0"; -@fa-var-volume-down: "\f027"; -@fa-var-volume-off: "\f026"; -@fa-var-volume-up: "\f028"; -@fa-var-warning: "\f071"; -@fa-var-wechat: "\f1d7"; -@fa-var-weibo: "\f18a"; -@fa-var-weixin: "\f1d7"; -@fa-var-whatsapp: "\f232"; -@fa-var-wheelchair: "\f193"; -@fa-var-wheelchair-alt: "\f29b"; -@fa-var-wifi: "\f1eb"; -@fa-var-wikipedia-w: "\f266"; -@fa-var-window-close: "\f2d3"; -@fa-var-window-close-o: "\f2d4"; -@fa-var-window-maximize: "\f2d0"; -@fa-var-window-minimize: "\f2d1"; -@fa-var-window-restore: "\f2d2"; -@fa-var-windows: "\f17a"; -@fa-var-won: "\f159"; -@fa-var-wordpress: "\f19a"; -@fa-var-wpbeginner: "\f297"; -@fa-var-wpexplorer: "\f2de"; -@fa-var-wpforms: "\f298"; -@fa-var-wrench: "\f0ad"; -@fa-var-xing: "\f168"; -@fa-var-xing-square: "\f169"; -@fa-var-y-combinator: "\f23b"; -@fa-var-y-combinator-square: "\f1d4"; -@fa-var-yahoo: "\f19e"; -@fa-var-yc: "\f23b"; -@fa-var-yc-square: "\f1d4"; -@fa-var-yelp: "\f1e9"; -@fa-var-yen: "\f157"; -@fa-var-yoast: "\f2b1"; -@fa-var-youtube: "\f167"; -@fa-var-youtube-play: "\f16a"; -@fa-var-youtube-square: "\f166"; - diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_animated.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_animated.scss deleted file mode 100644 index 8a020db..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_animated.scss +++ /dev/null @@ -1,34 +0,0 @@ -// Spinning Icons -// -------------------------- - -.#{$fa-css-prefix}-spin { - -webkit-animation: fa-spin 2s infinite linear; - animation: fa-spin 2s infinite linear; -} - -.#{$fa-css-prefix}-pulse { - -webkit-animation: fa-spin 1s infinite steps(8); - animation: fa-spin 1s infinite steps(8); -} - -@-webkit-keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} - -@keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_bordered-pulled.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_bordered-pulled.scss deleted file mode 100644 index d4b85a0..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_bordered-pulled.scss +++ /dev/null @@ -1,25 +0,0 @@ -// Bordered & Pulled -// ------------------------- - -.#{$fa-css-prefix}-border { - padding: .2em .25em .15em; - border: solid .08em $fa-border-color; - border-radius: .1em; -} - -.#{$fa-css-prefix}-pull-left { float: left; } -.#{$fa-css-prefix}-pull-right { float: right; } - -.#{$fa-css-prefix} { - &.#{$fa-css-prefix}-pull-left { margin-right: .3em; } - &.#{$fa-css-prefix}-pull-right { margin-left: .3em; } -} - -/* Deprecated as of 4.4.0 */ -.pull-right { float: right; } -.pull-left { float: left; } - -.#{$fa-css-prefix} { - &.pull-left { margin-right: .3em; } - &.pull-right { margin-left: .3em; } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_core.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_core.scss deleted file mode 100644 index 7425ef8..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_core.scss +++ /dev/null @@ -1,12 +0,0 @@ -// Base Class Definition -// ------------------------- - -.#{$fa-css-prefix} { - display: inline-block; - font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration - font-size: inherit; // can't have font-size inherit on line above, so need to override - text-rendering: auto; // optimizelegibility throws things off #1094 - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_fixed-width.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_fixed-width.scss deleted file mode 100644 index b221c98..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_fixed-width.scss +++ /dev/null @@ -1,6 +0,0 @@ -// Fixed Width Icons -// ------------------------- -.#{$fa-css-prefix}-fw { - width: (18em / 14); - text-align: center; -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_icons.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_icons.scss deleted file mode 100644 index e63e702..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_icons.scss +++ /dev/null @@ -1,789 +0,0 @@ -/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen - readers do not read off random characters that represent icons */ - -.#{$fa-css-prefix}-glass:before { content: $fa-var-glass; } -.#{$fa-css-prefix}-music:before { content: $fa-var-music; } -.#{$fa-css-prefix}-search:before { content: $fa-var-search; } -.#{$fa-css-prefix}-envelope-o:before { content: $fa-var-envelope-o; } -.#{$fa-css-prefix}-heart:before { content: $fa-var-heart; } -.#{$fa-css-prefix}-star:before { content: $fa-var-star; } -.#{$fa-css-prefix}-star-o:before { content: $fa-var-star-o; } -.#{$fa-css-prefix}-user:before { content: $fa-var-user; } -.#{$fa-css-prefix}-film:before { content: $fa-var-film; } -.#{$fa-css-prefix}-th-large:before { content: $fa-var-th-large; } -.#{$fa-css-prefix}-th:before { content: $fa-var-th; } -.#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; } -.#{$fa-css-prefix}-check:before { content: $fa-var-check; } -.#{$fa-css-prefix}-remove:before, -.#{$fa-css-prefix}-close:before, -.#{$fa-css-prefix}-times:before { content: $fa-var-times; } -.#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; } -.#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; } -.#{$fa-css-prefix}-power-off:before { content: $fa-var-power-off; } -.#{$fa-css-prefix}-signal:before { content: $fa-var-signal; } -.#{$fa-css-prefix}-gear:before, -.#{$fa-css-prefix}-cog:before { content: $fa-var-cog; } -.#{$fa-css-prefix}-trash-o:before { content: $fa-var-trash-o; } -.#{$fa-css-prefix}-home:before { content: $fa-var-home; } -.#{$fa-css-prefix}-file-o:before { content: $fa-var-file-o; } -.#{$fa-css-prefix}-clock-o:before { content: $fa-var-clock-o; } -.#{$fa-css-prefix}-road:before { content: $fa-var-road; } -.#{$fa-css-prefix}-download:before { content: $fa-var-download; } -.#{$fa-css-prefix}-arrow-circle-o-down:before { content: $fa-var-arrow-circle-o-down; } -.#{$fa-css-prefix}-arrow-circle-o-up:before { content: $fa-var-arrow-circle-o-up; } -.#{$fa-css-prefix}-inbox:before { content: $fa-var-inbox; } -.#{$fa-css-prefix}-play-circle-o:before { content: $fa-var-play-circle-o; } -.#{$fa-css-prefix}-rotate-right:before, -.#{$fa-css-prefix}-repeat:before { content: $fa-var-repeat; } -.#{$fa-css-prefix}-refresh:before { content: $fa-var-refresh; } -.#{$fa-css-prefix}-list-alt:before { content: $fa-var-list-alt; } -.#{$fa-css-prefix}-lock:before { content: $fa-var-lock; } -.#{$fa-css-prefix}-flag:before { content: $fa-var-flag; } -.#{$fa-css-prefix}-headphones:before { content: $fa-var-headphones; } -.#{$fa-css-prefix}-volume-off:before { content: $fa-var-volume-off; } -.#{$fa-css-prefix}-volume-down:before { content: $fa-var-volume-down; } -.#{$fa-css-prefix}-volume-up:before { content: $fa-var-volume-up; } -.#{$fa-css-prefix}-qrcode:before { content: $fa-var-qrcode; } -.#{$fa-css-prefix}-barcode:before { content: $fa-var-barcode; } -.#{$fa-css-prefix}-tag:before { content: $fa-var-tag; } -.#{$fa-css-prefix}-tags:before { content: $fa-var-tags; } -.#{$fa-css-prefix}-book:before { content: $fa-var-book; } -.#{$fa-css-prefix}-bookmark:before { content: $fa-var-bookmark; } -.#{$fa-css-prefix}-print:before { content: $fa-var-print; } -.#{$fa-css-prefix}-camera:before { content: $fa-var-camera; } -.#{$fa-css-prefix}-font:before { content: $fa-var-font; } -.#{$fa-css-prefix}-bold:before { content: $fa-var-bold; } -.#{$fa-css-prefix}-italic:before { content: $fa-var-italic; } -.#{$fa-css-prefix}-text-height:before { content: $fa-var-text-height; } -.#{$fa-css-prefix}-text-width:before { content: $fa-var-text-width; } -.#{$fa-css-prefix}-align-left:before { content: $fa-var-align-left; } -.#{$fa-css-prefix}-align-center:before { content: $fa-var-align-center; } -.#{$fa-css-prefix}-align-right:before { content: $fa-var-align-right; } -.#{$fa-css-prefix}-align-justify:before { content: $fa-var-align-justify; } -.#{$fa-css-prefix}-list:before { content: $fa-var-list; } -.#{$fa-css-prefix}-dedent:before, -.#{$fa-css-prefix}-outdent:before { content: $fa-var-outdent; } -.#{$fa-css-prefix}-indent:before { content: $fa-var-indent; } -.#{$fa-css-prefix}-video-camera:before { content: $fa-var-video-camera; } -.#{$fa-css-prefix}-photo:before, -.#{$fa-css-prefix}-image:before, -.#{$fa-css-prefix}-picture-o:before { content: $fa-var-picture-o; } -.#{$fa-css-prefix}-pencil:before { content: $fa-var-pencil; } -.#{$fa-css-prefix}-map-marker:before { content: $fa-var-map-marker; } -.#{$fa-css-prefix}-adjust:before { content: $fa-var-adjust; } -.#{$fa-css-prefix}-tint:before { content: $fa-var-tint; } -.#{$fa-css-prefix}-edit:before, -.#{$fa-css-prefix}-pencil-square-o:before { content: $fa-var-pencil-square-o; } -.#{$fa-css-prefix}-share-square-o:before { content: $fa-var-share-square-o; } -.#{$fa-css-prefix}-check-square-o:before { content: $fa-var-check-square-o; } -.#{$fa-css-prefix}-arrows:before { content: $fa-var-arrows; } -.#{$fa-css-prefix}-step-backward:before { content: $fa-var-step-backward; } -.#{$fa-css-prefix}-fast-backward:before { content: $fa-var-fast-backward; } -.#{$fa-css-prefix}-backward:before { content: $fa-var-backward; } -.#{$fa-css-prefix}-play:before { content: $fa-var-play; } -.#{$fa-css-prefix}-pause:before { content: $fa-var-pause; } -.#{$fa-css-prefix}-stop:before { content: $fa-var-stop; } -.#{$fa-css-prefix}-forward:before { content: $fa-var-forward; } -.#{$fa-css-prefix}-fast-forward:before { content: $fa-var-fast-forward; } -.#{$fa-css-prefix}-step-forward:before { content: $fa-var-step-forward; } -.#{$fa-css-prefix}-eject:before { content: $fa-var-eject; } -.#{$fa-css-prefix}-chevron-left:before { content: $fa-var-chevron-left; } -.#{$fa-css-prefix}-chevron-right:before { content: $fa-var-chevron-right; } -.#{$fa-css-prefix}-plus-circle:before { content: $fa-var-plus-circle; } -.#{$fa-css-prefix}-minus-circle:before { content: $fa-var-minus-circle; } -.#{$fa-css-prefix}-times-circle:before { content: $fa-var-times-circle; } -.#{$fa-css-prefix}-check-circle:before { content: $fa-var-check-circle; } -.#{$fa-css-prefix}-question-circle:before { content: $fa-var-question-circle; } -.#{$fa-css-prefix}-info-circle:before { content: $fa-var-info-circle; } -.#{$fa-css-prefix}-crosshairs:before { content: $fa-var-crosshairs; } -.#{$fa-css-prefix}-times-circle-o:before { content: $fa-var-times-circle-o; } -.#{$fa-css-prefix}-check-circle-o:before { content: $fa-var-check-circle-o; } -.#{$fa-css-prefix}-ban:before { content: $fa-var-ban; } -.#{$fa-css-prefix}-arrow-left:before { content: $fa-var-arrow-left; } -.#{$fa-css-prefix}-arrow-right:before { content: $fa-var-arrow-right; } -.#{$fa-css-prefix}-arrow-up:before { content: $fa-var-arrow-up; } -.#{$fa-css-prefix}-arrow-down:before { content: $fa-var-arrow-down; } -.#{$fa-css-prefix}-mail-forward:before, -.#{$fa-css-prefix}-share:before { content: $fa-var-share; } -.#{$fa-css-prefix}-expand:before { content: $fa-var-expand; } -.#{$fa-css-prefix}-compress:before { content: $fa-var-compress; } -.#{$fa-css-prefix}-plus:before { content: $fa-var-plus; } -.#{$fa-css-prefix}-minus:before { content: $fa-var-minus; } -.#{$fa-css-prefix}-asterisk:before { content: $fa-var-asterisk; } -.#{$fa-css-prefix}-exclamation-circle:before { content: $fa-var-exclamation-circle; } -.#{$fa-css-prefix}-gift:before { content: $fa-var-gift; } -.#{$fa-css-prefix}-leaf:before { content: $fa-var-leaf; } -.#{$fa-css-prefix}-fire:before { content: $fa-var-fire; } -.#{$fa-css-prefix}-eye:before { content: $fa-var-eye; } -.#{$fa-css-prefix}-eye-slash:before { content: $fa-var-eye-slash; } -.#{$fa-css-prefix}-warning:before, -.#{$fa-css-prefix}-exclamation-triangle:before { content: $fa-var-exclamation-triangle; } -.#{$fa-css-prefix}-plane:before { content: $fa-var-plane; } -.#{$fa-css-prefix}-calendar:before { content: $fa-var-calendar; } -.#{$fa-css-prefix}-random:before { content: $fa-var-random; } -.#{$fa-css-prefix}-comment:before { content: $fa-var-comment; } -.#{$fa-css-prefix}-magnet:before { content: $fa-var-magnet; } -.#{$fa-css-prefix}-chevron-up:before { content: $fa-var-chevron-up; } -.#{$fa-css-prefix}-chevron-down:before { content: $fa-var-chevron-down; } -.#{$fa-css-prefix}-retweet:before { content: $fa-var-retweet; } -.#{$fa-css-prefix}-shopping-cart:before { content: $fa-var-shopping-cart; } -.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; } -.#{$fa-css-prefix}-folder-open:before { content: $fa-var-folder-open; } -.#{$fa-css-prefix}-arrows-v:before { content: $fa-var-arrows-v; } -.#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; } -.#{$fa-css-prefix}-bar-chart-o:before, -.#{$fa-css-prefix}-bar-chart:before { content: $fa-var-bar-chart; } -.#{$fa-css-prefix}-twitter-square:before { content: $fa-var-twitter-square; } -.#{$fa-css-prefix}-facebook-square:before { content: $fa-var-facebook-square; } -.#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; } -.#{$fa-css-prefix}-key:before { content: $fa-var-key; } -.#{$fa-css-prefix}-gears:before, -.#{$fa-css-prefix}-cogs:before { content: $fa-var-cogs; } -.#{$fa-css-prefix}-comments:before { content: $fa-var-comments; } -.#{$fa-css-prefix}-thumbs-o-up:before { content: $fa-var-thumbs-o-up; } -.#{$fa-css-prefix}-thumbs-o-down:before { content: $fa-var-thumbs-o-down; } -.#{$fa-css-prefix}-star-half:before { content: $fa-var-star-half; } -.#{$fa-css-prefix}-heart-o:before { content: $fa-var-heart-o; } -.#{$fa-css-prefix}-sign-out:before { content: $fa-var-sign-out; } -.#{$fa-css-prefix}-linkedin-square:before { content: $fa-var-linkedin-square; } -.#{$fa-css-prefix}-thumb-tack:before { content: $fa-var-thumb-tack; } -.#{$fa-css-prefix}-external-link:before { content: $fa-var-external-link; } -.#{$fa-css-prefix}-sign-in:before { content: $fa-var-sign-in; } -.#{$fa-css-prefix}-trophy:before { content: $fa-var-trophy; } -.#{$fa-css-prefix}-github-square:before { content: $fa-var-github-square; } -.#{$fa-css-prefix}-upload:before { content: $fa-var-upload; } -.#{$fa-css-prefix}-lemon-o:before { content: $fa-var-lemon-o; } -.#{$fa-css-prefix}-phone:before { content: $fa-var-phone; } -.#{$fa-css-prefix}-square-o:before { content: $fa-var-square-o; } -.#{$fa-css-prefix}-bookmark-o:before { content: $fa-var-bookmark-o; } -.#{$fa-css-prefix}-phone-square:before { content: $fa-var-phone-square; } -.#{$fa-css-prefix}-twitter:before { content: $fa-var-twitter; } -.#{$fa-css-prefix}-facebook-f:before, -.#{$fa-css-prefix}-facebook:before { content: $fa-var-facebook; } -.#{$fa-css-prefix}-github:before { content: $fa-var-github; } -.#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; } -.#{$fa-css-prefix}-credit-card:before { content: $fa-var-credit-card; } -.#{$fa-css-prefix}-feed:before, -.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; } -.#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; } -.#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; } -.#{$fa-css-prefix}-bell:before { content: $fa-var-bell; } -.#{$fa-css-prefix}-certificate:before { content: $fa-var-certificate; } -.#{$fa-css-prefix}-hand-o-right:before { content: $fa-var-hand-o-right; } -.#{$fa-css-prefix}-hand-o-left:before { content: $fa-var-hand-o-left; } -.#{$fa-css-prefix}-hand-o-up:before { content: $fa-var-hand-o-up; } -.#{$fa-css-prefix}-hand-o-down:before { content: $fa-var-hand-o-down; } -.#{$fa-css-prefix}-arrow-circle-left:before { content: $fa-var-arrow-circle-left; } -.#{$fa-css-prefix}-arrow-circle-right:before { content: $fa-var-arrow-circle-right; } -.#{$fa-css-prefix}-arrow-circle-up:before { content: $fa-var-arrow-circle-up; } -.#{$fa-css-prefix}-arrow-circle-down:before { content: $fa-var-arrow-circle-down; } -.#{$fa-css-prefix}-globe:before { content: $fa-var-globe; } -.#{$fa-css-prefix}-wrench:before { content: $fa-var-wrench; } -.#{$fa-css-prefix}-tasks:before { content: $fa-var-tasks; } -.#{$fa-css-prefix}-filter:before { content: $fa-var-filter; } -.#{$fa-css-prefix}-briefcase:before { content: $fa-var-briefcase; } -.#{$fa-css-prefix}-arrows-alt:before { content: $fa-var-arrows-alt; } -.#{$fa-css-prefix}-group:before, -.#{$fa-css-prefix}-users:before { content: $fa-var-users; } -.#{$fa-css-prefix}-chain:before, -.#{$fa-css-prefix}-link:before { content: $fa-var-link; } -.#{$fa-css-prefix}-cloud:before { content: $fa-var-cloud; } -.#{$fa-css-prefix}-flask:before { content: $fa-var-flask; } -.#{$fa-css-prefix}-cut:before, -.#{$fa-css-prefix}-scissors:before { content: $fa-var-scissors; } -.#{$fa-css-prefix}-copy:before, -.#{$fa-css-prefix}-files-o:before { content: $fa-var-files-o; } -.#{$fa-css-prefix}-paperclip:before { content: $fa-var-paperclip; } -.#{$fa-css-prefix}-save:before, -.#{$fa-css-prefix}-floppy-o:before { content: $fa-var-floppy-o; } -.#{$fa-css-prefix}-square:before { content: $fa-var-square; } -.#{$fa-css-prefix}-navicon:before, -.#{$fa-css-prefix}-reorder:before, -.#{$fa-css-prefix}-bars:before { content: $fa-var-bars; } -.#{$fa-css-prefix}-list-ul:before { content: $fa-var-list-ul; } -.#{$fa-css-prefix}-list-ol:before { content: $fa-var-list-ol; } -.#{$fa-css-prefix}-strikethrough:before { content: $fa-var-strikethrough; } -.#{$fa-css-prefix}-underline:before { content: $fa-var-underline; } -.#{$fa-css-prefix}-table:before { content: $fa-var-table; } -.#{$fa-css-prefix}-magic:before { content: $fa-var-magic; } -.#{$fa-css-prefix}-truck:before { content: $fa-var-truck; } -.#{$fa-css-prefix}-pinterest:before { content: $fa-var-pinterest; } -.#{$fa-css-prefix}-pinterest-square:before { content: $fa-var-pinterest-square; } -.#{$fa-css-prefix}-google-plus-square:before { content: $fa-var-google-plus-square; } -.#{$fa-css-prefix}-google-plus:before { content: $fa-var-google-plus; } -.#{$fa-css-prefix}-money:before { content: $fa-var-money; } -.#{$fa-css-prefix}-caret-down:before { content: $fa-var-caret-down; } -.#{$fa-css-prefix}-caret-up:before { content: $fa-var-caret-up; } -.#{$fa-css-prefix}-caret-left:before { content: $fa-var-caret-left; } -.#{$fa-css-prefix}-caret-right:before { content: $fa-var-caret-right; } -.#{$fa-css-prefix}-columns:before { content: $fa-var-columns; } -.#{$fa-css-prefix}-unsorted:before, -.#{$fa-css-prefix}-sort:before { content: $fa-var-sort; } -.#{$fa-css-prefix}-sort-down:before, -.#{$fa-css-prefix}-sort-desc:before { content: $fa-var-sort-desc; } -.#{$fa-css-prefix}-sort-up:before, -.#{$fa-css-prefix}-sort-asc:before { content: $fa-var-sort-asc; } -.#{$fa-css-prefix}-envelope:before { content: $fa-var-envelope; } -.#{$fa-css-prefix}-linkedin:before { content: $fa-var-linkedin; } -.#{$fa-css-prefix}-rotate-left:before, -.#{$fa-css-prefix}-undo:before { content: $fa-var-undo; } -.#{$fa-css-prefix}-legal:before, -.#{$fa-css-prefix}-gavel:before { content: $fa-var-gavel; } -.#{$fa-css-prefix}-dashboard:before, -.#{$fa-css-prefix}-tachometer:before { content: $fa-var-tachometer; } -.#{$fa-css-prefix}-comment-o:before { content: $fa-var-comment-o; } -.#{$fa-css-prefix}-comments-o:before { content: $fa-var-comments-o; } -.#{$fa-css-prefix}-flash:before, -.#{$fa-css-prefix}-bolt:before { content: $fa-var-bolt; } -.#{$fa-css-prefix}-sitemap:before { content: $fa-var-sitemap; } -.#{$fa-css-prefix}-umbrella:before { content: $fa-var-umbrella; } -.#{$fa-css-prefix}-paste:before, -.#{$fa-css-prefix}-clipboard:before { content: $fa-var-clipboard; } -.#{$fa-css-prefix}-lightbulb-o:before { content: $fa-var-lightbulb-o; } -.#{$fa-css-prefix}-exchange:before { content: $fa-var-exchange; } -.#{$fa-css-prefix}-cloud-download:before { content: $fa-var-cloud-download; } -.#{$fa-css-prefix}-cloud-upload:before { content: $fa-var-cloud-upload; } -.#{$fa-css-prefix}-user-md:before { content: $fa-var-user-md; } -.#{$fa-css-prefix}-stethoscope:before { content: $fa-var-stethoscope; } -.#{$fa-css-prefix}-suitcase:before { content: $fa-var-suitcase; } -.#{$fa-css-prefix}-bell-o:before { content: $fa-var-bell-o; } -.#{$fa-css-prefix}-coffee:before { content: $fa-var-coffee; } -.#{$fa-css-prefix}-cutlery:before { content: $fa-var-cutlery; } -.#{$fa-css-prefix}-file-text-o:before { content: $fa-var-file-text-o; } -.#{$fa-css-prefix}-building-o:before { content: $fa-var-building-o; } -.#{$fa-css-prefix}-hospital-o:before { content: $fa-var-hospital-o; } -.#{$fa-css-prefix}-ambulance:before { content: $fa-var-ambulance; } -.#{$fa-css-prefix}-medkit:before { content: $fa-var-medkit; } -.#{$fa-css-prefix}-fighter-jet:before { content: $fa-var-fighter-jet; } -.#{$fa-css-prefix}-beer:before { content: $fa-var-beer; } -.#{$fa-css-prefix}-h-square:before { content: $fa-var-h-square; } -.#{$fa-css-prefix}-plus-square:before { content: $fa-var-plus-square; } -.#{$fa-css-prefix}-angle-double-left:before { content: $fa-var-angle-double-left; } -.#{$fa-css-prefix}-angle-double-right:before { content: $fa-var-angle-double-right; } -.#{$fa-css-prefix}-angle-double-up:before { content: $fa-var-angle-double-up; } -.#{$fa-css-prefix}-angle-double-down:before { content: $fa-var-angle-double-down; } -.#{$fa-css-prefix}-angle-left:before { content: $fa-var-angle-left; } -.#{$fa-css-prefix}-angle-right:before { content: $fa-var-angle-right; } -.#{$fa-css-prefix}-angle-up:before { content: $fa-var-angle-up; } -.#{$fa-css-prefix}-angle-down:before { content: $fa-var-angle-down; } -.#{$fa-css-prefix}-desktop:before { content: $fa-var-desktop; } -.#{$fa-css-prefix}-laptop:before { content: $fa-var-laptop; } -.#{$fa-css-prefix}-tablet:before { content: $fa-var-tablet; } -.#{$fa-css-prefix}-mobile-phone:before, -.#{$fa-css-prefix}-mobile:before { content: $fa-var-mobile; } -.#{$fa-css-prefix}-circle-o:before { content: $fa-var-circle-o; } -.#{$fa-css-prefix}-quote-left:before { content: $fa-var-quote-left; } -.#{$fa-css-prefix}-quote-right:before { content: $fa-var-quote-right; } -.#{$fa-css-prefix}-spinner:before { content: $fa-var-spinner; } -.#{$fa-css-prefix}-circle:before { content: $fa-var-circle; } -.#{$fa-css-prefix}-mail-reply:before, -.#{$fa-css-prefix}-reply:before { content: $fa-var-reply; } -.#{$fa-css-prefix}-github-alt:before { content: $fa-var-github-alt; } -.#{$fa-css-prefix}-folder-o:before { content: $fa-var-folder-o; } -.#{$fa-css-prefix}-folder-open-o:before { content: $fa-var-folder-open-o; } -.#{$fa-css-prefix}-smile-o:before { content: $fa-var-smile-o; } -.#{$fa-css-prefix}-frown-o:before { content: $fa-var-frown-o; } -.#{$fa-css-prefix}-meh-o:before { content: $fa-var-meh-o; } -.#{$fa-css-prefix}-gamepad:before { content: $fa-var-gamepad; } -.#{$fa-css-prefix}-keyboard-o:before { content: $fa-var-keyboard-o; } -.#{$fa-css-prefix}-flag-o:before { content: $fa-var-flag-o; } -.#{$fa-css-prefix}-flag-checkered:before { content: $fa-var-flag-checkered; } -.#{$fa-css-prefix}-terminal:before { content: $fa-var-terminal; } -.#{$fa-css-prefix}-code:before { content: $fa-var-code; } -.#{$fa-css-prefix}-mail-reply-all:before, -.#{$fa-css-prefix}-reply-all:before { content: $fa-var-reply-all; } -.#{$fa-css-prefix}-star-half-empty:before, -.#{$fa-css-prefix}-star-half-full:before, -.#{$fa-css-prefix}-star-half-o:before { content: $fa-var-star-half-o; } -.#{$fa-css-prefix}-location-arrow:before { content: $fa-var-location-arrow; } -.#{$fa-css-prefix}-crop:before { content: $fa-var-crop; } -.#{$fa-css-prefix}-code-fork:before { content: $fa-var-code-fork; } -.#{$fa-css-prefix}-unlink:before, -.#{$fa-css-prefix}-chain-broken:before { content: $fa-var-chain-broken; } -.#{$fa-css-prefix}-question:before { content: $fa-var-question; } -.#{$fa-css-prefix}-info:before { content: $fa-var-info; } -.#{$fa-css-prefix}-exclamation:before { content: $fa-var-exclamation; } -.#{$fa-css-prefix}-superscript:before { content: $fa-var-superscript; } -.#{$fa-css-prefix}-subscript:before { content: $fa-var-subscript; } -.#{$fa-css-prefix}-eraser:before { content: $fa-var-eraser; } -.#{$fa-css-prefix}-puzzle-piece:before { content: $fa-var-puzzle-piece; } -.#{$fa-css-prefix}-microphone:before { content: $fa-var-microphone; } -.#{$fa-css-prefix}-microphone-slash:before { content: $fa-var-microphone-slash; } -.#{$fa-css-prefix}-shield:before { content: $fa-var-shield; } -.#{$fa-css-prefix}-calendar-o:before { content: $fa-var-calendar-o; } -.#{$fa-css-prefix}-fire-extinguisher:before { content: $fa-var-fire-extinguisher; } -.#{$fa-css-prefix}-rocket:before { content: $fa-var-rocket; } -.#{$fa-css-prefix}-maxcdn:before { content: $fa-var-maxcdn; } -.#{$fa-css-prefix}-chevron-circle-left:before { content: $fa-var-chevron-circle-left; } -.#{$fa-css-prefix}-chevron-circle-right:before { content: $fa-var-chevron-circle-right; } -.#{$fa-css-prefix}-chevron-circle-up:before { content: $fa-var-chevron-circle-up; } -.#{$fa-css-prefix}-chevron-circle-down:before { content: $fa-var-chevron-circle-down; } -.#{$fa-css-prefix}-html5:before { content: $fa-var-html5; } -.#{$fa-css-prefix}-css3:before { content: $fa-var-css3; } -.#{$fa-css-prefix}-anchor:before { content: $fa-var-anchor; } -.#{$fa-css-prefix}-unlock-alt:before { content: $fa-var-unlock-alt; } -.#{$fa-css-prefix}-bullseye:before { content: $fa-var-bullseye; } -.#{$fa-css-prefix}-ellipsis-h:before { content: $fa-var-ellipsis-h; } -.#{$fa-css-prefix}-ellipsis-v:before { content: $fa-var-ellipsis-v; } -.#{$fa-css-prefix}-rss-square:before { content: $fa-var-rss-square; } -.#{$fa-css-prefix}-play-circle:before { content: $fa-var-play-circle; } -.#{$fa-css-prefix}-ticket:before { content: $fa-var-ticket; } -.#{$fa-css-prefix}-minus-square:before { content: $fa-var-minus-square; } -.#{$fa-css-prefix}-minus-square-o:before { content: $fa-var-minus-square-o; } -.#{$fa-css-prefix}-level-up:before { content: $fa-var-level-up; } -.#{$fa-css-prefix}-level-down:before { content: $fa-var-level-down; } -.#{$fa-css-prefix}-check-square:before { content: $fa-var-check-square; } -.#{$fa-css-prefix}-pencil-square:before { content: $fa-var-pencil-square; } -.#{$fa-css-prefix}-external-link-square:before { content: $fa-var-external-link-square; } -.#{$fa-css-prefix}-share-square:before { content: $fa-var-share-square; } -.#{$fa-css-prefix}-compass:before { content: $fa-var-compass; } -.#{$fa-css-prefix}-toggle-down:before, -.#{$fa-css-prefix}-caret-square-o-down:before { content: $fa-var-caret-square-o-down; } -.#{$fa-css-prefix}-toggle-up:before, -.#{$fa-css-prefix}-caret-square-o-up:before { content: $fa-var-caret-square-o-up; } -.#{$fa-css-prefix}-toggle-right:before, -.#{$fa-css-prefix}-caret-square-o-right:before { content: $fa-var-caret-square-o-right; } -.#{$fa-css-prefix}-euro:before, -.#{$fa-css-prefix}-eur:before { content: $fa-var-eur; } -.#{$fa-css-prefix}-gbp:before { content: $fa-var-gbp; } -.#{$fa-css-prefix}-dollar:before, -.#{$fa-css-prefix}-usd:before { content: $fa-var-usd; } -.#{$fa-css-prefix}-rupee:before, -.#{$fa-css-prefix}-inr:before { content: $fa-var-inr; } -.#{$fa-css-prefix}-cny:before, -.#{$fa-css-prefix}-rmb:before, -.#{$fa-css-prefix}-yen:before, -.#{$fa-css-prefix}-jpy:before { content: $fa-var-jpy; } -.#{$fa-css-prefix}-ruble:before, -.#{$fa-css-prefix}-rouble:before, -.#{$fa-css-prefix}-rub:before { content: $fa-var-rub; } -.#{$fa-css-prefix}-won:before, -.#{$fa-css-prefix}-krw:before { content: $fa-var-krw; } -.#{$fa-css-prefix}-bitcoin:before, -.#{$fa-css-prefix}-btc:before { content: $fa-var-btc; } -.#{$fa-css-prefix}-file:before { content: $fa-var-file; } -.#{$fa-css-prefix}-file-text:before { content: $fa-var-file-text; } -.#{$fa-css-prefix}-sort-alpha-asc:before { content: $fa-var-sort-alpha-asc; } -.#{$fa-css-prefix}-sort-alpha-desc:before { content: $fa-var-sort-alpha-desc; } -.#{$fa-css-prefix}-sort-amount-asc:before { content: $fa-var-sort-amount-asc; } -.#{$fa-css-prefix}-sort-amount-desc:before { content: $fa-var-sort-amount-desc; } -.#{$fa-css-prefix}-sort-numeric-asc:before { content: $fa-var-sort-numeric-asc; } -.#{$fa-css-prefix}-sort-numeric-desc:before { content: $fa-var-sort-numeric-desc; } -.#{$fa-css-prefix}-thumbs-up:before { content: $fa-var-thumbs-up; } -.#{$fa-css-prefix}-thumbs-down:before { content: $fa-var-thumbs-down; } -.#{$fa-css-prefix}-youtube-square:before { content: $fa-var-youtube-square; } -.#{$fa-css-prefix}-youtube:before { content: $fa-var-youtube; } -.#{$fa-css-prefix}-xing:before { content: $fa-var-xing; } -.#{$fa-css-prefix}-xing-square:before { content: $fa-var-xing-square; } -.#{$fa-css-prefix}-youtube-play:before { content: $fa-var-youtube-play; } -.#{$fa-css-prefix}-dropbox:before { content: $fa-var-dropbox; } -.#{$fa-css-prefix}-stack-overflow:before { content: $fa-var-stack-overflow; } -.#{$fa-css-prefix}-instagram:before { content: $fa-var-instagram; } -.#{$fa-css-prefix}-flickr:before { content: $fa-var-flickr; } -.#{$fa-css-prefix}-adn:before { content: $fa-var-adn; } -.#{$fa-css-prefix}-bitbucket:before { content: $fa-var-bitbucket; } -.#{$fa-css-prefix}-bitbucket-square:before { content: $fa-var-bitbucket-square; } -.#{$fa-css-prefix}-tumblr:before { content: $fa-var-tumblr; } -.#{$fa-css-prefix}-tumblr-square:before { content: $fa-var-tumblr-square; } -.#{$fa-css-prefix}-long-arrow-down:before { content: $fa-var-long-arrow-down; } -.#{$fa-css-prefix}-long-arrow-up:before { content: $fa-var-long-arrow-up; } -.#{$fa-css-prefix}-long-arrow-left:before { content: $fa-var-long-arrow-left; } -.#{$fa-css-prefix}-long-arrow-right:before { content: $fa-var-long-arrow-right; } -.#{$fa-css-prefix}-apple:before { content: $fa-var-apple; } -.#{$fa-css-prefix}-windows:before { content: $fa-var-windows; } -.#{$fa-css-prefix}-android:before { content: $fa-var-android; } -.#{$fa-css-prefix}-linux:before { content: $fa-var-linux; } -.#{$fa-css-prefix}-dribbble:before { content: $fa-var-dribbble; } -.#{$fa-css-prefix}-skype:before { content: $fa-var-skype; } -.#{$fa-css-prefix}-foursquare:before { content: $fa-var-foursquare; } -.#{$fa-css-prefix}-trello:before { content: $fa-var-trello; } -.#{$fa-css-prefix}-female:before { content: $fa-var-female; } -.#{$fa-css-prefix}-male:before { content: $fa-var-male; } -.#{$fa-css-prefix}-gittip:before, -.#{$fa-css-prefix}-gratipay:before { content: $fa-var-gratipay; } -.#{$fa-css-prefix}-sun-o:before { content: $fa-var-sun-o; } -.#{$fa-css-prefix}-moon-o:before { content: $fa-var-moon-o; } -.#{$fa-css-prefix}-archive:before { content: $fa-var-archive; } -.#{$fa-css-prefix}-bug:before { content: $fa-var-bug; } -.#{$fa-css-prefix}-vk:before { content: $fa-var-vk; } -.#{$fa-css-prefix}-weibo:before { content: $fa-var-weibo; } -.#{$fa-css-prefix}-renren:before { content: $fa-var-renren; } -.#{$fa-css-prefix}-pagelines:before { content: $fa-var-pagelines; } -.#{$fa-css-prefix}-stack-exchange:before { content: $fa-var-stack-exchange; } -.#{$fa-css-prefix}-arrow-circle-o-right:before { content: $fa-var-arrow-circle-o-right; } -.#{$fa-css-prefix}-arrow-circle-o-left:before { content: $fa-var-arrow-circle-o-left; } -.#{$fa-css-prefix}-toggle-left:before, -.#{$fa-css-prefix}-caret-square-o-left:before { content: $fa-var-caret-square-o-left; } -.#{$fa-css-prefix}-dot-circle-o:before { content: $fa-var-dot-circle-o; } -.#{$fa-css-prefix}-wheelchair:before { content: $fa-var-wheelchair; } -.#{$fa-css-prefix}-vimeo-square:before { content: $fa-var-vimeo-square; } -.#{$fa-css-prefix}-turkish-lira:before, -.#{$fa-css-prefix}-try:before { content: $fa-var-try; } -.#{$fa-css-prefix}-plus-square-o:before { content: $fa-var-plus-square-o; } -.#{$fa-css-prefix}-space-shuttle:before { content: $fa-var-space-shuttle; } -.#{$fa-css-prefix}-slack:before { content: $fa-var-slack; } -.#{$fa-css-prefix}-envelope-square:before { content: $fa-var-envelope-square; } -.#{$fa-css-prefix}-wordpress:before { content: $fa-var-wordpress; } -.#{$fa-css-prefix}-openid:before { content: $fa-var-openid; } -.#{$fa-css-prefix}-institution:before, -.#{$fa-css-prefix}-bank:before, -.#{$fa-css-prefix}-university:before { content: $fa-var-university; } -.#{$fa-css-prefix}-mortar-board:before, -.#{$fa-css-prefix}-graduation-cap:before { content: $fa-var-graduation-cap; } -.#{$fa-css-prefix}-yahoo:before { content: $fa-var-yahoo; } -.#{$fa-css-prefix}-google:before { content: $fa-var-google; } -.#{$fa-css-prefix}-reddit:before { content: $fa-var-reddit; } -.#{$fa-css-prefix}-reddit-square:before { content: $fa-var-reddit-square; } -.#{$fa-css-prefix}-stumbleupon-circle:before { content: $fa-var-stumbleupon-circle; } -.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; } -.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; } -.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; } -.#{$fa-css-prefix}-pied-piper-pp:before { content: $fa-var-pied-piper-pp; } -.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; } -.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; } -.#{$fa-css-prefix}-joomla:before { content: $fa-var-joomla; } -.#{$fa-css-prefix}-language:before { content: $fa-var-language; } -.#{$fa-css-prefix}-fax:before { content: $fa-var-fax; } -.#{$fa-css-prefix}-building:before { content: $fa-var-building; } -.#{$fa-css-prefix}-child:before { content: $fa-var-child; } -.#{$fa-css-prefix}-paw:before { content: $fa-var-paw; } -.#{$fa-css-prefix}-spoon:before { content: $fa-var-spoon; } -.#{$fa-css-prefix}-cube:before { content: $fa-var-cube; } -.#{$fa-css-prefix}-cubes:before { content: $fa-var-cubes; } -.#{$fa-css-prefix}-behance:before { content: $fa-var-behance; } -.#{$fa-css-prefix}-behance-square:before { content: $fa-var-behance-square; } -.#{$fa-css-prefix}-steam:before { content: $fa-var-steam; } -.#{$fa-css-prefix}-steam-square:before { content: $fa-var-steam-square; } -.#{$fa-css-prefix}-recycle:before { content: $fa-var-recycle; } -.#{$fa-css-prefix}-automobile:before, -.#{$fa-css-prefix}-car:before { content: $fa-var-car; } -.#{$fa-css-prefix}-cab:before, -.#{$fa-css-prefix}-taxi:before { content: $fa-var-taxi; } -.#{$fa-css-prefix}-tree:before { content: $fa-var-tree; } -.#{$fa-css-prefix}-spotify:before { content: $fa-var-spotify; } -.#{$fa-css-prefix}-deviantart:before { content: $fa-var-deviantart; } -.#{$fa-css-prefix}-soundcloud:before { content: $fa-var-soundcloud; } -.#{$fa-css-prefix}-database:before { content: $fa-var-database; } -.#{$fa-css-prefix}-file-pdf-o:before { content: $fa-var-file-pdf-o; } -.#{$fa-css-prefix}-file-word-o:before { content: $fa-var-file-word-o; } -.#{$fa-css-prefix}-file-excel-o:before { content: $fa-var-file-excel-o; } -.#{$fa-css-prefix}-file-powerpoint-o:before { content: $fa-var-file-powerpoint-o; } -.#{$fa-css-prefix}-file-photo-o:before, -.#{$fa-css-prefix}-file-picture-o:before, -.#{$fa-css-prefix}-file-image-o:before { content: $fa-var-file-image-o; } -.#{$fa-css-prefix}-file-zip-o:before, -.#{$fa-css-prefix}-file-archive-o:before { content: $fa-var-file-archive-o; } -.#{$fa-css-prefix}-file-sound-o:before, -.#{$fa-css-prefix}-file-audio-o:before { content: $fa-var-file-audio-o; } -.#{$fa-css-prefix}-file-movie-o:before, -.#{$fa-css-prefix}-file-video-o:before { content: $fa-var-file-video-o; } -.#{$fa-css-prefix}-file-code-o:before { content: $fa-var-file-code-o; } -.#{$fa-css-prefix}-vine:before { content: $fa-var-vine; } -.#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; } -.#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; } -.#{$fa-css-prefix}-life-bouy:before, -.#{$fa-css-prefix}-life-buoy:before, -.#{$fa-css-prefix}-life-saver:before, -.#{$fa-css-prefix}-support:before, -.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; } -.#{$fa-css-prefix}-circle-o-notch:before { content: $fa-var-circle-o-notch; } -.#{$fa-css-prefix}-ra:before, -.#{$fa-css-prefix}-resistance:before, -.#{$fa-css-prefix}-rebel:before { content: $fa-var-rebel; } -.#{$fa-css-prefix}-ge:before, -.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; } -.#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; } -.#{$fa-css-prefix}-git:before { content: $fa-var-git; } -.#{$fa-css-prefix}-y-combinator-square:before, -.#{$fa-css-prefix}-yc-square:before, -.#{$fa-css-prefix}-hacker-news:before { content: $fa-var-hacker-news; } -.#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; } -.#{$fa-css-prefix}-qq:before { content: $fa-var-qq; } -.#{$fa-css-prefix}-wechat:before, -.#{$fa-css-prefix}-weixin:before { content: $fa-var-weixin; } -.#{$fa-css-prefix}-send:before, -.#{$fa-css-prefix}-paper-plane:before { content: $fa-var-paper-plane; } -.#{$fa-css-prefix}-send-o:before, -.#{$fa-css-prefix}-paper-plane-o:before { content: $fa-var-paper-plane-o; } -.#{$fa-css-prefix}-history:before { content: $fa-var-history; } -.#{$fa-css-prefix}-circle-thin:before { content: $fa-var-circle-thin; } -.#{$fa-css-prefix}-header:before { content: $fa-var-header; } -.#{$fa-css-prefix}-paragraph:before { content: $fa-var-paragraph; } -.#{$fa-css-prefix}-sliders:before { content: $fa-var-sliders; } -.#{$fa-css-prefix}-share-alt:before { content: $fa-var-share-alt; } -.#{$fa-css-prefix}-share-alt-square:before { content: $fa-var-share-alt-square; } -.#{$fa-css-prefix}-bomb:before { content: $fa-var-bomb; } -.#{$fa-css-prefix}-soccer-ball-o:before, -.#{$fa-css-prefix}-futbol-o:before { content: $fa-var-futbol-o; } -.#{$fa-css-prefix}-tty:before { content: $fa-var-tty; } -.#{$fa-css-prefix}-binoculars:before { content: $fa-var-binoculars; } -.#{$fa-css-prefix}-plug:before { content: $fa-var-plug; } -.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; } -.#{$fa-css-prefix}-twitch:before { content: $fa-var-twitch; } -.#{$fa-css-prefix}-yelp:before { content: $fa-var-yelp; } -.#{$fa-css-prefix}-newspaper-o:before { content: $fa-var-newspaper-o; } -.#{$fa-css-prefix}-wifi:before { content: $fa-var-wifi; } -.#{$fa-css-prefix}-calculator:before { content: $fa-var-calculator; } -.#{$fa-css-prefix}-paypal:before { content: $fa-var-paypal; } -.#{$fa-css-prefix}-google-wallet:before { content: $fa-var-google-wallet; } -.#{$fa-css-prefix}-cc-visa:before { content: $fa-var-cc-visa; } -.#{$fa-css-prefix}-cc-mastercard:before { content: $fa-var-cc-mastercard; } -.#{$fa-css-prefix}-cc-discover:before { content: $fa-var-cc-discover; } -.#{$fa-css-prefix}-cc-amex:before { content: $fa-var-cc-amex; } -.#{$fa-css-prefix}-cc-paypal:before { content: $fa-var-cc-paypal; } -.#{$fa-css-prefix}-cc-stripe:before { content: $fa-var-cc-stripe; } -.#{$fa-css-prefix}-bell-slash:before { content: $fa-var-bell-slash; } -.#{$fa-css-prefix}-bell-slash-o:before { content: $fa-var-bell-slash-o; } -.#{$fa-css-prefix}-trash:before { content: $fa-var-trash; } -.#{$fa-css-prefix}-copyright:before { content: $fa-var-copyright; } -.#{$fa-css-prefix}-at:before { content: $fa-var-at; } -.#{$fa-css-prefix}-eyedropper:before { content: $fa-var-eyedropper; } -.#{$fa-css-prefix}-paint-brush:before { content: $fa-var-paint-brush; } -.#{$fa-css-prefix}-birthday-cake:before { content: $fa-var-birthday-cake; } -.#{$fa-css-prefix}-area-chart:before { content: $fa-var-area-chart; } -.#{$fa-css-prefix}-pie-chart:before { content: $fa-var-pie-chart; } -.#{$fa-css-prefix}-line-chart:before { content: $fa-var-line-chart; } -.#{$fa-css-prefix}-lastfm:before { content: $fa-var-lastfm; } -.#{$fa-css-prefix}-lastfm-square:before { content: $fa-var-lastfm-square; } -.#{$fa-css-prefix}-toggle-off:before { content: $fa-var-toggle-off; } -.#{$fa-css-prefix}-toggle-on:before { content: $fa-var-toggle-on; } -.#{$fa-css-prefix}-bicycle:before { content: $fa-var-bicycle; } -.#{$fa-css-prefix}-bus:before { content: $fa-var-bus; } -.#{$fa-css-prefix}-ioxhost:before { content: $fa-var-ioxhost; } -.#{$fa-css-prefix}-angellist:before { content: $fa-var-angellist; } -.#{$fa-css-prefix}-cc:before { content: $fa-var-cc; } -.#{$fa-css-prefix}-shekel:before, -.#{$fa-css-prefix}-sheqel:before, -.#{$fa-css-prefix}-ils:before { content: $fa-var-ils; } -.#{$fa-css-prefix}-meanpath:before { content: $fa-var-meanpath; } -.#{$fa-css-prefix}-buysellads:before { content: $fa-var-buysellads; } -.#{$fa-css-prefix}-connectdevelop:before { content: $fa-var-connectdevelop; } -.#{$fa-css-prefix}-dashcube:before { content: $fa-var-dashcube; } -.#{$fa-css-prefix}-forumbee:before { content: $fa-var-forumbee; } -.#{$fa-css-prefix}-leanpub:before { content: $fa-var-leanpub; } -.#{$fa-css-prefix}-sellsy:before { content: $fa-var-sellsy; } -.#{$fa-css-prefix}-shirtsinbulk:before { content: $fa-var-shirtsinbulk; } -.#{$fa-css-prefix}-simplybuilt:before { content: $fa-var-simplybuilt; } -.#{$fa-css-prefix}-skyatlas:before { content: $fa-var-skyatlas; } -.#{$fa-css-prefix}-cart-plus:before { content: $fa-var-cart-plus; } -.#{$fa-css-prefix}-cart-arrow-down:before { content: $fa-var-cart-arrow-down; } -.#{$fa-css-prefix}-diamond:before { content: $fa-var-diamond; } -.#{$fa-css-prefix}-ship:before { content: $fa-var-ship; } -.#{$fa-css-prefix}-user-secret:before { content: $fa-var-user-secret; } -.#{$fa-css-prefix}-motorcycle:before { content: $fa-var-motorcycle; } -.#{$fa-css-prefix}-street-view:before { content: $fa-var-street-view; } -.#{$fa-css-prefix}-heartbeat:before { content: $fa-var-heartbeat; } -.#{$fa-css-prefix}-venus:before { content: $fa-var-venus; } -.#{$fa-css-prefix}-mars:before { content: $fa-var-mars; } -.#{$fa-css-prefix}-mercury:before { content: $fa-var-mercury; } -.#{$fa-css-prefix}-intersex:before, -.#{$fa-css-prefix}-transgender:before { content: $fa-var-transgender; } -.#{$fa-css-prefix}-transgender-alt:before { content: $fa-var-transgender-alt; } -.#{$fa-css-prefix}-venus-double:before { content: $fa-var-venus-double; } -.#{$fa-css-prefix}-mars-double:before { content: $fa-var-mars-double; } -.#{$fa-css-prefix}-venus-mars:before { content: $fa-var-venus-mars; } -.#{$fa-css-prefix}-mars-stroke:before { content: $fa-var-mars-stroke; } -.#{$fa-css-prefix}-mars-stroke-v:before { content: $fa-var-mars-stroke-v; } -.#{$fa-css-prefix}-mars-stroke-h:before { content: $fa-var-mars-stroke-h; } -.#{$fa-css-prefix}-neuter:before { content: $fa-var-neuter; } -.#{$fa-css-prefix}-genderless:before { content: $fa-var-genderless; } -.#{$fa-css-prefix}-facebook-official:before { content: $fa-var-facebook-official; } -.#{$fa-css-prefix}-pinterest-p:before { content: $fa-var-pinterest-p; } -.#{$fa-css-prefix}-whatsapp:before { content: $fa-var-whatsapp; } -.#{$fa-css-prefix}-server:before { content: $fa-var-server; } -.#{$fa-css-prefix}-user-plus:before { content: $fa-var-user-plus; } -.#{$fa-css-prefix}-user-times:before { content: $fa-var-user-times; } -.#{$fa-css-prefix}-hotel:before, -.#{$fa-css-prefix}-bed:before { content: $fa-var-bed; } -.#{$fa-css-prefix}-viacoin:before { content: $fa-var-viacoin; } -.#{$fa-css-prefix}-train:before { content: $fa-var-train; } -.#{$fa-css-prefix}-subway:before { content: $fa-var-subway; } -.#{$fa-css-prefix}-medium:before { content: $fa-var-medium; } -.#{$fa-css-prefix}-yc:before, -.#{$fa-css-prefix}-y-combinator:before { content: $fa-var-y-combinator; } -.#{$fa-css-prefix}-optin-monster:before { content: $fa-var-optin-monster; } -.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; } -.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; } -.#{$fa-css-prefix}-battery-4:before, -.#{$fa-css-prefix}-battery:before, -.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; } -.#{$fa-css-prefix}-battery-3:before, -.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; } -.#{$fa-css-prefix}-battery-2:before, -.#{$fa-css-prefix}-battery-half:before { content: $fa-var-battery-half; } -.#{$fa-css-prefix}-battery-1:before, -.#{$fa-css-prefix}-battery-quarter:before { content: $fa-var-battery-quarter; } -.#{$fa-css-prefix}-battery-0:before, -.#{$fa-css-prefix}-battery-empty:before { content: $fa-var-battery-empty; } -.#{$fa-css-prefix}-mouse-pointer:before { content: $fa-var-mouse-pointer; } -.#{$fa-css-prefix}-i-cursor:before { content: $fa-var-i-cursor; } -.#{$fa-css-prefix}-object-group:before { content: $fa-var-object-group; } -.#{$fa-css-prefix}-object-ungroup:before { content: $fa-var-object-ungroup; } -.#{$fa-css-prefix}-sticky-note:before { content: $fa-var-sticky-note; } -.#{$fa-css-prefix}-sticky-note-o:before { content: $fa-var-sticky-note-o; } -.#{$fa-css-prefix}-cc-jcb:before { content: $fa-var-cc-jcb; } -.#{$fa-css-prefix}-cc-diners-club:before { content: $fa-var-cc-diners-club; } -.#{$fa-css-prefix}-clone:before { content: $fa-var-clone; } -.#{$fa-css-prefix}-balance-scale:before { content: $fa-var-balance-scale; } -.#{$fa-css-prefix}-hourglass-o:before { content: $fa-var-hourglass-o; } -.#{$fa-css-prefix}-hourglass-1:before, -.#{$fa-css-prefix}-hourglass-start:before { content: $fa-var-hourglass-start; } -.#{$fa-css-prefix}-hourglass-2:before, -.#{$fa-css-prefix}-hourglass-half:before { content: $fa-var-hourglass-half; } -.#{$fa-css-prefix}-hourglass-3:before, -.#{$fa-css-prefix}-hourglass-end:before { content: $fa-var-hourglass-end; } -.#{$fa-css-prefix}-hourglass:before { content: $fa-var-hourglass; } -.#{$fa-css-prefix}-hand-grab-o:before, -.#{$fa-css-prefix}-hand-rock-o:before { content: $fa-var-hand-rock-o; } -.#{$fa-css-prefix}-hand-stop-o:before, -.#{$fa-css-prefix}-hand-paper-o:before { content: $fa-var-hand-paper-o; } -.#{$fa-css-prefix}-hand-scissors-o:before { content: $fa-var-hand-scissors-o; } -.#{$fa-css-prefix}-hand-lizard-o:before { content: $fa-var-hand-lizard-o; } -.#{$fa-css-prefix}-hand-spock-o:before { content: $fa-var-hand-spock-o; } -.#{$fa-css-prefix}-hand-pointer-o:before { content: $fa-var-hand-pointer-o; } -.#{$fa-css-prefix}-hand-peace-o:before { content: $fa-var-hand-peace-o; } -.#{$fa-css-prefix}-trademark:before { content: $fa-var-trademark; } -.#{$fa-css-prefix}-registered:before { content: $fa-var-registered; } -.#{$fa-css-prefix}-creative-commons:before { content: $fa-var-creative-commons; } -.#{$fa-css-prefix}-gg:before { content: $fa-var-gg; } -.#{$fa-css-prefix}-gg-circle:before { content: $fa-var-gg-circle; } -.#{$fa-css-prefix}-tripadvisor:before { content: $fa-var-tripadvisor; } -.#{$fa-css-prefix}-odnoklassniki:before { content: $fa-var-odnoklassniki; } -.#{$fa-css-prefix}-odnoklassniki-square:before { content: $fa-var-odnoklassniki-square; } -.#{$fa-css-prefix}-get-pocket:before { content: $fa-var-get-pocket; } -.#{$fa-css-prefix}-wikipedia-w:before { content: $fa-var-wikipedia-w; } -.#{$fa-css-prefix}-safari:before { content: $fa-var-safari; } -.#{$fa-css-prefix}-chrome:before { content: $fa-var-chrome; } -.#{$fa-css-prefix}-firefox:before { content: $fa-var-firefox; } -.#{$fa-css-prefix}-opera:before { content: $fa-var-opera; } -.#{$fa-css-prefix}-internet-explorer:before { content: $fa-var-internet-explorer; } -.#{$fa-css-prefix}-tv:before, -.#{$fa-css-prefix}-television:before { content: $fa-var-television; } -.#{$fa-css-prefix}-contao:before { content: $fa-var-contao; } -.#{$fa-css-prefix}-500px:before { content: $fa-var-500px; } -.#{$fa-css-prefix}-amazon:before { content: $fa-var-amazon; } -.#{$fa-css-prefix}-calendar-plus-o:before { content: $fa-var-calendar-plus-o; } -.#{$fa-css-prefix}-calendar-minus-o:before { content: $fa-var-calendar-minus-o; } -.#{$fa-css-prefix}-calendar-times-o:before { content: $fa-var-calendar-times-o; } -.#{$fa-css-prefix}-calendar-check-o:before { content: $fa-var-calendar-check-o; } -.#{$fa-css-prefix}-industry:before { content: $fa-var-industry; } -.#{$fa-css-prefix}-map-pin:before { content: $fa-var-map-pin; } -.#{$fa-css-prefix}-map-signs:before { content: $fa-var-map-signs; } -.#{$fa-css-prefix}-map-o:before { content: $fa-var-map-o; } -.#{$fa-css-prefix}-map:before { content: $fa-var-map; } -.#{$fa-css-prefix}-commenting:before { content: $fa-var-commenting; } -.#{$fa-css-prefix}-commenting-o:before { content: $fa-var-commenting-o; } -.#{$fa-css-prefix}-houzz:before { content: $fa-var-houzz; } -.#{$fa-css-prefix}-vimeo:before { content: $fa-var-vimeo; } -.#{$fa-css-prefix}-black-tie:before { content: $fa-var-black-tie; } -.#{$fa-css-prefix}-fonticons:before { content: $fa-var-fonticons; } -.#{$fa-css-prefix}-reddit-alien:before { content: $fa-var-reddit-alien; } -.#{$fa-css-prefix}-edge:before { content: $fa-var-edge; } -.#{$fa-css-prefix}-credit-card-alt:before { content: $fa-var-credit-card-alt; } -.#{$fa-css-prefix}-codiepie:before { content: $fa-var-codiepie; } -.#{$fa-css-prefix}-modx:before { content: $fa-var-modx; } -.#{$fa-css-prefix}-fort-awesome:before { content: $fa-var-fort-awesome; } -.#{$fa-css-prefix}-usb:before { content: $fa-var-usb; } -.#{$fa-css-prefix}-product-hunt:before { content: $fa-var-product-hunt; } -.#{$fa-css-prefix}-mixcloud:before { content: $fa-var-mixcloud; } -.#{$fa-css-prefix}-scribd:before { content: $fa-var-scribd; } -.#{$fa-css-prefix}-pause-circle:before { content: $fa-var-pause-circle; } -.#{$fa-css-prefix}-pause-circle-o:before { content: $fa-var-pause-circle-o; } -.#{$fa-css-prefix}-stop-circle:before { content: $fa-var-stop-circle; } -.#{$fa-css-prefix}-stop-circle-o:before { content: $fa-var-stop-circle-o; } -.#{$fa-css-prefix}-shopping-bag:before { content: $fa-var-shopping-bag; } -.#{$fa-css-prefix}-shopping-basket:before { content: $fa-var-shopping-basket; } -.#{$fa-css-prefix}-hashtag:before { content: $fa-var-hashtag; } -.#{$fa-css-prefix}-bluetooth:before { content: $fa-var-bluetooth; } -.#{$fa-css-prefix}-bluetooth-b:before { content: $fa-var-bluetooth-b; } -.#{$fa-css-prefix}-percent:before { content: $fa-var-percent; } -.#{$fa-css-prefix}-gitlab:before { content: $fa-var-gitlab; } -.#{$fa-css-prefix}-wpbeginner:before { content: $fa-var-wpbeginner; } -.#{$fa-css-prefix}-wpforms:before { content: $fa-var-wpforms; } -.#{$fa-css-prefix}-envira:before { content: $fa-var-envira; } -.#{$fa-css-prefix}-universal-access:before { content: $fa-var-universal-access; } -.#{$fa-css-prefix}-wheelchair-alt:before { content: $fa-var-wheelchair-alt; } -.#{$fa-css-prefix}-question-circle-o:before { content: $fa-var-question-circle-o; } -.#{$fa-css-prefix}-blind:before { content: $fa-var-blind; } -.#{$fa-css-prefix}-audio-description:before { content: $fa-var-audio-description; } -.#{$fa-css-prefix}-volume-control-phone:before { content: $fa-var-volume-control-phone; } -.#{$fa-css-prefix}-braille:before { content: $fa-var-braille; } -.#{$fa-css-prefix}-assistive-listening-systems:before { content: $fa-var-assistive-listening-systems; } -.#{$fa-css-prefix}-asl-interpreting:before, -.#{$fa-css-prefix}-american-sign-language-interpreting:before { content: $fa-var-american-sign-language-interpreting; } -.#{$fa-css-prefix}-deafness:before, -.#{$fa-css-prefix}-hard-of-hearing:before, -.#{$fa-css-prefix}-deaf:before { content: $fa-var-deaf; } -.#{$fa-css-prefix}-glide:before { content: $fa-var-glide; } -.#{$fa-css-prefix}-glide-g:before { content: $fa-var-glide-g; } -.#{$fa-css-prefix}-signing:before, -.#{$fa-css-prefix}-sign-language:before { content: $fa-var-sign-language; } -.#{$fa-css-prefix}-low-vision:before { content: $fa-var-low-vision; } -.#{$fa-css-prefix}-viadeo:before { content: $fa-var-viadeo; } -.#{$fa-css-prefix}-viadeo-square:before { content: $fa-var-viadeo-square; } -.#{$fa-css-prefix}-snapchat:before { content: $fa-var-snapchat; } -.#{$fa-css-prefix}-snapchat-ghost:before { content: $fa-var-snapchat-ghost; } -.#{$fa-css-prefix}-snapchat-square:before { content: $fa-var-snapchat-square; } -.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; } -.#{$fa-css-prefix}-first-order:before { content: $fa-var-first-order; } -.#{$fa-css-prefix}-yoast:before { content: $fa-var-yoast; } -.#{$fa-css-prefix}-themeisle:before { content: $fa-var-themeisle; } -.#{$fa-css-prefix}-google-plus-circle:before, -.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; } -.#{$fa-css-prefix}-fa:before, -.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; } -.#{$fa-css-prefix}-handshake-o:before { content: $fa-var-handshake-o; } -.#{$fa-css-prefix}-envelope-open:before { content: $fa-var-envelope-open; } -.#{$fa-css-prefix}-envelope-open-o:before { content: $fa-var-envelope-open-o; } -.#{$fa-css-prefix}-linode:before { content: $fa-var-linode; } -.#{$fa-css-prefix}-address-book:before { content: $fa-var-address-book; } -.#{$fa-css-prefix}-address-book-o:before { content: $fa-var-address-book-o; } -.#{$fa-css-prefix}-vcard:before, -.#{$fa-css-prefix}-address-card:before { content: $fa-var-address-card; } -.#{$fa-css-prefix}-vcard-o:before, -.#{$fa-css-prefix}-address-card-o:before { content: $fa-var-address-card-o; } -.#{$fa-css-prefix}-user-circle:before { content: $fa-var-user-circle; } -.#{$fa-css-prefix}-user-circle-o:before { content: $fa-var-user-circle-o; } -.#{$fa-css-prefix}-user-o:before { content: $fa-var-user-o; } -.#{$fa-css-prefix}-id-badge:before { content: $fa-var-id-badge; } -.#{$fa-css-prefix}-drivers-license:before, -.#{$fa-css-prefix}-id-card:before { content: $fa-var-id-card; } -.#{$fa-css-prefix}-drivers-license-o:before, -.#{$fa-css-prefix}-id-card-o:before { content: $fa-var-id-card-o; } -.#{$fa-css-prefix}-quora:before { content: $fa-var-quora; } -.#{$fa-css-prefix}-free-code-camp:before { content: $fa-var-free-code-camp; } -.#{$fa-css-prefix}-telegram:before { content: $fa-var-telegram; } -.#{$fa-css-prefix}-thermometer-4:before, -.#{$fa-css-prefix}-thermometer:before, -.#{$fa-css-prefix}-thermometer-full:before { content: $fa-var-thermometer-full; } -.#{$fa-css-prefix}-thermometer-3:before, -.#{$fa-css-prefix}-thermometer-three-quarters:before { content: $fa-var-thermometer-three-quarters; } -.#{$fa-css-prefix}-thermometer-2:before, -.#{$fa-css-prefix}-thermometer-half:before { content: $fa-var-thermometer-half; } -.#{$fa-css-prefix}-thermometer-1:before, -.#{$fa-css-prefix}-thermometer-quarter:before { content: $fa-var-thermometer-quarter; } -.#{$fa-css-prefix}-thermometer-0:before, -.#{$fa-css-prefix}-thermometer-empty:before { content: $fa-var-thermometer-empty; } -.#{$fa-css-prefix}-shower:before { content: $fa-var-shower; } -.#{$fa-css-prefix}-bathtub:before, -.#{$fa-css-prefix}-s15:before, -.#{$fa-css-prefix}-bath:before { content: $fa-var-bath; } -.#{$fa-css-prefix}-podcast:before { content: $fa-var-podcast; } -.#{$fa-css-prefix}-window-maximize:before { content: $fa-var-window-maximize; } -.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; } -.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; } -.#{$fa-css-prefix}-times-rectangle:before, -.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; } -.#{$fa-css-prefix}-times-rectangle-o:before, -.#{$fa-css-prefix}-window-close-o:before { content: $fa-var-window-close-o; } -.#{$fa-css-prefix}-bandcamp:before { content: $fa-var-bandcamp; } -.#{$fa-css-prefix}-grav:before { content: $fa-var-grav; } -.#{$fa-css-prefix}-etsy:before { content: $fa-var-etsy; } -.#{$fa-css-prefix}-imdb:before { content: $fa-var-imdb; } -.#{$fa-css-prefix}-ravelry:before { content: $fa-var-ravelry; } -.#{$fa-css-prefix}-eercast:before { content: $fa-var-eercast; } -.#{$fa-css-prefix}-microchip:before { content: $fa-var-microchip; } -.#{$fa-css-prefix}-snowflake-o:before { content: $fa-var-snowflake-o; } -.#{$fa-css-prefix}-superpowers:before { content: $fa-var-superpowers; } -.#{$fa-css-prefix}-wpexplorer:before { content: $fa-var-wpexplorer; } -.#{$fa-css-prefix}-meetup:before { content: $fa-var-meetup; } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_larger.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_larger.scss deleted file mode 100644 index 41e9a81..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_larger.scss +++ /dev/null @@ -1,13 +0,0 @@ -// Icon Sizes -// ------------------------- - -/* makes the font 33% larger relative to the icon container */ -.#{$fa-css-prefix}-lg { - font-size: (4em / 3); - line-height: (3em / 4); - vertical-align: -15%; -} -.#{$fa-css-prefix}-2x { font-size: 2em; } -.#{$fa-css-prefix}-3x { font-size: 3em; } -.#{$fa-css-prefix}-4x { font-size: 4em; } -.#{$fa-css-prefix}-5x { font-size: 5em; } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_list.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_list.scss deleted file mode 100644 index 7d1e4d5..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_list.scss +++ /dev/null @@ -1,19 +0,0 @@ -// List Icons -// ------------------------- - -.#{$fa-css-prefix}-ul { - padding-left: 0; - margin-left: $fa-li-width; - list-style-type: none; - > li { position: relative; } -} -.#{$fa-css-prefix}-li { - position: absolute; - left: -$fa-li-width; - width: $fa-li-width; - top: (2em / 14); - text-align: center; - &.#{$fa-css-prefix}-lg { - left: -$fa-li-width + (4em / 14); - } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_mixins.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_mixins.scss deleted file mode 100644 index c3bbd57..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_mixins.scss +++ /dev/null @@ -1,60 +0,0 @@ -// Mixins -// -------------------------- - -@mixin fa-icon() { - display: inline-block; - font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration - font-size: inherit; // can't have font-size inherit on line above, so need to override - text-rendering: auto; // optimizelegibility throws things off #1094 - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -} - -@mixin fa-icon-rotate($degrees, $rotation) { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})"; - -webkit-transform: rotate($degrees); - -ms-transform: rotate($degrees); - transform: rotate($degrees); -} - -@mixin fa-icon-flip($horiz, $vert, $rotation) { - -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)"; - -webkit-transform: scale($horiz, $vert); - -ms-transform: scale($horiz, $vert); - transform: scale($horiz, $vert); -} - - -// Only display content to screen readers. A la Bootstrap 4. -// -// See: http://a11yproject.com/posts/how-to-hide-content/ - -@mixin sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0,0,0,0); - border: 0; -} - -// Use in conjunction with .sr-only to only display content when it's focused. -// -// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 -// -// Credit: HTML5 Boilerplate - -@mixin sr-only-focusable { - &:active, - &:focus { - position: static; - width: auto; - height: auto; - margin: 0; - overflow: visible; - clip: auto; - } -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_path.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_path.scss deleted file mode 100644 index bb457c2..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_path.scss +++ /dev/null @@ -1,15 +0,0 @@ -/* FONT PATH - * -------------------------- */ - -@font-face { - font-family: 'FontAwesome'; - src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); - src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), - url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), - url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), - url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), - url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); -// src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts - font-weight: normal; - font-style: normal; -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_rotated-flipped.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_rotated-flipped.scss deleted file mode 100644 index a3558fd..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_rotated-flipped.scss +++ /dev/null @@ -1,20 +0,0 @@ -// Rotated & Flipped Icons -// ------------------------- - -.#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } -.#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } -.#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } - -.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } -.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } - -// Hook for IE8-9 -// ------------------------- - -:root .#{$fa-css-prefix}-rotate-90, -:root .#{$fa-css-prefix}-rotate-180, -:root .#{$fa-css-prefix}-rotate-270, -:root .#{$fa-css-prefix}-flip-horizontal, -:root .#{$fa-css-prefix}-flip-vertical { - filter: none; -} diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_screen-reader.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_screen-reader.scss deleted file mode 100644 index 637426f..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_screen-reader.scss +++ /dev/null @@ -1,5 +0,0 @@ -// Screen Readers -// ------------------------- - -.sr-only { @include sr-only(); } -.sr-only-focusable { @include sr-only-focusable(); } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_stacked.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_stacked.scss deleted file mode 100644 index aef7403..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_stacked.scss +++ /dev/null @@ -1,20 +0,0 @@ -// Stacked Icons -// ------------------------- - -.#{$fa-css-prefix}-stack { - position: relative; - display: inline-block; - width: 2em; - height: 2em; - line-height: 2em; - vertical-align: middle; -} -.#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { - position: absolute; - left: 0; - width: 100%; - text-align: center; -} -.#{$fa-css-prefix}-stack-1x { line-height: inherit; } -.#{$fa-css-prefix}-stack-2x { font-size: 2em; } -.#{$fa-css-prefix}-inverse { color: $fa-inverse; } diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_variables.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_variables.scss deleted file mode 100644 index 498fc4a..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/_variables.scss +++ /dev/null @@ -1,800 +0,0 @@ -// Variables -// -------------------------- - -$fa-font-path: "../fonts" !default; -$fa-font-size-base: 14px !default; -$fa-line-height-base: 1 !default; -//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly -$fa-css-prefix: fa !default; -$fa-version: "4.7.0" !default; -$fa-border-color: #eee !default; -$fa-inverse: #fff !default; -$fa-li-width: (30em / 14) !default; - -$fa-var-500px: "\f26e"; -$fa-var-address-book: "\f2b9"; -$fa-var-address-book-o: "\f2ba"; -$fa-var-address-card: "\f2bb"; -$fa-var-address-card-o: "\f2bc"; -$fa-var-adjust: "\f042"; -$fa-var-adn: "\f170"; -$fa-var-align-center: "\f037"; -$fa-var-align-justify: "\f039"; -$fa-var-align-left: "\f036"; -$fa-var-align-right: "\f038"; -$fa-var-amazon: "\f270"; -$fa-var-ambulance: "\f0f9"; -$fa-var-american-sign-language-interpreting: "\f2a3"; -$fa-var-anchor: "\f13d"; -$fa-var-android: "\f17b"; -$fa-var-angellist: "\f209"; -$fa-var-angle-double-down: "\f103"; -$fa-var-angle-double-left: "\f100"; -$fa-var-angle-double-right: "\f101"; -$fa-var-angle-double-up: "\f102"; -$fa-var-angle-down: "\f107"; -$fa-var-angle-left: "\f104"; -$fa-var-angle-right: "\f105"; -$fa-var-angle-up: "\f106"; -$fa-var-apple: "\f179"; -$fa-var-archive: "\f187"; -$fa-var-area-chart: "\f1fe"; -$fa-var-arrow-circle-down: "\f0ab"; -$fa-var-arrow-circle-left: "\f0a8"; -$fa-var-arrow-circle-o-down: "\f01a"; -$fa-var-arrow-circle-o-left: "\f190"; -$fa-var-arrow-circle-o-right: "\f18e"; -$fa-var-arrow-circle-o-up: "\f01b"; -$fa-var-arrow-circle-right: "\f0a9"; -$fa-var-arrow-circle-up: "\f0aa"; -$fa-var-arrow-down: "\f063"; -$fa-var-arrow-left: "\f060"; -$fa-var-arrow-right: "\f061"; -$fa-var-arrow-up: "\f062"; -$fa-var-arrows: "\f047"; -$fa-var-arrows-alt: "\f0b2"; -$fa-var-arrows-h: "\f07e"; -$fa-var-arrows-v: "\f07d"; -$fa-var-asl-interpreting: "\f2a3"; -$fa-var-assistive-listening-systems: "\f2a2"; -$fa-var-asterisk: "\f069"; -$fa-var-at: "\f1fa"; -$fa-var-audio-description: "\f29e"; -$fa-var-automobile: "\f1b9"; -$fa-var-backward: "\f04a"; -$fa-var-balance-scale: "\f24e"; -$fa-var-ban: "\f05e"; -$fa-var-bandcamp: "\f2d5"; -$fa-var-bank: "\f19c"; -$fa-var-bar-chart: "\f080"; -$fa-var-bar-chart-o: "\f080"; -$fa-var-barcode: "\f02a"; -$fa-var-bars: "\f0c9"; -$fa-var-bath: "\f2cd"; -$fa-var-bathtub: "\f2cd"; -$fa-var-battery: "\f240"; -$fa-var-battery-0: "\f244"; -$fa-var-battery-1: "\f243"; -$fa-var-battery-2: "\f242"; -$fa-var-battery-3: "\f241"; -$fa-var-battery-4: "\f240"; -$fa-var-battery-empty: "\f244"; -$fa-var-battery-full: "\f240"; -$fa-var-battery-half: "\f242"; -$fa-var-battery-quarter: "\f243"; -$fa-var-battery-three-quarters: "\f241"; -$fa-var-bed: "\f236"; -$fa-var-beer: "\f0fc"; -$fa-var-behance: "\f1b4"; -$fa-var-behance-square: "\f1b5"; -$fa-var-bell: "\f0f3"; -$fa-var-bell-o: "\f0a2"; -$fa-var-bell-slash: "\f1f6"; -$fa-var-bell-slash-o: "\f1f7"; -$fa-var-bicycle: "\f206"; -$fa-var-binoculars: "\f1e5"; -$fa-var-birthday-cake: "\f1fd"; -$fa-var-bitbucket: "\f171"; -$fa-var-bitbucket-square: "\f172"; -$fa-var-bitcoin: "\f15a"; -$fa-var-black-tie: "\f27e"; -$fa-var-blind: "\f29d"; -$fa-var-bluetooth: "\f293"; -$fa-var-bluetooth-b: "\f294"; -$fa-var-bold: "\f032"; -$fa-var-bolt: "\f0e7"; -$fa-var-bomb: "\f1e2"; -$fa-var-book: "\f02d"; -$fa-var-bookmark: "\f02e"; -$fa-var-bookmark-o: "\f097"; -$fa-var-braille: "\f2a1"; -$fa-var-briefcase: "\f0b1"; -$fa-var-btc: "\f15a"; -$fa-var-bug: "\f188"; -$fa-var-building: "\f1ad"; -$fa-var-building-o: "\f0f7"; -$fa-var-bullhorn: "\f0a1"; -$fa-var-bullseye: "\f140"; -$fa-var-bus: "\f207"; -$fa-var-buysellads: "\f20d"; -$fa-var-cab: "\f1ba"; -$fa-var-calculator: "\f1ec"; -$fa-var-calendar: "\f073"; -$fa-var-calendar-check-o: "\f274"; -$fa-var-calendar-minus-o: "\f272"; -$fa-var-calendar-o: "\f133"; -$fa-var-calendar-plus-o: "\f271"; -$fa-var-calendar-times-o: "\f273"; -$fa-var-camera: "\f030"; -$fa-var-camera-retro: "\f083"; -$fa-var-car: "\f1b9"; -$fa-var-caret-down: "\f0d7"; -$fa-var-caret-left: "\f0d9"; -$fa-var-caret-right: "\f0da"; -$fa-var-caret-square-o-down: "\f150"; -$fa-var-caret-square-o-left: "\f191"; -$fa-var-caret-square-o-right: "\f152"; -$fa-var-caret-square-o-up: "\f151"; -$fa-var-caret-up: "\f0d8"; -$fa-var-cart-arrow-down: "\f218"; -$fa-var-cart-plus: "\f217"; -$fa-var-cc: "\f20a"; -$fa-var-cc-amex: "\f1f3"; -$fa-var-cc-diners-club: "\f24c"; -$fa-var-cc-discover: "\f1f2"; -$fa-var-cc-jcb: "\f24b"; -$fa-var-cc-mastercard: "\f1f1"; -$fa-var-cc-paypal: "\f1f4"; -$fa-var-cc-stripe: "\f1f5"; -$fa-var-cc-visa: "\f1f0"; -$fa-var-certificate: "\f0a3"; -$fa-var-chain: "\f0c1"; -$fa-var-chain-broken: "\f127"; -$fa-var-check: "\f00c"; -$fa-var-check-circle: "\f058"; -$fa-var-check-circle-o: "\f05d"; -$fa-var-check-square: "\f14a"; -$fa-var-check-square-o: "\f046"; -$fa-var-chevron-circle-down: "\f13a"; -$fa-var-chevron-circle-left: "\f137"; -$fa-var-chevron-circle-right: "\f138"; -$fa-var-chevron-circle-up: "\f139"; -$fa-var-chevron-down: "\f078"; -$fa-var-chevron-left: "\f053"; -$fa-var-chevron-right: "\f054"; -$fa-var-chevron-up: "\f077"; -$fa-var-child: "\f1ae"; -$fa-var-chrome: "\f268"; -$fa-var-circle: "\f111"; -$fa-var-circle-o: "\f10c"; -$fa-var-circle-o-notch: "\f1ce"; -$fa-var-circle-thin: "\f1db"; -$fa-var-clipboard: "\f0ea"; -$fa-var-clock-o: "\f017"; -$fa-var-clone: "\f24d"; -$fa-var-close: "\f00d"; -$fa-var-cloud: "\f0c2"; -$fa-var-cloud-download: "\f0ed"; -$fa-var-cloud-upload: "\f0ee"; -$fa-var-cny: "\f157"; -$fa-var-code: "\f121"; -$fa-var-code-fork: "\f126"; -$fa-var-codepen: "\f1cb"; -$fa-var-codiepie: "\f284"; -$fa-var-coffee: "\f0f4"; -$fa-var-cog: "\f013"; -$fa-var-cogs: "\f085"; -$fa-var-columns: "\f0db"; -$fa-var-comment: "\f075"; -$fa-var-comment-o: "\f0e5"; -$fa-var-commenting: "\f27a"; -$fa-var-commenting-o: "\f27b"; -$fa-var-comments: "\f086"; -$fa-var-comments-o: "\f0e6"; -$fa-var-compass: "\f14e"; -$fa-var-compress: "\f066"; -$fa-var-connectdevelop: "\f20e"; -$fa-var-contao: "\f26d"; -$fa-var-copy: "\f0c5"; -$fa-var-copyright: "\f1f9"; -$fa-var-creative-commons: "\f25e"; -$fa-var-credit-card: "\f09d"; -$fa-var-credit-card-alt: "\f283"; -$fa-var-crop: "\f125"; -$fa-var-crosshairs: "\f05b"; -$fa-var-css3: "\f13c"; -$fa-var-cube: "\f1b2"; -$fa-var-cubes: "\f1b3"; -$fa-var-cut: "\f0c4"; -$fa-var-cutlery: "\f0f5"; -$fa-var-dashboard: "\f0e4"; -$fa-var-dashcube: "\f210"; -$fa-var-database: "\f1c0"; -$fa-var-deaf: "\f2a4"; -$fa-var-deafness: "\f2a4"; -$fa-var-dedent: "\f03b"; -$fa-var-delicious: "\f1a5"; -$fa-var-desktop: "\f108"; -$fa-var-deviantart: "\f1bd"; -$fa-var-diamond: "\f219"; -$fa-var-digg: "\f1a6"; -$fa-var-dollar: "\f155"; -$fa-var-dot-circle-o: "\f192"; -$fa-var-download: "\f019"; -$fa-var-dribbble: "\f17d"; -$fa-var-drivers-license: "\f2c2"; -$fa-var-drivers-license-o: "\f2c3"; -$fa-var-dropbox: "\f16b"; -$fa-var-drupal: "\f1a9"; -$fa-var-edge: "\f282"; -$fa-var-edit: "\f044"; -$fa-var-eercast: "\f2da"; -$fa-var-eject: "\f052"; -$fa-var-ellipsis-h: "\f141"; -$fa-var-ellipsis-v: "\f142"; -$fa-var-empire: "\f1d1"; -$fa-var-envelope: "\f0e0"; -$fa-var-envelope-o: "\f003"; -$fa-var-envelope-open: "\f2b6"; -$fa-var-envelope-open-o: "\f2b7"; -$fa-var-envelope-square: "\f199"; -$fa-var-envira: "\f299"; -$fa-var-eraser: "\f12d"; -$fa-var-etsy: "\f2d7"; -$fa-var-eur: "\f153"; -$fa-var-euro: "\f153"; -$fa-var-exchange: "\f0ec"; -$fa-var-exclamation: "\f12a"; -$fa-var-exclamation-circle: "\f06a"; -$fa-var-exclamation-triangle: "\f071"; -$fa-var-expand: "\f065"; -$fa-var-expeditedssl: "\f23e"; -$fa-var-external-link: "\f08e"; -$fa-var-external-link-square: "\f14c"; -$fa-var-eye: "\f06e"; -$fa-var-eye-slash: "\f070"; -$fa-var-eyedropper: "\f1fb"; -$fa-var-fa: "\f2b4"; -$fa-var-facebook: "\f09a"; -$fa-var-facebook-f: "\f09a"; -$fa-var-facebook-official: "\f230"; -$fa-var-facebook-square: "\f082"; -$fa-var-fast-backward: "\f049"; -$fa-var-fast-forward: "\f050"; -$fa-var-fax: "\f1ac"; -$fa-var-feed: "\f09e"; -$fa-var-female: "\f182"; -$fa-var-fighter-jet: "\f0fb"; -$fa-var-file: "\f15b"; -$fa-var-file-archive-o: "\f1c6"; -$fa-var-file-audio-o: "\f1c7"; -$fa-var-file-code-o: "\f1c9"; -$fa-var-file-excel-o: "\f1c3"; -$fa-var-file-image-o: "\f1c5"; -$fa-var-file-movie-o: "\f1c8"; -$fa-var-file-o: "\f016"; -$fa-var-file-pdf-o: "\f1c1"; -$fa-var-file-photo-o: "\f1c5"; -$fa-var-file-picture-o: "\f1c5"; -$fa-var-file-powerpoint-o: "\f1c4"; -$fa-var-file-sound-o: "\f1c7"; -$fa-var-file-text: "\f15c"; -$fa-var-file-text-o: "\f0f6"; -$fa-var-file-video-o: "\f1c8"; -$fa-var-file-word-o: "\f1c2"; -$fa-var-file-zip-o: "\f1c6"; -$fa-var-files-o: "\f0c5"; -$fa-var-film: "\f008"; -$fa-var-filter: "\f0b0"; -$fa-var-fire: "\f06d"; -$fa-var-fire-extinguisher: "\f134"; -$fa-var-firefox: "\f269"; -$fa-var-first-order: "\f2b0"; -$fa-var-flag: "\f024"; -$fa-var-flag-checkered: "\f11e"; -$fa-var-flag-o: "\f11d"; -$fa-var-flash: "\f0e7"; -$fa-var-flask: "\f0c3"; -$fa-var-flickr: "\f16e"; -$fa-var-floppy-o: "\f0c7"; -$fa-var-folder: "\f07b"; -$fa-var-folder-o: "\f114"; -$fa-var-folder-open: "\f07c"; -$fa-var-folder-open-o: "\f115"; -$fa-var-font: "\f031"; -$fa-var-font-awesome: "\f2b4"; -$fa-var-fonticons: "\f280"; -$fa-var-fort-awesome: "\f286"; -$fa-var-forumbee: "\f211"; -$fa-var-forward: "\f04e"; -$fa-var-foursquare: "\f180"; -$fa-var-free-code-camp: "\f2c5"; -$fa-var-frown-o: "\f119"; -$fa-var-futbol-o: "\f1e3"; -$fa-var-gamepad: "\f11b"; -$fa-var-gavel: "\f0e3"; -$fa-var-gbp: "\f154"; -$fa-var-ge: "\f1d1"; -$fa-var-gear: "\f013"; -$fa-var-gears: "\f085"; -$fa-var-genderless: "\f22d"; -$fa-var-get-pocket: "\f265"; -$fa-var-gg: "\f260"; -$fa-var-gg-circle: "\f261"; -$fa-var-gift: "\f06b"; -$fa-var-git: "\f1d3"; -$fa-var-git-square: "\f1d2"; -$fa-var-github: "\f09b"; -$fa-var-github-alt: "\f113"; -$fa-var-github-square: "\f092"; -$fa-var-gitlab: "\f296"; -$fa-var-gittip: "\f184"; -$fa-var-glass: "\f000"; -$fa-var-glide: "\f2a5"; -$fa-var-glide-g: "\f2a6"; -$fa-var-globe: "\f0ac"; -$fa-var-google: "\f1a0"; -$fa-var-google-plus: "\f0d5"; -$fa-var-google-plus-circle: "\f2b3"; -$fa-var-google-plus-official: "\f2b3"; -$fa-var-google-plus-square: "\f0d4"; -$fa-var-google-wallet: "\f1ee"; -$fa-var-graduation-cap: "\f19d"; -$fa-var-gratipay: "\f184"; -$fa-var-grav: "\f2d6"; -$fa-var-group: "\f0c0"; -$fa-var-h-square: "\f0fd"; -$fa-var-hacker-news: "\f1d4"; -$fa-var-hand-grab-o: "\f255"; -$fa-var-hand-lizard-o: "\f258"; -$fa-var-hand-o-down: "\f0a7"; -$fa-var-hand-o-left: "\f0a5"; -$fa-var-hand-o-right: "\f0a4"; -$fa-var-hand-o-up: "\f0a6"; -$fa-var-hand-paper-o: "\f256"; -$fa-var-hand-peace-o: "\f25b"; -$fa-var-hand-pointer-o: "\f25a"; -$fa-var-hand-rock-o: "\f255"; -$fa-var-hand-scissors-o: "\f257"; -$fa-var-hand-spock-o: "\f259"; -$fa-var-hand-stop-o: "\f256"; -$fa-var-handshake-o: "\f2b5"; -$fa-var-hard-of-hearing: "\f2a4"; -$fa-var-hashtag: "\f292"; -$fa-var-hdd-o: "\f0a0"; -$fa-var-header: "\f1dc"; -$fa-var-headphones: "\f025"; -$fa-var-heart: "\f004"; -$fa-var-heart-o: "\f08a"; -$fa-var-heartbeat: "\f21e"; -$fa-var-history: "\f1da"; -$fa-var-home: "\f015"; -$fa-var-hospital-o: "\f0f8"; -$fa-var-hotel: "\f236"; -$fa-var-hourglass: "\f254"; -$fa-var-hourglass-1: "\f251"; -$fa-var-hourglass-2: "\f252"; -$fa-var-hourglass-3: "\f253"; -$fa-var-hourglass-end: "\f253"; -$fa-var-hourglass-half: "\f252"; -$fa-var-hourglass-o: "\f250"; -$fa-var-hourglass-start: "\f251"; -$fa-var-houzz: "\f27c"; -$fa-var-html5: "\f13b"; -$fa-var-i-cursor: "\f246"; -$fa-var-id-badge: "\f2c1"; -$fa-var-id-card: "\f2c2"; -$fa-var-id-card-o: "\f2c3"; -$fa-var-ils: "\f20b"; -$fa-var-image: "\f03e"; -$fa-var-imdb: "\f2d8"; -$fa-var-inbox: "\f01c"; -$fa-var-indent: "\f03c"; -$fa-var-industry: "\f275"; -$fa-var-info: "\f129"; -$fa-var-info-circle: "\f05a"; -$fa-var-inr: "\f156"; -$fa-var-instagram: "\f16d"; -$fa-var-institution: "\f19c"; -$fa-var-internet-explorer: "\f26b"; -$fa-var-intersex: "\f224"; -$fa-var-ioxhost: "\f208"; -$fa-var-italic: "\f033"; -$fa-var-joomla: "\f1aa"; -$fa-var-jpy: "\f157"; -$fa-var-jsfiddle: "\f1cc"; -$fa-var-key: "\f084"; -$fa-var-keyboard-o: "\f11c"; -$fa-var-krw: "\f159"; -$fa-var-language: "\f1ab"; -$fa-var-laptop: "\f109"; -$fa-var-lastfm: "\f202"; -$fa-var-lastfm-square: "\f203"; -$fa-var-leaf: "\f06c"; -$fa-var-leanpub: "\f212"; -$fa-var-legal: "\f0e3"; -$fa-var-lemon-o: "\f094"; -$fa-var-level-down: "\f149"; -$fa-var-level-up: "\f148"; -$fa-var-life-bouy: "\f1cd"; -$fa-var-life-buoy: "\f1cd"; -$fa-var-life-ring: "\f1cd"; -$fa-var-life-saver: "\f1cd"; -$fa-var-lightbulb-o: "\f0eb"; -$fa-var-line-chart: "\f201"; -$fa-var-link: "\f0c1"; -$fa-var-linkedin: "\f0e1"; -$fa-var-linkedin-square: "\f08c"; -$fa-var-linode: "\f2b8"; -$fa-var-linux: "\f17c"; -$fa-var-list: "\f03a"; -$fa-var-list-alt: "\f022"; -$fa-var-list-ol: "\f0cb"; -$fa-var-list-ul: "\f0ca"; -$fa-var-location-arrow: "\f124"; -$fa-var-lock: "\f023"; -$fa-var-long-arrow-down: "\f175"; -$fa-var-long-arrow-left: "\f177"; -$fa-var-long-arrow-right: "\f178"; -$fa-var-long-arrow-up: "\f176"; -$fa-var-low-vision: "\f2a8"; -$fa-var-magic: "\f0d0"; -$fa-var-magnet: "\f076"; -$fa-var-mail-forward: "\f064"; -$fa-var-mail-reply: "\f112"; -$fa-var-mail-reply-all: "\f122"; -$fa-var-male: "\f183"; -$fa-var-map: "\f279"; -$fa-var-map-marker: "\f041"; -$fa-var-map-o: "\f278"; -$fa-var-map-pin: "\f276"; -$fa-var-map-signs: "\f277"; -$fa-var-mars: "\f222"; -$fa-var-mars-double: "\f227"; -$fa-var-mars-stroke: "\f229"; -$fa-var-mars-stroke-h: "\f22b"; -$fa-var-mars-stroke-v: "\f22a"; -$fa-var-maxcdn: "\f136"; -$fa-var-meanpath: "\f20c"; -$fa-var-medium: "\f23a"; -$fa-var-medkit: "\f0fa"; -$fa-var-meetup: "\f2e0"; -$fa-var-meh-o: "\f11a"; -$fa-var-mercury: "\f223"; -$fa-var-microchip: "\f2db"; -$fa-var-microphone: "\f130"; -$fa-var-microphone-slash: "\f131"; -$fa-var-minus: "\f068"; -$fa-var-minus-circle: "\f056"; -$fa-var-minus-square: "\f146"; -$fa-var-minus-square-o: "\f147"; -$fa-var-mixcloud: "\f289"; -$fa-var-mobile: "\f10b"; -$fa-var-mobile-phone: "\f10b"; -$fa-var-modx: "\f285"; -$fa-var-money: "\f0d6"; -$fa-var-moon-o: "\f186"; -$fa-var-mortar-board: "\f19d"; -$fa-var-motorcycle: "\f21c"; -$fa-var-mouse-pointer: "\f245"; -$fa-var-music: "\f001"; -$fa-var-navicon: "\f0c9"; -$fa-var-neuter: "\f22c"; -$fa-var-newspaper-o: "\f1ea"; -$fa-var-object-group: "\f247"; -$fa-var-object-ungroup: "\f248"; -$fa-var-odnoklassniki: "\f263"; -$fa-var-odnoklassniki-square: "\f264"; -$fa-var-opencart: "\f23d"; -$fa-var-openid: "\f19b"; -$fa-var-opera: "\f26a"; -$fa-var-optin-monster: "\f23c"; -$fa-var-outdent: "\f03b"; -$fa-var-pagelines: "\f18c"; -$fa-var-paint-brush: "\f1fc"; -$fa-var-paper-plane: "\f1d8"; -$fa-var-paper-plane-o: "\f1d9"; -$fa-var-paperclip: "\f0c6"; -$fa-var-paragraph: "\f1dd"; -$fa-var-paste: "\f0ea"; -$fa-var-pause: "\f04c"; -$fa-var-pause-circle: "\f28b"; -$fa-var-pause-circle-o: "\f28c"; -$fa-var-paw: "\f1b0"; -$fa-var-paypal: "\f1ed"; -$fa-var-pencil: "\f040"; -$fa-var-pencil-square: "\f14b"; -$fa-var-pencil-square-o: "\f044"; -$fa-var-percent: "\f295"; -$fa-var-phone: "\f095"; -$fa-var-phone-square: "\f098"; -$fa-var-photo: "\f03e"; -$fa-var-picture-o: "\f03e"; -$fa-var-pie-chart: "\f200"; -$fa-var-pied-piper: "\f2ae"; -$fa-var-pied-piper-alt: "\f1a8"; -$fa-var-pied-piper-pp: "\f1a7"; -$fa-var-pinterest: "\f0d2"; -$fa-var-pinterest-p: "\f231"; -$fa-var-pinterest-square: "\f0d3"; -$fa-var-plane: "\f072"; -$fa-var-play: "\f04b"; -$fa-var-play-circle: "\f144"; -$fa-var-play-circle-o: "\f01d"; -$fa-var-plug: "\f1e6"; -$fa-var-plus: "\f067"; -$fa-var-plus-circle: "\f055"; -$fa-var-plus-square: "\f0fe"; -$fa-var-plus-square-o: "\f196"; -$fa-var-podcast: "\f2ce"; -$fa-var-power-off: "\f011"; -$fa-var-print: "\f02f"; -$fa-var-product-hunt: "\f288"; -$fa-var-puzzle-piece: "\f12e"; -$fa-var-qq: "\f1d6"; -$fa-var-qrcode: "\f029"; -$fa-var-question: "\f128"; -$fa-var-question-circle: "\f059"; -$fa-var-question-circle-o: "\f29c"; -$fa-var-quora: "\f2c4"; -$fa-var-quote-left: "\f10d"; -$fa-var-quote-right: "\f10e"; -$fa-var-ra: "\f1d0"; -$fa-var-random: "\f074"; -$fa-var-ravelry: "\f2d9"; -$fa-var-rebel: "\f1d0"; -$fa-var-recycle: "\f1b8"; -$fa-var-reddit: "\f1a1"; -$fa-var-reddit-alien: "\f281"; -$fa-var-reddit-square: "\f1a2"; -$fa-var-refresh: "\f021"; -$fa-var-registered: "\f25d"; -$fa-var-remove: "\f00d"; -$fa-var-renren: "\f18b"; -$fa-var-reorder: "\f0c9"; -$fa-var-repeat: "\f01e"; -$fa-var-reply: "\f112"; -$fa-var-reply-all: "\f122"; -$fa-var-resistance: "\f1d0"; -$fa-var-retweet: "\f079"; -$fa-var-rmb: "\f157"; -$fa-var-road: "\f018"; -$fa-var-rocket: "\f135"; -$fa-var-rotate-left: "\f0e2"; -$fa-var-rotate-right: "\f01e"; -$fa-var-rouble: "\f158"; -$fa-var-rss: "\f09e"; -$fa-var-rss-square: "\f143"; -$fa-var-rub: "\f158"; -$fa-var-ruble: "\f158"; -$fa-var-rupee: "\f156"; -$fa-var-s15: "\f2cd"; -$fa-var-safari: "\f267"; -$fa-var-save: "\f0c7"; -$fa-var-scissors: "\f0c4"; -$fa-var-scribd: "\f28a"; -$fa-var-search: "\f002"; -$fa-var-search-minus: "\f010"; -$fa-var-search-plus: "\f00e"; -$fa-var-sellsy: "\f213"; -$fa-var-send: "\f1d8"; -$fa-var-send-o: "\f1d9"; -$fa-var-server: "\f233"; -$fa-var-share: "\f064"; -$fa-var-share-alt: "\f1e0"; -$fa-var-share-alt-square: "\f1e1"; -$fa-var-share-square: "\f14d"; -$fa-var-share-square-o: "\f045"; -$fa-var-shekel: "\f20b"; -$fa-var-sheqel: "\f20b"; -$fa-var-shield: "\f132"; -$fa-var-ship: "\f21a"; -$fa-var-shirtsinbulk: "\f214"; -$fa-var-shopping-bag: "\f290"; -$fa-var-shopping-basket: "\f291"; -$fa-var-shopping-cart: "\f07a"; -$fa-var-shower: "\f2cc"; -$fa-var-sign-in: "\f090"; -$fa-var-sign-language: "\f2a7"; -$fa-var-sign-out: "\f08b"; -$fa-var-signal: "\f012"; -$fa-var-signing: "\f2a7"; -$fa-var-simplybuilt: "\f215"; -$fa-var-sitemap: "\f0e8"; -$fa-var-skyatlas: "\f216"; -$fa-var-skype: "\f17e"; -$fa-var-slack: "\f198"; -$fa-var-sliders: "\f1de"; -$fa-var-slideshare: "\f1e7"; -$fa-var-smile-o: "\f118"; -$fa-var-snapchat: "\f2ab"; -$fa-var-snapchat-ghost: "\f2ac"; -$fa-var-snapchat-square: "\f2ad"; -$fa-var-snowflake-o: "\f2dc"; -$fa-var-soccer-ball-o: "\f1e3"; -$fa-var-sort: "\f0dc"; -$fa-var-sort-alpha-asc: "\f15d"; -$fa-var-sort-alpha-desc: "\f15e"; -$fa-var-sort-amount-asc: "\f160"; -$fa-var-sort-amount-desc: "\f161"; -$fa-var-sort-asc: "\f0de"; -$fa-var-sort-desc: "\f0dd"; -$fa-var-sort-down: "\f0dd"; -$fa-var-sort-numeric-asc: "\f162"; -$fa-var-sort-numeric-desc: "\f163"; -$fa-var-sort-up: "\f0de"; -$fa-var-soundcloud: "\f1be"; -$fa-var-space-shuttle: "\f197"; -$fa-var-spinner: "\f110"; -$fa-var-spoon: "\f1b1"; -$fa-var-spotify: "\f1bc"; -$fa-var-square: "\f0c8"; -$fa-var-square-o: "\f096"; -$fa-var-stack-exchange: "\f18d"; -$fa-var-stack-overflow: "\f16c"; -$fa-var-star: "\f005"; -$fa-var-star-half: "\f089"; -$fa-var-star-half-empty: "\f123"; -$fa-var-star-half-full: "\f123"; -$fa-var-star-half-o: "\f123"; -$fa-var-star-o: "\f006"; -$fa-var-steam: "\f1b6"; -$fa-var-steam-square: "\f1b7"; -$fa-var-step-backward: "\f048"; -$fa-var-step-forward: "\f051"; -$fa-var-stethoscope: "\f0f1"; -$fa-var-sticky-note: "\f249"; -$fa-var-sticky-note-o: "\f24a"; -$fa-var-stop: "\f04d"; -$fa-var-stop-circle: "\f28d"; -$fa-var-stop-circle-o: "\f28e"; -$fa-var-street-view: "\f21d"; -$fa-var-strikethrough: "\f0cc"; -$fa-var-stumbleupon: "\f1a4"; -$fa-var-stumbleupon-circle: "\f1a3"; -$fa-var-subscript: "\f12c"; -$fa-var-subway: "\f239"; -$fa-var-suitcase: "\f0f2"; -$fa-var-sun-o: "\f185"; -$fa-var-superpowers: "\f2dd"; -$fa-var-superscript: "\f12b"; -$fa-var-support: "\f1cd"; -$fa-var-table: "\f0ce"; -$fa-var-tablet: "\f10a"; -$fa-var-tachometer: "\f0e4"; -$fa-var-tag: "\f02b"; -$fa-var-tags: "\f02c"; -$fa-var-tasks: "\f0ae"; -$fa-var-taxi: "\f1ba"; -$fa-var-telegram: "\f2c6"; -$fa-var-television: "\f26c"; -$fa-var-tencent-weibo: "\f1d5"; -$fa-var-terminal: "\f120"; -$fa-var-text-height: "\f034"; -$fa-var-text-width: "\f035"; -$fa-var-th: "\f00a"; -$fa-var-th-large: "\f009"; -$fa-var-th-list: "\f00b"; -$fa-var-themeisle: "\f2b2"; -$fa-var-thermometer: "\f2c7"; -$fa-var-thermometer-0: "\f2cb"; -$fa-var-thermometer-1: "\f2ca"; -$fa-var-thermometer-2: "\f2c9"; -$fa-var-thermometer-3: "\f2c8"; -$fa-var-thermometer-4: "\f2c7"; -$fa-var-thermometer-empty: "\f2cb"; -$fa-var-thermometer-full: "\f2c7"; -$fa-var-thermometer-half: "\f2c9"; -$fa-var-thermometer-quarter: "\f2ca"; -$fa-var-thermometer-three-quarters: "\f2c8"; -$fa-var-thumb-tack: "\f08d"; -$fa-var-thumbs-down: "\f165"; -$fa-var-thumbs-o-down: "\f088"; -$fa-var-thumbs-o-up: "\f087"; -$fa-var-thumbs-up: "\f164"; -$fa-var-ticket: "\f145"; -$fa-var-times: "\f00d"; -$fa-var-times-circle: "\f057"; -$fa-var-times-circle-o: "\f05c"; -$fa-var-times-rectangle: "\f2d3"; -$fa-var-times-rectangle-o: "\f2d4"; -$fa-var-tint: "\f043"; -$fa-var-toggle-down: "\f150"; -$fa-var-toggle-left: "\f191"; -$fa-var-toggle-off: "\f204"; -$fa-var-toggle-on: "\f205"; -$fa-var-toggle-right: "\f152"; -$fa-var-toggle-up: "\f151"; -$fa-var-trademark: "\f25c"; -$fa-var-train: "\f238"; -$fa-var-transgender: "\f224"; -$fa-var-transgender-alt: "\f225"; -$fa-var-trash: "\f1f8"; -$fa-var-trash-o: "\f014"; -$fa-var-tree: "\f1bb"; -$fa-var-trello: "\f181"; -$fa-var-tripadvisor: "\f262"; -$fa-var-trophy: "\f091"; -$fa-var-truck: "\f0d1"; -$fa-var-try: "\f195"; -$fa-var-tty: "\f1e4"; -$fa-var-tumblr: "\f173"; -$fa-var-tumblr-square: "\f174"; -$fa-var-turkish-lira: "\f195"; -$fa-var-tv: "\f26c"; -$fa-var-twitch: "\f1e8"; -$fa-var-twitter: "\f099"; -$fa-var-twitter-square: "\f081"; -$fa-var-umbrella: "\f0e9"; -$fa-var-underline: "\f0cd"; -$fa-var-undo: "\f0e2"; -$fa-var-universal-access: "\f29a"; -$fa-var-university: "\f19c"; -$fa-var-unlink: "\f127"; -$fa-var-unlock: "\f09c"; -$fa-var-unlock-alt: "\f13e"; -$fa-var-unsorted: "\f0dc"; -$fa-var-upload: "\f093"; -$fa-var-usb: "\f287"; -$fa-var-usd: "\f155"; -$fa-var-user: "\f007"; -$fa-var-user-circle: "\f2bd"; -$fa-var-user-circle-o: "\f2be"; -$fa-var-user-md: "\f0f0"; -$fa-var-user-o: "\f2c0"; -$fa-var-user-plus: "\f234"; -$fa-var-user-secret: "\f21b"; -$fa-var-user-times: "\f235"; -$fa-var-users: "\f0c0"; -$fa-var-vcard: "\f2bb"; -$fa-var-vcard-o: "\f2bc"; -$fa-var-venus: "\f221"; -$fa-var-venus-double: "\f226"; -$fa-var-venus-mars: "\f228"; -$fa-var-viacoin: "\f237"; -$fa-var-viadeo: "\f2a9"; -$fa-var-viadeo-square: "\f2aa"; -$fa-var-video-camera: "\f03d"; -$fa-var-vimeo: "\f27d"; -$fa-var-vimeo-square: "\f194"; -$fa-var-vine: "\f1ca"; -$fa-var-vk: "\f189"; -$fa-var-volume-control-phone: "\f2a0"; -$fa-var-volume-down: "\f027"; -$fa-var-volume-off: "\f026"; -$fa-var-volume-up: "\f028"; -$fa-var-warning: "\f071"; -$fa-var-wechat: "\f1d7"; -$fa-var-weibo: "\f18a"; -$fa-var-weixin: "\f1d7"; -$fa-var-whatsapp: "\f232"; -$fa-var-wheelchair: "\f193"; -$fa-var-wheelchair-alt: "\f29b"; -$fa-var-wifi: "\f1eb"; -$fa-var-wikipedia-w: "\f266"; -$fa-var-window-close: "\f2d3"; -$fa-var-window-close-o: "\f2d4"; -$fa-var-window-maximize: "\f2d0"; -$fa-var-window-minimize: "\f2d1"; -$fa-var-window-restore: "\f2d2"; -$fa-var-windows: "\f17a"; -$fa-var-won: "\f159"; -$fa-var-wordpress: "\f19a"; -$fa-var-wpbeginner: "\f297"; -$fa-var-wpexplorer: "\f2de"; -$fa-var-wpforms: "\f298"; -$fa-var-wrench: "\f0ad"; -$fa-var-xing: "\f168"; -$fa-var-xing-square: "\f169"; -$fa-var-y-combinator: "\f23b"; -$fa-var-y-combinator-square: "\f1d4"; -$fa-var-yahoo: "\f19e"; -$fa-var-yc: "\f23b"; -$fa-var-yc-square: "\f1d4"; -$fa-var-yelp: "\f1e9"; -$fa-var-yen: "\f157"; -$fa-var-yoast: "\f2b1"; -$fa-var-youtube: "\f167"; -$fa-var-youtube-play: "\f16a"; -$fa-var-youtube-square: "\f166"; - diff --git a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/font-awesome.scss b/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/font-awesome.scss deleted file mode 100644 index f1c83aa..0000000 --- a/admin/target/classes/static/css/plugins/font-awesome-4.7.0/scss/font-awesome.scss +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */ - -@import "variables"; -@import "mixins"; -@import "path"; -@import "core"; -@import "larger"; -@import "fixed-width"; -@import "list"; -@import "bordered-pulled"; -@import "animated"; -@import "rotated-flipped"; -@import "stacked"; -@import "icons"; -@import "screen-reader"; diff --git a/admin/target/classes/static/favicon.ico b/admin/target/classes/static/favicon.ico deleted file mode 100644 index d9362c7..0000000 Binary files a/admin/target/classes/static/favicon.ico and /dev/null differ diff --git a/admin/target/classes/static/images/char-ccmiao.png b/admin/target/classes/static/images/char-ccmiao.png deleted file mode 100644 index c495484..0000000 Binary files a/admin/target/classes/static/images/char-ccmiao.png and /dev/null differ diff --git a/admin/target/classes/static/images/chat-left-picture.jpg b/admin/target/classes/static/images/chat-left-picture.jpg deleted file mode 100644 index 3aec55d..0000000 Binary files a/admin/target/classes/static/images/chat-left-picture.jpg and /dev/null differ diff --git a/admin/target/classes/static/images/chat-right-picture.jpg b/admin/target/classes/static/images/chat-right-picture.jpg deleted file mode 100644 index bad9f94..0000000 Binary files a/admin/target/classes/static/images/chat-right-picture.jpg and /dev/null differ diff --git a/admin/target/classes/static/images/chat-single-dog.png b/admin/target/classes/static/images/chat-single-dog.png deleted file mode 100644 index 1ecce40..0000000 Binary files a/admin/target/classes/static/images/chat-single-dog.png and /dev/null differ diff --git a/admin/target/classes/static/images/user-picture.jpg b/admin/target/classes/static/images/user-picture.jpg deleted file mode 100644 index 62c0cfc..0000000 Binary files a/admin/target/classes/static/images/user-picture.jpg and /dev/null differ diff --git a/admin/target/classes/static/js/login.js b/admin/target/classes/static/js/login.js deleted file mode 100644 index a6ca35c..0000000 --- a/admin/target/classes/static/js/login.js +++ /dev/null @@ -1,20 +0,0 @@ -if(window.top!==window.self){window.top.location=window.location}; -layui.use(['element'], function () { - var $ = layui.jquery; - $(document).on('click', '.captcha-img', function () { - var src = this.src.split("?")[0]; - this.src = src + "?" + Math.random(); - }); - $(document).on('click', '.ajax-login', function (e) { - e.preventDefault(); - var form = $(this).parents("form"); - var url = form.attr("action"); - var serializeArray = form.serializeArray(); - $.post(url, serializeArray, function (result) { - if(result.code != 200){ - $('.captcha-img').click(); - } - $.fn.Messager(result); - }); - }) -}); \ No newline at end of file diff --git a/admin/target/classes/static/js/main.js b/admin/target/classes/static/js/main.js deleted file mode 100644 index 8074fc2..0000000 --- a/admin/target/classes/static/js/main.js +++ /dev/null @@ -1,369 +0,0 @@ -layui.use(['element', 'form', 'layer', 'upload'], function () { - var $ = layui.jquery; - var element = layui.element; //加载element模块 - var form = layui.form; //加载form模块 - var layer = layui.layer; //加载layer模块 - var upload = layui.upload; //加载upload模块 - - /* 侧边栏开关 */ - $(".side-toggle").on("click", function (e) { - e.preventDefault(); - var to = $(".layui-layout-admin"); - to.toggleClass("layui-side-shrink"); - to.attr("toggle") === 'on' ? to.attr("toggle", "off") : to.attr("toggle", "on"); - }); - $(".layui-side").on("click", function () { - var to = $(".layui-layout-admin"); - if (to.attr("toggle") === 'on') { - to.attr("toggle", "off"); - to.removeClass("layui-side-shrink"); - } - }); - - /* 最大化窗口 */ - $(".timo-screen-full").on("click", function (e) { - e.preventDefault(); - if (!$(this).hasClass("full-on")) { - var docElm = document.documentElement; - var full = docElm.requestFullScreen || docElm.webkitRequestFullScreen || - docElm.mozRequestFullScreen || docElm.msRequestFullscreen; - "undefined" !== typeof full && full && full.call(docElm); - } else { - document.exitFullscreen ? document.exitFullscreen() - : document.mozCancelFullScreen ? document.mozCancelFullScreen() - : document.webkitCancelFullScreen ? document.webkitCancelFullScreen() - : document.msExitFullscreen && document.msExitFullscreen() - } - $(this).toggleClass("full-on"); - }); - - /* 新建或切换标签栏 */ - var tabs = function (url) { - var item = $('[lay-url="' + url + '"]'); - if (url !== undefined && url !== '#' && item.length > 0) { - var bootLay = $('[lay-id="' + url + '"]'); - if (bootLay.length === 0) { - var title = item.attr("lay-icon") === 'true' ? item.html() - : item.children(".layui-nav-title").text(); - var iframeUrl = (window.location.pathname + url).replace('//','/'); - element.tabAdd('iframe-tabs', { - title: title - , content: '' - , id: url - }); - } - element.tabChange('iframe-tabs', url); - } - }; - - /* 监听导航栏事件,实现标签页的切换 */ - element.on("nav(layui-nav-side)", function ($this) { - var url = $this.attr('lay-url'); - tabs(url); - }); - - /* 监听标签栏事件,实现导航栏高亮显示 */ - element.on("tab(iframe-tabs)", function () { - var layId = $(this).attr("lay-id"); - $(".layui-side .layui-this").removeClass("layui-this"); - $('[lay-url="' + layId + '"]').parent().addClass("layui-this"); - // 改变地址hash值 - location.hash = this.getAttribute('lay-id'); - }); - - /* 监听hash来切换选项卡*/ - window.onhashchange = function (e) { - var url = location.hash.replace(/^#/, ''); - var index = $(".layui-layout-admin .layui-side .layui-nav-item")[0]; - $(index).children("a").attr("lay-icon", "true"); - if (url === "" || url === undefined) { - url = $(index).children("[lay-url]").attr("lay-url"); - } - tabs(url); - }; - window.onhashchange(); - - /* 初始化时展开子菜单 */ - $("dd.layui-this").parents(".layui-nav-child").parent() - .addClass("layui-nav-itemed"); - - /* 刷新iframe页面 */ - $(".refresh-btn").click(function () { - location.reload(); - }); - - /* AJAX请求默认选项,处理连接超时问题 */ - $.ajaxSetup({ - complete: function (xhr, status) { - if (xhr.status == 401) { - layer.confirm('session连接超时,是否重新登录?', { - btn: ['是', '否'] - }, function () { - if (window.parent.window != window) { - window.top.location = window.location.pathname + '/login'; - } - }); - } - } - }); - - /* 漂浮消息 */ - $.fn.Messager = function (result) { - if (result.code === 200) { - layer.msg(result.msg, {offset: '15px', time: 3000, icon: 1}); - setTimeout(function () { - if (result.data === 'submit[refresh]') { - parent.location.reload(); - return; - } - if (result.data == null) { - window.location.reload(); - } else { - window.location.href = result.data - } - }, 2000); - } else { - layer.msg(result.msg, {offset: '15px', time: 3000, icon: 2}); - } - }; - - /* 提交表单数据 */ - $(document).on("click", ".ajax-submit", function (e) { - e.preventDefault(); - var form = $(this).parents("form"); - var url = form.attr("action"); - var serializeArray = form.serializeArray(); - $.post(url, serializeArray, function (result) { - if (result.data == null) { - result.data = 'submit[refresh]'; - } - $.fn.Messager(result); - }); - }); - - /* get方式异步 */ - $(document).on("click", ".ajax-get", function (e) { - e.preventDefault(); - var msg = $(this).data("msg"); - if (msg !== undefined) { - layer.confirm(msg + '?', { - title: '提示', - btn: ['确认', '取消'] - }, function () { - $.get(e.target.href, function (result) { - $.fn.Messager(result); - }); - }); - } else { - $.get(e.target.href, function (result) { - $.fn.Messager(result); - }); - } - }); - - // post方式异步-操作状态 - $(".ajax-status").on("click", function (e) { - e.preventDefault(); - var checked = []; - var tdcheckbox = $(".timo-table td .timo-checkbox :checkbox:checked"); - if (tdcheckbox.length > 0) { - tdcheckbox.each(function (key, val) { - checked.push("ids=" + $(val).attr("value")); - }); - $.post(e.target.href, checked.join("&"), function (result) { - $.fn.Messager(result); - }); - } else { - layer.msg('请选择一条记录'); - } - }); - - /* 添加/修改弹出层 */ - $(document).on("click", ".open-popup, .open-popup-param", function () { - var title = $(this).data("title"); - var url = $(this).attr("data-url"); - if ($(this).hasClass("open-popup-param")) { - var tdcheckbox = $(".timo-table td .timo-checkbox :checkbox:checked"); - var param = ''; - if (tdcheckbox.length === 0) { - layer.msg('请选择一条记录'); - return; - } - if (tdcheckbox.length > 1 && $(this).data("type") === 'radio') { - layer.msg('只允许选中一个'); - return; - } - tdcheckbox.each(function (key, val) { - param += "ids=" + $(val).attr("value") + "&"; - }); - param = param.substr(0, param.length - 1); - url += "?" + param; - } - var size = $(this).attr("data-size"); - if (size === undefined || size === "auto") { - size = ['50%', '80%']; - }else if (size === "max") { - size = ['100%', '100%']; - }else if (size.indexOf(',') !== -1) { - var split = size.split(","); - size = [split[0] + 'px', split[1] + 'px']; - } - window.layerIndex = layer.open({ - type: 2, - title: title, - shadeClose: true, - maxmin: true, - area: size, - content: [url, 'on'] - }); - }); - - /* 关闭弹出层 */ - $(".close-popup").click(function (e) { - e.preventDefault(); - parent.layer.close(window.parent.layerIndex); - }); - - /* 下拉按钮组 */ - $(".btn-group").click(function (e) { - e.stopPropagation(); - $this = $(this); - $this.toggleClass("show"); - $(document).one("click", function () { - if ($this.hasClass("show")) { - $this.removeClass("show"); - } - }); - }); - - // 展示数据列表-多选框 - var thcheckbox = $(".timo-table th .timo-checkbox :checkbox"); - thcheckbox.on("change", function () { - var tdcheckbox = $(".timo-table td .timo-checkbox :checkbox"); - if (thcheckbox.is(':checked')) { - tdcheckbox.prop("checked", true); - } else { - tdcheckbox.prop("checked", false); - } - }); - - // 检测列表数据是否为空 - var timoTable = $(".timo-table tbody"); - if (timoTable.length > 0) { - var children = timoTable.children(); - if (children.length === 0) { - var length = $(".timo-table thead th").length; - var trNullInfo = "没有找到匹配的记录"; - timoTable.append(trNullInfo); - } - } - - // 携带参数跳转 - var paramSkip = function () { - var getSearch = ""; - // 搜索框参数 - $('.timo-search-box [name]').each(function (key, val) { - if ($(val).val() !== "" && $(val).val() !== undefined) { - getSearch += $(val).attr("name") + "=" + $(val).val() + "&"; - } - }); - - // 页数参数 - var pageSize = $(".page-number").val(); - if (pageSize !== undefined && pageSize !== "") { - getSearch += "size=" + pageSize + "&"; - } - - // 排序参数 - var asc = $(".sortable.asc").data("field"); - if(asc !== undefined){ - getSearch += "orderByColumn=" + asc + "&isAsc=asc&"; - } - var desc = $(".sortable.desc").data("field"); - if(desc !== undefined){ - getSearch += "orderByColumn=" + desc + "&isAsc=desc&"; - } - - if (getSearch !== "") { - getSearch = "?" + getSearch.substr(0, getSearch.length - 1); - } - window.location.href = window.location.pathname + getSearch; - }; - - /* 展示列表数据搜索 */ - $(document).on("click", ".timo-search-btn", function () { - paramSkip(); - }); - /* 改变显示页数 */ - $(document).on("change", ".page-number", function () { - paramSkip(); - }); - /* 触发字段排序 */ - $(document).on("click", ".sortable", function () { - $(".sortable").not(this).removeClass("asc").removeClass("desc"); - if($(this).hasClass("asc")){ - $(this).removeClass("asc").addClass("desc"); - }else { - $(this).removeClass("desc").addClass("asc"); - } - paramSkip(); - }); - - /* 参数化字段排序 */ - var getSearch = function(name) { - var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); - var r = window.location.search.substr(1).match(reg); - if (r != null) return unescape(r[2]); - return null; - }; - var field = getSearch("orderByColumn"); - var isAsc = getSearch("isAsc"); - if(field != null){ - $("[data-field='"+ field +"']").addClass(isAsc); - } - - /** 上传图片操作 */ - upload.render({ - elem: '.upload-image' //绑定元素 - ,url: $('.upload-image').attr('up-url') //上传接口 - ,field: 'image' //文件域的字段名 - ,acceptMime: 'image/*' //选择文件类型 - ,exts: 'jpg|jpeg|png|gif' //支持的图片格式 - ,multiple: true //开启多文件选择 - ,choose: function (obj) { - obj.preview(function (index, file, result) { - var upload = $('.upload-image'); - var name = upload.attr('name'); - var show = upload.parents('.layui-form-item').children('.upload-show'); - show.append("
" + - "" + - "
"); - }); - } - ,done: function(res, index, upload){ - var field = $('.upload-image').attr('up-field') || 'id'; - // 解决节点渲染和异步上传不同步问题 - var interval = window.setInterval(function(){ - var hide = $("#"+index); - if(hide.length > 0){ - var item = hide.parent('.upload-item'); - if (res.code === 200) { - hide.val(res.data[field]); - item.addClass('succeed'); - }else { - hide.remove(); - item.addClass('error'); - } - clearInterval(interval); - } - }, 100); - } - }); - - // 删除上传图片展示项 - $(document).on("click", ".upload-item-close", function () { - $(this).parent('.upload-item').remove(); - }); - -}); \ No newline at end of file diff --git a/admin/target/classes/static/js/plugins/jquery-3.3.1.min.js b/admin/target/classes/static/js/plugins/jquery-3.3.1.min.js deleted file mode 100644 index 4d9b3a2..0000000 --- a/admin/target/classes/static/js/plugins/jquery-3.3.1.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w(" - - -
- -
-
-
- - -
-
-
-
  • setting 配置详解
-
    -
    -
    -
    • zTree 方法详解
    -
      -
      • treeNode 节点数据详解
      -
        -
        -
        -
        -
        -
        -
        - - -
        -
        -
        - - - -
        - -
        -
        -
        -
        - - - - - - \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/API_en.html b/admin/target/classes/static/lib/zTree_v3/api/API_en.html deleted file mode 100644 index 796fe72..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/API_en.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - API Document [zTree -- jQuery tree plug-ins.] - - - - - -
        - -
        -
        -
        - - -
        -
        -
        -
        • setting details
        -
          -
          -
          -
          • zTree method details
          -
            -
            • treeNode data details
            -
              -
              -
              -
              -
              -
              -
              - - -
              -
              -
              - - - -
              - -
              -
              -
              -
              - - - - - - \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/api.js b/admin/target/classes/static/lib/zTree_v3/api/apiCss/api.js deleted file mode 100644 index dbf6e01..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/apiCss/api.js +++ /dev/null @@ -1,599 +0,0 @@ -var apiContent = { - zTree_Setting: null, - zTree_Node: null, - zTree_Function: null, - overlayDiv : null, - overlayContent : null, - overlayDetailDiv : null, - overlayCloseBtn: null, - overlayArrow: null, - contentBoxDiv : null, - settingDiv : null, - functionDiv : null, - overlaySearch: null, - searchKey: null, - searchResultInput: null, - searchPrevBtn: null, - searchNextBtn: null, - apiCache: {}, - lastValue: "", - searchNodes: [], - searchNodesCur: 0, - - _init: function() { - this.overlayDiv = $("#overlayDiv"); - this.overlayContent = $("#overlayContent"); - this.overlayDetailDiv = $("#overlayDetailDiv"); - this.overlayCloseBtn = $("#overlayDivCloseBtn"); - this.overlayArrow = $("#overlayDivArrow"); - this.contentBoxDiv = $("#contentBox"); - this.settingDiv = $("#api_setting"); - this.functionDiv = $("#api_function"); - this.searchKey = $(".searchKey"); - this.overlaySearch = $(".overlaySearch"); - this.searchResultInput = $(".searchResult"); - this.searchPrevBtn = $(".searchPrev"); - this.searchNextBtn = $(".searchNext"); - var setting = { - view: { - fontCss: this.getFontCss, - showLine: false, - showIcon: this.showIcon, - showTitle: this.getTitle, - selectedMulti: false, - dblClickExpand: false - }, - data: { - key: { - title: "tt" - }, - simpleData: { - enable:true, - idKey: "id", - pIdKey: "pId", - rootPId: "" - } - }, - callback: { - onNodeCreated: this.onNodeCreated, - beforeClick: this.beforeClick - } - }; - var setting_nodes =[ - {id:1, pId:0, t:"setting", name:"var setting = {", open:true}, - {id:11, pId:1, t:"treeId", name:"treeId : \"\",", iconSkin:"core", showAPI:true}, - {id:12, pId:1, t:"treeObj", name:"treeObj : null,", iconSkin:"core", showAPI:true}, - {id:121, pId:1, name:""}, - - {id:20, pId:1, t:"async", name:"async : {", open:true}, - {id:201, pId:20, t:"autoParam", name:"autoParam : [],", iconSkin:"core", showAPI:true}, - {id:208, pId:20, t:"contentType", name:"contentType : \"application...\",", iconSkin:"core", showAPI:true}, - {id:202, pId:20, t:"dataFilter", name:"dataFilter : null,", iconSkin:"core", showAPI:true}, - {id:203, pId:20, t:"dataType", name:"dataType : \"text\",", iconSkin:"core", showAPI:true}, - {id:204, pId:20, t:"enable", name:"enable : false,", iconSkin:"core", showAPI:true}, - {id:205, pId:20, t:"otherParam", name:"otherParam : [],", iconSkin:"core", showAPI:true}, - {id:206, pId:20, t:"type", name:"type : \"post\",", iconSkin:"core", showAPI:true}, - {id:209, pId:20, t:"headers", name:"headers : {},", iconSkin:"core", showAPI:true}, - {id:210, pId:20, t:"xhrFields", name:"xhrFields : {},", iconSkin:"core", showAPI:true}, - {id:207, pId:20, t:"url", name:"url : \"\"", iconSkin:"core", showAPI:true}, - {id:21, pId:1, name:"},"}, - {id:22, pId:1, name:""}, - - {id:30, pId:1, t:"callback", name:"callback : {", open:true}, - {id:3001, pId:30, t:"beforeAsync", name:"beforeAsync : null,", iconSkin:"core", showAPI:true}, - {id:3002, pId:30, t:"beforeCheck", name:"beforeCheck : null,", iconSkin:"check", showAPI:true}, - {id:3003, pId:30, t:"beforeClick", name:"beforeClick : null,", iconSkin:"core", showAPI:true}, - {id:3004, pId:30, t:"beforeCollapse", name:"beforeCollapse : null,", iconSkin:"core", showAPI:true}, - {id:3004, pId:30, t:"beforeDblClick", name:"beforeDblClick : null,", iconSkin:"core", showAPI:true}, - {id:3005, pId:30, t:"beforeDrag", name:"beforeDrag : null,", iconSkin:"edit", showAPI:true}, - {id:3006, pId:30, t:"beforeDragOpen", name:"beforeDragOpen : null,", iconSkin:"edit", showAPI:true}, - {id:3007, pId:30, t:"beforeDrop", name:"beforeDrop : null,", iconSkin:"edit", showAPI:true}, - {id:3029, pId:30, t:"beforeEditName", name:"beforeEditName : null,", iconSkin:"edit", showAPI:true}, - {id:3008, pId:30, t:"beforeExpand", name:"beforeExpand : null,", iconSkin:"core", showAPI:true}, - {id:3009, pId:30, t:"beforeMouseDown", name:"beforeMouseDown : null,", iconSkin:"core", showAPI:true}, - {id:3010, pId:30, t:"beforeMouseUp", name:"beforeMouseUp : null,", iconSkin:"core", showAPI:true}, - {id:3011, pId:30, t:"beforeRemove", name:"beforeRemove : null,", iconSkin:"edit", showAPI:true}, - {id:3012, pId:30, t:"beforeRename", name:"beforeRename : null,", iconSkin:"edit", showAPI:true}, - {id:3013, pId:30, t:"beforeRightClick", name:"beforeRightClick : null,", iconSkin:"core", showAPI:true}, - {id:3014, pId:30, name:""}, - {id:3015, pId:30, t:"onAsyncError", name:"onAsyncError : null,", iconSkin:"core", showAPI:true}, - {id:3016, pId:30, t:"onAsyncSuccess", name:"onAsyncSuccess : null,", iconSkin:"core", showAPI:true}, - {id:3017, pId:30, t:"onCheck", name:"onCheck : null,", iconSkin:"check", showAPI:true}, - {id:3018, pId:30, t:"onClick", name:"onClick : null,", iconSkin:"core", showAPI:true}, - {id:3019, pId:30, t:"onCollapse", name:"onCollapse : null,", iconSkin:"core", showAPI:true}, - {id:3029, pId:30, t:"onDblClick", name:"onDblClick : null,", iconSkin:"core", showAPI:true}, - {id:3020, pId:30, t:"onDrag", name:"onDrag : null,", iconSkin:"edit", showAPI:true}, - {id:3030, pId:30, t:"onDragMove", name:"onDragMove : null,", iconSkin:"edit", showAPI:true}, - {id:3021, pId:30, t:"onDrop", name:"onDrop : null,", iconSkin:"edit", showAPI:true}, - {id:3022, pId:30, t:"onExpand", name:"onExpand : null,", iconSkin:"core", showAPI:true}, - {id:3023, pId:30, t:"onMouseDown", name:"onMouseDown : null,", iconSkin:"core", showAPI:true}, - {id:3024, pId:30, t:"onMouseUp", name:"onMouseUp : null,", iconSkin:"core", showAPI:true}, - {id:3025, pId:30, t:"onNodeCreated", name:"onNodeCreated : null,", iconSkin:"core", showAPI:true}, - {id:3026, pId:30, t:"onRemove", name:"onRemove : null,", iconSkin:"edit", showAPI:true}, - {id:3027, pId:30, t:"onRename", name:"onRename : null,", iconSkin:"edit", showAPI:true}, - {id:3028, pId:30, t:"onRightClick", name:"onRightClick : null", iconSkin:"core", showAPI:true}, - {id:31, pId:1, name:"},"}, - {id:32, pId:1, name:""}, - - {id:40, pId:1, t:"check", name:"check : {", open:true}, - {id:405, pId:40, t:"autoCheckTrigger", name:"autoCheckTrigger : false,", iconSkin:"check", showAPI:true}, - {id:401, pId:40, t:"chkboxType", name:"chkboxType : {\"Y\": \"ps\", \"N\": \"ps\"},", iconSkin:"check", showAPI:true}, - {id:402, pId:40, t:"chkStyle", name:"chkStyle : \"checkbox\",", iconSkin:"check", showAPI:true}, - {id:403, pId:40, t:"enable", name:"enable : false,", iconSkin:"check", showAPI:true}, - {id:406, pId:40, t:"nocheckInherit", name:"nocheckInherit : false", iconSkin:"check", showAPI:true}, - {id:407, pId:40, t:"chkDisabledInherit", name:"chkDisabledInherit : false", iconSkin:"check", showAPI:true}, - {id:404, pId:40, t:"radioType", name:"radioType : \"level\"", iconSkin:"check", showAPI:true}, - {id:41, pId:1, name:"},"}, - {id:42, pId:1, name:""}, - - {id:50, pId:1, t:"data", name:"data : {", open:true}, - {id:500, pId:50, t:"keep", name:"keep : {", open:true}, - {id:5001, pId:500, t:"leaf", name:"leaf : false,", iconSkin:"core", showAPI:true}, - {id:5002, pId:500, t:"parent", name:"parent : false", iconSkin:"core", showAPI:true}, - {id:501, pId:50, name:"},"}, - - {id:510, pId:50, t:"key", name:"key : {", open:true}, - {id:5101, pId:510, t:"checked", name:"checked : \"checked\",", iconSkin:"check", showAPI:true}, - {id:5102, pId:510, t:"children", name:"children : \"children\",", iconSkin:"core", showAPI:true}, - {id:5106, pId:510, t:"isParent", name:"isParent : \"isParent\",", iconSkin:"core", showAPI:true}, - {id:5107, pId:510, t:"isHidden", name:"isHidden : \"isHidden\",", iconSkin:"hide", showAPI:true}, - {id:5103, pId:510, t:"name", name:"name : \"name\",", iconSkin:"core", showAPI:true}, - {id:5104, pId:510, t:"title", name:"title : \"\"", iconSkin:"core", showAPI:true}, - {id:5105, pId:510, t:"url", name:"url : \"url\"", iconSkin:"core", showAPI:true}, - {id:511, pId:50, name:"},"}, - - {id:520, pId:50, t:"simpleData", name:"simpleData : {", open:true}, - {id:5201, pId:520, t:"enable", name:"enable : false,", iconSkin:"core", showAPI:true}, - {id:5202, pId:520, t:"idKey", name:"idKey : \"id\",", iconSkin:"core", showAPI:true}, - {id:5203, pId:520, t:"pIdKey", name:"pIdKey : \"pId\",", iconSkin:"core", showAPI:true}, - {id:5204, pId:520, t:"rootPId", name:"rootPId : null", iconSkin:"core", showAPI:true}, - {id:521, pId:50, name:"}"}, - {id:51, pId:1, name:"},"}, - {id:52, pId:1, name:""}, - - {id:60, pId:1, t:"edit", name:"edit : {", open:true}, - {id:601, pId:60, t:"drag", name:"drag : {", open:true}, - {id:60111, pId:601, t:"autoExpandTrigger", name:"autoExpandTrigger : true,", iconSkin:"edit", showAPI:true}, - {id:60101, pId:601, t:"isCopy", name:"isCopy : true,", iconSkin:"edit", showAPI:true}, - {id:60102, pId:601, t:"isMove", name:"isMove : true,", iconSkin:"edit", showAPI:true}, - {id:60103, pId:601, t:"prev", name:"prev : true,", iconSkin:"edit", showAPI:true}, - {id:60104, pId:601, t:"next", name:"next : true,", iconSkin:"edit", showAPI:true}, - {id:60105, pId:601, t:"inner", name:"inner : true,", iconSkin:"edit", showAPI:true}, - {id:60107, pId:601, t:"borderMax", name:"borderMax : 10,", iconSkin:"edit", showAPI:true}, - {id:60108, pId:601, t:"borderMin", name:"borderMin : -5,", iconSkin:"edit", showAPI:true}, - {id:60106, pId:601, t:"minMoveSize", name:"minMoveSize : 5,", iconSkin:"edit", showAPI:true}, - {id:60109, pId:601, t:"maxShowNodeNum", name:"maxShowNodeNum : 5,", iconSkin:"edit", showAPI:true}, - {id:60110, pId:601, t:"autoOpenTime", name:"autoOpenTime : 500", iconSkin:"edit", showAPI:true}, - {id:602, pId:60, name:"},"}, - {id:608, pId:60, t:"editNameSelectAll", name:"editNameSelectAll : false,", iconSkin:"edit", showAPI:true}, - {id:603, pId:60, t:"enable", name:"enable : false,", iconSkin:"edit", showAPI:true}, - {id:604, pId:60, t:"removeTitle", name:"removeTitle : \"remove\",", iconSkin:"edit", showAPI:true}, - {id:605, pId:60, t:"renameTitle", name:"renameTitle : \"rename\",", iconSkin:"edit", showAPI:true}, - {id:606, pId:60, t:"showRemoveBtn", name:"showRemoveBtn : true,", iconSkin:"edit", showAPI:true}, - {id:607, pId:60, t:"showRenameBtn", name:"showRenameBtn : true", iconSkin:"edit", showAPI:true}, - {id:61, pId:1, name:"},"}, - {id:62, pId:1, name:""}, - - {id:70, pId:1, t:"view", name:"view : {", open:true}, - {id:7001, pId:70, t:"addDiyDom", name:"addDiyDom : null,", iconSkin:"core", showAPI:true}, - {id:7002, pId:70, t:"addHoverDom", name:"addHoverDom : null,", iconSkin:"edit", showAPI:true}, - {id:7003, pId:70, t:"autoCancelSelected", name:"autoCancelSelected : true,", iconSkin:"core", showAPI:true}, - {id:7004, pId:70, t:"dblClickExpand", name:"dblClickExpand : true,", iconSkin:"core", showAPI:true}, - {id:7005, pId:70, t:"expandSpeed", name:"expandSpeed : \"fast\",", iconSkin:"core", showAPI:true}, - {id:7006, pId:70, t:"fontCss", name:"fontCss : {},", iconSkin:"core", showAPI:true}, - {id:7012, pId:70, t:"nameIsHTML", name:"nameIsHTML : false,", iconSkin:"core", showAPI:true}, - {id:7007, pId:70, t:"removeHoverDom", name:"removeHoverDom : null,", iconSkin:"edit", showAPI:true}, - {id:7008, pId:70, t:"selectedMulti", name:"selectedMulti : true,", iconSkin:"core", showAPI:true}, - {id:7009, pId:70, t:"showIcon", name:"showIcon : true,", iconSkin:"core", showAPI:true}, - {id:7010, pId:70, t:"showLine", name:"showLine : true,", iconSkin:"core", showAPI:true}, - {id:7011, pId:70, t:"showTitle", name:"showTitle : true,", iconSkin:"core", showAPI:true}, - {id:7012, pId:70, t:"txtSelectedEnable", name:"txtSelectedEnable : false", iconSkin:"core", showAPI:true}, - {id:71, pId:1, name:"}"}, - - {id:2, pId:0, name:"}"} - ]; - - var treenode_nodes =[ - {id:1, pId:0, t:"treeNode", name:"treeNode : {", open:true}, - {id:101, pId:1, t:"checked", name:"checked", iconSkin:"check", showAPI:true}, - {id:102, pId:1, t:"children", name:"children", iconSkin:"core", showAPI:true}, - {id:128, pId:1, t:"chkDisabled", name:"chkDisabled", iconSkin:"check", showAPI:true}, - {id:127, pId:1, t:"click", name:"click", iconSkin:"core", showAPI:true}, - {id:103, pId:1, t:"getCheckStatus", name:"getCheckStatus ()", iconSkin:"check", showAPI:true}, - {id:135, pId:1, t:"getIndex", name:"getIndex ()", iconSkin:"core", showAPI:true}, - {id:104, pId:1, t:"getNextNode", name:"getNextNode ()", iconSkin:"core", showAPI:true}, - {id:105, pId:1, t:"getParentNode", name:"getParentNode ()", iconSkin:"core", showAPI:true}, - {id:136, pId:1, t:"getPath", name:"getPath ()", iconSkin:"core", showAPI:true}, - {id:106, pId:1, t:"getPreNode", name:"getPreNode ()", iconSkin:"core", showAPI:true}, - {id:129, pId:1, t:"halfCheck", name:"halfCheck", iconSkin:"check", showAPI:true}, - {id:107, pId:1, t:"icon", name:"icon", iconSkin:"core", showAPI:true}, - {id:108, pId:1, t:"iconClose", name:"iconClose", iconSkin:"core", showAPI:true}, - {id:109, pId:1, t:"iconOpen", name:"iconOpen", iconSkin:"core", showAPI:true}, - {id:110, pId:1, t:"iconSkin", name:"iconSkin", iconSkin:"core", showAPI:true}, - {id:131, pId:1, t:"isHidden", name:"isHidden", iconSkin:"hide", showAPI:true}, - {id:111, pId:1, t:"isParent", name:"isParent", iconSkin:"core", showAPI:true}, - {id:132, pId:1, t:"name", name:"name", iconSkin:"core", showAPI:true}, - {id:112, pId:1, t:"nocheck", name:"nocheck", iconSkin:"check", showAPI:true}, - {id:113, pId:1, t:"open", name:"open", iconSkin:"core", showAPI:true}, - {id:133, pId:1, t:"target", name:"target", iconSkin:"core", showAPI:true}, - {id:134, pId:1, t:"url", name:"url", iconSkin:"core", showAPI:true}, - {id:114, pId:1, t:"diy", name:"*DIY*", iconSkin:"core", showAPI:true}, - {id:115, pId:1, name:""}, - {id:116, pId:1, t:"check_Child_State", name:"[check_Child_State]", iconSkin:"check", showAPI:true}, - {id:117, pId:1, t:"check_Focus", name:"[check_Focus]", iconSkin:"check", showAPI:true}, - {id:118, pId:1, t:"checkedOld", name:"[checkedOld]", iconSkin:"check", showAPI:true}, - {id:119, pId:1, t:"editNameFlag", name:"[editNameFlag]", iconSkin:"edit", showAPI:true}, - {id:120, pId:1, t:"isAjaxing", name:"[isAjaxing]", iconSkin:"core", showAPI:true}, - {id:121, pId:1, t:"isFirstNode", name:"[isFirstNode]", iconSkin:"core", showAPI:true}, - {id:122, pId:1, t:"isHover", name:"[isHover]", iconSkin:"edit", showAPI:true}, - {id:123, pId:1, t:"isLastNode", name:"[isLastNode]", iconSkin:"core", showAPI:true}, - {id:124, pId:1, t:"level", name:"[level]", iconSkin:"core", showAPI:true}, - {id:125, pId:1, t:"parentTId", name:"[parentTId]", iconSkin:"core", showAPI:true}, - {id:126, pId:1, t:"tId", name:"[tId]", iconSkin:"core", showAPI:true}, - {id:130, pId:1, t:"zAsync", name:"[zAsync]", iconSkin:"core", showAPI:true}, - {id:2, pId:0, name:"}"} - ]; - - var function_nodes =[ - {id:1, pId:0, t:"$.fn.zTree", name:"$.fn.zTree : {", open:true}, - {id:11, pId:1, t:"init", name:"init (obj, zSetting, zNodes)", iconSkin:"core", showAPI:true}, - {id:12, pId:1, t:"getZTreeObj", name:"getZTreeObj (treeId)", iconSkin:"core", showAPI:true}, - {id:14, pId:1, t:"destroy", name:"destroy (treeId)", iconSkin:"core", showAPI:true}, - {id:13, pId:1, t:"_z", name:"_z : {tools, view, event, data}", iconSkin:"core", showAPI:true}, - {id:2, pId:0, name:"}"}, - {id:3, pId:0, name:""}, - {id:4, pId:0, t:"zTreeObj", name:"zTreeObj : {", open:true}, - {id:401, pId:4, t:"setting", name:"setting", iconSkin:"core", showAPI:true}, - {id:402, pId:4, t:"addNodes", name:"addNodes (parentNode, index, newNodes, isSilent)", iconSkin:"core", showAPI:true}, - {id:403, pId:4, t:"cancelEditName", name:"cancelEditName (newName)", iconSkin:"edit", showAPI:true}, - {id:404, pId:4, t:"cancelSelectedNode", name:"cancelSelectedNode (node)", iconSkin:"core", showAPI:true}, - {id:405, pId:4, t:"checkAllNodes", name:"checkAllNodes (checked)", iconSkin:"check", showAPI:true}, - {id:406, pId:4, t:"checkNode", name:"checkNode (node, checked, checkTypeFlag, callbackFlag)", iconSkin:"check", showAPI:true}, - {id:407, pId:4, t:"copyNode", name:"copyNode (targetNode, node, moveType, isSilent)", iconSkin:"edit", showAPI:true}, - {id:436, pId:4, t:"destroy", name:"destroy ()", iconSkin:"core", showAPI:true}, - {id:408, pId:4, t:"editName", name:"editName (node)", iconSkin:"edit", showAPI:true}, - {id:409, pId:4, t:"expandAll", name:"expandAll (expandFlag)", iconSkin:"core", showAPI:true}, - {id:410, pId:4, t:"expandNode", name:"expandNode (node, expandFlag, sonSign, focus, callbackFlag)", iconSkin:"core", showAPI:true}, - {id:411, pId:4, t:"getChangeCheckedNodes", name:"getChangeCheckedNodes ()", iconSkin:"check", showAPI:true}, - {id:412, pId:4, t:"getCheckedNodes", name:"getCheckedNodes (checked)", iconSkin:"check", showAPI:true}, - {id:413, pId:4, t:"getNodeByParam", name:"getNodeByParam (key, value, parentNode)", iconSkin:"core", showAPI:true}, - {id:414, pId:4, t:"getNodeByTId", name:"getNodeByTId (tId)", iconSkin:"core", showAPI:true}, - {id:415, pId:4, t:"getNodeIndex", name:"getNodeIndex (node)", iconSkin:"core", showAPI:true}, - {id:416, pId:4, t:"getNodes", name:"getNodes ()", iconSkin:"core", showAPI:true}, - {id:431, pId:4, t:"getNodesByFilter", name:"getNodesByFilter (filter, isSingle, parentNode, invokeParam)", iconSkin:"core", showAPI:true}, - {id:417, pId:4, t:"getNodesByParam", name:"getNodesByParam (key, value, parentNode)", iconSkin:"core", showAPI:true}, - {id:418, pId:4, t:"getNodesByParamFuzzy", name:"getNodesByParamFuzzy (key, value, parentNode)", iconSkin:"core", showAPI:true}, - {id:419, pId:4, t:"getSelectedNodes", name:"getSelectedNodes ()", iconSkin:"core", showAPI:true}, - {id:432, pId:4, t:"hideNode", name:"hideNode (node)", iconSkin:"hide", showAPI:true}, - {id:433, pId:4, t:"hideNodes", name:"hideNodes (nodes)", iconSkin:"hide", showAPI:true}, - {id:420, pId:4, t:"moveNode", name:"moveNode (targetNode, node, moveType, isSilent)", iconSkin:"edit", showAPI:true}, - {id:421, pId:4, t:"reAsyncChildNodes", name:"reAsyncChildNodes (parentNode, reloadType, isSilent, callback)", iconSkin:"core", showAPI:true}, - {id:437, pId:4, t:"reAsyncChildNodesPromise", name:"reAsyncChildNodesPromise(parentNode, reloadType, isSilent)", iconSkin:"core", showAPI:true}, - {id:422, pId:4, t:"refresh", name:"refresh ()", iconSkin:"core", showAPI:true}, - {id:423, pId:4, t:"removeChildNodes", name:"removeChildNodes (parentNode)", iconSkin:"core", showAPI:true}, - {id:424, pId:4, t:"removeNode", name:"removeNode (node, callbackFlag)", iconSkin:"core", showAPI:true}, - {id:425, pId:4, t:"selectNode", name:"selectNode (node, addFlag, isSilent)", iconSkin:"core", showAPI:true}, - {id:430, pId:4, t:"setChkDisabled", name:"setChkDisabled (node, disabled, inheritParent, inheritChildren)", iconSkin:"check", showAPI:true}, - {id:426, pId:4, t:"setEditable", name:"setEditable (editable)", iconSkin:"edit", showAPI:true}, - {id:434, pId:4, t:"showNode", name:"showNode (node)", iconSkin:"hide", showAPI:true}, - {id:435, pId:4, t:"showNodes", name:"showNodes (nodes)", iconSkin:"hide", showAPI:true}, - {id:427, pId:4, t:"transformToArray", name:"transformToArray (nodes)", iconSkin:"core", showAPI:true}, - {id:428, pId:4, t:"transformTozTreeNodes", name:"transformTozTreeNodes (simpleNodes)", iconSkin:"core", showAPI:true}, - {id:429, pId:4, t:"updateNode", name:"updateNode (node, checkTypeFlag)", iconSkin:"core", showAPI:true}, - {id:5, pId:0, name:"}"} - ]; - - apiContent.zTree_Setting = $.fn.zTree.init($("#settingTree"), $.fn.zTree._z.tools.clone(setting), setting_nodes); - apiContent.zTree_Node = $.fn.zTree.init($("#treenodeTree"), $.fn.zTree._z.tools.clone(setting), treenode_nodes); - apiContent.zTree_Function = $.fn.zTree.init($("#functionTree"), $.fn.zTree._z.tools.clone(setting), function_nodes); - this.bindEvent(); - - }, - bindEvent: function() { - $(document).bind("keydown", this.listenKeyDown) - this.overlayCloseBtn.bind("click", apiContent.overlayClose); - this.searchResultInput.bind("click", function(e) { - $(this).prev().get(0).focus(); - this.blur(); - }).bind("focus", function(e) { - this.blur(); - }); - this.searchKey.bind("focus", this.focusKey) - .bind("blur", this.blurKey) - .bind("propertychange", this.searchNode) - .bind("input", this.searchNode); - this.searchPrevBtn.bind("click", this.searchPrev); - this.searchNextBtn.bind("click", this.searchNext); - }, - setSameKey: function(value) { - apiContent.searchKey.attr("value", value); - }, - focusKey: function(e) { - if (apiContent.searchKey.hasClass("empty")) { - apiContent.searchKey.removeClass("empty"); - } - }, - blurKey: function(e) { - apiContent.setSameKey(e.target.value); - if (e.target.value === "") { - apiContent.searchKey.addClass("empty"); - } - }, - listenKeyDown: function(e) { - if (e.keyCode=="13" && apiContent.overlayDiv.is(":hidden")) { - apiContent.openAPI(); - } else if (e.keyCode=="37") { - apiContent.searchPrev(); - } else if (e.keyCode=="13" || e.keyCode=="39") { - apiContent.searchNext(); - } - }, - openAPI: function() { - if (apiContent.searchNodes.length > 0) { - var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"), - treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"), - function_zTree = $.fn.zTree.getZTreeObj("functionTree"); - if (apiContent.searchNodesCur < 0 || apiContent.searchNodesCur > apiContent.searchNodes.length -1) { - apiContent.searchNodesCur = 0; - } - var node = apiContent.searchNodes[apiContent.searchNodesCur]; - - if (node.tId.indexOf("setting") > -1) { - setting_zTree.selectNode(node); - } else if (node.tId.indexOf("treenode") > -1) { - treenode_zTree.selectNode(node); - } else { - function_zTree.selectNode(node); - } - apiContent.beforeClick(node.tId.substring(0, node.tId.indexOf("_")), node, true); - apiContent.searchCur(); - } - }, - searchNode: function(e) { - var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"), - treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"), - function_zTree = $.fn.zTree.getZTreeObj("functionTree"); - if (apiContent.curKey == e.target.value) return; - apiContent.curKey = e.target.value; - var value = $.trim(apiContent.curKey); - apiContent.setSameKey(apiContent.curKey); - if (apiContent.searchKey.hasClass("empty")) { - value = ""; - apiContent.searchResultInput.removeClass("noResult").attr("value",""); - } - if (apiContent.lastValue === value) return; - - apiContent.updateNodes(false); - apiContent.lastValue = value; - if (value === "" || value.length < 2) { - apiContent.searchNodes = []; - apiContent.searchNodesCur = -1; - apiContent.searchCur(true); - return; - } - - var settingNodeList = setting_zTree.getNodesByFilter(apiContent.searchFilter); - var functionNodeList = function_zTree.getNodesByFilter(apiContent.searchFilter); - var treenodeNodeList = treenode_zTree.getNodesByFilter(apiContent.searchFilter); - apiContent.searchNodes = settingNodeList.concat(functionNodeList).concat(treenodeNodeList); - apiContent.searchNodesCur = -1; - apiContent.searchCur(); - apiContent.updateNodes(true); - }, - searchFilter: function(node) { - var value = $.trim(apiContent.searchKey.get(0).value).toLowerCase(); - return (node.showAPI && node.name.toLowerCase().indexOf(value) > -1); - }, - searchPrev: function(e) { - if (apiContent.searchPrevBtn.hasClass("disabled")) return; - apiContent.searchNodesCur--; - if (apiContent.searchNodesCur < 0 || apiContent.searchNodesCur > apiContent.searchNodes.length -1) { - apiContent.searchNodesCur = apiContent.searchNodes.length -1; - } - apiContent.openAPI(); - }, - searchNext: function(e) { - if (apiContent.searchNextBtn.hasClass("disabled")) return; - apiContent.searchNodesCur++; - apiContent.openAPI(); - }, - searchCur: function(init) { - var result = apiContent.searchNodes; - if (init) { - apiContent.searchResultInput.removeClass("noResult").attr("value",""); - } else if (result.length == 0) { - apiContent.searchResultInput.addClass("noResult").attr("value"," [ 0 / 0 ] "); - } else { - apiContent.searchResultInput.removeClass("noResult").attr("value"," [ " + (apiContent.searchNodesCur > -1 ? apiContent.searchNodesCur+1 : "?")+ " / " + result.length + " ] "); - } - if (result.length > 0) { - apiContent.searchPrevBtn.removeClass("disabled"); - apiContent.searchNextBtn.removeClass("disabled"); - } else { - apiContent.searchPrevBtn.addClass("disabled"); - apiContent.searchNextBtn.addClass("disabled"); - } - }, - updateNodes: function(highlight) { - var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"), - treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"), - function_zTree = $.fn.zTree.getZTreeObj("functionTree"), - node = null; - for( var i=0, l=apiContent.searchNodes.length; i 0) { - node.highlight = highlight; - if (node.tId.indexOf("setting") > -1) { - setting_zTree.updateNode(node); - } else if (node.tId.indexOf("treenode") > -1) { - treenode_zTree.updateNode(node); - } else { - function_zTree.updateNode(node); - } - } - } - }, - getFontCss: function(treeId, treeNode) { - return (!!treeNode.highlight) ? {color:"#A60000", "font-weight":"bold"} : {color:"#333", "font-weight":"normal"}; - }, - getTitle: function(treeId, node) { - var t = [], n = node; - while (n && !!n.t) { - t.push(n.t); - n = n.getParentNode(); - } - t = t.reverse(); - node.tt = t.join('.'); - return true; - }, - showIcon: function(treeId, node) { - return (!!node.iconSkin); - }, - onNodeCreated: function (e, treeId, node) { - var a = $("#" + node.tId + "_a"); - if (node.showAPI) { - a.attr("rel", "#overlayDiv"); - } else { - a.css({cursor: "default"}); - } - }, - beforeClick: function (treeId, node, noClear) { - if (!node.showAPI) return false; - var o = $("#" + node.tId + "_a"); - if (!!apiContent.apiCache[node.tId]) { - apiContent.tmpDiv.html(apiContent.apiCache[node.tId]); - apiContent.overlayShow(o, (apiContent.lastNode === node)); - } else { - apiContent.overlayAjax(treeId, node); - } - apiContent.lastNode = node; - if (node.tId.indexOf("settingTree")>-1) { - apiContent.settingDiv.removeClass("right").addClass("left"); - apiContent.functionDiv.removeClass("left").addClass("right"); - } else { - apiContent.settingDiv.removeClass("left").addClass("right"); - apiContent.functionDiv.removeClass("right").addClass("left"); - } - - if (!noClear) { - apiContent.clearSelectedNode(); - } - return true; - }, - clearSelectedNode: function() { - apiContent.zTree_Setting.cancelSelectedNode(); - apiContent.zTree_Node.cancelSelectedNode(); - apiContent.zTree_Function.cancelSelectedNode(); - }, - overlayAutoClose: function(e) { - var eId = e.target.id, eRel = e.target.getAttribute("rel"), eClass = e.target.className; - if (eId === "overlayDiv" || eId === "overlayDivArrow" || eClass.indexOf("searchPrev") > -1 || eClass.indexOf("searchNext") > -1 || !!eRel) return; - if (!$(e.target).parents("[rel]").length && !$(e.target).parents("#overlayDiv").length) { - apiContent.overlayClose(); - } - }, - overlayClose: function() { - var o = apiContent.overlayDiv; - o.stop(); - apiContent.clearSelectedNode(); - if (ie) { - o.hide(); - } else { - setTimeout(function() {o.fadeTo("fast", 0, function(){o.hide();})}, 200); - } - $(document).unbind("click", apiContent.overlayAutoClose); - }, - overlayShow: function(target, isSameNode) { - var w = $(window), o = apiContent.overlayDiv, a = apiContent.overlayArrow, - oc = apiContent.overlayContent, c = apiContent.contentBoxDiv, - t = target.offset().top - 30, - cMaxLeft = c.offset().left + c.outerWidth({margin:true}) - o.outerWidth({margin:true}) - 10, - l = Math.min(cMaxLeft, target.offset().left + target.width() + 40), - arrowT = target.offset().top + 16, - wMinTop = 100, footerHeight = 50, onlyFade = false, - wHeight = w.height(), wScrollTop=w.scrollTop(), wMaxTop = wHeight + wScrollTop - footerHeight; - if (!apiContent.overlayMaxTop) { - apiContent.overlayMaxTop = apiContent.contentBoxDiv.offset().top + apiContent.contentBoxDiv.height(); - } - o.stop(); - if (o.css("display") !== "block") { - o.css({top: t, left: l}); - a.css({top:arrowT - t}); - $(document).bind("click", apiContent.overlayAutoClose); - } - if (ie) { - onlyFade = true; - o.show(); - } else { - o.fadeTo("fast", 1); - } - - var h = apiContent.tmpDiv.outerHeight({margin:true}) + apiContent.overlaySearch.outerHeight(); - if ((t + h) > wMaxTop) { - t = wMaxTop - h; - } - if ((t + h) > apiContent.overlayMaxTop) { - t = apiContent.overlayMaxTop - h; - } - t = Math.max(t, wScrollTop, wMinTop); - if ((t + h) > ($("body").height()-footerHeight-20)) { - o.css("padding-bottom", footerHeight + "px"); - } else { - o.css("padding-bottom", "0"); - } - apiContent.overlayDetailDiv.empty(); - apiContent.overlayDetailDiv.append(apiContent.tmpDiv.children()); - if (!onlyFade) { - onlyFade = (isSameNode && t === parseInt(o.css("top").replace("px", ""))); - } - - a.removeClass("reverse"); - if ( (arrowT - t) > (h-55) ) { - a.addClass("reverse"); - arrowT -= 55; - } - - if (onlyFade) { - o.css({top: t, left: l}); - oc.css({height: h}); - a.css({top:arrowT - t}); - } else { - o.animate({top: t, left: l}, {duration: "normal",easing: "swing", complete:null}); - oc.animate({height: h}, {duration: "fast",easing: "swing", complete:null}); - a.animate({top:arrowT - t}, {duration: "normal",easing: "linear", complete:null}); - } - }, - overlayAjax: function(treeId, node) { - var o = $("#" + node.tId + "_a"); - if (node.isAjax) return; - node.isAjax = true; - $.ajax({ - type: "get", - url: "" + lang + "/" + node.tt.replace("$.", "") + ".html", - data: null, - dataType: "text", - success: function(msg) { - if (!apiContent.tmpDiv) { - var tmpDiv = $(document.createElement("div")); - tmpDiv.addClass("baby_overlay_tmp"); - $("body").append(tmpDiv) - apiContent.tmpDiv = $(document.createElement("div")); - apiContent.tmpDiv.addClass("details"); - tmpDiv.append(apiContent.tmpDiv); - - } else { - apiContent.tmpDiv.empty(); - } - apiContent.tmpDiv.html(msg); - apiContent.overlayShow(o, false); - apiContent.apiCache[node.tId] = msg; - node.isAjax = false; - }, - error: function(XMLHttpRequest, textStatus, errorThrown) { - alert(ajaxMsg) - if (apiContent.tmpDiv) apiContent.tmpDiv.empty(); - node.isAjax = false; - } - }); - } -} \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/common.css b/admin/target/classes/static/lib/zTree_v3/api/apiCss/common.css deleted file mode 100644 index bc26d59..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/apiCss/common.css +++ /dev/null @@ -1,218 +0,0 @@ -/* Resets */ -html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;} -:focus {outline: 0;} -body {color: #2f332a;font: 15px/21px Arial, Helvetica, simsun, sans-serif;background: #528036 url(img/background.jpg) no-repeat fixed 0 0;} -p {padding-bottom: 20px;} -ol, ul {list-style: none;} -table {border-collapse: separate;border-spacing: 0;} -caption, th, td {text-align: left;font-weight: normal;} -strong {font-weight: bold;} -em {font-style: italic;} -hr {display: none;} -.font1 {color: white;background-color: #528036;} -.right {float: right;} -.left {float: left;} -.hide {display: none;} -.round {-moz-border-radius: 15px;-webkit-border-radius: 15px;-khtml-border-radius: 15px;border-radius: 15px;} -.clear {clear: both;} -.clearfix {display: block;} -.clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;} -html[xmlns] .clearfix {display: block;} -* html .clearfix {height: 1%;} - -/* Link Styles */ -a {color: #528036;} -a:link, a:visited {text-decoration: none;} -a:hover {color: #000;text-decoration: none;} -a:active {text-decoration: none;} - -/* Headings */ -h1, h2, h3, h4, h5, h6 {color: #2f332a;font-weight: bold;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;} -h1 {font-size: 36px;line-height: 44px;} -h2 {font-size: 20px;line-height: 20px;} -h3 {font-size: 14px;line-height: 14px;} -h4 {font-size: 14px;font-weight: normal;line-height: 25px;} - -/* Wraps */ -.header_wrap {position: relative;min-width: 940px;padding: 100px 30px 0 30px;} -.content_wrap {position: relative;min-width: 940px;padding: 0 30px 50px 30px;} -.footer_wrap {bottom: 0;height: 47px;width: 100%;background-color: #1b1b1b;border-top: 1px solid #749e58;} - -/* Header */ -.header {position: relative;width: 940px;margin: 0 auto;height: 160px;border: 1px solid white;background: transparent url(img/header-bg.png) repeat-x 0 -50px;} -.header-text {padding: 40px 25px 15px 120px;font-size: 18px;line-height: 24px;color: #747d67;font-family: Helvetica, sans-serif;} -.header-text img {padding-bottom: 5px;} -.shortcuts {white-space: nowrap;text-align: right;position: absolute;top: -45px;right: 5px;} -.shortcuts.language {top: -85px;right:0px;} -.shortcuts li {display: inline;font-size: 18px;line-height: 28px;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;margin-left: 30px;cursor: pointer;} -.shortcuts li button {cursor: pointer;} -.shortcuts li span {border-bottom: 1px dotted white;} -.shortcuts li span.selected {padding: 2px;background-color: #528036;} -.shortcuts li a {color: #fff;} -.ieSuggest {display:none;font-size: 12px;color: silver;position: absolute;left: 10px;top: 2px;} -.light-bulb {position: absolute;left: -20px;bottom: -35px;width:116px;height:180px;background-image:url(img/lightbulb.png);background-repeat: no-repeat;} - -/* Content */ -.content {position: relative;width: 940px;margin: 0 auto;} -.nav_section {position: relative;height: 20px;font-family: "Myriad Pro", "Trebuchet MS", sans-serif;font-size: 15px;color: #253;padding: 20px 0;} -.nav_section ul {position: absolute;right: 10px;} -.nav_section ul li {display: inline;line-height: 20px;margin: 0 5px 0 20px;border-bottom: 1px dotted white;} -.nav_section ul li.noline {border-bottom: 0;} -.nav_section ul li a {color: #fff;} -.nav_section ul li a.selected {padding: 2px;background-color: #528036;} -.nav_section ul li.first {border: none;} -.content .title {margin: 50px 30px 20px 70px;} -.content li {margin-bottom: 5px;} -.contentBox {position: relative;overflow: hidden;border: 1px solid white;min-height: 200px;line-height: 25px;background: transparent url(img/contact-bg.png) repeat-x 0 0;} - -.zTreeInfo {display:none;width: 940px;position: absolute;} -.zTreeInfo p {padding-bottom: 50px;} -.zTreeInfo-left {float: left;width: 280px;height:300px;padding: 0 50px 60px 75px;background:url(img/zTreeIntroduction.jpg) no-repeat 30px 30px;} -.zTreeInfo-right {position: relative;float: right;width: 475px;padding: 0 50px 60px 0;} -.zTreeInfo-right li {font-size: 12px;list-style-type: disc;} - -.license {display:none;width: 940px;position: absolute;} - -.donateInfo {display:block;width: 940px;position: absolute;} - -.links {display:none;width: 940px;position: absolute;} -.links .content {float: left;width: 160px;height:200px;padding: 0 10px 10px 2px;text-align: center;} -.links .content.first {margin-left: 30px;} - -.contact {display:none;width: 940px;position: absolute;} -.contact .myhome { position: absolute; top:10px; left:620px; width:300px; height:266px; background: transparent url(img/myhome.gif) scroll no-repeat 0 0;} - -.siteTag {position: absolute;left: -16px;top: 109px;z-index: 10;width: 65px;height: 46px;padding:0;margin:0 10px 0 0; - vertical-align:middle;border:0 none;background: transparent url(img/siteTag.png) scroll no-repeat 0 0;} -.siteTag.tag_zTreeInfo {background-position: 0 0} -.siteTag.tag_license {background-position: 0 -46px} -.siteTag.tag_donate {background-position: 0 -92px} -.siteTag.tag_contact {background-position: 0 -138px} - -.apiContent {width: 940px;} -.apiContent .right {float: right;padding-right: 100px;} -.apiContent .left {float: left;padding-right: 20px;border-right: 1px dotted silver;} -.api_setting {position: relative;margin:20px 0 20px 20px;} -.api_function {position: relative;margin:20px 0 20px 30px;padding-right: 10px;} -.api_content_title {text-align: center;font-weight: bold;} - -.demoContent {width: 940px;} -.demoContent .right {float: right;padding: 20px;width: 600px;} -.demoContent .left {float: left;padding: 20px;} -.demoContent iframe {width:600px;min-height: 530px;} - -.faqContent {width: 940px;} -.faqContent .right {float: right;padding: 20px;width: 600px;} -.faqContent .left {float: left;padding: 20px;} -.faqContent iframe {width:600px;min-height: 300px;} - -.baby_overlay_tmp {position: absolute;top:0; left:-5000px;display:block;visibility: hidden;width:640px;font-size:11px;} -.baby_overlay_tmp .details {padding: 20px;} -.baby_overlay {display:none;position:absolute;z-index:99;left:0; top:0;width:640px;color:#fff;font-size:11px;} -.baby_overlay .content {width:100%; height:100px;overflow: hidden;background: transparent url(img/overlay_bg.png) scroll repeat 0 0;} -.baby_overlay .details {padding:0 20px 20px 20px;} -.baby_overlay .close {background-image:url(img/close.png);position:absolute; right:5px; top:5px;cursor:pointer;height:36px;width:36px;} -.baby_overlay_arrow {background-image:url(img/overlay_arrow.png);background-position:0 0;position:absolute;height:40px;width:40px;left: -40px;} -.baby_overlay_arrow.reverse {background-position:0 -40px;} - -/* Footer */ -.footer {position: relative;min-width: 1000px;font: 14px/24px arial, helvetica, sans-serif;} -.footer ul {position:absolute;left: 0px;border:1px solid #393939;background:#262626;padding:12px 0px;line-height: 18px;display: none;list-style: none;} -.footer ul li a {display:block;padding: 2px 15px;color: #9c9c9c;text-indent: 0;} -.footer ul li a:hover {text-decoration:none;color: #fff;} -.footer-logo {position:absolute;margin: 10px 0 0 30px;width:122px; height:24px;top:0; left:0;background: transparent url(img/footer-logo.png) no-repeat 0 0;} -.footer_mii {position: absolute;right: 558px;top: 8px;z-index: 10;padding: 4px 0;} -.footer_mii a {font-size:10px;color:#649140} -.footer_mii a:hover {color:#B6D76F} -.footer_siteMap {position: absolute;right: 358px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;} -.footer_siteMap .footer_siteMap_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_siteMap.gif) no-repeat 0 0;} -.footer_siteMap ul {top:-202px;width:180px;} -.footer_siteMap:hover ul {left: 0} -.footer_contact {position: absolute;right: 193px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;} -.footer_contact .footer_contact_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_contact.gif) no-repeat 0px 0px;} -.footer_contact ul {top:-113px;width:153px;} -.footer_contact:hover ul {left: 0} -.footer_download {position: absolute;right: 60px;top: 8px;width: 123px;z-index: 10;padding: 4px 0;} -.footer_download .footer_download_header {width:123px;text-indent: -9999px;background: transparent url(img/footer_download.png) no-repeat 0px 0px;} -.footer_download ul {top:-113px;width:140px;} -.footer_download:hover ul {left: 0} - -/* button icon */ -button {vertical-align:middle;border:0 none;background: transparent no-repeat 0 0 scroll;} - -.shortcuts button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/menuIcon.png)} -.shortcuts button.home {background-position: 0 0} -.shortcuts button.demo {background-position: 0 -24px} -.shortcuts button.api {background-position: 0 -48px} -.shortcuts button.faq {background-position: 0 -72px} -.shortcuts button.donate {background-position: 0 -144px} -.shortcuts button.download {background-position: 0 -96px} -.shortcuts button.face {background-position: 0 -120px} -.shortcuts button.cn {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/chinese.png)} -.shortcuts button.en {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/english.png)} - -.content button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;} - -.content button.ico16 {width:16px; height:16px;padding:0; margin:0 5px 0 0;background-image:url("img/apiMenu.png");} -button.z_core {margin-top: -4px;background-position:0 0;} -button.z_check {margin-top: -4px;background-position:0 -16px;} -button.z_edit {margin-top: -4px;background-position:0 -32px;} -button.z_hide {margin-top: -4px;background-position:0 -64px;} -button.z_search {margin-top: -4px;background-position:0 -48px;} -button.searchPrev {margin-top: -4px;background-position:-16px 0;cursor:pointer} -button.searchNext {margin-top: -4px;background-position:-16px -16px;cursor:pointer} -button.searchPrev.disabled {margin-top: -4px;background-position:-16px -32px;cursor:auto} -button.searchNext.disabled {margin-top: -4px;background-position:-16px -48px;cursor:auto} -input.search {margin:0;padding:2px 0; border:0;} -input.searchKey {width:150px;} -input.searchResult {margin-left:-3px;width:65px;text-align:right;background-color:white;color:#707070} -input.searchResult.noResult {background-color:#ff6666;color:black} -.baby_overlay div.overlaySearch {text-align:right;padding-right:50px;padding-top:12px;} - -/* api overlay*/ -.apiDetail .topLine {border-top: 1px dashed #376B29;margin-top: 5px;padding-top: 5px;} -.apiDetail .highlight_red {color:#A60000;} -.apiDetail .highlight_green {color:#A7F43D;} -.apiDetail h1, .apiDetail h2, .apiDetail h3, .apiDetail h4, .apiDetail h5, .apiDetail h6 {color: white;padding: 0;} -.apiDetail h2 {color: #A7F43D;margin: 5px auto;padding: 5px;font-size: 20px;} -.apiDetail h2 span {font-size: 14px;float: right;font-weight: normal;margin: 2px 20px 0 0;vertical-align: bottom;} -.apiDetail h2 span.path {float: left;margin: 2px 0 0 0;vertical-align: bottom;} -.apiDetail h3 {margin: 5px auto;padding: 5px;font-size: 14px;font-weight: normal;} -.apiDetail h3 span.h3_info {margin-left: 20px;font-size: 12px;} -.apiDetail h4 {margin: 0 auto;padding: 0 5px;font-size: 12px;font-weight: normal;line-height: 16px;} -.apiDetail .desc h4 {color: black;} -.apiDetail h4 b{width: 150px;display:inline-block;} -.apiDetail h4 span{width: 230px;display:inline-block;} - -.apiDetail pre, .apiDetail .desc {background: #E8FCD6;color: black;margin: 10px;padding: 10px;display: block;} -.apiDetail pre {word-wrap: break-word;} -.apiDetail p{margin-left: 5px;padding: 0;} -.apiDetail .longdesc {margin-top: 5px;} -.apiDetail .longdesc p{font-size: 12px;line-height:1.5;margin:3px 0;} -.apiDetail .longdesc b{font-size: 14px;} -.apiDetail table {border-collapse:collapse;} -.apiDetail table td {border:1px solid silver;text-align: center;vertical-align: middle;} -.apiDetail table thead td {font-weight: bold} - -.apiDetail button {width:16px; height:16px; vertical-align:middle; border:0 none; cursor: pointer; - background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; - background-image:url("zTreeStyle/img/zTreeStandard.png");} - -.apiDetail button.chk {width:13px; height:13px; margin:0 3px 2px 0; cursor: auto} -.apiDetail button.chk.checkbox_false_full {background-position:0 0} -.apiDetail button.chk.checkbox_false_full_focus {background-position:0 -14px} -.apiDetail button.chk.checkbox_false_part {background-position:0 -28px} -.apiDetail button.chk.checkbox_false_part_focus {background-position:0 -42px} -.apiDetail button.chk.checkbox_true_full {background-position:-14px 0} -.apiDetail button.chk.checkbox_true_full_focus {background-position:-14px -14px} -.apiDetail button.chk.checkbox_true_part {background-position:-14px -28px} -.apiDetail button.chk.checkbox_true_part_focus {background-position:-14px -42px} -.apiDetail button.chk.radio_false_full {background-position:-28px 0} -.apiDetail button.chk.radio_false_full_focus {background-position:-28px -14px} -.apiDetail button.chk.radio_false_part {background-position:-28px -28px} -.apiDetail button.chk.radio_false_part_focus {background-position:-28px -42px} -.apiDetail button.chk.radio_true_full {background-position:-42px 0} -.apiDetail button.chk.radio_true_full_focus {background-position:-42px -14px} -.apiDetail button.chk.radio_true_part {background-position:-42px -28px} -.apiDetail button.chk.radio_true_part_focus {background-position:-42px -42px} \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/common_ie6.css b/admin/target/classes/static/lib/zTree_v3/api/apiCss/common_ie6.css deleted file mode 100644 index aacaf59..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/apiCss/common_ie6.css +++ /dev/null @@ -1,23 +0,0 @@ -* html{ -/* background-image:url(about:blank);*/ - background-attachment:fixed; -} -html pre {word-wrap: break-word} -.header {background-image: none;background-color: #F0F6E4;} - -.ieSuggest {display:block;} -.shortcuts button.cn {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/chinese.png');background-image: none;} -.shortcuts button.en {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/english.png');background-image: none;} - -.light-bulb {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/lightbulb.png');background-image: none;} -.contentBox {background-image: none;background-color: #F0F6E4;} -.zTreeInfo {background-image: none;background-color: #F0F6E4;} - -.content button.ico16 {*background-image:url("img/apiMenu.gif")} -.siteTag {background-image: none;} -.apiContent .right {float: right;padding-right: 50px;} - -div.baby_overlay {background-color: #3C6E31;background-image:none;color:#fff;} -div.baby_overlay .close {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/overlay_close_IE6.gif');background-image: none;} -.baby_overlay_arrow {background-image:url(img/overlay_arrow.gif);} -.apiDetail button {background-image:url("img/zTreeStandard.gif")} \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/apiMenu.gif b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/apiMenu.gif deleted file mode 100644 index 066fc8e..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/apiMenu.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/apiMenu.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/apiMenu.png deleted file mode 100644 index 9acec50..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/apiMenu.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/background.jpg b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/background.jpg deleted file mode 100644 index 003375f..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/background.jpg and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/chinese.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/chinese.png deleted file mode 100644 index d3b57fc..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/chinese.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/close.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/close.png deleted file mode 100644 index 69e41e3..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/close.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/contact-bg.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/contact-bg.png deleted file mode 100644 index a3d7a5f..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/contact-bg.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/english.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/english.png deleted file mode 100644 index 2ad2d7d..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/english.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/header-bg.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/header-bg.png deleted file mode 100644 index a2baacf..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/header-bg.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/lightbulb.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/lightbulb.png deleted file mode 100644 index c99357a..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/lightbulb.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_arrow.gif b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_arrow.gif deleted file mode 100644 index e7c3e6d..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_arrow.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_arrow.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_arrow.png deleted file mode 100644 index d790a11..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_arrow.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_bg.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_bg.png deleted file mode 100644 index 5f81ee6..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_bg.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_close_IE6.gif b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_close_IE6.gif deleted file mode 100644 index 42cb8d8..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/overlay_close_IE6.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/zTreeStandard.gif b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/zTreeStandard.gif deleted file mode 100644 index 3f69a5b..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/zTreeStandard.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/zTreeStandard.png b/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/zTreeStandard.png deleted file mode 100644 index 33c9e84..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/api/apiCss/img/zTreeStandard.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/jquery-1.6.2.min.js b/admin/target/classes/static/lib/zTree_v3/api/apiCss/jquery-1.6.2.min.js deleted file mode 100644 index 8cdc80e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/apiCss/jquery-1.6.2.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * jQuery JavaScript Library v1.6.2 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu Jun 30 14:16:56 2011 -0400 - */ -(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
              a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
              ",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
              t
              ",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i. -shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

              ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
              ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/",""],legend:[1,"
              ","
              "],thead:[1,"","
              "],tr:[2,"","
              "],td:[3,"","
              "],col:[2,"","
              "],area:[1,"",""],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div
              ","
              "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j -)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
              ").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
              ";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/jquery.ztree.core.js b/admin/target/classes/static/lib/zTree_v3/api/apiCss/jquery.ztree.core.js deleted file mode 100644 index b8a472a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/apiCss/jquery.ztree.core.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * JQuery zTree core v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(r){var J,K,L,M,N,O,v,t={},w={},x={},P={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{isParent:"isParent",children:"children",name:"name",title:"",url:"url",icon:"icon"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post", -dataType:"text",headers:{},xhrFields:{},url:"",autoParam:[],otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},y=[function(a){var b=a.treeObj,c=g.event;b.bind(c.NODECREATED, -function(b,c,i){h.apply(a.callback.onNodeCreated,[b,c,i])});b.bind(c.CLICK,function(b,c,i,e,k){h.apply(a.callback.onClick,[c,i,e,k])});b.bind(c.EXPAND,function(b,c,i){h.apply(a.callback.onExpand,[b,c,i])});b.bind(c.COLLAPSE,function(b,c,i){h.apply(a.callback.onCollapse,[b,c,i])});b.bind(c.ASYNC_SUCCESS,function(b,c,i,e){h.apply(a.callback.onAsyncSuccess,[b,c,i,e])});b.bind(c.ASYNC_ERROR,function(b,c,i,e,k,g){h.apply(a.callback.onAsyncError,[b,c,i,e,k,g])});b.bind(c.REMOVE,function(b,c,i){h.apply(a.callback.onRemove, -[b,c,i])});b.bind(c.SELECTED,function(b,c,i){h.apply(a.callback.onSelected,[c,i])});b.bind(c.UNSELECTED,function(b,c,i){h.apply(a.callback.onUnSelected,[c,i])})}],z=[function(a){var b=g.event;a.treeObj.unbind(b.NODECREATED).unbind(b.CLICK).unbind(b.EXPAND).unbind(b.COLLAPSE).unbind(b.ASYNC_SUCCESS).unbind(b.ASYNC_ERROR).unbind(b.REMOVE).unbind(b.SELECTED).unbind(b.UNSELECTED)}],A=[function(a){var b=e.getCache(a);b||(b={},e.setCache(a,b));b.nodes=[];b.doms=[]}],B=[function(a,b,c,d,f,i){if(c){var m= -e.getRoot(a),k=e.nodeChildren(a,c);c.level=b;c.tId=a.treeId+"_"+ ++m.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?h.eqs(c.open,"true"):!!c.open;b=e.nodeIsParent(a,c);h.isArray(k)&&!(b===!1||typeof b=="string"&&h.eqs(b,"false"))?(e.nodeIsParent(a,c,!0),c.zAsync=!0):(b=e.nodeIsParent(a,c,b),c.open=b&&!a.async.enable?c.open:!1,c.zAsync=!b);c.isFirstNode=f;c.isLastNode=i;c.getParentNode=function(){return e.getNodeCache(a,c.parentTId)};c.getPreNode=function(){return e.getPreNode(a,c)};c.getNextNode= -function(){return e.getNextNode(a,c)};c.getIndex=function(){return e.getNodeIndex(a,c)};c.getPath=function(){return e.getNodePath(a,c)};c.isAjaxing=!1;e.fixPIdKeyValue(a,c)}}],u=[function(a){var b=a.target,c=e.getSetting(a.data.treeId),d="",f=null,i="",m="",k=null,j=null,o=null;if(h.eqs(a.type,"mousedown"))m="mousedown";else if(h.eqs(a.type,"mouseup"))m="mouseup";else if(h.eqs(a.type,"contextmenu"))m="contextmenu";else if(h.eqs(a.type,"click"))if(h.eqs(b.tagName,"span")&&b.getAttribute("treeNode"+ -g.id.SWITCH)!==null)d=h.getNodeMainDom(b).id,i="switchNode";else{if(o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}]))d=h.getNodeMainDom(o).id,i="clickNode"}else if(h.eqs(a.type,"dblclick")&&(m="dblclick",o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}])))d=h.getNodeMainDom(o).id,i="switchNode";if(m.length>0&&d.length==0&&(o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}])))d=h.getNodeMainDom(o).id;if(d.length>0)switch(f=e.getNodeCache(c,d),i){case "switchNode":e.nodeIsParent(c, -f)?h.eqs(a.type,"click")||h.eqs(a.type,"dblclick")&&h.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?k=J:i="":i="";break;case "clickNode":k=K}switch(m){case "mousedown":j=L;break;case "mouseup":j=M;break;case "dblclick":j=N;break;case "contextmenu":j=O}return{stop:!1,node:f,nodeEventType:i,nodeEventCallback:k,treeEventType:m,treeEventCallback:j}}],C=[function(a){var b=e.getRoot(a);b||(b={},e.setRoot(a,b));e.nodeChildren(a,b,[]);b.expandTriggerFlag=!1;b.curSelectedList=[];b.noSelection= -!0;b.createdNodes=[];b.zId=0;b._ver=(new Date).getTime()}],D=[],E=[],F=[],G=[],H=[],e={addNodeCache:function(a,b){e.getCache(a).nodes[e.getNodeCacheId(b.tId)]=b},getNodeCacheId:function(a){return a.substring(a.lastIndexOf("_")+1)},addAfterA:function(a){E.push(a)},addBeforeA:function(a){D.push(a)},addInnerAfterA:function(a){G.push(a)},addInnerBeforeA:function(a){F.push(a)},addInitBind:function(a){y.push(a)},addInitUnBind:function(a){z.push(a)},addInitCache:function(a){A.push(a)},addInitNode:function(a){B.push(a)}, -addInitProxy:function(a,b){b?u.splice(0,0,a):u.push(a)},addInitRoot:function(a){C.push(a)},addNodesData:function(a,b,c,d){var f=e.nodeChildren(a,b);f?c>=f.length&&(c=-1):(f=e.nodeChildren(a,b,[]),c=-1);if(f.length>0&&c===0)f[0].isFirstNode=!1,j.setNodeLineIcos(a,f[0]);else if(f.length>0&&c<0)f[f.length-1].isLastNode=!1,j.setNodeLineIcos(a,f[f.length-1]);e.nodeIsParent(a,b,!0);c<0?e.nodeChildren(a,b,f.concat(d)):(a=[c,0].concat(d),f.splice.apply(f,a))},addSelectedNode:function(a,b){var c=e.getRoot(a); -e.isSelectedNode(a,b)||c.curSelectedList.push(b)},addCreatedNode:function(a,b){(a.callback.onNodeCreated||a.view.addDiyDom)&&e.getRoot(a).createdNodes.push(b)},addZTreeTools:function(a){H.push(a)},exSetting:function(a){r.extend(!0,P,a)},fixPIdKeyValue:function(a,b){a.data.simpleData.enable&&(b[a.data.simpleData.pIdKey]=b.parentTId?b.getParentNode()[a.data.simpleData.idKey]:a.data.simpleData.rootPId)},getAfterA:function(a,b,c){for(var d=0,e=E.length;d-1&& -f.push(k);k=e.nodeChildren(a,k);f=f.concat(e.getNodesByParamFuzzy(a,k,c,d))}return f},getNodesByFilter:function(a,b,c,d,f){if(!b)return d?null:[];for(var i=d?null:[],m=0,k=b.length;m -0)},clone:function(a){if(a===null)return null;var b=h.isArray(a)?[]:{},c;for(c in a)b[c]=a[c]instanceof Date?new Date(a[c].getTime()):typeof a[c]==="object"?h.clone(a[c]):a[c];return b},eqs:function(a,b){return a.toLowerCase()===b.toLowerCase()},isArray:function(a){return Object.prototype.toString.apply(a)==="[object Array]"},isElement:function(a){return typeof HTMLElement==="object"?a instanceof HTMLElement:a&&typeof a==="object"&&a!==null&&a.nodeType===1&&typeof a.nodeName==="string"},$:function(a, -b,c){b&&typeof b!="string"&&(c=b,b="");return typeof a=="string"?r(a,c?c.treeObj.get(0).ownerDocument:null):r("#"+a.tId+b,c?c.treeObj:null)},getMDom:function(a,b,c){if(!b)return null;for(;b&&b.id!==a.treeId;){for(var d=0,e=c.length;b.tagName&&d0},uCanDo:function(){return!0}},j={addNodes:function(a,b,c,d,f){var i=e.nodeIsParent(a,b);if(!a.data.keep.leaf||!b||i)if(h.isArray(d)||(d=[d]),a.data.simpleData.enable&&(d=e.transformTozTreeFormat(a,d)),b){var i=l(b,g.id.SWITCH,a),m=l(b,g.id.ICON,a),k=l(b,g.id.UL,a);if(!b.open)j.replaceSwitchClass(b,i,g.folder.CLOSE),j.replaceIcoClass(b,m,g.folder.CLOSE),b.open=!1,k.css({display:"none"});e.addNodesData(a,b,c,d);j.createNodes(a,b.level+1,d,b,c);f||j.expandCollapseParentNode(a,b,!0)}else e.addNodesData(a, -e.getRoot(a),c,d),j.createNodes(a,0,d,null,c)},appendNodes:function(a,b,c,d,f,i,g){if(!c)return[];var k=[],h=d?d:e.getRoot(a),h=e.nodeChildren(a,h),o,l;if(!h||f>=h.length-c.length)f=-1;for(var s=0,n=c.length;s0&&(l=j.appendNodes(a,b+1,I,p,-1,i,g&&p.open));g&&(j.makeDOMNodeMainBefore(k,a,p),j.makeDOMNodeLine(k, -a,p),e.getBeforeA(a,p,k),j.makeDOMNodeNameBefore(k,a,p),e.getInnerBeforeA(a,p,k),j.makeDOMNodeIcon(k,a,p),e.getInnerAfterA(a,p,k),j.makeDOMNodeNameAfter(k,a,p),e.getAfterA(a,p,k),o&&p.open&&j.makeUlHtml(a,p,k,l.join("")),j.makeDOMNodeMainAfter(k,a,p),e.addCreatedNode(a,p))}return k},appendParentULDom:function(a,b){var c=[],d=l(b,a);!d.get(0)&&b.parentTId&&(j.appendParentULDom(a,b.getParentNode()),d=l(b,a));var f=l(b,g.id.UL,a);f.get(0)&&f.remove();f=e.nodeChildren(a,b);f=j.appendNodes(a,b.level+1, -f,b,-1,!1,!0);j.makeUlHtml(a,b,c,f.join(""));d.append(c.join(""))},asyncNode:function(a,b,c,d){var f,i;f=e.nodeIsParent(a,b);if(b&&!f)return h.apply(d),!1;else if(b&&b.isAjaxing)return!1;else if(h.apply(a.callback.beforeAsync,[a.treeId,b],!0)==!1)return h.apply(d),!1;if(b)b.isAjaxing=!0,l(b,g.id.ICON,a).attr({style:"","class":g.className.BUTTON+" "+g.className.ICO_LOADING});var m={},k=h.apply(a.async.autoParam,[a.treeId,b],a.async.autoParam);for(f=0,i=k.length;b&&f1&&(o=q[1],q=q[0]);m[o]=b[q]}k=h.apply(a.async.otherParam,[a.treeId,b],a.async.otherParam);if(h.isArray(k))for(f=0,i=k.length;f-1?JSON.stringify(m):m,dataType:a.async.dataType,headers:a.async.headers,xhrFields:a.async.xhrFields,success:function(i){if(s== -e.getRoot(a)._ver){var f=[];try{f=!i||i.length==0?[]:typeof i=="string"?eval("("+i+")"):i}catch(k){f=i}if(b)b.isAjaxing=null,b.zAsync=!0;j.setNodeLineIcos(a,b);f&&f!==""?(f=h.apply(a.async.dataFilter,[a.treeId,b,f],f),j.addNodes(a,b,-1,f?h.clone(f):[],!!c)):j.addNodes(a,b,-1,[],!!c);a.treeObj.trigger(g.event.ASYNC_SUCCESS,[a.treeId,b,i]);h.apply(d)}},error:function(c,d,i){if(s==e.getRoot(a)._ver){if(b)b.isAjaxing=null;j.setNodeLineIcos(a,b);a.treeObj.trigger(g.event.ASYNC_ERROR,[a.treeId,b,c,d,i])}}}); -return!0},cancelPreSelectedNode:function(a,b,c){var d=e.getRoot(a).curSelectedList,f,i;for(f=d.length-1;f>=0;f--)if(i=d[f],b===i||!b&&(!c||c!==i))if(l(i,g.id.A,a).removeClass(g.node.CURSELECTED),b){e.removeSelectedNode(a,b);break}else d.splice(f,1),a.treeObj.trigger(g.event.UNSELECTED,[a.treeId,i])},createNodeCallback:function(a){if(a.callback.onNodeCreated||a.view.addDiyDom)for(var b=e.getRoot(a);b.createdNodes.length>0;){var c=b.createdNodes.shift();h.apply(a.view.addDiyDom,[a.treeId,c]);a.callback.onNodeCreated&& -a.treeObj.trigger(g.event.NODECREATED,[a.treeId,c])}},createNodes:function(a,b,c,d,f){if(c&&c.length!=0){var i=e.getRoot(a),m=!d||d.open||!!l(e.nodeChildren(a,d)[0],a).get(0);i.createdNodes=[];var b=j.appendNodes(a,b,c,d,f,!0,m),k,h;d?(d=l(d,g.id.UL,a),d.get(0)&&(k=d)):k=a.treeObj;k&&(f>=0&&(h=k.children()[f]),f>=0&&h?r(h).before(b.join("")):k.append(b.join("")));j.createNodeCallback(a)}},destroy:function(a){a&&(e.initCache(a),e.initRoot(a),n.unbindTree(a),n.unbindEvent(a),a.treeObj.empty(),delete t[a.treeId])}, -expandCollapseNode:function(a,b,c,d,f){var i=e.getRoot(a),m;if(b){var k=e.nodeChildren(a,b),q=e.nodeIsParent(a,b);if(i.expandTriggerFlag)m=f,f=function(){m&&m();b.open?a.treeObj.trigger(g.event.EXPAND,[a.treeId,b]):a.treeObj.trigger(g.event.COLLAPSE,[a.treeId,b])},i.expandTriggerFlag=!1;if(!b.open&&q&&(!l(b,g.id.UL,a).get(0)||k&&k.length>0&&!l(k[0],a).get(0)))j.appendParentULDom(a,b),j.createNodeCallback(a);if(b.open==c)h.apply(f,[]);else{var c=l(b,g.id.UL,a),i=l(b,g.id.SWITCH,a),o=l(b,g.id.ICON, -a);q?(b.open=!b.open,b.iconOpen&&b.iconClose&&o.attr("style",j.makeNodeIcoStyle(a,b)),b.open?(j.replaceSwitchClass(b,i,g.folder.OPEN),j.replaceIcoClass(b,o,g.folder.OPEN),d==!1||a.view.expandSpeed==""?(c.show(),h.apply(f,[])):k&&k.length>0?c.slideDown(a.view.expandSpeed,f):(c.show(),h.apply(f,[]))):(j.replaceSwitchClass(b,i,g.folder.CLOSE),j.replaceIcoClass(b,o,g.folder.CLOSE),d==!1||a.view.expandSpeed==""||!(k&&k.length>0)?(c.hide(),h.apply(f,[])):c.slideUp(a.view.expandSpeed,f))):h.apply(f,[])}}else h.apply(f, -[])},expandCollapseParentNode:function(a,b,c,d,e){b&&(b.parentTId?(j.expandCollapseNode(a,b,c,d),b.parentTId&&j.expandCollapseParentNode(a,b.getParentNode(),c,d,e)):j.expandCollapseNode(a,b,c,d,e))},expandCollapseSonNode:function(a,b,c,d,f){var i=e.getRoot(a),i=b?e.nodeChildren(a,b):e.nodeChildren(a,i),g=b?!1:d,k=e.getRoot(a).expandTriggerFlag;e.getRoot(a).expandTriggerFlag=!1;if(i)for(var h=0,l=i.length;h=0;d--)if(b===c[d])return!0;return!1},makeDOMNodeIcon:function(a,b,c){var d=e.nodeName(b,c),d=b.view.nameIsHTML?d:d.replace(/&/g,"&").replace(//g,">");a.push("", -d,"")},makeDOMNodeLine:function(a,b,c){a.push("")},makeDOMNodeMainAfter:function(a){a.push("")},makeDOMNodeMainBefore:function(a,b,c){a.push("
            • ")},makeDOMNodeNameAfter:function(a){a.push("")},makeDOMNodeNameBefore:function(a,b,c){var d=e.nodeTitle(b,c),f=j.makeNodeUrl(b,c),i=j.makeNodeFontCss(b, -c),m=[],k;for(k in i)m.push(k,":",i[k],";");a.push("0?"href='"+f+"'":""," target='",j.makeNodeTarget(c),"' style='",m.join(""),"'");h.apply(b.view.showTitle,[b.treeId,c],b.view.showTitle)&&d&&a.push("title='",d.replace(/'/g,"'").replace(//g,">"),"'");a.push(">")},makeNodeFontCss:function(a,b){var c=h.apply(a.view.fontCss,[a.treeId,b],a.view.fontCss); -return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(a,b){var c=["ico"];if(!b.isAjaxing){var d=e.nodeIsParent(a,b);c[0]=(b.iconSkin?b.iconSkin+"_":"")+c[0];d?c.push(b.open?g.folder.OPEN:g.folder.CLOSE):c.push(g.folder.DOCU)}return g.className.BUTTON+" "+c.join("_")},makeNodeIcoStyle:function(a,b){var c=[];if(!b.isAjaxing){var d=e.nodeIsParent(a,b)&&b.iconOpen&&b.iconClose?b.open?b.iconOpen:b.iconClose:b[a.data.key.icon];d&&c.push("background:url(",d,") 0 0 no-repeat;");(a.view.showIcon== -!1||!h.apply(a.view.showIcon,[a.treeId,b],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(a,b){var c=[];a.view.showLine?b.level==0&&b.isFirstNode&&b.isLastNode?c.push(g.line.ROOT):b.level==0&&b.isFirstNode?c.push(g.line.ROOTS):b.isLastNode?c.push(g.line.BOTTOM):c.push(g.line.CENTER):c.push(g.line.NOLINE);e.nodeIsParent(a,b)?c.push(b.open?g.folder.OPEN:g.folder.CLOSE):c.push(g.folder.DOCU);return j.makeNodeLineClassEx(b)+c.join("_")},makeNodeLineClassEx:function(a){return g.className.BUTTON+ -" "+g.className.LEVEL+a.level+" "+g.className.SWITCH+" "},makeNodeTarget:function(a){return a.target||"_blank"},makeNodeUrl:function(a,b){var c=a.data.key.url;return b[c]?b[c]:null},makeUlHtml:function(a,b,c,d){c.push("
                ");c.push(d);c.push("
              ")},makeUlLineClass:function(a,b){return a.view.showLine&&!b.isLastNode?g.line.LINE:""},removeChildNodes:function(a,b){if(b){var c= -e.nodeChildren(a,b);if(c){for(var d=0,f=c.length;dc.bottom||d.right>c.right||d.left0)c[0].isFirstNode=!0},setLastNode:function(a,b){var c=e.nodeChildren(a, -b);if(c.length>0)c[c.length-1].isLastNode=!0},removeNode:function(a,b){var c=e.getRoot(a),d=b.parentTId?b.getParentNode():c;b.isFirstNode=!1;b.isLastNode=!1;b.getPreNode=function(){return null};b.getNextNode=function(){return null};if(e.getNodeCache(a,b.tId)){l(b,a).remove();e.removeNodeCache(a,b);e.removeSelectedNode(a,b);for(var f=e.nodeChildren(a,d),i=0,h=f.length;i0){var q=f[i-1],i=l(q,g.id.UL,a),h=l(q,g.id.SWITCH,a);k=l(q,g.id.ICON,a);d==c?f.length==1?j.replaceSwitchClass(q,h,g.line.ROOT):(c=l(f[0],g.id.SWITCH,a),j.replaceSwitchClass(f[0],c,g.line.ROOTS),j.replaceSwitchClass(q,h,g.line.BOTTOM)):j.replaceSwitchClass(q, -h,g.line.BOTTOM);i.removeClass(g.line.LINE)}}},replaceIcoClass:function(a,b,c){if(b&&!a.isAjaxing&&(a=b.attr("class"),a!=void 0)){a=a.split("_");switch(c){case g.folder.OPEN:case g.folder.CLOSE:case g.folder.DOCU:a[a.length-1]=c}b.attr("class",a.join("_"))}},replaceSwitchClass:function(a,b,c){if(b){var d=b.attr("class");if(d!=void 0){d=d.split("_");switch(c){case g.line.ROOT:case g.line.ROOTS:case g.line.CENTER:case g.line.BOTTOM:case g.line.NOLINE:d[0]=j.makeNodeLineClassEx(a)+c;break;case g.folder.OPEN:case g.folder.CLOSE:case g.folder.DOCU:d[1]= -c}b.attr("class",d.join("_"));c!==g.folder.DOCU?b.removeAttr("disabled"):b.attr("disabled","disabled")}}},selectNode:function(a,b,c){c||j.cancelPreSelectedNode(a,null,b);l(b,g.id.A,a).addClass(g.node.CURSELECTED);e.addSelectedNode(a,b);a.treeObj.trigger(g.event.SELECTED,[a.treeId,b])},setNodeFontCss:function(a,b){var c=l(b,g.id.A,a),d=j.makeNodeFontCss(a,b);d&&c.css(d)},setNodeLineIcos:function(a,b){if(b){var c=l(b,g.id.SWITCH,a),d=l(b,g.id.UL,a),f=l(b,g.id.ICON,a),i=j.makeUlLineClass(a,b);i.length== -0?d.removeClass(g.line.LINE):d.addClass(i);c.attr("class",j.makeNodeLineClass(a,b));e.nodeIsParent(a,b)?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",j.makeNodeIcoStyle(a,b));f.attr("class",j.makeNodeIcoClass(a,b))}},setNodeName:function(a,b){var c=e.nodeTitle(a,b),d=l(b,g.id.SPAN,a);d.empty();a.view.nameIsHTML?d.html(e.nodeName(a,b)):d.text(e.nodeName(a,b));h.apply(a.view.showTitle,[a.treeId,b],a.view.showTitle)&&l(b,g.id.A,a).attr("title",!c?"":c)}, -setNodeTarget:function(a,b){l(b,g.id.A,a).attr("target",j.makeNodeTarget(b))},setNodeUrl:function(a,b){var c=l(b,g.id.A,a),d=j.makeNodeUrl(a,b);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(a,b){b.open||!h.canAsync(a,b)?j.expandCollapseNode(a,b,!b.open):a.async.enable?j.asyncNode(a,b)||j.expandCollapseNode(a,b,!b.open):b&&j.expandCollapseNode(a,b,!b.open)}};r.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch",NAME:"node_name"}, -event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove",SELECTED:"ztree_selected",UNSELECTED:"ztree_unselected"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom",NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:h, -view:j,event:n,data:e},getZTreeObj:function(a){return(a=e.getZTreeTools(a))?a:null},destroy:function(a){if(a&&a.length>0)j.destroy(e.getSetting(a));else for(var b in t)j.destroy(t[b])},init:function(a,b,c){var d=h.clone(P);r.extend(!0,d,b);d.treeId=a.attr("id");d.treeObj=a;d.treeObj.empty();t[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed="";e.initRoot(d);a=e.getRoot(d);c=c?h.clone(h.isArray(c)?c:[c]):[];d.data.simpleData.enable?e.nodeChildren(d,a,e.transformTozTreeFormat(d, -c)):e.nodeChildren(d,a,c);e.initCache(d);n.unbindTree(d);n.bindTree(d);n.unbindEvent(d);n.bindEvent(d);var f={setting:d,addNodes:function(a,b,c,f){function g(){j.addNodes(d,a,b,n,f==!0)}a||(a=null);var l=e.nodeIsParent(d,a);if(a&&!l&&d.data.keep.leaf)return null;l=parseInt(b,10);isNaN(l)?(f=!!c,c=b,b=-1):b=l;if(!c)return null;var n=h.clone(h.isArray(c)?c:[c]);h.canAsync(d,a)?j.asyncNode(d,a,f,g):g();return n},cancelSelectedNode:function(a){j.cancelPreSelectedNode(d,a)},destroy:function(){j.destroy(d)}, -expandAll:function(a){a=!!a;j.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,f,g){function n(){var b=l(a,d).get(0);b&&f!==!1&&j.scrollIntoView(d,b)}if(!a||!e.nodeIsParent(d,a))return null;b!==!0&&b!==!1&&(b=!a.open);if((g=!!g)&&b&&h.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(g&&!b&&h.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&j.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null; -e.getRoot(d).expandTriggerFlag=g;!h.canAsync(d,a)&&c?j.expandCollapseSonNode(d,a,b,!0,n):(a.open=!b,j.switchNode(this.setting,a),n());return b},getNodes:function(){return e.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:e.getNodeByParam(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodeByTId:function(a){return e.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:e.getNodesByParam(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null: -e.getNodesByParamFuzzy(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,f){b=!!b;return!a||typeof a!="function"?b?null:[]:e.getNodesByFilter(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b,f)},getNodeIndex:function(a){if(!a)return null;for(var b=a.parentTId?a.getParentNode():e.getRoot(d),b=e.nodeChildren(d,b),c=0,f=b.length;c0?j.createNodes(d,0,c,null,-1):d.async.enable&&d.async.url&&d.async.url!==""&&j.asyncNode(d);return f}};var Q=r.fn.zTree,l=h.$,g=Q.consts})(jQuery); diff --git a/admin/target/classes/static/lib/zTree_v3/api/apiCss/zTreeStyleForApi.css b/admin/target/classes/static/lib/zTree_v3/api/apiCss/zTreeStyleForApi.css deleted file mode 100644 index bb4717b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/apiCss/zTreeStyleForApi.css +++ /dev/null @@ -1,49 +0,0 @@ -/*------------------------------------- -zTree Style - -version: 3.0 -author: Hunter.z -email: hunter.z@263.net -website: http://code.google.com/p/jquerytree/ - --------------------------------------*/ - -.ztree * {padding:0; margin:0; font-size:12px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif} -.ztree {margin:0; padding:5px; color:#333} -.ztree li{padding:0; margin:0; list-style:none; line-height:14px; text-align:left; white-space:nowrap} -.ztree li ul{ margin:0; padding:0 0 0 18px} -.ztree li ul.line{ background:url(./img/line_conn.gif) 0 0 repeat-y;} - -.ztree li a {padding:1px 3px 0 0; margin:0; cursor:pointer; color:#333; height:17px; text-decoration:none; vertical-align:top; display: inline-block} -.ztree li a:hover {text-decoration:none} -.ztree li a.curSelectedNode {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid;} -.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid; opacity:0.8; filter:alpha(opacity=80)} -.ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#316AC5; color:white; height:16px; border:1px #316AC5 solid; opacity:0.8; filter:alpha(opacity=80)} -.ztree li a.tmpTargetNode_prev {} -.ztree li a.tmpTargetNode_next {} -.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0; - font-size:12px; border:1px #7EC4CC solid; *border:0px} -.ztree li span {line-height:16px; margin-right: 2px} -.ztree li span.button {line-height:0; margin:0;width:16px; height:16px; display: inline-block; vertical-align:middle; - border:0 none; cursor: pointer; - background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; - background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")} - -.ztree li span.button.switch {width:1px; height:18px; visibility: hidden} - -.zTreeDragUL {margin:0; padding:0; position:absolute; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)} -.zTreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute} - -/* level 等级样式*/ -/*.ztree li button.level0 { - display:none; -} -.ztree li ul.level0 { - padding:0; - background:none; -}*/ - -.ztree li span.button.core_ico_docu{margin-right:2px; background-position:-126px 0; vertical-align:top; *vertical-align:middle} -.ztree li span.button.check_ico_docu{margin-right:2px; background-position:-126px -16px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.edit_ico_docu{margin-right:2px; background-position:-126px -32px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.hide_ico_docu{margin-right:2px; background-position:-160px 0; vertical-align:top; *vertical-align:middle} diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree._z.html b/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree._z.html deleted file mode 100644 index 7af3e40..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree._z.html +++ /dev/null @@ -1,13 +0,0 @@ -
              -
              -

              JSON$.fn.zTree._z

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree v3.x 内部的全部方法都可以通过 $.fn.zTree._z 进行调用,开放出来是为了更便于大家开发制作自己的 zTree 插件。

              -

              如无特殊需求请勿使用此对象,以及修改此对象内部的各个函数。

              -
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.destroy.html b/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.destroy.html deleted file mode 100644 index 7105807..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.destroy.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Function(treeId)$.fn.zTree.destroy

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              从 zTree v3.4 开始提供销毁 zTree 的方法。

              -

              1、用此方法可以销毁指定 treeId 的 zTree,也可以销毁当前页面全部的 zTree。

              -

              2、销毁指定 treeId 的 zTree 也可以使用 zTreeObj.destroy() 方法。

              -

              3、重新使用已经被销毁的树,必须要使用 init 方法进行初始化。

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              zTree 的 DOM 容器的 id

              -

              省略 treeId,表示销毁当前页面全部的 zTree

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 销毁 id 为 "treeDemo" 的 zTree

              -
              $.fn.zTree.destroy("treeDemo");
              -

              2. 销毁全部 的 zTree

              -
              $.fn.zTree.destroy();
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.getZTreeObj.html b/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.getZTreeObj.html deleted file mode 100644 index b1d1db4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.getZTreeObj.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Function(treeId)$.fn.zTree.getZTreeObj

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree v3.x 专门提供的根据 treeId 获取 zTree 对象的方法。

              -

              必须在初始化 zTree 以后才可以使用此方法。

              -

              有了这个方法,用户不再需要自己设定全局变量来保存 zTree 初始化后得到的对象了,而且在所有回调函数中全都会返回 treeId 属性,用户可以随时使用此方法获取需要进行操作的 zTree 对象

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              zTree 的 DOM 容器的 id

              -

              返回值JSON

              -

              zTree 对象,提供操作 zTree 的各种方法,对于通过 js 操作 zTree 来说必须通过此对象

              -
              -

              function 举例

              -

              1. 获取 id 为 tree 的 zTree 对象

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.init.html b/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.init.html deleted file mode 100644 index 61da41a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/fn.zTree.init.html +++ /dev/null @@ -1,74 +0,0 @@ -
              -
              -

              Function(obj, zSetting, zNodes)$.fn.zTree.init

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 初始化方法,创建 zTree 必须使用此方法

              -

              1、页面需要进行 W3C 申明,例如:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">。

              -

              2、需要首先加载 jquery-1.4.2.js 或其他更高版本的 jQuery 。

              -

              3、需要加载 jquery-ztree.core-3.0.js,如果需要用到 编辑功能 或 checkbox / radio 还需要分别加载 jquery-ztree.exedit-3.0.js 和 jquery-ztree.excheck-3.0.js 。

              -

              4、需要加载 zTreeStyle.css 以及 zTreeStyle 目录下的 img 文件。

              -

              5、如果需要使用自定义图标请参考相应的Demo。

              -

              6、请注意设置 zTree 的容器样式 class="ztree",其中 "ztree" 这个 className,可以根据需要随意修改,别忘了修改 css 中对应名字就是了,对于容器如果需要增加其他特殊样式,可根据自己的需要进行修改。

              -
              -
              -

              Function 参数说明

              -
              -

              objjQuery Object

              -

              用于展现 zTree 的 DOM 容器

              -

              zSettingJSON

              -

              zTree 的配置数据,具体请参考 “setting 配置详解”中的各个属性详细说明

              -

              zNodesArray(JSON) / JSON

              -

              zTree 的节点数据,具体请参考 “treeNode 节点数据详解”中的各个属性详细说明

              -

              1、v3.x 支持单独添加一个节点,即如果只新增一个节点,不用必须包在数组中

              -

              2、如果需要异步加载根节点,可以设置为 null 或 [ ]

              -

              3、使用简单数据模式,请参考 setting.data.simpleData 内的属性说明

              -

              返回值JSON

              -

              zTree 对象,提供操作 zTree 的各种方法,对于通过 js 操作 zTree 来说必须通过此对象

              -

              如果不需要自行设定全局变量保存,可以利用 $.fn.zTree.getZTreeObj 方法随时获取

              -
              -

              setting & function 举例

              -

              1. 简单创建 zTree 演示

              -
              <!DOCTYPE html>
              -<HTML>
              - <HEAD>
              -  <TITLE> ZTREE DEMO </TITLE>
              -  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
              -  <link rel="stylesheet" href="zTreeStyle/zTreeStyle.css" type="text/css">
              -  <script type="text/javascript" src="jquery-1.4.2.js"></script>
              -  <script type="text/javascript" src="jquery.ztree.core.js"></script>
              -<!--
              -  <script type="text/javascript" src="jquery.ztree.excheck.js"></script>
              -  <script type="text/javascript" src="jquery.ztree.exedit.js"></script>
              --->
              -  <SCRIPT type="text/javascript" >
              -	var zTreeObj,
              -	setting = {
              -		view: {
              -			selectedMulti: false
              -		}
              -	},
              -	zTreeNodes = [
              -		{"name":"网站导航", open:true, children: [
              -			{ "name":"google", "url":"http://g.cn", "target":"_blank"},
              -			{ "name":"baidu", "url":"http://baidu.com", "target":"_blank"},
              -			{ "name":"sina", "url":"http://www.sina.com.cn", "target":"_blank"}
              -			]
              -		}
              -	];
              -
              -	$(document).ready(function(){
              -		zTreeObj = $.fn.zTree.init($("#tree"), setting, zTreeNodes);
              -
              -	});
              -  </SCRIPT>
              - </HEAD>
              -
              -<BODY>
              -<ul id="tree" class="ztree" style="width:230px; overflow:auto;"></ul>
              - </BODY>
              -</HTML>
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.autoParam.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.autoParam.html deleted file mode 100644 index 6ce1dd7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.autoParam.html +++ /dev/null @@ -1,49 +0,0 @@ -
              -
              -

              Array(String) / Function(treeId, treeNode)setting.async.autoParam

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              异步加载时需要自动提交父节点属性的参数。[setting.async.enable = true 时生效]

              -

              默认值:[ ]

              -
              -
              -

              Array(String) 格式说明

              -
              -

              1、将需要作为参数提交的属性名称,制作成 Array 即可,例如:["id", "name"]

              -

              2、可以设置提交时的参数名称,例如 server 只接受 zId : ["id=zId"]

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要异步加载子节点的的父节点 JSON 数据对象

              -

              针对根进行异步加载时,treeNode = null

              -

              返回值Array(String)

              -

              返回值同 Array(String) 格式的数据

              -
              -

              setting 举例

              -

              1. 设置 id 属性为自动提交的参数

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		autoParam: ["id"]
              -	}
              -};
              -假设 异步加载 父节点(node = {id:1, name:"test"}) 的子节点时,将提交参数 id=1
              -......
              -

              2. 设置 id 属性作为 zId 成为自动提交的参数

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		autoParam: ["id=zId"]
              -	}
              -};
              -假设 对父节点 node = {id:1, name:"test"},进行异步加载时,将提交参数 zId=1
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.contentType.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.contentType.html deleted file mode 100644 index db0c92f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.contentType.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Stringsetting.async.contentType

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              Ajax 提交参数的数据类型。[setting.async.enable = true 时生效]

              -

              默认值:"application/x-www-form-urlencoded"

              -
              -
              -

              String 格式说明

              -
              -

              contentType = "application/x-www-form-urlencoded" 可以满足绝大部分请求,按照标准的 Form 格式提交参数

              -

              contentType = "application/json" 可以满足 .Net 的编程需要,按照 JSON 格式提交参数

              -
              -

              setting 举例

              -

              1. 设置 Ajax 提交参数的数据类型为 JSON 格式

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		contentType: "application/json",
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.dataFilter.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.dataFilter.html deleted file mode 100644 index f174bf0..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.dataFilter.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Function(treeId, parentNode, responseData)setting.async.dataFilter

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于对 Ajax 返回数据进行预处理的函数。[setting.async.enable = true 时生效]

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              parentNodeJSON

              -

              进行异步加载的父节点 JSON 数据对象

              -

              对根进行异步加载时,parentNode = null

              -

              responseDataArray(JSON) / JSON / String

              -

              异步加载获取到的数据转换后的 Array(JSON) / JSON / String 数据对象

              -

              v3.4开始 支持 XML 数据格式的 String

              -

              返回值Array(JSON) / JSON

              -

              返回值是 zTree 支持的JSON 数据结构即可。

              -

              v3.x 支持单个 JSON 节点数据进行加载

              -
              -

              setting & function 举例

              -

              1. 修改异步获取到的节点name属性

              -
              function ajaxDataFilter(treeId, parentNode, responseData) {
              -    if (responseData) {
              -      for(var i =0; i < responseData.length; i++) {
              -        responseData[i].name += "_filter";
              -      }
              -    }
              -    return responseData;
              -};
              -var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		dataFilter: ajaxDataFilter
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.dataType.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.dataType.html deleted file mode 100644 index 6d639b7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.dataType.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Stringsetting.async.dataType

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              Ajax 获取的数据类型。[setting.async.enable = true 时生效]

              -

              默认值:"text"

              -
              -
              -

              String 格式说明

              -
              -

              dataType = "text" 可以满足绝大部分请求

              -

              其余 dataType 类型请参考 jQuery ajax 中的 dataType 参数

              -
              -

              setting 举例

              -

              1. 设置 Ajax 获取的数据类型为 纯文本

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		dataType: "text",
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.enable.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.enable.html deleted file mode 100644 index 9079ae1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.enable.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Booleansetting.async.enable

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置 zTree 是否开启异步加载模式

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示 开启 异步加载模式

              -

              false 表示 关闭 异步加载模式

              -

              如果设置为 true,请务必设置 setting.async 内的其它参数。

              -

              如果需要根节点也异步加载,初始化时 treeNodes 参数设置为 null 即可。

              -
              -

              setting 举例

              -

              1. 需要开启异步加载模式

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.headers.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.headers.html deleted file mode 100644 index 222b9f8..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.headers.html +++ /dev/null @@ -1,18 +0,0 @@ -
              -
              -

              Objectsetting.async.headers

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              [setting.async.enable = true 时生效]

              -

              默认值:"{}"

              -

              v3.5.36+

              -
              -
              -

              Object 格式说明

              -
              -

              请参考 jQuery ajax 中的 headers 参数

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.otherParam.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.otherParam.html deleted file mode 100644 index bfb44c2..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.otherParam.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              Array(String) / JSON / Function(treeId, treeNode)setting.async.otherParam

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              Ajax 请求提交的静态参数键值对。[setting.async.enable = true 时生效]

              -

              默认值:[ ]

              -
              -
              -

              Array(String) 格式说明

              -
              -

              可以为空[ ],如果有 key,则必须存在 value。 例如:[key, value]

              -
              -

              JSON 格式说明

              -
              -

              直接用 JSON 格式制作键值对,例如:{ key1:value1, key2:value2 }

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要异步加载子节点的的父节点 JSON 数据对象

              -

              针对根进行异步加载时,treeNode = null

              -

              返回值Array(String) || JSON

              -

              返回值同 Array(String) || JSON 格式的数据

              -
              -

              setting 举例

              -

              1. 设置 Array(String) 格式的参数

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		otherParam: ["id", "1", "name", "test"]
              -	}
              -};
              -进行异步加载时,将提交参数 id=1&name=test
              -

              2. 设置 JSON 格式的参数

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		otherParam: { "id":"1", "name":"test"}
              -	}
              -};
              -进行异步加载时,将提交参数 id=1&name=test
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.type.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.type.html deleted file mode 100644 index 20d9a6b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.type.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Stringsetting.async.type

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              Ajax 的 http 请求模式。[setting.async.enable = true 时生效]

              -

              默认值:"post"

              -
              -
              -

              String 格式说明

              -
              -

              type = "post" 表示异步加载采用 post 方法请求

              -

              type = "get" 表示异步加载采用 get 方法请求

              -

              对应于 jQuery ajax 中的 type 参数

              -
              -

              setting 举例

              -

              1. 设置使用 get 方式请求数据

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		type: "get",
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.url.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.url.html deleted file mode 100644 index a5209af..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.url.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              String / Function(treeId, treeNode)setting.async.url

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              Ajax 获取数据的 URL 地址。[setting.async.enable = true 时生效]

              -

              默认值:""

              -
              -
              -

              String 格式说明

              -
              -

              设置固定的异步加载 url 字符串,请注意地址的路径,确保页面能正常加载

              -

              url 内也可以带参数,这些参数就只能是通过 get 方式提交了,并且请注意进行转码

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要异步加载子节点的的父节点 JSON 数据对象

              -

              针对根进行异步加载时,treeNode = null

              -

              返回值String

              -

              返回值同 String 格式的数据

              -
              -

              setting & function 举例

              -

              1. 设置异步获取节点的 URL 为 nodes.php

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "nodes.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -

              2. 设置异步获取节点的 URL 为 function 动态获取

              -
              function getAsyncUrl(treeId, treeNode) {
              -    return treeNode.isParent ? "nodes1.php" : "nodes2.php";
              -};
              -var setting = {
              -	async: {
              -		enable: true,
              -		url: getAsyncUrl,
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.xhrFields.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.xhrFields.html deleted file mode 100644 index ed2079e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.async.xhrFields.html +++ /dev/null @@ -1,18 +0,0 @@ -
              -
              -

              Objectsetting.async.xhrFields

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              [setting.async.enable = true 时生效]

              -

              默认值:"{}"

              -

              v3.5.36+

              -
              -
              -

              Object 格式说明

              -
              -

              请参考 jQuery ajax 中的 xhrFields 参数

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeAsync.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeAsync.html deleted file mode 100644 index 70ba0fc..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeAsync.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeAsync

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获异步加载之前的事件回调函数,zTree 根据返回值确定是否允许进行异步加载

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              进行异步加载的父节点 JSON 数据对象

              -

              针对根进行异步加载时,treeNode = null

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将不进行异步加载,也无法触发 onAsyncSuccess / onAsyncError 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止 id 为 1 的父节点进行异步加载操作

              -
              function zTreeBeforeAsync(treeId, treeNode) {
              -    return (treeNode.id !== 1);
              -};
              -var setting = {
              -	callback: {
              -		beforeAsync: zTreeBeforeAsync
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeCheck.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeCheck.html deleted file mode 100644 index a0e1f42..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeCheck.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeCheck

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              用于捕获 勾选 或 取消勾选 之前的事件回调函数,并且根据返回值确定是否允许 勾选 或 取消勾选

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              进行 勾选 或 取消勾选 的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,将不会改变勾选状态,并且无法触发 onCheck 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止所有勾选操作,保持初始化的勾选状态

              -
              function zTreeBeforeCheck(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeCheck: zTreeBeforeCheck
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeClick.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeClick.html deleted file mode 100644 index 6efe928..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeClick.html +++ /dev/null @@ -1,49 +0,0 @@ -
              -
              -

              Function(treeId, treeNode, clickFlag)setting.callback.beforeClick

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获单击节点之前的事件回调函数,并且根据返回值确定是否允许单击操作

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              被单击的节点 JSON 数据对象

              -

              clickFlagNumber

              -

              节点被点击后的选中操作类型,详细看下表

              - - - - - - - - - - - - -
              clickFlagselectedMultiautoCancelSelected
              &&
              event.ctrlKey / metaKey
              isSelected选中操作
              1truefalsefalse普通选中
              1truefalsetrue普通选中
              2truetruefalse追加选中
              0truetruetrue取消选中
              1falsefalsefalse普通选中
              1falsefalsetrue普通选中
              1falsetruefalse普通选中
              0falsetruetrue取消选中
              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将不会选中节点,也无法触发 onClick 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止节点被选中

              -
              function zTreeBeforeClick(treeId, treeNode, clickFlag) {
              -    return (treeNode.id !== 1);
              -};
              -var setting = {
              -	callback: {
              -		beforeClick: zTreeBeforeClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeCollapse.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeCollapse.html deleted file mode 100644 index d778e9c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeCollapse.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeCollapse

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获父节点折叠之前的事件回调函数,并且根据返回值确定是否允许折叠操作

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              要折叠的父节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将不会折叠节点,也无法触发 onCollapse 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止所有已展开的父节点折叠

              -
              function zTreeBeforeCollapse(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeCollapse: zTreeBeforeCollapse
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDblClick.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDblClick.html deleted file mode 100644 index ed7e4dc..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDblClick.html +++ /dev/null @@ -1,36 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeDblClick

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标双击之前的事件回调函数,并且根据返回值确定触发 onDblClick 事件回调函数

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标双击时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,将仅仅无法触发 onDblClick 事件回调函数,对其他操作无任何影响

              -

              此事件回调函数对双击节点展开功能无任何影响,如果需要设置请参考 setting.view.dblClickExpand 属性

              -
              -

              setting & function 举例

              -

              1. 禁止 onDblClick 事件

              -
              function zTreeBeforeDblClick(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeDblClick: zTreeBeforeDblClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDrag.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDrag.html deleted file mode 100644 index 1e783a3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDrag.html +++ /dev/null @@ -1,39 +0,0 @@ -
              -
              -

              Function(treeId, treeNodes)setting.callback.beforeDrag

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点被拖拽之前的事件回调函数,并且根据返回值确定是否允许开启拖拽操作

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              被拖拽的节点 treeNodes 所在 zTree 的 treeId,便于用户操控

              -

              treeNodesArray(JSON)

              -

              要被拖拽的节点 JSON 数据集合

              -

              v3.x 允许多个同级节点同时被拖拽,因此将此参数修改为 Array(JSON)

              -

              如果拖拽时多个被选择的节点不是同级关系,则只能拖拽鼠标当前所在位置的节点

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将终止拖拽,也无法触发 onDrag / beforeDrop / onDrop 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止全部拖拽操作

              -
              function zTreeBeforeDrag(treeId, treeNodes) {
              -    return false;
              -};
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeDrag: zTreeBeforeDrag
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDragOpen.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDragOpen.html deleted file mode 100644 index ceab2d3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDragOpen.html +++ /dev/null @@ -1,37 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeDragOpen

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获拖拽节点移动到折叠状态的父节点后,即将自动展开该父节点之前的事件回调函数,并且根据返回值确定是否允许自动展开操作

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              需要被展开的父节点 treeNode 所在 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              要被自动展开的父节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将无法进行自动展开操作

              -
              -

              setting & function 举例

              -

              1. 禁止全部拖拽时的自动展开操作

              -
              function zTreeBeforeDragOpen(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeDragOpen: zTreeBeforeDragOpen
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDrop.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDrop.html deleted file mode 100644 index 4123743..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeDrop.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              Function(treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.beforeDrop

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点拖拽操作结束之前的事件回调函数,并且根据返回值确定是否允许此拖拽操作

              -

              默认值:null

              -

              如未拖拽到有效位置,则不触发此回调函数,直接将节点恢复原位置

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              目标节点 targetNode 所在 zTree 的 treeId,便于用户操控

              -

              treeNodesArray(JSON)

              -

              被拖拽的节点 JSON 数据集合

              -

              无论拖拽操作为 复制 还是 移动,treeNodes 都是当前被拖拽节点的数据集合。

              -

              targetNodeJSON

              -

              treeNodes 被拖拽放开的目标节点 JSON 数据对象。

              -

              如果拖拽成为根节点,则 targetNode = null

              -

              moveTypeString

              -

              指定移动到目标节点的相对位置

              -

              "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

              -

              isCopyBoolean

              -

              拖拽节点操作是 复制 或 移动

              -

              true:复制;false:移动

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将恢复被拖拽的节点,也无法触发 onDrop 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止将节点拖拽成为根节点

              -
              function zTreeBeforeDrop(treeId, treeNodes, targetNode, moveType) {
              -    return !(targetNode == null || (moveType != "inner" && !targetNode.parentTId));
              -};
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeDrop: zTreeBeforeDrop
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeEditName.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeEditName.html deleted file mode 100644 index 9df3ca2..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeEditName.html +++ /dev/null @@ -1,38 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeEditName

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点编辑按钮的 click 事件,并且根据返回值确定是否允许进入名称编辑状态

              -

              此事件回调函数最主要是用于捕获编辑按钮的点击事件,然后触发自定义的编辑界面操作。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              将要进入编辑名称状态的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,节点将无法进入 zTree 默认的编辑名称状态

              -
              -

              setting & function 举例

              -

              1. 禁止修改父节点的名称

              -
              function zTreeBeforeEditName(treeId, treeNode) {
              -	return !treeNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeEditName: zTreeBeforeEditName
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeExpand.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeExpand.html deleted file mode 100644 index 350972b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeExpand.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeExpand

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获父节点展开之前的事件回调函数,并且根据返回值确定是否允许展开操作

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              要展开的父节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将不会展开节点,也无法触发 onExpand 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止所有已折叠的父节点展开

              -
              function zTreeBeforeExpand(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeExpand: zTreeBeforeExpand
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeMouseDown.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeMouseDown.html deleted file mode 100644 index 2c3f28d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeMouseDown.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeMouseDown

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标按键按下之前的事件回调函数,并且根据返回值确定触发 onMouseDown 事件回调函数

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标按键按下时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,将仅仅无法触发 onMouseDown 事件回调函数,对其他操作无任何影响

              -
              -

              setting & function 举例

              -

              1. 禁止 onMouseDown 事件

              -
              function zTreeBeforeMouseDown(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeMouseDown: zTreeBeforeMouseDown
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeMouseUp.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeMouseUp.html deleted file mode 100644 index f0b01b9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeMouseUp.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeMouseUp

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标按键松开之前的事件回调函数,并且根据返回值确定触发 onMouseUp 事件回调函数

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标按键松开时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,将仅仅无法触发 onMouseUp 事件回调函数,对其他操作无任何影响

              -
              -

              setting & function 举例

              -

              1. 禁止 onMouseUp 事件

              -
              function zTreeBeforeMouseUp(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeMouseUp: zTreeBeforeMouseUp
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRemove.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRemove.html deleted file mode 100644 index 0edb3fd..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRemove.html +++ /dev/null @@ -1,37 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeRemove

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点被删除之前的事件回调函数,并且根据返回值确定是否允许删除操作

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              将要删除的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将不删除节点,也无法触发 onRemove 事件回调函数

              -
              -

              setting & function 举例

              -

              1. 禁止全部删除操作

              -
              function zTreeBeforeRemove(treeId, treeNode) {
              -	return false;
              -}
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeRemove: zTreeBeforeRemove
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRename.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRename.html deleted file mode 100644 index 0709961..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRename.html +++ /dev/null @@ -1,46 +0,0 @@ -
              -
              -

              Function(treeId, treeNode, newName, isCancel)setting.callback.beforeRename

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点编辑名称结束(Input 失去焦点 或 按下 Enter 键)之后,更新节点名称数据之前的事件回调函数,并且根据返回值确定是否允许更改名称的操作

              -

              节点进入编辑名称状态后,按 ESC 键可以放弃当前修改,恢复原名称,取消编辑名称状态

              -

              从 v3.5.13 开始,取消编辑状态也会触发此回调,根据 isCancel 参数判断

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              将要更改名称的节点 JSON 数据对象

              -

              newNameString

              -

              修改后的新名称

              -

              isCancelBoolean

              -

              是否取消操作 (v3.5.13+)

              -

              isCancel = true 表示取消编辑操作(按下 ESC 或 使用 cancelEditName 方法)

              -

              isCancel = false 表示确认修改操作

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,zTree 将保持名称编辑状态,无法触发 onRename 事件回调函数,并且会导致屏蔽其它事件,直到修改名称使得 beforeRename 返回 true

              -

              如果返回 false,不会让 input 输入框获取焦点,避免由于警告信息而导致反复触发 beforeRename。 请在关闭提示警告信息后,利用 editName 方法让 input 重新获取焦点。

              -
              -

              setting & function 举例

              -

              1. 禁止修改的名称的长度小于 5

              -
              function zTreeBeforeRename(treeId, treeNode, newName, isCancel) {
              -	return newName.length > 5;
              -}
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeRename: zTreeBeforeRename
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRightClick.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRightClick.html deleted file mode 100644 index 1a5bdaa..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.beforeRightClick.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeRightClick

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标右键点击之前的事件回调函数,并且根据返回值确定触发 onRightClick 事件回调函数

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标右键点击时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -

              返回值Boolean

              -

              返回值是 true / false

              -

              如果返回 false,将仅仅无法触发 onRightClick 事件回调函数,对其他操作无任何影响

              -
              -

              setting & function 举例

              -

              1. 禁止 onRightClick 事件

              -
              function zTreeBeforeRightClick(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeRightClick: zTreeBeforeRightClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onAsyncError.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onAsyncError.html deleted file mode 100644 index c469e11..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onAsyncError.html +++ /dev/null @@ -1,42 +0,0 @@ -
              -
              -

              setting.callback.onAsyncError

              -

              Function(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) 

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获异步加载出现异常错误的事件回调函数

              -

              如果设置了 setting.callback.beforeAsync 方法,且返回 false,将无法触发 onAsyncSuccess / onAsyncError 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              进行异步加载的父节点 JSON 数据对象

              -

              针对根进行异步加载时,treeNode = null

              -

              XMLHttpRequestString

              -

              标准 XMLHttpRequest 对象,请参考 JQuery API 文档。

              -

              textStatusString

              -

              请求状态:success,error,请参考 JQuery API 文档。

              -

              errorThrownString

              -

              errorThrown 只有当异常发生时才会被传递,请参考 JQuery API 文档。

              -
              -

              setting & function 举例

              -

              1. 异步加载出现异常后,弹出错误信息

              -
              function zTreeOnAsyncError(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) {
              -    alert(XMLHttpRequest);
              -};
              -var setting = {
              -	callback: {
              -		onAsyncError: zTreeOnAsyncError
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onAsyncSuccess.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onAsyncSuccess.html deleted file mode 100644 index 081e9d7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onAsyncSuccess.html +++ /dev/null @@ -1,38 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode, msg)setting.callback.onAsyncSuccess

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获异步加载正常结束的事件回调函数

              -

              如果设置了 setting.callback.beforeAsync 方法,且返回 false,将无法触发 onAsyncSuccess / onAsyncError 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              进行异步加载的父节点 JSON 数据对象

              -

              针对根进行异步加载时,treeNode = null

              -

              msgString / Object

              -

              异步获取的节点数据字符串,主要便于用户调试使用。

              -

              实际数据类型会受 setting.async.dataType 的设置影响,请参考 JQuery API 文档。

              -
              -

              setting & function 举例

              -

              1. 异步加载成功后,弹出提示信息

              -
              function zTreeOnAsyncSuccess(event, treeId, treeNode, msg) {
              -    alert(msg);
              -};
              -var setting = {
              -	callback: {
              -		onAsyncSuccess: zTreeOnAsyncSuccess
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onCheck.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onCheck.html deleted file mode 100644 index 113eee9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onCheck.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onCheck

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              用于捕获 checkbox / radio 被勾选 或 取消勾选的事件回调函数

              -

              如果设置了 setting.callback.beforeCheck 方法,且返回 false,将无法触发 onCheck 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              被勾选 或 取消勾选的节点 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 每次点击 checkbox 或 radio 后, 弹出该节点的 tId、name 以及当前勾选状态的信息

              -
              function zTreeOnCheck(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name + "," + treeNode.checked);
              -};
              -var setting = {
              -	callback: {
              -		onCheck: zTreeOnCheck
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onClick.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onClick.html deleted file mode 100644 index 1f7a266..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onClick.html +++ /dev/null @@ -1,49 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode, clickFlag)setting.callback.onClick

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获节点被点击的事件回调函数

              -

              如果设置了 setting.callback.beforeClick 方法,且返回 false,将无法触发 onClick 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              被点击的节点 JSON 数据对象

              -

              clickFlagNumber

              -

              节点被点击后的选中操作类型,详细看下表

              - - - - - - - - - - - - -
              clickFlagselectedMultiautoCancelSelected
              &&
              event.ctrlKey / metaKey
              isSelected选中操作
              1truefalsefalse普通选中
              1truefalsetrue普通选中
              2truetruefalse追加选中
              0truetruetrue取消选中
              1falsefalsefalse普通选中
              1falsefalsetrue普通选中
              1falsetruefalse普通选中
              0falsetruetrue取消选中
              -
              -

              setting & function 举例

              -

              1. 每次点击节点后, 弹出该节点的 tId、name 的信息

              -
              function zTreeOnClick(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onClick: zTreeOnClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onCollapse.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onCollapse.html deleted file mode 100644 index 1c816c2..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onCollapse.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onCollapse

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获节点被折叠的事件回调函数

              -

              如果设置了 setting.callback.beforeCollapse 方法,且返回 false,将无法触发 onCollapse 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              被折叠的节点 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 每次折叠节点后, 弹出该节点的 tId、name 的信息

              -
              function zTreeOnCollapse(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onCollapse: zTreeOnCollapse
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDblClick.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDblClick.html deleted file mode 100644 index deb8e62..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDblClick.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onDblClick

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标双击之后的事件回调函数

              -

              如果设置了 setting.callback.beforeDblClick 方法,且返回 false,将无法触发 onDblClick 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标双击时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -
              -

              setting & function 举例

              -

              1. 每次鼠标双击后, 弹出鼠标所在节点的 tId、name 的信息

              -
              function zTreeOnDblClick(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onDblClick: zTreeOnDblClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDrag.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDrag.html deleted file mode 100644 index efd115b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDrag.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNodes)setting.callback.onDrag

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点被拖拽的事件回调函数

              -

              如果设置了 setting.callback.beforeDrag 方法,且返回 false,将无法触发 onDragMove 和 onDrag 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              被拖拽的节点 treeNodes 所在 zTree 的 treeId,便于用户操控

              -

              treeNodesArray(JSON)

              -

              要被拖拽的节点 JSON 数据集合

              -
              -

              setting & function 举例

              -

              1. 每次开始进行拖拽节点后, 弹出被拖拽节点的个数信息

              -
              function zTreeOnDrag(event, treeId, treeNodes) {
              -    alert(treeNodes.length);
              -};
              -var setting = {
              -	callback: {
              -		onDrag: zTreeOnDrag
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDragMove.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDragMove.html deleted file mode 100644 index e6a8dd9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDragMove.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNodes)setting.callback.onDragMove

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点被拖拽过程中移动的事件回调函数

              -

              主要用于捕获 zTree 节点拖拽到的 DOM,从而操作对应的 DOM。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              被拖拽的节点 treeNodes 所在 zTree 的 treeId,便于用户操控

              -

              treeNodesArray(JSON)

              -

              要被拖拽的节点 JSON 数据集合

              -
              -

              setting & function 举例

              -

              1. 拖拽节点时,随时输出 当前拖拽到的目标 DOM

              -
              function zTreeOnDragMove(event, treeId, treeNodes) {
              -    console.log(event.target);
              -};
              -var setting = {
              -	callback: {
              -		onDragMove: zTreeOnDragMove
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDrop.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDrop.html deleted file mode 100644 index c6773a8..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onDrop.html +++ /dev/null @@ -1,46 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.onDrop

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点拖拽操作结束的事件回调函数

              -

              如果设置了 setting.callback.beforeDrop 方法,且返回 false,将无法触发 onDrop 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              目标节点 targetNode 所在 zTree 的 treeId,便于用户操控

              -

              treeNodesArray(JSON)

              -

              被拖拽的节点 JSON 数据集合

              -

              如果拖拽操作为 移动,treeNodes 是当前被拖拽节点的数据集合。

              -

              如果拖拽操作为 复制,treeNodes 是复制后 clone 得到的新节点数据。

              -

              targetNodeJSON

              -

              成为 treeNodes 拖拽结束的目标节点 JSON 数据对象。

              -

              如果拖拽成为根节点,则 targetNode = null

              -

              moveTypeString

              -

              指定移动到目标节点的相对位置

              -

              "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

              -

              如果 moveType = null,表明拖拽无效

              -

              isCopyBoolean

              -

              拖拽节点操作是 复制 或 移动

              -

              true:复制;false:移动

              -
              -

              setting & function 举例

              -

              1. 每次拖拽操作结束后, 弹出该被拖拽节点的个数以及目标节点的 tId、name 的信息

              -
              function zTreeOnDrop(event, treeId, treeNodes, targetNode, moveType) {
              -    alert(treeNodes.length + "," + (targetNode ? (targetNode.tId + ", " + targetNode.name) : "isRoot" ));
              -};
              -var setting = {
              -	callback: {
              -		onDrop: zTreeOnDrop
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onExpand.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onExpand.html deleted file mode 100644 index 791c5f6..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onExpand.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onExpand

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获节点被展开的事件回调函数

              -

              如果设置了 setting.callback.beforeExpand 方法,且返回 false,将无法触发 onExpand 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              被展开的节点 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 每次展开节点后, 弹出该节点的 tId、name 的信息

              -
              function zTreeOnExpand(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onExpand: zTreeOnExpand
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onMouseDown.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onMouseDown.html deleted file mode 100644 index bc9d0ea..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onMouseDown.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onMouseDown

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标按键按下后的事件回调函数

              -

              如果设置了 setting.callback.beforeMouseDown 方法,且返回 false,将无法触发 onMouseDown 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标按键按下时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -
              -

              setting & function 举例

              -

              1. 每次鼠标按键按下后, 弹出鼠标所在节点的 tId、name 的信息

              -
              function zTreeOnMouseDown(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onMouseDown: zTreeOnMouseDown
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onMouseUp.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onMouseUp.html deleted file mode 100644 index a969fef..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onMouseUp.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onMouseUp

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标按键松开后的事件回调函数

              -

              如果设置了 setting.callback.beforeMouseUp 方法,且返回 false,将无法触发 onMouseUp 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标按键松开时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -
              -

              setting & function 举例

              -

              1. 每次鼠标按键松开后, 弹出鼠标所在节点的 tId、name 的信息

              -
              function zTreeOnMouseUp(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onMouseUp: zTreeOnMouseUp
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onNodeCreated.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onNodeCreated.html deleted file mode 100644 index 2ebaee6..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onNodeCreated.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onNodeCreated

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获节点生成 DOM 后的事件回调函数

              -

              v3.x 采用了延迟加载技术,因此对于父节点未展开的子节点来说,初始化后是不会触发此回调函数,直到其父节点被展开

              -

              大数据量的节点加载请注意:不设置 onNodeCreated,可以提升一部分初始化性能

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              生成 DOM 完毕的节点的 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 创建节点 DOM 后, 弹出该节点的 tId、name 的信息

              -
              function zTreeOnNodeCreated(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onNodeCreated: zTreeOnNodeCreated
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRemove.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRemove.html deleted file mode 100644 index e7e625d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRemove.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onRemove

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获删除节点之后的事件回调函数。

              -

              如果用户设置了 beforeRemove 回调函数,并返回 false,将无法触发 onRemove 事件回调函数。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              将要删除的节点 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 删除节点时,弹出被删除的节点的 tId 以及 name 信息

              -
              function zTreeOnRemove(event, treeId, treeNode) {
              -	alert(treeNode.tId + ", " + treeNode.name);
              -}
              -var setting = {
              -	callback: {
              -		onRemove: zTreeOnRemove
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRename.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRename.html deleted file mode 100644 index f225463..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRename.html +++ /dev/null @@ -1,40 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode, isCancel)setting.callback.onRename

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于捕获节点编辑名称结束之后的事件回调函数。

              -

              1、节点进入编辑名称状态,并且修改节点名称后触发此回调函数。如果用户设置了 beforeRename 回调函数,并返回 false,将无法触发 onRename 事件回调函数。

              -

              2、如果通过直接修改 treeNode 的数据,并且利用 updateNode 方法更新,是不会触发此回调函数的。

              -

              3、从 v3.5.13 开始,取消编辑状态也会触发此回调,根据 isCancel 参数判断

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              被修改名称的节点 JSON 数据对象

              -

              isCancelBoolean

              -

              是否取消操作 (v3.5.13+)

              -

              isCancel = true 表示取消编辑操作(按下 ESC 或 使用 cancelEditName 方法)

              -

              isCancel = false 表示确认修改操作

              -
              -

              setting & function 举例

              -

              1. 修改名称后,弹出被修改名称的节点的 tId 以及 name 信息

              -
              function zTreeOnRename(event, treeId, treeNode, isCancel) {
              -	alert(treeNode.tId + ", " + treeNode.name);
              -}
              -var setting = {
              -	callback: {
              -		onRename: zTreeOnRename
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRightClick.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRightClick.html deleted file mode 100644 index d51c68d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.callback.onRightClick.html +++ /dev/null @@ -1,36 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onRightClick

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于捕获 zTree 上鼠标右键点击之后的事件回调函数

              -

              1、如果设置了 setting.callback.beforeRightClick 方法,且返回 false,将无法触发 onRightClick 事件回调函数。

              -

              2、只要将 function 的引用赋给 onRightClick 属性,则右键点击 zTree 时,将屏蔽浏览器的右键菜单。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              eventjs event 对象

              -

              标准的 js event 对象

              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              鼠标右键点击时所在节点的 JSON 数据对象

              -

              如果不在节点上,则返回 null

              -
              -

              setting & function 举例

              -

              1. 每次鼠标右键点击后, 弹出鼠标所在节点的 tId、name 的信息

              -
              function zTreeOnRightClick(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onRightClick: zTreeOnRightClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.autoCheckTrigger.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.autoCheckTrigger.html deleted file mode 100644 index d1efd77..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.autoCheckTrigger.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.check.autoCheckTrigger

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              设置自动关联勾选时是否触发 beforeCheck / onCheck 事件回调函数。[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时生效]

              -

              1、如果设置 setting.check.chkboxType = { "Y": "", "N": "" },将不会有任何自动关联勾选的操作。

              -

              2、如果开启触发,对于节点较多的树将会影响性能,因为所有被联动勾选的操作都会触发事件回调函数,请根据需要决定是否使用此功能。

              -

              默认值: false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 触发 / 不触发 事件回调函数

              -
              -

              setting 举例

              -

              1. 需要触发自动关联勾选操作

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		autoCheckTrigger: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkDisabledInherit.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkDisabledInherit.html deleted file mode 100644 index 8af1c2c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkDisabledInherit.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.check.chkDisabledInherit

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              当父节点设置 chkDisabled = true 时,设置子节点是否自动继承 chkDisabled = true 。[setting.check.enable = true 时生效]

              -

              1、只使用于初始化节点时,便于批量操作。 对于已存在的节点请利用 setChkDisabled 方法单个节点设置。

              -

              默认值: false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示 新加入子节点时,自动继承父节点 chkDisabled = true 的属性。

              -

              false 表示 新加入子节点时,不继承父节点 chkDisabled 的属性。

              -
              -

              setting 举例

              -

              1. 需要子节点自动继承 chkDisabled = true

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkDisabledInherit: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkStyle.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkStyle.html deleted file mode 100644 index 9706c13..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkStyle.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              Stringsetting.check.chkStyle

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              勾选框类型(checkbox 或 radio)[setting.check.enable = true 时生效]

              -

              默认值:"checkbox"

              -
              -
              -

              String 格式说明

              -
              -

              chkStyle = "checkbox" 时,显示 checkbox 选择框,setting.check.chkboxType 属性有效。 -
              chkStyle = "radio" 时,显示 radio 选择框, setting.check.radioType 属性有效。

              -

              请注意大小写,不要改变

              -
              -

              checkbox 状态说明

              -
              -

              -
              -

              未勾选;如果是父节点,则无子节点被勾选。鼠标移到该节点上显示为:

              -

              未勾选;(只有父节点存在此状态)存在被勾选的子节点。鼠标移到该节点上显示为:

              -

              被勾选;如果是父节点,则全部子节点都被勾选。鼠标移到该节点上显示为:

              -

              被勾选;(只有父节点存在此状态)且部分或无子节点被勾选。鼠标移到该节点上显示为:

              -
              -
              -

              radio 状态说明

              -
              -

              -
              -

              未勾选;如果是父节点,则没有子节点被勾选。鼠标移到该节点上显示为:

              -

              未勾选;(只有父节点存在此状态)且存在被勾选的子节点。鼠标移到该节点上显示为:

              -

              被勾选;如果是父节点,则没有子节点被勾选。鼠标移到该节点上显示为:

              -

              被勾选;(只有父节点存在此状态)且存在被勾选的子节点。鼠标移到该节点上显示为:

              -
              -
              -

              setting 举例

              -

              1. 设置选择框为 radio

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkStyle: "radio"
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkboxType.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkboxType.html deleted file mode 100644 index da06b6c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.chkboxType.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              JSONsetting.check.chkboxType

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              勾选 checkbox 对于父子节点的关联关系。[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时生效]

              -

              默认值:{ "Y": "ps", "N": "ps" }

              -
              -
              -

              JSON 格式说明

              -
              -

              Y 属性定义 checkbox 被勾选后的情况; -
              N 属性定义 checkbox 取消勾选后的情况; -
              "p" 表示操作会影响父级节点; -
              "s" 表示操作会影响子级节点。

              -

              请注意大小写,不要改变

              -
              -

              setting 举例

              -

              1. checkbox 勾选操作,只影响父级节点;取消勾选操作,只影响子级节点

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkStyle: "checkbox",
              -		chkboxType: { "Y": "p", "N": "s" }
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.enable.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.enable.html deleted file mode 100644 index 8b1387e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.enable.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Booleansetting.check.enable

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              设置 zTree 的节点上是否显示 checkbox / radio

              -

              默认值: false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 显示 / 不显示 复选框或单选框

              -
              -

              setting 举例

              -

              1. 需要显示 checkbox

              -
              var setting = {
              -	check: {
              -		enable: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.nocheckInherit.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.nocheckInherit.html deleted file mode 100644 index caf9902..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.nocheckInherit.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.check.nocheckInherit

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              当父节点设置 nocheck = true 时,设置子节点是否自动继承 nocheck = true 。[setting.check.enable = true 时生效]

              -

              1、只使用于初始化节点时,便于批量操作。 对于已存在的节点请利用 updateNode 方法单个节点设置。

              -

              默认值: false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示 新加入子节点时,自动继承父节点 nocheck = true 的属性。

              -

              false 表示 新加入子节点时,不继承父节点 nocheck 的属性。

              -
              -

              setting 举例

              -

              1. 需要子节点自动继承 nocheck = true

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		nocheckInherit: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.radioType.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.radioType.html deleted file mode 100644 index 19f84ca..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.check.radioType.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Stringsetting.check.radioType

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              radio 的分组范围。[setting.check.enable = true 且 setting.check.chkStyle = "radio" 时生效]

              -

              默认值:"level"

              -
              -
              -

              String 格式说明

              -
              -

              radioType = "level" 时,在每一级节点范围内当做一个分组。 -
              radioType = "all" 时,在整棵树范围内当做一个分组。

              -

              请注意大小写,不要改变

              -
              -

              setting 举例

              -

              1. 设置 radio 的判别规则为整棵树内

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkStyle: "radio",
              -		radioType: "all"
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.keep.leaf.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.keep.leaf.html deleted file mode 100644 index af3a721..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.keep.leaf.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.data.keep.leaf

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 的节点叶子节点属性锁,是否始终保持 isParent = false

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 锁定 / 不锁定 叶子节点属性

              -

              如果设置为 true,则所有 isParent = false 的节点,都无法添加子节点。

              -
              -

              setting 举例

              -

              1. 需要锁定叶子节点状态

              -
              var setting = {
              -	data: {
              -		keep: {
              -			leaf: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.keep.parent.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.keep.parent.html deleted file mode 100644 index c4975df..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.keep.parent.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.data.keep.parent

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 的节点父节点属性锁,是否始终保持 isParent = true

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 锁定 / 不锁定 父节点属性

              -

              如果设置为 true,则所有 isParent = true 的节点,即使该节点的子节点被全部删除或移走,依旧保持父节点状态。

              -
              -

              setting 举例

              -

              1. 需要锁定父节点状态

              -
              var setting = {
              -	data: {
              -		keep: {
              -			parent: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.checked.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.checked.html deleted file mode 100644 index ac9fdc1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.checked.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.checked

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              zTree 节点数据中保存 check 状态的属性名称。

              -

              默认值:"checked"

              -

              请勿与 zTree 节点数据的其他参数冲突,例如:checkedOld

              -
              -
              -

              setting 举例

              -

              1. 设置 zTree 显示节点时,将 treeNode 的 isChecked 属性当做节点名称

              -
              var setting = {
              -	data: {
              -		key: {
              -			checked: "isChecked"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.children.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.children.html deleted file mode 100644 index 66a49a7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.children.html +++ /dev/null @@ -1,23 +0,0 @@ -
              -
              -

              Stringsetting.data.key.children

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 节点数据中保存子节点数据的属性名称。

              -

              默认值:"children"

              -
              -
              -

              setting 举例

              -

              1. 设置 zTree 显示节点时,将 treeNode 的 nodes 属性当做节点名称

              -
              var setting = {
              -	data: {
              -		key: {
              -			children: "nodes"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.isHidden.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.isHidden.html deleted file mode 100644 index 0ea26bc..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.isHidden.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.isHidden

              -

              概述[ 依赖 jquery.ztree.exhide js ]

              -
              -

              -
              -

              zTree 节点数据保存节点是否隐藏的属性名称。

              -

              默认值:"isHidden"

              -

              v3.5.32+

              -
              -
              -

              setting 举例

              -

              1. 设置 zTree 显示节点时,将 treeNode 的 hidden 属性当做节点是否隐藏的属性名称

              -
              var setting = {
              -	data: {
              -		key: {
              -			isHidden: "hidden"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.isParent.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.isParent.html deleted file mode 100644 index d9476c3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.isParent.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.isParent

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 节点数据保存节点是否为父节点的属性名称。

              -

              默认值:"isParent"

              -

              v3.5.32+

              -
              -
              -

              setting 举例

              -

              1. 设置 zTree 显示节点时,将 treeNode 的 parent 属性当做节点是否为父节点的属性名称

              -
              var setting = {
              -	data: {
              -		key: {
              -			isParent: "parent"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.name.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.name.html deleted file mode 100644 index c25d250..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.name.html +++ /dev/null @@ -1,23 +0,0 @@ -
              -
              -

              Stringsetting.data.key.name

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 节点数据保存节点名称的属性名称。

              -

              默认值:"name"

              -
              -
              -

              setting 举例

              -

              1. 设置 zTree 显示节点时,将 treeNode 的 ename 属性当做节点名称

              -
              var setting = {
              -	data: {
              -		key: {
              -			name: "ename"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.title.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.title.html deleted file mode 100644 index 43e6855..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.title.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.title

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 节点数据保存节点提示信息的属性名称。[setting.view.showTitle = true 时生效]

              -

              如果设置为 "" ,则自动与 setting.data.key.name 保持一致,避免用户反复设置

              -

              默认值:""

              -
              -
              -

              setting 举例

              -

              1. 设置 zTree 显示节点时,将 treeNode 的 fullName 属性当做节点名称

              -
              var setting = {
              -	data: {
              -		key: {
              -			title: "fullName"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.url.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.url.html deleted file mode 100644 index e534d98..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.key.url.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.url

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 节点数据保存节点链接的目标 URL 的属性名称。

              -

              特殊用途:当后台数据只能生成 url 属性,又不想实现点击节点跳转的功能时,可以直接修改此属性为其他不存在的属性名称

              -

              默认值:"url"

              -
              -
              -

              setting 举例

              -

              1. 设置 zTree 显示节点时,将 treeNode 的 xUrl 属性当做节点链接的目标 URL

              -
              var setting = {
              -	data: {
              -		key: {
              -			url: "xUrl"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.enable.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.enable.html deleted file mode 100644 index 5d7bd42..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.enable.html +++ /dev/null @@ -1,38 +0,0 @@ -
              -
              -

              Booleansetting.data.simpleData.enable

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              确定 zTree 初始化时的节点数据、异步加载时的节点数据、或 addNodes 方法中输入的 newNodes 数据是否采用简单数据模式 (Array)

              -

              不需要用户再把数据库中取出的 List 强行转换为复杂的 JSON 嵌套格式

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 使用 / 不使用 简单数据模式

              -

              如果设置为 true,请务必设置 setting.data.simpleData 内的其他参数: idKey / pIdKey / rootPId,并且让数据满足父子关系。

              -
              -

              setting 举例

              -

              1. 使用简单 Array 格式的数据

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.idKey.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.idKey.html deleted file mode 100644 index 5b3ffd4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.idKey.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Stringsetting.data.simpleData.idKey

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              节点数据中保存唯一标识的属性名称。[setting.data.simpleData.enable = true 时生效]

              -

              默认值:"id"

              -
              -
              -

              setting 举例

              -

              1. 使用简单 Array 格式的数据

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.pIdKey.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.pIdKey.html deleted file mode 100644 index d434bc3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.pIdKey.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Stringsetting.data.simpleData.pIdKey

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              节点数据中保存其父节点唯一标识的属性名称。[setting.data.simpleData.enable = true 时生效]

              -

              默认值:"pId"

              -
              -
              -

              setting 举例

              -

              1. 使用简单 Array 格式的数据

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.rootPId.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.rootPId.html deleted file mode 100644 index 8cff82d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.data.simpleData.rootPId.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              String / Numbersetting.data.simpleData.rootPId

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于修正根节点父节点数据,即 pIdKey 指定的属性值。[setting.data.simpleData.enable = true 时生效]

              -

              默认值:null

              -
              -
              -

              setting 举例

              -

              1. 使用简单 Array 格式的数据

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.autoExpandTrigger.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.autoExpandTrigger.html deleted file mode 100644 index 126b8a8..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.autoExpandTrigger.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.edit.drag.autoExpandTrigger

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽时父节点自动展开是否触发 onExpand 事件回调函数。[setting.edit.enable = true 时生效]

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 触发 / 不触发 onExpand 事件回调函数。

              -
              -

              setting 举例

              -

              1. 设置拖拽时父节点自动展开触发 onExpand 事件回调函数

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			autoExpandTrigger: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.autoOpenTime.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.autoOpenTime.html deleted file mode 100644 index df78339..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.autoOpenTime.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.autoOpenTime

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽时父节点自动展开的延时间隔。 (单位:ms)[setting.edit.enable = true 时生效]

              -

              默认值:500

              -

              请根据自己的需求适当调整此值

              -
              -
              -

              setting 举例

              -

              1. 设置拖拽到父节点上立刻自动展开

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			autoOpenTime: 0
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.borderMax.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.borderMax.html deleted file mode 100644 index 1d4dd68..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.borderMax.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.borderMax

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽节点成为根节点时的 Tree 内边界范围 (单位:px)。[setting.edit.enable = true 时生效]

              -

              默认值:10

              -

              请根据自己的需求适当调整此值

              -
              -
              -

              setting 举例

              -

              1. 更改拖拽操作节点成为根节点时的 Tree 内边界范围为20px

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			borderMax: 20
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.borderMin.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.borderMin.html deleted file mode 100644 index 463eb2b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.borderMin.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.borderMin

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽节点成为根节点时的 Tree 外边界范围 (单位:px)。[setting.edit.enable = true 时生效]

              -

              默认值:-5

              -

              请根据自己的需求适当调整此值

              -
              -
              -

              setting 举例

              -

              1. 更改拖拽操作节点成为根节点时的 Tree 外边界范围为10px

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			borderMin: -10
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.inner.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.inner.html deleted file mode 100644 index 06679e1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.inner.html +++ /dev/null @@ -1,59 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.inner

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽到目标节点时,设置是否允许成为目标节点的子节点。[setting.edit.enable = true 时生效]

              -

              拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner

              -

              此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 prev、next 一起使用,才能实现完整功能。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 允许 / 不允许 成为目标节点的子节点

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)

              -

              treeNodesArray(JSON)

              -

              被拖拽的节点 JSON 数据集合

              -

              targetNodeJSON

              -

              拖拽时的目标节点 JSON 数据对象

              -

              如果拖拽的节点要成为根节点,则 targetNode = null

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting & function 举例

              -

              1. 禁止拖拽成为目标节点的子节点

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: true,
              -			inner: false
              -		}
              -	}
              -};
              -......
              -

              2. 禁止拖拽成为根节点的子节点

              -
              function canInner(treeId, nodes, targetNode) {
              -	return !(targetNode && targetNode.level === 0);
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: true,
              -			inner: canInner
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.isCopy.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.isCopy.html deleted file mode 100644 index cff17af..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.isCopy.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Booleansetting.edit.drag.isCopy

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽时, 设置是否允许复制节点。[setting.edit.enable = true 时生效]

              -

              默认值:true

              -
              -
              -

              规则说明

              -
              -

              1、isCopy = true; isMove = true 时,拖拽节点按下 Ctrl 或 Cmd 键表示 copy; 否则为 move

              -

              2、isCopy = true; isMove = false 时,所有拖拽操作都是 copy

              -

              3、isCopy = false; isMove = true 时,所有拖拽操作都是 move

              -

              4、isCopy = false; isMove = false 时,禁止拖拽操作

              -
              -

              setting 举例

              -

              1. 设置所有拖拽操作都是 copy

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			isCopy: true,
              -			isMove: false
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.isMove.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.isMove.html deleted file mode 100644 index 7fdadd1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.isMove.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Booleansetting.edit.drag.isMove

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽时, 设置是否允许移动节点。[setting.edit.enable = true 时生效]

              -

              默认值:true

              -
              -
              -

              规则说明

              -
              -

              1、isCopy = true; isMove = true 时,拖拽节点按下 Ctrl 或 Cmd 键表示 copy; 否则为 move

              -

              2、isCopy = true; isMove = false 时,所有拖拽操作都是 copy

              -

              3、isCopy = false; isMove = true 时,所有拖拽操作都是 move

              -

              4、isCopy = false; isMove = false 时,禁止拖拽操作

              -
              -

              setting 举例

              -

              1. 设置所有拖拽操作都是 move

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			isCopy: false,
              -			isMove: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.maxShowNodeNum.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.maxShowNodeNum.html deleted file mode 100644 index 3e7a3d2..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.maxShowNodeNum.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.maxShowNodeNum

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽多个兄弟节点时,浮动图层中显示的最大节点数。 多余的节点用...代替。[setting.edit.enable = true 时生效]

              -

              默认值:5

              -

              请根据自己的需求适当调整此值

              -
              -
              -

              setting 举例

              -

              1. 设置拖拽时最多可显示10个节点

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			maxShowNodeNum: 10
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.minMoveSize.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.minMoveSize.html deleted file mode 100644 index 904be41..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.minMoveSize.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.minMoveSize

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              判定是否拖拽操作的最小位移值 (单位:px)。[setting.edit.enable = true 时生效]

              -

              根据自己的需求可适当调整此值,如果太小容易导致点击鼠标时误操作进行拖拽

              -

              默认值:5

              -
              -
              -

              setting 举例

              -

              1. 更改拖拽操作启动位移值为10px

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			minMoveSize: 10
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.next.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.next.html deleted file mode 100644 index ffc874a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.next.html +++ /dev/null @@ -1,58 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.next

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽到目标节点时,设置是否允许移动到目标节点后面的操作。[setting.edit.enable = true 时生效]

              -

              拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner

              -

              此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 prev、inner 一起使用,才能实现完整功能。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 允许 / 不允许 移动到目标节点后面

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)

              -

              treeNodesArray(JSON)

              -

              被拖拽的节点 JSON 数据集合

              -

              targetNodeJSON

              -

              拖拽时的目标节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting & function 举例

              -

              1. 禁止拖拽到节点后面的操作

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: false,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -

              2. 禁止拖拽到父节点后面的操作

              -
              function canNext(treeId, nodes, targetNode) {
              -	return !targetNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: canNext,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.prev.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.prev.html deleted file mode 100644 index bd05361..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.drag.prev.html +++ /dev/null @@ -1,58 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.prev

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              拖拽到目标节点时,设置是否允许移动到目标节点前面的操作。[setting.edit.enable = true 时生效]

              -

              拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner

              -

              此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 next、inner 一起使用,才能实现完整功能。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 允许 / 不允许 移动到目标节点前面

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)

              -

              treeNodesArray(JSON)

              -

              被拖拽的节点 JSON 数据集合

              -

              targetNodeJSON

              -

              拖拽时的目标节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting & function 举例

              -

              1. 禁止拖拽到节点前面的操作

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: false,
              -			next: true,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -

              2. 禁止拖拽到父节点前面的操作

              -
              function canPrev(treeId, nodes, targetNode) {
              -	return !targetNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: canPrev,
              -			next: true,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.editNameSelectAll.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.editNameSelectAll.html deleted file mode 100644 index 30784f3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.editNameSelectAll.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Booleansetting.edit.editNameSelectAll

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              节点编辑名称 input 初次显示时,设置 txt 内容是否为全选状态。 [setting.edit.enable = true 时生效]

              -

              默认值: false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示 全选状态

              -

              false 表示 不是全选状态,光标默认在最后

              -
              -

              setting 举例

              -

              1. 设置节点编辑名称 input 初次显示时,txt内容为全选状态

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		editNameSelectAll: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.enable.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.enable.html deleted file mode 100644 index de1afea..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.enable.html +++ /dev/null @@ -1,38 +0,0 @@ -
              -
              -

              Booleansetting.edit.enable

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              设置 zTree 是否处于编辑状态

              -

              请在初始化之前设置,初始化后需要改变编辑状态请使用 zTreeObj.setEditable() 方法

              -

              默认值: false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 可以 / 不可以 编辑

              -
              -

              编辑状态规则说明

              -
              -

              1、点击节点时,不会打开 node.url 指定的 URL。 -
              2、全面支持 编辑 与 异步加载 状态共存。 -
              3、可以对节点进行拖拽,且支持多棵树之间进行拖拽。 -
              4、支持拖拽时 复制/移动 节点。(参考: setting.edit.drag.isCopy / setting.edit.drag.isMove) -
              5、可以通过编辑按钮修改 name 属性。 -
              6、可以通过删除按钮删除节点。 -
              -

              -

              请注意大小写,不要改变

              -
              -

              setting 举例

              -

              1. 设置 zTree 进入编辑状态

              -
              var setting = {
              -	edit: {
              -		enable: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.removeTitle.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.removeTitle.html deleted file mode 100644 index 55257da..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.removeTitle.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              String / Function(treeId, treeNode)setting.edit.removeTitle

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              删除按钮的 Title 辅助信息。[setting.edit.enable = true & setting.edit.showRemoveBtn = true 时生效]

              -

              默认值:"remove"

              -
              -
              -

              String 格式说明

              -
              -

              鼠标移动到 删除按钮 上时,浏览器自动弹出的辅助信息内容,可根据用户需要自行修改

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置删除按钮 Title 信息的节点 JSON 数据对象

              -

              返回值String

              -

              返回值同 String 格式的数据

              -
              -

              setting & function 举例

              -

              1. 设置删除按钮的 Title 辅助信息为: "删除节点"

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: true,
              -		removeTitle: "删除节点"
              -	}
              -};
              -......
              -

              2. 设置父节点删除按钮的 Title 辅助信息为: "删除父节点"

              -
              function setRemoveTitle(treeId, treeNode) {
              -	return treeNode.isParent ? "删除父节点":"删除叶子节点";
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: true,
              -		removeTitle: setRemoveTitle
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.renameTitle.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.renameTitle.html deleted file mode 100644 index 2dfbcca..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.renameTitle.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              String / Function(treeId, treeNode)setting.edit.renameTitle

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              编辑名称按钮的 Title 辅助信息。[setting.edit.enable = true & setting.edit.showRenameBtn = true 时生效]

              -

              默认值:"rename"

              -
              -
              -

              String 格式说明

              -
              -

              设置鼠标移动到 编辑名称按钮 上时,浏览器自动弹出的辅助信息内容,可根据用户需要自行修改

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置编辑名称按钮 Title 信息的节点 JSON 数据对象

              -

              返回值String

              -

              返回值同 String 格式的数据

              -
              -

              setting & function 举例

              -

              1. 设置编辑名称按钮的 Title 辅助信息为: "编辑节点名称"

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: true,
              -		renameTitle: "编辑节点名称"
              -	}
              -};
              -......
              -

              2. 设置父节点编辑名称按钮的 Title 辅助信息为: "编辑父节点名称"

              -
              function setRenameTitle(treeId, treeNode) {
              -	return treeNode.isParent ? "编辑父节点名称":"编辑叶子节点名称";
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: true,
              -		renameTitle: setRenameTitle
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.showRemoveBtn.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.showRemoveBtn.html deleted file mode 100644 index db62053..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.showRemoveBtn.html +++ /dev/null @@ -1,49 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.edit.showRemoveBtn

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              设置是否显示删除按钮。[setting.edit.enable = true 时生效]

              -

              当点击某节点的删除按钮时:

              -

              1、首先触发 setting.callback.beforeRemove 回调函数,用户可判定是否进行删除操作。

              -

              2、如果未设置 beforeRemove 或 beforeRemove 返回 true,则删除节点并触发 setting.callback.onRemove 回调函数。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 显示 / 隐藏 删除按钮

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置是否显示删除按钮的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting & function 举例

              -

              1. 不显示删除按钮

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: false
              -	}
              -};
              -......
              -

              2. 设置所有的父节点不显示删除按钮

              -
              function setRemoveBtn(treeId, treeNode) {
              -	return !treeNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: setRemoveBtn
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.showRenameBtn.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.showRenameBtn.html deleted file mode 100644 index 33dd37a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.edit.showRenameBtn.html +++ /dev/null @@ -1,51 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.edit.showRenameBtn

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              设置是否显示编辑名称按钮。[setting.edit.enable = true 时生效]

              -

              当点击某节点的编辑名称按钮时:

              -

              1、进入节点编辑名称状态。

              -

              2、编辑名称完毕(Input 失去焦点 或 按下 Enter 键),会触发 setting.callback.beforeRename 回调函数,用户可根据自己的规则判定是否允许修改名称。

              -

              3、如果 beforeRename 返回 false,则继续保持编辑名称状态,直到名称符合规则位置 (按下 ESC 键可取消编辑名称状态,恢复原名称)。

              -

              4、如果未设置 beforeRename 或 beforeRename 返回 true,则结束节点编辑名称状态,更新节点名称,并触发 setting.callback.onRename 回调函数。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 显示 / 隐藏 编辑名称按钮

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置是否显示编辑名称按钮的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting & function 举例

              -

              1. 不显示编辑名称按钮

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: false
              -	}
              -};
              -......
              -

              2. 设置所有的父节点不显示编辑名称按钮

              -
              function setRenameBtn(treeId, treeNode) {
              -	return !treeNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: setRenameBtn
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.treeId.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.treeId.html deleted file mode 100644 index 819743e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.treeId.html +++ /dev/null @@ -1,14 +0,0 @@ -
              -
              -

              Stringsetting.treeId

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 的唯一标识,初始化后,等于 用户定义的 zTree 容器的 id 属性值。

              -

              请勿进行初始化 或 修改,属于内部参数。

              -
              -
              - -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.treeObj.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.treeObj.html deleted file mode 100644 index 37684a1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.treeObj.html +++ /dev/null @@ -1,14 +0,0 @@ -
              -
              -

              Objectsetting.treeObj

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 容器的 jQuery 对象,主要功能:便于操作。

              -

              请勿进行初始化 或 修改,属于内部参数。

              -
              -
              - -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.addDiyDom.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.addDiyDom.html deleted file mode 100644 index 0a508ac..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.addDiyDom.html +++ /dev/null @@ -1,40 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.view.addDiyDom

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于在节点上固定显示用户自定义控件

              -

              1. 大数据量的节点加载请注意:在 addDiyDom 中针对每个节点 查找 DOM 对象并且添加新 DOM 控件,肯定会影响初始化性能;如果不是必须使用,建议不使用此功能

              -

              2. 属于高级应用,使用时请确保对 zTree 比较了解。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要显示自定义控件的节点 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 设置节点后面显示一个按钮

              -
              var setting = {
              -	view: {
              -		addDiyDom: addDiyDom
              -	}
              -};
              -function addDiyDom(treeId, treeNode) {
              -	var aObj = $("#" + treeNode.tId + "_a");
              -	if ($("#diyBtn_"+treeNode.id).length>0) return;
              -	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
              -		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
              -		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
              -	aObj.append(editStr);
              -	var btn = $("#diyBtn_"+treeNode.id);
              -	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.addHoverDom.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.addHoverDom.html deleted file mode 100644 index f073e79..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.addHoverDom.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.view.addHoverDom

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于当鼠标移动到节点上时,显示用户自定义控件,显示隐藏状态同 zTree 内部的编辑、删除按钮

              -

              请务必与 setting.view.removeHoverDom 同时使用;属于高级应用,使用时请确保对 zTree 比较了解。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要显示自定义控件的节点 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 设置鼠标移到节点上,在后面显示一个按钮

              -
              var setting = {
              -	view: {
              -		addHoverDom: addHoverDom,
              -		removeHoverDom: removeHoverDom,
              -		......
              -	}
              -};
              -function addHoverDom(treeId, treeNode) {
              -	var aObj = $("#" + treeNode.tId + "_a");
              -	if ($("#diyBtn_"+treeNode.id).length>0) return;
              -	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
              -		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
              -		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
              -	aObj.append(editStr);
              -	var btn = $("#diyBtn_"+treeNode.id);
              -	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
              -};
              -function removeHoverDom(treeId, treeNode) {
              -	$("#diyBtn_"+treeNode.id).unbind().remove();
              -	$("#diyBtn_space_" +treeNode.id).unbind().remove();
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.autoCancelSelected.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.autoCancelSelected.html deleted file mode 100644 index 4890f78..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.autoCancelSelected.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Booleansetting.view.autoCancelSelected

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              点击节点时,按下 Ctrl 或 Cmd 键是否允许取消选择操作。

              -

              如果不需要此功能,请设置为 false。

              -

              默认值: true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 支持 / 不支持 配合 Ctrl 或 Cmd 键进行取消节点选择的操作

              -
              -

              setting 举例

              -

              1. 禁止配合 Ctrl 或 Cmd 键进行取消节点选择的操作

              -
              var setting = {
              -	view: {
              -		autoCancelSelected: false
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.dblClickExpand.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.dblClickExpand.html deleted file mode 100644 index 5f3db96..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.dblClickExpand.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.view.dblClickExpand

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              双击节点时,是否自动展开父节点的标识

              -

              默认值: true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示双击节点 切换 / 不切换 展开状态

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置是否双击切换展开状态的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting 举例

              -

              1. 取消默认双击展开父节点的功能

              -
              var setting = {
              -	view: {
              -		dblClickExpand: false
              -	}
              -};
              -......
              -

              2. 设置 zTree 仅仅 level=0 的父节点取消双击展开的功能

              -
              function dblClickExpand(treeId, treeNode) {
              -	return treeNode.level > 0;
              -};
              -var setting = {
              -	view: {
              -		dblClickExpand: dblClickExpand
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.expandSpeed.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.expandSpeed.html deleted file mode 100644 index 3b799c3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.expandSpeed.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              String / Numbersetting.view.expandSpeed

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 节点展开、折叠时的动画速度,设置方法同 JQuery 动画效果中 speed 参数。

              -

              IE6 下会自动关闭动画效果,以保证 zTree 的操作速度

              -

              默认值:"fast"

              -
              -
              -

              String 格式说明

              -
              -

              三种预定速度之一的字符串("slow", "normal", or "fast")

              -

              设置为 "" 时,不显示动画效果

              -
              -

              Number 格式说明

              -
              -

              表示动画时长的毫秒数值 (如:1000)

              -
              -

              setting 举例

              -

              1. 设置为慢速显示动画效果

              -
              var setting = {
              -	view: {
              -		expandSpeed: "slow"
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.fontCss.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.fontCss.html deleted file mode 100644 index 54efb1b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.fontCss.html +++ /dev/null @@ -1,42 +0,0 @@ -
              -
              -

              JSON / Function(treeId, treeNode)setting.view.fontCss

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              个性化文字样式,只针对 zTree 在节点上显示的<A>对象。

              -

              默认值:{}

              -
              -
              -

              JSON 格式说明

              -
              -

              JSON 格式为 JQuery css方法中的 JSON 对象格式,例如:{color:"#ff0011", background:"blue"}

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置自定义样式的节点 JSON 数据对象

              -

              返回值JSON

              -

              返回值同 JSON 格式的数据,例如:{color:"#ff0011", background:"blue"}

              -
              -

              setting & function 举例

              -

              1. 不修改CSS,设置全部节点 name 显示为红色

              -
              var setting = {
              -	view: {
              -		fontCss : {color:"red"}
              -	}
              -};
              -

              2. 设置 level=0 的节点 name 显示为红色

              -
              function setFontCss(treeId, treeNode) {
              -	return treeNode.level == 0 ? {color:"red"} : {};
              -};
              -var setting = {
              -	view: {
              -		fontCss: setFontCss
              -	}
              -};
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.nameIsHTML.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.nameIsHTML.html deleted file mode 100644 index a1d916c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.nameIsHTML.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Booleansetting.view.nameIsHTML

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置 name 属性是否支持 HTML 脚本

              -

              如果允许 HTML 脚本,请根据自己的需求做校验,避免出现 js 注入等安全问题。

              -

              默认值: false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 支持 / 不支持 HTML 脚本

              -
              -

              setting 举例

              -

              1. 设置 name 属性支持 HTML 脚本

              -
              var setting = {
              -	view: {
              -		nameIsHTML: true
              -	}
              -};
              -var node = {"name":"<font color='red'>test</font>"};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.removeHoverDom.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.removeHoverDom.html deleted file mode 100644 index bb1a9aa..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.removeHoverDom.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.view.removeHoverDom

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于当鼠标移出节点时,隐藏用户自定义控件,显示隐藏状态同 zTree 内部的编辑、删除按钮

              -

              请务必与 addHoverDom 同时使用;属于高级应用,使用时请确保对 zTree 比较了解。

              -

              默认值:null

              -
              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要隐藏自定义控件的节点 JSON 数据对象

              -
              -

              setting & function 举例

              -

              1. 设置鼠标移到节点上,在后面显示一个按钮

              -
              var setting = {
              -	view: {
              -		addHoverDom: addHoverDom,
              -		removeHoverDom: removeHoverDom,
              -		......
              -	}
              -};
              -function addHoverDom(treeId, treeNode) {
              -	var aObj = $("#" + treeNode.tId + "_a");
              -	if ($("#diyBtn_"+treeNode.id).length>0) return;
              -	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
              -		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
              -		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
              -	aObj.append(editStr);
              -	var btn = $("#diyBtn_"+treeNode.id);
              -	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
              -};
              -function removeHoverDom(treeId, treeNode) {
              -	$("#diyBtn_"+treeNode.id).unbind().remove();
              -	$("#diyBtn_space_" +treeNode.id).unbind().remove();
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.selectedMulti.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.selectedMulti.html deleted file mode 100644 index 2cc65a2..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.selectedMulti.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Booleansetting.view.selectedMulti

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置是否允许同时选中多个节点。

              -

              默认值: true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 支持 / 不支持 同时选中多个节点

              -

              1、设置为 true时,按下 Ctrl 或 Cmd 键可以选中多个节点

              -

              2、设置为 true / false 都不影响按下 Ctrl 或 Cmd 键可以让已选中的节点取消选中状态( 取消选中状态可以参考 setting.view.autoCancelSelected )

              -
              -

              setting 举例

              -

              1. 禁止多点同时选中的功能

              -
              var setting = {
              -	view: {
              -		selectedMulti: false
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showIcon.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showIcon.html deleted file mode 100644 index ebe423c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showIcon.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.view.showIcon

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置 zTree 是否显示节点的图标。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 显示 / 隐藏 图标

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置是否显示图标的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting & function 举例

              -

              1. 设置 zTree 不显示图标

              -
              var setting = {
              -	view: {
              -		showIcon: false
              -	}
              -};
              -......
              -

              2. 设置 zTree 仅仅 level=2 的节点不显示图标

              -
              function showIconForTree(treeId, treeNode) {
              -	return treeNode.level != 2;
              -};
              -var setting = {
              -	view: {
              -		showIcon: showIconForTree
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showLine.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showLine.html deleted file mode 100644 index 02ab5eb..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showLine.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Booleansetting.view.showLine

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置 zTree 是否显示节点之间的连线。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 显示 / 不显示 连线

              -
              -

              setting 举例

              -

              1. 设置 zTree 不显示节点之间的连线

              -
              var setting = {
              -	view: {
              -		showLine: false
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showTitle.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showTitle.html deleted file mode 100644 index 5bcb860..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.showTitle.html +++ /dev/null @@ -1,46 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.view.showTitle

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置 zTree 是否显示节点的 title 提示信息(即节点 DOM 的 title 属性)。

              -

              请务必与 setting.data.key.title 同时使用。

              -

              默认值:true

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 显示 / 隐藏 提示信息

              -

              如果 setting.view.showTitle = true & setting.data.key.title = '',zTree 会自动使用 setting.data.key.name 指定的节点名称当做 title

              -
              -

              Function 参数说明

              -
              -

              treeIdString

              -

              对应 zTree 的 treeId,便于用户操控

              -

              treeNodeJSON

              -

              需要设置是否显示提示信息的节点 JSON 数据对象

              -

              返回值Boolean

              -

              返回值同 Boolean 格式的数据

              -
              -

              setting & function 举例

              -

              1. 设置 zTree 不显示提示信息

              -
              var setting = {
              -	view: {
              -		showTitle: false
              -	}
              -};
              -......
              -

              2. 设置 zTree 仅仅 level=2 的节点不显示提示信息

              -
              function showTitleForTree(treeId, treeNode) {
              -	return treeNode.level != 2;
              -};
              -var setting = {
              -	view: {
              -		showTitle: showTitleForTree
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.txtSelectedEnable.html b/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.txtSelectedEnable.html deleted file mode 100644 index c22a8c0..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/setting.view.txtSelectedEnable.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Booleansetting.view.txtSelectedEnable

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置 zTree 是否允许可以选择 zTree DOM 内的文本。

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true / false 分别表示 允许 / 不允许 选择 zTree Dom 内的文本

              -
              -

              setting & function 举例

              -

              1. 设置 zTree 允许选择文本

              -
              var setting = {
              -	view: {
              -		txtSelectedEnable: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.check_Child_State.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.check_Child_State.html deleted file mode 100644 index fa37899..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.check_Child_State.html +++ /dev/null @@ -1,43 +0,0 @@ -
              -
              -

              NumbertreeNode.check_Child_State

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              用于设置节点的子节点的 checkBox / radio 的半选状态。[setting.check.enable = true 时有效]

              -

              v3.x 针对节点数据对象提供 treeNode.getCheckStatus() 方法获取标准的半选状态

              -

              zTree 内部使用,请勿进行初始化 或 随意修改

              -

              默认值:true

              -
              -
              -

              Number 格式说明

              -
              -

              规则如下:

              - - - - - - - - - - - -
              setting.check.checkType = "checkbox"
              treeNode.check_Child_State勾选状态说明
              -1不存在子节点 或 子节点全部设置为 nocheck = true
              0无 子节点被勾选
              1部分 子节点被勾选
              2全部 子节点被勾选
              -
              - - - - - - - - - - -
              setting.check.checkType = "radio"
              treeNode.check_Child_State勾选状态说明
              -1不存在子节点 或 子节点全部设置为 nocheck = true
              0无 子节点被勾选
              2有 子节点被勾选
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.check_Focus.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.check_Focus.html deleted file mode 100644 index 785aec9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.check_Focus.html +++ /dev/null @@ -1,19 +0,0 @@ -
              -
              -

              BooleantreeNode.check_Focus

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              用于设置节点的 checkBox / radio 的 focus 状态。[setting.check.enable = true 时有效]

              -

              zTree 内部使用,请勿进行初始化 或 随意修改

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示当前鼠标移动到输入框内

              -

              false 表示当前鼠标移动到输入框外

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.checked.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.checked.html deleted file mode 100644 index 049d6ba..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.checked.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              BooleantreeNode.checked

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              节点的 checkBox / radio 的 勾选状态。[setting.check.enable = true & treeNode.nocheck = false 时有效]

              -

              1、如果不使用 checked 属性设置勾选状态,请修改 setting.data.key.checked

              -

              2、建立 treeNode 数据时设置 treeNode.checked = true 可以让节点的输入框默认为勾选状态

              -

              3、修改节点勾选状态,可以使用 treeObj.checkNode / checkAllNodes / updateNode 方法,具体使用哪种请根据自己的需求而定

              -

              4、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示节点的输入框被勾选

              -

              false 表示节点的输入框未勾选

              -
              -

              treeNode 举例

              -

              1. 初始化的数据设置 默认为勾选状态

              -
              var nodes = [
              -{ "id":1, "name":"test1", checked:true },
              -{ "id":2, "name":"test2", checked:true }
              -]
              -

              2. 获取第一个根节点的勾选状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var checked = treeObj.getNodes()[0].checked;
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.checkedOld.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.checkedOld.html deleted file mode 100644 index cab717e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.checkedOld.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              BooleantreeNode.checkedOld

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              节点的 checkBox / radio 在初始化时的 勾选状态。[setting.check.enable = true & treeNode.nocheck = false 时有效]

              -

              1、zTree 初始化节点数据时会对此属性进行赋值,因此请勿对此属性初始化

              -

              2、如需配合 zTreeObj.getChangeCheckedNodes 方法实现特殊功能,可以根据需求在使用中自行修改 checkedOld 数据

              -

              默认值:checked的初始化值

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示节点初始化时 输入框被勾选

              -

              false 表示节点初始化时 输入框未勾选

              -
              -

              treeNode 举例

              -

              1. 获取第一个根节点的初始勾选状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var checkedOld = treeObj.getNodes()[0].checkedOld;
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.children.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.children.html deleted file mode 100644 index 4bab835..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.children.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Array(JSON)treeNode.children

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              节点的子节点数据集合。

              -

              1、如果不使用 children 属性保存子节点数据,请修改 setting.data.key.children

              -

              2、异步加载时,对于设置了 isParent = true 的节点,在展开时将进行异步加载

              -

              默认值:无

              -
              -
              -

              Array(JSON) 格式说明

              -
              -

              标准的 JSON 数据对象

              -
              -

              treeNode 举例

              -

              1. 初始化的标准嵌套格式的 JSON 数据对象

              -
              var nodes = [
              -{ "id":1, "name":"test1",
              -	children: [
              -	{ "id":3, "name":"test3"},
              -	{ "id":4, "name":"test4"},
              -	{ "id":5, "name":"test5"}
              -	]
              -},
              -{ "id":2, "name":"test2"  }
              -]
              -

              2. 获取第一个根节点的子节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes()[0].children;
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.chkDisabled.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.chkDisabled.html deleted file mode 100644 index e6bb032..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.chkDisabled.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.chkDisabled

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              1、设置节点的 checkbox / radio 是否禁用 [setting.check.enable = true 时有效]

              -

              2、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

              -

              3、请勿对已加载的节点修改此属性,禁止 或 取消禁止 请使用 setChkDisabled() 方法

              -

              4、初始化时,如果需要子孙节点继承父节点的 chkDisabled 属性,请设置 setting.check.chkDisabledInherit 属性

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示此节点的 checkbox / radio 被禁用。

              -

              false 表示此节点的 checkbox / radio 可以使用。

              -
              -

              treeNode 举例

              -

              1. 禁用节点 checkbox / radio

              -
              var nodes = [
              -	{ "id":1, "name":"test1", "checked":true, "chkDisabled":true},
              -	{ "id":2, "name":"test2", "chkDisabled":true},
              -	{ "id":3, "name":"test3"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.click.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.click.html deleted file mode 100644 index 833c678..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.click.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              StringtreeNode.click

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              最简单的 click 事件操作。相当于 onclick="..." 的内容。 如果操作较复杂,请使用 onClick 事件回调函数。

              -

              由于 IE 对于 onclick 和 click事件共存时的处理与其他浏览器不同,所以请不要利用此参数控制是否允许跳转的操作(例如:treeNode.click = "return false;")。如有类似需求,请不要使用 url 属性设置网址,同时利用 onClick 回调函数控制跳转。

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              标准 javascript 语法, 例如:alert("test"); 等

              -
              -

              treeNode 举例

              -

              1. 设置某节点点击时,弹出信息框

              -
              var nodes = [
              -	{ "id":1, "name":"Google CN", "url":"http://g.cn", "click":"alert('test');"},
              -	......
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.diy.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.diy.html deleted file mode 100644 index b2fb0d9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.diy.html +++ /dev/null @@ -1,15 +0,0 @@ -
              -
              -

              ?treeNode.* DIY *

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              用于保存节点的其他自定义数据信息,不要与 zTree 使用的属性相同即可,用户可随意设定。

              -
              -
              -

              treeNode 举例

              -

              1. 设置节点的备用英文名称

              -
              var node = { "id":1, "name":"test1", "ename":"test eName"};
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.editNameFlag.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.editNameFlag.html deleted file mode 100644 index 51162b8..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.editNameFlag.html +++ /dev/null @@ -1,19 +0,0 @@ -
              -
              -

              BooleantreeNode.editNameFlag

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              用于记录节点是否处于编辑名称状态。[setting.edit.enable = true 时有效]

              -

              zTree 内部使用,请勿进行初始化 或 随意修改

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示节点处于编辑名称状态

              -

              false 表示节点未处于编辑名称状态

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getCheckStatus.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getCheckStatus.html deleted file mode 100644 index fc20eac..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getCheckStatus.html +++ /dev/null @@ -1,63 +0,0 @@ -
              -
              -

              Function()treeNode.getCheckStatus

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              获取节点 checkbox / radio 半勾选状态。[setting.check.enable = true 时有效]

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Function 参数说明

              -
              -

              返回值JSON

              -
              {
              -	checked: true, //等同于 treeNode.checked
              -	half: true  //规则见下表
              -}
              - - - - - - - - - - - - - - - - - - -
              setting.check.checkType = "checkbox"
              treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
              --truetrue
               
              true-1falsefalse
              true0falsetrue
              true1falsetrue
              true2falsefalse
               
              false-1falsefalse
              false0falsefalse
              false1falsetrue
              false2falsetrue
              -
              - - - - - - - - - - - - - - - - -
              setting.check.checkType = "radio"
              treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
              --truetrue
               
              true-1falsefalse
              true0falsefalse
              true2falsetrue
               
              false-1falsefalse
              false0falsefalse
              false2falsetrue
              -
              -

              treeNode 举例

              -

              1. 获取第一个根节点的半选状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var halfCheck = treeObj.getNodes()[0].getCheckStatus();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getIndex.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getIndex.html deleted file mode 100644 index babdc2e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getIndex.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Function()treeNode.getIndex

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取 treeNode 节点在同级节点中的位置。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Function 参数说明

              -
              -

              返回值Number

              -

              treeNode 节点在同级节点中的位置。(从 0 开始)

              -
              -

              treeNode 举例

              -

              1. 获取当前被选中的节点在同级节点中的位置

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getIndex();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getNextNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getNextNode.html deleted file mode 100644 index 7a0fa5c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getNextNode.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function()treeNode.getNextNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取与 treeNode 节点相邻的后一个节点。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Function 参数说明

              -
              -

              返回值JSON

              -

              与 treeNode 节点相邻的后一个节点。

              -

              如果 treeNode 是最后一个节点,返回 null 。

              -
              -

              treeNode 举例

              -

              1. 获取当前被选中的节点的下一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getNextNode();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getParentNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getParentNode.html deleted file mode 100644 index 31309a6..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getParentNode.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function()treeNode.getParentNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取 treeNode 节点的父节点。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Function 参数说明

              -
              -

              返回值JSON

              -

              treeNode 节点的父节点 JSON 数据对象。

              -

              如果 treeNode 是根节点,返回 null 。

              -
              -

              treeNode 举例

              -

              1. 获取当前被选中的节点的父节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getParentNode();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getPath.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getPath.html deleted file mode 100644 index 46318f0..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getPath.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Function()treeNode.getPath

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取 treeNode 节点的所有父节点(包括自己)。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Function 参数说明

              -
              -

              返回值Array (JSON)

              -

              treeNode 节点的所有父节点的数据集合(包括自己)

              -
              -

              treeNode 举例

              -

              1. 获取当前被选中的节点的所有父节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getPath();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getPreNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getPreNode.html deleted file mode 100644 index 9d84184..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.getPreNode.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function()treeNode.getPreNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取与 treeNode 节点相邻的前一个节点。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Function 参数说明

              -
              -

              返回值JSON

              -

              与 treeNode 节点相邻的前一个节点。

              -

              如果 treeNode 是第一个节点,返回 null 。

              -
              -

              treeNode 举例

              -

              1. 获取当前被选中的节点的前一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getPreNode();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.halfCheck.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.halfCheck.html deleted file mode 100644 index 23ac744..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.halfCheck.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              BooleantreeNode.halfCheck

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              强制节点的 checkBox / radio 的 半勾选状态。[setting.check.enable = true & treeNode.nocheck = false 时有效]

              -

              1、强制为半勾选状态后,不再进行自动计算半勾选状态

              -

              2、设置 treeNode.halfCheck = false 或 null 才能恢复自动计算半勾选状态

              -

              3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示节点的输入框 强行设置为半勾选

              -

              false 表示节点的输入框 根据 zTree 的规则自动计算半勾选状态

              -
              -

              treeNode 举例

              -

              1. 初始化的数据设置 默认为半勾选状态

              -
              var nodes = [
              -{ "id":1, "name":"test1", isParent:true, checked:true, halfCheck:true },
              -{ "id":2, "name":"test2", isParent:true, checked:false, halfCheck:true },
              -{ "id":3, "name":"test3", isParent:true, checked:true },
              -{ "id":4, "name":"test4", isParent:true, checked:false }
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.icon.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.icon.html deleted file mode 100644 index 69c5db1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.icon.html +++ /dev/null @@ -1,33 +0,0 @@ -
              -
              -

              StringtreeNode.icon

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              节点自定义图标的 URL 路径。

              -

              1、父节点如果只设置 icon ,会导致展开、折叠时都使用同一个图标

              -

              2、父节点展开、折叠使用不同的个性化图标需要同时设置 treeNode.iconOpen / treeNode.iconClose 两个属性

              -

              3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              图标图片的 url 可以是相对路径也可以是绝对路径

              -

              设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载

              -
              -

              treeNode 举例

              -

              1. 设置节点的个性化图标

              -
              var nodes = [
              -	//父节点展开 折叠时使用相同的图标
              -	{ name:"父节点1", icon:"/img/parent.gif"},
              -
              -	//父节点展开 折叠时分别使用不同的图标
              -	{ name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"}, 
              -
              -	//叶子节点个性化图标
              -	{ name:"叶子节点", icon:"/img/leaf.gif"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconClose.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconClose.html deleted file mode 100644 index f51da9c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconClose.html +++ /dev/null @@ -1,33 +0,0 @@ -
              -
              -

              StringtreeNode.iconClose

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              父节点自定义折叠时图标的 URL 路径。

              -

              1、此属性只针对父节点有效

              -

              2、此属性必须与 iconOpen 同时使用

              -

              3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              图标图片的 url 可以是相对路径也可以是绝对路径

              -

              设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载

              -
              -

              treeNode 举例

              -

              1. 设置节点的个性化图标

              -
              var nodes = [
              -	//父节点展开 折叠时使用相同的图标
              -	{ name:"父节点1", icon:"/img/parent.gif"},
              -
              -	//父节点展开 折叠时分别使用不同的图标
              -	{ name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"}, 
              -
              -	//叶子节点个性化图标
              -	{ name:"叶子节点", icon:"/img/leaf.gif"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconOpen.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconOpen.html deleted file mode 100644 index 29c9baa..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconOpen.html +++ /dev/null @@ -1,33 +0,0 @@ -
              -
              -

              StringtreeNode.iconOpen

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              父节点自定义展开时图标的 URL 路径。

              -

              1、此属性只针对父节点有效

              -

              2、此属性必须与 iconClose 同时使用

              -

              3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              图标图片的 url 可以是相对路径也可以是绝对路径

              -

              设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载

              -
              -

              treeNode 举例

              -

              1. 设置节点的个性化图标

              -
              var nodes = [
              -	//父节点展开 折叠时使用相同的图标
              -	{ name:"父节点1", icon:"/img/parent.gif"},
              -
              -	//父节点展开 折叠时分别使用不同的图标
              -	{ name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"}, 
              -
              -	//叶子节点个性化图标
              -	{ name:"叶子节点", icon:"/img/leaf.gif"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconSkin.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconSkin.html deleted file mode 100644 index d5d9726..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.iconSkin.html +++ /dev/null @@ -1,43 +0,0 @@ -
              -
              -

              StringtreeNode.iconSkin

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              节点自定义图标的 className

              -

              1、需要修改 css,增加相应 className 的设置

              -

              2、css 方式简单、方便,并且同时支持父节点展开、折叠状态切换图片

              -

              3、css 建议采用图片分割渲染的方式以减少反复加载图片,并且避免图片闪动

              -

              4、zTree v3.x 的 iconSkin 同样支持 IE6

              -

              5、如果想直接使用 图片的Url路径 设置节点的个性化图标,需要设置 treeNode.icon / treeNode.iconOpen / treeNode.iconClose 属性

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              设置个性图标的 className

              -
              -

              css & treeNode 举例

              -

              1. 设置节点的个性化图标

              -
              css 内容:
              -.ztree li span.button.diy01_ico_open, .ztree li span.button.diy01_ico_close{...}
              -
              -.ztree li span.button.diy02_ico_open{...}
              -.ztree li span.button.diy02_ico_close{...}
              -
              -.ztree li span.button.diy03_ico_docu{...}
              -
              -js中节点数据:
              -var nodes = [
              -	//父节点展开 折叠时使用相同的图标
              -	{ name:"父节点1", iconSkin:"diy01"},
              -
              -	//父节点展开 折叠时分别使用不同的图标
              -	{ name:"父节点2", iconSkin:"diy02"},
              -
              -	//叶子节点个性化图标
              -	{ name:"叶子节点", iconSkin:"diy03"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isAjaxing.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isAjaxing.html deleted file mode 100644 index 330c120..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isAjaxing.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              BooleantreeNode.isAjaxing

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              记录 treeNode 节点是否正在进行异步加载。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示节点正在进行异步加载

              -

              false 表示节点没有进行异步加载

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点是否节点正在进行异步加载

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isAjaxing = sNodes[0].isAjaxing;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isFirstNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isFirstNode.html deleted file mode 100644 index 83b80bd..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isFirstNode.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.isFirstNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              记录 treeNode 节点是否为同级节点中的第一个节点。

              -

              使用 exhide 扩展后,只针对显示的节点设置此属性

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示是同级节点中的第一个节点

              -

              false 表示不是同级节点中的第一个节点

              -

              节点被隐藏后,isFirstNode = false

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点是否是同级节点中的第一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isFirstNode = sNodes[0].isFirstNode;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isHidden.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isHidden.html deleted file mode 100644 index 5fb388e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isHidden.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              BooleantreeNode.isHidden

              -

              概述[ 依赖 jquery.ztree.exhide 扩展 js ]

              -
              -

              -
              -

              判断 treeNode 节点是否被隐藏。

              -

              1、初始化 zTree 时,如果节点设置 isHidden = true,会被自动隐藏

              -

              2、请勿对已加载的节点修改此属性,隐藏 / 显示 请使用 hideNode() / hideNodes() / showNode() / showNodes() 方法

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示被隐藏

              -

              false 表示被显示

              -
              -

              treeNode 举例

              -

              1. 查看第一个根节点是否被隐藏

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getNodes();
              -if (sNodes.length > 0) {
              -	var isHidden = sNodes[0].isHidden;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isHover.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isHover.html deleted file mode 100644 index dcef6eb..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isHover.html +++ /dev/null @@ -1,19 +0,0 @@ -
              -
              -

              BooleantreeNode.isHover

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              记录节点 的 hover 状态,主要用于 setting.view.addHoverDom / removeHoverDom 。

              -

              zTree 内部使用,请勿进行初始化 或 随意修改

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示节点处于 hover 状态

              -

              false 表示节点未处于 hover 状态

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isLastNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isLastNode.html deleted file mode 100644 index 5d5ac82..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isLastNode.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.isLastNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              记录 treeNode 节点是否为同级节点中的最后一个节点。

              -

              使用 exhide 扩展后,只针对显示的节点设置此属性

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示是同级节点中的最后一个节点

              -

              false 表示不是同级节点中的最后一个节点

              -

              节点被隐藏后,isLastNode = false

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点是否是同级节点中的最后一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isLastNode = sNodes[0].isLastNode;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isParent.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isParent.html deleted file mode 100644 index bab887e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.isParent.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.isParent

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              记录 treeNode 节点是否为父节点。

              -

              1、初始化节点数据时,根据 treeNode.children 属性判断,有子节点则设置为 true,否则为 false

              -

              2、初始化节点数据时,如果设定 treeNode.isParent = true,即使无子节点数据,也会设置为父节点

              -

              3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示是父节点

              -

              false 表示不是父节点

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点是否是父节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isParent = sNodes[0].isParent;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.level.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.level.html deleted file mode 100644 index aff3254..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.level.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              NumbertreeNode.level

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              记录节点的层级

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              Number 格式说明

              -
              -

              根节点 level = 0,依次递增

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点的级数

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var level = sNodes[0].level;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.name.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.name.html deleted file mode 100644 index 918f2b4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.name.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              StringtreeNode.name

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              节点名称。

              -

              1、如果不使用 name 属性保存节点名称,请修改 setting.data.key.name

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              节点显示的名称字符串,标准 String 即可,所有特殊字符都会被自动转义

              -
              -

              treeNode 举例

              -

              1. 设置节点的名称为 test1、test2、test3

              -
              var nodes = [
              -	{ "id":1, "name":"test1"},
              -	{ "id":2, "name":"test2"},
              -	{ "id":3, "name":"test3"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.nocheck.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.nocheck.html deleted file mode 100644 index afaa62f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.nocheck.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              BooleantreeNode.nocheck

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              1、设置节点是否隐藏 checkbox / radio [setting.check.enable = true 时有效]

              -

              2、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示此节点不显示 checkbox / radio,不影响勾选的关联关系,不影响父节点的半选状态。

              -

              false 表示节点具有正常的勾选功能

              -
              -

              treeNode 举例

              -

              1. 不显示某个节点的 checkbox / radio

              -
              var nodes = [
              -	{ "id":1, "name":"test1", "nocheck":true},
              -	{ "id":2, "name":"test2"},
              -	{ "id":3, "name":"test3"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.open.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.open.html deleted file mode 100644 index 1eb9aec..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.open.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              BooleantreeNode.open

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              记录 treeNode 节点的 展开 / 折叠 状态。

              -

              1、初始化节点数据时,如果设定 treeNode.open = true,则会直接展开此节点

              -

              2、叶子节点 treeNode.open = false

              -

              3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

              -

              4、非异步加载模式下,无子节点的父节点设置 open=true 后,可显示为展开状态,但异步加载模式下不会生效。(v3.5.15+)

              -

              默认值:false

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示节点为 展开 状态

              -

              false 表示节点为 折叠 状态

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点的 展开 / 折叠 状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isOpen = sNodes[0].open;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.parentTId.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.parentTId.html deleted file mode 100644 index d228a23..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.parentTId.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              StringtreeNode.parentTId

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              treeNode 节点的父节点唯一标识 tId。

              -

              1、v3.x 用 parentTId 替换了原先的 parentNode 属性,同时增加了 getParentNode 方法,以避免原先 parentNode 造成的 clone 死循环

              -

              2、初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              String 格式说明

              -
              -

              zTree 内部生成的节点唯一标识,请参考 treeNode.tId 的说明

              -

              如果 treeNode 是根节点,则 parentTId = null

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点的父节点 tId

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var parentTId = sNodes[0].parentTId;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.tId.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.tId.html deleted file mode 100644 index c32285c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.tId.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              StringtreeNode.tId

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              treeNode 节点的唯一标识 tId。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -
              -
              -

              String 格式说明

              -
              -

              生成规则:setting.treeId + "_" + 内部计数

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点的 tId

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var tId = sNodes[0].tId;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.target.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.target.html deleted file mode 100644 index f7c1b6b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.target.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              StringtreeNode.target

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              设置点击节点后在何处打开 url。[treeNode.url 存在时有效]

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              同超链接 target 属性: "_blank", "_self" 或 其他指定窗口名称

              -

              省略此属性,则默认为 "_blank"

              -
              -

              treeNode 举例

              -

              1. 设置点击某节点时,弹出新页面

              -
              var nodes = [
              -	{ "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
              -	......
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.url.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.url.html deleted file mode 100644 index 0b2e007..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.url.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              StringtreeNode.url

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              节点链接的目标 URL

              -

              1、编辑模式 (setting.edit.enable = true) 下此属性功能失效,如果必须使用类似功能,请利用 onClick 事件回调函数自行控制。

              -

              2、如果需要在 onClick 事件回调函数中进行跳转控制,那么请将 URL 地址保存在其他自定义的属性内,请勿使用 url

              -

              默认值:无

              -
              -
              -

              String 格式说明

              -
              -

              同超链接 href 属性

              -
              -

              treeNode 举例

              -

              1. 设置某节点点击时,跳转到 g.cn

              -
              var nodes = [
              -	{ "id":1, "name":"Google CN", "url":"http://g.cn"},
              -	......
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.zAsync.html b/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.zAsync.html deleted file mode 100644 index 00e48f3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/treeNode.zAsync.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.zAsync

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              记录 treeNode 节点是否已经进行过异步加载,避免父节点反复异步加载数据。

              -

              初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

              -

              默认值:false (无子节点的父节点); true (有子节点的父节点 & 叶子节点)

              -
              -
              -

              Boolean 格式说明

              -
              -

              true 表示父节点展开时不需要自动异步加载

              -

              false 表示父节点展开时需要自动异步加载

              -

              此参数不会对 reAsyncChildNodes 方法造成任何影响

              -
              -

              treeNode 举例

              -

              1. 查看当前被选中的节点是否节点是否需要自动异步加载

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var zAsync = sNodes[0].zAsync;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.addNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.addNodes.html deleted file mode 100644 index 0fa52e3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.addNodes.html +++ /dev/null @@ -1,47 +0,0 @@ -
              -
              -

              Function(parentNode, [index], newNodes, isSilent)zTreeObj.addNodes

              -

              概述[ 依赖 jquery.ztree.core 扩展 js ]

              -
              -

              -
              -

              添加节点。

              -

              v3.x 为了避免原先反复初始化造成的数据重复问题,在 初始化 和 添加节点 时内部进行 clone 操作。如果需要获取数据在 zTree 内的对象,请获取此方法的返回值。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              parentNodeJSON

              -

              指定的父节点,如果增加根节点,请设置 parentNode 为 null 即可。

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              [index]Number

              -

              新节点插入的位置(从 0 开始)

              -

              index = -1 时,插入到最后

              -

              此参数可忽略

              -

              v3.5.19+

              -

              newNodesJSON / Array(JSON)

              -

              需要增加的节点数据 JSON 对象集合,数据只需要满足 zTree 的节点数据必需的属性即可,详细请参考“treeNode 节点数据详解”

              -

              1、v3.x 支持单独添加一个节点,即如果只新增一个节点,不用必须包在数组中

              -

              2、使用简单数据模式,请参考 setting.data.simpleData 内的属性说明

              -

              isSilentBoolean

              -

              设定增加节点后是否自动展开父节点。

              -

              isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

              -

              返回值Array(JSON)

              -

              返回值是 zTree 最终添加的节点数据集合

              -

              如果 newNodes 是单个节点数据 JSON,返回值也是将其包在 Array 内

              -

              请务必记住:返回值中的数据对象 是 newNodes 被 clone 后的,所以绝对不相等!

              -
              -

              function 举例

              -

              1. 对于 id = "tree" 的 zTree 增加 1 个根节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var newNode = {name:"newNode1"};
              -newNode = treeObj.addNodes(null, newNode);
              -
              -

              2. 对于 id = "tree" 的 zTree 增加 3 个根节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var newNodes = [{name:"newNode1"}, {name:"newNode2"}, {name:"newNode3"}];
              -newNodes = treeObj.addNodes(null, newNodes);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.cancelEditName.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.cancelEditName.html deleted file mode 100644 index 9df098f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.cancelEditName.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Function(newName)zTreeObj.cancelEditName

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              取消节点的编辑名称状态,可以恢复原名称,也可以强行赋给新的名称。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              newNameString

              -

              重新给定的新名称。

              -

              如果省略此参数,则恢复原名称。

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 取消 zTree 的编辑名称状态,恢复该节点原有名称

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.cancelEditName();
              -
              -

              2. 取消 zTree 的编辑名称状态,并且重新设定该节点名称

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.cancelEditName("test_new_name");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.cancelSelectedNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.cancelSelectedNode.html deleted file mode 100644 index d841768..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.cancelSelectedNode.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.cancelSelectedNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              取消节点的选中状态。

              -

              v3.x 支持多点同时选中,因此取消选中状态可以全部取消,也可以单独取消某个节点的选中状态。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              需要取消选中状态的节点。

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              如果省略此参数,则将取消全部被选中节点的选中状态。

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 取消当前所有被选中节点的选中状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.cancelSelectedNode();
              -
              -

              2. 取消当前第一个被选中节点的选中状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) { 
              -	treeObj.cancelSelectedNode(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.checkAllNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.checkAllNodes.html deleted file mode 100644 index be51299..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.checkAllNodes.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(checked)zTreeObj.checkAllNodes

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              勾选 或 取消勾选 全部节点。[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时有效]

              -

              此方法不会触发 beforeCheck / onCheck 事件回调函数。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              checkedBoolean

              -

              checked = true 表示勾选全部节点

              -

              checked = false 表示全部节点取消勾选

              -

              不会影响 treeNode.nocheck = true 的节点。

              -

              不会影响未加载的节点。

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 勾选全部节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.checkAllNodes(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.checkNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.checkNode.html deleted file mode 100644 index 7bc0dbf..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.checkNode.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Function(treeNode, checked, checkTypeFlag, callbackFlag)zTreeObj.checkNode

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              勾选 或 取消勾选 单个节点。[setting.check.enable = true 时有效]

              -

              v3.x 中 checkNode() 方法可以触发 beforeCheck / onCheck 事件回调函数。便于减少冗余代码

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              需要勾选 或 取消勾选 的节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              checkedBoolean

              -

              checked = true 表示勾选节点

              -

              checked = false 表示节点取消勾选

              -

              省略此参数,则根据对此节点的勾选状态进行 toggle 切换

              -

              不影响 treeNode.nocheck = true 的节点。

              -

              checkTypeFlagBoolean

              -

              checkTypeFlag = true 表示按照 setting.check.chkboxType 属性进行父子节点的勾选联动操作

              -

              checkTypeFlag = false 表示只修改此节点勾选状态,无任何勾选联动操作

              -

              checkTypeFlag = false 且 treeNode.checked = checked 时,不会触发回调函数,直接返回

              -

              不影响父子节点中 treeNode.nocheck = true 的节点。

              -

              callbackFlagBoolean

              -

              callbackFlag = true 表示执行此方法时触发 beforeCheck & onCheck 事件回调函数

              -

              callbackFlag = false 表示执行此方法时不触发事件回调函数

              -

              省略此参数,等同于 false

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 勾选当前选中的节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -for (var i=0, l=nodes.length; i < l; i++) {
              -	treeObj.checkNode(nodes[i], true, true);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.copyNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.copyNode.html deleted file mode 100644 index f1b624b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.copyNode.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Function(targetNode, treeNode, moveType, isSilent)zTreeObj.copyNode

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              复制节点。

              -

              v3.x 复制节点时进行 clone 操作。如果需要获取数据在 zTree 内的对象,请获取此方法的返回值。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              targetNodeJSON

              -

              要复制到的目标节点 JSON 数据

              -

              如果复制成为根节点,请设置 targetNode 为 null 即可

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              treeNodeJSON

              -

              需要被复制的节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              moveTypeString

              -

              复制到目标节点的相对位置

              -

              "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

              -

              isSilentBoolean

              -

              设定复制节点后是否自动展开父节点。

              -

              isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

              -

              返回值JSON

              -

              返回值是最终加入到 zTree 内的节点数据

              -

              请务必记住:返回值中的数据对象 是 treeNode 被 clone 后的,所以绝对不相等!

              -
              -

              function 举例

              -

              1. 将根节点中第二个节点 复制成为 第一个节点的子节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.copyNode(nodes[0], nodes[1], "inner");
              -
              -

              2. 将根节点中第二个节点 复制成为 第一个节点的前一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.copyNode(nodes[0], nodes[1], "before");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.destroy.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.destroy.html deleted file mode 100644 index d9f6da0..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.destroy.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Function(treeId)zTreeObj.destroy

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              从 zTree v3.4 开始提供销毁 zTree 的方法。

              -

              1、用此方法可以销毁 zTreeObj 代表的 zTree。

              -

              2、销毁当前页面全部的 zTree,也可以使用 $.fn.zTree.destroy() 方法。

              -

              3、重新使用已经被销毁的树,必须要使用 init 方法进行初始化。

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 销毁 id 为 "treeDemo" 的 zTree

              -
              var zTreeObj = $.fn.zTree.getZTreeObj("treeDemo");
              -zTreeObj.destroy();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.editName.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.editName.html deleted file mode 100644 index 2d4eaf7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.editName.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.editName

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              设置某节点进入编辑名称状态。

              -

              1、如果需要用 js 取消编辑名称状态,请使用 cancelEditName(newName) 方法。

              -

              2、可利用此方法让当前正编辑的节点 input 输入框获取焦点。

              -

              3、请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              指定进入编辑名称状态的节点 JSON 数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 设置根节点第一个节点进入编辑名称状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.editName(nodes[0]);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.expandAll.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.expandAll.html deleted file mode 100644 index aaa3e46..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.expandAll.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Function(expandFlag)zTreeObj.expandAll

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              展开 / 折叠 全部节点

              -

              此方法不会触发 beforeExpand / onExpand 和 beforeCollapse / onCollapse 事件回调函数。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              expandFlagBoolean

              -

              expandFlag = true 表示 展开 全部节点

              -

              expandFlag = false 表示 折叠 全部节点

              -

              返回值Boolean

              -

              返回值表示最终实际操作情况

              -

              true 表示 展开 全部节点

              -

              false 表示 折叠 全部节点

              -

              null 表示 不存在任何父节点

              -
              -

              function 举例

              -

              1. 展开全部节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.expandAll(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.expandNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.expandNode.html deleted file mode 100644 index 5d96d3f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.expandNode.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              Function(treeNode, expandFlag, sonSign, focus, callbackFlag)zTreeObj.expandNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              展开 / 折叠 指定的节点

              -

              v3.x 中执行此方法可以触发 beforeExpand / onExpand 或 beforeCollapse / onCollapse 事件回调函数。便于减少冗余代码

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              需要 展开 / 折叠 的节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              expandFlagBoolean

              -

              expandFlag = true 表示 展开 节点

              -

              expandFlag = false 表示 折叠 节点

              -

              省略此参数,则根据对此节点的展开状态进行 toggle 切换

              -

              sonSignBoolean

              -

              sonSign = true 表示 全部子孙节点 进行与 expandFlag 相同的操作

              -

              sonSign = false 表示 只影响此节点,对于其 子孙节点无任何影响

              -

              sonSign = false 且 treeNode.open = expandFlag 时,不会触发回调函数,直接返回

              -

              省略此参数,等同于 false

              -

              focusBoolean

              -

              focus = true 表示 展开 / 折叠 操作后,通过设置焦点保证此焦点进入可视区域内

              -

              focus = false 表示 展开 / 折叠 操作后,不设置任何焦点

              -

              省略此参数,等同于 true

              -

              callbackFlagBoolean

              -

              callbackFlag = true 表示执行此方法时触发 beforeExpand / onExpand 或 beforeCollapse / onCollapse 事件回调函数

              -

              callbackFlag = false 表示执行此方法时不触发事件回调函数

              -

              省略此参数,等同于 false

              -

              返回值Boolean

              -

              返回值表示最终实际操作情况

              -

              true 表示 展开 节点

              -

              false 表示 折叠 节点

              -

              null 表示 不是父节点

              -
              -

              function 举例

              -

              1. 展开当前选择的第一个节点(包括其全部子节点)

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	treeObj.expandNode(nodes[0], true, true, true);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getChangeCheckedNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getChangeCheckedNodes.html deleted file mode 100644 index ba86534..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getChangeCheckedNodes.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Function()zTreeObj.getChangeCheckedNodes

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              获取输入框勾选状态被改变的节点集合(与原始数据 checkedOld 对比)。[setting.check.enable = true 时有效]

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              返回值Array(JSON)

              -

              返回全部勾选状态被改变的节点集合 Array

              -

              如果需要获取每次操作后全部被改变勾选状态的节点数据,请在每次勾选操作后,遍历所有被改变勾选状态的节点数据,让其 checkedOld = checked 就可以了。

              -
              -

              function 举例

              -

              1. 获取当前勾选状态被改变的节点集合

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getChangeCheckedNodes();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getCheckedNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getCheckedNodes.html deleted file mode 100644 index 41a7df3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getCheckedNodes.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Function(checked)zTreeObj.getCheckedNodes

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              获取输入框被勾选 或 未勾选的节点集合。[setting.check.enable = true 时有效]

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              checkedBoolean

              -

              checked = true 表示获取 被勾选 的节点集合

              -

              checked = false 表示获取 未勾选 的节点集合

              -

              省略此参数,等同于 true。

              -

              对于 treeNode.nocheck = true 的节点不进行获取。

              -

              返回值Array(JSON)

              -

              返回全部符合要求的节点集合 Array

              -
              -

              function 举例

              -

              1. 获取当前被勾选的节点集合

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getCheckedNodes(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeByParam.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeByParam.html deleted file mode 100644 index 89e72c7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeByParam.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Function(key, value, parentNode)zTreeObj.getNodeByParam

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              根据节点数据的属性搜索,获取条件完全匹配的节点数据 JSON 对象

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              keyString

              -

              需要精确匹配的属性名称

              -

              value?

              -

              需要精确匹配的属性值,可以是任何类型,只要保证与 key 指定的属性值保持一致即可

              -

              parentNodeJSON

              -

              搜索范围,指定在某个父节点下的子节点中进行搜索

              -

              忽略此参数,表示在全部节点中搜索

              -

              返回值JSON

              -

              匹配精确搜索的节点数据

              -

              1、如无结果,返回 null

              -

              2、如有多个节点满足查询条件,只返回第一个匹配到的节点

              -
              -

              function 举例

              -

              1. 查找 id = 1 的节点数据

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodeByParam("id", 1, null);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeByTId.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeByTId.html deleted file mode 100644 index 76fcc48..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeByTId.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function(tId)zTreeObj.getNodeByTId

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              根据 zTree 的唯一标识 tId 快速获取节点 JSON 数据对象

              -

              通过内部的 cache 获取,不需要遍历节点。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              tIdString

              -

              节点在 zTree 内的唯一标识 tId

              -

              返回值JSON

              -

              tId 对应的节点 JSON 数据对象

              -

              如无结果,返回 null

              -
              -

              function 举例

              -

              1. 获取 tId = "tree_10" 的节点数据

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodeByTId("tree_10");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeIndex.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeIndex.html deleted file mode 100644 index b2c757d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodeIndex.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.getNodeIndex

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取某节点在同级节点中的序号(从0开始)

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              需要查询顺序的节点 JSON 数据对象

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              返回值Number

              -

              返回值从 0 开始计数

              -

              如果不存在该节点数据,返回 -1

              -
              -

              function 举例

              -

              1. 获取当前选中的第一个节点在同级节点中的序号

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	var index = treeObj.getNodeIndex(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodes.html deleted file mode 100644 index b368535..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodes.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Function()zTreeObj.getNodes

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取 zTree 的全部节点数据

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              返回值Array(JSON)

              -

              全部节点数据

              -

              1、Array 仅仅是根节点的集合(默认情况子节点都处于 children 属性下);

              -

              2、如需遍历全部节点需要利用递归,或利用 transformToArray 方法 将数据变成简单的 Array 集合

              -

              3、对于异步加载模式下,尚未加载的子节点是无法通过此方法获取的。

              -
              -

              function 举例

              -

              1. 获取全部节点数据

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByFilter.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByFilter.html deleted file mode 100644 index 6917425..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByFilter.html +++ /dev/null @@ -1,43 +0,0 @@ -
              -
              -

              Function(filter, isSingle, parentNode, invokeParam)zTreeObj.getNodesByFilter

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              根据自定义规则搜索节点数据 JSON 对象集合 或 单个节点数据

              -

              可自定义复杂的搜索规则

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              filterFunction

              -

              自定义过滤器函数 function filter(node) {...}

              -

              filter 参数:node (节点数据 JSON)

              -

              filter 返回值:boolean (true 表示符合搜索条件;false 表示不符合搜索条件)

              -

              isSingleBoolean

              -

              isSingle = true 表示只查找单个节点

              -

              isSingle = false 表示查找节点集合

              -

              忽略此参数,表示查找节点集合

              -

              parentNodeJSON

              -

              可以指定在某个父节点下的子节点中搜索

              -

              忽略此参数,表示在全部节点中搜索

              -

              invokeParam任意类型

              -

              用户自定义的数据对象,用于 filter 中进行计算

              -

              返回值Array(JSON) / JSON

              -

              isSingle = true 返回 第一个找到的节点数据 JSON,无结果时返回 null

              -

              isSingle = false 返回 节点数据集合 Array(JSON),无结果时返回 [ ]

              -
              -

              function 举例

              -

              1. 查找 level = 2 & name 中包含 "test" 的节点数据

              -
              function filter(node) {
              -    return (node.level == 2 && node.name.indexOf("test")>-1);
              -}
              -......
              -var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodesByFilter(filter, true); // 仅查找一个节点
              -var nodes = treeObj.getNodesByFilter(filter); // 查找节点集合
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByParam.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByParam.html deleted file mode 100644 index cf45939..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByParam.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              Function(key, value, parentNode)zTreeObj.getNodesByParam

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              根据节点数据的属性搜索,获取条件完全匹配的节点数据 JSON 对象集合

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              keyString

              -

              需要精确匹配的属性名称

              -

              value?

              -

              需要精确匹配的属性值,可以是任何类型,只要保证与 key 指定的属性值保持一致即可

              -

              parentNodeJSON

              -

              可以指定在某个父节点下的子节点中搜索

              -

              忽略此参数,表示在全部节点中搜索

              -

              返回值Array(JSON)

              -

              匹配精确搜索的节点数据集合

              -

              如无结果,返回 [ ]

              -
              -

              function 举例

              -

              1. 查找 name = "test" 的节点数据

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodesByParam("name", "test", null);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByParamFuzzy.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByParamFuzzy.html deleted file mode 100644 index 04d183f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getNodesByParamFuzzy.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Function(key, value, parentNode)zTreeObj.getNodesByParamFuzzy

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              根据节点数据的属性搜索,获取条件模糊匹配的节点数据 JSON 对象集合

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              keyString

              -

              需要模糊匹配的属性名称

              -

              valueString

              -

              需要模糊匹配的属性值

              -

              模糊匹配只能针对 String 类型的数据

              -

              parentNodeJSON

              -

              可以指定在某个父节点下的子节点中搜索

              -

              忽略此参数,表示在全部节点中搜索

              -

              返回值Array(JSON)

              -

              匹配模糊搜索的节点数据集合

              -

              如无结果,返回 [ ]

              -
              -

              function 举例

              -

              1. 查找 name 包含 "test" 的节点数据

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodesByParamFuzzy("name", "test", null);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getSelectedNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getSelectedNodes.html deleted file mode 100644 index ab36f8e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.getSelectedNodes.html +++ /dev/null @@ -1,23 +0,0 @@ -
              -
              -

              Function()zTreeObj.getSelectedNodes

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              获取 zTree 当前被选中的节点数据集合

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              返回值Array(JSON)

              -

              当前被选中的节点数据集合

              -
              -

              function 举例

              -

              1. 获取当前被选中的节点数据集合

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.hideNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.hideNode.html deleted file mode 100644 index a1996b8..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.hideNode.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.hideNode

              -

              概述[ 依赖 jquery.ztree.exhide 扩展 js ]

              -
              -

              -
              -

              隐藏某个节点。

              -

              1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

              -

              2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

              -

              3、请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              指定被隐藏的节点 JSON 数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 隐藏根节点第一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.hideNode(nodes[0]);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.hideNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.hideNodes.html deleted file mode 100644 index cf752b5..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.hideNodes.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNodes)zTreeObj.hideNodes

              -

              概述[ 依赖 jquery.ztree.exhide 扩展 js ]

              -
              -

              -
              -

              隐藏一批节点。

              -

              1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

              -

              2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

              -

              3、请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodesArray(JSON)

              -

              指定被隐藏的节点 JSON 数据集合

              -

              请务必保证这些节点数据对象 是 zTree 内部的数据对象

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 隐藏根节点第一个节点的子节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.hideNodes(nodes[0].children);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.moveNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.moveNode.html deleted file mode 100644 index 9c9180b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.moveNode.html +++ /dev/null @@ -1,46 +0,0 @@ -
              -
              -

              Function(targetNode, treeNode, moveType, isSilent)zTreeObj.moveNode

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              移动节点。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              targetNodeJSON

              -

              要移动到的目标节点 JSON 数据

              -

              如果移动成为根节点,请设置 targetNode 为 null 即可

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              treeNodeJSON

              -

              需要被移动的节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              moveTypeString

              -

              指定移动到目标节点的相对位置

              -

              "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

              -

              isSilentBoolean

              -

              设定移动节点后是否自动展开父节点。

              -

              isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

              -

              返回值JSON

              -

              返回值是最终被移动的节点数据,正常情况下与 treeNode 参数完全相同

              -

              如果 返回值 为 null,说明 移动失败,主要原因有:
              -  1、targetNode 是 treeNode 父节点,且 moveType = "inner"
              -  2、targetNode 是 treeNode 子孙节点 -

              -
              -

              function 举例

              -

              1. 将根节点中第二个节点 移动成为 第一个节点的子节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.moveNode(nodes[0], nodes[1], "inner");
              -
              -

              2. 将根节点中第二个节点 移动成为 第一个节点的前一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.moveNode(nodes[0], nodes[1], "prev");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.reAsyncChildNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.reAsyncChildNodes.html deleted file mode 100644 index 3ca0492..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.reAsyncChildNodes.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Function(parentNode, reloadType, isSilent, callback)zTreeObj.reAsyncChildNodes -

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              强行异步加载父节点的子节点。[setting.async.enable = true 时有效]

              -

              已经加载过的父节点可反复使用此方法重新加载。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              parentNodeJSON

              -

              指定需要异步加载的父节点 JSON 数据

              -

              1、parentNode = null 时,相当于从根节点 Root 进行异步加载

              -

              2、parentNode.isParent = false 时,不进行异步加载

              -

              3、请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              reloadTypeString

              -

              reloadType = "refresh" 表示清空后重新加载。

              -

              reloadType != "refresh" 时,表示追加子节点处理。

              -

              isSilentBoolean

              -

              设定异步加载后是否自动展开父节点。

              -

              isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

              -

              callbackfunction

              -

              刷新完成后的回调函数。

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 重新异步加载 zTree

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.reAsyncChildNodes(null, "refresh");
              -
              -

              2. 重新异步加载当前选中的第一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	treeObj.reAsyncChildNodes(nodes[0], "refresh");
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.reAsyncChildNodesPromise.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.reAsyncChildNodesPromise.html deleted file mode 100644 index b95200a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.reAsyncChildNodesPromise.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Function(parentNode, reloadType, isSilent)zTreeObj.reAsyncChildNodesPromise -

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              强行异步加载父节点的子节点(ES6 Promise 版)。[setting.async.enable = true 时有效]

              -

              已经加载过的父节点可反复使用此方法重新加载。

              -

              请通过 zTree 对象执行此方法。

              -

              v3.5.29+

              -
              -
              -

              Function 参数说明

              -
              -

              parentNodeJSON

              -

              指定需要异步加载的父节点 JSON 数据

              -

              1、parentNode = null 时,相当于从根节点 Root 进行异步加载

              -

              2、parentNode.isParent = false 时,不进行异步加载

              -

              3、请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              reloadTypeString

              -

              reloadType = "refresh" 表示清空后重新加载。

              -

              reloadType != "refresh" 时,表示追加子节点处理。

              -

              isSilentBoolean

              -

              设定异步加载后是否自动展开父节点。

              -

              isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

              -

              返回值ES6 Promise

              -

              ES6 的 Promise 对象,便于异步控制,使用时请注意浏览器兼容问题

              -
              -

              function 举例

              -

              1. 重新异步加载 zTree

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.reAsyncChildNodes(null, "refresh");
              -
              -

              2. 重新异步加载当前选中的第一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	treeObj.reAsyncChildNodes(nodes[0], "refresh");
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.refresh.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.refresh.html deleted file mode 100644 index 09a74ca..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.refresh.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Function()zTreeObj.refresh

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              刷新 zTree 。

              -

              没有特殊必要,尽量不要使用此方法。单个节点更新请使用 updateNode 方法,异步加载模式下请使用 reAsyncChildNodes 方法。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 刷新 zTree

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.refresh();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.removeChildNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.removeChildNodes.html deleted file mode 100644 index 588639f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.removeChildNodes.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Function(parentNode)zTreeObj.removeChildNodes

              -

              概述[ 依赖 jquery.ztree.core 扩展 js ]

              -
              -

              -
              -

              清空某父节点的子节点。

              -

              1、清空子节点后,父节点会自动变为叶子节点,如需要父节点保持父节点状态,请设置 setting.data.keep.parent 属性。

              -

              2、请勿用此方法清空根节点,如果需要清空根节点,直接初始化 zTree,并且设置初始节点为 null 即可。

              -

              3、此方法不会触发任何事件回调函数。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              parentNodeJSON

              -

              需要清空子节点的父节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              返回值Array(JSON)

              -

              将该父节点的子节点数据返回,如果不存在则返回 null

              -
              -

              function 举例

              -

              1. 清空选中的第一个节点的子节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes && nodes.length>0) {
              -	treeObj.removeChildNodes(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.removeNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.removeNode.html deleted file mode 100644 index 442f5c7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.removeNode.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeNode, callbackFlag)zTreeObj.removeNode

              -

              概述[ 依赖 jquery.ztree.core 扩展 js ]

              -
              -

              -
              -

              删除节点。

              -

              v3.x 中删除节点可以触发 beforeRemove / onRemove 事件回调函数。便于减少冗余代码

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              需要被删除的节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              callbackFlagBoolean

              -

              callbackFlag = true 表示执行此方法时触发 beforeRemove & onRemove 事件回调函数

              -

              callbackFlag = false 表示执行此方法时不触发事件回调函数

              -

              省略此参数,等同于 false

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 删除所有选中的节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -for (var i=0, l=nodes.length; i < l; i++) {
              -	treeObj.removeNode(nodes[i]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.selectNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.selectNode.html deleted file mode 100644 index 8d074c4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.selectNode.html +++ /dev/null @@ -1,38 +0,0 @@ -
              -
              -

              Function(treeNode, addFlag, isSilent)zTreeObj.selectNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              选中指定节点

              -

              v3.x 支持同时选中多个节点。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              需要被选中的节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              addFlagBoolean

              -

              addFlag = true 表示追加选中,会出现多点同时被选中的情况

              -

              addFlag = false (默认)表示单独选中,原先被选中的节点会被取消选中状态

              -

              setting.view.selectedMulti = false 时,此参数无效,始终进行单独选中

              -

              isSilentBoolean

              -

              isSilent = true 选中节点时,不会让节点自动滚到到可视区域内

              -

              isSilent = false (默认)表示选中节点时,会让节点自动滚到到可视区域内

              -

              (v3.5.23+)

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 单独选中根节点中第一个节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -if (nodes.length>0) {
              -	treeObj.selectNode(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setChkDisabled.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setChkDisabled.html deleted file mode 100644 index 9540080..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setChkDisabled.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Function(node, disabled, inheritParent, inheritChildren)zTreeObj.setChkDisabled

              -

              概述[ 依赖 jquery.ztree.excheck 扩展 js ]

              -
              -

              -
              -

              禁用 或 解禁 某个节点的 checkbox / radio [setting.check.enable = true 时有效]

              -

              1、节点的 checkbox / radio 被禁用后,无法勾选或取消勾选,但能够影响父节点的半选状态

              -

              2、请不要直接修改已加载节点的 treeNode.chkDisabled 属性。

              -

              3、请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              需要禁用 或 解禁 checkbox / radio 的节点数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              disabledBoolean

              -

              disabled = true 表示禁用 checkbox / radio

              -

              disabled = false 表示解禁 checkbox / radio

              -

              省略此参数,等同于 disabled = false

              -

              不影响 treeNode.nocheck = true 的节点。

              -

              inheritParentBoolean

              -

              inheritParent = true 表示全部父节点进行同样的操作

              -

              inheritParent = false 表示不影响父节点

              -

              省略此参数,等同于 inheritParent = false

              -

              inheritChildrenBoolean

              -

              inheritChildren = true 表示全部子节点进行同样的操作

              -

              inheritChildren = false 表示不影响子节点

              -

              省略此参数,等同于 inheritChildren = false

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 禁用当前选中的节点的 checkbox / radio

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -for (var i=0, l=nodes.length; i < l; i++) {
              -	treeObj.setChkDisabled(nodes[i], true);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setEditable.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setEditable.html deleted file mode 100644 index c90c8de..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setEditable.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function(editable)zTreeObj.setEditable

              -

              概述[ 依赖 jquery.ztree.exedit 扩展 js ]

              -
              -

              -
              -

              设置 zTree 进入 / 取消 编辑状态。

              -

              对于编辑状态的各种功能需要提前设置对应 setting 中的不同属性

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              editableBoolean

              -

              true 表示进入 编辑状态

              -

              false 表示取消 编辑状态

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 设置 zTree 进入编辑状态

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.setEditable(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setting.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setting.html deleted file mode 100644 index 61abd53..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.setting.html +++ /dev/null @@ -1,13 +0,0 @@ -
              -
              -

              JSONzTreeObj.setting

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              zTree 对象使用的 setting 配置数据,详细请参考 “setting 配置详解”中的各个属性详细说明

              -

              v3.x 取消了原先操作 setting 的方法,让用户可以较自由的修改参数,但请注意,对于 zTree 初始化有影响的参数后期修改是不会起作用的,请对各个属性有较深入的了解以后再考虑进行修改。

              -
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.showNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.showNode.html deleted file mode 100644 index ed22d51..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.showNode.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.showNode

              -

              概述[ 依赖 jquery.ztree.exhide 扩展 js ]

              -
              -

              -
              -

              显示某个被隐藏的节点。

              -

              1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

              -

              2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

              -

              3、请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              指定被显示的节点 JSON 数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 显示某个隐藏的节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodeByParam("isHidden", true);
              -if (node) {
              -  treeObj.showNode(node);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.showNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.showNodes.html deleted file mode 100644 index b090657..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.showNodes.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNodes)zTreeObj.showNodes

              -

              概述[ 依赖 jquery.ztree.exhide 扩展 js ]

              -
              -

              -
              -

              显示一批已经被隐藏的节点。

              -

              1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

              -

              2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

              -

              3、请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodesArray(JSON)

              -

              指定被显示的节点 JSON 数据集合

              -

              请务必保证这些节点数据对象 是 zTree 内部的数据对象

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 显示全部隐藏的节点

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodesByParam("isHidden", true);
              -treeObj.showNodes(nodes);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.transformToArray.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.transformToArray.html deleted file mode 100644 index a46dc61..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.transformToArray.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Function(treeNodes)zTreeObj.transformToArray

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              将 zTree 使用的标准 JSON 嵌套格式的数据转换为简单 Array 格式。(免去用户自行编写递归遍历全部节点的麻烦)

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodesArray(JSON) / JSON

              -

              需要被转换的 zTree 节点数据对象集合 或 某个单独节点的数据对象

              -

              返回值Array(JSON)

              -

              转换后的简单 Array 数据格式

              -
              -

              function 举例

              -

              1. 将 zTree 节点数据转换为简单 Array 格式

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.transformToArray(treeObj.getNodes());
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.transformTozTreeNodes.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.transformTozTreeNodes.html deleted file mode 100644 index 4b02650..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.transformTozTreeNodes.html +++ /dev/null @@ -1,43 +0,0 @@ -
              -
              -

              Function(simpleNodes)zTreeObj.transformTozTreeNodes

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              将简单 Array 格式数据转换为 zTree 使用的标准 JSON 嵌套数据格式。

              -

              使用此方法,请务必设置节点唯一标识属性名称 setting.data.simpleData.idKey 和 父节点唯一标识属性名称 setting.data.simpleData.pIdKey,并且让数据满足父子关系。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              simpleNodesArray(JSON) / JSON

              -

              需要被转换的简单 Array 格式数据 或 某个单独的数据对象

              -

              返回值Array(JSON)

              -

              zTree 使用的标准数据,子节点都存在于父节点数据的 children 属性中

              -

              如果 simpleNodes 是一个 JSON 对象,则被简单封装成长度为 1 的数组。

              -
              -

              function 举例

              -

              1. 将简单 Array 格式转换为zTree使用的标准格式

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var simpleNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.transformTozTreeNodes(simpleNodes);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.updateNode.html b/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.updateNode.html deleted file mode 100644 index e13419c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/cn/zTreeObj.updateNode.html +++ /dev/null @@ -1,37 +0,0 @@ -
              -
              -

              Function(treeNode, checkTypeFlag)zTreeObj.updateNode

              -

              概述[ 依赖 jquery.ztree.core 核心 js ]

              -
              -

              -
              -

              更新某节点数据,主要用于该节点显示属性的更新。

              -

              1、可针对 name、target、 url、icon、 iconSkin、checked、nocheck 等这几个用于显示效果的参数进行更新,其他用于 zTreeNodes 的参数请不要随意更新,对于展开节点,还请调用 expandNode方法,因此请勿随意修改 open 属性。

              -

              2、用此方法修改 checked 勾选状态不会触发 beforeCheck / onCheck 事件回调函数。

              -

              请通过 zTree 对象执行此方法。

              -
              -
              -

              Function 参数说明

              -
              -

              treeNodeJSON

              -

              指定需要更新的节点 JSON 数据

              -

              请务必保证此节点数据对象 是 zTree 内部的数据对象

              -

              checkTypeFlagBoolean

              -

              checkTypeFlag = true 表示按照 setting.check.chkboxType 属性进行父子节点的勾选联动操作

              -

              checkTypeFlag = false 表示只修改此节点勾选状态,无任何勾选联动操作

              -

              当 setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时才有效

              -

              不影响父子节点中 treeNode.nocheck = true 的节点。

              -

              返回值

              -

              目前无任何返回值

              -
              -

              function 举例

              -

              1. 更新根节点中第一个节点的名称

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -if (nodes.length>0) {
              -	nodes[0].name = "test";
              -	treeObj.updateNode(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree._z.html b/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree._z.html deleted file mode 100644 index e2ae61d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree._z.html +++ /dev/null @@ -1,15 +0,0 @@ -
              -
              -

              JSON$.fn.zTree._z

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              All of the internal methods in zTree v3.x are available through '$. fn.zTree._z', - use this if you want to develop your own zTree plug-ins.

              -

              Unless you are writing a plugin, - you should not use this object.

              -
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.destroy.html b/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.destroy.html deleted file mode 100644 index c53cb80..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.destroy.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeId)$.fn.zTree.destroy

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              From zTree v3.4, zTree provides a method for destruction.

              -

              1. This method can destroy a zTree by treeId, or destroy all zTree instances.

              -

              2. If you want to destroy a zTree, you can use the 'zTreeObj.destroy()' method.

              -

              3. If you want to re-use the tree which has been destroyed, - you must first re-initialise it with the 'init()' method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier

              -

              If this parameter is omitted, all zTree instances will be destroyed.

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. Destroy the zTree with id === 'treeDemo'

              -
              $.fn.zTree.destroy("treeDemo");
              -

              2. Destroy all zTree instances

              -
              $.fn.zTree.destroy();
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.getZTreeObj.html b/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.getZTreeObj.html deleted file mode 100644 index 49dadaa..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.getZTreeObj.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function(treeId)$.fn.zTree.getZTreeObj

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              zTree v3.x provides this method to get zTree object from the tree's Id.

              -

              Please initialize zTree first, then you can use this method.

              -

              Users don't need to use a global variable to reference the zTree object, - as all of the callback methods will pass 'treeId' parameters, - and you can always call this method to get the zTree object.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier

              -

              Return JSON

              -

              zTree object

              -

              This is a reference to the zTree object.

              -
              -

              Examples of function

              -

              1. Get the zTree object with id='tree'

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.init.html b/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.init.html deleted file mode 100644 index 413056c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/fn.zTree.init.html +++ /dev/null @@ -1,81 +0,0 @@ -
              -
              -

              Function(obj, zSetting, zNodes)$.fn.zTree.init

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              This method is used to create a zTree.

              -

              1. The web page must use the W3C DTD. For example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

              -

              2. Needs jquery-1.4.2.js or better.

              -

              3. Needs jquery-ztree.core-3.0.js or better. - If you are using edit mode or checkbox / radio mode, - make sure you load jquery-ztree.exedit-3.0.js and jquery-ztree.excheck-3.0.js.

              -

              4. Needs zTreeStyle.css and image files

              -

              5. If you plan to use custom icons, please refer to the Demo, - or see the help on iconSkin.

              -

              6. Note: You need to set zTree container's class name to "ztree". - If you need to change it, don't forget to modify the css file. - If you need other special styles, you can modify the css file.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              objectjQuery Object

              -

              DOM Container for zTree

              -

              zSettingJSON

              -

              zTree's configuration data, please refer to "setting details" in the API Document.

              -

              zNodesArray(JSON) / JSON

              -

              zTree's node data, please refer to "treeNode data details" in the API Document.

              -

              1. zTree v3.x support to add single node, that is, if only to add one node, - you can use JSON without using Array.

              -

              2. If you are planning on using asynchronous loading of root nodes, set it to null or [ ]

              -

              3. If you are using simple data mode, please refer to "setting.data.simpleData" in the API Document.

              -

              Return JSON

              -

              zTree object

              -

              This object can provide the methods of operate the zTree

              -

              You can use $.fn.zTree.getZTreeObj method at any time to obtain.

              -
              -

              Examples of setting & function

              -

              1. create a simple tree

              -
              <!DOCTYPE html>
              -<HTML>
              - <HEAD>
              -  <TITLE> ZTREE DEMO </TITLE>
              -  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
              -  <link rel="stylesheet" href="zTreeStyle/zTreeStyle.css" type="text/css">
              -  <script type="text/javascript" src="jquery-1.4.2.js"></script>
              -  <script type="text/javascript" src="jquery.ztree.core.js"></script>
              -<!--
              -  <script type="text/javascript" src="jquery.ztree.excheck.js"></script>
              -  <script type="text/javascript" src="jquery.ztree.exedit.js"></script>
              --->
              -  <SCRIPT type="text/javascript" >
              -	var zTreeObj,
              -	setting = {
              -		view: {
              -			selectedMulti: false
              -		}
              -	},
              -	zTreeNodes = [
              -		{"name":"Site Map", open:true, children: [
              -			{ "name":"google", "url":"http://www.google.com", "target":"_blank"},
              -			{ "name":"baidu", "url":"http://baidu.com", "target":"_blank"},
              -			{ "name":"sina", "url":"http://www.sina.com.cn", "target":"_blank"}
              -			]
              -		}
              -	];
              -
              -	$(document).ready(function(){
              -		zTreeObj = $.fn.zTree.init($("#tree"), setting, zTreeNodes);
              -
              -	});
              -  </SCRIPT>
              - </HEAD>
              -
              -<BODY>
              -<ul id="tree" class="ztree" style="width:230px; overflow:auto;"></ul>
              - </BODY>
              -</HTML>
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.autoParam.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.autoParam.html deleted file mode 100644 index 6c4cbe0..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.autoParam.html +++ /dev/null @@ -1,52 +0,0 @@ -
              -
              -

              Array(String) / Function(treeId, treeNode)setting.async.autoParam

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              During asynchronous loading, a request is sent to the server, which contains the identify of the parent node, - so it can retrieve the children. - This attribute is an array of strings, which is the identity parameter (or parameters). - It applies when [setting.async.enable = true]

              -

              Default:[ ]

              -
              -
              -

              Array(String) Format

              -
              -

              1. Put the attribute name(s) of node to the array. For example: ["id", "name"]

              -

              2. You can rename the parameter name as sent to the server. For example: server only accepts "zId" -- ["id=zId"]

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              Parent node's JSON data object

              -

              When asynchronously loading the root, the treeNode = null

              -

              Return Array(String)

              -

              Return value is same as 'Array(String) Format'

              -
              -

              Examples of setting

              -

              1. set auto commit 'id' attribute

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		autoParam: ["id"]
              -	}
              -};
              -If we have a parent node: {id:1, name:"test"}, When we are asynchronously loading this parent node's children, it will be submitted to the server with parameters: id=1
              -......
              -

              2. set auto commit 'id' attribute, but the parameter name expected by the server is 'zId'

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		autoParam: ["id=zId"]
              -	}
              -};
              -If we have a parent node: {id:1, name:"test"}, When we are asynchronously loading this parent node's children, it will be submitted to the server with parameters: zId=1
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.contentType.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.contentType.html deleted file mode 100644 index c9e1509..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.contentType.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Stringsetting.async.contentType

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              When Ajax sends data to the server, it uses this content-type. - It is used when [setting.async.enable = true]

              -

              Default:"application/x-www-form-urlencoded"

              -
              -
              -

              String Format

              -
              -

              contentType = "application/x-www-form-urlencoded", means: the sending data format is "form" format.

              -

              contentType = "application/json", means: the sending data format is "json" format. (for .Net)

              -
              -

              Examples of setting

              -

              1. set the sending data format to "json" format.

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		contentType: "application/json",
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.dataFilter.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.dataFilter.html deleted file mode 100644 index 4347a08..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.dataFilter.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Function(treeId, parentNode, responseData)setting.async.dataFilter

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Callback function to pre-process Ajax return data. It is valid when [setting.async.enable = true]

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId

              -

              parentNodeJSON

              -

              Parent node's JSON data object

              -

              When asynchronously loading the root, the parentNode = null

              -

              responseDataArray(JSON) / JSON / String

              -

              Array (JSON) / JSON / String data objects

              -

              From v3.4, support XML strings.

              -

              Return Array(JSON) / JSON

              -

              The return value should be the JSON data structure which is supported by the zTree.

              -

              v3.x supports to load single node JSON data object.

              -
              -

              Examples of setting & function

              -

              1. Modify the node name attributes returned by an Ajax request.

              -
              function ajaxDataFilter(treeId, parentNode, responseData) {
              -    if (responseData) {
              -      for(var i =0; i < responseData.length; i++) {
              -        responseData[i].name += "_filter";
              -      }
              -    }
              -    return responseData;
              -};
              -var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		dataFilter: ajaxDataFilter
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.dataType.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.dataType.html deleted file mode 100644 index 41db300..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.dataType.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Stringsetting.async.dataType

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The data type of Ajax requests. It is valid when [setting.async.enable = true]

              -

              Default:"text"

              -
              -
              -

              String Format

              -
              -

              dataType = "text", There is probably no need to change this.

              -

              The 'dataType' in zTree and jQuery's ajax requests is same.

              -
              -

              Examples of setting

              -

              1. Set the dataType which ajax retrieves to "text".

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		dataType: "text",
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.enable.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.enable.html deleted file mode 100644 index c284476..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.enable.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Booleansetting.async.enable

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set zTree asynchronous loading mode on/off.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true - turn on asynchronous loading mode

              -

              false - turn off asynchronous loading mode

              -

              If set it is true, you must set other attributes in setting.async

              -

              If you don't pass the 'treeNodes' parameter when you initialize zTree, the root nodes will be retrieved using ajax.

              -
              -

              Examples of setting

              -

              1. Turn on asynchronous loading mode

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.headers.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.headers.html deleted file mode 100644 index e719583..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.headers.html +++ /dev/null @@ -1,18 +0,0 @@ -
              -
              -

              Objectsetting.async.headers

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              It is valid when [setting.async.enable = true]

              -

              Default:"{}"

              -

              v3.5.36+

              -
              -
              -

              String Format

              -
              -

              The 'headers' in zTree and jQuery's ajax requests is same.

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.otherParam.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.otherParam.html deleted file mode 100644 index cf8faa3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.otherParam.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              Array(String) / JSON / Function(treeId, treeNode)setting.async.otherParam

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The query parameters of the Ajax request. (key - value) It is valid when [setting.async.enable = true]

              -

              Default: [ ]

              -
              -
              -

              Array(String) Format

              -
              -

              Can be an empty array. e.g. [ ]. The array should contain key value pairs, e.g. [key, value]. (Either or [key] or [key, value, key] is wrong!!)

              -
              -

              JSON Format

              -
              -

              Use JSON hash data to set the key-value pairs. e.g. { key1:value1, key2:value2 }

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              Parent node's JSON data object

              -

              When asynchronously loading the root, the treeNode = null

              -

              Return Array(String) || JSON

              -

              Return value is same as 'Array(String) || JSON Format'

              -
              -

              Examples of setting

              -

              1. Using Array(String) Format

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		otherParam: ["id", "1", "name", "test"]
              -	}
              -};
              -when zTree sends the ajax request, the query string will be like this: id=1&name=test
              -

              2. Using JSON data Format

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "http://host/getNode.php",
              -		otherParam: { "id":"1", "name":"test"}
              -	}
              -};
              -when zTree sends the ajax request, the query string will be like this: id=1&name=test
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.type.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.type.html deleted file mode 100644 index c67599a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.type.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Stringsetting.async.type

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Http request tyoe in ajax. It is valid when [setting.async.enable = true]

              -

              Default: "post"

              -
              -
              -

              String Format

              -
              -

              "post" - http request mode

              -

              "get" - http request mode

              -

              Both zTree and jQuery's this 'type' for ajax requests.

              -
              -

              Examples of setting

              -

              1. Set http request mode is 'get'

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		type: "get",
              -		url: "http://host/getNode.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.url.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.url.html deleted file mode 100644 index 2384c08..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.url.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              String / Function(treeId, treeNode)setting.async.url

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The URL to which the ajax request is sent. It is valid when [setting.async.enable = true]

              -

              Default: ""

              -
              -
              -

              String Format

              -
              -

              A url string(e.g. "http://www.domain.com/cgi-bin/my-script.cgi"). Note: please check that the url can be loaded with a browser

              -

              Url can also take parameters, please note that they need to be urlencoded.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              Parent node's JSON data object

              -

              When asynchronously loading the root, the treeNode = null

              -

              Return String

              -

              Return value is same as 'String Format'

              -
              -

              Examples of setting & function

              -

              1. set ajax url is "nodes.php"

              -
              var setting = {
              -	async: {
              -		enable: true,
              -		url: "nodes.php",
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -

              2. set ajax url is "function"

              -
              function getAsyncUrl(treeId, treeNode) {
              -    return treeNode.isParent ? "nodes1.php" : "nodes2.php";
              -};
              -var setting = {
              -	async: {
              -		enable: true,
              -		url: getAsyncUrl,
              -		autoParam: ["id", "name"]
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.xhrFields.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.xhrFields.html deleted file mode 100644 index d1588cf..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.async.xhrFields.html +++ /dev/null @@ -1,18 +0,0 @@ -
              -
              -

              Objectsetting.async.xhrFields

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              It is valid when [setting.async.enable = true]

              -

              Default:"{}"

              -

              v3.5.36+

              -
              -
              -

              String Format

              -
              -

              The 'xhrFields' in zTree and jQuery's ajax requests is same.

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeAsync.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeAsync.html deleted file mode 100644 index 55f52ee..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeAsync.html +++ /dev/null @@ -1,36 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeAsync

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              This callback is made before zTree makes an ajax request, giving you an opportunity to decide if it should proceed or not. - Return false to prevent zTree from sending the ajax request.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the parent node

              -

              When asynchronously loading the root, treeNode = null

              -

              Return Boolean

              -

              return true or false

              -

              If the function returns false, zTree will not send the ajax request, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.

              -
              -

              Examples of setting & function

              -

              1. If the parent node's attribute 'id' is 1, don't send the ajax request.

              -
              function myBeforeCallBack(treeId, treeNode) {
              -    return (treeNode.id !== 1);
              -};
              -var setting = {
              -	callback: {
              -		beforeAsync: myBeforeCallBack
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeCheck.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeCheck.html deleted file mode 100644 index b2d71e5..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeCheck.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeCheck

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Callback before checking or unchecking a node, A false return value from the callback will prevent any change in the checked state.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is checked or unchecked

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not change the checkbox state, and will not trigger the 'onCheck' callback.

              -
              -

              Examples of setting & function

              -

              1. This example returns false, preventing all checkboxes in the tree from toggling.

              -
              function myBeforeCheckCallBack(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeCheck: myBeforeCheckCallBack
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeClick.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeClick.html deleted file mode 100644 index 250416b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeClick.html +++ /dev/null @@ -1,49 +0,0 @@ -
              -
              -

              Function(treeId, treeNode, clickFlag)setting.callback.beforeClick

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Before click callback, return false to prevent the 'onClick' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is clicked

              -

              clickFlagNumber

              -

              Node is selected or deselected state, please see table below for details

              - - - - - - - - - - - - -
              clickFlagselectedMultiautoCancelSelected
              &&
              event.ctrlKey / metaKey
              isSelectedoperate for selected
              1truefalsefalsenode is selected (single)
              1truefalsetruenode is selected (single)
              2truetruefalsenode is selected (multi)
              0truetruetruenode is deselected
              1falsefalsefalsenode is selected (single)
              1falsefalsetruenode is selected (single)
              1falsetruefalsenode is selected (single)
              0falsetruetruenode is deselected
              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not change selected state, and will not trigger the 'onClick' callback.

              -
              -

              Examples of setting & function

              -

              1. disabled to click the node

              -
              function myBeforeClick(treeId, treeNode, clickFlag) {
              -    return (treeNode.id !== 1);
              -};
              -var setting = {
              -	callback: {
              -		beforeClick: myBeforeClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeCollapse.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeCollapse.html deleted file mode 100644 index 950b728..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeCollapse.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeCollapse

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Specify callback function to be called before collapse node, The return value controls the collapse node.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node to be collapsed

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not collapse node, and will not trigger the 'onCollapse' callback.

              -
              -

              Examples of setting & function

              -

              1. disabled to collapse node which is expanded

              -
              function myBeforeCollapse(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeCollapse: myBeforeCollapse
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDblClick.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDblClick.html deleted file mode 100644 index 3d4ead1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDblClick.html +++ /dev/null @@ -1,36 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeDblClick

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Specify callback function, executed before the 'onDblClick' callback, The return value controls the 'onDblClick' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is double clicked

              -

              If the DOM which dblclicked isn't a node, it will return null.

              -

              Return Boolean

              -

              return true or false

              -

              If return false, ztree will not trigger the 'onDblClick' callback, no effect on other operations.

              -

              This callback function does not affect the auto expand of the parent node , please refer to setting.view.dblClickExpand properties.

              -
              -

              Examples of setting & function

              -

              1. disable to trigger the 'onDblClick' callback

              -
              function myBeforeDblClick(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeDblClick: myBeforeDblClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDrag.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDrag.html deleted file mode 100644 index fca278d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDrag.html +++ /dev/null @@ -1,39 +0,0 @@ -
              -
              -

              Function(treeId, treeNodes)setting.callback.beforeDrag

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Specify callback function to be called before the drag node callback, The return value controls whether the drag node callback will execute.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId, the id of the containing tree.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes being dragged

              -

              v3.x allows the drag and drop of multiple sibling nodes, so this parameter's type is changed to Array(JSON).

              -

              If the selected nodes aren't sibling nodes, you can only drag one node.

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will abort the drag and drop, and will not trigger the 'onDrag / beforeDrop / onDrop' sequence of callbacks.

              -
              -

              Examples of setting & function

              -

              1. disable drag completely (by returning false)

              -
              function myBeforeDrag(treeId, treeNodes) {
              -    return false;
              -};
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeDrag: myBeforeDrag
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDragOpen.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDragOpen.html deleted file mode 100644 index d28bafe..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDragOpen.html +++ /dev/null @@ -1,37 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeDragOpen

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Callback executed before drag node to collapsed parent node, The return value controls the auto expand behaviour of the parent node.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId, the tree is what the treeNode(parent node) is belong to.

              -

              treeNodeJSON

              -

              JSON data object of the parent node which will be auto expanded

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not auto expand parent node.

              -
              -

              Examples of setting & function

              -

              1. disable to auto expand parent node.

              -
              function myBeforeDragOpen(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeDragOpen: myBeforeDragOpen
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDrop.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDrop.html deleted file mode 100644 index 9b24475..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeDrop.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              Function(treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.beforeDrop

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Specify callback function to be called before drag-drop of a node, The return value controls the execution of drag-drop callback.

              -

              Default: null

              -

              When a node is dropped, if the drop is not in a valid location, this callback will not be triggered, and will revert to the original position.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId, the id of the containing tree.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes which has been dragged

              -

              The treeNodes which have been dragged, when copying nodes or moving nodes.

              -

              targetNodeJSON

              -

              JSON data object of the destination node on which treeNodes are being dropped.

              -

              If the treeNodes is the root node, the targetNode = null

              -

              moveTypeString

              -

              the relative position of move to the target node

              -

              "inner": will be child of targetNode

              -

              "prev": will be sibling node, and be in front of targetNode

              -

              "next": will be sibling node, and be behind targetNode

              -

              isCopyBoolean

              -

              the flag used to determine if the drop is to copy or move the node

              -

              true: copy node; false: move node

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will restore the dragged nodes, and will not trigger the 'onDrop' callback.

              -
              -

              Examples of setting & function

              -

              1. disable to drag nodes to root

              -
              function myBeforeDrop(treeId, treeNodes, targetNode, moveType) {
              -    return !(targetNode == null || (moveType != "inner" && !targetNode.parentTId));
              -};
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeDrop: myBeforeDrop
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeEditName.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeEditName.html deleted file mode 100644 index a820080..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeEditName.html +++ /dev/null @@ -1,38 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeEditName

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Specify callback function to be called before click edit button, The return value controls the editing of the name.

              -

              This callback is fired when the edit button is clicked, to control the custom editing operation.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node to be edited.

              -

              Return Boolean

              -

              return true or false

              -

              If return false, allow editing of the name.

              -
              -

              Examples of setting & function

              -

              1. disable editing of any parent node's name

              -
              function myBeforeEditName(treeId, treeNode) {
              -	return !treeNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeEditName: myBeforeEditName
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeExpand.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeExpand.html deleted file mode 100644 index 8b0a6e7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeExpand.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeExpand

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Specify callback function to be called before expanding a node, The return value controls the expand node callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node to be expanded

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not expand node, and will not trigger the 'onExpand' callback.

              -
              -

              Examples of setting & function

              -

              1. disables expanding of all nodes

              -
              function myBeforeExpand(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeExpand: myBeforeExpand
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeMouseDown.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeMouseDown.html deleted file mode 100644 index d27f431..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeMouseDown.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeMouseDown

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Specify callback function, executed before the 'onMouseDown' callback, The return value controls the 'onMouseDown' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which mouse over

              -

              If the DOM which mouse over isn't a node, it will return null.

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not trigger the 'onMouseDown' callback, no effect on other operations.

              -
              -

              Examples of setting & function

              -

              1. disable to trigger the 'onMouseDown' callback

              -
              function myBeforeMouseDown(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeMouseDown: myBeforeMouseDown
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeMouseUp.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeMouseUp.html deleted file mode 100644 index e7d10de..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeMouseUp.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeMouseUp

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Specify callback function, executed before the 'onMouseUp' callback, The return value controls the 'onMouseUp' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which mouse over

              -

              If the DOM which mouse over isn't a node, it will return null.

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not trigger the 'onMouseUp' callback, no effect on other operations.

              -
              -

              Examples of setting & function

              -

              1. disable to trigger the 'onMouseUp' callback

              -
              function myBeforeMouseUp(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeMouseUp: myBeforeMouseUp
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRemove.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRemove.html deleted file mode 100644 index 0e155d4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRemove.html +++ /dev/null @@ -1,37 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeRemove

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Specify callback function to be called before remove node, The return value controls the allow to remove node.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node to be removed.

              -

              Return Boolean

              -

              return true or false

              -

              If return false, zTree will not remove node, and will not trigger the 'onRemove' callback.

              -
              -

              Examples of setting & function

              -

              1. disable to remove node

              -
              function myBeforeRemove(treeId, treeNode) {
              -	return false;
              -}
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeRemove: myBeforeRemove
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRename.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRename.html deleted file mode 100644 index bfed144..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRename.html +++ /dev/null @@ -1,46 +0,0 @@ -
              -
              -

              Function(treeId, treeNode, newName, isCancel)setting.callback.beforeRename

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Specify callback function to be called before rename(when input DOM blur or press Enter Key), The return value controls the allow to rename node.

              -

              When node is editing name, press the ESC key to restore the original name and stop edit name.

              -

              From v3.5.13, zTree will trigger this callback when user cancel edit name. please see 'isCancel' parameter.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node to be rename.

              -

              newNameString

              -

              the new name

              -

              isCancelBoolean

              -

              the status about cancel edit name (v3.5.13+)

              -

              isCancel = true means: user cancel edit name. (press ESC or use cancelEditName() function)

              -

              isCancel = false means: user submit edit name.

              -

              Return Boolean

              -

              return true or false

              -

              If return false, the treeNode will keep the editing name, don't trigger the 'onRename' callback, and will ignore other enents, until the callback return true.

              -

              If returns false, zTree will not set the input box to get focus to avoid the warning message which led to repeated triggering ‘beforeRename’ callback. Please use editName() method to set the input box to get focus when user close the warning message.

              -
              -

              Examples of setting & function

              -

              1. the length of the new name can't less than 5

              -
              function myBeforeRename(treeId, treeNode, newName, isCancel) {
              -	return newName.length > 5;
              -}
              -var setting = {
              -	edit: {
              -		enable: true
              -	},
              -	callback: {
              -		beforeRename: myBeforeRename
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRightClick.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRightClick.html deleted file mode 100644 index 9d05a0b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.beforeRightClick.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.callback.beforeRightClick

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to capture the right click event before the 'onRightClick' callback, The return value controls the 'onRightClick' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is mouse right clicked

              -

              If the DOM which mouse right clicked isn't a node, it will return null.

              -

              ReturnBoolean

              -

              return true or false

              -

              If return false, ztree will not trigger the 'onRightClick' callback, no effect on other operations.

              -
              -

              Examples of setting & function

              -

              1. disable to trigger the 'onRightClick' callback

              -
              function myBeforeRightClick(treeId, treeNode) {
              -    return false;
              -};
              -var setting = {
              -	callback: {
              -		beforeRightClick: myBeforeRightClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onAsyncError.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onAsyncError.html deleted file mode 100644 index 239f3ff..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onAsyncError.html +++ /dev/null @@ -1,42 +0,0 @@ -
              -
              -

              setting.callback.onAsyncError

              -

              Function(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) 

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to capture the error event when execute ajax.

              -

              If you set 'setting.callback.beforeAsync',and return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the parent node

              -

              When load root nodes, treeNode = null

              -

              XMLHttpRequestString

              -

              XMLHttpRequest Object, please refer to JQuery API documentation.

              -

              textStatusString

              -

              a string categorizing the status of the request("success", "error"...), please refer to JQuery API documentation.

              -

              errorThrownString

              -

              eWhen an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, please refer to JQuery API documentation.

              -
              -

              Examples of setting & function

              -

              1. When execute ajax make error, alert message.

              -
              function myOnAsyncError(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) {
              -    alert(XMLHttpRequest);
              -};
              -var setting = {
              -	callback: {
              -		onAsyncError: myOnAsyncError
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onAsyncSuccess.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onAsyncSuccess.html deleted file mode 100644 index b8deca5..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onAsyncSuccess.html +++ /dev/null @@ -1,38 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode, msg)setting.callback.onAsyncSuccess

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to capture the complete success event when execute ajax.

              -

              If you set 'setting.callback.beforeAsync',and return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the parent node

              -

              When load root nodes, treeNode = null

              -

              msgString / Object

              -

              The actualnode data which got by ajax. User-friendly debugging.

              -

              The actual data's type of msg is affected by 'setting.async.dataType', please refer to JQuery API documentation.

              -
              -

              Examples of setting & function

              -

              1. When execute ajax complete success, alert message.

              -
              function myOnAsyncSuccess(event, treeId, treeNode, msg) {
              -    alert(msg);
              -};
              -var setting = {
              -	callback: {
              -		onAsyncSuccess: myOnAsyncSuccess
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onCheck.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onCheck.html deleted file mode 100644 index eadfadc..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onCheck.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onCheck

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Used to capture the check or uncheck event when check or uncheck the checkbox and radio.

              -

              If you set 'setting.callback.beforeCheck',and return false, zTree will not change check state, and will not trigger the 'onCheck' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is checked or unchecked

              -
              -

              Examples of setting & function

              -

              1. When check or uncheck the checkbox and radio, alert info about 'tId' and 'name' and 'checked'.

              -
              function myOnCheck(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name + "," + treeNode.checked);
              -};
              -var setting = {
              -	callback: {
              -		onCheck: myOnCheck
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onClick.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onClick.html deleted file mode 100644 index 537dbe0..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onClick.html +++ /dev/null @@ -1,49 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode, clickFlag)setting.callback.onClick

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to capture the click event when click node.

              -

              If you set 'setting.callback.beforeClick',and return false, zTree will not change selected state, and will not trigger the 'onClick' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is clicked

              -

              clickFlagNumber

              -

              Node is selected or deselected state, please see table below for details

              - - - - - - - - - - - - -
              clickFlagselectedMultiautoCancelSelected
              &&
              event.ctrlKey / metaKey
              isSelectedoperate for selected
              1truefalsefalsenode is selected (single)
              1truefalsetruenode is selected (single)
              2truetruefalsenode is selected (multi)
              0truetruetruenode is deselected
              1falsefalsefalsenode is selected (single)
              1falsefalsetruenode is selected (single)
              1falsetruefalsenode is selected (single)
              0falsetruetruenode is deselected
              -
              -

              Examples of setting & function

              -

              1. When click node, alert info about 'tId' and 'name'.

              -
              function myOnClick(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onClick: myOnClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onCollapse.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onCollapse.html deleted file mode 100644 index d62f3fe..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onCollapse.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onCollapse

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Callback for collapse node.

              -

              If you set 'setting.callback.beforeCollapse',and return false, zTree will not collapse node, and will not trigger the 'onCollapse' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node to be collapsed

              -
              -

              Examples of setting & function

              -

              1. When collapse node, alert info about 'tId' and 'name'.

              -
              function myOnCollapse(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onCollapse: myOnCollapse
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDblClick.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDblClick.html deleted file mode 100644 index d59602c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDblClick.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onDblClick

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to capture the dblclick event when double click node.

              -

              If you set 'setting.callback.beforeDblClick',and return false, zTree will not trigger the 'onDblClick' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is double clicked

              -

              If the DOM which dblclicked isn't a node, it will return null.

              -
              -

              Examples of setting & function

              -

              1. When double click node, alert info about 'tId' and 'name'.

              -
              function myOnDblClick(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onDblClick: myOnDblClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDrag.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDrag.html deleted file mode 100644 index 7c975bc..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDrag.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNodes)setting.callback.onDrag

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Used to capture the drag event when drag node.

              -

              If you set 'setting.callback.beforeDrag',and return false, zTree will stop drag, and will not trigger the 'onDragMove' & 'onDrag' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId, the id of the containing tree.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes which will be dragged

              -
              -

              Examples of setting & function

              -

              1. When drag nodes, alert the number of dragged nodes.

              -
              function myOnDrag(event, treeId, treeNodes) {
              -    alert(treeNodes.length);
              -};
              -var setting = {
              -	callback: {
              -		onDrag: myOnDrag
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDragMove.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDragMove.html deleted file mode 100644 index b8596b9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDragMove.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNodes)setting.callback.onDragMove

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Used to capture the drag-move event when drag & drop node.

              -

              Mainly used to capture the DOM which the nodes was drag in.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId, the id of the containing tree.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes which will be dragged

              -
              -

              Examples of setting & function

              -

              1. When drag nodes, output the target dom.

              -
              function myOnDragMove(event, treeId, treeNodes) {
              -	console.log(event.target);
              -};
              -var setting = {
              -	callback: {
              -		onDragMove: myOnDragMove
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDrop.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDrop.html deleted file mode 100644 index 475526d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onDrop.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.onDrop

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Used to capture the drop event when drag-drop node.

              -

              If you set 'setting.callback.beforeDrop',and return false, zTree will restore the dragged nodes, and will not trigger the 'onDrop' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId, the id of the containing tree.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes which has been dragged

              -

              The treeNodes are the data of the nodes which be dragged, when move nodes.

              -

              The treeNodes are the clone data of the nodes which be dragged, when copy nodes.

              -

              targetNodeJSON

              -

              JSON data object of the target node which treeNodes are drag-dropped.

              -

              If the treeNodes will be root node, the targetNode = null

              -

              moveTypeString

              -

              the relative position of move to the target node

              -

              "inner": will be child of targetNode

              -

              "prev": will be sibling node, and be in front of targetNode

              -

              "next": will be sibling node, and be behind targetNode

              -

              If moveType is null, means drag & drop is cancel.

              -

              isCopyBoolean

              -

              the flag used to judge copy node or move node

              -

              true: copy node; false: move node

              -
              -

              Examples of setting & function

              -

              1. When drag-drop nodes complete, alert the number of dragged nodes and info about targetNode.

              -
              function myOnDrop(event, treeId, treeNodes, targetNode, moveType) {
              -    alert(treeNodes.length + "," + (targetNode ? (targetNode.tId + ", " + targetNode.name) : "isRoot" ));
              -};
              -var setting = {
              -	callback: {
              -		onDrop: myOnDrop
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onExpand.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onExpand.html deleted file mode 100644 index 70024fe..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onExpand.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onExpand

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Callback for expand node.

              -

              If you set 'setting.callback.beforeExpand',and return false, zTree will not expand node, and will not trigger the 'onExpand' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node to be expanded

              -
              -

              Examples of setting & function

              -

              1. When expand node, alert info about 'tId' and 'name'.

              -
              function myOnExpand(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onExpand: myOnExpand
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onMouseDown.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onMouseDown.html deleted file mode 100644 index 255469f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onMouseDown.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onMouseDown

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Callback for mouse down.

              -

              If you set 'setting.callback.beforeMouseDown',and return false, zTree will not trigger the 'onMouseDown' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which mouse over

              -

              If the DOM which mouse over isn't a node, it will return null.

              -
              -

              Examples of setting & function

              -

              1. When mouse down, alert info about 'tId' and 'name'.

              -
              function myOnMouseDown(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onMouseDown: myOnMouseDown
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onMouseUp.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onMouseUp.html deleted file mode 100644 index 84e06a9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onMouseUp.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onMouseUp

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Callback for mouse up.

              -

              If you set 'setting.callback.beforeMouseUp',and return false, zTree will not trigger the 'onMouseUp' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which mouse over

              -

              If the DOM which mouse over isn't a node, it will return null.

              -
              -

              Examples of setting & function

              -

              1. When mouse up, alert info about 'tId' and 'name'.

              -
              function myOnMouseUp(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onMouseUp: myOnMouseUp
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onNodeCreated.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onNodeCreated.html deleted file mode 100644 index 4e5c8ae..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onNodeCreated.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onNodeCreated

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Callback for node's DOM is created.

              -

              Because v3.x uses lazy loading technology, so the nodes which doesn't create DOM when initialized will not trigger this callback, until its parent node is expanded.

              -

              Large amount of data to load, please note: do not set onNodeCreated, can improve performance as when initialized.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which DOM is created

              -
              -

              Examples of setting & function

              -

              1. When node's DOM is created, alert info about 'tId' and 'name'.

              -
              function myOnNodeCreated(event, treeId, treeNode) {
              -    alert(treeNode.tId + ", " + treeNode.name);
              -};
              -var setting = {
              -	callback: {
              -		onNodeCreated: myOnNodeCreated
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRemove.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRemove.html deleted file mode 100644 index 37ed1f7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRemove.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onRemove

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Callback for remove node.

              -

              If you set 'setting.callback.beforeRemove',and return false, zTree will not remove node, and will not trigger the 'onRemove' callback.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which was removed.

              -
              -

              Examples of setting & function

              -

              1. When remove node, alert info about 'tId' and 'name'.

              -
              function myOnRemove(event, treeId, treeNode) {
              -	alert(treeNode.tId + ", " + treeNode.name);
              -}
              -var setting = {
              -	callback: {
              -		onRemove: myOnRemove
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRename.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRename.html deleted file mode 100644 index c83206f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRename.html +++ /dev/null @@ -1,40 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode, isCancel)setting.callback.onRename

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Callback for remove node.

              -

              1. If you set 'setting.callback.beforeRename',and return false, zTree will keep the editing name, and will not trigger the 'onRename' callback.

              -

              2. If you modify treeNode data, and use 'updateNode' function, zTree will not trigger the 'onRename' callback.

              -

              3. From v3.5.13, zTree will trigger this callback when user cancel edit name. please see 'isCancel' parameter.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which was rename.

              -

              isCancelBoolean

              -

              the status about cancel edit name (v3.5.13+)

              -

              isCancel = true means: user cancel edit name. (press ESC or use cancelEditName() function)

              -

              isCancel = false means: user submit edit name.

              -
              -

              Examples of setting & function

              -

              1. When rename node, alert info about 'tId' and 'name'.

              -
              function myOnRename(event, treeId, treeNode, isCancel) {
              -	alert(treeNode.tId + ", " + treeNode.name);
              -}
              -var setting = {
              -	callback: {
              -		onRename: myOnRename
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRightClick.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRightClick.html deleted file mode 100644 index 110c952..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.callback.onRightClick.html +++ /dev/null @@ -1,36 +0,0 @@ -
              -
              -

              Function(event, treeId, treeNode)setting.callback.onRightClick

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Callback for mouse right click node.

              -

              If you set 'setting.callback.beforeRightClick',and return false, zTree will not trigger the 'onRightClick' callback.

              -

              If you set 'setting.callback.onRightClick', zTree will shield the browser context menu when mouse right click on zTree.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              eventjs event Object

              -

              event Object

              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which is mouse right clicked

              -

              If the DOM which mouse right clicked isn't a node, it will return null.

              -
              -

              Examples of setting & function

              -

              1. When mouse right click node, alert info about 'tId' and 'name'.

              -
              function myOnRightClick(event, treeId, treeNode) {
              -    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
              -};
              -var setting = {
              -	callback: {
              -		onRightClick: myOnRightClick
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.autoCheckTrigger.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.autoCheckTrigger.html deleted file mode 100644 index b8b04cc..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.autoCheckTrigger.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Booleansetting.check.autoCheckTrigger

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              When node is automatically checked or unchecked, this parameter used to set to trigger 'beforeCheck / onCheck' callback. It is valid when [setting.check.enable = true & setting.check.chkStyle = "checkbox"]

              -

              1. If you set 'setting.check.chkboxType' to { "Y": "", "N": "" }, will not automatically checked or unchecked.

              -

              2. If you turn on the trigger and there are many more nodes, will affect the performance, because the check or uncheck node can cause many nodes to be automatically checked or unchecked, it will trigger a lot of callbacks, according to the need to decide whether to use this feature.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: trigger callback

              -

              false means: don't trigger callback

              -
              -

              Examples of setting

              -

              1. When node is automatically checked or unchecked, zTree trigger 'beforeCheck / onCheck' callback.

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		autoCheckTrigger: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkDisabledInherit.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkDisabledInherit.html deleted file mode 100644 index 98d824e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkDisabledInherit.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.check.chkDisabledInherit

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              When the parent node's 'chkDisabled' attribute is true, set the child nodes automatically inherit the 'chkDisabled' attribute. It is valid when [setting.check.enable = true]

              -

              1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: When add new child nodes, if parent node's 'chkDisabled' attribute is true, the child nodes automatically inherit the 'chkDisabled' attribute.

              -

              false means: When add new child nodes, the child nodes don't inherit the 'chkDisabled' attribute from parent node.

              -
              -

              Examples of setting

              -

              1. When add new child nodes, the child nodes automatically inherit the 'chkDisabled' attribute from parent node.

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkDisabledInherit: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkStyle.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkStyle.html deleted file mode 100644 index d42e757..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkStyle.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              Stringsetting.check.chkStyle

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Use the checkbox or radio. It is valid when [setting.check.enable = true]

              -

              Default: "checkbox"

              -
              -
              -

              String Format

              -
              -

              When chkStyle = "checkbox", zTree show checkbox, and 'setting.check.chkboxType' attribute is valid. -
              When chkStyle = "radio", zTree show radio, and 'setting.check.radioType' attribute is valid.

              -

              Please note that letter case, do not change.

              -
              -

              checkbox States Descriptions

              -
              -

              -
              -

              not checked; If node is parent, so its child nodes have been not checked. when mouse over:

              -

              not checked; (only parent node) some of its child nodes have been checked. when mouse over:

              -

              be checked; If node is parent, so its all child nodes have been checked. when mouse over:

              -

              be checked; (only parent node) some of its child nodes or all have been not checked. when mouse over:

              -
              -
              -

              radio States Descriptions

              -
              -

              -
              -

              not checked; If node is parent, so its child have been not checked. when mouse over:

              -

              not checked; (only parent node) some of its child have been checked. when mouse over:

              -

              be checked; If node is parent, so its child have been not checked. when mouse over:

              -

              be checked; (only parent node) some of its child have been checked. when mouse over:

              -
              -
              -

              Examples of setting

              -

              1. use radio

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkStyle: "radio"
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkboxType.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkboxType.html deleted file mode 100644 index 5cecc9e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.chkboxType.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              JSONsetting.check.chkboxType

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              When one node is checked or unchecked, control its parent node and its child node auto checked or unchecked. It is valid when [setting.check.enable = true & setting.check.chkStyle = "checkbox"]

              -

              Default: { "Y": "ps", "N": "ps" }

              -
              -
              -

              JSON Format

              -
              -

              "Y" attribute use to set auto check after checkbox was checked. -
              "N" attribute use to set auto uncheck after checkbox was unchecked. -
              If value has "p", so parent nodes will be checked or unchecked. -
              If value has "s", so child nodes will be checked or unchecked.

              -

              Please note that letter case, do not change.

              -
              -

              Examples of setting

              -

              1. If check the node, so only auto check parent nodes; If uncheck the node, so only auto uncheck child nodes;

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkStyle: "checkbox",
              -		chkboxType: { "Y": "p", "N": "s" }
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.enable.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.enable.html deleted file mode 100644 index 0236b5f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.enable.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Booleansetting.check.enable

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Set to use checkbox or radio in zTree

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: use the checkbox or radio

              -

              false means: don't use the checkbox or radio

              -
              -

              Examples of setting

              -

              1. use the checkbox

              -
              var setting = {
              -	check: {
              -		enable: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.nocheckInherit.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.nocheckInherit.html deleted file mode 100644 index 758b437..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.nocheckInherit.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.check.nocheckInherit

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              When the parent node's 'nocheck' attribute is true, set the child nodes automatically inherit the 'nocheck' attribute. It is valid when [setting.check.enable = true]

              -

              1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: When add new child nodes, if parent node's 'nocheck' attribute is true, the child nodes automatically inherit the 'nocheck' attribute.

              -

              false means: When add new child nodes, the child nodes don't inherit the 'nocheck' attribute from parent node.

              -
              -

              Examples of setting

              -

              1. When add new child nodes, the child nodes automatically inherit the 'nocheck' attribute from parent node.

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		nocheckInherit: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.radioType.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.radioType.html deleted file mode 100644 index be867d7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.check.radioType.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Stringsetting.check.radioType

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              The group about radio. It is valid when [setting.check.enable = true & setting.check.chkStyle = "radio"]

              -

              Default: "level"

              -
              -
              -

              String Format

              -
              -

              When radioType = "level", will be grouped with same level nodes which have the same parent node. -
              When radioType = "all", will be grouped with all nodes.

              -

              Please note that letter case, do not change.

              -
              -

              Examples of setting

              -

              1. Set the group about radio is all nodes.

              -
              var setting = {
              -	check: {
              -		enable: true,
              -		chkStyle: "radio",
              -		radioType: "all"
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.keep.leaf.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.keep.leaf.html deleted file mode 100644 index 71c573e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.keep.leaf.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.data.keep.leaf

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The leaf node's lock, the leaf node will lock the 'isParent' attribute to false.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: lock the leaf node, and the node which 'isParent' attribute is false can't add child nodes.

              -

              false means: don't lock the leaf node, and the node which 'isParent' attribute is false can add child nodes.

              -
              -

              Examples of setting

              -

              1. lock the leaf node

              -
              var setting = {
              -	data: {
              -		keep: {
              -			leaf: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.keep.parent.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.keep.parent.html deleted file mode 100644 index 5bab2f1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.keep.parent.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.data.keep.parent

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The parent node's lock, the parent node will lock 'isParent' attribute to true.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: lock the parent node, and if remove all of the parent node's child nodes, its 'isParent' attribute still keep to be true..

              -

              false means: don't lock the parent node, and if remove all of the parent node's child nodes, its 'isParent' attribute will change to be false..

              -
              -

              Examples of setting

              -

              1. lock the parent node

              -
              var setting = {
              -	data: {
              -		keep: {
              -			parent: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.checked.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.checked.html deleted file mode 100644 index 2678cf2..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.checked.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.checked

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              The node data's attribute to save the checked state.

              -

              Default: "checked"

              -

              Please don't set the other node attribute which zTree used. (e.g., checkedOld)

              -
              -
              -

              Examples of setting

              -

              1. set the 'isChecked' attribute to save the checked state.

              -
              var setting = {
              -	data: {
              -		key: {
              -			checked: "isChecked"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.children.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.children.html deleted file mode 100644 index 321a1a7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.children.html +++ /dev/null @@ -1,23 +0,0 @@ -
              -
              -

              Stringsetting.data.key.children

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save the child nodes.

              -

              Default: "children"

              -
              -
              -

              Examples of setting

              -

              1. Set the 'nodes' attribute to save the child nodes.

              -
              var setting = {
              -	data: {
              -		key: {
              -			children: "nodes"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.isHidden.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.isHidden.html deleted file mode 100644 index a275d30..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.isHidden.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.isHidden

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save whether the node is the parent node.

              -

              Default: "isHidden"

              -

              v3.5.32+

              -
              -
              -

              Examples of setting

              -

              1. Set the 'hidden' attribute to save whether the node is the parent node.

              -
              var setting = {
              -	data: {
              -		key: {
              -			isHidden: "hidden"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.isParent.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.isParent.html deleted file mode 100644 index 37940ca..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.isParent.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.isParent

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save whether the node is the parent node.

              -

              Default: "isParent"

              -

              v3.5.32+

              -
              -
              -

              Examples of setting

              -

              1. Set the 'parent' attribute to save whether the node is the parent node.

              -
              var setting = {
              -	data: {
              -		key: {
              -			isParent: "parent"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.name.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.name.html deleted file mode 100644 index 0208c55..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.name.html +++ /dev/null @@ -1,23 +0,0 @@ -
              -
              -

              Stringsetting.data.key.name

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save the node name.

              -

              Default: "name"

              -
              -
              -

              Examples of setting

              -

              1. Set the 'ename' attribute to save the node name.

              -
              var setting = {
              -	data: {
              -		key: {
              -			name: "ename"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.title.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.title.html deleted file mode 100644 index 96540eb..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.title.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.title

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save the 'title' attribute of node DOM. It is valid when [setting.view.showTitle = true]

              -

              If set it to "", the title of node DOM will be same as 'setting.data.key.name' attribute.

              -

              Default: ""

              -
              -
              -

              Examples of setting

              -

              1. Set the 'fullName' attribute to save the title of node DOM.

              -
              var setting = {
              -	data: {
              -		key: {
              -			title: "fullName"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.url.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.url.html deleted file mode 100644 index e9a08ce..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.key.url.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Stringsetting.data.key.url

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save the node link's url.

              -

              Special: If the nodes's data can only use the 'url' attribute, and don't use the link to jump feature, you can modify this attribute to any nonexistent attribute.

              -

              Default: "url"

              -
              -
              -

              Examples of setting

              -

              1. Set the 'xUrl' attribute to save the node link's url.

              -
              var setting = {
              -	data: {
              -		key: {
              -			url: "xUrl"
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.enable.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.enable.html deleted file mode 100644 index 9bb56d1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.enable.html +++ /dev/null @@ -1,39 +0,0 @@ -
              -
              -

              Booleansetting.data.simpleData.enable

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set zTree's node to accept the simple data format, when zTree is initialized or when ajax get / or when use addNodes method.

              -

              Don't have to generate the complex nested data.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: zTree's node accept the simple data format.

              -

              false means: zTree's node only accept the nested data format.

              -

              If set it is true, you must set the other attributes in 'setting.data.simpleData'. (e.g., idKey, pIdKey, rootPId) And let the data satisfy the parent-child relationship.

              -
              -

              Examples of setting

              -

              1. use the simple data format

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.idKey.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.idKey.html deleted file mode 100644 index 1216e0c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.idKey.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Stringsetting.data.simpleData.idKey

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save node data's unique identifier. It is valid when [setting.data.simpleData.enable = true]

              -

              Default: "id"

              -
              -
              -

              Examples of setting

              -

              1. use the simple data format

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.pIdKey.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.pIdKey.html deleted file mode 100644 index 8378c6e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.pIdKey.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Stringsetting.data.simpleData.pIdKey

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node data's attribute to save its parent node data's unique identifier. It is valid when [setting.data.simpleData.enable = true]

              -

              Default: "pId"

              -
              -
              -

              Examples of setting

              -

              1. use the simple data format

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.rootPId.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.rootPId.html deleted file mode 100644 index 61c9bbd..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.data.simpleData.rootPId.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              String / Numbersetting.data.simpleData.rootPId

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set the default value of root's 'pIdKey' specified attribute values​​. It is valid when [setting.data.simpleData.enable = true]

              -

              Default: null

              -
              -
              -

              Examples of setting

              -

              1. use the simple data format

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var treeNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.autoExpandTrigger.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.autoExpandTrigger.html deleted file mode 100644 index 804ee66..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.autoExpandTrigger.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Booleansetting.edit.drag.autoExpandTrigger

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag node cause the parent node is automatically expanded, set whether to allow to trigger the 'onExpand' callback. It is valid when [setting.edit.enable = true]

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: trigger the 'onExpand' callback.

              -

              false means: don't trigger the 'onExpand' callback.

              -
              -

              Examples of setting

              -

              1. Set to allow to trigger the 'onExpand' callback

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			autoExpandTrigger: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.autoOpenTime.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.autoOpenTime.html deleted file mode 100644 index 74982af..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.autoOpenTime.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.autoOpenTime

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Drag to the parent node, the parent node auto expand time interval. (Unit: ms) It is valid when [setting.edit.enable = true]

              -

              Default: 500

              -

              Please adjust the value according to needs.

              -
              -
              -

              Examples of setting

              -

              1. When drag node to other parent node, expand it at once.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			autoOpenTime: 0
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.borderMax.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.borderMax.html deleted file mode 100644 index edbb752..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.borderMax.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.borderMax

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag a node to root, the zTree's inner border width. (Unit: px) It is valid when [setting.edit.enable = true]

              -

              Default: 10

              -

              Please adjust the value according to needs.

              -
              -
              -

              Examples of setting

              -

              1. adjust the inner border width is 20px

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			borderMax: 20
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.borderMin.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.borderMin.html deleted file mode 100644 index e845853..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.borderMin.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.borderMin

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag a node to root, the zTree's outer border width. (Unit: px) It is valid when [setting.edit.enable = true]

              -

              Default: -5

              -

              Please adjust the value according to needs.

              -
              -
              -

              Examples of setting

              -

              1. adjust the outer border width is 10px

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			borderMin: -10
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.inner.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.inner.html deleted file mode 100644 index 5258e2f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.inner.html +++ /dev/null @@ -1,60 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.inner

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag one node to the target node, set whether to allow the node to be the target node's child. It is valid when [setting.edit.enable = true]

              -

              If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.

              -

              This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'prev, next' together, to achieve full functionality.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: allow the node to be the target node's child.

              -

              false means: don't allow the node to be the target node's child.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes which has been dragged

              -

              targetNodeJSON

              -

              JSON data object of the target node which treeNodes are draged over.

              -

              If the treeNodes will be root node, the targetNode = null

              -

              Return Boolean

              -

              return true or false

              -
              -

              Examples of setting & function

              -

              1. disable to drag the node to the target node's inner.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: true,
              -			inner: false
              -		}
              -	}
              -};
              -......
              -

              2. disable to drag the node to be root node's child.

              -
              function canInner(treeId, nodes, targetNode) {
              -	return !(targetNode && targetNode.level === 0);
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: true,
              -			inner: canInner
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.isCopy.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.isCopy.html deleted file mode 100644 index 1207d2a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.isCopy.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Booleansetting.edit.drag.isCopy

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag-drop node, set whether to allow to copy node. It is valid when [setting.edit.enable = true]

              -

              Default: true

              -
              -
              -

              Rules Description

              -
              -

              1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.

              -

              2. If isCopy = true and isMove = false, when drag-drop node, will copy node.

              -

              3. If isCopy = false and isMove = true, when drag-drop node, will move node.

              -

              4. If isCopy = false and isMove = false, so disable to drag-drop node.

              -
              -

              Examples of setting

              -

              1. all of the drag-drop operation will copy node.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			isCopy: true,
              -			isMove: false
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.isMove.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.isMove.html deleted file mode 100644 index e4a7ca3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.isMove.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Booleansetting.edit.drag.isMove

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag-drop node, set whether to allow to move node. It is valid when [setting.edit.enable = true]

              -

              Default: true

              -
              -
              -

              Rules Description

              -
              -

              1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.

              -

              2. If isCopy = true and isMove = false, when drag-drop node, will copy node.

              -

              3. If isCopy = false and isMove = true, when drag-drop node, will move node.

              -

              4. If isCopy = false and isMove = false, so disable to drag-drop node.

              -
              -

              Examples of setting

              -

              1. all of the drag-drop operation will move node.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			isCopy: false,
              -			isMove: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.maxShowNodeNum.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.maxShowNodeNum.html deleted file mode 100644 index dbc3ae4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.maxShowNodeNum.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.maxShowNodeNum

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When dragging more than one sibling node, the floating layer shows the maximum number of nodes. zTree using '...' instead of redundant nodes. It is valid when [setting.edit.enable = true]

              -

              Default: 5

              -

              Please adjust the value according to needs.

              -
              -
              -

              Examples of setting

              -

              1. Set the maximum number is 10

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			maxShowNodeNum: 10
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.minMoveSize.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.minMoveSize.html deleted file mode 100644 index 8270a99..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.minMoveSize.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Numbersetting.edit.drag.minMoveSize

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              The minimum offset which used to determine the drag operator start. (Unit: px) It is valid when [setting.edit.enable = true]

              -

              Please adjust the value according to needs. Note: If it is too small, will easily lead to misoperation when you click mouse.

              -

              Default: 5

              -
              -
              -

              Examples of setting

              -

              1. Set the minimum offset is 10px.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			minMoveSize: 10
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.next.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.next.html deleted file mode 100644 index 11323f1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.next.html +++ /dev/null @@ -1,59 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.next

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag one node to the target node, set whether to allow the node to be the target node's next sibling. It is valid when [setting.edit.enable = true]

              -

              If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.

              -

              This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'prev, inner' together, to achieve full functionality.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: allow the node to be the target node's next sibling.

              -

              false means: don't allow the node to be the target node's next sibling.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes which has been dragged

              -

              targetNodeJSON

              -

              JSON data object of the target node which treeNodes are draged over.

              -

              Return Boolean

              -

              return true or false

              -
              -

              Examples of setting & function

              -

              1. disable to drag the node to the target node's next sibling.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: false,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -

              2. disable to drag the node to be all of the parent nodes's next sibling.

              -
              function canNext(treeId, nodes, targetNode) {
              -	return !targetNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: true,
              -			next: canNext,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.prev.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.prev.html deleted file mode 100644 index 84e3b1a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.drag.prev.html +++ /dev/null @@ -1,59 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.prev

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When drag one node to the target node, set whether to allow the node to be the target node's previous sibling. It is valid when [setting.edit.enable = true]

              -

              If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.

              -

              This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'next, inner' together, to achieve full functionality.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: allow the node to be the target node's previous sibling.

              -

              false means: don't allow the node to be the target node's previous sibling.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodesArray(JSON)

              -

              A collection of the nodes which has been dragged

              -

              targetNodeJSON

              -

              JSON data object of the target node which treeNodes are draged over.

              -

              Return Boolean

              -

              return true or false

              -
              -

              Examples of setting & function

              -

              1. disable to drag the node to the target node's previous sibling.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: false,
              -			next: true,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -

              2. disable to drag the node to be all of the parent nodes's previous sibling.

              -
              function canPrev(treeId, nodes, targetNode) {
              -	return !targetNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		drag: {
              -			prev: canPrev,
              -			next: true,
              -			inner: true
              -		}
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.editNameSelectAll.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.editNameSelectAll.html deleted file mode 100644 index a030359..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.editNameSelectAll.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Booleansetting.edit.editNameSelectAll

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              When edit node's name, the text in input is selected or unselected. It is valid when [setting.edit.enable = true]

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: when show the input, the text in input is selected

              -

              false means: when show the input, the text in input is not selected

              -
              -

              Examples of setting

              -

              1. When edit node's name, the text in input is selected.

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		editNameSelectAll: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.enable.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.enable.html deleted file mode 100644 index ec9d2b3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.enable.html +++ /dev/null @@ -1,39 +0,0 @@ -
              -
              -

              Booleansetting.edit.enable

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Set zTree is in edit mode

              -

              Please set this attribute before zTree initialization. If you need to change the edit mode after the initialization, please use zTreeObj.setEditable() method.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: zTree is in edit mode.

              -

              false means: zTree is not in edit mode.

              -
              -

              Editing Rules Description

              -
              -

              1. When click the node, it will not open 'node.url' specified URL. -
              2. Support for dynamic tree editing. -
              3. You can drag-drop nodes, and support drag-drop nodes between multiple trees. -
              4. Support use drag-drop to copy or move the node. (Reference: setting.edit.drag.isCopy / setting.edit.drag.isMove) -
              5. You can use the Edit button to modify the name attribute. -
              6. You can use the Remove button to remove the node. -
              -

              -

              Please note that letter case, do not change.

              -
              -

              Examples of setting

              -

              1. edit the tree

              -
              var setting = {
              -	edit: {
              -		enable: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.removeTitle.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.removeTitle.html deleted file mode 100644 index d749c05..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.removeTitle.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              String / Function(treeId, treeNode)setting.edit.removeTitle

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              the title of the remove button DOM. It is valid when [setting.edit.enable = true & setting.edit.showRemoveBtn = true]

              -

              Default: "remove"

              -
              -
              -

              String Format

              -
              -

              When the mouse over the remove button, the browser auto pop-up message content.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which show the remove button

              -

              Return String

              -

              Return value is same as 'String Format'

              -
              -

              Examples of setting & function

              -

              1. Set title is 'remove the node' about all the remove button

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: true,
              -		removeTitle: "remove the node"
              -	}
              -};
              -......
              -

              2. Set title is 'remove the parent node' about the parent node, and is 'remove the leaf node' about the leaf node

              -
              function setRemoveTitle(treeId, treeNode) {
              -	return treeNode.isParent ? "remove the parent node":"remove the leaf node";
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: true,
              -		removeTitle: setRemoveTitle
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.renameTitle.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.renameTitle.html deleted file mode 100644 index aa2d719..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.renameTitle.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              String / Function(treeId, treeNode)setting.edit.renameTitle

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              the title of the rename button DOM. It is valid when [setting.edit.enable = true & setting.edit.showRenameBtn = true]

              -

              Default: "rename"

              -
              -
              -

              String Format

              -
              -

              When the mouse over the rename button, the browser auto pop-up message content.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which show the rename button

              -

              Return String

              -

              return value is same as 'String Format'

              -
              -

              Examples of setting & function

              -

              1. Set title is 'rename the node' about all the rename button

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: true,
              -		renameTitle: "rename the node"
              -	}
              -};
              -......
              -

              2. Set title is 'rename the parent node' about the parent node, and is 'rename the leaf node' about the leaf node

              -
              function setRenameTitle(treeId, treeNode) {
              -	return treeNode.isParent ? "rename the parent node":"rename the leaf node";
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: true,
              -		renameTitle: setRenameTitle
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.showRemoveBtn.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.showRemoveBtn.html deleted file mode 100644 index 2c64ac1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.showRemoveBtn.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.edit.showRemoveBtn

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Set to show or hide the remove button. It is valid when [setting.edit.enable = true]

              -

              When you click the remove button:

              -

              1. zTree will trigger the setting.callback.beforeRemove callback, and you can decide whether to allow delete.

              -

              2. If you don't set the 'beforeRemove' or the 'beforeRemove' callback return true, so zTree will trigger the setting.callback.onRemove callback after remove the node.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: show the remove button

              -

              false means: hide the remove button

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which show the remove button

              -

              Return Boolean

              -

              Return value is same as 'Boolean Format'

              -
              -

              Examples of setting & function

              -

              1. Hide the remove button

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: false
              -	}
              -};
              -......
              -

              2. Hide the remove button of parent node

              -
              function setRemoveBtn(treeId, treeNode) {
              -	return !treeNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRemoveBtn: setRemoveBtn
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.showRenameBtn.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.showRenameBtn.html deleted file mode 100644 index 390f0a1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.edit.showRenameBtn.html +++ /dev/null @@ -1,52 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.edit.showRenameBtn

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Set to show or hide the rename button. It is valid when [setting.edit.enable = true]

              -

              When you click the rename button:

              -

              1. Click the rename button, you can rename the node.

              -

              2. After rename operation (the input DOM blur or press the Enter Key), zTree will trigger the setting.callback.beforeRename callback, and you can decide whether to allow rename.

              -

              3. If the 'beforeRename' callback return false, so zTree will keep the edit status. (Press the ESC key, can be restored to the original state.

              -

              4. If you don't set the 'beforeRename' or the 'beforeRename' callback return true, so zTree will trigger the setting.callback.onRename callback after rename the node.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: show the rename button

              -

              false means: hide the rename button

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which show the rename button

              -

              Return Boolean

              -

              Return value is same as 'Boolean Format'

              -
              -

              Examples of setting & function

              -

              1. Hide the rename button

              -
              var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: false
              -	}
              -};
              -......
              -

              2. Hide the rename button of parent node

              -
              function setRenameBtn(treeId, treeNode) {
              -	return !treeNode.isParent;
              -}
              -var setting = {
              -	edit: {
              -		enable: true,
              -		showRenameBtn: setRenameBtn
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.treeId.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.treeId.html deleted file mode 100644 index e4b04b3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.treeId.html +++ /dev/null @@ -1,14 +0,0 @@ -
              -
              -

              Stringsetting.treeId

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              zTree unique identifier. After the initialization, it equals to the id attribute value of the user-defined zTree container.

              -

              Do not initialize or modify it, it is an internal argument.

              -
              -
              - -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.treeObj.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.treeObj.html deleted file mode 100644 index 30eb66c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.treeObj.html +++ /dev/null @@ -1,14 +0,0 @@ -
              -
              -

              Objectsetting.treeObj

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              zTree DOM's jQuery object, the main function: easy to internal operations.

              -

              Do not initialize or modify it, it is an internal argument.

              -
              -
              - -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.addDiyDom.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.addDiyDom.html deleted file mode 100644 index efcc8d4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.addDiyDom.html +++ /dev/null @@ -1,40 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.view.addDiyDom

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              This function used to display the custom control on the node.

              -

              1. If you have huge node data, please note: this function will affect the initialization performance. If not required, it is recommended not to use this function.

              -

              2. This function is an advanced application, please make sure that a better understanding of zTree before you use it.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which display the custom control.

              -
              -

              Examples of setting & function

              -

              1. Display button in all nodes.

              -
              var setting = {
              -	view: {
              -		addDiyDom: addDiyDom
              -	}
              -};
              -function addDiyDom(treeId, treeNode) {
              -	var aObj = $("#" + treeNode.tId + "_a");
              -	if ($("#diyBtn_"+treeNode.id).length>0) return;
              -	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
              -		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
              -		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
              -	aObj.append(editStr);
              -	var btn = $("#diyBtn_"+treeNode.id);
              -	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.addHoverDom.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.addHoverDom.html deleted file mode 100644 index 9c6ccf6..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.addHoverDom.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.view.addHoverDom

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Used to display custom control when mouse move over the node. (e.g. the rename and remove button)

              -

              If you use this function, so must set setting.view.removeHoverDom, please make sure that a better understanding of zTree before you use it.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which need to display the custom control.

              -
              -

              Examples of setting & function

              -

              1. Display a button when mouse move over the node, and hide the button when mouse move out.

              -
              var setting = {
              -	view: {
              -		addHoverDom: addHoverDom,
              -		removeHoverDom: removeHoverDom,
              -		......
              -	}
              -};
              -function addHoverDom(treeId, treeNode) {
              -	var aObj = $("#" + treeNode.tId + "_a");
              -	if ($("#diyBtn_"+treeNode.id).length>0) return;
              -	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
              -		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
              -		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
              -	aObj.append(editStr);
              -	var btn = $("#diyBtn_"+treeNode.id);
              -	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
              -};
              -function removeHoverDom(treeId, treeNode) {
              -	$("#diyBtn_"+treeNode.id).unbind().remove();
              -	$("#diyBtn_space_" +treeNode.id).unbind().remove();
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.autoCancelSelected.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.autoCancelSelected.html deleted file mode 100644 index 44ab90d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.autoCancelSelected.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Booleansetting.view.autoCancelSelected

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              When click the selected node while pressing the Ctrl-key or Cmd-key, allow to cancel selected the node.

              -

              If you don't need this function, please set to false.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: press the Ctrl-key or Cmd-key, can cancel selected node.

              -

              false means: press the Ctrl-key or Cmd-key, can't cancel selected node.

              -
              -

              Examples of setting

              -

              1. Press the Ctrl-key or Cmd-key, can't cancel selected node.

              -
              var setting = {
              -	view: {
              -		autoCancelSelected: false
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.dblClickExpand.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.dblClickExpand.html deleted file mode 100644 index 210dfec..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.dblClickExpand.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.view.dblClickExpand

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              When double-click the parent node, 'dblClickExpand' is used to decide whether to expand the parent node.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: When double-click the parent node, zTree will expand the parent node.

              -

              false means: When double-click the parent node, zTree will not expand the parent node.

              -
              -

              Function Pamameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which be double-clicked.

              -

              Return Boolean

              -

              Return value is same as 'Boolean Format'

              -
              -

              Example of setting

              -

              1. When double-click the parent node, zTree will not expand the parent node.

              -
              var setting = {
              -	view: {
              -		dblClickExpand: false
              -	}
              -};
              -......
              -

              2. When double-click the parent node, zTree will expand the parent node which level>0.

              -
              function dblClickExpand(treeId, treeNode) {
              -	return treeNode.level > 0;
              -};
              -var setting = {
              -	view: {
              -		dblClickExpand: dblClickExpand
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.expandSpeed.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.expandSpeed.html deleted file mode 100644 index 1911e74..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.expandSpeed.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              String / Numbersetting.view.expandSpeed

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The animation speed of expand or collapse node. As same as 'speed' parameter in jQuery

              -

              In order to ensure zTree operating speed, if use the IE6, zTree will not use animation.

              -

              Default: "fast"

              -
              -
              -

              String Format

              -
              -

              e.g. "slow", "normal", or "fast"

              -

              If set to "", zTree will not use animation.

              -
              -

              Number Format

              -
              -

              How long the animation will run. [Unit: ms] (e.g. 1000)

              -
              -

              Examples of setting

              -

              1. Set the animation speed to slow

              -
              var setting = {
              -	view: {
              -		expandSpeed: "slow"
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.fontCss.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.fontCss.html deleted file mode 100644 index 02bddea..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.fontCss.html +++ /dev/null @@ -1,42 +0,0 @@ -
              -
              -

              JSON / Function(treeId, treeNode)setting.view.fontCss

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Personalized text style, only applies to <A> object in the node DOM

              -

              Default: {}

              -
              -
              -

              JSON Format

              -
              -

              As same as .css() method in jQuery. e.g. {color:"#ff0011", background:"blue"}

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which use the personalized text style

              -

              Return JSON

              -

              Return value is same as 'JSON Format'. e.g. {color:"#ff0011", background:"blue"}

              -
              -

              Examples of setting & function

              -

              1. Don't modify css file, and set the node name's color to red

              -
              var setting = {
              -	view: {
              -		fontCss : {color:"red"}
              -	}
              -};
              -

              2. Don't modify css file, and set the root node name's color to red

              -
              function setFontCss(treeId, treeNode) {
              -	return treeNode.level == 0 ? {color:"red"} : {};
              -};
              -var setting = {
              -	view: {
              -		fontCss: setFontCss
              -	}
              -};
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.nameIsHTML.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.nameIsHTML.html deleted file mode 100644 index 4fe19ad..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.nameIsHTML.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.view.nameIsHTML

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set to use HTML in 'name' attribute.

              -

              If allow HTML, please do check to avoid security issues, e.g. JavaScript Injection...

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: 'name' attribute can be HTML.

              -

              false means: 'name' attribute is only TEXT.

              -
              -

              Examples of setting

              -

              1. Set to allow HTML

              -
              var setting = {
              -	view: {
              -		nameIsHTML: true
              -	}
              -};
              -var node = {"name":"<font color='red'>test</font>"};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.removeHoverDom.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.removeHoverDom.html deleted file mode 100644 index 83f8047..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.removeHoverDom.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Function(treeId, treeNode)setting.view.removeHoverDom

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Used to hide custom control when mouse move out the node. (e.g. the rename and remove button)

              -

              If you use this function, so must set setting.view.addHoverDom, please make sure that a better understanding of zTree before you use it.

              -

              Default: null

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which need to hide the custom control.

              -
              -

              Examples of setting & function

              -

              1. Display a button when mouse move over the node, and hide the button when mouse move out.

              -
              var setting = {
              -	view: {
              -		addHoverDom: addHoverDom,
              -		removeHoverDom: removeHoverDom,
              -		......
              -	}
              -};
              -function addHoverDom(treeId, treeNode) {
              -	var aObj = $("#" + treeNode.tId + "_a");
              -	if ($("#diyBtn_"+treeNode.id).length>0) return;
              -	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
              -		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
              -		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
              -	aObj.append(editStr);
              -	var btn = $("#diyBtn_"+treeNode.id);
              -	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
              -};
              -function removeHoverDom(treeId, treeNode) {
              -	$("#diyBtn_"+treeNode.id).unbind().remove();
              -	$("#diyBtn_space_" +treeNode.id).unbind().remove();
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.selectedMulti.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.selectedMulti.html deleted file mode 100644 index 074fb68..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.selectedMulti.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Booleansetting.view.selectedMulti

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set whether to allow select multiple nodes.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true mean: you can select multiple nodes.

              -

              false mean: you can only select one node.

              -

              1. Press Ctrl-key or Cmd-key, you can select multiple nodes.

              -

              2、This attribute don't affect the feature of cancel select node. ( please see setting.view.autoCancelSelected )

              -
              -

              Examples of setting

              -

              1. Only select one node.

              -
              var setting = {
              -	view: {
              -		selectedMulti: false
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showIcon.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showIcon.html deleted file mode 100644 index 69f1b05..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showIcon.html +++ /dev/null @@ -1,45 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.view.showIcon

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set to show or hide node icon.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: show node icon.

              -

              false means: hide node icon.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which need to show icon.

              -

              Return Boolean

              -

              Return value is same as 'Boolean Format'

              -
              -

              Examples of setting & function

              -

              1. Hide node icon

              -
              var setting = {
              -	view: {
              -		showIcon: false
              -	}
              -};
              -......
              -

              2. Hide node icon which level=2

              -
              function showIconForTree(treeId, treeNode) {
              -	return treeNode.level != 2;
              -};
              -var setting = {
              -	view: {
              -		showIcon: showIconForTree
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showLine.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showLine.html deleted file mode 100644 index a554014..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showLine.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Booleansetting.view.showLine

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set to show or hide line.

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: show line.

              -

              false means: hide line.

              -
              -

              Examples of setting

              -

              1. Hide line

              -
              var setting = {
              -	view: {
              -		showLine: false
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showTitle.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showTitle.html deleted file mode 100644 index 8af6984..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.showTitle.html +++ /dev/null @@ -1,47 +0,0 @@ -
              -
              -

              Boolean / Function(treeId, treeNode)setting.view.showTitle

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set to show or hide the 'title' attribute of node DOM.

              -

              Please see the setting.data.key.title attribute

              -

              Default: true

              -
              -
              -

              Boolean Format

              -
              -

              true means: show the 'title' attribute of node DOM.

              -

              false means: hide the 'title' attribute of node DOM.

              -

              When setting.view.showTitle = true & setting.data.key.title = '', zTree will set the 'setting.data.key.name' attribute to the 'setting.data.key.title'.

              -
              -

              Function Parameter Descriptions

              -
              -

              treeIdString

              -

              zTree unique identifier: treeId.

              -

              treeNodeJSON

              -

              JSON data object of the node which need to show title.

              -

              Return Boolean

              -

              Return value is same as 'Boolean Format'

              -
              -

              Examples of setting & function

              -

              1. Hide the 'title' attribute of node DOM.

              -
              var setting = {
              -	view: {
              -		showTitle: false
              -	}
              -};
              -......
              -

              2. Hide the 'title' attribute of node DOM which level=2.

              -
              function showTitleForTree(treeId, treeNode) {
              -	return treeNode.level != 2;
              -};
              -var setting = {
              -	view: {
              -		showTitle: showTitleForTree
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.txtSelectedEnable.html b/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.txtSelectedEnable.html deleted file mode 100644 index a380930..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/setting.view.txtSelectedEnable.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Booleansetting.view.txtSelectedEnable

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Set to allow or don't allow to select the text which in zTree's DOM.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: Allow to select the txt which in zTree's DOM.

              -

              false means: Don't allow to select the txt which in zTree's DOM.

              -
              -

              Examples of setting & function

              -

              1. Allow to select the txt which in zTree's DOM.

              -
              var setting = {
              -	view: {
              -		txtSelectedEnable: true
              -	}
              -};
              -......
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.check_Child_State.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.check_Child_State.html deleted file mode 100644 index 48efb79..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.check_Child_State.html +++ /dev/null @@ -1,43 +0,0 @@ -
              -
              -

              NumbertreeNode.check_Child_State

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Used to record the node's half-checked state about its all child nodes's checkbox or radio. It is valid when [setting.check.enable = true]

              -

              zTree v3.x provides treeNode.getCheckStatus () method to get an accurate the half-checked status.

              -

              Do not initialize or modify it, it is an internal argument.

              -

              Default: true

              -
              -
              -

              Number Format

              -
              -

              Rules:

              - - - - - - - - - - - -
              setting.check.checkType = "checkbox"
              treeNode.check_Child_StateChecked Status Description
              -1Has no child nodes or all child nodes's 'nocheck' attribute is true.
              0All of the child nodes has not been checked.
              1Some of the child nodes has been checked.
              2All of the child nodes has been checked.
              -
              - - - - - - - - - - -
              setting.check.checkType = "radio"
              treeNode.check_Child_StateChecked Status Description
              -1Has no child nodes or all child nodes's 'nocheck' attribute is true.
              0All of the child nodes has not been checked.
              2Some of the child nodes has been checked.
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.check_Focus.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.check_Focus.html deleted file mode 100644 index 77b7359..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.check_Focus.html +++ /dev/null @@ -1,19 +0,0 @@ -
              -
              -

              BooleantreeNode.check_Focus

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Used to record the status which the checkbox or radio get focus. It is valid when [setting.check.enable = true]

              -

              Do not initialize or modify it, it is an internal argument.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: mouse move over the checkbox

              -

              false means: mouse move out the checkbox

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.checked.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.checked.html deleted file mode 100644 index 8a55f3d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.checked.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              BooleantreeNode.checked

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              The checked status about node's checkbox or radio. It is valid when [setting.check.enable = true & treeNode.nocheck = false]

              -

              1. If change the 'checked' to other attribute, please set the 'setting.data.key.checked' attribute.

              -

              2. If you create node data, and set 'checked' attribute to true, zTree will check this node's checkbox or radio when zTree is initialized.

              -

              3. Use the treeObj.checkNode or checkAllNodes or updateNode method, you can check or uncheck the node. Please see the API about these methods.

              -

              4. zTree support identification string 'true' & 'false'.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: check the checkbox or radio when zTree is initialized.

              -

              false means: uncheck the checkbox or radio when zTree is initialized.

              -
              -

              Examples of treeNode

              -

              1. check the checkbox when zTree is initialized

              -
              var nodes = [
              -{ "id":1, "name":"test1", checked:true },
              -{ "id":2, "name":"test2", checked:true }
              -]
              -

              2. Get the checked status of the first root node

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var checked = treeObj.getNodes()[0].checked;
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.checkedOld.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.checkedOld.html deleted file mode 100644 index ee51626..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.checkedOld.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              BooleantreeNode.checkedOld

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              The checked status about node's checkbox or radio when zTree was initialized. It is valid when [setting.check.enable = true & treeNode.nocheck = false]

              -

              1. Do not initialize it, it will be initialized when the node is initialized.

              -

              2. If you need to achieve special features, you can use the zTreeObj.getChangeCheckedNodes method and modify the value of 'checkedOld' attribute.

              -

              Default: the value of 'checked' attribute when zTree is initialized

              -
              -
              -

              Boolean Format

              -
              -

              true means: the checkbox or radio is checked when zTree is initialized.

              -

              false means: the checkbox or radio is not checked when zTree is initialized.

              -
              -

              Examples of treeNode

              -

              1. Get the original checked status of the first root node

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var checkedOld = treeObj.getNodes()[0].checkedOld;
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.children.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.children.html deleted file mode 100644 index d765bb9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.children.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Array(JSON)treeNode.children

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The data collections of node's child nodes.

              -

              1. If change the 'children' to other attribute, please set the 'setting.data.key.children' attribute.

              -

              2. If you set to use dynamic tree, when a node is expanded which 'isParent' attribute is true and which has no child nodes, zTree will use ajax to get its child nodes.

              -

              Default: undefined

              -
              -
              -

              Array(JSON) Format

              -
              -

              Standard JSON Data object

              -
              -

              Examples of treeNode

              -

              1. Use the standard JSON data object.

              -
              var nodes = [
              -{ "id":1, "name":"test1",
              -	children: [
              -	{ "id":3, "name":"test3"},
              -	{ "id":4, "name":"test4"},
              -	{ "id":5, "name":"test5"}
              -	]
              -},
              -{ "id":2, "name":"test2"  }
              -]
              -

              2. Get the first root node's child nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes()[0].children;
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.chkDisabled.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.chkDisabled.html deleted file mode 100644 index 7a5fcf3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.chkDisabled.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.chkDisabled

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              1. Set node's checkbox / radio to disabled. It is valid when [setting.check.enable = true]

              -

              2. zTree support identification string 'true' & 'false'.

              -

              3. Please don't change this attribute of the nodes which have been created. If you want to disable or undisable the nodes, please use 'setChkDisabled()' methods.

              -

              4. When zTree initialize the nodes, if you need to the child nodes automatically inherit the 'chkDisabled' attribute, please see 'setting.check.chkDisabledInherit'.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: this node's checkbox / radio is disabled.

              -

              false means: this node's checkbox / radio is able.

              -
              -

              Examples of treeNode

              -

              1. disable some node's checkbox / radio

              -
              var nodes = [
              -	{ "id":1, "name":"test1", "checked":true, "chkDisabled":true},
              -	{ "id":2, "name":"test2", "chkDisabled":true},
              -	{ "id":3, "name":"test3"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.click.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.click.html deleted file mode 100644 index 1f9db62..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.click.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              StringtreeNode.click

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Simple click event operations. As same as : (onclick ="...") the code. If the operation is more complex, please use the onClick callback.

              -

              Because IE is different to other browsers in operating the event of ‘onclick’ and ‘click’ coexistence, please do not use this parameter to control whether to allow the redirection operation (for example: treeNode.click = "return false;"). If there is similar requirements, please do not use the 'url' attribute to save the website address, but use the 'onClick' callback to control jumps.

              -

              Default: undefined

              -
              -
              -

              String Format

              -
              -

              Standard javascript syntax, for example: alert ("test"); etc.

              -
              -

              Examples of treeNode

              -

              1. When click this node, will alert msg.

              -
              var nodes = [
              -	{ "id":1, "name":"Google CN", "url":"http://g.cn", "click":"alert('test');"},
              -	......
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.diy.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.diy.html deleted file mode 100644 index 68c39ba..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.diy.html +++ /dev/null @@ -1,15 +0,0 @@ -
              -
              -

              ?treeNode.* DIY *

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to save other custom data of node, do not use the same attribute name with ztree used, the user can freely set.

              -
              -
              -

              Examples of treeNode

              -

              1. Use 'ename' attribute to save more info

              -
              var node = { "id":1, "name":"test1", "ename":"test eName"};
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.editNameFlag.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.editNameFlag.html deleted file mode 100644 index f60ef2a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.editNameFlag.html +++ /dev/null @@ -1,19 +0,0 @@ -
              -
              -

              BooleantreeNode.editNameFlag

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Used to save the node editing name status. It is valid when [setting.edit.enable = true]

              -

              Do not initialize or modify it, it is an internal argument.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: node is being edited.

              -

              false means: node is not being edited.

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getCheckStatus.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getCheckStatus.html deleted file mode 100644 index 3c9a2e6..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getCheckStatus.html +++ /dev/null @@ -1,63 +0,0 @@ -
              -
              -

              Function()treeNode.getCheckStatus

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Get the node's half-checked status of checkbox or radio. It is valid when [setting.check.enable = true]

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              ReturnJSON

              -
              {
              -	checked: true, //As same as 'treeNode.checked'
              -	half: true  //Rule the table below
              -}
              - - - - - - - - - - - - - - - - - - -
              setting.check.checkType = "checkbox"
              treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
              --truetrue
               
              true-1falsefalse
              true0falsetrue
              true1falsetrue
              true2falsefalse
               
              false-1falsefalse
              false0falsefalse
              false1falsetrue
              false2falsetrue
              -
              - - - - - - - - - - - - - - - - -
              setting.check.checkType = "radio"
              treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
              --truetrue
               
              true-1falsefalse
              true0falsefalse
              true2falsetrue
               
              false-1falsefalse
              false0falsefalse
              false2falsetrue
              -
              -

              Examples of treeNode

              -

              1. Get the first root node's half-checked status

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var halfCheck = treeObj.getNodes()[0].getCheckStatus();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getIndex.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getIndex.html deleted file mode 100644 index 2c31cfe..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getIndex.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Function()treeNode.getIndex

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get the treeNode's index in its parent node's children.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              ReturnNumber

              -

              the treeNode's index in its parent node's children. ( start at 0 )

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's index.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getIndex();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getNextNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getNextNode.html deleted file mode 100644 index 755aa6e..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getNextNode.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function()treeNode.getNextNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get the treeNode's next sibling node.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              ReturnJSON

              -

              JSON data object of the treeNode's next sibling node

              -

              If have not the next node, return null.

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's next sibling node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getNextNode();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getParentNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getParentNode.html deleted file mode 100644 index 16bab30..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getParentNode.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function()treeNode.getParentNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get the treeNode's parent node.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              ReturnJSON

              -

              JSON data object of treeNode's parent node.

              -

              If treeNode is root, return null.

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's parent node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getParentNode();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getPath.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getPath.html deleted file mode 100644 index 5f81676..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getPath.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Function()treeNode.getPath

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get the treeNode's all parent nodes. (Include itself)

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              ReturnArray (JSON)

              -

              Array of treeNode's all parent nodes. (Include itself)

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's all parent nodes.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getPath();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getPreNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getPreNode.html deleted file mode 100644 index f6745b1..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.getPreNode.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function()treeNode.getPreNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get the treeNode's previous sibling node.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              ReturnJSON

              -

              JSON data object of the treeNode's previous sibling node

              -

              If have not the previous node, return null.

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's previous sibling node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var node = sNodes[0].getPreNode();
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.halfCheck.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.halfCheck.html deleted file mode 100644 index 8375326..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.halfCheck.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              BooleantreeNode.halfCheck

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Force node checkBox / radio to the half-checked status. It is valid when [setting.check.enable = true & treeNode.nocheck = false]

              -

              1. If you force to the half-checked status, zTree will not automatically calculated the half-checked status about this node.

              -

              2. Until you set treeNode.halfCheck to false or null, zTree will automatically calculated the half-checked status about this node.

              -

              3. zTree support identification string 'true' & 'false'.

              -

              Defaul: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: the checkbox or radio is half-checked when zTree is initialized.

              -

              false means: the half-checked status will be automatically calculated

              -
              -

              Examples of treeNode

              -

              1. set the half-checked status when zTree is initialized

              -
              var nodes = [
              -{ "id":1, "name":"test1", isParent:true, checked:true, halfCheck:true },
              -{ "id":2, "name":"test2", isParent:true, checked:false, halfCheck:true },
              -{ "id":3, "name":"test3", isParent:true, checked:true },
              -{ "id":4, "name":"test4", isParent:true, checked:false }
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.icon.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.icon.html deleted file mode 100644 index 4e1c99f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.icon.html +++ /dev/null @@ -1,33 +0,0 @@ -
              -
              -

              StringtreeNode.icon

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              URL path of node's custom icon.

              -

              1. If you only set the 'icon' attribute to parent node, the parent node will only show one icon when it is expanded or collapsed.

              -

              2. If you need to show two icons when it is expanded or collapsed, please set the 'treeNode.iconOpen' and 'treeNode.iconClose' attribute.

              -

              3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.

              -

              Default: undefined

              -
              -
              -

              String Format

              -
              -

              Icon image url can be a relative path or absolute path.

              -

              If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.

              -
              -

              Examples of treeNode

              -

              1. Set the custom icon

              -
              var nodes = [
              -	//Only show one icon when it is expanded or collapsed.
              -	{ name:"Parent Node 1", icon:"/img/parent.gif"},
              -
              -	//Show two icons when it is expanded or collapsed.
              -	{ name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
              -
              -	//the custom icon for leaf node
              -	{ name:"Leaf Node", icon:"/img/leaf.gif"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconClose.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconClose.html deleted file mode 100644 index 2259e8f..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconClose.html +++ /dev/null @@ -1,33 +0,0 @@ -
              -
              -

              StringtreeNode.iconClose

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              URL path of parent node's custom icon when it is collapsed.

              -

              1. Only parent node support this attribute.

              -

              2. This attribute must be used simultaneously with 'iconOpen' attribute.

              -

              3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.

              -

              Default: undefined

              -
              -
              -

              String Format

              -
              -

              Icon image url can be a relative path or absolute path.

              -

              If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.

              -
              -

              Examples of treeNode

              -

              1. Set the custom icon

              -
              var nodes = [
              -	//Only show one icon when it is expanded or collapsed.
              -	{ name:"Parent Node 1", icon:"/img/parent.gif"},
              -
              -	//Show two icons when it is expanded or collapsed.
              -	{ name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
              -
              -	//the custom icon for leaf node
              -	{ name:"Leaf Node", icon:"/img/leaf.gif"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconOpen.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconOpen.html deleted file mode 100644 index 3203615..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconOpen.html +++ /dev/null @@ -1,33 +0,0 @@ -
              -
              -

              StringtreeNode.iconOpen

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              URL path of parent node's custom icon when it is expanded.

              -

              1. Only parent node support this attribute.

              -

              2. This attribute must be used simultaneously with 'iconClose' attribute.

              -

              3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.

              -

              Default: undefined

              -
              -
              -

              String Format

              -
              -

              Icon image url can be a relative path or absolute path.

              -

              If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.

              -
              -

              Examples of treeNode

              -

              1. Set the custom icon

              -
              var nodes = [
              -	//Only show one icon when it is expanded or collapsed.
              -	{ name:"Parent Node 1", icon:"/img/parent.gif"},
              -
              -	//Show two icons when it is expanded or collapsed.
              -	{ name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
              -
              -	//the custom icon for leaf node
              -	{ name:"Leaf Node", icon:"/img/leaf.gif"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconSkin.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconSkin.html deleted file mode 100644 index fca7fbf..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.iconSkin.html +++ /dev/null @@ -1,43 +0,0 @@ -
              -
              -

              StringtreeNode.iconSkin

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The className of node's custom icon.

              -

              1. You need to modify the css, add the definition of className.

              -

              2. The css is simple, convenient, and support the parent node to switch icons when it is expanded or collapsed.

              -

              3. Recommend the use of CSS Sprites, can reduce repeating load the image, to avoid image flicker.

              -

              4. The 'iconSkin' support IE6 in zTree v3.x.

              -

              5. If you need to use image's URL to set the custom icon, please set the 'treeNode.icon' or 'treeNode.iconOpen' or 'treeNode.iconClose' attribute.

              -

              Default: undefined

              -
              -
              -

              String Format

              -
              -

              The string about custom icon's className.

              -
              -

              Examples of css & treeNode

              -

              1. Set the custom icon

              -
              css example:
              -.ztree li span.button.diy01_ico_open, .ztree li span.button.diy01_ico_close{...}
              -
              -.ztree li span.button.diy02_ico_open{...}
              -.ztree li span.button.diy02_ico_close{...}
              -
              -.ztree li span.button.diy03_ico_docu{...}
              -
              -node's data example:
              -var nodes = [
              -	//Only show one icon when it is expanded or collapsed.
              -	{ name:"Parent Node 1", iconSkin:"diy01"},
              -
              -	//Show two icons when it is expanded or collapsed.
              -	{ name:"Parent Node 2", iconSkin:"diy02"},
              -
              -	//the custom icon for leaf node
              -	{ name:"Leaf Node", iconSkin:"diy03"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isAjaxing.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isAjaxing.html deleted file mode 100644 index ddadf41..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isAjaxing.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              BooleantreeNode.isAjaxing

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Judge whether the node's child nodes being loaded asynchronously.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Boolean Format

              -
              -

              true means: the node's child nodes is being loaded asynchronously

              -

              false means: the node's child nodes is not being loaded asynchronously

              -
              -

              Examples of treeNode

              -

              1. Judge whether the first selected node's child nodes being loaded asynchronously

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isAjaxing = sNodes[0].isAjaxing;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isFirstNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isFirstNode.html deleted file mode 100644 index a8ee61c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isFirstNode.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.isFirstNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Judge whether the node is the sibling nodes's first node.

              -

              If you use the 'exhide' pack, so this attribute will only support the node which be shown.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Boolean Format

              -
              -

              true means: the node is first node.

              -

              false means: the node is not first node.

              -

              If the node has been hidden, isFirstNode = false

              -
              -

              Examples of treeNode

              -

              1. Judge whether the first selected node is the sibling nodes's first node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isFirstNode = sNodes[0].isFirstNode;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isHidden.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isHidden.html deleted file mode 100644 index 3a07b94..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isHidden.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.isHidden

              -

              Overview[ depends on jquery.ztree.exhide js ]

              -
              -

              -
              -

              Judge whether the node has been hidden.

              -

              1. When initialize zTree, the nodes which be set 'isHidden = true' will be hidden.

              -

              -

              2. Please don't change this attribute of the nodes which have been created. If you want to hide or show nodes, please use 'hideNode() / hideNodes() / showNode() / showNodes()' methods.

              -
              -
              -

              Boolean Format

              -
              -

              true means: this node is hidden.

              -

              false means: this node is shown.

              -
              -

              Examples of treeNode

              -

              1. Judge whether the first root node has been hidden.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getNodes();
              -if (sNodes.length > 0) {
              -	var isHidden = sNodes[0].isHidden;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isHover.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isHover.html deleted file mode 100644 index e18ed0c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isHover.html +++ /dev/null @@ -1,19 +0,0 @@ -
              -
              -

              BooleantreeNode.isHover

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Used to record the hover status of node's DOM. For 'setting.view.addHoverDom / removeHoverDom'.

              -

              Do not initialize or modify it, it is an internal argument.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: the node's DOM is in hover.

              -

              false means: the node's DOM is not in hover.

              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isLastNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isLastNode.html deleted file mode 100644 index cd2ca26..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isLastNode.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.isLastNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Judge whether the node is the sibling nodes's last node.

              -

              If you use the 'exhide' pack, so this attribute will only support the node which be shown.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Boolean Format

              -
              -

              true means: the node is last node.

              -

              false means: the node is not last node.

              -

              If the node has been hidden, isLastNode = false

              -
              -

              Examples of treeNode

              -

              1. Judge whether the first selected node is the sibling nodes's last node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isLastNode = sNodes[0].isLastNode;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isParent.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isParent.html deleted file mode 100644 index dad4b81..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.isParent.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.isParent

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Judge whether the node is the parent node.

              -

              1. When zTree initialize the node data, the node which has children is set to true, otherwise false.

              -

              2. When zTree initialize the node data, if set treeNode.isParent to true, the node will be set to be parent node.

              -

              3. In order to solve the problem of someone make json data, supporting "false", "true" format of the data string.

              -
              -
              -

              Boolean Format

              -
              -

              true means: the node is parent node.

              -

              false means: the node is not parent node.

              -
              -

              Examples of treeNode

              -

              1. Judge whether the first selected node is the parent node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isParent = sNodes[0].isParent;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.level.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.level.html deleted file mode 100644 index d151162..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.level.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              NumbertreeNode.level

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The level of node

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              Number Format

              -
              -

              The root node's level = 0, and next level = 1, ...

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's level

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var level = sNodes[0].level;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.name.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.name.html deleted file mode 100644 index fa508cc..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.name.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              StringtreeNode.name

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The node's name

              -

              1. If you want to change 'name' attribute, please modify the 'setting.data.key.name' attribute.

              -

              Default: undenfined

              -
              -
              -

              String Format

              -
              -

              String object. The HTML special characters are escaped

              -
              -

              Examples of treeNode

              -

              1. Set node's name to 'test1', 'test2', 'test3'

              -
              var nodes = [
              -	{ "id":1, "name":"test1"},
              -	{ "id":2, "name":"test2"},
              -	{ "id":3, "name":"test3"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.nocheck.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.nocheck.html deleted file mode 100644 index 6c4880c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.nocheck.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              BooleantreeNode.nocheck

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              1. Set node to hide the checkbox or radio. It is valid when [setting.check.enable = true]

              -

              2. zTree support identification string 'true' & 'false'.

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: the node hide the checkbox or radio, and don't affect the checked association, and don't affect its parent node's half-checked status.

              -

              false means: the node show the checkbox or radio.

              -
              -

              Examples of treeNode

              -

              1. Hide some node's checkbox / radio

              -
              var nodes = [
              -	{ "id":1, "name":"test1", "nocheck":true},
              -	{ "id":2, "name":"test2"},
              -	{ "id":3, "name":"test3"}
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.open.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.open.html deleted file mode 100644 index bc910de..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.open.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              BooleantreeNode.open

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to record the parent node's expand status.

              -

              1. When zTree initialize the node data, if you set treeNode.open = true, zTree will default expand this parent node.

              -

              2. Leaf node's 'open' attribute is false.

              -

              3. In order to solve the problem of someone make json data, supporting "false", "true" format of the data string.

              -

              4. When setting.async.enable = false, the parent node will be expanded which have no child nodes and its attribute 'open' is true. (v3.5.15+)

              -

              Default: false

              -
              -
              -

              Boolean Format

              -
              -

              true means: the parent node is expanded.

              -

              false means: the parent node is collapsed.

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's expand status.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var isOpen = sNodes[0].open;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.parentTId.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.parentTId.html deleted file mode 100644 index 0bc2a6d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.parentTId.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              StringtreeNode.parentTId

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The unique identifier of node's parent node.

              -

              1. zTree v3.x using 'parentTId' replaced the original 'parentNode' attribute, and increased getParentNode () method, in order to avoid the original 'parentNode' cause the clone () method infinite loop.

              -

              2. Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              String Format

              -
              -

              String object of node's parent node's tId. please see API about 'treeNode.tId'

              -

              If treeNode is root node, parentTId is null.

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's parent node's tId

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var parentTId = sNodes[0].parentTId;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.tId.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.tId.html deleted file mode 100644 index 18c2855..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.tId.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              StringtreeNode.tId

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The unique identifier of node.

              -

              Do not initialize or modify it, it is created by the zTree.

              -
              -
              -

              String Format

              -
              -

              tId rules: setting.treeId + "_" + zTree counter

              -
              -

              Examples of treeNode

              -

              1. Get the first selected node's tId

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var tId = sNodes[0].tId;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.target.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.target.html deleted file mode 100644 index 176a7a3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.target.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              StringtreeNode.target

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Used to set the target where the node is clicked to open url. It is valid when [treeNode.url exists]

              -

              Default: undefined

              -
              -
              -

              String Format

              -
              -

              As same as <a> tag's 'target' attribute. e.g. '_blank', '_self' or other window name.

              -

              if this attribute is omitted, zTree default set it to '_blank'

              -
              -

              Exmaples of treeNode

              -

              1. Set target is '_blank'

              -
              var nodes = [
              -	{ "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
              -	......
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.url.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.url.html deleted file mode 100644 index 5552445..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.url.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              StringtreeNode.url

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The URL of node link

              -

              1. In edit mode (setting.edit.enable = true) , this feature fails. If you must use a similar feature, please use the 'onClick' callback for their own control.

              -

              2. If you use the 'onClick' callback function to control opening URL , then set the URL in the other custom attribute, do not use the 'url' attribute.

              -

              Default: undefined

              -
              -
              -

              String Format

              -
              -

              As same as <a> tag's 'href' attribute.

              -
              -

              Examples of treeNode

              -

              1. Set the URL is 'g.cn'

              -
              var nodes = [
              -	{ "id":1, "name":"Google CN", "url":"http://g.cn"},
              -	......
              -]
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.zAsync.html b/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.zAsync.html deleted file mode 100644 index b3ff414..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/treeNode.zAsync.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              BooleantreeNode.zAsync

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Judge whether the parent node's child nodes will be loaded asynchronously when the parent node is expanded.

              -

              Do not initialize or modify it, it is created by the zTree.

              -

              Default:false (the parent node which have no child nodes); true (the parent node which have child nodes or the leaf node)

              -
              -
              -

              Boolean Format

              -
              -

              true means: the node's child nodes will not be loaded asynchronously when the parent node is expanded.

              -

              false means: the node's child nodes will be loaded asynchronously when the parent node is expanded.

              -

              This attribute will not effect to 'reAsyncChildNodes()' method

              -
              -

              Examples of treeNode

              -

              1. Judge whether the first selected node's child nodes has been loaded asynchronously

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var sNodes = treeObj.getSelectedNodes();
              -if (sNodes.length > 0) {
              -	var zAsync = sNodes[0].zAsync;
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.addNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.addNodes.html deleted file mode 100644 index c40caaf..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.addNodes.html +++ /dev/null @@ -1,47 +0,0 @@ -
              -
              -

              Function(parentNode, [index], newNodes, isSilent)zTreeObj.addNodes

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Add nodes

              -

              In order to avoid duplication data resulting from repeated initialization, zTree v3.x will automatically clone node data when zTree initialized or add nodes. If you need to get the data objects within the zTree, please get the return value of this method.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              parentNodeJSON

              -

              The additional node's parent node. If additional node is root node, please the parentNode is null.

              -

              Please ensure this node data object is a data object within zTree.

              -

              [index]Number

              -

              The index of the parentNode's children where the newnodes will be added (the value start from 0)

              -

              When index = -1, the newnodes will be added to the last

              -

              This parameter can be ignore.

              -

              v3.5.19+

              -

              newNodesJSON / Array(JSON)

              -

              The node data's JSON object collection which need to increase, refer to 'treeNode treeNode data details'

              -

              1. zTree v3.x support to add single node, that is, if you only add a node, you can don't use the array.

              -

              2. If you use simple data model, please refer to the attributes within the 'setting.data.simpleData'.

              -

              isSilentBoolean

              -

              Set whether to automatically expand the parent node, after add nodes.

              -

              isSilent = true means: don't auto expand the parent node. Otherwise auto expand.

              -

              Return Array(JSON)

              -

              return the new nodes in zTree

              -

              If the newNodes is single data object, the return value is a array with length is 1.

              -

              Note: the node data JSON object in the return value is not equal to the JSON object in the 'newNodes'.

              -
              -

              Examples of function

              -

              1. Add one root node to zTree which id is 'tree'

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var newNode = {name:"newNode1"};
              -newNode = treeObj.addNodes(null, newNode);
              -
              -

              2. Add three root nodes to zTree which id is 'tree'

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var newNodes = [{name:"newNode1"}, {name:"newNode2"}, {name:"newNode3"}];
              -newNodes = treeObj.addNodes(null, newNodes);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.cancelEditName.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.cancelEditName.html deleted file mode 100644 index 8afdae0..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.cancelEditName.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Function(newName)zTreeObj.cancelEditName

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Cancel the edit name status. Can restore the original name, and can also force assigned to a new name.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              newNameString

              -

              Re given a new name

              -

              If this parameter is omitted, then restore the original name.

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. Cancel edit name, and restore the original name.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.cancelEditName();
              -
              -

              2. Cancel edit name , and set the new name.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.cancelEditName("test_new_name");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.cancelSelectedNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.cancelSelectedNode.html deleted file mode 100644 index 84c6c80..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.cancelSelectedNode.html +++ /dev/null @@ -1,35 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.cancelSelectedNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              To cancel the selected node.

              -

              zTree v3.x support to select multiple nodes, so you can cancel a single selected node, and you can cancel all of the selected nodes too.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node which need to cancel selected.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              If you omit this parameter, zTree will cancel all of the selected nodes.

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. Cancel all of the selected nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.cancelSelectedNode();
              -
              -

              2. Cancel the first node of the selected nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) { 
              -	treeObj.cancelSelectedNode(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.checkAllNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.checkAllNodes.html deleted file mode 100644 index de00e11..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.checkAllNodes.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(checked)zTreeObj.checkAllNodes

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Check or unCheck all nodes which have been initialized. It is valid when [setting.check.enable = true & setting.check.chkStyle = "checkbox"]

              -

              This method does not trigger 'beforeCheck' or 'onCheck' callback function.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              checkedBoolean

              -

              checked = true means: check all nodes.

              -

              checked = false means: uncheck all nodes.

              -

              Don't affect the node which 'nocheck' attribute is true.

              -

              Don't affect the node is not loaded.

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. check all nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.checkAllNodes(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.checkNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.checkNode.html deleted file mode 100644 index 741eb3b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.checkNode.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Function(treeNode, checked, checkTypeFlag, callbackFlag)zTreeObj.checkNode

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Check or unCheck a single node. It is valid when [setting.check.enable = true]

              -

              Use checkNode() method of zTree v3.x can trigger 'beforeCheck' or 'onCheck' callback function. for reduce redundant code.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node which need to be checked or unchecked.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              checkedBoolean

              -

              checked = true means: check node.

              -

              checked = false means: uncheck node.

              -

              If this parameter is omitted, then toggle check or uncheck depend this node's expanded state.

              -

              Don't affect the node which 'nocheck' attribute is true.

              -

              checkTypeFlagBoolean

              -

              checkTypeFlag = true means: According to 'setting.check.chkboxType' attribute automatically check or uncheck the parent and child nodes.

              -

              checkTypeFlag = false means: only check or uncheck this node, don't affect its parent and child nodes.

              -

              When checkTypeFlag = false and treeNode.checked = checked, will not trigger callback function.

              -

              Don't affect the parent and child nodes which 'nocheck' attribute is true.

              -

              callbackFlagBoolean

              -

              callbackFlag = true means: call this method, will trigger 'beforeCheck' & 'onCheck' callback.

              -

              callbackFlag = false means: call this method, will not trigger callback.

              -

              If this parameter is omitted, it is same as 'callbackFlag = false'

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. check the selected nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -for (var i=0, l=nodes.length; i < l; i++) {
              -	treeObj.checkNode(nodes[i], true, true);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.copyNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.copyNode.html deleted file mode 100644 index ff7b5b5..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.copyNode.html +++ /dev/null @@ -1,47 +0,0 @@ -
              -
              -

              Function(targetNode, treeNode, moveType, isSilent)zTreeObj.copyNode

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Copy the node

              -

              When copy nodes, zTree v3.x will clone nodes. If you need to get the data object in zTree, please get the return value of this method.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              targetNodeJSON

              -

              JSON data object of the node to be target.

              -

              If copy the node to root node, please set the 'targetNode' to null.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              treeNodeJSON

              -

              JSON data object of the node to be copied.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              moveTypeString

              -

              Copied to the target node's relative position.

              -

              "inner" means: to be taregetNode's child node.

              -

              "prev" means: to be taregetNode's previous sibling node.

              -

              "next" means: to be taregetNode's next sibling node.

              -

              isSilentBoolean

              -

              After copy the node, whether to automatically expand its parent node.

              -

              isSilent = true means: don't expand its parent node.

              -

              isSilent = false or omit this parameter means: expand its parent node.

              -

              Return JSON

              -

              return the new node in zTree

              -

              Note: the node data JSON object in the return value is not equal to the treeNode.

              -
              -

              Examples of function

              -

              1. Copy the second root node to the first root node's child node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.copyNode(nodes[0], nodes[1], "inner");
              -
              -

              2. Copy the second root node to the first root node's previous sibling node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.copyNode(nodes[0], nodes[1], "before");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.destroy.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.destroy.html deleted file mode 100644 index 80c5281..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.destroy.html +++ /dev/null @@ -1,25 +0,0 @@ -
              -
              -

              Function(treeId)zTreeObj.destroy

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              From zTree v3.4, zTree support the method for destruction.

              -

              1. This method can destroy the zTreeObj's zTree.

              -

              2. If you want to destory all of the zTrees, you can use the '$.fn.zTree.destroy()' method.

              -

              3. If you want to use the tree which has been destroyed, you must use the 'init()' method at first.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. destroy the zTree which its id is 'treeDemo'

              -
              var zTreeObj = $.fn.zTree.getZTreeObj("treeDemo");
              -zTreeObj.destroy();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.editName.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.editName.html deleted file mode 100644 index f8df264..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.editName.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.editName

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Start editing the node's name.

              -

              1. If need to cancel editing the node's name, please use cancelEditName(newName) method.

              -

              2. This method can be used to set the editing node‘s input box to get focus.

              -

              3. Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node to be editing name

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              Retrun none

              -

              no return value

              -
              -

              Examples of function

              -

              1. Start editing the first selected node's name.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.editName(nodes[0]);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.expandAll.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.expandAll.html deleted file mode 100644 index ef28a31..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.expandAll.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Function(expandFlag)zTreeObj.expandAll

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Expand or collapse all nodes.

              -

              This method does not trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback function.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              expandFlagBoolean

              -

              expandFlag = true means: expand all nodes.

              -

              expandFlag = false means: collapse all nodes.

              -

              Return Boolean

              -

              return the result of expand or collapse.

              -

              true means: expand all nodes

              -

              false means: collapse all nodes

              -

              null means: have no parent node to expand or collapse.

              -
              -

              Examples of function

              -

              1. Expand all nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.expandAll(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.expandNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.expandNode.html deleted file mode 100644 index 01e7442..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.expandNode.html +++ /dev/null @@ -1,50 +0,0 @@ -
              -
              -

              Function(treeNode, expandFlag, sonSign, focus, callbackFlag)zTreeObj.expandNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Expand or collapse single node.

              -

              Use expandNode() method of zTree v3.x can trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback function. for reduce redundant code.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node to be expanded or collapsed

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              expandFlagBoolean

              -

              expandFlag = true means: expand the node.

              -

              expandFlag = false means: collapse the node.

              -

              If this parameter is omitted, then toggle expand or collapse depend this node's expanded state.

              -

              sonSignBoolean

              -

              sonSign = true means: expand or collapse all of the child nodes depend the 'expandFlag' parameter.

              -

              sonSign = false means: only expand or collapse this node.

              -

              When sonSign = false and treeNode.open = expandFlag, will not trigger the callback.

              -

              If this parameter is omitted, it is same as 'sonSign = false'.

              -

              focusBoolean

              -

              focus = true means: after expand or collapse, set the focus of this node for view.

              -

              focus = false means: after expand or coolapse, don't set the focus of this node.

              -

              If this parameter is omitted, it is same as 'focus = true'.

              -

              callbackFlagBoolean

              -

              callbackFlag = true means: call this method, will trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback.

              -

              callbackFlag = false means: call this method, will not trigger callback.

              -

              If this parameter is omitted, it is same as 'callbackFlag = false'

              -

              Return Boolean

              -

              return the result of expand or collapse.

              -

              true means: expand node

              -

              false means: collapse node

              -

              null means: the node is not parent node.

              -
              -

              Examples of function

              -

              1. Expand the first selected node. (and expand this node's child nodes)

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	treeObj.expandNode(nodes[0], true, true, true);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getChangeCheckedNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getChangeCheckedNodes.html deleted file mode 100644 index d0f9cf3..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getChangeCheckedNodes.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Function()zTreeObj.getChangeCheckedNodes

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Get the collection of nodes which be changed checked status. (Compared with the original data checkedOld) It is valid when [setting.check.enable = true]

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              Return Array(JSON)

              -

              return the collection of nodes which be changed checked status (Array)

              -

              If you need to get the collection of nodes which changed the checked status, when nodes be checked or unchecked, so please set treeNode.checkedOld = treeNode.checked ( for all of the be changed checked status nodes ).

              -
              -

              Examples of function

              -

              1. Get the collection of nodes which be changed checked status

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getChangeCheckedNodes();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getCheckedNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getCheckedNodes.html deleted file mode 100644 index 9e59b21..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getCheckedNodes.html +++ /dev/null @@ -1,28 +0,0 @@ -
              -
              -

              Function(checked)zTreeObj.getCheckedNodes

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Get the collection of nodes which be checked or unchecked. It is valid when [setting.check.enable = true]

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              checkedBoolean

              -

              checked = true means: get the collection of nodes which be checked

              -

              checked = false means: get the collection of nodes which be unchecked

              -

              If this parameter is omitted, it is same as 'checked = true'

              -

              Don't get the nodes which 'nocheck' attribute is true.

              -

              Return Array(JSON)

              -

              return the collection of nodes which be checked or unchecked. (Array)

              -
              -

              Examples of function

              -

              1. Get the collection of nodes which be checked.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getCheckedNodes(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeByParam.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeByParam.html deleted file mode 100644 index 05572e7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeByParam.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Function(key, value, parentNode)zTreeObj.getNodeByParam

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              According to the node data attribute, search the node which exactly matches, and get the JSON object of node.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              keyString

              -

              The name of attribute which need to exactly match

              -

              value?

              -

              The value which need to exactly match, can be any type, please ensure its type consistent with the attribute values.

              -

              parentNodeJSON

              -

              The search range, you can search node from a parent node's child nodes.

              -

              If this parameter is omitted, zTree will search node from all nodes.

              -

              Return JSON

              -

              JSON data object of the node which be searched.

              -

              1. If search none node, return null.

              -

              2. If there are many nodes can be searched, return the first node.

              -
              -

              Examples of function

              -

              1. Search the node which its 'id' attribute is 1.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodeByParam("id", 1, null);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeByTId.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeByTId.html deleted file mode 100644 index 8fd26ea..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeByTId.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function(tId)zTreeObj.getNodeByTId

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              According the unique identifier tId of zTree, quick get the node's JSON data object.

              -

              Get the node from the cache, don't need to search from all nodes.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              tIdString

              -

              The unique identifier of node.

              -

              Return JSON

              -

              JSON data object of the node which be searched.

              -

              If no result, return null.

              -
              -

              Examples of function

              -

              1. 1. Search the node which its 'tId' attribute is 'tree_10'

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodeByTId("tree_10");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeIndex.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeIndex.html deleted file mode 100644 index ad828e7..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodeIndex.html +++ /dev/null @@ -1,30 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.getNodeIndex

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get the node's index in the same level nodes. (start from 0)

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node which need to get index.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              Return Number

              -

              return the index. (start from 0)

              -

              If there is no this node, return -1.

              -
              -

              Examples of function

              -

              1. Get the first selected node's index in the same level nodes.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	var index = treeObj.getNodeIndex(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodes.html deleted file mode 100644 index 5906a43..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodes.html +++ /dev/null @@ -1,26 +0,0 @@ -
              -
              -

              Function()zTreeObj.getNodes

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get all of the nodes in zTree

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              Return Array(JSON)

              -

              return all of the nodes

              -

              1. This array is a collection of the root nodes (the default child nodes are in the 'children' attributes);

              -

              2. Traverse all the nodes need to use recursion, or the use of transformToArray() method make the nodes to be a simple array.

              -

              3. For the asynchronous loading mode, can't get the nodes which are yet loaded.

              -
              -

              Examples of function

              -

              1. Get all of the nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByFilter.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByFilter.html deleted file mode 100644 index 2cd6baa..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByFilter.html +++ /dev/null @@ -1,43 +0,0 @@ -
              -
              -

              Function(filter, isSingle, parentNode, invokeParam)zTreeObj.getNodesByFilter

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Search the single node's data or collection of nodes's data by custom rules.

              -

              Can be customized complex search rules.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              filterFunction

              -

              Custom search function. e.g. function filter(node) {...}

              -

              filter's parameter: node (node's data -- JSON)

              -

              filter's return: boolean (true means: match the rules; false means: don't match the rules)

              -

              isSingleBoolean

              -

              isSingle = true means: search only one node

              -

              isSingle = false means: search the array of the nodes

              -

              If this parameter is omitted, as same as false

              -

              parentNodeJSON

              -

              The search range, you can search node from a parent node's child nodes.

              -

              If this parameter is omitted, zTree will search node from all nodes.

              -

              invokeParamanything

              -

              Custom data object by user, used to calculate in the filter function.

              -

              Return Array(JSON) / JSON

              -

              If isSingle = true, will return the first node's data (JSON) what be matched. If no match, return null.

              -

              If isSingle = false, will return the array of all nodes's data what be matched. if no match, return [ ].

              -
              -

              Examples of function

              -

              1. Search the nodes which their 'name' contains 'test' and 'level' is 2.

              -
              function filter(node) {
              -    return (node.level == 2 && node.name.indexOf("test")>-1);
              -}
              -......
              -var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodesByFilter(filter, true); // search only one node
              -var nodes = treeObj.getNodesByFilter(filter); // search the array of the nodes
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByParam.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByParam.html deleted file mode 100644 index 3173af4..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByParam.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              Function(key, value, parentNode)zTreeObj.getNodesByParam

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              According to the node data attribute, search the nodes which exactly matches, and get the JSON objects collection of nodes.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              keyString

              -

              The name of attribute which need to exactly match

              -

              value?

              -

              The value which need to exactly match, can be any type, please ensure its type consistent with the attribute values.

              -

              parentNodeJSON

              -

              The search range, you can search node from a parent node's child nodes.

              -

              If this parameter is omitted, zTree will search node from all nodes.

              -

              Return Array(JSON)

              -

              The JSON data objects collection of the nodes which be searched.

              -

              If search none node, return [ ].

              -
              -

              Examples of function

              -

              1. Search the nodes which their 'name' attribute is 'test'.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodesByParam("name", "test", null);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByParamFuzzy.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByParamFuzzy.html deleted file mode 100644 index 14b6c29..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getNodesByParamFuzzy.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Function(key, value, parentNode)zTreeObj.getNodesByParamFuzzy

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              According to the node data attribute, search the nodes which fuzzy matches, and get the JSON objects collection of nodes.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              keyString

              -

              The name of attribute which need to fuzzy match

              -

              valueString

              -

              The value which need to fuzzy match.

              -

              The type of value can only be String

              -

              parentNodeJSON

              -

              The search range, you can search node from a parent node's child nodes.

              -

              If this parameter is omitted, zTree will search node from all nodes.

              -

              Return Array(JSON)

              -

              The JSON data objects collection of the nodes which be searched.

              -

              If search none node, return [ ].

              -
              -

              Examples of function

              -

              1. Search the nodes which their 'name' attribute contains the string 'test'.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodesByParamFuzzy("name", "test", null);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getSelectedNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getSelectedNodes.html deleted file mode 100644 index 4a0f060..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.getSelectedNodes.html +++ /dev/null @@ -1,23 +0,0 @@ -
              -
              -

              Function()zTreeObj.getSelectedNodes

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Get the JSON data objects collection of the selected nodes in zTree.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              Return Array(JSON)

              -

              The JSON data objects collection of the selected nodes.

              -
              -

              Examples of function

              -

              1. get the selected nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.hideNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.hideNode.html deleted file mode 100644 index 8ddb684..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.hideNode.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.hideNode

              -

              Overview[ depends on jquery.ztree.exhide js ]

              -
              -

              -
              -

              To hide any node.

              -

              1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

              -

              2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

              -

              3. Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node to be hidden

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              Retrun none

              -

              no return value

              -
              -

              Examples of function

              -

              1. hide the first root node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.hideNode(nodes[0]);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.hideNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.hideNodes.html deleted file mode 100644 index 9bf8e6b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.hideNodes.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNodes)zTreeObj.hideNodes

              -

              Overview[ depends on jquery.ztree.exhide js ]

              -
              -

              -
              -

              To hide a group of nodes.

              -

              1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

              -

              2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

              -

              3. Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodesArray(JSON)

              -

              the array of the nodes which will be hidden

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              Retrun none

              -

              no return value

              -
              -

              Examples of function

              -

              1. hide the first root node's children.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.hideNodes(nodes[0].children);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.moveNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.moveNode.html deleted file mode 100644 index 1f3b88c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.moveNode.html +++ /dev/null @@ -1,49 +0,0 @@ -
              -
              -

              Function(targetNode, treeNode, moveType, isSilent)zTreeObj.moveNode

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Move the node

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              targetNodeJSON

              -

              JSON data object of the node to be target.

              -

              If move the node to root node, please set the 'targetNode' to null.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              treeNodeJSON

              -

              JSON data object of the node to be moved.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              moveTypeString

              -

              Moved to the target node's relative position.

              -

              "inner" means: to be taregetNode's child node.

              -

              "prev" means: to be taregetNode's previous sibling node.

              -

              "next" means: to be taregetNode's next sibling node.

              -

              isSilentBoolean

              -

              After move the node, whether to automatically expand its parent node.

              -

              isSilent = true means: don't expand its parent node.

              -

              isSilent = false or omit this parameter means: expand its parent node.

              -

              Return JSON

              -

              return the node which be moved, it is same as the 'treeNode' parameter.

              -

              Return null means: move node has failed. The cause:
              -  1. the targetNode is the treeNode's parent node, and moveType = "inner"
              -  2. the targetNode is the treeNode's child node. -

              -
              -

              Examples of function

              -

              1. Move the second root node to the first root node's child node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.moveNode(nodes[0], nodes[1], "inner");
              -
              -

              2. Move the second root node to the first root node's previous sibling node.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -treeObj.moveNode(nodes[0], nodes[1], "prev");
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.reAsyncChildNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.reAsyncChildNodes.html deleted file mode 100644 index 9b9a930..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.reAsyncChildNodes.html +++ /dev/null @@ -1,48 +0,0 @@ -
              -
              -

              Function(parentNode, reloadType, isSilent, callback)zTreeObj.reAsyncChildNodes -

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Forced asynchronous loading child nodes of parent node. It is valid when [setting.async.enable = true] -

              -

              You can use this method to reload child nodes.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              parentNodeJSON

              -

              The parent node which will asynchronous loading child nodes.

              -

              1. If parentNode = null, it is same as reload root nodes.

              -

              2. If parentNode.isParent = false, don't load nodes.

              -

              3. Please ensure that this data object is an internal node data object in - zTree.

              -

              reloadTypeString

              -

              reloadType = "refresh" means: reload child nodes.

              -

              reloadType != "refresh" means: append to load child nodes.

              -

              isSilentBoolean

              -

              Set whether to automatically expand the parent node, after load nodes.

              -

              isSilent = true means: don't auto expand the parent node. Otherwise auto expand.

              -

              callbackfunction

              -

              zTree will trigger this callback() function after reAsyncChildNodes()

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. reload root nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.reAsyncChildNodes(null, "refresh");
              -
              -

              2. reload the first selected node's child nodes.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	treeObj.reAsyncChildNodes(nodes[0], "refresh");
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.reAsyncChildNodesPromise.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.reAsyncChildNodesPromise.html deleted file mode 100644 index 599e2af..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.reAsyncChildNodesPromise.html +++ /dev/null @@ -1,47 +0,0 @@ -
              -
              -

              Function(parentNode, reloadType, isSilent)zTreeObj.reAsyncChildNodesPromise -

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Forced asynchronous loading child nodes of parent node ( for ES6 Promise ). It is valid when [setting.async.enable = true] -

              -

              You can use this method to reload child nodes.

              -

              Please use zTree object to executing the method.

              -

              v3.5.29+

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              parentNodeJSON

              -

              The parent node which will asynchronous loading child nodes.

              -

              1. If parentNode = null, it is same as reload root nodes.

              -

              2. If parentNode.isParent = false, don't load nodes.

              -

              3. Please ensure that this data object is an internal node data object in - zTree.

              -

              reloadTypeString

              -

              reloadType = "refresh" means: reload child nodes.

              -

              reloadType != "refresh" means: append to load child nodes.

              -

              isSilentBoolean

              -

              Set whether to automatically expand the parent node, after load nodes.

              -

              isSilent = true means: don't auto expand the parent node. Otherwise auto expand.

              -

              Return ES6 Promise

              -

              Promise Object of ES6

              -
              -

              Examples of function

              -

              1. reload root nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.reAsyncChildNodes(null, "refresh");
              -
              -

              2. reload the first selected node's child nodes.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes.length>0) {
              -	treeObj.reAsyncChildNodes(nodes[0], "refresh");
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.refresh.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.refresh.html deleted file mode 100644 index 8316192..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.refresh.html +++ /dev/null @@ -1,24 +0,0 @@ -
              -
              -

              Function()zTreeObj.refresh

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Refresh zTree

              -

              If you have no special need, try not to use this method. If you refresh single node, please use updateNode() method. If you refresh child nodes in dynamic mode, please use the reAsyncChildNodes() method.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. refresh zTree

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.refresh();
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.removeChildNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.removeChildNodes.html deleted file mode 100644 index c249e17..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.removeChildNodes.html +++ /dev/null @@ -1,32 +0,0 @@ -
              -
              -

              Function(parentNode)zTreeObj.removeChildNodes

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Remove a parent node's child nodes

              -

              1. After remove child nodes, the parent node will become a leaf node. Such as the need to maintain the parent node is still a parent node, set 'setting.data.keep.parent' attribute.

              -

              2. Do not use this method to empty the root. If you need to empty the root, you can initialization zTree, and set the initial nodes is null.

              -

              3. This method does not trigger any callback function.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              parentNodeJSON

              -

              The parent node which need to clear its child nodes.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              Return Array(JSON)

              -

              Return the parent node's child nodes which have been removed. If has no child nodes, return null.

              -
              -

              Examples of function

              -

              1. Remove the first selected node's child nodes

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -if (nodes && nodes.length>0) {
              -	treeObj.removeChildNodes(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.removeNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.removeNode.html deleted file mode 100644 index 67ad7e2..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.removeNode.html +++ /dev/null @@ -1,34 +0,0 @@ -
              -
              -

              Function(treeNode, callbackFlag)zTreeObj.removeNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Remove a node

              -

              Use removeNode() method of zTree v3.x can trigger 'beforeRemove / onRemove' callback function. for reduce redundant code.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node to be removed.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              callbackFlagBoolean

              -

              callbackFlag = true means: call this method, will trigger 'beforeRemove' & 'onRemove' callback.

              -

              callbackFlag = false means: call this method, will not trigger callback.

              -

              If this parameter is omitted, it is same as 'callbackFlag = false'

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. Remove all of the selected nodes.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -for (var i=0, l=nodes.length; i < l; i++) {
              -	treeObj.removeNode(nodes[i]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.selectNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.selectNode.html deleted file mode 100644 index 45c4c10..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.selectNode.html +++ /dev/null @@ -1,37 +0,0 @@ -
              -
              -

              Function(treeNode, addFlag, isSilent)zTreeObj.selectNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Select a node

              -

              zTree v3.x supports select multiple nodes.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node to be selected.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              addFlagBoolean

              -

              addFlag = true means: append to select node, don't affect the previously selected node, can select multiple nodes.

              -

              addFlag = false (default) means: select single node, prior the selected node is deselected.

              -

              If setting.view.selectedMulti = false, this para, this parameter is not valid, always select single node

              -

              isSilent = true means: when you select node, zTree will not scroll the node into view.

              -

              isSilent = false (default) means: when you select node, zTree will scroll the node into view.

              -

              (v3.5.23+)

              -

              Return none

              -

              no return value

              -
              -

              Exampleso of function

              -

              1. Select single node which be first selected.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -if (nodes.length>0) {
              -	treeObj.selectNode(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setChkDisabled.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setChkDisabled.html deleted file mode 100644 index 30b5342..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setChkDisabled.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Function(node, disabled, inheritParent, inheritChildren)zTreeObj.setChkDisabled

              -

              Overview[ depends on jquery.ztree.excheck js ]

              -
              -

              -
              -

              Set the node's checkbox or radio is disabled or remove disabled. It is valid when [setting.check.enable = true]

              -

              1. After the node's checkbox / radio is disabled, it can not be checked or unchecked, but it can affect the half-checked status of the parent node.

              -

              2. Please do not directly modify the 'chkDisabled' attribute of the loaded node.

              -

              3. Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node which need to be checked or unchecked.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              disabledBoolean

              -

              disabled = true means: the node's checkbox / radio is disabled.

              -

              disabled = false means: the node's checkbox / radio is removed disabled.

              -

              If this parameter is omitted, it is same as disabled = false

              -

              Don't affect the node which 'nocheck' attribute is true.

              -

              inheritParentBoolean

              -

              inheritParent = true means: all parent nodes's disabled status will be same as this node.

              -

              inheritParent = false means: all parent nodes's disabled status will be not affected.

              -

              If this parameter is omitted, it is same as 'inheritParent = false'

              -

              inheritChildrenBoolean

              -

              inheritChildren = true means: all child nodes's disabled status will be same as this node.

              -

              inheritChildren = false means: all child nodes's disabled status will be not affected.

              -

              If this parameter is omitted, it is same as 'inheritChildren = false'

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. Set the selected nodes's checkbox / radio to disable.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getSelectedNodes();
              -for (var i=0, l=nodes.length; i < l; i++) {
              -	treeObj.setChkDisabled(nodes[i], true);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setEditable.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setEditable.html deleted file mode 100644 index a44b0ff..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setEditable.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function(editable)zTreeObj.setEditable

              -

              Overview[ depends on jquery.ztree.exedit js ]

              -
              -

              -
              -

              Edit mode and normal mode switch.

              -

              To use edit mode, please set the attributes in 'setting.edit'

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              editableBoolean

              -

              true means: set zTree to edit mode.

              -

              false means: set zTree to normal mode.

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. set zTree to edit mode

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -treeObj.setEditable(true);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setting.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setting.html deleted file mode 100644 index d80c139..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.setting.html +++ /dev/null @@ -1,14 +0,0 @@ -
              -
              -

              JSONzTreeObj.setting

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              The configuration data of zTree, refer to "setting details"

              -

              zTree v3.x to cancel the original operation setting method, so users can modify.

              -

              Note: Modify the parameters which affect zTree initialization will not work, please first understand the different attributes.

              -
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.showNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.showNode.html deleted file mode 100644 index 08b2a06..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.showNode.html +++ /dev/null @@ -1,31 +0,0 @@ -
              -
              -

              Function(treeNode)zTreeObj.showNode

              -

              Overview[ depends on jquery.ztree.exhide js ]

              -
              -

              -
              -

              To hide any node which be hidden.

              -

              1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

              -

              2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

              -

              3. Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodesArray(JSON)

              -

              JSON data object of the node to be shown

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              Retrun none

              -

              no return value

              -
              -

              Examples of function

              -

              1. show someone node which be hidden.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var node = treeObj.getNodeByParam("isHidden", true);
              -if (node) {
              -  treeObj.showNode(node);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.showNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.showNodes.html deleted file mode 100644 index c0c926c..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.showNodes.html +++ /dev/null @@ -1,29 +0,0 @@ -
              -
              -

              Function(treeNodes)zTreeObj.showNodes

              -

              Overview[ depends on jquery.ztree.exhide js ]

              -
              -

              -
              -

              To show a group of nodes which be hidden.

              -

              1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

              -

              2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

              -

              3. Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodesArray(JSON)

              -

              the array of the nodes which will be shown

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              Retrun none

              -

              no return value

              -
              -

              Examples of function

              -

              1. show all of the nodes which be hidden.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodesByParam("isHidden", true);
              -treeObj.showNodes(nodes);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.transformToArray.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.transformToArray.html deleted file mode 100644 index 4b2296d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.transformToArray.html +++ /dev/null @@ -1,27 +0,0 @@ -
              -
              -

              Function(treeNodes)zTreeObj.transformToArray

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              -

              Transform the zTree nodes data into simple array. (To avoid the user to write code to traverse all nodes)

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodesArray(JSON) / JSON

              -

              JSON data object of the node which need to be transformed.

              -

              or JSON data objects collection of the nodes which need to be transformed.

              -

              Return Array(JSON)

              -

              The JSON data objects array of the nodes which be transformed.

              -
              -

              Examples of function

              -

              1. Transform the zTree nodes data into simple array.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.transformToArray(treeObj.getNodes());
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.transformTozTreeNodes.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.transformTozTreeNodes.html deleted file mode 100644 index 7015016..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.transformTozTreeNodes.html +++ /dev/null @@ -1,44 +0,0 @@ -
              -
              -

              Function(simpleNodes)zTreeObj.transformTozTreeNodes

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Transform the simple array into zTree nodes data.

              -

              If you use this method, you must set 'setting.data.simpleData.idKey' and 'setting.data.simpleData.pIdKey' attribute, and let the data are consistent with parent-child relationship.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              simpleNodesArray(JSON) / JSON

              -

              JSON data object of the node which need to be transformed.

              -

              or JSON data objects array of the nodes which need to be transformed.

              -

              Return Array(JSON)

              -

              Standard data which zTree use. The child nodes are stored in the parent node's 'children' attribute.

              -

              If simpleNodes is a single JSON, so the return array's length is 1.

              -
              -

              Examples of function

              -

              1. Transform the simple array data into zTree nodes format.

              -
              var setting = {
              -	data: {
              -		simpleData: {
              -			enable: true,
              -			idKey: "id",
              -			pIdKey: "pId",
              -			rootPId: 0
              -		}
              -	}
              -};
              -var simpleNodes = [
              -    {"id":1, "pId":0, "name":"test1"},
              -    {"id":11, "pId":1, "name":"test11"},
              -    {"id":12, "pId":1, "name":"test12"},
              -    {"id":111, "pId":11, "name":"test111"}
              -];
              -var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.transformTozTreeNodes(simpleNodes);
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.updateNode.html b/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.updateNode.html deleted file mode 100644 index a914b12..0000000 --- a/admin/target/classes/static/lib/zTree_v3/api/en/zTreeObj.updateNode.html +++ /dev/null @@ -1,37 +0,0 @@ -
              -
              -

              Function(treeNode, checkTypeFlag)zTreeObj.updateNode

              -

              Overview[ depends on jquery.ztree.core js ]

              -
              -

              -
              -

              Update node data. Primarily used to update the node's DOM.

              -

              1. Can update the attributes for display (e.g. 'name', 'target', 'url', 'icon', 'iconSkin', 'checked', 'nocheck'), do not update the other attributes. For example: If you need to expand the node, please use expandNode() method, do not modify the 'open' attribute.

              -

              2. Use updateNode() method of zTree can't trigger 'beforeCheck' or 'onCheck' callback function.

              -

              Please use zTree object to executing the method.

              -
              -
              -

              Function Parameter Descriptions

              -
              -

              treeNodeJSON

              -

              JSON data object of the node which need to update.

              -

              Please ensure that this data object is an internal node data object in zTree.

              -

              checkTypeFlagBoolean

              -

              checkTypeFlag = true means: According to 'setting.check.chkboxType' attribute automatically check or uncheck the parent and child nodes.

              -

              checkTypeFlag = false means: only check or uncheck this node, don't affect its parent and child nodes.

              -

              This parameter is valid when 'setting.check.enable = true' and 'setting.check.chkStyle = "checkbox"'

              -

              Don't affect the parent and child nodes which 'nocheck' attribute is true.

              -

              Return none

              -

              no return value

              -
              -

              Examples of function

              -

              1. Modify the first selected node's name, and update it.

              -
              var treeObj = $.fn.zTree.getZTreeObj("tree");
              -var nodes = treeObj.getNodes();
              -if (nodes.length>0) {
              -	nodes[0].name = "test";
              -	treeObj.updateNode(nodes[0]);
              -}
              -
              -
              -
              \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/awesome.css b/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/awesome.css deleted file mode 100644 index c1fcf3a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/awesome.css +++ /dev/null @@ -1,386 +0,0 @@ -/*------------------------------------- -zTree Style using fontawesome instead of images - -version: 1.1 -author: Mike King -email: mikkelking @ hotmail . com -website: http://code.google.com/p/jquerytree/ - --------------------------------------*/ -/* Definitions ----------------------*/ -/* End of Definitions ---------------*/ -/* Imports -------------------------*/ -/* End of Imports ------------------*/ -.ztree * { - padding: 0; - margin: 0; - font-size: 12px; - font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif; - background-color: #af0000; -} -.ztree { - margin: 0; - padding: 5px; - color: #ffffff; - background-color: #af0000; -} -.ztree li { - padding: 0; - margin: 0; - list-style: none; - line-height: 17px; - text-align: left; - white-space: nowrap; - outline: 0; -} -.ztree li ul { - margin: 0px; - padding: 0 0 0 18px; -} -.ztree li a { - padding-right: 3px; - margin: 0; - cursor: pointer; - height: 17px; - color: #ffffff; - background-color: transparent; - text-decoration: none; - vertical-align: top; - display: inline-block; -} -.ztree li a input.rename { - height: 14px; - width: 80px; - padding: 0; - margin: 0; - color: #af0000; - background-color: #ffffff; - font-size: 12px; - border: 1px #585956 solid; - *border: 0px; -} -.ztree li a:hover { - text-decoration: underline; -} -.ztree li a.curSelectedNode { - padding-top: 0px; - background-color: #af4040; - color: #ffff00; - height: 17px; - opacity: 0.8; -} -.ztree li a.curSelectedNode_Edit { - padding-top: 0px; - background-color: transparent; - color: #ffff00; - height: 17px; - border: 1px #666 solid; - opacity: 0.8; -} -.ztree li a.tmpTargetNode_inner { - padding-top: 0px; - background-color: #aaa; - color: #ffff00; - height: 17px; - border: 1px #666 solid; - opacity: 0.8; - filter: alpha(opacity=80); -} -.ztree li span { - line-height: 17px; - margin-right: 2px; - background-color: transparent; -} -.ztree li span.button { - line-height: 0; - margin: 0; - padding: 0; - width: 15px; - height: 17px; - display: inline-block; - vertical-align: top; - border: 0px solid; - cursor: pointer; - outline: none; - background-color: transparent; - background-repeat: no-repeat; - background-attachment: scroll; -} -.ztree li span.button::before { - color: #ffffff; - font-family: FontAwesome; - padding-top: 10px; -} -.ztree li span.button.chk { - margin: 0px; - cursor: auto; - width: 12px; - display: inline-block; - padding-top: 10px; - padding-left: 2px; -} -.ztree li span.button.chk.checkbox_false_full::before { - content: "\f096"; -} -.ztree li span.button.chk.checkbox_false_full_focus::before { - content: "\f096"; - color: #ffff00; -} -.ztree li span.button.chk.checkbox_false_part::before { - content: "\f096"; - color: #aaaaaa; -} -.ztree li span.button.chk.checkbox_false_part_focus::before { - content: "\f096"; - color: #cad96c; -} -.ztree li span.button.chk.checkbox_false_disable::before { - content: "\f096"; - color: #808080; -} -.ztree li span.button.chk.checkbox_true_full::before { - content: "\f046"; -} -.ztree li span.button.chk.checkbox_true_full_focus::before { - content: "\f046"; -} -.ztree li span.button.chk.checkbox_true_part::before { - content: "\f14a"; -} -.ztree li span.button.chk.checkbox_true_part_focus::before { - content: "\f14a"; - color: #ffff00; -} -.ztree li span.button.chk.checkbox_true_full_focus::before { - content: "\f046"; - color: #ffff00; -} -.ztree li span.button.chk.checkbox_true_part::before { - content: "\f046"; - color: #aaaaaa; -} -.ztree li span.button.chk.checkbox_true_part_focus::before { - content: "\f046"; - color: #cad96c; -} -.ztree li span.button.chk.checkbox_true_disable::before { - content: "\f046"; - color: #808080; -} -.ztree li span.button.chk.radio_false_full::before { - content: "\f10c"; -} -.ztree li span.button.chk.radio_false_full_focus::before { - content: "\f10c"; - color: #ffff00; -} -.ztree li span.button.chk.radio_false_part::before { - content: "\f10c"; - color: #aaaaaa; -} -.ztree li span.button.chk.radio_false_part_focus::before { - content: "\f10c"; - color: #ffff00; -} -.ztree li span.button.chk.radio_false_disable::before { - content: "\f1db"; - color: #808080; -} -.ztree li span.button.chk.radio_true_full::before { - content: "\f192"; -} -.ztree li span.button.chk.radio_true_full_focus::before { - content: "\f192"; - color: #ffff00; -} -.ztree li span.button.chk.radio_true_part::before { - content: "\f192"; - color: #aaaaaa; -} -.ztree li span.button.chk.radio_true_part_focus::before { - content: "\f192"; - color: #aaaaaa; -} -.ztree li span.button.chk.radio_true_disable::before { - content: "\f1db"; - color: #808080; -} -.ztree li span.button.switch { - width: 15px; - height: 17px; -} -.ztree li span.button.root_open::before { - content: "\f078"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.root_close::before { - content: "\f115"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.roots_open::before { - content: "\f078"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.roots_close::before { - content: "\f054"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.center_open::before { - content: "\f078"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.center_close::before { - content: "\f054"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.bottom_open::before { - content: "\f078"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.bottom_close::before { - content: "\f054"; - padding-top: 10px; - padding-left: 2px; - display: inline-block; -} -.ztree li span.button.root_docu { - background: none; -} -.ztree li span.button.roots_docu::before { - content: "\f022"; - padding-left: 2px; - display: inline-block; - color: #ffffff; -} -.ztree li span.button.center_docu::before { - padding-top: 10px; - padding-left: 2px; - display: inline-block; - color: #ffffff; -} -.ztree li span.button.bottom_docu::before { - padding-top: 10px; - padding-left: 2px; - display: inline-block; - color: #ffffff; -} -.ztree li span.button.noline_docu { - background: none; -} -.ztree li span.button.ico_open::before { - content: "\f115"; - font-family: FontAwesome; - padding-top: 10px; - padding-left: 2px; - display: inline-block; - color: #ffffff; -} -.ztree li span.button.ico_close::before { - content: "\f114"; - font-family: FontAwesome; - padding-top: 10px; - padding-left: 2px; - display: inline-block; - color: #ffffff; -} -.ztree li span.button.ico_docu::before { - content: "\f022"; - font-family: FontAwesome; - padding-top: 10px; - padding-left: 2px; - display: inline-block; - color: #ffffff; -} -.ztree li span.button.edit { - margin-left: 4px; - margin-right: -1px; - vertical-align: top; - *vertical-align: middle; - padding-top: 10px; -} -.ztree li span.button.edit::before { - content: "\f044"; - font-family: FontAwesome; -} -.ztree li span.button.remove { - margin-left: 4px; - margin-right: -1px; - vertical-align: top; - *vertical-align: middle; - padding-top: 10px; -} -.ztree li span.button.remove::before { - content: "\f1f8"; - font-family: FontAwesome; -} -.ztree li span.button.add { - margin-left: 4px; - margin-right: -1px; - vertical-align: top; - *vertical-align: middle; - padding-top: 10px; -} -.ztree li span.button.add::before { - content: "\f067"; - font-family: FontAwesome; -} -.ztree li span.button.ico_loading { - margin-right: 2px; - background: url(./img/loading.gif) no-repeat scroll 0 0 transparent; - vertical-align: top; - *vertical-align: middle; -} -ul.tmpTargetzTree { - background-color: #FFE6B0; - opacity: 0.8; - filter: alpha(opacity=80); -} -span.tmpzTreeMove_arrow { - width: 16px; - height: 17px; - display: inline-block; - padding: 0; - margin: 2px 0 0 1px; - border: 0 none; - position: absolute; - background-color: transparent; - background-attachment: scroll; -} -span.tmpzTreeMove_arrow::before { - content: "\f04b"; - font-family: FontAwesome; - color: #ffff00; -} -ul.ztree.zTreeDragUL { - margin: 0; - padding: 0; - position: absolute; - width: auto; - height: auto; - overflow: hidden; - background-color: #cfcfcf; - border: 1px #ffff00 dotted; - opacity: 0.8; - filter: alpha(opacity=80); -} -.ztreeMask { - z-index: 10000; - background-color: #cfcfcf; - opacity: 0.0; - filter: alpha(opacity=0); - position: absolute; -} diff --git a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/awesome.less b/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/awesome.less deleted file mode 100644 index b282d81..0000000 --- a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/awesome.less +++ /dev/null @@ -1,146 +0,0 @@ -/*------------------------------------- -zTree Style using fontawesome instead of images - -version: 1.1 -author: Mike King -email: mikkelking @ hotmail . com -website: http://code.google.com/p/jquerytree/ - --------------------------------------*/ - -/* Definitions ----------------------*/ -@font-size: 12px; -// Regular icon and text color is white, which suits any medium -> dark background -@color-normal: white; -// Background color -@color-bg: #af0000; -// Highlight color -@color-highlight: yellow; -// Partially selected (checkboxes, radio buttons) -@color-partial: #aaaaaa; -// Partially selected and focused (checkboxes, radio buttons) -@color-partfocus: #cad96c; -// Disabled altogether -@color-disabled: #808080; -// Editing color -@color-edit: yellow; -@w: 15px; -@h: 17px; -@pad-left: 2px; -@pad-top: 10px; -/* End of Definitions ---------------*/ - -/* Imports -------------------------*/ -@import "fa.less"; -/* End of Imports ------------------*/ - -.ztree * {padding:0; margin:0; font-size:@font-size; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif; background-color: @color-bg;} -.ztree { - margin:0; padding:5px; color:@color-normal; background-color: @color-bg; - li { - padding:0; margin:0; list-style:none; line-height:17px; text-align:left; white-space:nowrap; outline:0; - ul { - margin: 0px; padding:0 0 0 18px; - } - ul.line { } - a {padding-right:3px; margin:0; cursor:pointer; height:@h; color:@color-normal; background-color: transparent; - text-decoration:none; vertical-align:top; display: inline-block; - input.rename {height:14px; width:80px; padding:0; margin:0; - color: @color-bg; background-color: @color-normal; - font-size:@font-size; border:1px #585956 solid; *border:0px} - } - a:hover {text-decoration:underline} - a.curSelectedNode {padding-top:0px; background-color:#af4040; color:@color-highlight; height:@h; opacity:0.8;} - a.curSelectedNode_Edit {padding-top:0px; background-color:transparent; color:@color-highlight; height:@h; border:1px #666 solid; opacity:0.8;} - a.tmpTargetNode_inner {padding-top:0px; background-color:#aaa; color:@color-highlight; height:@h; border:1px #666 solid; - opacity:0.8; filter:alpha(opacity=80)} - a.tmpTargetNode_prev {} - a.tmpTargetNode_next {} - span {line-height:@h; margin-right:2px; background-color:transparent;} - span.button {line-height:0; margin:0; padding: 0; width:@w; height:@h; display: inline-block; vertical-align:top; - border:0px solid; cursor: pointer;outline:none; - background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; - - &::before{color: @color-normal; font-family: FontAwesome; padding-top:@pad-top;} - &.chk { margin:0px; cursor: auto; width: 12px; - display: inline-block;padding-top:@pad-top;padding-left:@pad-left; - - &.checkbox_false_full::before {content: @fa-square-o;} - &.checkbox_false_full_focus::before {content: @fa-square-o; color:@color-highlight;} - &.checkbox_false_part::before {content: @fa-square-o;color: @color-partial;} - &.checkbox_false_part_focus::before {content: @fa-square-o; color:@color-partfocus;} - &.checkbox_false_disable::before {content: @fa-square-o; color:@color-disabled;} - &.checkbox_true_full::before {content: @fa-check-square-o;} - &.checkbox_true_full_focus::before {content: @fa-check-square-o;} - &.checkbox_true_part::before {content: @fa-check-square;} - &.checkbox_true_part_focus::before {content: @fa-check-square; color: @color-highlight} - &.checkbox_true_full_focus::before {content: @fa-check-square-o; color: @color-highlight} - &.checkbox_true_part::before {content: @fa-check-square-o;color: @color-partial} - &.checkbox_true_part_focus::before {content: @fa-check-square-o;color: @color-partfocus;} - &.checkbox_true_disable::before {content: @fa-check-square-o;color: @color-disabled} - - &.radio_false_full::before {content: @fa-circle-o;} - &.radio_false_full_focus::before {content: @fa-circle-o;color: @color-highlight} - &.radio_false_part::before {content: @fa-circle-o;color: @color-partial} - &.radio_false_part_focus::before {content: @fa-circle-o;color: @color-highlight} - &.radio_false_disable::before {content: @fa-circle-thin;color: @color-disabled} - &.radio_true_full::before {content: @fa-dot-circle-o;} - &.radio_true_full_focus::before {content: @fa-dot-circle-o;color: @color-highlight} - &.radio_true_part::before {content: @fa-dot-circle-o;color: @color-partial} - &.radio_true_part_focus::before {content: @fa-dot-circle-o;color: @color-partial;} - &.radio_true_disable::before {content: @fa-circle-thin;color: @color-disabled} - - } - &.switch {width:@w; height:@h} - &.root_open::before{content: @fa-chevron-down;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.root_close::before{content: @fa-folder-open-o;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.roots_open::before{content: @fa-chevron-down;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.roots_close::before{content: @fa-chevron-right;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.center_open::before{content: @fa-chevron-down;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.center_close::before{content: @fa-chevron-right;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.bottom_open::before{content: @fa-chevron-down;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.bottom_close::before{content: @fa-chevron-right;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;} - &.noline_open{} - &.noline_close{} - &.root_docu{ background:none;} - &.roots_docu::before{content: @fa-list-alt;padding-left:@pad-left;display: inline-block;color:@color-normal;} - &.center_docu::before{padding-top:@pad-top;padding-left:@pad-left;display: inline-block;color:@color-normal;} - &.bottom_docu::before{padding-top:@pad-top;padding-left:@pad-left;display: inline-block;color:@color-normal;} - &.noline_docu{ background:none;} - - &.ico_open::before {content: @fa-folder-open-o;font-family: FontAwesome;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;color:@color-normal;} - &.ico_close::before {content: @fa-folder-o;font-family: FontAwesome;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;color:@color-normal;} - &.ico_docu::before{content: @fa-list-alt;font-family: FontAwesome;padding-top:@pad-top;padding-left:@pad-left;display: inline-block;color:@color-normal;} - - &.edit {margin-left:4px; margin-right: -1px; vertical-align:top; *vertical-align:middle;padding-top:@pad-top;} - &.edit::before{content: @fa-pencil-square-o;font-family: FontAwesome;} - - &.remove {margin-left:4px; margin-right: -1px; vertical-align:top; *vertical-align:middle;padding-top:@pad-top;} - &.remove::before{content: @fa-trash;font-family: FontAwesome;} - - - &.add {margin-left:4px; margin-right: -1px; vertical-align:top; *vertical-align:middle;padding-top:@pad-top;} - &.add::before{content: @fa-plus;font-family: FontAwesome;} - - &.ico_loading{margin-right:2px; background:url(./img/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle} - } - - } -} - - -ul.tmpTargetzTree {background-color:#FFE6B0; opacity:0.8; filter:alpha(opacity=80)} - -// this is the arrow that moves -span.tmpzTreeMove_arrow{width:16px; height:@h; display: inline-block; - padding:0; margin:2px 0 0 1px; border:0 none; position:absolute; - background-color:transparent; background-attachment: scroll; - } -span.tmpzTreeMove_arrow::before{content: @fa-play;font-family: FontAwesome;color: @color-highlight; - } -// outline - -ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height:auto;overflow:hidden; - background-color:#cfcfcf; border:1px @color-highlight dotted; opacity:0.8; filter:alpha(opacity=80)} -.ztreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute} - diff --git a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/fa.less b/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/fa.less deleted file mode 100644 index 3714884..0000000 --- a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/fa.less +++ /dev/null @@ -1,480 +0,0 @@ -@fa-glass: "\f000"; -@fa-music: "\f001"; -@fa-search: "\f002"; -@fa-envelope-o: "\f003"; -@fa-heart: "\f004"; -@fa-star: "\f005"; -@fa-star-o: "\f006"; -@fa-user: "\f007"; -@fa-film: "\f008"; -@fa-th-large: "\f009"; -@fa-th: "\f00a"; -@fa-th-list: "\f00b"; -@fa-check: "\f00c"; -@fa-times: "\f00d"; -@fa-search-plus: "\f00e"; -@fa-search-minus: "\f010"; -@fa-power-off: "\f011"; -@fa-signal: "\f012"; -@fa-cog: "\f013"; -@fa-trash-o: "\f014"; -@fa-home: "\f015"; -@fa-file-o: "\f016"; -@fa-clock-o: "\f017"; -@fa-road: "\f018"; -@fa-download: "\f019"; -@fa-arrow-circle-o-down: "\f01a"; -@fa-arrow-circle-o-up: "\f01b"; -@fa-inbox: "\f01c"; -@fa-play-circle-o: "\f01d"; -@fa-repeat: "\f01e"; -@fa-refresh: "\f021"; -@fa-list-alt: "\f022"; -@fa-lock: "\f023"; -@fa-flag: "\f024"; -@fa-headphones: "\f025"; -@fa-volume-off: "\f026"; -@fa-volume-down: "\f027"; -@fa-volume-up: "\f028"; -@fa-qrcode: "\f029"; -@fa-barcode: "\f02a"; -@fa-tag: "\f02b"; -@fa-tags: "\f02c"; -@fa-book: "\f02d"; -@fa-bookmark: "\f02e"; -@fa-print: "\f02f"; -@fa-camera: "\f030"; -@fa-font: "\f031"; -@fa-bold: "\f032"; -@fa-italic: "\f033"; -@fa-text-height: "\f034"; -@fa-text-width: "\f035"; -@fa-align-left: "\f036"; -@fa-align-center: "\f037"; -@fa-align-right: "\f038"; -@fa-align-justify: "\f039"; -@fa-list: "\f03a"; -@fa-outdent: "\f03b"; -@fa-indent: "\f03c"; -@fa-video-camera: "\f03d"; -@fa-picture-o: "\f03e"; -@fa-pencil: "\f040"; -@fa-map-marker: "\f041"; -@fa-adjust: "\f042"; -@fa-tint: "\f043"; -@fa-pencil-square-o: "\f044"; -@fa-share-square-o: "\f045"; -@fa-check-square-o: "\f046"; -@fa-arrows: "\f047"; -@fa-step-backward: "\f048"; -@fa-fast-backward: "\f049"; -@fa-backward: "\f04a"; -@fa-play: "\f04b"; -@fa-pause: "\f04c"; -@fa-stop: "\f04d"; -@fa-forward: "\f04e"; -@fa-fast-forward: "\f050"; -@fa-step-forward: "\f051"; -@fa-eject: "\f052"; -@fa-chevron-left: "\f053"; -@fa-chevron-right: "\f054"; -@fa-plus-circle: "\f055"; -@fa-minus-circle: "\f056"; -@fa-times-circle: "\f057"; -@fa-check-circle: "\f058"; -@fa-question-circle: "\f059"; -@fa-info-circle: "\f05a"; -@fa-crosshairs: "\f05b"; -@fa-times-circle-o: "\f05c"; -@fa-check-circle-o: "\f05d"; -@fa-ban: "\f05e"; -@fa-arrow-left: "\f060"; -@fa-arrow-right: "\f061"; -@fa-arrow-up: "\f062"; -@fa-arrow-down: "\f063"; -@fa-share: "\f064"; -@fa-expand: "\f065"; -@fa-compress: "\f066"; -@fa-plus: "\f067"; -@fa-minus: "\f068"; -@fa-asterisk: "\f069"; -@fa-exclamation-circle: "\f06a"; -@fa-gift: "\f06b"; -@fa-leaf: "\f06c"; -@fa-fire: "\f06d"; -@fa-eye: "\f06e"; -@fa-eye-slash: "\f070"; -@fa-exclamation-triangle: "\f071"; -@fa-plane: "\f072"; -@fa-calendar: "\f073"; -@fa-random: "\f074"; -@fa-comment: "\f075"; -@fa-magnet: "\f076"; -@fa-chevron-up: "\f077"; -@fa-chevron-down: "\f078"; -@fa-retweet: "\f079"; -@fa-shopping-cart: "\f07a"; -@fa-folder: "\f07b"; -@fa-folder-open: "\f07c"; -@fa-arrows-v: "\f07d"; -@fa-arrows-h: "\f07e"; -@fa-bar-chart: "\f080"; -@fa-twitter-square: "\f081"; -@fa-facebook-square: "\f082"; -@fa-camera-retro: "\f083"; -@fa-key: "\f084"; -@fa-cogs: "\f085"; -@fa-comments: "\f086"; -@fa-thumbs-o-up: "\f087"; -@fa-thumbs-o-down: "\f088"; -@fa-star-half: "\f089"; -@fa-heart-o: "\f08a"; -@fa-sign-out: "\f08b"; -@fa-linkedin-square: "\f08c"; -@fa-thumb-tack: "\f08d"; -@fa-external-link: "\f08e"; -@fa-sign-in: "\f090"; -@fa-trophy: "\f091"; -@fa-github-square: "\f092"; -@fa-upload: "\f093"; -@fa-lemon-o: "\f094"; -@fa-phone: "\f095"; -@fa-square-o: "\f096"; -@fa-bookmark-o: "\f097"; -@fa-phone-square: "\f098"; -@fa-twitter: "\f099"; -@fa-facebook: "\f09a"; -@fa-github: "\f09b"; -@fa-unlock: "\f09c"; -@fa-credit-card: "\f09d"; -@fa-rss: "\f09e"; -@fa-hdd-o: "\f0a0"; -@fa-bullhorn: "\f0a1"; -@fa-bell: "\f0f3"; -@fa-certificate: "\f0a3"; -@fa-hand-o-right: "\f0a4"; -@fa-hand-o-left: "\f0a5"; -@fa-hand-o-up: "\f0a6"; -@fa-hand-o-down: "\f0a7"; -@fa-arrow-circle-left: "\f0a8"; -@fa-arrow-circle-right: "\f0a9"; -@fa-arrow-circle-up: "\f0aa"; -@fa-arrow-circle-down: "\f0ab"; -@fa-globe: "\f0ac"; -@fa-wrench: "\f0ad"; -@fa-tasks: "\f0ae"; -@fa-filter: "\f0b0"; -@fa-briefcase: "\f0b1"; -@fa-arrows-alt: "\f0b2"; -@fa-users: "\f0c0"; -@fa-link: "\f0c1"; -@fa-cloud: "\f0c2"; -@fa-flask: "\f0c3"; -@fa-scissors: "\f0c4"; -@fa-files-o: "\f0c5"; -@fa-paperclip: "\f0c6"; -@fa-floppy-o: "\f0c7"; -@fa-square: "\f0c8"; -@fa-bars: "\f0c9"; -@fa-list-ul: "\f0ca"; -@fa-list-ol: "\f0cb"; -@fa-strikethrough: "\f0cc"; -@fa-underline: "\f0cd"; -@fa-table: "\f0ce"; -@fa-magic: "\f0d0"; -@fa-truck: "\f0d1"; -@fa-pinterest: "\f0d2"; -@fa-pinterest-square: "\f0d3"; -@fa-google-plus-square: "\f0d4"; -@fa-google-plus: "\f0d5"; -@fa-money: "\f0d6"; -@fa-caret-down: "\f0d7"; -@fa-caret-up: "\f0d8"; -@fa-caret-left: "\f0d9"; -@fa-caret-right: "\f0da"; -@fa-columns: "\f0db"; -@fa-sort: "\f0dc"; -@fa-sort-desc: "\f0dd"; -@fa-sort-asc: "\f0de"; -@fa-envelope: "\f0e0"; -@fa-linkedin: "\f0e1"; -@fa-undo: "\f0e2"; -@fa-gavel: "\f0e3"; -@fa-tachometer: "\f0e4"; -@fa-comment-o: "\f0e5"; -@fa-comments-o: "\f0e6"; -@fa-bolt: "\f0e7"; -@fa-sitemap: "\f0e8"; -@fa-umbrella: "\f0e9"; -@fa-clipboard: "\f0ea"; -@fa-lightbulb-o: "\f0eb"; -@fa-exchange: "\f0ec"; -@fa-cloud-download: "\f0ed"; -@fa-cloud-upload: "\f0ee"; -@fa-user-md: "\f0f0"; -@fa-stethoscope: "\f0f1"; -@fa-suitcase: "\f0f2"; -@fa-bell-o: "\f0a2"; -@fa-coffee: "\f0f4"; -@fa-cutlery: "\f0f5"; -@fa-file-text-o: "\f0f6"; -@fa-building-o: "\f0f7"; -@fa-hospital-o: "\f0f8"; -@fa-ambulance: "\f0f9"; -@fa-medkit: "\f0fa"; -@fa-fighter-jet: "\f0fb"; -@fa-beer: "\f0fc"; -@fa-h-square: "\f0fd"; -@fa-plus-square: "\f0fe"; -@fa-angle-double-left: "\f100"; -@fa-angle-double-right: "\f101"; -@fa-angle-double-up: "\f102"; -@fa-angle-double-down: "\f103"; -@fa-angle-left: "\f104"; -@fa-angle-right: "\f105"; -@fa-angle-up: "\f106"; -@fa-angle-down: "\f107"; -@fa-desktop: "\f108"; -@fa-laptop: "\f109"; -@fa-tablet: "\f10a"; -@fa-mobile: "\f10b"; -@fa-circle-o: "\f10c"; -@fa-quote-left: "\f10d"; -@fa-quote-right: "\f10e"; -@fa-spinner: "\f110"; -@fa-circle: "\f111"; -@fa-reply: "\f112"; -@fa-github-alt: "\f113"; -@fa-folder-o: "\f114"; -@fa-folder-open-o: "\f115"; -@fa-smile-o: "\f118"; -@fa-frown-o: "\f119"; -@fa-meh-o: "\f11a"; -@fa-gamepad: "\f11b"; -@fa-keyboard-o: "\f11c"; -@fa-flag-o: "\f11d"; -@fa-flag-checkered: "\f11e"; -@fa-terminal: "\f120"; -@fa-code: "\f121"; -@fa-reply-all: "\f122"; -@fa-star-half-o: "\f123"; -@fa-location-arrow: "\f124"; -@fa-crop: "\f125"; -@fa-code-fork: "\f126"; -@fa-chain-broken: "\f127"; -@fa-question: "\f128"; -@fa-info: "\f129"; -@fa-exclamation: "\f12a"; -@fa-superscript: "\f12b"; -@fa-subscript: "\f12c"; -@fa-eraser: "\f12d"; -@fa-puzzle-piece: "\f12e"; -@fa-microphone: "\f130"; -@fa-microphone-slash: "\f131"; -@fa-shield: "\f132"; -@fa-calendar-o: "\f133"; -@fa-fire-extinguisher: "\f134"; -@fa-rocket: "\f135"; -@fa-maxcdn: "\f136"; -@fa-chevron-circle-left: "\f137"; -@fa-chevron-circle-right: "\f138"; -@fa-chevron-circle-up: "\f139"; -@fa-chevron-circle-down: "\f13a"; -@fa-html5: "\f13b"; -@fa-css3: "\f13c"; -@fa-anchor: "\f13d"; -@fa-unlock-alt: "\f13e"; -@fa-bullseye: "\f140"; -@fa-ellipsis-h: "\f141"; -@fa-ellipsis-v: "\f142"; -@fa-rss-square: "\f143"; -@fa-play-circle: "\f144"; -@fa-ticket: "\f145"; -@fa-minus-square: "\f146"; -@fa-minus-square-o: "\f147"; -@fa-level-up: "\f148"; -@fa-level-down: "\f149"; -@fa-check-square: "\f14a"; -@fa-pencil-square: "\f14b"; -@fa-external-link-square: "\f14c"; -@fa-share-square: "\f14d"; -@fa-compass: "\f14e"; -@fa-caret-square-o-down: "\f150"; -@fa-caret-square-o-up: "\f151"; -@fa-caret-square-o-right: "\f152"; -@fa-eur: "\f153"; -@fa-gbp: "\f154"; -@fa-usd: "\f155"; -@fa-inr: "\f156"; -@fa-jpy: "\f157"; -@fa-rub: "\f158"; -@fa-krw: "\f159"; -@fa-btc: "\f15a"; -@fa-file: "\f15b"; -@fa-file-text: "\f15c"; -@fa-sort-alpha-asc: "\f15d"; -@fa-sort-alpha-desc: "\f15e"; -@fa-sort-amount-asc: "\f160"; -@fa-sort-amount-desc: "\f161"; -@fa-sort-numeric-asc: "\f162"; -@fa-sort-numeric-desc: "\f163"; -@fa-thumbs-up: "\f164"; -@fa-thumbs-down: "\f165"; -@fa-youtube-square: "\f166"; -@fa-youtube: "\f167"; -@fa-xing: "\f168"; -@fa-xing-square: "\f169"; -@fa-youtube-play: "\f16a"; -@fa-dropbox: "\f16b"; -@fa-stack-overflow: "\f16c"; -@fa-instagram: "\f16d"; -@fa-flickr: "\f16e"; -@fa-adn: "\f170"; -@fa-bitbucket: "\f171"; -@fa-bitbucket-square: "\f172"; -@fa-tumblr: "\f173"; -@fa-tumblr-square: "\f174"; -@fa-long-arrow-down: "\f175"; -@fa-long-arrow-up: "\f176"; -@fa-long-arrow-left: "\f177"; -@fa-long-arrow-right: "\f178"; -@fa-apple: "\f179"; -@fa-windows: "\f17a"; -@fa-android: "\f17b"; -@fa-linux: "\f17c"; -@fa-dribbble: "\f17d"; -@fa-skype: "\f17e"; -@fa-foursquare: "\f180"; -@fa-trello: "\f181"; -@fa-female: "\f182"; -@fa-male: "\f183"; -@fa-gittip: "\f184"; -@fa-sun-o: "\f185"; -@fa-moon-o: "\f186"; -@fa-archive: "\f187"; -@fa-bug: "\f188"; -@fa-vk: "\f189"; -@fa-weibo: "\f18a"; -@fa-renren: "\f18b"; -@fa-pagelines: "\f18c"; -@fa-stack-exchange: "\f18d"; -@fa-arrow-circle-o-right: "\f18e"; -@fa-arrow-circle-o-left: "\f190"; -@fa-caret-square-o-left: "\f191"; -@fa-dot-circle-o: "\f192"; -@fa-wheelchair: "\f193"; -@fa-vimeo-square: "\f194"; -@fa-try: "\f195"; -@fa-plus-square-o: "\f196"; -@fa-space-shuttle: "\f197"; -@fa-slack: "\f198"; -@fa-envelope-square: "\f199"; -@fa-wordpress: "\f19a"; -@fa-openid: "\f19b"; -@fa-university: "\f19c"; -@fa-graduation-cap: "\f19d"; -@fa-yahoo: "\f19e"; -@fa-google: "\f1a0"; -@fa-reddit: "\f1a1"; -@fa-reddit-square: "\f1a2"; -@fa-stumbleupon-circle: "\f1a3"; -@fa-stumbleupon: "\f1a4"; -@fa-delicious: "\f1a5"; -@fa-digg: "\f1a6"; -@fa-pied-piper: "\f1a7"; -@fa-pied-piper-alt: "\f1a8"; -@fa-drupal: "\f1a9"; -@fa-joomla: "\f1aa"; -@fa-language: "\f1ab"; -@fa-fax: "\f1ac"; -@fa-building: "\f1ad"; -@fa-child: "\f1ae"; -@fa-paw: "\f1b0"; -@fa-spoon: "\f1b1"; -@fa-cube: "\f1b2"; -@fa-cubes: "\f1b3"; -@fa-behance: "\f1b4"; -@fa-behance-square: "\f1b5"; -@fa-steam: "\f1b6"; -@fa-steam-square: "\f1b7"; -@fa-recycle: "\f1b8"; -@fa-car: "\f1b9"; -@fa-taxi: "\f1ba"; -@fa-tree: "\f1bb"; -@fa-spotify: "\f1bc"; -@fa-deviantart: "\f1bd"; -@fa-soundcloud: "\f1be"; -@fa-database: "\f1c0"; -@fa-file-pdf-o: "\f1c1"; -@fa-file-word-o: "\f1c2"; -@fa-file-excel-o: "\f1c3"; -@fa-file-powerpoint-o: "\f1c4"; -@fa-file-image-o: "\f1c5"; -@fa-file-archive-o: "\f1c6"; -@fa-file-audio-o: "\f1c7"; -@fa-file-video-o: "\f1c8"; -@fa-file-code-o: "\f1c9"; -@fa-vine: "\f1ca"; -@fa-codepen: "\f1cb"; -@fa-jsfiddle: "\f1cc"; -@fa-life-ring: "\f1cd"; -@fa-circle-o-notch: "\f1ce"; -@fa-rebel: "\f1d0"; -@fa-empire: "\f1d1"; -@fa-git-square: "\f1d2"; -@fa-git: "\f1d3"; -@fa-hacker-news: "\f1d4"; -@fa-tencent-weibo: "\f1d5"; -@fa-qq: "\f1d6"; -@fa-weixin: "\f1d7"; -@fa-paper-plane: "\f1d8"; -@fa-paper-plane-o: "\f1d9"; -@fa-history: "\f1da"; -@fa-circle-thin: "\f1db"; -@fa-header: "\f1dc"; -@fa-paragraph: "\f1dd"; -@fa-sliders: "\f1de"; -@fa-share-alt: "\f1e0"; -@fa-share-alt-square: "\f1e1"; -@fa-bomb: "\f1e2"; -@fa-futbol-o: "\f1e3"; -@fa-tty: "\f1e4"; -@fa-binoculars: "\f1e5"; -@fa-plug: "\f1e6"; -@fa-slideshare: "\f1e7"; -@fa-twitch: "\f1e8"; -@fa-yelp: "\f1e9"; -@fa-newspaper-o: "\f1ea"; -@fa-wifi: "\f1eb"; -@fa-calculator: "\f1ec"; -@fa-paypal: "\f1ed"; -@fa-google-wallet: "\f1ee"; -@fa-cc-visa: "\f1f0"; -@fa-cc-mastercard: "\f1f1"; -@fa-cc-discover: "\f1f2"; -@fa-cc-amex: "\f1f3"; -@fa-cc-paypal: "\f1f4"; -@fa-cc-stripe: "\f1f5"; -@fa-bell-slash: "\f1f6"; -@fa-bell-slash-o: "\f1f7"; -@fa-trash: "\f1f8"; -@fa-copyright: "\f1f9"; -@fa-at: "\f1fa"; -@fa-eyedropper: "\f1fb"; -@fa-paint-brush: "\f1fc"; -@fa-birthday-cake: "\f1fd"; -@fa-area-chart: "\f1fe"; -@fa-pie-chart: "\f200"; -@fa-line-chart: "\f201"; -@fa-lastfm: "\f202"; -@fa-lastfm-square: "\f203"; -@fa-toggle-off: "\f204"; -@fa-toggle-on: "\f205"; -@fa-bicycle: "\f206"; -@fa-bus: "\f207"; -@fa-ioxhost: "\f208"; -@fa-angellist: "\f209"; -@fa-cc: "\f20a"; -@fa-ils: "\f20b"; -@fa-meanpath: "\f20c"; - diff --git a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/img/loading.gif b/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/img/loading.gif deleted file mode 100644 index e8c2892..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/awesomeStyle/img/loading.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/line_conn.png b/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/line_conn.png deleted file mode 100644 index b211da2..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/line_conn.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/loading.gif b/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/loading.gif deleted file mode 100644 index e8c2892..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/loading.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/metro.gif b/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/metro.gif deleted file mode 100644 index 664b969..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/metro.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/metro.png b/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/metro.png deleted file mode 100644 index e9e58a3..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/img/metro.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/metroStyle.css b/admin/target/classes/static/lib/zTree_v3/css/metroStyle/metroStyle.css deleted file mode 100644 index af81f42..0000000 --- a/admin/target/classes/static/lib/zTree_v3/css/metroStyle/metroStyle.css +++ /dev/null @@ -1,96 +0,0 @@ -/*------------------------------------- -zTree Style - -version: 3.4 -author: Hunter.z -email: hunter.z@263.net -website: http://code.google.com/p/jquerytree/ - --------------------------------------*/ - -.ztree * {padding:0; margin:0; font-size:12px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif} -.ztree {margin:0; padding:5px; color:#333} -.ztree li{padding:0; margin:0; list-style:none; line-height:17px; text-align:left; white-space:nowrap; outline:0} -.ztree li ul{ margin:0; padding:0 0 0 18px} -.ztree li ul.line{ background:url(./img/line_conn.png) 0 0 repeat-y;} - -.ztree li a {padding-right:3px; margin:0; cursor:pointer; height:21px; color:#333; background-color: transparent; text-decoration:none; vertical-align:top; display: inline-block} -.ztree li a:hover {text-decoration:underline} -.ztree li a.curSelectedNode {padding-top:0px; background-color:#e5e5e5; color:black; height:21px; opacity:0.8;} -.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#e5e5e5; color:black; height:21px; border:1px #666 solid; opacity:0.8;} -.ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#aaa; color:white; height:21px; border:1px #666 solid; - opacity:0.8; filter:alpha(opacity=80)} -.ztree li a.tmpTargetNode_prev {} -.ztree li a.tmpTargetNode_next {} -.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0; - font-size:12px; border:1px #585956 solid; *border:0px} -.ztree li span {line-height:21px; margin-right:2px} -.ztree li span.button {line-height:0; margin:0; padding: 0; width:21px; height:21px; display: inline-block; vertical-align:middle; - border:0 none; cursor: pointer;outline:none; - background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; - background-image:url("./img/metro.png"); *background-image:url("./img/metro.gif")} - -.ztree li span.button.chk {width:13px; height:13px; margin:0 2px; cursor: auto} -.ztree li span.button.chk.checkbox_false_full {background-position: -5px -5px;} -.ztree li span.button.chk.checkbox_false_full_focus {background-position: -5px -26px;} -.ztree li span.button.chk.checkbox_false_part {background-position: -5px -48px;} -.ztree li span.button.chk.checkbox_false_part_focus {background-position: -5px -68px;} -.ztree li span.button.chk.checkbox_false_disable {background-position: -5px -89px;} -.ztree li span.button.chk.checkbox_true_full {background-position: -26px -5px;} -.ztree li span.button.chk.checkbox_true_full_focus {background-position: -26px -26px;} -.ztree li span.button.chk.checkbox_true_part {background-position: -26px -48px;} -.ztree li span.button.chk.checkbox_true_part_focus {background-position: -26px -68px;} -.ztree li span.button.chk.checkbox_true_disable {background-position: -26px -89px;} -.ztree li span.button.chk.radio_false_full {background-position: -47px -5px;} -.ztree li span.button.chk.radio_false_full_focus {background-position: -47px -26px;} -.ztree li span.button.chk.radio_false_part {background-position: -47px -47px;} -.ztree li span.button.chk.radio_false_part_focus {background-position: -47px -68px;} -.ztree li span.button.chk.radio_false_disable {background-position: -47px -89px;} -.ztree li span.button.chk.radio_true_full {background-position: -68px -5px;} -.ztree li span.button.chk.radio_true_full_focus {background-position: -68px -26px;} -.ztree li span.button.chk.radio_true_part {background-position: -68px -47px;} -.ztree li span.button.chk.radio_true_part_focus {background-position: -68px -68px;} -.ztree li span.button.chk.radio_true_disable {background-position: -68px -89px;} - -.ztree li span.button.switch {width:21px; height:21px} -.ztree li span.button.root_open{background-position:-105px -63px} -.ztree li span.button.root_close{background-position:-126px -63px} -.ztree li span.button.roots_open{background-position: -105px 0;} -.ztree li span.button.roots_close{background-position: -126px 0;} -.ztree li span.button.center_open{background-position: -105px -21px;} -.ztree li span.button.center_close{background-position: -126px -21px;} -.ztree li span.button.bottom_open{background-position: -105px -42px;} -.ztree li span.button.bottom_close{background-position: -126px -42px;} -.ztree li span.button.noline_open{background-position: -105px -84px;} -.ztree li span.button.noline_close{background-position: -126px -84px;} -.ztree li span.button.root_docu{ background:none;} -.ztree li span.button.roots_docu{background-position: -84px 0;} -.ztree li span.button.center_docu{background-position: -84px -21px;} -.ztree li span.button.bottom_docu{background-position: -84px -42px;} -.ztree li span.button.noline_docu{ background:none;} - -.ztree li span.button.ico_open{margin-right:2px; background-position: -147px -21px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.ico_close{margin-right:2px; margin-right:2px; background-position: -147px 0; vertical-align:top; *vertical-align:middle} -.ztree li span.button.ico_docu{margin-right:2px; background-position: -147px -42px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.edit {margin-left:2px; margin-right: -1px; background-position: -189px -21px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.edit:hover { - background-position: -168px -21px; -} -.ztree li span.button.remove {margin-left:2px; margin-right: -1px; background-position: -189px -42px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.remove:hover { - background-position: -168px -42px; -} -.ztree li span.button.add {margin-left:2px; margin-right: -1px; background-position: -189px 0; vertical-align:top; *vertical-align:middle} -.ztree li span.button.add:hover { - background-position: -168px 0; -} -.ztree li span.button.ico_loading{margin-right:2px; background:url(./img/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle} - -ul.tmpTargetzTree {background-color:#FFE6B0; opacity:0.8; filter:alpha(opacity=80)} - -span.tmpzTreeMove_arrow {width:16px; height:21px; display: inline-block; padding:0; margin:2px 0 0 1px; border:0 none; position:absolute; - background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; - background-position:-168px -84px; background-image:url("./img/metro.png"); *background-image:url("./img/metro.gif")} - -ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height:auto;overflow:hidden; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)} -.ztreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute} diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/1_close.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/1_close.png deleted file mode 100644 index 68ccb3c..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/1_close.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/1_open.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/1_open.png deleted file mode 100644 index d6ff36d..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/1_open.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/2.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/2.png deleted file mode 100644 index 9eff506..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/2.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/3.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/3.png deleted file mode 100644 index d7ba6d0..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/3.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/4.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/4.png deleted file mode 100644 index 753e2bf..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/4.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/5.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/5.png deleted file mode 100644 index 0c5eccd..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/5.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/6.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/6.png deleted file mode 100644 index 070b835..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/6.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/7.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/7.png deleted file mode 100644 index 532b037..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/7.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/8.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/8.png deleted file mode 100644 index a8f3a86..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/8.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/9.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/9.png deleted file mode 100644 index 4db73cd..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/diy/9.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/line_conn.gif b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/line_conn.gif deleted file mode 100644 index d561d36..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/line_conn.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/loading.gif b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/loading.gif deleted file mode 100644 index e8c2892..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/loading.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/zTreeStandard.gif b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/zTreeStandard.gif deleted file mode 100644 index 50c94fd..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/zTreeStandard.gif and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/zTreeStandard.png b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/zTreeStandard.png deleted file mode 100644 index ffda01e..0000000 Binary files a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/img/zTreeStandard.png and /dev/null differ diff --git a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/zTreeStyle.css b/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/zTreeStyle.css deleted file mode 100644 index 4a1705b..0000000 --- a/admin/target/classes/static/lib/zTree_v3/css/zTreeStyle/zTreeStyle.css +++ /dev/null @@ -1,97 +0,0 @@ -/*------------------------------------- -zTree Style - -version: 3.5.19 -author: Hunter.z -email: hunter.z@263.net -website: http://code.google.com/p/jquerytree/ - --------------------------------------*/ - -.ztree * {padding:0; margin:0; font-size:12px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif} -.ztree {margin:0; padding:5px; color:#333} -.ztree li{padding:0; margin:0; list-style:none; line-height:14px; text-align:left; white-space:nowrap; outline:0} -.ztree li ul{ margin:0; padding:0 0 0 18px} -.ztree li ul.line{ background:url(./img/line_conn.gif) 0 0 repeat-y;} - -.ztree li a {padding:1px 3px 0 0; margin:0; cursor:pointer; height:17px; color:#333; background-color: transparent; - text-decoration:none; vertical-align:top; display: inline-block} -.ztree li a:hover {text-decoration:underline} -.ztree li a.curSelectedNode {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid; opacity:0.8;} -.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid; opacity:0.8;} -.ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#316AC5; color:white; height:16px; border:1px #316AC5 solid; - opacity:0.8; filter:alpha(opacity=80)} -.ztree li a.tmpTargetNode_prev {} -.ztree li a.tmpTargetNode_next {} -.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0; - font-size:12px; border:1px #7EC4CC solid; *border:0px} -.ztree li span {line-height:16px; margin-right:2px} -.ztree li span.button {line-height:0; margin:0; width:16px; height:16px; display: inline-block; vertical-align:middle; - border:0 none; cursor: pointer;outline:none; - background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; - background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")} - -.ztree li span.button.chk {width:13px; height:13px; margin:0 3px 0 0; cursor: auto} -.ztree li span.button.chk.checkbox_false_full {background-position:0 0} -.ztree li span.button.chk.checkbox_false_full_focus {background-position:0 -14px} -.ztree li span.button.chk.checkbox_false_part {background-position:0 -28px} -.ztree li span.button.chk.checkbox_false_part_focus {background-position:0 -42px} -.ztree li span.button.chk.checkbox_false_disable {background-position:0 -56px} -.ztree li span.button.chk.checkbox_true_full {background-position:-14px 0} -.ztree li span.button.chk.checkbox_true_full_focus {background-position:-14px -14px} -.ztree li span.button.chk.checkbox_true_part {background-position:-14px -28px} -.ztree li span.button.chk.checkbox_true_part_focus {background-position:-14px -42px} -.ztree li span.button.chk.checkbox_true_disable {background-position:-14px -56px} -.ztree li span.button.chk.radio_false_full {background-position:-28px 0} -.ztree li span.button.chk.radio_false_full_focus {background-position:-28px -14px} -.ztree li span.button.chk.radio_false_part {background-position:-28px -28px} -.ztree li span.button.chk.radio_false_part_focus {background-position:-28px -42px} -.ztree li span.button.chk.radio_false_disable {background-position:-28px -56px} -.ztree li span.button.chk.radio_true_full {background-position:-42px 0} -.ztree li span.button.chk.radio_true_full_focus {background-position:-42px -14px} -.ztree li span.button.chk.radio_true_part {background-position:-42px -28px} -.ztree li span.button.chk.radio_true_part_focus {background-position:-42px -42px} -.ztree li span.button.chk.radio_true_disable {background-position:-42px -56px} - -.ztree li span.button.switch {width:18px; height:18px} -.ztree li span.button.root_open{background-position:-92px -54px} -.ztree li span.button.root_close{background-position:-74px -54px} -.ztree li span.button.roots_open{background-position:-92px 0} -.ztree li span.button.roots_close{background-position:-74px 0} -.ztree li span.button.center_open{background-position:-92px -18px} -.ztree li span.button.center_close{background-position:-74px -18px} -.ztree li span.button.bottom_open{background-position:-92px -36px} -.ztree li span.button.bottom_close{background-position:-74px -36px} -.ztree li span.button.noline_open{background-position:-92px -72px} -.ztree li span.button.noline_close{background-position:-74px -72px} -.ztree li span.button.root_docu{ background:none;} -.ztree li span.button.roots_docu{background-position:-56px 0} -.ztree li span.button.center_docu{background-position:-56px -18px} -.ztree li span.button.bottom_docu{background-position:-56px -36px} -.ztree li span.button.noline_docu{ background:none;} - -.ztree li span.button.ico_open{margin-right:2px; background-position:-110px -16px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.ico_close{margin-right:2px; background-position:-110px 0; vertical-align:top; *vertical-align:middle} -.ztree li span.button.ico_docu{margin-right:2px; background-position:-110px -32px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.edit {margin-right:2px; background-position:-110px -48px; vertical-align:top; *vertical-align:middle} -.ztree li span.button.remove {margin-right:2px; background-position:-110px -64px; vertical-align:top; *vertical-align:middle} - -.ztree li span.button.ico_loading{margin-right:2px; background:url(./img/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle} - -ul.tmpTargetzTree {background-color:#FFE6B0; opacity:0.8; filter:alpha(opacity=80)} - -span.tmpzTreeMove_arrow {width:16px; height:16px; display: inline-block; padding:0; margin:2px 0 0 1px; border:0 none; position:absolute; - background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; - background-position:-110px -80px; background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")} - -ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height:auto;overflow:hidden; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)} -.zTreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute} - -/* level style*/ -/*.ztree li span.button.level0 { - display:none; -} -.ztree li ul.level0 { - padding:0; - background:none; -}*/ \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.all.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.all.js deleted file mode 100644 index 33ba271..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.all.js +++ /dev/null @@ -1,3835 +0,0 @@ - -/* - * JQuery zTree core v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function ($) { - var settings = {}, roots = {}, caches = {}, - //default consts of core - _consts = { - className: { - BUTTON: "button", - LEVEL: "level", - ICO_LOADING: "ico_loading", - SWITCH: "switch", - NAME: 'node_name' - }, - event: { - NODECREATED: "ztree_nodeCreated", - CLICK: "ztree_click", - EXPAND: "ztree_expand", - COLLAPSE: "ztree_collapse", - ASYNC_SUCCESS: "ztree_async_success", - ASYNC_ERROR: "ztree_async_error", - REMOVE: "ztree_remove", - SELECTED: "ztree_selected", - UNSELECTED: "ztree_unselected" - }, - id: { - A: "_a", - ICON: "_ico", - SPAN: "_span", - SWITCH: "_switch", - UL: "_ul" - }, - line: { - ROOT: "root", - ROOTS: "roots", - CENTER: "center", - BOTTOM: "bottom", - NOLINE: "noline", - LINE: "line" - }, - folder: { - OPEN: "open", - CLOSE: "close", - DOCU: "docu" - }, - node: { - CURSELECTED: "curSelectedNode" - } - }, - //default setting of core - _setting = { - treeId: "", - treeObj: null, - view: { - addDiyDom: null, - autoCancelSelected: true, - dblClickExpand: true, - expandSpeed: "fast", - fontCss: {}, - nameIsHTML: false, - selectedMulti: true, - showIcon: true, - showLine: true, - showTitle: true, - txtSelectedEnable: false - }, - data: { - key: { - isParent: "isParent", - children: "children", - name: "name", - title: "", - url: "url", - icon: "icon" - }, - simpleData: { - enable: false, - idKey: "id", - pIdKey: "pId", - rootPId: null - }, - keep: { - parent: false, - leaf: false - } - }, - async: { - enable: false, - contentType: "application/x-www-form-urlencoded", - type: "post", - dataType: "text", - headers: {}, - xhrFields: {}, - url: "", - autoParam: [], - otherParam: [], - dataFilter: null - }, - callback: { - beforeAsync: null, - beforeClick: null, - beforeDblClick: null, - beforeRightClick: null, - beforeMouseDown: null, - beforeMouseUp: null, - beforeExpand: null, - beforeCollapse: null, - beforeRemove: null, - - onAsyncError: null, - onAsyncSuccess: null, - onNodeCreated: null, - onClick: null, - onDblClick: null, - onRightClick: null, - onMouseDown: null, - onMouseUp: null, - onExpand: null, - onCollapse: null, - onRemove: null - } - }, - //default root of core - //zTree use root to save full data - _initRoot = function (setting) { - var r = data.getRoot(setting); - if (!r) { - r = {}; - data.setRoot(setting, r); - } - data.nodeChildren(setting, r, []); - r.expandTriggerFlag = false; - r.curSelectedList = []; - r.noSelection = true; - r.createdNodes = []; - r.zId = 0; - r._ver = (new Date()).getTime(); - }, - //default cache of core - _initCache = function (setting) { - var c = data.getCache(setting); - if (!c) { - c = {}; - data.setCache(setting, c); - } - c.nodes = []; - c.doms = []; - }, - //default bindEvent of core - _bindEvent = function (setting) { - var o = setting.treeObj, - c = consts.event; - o.bind(c.NODECREATED, function (event, treeId, node) { - tools.apply(setting.callback.onNodeCreated, [event, treeId, node]); - }); - - o.bind(c.CLICK, function (event, srcEvent, treeId, node, clickFlag) { - tools.apply(setting.callback.onClick, [srcEvent, treeId, node, clickFlag]); - }); - - o.bind(c.EXPAND, function (event, treeId, node) { - tools.apply(setting.callback.onExpand, [event, treeId, node]); - }); - - o.bind(c.COLLAPSE, function (event, treeId, node) { - tools.apply(setting.callback.onCollapse, [event, treeId, node]); - }); - - o.bind(c.ASYNC_SUCCESS, function (event, treeId, node, msg) { - tools.apply(setting.callback.onAsyncSuccess, [event, treeId, node, msg]); - }); - - o.bind(c.ASYNC_ERROR, function (event, treeId, node, XMLHttpRequest, textStatus, errorThrown) { - tools.apply(setting.callback.onAsyncError, [event, treeId, node, XMLHttpRequest, textStatus, errorThrown]); - }); - - o.bind(c.REMOVE, function (event, treeId, treeNode) { - tools.apply(setting.callback.onRemove, [event, treeId, treeNode]); - }); - - o.bind(c.SELECTED, function (event, treeId, node) { - tools.apply(setting.callback.onSelected, [treeId, node]); - }); - o.bind(c.UNSELECTED, function (event, treeId, node) { - tools.apply(setting.callback.onUnSelected, [treeId, node]); - }); - }, - _unbindEvent = function (setting) { - var o = setting.treeObj, - c = consts.event; - o.unbind(c.NODECREATED) - .unbind(c.CLICK) - .unbind(c.EXPAND) - .unbind(c.COLLAPSE) - .unbind(c.ASYNC_SUCCESS) - .unbind(c.ASYNC_ERROR) - .unbind(c.REMOVE) - .unbind(c.SELECTED) - .unbind(c.UNSELECTED); - }, - //default event proxy of core - _eventProxy = function (event) { - var target = event.target, - setting = data.getSetting(event.data.treeId), - tId = "", node = null, - nodeEventType = "", treeEventType = "", - nodeEventCallback = null, treeEventCallback = null, - tmp = null; - - if (tools.eqs(event.type, "mousedown")) { - treeEventType = "mousedown"; - } else if (tools.eqs(event.type, "mouseup")) { - treeEventType = "mouseup"; - } else if (tools.eqs(event.type, "contextmenu")) { - treeEventType = "contextmenu"; - } else if (tools.eqs(event.type, "click")) { - if (tools.eqs(target.tagName, "span") && target.getAttribute("treeNode" + consts.id.SWITCH) !== null) { - tId = tools.getNodeMainDom(target).id; - nodeEventType = "switchNode"; - } else { - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - nodeEventType = "clickNode"; - } - } - } else if (tools.eqs(event.type, "dblclick")) { - treeEventType = "dblclick"; - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - nodeEventType = "switchNode"; - } - } - if (treeEventType.length > 0 && tId.length == 0) { - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - } - } - // event to node - if (tId.length > 0) { - node = data.getNodeCache(setting, tId); - switch (nodeEventType) { - case "switchNode" : - var isParent = data.nodeIsParent(setting, node); - if (!isParent) { - nodeEventType = ""; - } else if (tools.eqs(event.type, "click") - || (tools.eqs(event.type, "dblclick") && tools.apply(setting.view.dblClickExpand, [setting.treeId, node], setting.view.dblClickExpand))) { - nodeEventCallback = handler.onSwitchNode; - } else { - nodeEventType = ""; - } - break; - case "clickNode" : - nodeEventCallback = handler.onClickNode; - break; - } - } - // event to zTree - switch (treeEventType) { - case "mousedown" : - treeEventCallback = handler.onZTreeMousedown; - break; - case "mouseup" : - treeEventCallback = handler.onZTreeMouseup; - break; - case "dblclick" : - treeEventCallback = handler.onZTreeDblclick; - break; - case "contextmenu" : - treeEventCallback = handler.onZTreeContextmenu; - break; - } - var proxyResult = { - stop: false, - node: node, - nodeEventType: nodeEventType, - nodeEventCallback: nodeEventCallback, - treeEventType: treeEventType, - treeEventCallback: treeEventCallback - }; - return proxyResult - }, - //default init node of core - _initNode = function (setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { - if (!n) return; - var r = data.getRoot(setting), - children = data.nodeChildren(setting, n); - n.level = level; - n.tId = setting.treeId + "_" + (++r.zId); - n.parentTId = parentNode ? parentNode.tId : null; - n.open = (typeof n.open == "string") ? tools.eqs(n.open, "true") : !!n.open; - var isParent = data.nodeIsParent(setting, n); - if (tools.isArray(children) && - !(isParent === false || (typeof isParent == "string" && tools.eqs(isParent, "false")))) { - data.nodeIsParent(setting, n, true); - n.zAsync = true; - } else { - isParent = data.nodeIsParent(setting, n, isParent); - n.open = (isParent && !setting.async.enable) ? n.open : false; - n.zAsync = !isParent; - } - n.isFirstNode = isFirstNode; - n.isLastNode = isLastNode; - n.getParentNode = function () { - return data.getNodeCache(setting, n.parentTId); - }; - n.getPreNode = function () { - return data.getPreNode(setting, n); - }; - n.getNextNode = function () { - return data.getNextNode(setting, n); - }; - n.getIndex = function () { - return data.getNodeIndex(setting, n); - }; - n.getPath = function () { - return data.getNodePath(setting, n); - }; - n.isAjaxing = false; - data.fixPIdKeyValue(setting, n); - }, - _init = { - bind: [_bindEvent], - unbind: [_unbindEvent], - caches: [_initCache], - nodes: [_initNode], - proxys: [_eventProxy], - roots: [_initRoot], - beforeA: [], - afterA: [], - innerBeforeA: [], - innerAfterA: [], - zTreeTools: [] - }, - //method of operate data - data = { - addNodeCache: function (setting, node) { - data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = node; - }, - getNodeCacheId: function (tId) { - return tId.substring(tId.lastIndexOf("_") + 1); - }, - addAfterA: function (afterA) { - _init.afterA.push(afterA); - }, - addBeforeA: function (beforeA) { - _init.beforeA.push(beforeA); - }, - addInnerAfterA: function (innerAfterA) { - _init.innerAfterA.push(innerAfterA); - }, - addInnerBeforeA: function (innerBeforeA) { - _init.innerBeforeA.push(innerBeforeA); - }, - addInitBind: function (bindEvent) { - _init.bind.push(bindEvent); - }, - addInitUnBind: function (unbindEvent) { - _init.unbind.push(unbindEvent); - }, - addInitCache: function (initCache) { - _init.caches.push(initCache); - }, - addInitNode: function (initNode) { - _init.nodes.push(initNode); - }, - addInitProxy: function (initProxy, isFirst) { - if (!!isFirst) { - _init.proxys.splice(0, 0, initProxy); - } else { - _init.proxys.push(initProxy); - } - }, - addInitRoot: function (initRoot) { - _init.roots.push(initRoot); - }, - addNodesData: function (setting, parentNode, index, nodes) { - var children = data.nodeChildren(setting, parentNode), params; - if (!children) { - children = data.nodeChildren(setting, parentNode, []); - index = -1; - } else if (index >= children.length) { - index = -1; - } - - if (children.length > 0 && index === 0) { - children[0].isFirstNode = false; - view.setNodeLineIcos(setting, children[0]); - } else if (children.length > 0 && index < 0) { - children[children.length - 1].isLastNode = false; - view.setNodeLineIcos(setting, children[children.length - 1]); - } - data.nodeIsParent(setting, parentNode, true); - - if (index < 0) { - data.nodeChildren(setting, parentNode, children.concat(nodes)); - } else { - params = [index, 0].concat(nodes); - children.splice.apply(children, params); - } - }, - addSelectedNode: function (setting, node) { - var root = data.getRoot(setting); - if (!data.isSelectedNode(setting, node)) { - root.curSelectedList.push(node); - } - }, - addCreatedNode: function (setting, node) { - if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { - var root = data.getRoot(setting); - root.createdNodes.push(node); - } - }, - addZTreeTools: function (zTreeTools) { - _init.zTreeTools.push(zTreeTools); - }, - exSetting: function (s) { - $.extend(true, _setting, s); - }, - fixPIdKeyValue: function (setting, node) { - if (setting.data.simpleData.enable) { - node[setting.data.simpleData.pIdKey] = node.parentTId ? node.getParentNode()[setting.data.simpleData.idKey] : setting.data.simpleData.rootPId; - } - }, - getAfterA: function (setting, node, array) { - for (var i = 0, j = _init.afterA.length; i < j; i++) { - _init.afterA[i].apply(this, arguments); - } - }, - getBeforeA: function (setting, node, array) { - for (var i = 0, j = _init.beforeA.length; i < j; i++) { - _init.beforeA[i].apply(this, arguments); - } - }, - getInnerAfterA: function (setting, node, array) { - for (var i = 0, j = _init.innerAfterA.length; i < j; i++) { - _init.innerAfterA[i].apply(this, arguments); - } - }, - getInnerBeforeA: function (setting, node, array) { - for (var i = 0, j = _init.innerBeforeA.length; i < j; i++) { - _init.innerBeforeA[i].apply(this, arguments); - } - }, - getCache: function (setting) { - return caches[setting.treeId]; - }, - getNodeIndex: function (setting, node) { - if (!node) return null; - var p = node.parentTId ? node.getParentNode() : data.getRoot(setting), - children = data.nodeChildren(setting, p); - for (var i = 0, l = children.length - 1; i <= l; i++) { - if (children[i] === node) { - return i; - } - } - return -1; - }, - getNextNode: function (setting, node) { - if (!node) return null; - var p = node.parentTId ? node.getParentNode() : data.getRoot(setting), - children = data.nodeChildren(setting, p); - for (var i = 0, l = children.length - 1; i <= l; i++) { - if (children[i] === node) { - return (i == l ? null : children[i + 1]); - } - } - return null; - }, - getNodeByParam: function (setting, nodes, key, value) { - if (!nodes || !key) return null; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (node[key] == value) { - return nodes[i]; - } - var children = data.nodeChildren(setting, node); - var tmp = data.getNodeByParam(setting, children, key, value); - if (tmp) return tmp; - } - return null; - }, - getNodeCache: function (setting, tId) { - if (!tId) return null; - var n = caches[setting.treeId].nodes[data.getNodeCacheId(tId)]; - return n ? n : null; - }, - getNodePath: function (setting, node) { - if (!node) return null; - - var path; - if (node.parentTId) { - path = node.getParentNode().getPath(); - } else { - path = []; - } - - if (path) { - path.push(node); - } - - return path; - }, - getNodes: function (setting) { - return data.nodeChildren(setting, data.getRoot(setting)); - }, - getNodesByParam: function (setting, nodes, key, value) { - if (!nodes || !key) return []; - var result = []; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (node[key] == value) { - result.push(node); - } - var children = data.nodeChildren(setting, node); - result = result.concat(data.getNodesByParam(setting, children, key, value)); - } - return result; - }, - getNodesByParamFuzzy: function (setting, nodes, key, value) { - if (!nodes || !key) return []; - var result = []; - value = value.toLowerCase(); - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (typeof node[key] == "string" && nodes[i][key].toLowerCase().indexOf(value) > -1) { - result.push(node); - } - var children = data.nodeChildren(setting, node); - result = result.concat(data.getNodesByParamFuzzy(setting, children, key, value)); - } - return result; - }, - getNodesByFilter: function (setting, nodes, filter, isSingle, invokeParam) { - if (!nodes) return (isSingle ? null : []); - var result = isSingle ? null : []; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (tools.apply(filter, [node, invokeParam], false)) { - if (isSingle) { - return node; - } - result.push(node); - } - var children = data.nodeChildren(setting, node); - var tmpResult = data.getNodesByFilter(setting, children, filter, isSingle, invokeParam); - if (isSingle && !!tmpResult) { - return tmpResult; - } - result = isSingle ? tmpResult : result.concat(tmpResult); - } - return result; - }, - getPreNode: function (setting, node) { - if (!node) return null; - var p = node.parentTId ? node.getParentNode() : data.getRoot(setting), - children = data.nodeChildren(setting, p); - for (var i = 0, l = children.length; i < l; i++) { - if (children[i] === node) { - return (i == 0 ? null : children[i - 1]); - } - } - return null; - }, - getRoot: function (setting) { - return setting ? roots[setting.treeId] : null; - }, - getRoots: function () { - return roots; - }, - getSetting: function (treeId) { - return settings[treeId]; - }, - getSettings: function () { - return settings; - }, - getZTreeTools: function (treeId) { - var r = this.getRoot(this.getSetting(treeId)); - return r ? r.treeTools : null; - }, - initCache: function (setting) { - for (var i = 0, j = _init.caches.length; i < j; i++) { - _init.caches[i].apply(this, arguments); - } - }, - initNode: function (setting, level, node, parentNode, preNode, nextNode) { - for (var i = 0, j = _init.nodes.length; i < j; i++) { - _init.nodes[i].apply(this, arguments); - } - }, - initRoot: function (setting) { - for (var i = 0, j = _init.roots.length; i < j; i++) { - _init.roots[i].apply(this, arguments); - } - }, - isSelectedNode: function (setting, node) { - var root = data.getRoot(setting); - for (var i = 0, j = root.curSelectedList.length; i < j; i++) { - if (node === root.curSelectedList[i]) return true; - } - return false; - }, - nodeChildren: function (setting, node, newChildren) { - if (!node) { - return null; - } - var key = setting.data.key.children; - if (typeof newChildren !== 'undefined') { - node[key] = newChildren; - } - return node[key]; - }, - nodeIsParent: function (setting, node, newIsParent) { - if (!node) { - return false; - } - var key = setting.data.key.isParent; - if (typeof newIsParent !== 'undefined') { - if (typeof newIsParent === "string") { - newIsParent = tools.eqs(newIsParent, "true"); - } - newIsParent = !!newIsParent; - node[key] = newIsParent; - } - return node[key]; - }, - nodeName: function (setting, node, newName) { - var key = setting.data.key.name; - if (typeof newName !== 'undefined') { - node[key] = newName; - } - return "" + node[key]; - }, - nodeTitle: function (setting, node) { - var t = setting.data.key.title === "" ? setting.data.key.name : setting.data.key.title; - return "" + node[t]; - }, - removeNodeCache: function (setting, node) { - var children = data.nodeChildren(setting, node); - if (children) { - for (var i = 0, l = children.length; i < l; i++) { - data.removeNodeCache(setting, children[i]); - } - } - data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = null; - }, - removeSelectedNode: function (setting, node) { - var root = data.getRoot(setting); - for (var i = 0, j = root.curSelectedList.length; i < j; i++) { - if (node === root.curSelectedList[i] || !data.getNodeCache(setting, root.curSelectedList[i].tId)) { - root.curSelectedList.splice(i, 1); - setting.treeObj.trigger(consts.event.UNSELECTED, [setting.treeId, node]); - i--; - j--; - } - } - }, - setCache: function (setting, cache) { - caches[setting.treeId] = cache; - }, - setRoot: function (setting, root) { - roots[setting.treeId] = root; - }, - setZTreeTools: function (setting, zTreeTools) { - for (var i = 0, j = _init.zTreeTools.length; i < j; i++) { - _init.zTreeTools[i].apply(this, arguments); - } - }, - transformToArrayFormat: function (setting, nodes) { - if (!nodes) return []; - var r = []; - if (tools.isArray(nodes)) { - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - _do(node); - } - } else { - _do(nodes); - } - return r; - - function _do(_node) { - r.push(_node); - var children = data.nodeChildren(setting, _node); - if (children) { - r = r.concat(data.transformToArrayFormat(setting, children)); - } - } - }, - transformTozTreeFormat: function (setting, sNodes) { - var i, l, - key = setting.data.simpleData.idKey, - parentKey = setting.data.simpleData.pIdKey; - if (!key || key == "" || !sNodes) return []; - - if (tools.isArray(sNodes)) { - var r = []; - var tmpMap = {}; - for (i = 0, l = sNodes.length; i < l; i++) { - tmpMap[sNodes[i][key]] = sNodes[i]; - } - for (i = 0, l = sNodes.length; i < l; i++) { - var p = tmpMap[sNodes[i][parentKey]]; - if (p && sNodes[i][key] != sNodes[i][parentKey]) { - var children = data.nodeChildren(setting, p); - if (!children) { - children = data.nodeChildren(setting, p, []); - } - children.push(sNodes[i]); - } else { - r.push(sNodes[i]); - } - } - return r; - } else { - return [sNodes]; - } - } - }, - //method of event proxy - event = { - bindEvent: function (setting) { - for (var i = 0, j = _init.bind.length; i < j; i++) { - _init.bind[i].apply(this, arguments); - } - }, - unbindEvent: function (setting) { - for (var i = 0, j = _init.unbind.length; i < j; i++) { - _init.unbind[i].apply(this, arguments); - } - }, - bindTree: function (setting) { - var eventParam = { - treeId: setting.treeId - }, - o = setting.treeObj; - if (!setting.view.txtSelectedEnable) { - // for can't select text - o.bind('selectstart', handler.onSelectStart).css({ - "-moz-user-select": "-moz-none" - }); - } - o.bind('click', eventParam, event.proxy); - o.bind('dblclick', eventParam, event.proxy); - o.bind('mouseover', eventParam, event.proxy); - o.bind('mouseout', eventParam, event.proxy); - o.bind('mousedown', eventParam, event.proxy); - o.bind('mouseup', eventParam, event.proxy); - o.bind('contextmenu', eventParam, event.proxy); - }, - unbindTree: function (setting) { - var o = setting.treeObj; - o.unbind('selectstart', handler.onSelectStart) - .unbind('click', event.proxy) - .unbind('dblclick', event.proxy) - .unbind('mouseover', event.proxy) - .unbind('mouseout', event.proxy) - .unbind('mousedown', event.proxy) - .unbind('mouseup', event.proxy) - .unbind('contextmenu', event.proxy); - }, - doProxy: function (e) { - var results = []; - for (var i = 0, j = _init.proxys.length; i < j; i++) { - var proxyResult = _init.proxys[i].apply(this, arguments); - results.push(proxyResult); - if (proxyResult.stop) { - break; - } - } - return results; - }, - proxy: function (e) { - var setting = data.getSetting(e.data.treeId); - if (!tools.uCanDo(setting, e)) return true; - var results = event.doProxy(e), - r = true, x = false; - for (var i = 0, l = results.length; i < l; i++) { - var proxyResult = results[i]; - if (proxyResult.nodeEventCallback) { - x = true; - r = proxyResult.nodeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r; - } - if (proxyResult.treeEventCallback) { - x = true; - r = proxyResult.treeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r; - } - } - return r; - } - }, - //method of event handler - handler = { - onSwitchNode: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (node.open) { - if (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false) return true; - data.getRoot(setting).expandTriggerFlag = true; - view.switchNode(setting, node); - } else { - if (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false) return true; - data.getRoot(setting).expandTriggerFlag = true; - view.switchNode(setting, node); - } - return true; - }, - onClickNode: function (event, node) { - var setting = data.getSetting(event.data.treeId), - clickFlag = ((setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey)) && data.isSelectedNode(setting, node)) ? 0 : (setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey) && setting.view.selectedMulti) ? 2 : 1; - if (tools.apply(setting.callback.beforeClick, [setting.treeId, node, clickFlag], true) == false) return true; - if (clickFlag === 0) { - view.cancelPreSelectedNode(setting, node); - } else { - view.selectNode(setting, node, clickFlag === 2); - } - setting.treeObj.trigger(consts.event.CLICK, [event, setting.treeId, node, clickFlag]); - return true; - }, - onZTreeMousedown: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeMouseDown, [setting.treeId, node], true)) { - tools.apply(setting.callback.onMouseDown, [event, setting.treeId, node]); - } - return true; - }, - onZTreeMouseup: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeMouseUp, [setting.treeId, node], true)) { - tools.apply(setting.callback.onMouseUp, [event, setting.treeId, node]); - } - return true; - }, - onZTreeDblclick: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeDblClick, [setting.treeId, node], true)) { - tools.apply(setting.callback.onDblClick, [event, setting.treeId, node]); - } - return true; - }, - onZTreeContextmenu: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeRightClick, [setting.treeId, node], true)) { - tools.apply(setting.callback.onRightClick, [event, setting.treeId, node]); - } - return (typeof setting.callback.onRightClick) != "function"; - }, - onSelectStart: function (e) { - var n = e.originalEvent.srcElement.nodeName.toLowerCase(); - return (n === "input" || n === "textarea"); - } - }, - //method of tools for zTree - tools = { - apply: function (fun, param, defaultValue) { - if ((typeof fun) == "function") { - return fun.apply(zt, param ? param : []); - } - return defaultValue; - }, - canAsync: function (setting, node) { - var children = data.nodeChildren(setting, node); - var isParent = data.nodeIsParent(setting, node); - return (setting.async.enable && node && isParent && !(node.zAsync || (children && children.length > 0))); - }, - clone: function (obj) { - if (obj === null) return null; - var o = tools.isArray(obj) ? [] : {}; - for (var i in obj) { - o[i] = (obj[i] instanceof Date) ? new Date(obj[i].getTime()) : (typeof obj[i] === "object" ? tools.clone(obj[i]) : obj[i]); - } - return o; - }, - eqs: function (str1, str2) { - return str1.toLowerCase() === str2.toLowerCase(); - }, - isArray: function (arr) { - return Object.prototype.toString.apply(arr) === "[object Array]"; - }, - isElement: function (o) { - return ( - typeof HTMLElement === "object" ? o instanceof HTMLElement : //DOM2 - o && typeof o === "object" && o !== null && o.nodeType === 1 && typeof o.nodeName === "string" - ); - }, - $: function (node, exp, setting) { - if (!!exp && typeof exp != "string") { - setting = exp; - exp = ""; - } - if (typeof node == "string") { - return $(node, setting ? setting.treeObj.get(0).ownerDocument : null); - } else { - return $("#" + node.tId + exp, setting ? setting.treeObj : null); - } - }, - getMDom: function (setting, curDom, targetExpr) { - if (!curDom) return null; - while (curDom && curDom.id !== setting.treeId) { - for (var i = 0, l = targetExpr.length; curDom.tagName && i < l; i++) { - if (tools.eqs(curDom.tagName, targetExpr[i].tagName) && curDom.getAttribute(targetExpr[i].attrName) !== null) { - return curDom; - } - } - curDom = curDom.parentNode; - } - return null; - }, - getNodeMainDom: function (target) { - return ($(target).parent("li").get(0) || $(target).parentsUntil("li").parent().get(0)); - }, - isChildOrSelf: function (dom, parentId) { - return ($(dom).closest("#" + parentId).length > 0); - }, - uCanDo: function (setting, e) { - return true; - } - }, - //method of operate ztree dom - view = { - addNodes: function (setting, parentNode, index, newNodes, isSilent) { - var isParent = data.nodeIsParent(setting, parentNode); - if (setting.data.keep.leaf && parentNode && !isParent) { - return; - } - if (!tools.isArray(newNodes)) { - newNodes = [newNodes]; - } - if (setting.data.simpleData.enable) { - newNodes = data.transformTozTreeFormat(setting, newNodes); - } - if (parentNode) { - var target_switchObj = $$(parentNode, consts.id.SWITCH, setting), - target_icoObj = $$(parentNode, consts.id.ICON, setting), - target_ulObj = $$(parentNode, consts.id.UL, setting); - - if (!parentNode.open) { - view.replaceSwitchClass(parentNode, target_switchObj, consts.folder.CLOSE); - view.replaceIcoClass(parentNode, target_icoObj, consts.folder.CLOSE); - parentNode.open = false; - target_ulObj.css({ - "display": "none" - }); - } - - data.addNodesData(setting, parentNode, index, newNodes); - view.createNodes(setting, parentNode.level + 1, newNodes, parentNode, index); - if (!isSilent) { - view.expandCollapseParentNode(setting, parentNode, true); - } - } else { - data.addNodesData(setting, data.getRoot(setting), index, newNodes); - view.createNodes(setting, 0, newNodes, null, index); - } - }, - appendNodes: function (setting, level, nodes, parentNode, index, initFlag, openFlag) { - if (!nodes) return []; - var html = []; - - var tmpPNode = (parentNode) ? parentNode : data.getRoot(setting), - tmpPChild = data.nodeChildren(setting, tmpPNode), - isFirstNode, isLastNode; - - if (!tmpPChild || index >= tmpPChild.length - nodes.length) { - index = -1; - } - - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (initFlag) { - isFirstNode = ((index === 0 || tmpPChild.length == nodes.length) && (i == 0)); - isLastNode = (index < 0 && i == (nodes.length - 1)); - data.initNode(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag); - data.addNodeCache(setting, node); - } - var isParent = data.nodeIsParent(setting, node); - - var childHtml = []; - var children = data.nodeChildren(setting, node); - if (children && children.length > 0) { - //make child html first, because checkType - childHtml = view.appendNodes(setting, level + 1, children, node, -1, initFlag, openFlag && node.open); - } - if (openFlag) { - view.makeDOMNodeMainBefore(html, setting, node); - view.makeDOMNodeLine(html, setting, node); - data.getBeforeA(setting, node, html); - view.makeDOMNodeNameBefore(html, setting, node); - data.getInnerBeforeA(setting, node, html); - view.makeDOMNodeIcon(html, setting, node); - data.getInnerAfterA(setting, node, html); - view.makeDOMNodeNameAfter(html, setting, node); - data.getAfterA(setting, node, html); - if (isParent && node.open) { - view.makeUlHtml(setting, node, html, childHtml.join('')); - } - view.makeDOMNodeMainAfter(html, setting, node); - data.addCreatedNode(setting, node); - } - } - return html; - }, - appendParentULDom: function (setting, node) { - var html = [], - nObj = $$(node, setting); - if (!nObj.get(0) && !!node.parentTId) { - view.appendParentULDom(setting, node.getParentNode()); - nObj = $$(node, setting); - } - var ulObj = $$(node, consts.id.UL, setting); - if (ulObj.get(0)) { - ulObj.remove(); - } - var children = data.nodeChildren(setting, node), - childHtml = view.appendNodes(setting, node.level + 1, children, node, -1, false, true); - view.makeUlHtml(setting, node, html, childHtml.join('')); - nObj.append(html.join('')); - }, - asyncNode: function (setting, node, isSilent, callback) { - var i, l; - var isParent = data.nodeIsParent(setting, node); - if (node && !isParent) { - tools.apply(callback); - return false; - } else if (node && node.isAjaxing) { - return false; - } else if (tools.apply(setting.callback.beforeAsync, [setting.treeId, node], true) == false) { - tools.apply(callback); - return false; - } - if (node) { - node.isAjaxing = true; - var icoObj = $$(node, consts.id.ICON, setting); - icoObj.attr({"style": "", "class": consts.className.BUTTON + " " + consts.className.ICO_LOADING}); - } - - var tmpParam = {}; - var autoParam = tools.apply(setting.async.autoParam, [setting.treeId, node], setting.async.autoParam); - for (i = 0, l = autoParam.length; node && i < l; i++) { - var pKey = autoParam[i].split("="), spKey = pKey; - if (pKey.length > 1) { - spKey = pKey[1]; - pKey = pKey[0]; - } - tmpParam[spKey] = node[pKey]; - } - var otherParam = tools.apply(setting.async.otherParam, [setting.treeId, node], setting.async.otherParam); - if (tools.isArray(otherParam)) { - for (i = 0, l = otherParam.length; i < l; i += 2) { - tmpParam[otherParam[i]] = otherParam[i + 1]; - } - } else { - for (var p in otherParam) { - tmpParam[p] = otherParam[p]; - } - } - - var _tmpV = data.getRoot(setting)._ver; - $.ajax({ - contentType: setting.async.contentType, - cache: false, - type: setting.async.type, - url: tools.apply(setting.async.url, [setting.treeId, node], setting.async.url), - data: setting.async.contentType.indexOf('application/json') > -1 ? JSON.stringify(tmpParam) : tmpParam, - dataType: setting.async.dataType, - headers: setting.async.headers, - xhrFields: setting.async.xhrFields, - success: function (msg) { - if (_tmpV != data.getRoot(setting)._ver) { - return; - } - var newNodes = []; - try { - if (!msg || msg.length == 0) { - newNodes = []; - } else if (typeof msg == "string") { - newNodes = eval("(" + msg + ")"); - } else { - newNodes = msg; - } - } catch (err) { - newNodes = msg; - } - - if (node) { - node.isAjaxing = null; - node.zAsync = true; - } - view.setNodeLineIcos(setting, node); - if (newNodes && newNodes !== "") { - newNodes = tools.apply(setting.async.dataFilter, [setting.treeId, node, newNodes], newNodes); - view.addNodes(setting, node, -1, !!newNodes ? tools.clone(newNodes) : [], !!isSilent); - } else { - view.addNodes(setting, node, -1, [], !!isSilent); - } - setting.treeObj.trigger(consts.event.ASYNC_SUCCESS, [setting.treeId, node, msg]); - tools.apply(callback); - }, - error: function (XMLHttpRequest, textStatus, errorThrown) { - if (_tmpV != data.getRoot(setting)._ver) { - return; - } - if (node) node.isAjaxing = null; - view.setNodeLineIcos(setting, node); - setting.treeObj.trigger(consts.event.ASYNC_ERROR, [setting.treeId, node, XMLHttpRequest, textStatus, errorThrown]); - } - }); - return true; - }, - cancelPreSelectedNode: function (setting, node, excludeNode) { - var list = data.getRoot(setting).curSelectedList, - i, n; - for (i = list.length - 1; i >= 0; i--) { - n = list[i]; - if (node === n || (!node && (!excludeNode || excludeNode !== n))) { - $$(n, consts.id.A, setting).removeClass(consts.node.CURSELECTED); - if (node) { - data.removeSelectedNode(setting, node); - break; - } else { - list.splice(i, 1); - setting.treeObj.trigger(consts.event.UNSELECTED, [setting.treeId, n]); - } - } - } - }, - createNodeCallback: function (setting) { - if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { - var root = data.getRoot(setting); - while (root.createdNodes.length > 0) { - var node = root.createdNodes.shift(); - tools.apply(setting.view.addDiyDom, [setting.treeId, node]); - if (!!setting.callback.onNodeCreated) { - setting.treeObj.trigger(consts.event.NODECREATED, [setting.treeId, node]); - } - } - } - }, - createNodes: function (setting, level, nodes, parentNode, index) { - if (!nodes || nodes.length == 0) return; - var root = data.getRoot(setting), - openFlag = !parentNode || parentNode.open || !!$$(data.nodeChildren(setting, parentNode)[0], setting).get(0); - root.createdNodes = []; - var zTreeHtml = view.appendNodes(setting, level, nodes, parentNode, index, true, openFlag), - parentObj, nextObj; - - if (!parentNode) { - parentObj = setting.treeObj; - //setting.treeObj.append(zTreeHtml.join('')); - } else { - var ulObj = $$(parentNode, consts.id.UL, setting); - if (ulObj.get(0)) { - parentObj = ulObj; - //ulObj.append(zTreeHtml.join('')); - } - } - if (parentObj) { - if (index >= 0) { - nextObj = parentObj.children()[index]; - } - if (index >= 0 && nextObj) { - $(nextObj).before(zTreeHtml.join('')); - } else { - parentObj.append(zTreeHtml.join('')); - } - } - - view.createNodeCallback(setting); - }, - destroy: function (setting) { - if (!setting) return; - data.initCache(setting); - data.initRoot(setting); - event.unbindTree(setting); - event.unbindEvent(setting); - setting.treeObj.empty(); - delete settings[setting.treeId]; - }, - expandCollapseNode: function (setting, node, expandFlag, animateFlag, callback) { - var root = data.getRoot(setting); - var tmpCb, _callback; - if (!node) { - tools.apply(callback, []); - return; - } - var children = data.nodeChildren(setting, node); - var isParent = data.nodeIsParent(setting, node); - if (root.expandTriggerFlag) { - _callback = callback; - tmpCb = function () { - if (_callback) _callback(); - if (node.open) { - setting.treeObj.trigger(consts.event.EXPAND, [setting.treeId, node]); - } else { - setting.treeObj.trigger(consts.event.COLLAPSE, [setting.treeId, node]); - } - }; - callback = tmpCb; - root.expandTriggerFlag = false; - } - if (!node.open && isParent && ((!$$(node, consts.id.UL, setting).get(0)) || (children && children.length > 0 && !$$(children[0], setting).get(0)))) { - view.appendParentULDom(setting, node); - view.createNodeCallback(setting); - } - if (node.open == expandFlag) { - tools.apply(callback, []); - return; - } - var ulObj = $$(node, consts.id.UL, setting), - switchObj = $$(node, consts.id.SWITCH, setting), - icoObj = $$(node, consts.id.ICON, setting); - - if (isParent) { - node.open = !node.open; - if (node.iconOpen && node.iconClose) { - icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); - } - - if (node.open) { - view.replaceSwitchClass(node, switchObj, consts.folder.OPEN); - view.replaceIcoClass(node, icoObj, consts.folder.OPEN); - if (animateFlag == false || setting.view.expandSpeed == "") { - ulObj.show(); - tools.apply(callback, []); - } else { - if (children && children.length > 0) { - ulObj.slideDown(setting.view.expandSpeed, callback); - } else { - ulObj.show(); - tools.apply(callback, []); - } - } - } else { - view.replaceSwitchClass(node, switchObj, consts.folder.CLOSE); - view.replaceIcoClass(node, icoObj, consts.folder.CLOSE); - if (animateFlag == false || setting.view.expandSpeed == "" || !(children && children.length > 0)) { - ulObj.hide(); - tools.apply(callback, []); - } else { - ulObj.slideUp(setting.view.expandSpeed, callback); - } - } - } else { - tools.apply(callback, []); - } - }, - expandCollapseParentNode: function (setting, node, expandFlag, animateFlag, callback) { - if (!node) return; - if (!node.parentTId) { - view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback); - return; - } else { - view.expandCollapseNode(setting, node, expandFlag, animateFlag); - } - if (node.parentTId) { - view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, animateFlag, callback); - } - }, - expandCollapseSonNode: function (setting, node, expandFlag, animateFlag, callback) { - var root = data.getRoot(setting), - treeNodes = (node) ? data.nodeChildren(setting, node) : data.nodeChildren(setting, root), - selfAnimateSign = (node) ? false : animateFlag, - expandTriggerFlag = data.getRoot(setting).expandTriggerFlag; - data.getRoot(setting).expandTriggerFlag = false; - if (treeNodes) { - for (var i = 0, l = treeNodes.length; i < l; i++) { - if (treeNodes[i]) view.expandCollapseSonNode(setting, treeNodes[i], expandFlag, selfAnimateSign); - } - } - data.getRoot(setting).expandTriggerFlag = expandTriggerFlag; - view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback); - }, - isSelectedNode: function (setting, node) { - if (!node) { - return false; - } - var list = data.getRoot(setting).curSelectedList, - i; - for (i = list.length - 1; i >= 0; i--) { - if (node === list[i]) { - return true; - } - } - return false; - }, - makeDOMNodeIcon: function (html, setting, node) { - var nameStr = data.nodeName(setting, node), - name = setting.view.nameIsHTML ? nameStr : nameStr.replace(/&/g, '&').replace(//g, '>'); - html.push("", name, ""); - }, - makeDOMNodeLine: function (html, setting, node) { - html.push(""); - }, - makeDOMNodeMainAfter: function (html, setting, node) { - html.push("
            • "); - }, - makeDOMNodeMainBefore: function (html, setting, node) { - html.push("
            • "); - }, - makeDOMNodeNameAfter: function (html, setting, node) { - html.push(""); - }, - makeDOMNodeNameBefore: function (html, setting, node) { - var title = data.nodeTitle(setting, node), - url = view.makeNodeUrl(setting, node), - fontcss = view.makeNodeFontCss(setting, node), - fontStyle = []; - for (var f in fontcss) { - fontStyle.push(f, ":", fontcss[f], ";"); - } - html.push(" 0) ? "href='" + url + "'" : ""), " target='", view.makeNodeTarget(node), "' style='", fontStyle.join(''), - "'"); - if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle) && title) { - html.push("title='", title.replace(/'/g, "'").replace(//g, '>'), "'"); - } - html.push(">"); - }, - makeNodeFontCss: function (setting, node) { - var fontCss = tools.apply(setting.view.fontCss, [setting.treeId, node], setting.view.fontCss); - return (fontCss && ((typeof fontCss) != "function")) ? fontCss : {}; - }, - makeNodeIcoClass: function (setting, node) { - var icoCss = ["ico"]; - if (!node.isAjaxing) { - var isParent = data.nodeIsParent(setting, node); - icoCss[0] = (node.iconSkin ? node.iconSkin + "_" : "") + icoCss[0]; - if (isParent) { - icoCss.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); - } else { - icoCss.push(consts.folder.DOCU); - } - } - return consts.className.BUTTON + " " + icoCss.join('_'); - }, - makeNodeIcoStyle: function (setting, node) { - var icoStyle = []; - if (!node.isAjaxing) { - var isParent = data.nodeIsParent(setting, node); - var icon = (isParent && node.iconOpen && node.iconClose) ? (node.open ? node.iconOpen : node.iconClose) : node[setting.data.key.icon]; - if (icon) icoStyle.push("background:url(", icon, ") 0 0 no-repeat;"); - if (setting.view.showIcon == false || !tools.apply(setting.view.showIcon, [setting.treeId, node], true)) { - icoStyle.push("width:0px;height:0px;"); - } - } - return icoStyle.join(''); - }, - makeNodeLineClass: function (setting, node) { - var lineClass = []; - if (setting.view.showLine) { - if (node.level == 0 && node.isFirstNode && node.isLastNode) { - lineClass.push(consts.line.ROOT); - } else if (node.level == 0 && node.isFirstNode) { - lineClass.push(consts.line.ROOTS); - } else if (node.isLastNode) { - lineClass.push(consts.line.BOTTOM); - } else { - lineClass.push(consts.line.CENTER); - } - } else { - lineClass.push(consts.line.NOLINE); - } - if (data.nodeIsParent(setting, node)) { - lineClass.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); - } else { - lineClass.push(consts.folder.DOCU); - } - return view.makeNodeLineClassEx(node) + lineClass.join('_'); - }, - makeNodeLineClassEx: function (node) { - return consts.className.BUTTON + " " + consts.className.LEVEL + node.level + " " + consts.className.SWITCH + " "; - }, - makeNodeTarget: function (node) { - return (node.target || "_blank"); - }, - makeNodeUrl: function (setting, node) { - var urlKey = setting.data.key.url; - return node[urlKey] ? node[urlKey] : null; - }, - makeUlHtml: function (setting, node, html, content) { - html.push("
                "); - html.push(content); - html.push("
              "); - }, - makeUlLineClass: function (setting, node) { - return ((setting.view.showLine && !node.isLastNode) ? consts.line.LINE : ""); - }, - removeChildNodes: function (setting, node) { - if (!node) return; - var nodes = data.nodeChildren(setting, node); - if (!nodes) return; - - for (var i = 0, l = nodes.length; i < l; i++) { - data.removeNodeCache(setting, nodes[i]); - } - data.removeSelectedNode(setting); - delete node[setting.data.key.children]; - - if (!setting.data.keep.parent) { - data.nodeIsParent(setting, node, false); - node.open = false; - var tmp_switchObj = $$(node, consts.id.SWITCH, setting), - tmp_icoObj = $$(node, consts.id.ICON, setting); - view.replaceSwitchClass(node, tmp_switchObj, consts.folder.DOCU); - view.replaceIcoClass(node, tmp_icoObj, consts.folder.DOCU); - $$(node, consts.id.UL, setting).remove(); - } else { - $$(node, consts.id.UL, setting).empty(); - } - }, - scrollIntoView: function (setting, dom) { - if (!dom) { - return; - } - // support IE 7 - if (typeof Element === 'undefined') { - var contRect = setting.treeObj.get(0).getBoundingClientRect(), - findMeRect = dom.getBoundingClientRect(); - if (findMeRect.top < contRect.top || findMeRect.bottom > contRect.bottom - || findMeRect.right > contRect.right || findMeRect.left < contRect.left) { - dom.scrollIntoView(); - } - return; - } - // CC-BY jocki84@googlemail.com, https://gist.github.com/jocki84/6ffafd003387179a988e - if (!Element.prototype.scrollIntoViewIfNeeded) { - Element.prototype.scrollIntoViewIfNeeded = function (centerIfNeeded) { - "use strict"; - - function makeRange(start, length) { - return {"start": start, "length": length, "end": start + length}; - } - - function coverRange(inner, outer) { - if ( - false === centerIfNeeded || - (outer.start < inner.end && inner.start < outer.end) - ) { - return Math.max( - inner.end - outer.length, - Math.min(outer.start, inner.start) - ); - } - return (inner.start + inner.end - outer.length) / 2; - } - - function makePoint(x, y) { - return { - "x": x, - "y": y, - "translate": function translate(dX, dY) { - return makePoint(x + dX, y + dY); - } - }; - } - - function absolute(elem, pt) { - while (elem) { - pt = pt.translate(elem.offsetLeft, elem.offsetTop); - elem = elem.offsetParent; - } - return pt; - } - - var target = absolute(this, makePoint(0, 0)), - extent = makePoint(this.offsetWidth, this.offsetHeight), - elem = this.parentNode, - origin; - - while (elem instanceof HTMLElement) { - // Apply desired scroll amount. - origin = absolute(elem, makePoint(elem.clientLeft, elem.clientTop)); - elem.scrollLeft = coverRange( - makeRange(target.x - origin.x, extent.x), - makeRange(elem.scrollLeft, elem.clientWidth) - ); - elem.scrollTop = coverRange( - makeRange(target.y - origin.y, extent.y), - makeRange(elem.scrollTop, elem.clientHeight) - ); - - // Determine actual scroll amount by reading back scroll properties. - target = target.translate(-elem.scrollLeft, -elem.scrollTop); - elem = elem.parentNode; - } - }; - } - dom.scrollIntoViewIfNeeded(); - }, - setFirstNode: function (setting, parentNode) { - var children = data.nodeChildren(setting, parentNode); - if (children.length > 0) { - children[0].isFirstNode = true; - } - }, - setLastNode: function (setting, parentNode) { - var children = data.nodeChildren(setting, parentNode); - if (children.length > 0) { - children[children.length - 1].isLastNode = true; - } - }, - removeNode: function (setting, node) { - var root = data.getRoot(setting), - parentNode = (node.parentTId) ? node.getParentNode() : root; - - node.isFirstNode = false; - node.isLastNode = false; - node.getPreNode = function () { - return null; - }; - node.getNextNode = function () { - return null; - }; - - if (!data.getNodeCache(setting, node.tId)) { - return; - } - - $$(node, setting).remove(); - data.removeNodeCache(setting, node); - data.removeSelectedNode(setting, node); - - var children = data.nodeChildren(setting, parentNode); - for (var i = 0, l = children.length; i < l; i++) { - if (children[i].tId == node.tId) { - children.splice(i, 1); - break; - } - } - view.setFirstNode(setting, parentNode); - view.setLastNode(setting, parentNode); - - var tmp_ulObj, tmp_switchObj, tmp_icoObj, - childLength = children.length; - - //repair nodes old parent - if (!setting.data.keep.parent && childLength == 0) { - //old parentNode has no child nodes - data.nodeIsParent(setting, parentNode, false); - parentNode.open = false; - delete parentNode[setting.data.key.children]; - tmp_ulObj = $$(parentNode, consts.id.UL, setting); - tmp_switchObj = $$(parentNode, consts.id.SWITCH, setting); - tmp_icoObj = $$(parentNode, consts.id.ICON, setting); - view.replaceSwitchClass(parentNode, tmp_switchObj, consts.folder.DOCU); - view.replaceIcoClass(parentNode, tmp_icoObj, consts.folder.DOCU); - tmp_ulObj.css("display", "none"); - - } else if (setting.view.showLine && childLength > 0) { - //old parentNode has child nodes - var newLast = children[childLength - 1]; - tmp_ulObj = $$(newLast, consts.id.UL, setting); - tmp_switchObj = $$(newLast, consts.id.SWITCH, setting); - tmp_icoObj = $$(newLast, consts.id.ICON, setting); - if (parentNode == root) { - if (children.length == 1) { - //node was root, and ztree has only one root after move node - view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.ROOT); - } else { - var tmp_first_switchObj = $$(children[0], consts.id.SWITCH, setting); - view.replaceSwitchClass(children[0], tmp_first_switchObj, consts.line.ROOTS); - view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); - } - } else { - view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); - } - tmp_ulObj.removeClass(consts.line.LINE); - } - }, - replaceIcoClass: function (node, obj, newName) { - if (!obj || node.isAjaxing) return; - var tmpName = obj.attr("class"); - if (tmpName == undefined) return; - var tmpList = tmpName.split("_"); - switch (newName) { - case consts.folder.OPEN: - case consts.folder.CLOSE: - case consts.folder.DOCU: - tmpList[tmpList.length - 1] = newName; - break; - } - obj.attr("class", tmpList.join("_")); - }, - replaceSwitchClass: function (node, obj, newName) { - if (!obj) return; - var tmpName = obj.attr("class"); - if (tmpName == undefined) return; - var tmpList = tmpName.split("_"); - switch (newName) { - case consts.line.ROOT: - case consts.line.ROOTS: - case consts.line.CENTER: - case consts.line.BOTTOM: - case consts.line.NOLINE: - tmpList[0] = view.makeNodeLineClassEx(node) + newName; - break; - case consts.folder.OPEN: - case consts.folder.CLOSE: - case consts.folder.DOCU: - tmpList[1] = newName; - break; - } - obj.attr("class", tmpList.join("_")); - if (newName !== consts.folder.DOCU) { - obj.removeAttr("disabled"); - } else { - obj.attr("disabled", "disabled"); - } - }, - selectNode: function (setting, node, addFlag) { - if (!addFlag) { - view.cancelPreSelectedNode(setting, null, node); - } - $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED); - data.addSelectedNode(setting, node); - setting.treeObj.trigger(consts.event.SELECTED, [setting.treeId, node]); - }, - setNodeFontCss: function (setting, treeNode) { - var aObj = $$(treeNode, consts.id.A, setting), - fontCss = view.makeNodeFontCss(setting, treeNode); - if (fontCss) { - aObj.css(fontCss); - } - }, - setNodeLineIcos: function (setting, node) { - if (!node) return; - var switchObj = $$(node, consts.id.SWITCH, setting), - ulObj = $$(node, consts.id.UL, setting), - icoObj = $$(node, consts.id.ICON, setting), - ulLine = view.makeUlLineClass(setting, node); - if (ulLine.length == 0) { - ulObj.removeClass(consts.line.LINE); - } else { - ulObj.addClass(ulLine); - } - switchObj.attr("class", view.makeNodeLineClass(setting, node)); - if (data.nodeIsParent(setting, node)) { - switchObj.removeAttr("disabled"); - } else { - switchObj.attr("disabled", "disabled"); - } - icoObj.removeAttr("style"); - icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); - icoObj.attr("class", view.makeNodeIcoClass(setting, node)); - }, - setNodeName: function (setting, node) { - var title = data.nodeTitle(setting, node), - nObj = $$(node, consts.id.SPAN, setting); - nObj.empty(); - if (setting.view.nameIsHTML) { - nObj.html(data.nodeName(setting, node)); - } else { - nObj.text(data.nodeName(setting, node)); - } - if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle)) { - var aObj = $$(node, consts.id.A, setting); - aObj.attr("title", !title ? "" : title); - } - }, - setNodeTarget: function (setting, node) { - var aObj = $$(node, consts.id.A, setting); - aObj.attr("target", view.makeNodeTarget(node)); - }, - setNodeUrl: function (setting, node) { - var aObj = $$(node, consts.id.A, setting), - url = view.makeNodeUrl(setting, node); - if (url == null || url.length == 0) { - aObj.removeAttr("href"); - } else { - aObj.attr("href", url); - } - }, - switchNode: function (setting, node) { - if (node.open || !tools.canAsync(setting, node)) { - view.expandCollapseNode(setting, node, !node.open); - } else if (setting.async.enable) { - if (!view.asyncNode(setting, node)) { - view.expandCollapseNode(setting, node, !node.open); - return; - } - } else if (node) { - view.expandCollapseNode(setting, node, !node.open); - } - } - }; - // zTree defind - $.fn.zTree = { - consts: _consts, - _z: { - tools: tools, - view: view, - event: event, - data: data - }, - getZTreeObj: function (treeId) { - var o = data.getZTreeTools(treeId); - return o ? o : null; - }, - destroy: function (treeId) { - if (!!treeId && treeId.length > 0) { - view.destroy(data.getSetting(treeId)); - } else { - for (var s in settings) { - view.destroy(settings[s]); - } - } - }, - init: function (obj, zSetting, zNodes) { - var setting = tools.clone(_setting); - $.extend(true, setting, zSetting); - setting.treeId = obj.attr("id"); - setting.treeObj = obj; - setting.treeObj.empty(); - settings[setting.treeId] = setting; - //For some older browser,(e.g., ie6) - if (typeof document.body.style.maxHeight === "undefined") { - setting.view.expandSpeed = ""; - } - data.initRoot(setting); - var root = data.getRoot(setting); - zNodes = zNodes ? tools.clone(tools.isArray(zNodes) ? zNodes : [zNodes]) : []; - if (setting.data.simpleData.enable) { - data.nodeChildren(setting, root, data.transformTozTreeFormat(setting, zNodes)); - } else { - data.nodeChildren(setting, root, zNodes); - } - - data.initCache(setting); - event.unbindTree(setting); - event.bindTree(setting); - event.unbindEvent(setting); - event.bindEvent(setting); - - var zTreeTools = { - setting: setting, - addNodes: function (parentNode, index, newNodes, isSilent) { - if (!parentNode) parentNode = null; - var isParent = data.nodeIsParent(setting, parentNode); - if (parentNode && !isParent && setting.data.keep.leaf) return null; - - var i = parseInt(index, 10); - if (isNaN(i)) { - isSilent = !!newNodes; - newNodes = index; - index = -1; - } else { - index = i; - } - if (!newNodes) return null; - - - var xNewNodes = tools.clone(tools.isArray(newNodes) ? newNodes : [newNodes]); - - function addCallback() { - view.addNodes(setting, parentNode, index, xNewNodes, (isSilent == true)); - } - - if (tools.canAsync(setting, parentNode)) { - view.asyncNode(setting, parentNode, isSilent, addCallback); - } else { - addCallback(); - } - return xNewNodes; - }, - cancelSelectedNode: function (node) { - view.cancelPreSelectedNode(setting, node); - }, - destroy: function () { - view.destroy(setting); - }, - expandAll: function (expandFlag) { - expandFlag = !!expandFlag; - view.expandCollapseSonNode(setting, null, expandFlag, true); - return expandFlag; - }, - expandNode: function (node, expandFlag, sonSign, focus, callbackFlag) { - if (!node || !data.nodeIsParent(setting, node)) return null; - if (expandFlag !== true && expandFlag !== false) { - expandFlag = !node.open; - } - callbackFlag = !!callbackFlag; - - if (callbackFlag && expandFlag && (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false)) { - return null; - } else if (callbackFlag && !expandFlag && (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false)) { - return null; - } - if (expandFlag && node.parentTId) { - view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, false); - } - if (expandFlag === node.open && !sonSign) { - return null; - } - - data.getRoot(setting).expandTriggerFlag = callbackFlag; - if (!tools.canAsync(setting, node) && sonSign) { - view.expandCollapseSonNode(setting, node, expandFlag, true, showNodeFocus); - } else { - node.open = !expandFlag; - view.switchNode(this.setting, node); - showNodeFocus(); - } - return expandFlag; - - function showNodeFocus() { - var a = $$(node, setting).get(0); - if (a && focus !== false) { - view.scrollIntoView(setting, a); - } - } - }, - getNodes: function () { - return data.getNodes(setting); - }, - getNodeByParam: function (key, value, parentNode) { - if (!key) return null; - return data.getNodeByParam(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), key, value); - }, - getNodeByTId: function (tId) { - return data.getNodeCache(setting, tId); - }, - getNodesByParam: function (key, value, parentNode) { - if (!key) return null; - return data.getNodesByParam(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), key, value); - }, - getNodesByParamFuzzy: function (key, value, parentNode) { - if (!key) return null; - return data.getNodesByParamFuzzy(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), key, value); - }, - getNodesByFilter: function (filter, isSingle, parentNode, invokeParam) { - isSingle = !!isSingle; - if (!filter || (typeof filter != "function")) return (isSingle ? null : []); - return data.getNodesByFilter(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), filter, isSingle, invokeParam); - }, - getNodeIndex: function (node) { - if (!node) return null; - var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); - var children = data.nodeChildren(setting, parentNode); - for (var i = 0, l = children.length; i < l; i++) { - if (children[i] == node) return i; - } - return -1; - }, - getSelectedNodes: function () { - var r = [], list = data.getRoot(setting).curSelectedList; - for (var i = 0, l = list.length; i < l; i++) { - r.push(list[i]); - } - return r; - }, - isSelectedNode: function (node) { - return data.isSelectedNode(setting, node); - }, - reAsyncChildNodesPromise: function (parentNode, reloadType, isSilent) { - var promise = new Promise(function (resolve, reject) { - try { - zTreeTools.reAsyncChildNodes(parentNode, reloadType, isSilent, function () { - resolve(parentNode); - }); - } catch (e) { - reject(e); - } - }); - return promise; - }, - reAsyncChildNodes: function (parentNode, reloadType, isSilent, callback) { - if (!this.setting.async.enable) return; - var isRoot = !parentNode; - if (isRoot) { - parentNode = data.getRoot(setting); - } - if (reloadType == "refresh") { - var children = data.nodeChildren(setting, parentNode); - for (var i = 0, l = children ? children.length : 0; i < l; i++) { - data.removeNodeCache(setting, children[i]); - } - data.removeSelectedNode(setting); - data.nodeChildren(setting, parentNode, []); - if (isRoot) { - this.setting.treeObj.empty(); - } else { - var ulObj = $$(parentNode, consts.id.UL, setting); - ulObj.empty(); - } - } - view.asyncNode(this.setting, isRoot ? null : parentNode, !!isSilent, callback); - }, - refresh: function () { - this.setting.treeObj.empty(); - var root = data.getRoot(setting), - nodes = data.nodeChildren(setting, root); - data.initRoot(setting); - data.nodeChildren(setting, root, nodes); - data.initCache(setting); - view.createNodes(setting, 0, data.nodeChildren(setting, root), null, -1); - }, - removeChildNodes: function (node) { - if (!node) return null; - var nodes = data.nodeChildren(setting, node); - view.removeChildNodes(setting, node); - return nodes ? nodes : null; - }, - removeNode: function (node, callbackFlag) { - if (!node) return; - callbackFlag = !!callbackFlag; - if (callbackFlag && tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return; - view.removeNode(setting, node); - if (callbackFlag) { - this.setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]); - } - }, - selectNode: function (node, addFlag, isSilent) { - if (!node) return; - if (tools.uCanDo(setting)) { - addFlag = setting.view.selectedMulti && addFlag; - if (node.parentTId) { - view.expandCollapseParentNode(setting, node.getParentNode(), true, false, showNodeFocus); - } else if (!isSilent) { - try { - $$(node, setting).focus().blur(); - } catch (e) { - } - } - view.selectNode(setting, node, addFlag); - } - - function showNodeFocus() { - if (isSilent) { - return; - } - var a = $$(node, setting).get(0); - view.scrollIntoView(setting, a); - } - }, - transformTozTreeNodes: function (simpleNodes) { - return data.transformTozTreeFormat(setting, simpleNodes); - }, - transformToArray: function (nodes) { - return data.transformToArrayFormat(setting, nodes); - }, - updateNode: function (node, checkTypeFlag) { - if (!node) return; - var nObj = $$(node, setting); - if (nObj.get(0) && tools.uCanDo(setting)) { - view.setNodeName(setting, node); - view.setNodeTarget(setting, node); - view.setNodeUrl(setting, node); - view.setNodeLineIcos(setting, node); - view.setNodeFontCss(setting, node); - } - } - }; - root.treeTools = zTreeTools; - data.setZTreeTools(setting, zTreeTools); - var children = data.nodeChildren(setting, root); - if (children && children.length > 0) { - view.createNodes(setting, 0, children, null, -1); - } else if (setting.async.enable && setting.async.url && setting.async.url !== '') { - view.asyncNode(setting); - } - return zTreeTools; - } - }; - - var zt = $.fn.zTree, - $$ = tools.$, - consts = zt.consts; -})(jQuery); -/* - * JQuery zTree excheck v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function ($) { - //default consts of excheck - var _consts = { - event: { - CHECK: "ztree_check" - }, - id: { - CHECK: "_check" - }, - checkbox: { - STYLE: "checkbox", - DEFAULT: "chk", - DISABLED: "disable", - FALSE: "false", - TRUE: "true", - FULL: "full", - PART: "part", - FOCUS: "focus" - }, - radio: { - STYLE: "radio", - TYPE_ALL: "all", - TYPE_LEVEL: "level" - } - }, - //default setting of excheck - _setting = { - check: { - enable: false, - autoCheckTrigger: false, - chkStyle: _consts.checkbox.STYLE, - nocheckInherit: false, - chkDisabledInherit: false, - radioType: _consts.radio.TYPE_LEVEL, - chkboxType: { - "Y": "ps", - "N": "ps" - } - }, - data: { - key: { - checked: "checked" - } - }, - callback: { - beforeCheck: null, - onCheck: null - } - }, - //default root of excheck - _initRoot = function (setting) { - var r = data.getRoot(setting); - r.radioCheckedList = []; - }, - //default cache of excheck - _initCache = function (treeId) { - }, - //default bind event of excheck - _bindEvent = function (setting) { - var o = setting.treeObj, - c = consts.event; - o.bind(c.CHECK, function (event, srcEvent, treeId, node) { - event.srcEvent = srcEvent; - tools.apply(setting.callback.onCheck, [event, treeId, node]); - }); - }, - _unbindEvent = function (setting) { - var o = setting.treeObj, - c = consts.event; - o.unbind(c.CHECK); - }, - //default event proxy of excheck - _eventProxy = function (e) { - var target = e.target, - setting = data.getSetting(e.data.treeId), - tId = "", node = null, - nodeEventType = "", treeEventType = "", - nodeEventCallback = null, treeEventCallback = null; - - if (tools.eqs(e.type, "mouseover")) { - if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode" + consts.id.CHECK) !== null) { - tId = tools.getNodeMainDom(target).id; - nodeEventType = "mouseoverCheck"; - } - } else if (tools.eqs(e.type, "mouseout")) { - if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode" + consts.id.CHECK) !== null) { - tId = tools.getNodeMainDom(target).id; - nodeEventType = "mouseoutCheck"; - } - } else if (tools.eqs(e.type, "click")) { - if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode" + consts.id.CHECK) !== null) { - tId = tools.getNodeMainDom(target).id; - nodeEventType = "checkNode"; - } - } - if (tId.length > 0) { - node = data.getNodeCache(setting, tId); - switch (nodeEventType) { - case "checkNode" : - nodeEventCallback = _handler.onCheckNode; - break; - case "mouseoverCheck" : - nodeEventCallback = _handler.onMouseoverCheck; - break; - case "mouseoutCheck" : - nodeEventCallback = _handler.onMouseoutCheck; - break; - } - } - var proxyResult = { - stop: nodeEventType === "checkNode", - node: node, - nodeEventType: nodeEventType, - nodeEventCallback: nodeEventCallback, - treeEventType: treeEventType, - treeEventCallback: treeEventCallback - }; - return proxyResult - }, - //default init node of excheck - _initNode = function (setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { - if (!n) return; - var checked = data.nodeChecked(setting, n); - checked = data.nodeChecked(setting, n, checked); - n.checkedOld = checked; - if (typeof n.nocheck == "string") n.nocheck = tools.eqs(n.nocheck, "true"); - n.nocheck = !!n.nocheck || (setting.check.nocheckInherit && parentNode && !!parentNode.nocheck); - if (typeof n.chkDisabled == "string") n.chkDisabled = tools.eqs(n.chkDisabled, "true"); - n.chkDisabled = !!n.chkDisabled || (setting.check.chkDisabledInherit && parentNode && !!parentNode.chkDisabled); - if (typeof n.halfCheck == "string") n.halfCheck = tools.eqs(n.halfCheck, "true"); - n.halfCheck = !!n.halfCheck; - n.check_Child_State = -1; - n.check_Focus = false; - n.getCheckStatus = function () { - return data.getCheckStatus(setting, n); - }; - - if (setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL && checked) { - var r = data.getRoot(setting); - r.radioCheckedList.push(n); - } - }, - //add dom for check - _beforeA = function (setting, node, html) { - if (setting.check.enable) { - data.makeChkFlag(setting, node); - html.push(""); - } - }, - //update zTreeObj, add method of check - _zTreeTools = function (setting, zTreeTools) { - zTreeTools.checkNode = function (node, checked, checkTypeFlag, callbackFlag) { - var nodeChecked = data.nodeChecked(setting, node); - if (node.chkDisabled === true) return; - if (checked !== true && checked !== false) { - checked = !nodeChecked; - } - callbackFlag = !!callbackFlag; - - if (nodeChecked === checked && !checkTypeFlag) { - return; - } else if (callbackFlag && tools.apply(this.setting.callback.beforeCheck, [this.setting.treeId, node], true) == false) { - return; - } - if (tools.uCanDo(this.setting) && this.setting.check.enable && node.nocheck !== true) { - data.nodeChecked(setting, node, checked); - var checkObj = $$(node, consts.id.CHECK, this.setting); - if (checkTypeFlag || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); - view.setChkClass(this.setting, checkObj, node); - view.repairParentChkClassWithSelf(this.setting, node); - if (callbackFlag) { - this.setting.treeObj.trigger(consts.event.CHECK, [null, this.setting.treeId, node]); - } - } - } - - zTreeTools.checkAllNodes = function (checked) { - view.repairAllChk(this.setting, !!checked); - } - - zTreeTools.getCheckedNodes = function (checked) { - var checked = (checked !== false); - var children = data.nodeChildren(setting, data.getRoot(this.setting)); - return data.getTreeCheckedNodes(this.setting, children, checked); - } - - zTreeTools.getChangeCheckedNodes = function () { - var children = data.nodeChildren(setting, data.getRoot(this.setting)); - return data.getTreeChangeCheckedNodes(this.setting, children); - } - - zTreeTools.setChkDisabled = function (node, disabled, inheritParent, inheritChildren) { - disabled = !!disabled; - inheritParent = !!inheritParent; - inheritChildren = !!inheritChildren; - view.repairSonChkDisabled(this.setting, node, disabled, inheritChildren); - view.repairParentChkDisabled(this.setting, node.getParentNode(), disabled, inheritParent); - } - - var _updateNode = zTreeTools.updateNode; - zTreeTools.updateNode = function (node, checkTypeFlag) { - if (_updateNode) _updateNode.apply(zTreeTools, arguments); - if (!node || !this.setting.check.enable) return; - var nObj = $$(node, this.setting); - if (nObj.get(0) && tools.uCanDo(this.setting)) { - var checkObj = $$(node, consts.id.CHECK, this.setting); - if (checkTypeFlag == true || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); - view.setChkClass(this.setting, checkObj, node); - view.repairParentChkClassWithSelf(this.setting, node); - } - } - }, - //method of operate data - _data = { - getRadioCheckedList: function (setting) { - var checkedList = data.getRoot(setting).radioCheckedList; - for (var i = 0, j = checkedList.length; i < j; i++) { - if (!data.getNodeCache(setting, checkedList[i].tId)) { - checkedList.splice(i, 1); - i--; - j--; - } - } - return checkedList; - }, - getCheckStatus: function (setting, node) { - if (!setting.check.enable || node.nocheck || node.chkDisabled) return null; - var checked = data.nodeChecked(setting, node), - r = { - checked: checked, - half: node.halfCheck ? node.halfCheck : (setting.check.chkStyle == consts.radio.STYLE ? (node.check_Child_State === 2) : (checked ? (node.check_Child_State > -1 && node.check_Child_State < 2) : (node.check_Child_State > 0))) - }; - return r; - }, - getTreeCheckedNodes: function (setting, nodes, checked, results) { - if (!nodes) return []; - var onlyOne = (checked && setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL); - results = !results ? [] : results; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - var children = data.nodeChildren(setting, node); - var nodeChecked = data.nodeChecked(setting, node); - if (node.nocheck !== true && node.chkDisabled !== true && nodeChecked == checked) { - results.push(node); - if (onlyOne) { - break; - } - } - data.getTreeCheckedNodes(setting, children, checked, results); - if (onlyOne && results.length > 0) { - break; - } - } - return results; - }, - getTreeChangeCheckedNodes: function (setting, nodes, results) { - if (!nodes) return []; - results = !results ? [] : results; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - var children = data.nodeChildren(setting, node); - var nodeChecked = data.nodeChecked(setting, node); - if (node.nocheck !== true && node.chkDisabled !== true && nodeChecked != node.checkedOld) { - results.push(node); - } - data.getTreeChangeCheckedNodes(setting, children, results); - } - return results; - }, - makeChkFlag: function (setting, node) { - if (!node) return; - var chkFlag = -1; - var children = data.nodeChildren(setting, node); - if (children) { - for (var i = 0, l = children.length; i < l; i++) { - var cNode = children[i]; - var nodeChecked = data.nodeChecked(setting, cNode); - var tmp = -1; - if (setting.check.chkStyle == consts.radio.STYLE) { - if (cNode.nocheck === true || cNode.chkDisabled === true) { - tmp = cNode.check_Child_State; - } else if (cNode.halfCheck === true) { - tmp = 2; - } else if (nodeChecked) { - tmp = 2; - } else { - tmp = cNode.check_Child_State > 0 ? 2 : 0; - } - if (tmp == 2) { - chkFlag = 2; - break; - } else if (tmp == 0) { - chkFlag = 0; - } - } else if (setting.check.chkStyle == consts.checkbox.STYLE) { - if (cNode.nocheck === true || cNode.chkDisabled === true) { - tmp = cNode.check_Child_State; - } else if (cNode.halfCheck === true) { - tmp = 1; - } else if (nodeChecked) { - tmp = (cNode.check_Child_State === -1 || cNode.check_Child_State === 2) ? 2 : 1; - } else { - tmp = (cNode.check_Child_State > 0) ? 1 : 0; - } - if (tmp === 1) { - chkFlag = 1; - break; - } else if (tmp === 2 && chkFlag > -1 && i > 0 && tmp !== chkFlag) { - chkFlag = 1; - break; - } else if (chkFlag === 2 && tmp > -1 && tmp < 2) { - chkFlag = 1; - break; - } else if (tmp > -1) { - chkFlag = tmp; - } - } - } - } - node.check_Child_State = chkFlag; - } - }, - //method of event proxy - _event = {}, - //method of event handler - _handler = { - onCheckNode: function (event, node) { - if (node.chkDisabled === true) return false; - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeCheck, [setting.treeId, node], true) == false) return true; - var nodeChecked = data.nodeChecked(setting, node); - data.nodeChecked(setting, node, !nodeChecked); - view.checkNodeRelation(setting, node); - var checkObj = $$(node, consts.id.CHECK, setting); - view.setChkClass(setting, checkObj, node); - view.repairParentChkClassWithSelf(setting, node); - setting.treeObj.trigger(consts.event.CHECK, [event, setting.treeId, node]); - return true; - }, - onMouseoverCheck: function (event, node) { - if (node.chkDisabled === true) return false; - var setting = data.getSetting(event.data.treeId), - checkObj = $$(node, consts.id.CHECK, setting); - node.check_Focus = true; - view.setChkClass(setting, checkObj, node); - return true; - }, - onMouseoutCheck: function (event, node) { - if (node.chkDisabled === true) return false; - var setting = data.getSetting(event.data.treeId), - checkObj = $$(node, consts.id.CHECK, setting); - node.check_Focus = false; - view.setChkClass(setting, checkObj, node); - return true; - } - }, - //method of tools for zTree - _tools = {}, - //method of operate ztree dom - _view = { - checkNodeRelation: function (setting, node) { - var pNode, i, l, - r = consts.radio; - var nodeChecked = data.nodeChecked(setting, node); - if (setting.check.chkStyle == r.STYLE) { - var checkedList = data.getRadioCheckedList(setting); - if (nodeChecked) { - if (setting.check.radioType == r.TYPE_ALL) { - for (i = checkedList.length - 1; i >= 0; i--) { - pNode = checkedList[i]; - var pNodeChecked = data.nodeChecked(setting, pNode); - if (pNodeChecked && pNode != node) { - data.nodeChecked(setting, pNode, false); - checkedList.splice(i, 1); - - view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); - if (pNode.parentTId != node.parentTId) { - view.repairParentChkClassWithSelf(setting, pNode); - } - } - } - checkedList.push(node); - } else { - var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); - var children = data.nodeChildren(setting, parentNode); - for (i = 0, l = children.length; i < l; i++) { - pNode = children[i]; - var pNodeChecked = data.nodeChecked(setting, pNode); - if (pNodeChecked && pNode != node) { - data.nodeChecked(setting, pNode, false); - view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); - } - } - } - } else if (setting.check.radioType == r.TYPE_ALL) { - for (i = 0, l = checkedList.length; i < l; i++) { - if (node == checkedList[i]) { - checkedList.splice(i, 1); - break; - } - } - } - - } else { - var children = data.nodeChildren(setting, node); - if (nodeChecked && (!children || children.length == 0 || setting.check.chkboxType.Y.indexOf("s") > -1)) { - view.setSonNodeCheckBox(setting, node, true); - } - if (!nodeChecked && (!children || children.length == 0 || setting.check.chkboxType.N.indexOf("s") > -1)) { - view.setSonNodeCheckBox(setting, node, false); - } - if (nodeChecked && setting.check.chkboxType.Y.indexOf("p") > -1) { - view.setParentNodeCheckBox(setting, node, true); - } - if (!nodeChecked && setting.check.chkboxType.N.indexOf("p") > -1) { - view.setParentNodeCheckBox(setting, node, false); - } - } - }, - makeChkClass: function (setting, node) { - var c = consts.checkbox, r = consts.radio, - fullStyle = ""; - var nodeChecked = data.nodeChecked(setting, node); - if (node.chkDisabled === true) { - fullStyle = c.DISABLED; - } else if (node.halfCheck) { - fullStyle = c.PART; - } else if (setting.check.chkStyle == r.STYLE) { - fullStyle = (node.check_Child_State < 1) ? c.FULL : c.PART; - } else { - fullStyle = nodeChecked ? ((node.check_Child_State === 2 || node.check_Child_State === -1) ? c.FULL : c.PART) : ((node.check_Child_State < 1) ? c.FULL : c.PART); - } - var chkName = setting.check.chkStyle + "_" + (nodeChecked ? c.TRUE : c.FALSE) + "_" + fullStyle; - chkName = (node.check_Focus && node.chkDisabled !== true) ? chkName + "_" + c.FOCUS : chkName; - return consts.className.BUTTON + " " + c.DEFAULT + " " + chkName; - }, - repairAllChk: function (setting, checked) { - if (setting.check.enable && setting.check.chkStyle === consts.checkbox.STYLE) { - var root = data.getRoot(setting); - var children = data.nodeChildren(setting, root); - for (var i = 0, l = children.length; i < l; i++) { - var node = children[i]; - if (node.nocheck !== true && node.chkDisabled !== true) { - data.nodeChecked(setting, node, checked); - } - view.setSonNodeCheckBox(setting, node, checked); - } - } - }, - repairChkClass: function (setting, node) { - if (!node) return; - data.makeChkFlag(setting, node); - if (node.nocheck !== true) { - var checkObj = $$(node, consts.id.CHECK, setting); - view.setChkClass(setting, checkObj, node); - } - }, - repairParentChkClass: function (setting, node) { - if (!node || !node.parentTId) return; - var pNode = node.getParentNode(); - view.repairChkClass(setting, pNode); - view.repairParentChkClass(setting, pNode); - }, - repairParentChkClassWithSelf: function (setting, node) { - if (!node) return; - var children = data.nodeChildren(setting, node); - if (children && children.length > 0) { - view.repairParentChkClass(setting, children[0]); - } else { - view.repairParentChkClass(setting, node); - } - }, - repairSonChkDisabled: function (setting, node, chkDisabled, inherit) { - if (!node) return; - if (node.chkDisabled != chkDisabled) { - node.chkDisabled = chkDisabled; - } - view.repairChkClass(setting, node); - var children = data.nodeChildren(setting, node); - if (children && inherit) { - for (var i = 0, l = children.length; i < l; i++) { - var sNode = children[i]; - view.repairSonChkDisabled(setting, sNode, chkDisabled, inherit); - } - } - }, - repairParentChkDisabled: function (setting, node, chkDisabled, inherit) { - if (!node) return; - if (node.chkDisabled != chkDisabled && inherit) { - node.chkDisabled = chkDisabled; - } - view.repairChkClass(setting, node); - view.repairParentChkDisabled(setting, node.getParentNode(), chkDisabled, inherit); - }, - setChkClass: function (setting, obj, node) { - if (!obj) return; - if (node.nocheck === true) { - obj.hide(); - } else { - obj.show(); - } - obj.attr('class', view.makeChkClass(setting, node)); - }, - setParentNodeCheckBox: function (setting, node, value, srcNode) { - var checkObj = $$(node, consts.id.CHECK, setting); - if (!srcNode) srcNode = node; - data.makeChkFlag(setting, node); - if (node.nocheck !== true && node.chkDisabled !== true) { - data.nodeChecked(setting, node, value); - view.setChkClass(setting, checkObj, node); - if (setting.check.autoCheckTrigger && node != srcNode) { - setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); - } - } - if (node.parentTId) { - var pSign = true; - if (!value) { - var pNodes = data.nodeChildren(setting, node.getParentNode()); - for (var i = 0, l = pNodes.length; i < l; i++) { - var pNode = pNodes[i]; - var nodeChecked = data.nodeChecked(setting, pNode); - if ((pNode.nocheck !== true && pNode.chkDisabled !== true && nodeChecked) - || ((pNode.nocheck === true || pNode.chkDisabled === true) && pNode.check_Child_State > 0)) { - pSign = false; - break; - } - } - } - if (pSign) { - view.setParentNodeCheckBox(setting, node.getParentNode(), value, srcNode); - } - } - }, - setSonNodeCheckBox: function (setting, node, value, srcNode) { - if (!node) return; - var checkObj = $$(node, consts.id.CHECK, setting); - if (!srcNode) srcNode = node; - - var hasDisable = false; - var children = data.nodeChildren(setting, node); - if (children) { - for (var i = 0, l = children.length; i < l; i++) { - var sNode = children[i]; - view.setSonNodeCheckBox(setting, sNode, value, srcNode); - if (sNode.chkDisabled === true) hasDisable = true; - } - } - - if (node != data.getRoot(setting) && node.chkDisabled !== true) { - if (hasDisable && node.nocheck !== true) { - data.makeChkFlag(setting, node); - } - if (node.nocheck !== true && node.chkDisabled !== true) { - data.nodeChecked(setting, node, value); - if (!hasDisable) node.check_Child_State = (children && children.length > 0) ? (value ? 2 : 0) : -1; - } else { - node.check_Child_State = -1; - } - view.setChkClass(setting, checkObj, node); - if (setting.check.autoCheckTrigger && node != srcNode && node.nocheck !== true && node.chkDisabled !== true) { - setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); - } - } - - } - }, - - _z = { - tools: _tools, - view: _view, - event: _event, - data: _data - }; - $.extend(true, $.fn.zTree.consts, _consts); - $.extend(true, $.fn.zTree._z, _z); - - var zt = $.fn.zTree, - tools = zt._z.tools, - consts = zt.consts, - view = zt._z.view, - data = zt._z.data, - event = zt._z.event, - $$ = tools.$; - - data.nodeChecked = function (setting, node, newChecked) { - if (!node) { - return false; - } - var key = setting.data.key.checked; - if (typeof newChecked !== 'undefined') { - if (typeof newChecked === "string") { - newChecked = tools.eqs(newChecked, "true"); - } - newChecked = !!newChecked; - node[key] = newChecked; - } - return node[key]; - }; - - data.exSetting(_setting); - data.addInitBind(_bindEvent); - data.addInitUnBind(_unbindEvent); - data.addInitCache(_initCache); - data.addInitNode(_initNode); - data.addInitProxy(_eventProxy, true); - data.addInitRoot(_initRoot); - data.addBeforeA(_beforeA); - data.addZTreeTools(_zTreeTools); - - var _createNodes = view.createNodes; - view.createNodes = function (setting, level, nodes, parentNode, index) { - if (_createNodes) _createNodes.apply(view, arguments); - if (!nodes) return; - view.repairParentChkClassWithSelf(setting, parentNode); - } - var _removeNode = view.removeNode; - view.removeNode = function (setting, node) { - var parentNode = node.getParentNode(); - if (_removeNode) _removeNode.apply(view, arguments); - if (!node || !parentNode) return; - view.repairChkClass(setting, parentNode); - view.repairParentChkClass(setting, parentNode); - } - - var _appendNodes = view.appendNodes; - view.appendNodes = function (setting, level, nodes, parentNode, index, initFlag, openFlag) { - var html = ""; - if (_appendNodes) { - html = _appendNodes.apply(view, arguments); - } - if (parentNode) { - data.makeChkFlag(setting, parentNode); - } - return html; - } -})(jQuery); -/* - * JQuery zTree exedit v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function ($) { - //default consts of exedit - var _consts = { - event: { - DRAG: "ztree_drag", - DROP: "ztree_drop", - RENAME: "ztree_rename", - DRAGMOVE: "ztree_dragmove" - }, - id: { - EDIT: "_edit", - INPUT: "_input", - REMOVE: "_remove" - }, - move: { - TYPE_INNER: "inner", - TYPE_PREV: "prev", - TYPE_NEXT: "next" - }, - node: { - CURSELECTED_EDIT: "curSelectedNode_Edit", - TMPTARGET_TREE: "tmpTargetzTree", - TMPTARGET_NODE: "tmpTargetNode" - } - }, - //default setting of exedit - _setting = { - edit: { - enable: false, - editNameSelectAll: false, - showRemoveBtn: true, - showRenameBtn: true, - removeTitle: "remove", - renameTitle: "rename", - drag: { - autoExpandTrigger: false, - isCopy: true, - isMove: true, - prev: true, - next: true, - inner: true, - minMoveSize: 5, - borderMax: 10, - borderMin: -5, - maxShowNodeNum: 5, - autoOpenTime: 500 - } - }, - view: { - addHoverDom: null, - removeHoverDom: null - }, - callback: { - beforeDrag: null, - beforeDragOpen: null, - beforeDrop: null, - beforeEditName: null, - beforeRename: null, - onDrag: null, - onDragMove: null, - onDrop: null, - onRename: null - } - }, - //default root of exedit - _initRoot = function (setting) { - var r = data.getRoot(setting), rs = data.getRoots(); - r.curEditNode = null; - r.curEditInput = null; - r.curHoverNode = null; - r.dragFlag = 0; - r.dragNodeShowBefore = []; - r.dragMaskList = new Array(); - rs.showHoverDom = true; - }, - //default cache of exedit - _initCache = function (treeId) { - }, - //default bind event of exedit - _bindEvent = function (setting) { - var o = setting.treeObj; - var c = consts.event; - o.bind(c.RENAME, function (event, treeId, treeNode, isCancel) { - tools.apply(setting.callback.onRename, [event, treeId, treeNode, isCancel]); - }); - - o.bind(c.DRAG, function (event, srcEvent, treeId, treeNodes) { - tools.apply(setting.callback.onDrag, [srcEvent, treeId, treeNodes]); - }); - - o.bind(c.DRAGMOVE, function (event, srcEvent, treeId, treeNodes) { - tools.apply(setting.callback.onDragMove, [srcEvent, treeId, treeNodes]); - }); - - o.bind(c.DROP, function (event, srcEvent, treeId, treeNodes, targetNode, moveType, isCopy) { - tools.apply(setting.callback.onDrop, [srcEvent, treeId, treeNodes, targetNode, moveType, isCopy]); - }); - }, - _unbindEvent = function (setting) { - var o = setting.treeObj; - var c = consts.event; - o.unbind(c.RENAME); - o.unbind(c.DRAG); - o.unbind(c.DRAGMOVE); - o.unbind(c.DROP); - }, - //default event proxy of exedit - _eventProxy = function (e) { - var target = e.target, - setting = data.getSetting(e.data.treeId), - relatedTarget = e.relatedTarget, - tId = "", node = null, - nodeEventType = "", treeEventType = "", - nodeEventCallback = null, treeEventCallback = null, - tmp = null; - - if (tools.eqs(e.type, "mouseover")) { - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - nodeEventType = "hoverOverNode"; - } - } else if (tools.eqs(e.type, "mouseout")) { - tmp = tools.getMDom(setting, relatedTarget, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (!tmp) { - tId = "remove"; - nodeEventType = "hoverOutNode"; - } - } else if (tools.eqs(e.type, "mousedown")) { - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - nodeEventType = "mousedownNode"; - } - } - if (tId.length > 0) { - node = data.getNodeCache(setting, tId); - switch (nodeEventType) { - case "mousedownNode" : - nodeEventCallback = _handler.onMousedownNode; - break; - case "hoverOverNode" : - nodeEventCallback = _handler.onHoverOverNode; - break; - case "hoverOutNode" : - nodeEventCallback = _handler.onHoverOutNode; - break; - } - } - var proxyResult = { - stop: false, - node: node, - nodeEventType: nodeEventType, - nodeEventCallback: nodeEventCallback, - treeEventType: treeEventType, - treeEventCallback: treeEventCallback - }; - return proxyResult - }, - //default init node of exedit - _initNode = function (setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { - if (!n) return; - n.isHover = false; - n.editNameFlag = false; - }, - //update zTreeObj, add method of edit - _zTreeTools = function (setting, zTreeTools) { - zTreeTools.cancelEditName = function (newName) { - var root = data.getRoot(this.setting); - if (!root.curEditNode) return; - view.cancelCurEditNode(this.setting, newName ? newName : null, true); - } - zTreeTools.copyNode = function (targetNode, node, moveType, isSilent) { - if (!node) return null; - var isParent = data.nodeIsParent(setting, targetNode); - if (targetNode && !isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) return null; - var _this = this, - newNode = tools.clone(node); - if (!targetNode) { - targetNode = null; - moveType = consts.move.TYPE_INNER; - } - if (moveType == consts.move.TYPE_INNER) { - function copyCallback() { - view.addNodes(_this.setting, targetNode, -1, [newNode], isSilent); - } - - if (tools.canAsync(this.setting, targetNode)) { - view.asyncNode(this.setting, targetNode, isSilent, copyCallback); - } else { - copyCallback(); - } - } else { - view.addNodes(this.setting, targetNode.parentNode, -1, [newNode], isSilent); - view.moveNode(this.setting, targetNode, newNode, moveType, false, isSilent); - } - return newNode; - } - zTreeTools.editName = function (node) { - if (!node || !node.tId || node !== data.getNodeCache(this.setting, node.tId)) return; - if (node.parentTId) view.expandCollapseParentNode(this.setting, node.getParentNode(), true); - view.editNode(this.setting, node) - } - zTreeTools.moveNode = function (targetNode, node, moveType, isSilent) { - if (!node) return node; - var isParent = data.nodeIsParent(setting, targetNode); - if (targetNode && !isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) { - return null; - } else if (targetNode && ((node.parentTId == targetNode.tId && moveType == consts.move.TYPE_INNER) || $$(node, this.setting).find("#" + targetNode.tId).length > 0)) { - return null; - } else if (!targetNode) { - targetNode = null; - } - var _this = this; - - function moveCallback() { - view.moveNode(_this.setting, targetNode, node, moveType, false, isSilent); - } - - if (tools.canAsync(this.setting, targetNode) && moveType === consts.move.TYPE_INNER) { - view.asyncNode(this.setting, targetNode, isSilent, moveCallback); - } else { - moveCallback(); - } - return node; - } - zTreeTools.setEditable = function (editable) { - this.setting.edit.enable = editable; - return this.refresh(); - } - }, - //method of operate data - _data = { - setSonNodeLevel: function (setting, parentNode, node) { - if (!node) return; - var children = data.nodeChildren(setting, node); - node.level = (parentNode) ? parentNode.level + 1 : 0; - if (!children) return; - for (var i = 0, l = children.length; i < l; i++) { - if (children[i]) data.setSonNodeLevel(setting, node, children[i]); - } - } - }, - //method of event proxy - _event = {}, - //method of event handler - _handler = { - onHoverOverNode: function (event, node) { - var setting = data.getSetting(event.data.treeId), - root = data.getRoot(setting); - if (root.curHoverNode != node) { - _handler.onHoverOutNode(event); - } - root.curHoverNode = node; - view.addHoverDom(setting, node); - }, - onHoverOutNode: function (event, node) { - var setting = data.getSetting(event.data.treeId), - root = data.getRoot(setting); - if (root.curHoverNode && !data.isSelectedNode(setting, root.curHoverNode)) { - view.removeTreeDom(setting, root.curHoverNode); - root.curHoverNode = null; - } - }, - onMousedownNode: function (eventMouseDown, _node) { - var i, l, - setting = data.getSetting(eventMouseDown.data.treeId), - root = data.getRoot(setting), roots = data.getRoots(); - //right click can't drag & drop - if (eventMouseDown.button == 2 || !setting.edit.enable || (!setting.edit.drag.isCopy && !setting.edit.drag.isMove)) return true; - - //input of edit node name can't drag & drop - var target = eventMouseDown.target, - _nodes = data.getRoot(setting).curSelectedList, - nodes = []; - if (!data.isSelectedNode(setting, _node)) { - nodes = [_node]; - } else { - for (i = 0, l = _nodes.length; i < l; i++) { - if (_nodes[i].editNameFlag && tools.eqs(target.tagName, "input") && target.getAttribute("treeNode" + consts.id.INPUT) !== null) { - return true; - } - nodes.push(_nodes[i]); - if (nodes[0].parentTId !== _nodes[i].parentTId) { - nodes = [_node]; - break; - } - } - } - - view.editNodeBlur = true; - view.cancelCurEditNode(setting); - - var doc = $(setting.treeObj.get(0).ownerDocument), - body = $(setting.treeObj.get(0).ownerDocument.body), curNode, tmpArrow, tmpTarget, - isOtherTree = false, - targetSetting = setting, - sourceSetting = setting, - preNode, nextNode, - preTmpTargetNodeId = null, - preTmpMoveType = null, - tmpTargetNodeId = null, - moveType = consts.move.TYPE_INNER, - mouseDownX = eventMouseDown.clientX, - mouseDownY = eventMouseDown.clientY, - startTime = (new Date()).getTime(); - - if (tools.uCanDo(setting)) { - doc.bind("mousemove", _docMouseMove); - } - - function _docMouseMove(event) { - //avoid start drag after click node - if (root.dragFlag == 0 && Math.abs(mouseDownX - event.clientX) < setting.edit.drag.minMoveSize - && Math.abs(mouseDownY - event.clientY) < setting.edit.drag.minMoveSize) { - return true; - } - var i, l, tmpNode, tmpDom, tmpNodes; - body.css("cursor", "pointer"); - - if (root.dragFlag == 0) { - if (tools.apply(setting.callback.beforeDrag, [setting.treeId, nodes], true) == false) { - _docMouseUp(event); - return true; - } - - for (i = 0, l = nodes.length; i < l; i++) { - if (i == 0) { - root.dragNodeShowBefore = []; - } - tmpNode = nodes[i]; - if (data.nodeIsParent(setting, tmpNode) && tmpNode.open) { - view.expandCollapseNode(setting, tmpNode, !tmpNode.open); - root.dragNodeShowBefore[tmpNode.tId] = true; - } else { - root.dragNodeShowBefore[tmpNode.tId] = false; - } - } - - root.dragFlag = 1; - roots.showHoverDom = false; - tools.showIfameMask(setting, true); - - //sort - var isOrder = true, lastIndex = -1; - if (nodes.length > 1) { - var pNodes = nodes[0].parentTId ? data.nodeChildren(setting, nodes[0].getParentNode()) : data.getNodes(setting); - tmpNodes = []; - for (i = 0, l = pNodes.length; i < l; i++) { - if (root.dragNodeShowBefore[pNodes[i].tId] !== undefined) { - if (isOrder && lastIndex > -1 && (lastIndex + 1) !== i) { - isOrder = false; - } - tmpNodes.push(pNodes[i]); - lastIndex = i; - } - if (nodes.length === tmpNodes.length) { - nodes = tmpNodes; - break; - } - } - } - if (isOrder) { - preNode = nodes[0].getPreNode(); - nextNode = nodes[nodes.length - 1].getNextNode(); - } - - //set node in selected - curNode = $$("
                ", setting); - for (i = 0, l = nodes.length; i < l; i++) { - tmpNode = nodes[i]; - tmpNode.editNameFlag = false; - view.selectNode(setting, tmpNode, i > 0); - view.removeTreeDom(setting, tmpNode); - - if (i > setting.edit.drag.maxShowNodeNum - 1) { - continue; - } - - tmpDom = $$("
              • ", setting); - tmpDom.append($$(tmpNode, consts.id.A, setting).clone()); - tmpDom.css("padding", "0"); - tmpDom.children("#" + tmpNode.tId + consts.id.A).removeClass(consts.node.CURSELECTED); - curNode.append(tmpDom); - if (i == setting.edit.drag.maxShowNodeNum - 1) { - tmpDom = $$("
              • ...
              • ", setting); - curNode.append(tmpDom); - } - } - curNode.attr("id", nodes[0].tId + consts.id.UL + "_tmp"); - curNode.addClass(setting.treeObj.attr("class")); - curNode.appendTo(body); - - tmpArrow = $$("", setting); - tmpArrow.attr("id", "zTreeMove_arrow_tmp"); - tmpArrow.appendTo(body); - - setting.treeObj.trigger(consts.event.DRAG, [event, setting.treeId, nodes]); - } - - if (root.dragFlag == 1) { - if (tmpTarget && tmpArrow.attr("id") == event.target.id && tmpTargetNodeId && (event.clientX + doc.scrollLeft() + 2) > ($("#" + tmpTargetNodeId + consts.id.A, tmpTarget).offset().left)) { - var xT = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget); - event.target = (xT.length > 0) ? xT.get(0) : event.target; - } else if (tmpTarget) { - tmpTarget.removeClass(consts.node.TMPTARGET_TREE); - if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) - .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); - } - tmpTarget = null; - tmpTargetNodeId = null; - - //judge drag & drop in multi ztree - isOtherTree = false; - targetSetting = setting; - var settings = data.getSettings(); - for (var s in settings) { - if (settings[s].treeId && settings[s].edit.enable && settings[s].treeId != setting.treeId - && (event.target.id == settings[s].treeId || $(event.target).parents("#" + settings[s].treeId).length > 0)) { - isOtherTree = true; - targetSetting = settings[s]; - } - } - - var docScrollTop = doc.scrollTop(), - docScrollLeft = doc.scrollLeft(), - treeOffset = targetSetting.treeObj.offset(), - scrollHeight = targetSetting.treeObj.get(0).scrollHeight, - scrollWidth = targetSetting.treeObj.get(0).scrollWidth, - dTop = (event.clientY + docScrollTop - treeOffset.top), - dBottom = (targetSetting.treeObj.height() + treeOffset.top - event.clientY - docScrollTop), - dLeft = (event.clientX + docScrollLeft - treeOffset.left), - dRight = (targetSetting.treeObj.width() + treeOffset.left - event.clientX - docScrollLeft), - isTop = (dTop < setting.edit.drag.borderMax && dTop > setting.edit.drag.borderMin), - isBottom = (dBottom < setting.edit.drag.borderMax && dBottom > setting.edit.drag.borderMin), - isLeft = (dLeft < setting.edit.drag.borderMax && dLeft > setting.edit.drag.borderMin), - isRight = (dRight < setting.edit.drag.borderMax && dRight > setting.edit.drag.borderMin), - isTreeInner = dTop > setting.edit.drag.borderMin && dBottom > setting.edit.drag.borderMin && dLeft > setting.edit.drag.borderMin && dRight > setting.edit.drag.borderMin, - isTreeTop = (isTop && targetSetting.treeObj.scrollTop() <= 0), - isTreeBottom = (isBottom && (targetSetting.treeObj.scrollTop() + targetSetting.treeObj.height() + 10) >= scrollHeight), - isTreeLeft = (isLeft && targetSetting.treeObj.scrollLeft() <= 0), - isTreeRight = (isRight && (targetSetting.treeObj.scrollLeft() + targetSetting.treeObj.width() + 10) >= scrollWidth); - - if (event.target && tools.isChildOrSelf(event.target, targetSetting.treeId)) { - //get node
              • dom - var targetObj = event.target; - while (targetObj && targetObj.tagName && !tools.eqs(targetObj.tagName, "li") && targetObj.id != targetSetting.treeId) { - targetObj = targetObj.parentNode; - } - - var canMove = true; - //don't move to self or children of self - for (i = 0, l = nodes.length; i < l; i++) { - tmpNode = nodes[i]; - if (targetObj.id === tmpNode.tId) { - canMove = false; - break; - } else if ($$(tmpNode, setting).find("#" + targetObj.id).length > 0) { - canMove = false; - break; - } - } - if (canMove && event.target && tools.isChildOrSelf(event.target, targetObj.id + consts.id.A)) { - tmpTarget = $(targetObj); - tmpTargetNodeId = targetObj.id; - } - } - - //the mouse must be in zTree - tmpNode = nodes[0]; - if (isTreeInner && tools.isChildOrSelf(event.target, targetSetting.treeId)) { - //judge mouse move in root of ztree - if (!tmpTarget && (event.target.id == targetSetting.treeId || isTreeTop || isTreeBottom || isTreeLeft || isTreeRight) && (isOtherTree || (!isOtherTree && tmpNode.parentTId))) { - tmpTarget = targetSetting.treeObj; - } - //auto scroll top - if (isTop) { - targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop() - 10); - } else if (isBottom) { - targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop() + 10); - } - if (isLeft) { - targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft() - 10); - } else if (isRight) { - targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft() + 10); - } - //auto scroll left - if (tmpTarget && tmpTarget != targetSetting.treeObj && tmpTarget.offset().left < targetSetting.treeObj.offset().left) { - targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft() + tmpTarget.offset().left - targetSetting.treeObj.offset().left); - } - } - - curNode.css({ - "top": (event.clientY + docScrollTop + 3) + "px", - "left": (event.clientX + docScrollLeft + 3) + "px" - }); - - var dX = 0; - var dY = 0; - if (tmpTarget && tmpTarget.attr("id") != targetSetting.treeId) { - var tmpTargetNode = tmpTargetNodeId == null ? null : data.getNodeCache(targetSetting, tmpTargetNodeId), - isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy), - isPrev = !!(preNode && tmpTargetNodeId === preNode.tId), - isNext = !!(nextNode && tmpTargetNodeId === nextNode.tId), - isInner = (tmpNode.parentTId && tmpNode.parentTId == tmpTargetNodeId), - canPrev = (isCopy || !isNext) && tools.apply(targetSetting.edit.drag.prev, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.prev), - canNext = (isCopy || !isPrev) && tools.apply(targetSetting.edit.drag.next, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.next), - canInner = (isCopy || !isInner) && !(targetSetting.data.keep.leaf && !data.nodeIsParent(setting, tmpTargetNode)) && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.inner); - - function clearMove() { - tmpTarget = null; - tmpTargetNodeId = ""; - moveType = consts.move.TYPE_INNER; - tmpArrow.css({ - "display": "none" - }); - if (window.zTreeMoveTimer) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null - } - } - - if (!canPrev && !canNext && !canInner) { - clearMove(); - } else { - var tmpTargetA = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget), - tmpNextA = tmpTargetNode.isLastNode ? null : $("#" + tmpTargetNode.getNextNode().tId + consts.id.A, tmpTarget.next()), - tmpTop = tmpTargetA.offset().top, - tmpLeft = tmpTargetA.offset().left, - prevPercent = canPrev ? (canInner ? 0.25 : (canNext ? 0.5 : 1)) : -1, - nextPercent = canNext ? (canInner ? 0.75 : (canPrev ? 0.5 : 0)) : -1, - dY_percent = (event.clientY + docScrollTop - tmpTop) / tmpTargetA.height(); - - if ((prevPercent == 1 || dY_percent <= prevPercent && dY_percent >= -.2) && canPrev) { - dX = 1 - tmpArrow.width(); - dY = tmpTop - tmpArrow.height() / 2; - moveType = consts.move.TYPE_PREV; - } else if ((nextPercent == 0 || dY_percent >= nextPercent && dY_percent <= 1.2) && canNext) { - dX = 1 - tmpArrow.width(); - dY = (tmpNextA == null || (data.nodeIsParent(setting, tmpTargetNode) && tmpTargetNode.open)) ? (tmpTop + tmpTargetA.height() - tmpArrow.height() / 2) : (tmpNextA.offset().top - tmpArrow.height() / 2); - moveType = consts.move.TYPE_NEXT; - } else if (canInner) { - dX = 5 - tmpArrow.width(); - dY = tmpTop; - moveType = consts.move.TYPE_INNER; - } else { - clearMove(); - } - - if (tmpTarget) { - tmpArrow.css({ - "display": "block", - "top": dY + "px", - "left": (tmpLeft + dX) + "px" - }); - tmpTargetA.addClass(consts.node.TMPTARGET_NODE + "_" + moveType); - - if (preTmpTargetNodeId != tmpTargetNodeId || preTmpMoveType != moveType) { - startTime = (new Date()).getTime(); - } - if (tmpTargetNode && data.nodeIsParent(setting, tmpTargetNode) && moveType == consts.move.TYPE_INNER) { - var startTimer = true; - if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId !== tmpTargetNode.tId) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null; - } else if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId === tmpTargetNode.tId) { - startTimer = false; - } - if (startTimer) { - window.zTreeMoveTimer = setTimeout(function () { - if (moveType != consts.move.TYPE_INNER) return; - if (tmpTargetNode && data.nodeIsParent(setting, tmpTargetNode) && !tmpTargetNode.open && (new Date()).getTime() - startTime > targetSetting.edit.drag.autoOpenTime - && tools.apply(targetSetting.callback.beforeDragOpen, [targetSetting.treeId, tmpTargetNode], true)) { - view.switchNode(targetSetting, tmpTargetNode); - if (targetSetting.edit.drag.autoExpandTrigger) { - targetSetting.treeObj.trigger(consts.event.EXPAND, [targetSetting.treeId, tmpTargetNode]); - } - } - }, targetSetting.edit.drag.autoOpenTime + 50); - window.zTreeMoveTargetNodeTId = tmpTargetNode.tId; - } - } - } - } - } else { - moveType = consts.move.TYPE_INNER; - if (tmpTarget && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, null], !!targetSetting.edit.drag.inner)) { - tmpTarget.addClass(consts.node.TMPTARGET_TREE); - } else { - tmpTarget = null; - } - tmpArrow.css({ - "display": "none" - }); - if (window.zTreeMoveTimer) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null; - } - } - preTmpTargetNodeId = tmpTargetNodeId; - preTmpMoveType = moveType; - - setting.treeObj.trigger(consts.event.DRAGMOVE, [event, setting.treeId, nodes]); - } - return false; - } - - doc.bind("mouseup", _docMouseUp); - - function _docMouseUp(event) { - if (window.zTreeMoveTimer) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null; - } - preTmpTargetNodeId = null; - preTmpMoveType = null; - doc.unbind("mousemove", _docMouseMove); - doc.unbind("mouseup", _docMouseUp); - doc.unbind("selectstart", _docSelect); - body.css("cursor", ""); - if (tmpTarget) { - tmpTarget.removeClass(consts.node.TMPTARGET_TREE); - if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) - .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); - } - tools.showIfameMask(setting, false); - - roots.showHoverDom = true; - if (root.dragFlag == 0) return; - root.dragFlag = 0; - - var i, l, tmpNode; - for (i = 0, l = nodes.length; i < l; i++) { - tmpNode = nodes[i]; - if (data.nodeIsParent(setting, tmpNode) && root.dragNodeShowBefore[tmpNode.tId] && !tmpNode.open) { - view.expandCollapseNode(setting, tmpNode, !tmpNode.open); - delete root.dragNodeShowBefore[tmpNode.tId]; - } - } - - if (curNode) curNode.remove(); - if (tmpArrow) tmpArrow.remove(); - - var isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy); - if (!isCopy && tmpTarget && tmpTargetNodeId && nodes[0].parentTId && tmpTargetNodeId == nodes[0].parentTId && moveType == consts.move.TYPE_INNER) { - tmpTarget = null; - } - if (tmpTarget) { - var dragTargetNode = tmpTargetNodeId == null ? null : data.getNodeCache(targetSetting, tmpTargetNodeId); - if (tools.apply(setting.callback.beforeDrop, [targetSetting.treeId, nodes, dragTargetNode, moveType, isCopy], true) == false) { - view.selectNodes(sourceSetting, nodes); - return; - } - var newNodes = isCopy ? tools.clone(nodes) : nodes; - - function dropCallback() { - if (isOtherTree) { - if (!isCopy) { - for (var i = 0, l = nodes.length; i < l; i++) { - view.removeNode(setting, nodes[i]); - } - } - if (moveType == consts.move.TYPE_INNER) { - view.addNodes(targetSetting, dragTargetNode, -1, newNodes); - } else { - view.addNodes(targetSetting, dragTargetNode.getParentNode(), moveType == consts.move.TYPE_PREV ? dragTargetNode.getIndex() : dragTargetNode.getIndex() + 1, newNodes); - } - } else { - if (isCopy && moveType == consts.move.TYPE_INNER) { - view.addNodes(targetSetting, dragTargetNode, -1, newNodes); - } else if (isCopy) { - view.addNodes(targetSetting, dragTargetNode.getParentNode(), moveType == consts.move.TYPE_PREV ? dragTargetNode.getIndex() : dragTargetNode.getIndex() + 1, newNodes); - } else { - if (moveType != consts.move.TYPE_NEXT) { - for (i = 0, l = newNodes.length; i < l; i++) { - view.moveNode(targetSetting, dragTargetNode, newNodes[i], moveType, false); - } - } else { - for (i = -1, l = newNodes.length - 1; i < l; l--) { - view.moveNode(targetSetting, dragTargetNode, newNodes[l], moveType, false); - } - } - } - } - view.selectNodes(targetSetting, newNodes); - - var a = $$(newNodes[0], setting).get(0); - view.scrollIntoView(setting, a); - - setting.treeObj.trigger(consts.event.DROP, [event, targetSetting.treeId, newNodes, dragTargetNode, moveType, isCopy]); - } - - if (moveType == consts.move.TYPE_INNER && tools.canAsync(targetSetting, dragTargetNode)) { - view.asyncNode(targetSetting, dragTargetNode, false, dropCallback); - } else { - dropCallback(); - } - - } else { - view.selectNodes(sourceSetting, nodes); - setting.treeObj.trigger(consts.event.DROP, [event, setting.treeId, nodes, null, null, null]); - } - } - - doc.bind("selectstart", _docSelect); - - function _docSelect() { - return false; - } - - // 2018-03-30 FireFox has fixed this issue. - //Avoid FireFox's Bug - //If zTree Div CSS set 'overflow', so drag node outside of zTree, and event.target is error. - // if(eventMouseDown.preventDefault) { - // eventMouseDown.preventDefault(); - // } - return true; - } - }, - //method of tools for zTree - _tools = { - getAbs: function (obj) { - var oRect = obj.getBoundingClientRect(), - scrollTop = document.body.scrollTop + document.documentElement.scrollTop, - scrollLeft = document.body.scrollLeft + document.documentElement.scrollLeft; - return [oRect.left + scrollLeft, oRect.top + scrollTop]; - }, - inputFocus: function (inputObj) { - if (inputObj.get(0)) { - inputObj.focus(); - tools.setCursorPosition(inputObj.get(0), inputObj.val().length); - } - }, - inputSelect: function (inputObj) { - if (inputObj.get(0)) { - inputObj.focus(); - inputObj.select(); - } - }, - setCursorPosition: function (obj, pos) { - if (obj.setSelectionRange) { - obj.focus(); - obj.setSelectionRange(pos, pos); - } else if (obj.createTextRange) { - var range = obj.createTextRange(); - range.collapse(true); - range.moveEnd('character', pos); - range.moveStart('character', pos); - range.select(); - } - }, - showIfameMask: function (setting, showSign) { - var root = data.getRoot(setting); - //clear full mask - while (root.dragMaskList.length > 0) { - root.dragMaskList[0].remove(); - root.dragMaskList.shift(); - } - if (showSign) { - //show mask - var iframeList = $$("iframe", setting); - for (var i = 0, l = iframeList.length; i < l; i++) { - var obj = iframeList.get(i), - r = tools.getAbs(obj), - dragMask = $$("
                ", setting); - dragMask.appendTo($$("body", setting)); - root.dragMaskList.push(dragMask); - } - } - } - }, - //method of operate ztree dom - _view = { - addEditBtn: function (setting, node) { - if (node.editNameFlag || $$(node, consts.id.EDIT, setting).length > 0) { - return; - } - if (!tools.apply(setting.edit.showRenameBtn, [setting.treeId, node], setting.edit.showRenameBtn)) { - return; - } - var aObj = $$(node, consts.id.A, setting), - editStr = ""; - aObj.append(editStr); - - $$(node, consts.id.EDIT, setting).bind('click', - function () { - if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeEditName, [setting.treeId, node], true) == false) return false; - view.editNode(setting, node); - return false; - } - ).show(); - }, - addRemoveBtn: function (setting, node) { - if (node.editNameFlag || $$(node, consts.id.REMOVE, setting).length > 0) { - return; - } - if (!tools.apply(setting.edit.showRemoveBtn, [setting.treeId, node], setting.edit.showRemoveBtn)) { - return; - } - var aObj = $$(node, consts.id.A, setting), - removeStr = ""; - aObj.append(removeStr); - - $$(node, consts.id.REMOVE, setting).bind('click', - function () { - if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return false; - view.removeNode(setting, node); - setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]); - return false; - } - ).bind('mousedown', - function (eventMouseDown) { - return true; - } - ).show(); - }, - addHoverDom: function (setting, node) { - if (data.getRoots().showHoverDom) { - node.isHover = true; - if (setting.edit.enable) { - view.addEditBtn(setting, node); - view.addRemoveBtn(setting, node); - } - tools.apply(setting.view.addHoverDom, [setting.treeId, node]); - } - }, - cancelCurEditNode: function (setting, forceName, isCancel) { - var root = data.getRoot(setting), - node = root.curEditNode; - - if (node) { - var inputObj = root.curEditInput, - newName = forceName ? forceName : (isCancel ? data.nodeName(setting, node) : inputObj.val()); - if (tools.apply(setting.callback.beforeRename, [setting.treeId, node, newName, isCancel], true) === false) { - return false; - } - data.nodeName(setting, node, newName); - var aObj = $$(node, consts.id.A, setting); - aObj.removeClass(consts.node.CURSELECTED_EDIT); - inputObj.unbind(); - view.setNodeName(setting, node); - node.editNameFlag = false; - root.curEditNode = null; - root.curEditInput = null; - view.selectNode(setting, node, false); - setting.treeObj.trigger(consts.event.RENAME, [setting.treeId, node, isCancel]); - } - root.noSelection = true; - return true; - }, - editNode: function (setting, node) { - var root = data.getRoot(setting); - view.editNodeBlur = false; - if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) { - setTimeout(function () { - tools.inputFocus(root.curEditInput); - }, 0); - return; - } - node.editNameFlag = true; - view.removeTreeDom(setting, node); - view.cancelCurEditNode(setting); - view.selectNode(setting, node, false); - $$(node, consts.id.SPAN, setting).html(""); - var inputObj = $$(node, consts.id.INPUT, setting); - inputObj.attr("value", data.nodeName(setting, node)); - if (setting.edit.editNameSelectAll) { - tools.inputSelect(inputObj); - } else { - tools.inputFocus(inputObj); - } - - inputObj.bind('blur', function (event) { - if (!view.editNodeBlur) { - view.cancelCurEditNode(setting); - } - }).bind('keydown', function (event) { - if (event.keyCode == "13") { - view.editNodeBlur = true; - view.cancelCurEditNode(setting); - } else if (event.keyCode == "27") { - view.cancelCurEditNode(setting, null, true); - } - }).bind('click', function (event) { - return false; - }).bind('dblclick', function (event) { - return false; - }); - - $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED_EDIT); - root.curEditInput = inputObj; - root.noSelection = false; - root.curEditNode = node; - }, - moveNode: function (setting, targetNode, node, moveType, animateFlag, isSilent) { - var root = data.getRoot(setting); - if (targetNode == node) return; - if (setting.data.keep.leaf && targetNode && !data.nodeIsParent(setting, targetNode) && moveType == consts.move.TYPE_INNER) return; - var oldParentNode = (node.parentTId ? node.getParentNode() : root), - targetNodeIsRoot = (targetNode === null || targetNode == root); - if (targetNodeIsRoot && targetNode === null) targetNode = root; - if (targetNodeIsRoot) moveType = consts.move.TYPE_INNER; - var targetParentNode = (targetNode.parentTId ? targetNode.getParentNode() : root); - - if (moveType != consts.move.TYPE_PREV && moveType != consts.move.TYPE_NEXT) { - moveType = consts.move.TYPE_INNER; - } - - if (moveType == consts.move.TYPE_INNER) { - if (targetNodeIsRoot) { - //parentTId of root node is null - node.parentTId = null; - } else { - if (!data.nodeIsParent(setting, targetNode)) { - data.nodeIsParent(setting, targetNode, true); - targetNode.open = !!targetNode.open; - view.setNodeLineIcos(setting, targetNode); - } - node.parentTId = targetNode.tId; - } - } - - //move node Dom - var targetObj, target_ulObj; - if (targetNodeIsRoot) { - targetObj = setting.treeObj; - target_ulObj = targetObj; - } else { - if (!isSilent && moveType == consts.move.TYPE_INNER) { - view.expandCollapseNode(setting, targetNode, true, false); - } else if (!isSilent) { - view.expandCollapseNode(setting, targetNode.getParentNode(), true, false); - } - targetObj = $$(targetNode, setting); - target_ulObj = $$(targetNode, consts.id.UL, setting); - if (!!targetObj.get(0) && !target_ulObj.get(0)) { - var ulstr = []; - view.makeUlHtml(setting, targetNode, ulstr, ''); - targetObj.append(ulstr.join('')); - } - target_ulObj = $$(targetNode, consts.id.UL, setting); - } - var nodeDom = $$(node, setting); - if (!nodeDom.get(0)) { - nodeDom = view.appendNodes(setting, node.level, [node], null, -1, false, true).join(''); - } else if (!targetObj.get(0)) { - nodeDom.remove(); - } - if (target_ulObj.get(0) && moveType == consts.move.TYPE_INNER) { - target_ulObj.append(nodeDom); - } else if (targetObj.get(0) && moveType == consts.move.TYPE_PREV) { - targetObj.before(nodeDom); - } else if (targetObj.get(0) && moveType == consts.move.TYPE_NEXT) { - targetObj.after(nodeDom); - } - - //repair the data after move - var i, l, - tmpSrcIndex = -1, - tmpTargetIndex = 0, - oldNeighbor = null, - newNeighbor = null, - oldLevel = node.level; - var oldChildren = data.nodeChildren(setting, oldParentNode); - var targetParentChildren = data.nodeChildren(setting, targetParentNode); - var targetChildren = data.nodeChildren(setting, targetNode); - if (node.isFirstNode) { - tmpSrcIndex = 0; - if (oldChildren.length > 1) { - oldNeighbor = oldChildren[1]; - oldNeighbor.isFirstNode = true; - } - } else if (node.isLastNode) { - tmpSrcIndex = oldChildren.length - 1; - oldNeighbor = oldChildren[tmpSrcIndex - 1]; - oldNeighbor.isLastNode = true; - } else { - for (i = 0, l = oldChildren.length; i < l; i++) { - if (oldChildren[i].tId == node.tId) { - tmpSrcIndex = i; - break; - } - } - } - if (tmpSrcIndex >= 0) { - oldChildren.splice(tmpSrcIndex, 1); - } - if (moveType != consts.move.TYPE_INNER) { - for (i = 0, l = targetParentChildren.length; i < l; i++) { - if (targetParentChildren[i].tId == targetNode.tId) tmpTargetIndex = i; - } - } - if (moveType == consts.move.TYPE_INNER) { - if (!targetChildren) { - targetChildren = data.nodeChildren(setting, targetNode, []); - } - if (targetChildren.length > 0) { - newNeighbor = targetChildren[targetChildren.length - 1]; - newNeighbor.isLastNode = false; - } - targetChildren.splice(targetChildren.length, 0, node); - node.isLastNode = true; - node.isFirstNode = (targetChildren.length == 1); - } else if (targetNode.isFirstNode && moveType == consts.move.TYPE_PREV) { - targetParentChildren.splice(tmpTargetIndex, 0, node); - newNeighbor = targetNode; - newNeighbor.isFirstNode = false; - node.parentTId = targetNode.parentTId; - node.isFirstNode = true; - node.isLastNode = false; - - } else if (targetNode.isLastNode && moveType == consts.move.TYPE_NEXT) { - targetParentChildren.splice(tmpTargetIndex + 1, 0, node); - newNeighbor = targetNode; - newNeighbor.isLastNode = false; - node.parentTId = targetNode.parentTId; - node.isFirstNode = false; - node.isLastNode = true; - - } else { - if (moveType == consts.move.TYPE_PREV) { - targetParentChildren.splice(tmpTargetIndex, 0, node); - } else { - targetParentChildren.splice(tmpTargetIndex + 1, 0, node); - } - node.parentTId = targetNode.parentTId; - node.isFirstNode = false; - node.isLastNode = false; - } - data.fixPIdKeyValue(setting, node); - data.setSonNodeLevel(setting, node.getParentNode(), node); - - //repair node what been moved - view.setNodeLineIcos(setting, node); - view.repairNodeLevelClass(setting, node, oldLevel); - - //repair node's old parentNode dom - if (!setting.data.keep.parent && oldChildren.length < 1) { - //old parentNode has no child nodes - data.nodeIsParent(setting, oldParentNode, false); - oldParentNode.open = false; - var tmp_ulObj = $$(oldParentNode, consts.id.UL, setting), - tmp_switchObj = $$(oldParentNode, consts.id.SWITCH, setting), - tmp_icoObj = $$(oldParentNode, consts.id.ICON, setting); - view.replaceSwitchClass(oldParentNode, tmp_switchObj, consts.folder.DOCU); - view.replaceIcoClass(oldParentNode, tmp_icoObj, consts.folder.DOCU); - tmp_ulObj.css("display", "none"); - - } else if (oldNeighbor) { - //old neigbor node - view.setNodeLineIcos(setting, oldNeighbor); - } - - //new neigbor node - if (newNeighbor) { - view.setNodeLineIcos(setting, newNeighbor); - } - - //repair checkbox / radio - if (!!setting.check && setting.check.enable && view.repairChkClass) { - view.repairChkClass(setting, oldParentNode); - view.repairParentChkClassWithSelf(setting, oldParentNode); - if (oldParentNode != node.parent) - view.repairParentChkClassWithSelf(setting, node); - } - - //expand parents after move - if (!isSilent) { - view.expandCollapseParentNode(setting, node.getParentNode(), true, animateFlag); - } - }, - removeEditBtn: function (setting, node) { - $$(node, consts.id.EDIT, setting).unbind().remove(); - }, - removeRemoveBtn: function (setting, node) { - $$(node, consts.id.REMOVE, setting).unbind().remove(); - }, - removeTreeDom: function (setting, node) { - node.isHover = false; - view.removeEditBtn(setting, node); - view.removeRemoveBtn(setting, node); - tools.apply(setting.view.removeHoverDom, [setting.treeId, node]); - }, - repairNodeLevelClass: function (setting, node, oldLevel) { - if (oldLevel === node.level) return; - var liObj = $$(node, setting), - aObj = $$(node, consts.id.A, setting), - ulObj = $$(node, consts.id.UL, setting), - oldClass = consts.className.LEVEL + oldLevel, - newClass = consts.className.LEVEL + node.level; - liObj.removeClass(oldClass); - liObj.addClass(newClass); - aObj.removeClass(oldClass); - aObj.addClass(newClass); - ulObj.removeClass(oldClass); - ulObj.addClass(newClass); - }, - selectNodes: function (setting, nodes) { - for (var i = 0, l = nodes.length; i < l; i++) { - view.selectNode(setting, nodes[i], i > 0); - } - } - }, - - _z = { - tools: _tools, - view: _view, - event: _event, - data: _data - }; - $.extend(true, $.fn.zTree.consts, _consts); - $.extend(true, $.fn.zTree._z, _z); - - var zt = $.fn.zTree, - tools = zt._z.tools, - consts = zt.consts, - view = zt._z.view, - data = zt._z.data, - event = zt._z.event, - $$ = tools.$; - - data.exSetting(_setting); - data.addInitBind(_bindEvent); - data.addInitUnBind(_unbindEvent); - data.addInitCache(_initCache); - data.addInitNode(_initNode); - data.addInitProxy(_eventProxy); - data.addInitRoot(_initRoot); - data.addZTreeTools(_zTreeTools); - - var _cancelPreSelectedNode = view.cancelPreSelectedNode; - view.cancelPreSelectedNode = function (setting, node) { - var list = data.getRoot(setting).curSelectedList; - for (var i = 0, j = list.length; i < j; i++) { - if (!node || node === list[i]) { - view.removeTreeDom(setting, list[i]); - if (node) break; - } - } - if (_cancelPreSelectedNode) _cancelPreSelectedNode.apply(view, arguments); - } - - var _createNodes = view.createNodes; - view.createNodes = function (setting, level, nodes, parentNode, index) { - if (_createNodes) { - _createNodes.apply(view, arguments); - } - if (!nodes) return; - if (view.repairParentChkClassWithSelf) { - view.repairParentChkClassWithSelf(setting, parentNode); - } - } - - var _makeNodeUrl = view.makeNodeUrl; - view.makeNodeUrl = function (setting, node) { - return setting.edit.enable ? null : (_makeNodeUrl.apply(view, arguments)); - } - - var _removeNode = view.removeNode; - view.removeNode = function (setting, node) { - var root = data.getRoot(setting); - if (root.curEditNode === node) root.curEditNode = null; - if (_removeNode) { - _removeNode.apply(view, arguments); - } - } - - var _selectNode = view.selectNode; - view.selectNode = function (setting, node, addFlag) { - var root = data.getRoot(setting); - if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) { - return false; - } - if (_selectNode) _selectNode.apply(view, arguments); - view.addHoverDom(setting, node); - return true; - } - - var _uCanDo = tools.uCanDo; - tools.uCanDo = function (setting, e) { - var root = data.getRoot(setting); - if (e && (tools.eqs(e.type, "mouseover") || tools.eqs(e.type, "mouseout") || tools.eqs(e.type, "mousedown") || tools.eqs(e.type, "mouseup"))) { - return true; - } - if (root.curEditNode) { - view.editNodeBlur = false; - root.curEditInput.focus(); - } - return (!root.curEditNode) && (_uCanDo ? _uCanDo.apply(view, arguments) : true); - } -})(jQuery); diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.all.min.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.all.min.js deleted file mode 100644 index 52bbe0d..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.all.min.js +++ /dev/null @@ -1,166 +0,0 @@ - -/* - * JQuery zTree core v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(r){var J,K,L,M,N,O,v,t={},w={},x={},P={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{isParent:"isParent",children:"children",name:"name",title:"",url:"url",icon:"icon"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post", -dataType:"text",headers:{},xhrFields:{},url:"",autoParam:[],otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},y=[function(a){var b=a.treeObj,c=g.event;b.bind(c.NODECREATED, -function(b,c,i){h.apply(a.callback.onNodeCreated,[b,c,i])});b.bind(c.CLICK,function(b,c,i,e,k){h.apply(a.callback.onClick,[c,i,e,k])});b.bind(c.EXPAND,function(b,c,i){h.apply(a.callback.onExpand,[b,c,i])});b.bind(c.COLLAPSE,function(b,c,i){h.apply(a.callback.onCollapse,[b,c,i])});b.bind(c.ASYNC_SUCCESS,function(b,c,i,e){h.apply(a.callback.onAsyncSuccess,[b,c,i,e])});b.bind(c.ASYNC_ERROR,function(b,c,i,e,k,g){h.apply(a.callback.onAsyncError,[b,c,i,e,k,g])});b.bind(c.REMOVE,function(b,c,i){h.apply(a.callback.onRemove, -[b,c,i])});b.bind(c.SELECTED,function(b,c,i){h.apply(a.callback.onSelected,[c,i])});b.bind(c.UNSELECTED,function(b,c,i){h.apply(a.callback.onUnSelected,[c,i])})}],z=[function(a){var b=g.event;a.treeObj.unbind(b.NODECREATED).unbind(b.CLICK).unbind(b.EXPAND).unbind(b.COLLAPSE).unbind(b.ASYNC_SUCCESS).unbind(b.ASYNC_ERROR).unbind(b.REMOVE).unbind(b.SELECTED).unbind(b.UNSELECTED)}],A=[function(a){var b=e.getCache(a);b||(b={},e.setCache(a,b));b.nodes=[];b.doms=[]}],B=[function(a,b,c,d,f,i){if(c){var m= -e.getRoot(a),k=e.nodeChildren(a,c);c.level=b;c.tId=a.treeId+"_"+ ++m.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?h.eqs(c.open,"true"):!!c.open;b=e.nodeIsParent(a,c);h.isArray(k)&&!(b===!1||typeof b=="string"&&h.eqs(b,"false"))?(e.nodeIsParent(a,c,!0),c.zAsync=!0):(b=e.nodeIsParent(a,c,b),c.open=b&&!a.async.enable?c.open:!1,c.zAsync=!b);c.isFirstNode=f;c.isLastNode=i;c.getParentNode=function(){return e.getNodeCache(a,c.parentTId)};c.getPreNode=function(){return e.getPreNode(a,c)};c.getNextNode= -function(){return e.getNextNode(a,c)};c.getIndex=function(){return e.getNodeIndex(a,c)};c.getPath=function(){return e.getNodePath(a,c)};c.isAjaxing=!1;e.fixPIdKeyValue(a,c)}}],u=[function(a){var b=a.target,c=e.getSetting(a.data.treeId),d="",f=null,i="",m="",k=null,j=null,o=null;if(h.eqs(a.type,"mousedown"))m="mousedown";else if(h.eqs(a.type,"mouseup"))m="mouseup";else if(h.eqs(a.type,"contextmenu"))m="contextmenu";else if(h.eqs(a.type,"click"))if(h.eqs(b.tagName,"span")&&b.getAttribute("treeNode"+ -g.id.SWITCH)!==null)d=h.getNodeMainDom(b).id,i="switchNode";else{if(o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}]))d=h.getNodeMainDom(o).id,i="clickNode"}else if(h.eqs(a.type,"dblclick")&&(m="dblclick",o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}])))d=h.getNodeMainDom(o).id,i="switchNode";if(m.length>0&&d.length==0&&(o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}])))d=h.getNodeMainDom(o).id;if(d.length>0)switch(f=e.getNodeCache(c,d),i){case "switchNode":e.nodeIsParent(c, -f)?h.eqs(a.type,"click")||h.eqs(a.type,"dblclick")&&h.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?k=J:i="":i="";break;case "clickNode":k=K}switch(m){case "mousedown":j=L;break;case "mouseup":j=M;break;case "dblclick":j=N;break;case "contextmenu":j=O}return{stop:!1,node:f,nodeEventType:i,nodeEventCallback:k,treeEventType:m,treeEventCallback:j}}],C=[function(a){var b=e.getRoot(a);b||(b={},e.setRoot(a,b));e.nodeChildren(a,b,[]);b.expandTriggerFlag=!1;b.curSelectedList=[];b.noSelection= -!0;b.createdNodes=[];b.zId=0;b._ver=(new Date).getTime()}],D=[],E=[],F=[],G=[],H=[],e={addNodeCache:function(a,b){e.getCache(a).nodes[e.getNodeCacheId(b.tId)]=b},getNodeCacheId:function(a){return a.substring(a.lastIndexOf("_")+1)},addAfterA:function(a){E.push(a)},addBeforeA:function(a){D.push(a)},addInnerAfterA:function(a){G.push(a)},addInnerBeforeA:function(a){F.push(a)},addInitBind:function(a){y.push(a)},addInitUnBind:function(a){z.push(a)},addInitCache:function(a){A.push(a)},addInitNode:function(a){B.push(a)}, -addInitProxy:function(a,b){b?u.splice(0,0,a):u.push(a)},addInitRoot:function(a){C.push(a)},addNodesData:function(a,b,c,d){var f=e.nodeChildren(a,b);f?c>=f.length&&(c=-1):(f=e.nodeChildren(a,b,[]),c=-1);if(f.length>0&&c===0)f[0].isFirstNode=!1,j.setNodeLineIcos(a,f[0]);else if(f.length>0&&c<0)f[f.length-1].isLastNode=!1,j.setNodeLineIcos(a,f[f.length-1]);e.nodeIsParent(a,b,!0);c<0?e.nodeChildren(a,b,f.concat(d)):(a=[c,0].concat(d),f.splice.apply(f,a))},addSelectedNode:function(a,b){var c=e.getRoot(a); -e.isSelectedNode(a,b)||c.curSelectedList.push(b)},addCreatedNode:function(a,b){(a.callback.onNodeCreated||a.view.addDiyDom)&&e.getRoot(a).createdNodes.push(b)},addZTreeTools:function(a){H.push(a)},exSetting:function(a){r.extend(!0,P,a)},fixPIdKeyValue:function(a,b){a.data.simpleData.enable&&(b[a.data.simpleData.pIdKey]=b.parentTId?b.getParentNode()[a.data.simpleData.idKey]:a.data.simpleData.rootPId)},getAfterA:function(a,b,c){for(var d=0,e=E.length;d-1&& -f.push(k);k=e.nodeChildren(a,k);f=f.concat(e.getNodesByParamFuzzy(a,k,c,d))}return f},getNodesByFilter:function(a,b,c,d,f){if(!b)return d?null:[];for(var i=d?null:[],m=0,k=b.length;m -0)},clone:function(a){if(a===null)return null;var b=h.isArray(a)?[]:{},c;for(c in a)b[c]=a[c]instanceof Date?new Date(a[c].getTime()):typeof a[c]==="object"?h.clone(a[c]):a[c];return b},eqs:function(a,b){return a.toLowerCase()===b.toLowerCase()},isArray:function(a){return Object.prototype.toString.apply(a)==="[object Array]"},isElement:function(a){return typeof HTMLElement==="object"?a instanceof HTMLElement:a&&typeof a==="object"&&a!==null&&a.nodeType===1&&typeof a.nodeName==="string"},$:function(a, -b,c){b&&typeof b!="string"&&(c=b,b="");return typeof a=="string"?r(a,c?c.treeObj.get(0).ownerDocument:null):r("#"+a.tId+b,c?c.treeObj:null)},getMDom:function(a,b,c){if(!b)return null;for(;b&&b.id!==a.treeId;){for(var d=0,e=c.length;b.tagName&&d0},uCanDo:function(){return!0}},j={addNodes:function(a,b,c,d,f){var i=e.nodeIsParent(a,b);if(!a.data.keep.leaf||!b||i)if(h.isArray(d)||(d=[d]),a.data.simpleData.enable&&(d=e.transformTozTreeFormat(a,d)),b){var i=l(b,g.id.SWITCH,a),m=l(b,g.id.ICON,a),k=l(b,g.id.UL,a);if(!b.open)j.replaceSwitchClass(b,i,g.folder.CLOSE),j.replaceIcoClass(b,m,g.folder.CLOSE),b.open=!1,k.css({display:"none"});e.addNodesData(a,b,c,d);j.createNodes(a,b.level+1,d,b,c);f||j.expandCollapseParentNode(a,b,!0)}else e.addNodesData(a, -e.getRoot(a),c,d),j.createNodes(a,0,d,null,c)},appendNodes:function(a,b,c,d,f,i,g){if(!c)return[];var k=[],h=d?d:e.getRoot(a),h=e.nodeChildren(a,h),o,l;if(!h||f>=h.length-c.length)f=-1;for(var s=0,n=c.length;s0&&(l=j.appendNodes(a,b+1,I,p,-1,i,g&&p.open));g&&(j.makeDOMNodeMainBefore(k,a,p),j.makeDOMNodeLine(k, -a,p),e.getBeforeA(a,p,k),j.makeDOMNodeNameBefore(k,a,p),e.getInnerBeforeA(a,p,k),j.makeDOMNodeIcon(k,a,p),e.getInnerAfterA(a,p,k),j.makeDOMNodeNameAfter(k,a,p),e.getAfterA(a,p,k),o&&p.open&&j.makeUlHtml(a,p,k,l.join("")),j.makeDOMNodeMainAfter(k,a,p),e.addCreatedNode(a,p))}return k},appendParentULDom:function(a,b){var c=[],d=l(b,a);!d.get(0)&&b.parentTId&&(j.appendParentULDom(a,b.getParentNode()),d=l(b,a));var f=l(b,g.id.UL,a);f.get(0)&&f.remove();f=e.nodeChildren(a,b);f=j.appendNodes(a,b.level+1, -f,b,-1,!1,!0);j.makeUlHtml(a,b,c,f.join(""));d.append(c.join(""))},asyncNode:function(a,b,c,d){var f,i;f=e.nodeIsParent(a,b);if(b&&!f)return h.apply(d),!1;else if(b&&b.isAjaxing)return!1;else if(h.apply(a.callback.beforeAsync,[a.treeId,b],!0)==!1)return h.apply(d),!1;if(b)b.isAjaxing=!0,l(b,g.id.ICON,a).attr({style:"","class":g.className.BUTTON+" "+g.className.ICO_LOADING});var m={},k=h.apply(a.async.autoParam,[a.treeId,b],a.async.autoParam);for(f=0,i=k.length;b&&f1&&(o=q[1],q=q[0]);m[o]=b[q]}k=h.apply(a.async.otherParam,[a.treeId,b],a.async.otherParam);if(h.isArray(k))for(f=0,i=k.length;f-1?JSON.stringify(m):m,dataType:a.async.dataType,headers:a.async.headers,xhrFields:a.async.xhrFields,success:function(i){if(s== -e.getRoot(a)._ver){var f=[];try{f=!i||i.length==0?[]:typeof i=="string"?eval("("+i+")"):i}catch(k){f=i}if(b)b.isAjaxing=null,b.zAsync=!0;j.setNodeLineIcos(a,b);f&&f!==""?(f=h.apply(a.async.dataFilter,[a.treeId,b,f],f),j.addNodes(a,b,-1,f?h.clone(f):[],!!c)):j.addNodes(a,b,-1,[],!!c);a.treeObj.trigger(g.event.ASYNC_SUCCESS,[a.treeId,b,i]);h.apply(d)}},error:function(c,d,i){if(s==e.getRoot(a)._ver){if(b)b.isAjaxing=null;j.setNodeLineIcos(a,b);a.treeObj.trigger(g.event.ASYNC_ERROR,[a.treeId,b,c,d,i])}}}); -return!0},cancelPreSelectedNode:function(a,b,c){var d=e.getRoot(a).curSelectedList,f,i;for(f=d.length-1;f>=0;f--)if(i=d[f],b===i||!b&&(!c||c!==i))if(l(i,g.id.A,a).removeClass(g.node.CURSELECTED),b){e.removeSelectedNode(a,b);break}else d.splice(f,1),a.treeObj.trigger(g.event.UNSELECTED,[a.treeId,i])},createNodeCallback:function(a){if(a.callback.onNodeCreated||a.view.addDiyDom)for(var b=e.getRoot(a);b.createdNodes.length>0;){var c=b.createdNodes.shift();h.apply(a.view.addDiyDom,[a.treeId,c]);a.callback.onNodeCreated&& -a.treeObj.trigger(g.event.NODECREATED,[a.treeId,c])}},createNodes:function(a,b,c,d,f){if(c&&c.length!=0){var i=e.getRoot(a),m=!d||d.open||!!l(e.nodeChildren(a,d)[0],a).get(0);i.createdNodes=[];var b=j.appendNodes(a,b,c,d,f,!0,m),k,h;d?(d=l(d,g.id.UL,a),d.get(0)&&(k=d)):k=a.treeObj;k&&(f>=0&&(h=k.children()[f]),f>=0&&h?r(h).before(b.join("")):k.append(b.join("")));j.createNodeCallback(a)}},destroy:function(a){a&&(e.initCache(a),e.initRoot(a),n.unbindTree(a),n.unbindEvent(a),a.treeObj.empty(),delete t[a.treeId])}, -expandCollapseNode:function(a,b,c,d,f){var i=e.getRoot(a),m;if(b){var k=e.nodeChildren(a,b),q=e.nodeIsParent(a,b);if(i.expandTriggerFlag)m=f,f=function(){m&&m();b.open?a.treeObj.trigger(g.event.EXPAND,[a.treeId,b]):a.treeObj.trigger(g.event.COLLAPSE,[a.treeId,b])},i.expandTriggerFlag=!1;if(!b.open&&q&&(!l(b,g.id.UL,a).get(0)||k&&k.length>0&&!l(k[0],a).get(0)))j.appendParentULDom(a,b),j.createNodeCallback(a);if(b.open==c)h.apply(f,[]);else{var c=l(b,g.id.UL,a),i=l(b,g.id.SWITCH,a),o=l(b,g.id.ICON, -a);q?(b.open=!b.open,b.iconOpen&&b.iconClose&&o.attr("style",j.makeNodeIcoStyle(a,b)),b.open?(j.replaceSwitchClass(b,i,g.folder.OPEN),j.replaceIcoClass(b,o,g.folder.OPEN),d==!1||a.view.expandSpeed==""?(c.show(),h.apply(f,[])):k&&k.length>0?c.slideDown(a.view.expandSpeed,f):(c.show(),h.apply(f,[]))):(j.replaceSwitchClass(b,i,g.folder.CLOSE),j.replaceIcoClass(b,o,g.folder.CLOSE),d==!1||a.view.expandSpeed==""||!(k&&k.length>0)?(c.hide(),h.apply(f,[])):c.slideUp(a.view.expandSpeed,f))):h.apply(f,[])}}else h.apply(f, -[])},expandCollapseParentNode:function(a,b,c,d,e){b&&(b.parentTId?(j.expandCollapseNode(a,b,c,d),b.parentTId&&j.expandCollapseParentNode(a,b.getParentNode(),c,d,e)):j.expandCollapseNode(a,b,c,d,e))},expandCollapseSonNode:function(a,b,c,d,f){var i=e.getRoot(a),i=b?e.nodeChildren(a,b):e.nodeChildren(a,i),g=b?!1:d,k=e.getRoot(a).expandTriggerFlag;e.getRoot(a).expandTriggerFlag=!1;if(i)for(var h=0,l=i.length;h=0;d--)if(b===c[d])return!0;return!1},makeDOMNodeIcon:function(a,b,c){var d=e.nodeName(b,c),d=b.view.nameIsHTML?d:d.replace(/&/g,"&").replace(//g,">");a.push("", -d,"")},makeDOMNodeLine:function(a,b,c){a.push("")},makeDOMNodeMainAfter:function(a){a.push("
              • ")},makeDOMNodeMainBefore:function(a,b,c){a.push("
              • ")},makeDOMNodeNameAfter:function(a){a.push("")},makeDOMNodeNameBefore:function(a,b,c){var d=e.nodeTitle(b,c),f=j.makeNodeUrl(b,c),i=j.makeNodeFontCss(b, -c),m=[],k;for(k in i)m.push(k,":",i[k],";");a.push("0?"href='"+f+"'":""," target='",j.makeNodeTarget(c),"' style='",m.join(""),"'");h.apply(b.view.showTitle,[b.treeId,c],b.view.showTitle)&&d&&a.push("title='",d.replace(/'/g,"'").replace(//g,">"),"'");a.push(">")},makeNodeFontCss:function(a,b){var c=h.apply(a.view.fontCss,[a.treeId,b],a.view.fontCss); -return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(a,b){var c=["ico"];if(!b.isAjaxing){var d=e.nodeIsParent(a,b);c[0]=(b.iconSkin?b.iconSkin+"_":"")+c[0];d?c.push(b.open?g.folder.OPEN:g.folder.CLOSE):c.push(g.folder.DOCU)}return g.className.BUTTON+" "+c.join("_")},makeNodeIcoStyle:function(a,b){var c=[];if(!b.isAjaxing){var d=e.nodeIsParent(a,b)&&b.iconOpen&&b.iconClose?b.open?b.iconOpen:b.iconClose:b[a.data.key.icon];d&&c.push("background:url(",d,") 0 0 no-repeat;");(a.view.showIcon== -!1||!h.apply(a.view.showIcon,[a.treeId,b],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(a,b){var c=[];a.view.showLine?b.level==0&&b.isFirstNode&&b.isLastNode?c.push(g.line.ROOT):b.level==0&&b.isFirstNode?c.push(g.line.ROOTS):b.isLastNode?c.push(g.line.BOTTOM):c.push(g.line.CENTER):c.push(g.line.NOLINE);e.nodeIsParent(a,b)?c.push(b.open?g.folder.OPEN:g.folder.CLOSE):c.push(g.folder.DOCU);return j.makeNodeLineClassEx(b)+c.join("_")},makeNodeLineClassEx:function(a){return g.className.BUTTON+ -" "+g.className.LEVEL+a.level+" "+g.className.SWITCH+" "},makeNodeTarget:function(a){return a.target||"_blank"},makeNodeUrl:function(a,b){var c=a.data.key.url;return b[c]?b[c]:null},makeUlHtml:function(a,b,c,d){c.push("
                  ");c.push(d);c.push("
                ")},makeUlLineClass:function(a,b){return a.view.showLine&&!b.isLastNode?g.line.LINE:""},removeChildNodes:function(a,b){if(b){var c= -e.nodeChildren(a,b);if(c){for(var d=0,f=c.length;dc.bottom||d.right>c.right||d.left0)c[0].isFirstNode=!0},setLastNode:function(a,b){var c=e.nodeChildren(a, -b);if(c.length>0)c[c.length-1].isLastNode=!0},removeNode:function(a,b){var c=e.getRoot(a),d=b.parentTId?b.getParentNode():c;b.isFirstNode=!1;b.isLastNode=!1;b.getPreNode=function(){return null};b.getNextNode=function(){return null};if(e.getNodeCache(a,b.tId)){l(b,a).remove();e.removeNodeCache(a,b);e.removeSelectedNode(a,b);for(var f=e.nodeChildren(a,d),i=0,h=f.length;i0){var q=f[i-1],i=l(q,g.id.UL,a),h=l(q,g.id.SWITCH,a);k=l(q,g.id.ICON,a);d==c?f.length==1?j.replaceSwitchClass(q,h,g.line.ROOT):(c=l(f[0],g.id.SWITCH,a),j.replaceSwitchClass(f[0],c,g.line.ROOTS),j.replaceSwitchClass(q,h,g.line.BOTTOM)):j.replaceSwitchClass(q, -h,g.line.BOTTOM);i.removeClass(g.line.LINE)}}},replaceIcoClass:function(a,b,c){if(b&&!a.isAjaxing&&(a=b.attr("class"),a!=void 0)){a=a.split("_");switch(c){case g.folder.OPEN:case g.folder.CLOSE:case g.folder.DOCU:a[a.length-1]=c}b.attr("class",a.join("_"))}},replaceSwitchClass:function(a,b,c){if(b){var d=b.attr("class");if(d!=void 0){d=d.split("_");switch(c){case g.line.ROOT:case g.line.ROOTS:case g.line.CENTER:case g.line.BOTTOM:case g.line.NOLINE:d[0]=j.makeNodeLineClassEx(a)+c;break;case g.folder.OPEN:case g.folder.CLOSE:case g.folder.DOCU:d[1]= -c}b.attr("class",d.join("_"));c!==g.folder.DOCU?b.removeAttr("disabled"):b.attr("disabled","disabled")}}},selectNode:function(a,b,c){c||j.cancelPreSelectedNode(a,null,b);l(b,g.id.A,a).addClass(g.node.CURSELECTED);e.addSelectedNode(a,b);a.treeObj.trigger(g.event.SELECTED,[a.treeId,b])},setNodeFontCss:function(a,b){var c=l(b,g.id.A,a),d=j.makeNodeFontCss(a,b);d&&c.css(d)},setNodeLineIcos:function(a,b){if(b){var c=l(b,g.id.SWITCH,a),d=l(b,g.id.UL,a),f=l(b,g.id.ICON,a),i=j.makeUlLineClass(a,b);i.length== -0?d.removeClass(g.line.LINE):d.addClass(i);c.attr("class",j.makeNodeLineClass(a,b));e.nodeIsParent(a,b)?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",j.makeNodeIcoStyle(a,b));f.attr("class",j.makeNodeIcoClass(a,b))}},setNodeName:function(a,b){var c=e.nodeTitle(a,b),d=l(b,g.id.SPAN,a);d.empty();a.view.nameIsHTML?d.html(e.nodeName(a,b)):d.text(e.nodeName(a,b));h.apply(a.view.showTitle,[a.treeId,b],a.view.showTitle)&&l(b,g.id.A,a).attr("title",!c?"":c)}, -setNodeTarget:function(a,b){l(b,g.id.A,a).attr("target",j.makeNodeTarget(b))},setNodeUrl:function(a,b){var c=l(b,g.id.A,a),d=j.makeNodeUrl(a,b);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(a,b){b.open||!h.canAsync(a,b)?j.expandCollapseNode(a,b,!b.open):a.async.enable?j.asyncNode(a,b)||j.expandCollapseNode(a,b,!b.open):b&&j.expandCollapseNode(a,b,!b.open)}};r.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch",NAME:"node_name"}, -event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove",SELECTED:"ztree_selected",UNSELECTED:"ztree_unselected"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom",NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:h, -view:j,event:n,data:e},getZTreeObj:function(a){return(a=e.getZTreeTools(a))?a:null},destroy:function(a){if(a&&a.length>0)j.destroy(e.getSetting(a));else for(var b in t)j.destroy(t[b])},init:function(a,b,c){var d=h.clone(P);r.extend(!0,d,b);d.treeId=a.attr("id");d.treeObj=a;d.treeObj.empty();t[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed="";e.initRoot(d);a=e.getRoot(d);c=c?h.clone(h.isArray(c)?c:[c]):[];d.data.simpleData.enable?e.nodeChildren(d,a,e.transformTozTreeFormat(d, -c)):e.nodeChildren(d,a,c);e.initCache(d);n.unbindTree(d);n.bindTree(d);n.unbindEvent(d);n.bindEvent(d);var f={setting:d,addNodes:function(a,b,c,f){function g(){j.addNodes(d,a,b,n,f==!0)}a||(a=null);var l=e.nodeIsParent(d,a);if(a&&!l&&d.data.keep.leaf)return null;l=parseInt(b,10);isNaN(l)?(f=!!c,c=b,b=-1):b=l;if(!c)return null;var n=h.clone(h.isArray(c)?c:[c]);h.canAsync(d,a)?j.asyncNode(d,a,f,g):g();return n},cancelSelectedNode:function(a){j.cancelPreSelectedNode(d,a)},destroy:function(){j.destroy(d)}, -expandAll:function(a){a=!!a;j.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,f,g){function n(){var b=l(a,d).get(0);b&&f!==!1&&j.scrollIntoView(d,b)}if(!a||!e.nodeIsParent(d,a))return null;b!==!0&&b!==!1&&(b=!a.open);if((g=!!g)&&b&&h.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(g&&!b&&h.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&j.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null; -e.getRoot(d).expandTriggerFlag=g;!h.canAsync(d,a)&&c?j.expandCollapseSonNode(d,a,b,!0,n):(a.open=!b,j.switchNode(this.setting,a),n());return b},getNodes:function(){return e.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:e.getNodeByParam(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodeByTId:function(a){return e.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:e.getNodesByParam(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null: -e.getNodesByParamFuzzy(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,f){b=!!b;return!a||typeof a!="function"?b?null:[]:e.getNodesByFilter(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b,f)},getNodeIndex:function(a){if(!a)return null;for(var b=a.parentTId?a.getParentNode():e.getRoot(d),b=e.nodeChildren(d,b),c=0,f=b.length;c0?j.createNodes(d,0,c,null,-1):d.async.enable&&d.async.url&&d.async.url!==""&&j.asyncNode(d);return f}};var Q=r.fn.zTree,l=h.$,g=Q.consts})(jQuery); - -/* - * JQuery zTree excheck v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(n){var q,r,s,p={event:{CHECK:"ztree_check"},id:{CHECK:"_check"},checkbox:{STYLE:"checkbox",DEFAULT:"chk",DISABLED:"disable",FALSE:"false",TRUE:"true",FULL:"full",PART:"part",FOCUS:"focus"},radio:{STYLE:"radio",TYPE_ALL:"all",TYPE_LEVEL:"level"}},w={check:{enable:!1,autoCheckTrigger:!1,chkStyle:p.checkbox.STYLE,nocheckInherit:!1,chkDisabledInherit:!1,radioType:p.radio.TYPE_LEVEL,chkboxType:{Y:"ps",N:"ps"}},data:{key:{checked:"checked"}},callback:{beforeCheck:null,onCheck:null}};q=function(c, -a){if(a.chkDisabled===!0)return!1;var b=e.getSetting(c.data.treeId);if(i.apply(b.callback.beforeCheck,[b.treeId,a],!0)==!1)return!0;var d=e.nodeChecked(b,a);e.nodeChecked(b,a,!d);f.checkNodeRelation(b,a);d=m(a,h.id.CHECK,b);f.setChkClass(b,d,a);f.repairParentChkClassWithSelf(b,a);b.treeObj.trigger(h.event.CHECK,[c,b.treeId,a]);return!0};r=function(c,a){if(a.chkDisabled===!0)return!1;var b=e.getSetting(c.data.treeId),d=m(a,h.id.CHECK,b);a.check_Focus=!0;f.setChkClass(b,d,a);return!0};s=function(c, -a){if(a.chkDisabled===!0)return!1;var b=e.getSetting(c.data.treeId),d=m(a,h.id.CHECK,b);a.check_Focus=!1;f.setChkClass(b,d,a);return!0};n.extend(!0,n.fn.zTree.consts,p);n.extend(!0,n.fn.zTree._z,{tools:{},view:{checkNodeRelation:function(c,a){var b,d,j;d=h.radio;b=e.nodeChecked(c,a);if(c.check.chkStyle==d.STYLE){var g=e.getRadioCheckedList(c);if(b)if(c.check.radioType==d.TYPE_ALL){for(d=g.length-1;d>=0;d--){b=g[d];var k=e.nodeChecked(c,b);k&&b!=a&&(e.nodeChecked(c,b,!1),g.splice(d,1),f.setChkClass(c, -m(b,h.id.CHECK,c),b),b.parentTId!=a.parentTId&&f.repairParentChkClassWithSelf(c,b))}g.push(a)}else{g=a.parentTId?a.getParentNode():e.getRoot(c);g=e.nodeChildren(c,g);for(d=0,j=g.length;d-1)&&f.setSonNodeCheckBox(c,a, -!0),!b&&(!g||g.length==0||c.check.chkboxType.N.indexOf("s")>-1)&&f.setSonNodeCheckBox(c,a,!1),b&&c.check.chkboxType.Y.indexOf("p")>-1&&f.setParentNodeCheckBox(c,a,!0),!b&&c.check.chkboxType.N.indexOf("p")>-1&&f.setParentNodeCheckBox(c,a,!1)},makeChkClass:function(c,a){var b=h.checkbox,d=h.radio,j="",g=e.nodeChecked(c,a),j=a.chkDisabled===!0?b.DISABLED:a.halfCheck?b.PART:c.check.chkStyle==d.STYLE?a.check_Child_State<1?b.FULL:b.PART:g?a.check_Child_State===2||a.check_Child_State===-1?b.FULL:b.PART: -a.check_Child_State<1?b.FULL:b.PART,d=c.check.chkStyle+"_"+(g?b.TRUE:b.FALSE)+"_"+j,d=a.check_Focus&&a.chkDisabled!==!0?d+"_"+b.FOCUS:d;return h.className.BUTTON+" "+b.DEFAULT+" "+d},repairAllChk:function(c,a){if(c.check.enable&&c.check.chkStyle===h.checkbox.STYLE)for(var b=e.getRoot(c),b=e.nodeChildren(c,b),d=0,j=b.length;d0?f.repairParentChkClass(c,b[0]):f.repairParentChkClass(c,a)}},repairSonChkDisabled:function(c,a,b,d){if(a){if(a.chkDisabled!=b)a.chkDisabled=b;f.repairChkClass(c,a);if((a=e.nodeChildren(c,a))&&d)for(var j=0,g=a.length;j0){j=!1;break}}j&&f.setParentNodeCheckBox(c,a.getParentNode(),b,d)}},setSonNodeCheckBox:function(c,a,b,d){if(a){var j=m(a,h.id.CHECK,c);d||(d=a);var g=!1,k=e.nodeChildren(c,a);if(k)for(var o=0,l=k.length;o0?b?2:0:-1}else a.check_Child_State=-1;f.setChkClass(c,j,a);c.check.autoCheckTrigger&&a!=d&&a.nocheck!==!0&&a.chkDisabled!==!0&&c.treeObj.trigger(h.event.CHECK,[null,c.treeId,a])}}}},event:{},data:{getRadioCheckedList:function(c){for(var a=e.getRoot(c).radioCheckedList,b=0,d=a.length;b-1&&a.check_Child_State<2:a.check_Child_State>0}},getTreeCheckedNodes:function(c,a,b,d){if(!a)return[];for(var j=b&&c.check.chkStyle==h.radio.STYLE&&c.check.radioType==h.radio.TYPE_ALL,d=!d?[]:d,g=0,f=a.length;g0)break}return d},getTreeChangeCheckedNodes:function(c,a,b){if(!a)return[];for(var b=!b?[]:b,d=0,j=a.length;d0?2:0,l==2){b=2;break}else l==0&&(b=0);else if(c.check.chkStyle==h.checkbox.STYLE)if(l=f.nocheck===!0||f.chkDisabled===!0?f.check_Child_State:f.halfCheck===!0?1:i?f.check_Child_State===-1||f.check_Child_State===2?2:1:f.check_Child_State>0?1:0,l===1){b=1;break}else if(l===2&&b>-1&&j>0&&l!== -b){b=1;break}else if(b===2&&l>-1&&l<2){b=1;break}else l>-1&&(b=l)}a.check_Child_State=b}}}});var n=n.fn.zTree,i=n._z.tools,h=n.consts,f=n._z.view,e=n._z.data,m=i.$;e.nodeChecked=function(c,a,b){if(!a)return!1;c=c.data.key.checked;typeof b!=="undefined"&&(typeof b==="string"&&(b=i.eqs(b,"true")),a[c]=!!b);return a[c]};e.exSetting(w);e.addInitBind(function(c){c.treeObj.bind(h.event.CHECK,function(a,b,d,e){a.srcEvent=b;i.apply(c.callback.onCheck,[a,d,e])})});e.addInitUnBind(function(c){c.treeObj.unbind(h.event.CHECK)}); -e.addInitCache(function(){});e.addInitNode(function(c,a,b,d){if(b){a=e.nodeChecked(c,b);a=e.nodeChecked(c,b,a);b.checkedOld=a;if(typeof b.nocheck=="string")b.nocheck=i.eqs(b.nocheck,"true");b.nocheck=!!b.nocheck||c.check.nocheckInherit&&d&&!!d.nocheck;if(typeof b.chkDisabled=="string")b.chkDisabled=i.eqs(b.chkDisabled,"true");b.chkDisabled=!!b.chkDisabled||c.check.chkDisabledInherit&&d&&!!d.chkDisabled;if(typeof b.halfCheck=="string")b.halfCheck=i.eqs(b.halfCheck,"true");b.halfCheck=!!b.halfCheck; -b.check_Child_State=-1;b.check_Focus=!1;b.getCheckStatus=function(){return e.getCheckStatus(c,b)};c.check.chkStyle==h.radio.STYLE&&c.check.radioType==h.radio.TYPE_ALL&&a&&e.getRoot(c).radioCheckedList.push(b)}});e.addInitProxy(function(c){var a=c.target,b=e.getSetting(c.data.treeId),d="",f=null,g="",k=null;if(i.eqs(c.type,"mouseover")){if(b.check.enable&&i.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+h.id.CHECK)!==null)d=i.getNodeMainDom(a).id,g="mouseoverCheck"}else if(i.eqs(c.type,"mouseout")){if(b.check.enable&& -i.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+h.id.CHECK)!==null)d=i.getNodeMainDom(a).id,g="mouseoutCheck"}else if(i.eqs(c.type,"click")&&b.check.enable&&i.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+h.id.CHECK)!==null)d=i.getNodeMainDom(a).id,g="checkNode";if(d.length>0)switch(f=e.getNodeCache(b,d),g){case "checkNode":k=q;break;case "mouseoverCheck":k=r;break;case "mouseoutCheck":k=s}return{stop:g==="checkNode",node:f,nodeEventType:g,nodeEventCallback:k,treeEventType:"",treeEventCallback:null}}, -!0);e.addInitRoot(function(c){e.getRoot(c).radioCheckedList=[]});e.addBeforeA(function(c,a,b){c.check.enable&&(e.makeChkFlag(c,a),b.push(""))});e.addZTreeTools(function(c,a){a.checkNode=function(a,b,g,k){var o=e.nodeChecked(c,a);if(a.chkDisabled!==!0&&(b!==!0&&b!==!1&&(b=!o),k=!!k,(o!==b||g)&&!(k&&i.apply(this.setting.callback.beforeCheck,[this.setting.treeId,a], -!0)==!1)&&i.uCanDo(this.setting)&&this.setting.check.enable&&a.nocheck!==!0))e.nodeChecked(c,a,b),b=m(a,h.id.CHECK,this.setting),(g||this.setting.check.chkStyle===h.radio.STYLE)&&f.checkNodeRelation(this.setting,a),f.setChkClass(this.setting,b,a),f.repairParentChkClassWithSelf(this.setting,a),k&&this.setting.treeObj.trigger(h.event.CHECK,[null,this.setting.treeId,a])};a.checkAllNodes=function(a){f.repairAllChk(this.setting,!!a)};a.getCheckedNodes=function(a){var a=a!==!1,b=e.nodeChildren(c,e.getRoot(this.setting)); -return e.getTreeCheckedNodes(this.setting,b,a)};a.getChangeCheckedNodes=function(){var a=e.nodeChildren(c,e.getRoot(this.setting));return e.getTreeChangeCheckedNodes(this.setting,a)};a.setChkDisabled=function(a,b,c,e){b=!!b;c=!!c;f.repairSonChkDisabled(this.setting,a,b,!!e);f.repairParentChkDisabled(this.setting,a.getParentNode(),b,c)};var b=a.updateNode;a.updateNode=function(c,e){b&&b.apply(a,arguments);if(c&&this.setting.check.enable&&m(c,this.setting).get(0)&&i.uCanDo(this.setting)){var g=m(c, -h.id.CHECK,this.setting);(e==!0||this.setting.check.chkStyle===h.radio.STYLE)&&f.checkNodeRelation(this.setting,c);f.setChkClass(this.setting,g,c);f.repairParentChkClassWithSelf(this.setting,c)}}});var t=f.createNodes;f.createNodes=function(c,a,b,d,e){t&&t.apply(f,arguments);b&&f.repairParentChkClassWithSelf(c,d)};var u=f.removeNode;f.removeNode=function(c,a){var b=a.getParentNode();u&&u.apply(f,arguments);a&&b&&(f.repairChkClass(c,b),f.repairParentChkClass(c,b))};var v=f.appendNodes;f.appendNodes= -function(c,a,b,d,h,g,i){var m="";v&&(m=v.apply(f,arguments));d&&e.makeChkFlag(c,d);return m}})(jQuery); - -/* - * JQuery zTree exedit v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(B){var I={event:{DRAG:"ztree_drag",DROP:"ztree_drop",RENAME:"ztree_rename",DRAGMOVE:"ztree_dragmove"},id:{EDIT:"_edit",INPUT:"_input",REMOVE:"_remove"},move:{TYPE_INNER:"inner",TYPE_PREV:"prev",TYPE_NEXT:"next"},node:{CURSELECTED_EDIT:"curSelectedNode_Edit",TMPTARGET_TREE:"tmpTargetzTree",TMPTARGET_NODE:"tmpTargetNode"}},v={onHoverOverNode:function(a,b){var c=i.getSetting(a.data.treeId),d=i.getRoot(c);if(d.curHoverNode!=b)v.onHoverOutNode(a);d.curHoverNode=b;e.addHoverDom(c,b)},onHoverOutNode:function(a){var a= -i.getSetting(a.data.treeId),b=i.getRoot(a);if(b.curHoverNode&&!i.isSelectedNode(a,b.curHoverNode))e.removeTreeDom(a,b.curHoverNode),b.curHoverNode=null},onMousedownNode:function(a,b){function c(a){if(m.dragFlag==0&&Math.abs(N-a.clientX)1){var o=n[0].parentTId?i.nodeChildren(f,n[0].getParentNode()):i.getNodes(f);g=[];for(b=0,c=o.length;b-1&&p+1!==b&&(j=!1),g.push(o[b]),p=b),n.length===g.length){n=g;break}}j&&(H=n[0].getPreNode(),Q=n[n.length-1].getNextNode());C=q("
                  ", -f);for(b=0,c=n.length;b0),e.removeTreeDom(f,g),b>f.edit.drag.maxShowNodeNum-1||(j=q("
                • ",f),j.append(q(g,d.id.A,f).clone()),j.css("padding","0"),j.children("#"+g.tId+d.id.A).removeClass(d.node.CURSELECTED),C.append(j),b==f.edit.drag.maxShowNodeNum-1&&(j=q("
                • ...
                • ",f),C.append(j)));C.attr("id",n[0].tId+d.id.UL+"_tmp");C.addClass(f.treeObj.attr("class"));C.appendTo(L);u=q("", -f);u.attr("id","zTreeMove_arrow_tmp");u.appendTo(L);f.treeObj.trigger(d.event.DRAG,[a,f.treeId,n])}if(m.dragFlag==1){t&&u.attr("id")==a.target.id&&w&&a.clientX+G.scrollLeft()+2>B("#"+w+d.id.A,t).offset().left?(g=B("#"+w+d.id.A,t),a.target=g.length>0?g.get(0):a.target):t&&(t.removeClass(d.node.TMPTARGET_TREE),w&&B("#"+w+d.id.A,t).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER)); -w=t=null;J=!1;h=f;g=i.getSettings();for(var z in g)if(g[z].treeId&&g[z].edit.enable&&g[z].treeId!=f.treeId&&(a.target.id==g[z].treeId||B(a.target).parents("#"+g[z].treeId).length>0))J=!0,h=g[z];z=G.scrollTop();j=G.scrollLeft();p=h.treeObj.offset();b=h.treeObj.get(0).scrollHeight;g=h.treeObj.get(0).scrollWidth;c=a.clientY+z-p.top;var E=h.treeObj.height()+p.top-a.clientY-z,r=a.clientX+j-p.left,s=h.treeObj.width()+p.left-a.clientX-j,p=cf.edit.drag.borderMin,o=Ef.edit.drag.borderMin,F=rf.edit.drag.borderMin,v=sf.edit.drag.borderMin,E=c>f.edit.drag.borderMin&&E>f.edit.drag.borderMin&&r>f.edit.drag.borderMin&&s>f.edit.drag.borderMin,r=p&&h.treeObj.scrollTop()<=0,s=o&&h.treeObj.scrollTop()+h.treeObj.height()+10>=b,M=F&&h.treeObj.scrollLeft()<=0,P=v&&h.treeObj.scrollLeft()+h.treeObj.width()+10>=g;if(a.target&&k.isChildOrSelf(a.target,h.treeId)){for(var D=a.target;D&&D.tagName&&!k.eqs(D.tagName,"li")&&D.id!= -h.treeId;)D=D.parentNode;var R=!0;for(b=0,c=n.length;b0){R=!1;break}if(R&&a.target&&k.isChildOrSelf(a.target,D.id+d.id.A))t=B(D),w=D.id}g=n[0];if(E&&k.isChildOrSelf(a.target,h.treeId)){if(!t&&(a.target.id==h.treeId||r||s||M||P)&&(J||!J&&g.parentTId))t=h.treeObj;p?h.treeObj.scrollTop(h.treeObj.scrollTop()-10):o&&h.treeObj.scrollTop(h.treeObj.scrollTop()+10);F?h.treeObj.scrollLeft(h.treeObj.scrollLeft()-10):v&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+ -10);t&&t!=h.treeObj&&t.offset().left=-0.2)&&g?(j=1-u.width(),b=E-u.height()/2,x=d.move.TYPE_PREV):(M==0||z>=M&&z<=1.2)&&c?(j=1-u.width(),b=v==null||i.nodeIsParent(f,A)&&A.open?E+F.height()-u.height()/2:v.offset().top-u.height()/2,x=d.move.TYPE_NEXT):p?(j=5-u.width(),b=E,x=d.move.TYPE_INNER):o(),t){u.css({display:"block",top:b+"px",left:r+j+"px"});F.addClass(d.node.TMPTARGET_NODE+"_"+x);if(S!=w||T!=x)K=(new Date).getTime();if(A&&i.nodeIsParent(f, -A)&&x==d.move.TYPE_INNER&&(z=!0,window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId!==A.tId?(clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null):window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId===A.tId&&(z=!1),z))window.zTreeMoveTimer=setTimeout(function(){x==d.move.TYPE_INNER&&A&&i.nodeIsParent(f,A)&&!A.open&&(new Date).getTime()-K>h.edit.drag.autoOpenTime&&k.apply(h.callback.beforeDragOpen,[h.treeId,A],!0)&&(e.switchNode(h,A),h.edit.drag.autoExpandTrigger&&h.treeObj.trigger(d.event.EXPAND, -[h.treeId,A]))},h.edit.drag.autoOpenTime+50),window.zTreeMoveTargetNodeTId=A.tId}}else if(x=d.move.TYPE_INNER,t&&k.apply(h.edit.drag.inner,[h.treeId,n,null],!!h.edit.drag.inner)?t.addClass(d.node.TMPTARGET_TREE):t=null,u.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;S=w;T=x;f.treeObj.trigger(d.event.DRAGMOVE,[a,f.treeId,n])}return!1}function l(a){if(window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId= -null;T=S=null;G.unbind("mousemove",c);G.unbind("mouseup",l);G.unbind("selectstart",g);L.css("cursor","");t&&(t.removeClass(d.node.TMPTARGET_TREE),w&&B("#"+w+d.id.A,t).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));k.showIfameMask(f,!1);y.showHoverDom=!0;if(m.dragFlag!=0){m.dragFlag=0;var b,j,o;for(b=0,j=n.length;b0;)c.dragMaskList[0].remove(),c.dragMaskList.shift();if(b)for(var d=q("iframe",a),g=0,e=d.length;g",a);j.appendTo(q("body",a));c.dragMaskList.push(j)}}},view:{addEditBtn:function(a,b){if(!(b.editNameFlag|| -q(b,d.id.EDIT,a).length>0)&&k.apply(a.edit.showRenameBtn,[a.treeId,b],a.edit.showRenameBtn)){var c=q(b,d.id.A,a),l="";c.append(l);q(b,d.id.EDIT,a).bind("click",function(){if(!k.uCanDo(a)||k.apply(a.callback.beforeEditName,[a.treeId,b],!0)==!1)return!1;e.editNode(a,b);return!1}).show()}},addRemoveBtn:function(a, -b){if(!(b.editNameFlag||q(b,d.id.REMOVE,a).length>0)&&k.apply(a.edit.showRemoveBtn,[a.treeId,b],a.edit.showRemoveBtn)){var c=q(b,d.id.A,a),l="";c.append(l);q(b,d.id.REMOVE,a).bind("click",function(){if(!k.uCanDo(a)||k.apply(a.callback.beforeRemove,[a.treeId,b],!0)==!1)return!1;e.removeNode(a,b);a.treeObj.trigger(d.event.REMOVE, -[a.treeId,b]);return!1}).bind("mousedown",function(){return!0}).show()}},addHoverDom:function(a,b){if(i.getRoots().showHoverDom)b.isHover=!0,a.edit.enable&&(e.addEditBtn(a,b),e.addRemoveBtn(a,b)),k.apply(a.view.addHoverDom,[a.treeId,b])},cancelCurEditNode:function(a,b,c){var l=i.getRoot(a),g=l.curEditNode;if(g){var o=l.curEditInput,b=b?b:c?i.nodeName(a,g):o.val();if(k.apply(a.callback.beforeRename,[a.treeId,g,b,c],!0)===!1)return!1;i.nodeName(a,g,b);q(g,d.id.A,a).removeClass(d.node.CURSELECTED_EDIT); -o.unbind();e.setNodeName(a,g);g.editNameFlag=!1;l.curEditNode=null;l.curEditInput=null;e.selectNode(a,g,!1);a.treeObj.trigger(d.event.RENAME,[a.treeId,g,c])}return l.noSelection=!0},editNode:function(a,b){var c=i.getRoot(a);e.editNodeBlur=!1;if(i.isSelectedNode(a,b)&&c.curEditNode==b&&b.editNameFlag)setTimeout(function(){k.inputFocus(c.curEditInput)},0);else{b.editNameFlag=!0;e.removeTreeDom(a,b);e.cancelCurEditNode(a);e.selectNode(a,b,!1);q(b,d.id.SPAN,a).html("");var l=q(b,d.id.INPUT,a);l.attr("value",i.nodeName(a,b));a.edit.editNameSelectAll?k.inputSelect(l):k.inputFocus(l);l.bind("blur",function(){e.editNodeBlur||e.cancelCurEditNode(a)}).bind("keydown",function(b){b.keyCode=="13"?(e.editNodeBlur=!0,e.cancelCurEditNode(a)):b.keyCode=="27"&&e.cancelCurEditNode(a,null,!0)}).bind("click",function(){return!1}).bind("dblclick",function(){return!1});q(b,d.id.A,a).addClass(d.node.CURSELECTED_EDIT);c.curEditInput=l; -c.noSelection=!1;c.curEditNode=b}},moveNode:function(a,b,c,l,g,k){var j=i.getRoot(a);if(b!=c&&(!a.data.keep.leaf||!b||i.nodeIsParent(a,b)||l!=d.move.TYPE_INNER)){var f=c.parentTId?c.getParentNode():j,m=b===null||b==j;m&&b===null&&(b=j);if(m)l=d.move.TYPE_INNER;j=b.parentTId?b.getParentNode():j;if(l!=d.move.TYPE_PREV&&l!=d.move.TYPE_NEXT)l=d.move.TYPE_INNER;if(l==d.move.TYPE_INNER)if(m)c.parentTId=null;else{if(!i.nodeIsParent(a,b))i.nodeIsParent(a,b,!0),b.open=!!b.open,e.setNodeLineIcos(a,b);c.parentTId= -b.tId}var y;m?y=m=a.treeObj:(!k&&l==d.move.TYPE_INNER?e.expandCollapseNode(a,b,!0,!1):k||e.expandCollapseNode(a,b.getParentNode(),!0,!1),m=q(b,a),y=q(b,d.id.UL,a),m.get(0)&&!y.get(0)&&(y=[],e.makeUlHtml(a,b,y,""),m.append(y.join(""))),y=q(b,d.id.UL,a));var r=q(c,a);r.get(0)?m.get(0)||r.remove():r=e.appendNodes(a,c.level,[c],null,-1,!1,!0).join("");y.get(0)&&l==d.move.TYPE_INNER?y.append(r):m.get(0)&&l==d.move.TYPE_PREV?m.before(r):m.get(0)&&l==d.move.TYPE_NEXT&&m.after(r);var s;y=-1;var r=0,n=null, -m=null,B=c.level,v=i.nodeChildren(a,f),C=i.nodeChildren(a,j),u=i.nodeChildren(a,b);if(c.isFirstNode){if(y=0,v.length>1)n=v[1],n.isFirstNode=!0}else if(c.isLastNode)y=v.length-1,n=v[y-1],n.isLastNode=!0;else for(j=0,s=v.length;j=0&&v.splice(y,1);if(l!=d.move.TYPE_INNER)for(j=0,s=C.length;j0)m=u[u.length-1],m.isLastNode=!1;u.splice(u.length,0,c);c.isLastNode=!0;c.isFirstNode= -u.length==1}else b.isFirstNode&&l==d.move.TYPE_PREV?(C.splice(r,0,c),m=b,m.isFirstNode=!1,c.parentTId=b.parentTId,c.isFirstNode=!0,c.isLastNode=!1):b.isLastNode&&l==d.move.TYPE_NEXT?(C.splice(r+1,0,c),m=b,m.isLastNode=!1,c.parentTId=b.parentTId,c.isFirstNode=!1,c.isLastNode=!0):(l==d.move.TYPE_PREV?C.splice(r,0,c):C.splice(r+1,0,c),c.parentTId=b.parentTId,c.isFirstNode=!1,c.isLastNode=!1);i.fixPIdKeyValue(a,c);i.setSonNodeLevel(a,c.getParentNode(),c);e.setNodeLineIcos(a,c);e.repairNodeLevelClass(a, -c,B);!a.data.keep.parent&&v.length<1?(i.nodeIsParent(a,f,!1),f.open=!1,b=q(f,d.id.UL,a),l=q(f,d.id.SWITCH,a),j=q(f,d.id.ICON,a),e.replaceSwitchClass(f,l,d.folder.DOCU),e.replaceIcoClass(f,j,d.folder.DOCU),b.css("display","none")):n&&e.setNodeLineIcos(a,n);m&&e.setNodeLineIcos(a,m);a.check&&a.check.enable&&e.repairChkClass&&(e.repairChkClass(a,f),e.repairParentChkClassWithSelf(a,f),f!=c.parent&&e.repairParentChkClassWithSelf(a,c));k||e.expandCollapseParentNode(a,c.getParentNode(),!0,g)}},removeEditBtn:function(a, -b){q(b,d.id.EDIT,a).unbind().remove()},removeRemoveBtn:function(a,b){q(b,d.id.REMOVE,a).unbind().remove()},removeTreeDom:function(a,b){b.isHover=!1;e.removeEditBtn(a,b);e.removeRemoveBtn(a,b);k.apply(a.view.removeHoverDom,[a.treeId,b])},repairNodeLevelClass:function(a,b,c){if(c!==b.level){var e=q(b,a),g=q(b,d.id.A,a),a=q(b,d.id.UL,a),c=d.className.LEVEL+c,b=d.className.LEVEL+b.level;e.removeClass(c);e.addClass(b);g.removeClass(c);g.addClass(b);a.removeClass(c);a.addClass(b)}},selectNodes:function(a, -b){for(var c=0,d=b.length;c0)}},event:{},data:{setSonNodeLevel:function(a,b,c){if(c){var d=i.nodeChildren(a,c);c.level=b?b.level+1:0;if(d)for(var b=0,g=d.length;b0)switch(o=i.getNodeCache(c,g),j){case "mousedownNode":f=v.onMousedownNode;break;case "hoverOverNode":f=v.onHoverOverNode; -break;case "hoverOutNode":f=v.onHoverOutNode}return{stop:!1,node:o,nodeEventType:j,nodeEventCallback:f,treeEventType:"",treeEventCallback:null}});i.addInitRoot(function(a){var a=i.getRoot(a),b=i.getRoots();a.curEditNode=null;a.curEditInput=null;a.curHoverNode=null;a.dragFlag=0;a.dragNodeShowBefore=[];a.dragMaskList=[];b.showHoverDom=!0});i.addZTreeTools(function(a,b){b.cancelEditName=function(a){i.getRoot(this.setting).curEditNode&&e.cancelCurEditNode(this.setting,a?a:null,!0)};b.copyNode=function(b, -l,g,o){if(!l)return null;var j=i.nodeIsParent(a,b);if(b&&!j&&this.setting.data.keep.leaf&&g===d.move.TYPE_INNER)return null;var f=this,m=k.clone(l);if(!b)b=null,g=d.move.TYPE_INNER;g==d.move.TYPE_INNER?(l=function(){e.addNodes(f.setting,b,-1,[m],o)},k.canAsync(this.setting,b)?e.asyncNode(this.setting,b,o,l):l()):(e.addNodes(this.setting,b.parentNode,-1,[m],o),e.moveNode(this.setting,b,m,g,!1,o));return m};b.editName=function(a){a&&a.tId&&a===i.getNodeCache(this.setting,a.tId)&&(a.parentTId&&e.expandCollapseParentNode(this.setting, -a.getParentNode(),!0),e.editNode(this.setting,a))};b.moveNode=function(b,l,g,o){function j(){e.moveNode(m.setting,b,l,g,!1,o)}if(!l)return l;var f=i.nodeIsParent(a,b);if(b&&!f&&this.setting.data.keep.leaf&&g===d.move.TYPE_INNER)return null;else if(b&&(l.parentTId==b.tId&&g==d.move.TYPE_INNER||q(l,this.setting).find("#"+b.tId).length>0))return null;else b||(b=null);var m=this;k.canAsync(this.setting,b)&&g===d.move.TYPE_INNER?e.asyncNode(this.setting,b,o,j):j();return l};b.setEditable=function(a){this.setting.edit.enable= -a;return this.refresh()}});var N=e.cancelPreSelectedNode;e.cancelPreSelectedNode=function(a,b){for(var c=i.getRoot(a).curSelectedList,d=0,g=c.length;d 0 && tId.length == 0) { - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - } - } - // event to node - if (tId.length > 0) { - node = data.getNodeCache(setting, tId); - switch (nodeEventType) { - case "switchNode" : - var isParent = data.nodeIsParent(setting, node); - if (!isParent) { - nodeEventType = ""; - } else if (tools.eqs(event.type, "click") - || (tools.eqs(event.type, "dblclick") && tools.apply(setting.view.dblClickExpand, [setting.treeId, node], setting.view.dblClickExpand))) { - nodeEventCallback = handler.onSwitchNode; - } else { - nodeEventType = ""; - } - break; - case "clickNode" : - nodeEventCallback = handler.onClickNode; - break; - } - } - // event to zTree - switch (treeEventType) { - case "mousedown" : - treeEventCallback = handler.onZTreeMousedown; - break; - case "mouseup" : - treeEventCallback = handler.onZTreeMouseup; - break; - case "dblclick" : - treeEventCallback = handler.onZTreeDblclick; - break; - case "contextmenu" : - treeEventCallback = handler.onZTreeContextmenu; - break; - } - var proxyResult = { - stop: false, - node: node, - nodeEventType: nodeEventType, - nodeEventCallback: nodeEventCallback, - treeEventType: treeEventType, - treeEventCallback: treeEventCallback - }; - return proxyResult - }, - //default init node of core - _initNode = function (setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { - if (!n) return; - var r = data.getRoot(setting), - children = data.nodeChildren(setting, n); - n.level = level; - n.tId = setting.treeId + "_" + (++r.zId); - n.parentTId = parentNode ? parentNode.tId : null; - n.open = (typeof n.open == "string") ? tools.eqs(n.open, "true") : !!n.open; - var isParent = data.nodeIsParent(setting, n); - if (tools.isArray(children) && - !(isParent === false || (typeof isParent == "string" && tools.eqs(isParent, "false")))) { - data.nodeIsParent(setting, n, true); - n.zAsync = true; - } else { - isParent = data.nodeIsParent(setting, n, isParent); - n.open = (isParent && !setting.async.enable) ? n.open : false; - n.zAsync = !isParent; - } - n.isFirstNode = isFirstNode; - n.isLastNode = isLastNode; - n.getParentNode = function () { - return data.getNodeCache(setting, n.parentTId); - }; - n.getPreNode = function () { - return data.getPreNode(setting, n); - }; - n.getNextNode = function () { - return data.getNextNode(setting, n); - }; - n.getIndex = function () { - return data.getNodeIndex(setting, n); - }; - n.getPath = function () { - return data.getNodePath(setting, n); - }; - n.isAjaxing = false; - data.fixPIdKeyValue(setting, n); - }, - _init = { - bind: [_bindEvent], - unbind: [_unbindEvent], - caches: [_initCache], - nodes: [_initNode], - proxys: [_eventProxy], - roots: [_initRoot], - beforeA: [], - afterA: [], - innerBeforeA: [], - innerAfterA: [], - zTreeTools: [] - }, - //method of operate data - data = { - addNodeCache: function (setting, node) { - data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = node; - }, - getNodeCacheId: function (tId) { - return tId.substring(tId.lastIndexOf("_") + 1); - }, - addAfterA: function (afterA) { - _init.afterA.push(afterA); - }, - addBeforeA: function (beforeA) { - _init.beforeA.push(beforeA); - }, - addInnerAfterA: function (innerAfterA) { - _init.innerAfterA.push(innerAfterA); - }, - addInnerBeforeA: function (innerBeforeA) { - _init.innerBeforeA.push(innerBeforeA); - }, - addInitBind: function (bindEvent) { - _init.bind.push(bindEvent); - }, - addInitUnBind: function (unbindEvent) { - _init.unbind.push(unbindEvent); - }, - addInitCache: function (initCache) { - _init.caches.push(initCache); - }, - addInitNode: function (initNode) { - _init.nodes.push(initNode); - }, - addInitProxy: function (initProxy, isFirst) { - if (!!isFirst) { - _init.proxys.splice(0, 0, initProxy); - } else { - _init.proxys.push(initProxy); - } - }, - addInitRoot: function (initRoot) { - _init.roots.push(initRoot); - }, - addNodesData: function (setting, parentNode, index, nodes) { - var children = data.nodeChildren(setting, parentNode), params; - if (!children) { - children = data.nodeChildren(setting, parentNode, []); - index = -1; - } else if (index >= children.length) { - index = -1; - } - - if (children.length > 0 && index === 0) { - children[0].isFirstNode = false; - view.setNodeLineIcos(setting, children[0]); - } else if (children.length > 0 && index < 0) { - children[children.length - 1].isLastNode = false; - view.setNodeLineIcos(setting, children[children.length - 1]); - } - data.nodeIsParent(setting, parentNode, true); - - if (index < 0) { - data.nodeChildren(setting, parentNode, children.concat(nodes)); - } else { - params = [index, 0].concat(nodes); - children.splice.apply(children, params); - } - }, - addSelectedNode: function (setting, node) { - var root = data.getRoot(setting); - if (!data.isSelectedNode(setting, node)) { - root.curSelectedList.push(node); - } - }, - addCreatedNode: function (setting, node) { - if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { - var root = data.getRoot(setting); - root.createdNodes.push(node); - } - }, - addZTreeTools: function (zTreeTools) { - _init.zTreeTools.push(zTreeTools); - }, - exSetting: function (s) { - $.extend(true, _setting, s); - }, - fixPIdKeyValue: function (setting, node) { - if (setting.data.simpleData.enable) { - node[setting.data.simpleData.pIdKey] = node.parentTId ? node.getParentNode()[setting.data.simpleData.idKey] : setting.data.simpleData.rootPId; - } - }, - getAfterA: function (setting, node, array) { - for (var i = 0, j = _init.afterA.length; i < j; i++) { - _init.afterA[i].apply(this, arguments); - } - }, - getBeforeA: function (setting, node, array) { - for (var i = 0, j = _init.beforeA.length; i < j; i++) { - _init.beforeA[i].apply(this, arguments); - } - }, - getInnerAfterA: function (setting, node, array) { - for (var i = 0, j = _init.innerAfterA.length; i < j; i++) { - _init.innerAfterA[i].apply(this, arguments); - } - }, - getInnerBeforeA: function (setting, node, array) { - for (var i = 0, j = _init.innerBeforeA.length; i < j; i++) { - _init.innerBeforeA[i].apply(this, arguments); - } - }, - getCache: function (setting) { - return caches[setting.treeId]; - }, - getNodeIndex: function (setting, node) { - if (!node) return null; - var p = node.parentTId ? node.getParentNode() : data.getRoot(setting), - children = data.nodeChildren(setting, p); - for (var i = 0, l = children.length - 1; i <= l; i++) { - if (children[i] === node) { - return i; - } - } - return -1; - }, - getNextNode: function (setting, node) { - if (!node) return null; - var p = node.parentTId ? node.getParentNode() : data.getRoot(setting), - children = data.nodeChildren(setting, p); - for (var i = 0, l = children.length - 1; i <= l; i++) { - if (children[i] === node) { - return (i == l ? null : children[i + 1]); - } - } - return null; - }, - getNodeByParam: function (setting, nodes, key, value) { - if (!nodes || !key) return null; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (node[key] == value) { - return nodes[i]; - } - var children = data.nodeChildren(setting, node); - var tmp = data.getNodeByParam(setting, children, key, value); - if (tmp) return tmp; - } - return null; - }, - getNodeCache: function (setting, tId) { - if (!tId) return null; - var n = caches[setting.treeId].nodes[data.getNodeCacheId(tId)]; - return n ? n : null; - }, - getNodePath: function (setting, node) { - if (!node) return null; - - var path; - if (node.parentTId) { - path = node.getParentNode().getPath(); - } else { - path = []; - } - - if (path) { - path.push(node); - } - - return path; - }, - getNodes: function (setting) { - return data.nodeChildren(setting, data.getRoot(setting)); - }, - getNodesByParam: function (setting, nodes, key, value) { - if (!nodes || !key) return []; - var result = []; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (node[key] == value) { - result.push(node); - } - var children = data.nodeChildren(setting, node); - result = result.concat(data.getNodesByParam(setting, children, key, value)); - } - return result; - }, - getNodesByParamFuzzy: function (setting, nodes, key, value) { - if (!nodes || !key) return []; - var result = []; - value = value.toLowerCase(); - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (typeof node[key] == "string" && nodes[i][key].toLowerCase().indexOf(value) > -1) { - result.push(node); - } - var children = data.nodeChildren(setting, node); - result = result.concat(data.getNodesByParamFuzzy(setting, children, key, value)); - } - return result; - }, - getNodesByFilter: function (setting, nodes, filter, isSingle, invokeParam) { - if (!nodes) return (isSingle ? null : []); - var result = isSingle ? null : []; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (tools.apply(filter, [node, invokeParam], false)) { - if (isSingle) { - return node; - } - result.push(node); - } - var children = data.nodeChildren(setting, node); - var tmpResult = data.getNodesByFilter(setting, children, filter, isSingle, invokeParam); - if (isSingle && !!tmpResult) { - return tmpResult; - } - result = isSingle ? tmpResult : result.concat(tmpResult); - } - return result; - }, - getPreNode: function (setting, node) { - if (!node) return null; - var p = node.parentTId ? node.getParentNode() : data.getRoot(setting), - children = data.nodeChildren(setting, p); - for (var i = 0, l = children.length; i < l; i++) { - if (children[i] === node) { - return (i == 0 ? null : children[i - 1]); - } - } - return null; - }, - getRoot: function (setting) { - return setting ? roots[setting.treeId] : null; - }, - getRoots: function () { - return roots; - }, - getSetting: function (treeId) { - return settings[treeId]; - }, - getSettings: function () { - return settings; - }, - getZTreeTools: function (treeId) { - var r = this.getRoot(this.getSetting(treeId)); - return r ? r.treeTools : null; - }, - initCache: function (setting) { - for (var i = 0, j = _init.caches.length; i < j; i++) { - _init.caches[i].apply(this, arguments); - } - }, - initNode: function (setting, level, node, parentNode, preNode, nextNode) { - for (var i = 0, j = _init.nodes.length; i < j; i++) { - _init.nodes[i].apply(this, arguments); - } - }, - initRoot: function (setting) { - for (var i = 0, j = _init.roots.length; i < j; i++) { - _init.roots[i].apply(this, arguments); - } - }, - isSelectedNode: function (setting, node) { - var root = data.getRoot(setting); - for (var i = 0, j = root.curSelectedList.length; i < j; i++) { - if (node === root.curSelectedList[i]) return true; - } - return false; - }, - nodeChildren: function (setting, node, newChildren) { - if (!node) { - return null; - } - var key = setting.data.key.children; - if (typeof newChildren !== 'undefined') { - node[key] = newChildren; - } - return node[key]; - }, - nodeIsParent: function (setting, node, newIsParent) { - if (!node) { - return false; - } - var key = setting.data.key.isParent; - if (typeof newIsParent !== 'undefined') { - if (typeof newIsParent === "string") { - newIsParent = tools.eqs(newIsParent, "true"); - } - newIsParent = !!newIsParent; - node[key] = newIsParent; - } - return node[key]; - }, - nodeName: function (setting, node, newName) { - var key = setting.data.key.name; - if (typeof newName !== 'undefined') { - node[key] = newName; - } - return "" + node[key]; - }, - nodeTitle: function (setting, node) { - var t = setting.data.key.title === "" ? setting.data.key.name : setting.data.key.title; - return "" + node[t]; - }, - removeNodeCache: function (setting, node) { - var children = data.nodeChildren(setting, node); - if (children) { - for (var i = 0, l = children.length; i < l; i++) { - data.removeNodeCache(setting, children[i]); - } - } - data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = null; - }, - removeSelectedNode: function (setting, node) { - var root = data.getRoot(setting); - for (var i = 0, j = root.curSelectedList.length; i < j; i++) { - if (node === root.curSelectedList[i] || !data.getNodeCache(setting, root.curSelectedList[i].tId)) { - root.curSelectedList.splice(i, 1); - setting.treeObj.trigger(consts.event.UNSELECTED, [setting.treeId, node]); - i--; - j--; - } - } - }, - setCache: function (setting, cache) { - caches[setting.treeId] = cache; - }, - setRoot: function (setting, root) { - roots[setting.treeId] = root; - }, - setZTreeTools: function (setting, zTreeTools) { - for (var i = 0, j = _init.zTreeTools.length; i < j; i++) { - _init.zTreeTools[i].apply(this, arguments); - } - }, - transformToArrayFormat: function (setting, nodes) { - if (!nodes) return []; - var r = []; - if (tools.isArray(nodes)) { - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - _do(node); - } - } else { - _do(nodes); - } - return r; - - function _do(_node) { - r.push(_node); - var children = data.nodeChildren(setting, _node); - if (children) { - r = r.concat(data.transformToArrayFormat(setting, children)); - } - } - }, - transformTozTreeFormat: function (setting, sNodes) { - var i, l, - key = setting.data.simpleData.idKey, - parentKey = setting.data.simpleData.pIdKey; - if (!key || key == "" || !sNodes) return []; - - if (tools.isArray(sNodes)) { - var r = []; - var tmpMap = {}; - for (i = 0, l = sNodes.length; i < l; i++) { - tmpMap[sNodes[i][key]] = sNodes[i]; - } - for (i = 0, l = sNodes.length; i < l; i++) { - var p = tmpMap[sNodes[i][parentKey]]; - if (p && sNodes[i][key] != sNodes[i][parentKey]) { - var children = data.nodeChildren(setting, p); - if (!children) { - children = data.nodeChildren(setting, p, []); - } - children.push(sNodes[i]); - } else { - r.push(sNodes[i]); - } - } - return r; - } else { - return [sNodes]; - } - } - }, - //method of event proxy - event = { - bindEvent: function (setting) { - for (var i = 0, j = _init.bind.length; i < j; i++) { - _init.bind[i].apply(this, arguments); - } - }, - unbindEvent: function (setting) { - for (var i = 0, j = _init.unbind.length; i < j; i++) { - _init.unbind[i].apply(this, arguments); - } - }, - bindTree: function (setting) { - var eventParam = { - treeId: setting.treeId - }, - o = setting.treeObj; - if (!setting.view.txtSelectedEnable) { - // for can't select text - o.bind('selectstart', handler.onSelectStart).css({ - "-moz-user-select": "-moz-none" - }); - } - o.bind('click', eventParam, event.proxy); - o.bind('dblclick', eventParam, event.proxy); - o.bind('mouseover', eventParam, event.proxy); - o.bind('mouseout', eventParam, event.proxy); - o.bind('mousedown', eventParam, event.proxy); - o.bind('mouseup', eventParam, event.proxy); - o.bind('contextmenu', eventParam, event.proxy); - }, - unbindTree: function (setting) { - var o = setting.treeObj; - o.unbind('selectstart', handler.onSelectStart) - .unbind('click', event.proxy) - .unbind('dblclick', event.proxy) - .unbind('mouseover', event.proxy) - .unbind('mouseout', event.proxy) - .unbind('mousedown', event.proxy) - .unbind('mouseup', event.proxy) - .unbind('contextmenu', event.proxy); - }, - doProxy: function (e) { - var results = []; - for (var i = 0, j = _init.proxys.length; i < j; i++) { - var proxyResult = _init.proxys[i].apply(this, arguments); - results.push(proxyResult); - if (proxyResult.stop) { - break; - } - } - return results; - }, - proxy: function (e) { - var setting = data.getSetting(e.data.treeId); - if (!tools.uCanDo(setting, e)) return true; - var results = event.doProxy(e), - r = true, x = false; - for (var i = 0, l = results.length; i < l; i++) { - var proxyResult = results[i]; - if (proxyResult.nodeEventCallback) { - x = true; - r = proxyResult.nodeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r; - } - if (proxyResult.treeEventCallback) { - x = true; - r = proxyResult.treeEventCallback.apply(proxyResult, [e, proxyResult.node]) && r; - } - } - return r; - } - }, - //method of event handler - handler = { - onSwitchNode: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (node.open) { - if (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false) return true; - data.getRoot(setting).expandTriggerFlag = true; - view.switchNode(setting, node); - } else { - if (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false) return true; - data.getRoot(setting).expandTriggerFlag = true; - view.switchNode(setting, node); - } - return true; - }, - onClickNode: function (event, node) { - var setting = data.getSetting(event.data.treeId), - clickFlag = ((setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey)) && data.isSelectedNode(setting, node)) ? 0 : (setting.view.autoCancelSelected && (event.ctrlKey || event.metaKey) && setting.view.selectedMulti) ? 2 : 1; - if (tools.apply(setting.callback.beforeClick, [setting.treeId, node, clickFlag], true) == false) return true; - if (clickFlag === 0) { - view.cancelPreSelectedNode(setting, node); - } else { - view.selectNode(setting, node, clickFlag === 2); - } - setting.treeObj.trigger(consts.event.CLICK, [event, setting.treeId, node, clickFlag]); - return true; - }, - onZTreeMousedown: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeMouseDown, [setting.treeId, node], true)) { - tools.apply(setting.callback.onMouseDown, [event, setting.treeId, node]); - } - return true; - }, - onZTreeMouseup: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeMouseUp, [setting.treeId, node], true)) { - tools.apply(setting.callback.onMouseUp, [event, setting.treeId, node]); - } - return true; - }, - onZTreeDblclick: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeDblClick, [setting.treeId, node], true)) { - tools.apply(setting.callback.onDblClick, [event, setting.treeId, node]); - } - return true; - }, - onZTreeContextmenu: function (event, node) { - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeRightClick, [setting.treeId, node], true)) { - tools.apply(setting.callback.onRightClick, [event, setting.treeId, node]); - } - return (typeof setting.callback.onRightClick) != "function"; - }, - onSelectStart: function (e) { - var n = e.originalEvent.srcElement.nodeName.toLowerCase(); - return (n === "input" || n === "textarea"); - } - }, - //method of tools for zTree - tools = { - apply: function (fun, param, defaultValue) { - if ((typeof fun) == "function") { - return fun.apply(zt, param ? param : []); - } - return defaultValue; - }, - canAsync: function (setting, node) { - var children = data.nodeChildren(setting, node); - var isParent = data.nodeIsParent(setting, node); - return (setting.async.enable && node && isParent && !(node.zAsync || (children && children.length > 0))); - }, - clone: function (obj) { - if (obj === null) return null; - var o = tools.isArray(obj) ? [] : {}; - for (var i in obj) { - o[i] = (obj[i] instanceof Date) ? new Date(obj[i].getTime()) : (typeof obj[i] === "object" ? tools.clone(obj[i]) : obj[i]); - } - return o; - }, - eqs: function (str1, str2) { - return str1.toLowerCase() === str2.toLowerCase(); - }, - isArray: function (arr) { - return Object.prototype.toString.apply(arr) === "[object Array]"; - }, - isElement: function (o) { - return ( - typeof HTMLElement === "object" ? o instanceof HTMLElement : //DOM2 - o && typeof o === "object" && o !== null && o.nodeType === 1 && typeof o.nodeName === "string" - ); - }, - $: function (node, exp, setting) { - if (!!exp && typeof exp != "string") { - setting = exp; - exp = ""; - } - if (typeof node == "string") { - return $(node, setting ? setting.treeObj.get(0).ownerDocument : null); - } else { - return $("#" + node.tId + exp, setting ? setting.treeObj : null); - } - }, - getMDom: function (setting, curDom, targetExpr) { - if (!curDom) return null; - while (curDom && curDom.id !== setting.treeId) { - for (var i = 0, l = targetExpr.length; curDom.tagName && i < l; i++) { - if (tools.eqs(curDom.tagName, targetExpr[i].tagName) && curDom.getAttribute(targetExpr[i].attrName) !== null) { - return curDom; - } - } - curDom = curDom.parentNode; - } - return null; - }, - getNodeMainDom: function (target) { - return ($(target).parent("li").get(0) || $(target).parentsUntil("li").parent().get(0)); - }, - isChildOrSelf: function (dom, parentId) { - return ($(dom).closest("#" + parentId).length > 0); - }, - uCanDo: function (setting, e) { - return true; - } - }, - //method of operate ztree dom - view = { - addNodes: function (setting, parentNode, index, newNodes, isSilent) { - var isParent = data.nodeIsParent(setting, parentNode); - if (setting.data.keep.leaf && parentNode && !isParent) { - return; - } - if (!tools.isArray(newNodes)) { - newNodes = [newNodes]; - } - if (setting.data.simpleData.enable) { - newNodes = data.transformTozTreeFormat(setting, newNodes); - } - if (parentNode) { - var target_switchObj = $$(parentNode, consts.id.SWITCH, setting), - target_icoObj = $$(parentNode, consts.id.ICON, setting), - target_ulObj = $$(parentNode, consts.id.UL, setting); - - if (!parentNode.open) { - view.replaceSwitchClass(parentNode, target_switchObj, consts.folder.CLOSE); - view.replaceIcoClass(parentNode, target_icoObj, consts.folder.CLOSE); - parentNode.open = false; - target_ulObj.css({ - "display": "none" - }); - } - - data.addNodesData(setting, parentNode, index, newNodes); - view.createNodes(setting, parentNode.level + 1, newNodes, parentNode, index); - if (!isSilent) { - view.expandCollapseParentNode(setting, parentNode, true); - } - } else { - data.addNodesData(setting, data.getRoot(setting), index, newNodes); - view.createNodes(setting, 0, newNodes, null, index); - } - }, - appendNodes: function (setting, level, nodes, parentNode, index, initFlag, openFlag) { - if (!nodes) return []; - var html = []; - - var tmpPNode = (parentNode) ? parentNode : data.getRoot(setting), - tmpPChild = data.nodeChildren(setting, tmpPNode), - isFirstNode, isLastNode; - - if (!tmpPChild || index >= tmpPChild.length - nodes.length) { - index = -1; - } - - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - if (initFlag) { - isFirstNode = ((index === 0 || tmpPChild.length == nodes.length) && (i == 0)); - isLastNode = (index < 0 && i == (nodes.length - 1)); - data.initNode(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag); - data.addNodeCache(setting, node); - } - var isParent = data.nodeIsParent(setting, node); - - var childHtml = []; - var children = data.nodeChildren(setting, node); - if (children && children.length > 0) { - //make child html first, because checkType - childHtml = view.appendNodes(setting, level + 1, children, node, -1, initFlag, openFlag && node.open); - } - if (openFlag) { - view.makeDOMNodeMainBefore(html, setting, node); - view.makeDOMNodeLine(html, setting, node); - data.getBeforeA(setting, node, html); - view.makeDOMNodeNameBefore(html, setting, node); - data.getInnerBeforeA(setting, node, html); - view.makeDOMNodeIcon(html, setting, node); - data.getInnerAfterA(setting, node, html); - view.makeDOMNodeNameAfter(html, setting, node); - data.getAfterA(setting, node, html); - if (isParent && node.open) { - view.makeUlHtml(setting, node, html, childHtml.join('')); - } - view.makeDOMNodeMainAfter(html, setting, node); - data.addCreatedNode(setting, node); - } - } - return html; - }, - appendParentULDom: function (setting, node) { - var html = [], - nObj = $$(node, setting); - if (!nObj.get(0) && !!node.parentTId) { - view.appendParentULDom(setting, node.getParentNode()); - nObj = $$(node, setting); - } - var ulObj = $$(node, consts.id.UL, setting); - if (ulObj.get(0)) { - ulObj.remove(); - } - var children = data.nodeChildren(setting, node), - childHtml = view.appendNodes(setting, node.level + 1, children, node, -1, false, true); - view.makeUlHtml(setting, node, html, childHtml.join('')); - nObj.append(html.join('')); - }, - asyncNode: function (setting, node, isSilent, callback) { - var i, l; - var isParent = data.nodeIsParent(setting, node); - if (node && !isParent) { - tools.apply(callback); - return false; - } else if (node && node.isAjaxing) { - return false; - } else if (tools.apply(setting.callback.beforeAsync, [setting.treeId, node], true) == false) { - tools.apply(callback); - return false; - } - if (node) { - node.isAjaxing = true; - var icoObj = $$(node, consts.id.ICON, setting); - icoObj.attr({"style": "", "class": consts.className.BUTTON + " " + consts.className.ICO_LOADING}); - } - - var tmpParam = {}; - var autoParam = tools.apply(setting.async.autoParam, [setting.treeId, node], setting.async.autoParam); - for (i = 0, l = autoParam.length; node && i < l; i++) { - var pKey = autoParam[i].split("="), spKey = pKey; - if (pKey.length > 1) { - spKey = pKey[1]; - pKey = pKey[0]; - } - tmpParam[spKey] = node[pKey]; - } - var otherParam = tools.apply(setting.async.otherParam, [setting.treeId, node], setting.async.otherParam); - if (tools.isArray(otherParam)) { - for (i = 0, l = otherParam.length; i < l; i += 2) { - tmpParam[otherParam[i]] = otherParam[i + 1]; - } - } else { - for (var p in otherParam) { - tmpParam[p] = otherParam[p]; - } - } - - var _tmpV = data.getRoot(setting)._ver; - $.ajax({ - contentType: setting.async.contentType, - cache: false, - type: setting.async.type, - url: tools.apply(setting.async.url, [setting.treeId, node], setting.async.url), - data: setting.async.contentType.indexOf('application/json') > -1 ? JSON.stringify(tmpParam) : tmpParam, - dataType: setting.async.dataType, - headers: setting.async.headers, - xhrFields: setting.async.xhrFields, - success: function (msg) { - if (_tmpV != data.getRoot(setting)._ver) { - return; - } - var newNodes = []; - try { - if (!msg || msg.length == 0) { - newNodes = []; - } else if (typeof msg == "string") { - newNodes = eval("(" + msg + ")"); - } else { - newNodes = msg; - } - } catch (err) { - newNodes = msg; - } - - if (node) { - node.isAjaxing = null; - node.zAsync = true; - } - view.setNodeLineIcos(setting, node); - if (newNodes && newNodes !== "") { - newNodes = tools.apply(setting.async.dataFilter, [setting.treeId, node, newNodes], newNodes); - view.addNodes(setting, node, -1, !!newNodes ? tools.clone(newNodes) : [], !!isSilent); - } else { - view.addNodes(setting, node, -1, [], !!isSilent); - } - setting.treeObj.trigger(consts.event.ASYNC_SUCCESS, [setting.treeId, node, msg]); - tools.apply(callback); - }, - error: function (XMLHttpRequest, textStatus, errorThrown) { - if (_tmpV != data.getRoot(setting)._ver) { - return; - } - if (node) node.isAjaxing = null; - view.setNodeLineIcos(setting, node); - setting.treeObj.trigger(consts.event.ASYNC_ERROR, [setting.treeId, node, XMLHttpRequest, textStatus, errorThrown]); - } - }); - return true; - }, - cancelPreSelectedNode: function (setting, node, excludeNode) { - var list = data.getRoot(setting).curSelectedList, - i, n; - for (i = list.length - 1; i >= 0; i--) { - n = list[i]; - if (node === n || (!node && (!excludeNode || excludeNode !== n))) { - $$(n, consts.id.A, setting).removeClass(consts.node.CURSELECTED); - if (node) { - data.removeSelectedNode(setting, node); - break; - } else { - list.splice(i, 1); - setting.treeObj.trigger(consts.event.UNSELECTED, [setting.treeId, n]); - } - } - } - }, - createNodeCallback: function (setting) { - if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { - var root = data.getRoot(setting); - while (root.createdNodes.length > 0) { - var node = root.createdNodes.shift(); - tools.apply(setting.view.addDiyDom, [setting.treeId, node]); - if (!!setting.callback.onNodeCreated) { - setting.treeObj.trigger(consts.event.NODECREATED, [setting.treeId, node]); - } - } - } - }, - createNodes: function (setting, level, nodes, parentNode, index) { - if (!nodes || nodes.length == 0) return; - var root = data.getRoot(setting), - openFlag = !parentNode || parentNode.open || !!$$(data.nodeChildren(setting, parentNode)[0], setting).get(0); - root.createdNodes = []; - var zTreeHtml = view.appendNodes(setting, level, nodes, parentNode, index, true, openFlag), - parentObj, nextObj; - - if (!parentNode) { - parentObj = setting.treeObj; - //setting.treeObj.append(zTreeHtml.join('')); - } else { - var ulObj = $$(parentNode, consts.id.UL, setting); - if (ulObj.get(0)) { - parentObj = ulObj; - //ulObj.append(zTreeHtml.join('')); - } - } - if (parentObj) { - if (index >= 0) { - nextObj = parentObj.children()[index]; - } - if (index >= 0 && nextObj) { - $(nextObj).before(zTreeHtml.join('')); - } else { - parentObj.append(zTreeHtml.join('')); - } - } - - view.createNodeCallback(setting); - }, - destroy: function (setting) { - if (!setting) return; - data.initCache(setting); - data.initRoot(setting); - event.unbindTree(setting); - event.unbindEvent(setting); - setting.treeObj.empty(); - delete settings[setting.treeId]; - }, - expandCollapseNode: function (setting, node, expandFlag, animateFlag, callback) { - var root = data.getRoot(setting); - var tmpCb, _callback; - if (!node) { - tools.apply(callback, []); - return; - } - var children = data.nodeChildren(setting, node); - var isParent = data.nodeIsParent(setting, node); - if (root.expandTriggerFlag) { - _callback = callback; - tmpCb = function () { - if (_callback) _callback(); - if (node.open) { - setting.treeObj.trigger(consts.event.EXPAND, [setting.treeId, node]); - } else { - setting.treeObj.trigger(consts.event.COLLAPSE, [setting.treeId, node]); - } - }; - callback = tmpCb; - root.expandTriggerFlag = false; - } - if (!node.open && isParent && ((!$$(node, consts.id.UL, setting).get(0)) || (children && children.length > 0 && !$$(children[0], setting).get(0)))) { - view.appendParentULDom(setting, node); - view.createNodeCallback(setting); - } - if (node.open == expandFlag) { - tools.apply(callback, []); - return; - } - var ulObj = $$(node, consts.id.UL, setting), - switchObj = $$(node, consts.id.SWITCH, setting), - icoObj = $$(node, consts.id.ICON, setting); - - if (isParent) { - node.open = !node.open; - if (node.iconOpen && node.iconClose) { - icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); - } - - if (node.open) { - view.replaceSwitchClass(node, switchObj, consts.folder.OPEN); - view.replaceIcoClass(node, icoObj, consts.folder.OPEN); - if (animateFlag == false || setting.view.expandSpeed == "") { - ulObj.show(); - tools.apply(callback, []); - } else { - if (children && children.length > 0) { - ulObj.slideDown(setting.view.expandSpeed, callback); - } else { - ulObj.show(); - tools.apply(callback, []); - } - } - } else { - view.replaceSwitchClass(node, switchObj, consts.folder.CLOSE); - view.replaceIcoClass(node, icoObj, consts.folder.CLOSE); - if (animateFlag == false || setting.view.expandSpeed == "" || !(children && children.length > 0)) { - ulObj.hide(); - tools.apply(callback, []); - } else { - ulObj.slideUp(setting.view.expandSpeed, callback); - } - } - } else { - tools.apply(callback, []); - } - }, - expandCollapseParentNode: function (setting, node, expandFlag, animateFlag, callback) { - if (!node) return; - if (!node.parentTId) { - view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback); - return; - } else { - view.expandCollapseNode(setting, node, expandFlag, animateFlag); - } - if (node.parentTId) { - view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, animateFlag, callback); - } - }, - expandCollapseSonNode: function (setting, node, expandFlag, animateFlag, callback) { - var root = data.getRoot(setting), - treeNodes = (node) ? data.nodeChildren(setting, node) : data.nodeChildren(setting, root), - selfAnimateSign = (node) ? false : animateFlag, - expandTriggerFlag = data.getRoot(setting).expandTriggerFlag; - data.getRoot(setting).expandTriggerFlag = false; - if (treeNodes) { - for (var i = 0, l = treeNodes.length; i < l; i++) { - if (treeNodes[i]) view.expandCollapseSonNode(setting, treeNodes[i], expandFlag, selfAnimateSign); - } - } - data.getRoot(setting).expandTriggerFlag = expandTriggerFlag; - view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback); - }, - isSelectedNode: function (setting, node) { - if (!node) { - return false; - } - var list = data.getRoot(setting).curSelectedList, - i; - for (i = list.length - 1; i >= 0; i--) { - if (node === list[i]) { - return true; - } - } - return false; - }, - makeDOMNodeIcon: function (html, setting, node) { - var nameStr = data.nodeName(setting, node), - name = setting.view.nameIsHTML ? nameStr : nameStr.replace(/&/g, '&').replace(//g, '>'); - html.push("", name, ""); - }, - makeDOMNodeLine: function (html, setting, node) { - html.push(""); - }, - makeDOMNodeMainAfter: function (html, setting, node) { - html.push(""); - }, - makeDOMNodeMainBefore: function (html, setting, node) { - html.push("
                • "); - }, - makeDOMNodeNameAfter: function (html, setting, node) { - html.push(""); - }, - makeDOMNodeNameBefore: function (html, setting, node) { - var title = data.nodeTitle(setting, node), - url = view.makeNodeUrl(setting, node), - fontcss = view.makeNodeFontCss(setting, node), - fontStyle = []; - for (var f in fontcss) { - fontStyle.push(f, ":", fontcss[f], ";"); - } - html.push(" 0) ? "href='" + url + "'" : ""), " target='", view.makeNodeTarget(node), "' style='", fontStyle.join(''), - "'"); - if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle) && title) { - html.push("title='", title.replace(/'/g, "'").replace(//g, '>'), "'"); - } - html.push(">"); - }, - makeNodeFontCss: function (setting, node) { - var fontCss = tools.apply(setting.view.fontCss, [setting.treeId, node], setting.view.fontCss); - return (fontCss && ((typeof fontCss) != "function")) ? fontCss : {}; - }, - makeNodeIcoClass: function (setting, node) { - var icoCss = ["ico"]; - if (!node.isAjaxing) { - var isParent = data.nodeIsParent(setting, node); - icoCss[0] = (node.iconSkin ? node.iconSkin + "_" : "") + icoCss[0]; - if (isParent) { - icoCss.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); - } else { - icoCss.push(consts.folder.DOCU); - } - } - return consts.className.BUTTON + " " + icoCss.join('_'); - }, - makeNodeIcoStyle: function (setting, node) { - var icoStyle = []; - if (!node.isAjaxing) { - var isParent = data.nodeIsParent(setting, node); - var icon = (isParent && node.iconOpen && node.iconClose) ? (node.open ? node.iconOpen : node.iconClose) : node[setting.data.key.icon]; - if (icon) icoStyle.push("background:url(", icon, ") 0 0 no-repeat;"); - if (setting.view.showIcon == false || !tools.apply(setting.view.showIcon, [setting.treeId, node], true)) { - icoStyle.push("width:0px;height:0px;"); - } - } - return icoStyle.join(''); - }, - makeNodeLineClass: function (setting, node) { - var lineClass = []; - if (setting.view.showLine) { - if (node.level == 0 && node.isFirstNode && node.isLastNode) { - lineClass.push(consts.line.ROOT); - } else if (node.level == 0 && node.isFirstNode) { - lineClass.push(consts.line.ROOTS); - } else if (node.isLastNode) { - lineClass.push(consts.line.BOTTOM); - } else { - lineClass.push(consts.line.CENTER); - } - } else { - lineClass.push(consts.line.NOLINE); - } - if (data.nodeIsParent(setting, node)) { - lineClass.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); - } else { - lineClass.push(consts.folder.DOCU); - } - return view.makeNodeLineClassEx(node) + lineClass.join('_'); - }, - makeNodeLineClassEx: function (node) { - return consts.className.BUTTON + " " + consts.className.LEVEL + node.level + " " + consts.className.SWITCH + " "; - }, - makeNodeTarget: function (node) { - return (node.target || "_blank"); - }, - makeNodeUrl: function (setting, node) { - var urlKey = setting.data.key.url; - return node[urlKey] ? node[urlKey] : null; - }, - makeUlHtml: function (setting, node, html, content) { - html.push("
                    "); - html.push(content); - html.push("
                  "); - }, - makeUlLineClass: function (setting, node) { - return ((setting.view.showLine && !node.isLastNode) ? consts.line.LINE : ""); - }, - removeChildNodes: function (setting, node) { - if (!node) return; - var nodes = data.nodeChildren(setting, node); - if (!nodes) return; - - for (var i = 0, l = nodes.length; i < l; i++) { - data.removeNodeCache(setting, nodes[i]); - } - data.removeSelectedNode(setting); - delete node[setting.data.key.children]; - - if (!setting.data.keep.parent) { - data.nodeIsParent(setting, node, false); - node.open = false; - var tmp_switchObj = $$(node, consts.id.SWITCH, setting), - tmp_icoObj = $$(node, consts.id.ICON, setting); - view.replaceSwitchClass(node, tmp_switchObj, consts.folder.DOCU); - view.replaceIcoClass(node, tmp_icoObj, consts.folder.DOCU); - $$(node, consts.id.UL, setting).remove(); - } else { - $$(node, consts.id.UL, setting).empty(); - } - }, - scrollIntoView: function (setting, dom) { - if (!dom) { - return; - } - // support IE 7 - if (typeof Element === 'undefined') { - var contRect = setting.treeObj.get(0).getBoundingClientRect(), - findMeRect = dom.getBoundingClientRect(); - if (findMeRect.top < contRect.top || findMeRect.bottom > contRect.bottom - || findMeRect.right > contRect.right || findMeRect.left < contRect.left) { - dom.scrollIntoView(); - } - return; - } - // CC-BY jocki84@googlemail.com, https://gist.github.com/jocki84/6ffafd003387179a988e - if (!Element.prototype.scrollIntoViewIfNeeded) { - Element.prototype.scrollIntoViewIfNeeded = function (centerIfNeeded) { - "use strict"; - - function makeRange(start, length) { - return {"start": start, "length": length, "end": start + length}; - } - - function coverRange(inner, outer) { - if ( - false === centerIfNeeded || - (outer.start < inner.end && inner.start < outer.end) - ) { - return Math.max( - inner.end - outer.length, - Math.min(outer.start, inner.start) - ); - } - return (inner.start + inner.end - outer.length) / 2; - } - - function makePoint(x, y) { - return { - "x": x, - "y": y, - "translate": function translate(dX, dY) { - return makePoint(x + dX, y + dY); - } - }; - } - - function absolute(elem, pt) { - while (elem) { - pt = pt.translate(elem.offsetLeft, elem.offsetTop); - elem = elem.offsetParent; - } - return pt; - } - - var target = absolute(this, makePoint(0, 0)), - extent = makePoint(this.offsetWidth, this.offsetHeight), - elem = this.parentNode, - origin; - - while (elem instanceof HTMLElement) { - // Apply desired scroll amount. - origin = absolute(elem, makePoint(elem.clientLeft, elem.clientTop)); - elem.scrollLeft = coverRange( - makeRange(target.x - origin.x, extent.x), - makeRange(elem.scrollLeft, elem.clientWidth) - ); - elem.scrollTop = coverRange( - makeRange(target.y - origin.y, extent.y), - makeRange(elem.scrollTop, elem.clientHeight) - ); - - // Determine actual scroll amount by reading back scroll properties. - target = target.translate(-elem.scrollLeft, -elem.scrollTop); - elem = elem.parentNode; - } - }; - } - dom.scrollIntoViewIfNeeded(); - }, - setFirstNode: function (setting, parentNode) { - var children = data.nodeChildren(setting, parentNode); - if (children.length > 0) { - children[0].isFirstNode = true; - } - }, - setLastNode: function (setting, parentNode) { - var children = data.nodeChildren(setting, parentNode); - if (children.length > 0) { - children[children.length - 1].isLastNode = true; - } - }, - removeNode: function (setting, node) { - var root = data.getRoot(setting), - parentNode = (node.parentTId) ? node.getParentNode() : root; - - node.isFirstNode = false; - node.isLastNode = false; - node.getPreNode = function () { - return null; - }; - node.getNextNode = function () { - return null; - }; - - if (!data.getNodeCache(setting, node.tId)) { - return; - } - - $$(node, setting).remove(); - data.removeNodeCache(setting, node); - data.removeSelectedNode(setting, node); - - var children = data.nodeChildren(setting, parentNode); - for (var i = 0, l = children.length; i < l; i++) { - if (children[i].tId == node.tId) { - children.splice(i, 1); - break; - } - } - view.setFirstNode(setting, parentNode); - view.setLastNode(setting, parentNode); - - var tmp_ulObj, tmp_switchObj, tmp_icoObj, - childLength = children.length; - - //repair nodes old parent - if (!setting.data.keep.parent && childLength == 0) { - //old parentNode has no child nodes - data.nodeIsParent(setting, parentNode, false); - parentNode.open = false; - delete parentNode[setting.data.key.children]; - tmp_ulObj = $$(parentNode, consts.id.UL, setting); - tmp_switchObj = $$(parentNode, consts.id.SWITCH, setting); - tmp_icoObj = $$(parentNode, consts.id.ICON, setting); - view.replaceSwitchClass(parentNode, tmp_switchObj, consts.folder.DOCU); - view.replaceIcoClass(parentNode, tmp_icoObj, consts.folder.DOCU); - tmp_ulObj.css("display", "none"); - - } else if (setting.view.showLine && childLength > 0) { - //old parentNode has child nodes - var newLast = children[childLength - 1]; - tmp_ulObj = $$(newLast, consts.id.UL, setting); - tmp_switchObj = $$(newLast, consts.id.SWITCH, setting); - tmp_icoObj = $$(newLast, consts.id.ICON, setting); - if (parentNode == root) { - if (children.length == 1) { - //node was root, and ztree has only one root after move node - view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.ROOT); - } else { - var tmp_first_switchObj = $$(children[0], consts.id.SWITCH, setting); - view.replaceSwitchClass(children[0], tmp_first_switchObj, consts.line.ROOTS); - view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); - } - } else { - view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); - } - tmp_ulObj.removeClass(consts.line.LINE); - } - }, - replaceIcoClass: function (node, obj, newName) { - if (!obj || node.isAjaxing) return; - var tmpName = obj.attr("class"); - if (tmpName == undefined) return; - var tmpList = tmpName.split("_"); - switch (newName) { - case consts.folder.OPEN: - case consts.folder.CLOSE: - case consts.folder.DOCU: - tmpList[tmpList.length - 1] = newName; - break; - } - obj.attr("class", tmpList.join("_")); - }, - replaceSwitchClass: function (node, obj, newName) { - if (!obj) return; - var tmpName = obj.attr("class"); - if (tmpName == undefined) return; - var tmpList = tmpName.split("_"); - switch (newName) { - case consts.line.ROOT: - case consts.line.ROOTS: - case consts.line.CENTER: - case consts.line.BOTTOM: - case consts.line.NOLINE: - tmpList[0] = view.makeNodeLineClassEx(node) + newName; - break; - case consts.folder.OPEN: - case consts.folder.CLOSE: - case consts.folder.DOCU: - tmpList[1] = newName; - break; - } - obj.attr("class", tmpList.join("_")); - if (newName !== consts.folder.DOCU) { - obj.removeAttr("disabled"); - } else { - obj.attr("disabled", "disabled"); - } - }, - selectNode: function (setting, node, addFlag) { - if (!addFlag) { - view.cancelPreSelectedNode(setting, null, node); - } - $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED); - data.addSelectedNode(setting, node); - setting.treeObj.trigger(consts.event.SELECTED, [setting.treeId, node]); - }, - setNodeFontCss: function (setting, treeNode) { - var aObj = $$(treeNode, consts.id.A, setting), - fontCss = view.makeNodeFontCss(setting, treeNode); - if (fontCss) { - aObj.css(fontCss); - } - }, - setNodeLineIcos: function (setting, node) { - if (!node) return; - var switchObj = $$(node, consts.id.SWITCH, setting), - ulObj = $$(node, consts.id.UL, setting), - icoObj = $$(node, consts.id.ICON, setting), - ulLine = view.makeUlLineClass(setting, node); - if (ulLine.length == 0) { - ulObj.removeClass(consts.line.LINE); - } else { - ulObj.addClass(ulLine); - } - switchObj.attr("class", view.makeNodeLineClass(setting, node)); - if (data.nodeIsParent(setting, node)) { - switchObj.removeAttr("disabled"); - } else { - switchObj.attr("disabled", "disabled"); - } - icoObj.removeAttr("style"); - icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); - icoObj.attr("class", view.makeNodeIcoClass(setting, node)); - }, - setNodeName: function (setting, node) { - var title = data.nodeTitle(setting, node), - nObj = $$(node, consts.id.SPAN, setting); - nObj.empty(); - if (setting.view.nameIsHTML) { - nObj.html(data.nodeName(setting, node)); - } else { - nObj.text(data.nodeName(setting, node)); - } - if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle)) { - var aObj = $$(node, consts.id.A, setting); - aObj.attr("title", !title ? "" : title); - } - }, - setNodeTarget: function (setting, node) { - var aObj = $$(node, consts.id.A, setting); - aObj.attr("target", view.makeNodeTarget(node)); - }, - setNodeUrl: function (setting, node) { - var aObj = $$(node, consts.id.A, setting), - url = view.makeNodeUrl(setting, node); - if (url == null || url.length == 0) { - aObj.removeAttr("href"); - } else { - aObj.attr("href", url); - } - }, - switchNode: function (setting, node) { - if (node.open || !tools.canAsync(setting, node)) { - view.expandCollapseNode(setting, node, !node.open); - } else if (setting.async.enable) { - if (!view.asyncNode(setting, node)) { - view.expandCollapseNode(setting, node, !node.open); - return; - } - } else if (node) { - view.expandCollapseNode(setting, node, !node.open); - } - } - }; - // zTree defind - $.fn.zTree = { - consts: _consts, - _z: { - tools: tools, - view: view, - event: event, - data: data - }, - getZTreeObj: function (treeId) { - var o = data.getZTreeTools(treeId); - return o ? o : null; - }, - destroy: function (treeId) { - if (!!treeId && treeId.length > 0) { - view.destroy(data.getSetting(treeId)); - } else { - for (var s in settings) { - view.destroy(settings[s]); - } - } - }, - init: function (obj, zSetting, zNodes) { - var setting = tools.clone(_setting); - $.extend(true, setting, zSetting); - setting.treeId = obj.attr("id"); - setting.treeObj = obj; - setting.treeObj.empty(); - settings[setting.treeId] = setting; - //For some older browser,(e.g., ie6) - if (typeof document.body.style.maxHeight === "undefined") { - setting.view.expandSpeed = ""; - } - data.initRoot(setting); - var root = data.getRoot(setting); - zNodes = zNodes ? tools.clone(tools.isArray(zNodes) ? zNodes : [zNodes]) : []; - if (setting.data.simpleData.enable) { - data.nodeChildren(setting, root, data.transformTozTreeFormat(setting, zNodes)); - } else { - data.nodeChildren(setting, root, zNodes); - } - - data.initCache(setting); - event.unbindTree(setting); - event.bindTree(setting); - event.unbindEvent(setting); - event.bindEvent(setting); - - var zTreeTools = { - setting: setting, - addNodes: function (parentNode, index, newNodes, isSilent) { - if (!parentNode) parentNode = null; - var isParent = data.nodeIsParent(setting, parentNode); - if (parentNode && !isParent && setting.data.keep.leaf) return null; - - var i = parseInt(index, 10); - if (isNaN(i)) { - isSilent = !!newNodes; - newNodes = index; - index = -1; - } else { - index = i; - } - if (!newNodes) return null; - - - var xNewNodes = tools.clone(tools.isArray(newNodes) ? newNodes : [newNodes]); - - function addCallback() { - view.addNodes(setting, parentNode, index, xNewNodes, (isSilent == true)); - } - - if (tools.canAsync(setting, parentNode)) { - view.asyncNode(setting, parentNode, isSilent, addCallback); - } else { - addCallback(); - } - return xNewNodes; - }, - cancelSelectedNode: function (node) { - view.cancelPreSelectedNode(setting, node); - }, - destroy: function () { - view.destroy(setting); - }, - expandAll: function (expandFlag) { - expandFlag = !!expandFlag; - view.expandCollapseSonNode(setting, null, expandFlag, true); - return expandFlag; - }, - expandNode: function (node, expandFlag, sonSign, focus, callbackFlag) { - if (!node || !data.nodeIsParent(setting, node)) return null; - if (expandFlag !== true && expandFlag !== false) { - expandFlag = !node.open; - } - callbackFlag = !!callbackFlag; - - if (callbackFlag && expandFlag && (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false)) { - return null; - } else if (callbackFlag && !expandFlag && (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false)) { - return null; - } - if (expandFlag && node.parentTId) { - view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, false); - } - if (expandFlag === node.open && !sonSign) { - return null; - } - - data.getRoot(setting).expandTriggerFlag = callbackFlag; - if (!tools.canAsync(setting, node) && sonSign) { - view.expandCollapseSonNode(setting, node, expandFlag, true, showNodeFocus); - } else { - node.open = !expandFlag; - view.switchNode(this.setting, node); - showNodeFocus(); - } - return expandFlag; - - function showNodeFocus() { - var a = $$(node, setting).get(0); - if (a && focus !== false) { - view.scrollIntoView(setting, a); - } - } - }, - getNodes: function () { - return data.getNodes(setting); - }, - getNodeByParam: function (key, value, parentNode) { - if (!key) return null; - return data.getNodeByParam(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), key, value); - }, - getNodeByTId: function (tId) { - return data.getNodeCache(setting, tId); - }, - getNodesByParam: function (key, value, parentNode) { - if (!key) return null; - return data.getNodesByParam(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), key, value); - }, - getNodesByParamFuzzy: function (key, value, parentNode) { - if (!key) return null; - return data.getNodesByParamFuzzy(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), key, value); - }, - getNodesByFilter: function (filter, isSingle, parentNode, invokeParam) { - isSingle = !!isSingle; - if (!filter || (typeof filter != "function")) return (isSingle ? null : []); - return data.getNodesByFilter(setting, parentNode ? data.nodeChildren(setting, parentNode) : data.getNodes(setting), filter, isSingle, invokeParam); - }, - getNodeIndex: function (node) { - if (!node) return null; - var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); - var children = data.nodeChildren(setting, parentNode); - for (var i = 0, l = children.length; i < l; i++) { - if (children[i] == node) return i; - } - return -1; - }, - getSelectedNodes: function () { - var r = [], list = data.getRoot(setting).curSelectedList; - for (var i = 0, l = list.length; i < l; i++) { - r.push(list[i]); - } - return r; - }, - isSelectedNode: function (node) { - return data.isSelectedNode(setting, node); - }, - reAsyncChildNodesPromise: function (parentNode, reloadType, isSilent) { - var promise = new Promise(function (resolve, reject) { - try { - zTreeTools.reAsyncChildNodes(parentNode, reloadType, isSilent, function () { - resolve(parentNode); - }); - } catch (e) { - reject(e); - } - }); - return promise; - }, - reAsyncChildNodes: function (parentNode, reloadType, isSilent, callback) { - if (!this.setting.async.enable) return; - var isRoot = !parentNode; - if (isRoot) { - parentNode = data.getRoot(setting); - } - if (reloadType == "refresh") { - var children = data.nodeChildren(setting, parentNode); - for (var i = 0, l = children ? children.length : 0; i < l; i++) { - data.removeNodeCache(setting, children[i]); - } - data.removeSelectedNode(setting); - data.nodeChildren(setting, parentNode, []); - if (isRoot) { - this.setting.treeObj.empty(); - } else { - var ulObj = $$(parentNode, consts.id.UL, setting); - ulObj.empty(); - } - } - view.asyncNode(this.setting, isRoot ? null : parentNode, !!isSilent, callback); - }, - refresh: function () { - this.setting.treeObj.empty(); - var root = data.getRoot(setting), - nodes = data.nodeChildren(setting, root); - data.initRoot(setting); - data.nodeChildren(setting, root, nodes); - data.initCache(setting); - view.createNodes(setting, 0, data.nodeChildren(setting, root), null, -1); - }, - removeChildNodes: function (node) { - if (!node) return null; - var nodes = data.nodeChildren(setting, node); - view.removeChildNodes(setting, node); - return nodes ? nodes : null; - }, - removeNode: function (node, callbackFlag) { - if (!node) return; - callbackFlag = !!callbackFlag; - if (callbackFlag && tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return; - view.removeNode(setting, node); - if (callbackFlag) { - this.setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]); - } - }, - selectNode: function (node, addFlag, isSilent) { - if (!node) return; - if (tools.uCanDo(setting)) { - addFlag = setting.view.selectedMulti && addFlag; - if (node.parentTId) { - view.expandCollapseParentNode(setting, node.getParentNode(), true, false, showNodeFocus); - } else if (!isSilent) { - try { - $$(node, setting).focus().blur(); - } catch (e) { - } - } - view.selectNode(setting, node, addFlag); - } - - function showNodeFocus() { - if (isSilent) { - return; - } - var a = $$(node, setting).get(0); - view.scrollIntoView(setting, a); - } - }, - transformTozTreeNodes: function (simpleNodes) { - return data.transformTozTreeFormat(setting, simpleNodes); - }, - transformToArray: function (nodes) { - return data.transformToArrayFormat(setting, nodes); - }, - updateNode: function (node, checkTypeFlag) { - if (!node) return; - var nObj = $$(node, setting); - if (nObj.get(0) && tools.uCanDo(setting)) { - view.setNodeName(setting, node); - view.setNodeTarget(setting, node); - view.setNodeUrl(setting, node); - view.setNodeLineIcos(setting, node); - view.setNodeFontCss(setting, node); - } - } - }; - root.treeTools = zTreeTools; - data.setZTreeTools(setting, zTreeTools); - var children = data.nodeChildren(setting, root); - if (children && children.length > 0) { - view.createNodes(setting, 0, children, null, -1); - } else if (setting.async.enable && setting.async.url && setting.async.url !== '') { - view.asyncNode(setting); - } - return zTreeTools; - } - }; - - var zt = $.fn.zTree, - $$ = tools.$, - consts = zt.consts; -})(jQuery); \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.core.min.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.core.min.js deleted file mode 100644 index b8a472a..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.core.min.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * JQuery zTree core v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(r){var J,K,L,M,N,O,v,t={},w={},x={},P={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{isParent:"isParent",children:"children",name:"name",title:"",url:"url",icon:"icon"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post", -dataType:"text",headers:{},xhrFields:{},url:"",autoParam:[],otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},y=[function(a){var b=a.treeObj,c=g.event;b.bind(c.NODECREATED, -function(b,c,i){h.apply(a.callback.onNodeCreated,[b,c,i])});b.bind(c.CLICK,function(b,c,i,e,k){h.apply(a.callback.onClick,[c,i,e,k])});b.bind(c.EXPAND,function(b,c,i){h.apply(a.callback.onExpand,[b,c,i])});b.bind(c.COLLAPSE,function(b,c,i){h.apply(a.callback.onCollapse,[b,c,i])});b.bind(c.ASYNC_SUCCESS,function(b,c,i,e){h.apply(a.callback.onAsyncSuccess,[b,c,i,e])});b.bind(c.ASYNC_ERROR,function(b,c,i,e,k,g){h.apply(a.callback.onAsyncError,[b,c,i,e,k,g])});b.bind(c.REMOVE,function(b,c,i){h.apply(a.callback.onRemove, -[b,c,i])});b.bind(c.SELECTED,function(b,c,i){h.apply(a.callback.onSelected,[c,i])});b.bind(c.UNSELECTED,function(b,c,i){h.apply(a.callback.onUnSelected,[c,i])})}],z=[function(a){var b=g.event;a.treeObj.unbind(b.NODECREATED).unbind(b.CLICK).unbind(b.EXPAND).unbind(b.COLLAPSE).unbind(b.ASYNC_SUCCESS).unbind(b.ASYNC_ERROR).unbind(b.REMOVE).unbind(b.SELECTED).unbind(b.UNSELECTED)}],A=[function(a){var b=e.getCache(a);b||(b={},e.setCache(a,b));b.nodes=[];b.doms=[]}],B=[function(a,b,c,d,f,i){if(c){var m= -e.getRoot(a),k=e.nodeChildren(a,c);c.level=b;c.tId=a.treeId+"_"+ ++m.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?h.eqs(c.open,"true"):!!c.open;b=e.nodeIsParent(a,c);h.isArray(k)&&!(b===!1||typeof b=="string"&&h.eqs(b,"false"))?(e.nodeIsParent(a,c,!0),c.zAsync=!0):(b=e.nodeIsParent(a,c,b),c.open=b&&!a.async.enable?c.open:!1,c.zAsync=!b);c.isFirstNode=f;c.isLastNode=i;c.getParentNode=function(){return e.getNodeCache(a,c.parentTId)};c.getPreNode=function(){return e.getPreNode(a,c)};c.getNextNode= -function(){return e.getNextNode(a,c)};c.getIndex=function(){return e.getNodeIndex(a,c)};c.getPath=function(){return e.getNodePath(a,c)};c.isAjaxing=!1;e.fixPIdKeyValue(a,c)}}],u=[function(a){var b=a.target,c=e.getSetting(a.data.treeId),d="",f=null,i="",m="",k=null,j=null,o=null;if(h.eqs(a.type,"mousedown"))m="mousedown";else if(h.eqs(a.type,"mouseup"))m="mouseup";else if(h.eqs(a.type,"contextmenu"))m="contextmenu";else if(h.eqs(a.type,"click"))if(h.eqs(b.tagName,"span")&&b.getAttribute("treeNode"+ -g.id.SWITCH)!==null)d=h.getNodeMainDom(b).id,i="switchNode";else{if(o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}]))d=h.getNodeMainDom(o).id,i="clickNode"}else if(h.eqs(a.type,"dblclick")&&(m="dblclick",o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}])))d=h.getNodeMainDom(o).id,i="switchNode";if(m.length>0&&d.length==0&&(o=h.getMDom(c,b,[{tagName:"a",attrName:"treeNode"+g.id.A}])))d=h.getNodeMainDom(o).id;if(d.length>0)switch(f=e.getNodeCache(c,d),i){case "switchNode":e.nodeIsParent(c, -f)?h.eqs(a.type,"click")||h.eqs(a.type,"dblclick")&&h.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?k=J:i="":i="";break;case "clickNode":k=K}switch(m){case "mousedown":j=L;break;case "mouseup":j=M;break;case "dblclick":j=N;break;case "contextmenu":j=O}return{stop:!1,node:f,nodeEventType:i,nodeEventCallback:k,treeEventType:m,treeEventCallback:j}}],C=[function(a){var b=e.getRoot(a);b||(b={},e.setRoot(a,b));e.nodeChildren(a,b,[]);b.expandTriggerFlag=!1;b.curSelectedList=[];b.noSelection= -!0;b.createdNodes=[];b.zId=0;b._ver=(new Date).getTime()}],D=[],E=[],F=[],G=[],H=[],e={addNodeCache:function(a,b){e.getCache(a).nodes[e.getNodeCacheId(b.tId)]=b},getNodeCacheId:function(a){return a.substring(a.lastIndexOf("_")+1)},addAfterA:function(a){E.push(a)},addBeforeA:function(a){D.push(a)},addInnerAfterA:function(a){G.push(a)},addInnerBeforeA:function(a){F.push(a)},addInitBind:function(a){y.push(a)},addInitUnBind:function(a){z.push(a)},addInitCache:function(a){A.push(a)},addInitNode:function(a){B.push(a)}, -addInitProxy:function(a,b){b?u.splice(0,0,a):u.push(a)},addInitRoot:function(a){C.push(a)},addNodesData:function(a,b,c,d){var f=e.nodeChildren(a,b);f?c>=f.length&&(c=-1):(f=e.nodeChildren(a,b,[]),c=-1);if(f.length>0&&c===0)f[0].isFirstNode=!1,j.setNodeLineIcos(a,f[0]);else if(f.length>0&&c<0)f[f.length-1].isLastNode=!1,j.setNodeLineIcos(a,f[f.length-1]);e.nodeIsParent(a,b,!0);c<0?e.nodeChildren(a,b,f.concat(d)):(a=[c,0].concat(d),f.splice.apply(f,a))},addSelectedNode:function(a,b){var c=e.getRoot(a); -e.isSelectedNode(a,b)||c.curSelectedList.push(b)},addCreatedNode:function(a,b){(a.callback.onNodeCreated||a.view.addDiyDom)&&e.getRoot(a).createdNodes.push(b)},addZTreeTools:function(a){H.push(a)},exSetting:function(a){r.extend(!0,P,a)},fixPIdKeyValue:function(a,b){a.data.simpleData.enable&&(b[a.data.simpleData.pIdKey]=b.parentTId?b.getParentNode()[a.data.simpleData.idKey]:a.data.simpleData.rootPId)},getAfterA:function(a,b,c){for(var d=0,e=E.length;d-1&& -f.push(k);k=e.nodeChildren(a,k);f=f.concat(e.getNodesByParamFuzzy(a,k,c,d))}return f},getNodesByFilter:function(a,b,c,d,f){if(!b)return d?null:[];for(var i=d?null:[],m=0,k=b.length;m -0)},clone:function(a){if(a===null)return null;var b=h.isArray(a)?[]:{},c;for(c in a)b[c]=a[c]instanceof Date?new Date(a[c].getTime()):typeof a[c]==="object"?h.clone(a[c]):a[c];return b},eqs:function(a,b){return a.toLowerCase()===b.toLowerCase()},isArray:function(a){return Object.prototype.toString.apply(a)==="[object Array]"},isElement:function(a){return typeof HTMLElement==="object"?a instanceof HTMLElement:a&&typeof a==="object"&&a!==null&&a.nodeType===1&&typeof a.nodeName==="string"},$:function(a, -b,c){b&&typeof b!="string"&&(c=b,b="");return typeof a=="string"?r(a,c?c.treeObj.get(0).ownerDocument:null):r("#"+a.tId+b,c?c.treeObj:null)},getMDom:function(a,b,c){if(!b)return null;for(;b&&b.id!==a.treeId;){for(var d=0,e=c.length;b.tagName&&d0},uCanDo:function(){return!0}},j={addNodes:function(a,b,c,d,f){var i=e.nodeIsParent(a,b);if(!a.data.keep.leaf||!b||i)if(h.isArray(d)||(d=[d]),a.data.simpleData.enable&&(d=e.transformTozTreeFormat(a,d)),b){var i=l(b,g.id.SWITCH,a),m=l(b,g.id.ICON,a),k=l(b,g.id.UL,a);if(!b.open)j.replaceSwitchClass(b,i,g.folder.CLOSE),j.replaceIcoClass(b,m,g.folder.CLOSE),b.open=!1,k.css({display:"none"});e.addNodesData(a,b,c,d);j.createNodes(a,b.level+1,d,b,c);f||j.expandCollapseParentNode(a,b,!0)}else e.addNodesData(a, -e.getRoot(a),c,d),j.createNodes(a,0,d,null,c)},appendNodes:function(a,b,c,d,f,i,g){if(!c)return[];var k=[],h=d?d:e.getRoot(a),h=e.nodeChildren(a,h),o,l;if(!h||f>=h.length-c.length)f=-1;for(var s=0,n=c.length;s0&&(l=j.appendNodes(a,b+1,I,p,-1,i,g&&p.open));g&&(j.makeDOMNodeMainBefore(k,a,p),j.makeDOMNodeLine(k, -a,p),e.getBeforeA(a,p,k),j.makeDOMNodeNameBefore(k,a,p),e.getInnerBeforeA(a,p,k),j.makeDOMNodeIcon(k,a,p),e.getInnerAfterA(a,p,k),j.makeDOMNodeNameAfter(k,a,p),e.getAfterA(a,p,k),o&&p.open&&j.makeUlHtml(a,p,k,l.join("")),j.makeDOMNodeMainAfter(k,a,p),e.addCreatedNode(a,p))}return k},appendParentULDom:function(a,b){var c=[],d=l(b,a);!d.get(0)&&b.parentTId&&(j.appendParentULDom(a,b.getParentNode()),d=l(b,a));var f=l(b,g.id.UL,a);f.get(0)&&f.remove();f=e.nodeChildren(a,b);f=j.appendNodes(a,b.level+1, -f,b,-1,!1,!0);j.makeUlHtml(a,b,c,f.join(""));d.append(c.join(""))},asyncNode:function(a,b,c,d){var f,i;f=e.nodeIsParent(a,b);if(b&&!f)return h.apply(d),!1;else if(b&&b.isAjaxing)return!1;else if(h.apply(a.callback.beforeAsync,[a.treeId,b],!0)==!1)return h.apply(d),!1;if(b)b.isAjaxing=!0,l(b,g.id.ICON,a).attr({style:"","class":g.className.BUTTON+" "+g.className.ICO_LOADING});var m={},k=h.apply(a.async.autoParam,[a.treeId,b],a.async.autoParam);for(f=0,i=k.length;b&&f1&&(o=q[1],q=q[0]);m[o]=b[q]}k=h.apply(a.async.otherParam,[a.treeId,b],a.async.otherParam);if(h.isArray(k))for(f=0,i=k.length;f-1?JSON.stringify(m):m,dataType:a.async.dataType,headers:a.async.headers,xhrFields:a.async.xhrFields,success:function(i){if(s== -e.getRoot(a)._ver){var f=[];try{f=!i||i.length==0?[]:typeof i=="string"?eval("("+i+")"):i}catch(k){f=i}if(b)b.isAjaxing=null,b.zAsync=!0;j.setNodeLineIcos(a,b);f&&f!==""?(f=h.apply(a.async.dataFilter,[a.treeId,b,f],f),j.addNodes(a,b,-1,f?h.clone(f):[],!!c)):j.addNodes(a,b,-1,[],!!c);a.treeObj.trigger(g.event.ASYNC_SUCCESS,[a.treeId,b,i]);h.apply(d)}},error:function(c,d,i){if(s==e.getRoot(a)._ver){if(b)b.isAjaxing=null;j.setNodeLineIcos(a,b);a.treeObj.trigger(g.event.ASYNC_ERROR,[a.treeId,b,c,d,i])}}}); -return!0},cancelPreSelectedNode:function(a,b,c){var d=e.getRoot(a).curSelectedList,f,i;for(f=d.length-1;f>=0;f--)if(i=d[f],b===i||!b&&(!c||c!==i))if(l(i,g.id.A,a).removeClass(g.node.CURSELECTED),b){e.removeSelectedNode(a,b);break}else d.splice(f,1),a.treeObj.trigger(g.event.UNSELECTED,[a.treeId,i])},createNodeCallback:function(a){if(a.callback.onNodeCreated||a.view.addDiyDom)for(var b=e.getRoot(a);b.createdNodes.length>0;){var c=b.createdNodes.shift();h.apply(a.view.addDiyDom,[a.treeId,c]);a.callback.onNodeCreated&& -a.treeObj.trigger(g.event.NODECREATED,[a.treeId,c])}},createNodes:function(a,b,c,d,f){if(c&&c.length!=0){var i=e.getRoot(a),m=!d||d.open||!!l(e.nodeChildren(a,d)[0],a).get(0);i.createdNodes=[];var b=j.appendNodes(a,b,c,d,f,!0,m),k,h;d?(d=l(d,g.id.UL,a),d.get(0)&&(k=d)):k=a.treeObj;k&&(f>=0&&(h=k.children()[f]),f>=0&&h?r(h).before(b.join("")):k.append(b.join("")));j.createNodeCallback(a)}},destroy:function(a){a&&(e.initCache(a),e.initRoot(a),n.unbindTree(a),n.unbindEvent(a),a.treeObj.empty(),delete t[a.treeId])}, -expandCollapseNode:function(a,b,c,d,f){var i=e.getRoot(a),m;if(b){var k=e.nodeChildren(a,b),q=e.nodeIsParent(a,b);if(i.expandTriggerFlag)m=f,f=function(){m&&m();b.open?a.treeObj.trigger(g.event.EXPAND,[a.treeId,b]):a.treeObj.trigger(g.event.COLLAPSE,[a.treeId,b])},i.expandTriggerFlag=!1;if(!b.open&&q&&(!l(b,g.id.UL,a).get(0)||k&&k.length>0&&!l(k[0],a).get(0)))j.appendParentULDom(a,b),j.createNodeCallback(a);if(b.open==c)h.apply(f,[]);else{var c=l(b,g.id.UL,a),i=l(b,g.id.SWITCH,a),o=l(b,g.id.ICON, -a);q?(b.open=!b.open,b.iconOpen&&b.iconClose&&o.attr("style",j.makeNodeIcoStyle(a,b)),b.open?(j.replaceSwitchClass(b,i,g.folder.OPEN),j.replaceIcoClass(b,o,g.folder.OPEN),d==!1||a.view.expandSpeed==""?(c.show(),h.apply(f,[])):k&&k.length>0?c.slideDown(a.view.expandSpeed,f):(c.show(),h.apply(f,[]))):(j.replaceSwitchClass(b,i,g.folder.CLOSE),j.replaceIcoClass(b,o,g.folder.CLOSE),d==!1||a.view.expandSpeed==""||!(k&&k.length>0)?(c.hide(),h.apply(f,[])):c.slideUp(a.view.expandSpeed,f))):h.apply(f,[])}}else h.apply(f, -[])},expandCollapseParentNode:function(a,b,c,d,e){b&&(b.parentTId?(j.expandCollapseNode(a,b,c,d),b.parentTId&&j.expandCollapseParentNode(a,b.getParentNode(),c,d,e)):j.expandCollapseNode(a,b,c,d,e))},expandCollapseSonNode:function(a,b,c,d,f){var i=e.getRoot(a),i=b?e.nodeChildren(a,b):e.nodeChildren(a,i),g=b?!1:d,k=e.getRoot(a).expandTriggerFlag;e.getRoot(a).expandTriggerFlag=!1;if(i)for(var h=0,l=i.length;h=0;d--)if(b===c[d])return!0;return!1},makeDOMNodeIcon:function(a,b,c){var d=e.nodeName(b,c),d=b.view.nameIsHTML?d:d.replace(/&/g,"&").replace(//g,">");a.push("", -d,"")},makeDOMNodeLine:function(a,b,c){a.push("")},makeDOMNodeMainAfter:function(a){a.push("
                • ")},makeDOMNodeMainBefore:function(a,b,c){a.push("
                • ")},makeDOMNodeNameAfter:function(a){a.push("")},makeDOMNodeNameBefore:function(a,b,c){var d=e.nodeTitle(b,c),f=j.makeNodeUrl(b,c),i=j.makeNodeFontCss(b, -c),m=[],k;for(k in i)m.push(k,":",i[k],";");a.push("0?"href='"+f+"'":""," target='",j.makeNodeTarget(c),"' style='",m.join(""),"'");h.apply(b.view.showTitle,[b.treeId,c],b.view.showTitle)&&d&&a.push("title='",d.replace(/'/g,"'").replace(//g,">"),"'");a.push(">")},makeNodeFontCss:function(a,b){var c=h.apply(a.view.fontCss,[a.treeId,b],a.view.fontCss); -return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(a,b){var c=["ico"];if(!b.isAjaxing){var d=e.nodeIsParent(a,b);c[0]=(b.iconSkin?b.iconSkin+"_":"")+c[0];d?c.push(b.open?g.folder.OPEN:g.folder.CLOSE):c.push(g.folder.DOCU)}return g.className.BUTTON+" "+c.join("_")},makeNodeIcoStyle:function(a,b){var c=[];if(!b.isAjaxing){var d=e.nodeIsParent(a,b)&&b.iconOpen&&b.iconClose?b.open?b.iconOpen:b.iconClose:b[a.data.key.icon];d&&c.push("background:url(",d,") 0 0 no-repeat;");(a.view.showIcon== -!1||!h.apply(a.view.showIcon,[a.treeId,b],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(a,b){var c=[];a.view.showLine?b.level==0&&b.isFirstNode&&b.isLastNode?c.push(g.line.ROOT):b.level==0&&b.isFirstNode?c.push(g.line.ROOTS):b.isLastNode?c.push(g.line.BOTTOM):c.push(g.line.CENTER):c.push(g.line.NOLINE);e.nodeIsParent(a,b)?c.push(b.open?g.folder.OPEN:g.folder.CLOSE):c.push(g.folder.DOCU);return j.makeNodeLineClassEx(b)+c.join("_")},makeNodeLineClassEx:function(a){return g.className.BUTTON+ -" "+g.className.LEVEL+a.level+" "+g.className.SWITCH+" "},makeNodeTarget:function(a){return a.target||"_blank"},makeNodeUrl:function(a,b){var c=a.data.key.url;return b[c]?b[c]:null},makeUlHtml:function(a,b,c,d){c.push("
                    ");c.push(d);c.push("
                  ")},makeUlLineClass:function(a,b){return a.view.showLine&&!b.isLastNode?g.line.LINE:""},removeChildNodes:function(a,b){if(b){var c= -e.nodeChildren(a,b);if(c){for(var d=0,f=c.length;dc.bottom||d.right>c.right||d.left0)c[0].isFirstNode=!0},setLastNode:function(a,b){var c=e.nodeChildren(a, -b);if(c.length>0)c[c.length-1].isLastNode=!0},removeNode:function(a,b){var c=e.getRoot(a),d=b.parentTId?b.getParentNode():c;b.isFirstNode=!1;b.isLastNode=!1;b.getPreNode=function(){return null};b.getNextNode=function(){return null};if(e.getNodeCache(a,b.tId)){l(b,a).remove();e.removeNodeCache(a,b);e.removeSelectedNode(a,b);for(var f=e.nodeChildren(a,d),i=0,h=f.length;i0){var q=f[i-1],i=l(q,g.id.UL,a),h=l(q,g.id.SWITCH,a);k=l(q,g.id.ICON,a);d==c?f.length==1?j.replaceSwitchClass(q,h,g.line.ROOT):(c=l(f[0],g.id.SWITCH,a),j.replaceSwitchClass(f[0],c,g.line.ROOTS),j.replaceSwitchClass(q,h,g.line.BOTTOM)):j.replaceSwitchClass(q, -h,g.line.BOTTOM);i.removeClass(g.line.LINE)}}},replaceIcoClass:function(a,b,c){if(b&&!a.isAjaxing&&(a=b.attr("class"),a!=void 0)){a=a.split("_");switch(c){case g.folder.OPEN:case g.folder.CLOSE:case g.folder.DOCU:a[a.length-1]=c}b.attr("class",a.join("_"))}},replaceSwitchClass:function(a,b,c){if(b){var d=b.attr("class");if(d!=void 0){d=d.split("_");switch(c){case g.line.ROOT:case g.line.ROOTS:case g.line.CENTER:case g.line.BOTTOM:case g.line.NOLINE:d[0]=j.makeNodeLineClassEx(a)+c;break;case g.folder.OPEN:case g.folder.CLOSE:case g.folder.DOCU:d[1]= -c}b.attr("class",d.join("_"));c!==g.folder.DOCU?b.removeAttr("disabled"):b.attr("disabled","disabled")}}},selectNode:function(a,b,c){c||j.cancelPreSelectedNode(a,null,b);l(b,g.id.A,a).addClass(g.node.CURSELECTED);e.addSelectedNode(a,b);a.treeObj.trigger(g.event.SELECTED,[a.treeId,b])},setNodeFontCss:function(a,b){var c=l(b,g.id.A,a),d=j.makeNodeFontCss(a,b);d&&c.css(d)},setNodeLineIcos:function(a,b){if(b){var c=l(b,g.id.SWITCH,a),d=l(b,g.id.UL,a),f=l(b,g.id.ICON,a),i=j.makeUlLineClass(a,b);i.length== -0?d.removeClass(g.line.LINE):d.addClass(i);c.attr("class",j.makeNodeLineClass(a,b));e.nodeIsParent(a,b)?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",j.makeNodeIcoStyle(a,b));f.attr("class",j.makeNodeIcoClass(a,b))}},setNodeName:function(a,b){var c=e.nodeTitle(a,b),d=l(b,g.id.SPAN,a);d.empty();a.view.nameIsHTML?d.html(e.nodeName(a,b)):d.text(e.nodeName(a,b));h.apply(a.view.showTitle,[a.treeId,b],a.view.showTitle)&&l(b,g.id.A,a).attr("title",!c?"":c)}, -setNodeTarget:function(a,b){l(b,g.id.A,a).attr("target",j.makeNodeTarget(b))},setNodeUrl:function(a,b){var c=l(b,g.id.A,a),d=j.makeNodeUrl(a,b);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(a,b){b.open||!h.canAsync(a,b)?j.expandCollapseNode(a,b,!b.open):a.async.enable?j.asyncNode(a,b)||j.expandCollapseNode(a,b,!b.open):b&&j.expandCollapseNode(a,b,!b.open)}};r.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch",NAME:"node_name"}, -event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove",SELECTED:"ztree_selected",UNSELECTED:"ztree_unselected"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom",NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:h, -view:j,event:n,data:e},getZTreeObj:function(a){return(a=e.getZTreeTools(a))?a:null},destroy:function(a){if(a&&a.length>0)j.destroy(e.getSetting(a));else for(var b in t)j.destroy(t[b])},init:function(a,b,c){var d=h.clone(P);r.extend(!0,d,b);d.treeId=a.attr("id");d.treeObj=a;d.treeObj.empty();t[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed="";e.initRoot(d);a=e.getRoot(d);c=c?h.clone(h.isArray(c)?c:[c]):[];d.data.simpleData.enable?e.nodeChildren(d,a,e.transformTozTreeFormat(d, -c)):e.nodeChildren(d,a,c);e.initCache(d);n.unbindTree(d);n.bindTree(d);n.unbindEvent(d);n.bindEvent(d);var f={setting:d,addNodes:function(a,b,c,f){function g(){j.addNodes(d,a,b,n,f==!0)}a||(a=null);var l=e.nodeIsParent(d,a);if(a&&!l&&d.data.keep.leaf)return null;l=parseInt(b,10);isNaN(l)?(f=!!c,c=b,b=-1):b=l;if(!c)return null;var n=h.clone(h.isArray(c)?c:[c]);h.canAsync(d,a)?j.asyncNode(d,a,f,g):g();return n},cancelSelectedNode:function(a){j.cancelPreSelectedNode(d,a)},destroy:function(){j.destroy(d)}, -expandAll:function(a){a=!!a;j.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,f,g){function n(){var b=l(a,d).get(0);b&&f!==!1&&j.scrollIntoView(d,b)}if(!a||!e.nodeIsParent(d,a))return null;b!==!0&&b!==!1&&(b=!a.open);if((g=!!g)&&b&&h.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(g&&!b&&h.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&j.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null; -e.getRoot(d).expandTriggerFlag=g;!h.canAsync(d,a)&&c?j.expandCollapseSonNode(d,a,b,!0,n):(a.open=!b,j.switchNode(this.setting,a),n());return b},getNodes:function(){return e.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:e.getNodeByParam(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodeByTId:function(a){return e.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:e.getNodesByParam(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null: -e.getNodesByParamFuzzy(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,f){b=!!b;return!a||typeof a!="function"?b?null:[]:e.getNodesByFilter(d,c?e.nodeChildren(d,c):e.getNodes(d),a,b,f)},getNodeIndex:function(a){if(!a)return null;for(var b=a.parentTId?a.getParentNode():e.getRoot(d),b=e.nodeChildren(d,b),c=0,f=b.length;c0?j.createNodes(d,0,c,null,-1):d.async.enable&&d.async.url&&d.async.url!==""&&j.asyncNode(d);return f}};var Q=r.fn.zTree,l=h.$,g=Q.consts})(jQuery); diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.excheck.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.excheck.js deleted file mode 100644 index 5ccf3f9..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.excheck.js +++ /dev/null @@ -1,648 +0,0 @@ -/* - * JQuery zTree excheck v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function ($) { - //default consts of excheck - var _consts = { - event: { - CHECK: "ztree_check" - }, - id: { - CHECK: "_check" - }, - checkbox: { - STYLE: "checkbox", - DEFAULT: "chk", - DISABLED: "disable", - FALSE: "false", - TRUE: "true", - FULL: "full", - PART: "part", - FOCUS: "focus" - }, - radio: { - STYLE: "radio", - TYPE_ALL: "all", - TYPE_LEVEL: "level" - } - }, - //default setting of excheck - _setting = { - check: { - enable: false, - autoCheckTrigger: false, - chkStyle: _consts.checkbox.STYLE, - nocheckInherit: false, - chkDisabledInherit: false, - radioType: _consts.radio.TYPE_LEVEL, - chkboxType: { - "Y": "ps", - "N": "ps" - } - }, - data: { - key: { - checked: "checked" - } - }, - callback: { - beforeCheck: null, - onCheck: null - } - }, - //default root of excheck - _initRoot = function (setting) { - var r = data.getRoot(setting); - r.radioCheckedList = []; - }, - //default cache of excheck - _initCache = function (treeId) { - }, - //default bind event of excheck - _bindEvent = function (setting) { - var o = setting.treeObj, - c = consts.event; - o.bind(c.CHECK, function (event, srcEvent, treeId, node) { - event.srcEvent = srcEvent; - tools.apply(setting.callback.onCheck, [event, treeId, node]); - }); - }, - _unbindEvent = function (setting) { - var o = setting.treeObj, - c = consts.event; - o.unbind(c.CHECK); - }, - //default event proxy of excheck - _eventProxy = function (e) { - var target = e.target, - setting = data.getSetting(e.data.treeId), - tId = "", node = null, - nodeEventType = "", treeEventType = "", - nodeEventCallback = null, treeEventCallback = null; - - if (tools.eqs(e.type, "mouseover")) { - if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode" + consts.id.CHECK) !== null) { - tId = tools.getNodeMainDom(target).id; - nodeEventType = "mouseoverCheck"; - } - } else if (tools.eqs(e.type, "mouseout")) { - if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode" + consts.id.CHECK) !== null) { - tId = tools.getNodeMainDom(target).id; - nodeEventType = "mouseoutCheck"; - } - } else if (tools.eqs(e.type, "click")) { - if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode" + consts.id.CHECK) !== null) { - tId = tools.getNodeMainDom(target).id; - nodeEventType = "checkNode"; - } - } - if (tId.length > 0) { - node = data.getNodeCache(setting, tId); - switch (nodeEventType) { - case "checkNode" : - nodeEventCallback = _handler.onCheckNode; - break; - case "mouseoverCheck" : - nodeEventCallback = _handler.onMouseoverCheck; - break; - case "mouseoutCheck" : - nodeEventCallback = _handler.onMouseoutCheck; - break; - } - } - var proxyResult = { - stop: nodeEventType === "checkNode", - node: node, - nodeEventType: nodeEventType, - nodeEventCallback: nodeEventCallback, - treeEventType: treeEventType, - treeEventCallback: treeEventCallback - }; - return proxyResult - }, - //default init node of excheck - _initNode = function (setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { - if (!n) return; - var checked = data.nodeChecked(setting, n); - checked = data.nodeChecked(setting, n, checked); - n.checkedOld = checked; - if (typeof n.nocheck == "string") n.nocheck = tools.eqs(n.nocheck, "true"); - n.nocheck = !!n.nocheck || (setting.check.nocheckInherit && parentNode && !!parentNode.nocheck); - if (typeof n.chkDisabled == "string") n.chkDisabled = tools.eqs(n.chkDisabled, "true"); - n.chkDisabled = !!n.chkDisabled || (setting.check.chkDisabledInherit && parentNode && !!parentNode.chkDisabled); - if (typeof n.halfCheck == "string") n.halfCheck = tools.eqs(n.halfCheck, "true"); - n.halfCheck = !!n.halfCheck; - n.check_Child_State = -1; - n.check_Focus = false; - n.getCheckStatus = function () { - return data.getCheckStatus(setting, n); - }; - - if (setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL && checked) { - var r = data.getRoot(setting); - r.radioCheckedList.push(n); - } - }, - //add dom for check - _beforeA = function (setting, node, html) { - if (setting.check.enable) { - data.makeChkFlag(setting, node); - html.push(""); - } - }, - //update zTreeObj, add method of check - _zTreeTools = function (setting, zTreeTools) { - zTreeTools.checkNode = function (node, checked, checkTypeFlag, callbackFlag) { - var nodeChecked = data.nodeChecked(setting, node); - if (node.chkDisabled === true) return; - if (checked !== true && checked !== false) { - checked = !nodeChecked; - } - callbackFlag = !!callbackFlag; - - if (nodeChecked === checked && !checkTypeFlag) { - return; - } else if (callbackFlag && tools.apply(this.setting.callback.beforeCheck, [this.setting.treeId, node], true) == false) { - return; - } - if (tools.uCanDo(this.setting) && this.setting.check.enable && node.nocheck !== true) { - data.nodeChecked(setting, node, checked); - var checkObj = $$(node, consts.id.CHECK, this.setting); - if (checkTypeFlag || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); - view.setChkClass(this.setting, checkObj, node); - view.repairParentChkClassWithSelf(this.setting, node); - if (callbackFlag) { - this.setting.treeObj.trigger(consts.event.CHECK, [null, this.setting.treeId, node]); - } - } - } - - zTreeTools.checkAllNodes = function (checked) { - view.repairAllChk(this.setting, !!checked); - } - - zTreeTools.getCheckedNodes = function (checked) { - var checked = (checked !== false); - var children = data.nodeChildren(setting, data.getRoot(this.setting)); - return data.getTreeCheckedNodes(this.setting, children, checked); - } - - zTreeTools.getChangeCheckedNodes = function () { - var children = data.nodeChildren(setting, data.getRoot(this.setting)); - return data.getTreeChangeCheckedNodes(this.setting, children); - } - - zTreeTools.setChkDisabled = function (node, disabled, inheritParent, inheritChildren) { - disabled = !!disabled; - inheritParent = !!inheritParent; - inheritChildren = !!inheritChildren; - view.repairSonChkDisabled(this.setting, node, disabled, inheritChildren); - view.repairParentChkDisabled(this.setting, node.getParentNode(), disabled, inheritParent); - } - - var _updateNode = zTreeTools.updateNode; - zTreeTools.updateNode = function (node, checkTypeFlag) { - if (_updateNode) _updateNode.apply(zTreeTools, arguments); - if (!node || !this.setting.check.enable) return; - var nObj = $$(node, this.setting); - if (nObj.get(0) && tools.uCanDo(this.setting)) { - var checkObj = $$(node, consts.id.CHECK, this.setting); - if (checkTypeFlag == true || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); - view.setChkClass(this.setting, checkObj, node); - view.repairParentChkClassWithSelf(this.setting, node); - } - } - }, - //method of operate data - _data = { - getRadioCheckedList: function (setting) { - var checkedList = data.getRoot(setting).radioCheckedList; - for (var i = 0, j = checkedList.length; i < j; i++) { - if (!data.getNodeCache(setting, checkedList[i].tId)) { - checkedList.splice(i, 1); - i--; - j--; - } - } - return checkedList; - }, - getCheckStatus: function (setting, node) { - if (!setting.check.enable || node.nocheck || node.chkDisabled) return null; - var checked = data.nodeChecked(setting, node), - r = { - checked: checked, - half: node.halfCheck ? node.halfCheck : (setting.check.chkStyle == consts.radio.STYLE ? (node.check_Child_State === 2) : (checked ? (node.check_Child_State > -1 && node.check_Child_State < 2) : (node.check_Child_State > 0))) - }; - return r; - }, - getTreeCheckedNodes: function (setting, nodes, checked, results) { - if (!nodes) return []; - var onlyOne = (checked && setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL); - results = !results ? [] : results; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - var children = data.nodeChildren(setting, node); - var nodeChecked = data.nodeChecked(setting, node); - if (node.nocheck !== true && node.chkDisabled !== true && nodeChecked == checked) { - results.push(node); - if (onlyOne) { - break; - } - } - data.getTreeCheckedNodes(setting, children, checked, results); - if (onlyOne && results.length > 0) { - break; - } - } - return results; - }, - getTreeChangeCheckedNodes: function (setting, nodes, results) { - if (!nodes) return []; - results = !results ? [] : results; - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i]; - var children = data.nodeChildren(setting, node); - var nodeChecked = data.nodeChecked(setting, node); - if (node.nocheck !== true && node.chkDisabled !== true && nodeChecked != node.checkedOld) { - results.push(node); - } - data.getTreeChangeCheckedNodes(setting, children, results); - } - return results; - }, - makeChkFlag: function (setting, node) { - if (!node) return; - var chkFlag = -1; - var children = data.nodeChildren(setting, node); - if (children) { - for (var i = 0, l = children.length; i < l; i++) { - var cNode = children[i]; - var nodeChecked = data.nodeChecked(setting, cNode); - var tmp = -1; - if (setting.check.chkStyle == consts.radio.STYLE) { - if (cNode.nocheck === true || cNode.chkDisabled === true) { - tmp = cNode.check_Child_State; - } else if (cNode.halfCheck === true) { - tmp = 2; - } else if (nodeChecked) { - tmp = 2; - } else { - tmp = cNode.check_Child_State > 0 ? 2 : 0; - } - if (tmp == 2) { - chkFlag = 2; - break; - } else if (tmp == 0) { - chkFlag = 0; - } - } else if (setting.check.chkStyle == consts.checkbox.STYLE) { - if (cNode.nocheck === true || cNode.chkDisabled === true) { - tmp = cNode.check_Child_State; - } else if (cNode.halfCheck === true) { - tmp = 1; - } else if (nodeChecked) { - tmp = (cNode.check_Child_State === -1 || cNode.check_Child_State === 2) ? 2 : 1; - } else { - tmp = (cNode.check_Child_State > 0) ? 1 : 0; - } - if (tmp === 1) { - chkFlag = 1; - break; - } else if (tmp === 2 && chkFlag > -1 && i > 0 && tmp !== chkFlag) { - chkFlag = 1; - break; - } else if (chkFlag === 2 && tmp > -1 && tmp < 2) { - chkFlag = 1; - break; - } else if (tmp > -1) { - chkFlag = tmp; - } - } - } - } - node.check_Child_State = chkFlag; - } - }, - //method of event proxy - _event = {}, - //method of event handler - _handler = { - onCheckNode: function (event, node) { - if (node.chkDisabled === true) return false; - var setting = data.getSetting(event.data.treeId); - if (tools.apply(setting.callback.beforeCheck, [setting.treeId, node], true) == false) return true; - var nodeChecked = data.nodeChecked(setting, node); - data.nodeChecked(setting, node, !nodeChecked); - view.checkNodeRelation(setting, node); - var checkObj = $$(node, consts.id.CHECK, setting); - view.setChkClass(setting, checkObj, node); - view.repairParentChkClassWithSelf(setting, node); - setting.treeObj.trigger(consts.event.CHECK, [event, setting.treeId, node]); - return true; - }, - onMouseoverCheck: function (event, node) { - if (node.chkDisabled === true) return false; - var setting = data.getSetting(event.data.treeId), - checkObj = $$(node, consts.id.CHECK, setting); - node.check_Focus = true; - view.setChkClass(setting, checkObj, node); - return true; - }, - onMouseoutCheck: function (event, node) { - if (node.chkDisabled === true) return false; - var setting = data.getSetting(event.data.treeId), - checkObj = $$(node, consts.id.CHECK, setting); - node.check_Focus = false; - view.setChkClass(setting, checkObj, node); - return true; - } - }, - //method of tools for zTree - _tools = {}, - //method of operate ztree dom - _view = { - checkNodeRelation: function (setting, node) { - var pNode, i, l, - r = consts.radio; - var nodeChecked = data.nodeChecked(setting, node); - if (setting.check.chkStyle == r.STYLE) { - var checkedList = data.getRadioCheckedList(setting); - if (nodeChecked) { - if (setting.check.radioType == r.TYPE_ALL) { - for (i = checkedList.length - 1; i >= 0; i--) { - pNode = checkedList[i]; - var pNodeChecked = data.nodeChecked(setting, pNode); - if (pNodeChecked && pNode != node) { - data.nodeChecked(setting, pNode, false); - checkedList.splice(i, 1); - - view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); - if (pNode.parentTId != node.parentTId) { - view.repairParentChkClassWithSelf(setting, pNode); - } - } - } - checkedList.push(node); - } else { - var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); - var children = data.nodeChildren(setting, parentNode); - for (i = 0, l = children.length; i < l; i++) { - pNode = children[i]; - var pNodeChecked = data.nodeChecked(setting, pNode); - if (pNodeChecked && pNode != node) { - data.nodeChecked(setting, pNode, false); - view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); - } - } - } - } else if (setting.check.radioType == r.TYPE_ALL) { - for (i = 0, l = checkedList.length; i < l; i++) { - if (node == checkedList[i]) { - checkedList.splice(i, 1); - break; - } - } - } - - } else { - var children = data.nodeChildren(setting, node); - if (nodeChecked && (!children || children.length == 0 || setting.check.chkboxType.Y.indexOf("s") > -1)) { - view.setSonNodeCheckBox(setting, node, true); - } - if (!nodeChecked && (!children || children.length == 0 || setting.check.chkboxType.N.indexOf("s") > -1)) { - view.setSonNodeCheckBox(setting, node, false); - } - if (nodeChecked && setting.check.chkboxType.Y.indexOf("p") > -1) { - view.setParentNodeCheckBox(setting, node, true); - } - if (!nodeChecked && setting.check.chkboxType.N.indexOf("p") > -1) { - view.setParentNodeCheckBox(setting, node, false); - } - } - }, - makeChkClass: function (setting, node) { - var c = consts.checkbox, r = consts.radio, - fullStyle = ""; - var nodeChecked = data.nodeChecked(setting, node); - if (node.chkDisabled === true) { - fullStyle = c.DISABLED; - } else if (node.halfCheck) { - fullStyle = c.PART; - } else if (setting.check.chkStyle == r.STYLE) { - fullStyle = (node.check_Child_State < 1) ? c.FULL : c.PART; - } else { - fullStyle = nodeChecked ? ((node.check_Child_State === 2 || node.check_Child_State === -1) ? c.FULL : c.PART) : ((node.check_Child_State < 1) ? c.FULL : c.PART); - } - var chkName = setting.check.chkStyle + "_" + (nodeChecked ? c.TRUE : c.FALSE) + "_" + fullStyle; - chkName = (node.check_Focus && node.chkDisabled !== true) ? chkName + "_" + c.FOCUS : chkName; - return consts.className.BUTTON + " " + c.DEFAULT + " " + chkName; - }, - repairAllChk: function (setting, checked) { - if (setting.check.enable && setting.check.chkStyle === consts.checkbox.STYLE) { - var root = data.getRoot(setting); - var children = data.nodeChildren(setting, root); - for (var i = 0, l = children.length; i < l; i++) { - var node = children[i]; - if (node.nocheck !== true && node.chkDisabled !== true) { - data.nodeChecked(setting, node, checked); - } - view.setSonNodeCheckBox(setting, node, checked); - } - } - }, - repairChkClass: function (setting, node) { - if (!node) return; - data.makeChkFlag(setting, node); - if (node.nocheck !== true) { - var checkObj = $$(node, consts.id.CHECK, setting); - view.setChkClass(setting, checkObj, node); - } - }, - repairParentChkClass: function (setting, node) { - if (!node || !node.parentTId) return; - var pNode = node.getParentNode(); - view.repairChkClass(setting, pNode); - view.repairParentChkClass(setting, pNode); - }, - repairParentChkClassWithSelf: function (setting, node) { - if (!node) return; - var children = data.nodeChildren(setting, node); - if (children && children.length > 0) { - view.repairParentChkClass(setting, children[0]); - } else { - view.repairParentChkClass(setting, node); - } - }, - repairSonChkDisabled: function (setting, node, chkDisabled, inherit) { - if (!node) return; - if (node.chkDisabled != chkDisabled) { - node.chkDisabled = chkDisabled; - } - view.repairChkClass(setting, node); - var children = data.nodeChildren(setting, node); - if (children && inherit) { - for (var i = 0, l = children.length; i < l; i++) { - var sNode = children[i]; - view.repairSonChkDisabled(setting, sNode, chkDisabled, inherit); - } - } - }, - repairParentChkDisabled: function (setting, node, chkDisabled, inherit) { - if (!node) return; - if (node.chkDisabled != chkDisabled && inherit) { - node.chkDisabled = chkDisabled; - } - view.repairChkClass(setting, node); - view.repairParentChkDisabled(setting, node.getParentNode(), chkDisabled, inherit); - }, - setChkClass: function (setting, obj, node) { - if (!obj) return; - if (node.nocheck === true) { - obj.hide(); - } else { - obj.show(); - } - obj.attr('class', view.makeChkClass(setting, node)); - }, - setParentNodeCheckBox: function (setting, node, value, srcNode) { - var checkObj = $$(node, consts.id.CHECK, setting); - if (!srcNode) srcNode = node; - data.makeChkFlag(setting, node); - if (node.nocheck !== true && node.chkDisabled !== true) { - data.nodeChecked(setting, node, value); - view.setChkClass(setting, checkObj, node); - if (setting.check.autoCheckTrigger && node != srcNode) { - setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); - } - } - if (node.parentTId) { - var pSign = true; - if (!value) { - var pNodes = data.nodeChildren(setting, node.getParentNode()); - for (var i = 0, l = pNodes.length; i < l; i++) { - var pNode = pNodes[i]; - var nodeChecked = data.nodeChecked(setting, pNode); - if ((pNode.nocheck !== true && pNode.chkDisabled !== true && nodeChecked) - || ((pNode.nocheck === true || pNode.chkDisabled === true) && pNode.check_Child_State > 0)) { - pSign = false; - break; - } - } - } - if (pSign) { - view.setParentNodeCheckBox(setting, node.getParentNode(), value, srcNode); - } - } - }, - setSonNodeCheckBox: function (setting, node, value, srcNode) { - if (!node) return; - var checkObj = $$(node, consts.id.CHECK, setting); - if (!srcNode) srcNode = node; - - var hasDisable = false; - var children = data.nodeChildren(setting, node); - if (children) { - for (var i = 0, l = children.length; i < l; i++) { - var sNode = children[i]; - view.setSonNodeCheckBox(setting, sNode, value, srcNode); - if (sNode.chkDisabled === true) hasDisable = true; - } - } - - if (node != data.getRoot(setting) && node.chkDisabled !== true) { - if (hasDisable && node.nocheck !== true) { - data.makeChkFlag(setting, node); - } - if (node.nocheck !== true && node.chkDisabled !== true) { - data.nodeChecked(setting, node, value); - if (!hasDisable) node.check_Child_State = (children && children.length > 0) ? (value ? 2 : 0) : -1; - } else { - node.check_Child_State = -1; - } - view.setChkClass(setting, checkObj, node); - if (setting.check.autoCheckTrigger && node != srcNode && node.nocheck !== true && node.chkDisabled !== true) { - setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); - } - } - - } - }, - - _z = { - tools: _tools, - view: _view, - event: _event, - data: _data - }; - $.extend(true, $.fn.zTree.consts, _consts); - $.extend(true, $.fn.zTree._z, _z); - - var zt = $.fn.zTree, - tools = zt._z.tools, - consts = zt.consts, - view = zt._z.view, - data = zt._z.data, - event = zt._z.event, - $$ = tools.$; - - data.nodeChecked = function (setting, node, newChecked) { - if (!node) { - return false; - } - var key = setting.data.key.checked; - if (typeof newChecked !== 'undefined') { - if (typeof newChecked === "string") { - newChecked = tools.eqs(newChecked, "true"); - } - newChecked = !!newChecked; - node[key] = newChecked; - } - return node[key]; - }; - - data.exSetting(_setting); - data.addInitBind(_bindEvent); - data.addInitUnBind(_unbindEvent); - data.addInitCache(_initCache); - data.addInitNode(_initNode); - data.addInitProxy(_eventProxy, true); - data.addInitRoot(_initRoot); - data.addBeforeA(_beforeA); - data.addZTreeTools(_zTreeTools); - - var _createNodes = view.createNodes; - view.createNodes = function (setting, level, nodes, parentNode, index) { - if (_createNodes) _createNodes.apply(view, arguments); - if (!nodes) return; - view.repairParentChkClassWithSelf(setting, parentNode); - } - var _removeNode = view.removeNode; - view.removeNode = function (setting, node) { - var parentNode = node.getParentNode(); - if (_removeNode) _removeNode.apply(view, arguments); - if (!node || !parentNode) return; - view.repairChkClass(setting, parentNode); - view.repairParentChkClass(setting, parentNode); - } - - var _appendNodes = view.appendNodes; - view.appendNodes = function (setting, level, nodes, parentNode, index, initFlag, openFlag) { - var html = ""; - if (_appendNodes) { - html = _appendNodes.apply(view, arguments); - } - if (parentNode) { - data.makeChkFlag(setting, parentNode); - } - return html; - } -})(jQuery); \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.excheck.min.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.excheck.min.js deleted file mode 100644 index 9483360..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.excheck.min.js +++ /dev/null @@ -1,34 +0,0 @@ -/* - * JQuery zTree excheck v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(n){var q,r,s,p={event:{CHECK:"ztree_check"},id:{CHECK:"_check"},checkbox:{STYLE:"checkbox",DEFAULT:"chk",DISABLED:"disable",FALSE:"false",TRUE:"true",FULL:"full",PART:"part",FOCUS:"focus"},radio:{STYLE:"radio",TYPE_ALL:"all",TYPE_LEVEL:"level"}},w={check:{enable:!1,autoCheckTrigger:!1,chkStyle:p.checkbox.STYLE,nocheckInherit:!1,chkDisabledInherit:!1,radioType:p.radio.TYPE_LEVEL,chkboxType:{Y:"ps",N:"ps"}},data:{key:{checked:"checked"}},callback:{beforeCheck:null,onCheck:null}};q=function(c, -a){if(a.chkDisabled===!0)return!1;var b=e.getSetting(c.data.treeId);if(i.apply(b.callback.beforeCheck,[b.treeId,a],!0)==!1)return!0;var d=e.nodeChecked(b,a);e.nodeChecked(b,a,!d);f.checkNodeRelation(b,a);d=m(a,h.id.CHECK,b);f.setChkClass(b,d,a);f.repairParentChkClassWithSelf(b,a);b.treeObj.trigger(h.event.CHECK,[c,b.treeId,a]);return!0};r=function(c,a){if(a.chkDisabled===!0)return!1;var b=e.getSetting(c.data.treeId),d=m(a,h.id.CHECK,b);a.check_Focus=!0;f.setChkClass(b,d,a);return!0};s=function(c, -a){if(a.chkDisabled===!0)return!1;var b=e.getSetting(c.data.treeId),d=m(a,h.id.CHECK,b);a.check_Focus=!1;f.setChkClass(b,d,a);return!0};n.extend(!0,n.fn.zTree.consts,p);n.extend(!0,n.fn.zTree._z,{tools:{},view:{checkNodeRelation:function(c,a){var b,d,j;d=h.radio;b=e.nodeChecked(c,a);if(c.check.chkStyle==d.STYLE){var g=e.getRadioCheckedList(c);if(b)if(c.check.radioType==d.TYPE_ALL){for(d=g.length-1;d>=0;d--){b=g[d];var k=e.nodeChecked(c,b);k&&b!=a&&(e.nodeChecked(c,b,!1),g.splice(d,1),f.setChkClass(c, -m(b,h.id.CHECK,c),b),b.parentTId!=a.parentTId&&f.repairParentChkClassWithSelf(c,b))}g.push(a)}else{g=a.parentTId?a.getParentNode():e.getRoot(c);g=e.nodeChildren(c,g);for(d=0,j=g.length;d-1)&&f.setSonNodeCheckBox(c,a, -!0),!b&&(!g||g.length==0||c.check.chkboxType.N.indexOf("s")>-1)&&f.setSonNodeCheckBox(c,a,!1),b&&c.check.chkboxType.Y.indexOf("p")>-1&&f.setParentNodeCheckBox(c,a,!0),!b&&c.check.chkboxType.N.indexOf("p")>-1&&f.setParentNodeCheckBox(c,a,!1)},makeChkClass:function(c,a){var b=h.checkbox,d=h.radio,j="",g=e.nodeChecked(c,a),j=a.chkDisabled===!0?b.DISABLED:a.halfCheck?b.PART:c.check.chkStyle==d.STYLE?a.check_Child_State<1?b.FULL:b.PART:g?a.check_Child_State===2||a.check_Child_State===-1?b.FULL:b.PART: -a.check_Child_State<1?b.FULL:b.PART,d=c.check.chkStyle+"_"+(g?b.TRUE:b.FALSE)+"_"+j,d=a.check_Focus&&a.chkDisabled!==!0?d+"_"+b.FOCUS:d;return h.className.BUTTON+" "+b.DEFAULT+" "+d},repairAllChk:function(c,a){if(c.check.enable&&c.check.chkStyle===h.checkbox.STYLE)for(var b=e.getRoot(c),b=e.nodeChildren(c,b),d=0,j=b.length;d0?f.repairParentChkClass(c,b[0]):f.repairParentChkClass(c,a)}},repairSonChkDisabled:function(c,a,b,d){if(a){if(a.chkDisabled!=b)a.chkDisabled=b;f.repairChkClass(c,a);if((a=e.nodeChildren(c,a))&&d)for(var j=0,g=a.length;j0){j=!1;break}}j&&f.setParentNodeCheckBox(c,a.getParentNode(),b,d)}},setSonNodeCheckBox:function(c,a,b,d){if(a){var j=m(a,h.id.CHECK,c);d||(d=a);var g=!1,k=e.nodeChildren(c,a);if(k)for(var o=0,l=k.length;o0?b?2:0:-1}else a.check_Child_State=-1;f.setChkClass(c,j,a);c.check.autoCheckTrigger&&a!=d&&a.nocheck!==!0&&a.chkDisabled!==!0&&c.treeObj.trigger(h.event.CHECK,[null,c.treeId,a])}}}},event:{},data:{getRadioCheckedList:function(c){for(var a=e.getRoot(c).radioCheckedList,b=0,d=a.length;b-1&&a.check_Child_State<2:a.check_Child_State>0}},getTreeCheckedNodes:function(c,a,b,d){if(!a)return[];for(var j=b&&c.check.chkStyle==h.radio.STYLE&&c.check.radioType==h.radio.TYPE_ALL,d=!d?[]:d,g=0,f=a.length;g0)break}return d},getTreeChangeCheckedNodes:function(c,a,b){if(!a)return[];for(var b=!b?[]:b,d=0,j=a.length;d0?2:0,l==2){b=2;break}else l==0&&(b=0);else if(c.check.chkStyle==h.checkbox.STYLE)if(l=f.nocheck===!0||f.chkDisabled===!0?f.check_Child_State:f.halfCheck===!0?1:i?f.check_Child_State===-1||f.check_Child_State===2?2:1:f.check_Child_State>0?1:0,l===1){b=1;break}else if(l===2&&b>-1&&j>0&&l!== -b){b=1;break}else if(b===2&&l>-1&&l<2){b=1;break}else l>-1&&(b=l)}a.check_Child_State=b}}}});var n=n.fn.zTree,i=n._z.tools,h=n.consts,f=n._z.view,e=n._z.data,m=i.$;e.nodeChecked=function(c,a,b){if(!a)return!1;c=c.data.key.checked;typeof b!=="undefined"&&(typeof b==="string"&&(b=i.eqs(b,"true")),a[c]=!!b);return a[c]};e.exSetting(w);e.addInitBind(function(c){c.treeObj.bind(h.event.CHECK,function(a,b,d,e){a.srcEvent=b;i.apply(c.callback.onCheck,[a,d,e])})});e.addInitUnBind(function(c){c.treeObj.unbind(h.event.CHECK)}); -e.addInitCache(function(){});e.addInitNode(function(c,a,b,d){if(b){a=e.nodeChecked(c,b);a=e.nodeChecked(c,b,a);b.checkedOld=a;if(typeof b.nocheck=="string")b.nocheck=i.eqs(b.nocheck,"true");b.nocheck=!!b.nocheck||c.check.nocheckInherit&&d&&!!d.nocheck;if(typeof b.chkDisabled=="string")b.chkDisabled=i.eqs(b.chkDisabled,"true");b.chkDisabled=!!b.chkDisabled||c.check.chkDisabledInherit&&d&&!!d.chkDisabled;if(typeof b.halfCheck=="string")b.halfCheck=i.eqs(b.halfCheck,"true");b.halfCheck=!!b.halfCheck; -b.check_Child_State=-1;b.check_Focus=!1;b.getCheckStatus=function(){return e.getCheckStatus(c,b)};c.check.chkStyle==h.radio.STYLE&&c.check.radioType==h.radio.TYPE_ALL&&a&&e.getRoot(c).radioCheckedList.push(b)}});e.addInitProxy(function(c){var a=c.target,b=e.getSetting(c.data.treeId),d="",f=null,g="",k=null;if(i.eqs(c.type,"mouseover")){if(b.check.enable&&i.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+h.id.CHECK)!==null)d=i.getNodeMainDom(a).id,g="mouseoverCheck"}else if(i.eqs(c.type,"mouseout")){if(b.check.enable&& -i.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+h.id.CHECK)!==null)d=i.getNodeMainDom(a).id,g="mouseoutCheck"}else if(i.eqs(c.type,"click")&&b.check.enable&&i.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+h.id.CHECK)!==null)d=i.getNodeMainDom(a).id,g="checkNode";if(d.length>0)switch(f=e.getNodeCache(b,d),g){case "checkNode":k=q;break;case "mouseoverCheck":k=r;break;case "mouseoutCheck":k=s}return{stop:g==="checkNode",node:f,nodeEventType:g,nodeEventCallback:k,treeEventType:"",treeEventCallback:null}}, -!0);e.addInitRoot(function(c){e.getRoot(c).radioCheckedList=[]});e.addBeforeA(function(c,a,b){c.check.enable&&(e.makeChkFlag(c,a),b.push(""))});e.addZTreeTools(function(c,a){a.checkNode=function(a,b,g,k){var o=e.nodeChecked(c,a);if(a.chkDisabled!==!0&&(b!==!0&&b!==!1&&(b=!o),k=!!k,(o!==b||g)&&!(k&&i.apply(this.setting.callback.beforeCheck,[this.setting.treeId,a], -!0)==!1)&&i.uCanDo(this.setting)&&this.setting.check.enable&&a.nocheck!==!0))e.nodeChecked(c,a,b),b=m(a,h.id.CHECK,this.setting),(g||this.setting.check.chkStyle===h.radio.STYLE)&&f.checkNodeRelation(this.setting,a),f.setChkClass(this.setting,b,a),f.repairParentChkClassWithSelf(this.setting,a),k&&this.setting.treeObj.trigger(h.event.CHECK,[null,this.setting.treeId,a])};a.checkAllNodes=function(a){f.repairAllChk(this.setting,!!a)};a.getCheckedNodes=function(a){var a=a!==!1,b=e.nodeChildren(c,e.getRoot(this.setting)); -return e.getTreeCheckedNodes(this.setting,b,a)};a.getChangeCheckedNodes=function(){var a=e.nodeChildren(c,e.getRoot(this.setting));return e.getTreeChangeCheckedNodes(this.setting,a)};a.setChkDisabled=function(a,b,c,e){b=!!b;c=!!c;f.repairSonChkDisabled(this.setting,a,b,!!e);f.repairParentChkDisabled(this.setting,a.getParentNode(),b,c)};var b=a.updateNode;a.updateNode=function(c,e){b&&b.apply(a,arguments);if(c&&this.setting.check.enable&&m(c,this.setting).get(0)&&i.uCanDo(this.setting)){var g=m(c, -h.id.CHECK,this.setting);(e==!0||this.setting.check.chkStyle===h.radio.STYLE)&&f.checkNodeRelation(this.setting,c);f.setChkClass(this.setting,g,c);f.repairParentChkClassWithSelf(this.setting,c)}}});var t=f.createNodes;f.createNodes=function(c,a,b,d,e){t&&t.apply(f,arguments);b&&f.repairParentChkClassWithSelf(c,d)};var u=f.removeNode;f.removeNode=function(c,a){var b=a.getParentNode();u&&u.apply(f,arguments);a&&b&&(f.repairChkClass(c,b),f.repairParentChkClass(c,b))};var v=f.appendNodes;f.appendNodes= -function(c,a,b,d,h,g,i){var m="";v&&(m=v.apply(f,arguments));d&&e.makeChkFlag(c,d);return m}})(jQuery); diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exedit.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exedit.js deleted file mode 100644 index 278c599..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exedit.js +++ /dev/null @@ -1,1203 +0,0 @@ -/* - * JQuery zTree exedit v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function ($) { - //default consts of exedit - var _consts = { - event: { - DRAG: "ztree_drag", - DROP: "ztree_drop", - RENAME: "ztree_rename", - DRAGMOVE: "ztree_dragmove" - }, - id: { - EDIT: "_edit", - INPUT: "_input", - REMOVE: "_remove" - }, - move: { - TYPE_INNER: "inner", - TYPE_PREV: "prev", - TYPE_NEXT: "next" - }, - node: { - CURSELECTED_EDIT: "curSelectedNode_Edit", - TMPTARGET_TREE: "tmpTargetzTree", - TMPTARGET_NODE: "tmpTargetNode" - } - }, - //default setting of exedit - _setting = { - edit: { - enable: false, - editNameSelectAll: false, - showRemoveBtn: true, - showRenameBtn: true, - removeTitle: "remove", - renameTitle: "rename", - drag: { - autoExpandTrigger: false, - isCopy: true, - isMove: true, - prev: true, - next: true, - inner: true, - minMoveSize: 5, - borderMax: 10, - borderMin: -5, - maxShowNodeNum: 5, - autoOpenTime: 500 - } - }, - view: { - addHoverDom: null, - removeHoverDom: null - }, - callback: { - beforeDrag: null, - beforeDragOpen: null, - beforeDrop: null, - beforeEditName: null, - beforeRename: null, - onDrag: null, - onDragMove: null, - onDrop: null, - onRename: null - } - }, - //default root of exedit - _initRoot = function (setting) { - var r = data.getRoot(setting), rs = data.getRoots(); - r.curEditNode = null; - r.curEditInput = null; - r.curHoverNode = null; - r.dragFlag = 0; - r.dragNodeShowBefore = []; - r.dragMaskList = new Array(); - rs.showHoverDom = true; - }, - //default cache of exedit - _initCache = function (treeId) { - }, - //default bind event of exedit - _bindEvent = function (setting) { - var o = setting.treeObj; - var c = consts.event; - o.bind(c.RENAME, function (event, treeId, treeNode, isCancel) { - tools.apply(setting.callback.onRename, [event, treeId, treeNode, isCancel]); - }); - - o.bind(c.DRAG, function (event, srcEvent, treeId, treeNodes) { - tools.apply(setting.callback.onDrag, [srcEvent, treeId, treeNodes]); - }); - - o.bind(c.DRAGMOVE, function (event, srcEvent, treeId, treeNodes) { - tools.apply(setting.callback.onDragMove, [srcEvent, treeId, treeNodes]); - }); - - o.bind(c.DROP, function (event, srcEvent, treeId, treeNodes, targetNode, moveType, isCopy) { - tools.apply(setting.callback.onDrop, [srcEvent, treeId, treeNodes, targetNode, moveType, isCopy]); - }); - }, - _unbindEvent = function (setting) { - var o = setting.treeObj; - var c = consts.event; - o.unbind(c.RENAME); - o.unbind(c.DRAG); - o.unbind(c.DRAGMOVE); - o.unbind(c.DROP); - }, - //default event proxy of exedit - _eventProxy = function (e) { - var target = e.target, - setting = data.getSetting(e.data.treeId), - relatedTarget = e.relatedTarget, - tId = "", node = null, - nodeEventType = "", treeEventType = "", - nodeEventCallback = null, treeEventCallback = null, - tmp = null; - - if (tools.eqs(e.type, "mouseover")) { - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - nodeEventType = "hoverOverNode"; - } - } else if (tools.eqs(e.type, "mouseout")) { - tmp = tools.getMDom(setting, relatedTarget, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (!tmp) { - tId = "remove"; - nodeEventType = "hoverOutNode"; - } - } else if (tools.eqs(e.type, "mousedown")) { - tmp = tools.getMDom(setting, target, [{tagName: "a", attrName: "treeNode" + consts.id.A}]); - if (tmp) { - tId = tools.getNodeMainDom(tmp).id; - nodeEventType = "mousedownNode"; - } - } - if (tId.length > 0) { - node = data.getNodeCache(setting, tId); - switch (nodeEventType) { - case "mousedownNode" : - nodeEventCallback = _handler.onMousedownNode; - break; - case "hoverOverNode" : - nodeEventCallback = _handler.onHoverOverNode; - break; - case "hoverOutNode" : - nodeEventCallback = _handler.onHoverOutNode; - break; - } - } - var proxyResult = { - stop: false, - node: node, - nodeEventType: nodeEventType, - nodeEventCallback: nodeEventCallback, - treeEventType: treeEventType, - treeEventCallback: treeEventCallback - }; - return proxyResult - }, - //default init node of exedit - _initNode = function (setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { - if (!n) return; - n.isHover = false; - n.editNameFlag = false; - }, - //update zTreeObj, add method of edit - _zTreeTools = function (setting, zTreeTools) { - zTreeTools.cancelEditName = function (newName) { - var root = data.getRoot(this.setting); - if (!root.curEditNode) return; - view.cancelCurEditNode(this.setting, newName ? newName : null, true); - } - zTreeTools.copyNode = function (targetNode, node, moveType, isSilent) { - if (!node) return null; - var isParent = data.nodeIsParent(setting, targetNode); - if (targetNode && !isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) return null; - var _this = this, - newNode = tools.clone(node); - if (!targetNode) { - targetNode = null; - moveType = consts.move.TYPE_INNER; - } - if (moveType == consts.move.TYPE_INNER) { - function copyCallback() { - view.addNodes(_this.setting, targetNode, -1, [newNode], isSilent); - } - - if (tools.canAsync(this.setting, targetNode)) { - view.asyncNode(this.setting, targetNode, isSilent, copyCallback); - } else { - copyCallback(); - } - } else { - view.addNodes(this.setting, targetNode.parentNode, -1, [newNode], isSilent); - view.moveNode(this.setting, targetNode, newNode, moveType, false, isSilent); - } - return newNode; - } - zTreeTools.editName = function (node) { - if (!node || !node.tId || node !== data.getNodeCache(this.setting, node.tId)) return; - if (node.parentTId) view.expandCollapseParentNode(this.setting, node.getParentNode(), true); - view.editNode(this.setting, node) - } - zTreeTools.moveNode = function (targetNode, node, moveType, isSilent) { - if (!node) return node; - var isParent = data.nodeIsParent(setting, targetNode); - if (targetNode && !isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) { - return null; - } else if (targetNode && ((node.parentTId == targetNode.tId && moveType == consts.move.TYPE_INNER) || $$(node, this.setting).find("#" + targetNode.tId).length > 0)) { - return null; - } else if (!targetNode) { - targetNode = null; - } - var _this = this; - - function moveCallback() { - view.moveNode(_this.setting, targetNode, node, moveType, false, isSilent); - } - - if (tools.canAsync(this.setting, targetNode) && moveType === consts.move.TYPE_INNER) { - view.asyncNode(this.setting, targetNode, isSilent, moveCallback); - } else { - moveCallback(); - } - return node; - } - zTreeTools.setEditable = function (editable) { - this.setting.edit.enable = editable; - return this.refresh(); - } - }, - //method of operate data - _data = { - setSonNodeLevel: function (setting, parentNode, node) { - if (!node) return; - var children = data.nodeChildren(setting, node); - node.level = (parentNode) ? parentNode.level + 1 : 0; - if (!children) return; - for (var i = 0, l = children.length; i < l; i++) { - if (children[i]) data.setSonNodeLevel(setting, node, children[i]); - } - } - }, - //method of event proxy - _event = {}, - //method of event handler - _handler = { - onHoverOverNode: function (event, node) { - var setting = data.getSetting(event.data.treeId), - root = data.getRoot(setting); - if (root.curHoverNode != node) { - _handler.onHoverOutNode(event); - } - root.curHoverNode = node; - view.addHoverDom(setting, node); - }, - onHoverOutNode: function (event, node) { - var setting = data.getSetting(event.data.treeId), - root = data.getRoot(setting); - if (root.curHoverNode && !data.isSelectedNode(setting, root.curHoverNode)) { - view.removeTreeDom(setting, root.curHoverNode); - root.curHoverNode = null; - } - }, - onMousedownNode: function (eventMouseDown, _node) { - var i, l, - setting = data.getSetting(eventMouseDown.data.treeId), - root = data.getRoot(setting), roots = data.getRoots(); - //right click can't drag & drop - if (eventMouseDown.button == 2 || !setting.edit.enable || (!setting.edit.drag.isCopy && !setting.edit.drag.isMove)) return true; - - //input of edit node name can't drag & drop - var target = eventMouseDown.target, - _nodes = data.getRoot(setting).curSelectedList, - nodes = []; - if (!data.isSelectedNode(setting, _node)) { - nodes = [_node]; - } else { - for (i = 0, l = _nodes.length; i < l; i++) { - if (_nodes[i].editNameFlag && tools.eqs(target.tagName, "input") && target.getAttribute("treeNode" + consts.id.INPUT) !== null) { - return true; - } - nodes.push(_nodes[i]); - if (nodes[0].parentTId !== _nodes[i].parentTId) { - nodes = [_node]; - break; - } - } - } - - view.editNodeBlur = true; - view.cancelCurEditNode(setting); - - var doc = $(setting.treeObj.get(0).ownerDocument), - body = $(setting.treeObj.get(0).ownerDocument.body), curNode, tmpArrow, tmpTarget, - isOtherTree = false, - targetSetting = setting, - sourceSetting = setting, - preNode, nextNode, - preTmpTargetNodeId = null, - preTmpMoveType = null, - tmpTargetNodeId = null, - moveType = consts.move.TYPE_INNER, - mouseDownX = eventMouseDown.clientX, - mouseDownY = eventMouseDown.clientY, - startTime = (new Date()).getTime(); - - if (tools.uCanDo(setting)) { - doc.bind("mousemove", _docMouseMove); - } - - function _docMouseMove(event) { - //avoid start drag after click node - if (root.dragFlag == 0 && Math.abs(mouseDownX - event.clientX) < setting.edit.drag.minMoveSize - && Math.abs(mouseDownY - event.clientY) < setting.edit.drag.minMoveSize) { - return true; - } - var i, l, tmpNode, tmpDom, tmpNodes; - body.css("cursor", "pointer"); - - if (root.dragFlag == 0) { - if (tools.apply(setting.callback.beforeDrag, [setting.treeId, nodes], true) == false) { - _docMouseUp(event); - return true; - } - - for (i = 0, l = nodes.length; i < l; i++) { - if (i == 0) { - root.dragNodeShowBefore = []; - } - tmpNode = nodes[i]; - if (data.nodeIsParent(setting, tmpNode) && tmpNode.open) { - view.expandCollapseNode(setting, tmpNode, !tmpNode.open); - root.dragNodeShowBefore[tmpNode.tId] = true; - } else { - root.dragNodeShowBefore[tmpNode.tId] = false; - } - } - - root.dragFlag = 1; - roots.showHoverDom = false; - tools.showIfameMask(setting, true); - - //sort - var isOrder = true, lastIndex = -1; - if (nodes.length > 1) { - var pNodes = nodes[0].parentTId ? data.nodeChildren(setting, nodes[0].getParentNode()) : data.getNodes(setting); - tmpNodes = []; - for (i = 0, l = pNodes.length; i < l; i++) { - if (root.dragNodeShowBefore[pNodes[i].tId] !== undefined) { - if (isOrder && lastIndex > -1 && (lastIndex + 1) !== i) { - isOrder = false; - } - tmpNodes.push(pNodes[i]); - lastIndex = i; - } - if (nodes.length === tmpNodes.length) { - nodes = tmpNodes; - break; - } - } - } - if (isOrder) { - preNode = nodes[0].getPreNode(); - nextNode = nodes[nodes.length - 1].getNextNode(); - } - - //set node in selected - curNode = $$("
                    ", setting); - for (i = 0, l = nodes.length; i < l; i++) { - tmpNode = nodes[i]; - tmpNode.editNameFlag = false; - view.selectNode(setting, tmpNode, i > 0); - view.removeTreeDom(setting, tmpNode); - - if (i > setting.edit.drag.maxShowNodeNum - 1) { - continue; - } - - tmpDom = $$("
                  • ", setting); - tmpDom.append($$(tmpNode, consts.id.A, setting).clone()); - tmpDom.css("padding", "0"); - tmpDom.children("#" + tmpNode.tId + consts.id.A).removeClass(consts.node.CURSELECTED); - curNode.append(tmpDom); - if (i == setting.edit.drag.maxShowNodeNum - 1) { - tmpDom = $$("
                  • ...
                  • ", setting); - curNode.append(tmpDom); - } - } - curNode.attr("id", nodes[0].tId + consts.id.UL + "_tmp"); - curNode.addClass(setting.treeObj.attr("class")); - curNode.appendTo(body); - - tmpArrow = $$("", setting); - tmpArrow.attr("id", "zTreeMove_arrow_tmp"); - tmpArrow.appendTo(body); - - setting.treeObj.trigger(consts.event.DRAG, [event, setting.treeId, nodes]); - } - - if (root.dragFlag == 1) { - if (tmpTarget && tmpArrow.attr("id") == event.target.id && tmpTargetNodeId && (event.clientX + doc.scrollLeft() + 2) > ($("#" + tmpTargetNodeId + consts.id.A, tmpTarget).offset().left)) { - var xT = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget); - event.target = (xT.length > 0) ? xT.get(0) : event.target; - } else if (tmpTarget) { - tmpTarget.removeClass(consts.node.TMPTARGET_TREE); - if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) - .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); - } - tmpTarget = null; - tmpTargetNodeId = null; - - //judge drag & drop in multi ztree - isOtherTree = false; - targetSetting = setting; - var settings = data.getSettings(); - for (var s in settings) { - if (settings[s].treeId && settings[s].edit.enable && settings[s].treeId != setting.treeId - && (event.target.id == settings[s].treeId || $(event.target).parents("#" + settings[s].treeId).length > 0)) { - isOtherTree = true; - targetSetting = settings[s]; - } - } - - var docScrollTop = doc.scrollTop(), - docScrollLeft = doc.scrollLeft(), - treeOffset = targetSetting.treeObj.offset(), - scrollHeight = targetSetting.treeObj.get(0).scrollHeight, - scrollWidth = targetSetting.treeObj.get(0).scrollWidth, - dTop = (event.clientY + docScrollTop - treeOffset.top), - dBottom = (targetSetting.treeObj.height() + treeOffset.top - event.clientY - docScrollTop), - dLeft = (event.clientX + docScrollLeft - treeOffset.left), - dRight = (targetSetting.treeObj.width() + treeOffset.left - event.clientX - docScrollLeft), - isTop = (dTop < setting.edit.drag.borderMax && dTop > setting.edit.drag.borderMin), - isBottom = (dBottom < setting.edit.drag.borderMax && dBottom > setting.edit.drag.borderMin), - isLeft = (dLeft < setting.edit.drag.borderMax && dLeft > setting.edit.drag.borderMin), - isRight = (dRight < setting.edit.drag.borderMax && dRight > setting.edit.drag.borderMin), - isTreeInner = dTop > setting.edit.drag.borderMin && dBottom > setting.edit.drag.borderMin && dLeft > setting.edit.drag.borderMin && dRight > setting.edit.drag.borderMin, - isTreeTop = (isTop && targetSetting.treeObj.scrollTop() <= 0), - isTreeBottom = (isBottom && (targetSetting.treeObj.scrollTop() + targetSetting.treeObj.height() + 10) >= scrollHeight), - isTreeLeft = (isLeft && targetSetting.treeObj.scrollLeft() <= 0), - isTreeRight = (isRight && (targetSetting.treeObj.scrollLeft() + targetSetting.treeObj.width() + 10) >= scrollWidth); - - if (event.target && tools.isChildOrSelf(event.target, targetSetting.treeId)) { - //get node
                  • dom - var targetObj = event.target; - while (targetObj && targetObj.tagName && !tools.eqs(targetObj.tagName, "li") && targetObj.id != targetSetting.treeId) { - targetObj = targetObj.parentNode; - } - - var canMove = true; - //don't move to self or children of self - for (i = 0, l = nodes.length; i < l; i++) { - tmpNode = nodes[i]; - if (targetObj.id === tmpNode.tId) { - canMove = false; - break; - } else if ($$(tmpNode, setting).find("#" + targetObj.id).length > 0) { - canMove = false; - break; - } - } - if (canMove && event.target && tools.isChildOrSelf(event.target, targetObj.id + consts.id.A)) { - tmpTarget = $(targetObj); - tmpTargetNodeId = targetObj.id; - } - } - - //the mouse must be in zTree - tmpNode = nodes[0]; - if (isTreeInner && tools.isChildOrSelf(event.target, targetSetting.treeId)) { - //judge mouse move in root of ztree - if (!tmpTarget && (event.target.id == targetSetting.treeId || isTreeTop || isTreeBottom || isTreeLeft || isTreeRight) && (isOtherTree || (!isOtherTree && tmpNode.parentTId))) { - tmpTarget = targetSetting.treeObj; - } - //auto scroll top - if (isTop) { - targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop() - 10); - } else if (isBottom) { - targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop() + 10); - } - if (isLeft) { - targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft() - 10); - } else if (isRight) { - targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft() + 10); - } - //auto scroll left - if (tmpTarget && tmpTarget != targetSetting.treeObj && tmpTarget.offset().left < targetSetting.treeObj.offset().left) { - targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft() + tmpTarget.offset().left - targetSetting.treeObj.offset().left); - } - } - - curNode.css({ - "top": (event.clientY + docScrollTop + 3) + "px", - "left": (event.clientX + docScrollLeft + 3) + "px" - }); - - var dX = 0; - var dY = 0; - if (tmpTarget && tmpTarget.attr("id") != targetSetting.treeId) { - var tmpTargetNode = tmpTargetNodeId == null ? null : data.getNodeCache(targetSetting, tmpTargetNodeId), - isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy), - isPrev = !!(preNode && tmpTargetNodeId === preNode.tId), - isNext = !!(nextNode && tmpTargetNodeId === nextNode.tId), - isInner = (tmpNode.parentTId && tmpNode.parentTId == tmpTargetNodeId), - canPrev = (isCopy || !isNext) && tools.apply(targetSetting.edit.drag.prev, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.prev), - canNext = (isCopy || !isPrev) && tools.apply(targetSetting.edit.drag.next, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.next), - canInner = (isCopy || !isInner) && !(targetSetting.data.keep.leaf && !data.nodeIsParent(setting, tmpTargetNode)) && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.inner); - - function clearMove() { - tmpTarget = null; - tmpTargetNodeId = ""; - moveType = consts.move.TYPE_INNER; - tmpArrow.css({ - "display": "none" - }); - if (window.zTreeMoveTimer) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null - } - } - - if (!canPrev && !canNext && !canInner) { - clearMove(); - } else { - var tmpTargetA = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget), - tmpNextA = tmpTargetNode.isLastNode ? null : $("#" + tmpTargetNode.getNextNode().tId + consts.id.A, tmpTarget.next()), - tmpTop = tmpTargetA.offset().top, - tmpLeft = tmpTargetA.offset().left, - prevPercent = canPrev ? (canInner ? 0.25 : (canNext ? 0.5 : 1)) : -1, - nextPercent = canNext ? (canInner ? 0.75 : (canPrev ? 0.5 : 0)) : -1, - dY_percent = (event.clientY + docScrollTop - tmpTop) / tmpTargetA.height(); - - if ((prevPercent == 1 || dY_percent <= prevPercent && dY_percent >= -.2) && canPrev) { - dX = 1 - tmpArrow.width(); - dY = tmpTop - tmpArrow.height() / 2; - moveType = consts.move.TYPE_PREV; - } else if ((nextPercent == 0 || dY_percent >= nextPercent && dY_percent <= 1.2) && canNext) { - dX = 1 - tmpArrow.width(); - dY = (tmpNextA == null || (data.nodeIsParent(setting, tmpTargetNode) && tmpTargetNode.open)) ? (tmpTop + tmpTargetA.height() - tmpArrow.height() / 2) : (tmpNextA.offset().top - tmpArrow.height() / 2); - moveType = consts.move.TYPE_NEXT; - } else if (canInner) { - dX = 5 - tmpArrow.width(); - dY = tmpTop; - moveType = consts.move.TYPE_INNER; - } else { - clearMove(); - } - - if (tmpTarget) { - tmpArrow.css({ - "display": "block", - "top": dY + "px", - "left": (tmpLeft + dX) + "px" - }); - tmpTargetA.addClass(consts.node.TMPTARGET_NODE + "_" + moveType); - - if (preTmpTargetNodeId != tmpTargetNodeId || preTmpMoveType != moveType) { - startTime = (new Date()).getTime(); - } - if (tmpTargetNode && data.nodeIsParent(setting, tmpTargetNode) && moveType == consts.move.TYPE_INNER) { - var startTimer = true; - if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId !== tmpTargetNode.tId) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null; - } else if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId === tmpTargetNode.tId) { - startTimer = false; - } - if (startTimer) { - window.zTreeMoveTimer = setTimeout(function () { - if (moveType != consts.move.TYPE_INNER) return; - if (tmpTargetNode && data.nodeIsParent(setting, tmpTargetNode) && !tmpTargetNode.open && (new Date()).getTime() - startTime > targetSetting.edit.drag.autoOpenTime - && tools.apply(targetSetting.callback.beforeDragOpen, [targetSetting.treeId, tmpTargetNode], true)) { - view.switchNode(targetSetting, tmpTargetNode); - if (targetSetting.edit.drag.autoExpandTrigger) { - targetSetting.treeObj.trigger(consts.event.EXPAND, [targetSetting.treeId, tmpTargetNode]); - } - } - }, targetSetting.edit.drag.autoOpenTime + 50); - window.zTreeMoveTargetNodeTId = tmpTargetNode.tId; - } - } - } - } - } else { - moveType = consts.move.TYPE_INNER; - if (tmpTarget && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, null], !!targetSetting.edit.drag.inner)) { - tmpTarget.addClass(consts.node.TMPTARGET_TREE); - } else { - tmpTarget = null; - } - tmpArrow.css({ - "display": "none" - }); - if (window.zTreeMoveTimer) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null; - } - } - preTmpTargetNodeId = tmpTargetNodeId; - preTmpMoveType = moveType; - - setting.treeObj.trigger(consts.event.DRAGMOVE, [event, setting.treeId, nodes]); - } - return false; - } - - doc.bind("mouseup", _docMouseUp); - - function _docMouseUp(event) { - if (window.zTreeMoveTimer) { - clearTimeout(window.zTreeMoveTimer); - window.zTreeMoveTargetNodeTId = null; - } - preTmpTargetNodeId = null; - preTmpMoveType = null; - doc.unbind("mousemove", _docMouseMove); - doc.unbind("mouseup", _docMouseUp); - doc.unbind("selectstart", _docSelect); - body.css("cursor", ""); - if (tmpTarget) { - tmpTarget.removeClass(consts.node.TMPTARGET_TREE); - if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) - .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); - } - tools.showIfameMask(setting, false); - - roots.showHoverDom = true; - if (root.dragFlag == 0) return; - root.dragFlag = 0; - - var i, l, tmpNode; - for (i = 0, l = nodes.length; i < l; i++) { - tmpNode = nodes[i]; - if (data.nodeIsParent(setting, tmpNode) && root.dragNodeShowBefore[tmpNode.tId] && !tmpNode.open) { - view.expandCollapseNode(setting, tmpNode, !tmpNode.open); - delete root.dragNodeShowBefore[tmpNode.tId]; - } - } - - if (curNode) curNode.remove(); - if (tmpArrow) tmpArrow.remove(); - - var isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy); - if (!isCopy && tmpTarget && tmpTargetNodeId && nodes[0].parentTId && tmpTargetNodeId == nodes[0].parentTId && moveType == consts.move.TYPE_INNER) { - tmpTarget = null; - } - if (tmpTarget) { - var dragTargetNode = tmpTargetNodeId == null ? null : data.getNodeCache(targetSetting, tmpTargetNodeId); - if (tools.apply(setting.callback.beforeDrop, [targetSetting.treeId, nodes, dragTargetNode, moveType, isCopy], true) == false) { - view.selectNodes(sourceSetting, nodes); - return; - } - var newNodes = isCopy ? tools.clone(nodes) : nodes; - - function dropCallback() { - if (isOtherTree) { - if (!isCopy) { - for (var i = 0, l = nodes.length; i < l; i++) { - view.removeNode(setting, nodes[i]); - } - } - if (moveType == consts.move.TYPE_INNER) { - view.addNodes(targetSetting, dragTargetNode, -1, newNodes); - } else { - view.addNodes(targetSetting, dragTargetNode.getParentNode(), moveType == consts.move.TYPE_PREV ? dragTargetNode.getIndex() : dragTargetNode.getIndex() + 1, newNodes); - } - } else { - if (isCopy && moveType == consts.move.TYPE_INNER) { - view.addNodes(targetSetting, dragTargetNode, -1, newNodes); - } else if (isCopy) { - view.addNodes(targetSetting, dragTargetNode.getParentNode(), moveType == consts.move.TYPE_PREV ? dragTargetNode.getIndex() : dragTargetNode.getIndex() + 1, newNodes); - } else { - if (moveType != consts.move.TYPE_NEXT) { - for (i = 0, l = newNodes.length; i < l; i++) { - view.moveNode(targetSetting, dragTargetNode, newNodes[i], moveType, false); - } - } else { - for (i = -1, l = newNodes.length - 1; i < l; l--) { - view.moveNode(targetSetting, dragTargetNode, newNodes[l], moveType, false); - } - } - } - } - view.selectNodes(targetSetting, newNodes); - - var a = $$(newNodes[0], setting).get(0); - view.scrollIntoView(setting, a); - - setting.treeObj.trigger(consts.event.DROP, [event, targetSetting.treeId, newNodes, dragTargetNode, moveType, isCopy]); - } - - if (moveType == consts.move.TYPE_INNER && tools.canAsync(targetSetting, dragTargetNode)) { - view.asyncNode(targetSetting, dragTargetNode, false, dropCallback); - } else { - dropCallback(); - } - - } else { - view.selectNodes(sourceSetting, nodes); - setting.treeObj.trigger(consts.event.DROP, [event, setting.treeId, nodes, null, null, null]); - } - } - - doc.bind("selectstart", _docSelect); - - function _docSelect() { - return false; - } - - // 2018-03-30 FireFox has fixed this issue. - //Avoid FireFox's Bug - //If zTree Div CSS set 'overflow', so drag node outside of zTree, and event.target is error. - // if(eventMouseDown.preventDefault) { - // eventMouseDown.preventDefault(); - // } - return true; - } - }, - //method of tools for zTree - _tools = { - getAbs: function (obj) { - var oRect = obj.getBoundingClientRect(), - scrollTop = document.body.scrollTop + document.documentElement.scrollTop, - scrollLeft = document.body.scrollLeft + document.documentElement.scrollLeft; - return [oRect.left + scrollLeft, oRect.top + scrollTop]; - }, - inputFocus: function (inputObj) { - if (inputObj.get(0)) { - inputObj.focus(); - tools.setCursorPosition(inputObj.get(0), inputObj.val().length); - } - }, - inputSelect: function (inputObj) { - if (inputObj.get(0)) { - inputObj.focus(); - inputObj.select(); - } - }, - setCursorPosition: function (obj, pos) { - if (obj.setSelectionRange) { - obj.focus(); - obj.setSelectionRange(pos, pos); - } else if (obj.createTextRange) { - var range = obj.createTextRange(); - range.collapse(true); - range.moveEnd('character', pos); - range.moveStart('character', pos); - range.select(); - } - }, - showIfameMask: function (setting, showSign) { - var root = data.getRoot(setting); - //clear full mask - while (root.dragMaskList.length > 0) { - root.dragMaskList[0].remove(); - root.dragMaskList.shift(); - } - if (showSign) { - //show mask - var iframeList = $$("iframe", setting); - for (var i = 0, l = iframeList.length; i < l; i++) { - var obj = iframeList.get(i), - r = tools.getAbs(obj), - dragMask = $$("
                    ", setting); - dragMask.appendTo($$("body", setting)); - root.dragMaskList.push(dragMask); - } - } - } - }, - //method of operate ztree dom - _view = { - addEditBtn: function (setting, node) { - if (node.editNameFlag || $$(node, consts.id.EDIT, setting).length > 0) { - return; - } - if (!tools.apply(setting.edit.showRenameBtn, [setting.treeId, node], setting.edit.showRenameBtn)) { - return; - } - var aObj = $$(node, consts.id.A, setting), - editStr = ""; - aObj.append(editStr); - - $$(node, consts.id.EDIT, setting).bind('click', - function () { - if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeEditName, [setting.treeId, node], true) == false) return false; - view.editNode(setting, node); - return false; - } - ).show(); - }, - addRemoveBtn: function (setting, node) { - if (node.editNameFlag || $$(node, consts.id.REMOVE, setting).length > 0) { - return; - } - if (!tools.apply(setting.edit.showRemoveBtn, [setting.treeId, node], setting.edit.showRemoveBtn)) { - return; - } - var aObj = $$(node, consts.id.A, setting), - removeStr = ""; - aObj.append(removeStr); - - $$(node, consts.id.REMOVE, setting).bind('click', - function () { - if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return false; - view.removeNode(setting, node); - setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]); - return false; - } - ).bind('mousedown', - function (eventMouseDown) { - return true; - } - ).show(); - }, - addHoverDom: function (setting, node) { - if (data.getRoots().showHoverDom) { - node.isHover = true; - if (setting.edit.enable) { - view.addEditBtn(setting, node); - view.addRemoveBtn(setting, node); - } - tools.apply(setting.view.addHoverDom, [setting.treeId, node]); - } - }, - cancelCurEditNode: function (setting, forceName, isCancel) { - var root = data.getRoot(setting), - node = root.curEditNode; - - if (node) { - var inputObj = root.curEditInput, - newName = forceName ? forceName : (isCancel ? data.nodeName(setting, node) : inputObj.val()); - if (tools.apply(setting.callback.beforeRename, [setting.treeId, node, newName, isCancel], true) === false) { - return false; - } - data.nodeName(setting, node, newName); - var aObj = $$(node, consts.id.A, setting); - aObj.removeClass(consts.node.CURSELECTED_EDIT); - inputObj.unbind(); - view.setNodeName(setting, node); - node.editNameFlag = false; - root.curEditNode = null; - root.curEditInput = null; - view.selectNode(setting, node, false); - setting.treeObj.trigger(consts.event.RENAME, [setting.treeId, node, isCancel]); - } - root.noSelection = true; - return true; - }, - editNode: function (setting, node) { - var root = data.getRoot(setting); - view.editNodeBlur = false; - if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) { - setTimeout(function () { - tools.inputFocus(root.curEditInput); - }, 0); - return; - } - node.editNameFlag = true; - view.removeTreeDom(setting, node); - view.cancelCurEditNode(setting); - view.selectNode(setting, node, false); - $$(node, consts.id.SPAN, setting).html(""); - var inputObj = $$(node, consts.id.INPUT, setting); - inputObj.attr("value", data.nodeName(setting, node)); - if (setting.edit.editNameSelectAll) { - tools.inputSelect(inputObj); - } else { - tools.inputFocus(inputObj); - } - - inputObj.bind('blur', function (event) { - if (!view.editNodeBlur) { - view.cancelCurEditNode(setting); - } - }).bind('keydown', function (event) { - if (event.keyCode == "13") { - view.editNodeBlur = true; - view.cancelCurEditNode(setting); - } else if (event.keyCode == "27") { - view.cancelCurEditNode(setting, null, true); - } - }).bind('click', function (event) { - return false; - }).bind('dblclick', function (event) { - return false; - }); - - $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED_EDIT); - root.curEditInput = inputObj; - root.noSelection = false; - root.curEditNode = node; - }, - moveNode: function (setting, targetNode, node, moveType, animateFlag, isSilent) { - var root = data.getRoot(setting); - if (targetNode == node) return; - if (setting.data.keep.leaf && targetNode && !data.nodeIsParent(setting, targetNode) && moveType == consts.move.TYPE_INNER) return; - var oldParentNode = (node.parentTId ? node.getParentNode() : root), - targetNodeIsRoot = (targetNode === null || targetNode == root); - if (targetNodeIsRoot && targetNode === null) targetNode = root; - if (targetNodeIsRoot) moveType = consts.move.TYPE_INNER; - var targetParentNode = (targetNode.parentTId ? targetNode.getParentNode() : root); - - if (moveType != consts.move.TYPE_PREV && moveType != consts.move.TYPE_NEXT) { - moveType = consts.move.TYPE_INNER; - } - - if (moveType == consts.move.TYPE_INNER) { - if (targetNodeIsRoot) { - //parentTId of root node is null - node.parentTId = null; - } else { - if (!data.nodeIsParent(setting, targetNode)) { - data.nodeIsParent(setting, targetNode, true); - targetNode.open = !!targetNode.open; - view.setNodeLineIcos(setting, targetNode); - } - node.parentTId = targetNode.tId; - } - } - - //move node Dom - var targetObj, target_ulObj; - if (targetNodeIsRoot) { - targetObj = setting.treeObj; - target_ulObj = targetObj; - } else { - if (!isSilent && moveType == consts.move.TYPE_INNER) { - view.expandCollapseNode(setting, targetNode, true, false); - } else if (!isSilent) { - view.expandCollapseNode(setting, targetNode.getParentNode(), true, false); - } - targetObj = $$(targetNode, setting); - target_ulObj = $$(targetNode, consts.id.UL, setting); - if (!!targetObj.get(0) && !target_ulObj.get(0)) { - var ulstr = []; - view.makeUlHtml(setting, targetNode, ulstr, ''); - targetObj.append(ulstr.join('')); - } - target_ulObj = $$(targetNode, consts.id.UL, setting); - } - var nodeDom = $$(node, setting); - if (!nodeDom.get(0)) { - nodeDom = view.appendNodes(setting, node.level, [node], null, -1, false, true).join(''); - } else if (!targetObj.get(0)) { - nodeDom.remove(); - } - if (target_ulObj.get(0) && moveType == consts.move.TYPE_INNER) { - target_ulObj.append(nodeDom); - } else if (targetObj.get(0) && moveType == consts.move.TYPE_PREV) { - targetObj.before(nodeDom); - } else if (targetObj.get(0) && moveType == consts.move.TYPE_NEXT) { - targetObj.after(nodeDom); - } - - //repair the data after move - var i, l, - tmpSrcIndex = -1, - tmpTargetIndex = 0, - oldNeighbor = null, - newNeighbor = null, - oldLevel = node.level; - var oldChildren = data.nodeChildren(setting, oldParentNode); - var targetParentChildren = data.nodeChildren(setting, targetParentNode); - var targetChildren = data.nodeChildren(setting, targetNode); - if (node.isFirstNode) { - tmpSrcIndex = 0; - if (oldChildren.length > 1) { - oldNeighbor = oldChildren[1]; - oldNeighbor.isFirstNode = true; - } - } else if (node.isLastNode) { - tmpSrcIndex = oldChildren.length - 1; - oldNeighbor = oldChildren[tmpSrcIndex - 1]; - oldNeighbor.isLastNode = true; - } else { - for (i = 0, l = oldChildren.length; i < l; i++) { - if (oldChildren[i].tId == node.tId) { - tmpSrcIndex = i; - break; - } - } - } - if (tmpSrcIndex >= 0) { - oldChildren.splice(tmpSrcIndex, 1); - } - if (moveType != consts.move.TYPE_INNER) { - for (i = 0, l = targetParentChildren.length; i < l; i++) { - if (targetParentChildren[i].tId == targetNode.tId) tmpTargetIndex = i; - } - } - if (moveType == consts.move.TYPE_INNER) { - if (!targetChildren) { - targetChildren = data.nodeChildren(setting, targetNode, []); - } - if (targetChildren.length > 0) { - newNeighbor = targetChildren[targetChildren.length - 1]; - newNeighbor.isLastNode = false; - } - targetChildren.splice(targetChildren.length, 0, node); - node.isLastNode = true; - node.isFirstNode = (targetChildren.length == 1); - } else if (targetNode.isFirstNode && moveType == consts.move.TYPE_PREV) { - targetParentChildren.splice(tmpTargetIndex, 0, node); - newNeighbor = targetNode; - newNeighbor.isFirstNode = false; - node.parentTId = targetNode.parentTId; - node.isFirstNode = true; - node.isLastNode = false; - - } else if (targetNode.isLastNode && moveType == consts.move.TYPE_NEXT) { - targetParentChildren.splice(tmpTargetIndex + 1, 0, node); - newNeighbor = targetNode; - newNeighbor.isLastNode = false; - node.parentTId = targetNode.parentTId; - node.isFirstNode = false; - node.isLastNode = true; - - } else { - if (moveType == consts.move.TYPE_PREV) { - targetParentChildren.splice(tmpTargetIndex, 0, node); - } else { - targetParentChildren.splice(tmpTargetIndex + 1, 0, node); - } - node.parentTId = targetNode.parentTId; - node.isFirstNode = false; - node.isLastNode = false; - } - data.fixPIdKeyValue(setting, node); - data.setSonNodeLevel(setting, node.getParentNode(), node); - - //repair node what been moved - view.setNodeLineIcos(setting, node); - view.repairNodeLevelClass(setting, node, oldLevel); - - //repair node's old parentNode dom - if (!setting.data.keep.parent && oldChildren.length < 1) { - //old parentNode has no child nodes - data.nodeIsParent(setting, oldParentNode, false); - oldParentNode.open = false; - var tmp_ulObj = $$(oldParentNode, consts.id.UL, setting), - tmp_switchObj = $$(oldParentNode, consts.id.SWITCH, setting), - tmp_icoObj = $$(oldParentNode, consts.id.ICON, setting); - view.replaceSwitchClass(oldParentNode, tmp_switchObj, consts.folder.DOCU); - view.replaceIcoClass(oldParentNode, tmp_icoObj, consts.folder.DOCU); - tmp_ulObj.css("display", "none"); - - } else if (oldNeighbor) { - //old neigbor node - view.setNodeLineIcos(setting, oldNeighbor); - } - - //new neigbor node - if (newNeighbor) { - view.setNodeLineIcos(setting, newNeighbor); - } - - //repair checkbox / radio - if (!!setting.check && setting.check.enable && view.repairChkClass) { - view.repairChkClass(setting, oldParentNode); - view.repairParentChkClassWithSelf(setting, oldParentNode); - if (oldParentNode != node.parent) - view.repairParentChkClassWithSelf(setting, node); - } - - //expand parents after move - if (!isSilent) { - view.expandCollapseParentNode(setting, node.getParentNode(), true, animateFlag); - } - }, - removeEditBtn: function (setting, node) { - $$(node, consts.id.EDIT, setting).unbind().remove(); - }, - removeRemoveBtn: function (setting, node) { - $$(node, consts.id.REMOVE, setting).unbind().remove(); - }, - removeTreeDom: function (setting, node) { - node.isHover = false; - view.removeEditBtn(setting, node); - view.removeRemoveBtn(setting, node); - tools.apply(setting.view.removeHoverDom, [setting.treeId, node]); - }, - repairNodeLevelClass: function (setting, node, oldLevel) { - if (oldLevel === node.level) return; - var liObj = $$(node, setting), - aObj = $$(node, consts.id.A, setting), - ulObj = $$(node, consts.id.UL, setting), - oldClass = consts.className.LEVEL + oldLevel, - newClass = consts.className.LEVEL + node.level; - liObj.removeClass(oldClass); - liObj.addClass(newClass); - aObj.removeClass(oldClass); - aObj.addClass(newClass); - ulObj.removeClass(oldClass); - ulObj.addClass(newClass); - }, - selectNodes: function (setting, nodes) { - for (var i = 0, l = nodes.length; i < l; i++) { - view.selectNode(setting, nodes[i], i > 0); - } - } - }, - - _z = { - tools: _tools, - view: _view, - event: _event, - data: _data - }; - $.extend(true, $.fn.zTree.consts, _consts); - $.extend(true, $.fn.zTree._z, _z); - - var zt = $.fn.zTree, - tools = zt._z.tools, - consts = zt.consts, - view = zt._z.view, - data = zt._z.data, - event = zt._z.event, - $$ = tools.$; - - data.exSetting(_setting); - data.addInitBind(_bindEvent); - data.addInitUnBind(_unbindEvent); - data.addInitCache(_initCache); - data.addInitNode(_initNode); - data.addInitProxy(_eventProxy); - data.addInitRoot(_initRoot); - data.addZTreeTools(_zTreeTools); - - var _cancelPreSelectedNode = view.cancelPreSelectedNode; - view.cancelPreSelectedNode = function (setting, node) { - var list = data.getRoot(setting).curSelectedList; - for (var i = 0, j = list.length; i < j; i++) { - if (!node || node === list[i]) { - view.removeTreeDom(setting, list[i]); - if (node) break; - } - } - if (_cancelPreSelectedNode) _cancelPreSelectedNode.apply(view, arguments); - } - - var _createNodes = view.createNodes; - view.createNodes = function (setting, level, nodes, parentNode, index) { - if (_createNodes) { - _createNodes.apply(view, arguments); - } - if (!nodes) return; - if (view.repairParentChkClassWithSelf) { - view.repairParentChkClassWithSelf(setting, parentNode); - } - } - - var _makeNodeUrl = view.makeNodeUrl; - view.makeNodeUrl = function (setting, node) { - return setting.edit.enable ? null : (_makeNodeUrl.apply(view, arguments)); - } - - var _removeNode = view.removeNode; - view.removeNode = function (setting, node) { - var root = data.getRoot(setting); - if (root.curEditNode === node) root.curEditNode = null; - if (_removeNode) { - _removeNode.apply(view, arguments); - } - } - - var _selectNode = view.selectNode; - view.selectNode = function (setting, node, addFlag) { - var root = data.getRoot(setting); - if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) { - return false; - } - if (_selectNode) _selectNode.apply(view, arguments); - view.addHoverDom(setting, node); - return true; - } - - var _uCanDo = tools.uCanDo; - tools.uCanDo = function (setting, e) { - var root = data.getRoot(setting); - if (e && (tools.eqs(e.type, "mouseover") || tools.eqs(e.type, "mouseout") || tools.eqs(e.type, "mousedown") || tools.eqs(e.type, "mouseup"))) { - return true; - } - if (root.curEditNode) { - view.editNodeBlur = false; - root.curEditInput.focus(); - } - return (!root.curEditNode) && (_uCanDo ? _uCanDo.apply(view, arguments) : true); - } -})(jQuery); \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exedit.min.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exedit.min.js deleted file mode 100644 index 25d2a02..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exedit.min.js +++ /dev/null @@ -1,53 +0,0 @@ -/* - * JQuery zTree exedit v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(B){var I={event:{DRAG:"ztree_drag",DROP:"ztree_drop",RENAME:"ztree_rename",DRAGMOVE:"ztree_dragmove"},id:{EDIT:"_edit",INPUT:"_input",REMOVE:"_remove"},move:{TYPE_INNER:"inner",TYPE_PREV:"prev",TYPE_NEXT:"next"},node:{CURSELECTED_EDIT:"curSelectedNode_Edit",TMPTARGET_TREE:"tmpTargetzTree",TMPTARGET_NODE:"tmpTargetNode"}},v={onHoverOverNode:function(a,b){var c=i.getSetting(a.data.treeId),d=i.getRoot(c);if(d.curHoverNode!=b)v.onHoverOutNode(a);d.curHoverNode=b;e.addHoverDom(c,b)},onHoverOutNode:function(a){var a= -i.getSetting(a.data.treeId),b=i.getRoot(a);if(b.curHoverNode&&!i.isSelectedNode(a,b.curHoverNode))e.removeTreeDom(a,b.curHoverNode),b.curHoverNode=null},onMousedownNode:function(a,b){function c(a){if(m.dragFlag==0&&Math.abs(N-a.clientX)1){var o=n[0].parentTId?i.nodeChildren(f,n[0].getParentNode()):i.getNodes(f);g=[];for(b=0,c=o.length;b-1&&p+1!==b&&(j=!1),g.push(o[b]),p=b),n.length===g.length){n=g;break}}j&&(H=n[0].getPreNode(),Q=n[n.length-1].getNextNode());C=q("
                      ", -f);for(b=0,c=n.length;b0),e.removeTreeDom(f,g),b>f.edit.drag.maxShowNodeNum-1||(j=q("
                    • ",f),j.append(q(g,d.id.A,f).clone()),j.css("padding","0"),j.children("#"+g.tId+d.id.A).removeClass(d.node.CURSELECTED),C.append(j),b==f.edit.drag.maxShowNodeNum-1&&(j=q("
                    • ...
                    • ",f),C.append(j)));C.attr("id",n[0].tId+d.id.UL+"_tmp");C.addClass(f.treeObj.attr("class"));C.appendTo(L);u=q("", -f);u.attr("id","zTreeMove_arrow_tmp");u.appendTo(L);f.treeObj.trigger(d.event.DRAG,[a,f.treeId,n])}if(m.dragFlag==1){t&&u.attr("id")==a.target.id&&w&&a.clientX+G.scrollLeft()+2>B("#"+w+d.id.A,t).offset().left?(g=B("#"+w+d.id.A,t),a.target=g.length>0?g.get(0):a.target):t&&(t.removeClass(d.node.TMPTARGET_TREE),w&&B("#"+w+d.id.A,t).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER)); -w=t=null;J=!1;h=f;g=i.getSettings();for(var z in g)if(g[z].treeId&&g[z].edit.enable&&g[z].treeId!=f.treeId&&(a.target.id==g[z].treeId||B(a.target).parents("#"+g[z].treeId).length>0))J=!0,h=g[z];z=G.scrollTop();j=G.scrollLeft();p=h.treeObj.offset();b=h.treeObj.get(0).scrollHeight;g=h.treeObj.get(0).scrollWidth;c=a.clientY+z-p.top;var E=h.treeObj.height()+p.top-a.clientY-z,r=a.clientX+j-p.left,s=h.treeObj.width()+p.left-a.clientX-j,p=cf.edit.drag.borderMin,o=Ef.edit.drag.borderMin,F=rf.edit.drag.borderMin,v=sf.edit.drag.borderMin,E=c>f.edit.drag.borderMin&&E>f.edit.drag.borderMin&&r>f.edit.drag.borderMin&&s>f.edit.drag.borderMin,r=p&&h.treeObj.scrollTop()<=0,s=o&&h.treeObj.scrollTop()+h.treeObj.height()+10>=b,M=F&&h.treeObj.scrollLeft()<=0,P=v&&h.treeObj.scrollLeft()+h.treeObj.width()+10>=g;if(a.target&&k.isChildOrSelf(a.target,h.treeId)){for(var D=a.target;D&&D.tagName&&!k.eqs(D.tagName,"li")&&D.id!= -h.treeId;)D=D.parentNode;var R=!0;for(b=0,c=n.length;b0){R=!1;break}if(R&&a.target&&k.isChildOrSelf(a.target,D.id+d.id.A))t=B(D),w=D.id}g=n[0];if(E&&k.isChildOrSelf(a.target,h.treeId)){if(!t&&(a.target.id==h.treeId||r||s||M||P)&&(J||!J&&g.parentTId))t=h.treeObj;p?h.treeObj.scrollTop(h.treeObj.scrollTop()-10):o&&h.treeObj.scrollTop(h.treeObj.scrollTop()+10);F?h.treeObj.scrollLeft(h.treeObj.scrollLeft()-10):v&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+ -10);t&&t!=h.treeObj&&t.offset().left=-0.2)&&g?(j=1-u.width(),b=E-u.height()/2,x=d.move.TYPE_PREV):(M==0||z>=M&&z<=1.2)&&c?(j=1-u.width(),b=v==null||i.nodeIsParent(f,A)&&A.open?E+F.height()-u.height()/2:v.offset().top-u.height()/2,x=d.move.TYPE_NEXT):p?(j=5-u.width(),b=E,x=d.move.TYPE_INNER):o(),t){u.css({display:"block",top:b+"px",left:r+j+"px"});F.addClass(d.node.TMPTARGET_NODE+"_"+x);if(S!=w||T!=x)K=(new Date).getTime();if(A&&i.nodeIsParent(f, -A)&&x==d.move.TYPE_INNER&&(z=!0,window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId!==A.tId?(clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null):window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId===A.tId&&(z=!1),z))window.zTreeMoveTimer=setTimeout(function(){x==d.move.TYPE_INNER&&A&&i.nodeIsParent(f,A)&&!A.open&&(new Date).getTime()-K>h.edit.drag.autoOpenTime&&k.apply(h.callback.beforeDragOpen,[h.treeId,A],!0)&&(e.switchNode(h,A),h.edit.drag.autoExpandTrigger&&h.treeObj.trigger(d.event.EXPAND, -[h.treeId,A]))},h.edit.drag.autoOpenTime+50),window.zTreeMoveTargetNodeTId=A.tId}}else if(x=d.move.TYPE_INNER,t&&k.apply(h.edit.drag.inner,[h.treeId,n,null],!!h.edit.drag.inner)?t.addClass(d.node.TMPTARGET_TREE):t=null,u.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;S=w;T=x;f.treeObj.trigger(d.event.DRAGMOVE,[a,f.treeId,n])}return!1}function l(a){if(window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId= -null;T=S=null;G.unbind("mousemove",c);G.unbind("mouseup",l);G.unbind("selectstart",g);L.css("cursor","");t&&(t.removeClass(d.node.TMPTARGET_TREE),w&&B("#"+w+d.id.A,t).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));k.showIfameMask(f,!1);y.showHoverDom=!0;if(m.dragFlag!=0){m.dragFlag=0;var b,j,o;for(b=0,j=n.length;b0;)c.dragMaskList[0].remove(),c.dragMaskList.shift();if(b)for(var d=q("iframe",a),g=0,e=d.length;g",a);j.appendTo(q("body",a));c.dragMaskList.push(j)}}},view:{addEditBtn:function(a,b){if(!(b.editNameFlag|| -q(b,d.id.EDIT,a).length>0)&&k.apply(a.edit.showRenameBtn,[a.treeId,b],a.edit.showRenameBtn)){var c=q(b,d.id.A,a),l="";c.append(l);q(b,d.id.EDIT,a).bind("click",function(){if(!k.uCanDo(a)||k.apply(a.callback.beforeEditName,[a.treeId,b],!0)==!1)return!1;e.editNode(a,b);return!1}).show()}},addRemoveBtn:function(a, -b){if(!(b.editNameFlag||q(b,d.id.REMOVE,a).length>0)&&k.apply(a.edit.showRemoveBtn,[a.treeId,b],a.edit.showRemoveBtn)){var c=q(b,d.id.A,a),l="";c.append(l);q(b,d.id.REMOVE,a).bind("click",function(){if(!k.uCanDo(a)||k.apply(a.callback.beforeRemove,[a.treeId,b],!0)==!1)return!1;e.removeNode(a,b);a.treeObj.trigger(d.event.REMOVE, -[a.treeId,b]);return!1}).bind("mousedown",function(){return!0}).show()}},addHoverDom:function(a,b){if(i.getRoots().showHoverDom)b.isHover=!0,a.edit.enable&&(e.addEditBtn(a,b),e.addRemoveBtn(a,b)),k.apply(a.view.addHoverDom,[a.treeId,b])},cancelCurEditNode:function(a,b,c){var l=i.getRoot(a),g=l.curEditNode;if(g){var o=l.curEditInput,b=b?b:c?i.nodeName(a,g):o.val();if(k.apply(a.callback.beforeRename,[a.treeId,g,b,c],!0)===!1)return!1;i.nodeName(a,g,b);q(g,d.id.A,a).removeClass(d.node.CURSELECTED_EDIT); -o.unbind();e.setNodeName(a,g);g.editNameFlag=!1;l.curEditNode=null;l.curEditInput=null;e.selectNode(a,g,!1);a.treeObj.trigger(d.event.RENAME,[a.treeId,g,c])}return l.noSelection=!0},editNode:function(a,b){var c=i.getRoot(a);e.editNodeBlur=!1;if(i.isSelectedNode(a,b)&&c.curEditNode==b&&b.editNameFlag)setTimeout(function(){k.inputFocus(c.curEditInput)},0);else{b.editNameFlag=!0;e.removeTreeDom(a,b);e.cancelCurEditNode(a);e.selectNode(a,b,!1);q(b,d.id.SPAN,a).html("");var l=q(b,d.id.INPUT,a);l.attr("value",i.nodeName(a,b));a.edit.editNameSelectAll?k.inputSelect(l):k.inputFocus(l);l.bind("blur",function(){e.editNodeBlur||e.cancelCurEditNode(a)}).bind("keydown",function(b){b.keyCode=="13"?(e.editNodeBlur=!0,e.cancelCurEditNode(a)):b.keyCode=="27"&&e.cancelCurEditNode(a,null,!0)}).bind("click",function(){return!1}).bind("dblclick",function(){return!1});q(b,d.id.A,a).addClass(d.node.CURSELECTED_EDIT);c.curEditInput=l; -c.noSelection=!1;c.curEditNode=b}},moveNode:function(a,b,c,l,g,k){var j=i.getRoot(a);if(b!=c&&(!a.data.keep.leaf||!b||i.nodeIsParent(a,b)||l!=d.move.TYPE_INNER)){var f=c.parentTId?c.getParentNode():j,m=b===null||b==j;m&&b===null&&(b=j);if(m)l=d.move.TYPE_INNER;j=b.parentTId?b.getParentNode():j;if(l!=d.move.TYPE_PREV&&l!=d.move.TYPE_NEXT)l=d.move.TYPE_INNER;if(l==d.move.TYPE_INNER)if(m)c.parentTId=null;else{if(!i.nodeIsParent(a,b))i.nodeIsParent(a,b,!0),b.open=!!b.open,e.setNodeLineIcos(a,b);c.parentTId= -b.tId}var y;m?y=m=a.treeObj:(!k&&l==d.move.TYPE_INNER?e.expandCollapseNode(a,b,!0,!1):k||e.expandCollapseNode(a,b.getParentNode(),!0,!1),m=q(b,a),y=q(b,d.id.UL,a),m.get(0)&&!y.get(0)&&(y=[],e.makeUlHtml(a,b,y,""),m.append(y.join(""))),y=q(b,d.id.UL,a));var r=q(c,a);r.get(0)?m.get(0)||r.remove():r=e.appendNodes(a,c.level,[c],null,-1,!1,!0).join("");y.get(0)&&l==d.move.TYPE_INNER?y.append(r):m.get(0)&&l==d.move.TYPE_PREV?m.before(r):m.get(0)&&l==d.move.TYPE_NEXT&&m.after(r);var s;y=-1;var r=0,n=null, -m=null,B=c.level,v=i.nodeChildren(a,f),C=i.nodeChildren(a,j),u=i.nodeChildren(a,b);if(c.isFirstNode){if(y=0,v.length>1)n=v[1],n.isFirstNode=!0}else if(c.isLastNode)y=v.length-1,n=v[y-1],n.isLastNode=!0;else for(j=0,s=v.length;j=0&&v.splice(y,1);if(l!=d.move.TYPE_INNER)for(j=0,s=C.length;j0)m=u[u.length-1],m.isLastNode=!1;u.splice(u.length,0,c);c.isLastNode=!0;c.isFirstNode= -u.length==1}else b.isFirstNode&&l==d.move.TYPE_PREV?(C.splice(r,0,c),m=b,m.isFirstNode=!1,c.parentTId=b.parentTId,c.isFirstNode=!0,c.isLastNode=!1):b.isLastNode&&l==d.move.TYPE_NEXT?(C.splice(r+1,0,c),m=b,m.isLastNode=!1,c.parentTId=b.parentTId,c.isFirstNode=!1,c.isLastNode=!0):(l==d.move.TYPE_PREV?C.splice(r,0,c):C.splice(r+1,0,c),c.parentTId=b.parentTId,c.isFirstNode=!1,c.isLastNode=!1);i.fixPIdKeyValue(a,c);i.setSonNodeLevel(a,c.getParentNode(),c);e.setNodeLineIcos(a,c);e.repairNodeLevelClass(a, -c,B);!a.data.keep.parent&&v.length<1?(i.nodeIsParent(a,f,!1),f.open=!1,b=q(f,d.id.UL,a),l=q(f,d.id.SWITCH,a),j=q(f,d.id.ICON,a),e.replaceSwitchClass(f,l,d.folder.DOCU),e.replaceIcoClass(f,j,d.folder.DOCU),b.css("display","none")):n&&e.setNodeLineIcos(a,n);m&&e.setNodeLineIcos(a,m);a.check&&a.check.enable&&e.repairChkClass&&(e.repairChkClass(a,f),e.repairParentChkClassWithSelf(a,f),f!=c.parent&&e.repairParentChkClassWithSelf(a,c));k||e.expandCollapseParentNode(a,c.getParentNode(),!0,g)}},removeEditBtn:function(a, -b){q(b,d.id.EDIT,a).unbind().remove()},removeRemoveBtn:function(a,b){q(b,d.id.REMOVE,a).unbind().remove()},removeTreeDom:function(a,b){b.isHover=!1;e.removeEditBtn(a,b);e.removeRemoveBtn(a,b);k.apply(a.view.removeHoverDom,[a.treeId,b])},repairNodeLevelClass:function(a,b,c){if(c!==b.level){var e=q(b,a),g=q(b,d.id.A,a),a=q(b,d.id.UL,a),c=d.className.LEVEL+c,b=d.className.LEVEL+b.level;e.removeClass(c);e.addClass(b);g.removeClass(c);g.addClass(b);a.removeClass(c);a.addClass(b)}},selectNodes:function(a, -b){for(var c=0,d=b.length;c0)}},event:{},data:{setSonNodeLevel:function(a,b,c){if(c){var d=i.nodeChildren(a,c);c.level=b?b.level+1:0;if(d)for(var b=0,g=d.length;b0)switch(o=i.getNodeCache(c,g),j){case "mousedownNode":f=v.onMousedownNode;break;case "hoverOverNode":f=v.onHoverOverNode; -break;case "hoverOutNode":f=v.onHoverOutNode}return{stop:!1,node:o,nodeEventType:j,nodeEventCallback:f,treeEventType:"",treeEventCallback:null}});i.addInitRoot(function(a){var a=i.getRoot(a),b=i.getRoots();a.curEditNode=null;a.curEditInput=null;a.curHoverNode=null;a.dragFlag=0;a.dragNodeShowBefore=[];a.dragMaskList=[];b.showHoverDom=!0});i.addZTreeTools(function(a,b){b.cancelEditName=function(a){i.getRoot(this.setting).curEditNode&&e.cancelCurEditNode(this.setting,a?a:null,!0)};b.copyNode=function(b, -l,g,o){if(!l)return null;var j=i.nodeIsParent(a,b);if(b&&!j&&this.setting.data.keep.leaf&&g===d.move.TYPE_INNER)return null;var f=this,m=k.clone(l);if(!b)b=null,g=d.move.TYPE_INNER;g==d.move.TYPE_INNER?(l=function(){e.addNodes(f.setting,b,-1,[m],o)},k.canAsync(this.setting,b)?e.asyncNode(this.setting,b,o,l):l()):(e.addNodes(this.setting,b.parentNode,-1,[m],o),e.moveNode(this.setting,b,m,g,!1,o));return m};b.editName=function(a){a&&a.tId&&a===i.getNodeCache(this.setting,a.tId)&&(a.parentTId&&e.expandCollapseParentNode(this.setting, -a.getParentNode(),!0),e.editNode(this.setting,a))};b.moveNode=function(b,l,g,o){function j(){e.moveNode(m.setting,b,l,g,!1,o)}if(!l)return l;var f=i.nodeIsParent(a,b);if(b&&!f&&this.setting.data.keep.leaf&&g===d.move.TYPE_INNER)return null;else if(b&&(l.parentTId==b.tId&&g==d.move.TYPE_INNER||q(l,this.setting).find("#"+b.tId).length>0))return null;else b||(b=null);var m=this;k.canAsync(this.setting,b)&&g===d.move.TYPE_INNER?e.asyncNode(this.setting,b,o,j):j();return l};b.setEditable=function(a){this.setting.edit.enable= -a;return this.refresh()}});var N=e.cancelPreSelectedNode;e.cancelPreSelectedNode=function(a,b){for(var c=i.getRoot(a).curSelectedList,d=0,g=c.length;d"); - }, - showNode: function (setting, node, options) { - data.isHidden(setting, node, false); - data.initShowForExCheck(setting, node); - $$(node, setting).show(); - }, - showNodes: function (setting, nodes, options) { - if (!nodes || nodes.length == 0) { - return; - } - var pList = {}, i, j; - for (i = 0, j = nodes.length; i < j; i++) { - var n = nodes[i]; - if (!pList[n.parentTId]) { - var pn = n.getParentNode(); - pList[n.parentTId] = (pn === null) ? data.getRoot(setting) : n.getParentNode(); - } - view.showNode(setting, n, options); - } - for (var tId in pList) { - var children = data.nodeChildren(setting, pList[tId]); - view.setFirstNodeForShow(setting, children); - view.setLastNodeForShow(setting, children); - } - }, - hideNode: function (setting, node, options) { - data.isHidden(setting, node, true); - node.isFirstNode = false; - node.isLastNode = false; - data.initHideForExCheck(setting, node); - view.cancelPreSelectedNode(setting, node); - $$(node, setting).hide(); - }, - hideNodes: function (setting, nodes, options) { - if (!nodes || nodes.length == 0) { - return; - } - var pList = {}, i, j; - for (i = 0, j = nodes.length; i < j; i++) { - var n = nodes[i]; - if ((n.isFirstNode || n.isLastNode) && !pList[n.parentTId]) { - var pn = n.getParentNode(); - pList[n.parentTId] = (pn === null) ? data.getRoot(setting) : n.getParentNode(); - } - view.hideNode(setting, n, options); - } - for (var tId in pList) { - var children = data.nodeChildren(setting, pList[tId]); - view.setFirstNodeForHide(setting, children); - view.setLastNodeForHide(setting, children); - } - }, - setFirstNode: function (setting, parentNode) { - var children = data.nodeChildren(setting, parentNode); - var isHidden = data.isHidden(setting, children[0], false); - if (children.length > 0 && !isHidden) { - children[0].isFirstNode = true; - } else if (children.length > 0) { - view.setFirstNodeForHide(setting, children); - } - }, - setLastNode: function (setting, parentNode) { - var children = data.nodeChildren(setting, parentNode); - var isHidden = data.isHidden(setting, children[0]); - if (children.length > 0 && !isHidden) { - children[children.length - 1].isLastNode = true; - } else if (children.length > 0) { - view.setLastNodeForHide(setting, children); - } - }, - setFirstNodeForHide: function (setting, nodes) { - var n, i, j; - for (i = 0, j = nodes.length; i < j; i++) { - n = nodes[i]; - if (n.isFirstNode) { - break; - } - var isHidden = data.isHidden(setting, n); - if (!isHidden && !n.isFirstNode) { - n.isFirstNode = true; - view.setNodeLineIcos(setting, n); - break; - } else { - n = null; - } - } - return n; - }, - setFirstNodeForShow: function (setting, nodes) { - var n, i, j, first, old; - for (i = 0, j = nodes.length; i < j; i++) { - n = nodes[i]; - var isHidden = data.isHidden(setting, n); - if (!first && !isHidden && n.isFirstNode) { - first = n; - break; - } else if (!first && !isHidden && !n.isFirstNode) { - n.isFirstNode = true; - first = n; - view.setNodeLineIcos(setting, n); - } else if (first && n.isFirstNode) { - n.isFirstNode = false; - old = n; - view.setNodeLineIcos(setting, n); - break; - } else { - n = null; - } - } - return {"new": first, "old": old}; - }, - setLastNodeForHide: function (setting, nodes) { - var n, i; - for (i = nodes.length - 1; i >= 0; i--) { - n = nodes[i]; - if (n.isLastNode) { - break; - } - var isHidden = data.isHidden(setting, n); - if (!isHidden && !n.isLastNode) { - n.isLastNode = true; - view.setNodeLineIcos(setting, n); - break; - } else { - n = null; - } - } - return n; - }, - setLastNodeForShow: function (setting, nodes) { - var n, i, j, last, old; - for (i = nodes.length - 1; i >= 0; i--) { - n = nodes[i]; - var isHidden = data.isHidden(setting, n); - if (!last && !isHidden && n.isLastNode) { - last = n; - break; - } else if (!last && !isHidden && !n.isLastNode) { - n.isLastNode = true; - last = n; - view.setNodeLineIcos(setting, n); - } else if (last && n.isLastNode) { - n.isLastNode = false; - old = n; - view.setNodeLineIcos(setting, n); - break; - } else { - n = null; - } - } - return {"new": last, "old": old}; - } - }, - - _z = { - view: _view, - data: _data - }; - $.extend(true, $.fn.zTree._z, _z); - - var zt = $.fn.zTree, - tools = zt._z.tools, - consts = zt.consts, - view = zt._z.view, - data = zt._z.data, - event = zt._z.event, - $$ = tools.$; - - data.isHidden = function (setting, node, newIsHidden) { - if (!node) { - return false; - } - var key = setting.data.key.isHidden; - if (typeof newIsHidden !== 'undefined') { - if (typeof newIsHidden === "string") { - newIsHidden = tools.eqs(checked, "true"); - } - newIsHidden = !!newIsHidden; - node[key] = newIsHidden; - } - return node[key]; - }; - - data.exSetting(_setting); - data.addInitNode(_initNode); - data.addBeforeA(_beforeA); - data.addZTreeTools(_zTreeTools); - -// Override method in core - var _dInitNode = data.initNode; - data.initNode = function (setting, level, node, parentNode, isFirstNode, isLastNode, openFlag) { - var tmpPNode = (parentNode) ? parentNode : data.getRoot(setting), - children = tmpPNode[setting.data.key.children]; - data.tmpHideFirstNode = view.setFirstNodeForHide(setting, children); - data.tmpHideLastNode = view.setLastNodeForHide(setting, children); - if (openFlag) { - view.setNodeLineIcos(setting, data.tmpHideFirstNode); - view.setNodeLineIcos(setting, data.tmpHideLastNode); - } - isFirstNode = (data.tmpHideFirstNode === node); - isLastNode = (data.tmpHideLastNode === node); - if (_dInitNode) _dInitNode.apply(data, arguments); - if (openFlag && isLastNode) { - view.clearOldLastNode(setting, node, openFlag); - } - }; - - var _makeChkFlag = data.makeChkFlag; - if (!!_makeChkFlag) { - data.makeChkFlag = function (setting, node) { - if (!!node && !!data.isHidden(setting, node)) { - return; - } - _makeChkFlag.apply(data, arguments); - } - } - - var _getTreeCheckedNodes = data.getTreeCheckedNodes; - if (!!_getTreeCheckedNodes) { - data.getTreeCheckedNodes = function (setting, nodes, checked, results) { - if (!!nodes && nodes.length > 0) { - var p = nodes[0].getParentNode(); - if (!!p && !!data.isHidden(setting, p)) { - return []; - } - } - return _getTreeCheckedNodes.apply(data, arguments); - } - } - - var _getTreeChangeCheckedNodes = data.getTreeChangeCheckedNodes; - if (!!_getTreeChangeCheckedNodes) { - data.getTreeChangeCheckedNodes = function (setting, nodes, results) { - if (!!nodes && nodes.length > 0) { - var p = nodes[0].getParentNode(); - if (!!p && !!data.isHidden(setting, p)) { - return []; - } - } - return _getTreeChangeCheckedNodes.apply(data, arguments); - } - } - - var _expandCollapseSonNode = view.expandCollapseSonNode; - if (!!_expandCollapseSonNode) { - view.expandCollapseSonNode = function (setting, node, expandFlag, animateFlag, callback) { - if (!!node && !!data.isHidden(setting, node)) { - return; - } - _expandCollapseSonNode.apply(view, arguments); - } - } - - var _setSonNodeCheckBox = view.setSonNodeCheckBox; - if (!!_setSonNodeCheckBox) { - view.setSonNodeCheckBox = function (setting, node, value, srcNode) { - if (!!node && !!data.isHidden(setting, node)) { - return; - } - _setSonNodeCheckBox.apply(view, arguments); - } - } - - var _repairParentChkClassWithSelf = view.repairParentChkClassWithSelf; - if (!!_repairParentChkClassWithSelf) { - view.repairParentChkClassWithSelf = function (setting, node) { - if (!!node && !!data.isHidden(setting, node)) { - return; - } - _repairParentChkClassWithSelf.apply(view, arguments); - } - } -})(jQuery); \ No newline at end of file diff --git a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exhide.min.js b/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exhide.min.js deleted file mode 100644 index f4ae540..0000000 --- a/admin/target/classes/static/lib/zTree_v3/js/jquery.ztree.exhide.min.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - * JQuery zTree exHideNodes v3.5.37 - * http://treejs.cn/ - * - * Copyright (c) 2010 Hunter.z - * - * Licensed same as jquery - MIT License - * http://www.opensource.org/licenses/mit-license.php - * - * email: hunter.z@263.net - * Date: 2018-08-21 - */ -(function(j){j.extend(!0,j.fn.zTree._z,{view:{clearOldFirstNode:function(c,a){for(var b=a.getNextNode();b;){if(b.isFirstNode){b.isFirstNode=!1;e.setNodeLineIcos(c,b);break}if(b.isLastNode)break;b=b.getNextNode()}},clearOldLastNode:function(c,a,b){for(a=a.getPreNode();a;){if(a.isLastNode){a.isLastNode=!1;b&&e.setNodeLineIcos(c,a);break}if(a.isFirstNode)break;a=a.getPreNode()}},makeDOMNodeMainBefore:function(c,a,b){a=d.isHidden(a,b);c.push("
                    • ")},showNode:function(c,a){d.isHidden(c,a,!1);d.initShowForExCheck(c,a);k(a,c).show()},showNodes:function(c,a,b){if(a&&a.length!=0){var f={},g,i;for(g=0,i=a.length;g0&&!f?b[0].isFirstNode=!0:b.length>0&&e.setFirstNodeForHide(c,b)},setLastNode:function(c,a){var b=d.nodeChildren(c,a),f=d.isHidden(c,b[0]);b.length>0&&!f?b[b.length-1].isLastNode=!0:b.length>0&&e.setLastNodeForHide(c,b)},setFirstNodeForHide:function(c,a){var b,f,g;for(f=0,g=a.length;f=0;f--){b=a[f];if(b.isLastNode)break;if(!d.isHidden(c,b)&&!b.isLastNode){b.isLastNode=!0;e.setNodeLineIcos(c,b);break}else b=null}return b},setLastNodeForShow:function(c, -a){var b,f,g,i;for(f=a.length-1;f>=0;f--){b=a[f];var h=d.isHidden(c,b);if(!g&&!h&&b.isLastNode){g=b;break}else if(!g&&!h&&!b.isLastNode)b.isLastNode=!0,g=b,e.setNodeLineIcos(c,b);else if(g&&b.isLastNode){b.isLastNode=!1;i=b;e.setNodeLineIcos(c,b);break}}return{"new":g,old:i}}},data:{initHideForExCheck:function(c,a){if(d.isHidden(c,a)&&c.check&&c.check.enable){if(typeof a._nocheck=="undefined")a._nocheck=!!a.nocheck,a.nocheck=!0;a.check_Child_State=-1;e.repairParentChkClassWithSelf&&e.repairParentChkClassWithSelf(c, -a)}},initShowForExCheck:function(c,a){if(!d.isHidden(c,a)&&c.check&&c.check.enable){if(typeof a._nocheck!="undefined")a.nocheck=a._nocheck,delete a._nocheck;if(e.setChkClass){var b=k(a,l.id.CHECK,c);e.setChkClass(c,b,a)}e.repairParentChkClassWithSelf&&e.repairParentChkClassWithSelf(c,a)}}}});var j=j.fn.zTree,m=j._z.tools,l=j.consts,e=j._z.view,d=j._z.data,k=m.$;d.isHidden=function(c,a,b){if(!a)return!1;c=c.data.key.isHidden;typeof b!=="undefined"&&(typeof b==="string"&&(b=m.eqs(checked,"true")),a[c]= -!!b);return a[c]};d.exSetting({data:{key:{isHidden:"isHidden"}}});d.addInitNode(function(c,a,b){a=d.isHidden(c,b);d.isHidden(c,b,a);d.initHideForExCheck(c,b)});d.addBeforeA(function(){});d.addZTreeTools(function(c,a){a.showNodes=function(a,b){e.showNodes(c,a,b)};a.showNode=function(a,b){a&&e.showNodes(c,[a],b)};a.hideNodes=function(a,b){e.hideNodes(c,a,b)};a.hideNode=function(a,b){a&&e.hideNodes(c,[a],b)};var b=a.checkNode;if(b)a.checkNode=function(f,e,i,h){(!f||!d.isHidden(c,f))&&b.apply(a,arguments)}}); -var n=d.initNode;d.initNode=function(c,a,b,f,g,i,h){var j=(f?f:d.getRoot(c))[c.data.key.children];d.tmpHideFirstNode=e.setFirstNodeForHide(c,j);d.tmpHideLastNode=e.setLastNodeForHide(c,j);h&&(e.setNodeLineIcos(c,d.tmpHideFirstNode),e.setNodeLineIcos(c,d.tmpHideLastNode));g=d.tmpHideFirstNode===b;i=d.tmpHideLastNode===b;n&&n.apply(d,arguments);h&&i&&e.clearOldLastNode(c,b,h)};var o=d.makeChkFlag;if(o)d.makeChkFlag=function(c,a){(!a||!d.isHidden(c,a))&&o.apply(d,arguments)};var p=d.getTreeCheckedNodes; -if(p)d.getTreeCheckedNodes=function(c,a,b,f){if(a&&a.length>0){var e=a[0].getParentNode();if(e&&d.isHidden(c,e))return[]}return p.apply(d,arguments)};var q=d.getTreeChangeCheckedNodes;if(q)d.getTreeChangeCheckedNodes=function(c,a,b){if(a&&a.length>0){var e=a[0].getParentNode();if(e&&d.isHidden(c,e))return[]}return q.apply(d,arguments)};var r=e.expandCollapseSonNode;if(r)e.expandCollapseSonNode=function(c,a,b,f,g){(!a||!d.isHidden(c,a))&&r.apply(e,arguments)};var s=e.setSonNodeCheckBox;if(s)e.setSonNodeCheckBox= -function(c,a,b,f){(!a||!d.isHidden(c,a))&&s.apply(e,arguments)};var t=e.repairParentChkClassWithSelf;if(t)e.repairParentChkClassWithSelf=function(c,a){(!a||!d.isHidden(c,a))&&t.apply(e,arguments)}})(jQuery); diff --git a/admin/target/classes/templates/business/dept/add.html b/admin/target/classes/templates/business/dept/add.html deleted file mode 100644 index 73e252e..0000000 --- a/admin/target/classes/templates/business/dept/add.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - -
                      -
                      - -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - - -
                      -
                      -
                      - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/business/dept/detail.html b/admin/target/classes/templates/business/dept/detail.html deleted file mode 100644 index 06655e4..0000000 --- a/admin/target/classes/templates/business/dept/detail.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - -
                      -
                      基本信息
                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      主键ID名称
                      描述所属
                      创建者更新者
                      创建时间更新时间
                      备注
                      -
                      - - - \ No newline at end of file diff --git a/admin/target/classes/templates/business/dept/index.html b/admin/target/classes/templates/business/dept/index.html deleted file mode 100644 index bdd4530..0000000 --- a/admin/target/classes/templates/business/dept/index.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - -
                      -
                      - 业务部门管理 - -
                      -
                      -
                      - -
                      - -
                      - -
                      -
                      启用
                      -
                      冻结
                      -
                      删除
                      -
                      -
                      -
                      -
                      -
                      - - - - - - - - - - - - - - - - - - - - - - - - - -
                      - - 主键ID名称所属创建时间更新时间数据状态操作
                      主键ID名称所属平台创建时间更新时间数据状态 - 编辑 - 详细 - 删除 -
                      -
                      -
                      -
                      -
                      - - - \ No newline at end of file diff --git a/admin/target/classes/templates/business/platform/add.html b/admin/target/classes/templates/business/platform/add.html deleted file mode 100644 index b9dacdd..0000000 --- a/admin/target/classes/templates/business/platform/add.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - -
                      -
                      - -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - -
                      - -
                      -
                      -
                      - - -
                      -
                      -
                      - - - \ No newline at end of file diff --git a/admin/target/classes/templates/business/platform/detail.html b/admin/target/classes/templates/business/platform/detail.html deleted file mode 100644 index b28e848..0000000 --- a/admin/target/classes/templates/business/platform/detail.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - -
                      -
                      基本信息
                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      主键ID名称
                      联系人联系人电话
                      联系人身份证号码邮箱
                      类型
                      创建者更新者
                      创建时间更新时间
                      备注
                      -
                      - - - \ No newline at end of file diff --git a/admin/target/classes/templates/business/platform/index.html b/admin/target/classes/templates/business/platform/index.html deleted file mode 100644 index b1efe29..0000000 --- a/admin/target/classes/templates/business/platform/index.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - -
                      -
                      - 平台信息管理 - -
                      -
                      -
                      - -
                      - -
                      - -
                      -
                      启用
                      -
                      冻结
                      -
                      删除
                      -
                      -
                      -
                      -
                      -
                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      - - 名称联系人联系人电话联系人身份证号码邮箱类型创建时间更新时间数据状态操作
                      名称联系人联系人电话联系人身份证号码邮箱类型创建时间更新时间数据状态 - 编辑 - 详细 - 删除 -
                      -
                      -
                      -
                      -
                      - - - \ No newline at end of file diff --git a/admin/target/classes/templates/common/fragment.html b/admin/target/classes/templates/common/fragment.html deleted file mode 100644 index dfa4591..0000000 --- a/admin/target/classes/templates/common/fragment.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - -
                      -
                      -
                      - 显示 [[${(page.number*page.size)+1}]]/[[${(page.number*page.size)+page.numberOfElements}]] 条,共 [[${page.totalElements}]] 条记录 - -
                      -
                      -
                      - -
                      -
                      -
                      - - - - - - - - - - - - - - - - - - -
                      操作时间操作人日志名称日志消息
                      -
                      \ No newline at end of file diff --git a/admin/target/classes/templates/common/template.html b/admin/target/classes/templates/common/template.html deleted file mode 100644 index 4db7291..0000000 --- a/admin/target/classes/templates/common/template.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - 财务帮 - - - title - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/login.html b/admin/target/classes/templates/login.html deleted file mode 100644 index 4da85e1..0000000 --- a/admin/target/classes/templates/login.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - 财务帮登录 - - - - - - - - - diff --git a/admin/target/classes/templates/main.html b/admin/target/classes/templates/main.html deleted file mode 100644 index e6e1017..0000000 --- a/admin/target/classes/templates/main.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - 财务帮 - - -
                      - - - - -
                      -
                      -
                      - 头像 -
                      -

                      TIMO

                      -

                      在线

                      -
                      -
                      - - -
                      -
                      - -
                      - -
                        - -
                        -
                        -
                        - - - diff --git a/admin/target/classes/templates/system/actionLog/detail.html b/admin/target/classes/templates/system/actionLog/detail.html deleted file mode 100644 index 4a8c439..0000000 --- a/admin/target/classes/templates/system/actionLog/detail.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -
                        -
                        基本信息
                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                        日志编号日志名称
                        日志类型操作IP地址
                        产生日志的表产生日志数据id
                        操作人[[${actionLog.operName}]] - [[${actionLog.operName}]]([[${actionLog.operBy?.id}]]) - 记录时间
                        切入点
                        日志消息
                        [[${actionLog.message}]]
                        -
                        - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/actionLog/index.html b/admin/target/classes/templates/system/actionLog/index.html deleted file mode 100644 index e9cca85..0000000 --- a/admin/target/classes/templates/system/actionLog/index.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - -
                        -
                        - 日志管理 - -
                        -
                        -
                        - - -
                        -
                        - - - - - - - - - - - - - - - - - - - - - - - - - -
                        - - 日志名称操作人日志类型IP地址日志消息记录时间操作
                        日志名称操作人日志类型IP地址日志消息创建时间 - 详细 - 删除 -
                        -
                        -
                        -
                        -
                        - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/dept/add.html b/admin/target/classes/templates/system/dept/add.html deleted file mode 100644 index bd3bb54..0000000 --- a/admin/target/classes/templates/system/dept/add.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - -
                        -
                        - -
                        - -
                        - -
                        -
                        -
                        - -
                        - -
                        -
                        -
                        - -
                        - -
                        -
                        (之后)
                        -
                        -
                        - -
                        - -
                        -
                        -
                        - - -
                        -
                        -
                        - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/dept/detail.html b/admin/target/classes/templates/system/dept/detail.html deleted file mode 100644 index 675e070..0000000 --- a/admin/target/classes/templates/system/dept/detail.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - -
                        -
                        基本信息
                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                        主键ID部门名称
                        父级编号排序
                        创建时间更新时间
                        创建者更新者
                        备注
                        -
                        -
                        - - - diff --git a/admin/target/classes/templates/system/dept/index.html b/admin/target/classes/templates/system/dept/index.html deleted file mode 100644 index 0c7ff20..0000000 --- a/admin/target/classes/templates/system/dept/index.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - -
                        -
                        - 部门管理 - -
                        -
                        -
                        -
                        -
                        部门结构
                        -
                        -
                          -
                          -
                          -
                          -
                          -
                          - -
                          - -
                          - -
                          -
                          启用
                          -
                          冻结
                          -
                          删除
                          -
                          -
                          -
                          -
                          -
                          - - - - - - - - - - - - - - - - - - - -
                          - - 名称序号 状态操作
                          {{title}}{{sort}}正常 - 编辑 - 详细 - 删除 -
                          -
                          -
                          -
                          -
                          - - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/dict/add.html b/admin/target/classes/templates/system/dict/add.html deleted file mode 100644 index 6a2646b..0000000 --- a/admin/target/classes/templates/system/dict/add.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - -
                          -
                          - -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          - - - - - -
                          -
                          -
                          -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - - -
                          -
                          -
                          - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/dict/detail.html b/admin/target/classes/templates/system/dict/detail.html deleted file mode 100644 index f7c2b0c..0000000 --- a/admin/target/classes/templates/system/dict/detail.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - -
                          -
                          基本信息
                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                          字典编号字典标识
                          字典标题字典类型字典类型
                          字典值 -
                          [[${dict.value}]]
                          -
                          创建用户更新用户
                          创建时间最后修改
                          备注
                          -
                          -
                          - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/dict/index.html b/admin/target/classes/templates/system/dict/index.html deleted file mode 100644 index 9eec6a1..0000000 --- a/admin/target/classes/templates/system/dict/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - -
                          -
                          - 字典管理 - -
                          -
                          -
                          - -
                          - -
                          - -
                          -
                          启用
                          -
                          冻结
                          -
                          删除
                          -
                          -
                          -
                          -
                          -
                          - - - - - - - - - - - - - - - - - - - - - - - - - -
                          - - 字典标识字典标题字典类型字典值创建时间更新时间操作
                          字典键名字典标题字典类型字典键值创建时间更新时间 - 编辑 - 详细 - 删除 -
                          -
                          -
                          -
                          -
                          - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/main/editPwd.html b/admin/target/classes/templates/system/main/editPwd.html deleted file mode 100644 index b7e3d6f..0000000 --- a/admin/target/classes/templates/system/main/editPwd.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - - -
                          -
                          -
                          - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/main/error.html b/admin/target/classes/templates/system/main/error.html deleted file mode 100644 index 07e24ea..0000000 --- a/admin/target/classes/templates/system/main/error.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -
                          -
                          -
                          -
                          - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/main/index.html b/admin/target/classes/templates/system/main/index.html deleted file mode 100644 index c82ffad..0000000 --- a/admin/target/classes/templates/system/main/index.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -
                          -
                          -
                          - -
                          -

                          用户

                          - 0 -
                          -
                          -
                          -
                          -
                          - -
                          -

                          访问

                          - 0 -
                          -
                          -
                          -
                          -
                          - -
                          -

                          信息

                          - 0 -
                          -
                          -
                          -
                          -
                          - -
                          -

                          收藏

                          - 0 -
                          -
                          -
                          -
                          -
                          -
                          -
                          -
                          项目介绍
                          -
                          -
                          - Cwhelp后台管理系统,基于SpringBoot2.0 + Spring Data Jpa + Thymeleaf + Shiro 开发的后台管理系统,采用分模块的方式便于开发和维护,目前支持的功能有:权限管理、部门管理、字典管理、日志记录、文件上传、代码生成等! -
                          -
                          -

                          技术选型

                          -
                            -
                          1. 后端技术:SpringBoot + Spring Data Jpa + Thymeleaf + Shiro + EhCache
                          2. -
                          3. 前端技术:Layui + Jquery + zTree + Font-awesome
                          4. -
                          -
                          -
                          -

                          功能列表

                          -
                            -
                          1. 用户管理:用于管理后台系统的用户,可进行增删改查等操作。
                          2. -
                          3. 角色管理:分配权限的最小单元,通过角色给用户分配权限。
                          4. -
                          5. 菜单管理:用于配置系统菜单,同时也作为权限资源。
                          6. -
                          7. 部门管理:通过不同的部门来管理和区分用户。
                          8. -
                          9. 字典管理:对一些需要转换的数据进行统一管理,如:男、女等。
                          10. -
                          11. 行为日志:用于记录用户对系统的操作,同时监视系统运行时发生的错误。
                          12. -
                          13. 文件上传:内置了文件上传接口,方便开发者使用文件上传功能。
                          14. -
                          15. 代码生成:可以帮助开发者快速开发项目,减少不必要的重复操作,花更多精力注重业务实现。
                          16. -
                          17. 表单构建:通过拖拽的方式快速构建一个表单模块。
                          18. -
                          19. 数据接口:根据业务代码自动生成相关的api接口文档
                          20. -
                          -
                          -
                          -
                          -
                          -
                          -
                          -
                          更新日志
                          -
                          -
                            -
                          • - -
                            -

                            v2.0.1

                            -

                            - 1.项目初始化
                            -

                            -
                            -
                          • -
                          • - -
                            -
                            yan.y
                            -
                            -
                          • -
                          -
                          -
                          -
                          -
                          - - - diff --git a/admin/target/classes/templates/system/main/noAuth.html b/admin/target/classes/templates/system/main/noAuth.html deleted file mode 100644 index 5e9d84a..0000000 --- a/admin/target/classes/templates/system/main/noAuth.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -
                          - -
                          您的权限不足,无法访问本页面!
                          -
                          - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/main/userInfo.html b/admin/target/classes/templates/system/main/userInfo.html deleted file mode 100644 index 6890288..0000000 --- a/admin/target/classes/templates/system/main/userInfo.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/menu/add.html b/admin/target/classes/templates/system/menu/add.html deleted file mode 100644 index 9ca0b6d..0000000 --- a/admin/target/classes/templates/system/menu/add.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -
                          -
                          - -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          - -
                          -
                          - -
                          - -
                          - -
                          -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - -
                          - -
                          -
                          (之后)
                          -
                          -
                          - -
                          - -
                          -
                          -
                          - - -
                          -
                          -
                          - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/menu/detail.html b/admin/target/classes/templates/system/menu/detail.html deleted file mode 100644 index fae7c0c..0000000 --- a/admin/target/classes/templates/system/menu/detail.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - -
                          -
                          基本信息
                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                          菜单编号菜单标题
                          图标菜单父编号
                          URl地址权限标识
                          菜单类型本级排序
                          创建用户更新用户
                          创建时间最后修改
                          备注
                          -
                          -
                          - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/menu/index.html b/admin/target/classes/templates/system/menu/index.html deleted file mode 100644 index 496e2fe..0000000 --- a/admin/target/classes/templates/system/menu/index.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -
                          -
                          - 菜单管理 - -
                          -
                          -
                          -
                          -
                          菜单结构
                          -
                          -
                            -
                            -
                            -
                            -
                            -
                            - -
                            - -
                            - -
                            -
                            启用
                            -
                            冻结
                            -
                            删除
                            -
                            -
                            -
                            -
                            -
                            - - - - - - - - - - - - - - - - - - - - - - - -
                            - - 名称URL地址权限标识菜单类型状态操作
                            {{title}}{{url}}{{perms}}{{remark}}正常 - 编辑 - 详细 - 删除 -
                            -
                            -
                            -
                            -
                            - - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/role/add.html b/admin/target/classes/templates/system/role/add.html deleted file mode 100644 index 158c81b..0000000 --- a/admin/target/classes/templates/system/role/add.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - -
                            -
                            - -
                            - -
                            - -
                            -
                            -
                            - -
                            - -
                            -
                            -
                            - -
                            - -
                            -
                            -
                            - - -
                            -
                            -
                            - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/role/auth.html b/admin/target/classes/templates/system/role/auth.html deleted file mode 100644 index 11ee0b2..0000000 --- a/admin/target/classes/templates/system/role/auth.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -
                            -
                              -
                              - - -
                              -
                              - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/role/detail.html b/admin/target/classes/templates/system/role/detail.html deleted file mode 100644 index 55408ab..0000000 --- a/admin/target/classes/templates/system/role/detail.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - -
                              -
                              基本信息
                              - - - - - - - - - - - - - - - - - - - - - - - - - -
                              角色ID角色编号名称[[${role.title}]]([[${role.name}]])
                              创建用户更新用户
                              创建时间最后修改
                              备注
                              -
                              -
                              - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/role/index.html b/admin/target/classes/templates/system/role/index.html deleted file mode 100644 index 0ad6597..0000000 --- a/admin/target/classes/templates/system/role/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - -
                              -
                              - 角色管理 - -
                              -
                              -
                              - -
                              - - -
                              - -
                              -
                              启用
                              -
                              冻结
                              -
                              删除
                              -
                              -
                              -
                              -
                              -
                              - - - - - - - - - - - - - - - - - - - - - - - -
                              - - 角色编号角色名称创建时间更新时间查看操作
                              角色编号角色名称创建时间更新时间 - 用户列表 - - 编辑 - 详细 - 删除 -
                              -
                              -
                              -
                              -
                              - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/role/user_list.html b/admin/target/classes/templates/system/role/user_list.html deleted file mode 100644 index 2c317b0..0000000 --- a/admin/target/classes/templates/system/role/user_list.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - -
                              - - - - - - - - - - - - - - - - - - -
                              用户名用户昵称操作
                              [[${item.username}]][[${item.nickname}]]查看
                              未有分配该角色的用户
                              -
                              - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/user/add.html b/admin/target/classes/templates/system/user/add.html deleted file mode 100644 index 0ea37cd..0000000 --- a/admin/target/classes/templates/system/user/add.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - -
                              -
                              - -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              - -
                              - -
                              -
                              -
                              -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - - -
                              -
                              -
                              - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/user/detail.html b/admin/target/classes/templates/system/user/detail.html deleted file mode 100644 index 30c6c9d..0000000 --- a/admin/target/classes/templates/system/user/detail.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -
                              -
                              基本信息
                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                              用户编号用户账号
                              用户昵称用户性别
                              所属
                              电话号码邮箱
                              创建时间最后修改
                              备注
                              - -
                              -
                              - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/user/index.html b/admin/target/classes/templates/system/user/index.html deleted file mode 100644 index 4d253f9..0000000 --- a/admin/target/classes/templates/system/user/index.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -
                              -
                              - 用户管理 - - -
                              -
                              -
                              - -
                              -
                              - - -
                              -
                              - -
                              - -
                              -
                              启用
                              -
                              冻结
                              -
                              删除
                              -
                              -
                              -
                              -
                              -
                              -
                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                              - - 用户名用户昵称所属性别电话邮箱创建时间状态操作
                              用户名用户昵称用户昵称性别电话邮箱创建时间状态 - 编辑 - 详细 - 删除 -
                              -
                              -
                              -
                              -
                              - - - - - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/user/pwd.html b/admin/target/classes/templates/system/user/pwd.html deleted file mode 100644 index e8f8372..0000000 --- a/admin/target/classes/templates/system/user/pwd.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -
                              -
                              - -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - - -
                              -
                              -
                              - - - \ No newline at end of file diff --git a/admin/target/classes/templates/system/user/role.html b/admin/target/classes/templates/system/user/role.html deleted file mode 100644 index b25da7a..0000000 --- a/admin/target/classes/templates/system/user/role.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - -
                              -
                              - -
                              -
                              - -
                              -
                              -
                              - - -
                              -
                              -
                              - - - \ No newline at end of file diff --git a/admin/target/test-classes/com/cwhelp/BootApplicationTests.class b/admin/target/test-classes/com/cwhelp/BootApplicationTests.class deleted file mode 100644 index df47653..0000000 Binary files a/admin/target/test-classes/com/cwhelp/BootApplicationTests.class and /dev/null differ diff --git a/admin/target/test-classes/com/cwhelp/common/utils/EncryptUtilTest.class b/admin/target/test-classes/com/cwhelp/common/utils/EncryptUtilTest.class deleted file mode 100644 index 2424aa7..0000000 Binary files a/admin/target/test-classes/com/cwhelp/common/utils/EncryptUtilTest.class and /dev/null differ diff --git a/common/target/classes/META-INF/spring-configuration-metadata.json b/common/target/classes/META-INF/spring-configuration-metadata.json deleted file mode 100644 index 1a0a05a..0000000 --- a/common/target/classes/META-INF/spring-configuration-metadata.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "groups": [ - { - "name": "project", - "type": "com.cwhelp.common.config.properties.ProjectProperties", - "sourceType": "com.cwhelp.common.config.properties.ProjectProperties" - }, - { - "name": "project.xxs", - "type": "com.cwhelp.common.config.properties.ProjectProperties$Xxs", - "sourceType": "com.cwhelp.common.config.properties.ProjectProperties" - } - ], - "properties": [ - { - "name": "project.captcha-open", - "type": "java.lang.Boolean", - "sourceType": "com.cwhelp.common.config.properties.ProjectProperties", - "defaultValue": false - }, - { - "name": "project.xxs.enabled", - "type": "java.lang.Boolean", - "sourceType": "com.cwhelp.common.config.properties.ProjectProperties$Xxs", - "defaultValue": true - }, - { - "name": "project.xxs.excludes", - "type": "java.lang.String", - "sourceType": "com.cwhelp.common.config.properties.ProjectProperties$Xxs", - "defaultValue": "\/favicon.ico,\/img\/*,\/js\/*,\/css\/*,\/lib\/*" - }, - { - "name": "project.xxs.url-patterns", - "type": "java.lang.String", - "sourceType": "com.cwhelp.common.config.properties.ProjectProperties$Xxs", - "defaultValue": "\/*" - } - ], - "hints": [] -} \ No newline at end of file diff --git a/common/target/classes/com/cwhelp/common/config/XssFilterConfig.class b/common/target/classes/com/cwhelp/common/config/XssFilterConfig.class deleted file mode 100644 index cf7a6b9..0000000 Binary files a/common/target/classes/com/cwhelp/common/config/XssFilterConfig.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/config/properties/ProjectProperties$Xxs.class b/common/target/classes/com/cwhelp/common/config/properties/ProjectProperties$Xxs.class deleted file mode 100644 index 500e426..0000000 Binary files a/common/target/classes/com/cwhelp/common/config/properties/ProjectProperties$Xxs.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/config/properties/ProjectProperties.class b/common/target/classes/com/cwhelp/common/config/properties/ProjectProperties.class deleted file mode 100644 index ee7d76a..0000000 Binary files a/common/target/classes/com/cwhelp/common/config/properties/ProjectProperties.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/constant/AdminConst.class b/common/target/classes/com/cwhelp/common/constant/AdminConst.class deleted file mode 100644 index 351e155..0000000 Binary files a/common/target/classes/com/cwhelp/common/constant/AdminConst.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/constant/StatusConst.class b/common/target/classes/com/cwhelp/common/constant/StatusConst.class deleted file mode 100644 index a5be997..0000000 Binary files a/common/target/classes/com/cwhelp/common/constant/StatusConst.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/data/PageSort.class b/common/target/classes/com/cwhelp/common/data/PageSort.class deleted file mode 100644 index 7d38ea4..0000000 Binary files a/common/target/classes/com/cwhelp/common/data/PageSort.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/data/QuerySpec$1.class b/common/target/classes/com/cwhelp/common/data/QuerySpec$1.class deleted file mode 100644 index 5bdc10c..0000000 Binary files a/common/target/classes/com/cwhelp/common/data/QuerySpec$1.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/data/QuerySpec.class b/common/target/classes/com/cwhelp/common/data/QuerySpec.class deleted file mode 100644 index fa8e904..0000000 Binary files a/common/target/classes/com/cwhelp/common/data/QuerySpec.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/data/URL.class b/common/target/classes/com/cwhelp/common/data/URL.class deleted file mode 100644 index b648ab1..0000000 Binary files a/common/target/classes/com/cwhelp/common/data/URL.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/enums/ResultEnum.class b/common/target/classes/com/cwhelp/common/enums/ResultEnum.class deleted file mode 100644 index b9b95e1..0000000 Binary files a/common/target/classes/com/cwhelp/common/enums/ResultEnum.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/enums/StatusEnum.class b/common/target/classes/com/cwhelp/common/enums/StatusEnum.class deleted file mode 100644 index 708b006..0000000 Binary files a/common/target/classes/com/cwhelp/common/enums/StatusEnum.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/exception/ResultException.class b/common/target/classes/com/cwhelp/common/exception/ResultException.class deleted file mode 100644 index a2822a8..0000000 Binary files a/common/target/classes/com/cwhelp/common/exception/ResultException.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/exception/ResultExceptionHandler.class b/common/target/classes/com/cwhelp/common/exception/ResultExceptionHandler.class deleted file mode 100644 index 20cf4ab..0000000 Binary files a/common/target/classes/com/cwhelp/common/exception/ResultExceptionHandler.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/exception/advice/ExceptionAdvice.class b/common/target/classes/com/cwhelp/common/exception/advice/ExceptionAdvice.class deleted file mode 100644 index 5cc76b2..0000000 Binary files a/common/target/classes/com/cwhelp/common/exception/advice/ExceptionAdvice.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/exception/advice/ResultExceptionAdvice.class b/common/target/classes/com/cwhelp/common/exception/advice/ResultExceptionAdvice.class deleted file mode 100644 index fdc8ddb..0000000 Binary files a/common/target/classes/com/cwhelp/common/exception/advice/ResultExceptionAdvice.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/exception/interfaces/ResultInterface.class b/common/target/classes/com/cwhelp/common/exception/interfaces/ResultInterface.class deleted file mode 100644 index bd01c22..0000000 Binary files a/common/target/classes/com/cwhelp/common/exception/interfaces/ResultInterface.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/mysql/MySQLDialectUTF8.class b/common/target/classes/com/cwhelp/common/mysql/MySQLDialectUTF8.class deleted file mode 100644 index 5e258bb..0000000 Binary files a/common/target/classes/com/cwhelp/common/mysql/MySQLDialectUTF8.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/CaptchaUtil.class b/common/target/classes/com/cwhelp/common/utils/CaptchaUtil.class deleted file mode 100644 index 80f444f..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/CaptchaUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/EhCacheUtil.class b/common/target/classes/com/cwhelp/common/utils/EhCacheUtil.class deleted file mode 100644 index 58310af..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/EhCacheUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/EncryptUtil.class b/common/target/classes/com/cwhelp/common/utils/EncryptUtil.class deleted file mode 100644 index d92da36..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/EncryptUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/EntityBeanUtil.class b/common/target/classes/com/cwhelp/common/utils/EntityBeanUtil.class deleted file mode 100644 index 407890c..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/EntityBeanUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/HttpServletUtil.class b/common/target/classes/com/cwhelp/common/utils/HttpServletUtil.class deleted file mode 100644 index 346daf0..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/HttpServletUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/ResultVoUtil.class b/common/target/classes/com/cwhelp/common/utils/ResultVoUtil.class deleted file mode 100644 index 7e363c4..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/ResultVoUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/SpringContextUtil.class b/common/target/classes/com/cwhelp/common/utils/SpringContextUtil.class deleted file mode 100644 index dd5cc21..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/SpringContextUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/StatusUtil.class b/common/target/classes/com/cwhelp/common/utils/StatusUtil.class deleted file mode 100644 index 0db1600..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/StatusUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/utils/ToolUtil.class b/common/target/classes/com/cwhelp/common/utils/ToolUtil.class deleted file mode 100644 index 6c27af2..0000000 Binary files a/common/target/classes/com/cwhelp/common/utils/ToolUtil.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/vo/ResultVo.class b/common/target/classes/com/cwhelp/common/vo/ResultVo.class deleted file mode 100644 index 31ff381..0000000 Binary files a/common/target/classes/com/cwhelp/common/vo/ResultVo.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/xss/XssFilter.class b/common/target/classes/com/cwhelp/common/xss/XssFilter.class deleted file mode 100644 index 59f00e0..0000000 Binary files a/common/target/classes/com/cwhelp/common/xss/XssFilter.class and /dev/null differ diff --git a/common/target/classes/com/cwhelp/common/xss/XssHttpServletRequestWrapper.class b/common/target/classes/com/cwhelp/common/xss/XssHttpServletRequestWrapper.class deleted file mode 100644 index 77f4287..0000000 Binary files a/common/target/classes/com/cwhelp/common/xss/XssHttpServletRequestWrapper.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/RoleAction.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/RoleAction.class deleted file mode 100644 index 388a96d..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/RoleAction.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/SaveAction.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/SaveAction.class deleted file mode 100644 index e5f1066..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/SaveAction.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/StatusAction.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/StatusAction.class deleted file mode 100644 index 9245975..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/StatusAction.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/SystemAction.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/SystemAction.class deleted file mode 100644 index 1090def..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/SystemAction.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/UserAction.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/UserAction.class deleted file mode 100644 index e459e1e..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/UserAction.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/base/ActionMap.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/base/ActionMap.class deleted file mode 100644 index a9c11de..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/base/ActionMap.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/base/ResetLog.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/base/ResetLog.class deleted file mode 100644 index ab443dc..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/base/ResetLog.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/ActionModel.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/ActionModel.class deleted file mode 100644 index 80ade63..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/ActionModel.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/BusinessMethod.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/BusinessMethod.class deleted file mode 100644 index 01944d1..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/BusinessMethod.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/BusinessType.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/BusinessType.class deleted file mode 100644 index 2864842..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/BusinessType.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/LoginMethod.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/LoginMethod.class deleted file mode 100644 index bc0d3d3..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/LoginMethod.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/LoginType.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/LoginType.class deleted file mode 100644 index 520f2d2..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/LoginType.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/SystemMethod.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/SystemMethod.class deleted file mode 100644 index e017a7f..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/SystemMethod.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/SystemType.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/SystemType.class deleted file mode 100644 index 5bf00ec..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/action/model/SystemType.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/ActionLog.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/ActionLog.class deleted file mode 100644 index 6165cdc..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/ActionLog.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/ActionLogAop.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/ActionLogAop.class deleted file mode 100644 index e712ed6..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/ActionLogAop.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/EntityParam.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/EntityParam.class deleted file mode 100644 index 8cad531..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/annotation/EntityParam.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/exception/ActionLogProceedAdvice.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/exception/ActionLogProceedAdvice.class deleted file mode 100644 index 6a67698..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/exception/ActionLogProceedAdvice.class and /dev/null differ diff --git a/component/actionLog/target/classes/com/cwhelp/component/actionLog/exception/ActionLogProceedAdviceConfig.class b/component/actionLog/target/classes/com/cwhelp/component/actionLog/exception/ActionLogProceedAdviceConfig.class deleted file mode 100644 index 722b9f1..0000000 Binary files a/component/actionLog/target/classes/com/cwhelp/component/actionLog/exception/ActionLogProceedAdviceConfig.class and /dev/null differ diff --git a/component/excel/target/classes/com/cwhelp/component/excel/ExcelUtil.class b/component/excel/target/classes/com/cwhelp/component/excel/ExcelUtil.class deleted file mode 100644 index a4b1911..0000000 Binary files a/component/excel/target/classes/com/cwhelp/component/excel/ExcelUtil.class and /dev/null differ diff --git a/component/excel/target/classes/com/cwhelp/component/excel/annotation/Excel.class b/component/excel/target/classes/com/cwhelp/component/excel/annotation/Excel.class deleted file mode 100644 index c933d1b..0000000 Binary files a/component/excel/target/classes/com/cwhelp/component/excel/annotation/Excel.class and /dev/null differ diff --git a/component/excel/target/classes/com/cwhelp/component/excel/enums/ExcelType.class b/component/excel/target/classes/com/cwhelp/component/excel/enums/ExcelType.class deleted file mode 100644 index cfb8f5f..0000000 Binary files a/component/excel/target/classes/com/cwhelp/component/excel/enums/ExcelType.class and /dev/null differ diff --git a/component/fileUpload/target/classes/META-INF/spring-configuration-metadata.json b/component/fileUpload/target/classes/META-INF/spring-configuration-metadata.json deleted file mode 100644 index f4f42a7..0000000 --- a/component/fileUpload/target/classes/META-INF/spring-configuration-metadata.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "groups": [ - { - "name": "project.upload", - "type": "com.cwhelp.component.fileUpload.config.properties.UploadProjectProperties", - "sourceType": "com.cwhelp.component.fileUpload.config.properties.UploadProjectProperties" - } - ], - "properties": [ - { - "name": "project.upload.file-path", - "type": "java.lang.String", - "sourceType": "com.cwhelp.component.fileUpload.config.properties.UploadProjectProperties" - }, - { - "name": "project.upload.static-path", - "type": "java.lang.String", - "sourceType": "com.cwhelp.component.fileUpload.config.properties.UploadProjectProperties", - "defaultValue": "\/upload\/**" - } - ], - "hints": [] -} \ No newline at end of file diff --git a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/FileUpload.class b/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/FileUpload.class deleted file mode 100644 index 052bc2a..0000000 Binary files a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/FileUpload.class and /dev/null differ diff --git a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/config/UploadFileConfigurer.class b/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/config/UploadFileConfigurer.class deleted file mode 100644 index b268ad4..0000000 Binary files a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/config/UploadFileConfigurer.class and /dev/null differ diff --git a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/config/properties/UploadProjectProperties.class b/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/config/properties/UploadProjectProperties.class deleted file mode 100644 index 88121b4..0000000 Binary files a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/config/properties/UploadProjectProperties.class and /dev/null differ diff --git a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/enums/UploadResultEnum.class b/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/enums/UploadResultEnum.class deleted file mode 100644 index d0f5254..0000000 Binary files a/component/fileUpload/target/classes/com/cwhelp/component/fileUpload/enums/UploadResultEnum.class and /dev/null differ diff --git a/component/jwt/target/classes/META-INF/spring-configuration-metadata.json b/component/jwt/target/classes/META-INF/spring-configuration-metadata.json deleted file mode 100644 index efeaf73..0000000 --- a/component/jwt/target/classes/META-INF/spring-configuration-metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "groups": [ - { - "name": "project.jwt", - "type": "com.cwhelp.component.jwt.config.properties.JwtProjectProperties", - "sourceType": "com.cwhelp.component.jwt.config.properties.JwtProjectProperties" - } - ], - "properties": [ - { - "name": "project.jwt.expired", - "type": "java.lang.Integer", - "sourceType": "com.cwhelp.component.jwt.config.properties.JwtProjectProperties", - "defaultValue": 3 - }, - { - "name": "project.jwt.pattern-anno", - "type": "java.lang.Boolean", - "sourceType": "com.cwhelp.component.jwt.config.properties.JwtProjectProperties", - "defaultValue": true - }, - { - "name": "project.jwt.pattern-path", - "type": "java.lang.Boolean", - "sourceType": "com.cwhelp.component.jwt.config.properties.JwtProjectProperties", - "defaultValue": false - }, - { - "name": "project.jwt.secret", - "type": "java.lang.String", - "sourceType": "com.cwhelp.component.jwt.config.properties.JwtProjectProperties", - "defaultValue": "mySecret" - } - ], - "hints": [] -} \ No newline at end of file diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/IgnorePermissions.class b/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/IgnorePermissions.class deleted file mode 100644 index 4ab1eec..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/IgnorePermissions.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/JwtPermissions.class b/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/JwtPermissions.class deleted file mode 100644 index b1e0f05..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/JwtPermissions.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/JwtPermissionsAop.class b/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/JwtPermissionsAop.class deleted file mode 100644 index 80a194d..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/annotation/JwtPermissionsAop.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/config/JwtInterceptorConfig.class b/component/jwt/target/classes/com/cwhelp/component/jwt/config/JwtInterceptorConfig.class deleted file mode 100644 index 6f29081..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/config/JwtInterceptorConfig.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/config/properties/JwtProjectProperties.class b/component/jwt/target/classes/com/cwhelp/component/jwt/config/properties/JwtProjectProperties.class deleted file mode 100644 index 153916d..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/config/properties/JwtProjectProperties.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/controller/AuthController.class b/component/jwt/target/classes/com/cwhelp/component/jwt/controller/AuthController.class deleted file mode 100644 index 1fef5ab..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/controller/AuthController.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/enums/JwtResultEnums.class b/component/jwt/target/classes/com/cwhelp/component/jwt/enums/JwtResultEnums.class deleted file mode 100644 index 69307b4..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/enums/JwtResultEnums.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/interceptor/AuthenticationInterceptor.class b/component/jwt/target/classes/com/cwhelp/component/jwt/interceptor/AuthenticationInterceptor.class deleted file mode 100644 index bdfc9d5..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/interceptor/AuthenticationInterceptor.class and /dev/null differ diff --git a/component/jwt/target/classes/com/cwhelp/component/jwt/utlis/JwtUtil.class b/component/jwt/target/classes/com/cwhelp/component/jwt/utlis/JwtUtil.class deleted file mode 100644 index ac79f74..0000000 Binary files a/component/jwt/target/classes/com/cwhelp/component/jwt/utlis/JwtUtil.class and /dev/null differ diff --git a/component/shiro/target/classes/META-INF/spring-configuration-metadata.json b/component/shiro/target/classes/META-INF/spring-configuration-metadata.json deleted file mode 100644 index 29a996c..0000000 --- a/component/shiro/target/classes/META-INF/spring-configuration-metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "groups": [ - { - "name": "project.shiro", - "type": "com.cwhelp.component.shiro.config.properties.ShiroProjectProperties", - "sourceType": "com.cwhelp.component.shiro.config.properties.ShiroProjectProperties" - } - ], - "properties": [ - { - "name": "project.shiro.global-session-timeout", - "type": "java.lang.Integer", - "sourceType": "com.cwhelp.component.shiro.config.properties.ShiroProjectProperties", - "defaultValue": 1800 - }, - { - "name": "project.shiro.remember-me-timeout", - "type": "java.lang.Integer", - "sourceType": "com.cwhelp.component.shiro.config.properties.ShiroProjectProperties", - "defaultValue": 7 - }, - { - "name": "project.shiro.session-validation-interval", - "type": "java.lang.Integer", - "sourceType": "com.cwhelp.component.shiro.config.properties.ShiroProjectProperties", - "defaultValue": 900 - } - ], - "hints": [] -} \ No newline at end of file diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/AuthRealm$1.class b/component/shiro/target/classes/com/cwhelp/component/shiro/AuthRealm$1.class deleted file mode 100644 index ee7dca6..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/AuthRealm$1.class and /dev/null differ diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/AuthRealm.class b/component/shiro/target/classes/com/cwhelp/component/shiro/AuthRealm.class deleted file mode 100644 index 67c06f7..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/AuthRealm.class and /dev/null differ diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/ShiroUtil.class b/component/shiro/target/classes/com/cwhelp/component/shiro/ShiroUtil.class deleted file mode 100644 index 7f14589..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/ShiroUtil.class and /dev/null differ diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/UserAuthFilter.class b/component/shiro/target/classes/com/cwhelp/component/shiro/UserAuthFilter.class deleted file mode 100644 index 17de249..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/UserAuthFilter.class and /dev/null differ diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/config/AuditorConfig.class b/component/shiro/target/classes/com/cwhelp/component/shiro/config/AuditorConfig.class deleted file mode 100644 index a2826a3..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/config/AuditorConfig.class and /dev/null differ diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/config/ShiroConfig.class b/component/shiro/target/classes/com/cwhelp/component/shiro/config/ShiroConfig.class deleted file mode 100644 index 10d486b..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/config/ShiroConfig.class and /dev/null differ diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/config/properties/ShiroProjectProperties.class b/component/shiro/target/classes/com/cwhelp/component/shiro/config/properties/ShiroProjectProperties.class deleted file mode 100644 index 534bbc7..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/config/properties/ShiroProjectProperties.class and /dev/null differ diff --git a/component/shiro/target/classes/com/cwhelp/component/shiro/exception/AuthorizationExceptionHandler.class b/component/shiro/target/classes/com/cwhelp/component/shiro/exception/AuthorizationExceptionHandler.class deleted file mode 100644 index b6ed8fc..0000000 Binary files a/component/shiro/target/classes/com/cwhelp/component/shiro/exception/AuthorizationExceptionHandler.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/TimoDialect.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/TimoDialect.class deleted file mode 100644 index 3a2263b..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/TimoDialect.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/TimoExpressionObjectFactory.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/TimoExpressionObjectFactory.class deleted file mode 100644 index bd42379..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/TimoExpressionObjectFactory.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/attribute/SelectDictAttrProcessor.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/attribute/SelectDictAttrProcessor.class deleted file mode 100644 index 10cbbfb..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/attribute/SelectDictAttrProcessor.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/attribute/SelectListAttrProcessor.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/attribute/SelectListAttrProcessor.class deleted file mode 100644 index 16437c6..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/attribute/SelectListAttrProcessor.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/config/ThymeleafConfig.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/config/ThymeleafConfig.class deleted file mode 100644 index 7f9003c..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/config/ThymeleafConfig.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/DictUtil.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/DictUtil.class deleted file mode 100644 index babb2c2..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/DictUtil.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/LogUtil.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/LogUtil.class deleted file mode 100644 index 1a1de9e..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/LogUtil.class and /dev/null differ diff --git a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/PageUtil.class b/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/PageUtil.class deleted file mode 100644 index dd0c2c0..0000000 Binary files a/component/thymeleaf/target/classes/com/cwhelp/component/thymeleaf/utility/PageUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/build/BuildController.class b/devtools/target/classes/com/cwhelp/devtools/build/BuildController.class deleted file mode 100644 index 3b28f39..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/build/BuildController.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/DefaultValue.class b/devtools/target/classes/com/cwhelp/devtools/generate/DefaultValue.class deleted file mode 100644 index 0000886..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/DefaultValue.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/GenerateController.class b/devtools/target/classes/com/cwhelp/devtools/generate/GenerateController.class deleted file mode 100644 index 8f1760e..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/GenerateController.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Basic.class b/devtools/target/classes/com/cwhelp/devtools/generate/domain/Basic.class deleted file mode 100644 index c879f6c..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Basic.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Field.class b/devtools/target/classes/com/cwhelp/devtools/generate/domain/Field.class deleted file mode 100644 index a719d9e..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Field.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Generate.class b/devtools/target/classes/com/cwhelp/devtools/generate/domain/Generate.class deleted file mode 100644 index 3248242..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Generate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Template.class b/devtools/target/classes/com/cwhelp/devtools/generate/domain/Template.class deleted file mode 100644 index 36f4256..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/domain/Template.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldQuery.class b/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldQuery.class deleted file mode 100644 index d8835f9..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldQuery.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldType.class b/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldType.class deleted file mode 100644 index ad756d7..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldType.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldVerify.class b/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldVerify.class deleted file mode 100644 index 6518239..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/enums/FieldVerify.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/enums/ModuleType.class b/devtools/target/classes/com/cwhelp/devtools/generate/enums/ModuleType.class deleted file mode 100644 index 62b8d13..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/enums/ModuleType.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/enums/TierType.class b/devtools/target/classes/com/cwhelp/devtools/generate/enums/TierType.class deleted file mode 100644 index 0d1464d..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/enums/TierType.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/AddHtmlTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/AddHtmlTemplate.class deleted file mode 100644 index 9b6b279..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/AddHtmlTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/AddHtmlTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/AddHtmlTemplate.tpl deleted file mode 100644 index 143edb7..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/AddHtmlTemplate.tpl +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -
                              -
                              - -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - - -
                              -
                              -
                              - - - \ No newline at end of file diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/ControllerTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/ControllerTemplate.class deleted file mode 100644 index bca491e..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/ControllerTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/ControllerTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/ControllerTemplate.tpl deleted file mode 100644 index 5808de1..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/ControllerTemplate.tpl +++ /dev/null @@ -1,110 +0,0 @@ -## 控制器模板 - -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.domain.Example; -import org.springframework.data.domain.ExampleMatcher; -import org.springframework.data.domain.Page; -import org.springframework.stereotype.Controller; -import org.springframework.ui.Model; -import org.springframework.validation.annotation.Validated; -import org.springframework.web.bind.annotation.*; - -import java.util.List; - -/** - * @author yan.y - */ -@Controller -@RequestMapping("#{requestMapping}") -public class #{entity}Controller { - - @Autowired - private #{entity}Service #{name}Service; - - /** - * 列表页面 - */ - @GetMapping("/index") - @RequiresPermissions("#{permissions}:index") - public String index(Model model, #{entity} #{name}){ - - // 创建匹配器,进行动态查询匹配 - ExampleMatcher matcher = ExampleMatcher.matching(); - - // 获取数据列表 - Example<#{entity}> example = Example.of(#{name}, matcher); - Page<#{entity}> list = #{name}Service.getPageList(example); - - // 封装数据 - model.addAttribute("list", list.getContent()); - model.addAttribute("page", list); - return "#{requestMapping}/index"; - } - - /** - * 跳转到添加页面 - */ - @GetMapping("/add") - @RequiresPermissions("#{permissions}:add") - public String toAdd(){ - return "#{requestMapping}/add"; - } - - /** - * 跳转到编辑页面 - */ - @GetMapping("/edit/{id}") - @RequiresPermissions("#{permissions}:edit") - public String toEdit(@PathVariable("id") #{entity} #{name}, Model model){ - model.addAttribute("#{name}", #{name}); - return "#{requestMapping}/add"; - } - - /** - * 保存添加/修改的数据 - * @param valid 验证对象 - */ - @PostMapping({"/add","/edit"}) - @RequiresPermissions({"#{permissions}:add","#{permissions}:edit"}) - @ResponseBody - public ResultVo save(@Validated #{entity}Valid valid, #{entity} #{name}){ - // 复制保留无需修改的数据 - if(#{name}.getId() != null){ - #{entity} be#{entity} = #{name}Service.getById(#{name}.getId()); - EntityBeanUtil.copyProperties(be#{entity}, #{name}); - } - - // 保存数据 - #{name}Service.save(#{name}); - return ResultVoUtil.SAVE_SUCCESS; - } - - /** - * 跳转到详细页面 - */ - @GetMapping("/detail/{id}") - @RequiresPermissions("#{permissions}:detail") - public String toDetail(@PathVariable("id") #{entity} #{name}, Model model){ - model.addAttribute("#{name}",#{name}); - return "#{requestMapping}/detail"; - } - - /** - * 设置一条或者多条数据的状态 - */ - @RequestMapping("/status/{param}") - @RequiresPermissions("#{permissions}:status") - @ResponseBody - public ResultVo status( - @PathVariable("param") String param, - @RequestParam(value = "ids", required = false) List ids){ - // 更新状态 - StatusEnum statusEnum = StatusUtil.getStatusEnum(param); - if (#{name}Service.updateStatus(statusEnum, ids)) { - return ResultVoUtil.success(statusEnum.getMessage() + "成功"); - } else { - return ResultVoUtil.error(statusEnum.getMessage() + "失败,请重新操作"); - } - } -} diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/DetailHtmlTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/DetailHtmlTemplate.class deleted file mode 100644 index f1465b7..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/DetailHtmlTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/DetailHtmlTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/DetailHtmlTemplate.tpl deleted file mode 100644 index d45e86e..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/DetailHtmlTemplate.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - - - - -
                              -
                              基本信息
                              - - - - - - -
                              -
                              - - - \ No newline at end of file diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/EntityTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/EntityTemplate.class deleted file mode 100644 index 2181bb2..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/EntityTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/IndexHtmlTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/IndexHtmlTemplate.class deleted file mode 100644 index 9190a39..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/IndexHtmlTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/IndexHtmlTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/IndexHtmlTemplate.tpl deleted file mode 100644 index abe3e00..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/IndexHtmlTemplate.tpl +++ /dev/null @@ -1,77 +0,0 @@ - - - - - -
                              -
                              - #{title}管理 - -
                              -
                              -
                              - -
                              - -
                              - -
                              -
                              启用
                              -
                              冻结
                              -
                              删除
                              -
                              -
                              -
                              -
                              -
                              - - - - - - - - - - - - - - - -
                              - - 表格标题操作
                              - 编辑 - 详细 - 删除 -
                              -
                              -
                              -
                              -
                              - - - \ No newline at end of file diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/PomXmlTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/PomXmlTemplate.class deleted file mode 100644 index d089d72..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/PomXmlTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/PomXmlTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/PomXmlTemplate.tpl deleted file mode 100644 index 1007af4..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/PomXmlTemplate.tpl +++ /dev/null @@ -1,30 +0,0 @@ - - - 4.0.0 - - com.cwhelp.modules - #{module} - jar - #{module} module - - - com.cwhelp - modules - 2.0.1 - - - - - com.cwhelp - common - ${project.version} - - - com.cwhelp.modules - system - ${project.version} - - - \ No newline at end of file diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/RepositoryTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/RepositoryTemplate.class deleted file mode 100644 index 4858e17..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/RepositoryTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/RepositoryTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/RepositoryTemplate.tpl deleted file mode 100644 index 0b53460..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/RepositoryTemplate.tpl +++ /dev/null @@ -1,7 +0,0 @@ -##dao层模板 - -/** - * @author yan.y - */ -public interface #{entity}Repository extends BaseRepository<#{entity}, Long> { -} \ No newline at end of file diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceImplTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceImplTemplate.class deleted file mode 100644 index 9875aa9..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceImplTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceImplTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceImplTemplate.tpl deleted file mode 100644 index 7ed8276..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceImplTemplate.tpl +++ /dev/null @@ -1,60 +0,0 @@ -##Service层模板 - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.domain.Example; -import org.springframework.data.domain.Page; -import org.springframework.data.domain.PageRequest; -import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; - -import java.util.List; - -/** - * @author yan.y - */ -@Service -public class #{entity}ServiceImpl implements #{entity}Service { - - @Autowired - private #{entity}Repository #{name}Repository; - - /** - * 根据ID查询数据 - * @param id 主键ID - */ - @Override - @Transactional - public #{entity} getById(Long id) { - return #{name}Repository.findById(id).orElse(null); - } - - /** - * 获取分页列表数据 - * @param example 查询实例 - * @return 返回分页数据 - */ - @Override - public Page<#{entity}> getPageList(Example<#{entity}> example) { - // 创建分页对象 - PageRequest page = PageSort.pageRequest(); - return #{name}Repository.findAll(example, page); - } - - /** - * 保存数据 - * @param #{name} 实体对象 - */ - @Override - public #{entity} save(#{entity} #{name}){ - return #{name}Repository.save(#{name}); - } - - /** - * 状态(启用,冻结,删除)/批量状态处理 - */ - @Override - @Transactional - public Boolean updateStatus(StatusEnum statusEnum, List idList){ - return #{name}Repository.updateStatus(statusEnum.getCode(), idList) > 0; - } -} \ No newline at end of file diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceTemplate.class deleted file mode 100644 index 3cfd64b..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceTemplate.tpl b/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceTemplate.tpl deleted file mode 100644 index b35e422..0000000 --- a/devtools/target/classes/com/cwhelp/devtools/generate/template/ServiceTemplate.tpl +++ /dev/null @@ -1,38 +0,0 @@ -##Service层模板 - -import org.springframework.data.domain.Example; -import org.springframework.data.domain.Page; -import org.springframework.transaction.annotation.Transactional; - -import java.util.List; - -/** - * @author yan.y - */ -public interface #{entity}Service { - - /** - * 获取分页列表数据 - * @param example 查询实例 - * @return 返回分页数据 - */ - Page<#{entity}> getPageList(Example<#{entity}> example); - - /** - * 根据ID查询数据 - * @param id 主键ID - */ - #{entity} getById(Long id); - - /** - * 保存数据 - * @param #{name} 实体对象 - */ - #{entity} save(#{entity} #{name}); - - /** - * 状态(启用,冻结,删除)/批量状态处理 - */ - @Transactional - Boolean updateStatus(StatusEnum statusEnum, List idList); -} diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/template/ValidatorTemplate.class b/devtools/target/classes/com/cwhelp/devtools/generate/template/ValidatorTemplate.class deleted file mode 100644 index 67e2da8..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/template/ValidatorTemplate.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/CodeUtil.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/CodeUtil.class deleted file mode 100644 index 40636d0..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/CodeUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/FileUtil.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/FileUtil.class deleted file mode 100644 index c4f7668..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/FileUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/GenerateUtil.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/GenerateUtil.class deleted file mode 100644 index cf9000f..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/GenerateUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/JAngel.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/JAngel.class deleted file mode 100644 index 6f67eff..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/JAngel.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/JAngelContainer.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/JAngelContainer.class deleted file mode 100644 index b5ff0e0..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/JAngelContainer.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/BlockNode.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/BlockNode.class deleted file mode 100644 index bc93707..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/BlockNode.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/ClassNode.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/ClassNode.class deleted file mode 100644 index 54a483a..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/ClassNode.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Document.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Document.class deleted file mode 100644 index 8862e2c..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Document.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/FieldNode.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/FieldNode.class deleted file mode 100644 index 42c6d3e..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/FieldNode.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Format.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Format.class deleted file mode 100644 index e852d65..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Format.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/LineNode.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/LineNode.class deleted file mode 100644 index 8b4e5af..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/LineNode.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/MethodNode.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/MethodNode.class deleted file mode 100644 index b1496aa..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/MethodNode.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Modifier.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Modifier.class deleted file mode 100644 index 885eff9..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Modifier.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Node.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Node.class deleted file mode 100644 index d2bef3b..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/nodes/Node.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/parser/Expression.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/parser/Expression.class deleted file mode 100644 index 7034b2d..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/parser/Expression.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/parser/Parser.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/parser/Parser.class deleted file mode 100644 index 9a4930b..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/parser/Parser.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/select/Nodes.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/select/Nodes.class deleted file mode 100644 index 940c4b7..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/select/Nodes.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/select/Select.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/select/Select.class deleted file mode 100644 index 0ee5491..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/select/Select.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/utils/StringUtil.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/utils/StringUtil.class deleted file mode 100644 index db6d856..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/jAngel/utils/StringUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/HtmlParseUtil.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/HtmlParseUtil.class deleted file mode 100644 index e2b08c0..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/HtmlParseUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/JavaParseUtil$1.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/JavaParseUtil$1.class deleted file mode 100644 index 1496a2d..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/JavaParseUtil$1.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/JavaParseUtil.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/JavaParseUtil.class deleted file mode 100644 index 93db28c..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/JavaParseUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/XmlParseUtil.class b/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/XmlParseUtil.class deleted file mode 100644 index d951060..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/generate/utils/parser/XmlParseUtil.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/swagger/SwaggerController.class b/devtools/target/classes/com/cwhelp/devtools/swagger/SwaggerController.class deleted file mode 100644 index 8f234ac..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/swagger/SwaggerController.class and /dev/null differ diff --git a/devtools/target/classes/com/cwhelp/devtools/swagger/config/SwaggerConfig.class b/devtools/target/classes/com/cwhelp/devtools/swagger/config/SwaggerConfig.class deleted file mode 100644 index 6b81bcf..0000000 Binary files a/devtools/target/classes/com/cwhelp/devtools/swagger/config/SwaggerConfig.class and /dev/null differ diff --git a/devtools/target/classes/static/css/build.css b/devtools/target/classes/static/css/build.css deleted file mode 100644 index 2fba99e..0000000 --- a/devtools/target/classes/static/css/build.css +++ /dev/null @@ -1,111 +0,0 @@ -@charset "UTF-8"; - -/*元素面板*/ -.element-panel{ - padding-top: 10px; -} -.element-panel .layui-form-item, -.element-panel .layui-form-item .layui-form-label, -.build-panel .build-item, -.build-panel .build-item .layui-form-label -{ - cursor: move; -} -.drag-box{ - position: absolute; - top: 100px; - left: 100px; - background-color: #FFFFFF; - box-shadow: 0 0 2px 1px rgba(0,0,0,.12); - opacity: 0.6; -} -.drag-box .layui-form-item{ - margin-bottom: 10px; -} - -/*构建面板*/ -.build-card{ - overflow: hidden; -} -.build-panel{ - min-height: 500px; - overflow: hidden; - padding: 0; - margin: 15px; -} -.build-panel.active{ - background-color: #fdffcd; -} -.build-panel #shell-item{ - background-color: #eeeeee; - border: 1px dashed #c3c3c3; -} -.build-panel .build-item{ - position: relative; -} -.build-panel .build-item:hover{ - padding-top: 10px; - border: 1px dashed #ffc664; -} -.build-panel .build-item:hover .control{ - display: block; -} -.build-panel .build-item .control{ - position: absolute; - top: 0; - right: 6px; - font-size: 12px; - color: #009688; - display: none; - z-index: 999999; -} -.build-panel .build-item .control a{ - color: #009688; -} -.build-item-edit .build-edit-box{ - position: relative; - width: 500px; - height: 317px; - display: block; -} -.build-item-edit .build-edit{ - display: block; - width: 460px; - height: 287px; - border: 10px solid #F8F8F8; - border-top-width: 0; - padding: 10px; - line-height: 20px; - overflow: auto; - background-color: #3F3F3F; - color: #eee; - font-size: 12px; - font-family: Courier New, serif; -} -.build-item-edit .build-edit-btn{ - position: absolute; - z-index: 99999; - right: 34px; - bottom: 26px; - width: 58px; - height: 30px; - border: none; - color: #ffffff; - border-radius: 2px; - background-color: #009688; - cursor: pointer; -} -.build-item-edit .build-edit-btn:hover{ - background-color: #007c6e; -} -.build-generate{ - float: right; - margin-top: 6px; - margin-right: 2px; - color: #009688; - border-color: #009688; -} -.build-generate:hover{ - background-color: #009688; - color: #FFFFFF; -} \ No newline at end of file diff --git a/devtools/target/classes/static/css/generate.code.css b/devtools/target/classes/static/css/generate.code.css deleted file mode 100644 index 7449358..0000000 --- a/devtools/target/classes/static/css/generate.code.css +++ /dev/null @@ -1,238 +0,0 @@ -@charset "UTF-8"; - -/*保存按钮*/ -.entity-save{ - float: right; - margin-top: 6px; - margin-right: 2px; -} -.entity-save .fa{ - font-size: 13px!important; - margin-right: 3px; -} - -/*基本信息*/ -.layui-elem-field{ - border-color: #cccccc; -} -.layui-elem-field .code-legend{ - font-size: 16px; - font-weight: 500; -} -.layui-elem-field .layui-field-box{ - position: relative; - padding-top: 20px; -} -.layui-form-item .layui-input-inline{ - width: 240px; -} -.layui-form-item .layui-input-inline input{ - border-color: #cccccc; -} -.layui-form-item .layui-input-inline input:focus{ - border-color: #009688!important; -} -.layui-elem-field .layui-field-box .more-field{ - border-top: 1px solid #cccccc; - padding-top: 20px; - display: none; -} -.layui-elem-field .layui-field-box .more-btn{ - position: absolute; - bottom: 0; - left: 50%; - transform: translateX(-50%); - width: 46px; - height: 14px; - line-height: 14px; - background-color: #cccccc; - border-radius: 0; - font-size: 16px; -} -.layui-elem-field .layui-field-box .more-btn .active{ - transform: rotate(180deg) -} -/*面板*/ -.panel{ - margin: 15px 2px 5px; - border: 1px solid #cccccc; -} -.panel-header{ - color: #333; - height: 42px; - line-height: 42px; - padding: 0 15px; - overflow: hidden; - border-bottom: 1px solid #cccccc; -} -.panel-header div{ - float: left; -} -.panel-header .title{ - font-weight: 600; -} -.panel-header .info{ - margin-left: 80px; -} -.panel-header .info i{ - display: inline-block; - width: 12px; - height: 12px; - background-color: #1ab394; - margin-left: 12px; - margin-right: 4px; - margin-bottom: -1px; -} -.panel-header .info i.lose{ - background-color: #e7e9ec; -} -.panel-header .path, -.panel-header .entity{ - float: right; -} -.panel-header .entity{ - display: none; -} - -/*模块面板*/ -.panel-body-float{ - overflow: hidden; - padding: 15px 0 0 15px; -} -.float-label{ - float: left; - font-size: 14px; - padding:4px 12px; - margin-right: 15px; - margin-bottom: 15px; - border-radius: 12px; - border: 1px solid #cbced3; - background-color: #e7e9ec; - cursor: pointer; -} -.float-label.active{ - color: #ffffff; - border: 1px solid #209684; - background-color: #1ab394; -} - -/*实体类面板*/ -.panel-header .control{ - margin-left: 110px; -} -.panel-header .control button{ - margin: 0; - border-color: #ffffff; -} -.panel-header .control button .fa{ - margin-right: 6px; -} -.panel-header .control button.field-add .fa{ - color: #228b22; -} -.panel-header .control button.field-del .fa{ - color: #ff4200; -} -.panel-header .control button.field-up .fa, -.panel-header .control button.field-down .fa{ - color: #005cff; -} -.panel-header .control button:hover{ - border-color: #009688; -} -.panel-body-entity .layui-table{ - margin: 0; -} -.panel-body-entity .layui-table tr:hover, -.panel-body-entity .layui-table tr:hover input{ - background-color: #e5f3ff; -} -.panel-body-entity .layui-table th{ - background-color: #ffffff; - border: 1px solid #cccccc; -} -.panel-body-entity .layui-table td{ - padding: 0; - border-color: #cccccc; -} -.panel-body-entity .layui-table th, -.panel-body-entity .layui-table td{ - border-top: none; - border-left: none; - font-weight: bold; -} -.panel-body-entity .layui-table th:last-child, -.panel-body-entity .layui-table td:last-child{ - border-right: none; -} -.panel-body-entity .layui-table tr:last-child td{ - border-bottom: none; -} -.panel-body-entity .layui-table td input{ - width: 100%; - height: 36px; - border: none; - text-indent: 15px; - transition: all .3s; - -webkit-transition: all .3s; -} -.panel-body-entity .layui-table td input:focus{ - background-color: #FFFFFF; -} -.panel-body-entity .layui-table td .xm-input.xm-select{ - border: none; - padding-left: 14px; -} -.panel-body-entity .layui-table .entity-number{ - padding-left: 15px; - cursor: pointer; -} -.panel-body-entity .layui-table td.layui-form input, -.panel-body-entity .layui-table td.entity-verify input{ - text-indent: 5px; -} -.panel-body-entity .layui-table .entity-name input, -.panel-body-entity .layui-table .entity-title input{ - color: #228b22; -} -.panel-body-entity .layui-table .entity-type input{ - color: #0607ff; -} -.panel-body-entity .layui-table .entity-query input{ - color: #ff9400; -} -.panel-body-entity .layui-table .entity-show{ - padding-left: 15px; -} -.panel-body-entity .layui-table .entity-show .layui-form-switch{ - margin-top: initial; -} - -/*保存页面详细信息*/ -.save-detail { - margin: 15px; -} -.save-detail .item{ - border: 1px solid #cccccc; - margin-bottom: 12px; - line-height: 24px; - text-indent: 8px; -} -.save-detail .title{ - font-weight: bold; -} -.save-detail .info-s{ - font-weight: bold; - color: #5FB878; -} -.save-detail .info-e{ - font-weight: bold; - color: #FFB800; -} -.save-detail .path{ - font-size: 10px; - line-height: 15px; - height: 14px; - color: #4e4e4e; - border-top: 1px solid #cccccc; -} \ No newline at end of file diff --git a/devtools/target/classes/static/js/build.js b/devtools/target/classes/static/js/build.js deleted file mode 100644 index f2466ea..0000000 --- a/devtools/target/classes/static/js/build.js +++ /dev/null @@ -1,172 +0,0 @@ -layui.use(['element', 'laydate', 'form'], function () { - var $ = layui.jquery; - var form = layui.form; - var laydate = layui.laydate; - - var build = $(".build-panel"); - - //初始化laydate实例 - laydate.render({ - elem: '#laydate' - }); - - // 禁止选择网页文本 - $(document).on('selectstart', '.layui-card', function(){ - return false; - }); - - // 移动操作 - var downPosi, target = null, dragDom = null, timer = null; - var areaPosi; - $(document).on("mousedown", ".layui-form-item", function (e) { - $this = $(this); - timer = setTimeout(function () { - downPosi = {'left': e.clientX - $this.offset().left, - 'top': e.clientY - $this.offset().top + 10}; - areaPosi = {'ltX': build.offset().left, 'ltY': build.offset().top, - 'rbX': build.offset().left + build.width(), - 'rbY': build.offset().top + build.height()}; - target = $this; - }, 200); - }); - $(document).on("mousemove", function (e) { - if(dragDom == null && target != null){ - dragDom = $("
                              "); - dragDom.append(target.clone()); - dragDom.addClass("drag-box"); - dragDom.css("width", target.width()); - $("body").append(dragDom); - var buildItem = target.parent('.build-item'); - if(buildItem.length > 0){ - buildItem.remove(); - } - } - if(dragDom != null){ - dragDom.css("left", e.clientX - downPosi.left); - dragDom.css("top", e.clientY - downPosi.top); - } - if(dragDom != null){ - if(e.clientX > areaPosi.ltX && e.clientY > areaPosi.ltY - && e.clientX < areaPosi.rbX && e.clientY < areaPosi.rbY){ - build.addClass("active"); - buildItemPosi(e.clientY); - }else{ - build.removeClass("active"); - shellItem.remove(); - } - } - }); - $(document).on("mouseup", function (e) { - if(dragDom != null){ - if(build.hasClass("active")){ - buildAdd(dragDom); - } - dragDom.remove(); - dragDom = null; - target = null; - build.removeClass("active"); - shellItem.remove(); - } - if(timer != null){ - clearTimeout(timer); - timer = null; - } - }); - - // 构建项位置 - var shellItem = $("
                              "); - var buildItemPosi = function(clientY){ - build.children('.build-item').each(function(key, val){ - var $this = $(val); - var ty = $this.offset().top; - var by = $this.offset().top + $this.height(); - if(clientY > ty && clientY < by ){ - if(clientY < (ty + by) / 2){ - $this.before(shellItem); - }else{ - $this.after(shellItem); - } - } - }); - shellItem.css('height', dragDom.height()); - if($('#shell-item').length == 0){ - build.append(shellItem); - } - }; - - // 加入构建面板 - var buildAdd = function(dragDom){ - var elem = dragDom.children(".layui-form-item").clone(); - elem.children('div').children('div').remove(); - elem.removeAttr('style'); - elem.removeClass('drag-box'); - var item = $("
                              " + - "" + - "
                              "); - shellItem.after(item.append(elem)); - - form.render(); - }; - - // 编辑构建项 - var buildItem, index; - build.on('click', '.edit', function(){ - buildItem = $(this).parents('.build-item'); - var elem = buildItem.children('.layui-form-item').clone(); - elem.children('div').children('div').remove(); - elem.find('.layui-upload-file').remove(); - - var box = $("
                              "); - var edit = $("").text(elem.prop('outerHTML')); - box.append(edit).append(""); - - index = layer.open({ - title: '编辑HTML', - type: 1, - skin: 'build-item-edit', //样式类名 - shadeClose: true, //开启遮罩关闭 - area: ['500px', '360px'], - content: box.prop('outerHTML') - }); - }); - - // 更新HTML - $(document).on('click', '.build-edit-btn', function(){ - var val = $(this).parent().children('textarea').val(); - buildItem.children('.layui-form-item').remove(); - buildItem.append($(val)); - form.render(); - layer.close(index); - }); - - // 删除构建项 - build.on('click', '.remove', function(){ - $(this).parents('.build-item').remove(); - }); - - // 生成代码 - $(document).on('click', '.build-generate', function(){ - var genHtml = ''; - build.find(".layui-form-item").each(function (key, val) { - var item = $(val).clone(); - item.children('div').children('div').remove(); - item.find('.layui-upload-file').remove(); - genHtml += item.prop('outerHTML') + "\n"; - }); - var box = $("
                              "); - var edit = $("").text(genHtml); - box.append(edit); - - index = layer.open({ - title: '复制HTML代码', - type: 1, - skin: 'build-item-edit', //样式类名 - shadeClose: true, //开启遮罩关闭 - area: ['500px', '360px'], - content: box.prop('outerHTML') - }); - $('.build-edit').focus().select(); - }); - -}); \ No newline at end of file diff --git a/devtools/target/classes/static/js/generate.code.js b/devtools/target/classes/static/js/generate.code.js deleted file mode 100644 index e884431..0000000 --- a/devtools/target/classes/static/js/generate.code.js +++ /dev/null @@ -1,336 +0,0 @@ -layui.use(['element', 'form', 'layer', 'formSelects'], function () { - var $ = layui.jquery; - var form = layui.form; - var layer = layui.layer; - var formSelects = layui.formSelects; - - // 定义Basic基本信息类 - var basic = { - projectPath: '', - packagePath: '', - author: '', - genTitle: '', - genModule: '', - genPMenu: '', - tablePrefix: '', - tableName: '', - tableEntity: '', - requestMapping: '', - moduleType: '' - }; - // 监听表单数据变动 - $('#basic').on('input propertychange', function(e) { - var $this = $(e.target); - var name = $this.attr("name"); - basic[name] = $this.val(); - if(name === "tableName"){ - if($this.val().length > 0){ - $(".panel-header .entity").css("display", "block"); - }else{ - $(".panel-header .entity").css("display", "none"); - } - } - }); - - // 数据监听Basic数据变动 - var defaults = {}; - Object.defineProperty(basic, "packagePath", { - get: function () { return defaults.packagePath}, - set: function(value) { - $(".bindPackagePath").text(value); - defaults.packagePath = value; - } - }); - Object.defineProperty(basic, "genModule", { - get: function () { return defaults.genModule}, - set: function(value) { - $(".bindGenModule").text(value); - defaults.genModule = value; - updateRequestMapping(); - } - }); - Object.defineProperty(basic, "tablePrefix", { - get: function () { return defaults.tablePrefix}, - set: function(value) { - $(".bindTablePrefix").text(value); - defaults.tablePrefix = value; - } - }); - Object.defineProperty(basic, "tableName", { - get: function () { return defaults.tableName}, - set: function(value) { - $(".bindTableName").text(value); - defaults.tableName = value; - - var split = value.split("_"), newValue = ''; - split.forEach(function (val) { - newValue += val.substring(0,1).toUpperCase()+val.substring(1); - }); - basic.tableEntity = newValue; - var $tableEntity = $(".tableEntity"); - var $bindTableEntity = $(".bindTableEntity"); - $tableEntity.val(newValue); - $bindTableEntity.text(newValue); - } - }); - Object.defineProperty(basic, "tableEntity", { - get: function () { return defaults.tableEntity}, - set: function(value) { - $(".bindTableEntity").text(value); - defaults.tableEntity = value; - updateRequestMapping(); - } - }); - - // 初始化basic数据 - $('#basic input').each(function (key, val) { - var name = $(val).attr("name"); - if(name !== undefined){ - basic[name] = $(val).val(); - } - }); - - // 更多按钮 - $('.more-btn').on("click", function (e) { - e.preventDefault(); - $(".more-field").slideToggle(); - $(this).children(".fa").toggleClass("active"); - }); - - // 访问地址变动 - function updateRequestMapping() { - var module = "/" + basic.genModule.replace(new RegExp('\:', "g"), '/'); - var entity = (basic.tableEntity + ""); - entity = entity.substring(0,1).toLowerCase()+entity.substring(1); - $("input[name='requestMapping']").val(module + "/" + entity); - } - - /* 实体模型操作 */ - var entity = $("#entity"); - var field = null; - // 选中字段 - entity.on("click", ".entity-number", function () { - if(field !== null){ - $(field).css("background-color", "#FFFFFF"); - $(field).css("color", "#666666"); - } - if(field !== this){ - $(this).css("background-color", "#5FB878"); - $(this).css("color", "#FFFFFF"); - field = this; - }else{ - field = null; - } - }); - // 添加字段 - $(".field-add").on("click", function () { - var element = entity.children("tr:last-child").clone(); - element.find("input, select").val(""); - element.find("[name='type']").val("1"); - var random = Math.random()*10000; - element.find("[xm-select]").attr("xm-select", random); - if(field == null){ - entity.append(element); - }else { - $(field).parent().after(element); - } - element.children(".entity-number").click(); - form.render(); - formSelects.render(random); - resetNumber(); - }); - // 删除字段 - $(".field-del").on("click", function () { - if(field != null){ - $(field).parent().remove(); - resetNumber(); - } - }); - // 上移字段 - $(".field-up").on("click", function () { - if(field != null){ - var parent = $(field).parent(); - if(parent.prev().length === 1){ - parent.insertBefore(parent.prev()); - resetNumber(); - } - } - }); - // 下移字段 - $(".field-down").on("click", function () { - if(field != null){ - var parent = $(field).parent(); - if(parent.next().length === 1){ - parent.insertAfter(parent.next()); - resetNumber(); - } - } - }); - - // 重置字段编号 - var resetNumber = function(){ - entity.children().each(function (key, val) { - $(val).children(".entity-number").text(key + 1); - }); - }; - - // 模块悬浮标签 - $(".float-label").on("click", function(){ - $(this).toggleClass("active"); - }); - - // 提取实体类数据 - var getEntity = function(){ - var fieldList = []; - entity.children().each(function (key, trNode) { - var field = {}; - field.name = $(trNode).find("[name='name']").val(); - field.title = $(trNode).find("[name='title']").val(); - field.type = $(trNode).find("[name='type']").val(); - field.query = $(trNode).find("[name='query']").val(); - field.show = $(trNode).find("[name='show']").is(':checked'); - var xmId = $(trNode).find(".entity-verify select").attr("xm-select"); - field.verify = formSelects.value(xmId, 'val'); - fieldList[key] = field; - }); - return fieldList; - }; - - // 认证基本信息 - var verifyBasic = function(){ - var result = JSON.parse(JSON.stringify(basic)); - $('#basic').find("input[name]").each(function (key, item) { - if($(item).val().replace(/(^\s*)|(\s*$)/g, "") === ""){ - var title = $(item).parent().prev().text(); - layer.msg(title + "不能为空!", {offset: '15px', time: 3000, icon: 2}); - return result = false; - } - result[$(item).attr('name')] = $(item).val(); - }); - // 处理模板结构选项 - result.moduleType = basic.moduleType = $("input[name='moduleType']:checked").val(); - return result; - }; - - // 提取模板数据 - var getTemplate = function(){ - var template = {}; - $("#float").children(".float-label").each(function (key, item) { - var name = $(item).data("name"); - template[name] = $(item).hasClass("active"); - }); - return template; - }; - - // 保存按钮 - $(".entity-save").on("click", function () { - // 检验处理基本数据 - var basic = verifyBasic(); - if(basic === false){ - return false; - } - - // 封装数据 - var generate = { - basic: basic, - fields: getEntity(), - template: getTemplate() - }; - - // 处理模块分组 - var split = basic.genModule.split(":"); - if (split.length > 1 && split[1].length > 0) { - var newBasic = JSON.parse(JSON.stringify(basic)); - newBasic.genModule = split[0]; - newBasic.genGroup = split[1]; - generate.basic = newBasic; - } - - var url = $(this).data("url"); - $.ajax({ - type: "POST", - url: url, - contentType: "application/json; charset=utf-8", - data: JSON.stringify(generate), - dataType: "json", - success: function (result) { - if(result.code === 200){ - genDetail(result.data); - basicHistory(basic); - }else{ - layer.msg(result.msg, {offset: '15px', time: 3000, icon: 2}); - } - }, - error: function (message) { - layer.msg("保存失败!", {offset: '15px', time: 3000, icon: 2}); - } - }); - }); - - //生成文件信息详细页面 - function genDetail(list){ - var panel = ''; - for(var p in list){ - var path = list[p]; - panel += "
                              " + p + ":"; - if(path.indexOf("exist:") === 0){ - panel += " 生成失败,文件已存在"; - path = path.substring("exist:".length, path.length); - }else { - panel += " 生成成功"; - } - panel += "
                              " + path + "
                              "; - panel += "
                              "; - } - layer.open({ - type: 1, - title: '生成文件信息', - shadeClose: true, - skin: 'layui-layer-rim', - area: ['800px', '540px'], - content: "
                              " + panel + "
                              " - }); - } - - //记录部分基本参数 - var local = window.localStorage; - function basicHistory(basic){ - if(window.localStorage){ - local.setItem("packagePath", basic.packagePath); - local.setItem("author", basic.author); - local.setItem("genModule", basic.genModule); - local.setItem("tablePrefix", basic.tablePrefix); - local.setItem("moduleType", basic.moduleType); - } - } - - //还原基本参数 - if(local.getItem("packagePath")){ - var packagePath = local.getItem("packagePath"); - basic.packagePath = packagePath; - $("[name='packagePath']").val(packagePath); - } - if(local.getItem("author")){ - var author = local.getItem("author"); - basic.author = author; - $("[name='author']").val(author); - - } - if(local.getItem("genModule")){ - var genModule = local.getItem("genModule"); - basic.genModule = genModule; - $("[name='genModule']").val(genModule); - } - if(local.getItem("tablePrefix")){ - var tablePrefix = local.getItem("tablePrefix"); - basic.tablePrefix = tablePrefix; - $("[name='tablePrefix']").val(tablePrefix); - } - if(local.getItem("moduleType")){ - var moduleType = local.getItem("moduleType"); - basic.moduleType = moduleType; - var index = parseInt(moduleType) - 1; - $("input[name='moduleType']:eq("+ index +")").attr('checked', 'true'); - form.render('radio'); - } -}); \ No newline at end of file diff --git a/devtools/target/classes/static/lib/formSelects-v4/formSelects-v4.css b/devtools/target/classes/static/lib/formSelects-v4/formSelects-v4.css deleted file mode 100644 index d7d6981..0000000 --- a/devtools/target/classes/static/lib/formSelects-v4/formSelects-v4.css +++ /dev/null @@ -1,174 +0,0 @@ -/* formSelects多选css */ -select[xm-select]{display: none !important;} -.xm-select-parent * {margin: 0;padding: 0;font-family: "Helvetica Neue", Helvetica, "PingFang SC", 微软雅黑, Tahoma, Arial, sans-serif; box-sizing: initial;} -.xm-select-parent {text-align: left;} -.xm-select-parent select {display: none;} -.xm-select-parent .xm-select-title {position: relative;min-height: 36px;} -.xm-select-parent .xm-input {cursor: pointer;border-radius: 2px;border-width: 1px;border-style: solid;border-color: #E6E6E6;display: block;width: 100%;box-sizing: border-box;background-color: #FFF;height: 36px;line-height: 1.3;padding-left: 10px;outline: 0} -.xm-select-parent .xm-select-sj {display: inline-block;width: 0;height: 0;border-style: dashed;border-color: transparent;overflow: hidden;position: absolute;right: 10px;top: 50%;margin-top: -3px;cursor: pointer;border-width: 6px;border-top-color: #C2C2C2;border-top-style: solid;transition: all .3s;-webkit-transition: all .3s} -.xm-select-parent .xm-form-selected .xm-select-sj {margin-top: -9px;transform: rotate(180deg)} -.xm-select-parent .xm-form-select dl {display: none;position: absolute;left: 0;top: 42px;padding: 5px 0;z-index: 999;min-width: 100%;border: 1px solid #d2d2d2;max-height: 300px;overflow-y: auto;background-color: #fff;border-radius: 2px;box-shadow: 0 2px 4px rgba(0, 0, 0, .12);box-sizing: border-box;animation-fill-mode: both;-webkit-animation-name: layui-upbit;animation-name: layui-upbit;-webkit-animation-duration: .3s;animation-duration: .3s;-webkit-animation-fill-mode: both;animation-fill-mode: both} -@-webkit-keyframes layui-upbit { - from {-webkit-transform: translate3d(0, 30px, 0);opacity: .3} - to {-webkit-transform: translate3d(0, 0, 0);opacity: 1} -} -@keyframes layui-upbit { - from {transform: translate3d(0, 30px, 0);opacity: .3} - to {transform: translate3d(0, 0, 0);opacity: 1} -} -.xm-select-parent .xm-form-selected dl {display: block} -.xm-select-parent .xm-form-select dl dd,.xm-select-parent .xm-form-select dl dt {padding: 0 10px;line-height: 36px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis} -.xm-select-parent .xm-form-select dl dd {cursor: pointer;height: 36px;} -.xm-select-parent .xm-form-select dl dd:hover {background-color: #f2f2f2} -.xm-select-parent .xm-form-select dl dt {font-size: 12px;color: #999} -.layui-select-disabled .xm-dis-disabled {border-color: #eee!important} -.xm-select-parent .xm-form-select dl .xm-select-tips {padding-left: 10px!important;color: #999;font-size: 14px} -.xm-unselect {-moz-user-select: none;-webkit-user-select: none;-ms-user-select: none} - -.xm-form-checkbox {position: relative;display: block;vertical-align: middle;cursor: pointer;font-size: 0;-webkit-transition: .1s linear;transition: .1s linear;box-sizing: border-box;height: auto!important;line-height: normal!important;border: none!important;margin-right: 0;padding-right: 0;background: 0 0;} -.xm-form-checkbox > i {color: #FFF; font-size: 16px; width: 16px; height: 16px; position: absolute; top: 9px; border: 1px solid #5FB878; border-radius: 3px; z-index: 2;} -.xm-form-checkbox:hover > i {border-color: #5FB878;} -.xm-form-checkbox > span{display: block;position: relative;padding: 0 15px 0 30px;height: 100%;font-size: 14px;border-radius: 2px 0 0 2px;background-color: #d2d2d2;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;background: 0 0;color: #666;line-height: 36px;} - -.xm-select-parent dl{width: 100%;} -.xm-select-parent dl dd{position: relative;} -.xm-select-parent dl dd > i:not(.icon-sousuo){position: absolute; right: 10px; top: 0; color: #AAAAAA;} -.xm-select-parent dl dd.xm-select-this div i {border: none; color: #009688; font-size: 18px;} -.xm-select-parent dl dd.xm-select-this div i:after{content: '\e613';} -.xm-select-parent dl dd.xm-dis-disabled div i {border-color: #C2C2C2;} -.xm-select-parent dl dd.xm-dis-disabled.xm-select-this div i {color: #C2C2C2;} -.xm-select-radio div.xm-form-checkbox > i {border-radius: 20px;} -.xm-select-parent dl.xm-select-radio dd.xm-select-this div i:after{content: '\e62b';} - -.xm-dis-disabled,.xm-dis-disabled:hover {cursor: not-allowed!important} -.xm-form-select dl dd.xm-dis-disabled {background-color: #fff!important} -.xm-form-select dl dd.xm-dis-disabled span {color: #C2C2C2} -.xm-form-select dl dd.xm-dis-disabled .xm-icon-yes {border-color: #C2C2C2} -.xm-select-parent {position: relative;-moz-user-select: none;-ms-user-select: none;-webkit-user-select: none} -.xm-select-parent .xm-select {line-height: normal;height: auto;padding: 4px 10px 1px 10px;overflow: hidden;min-height: 36px;left: 0;z-index: 99;position: absolute;background: 0 0;padding-right: 20px} -.xm-select-parent .xm-select:hover {border-color: #C0C4CC} -.xm-select-parent .xm-select .xm-select-label {display: inline-block;margin: 0;vertical-align: middle} -.xm-select-parent .xm-select-title div.xm-select-label>span {position: relative;padding: 2px 5px;background-color: #009688;border-radius: 2px;color: #FFF;display: inline-block;line-height: 18px;height: 18px;margin: 2px 5px 2px 0;cursor: initial;user-select: none;font-size: 14px;padding-right: 25px;-webkit-user-select: none;} -.xm-select-parent .xm-select-title div.xm-select-label>span i {position: absolute; margin-left: 8px; font-size: 12px; cursor: pointer; line-height: 20px;} -.xm-select-parent .xm-select .xm-select-input {border: none;height: 28px;background-color: transparent;padding: 0;vertical-align: middle;display: inline-block;width: 50px} -.xm-select-parent .xm-select--suffix input {border: none} -.xm-form-selected .xm-select,.xm-form-selected .xm-select:hover {border-color: #009688!important} -.xm-select--suffix+div {position: absolute;top: 0;left: 0;bottom: 0;right: 0} -.xm-select-dis .xm-select--suffix+div {z-index: 100;cursor: no-drop!important;opacity: .2;background-color: #FFF;} -.xm-select-disabled,.xm-select-disabled:hover {color: #d2d2d2!important;cursor: not-allowed!important;background-color: #fff} -.xm-select-none {display: none;margin: 5px 0;text-align: center;} -.xm-select-none:hover {background-color: #FFF!important} -.xm-select-empty {display: block} -.xm-span-hide {display: none!important;} -.layui-form-pane .xm-select,.layui-form-pane .xm-select:hover {border: none!important;top: 0px} -.layui-form-pane .xm-select-title {border: 1px solid #e6e6e6!important} -.xm-select-hide {display: none !important;} -div[xm-hg] .xm-select-label{white-space: nowrap; overflow: hidden; position: absolute; right: 30px; left: 0; padding-left: 10px;} - -/* 颜色相关 */ -div[xm-select-skin] .xm-select-title div.xm-select-label>span {border: 1px solid #009688} -div[xm-select-skin] .xm-select-title div.xm-select-label>span i:hover {opacity: .8;filter: alpha(opacity=80);cursor: pointer} -div[xm-select-skin=default] .xm-select-title div.xm-select-label>span {background-color: #F0F2F5;color: #909399;border: 1px solid #F0F2F5} -div[xm-select-skin=default] .xm-select-title div.xm-select-label>span i {color: #C0C4CC} -div[xm-select-skin=default] .xm-select-title div.xm-select-label>span i:before {content: '\e60b'; font-size: 16px; margin-left: -3px;} -div[xm-select-skin=default] dl dd:not(.xm-dis-disabled) i {border-color: #5FB878} -div[xm-select-skin=default] dl dd.xm-select-this:not(.xm-dis-disabled) i {color: #5FB878} -div[xm-select-skin=default].xm-form-selected .xm-select,div[xm-select-skin=default].xm-form-selected .xm-select:hover {border-color: #C0C4CC!important} -div[xm-select-skin=primary] .xm-select-title div.xm-select-label>span {background-color: #009688;color: #FFF;border: 1px solid #009688} -div[xm-select-skin=primary] .xm-select-title div.xm-select-label>span i {background-color: #009688; color: #FFF} -div[xm-select-skin=primary] dl dd:not(.xm-dis-disabled) i {border-color: #009688} -div[xm-select-skin=primary] dl dd.xm-select-this:not(.xm-dis-disabled) i {color: #009688} -div[xm-select-skin=primary].xm-form-selected .xm-select,div[xm-select-skin=primary].xm-form-selected .xm-select:hover {border-color: #009688!important} -div[xm-select-skin=normal] .xm-select-title div.xm-select-label>span {background-color: #1E9FFF;color: #FFF;border: 1px solid #1E9FFF} -div[xm-select-skin=normal] .xm-select-title div.xm-select-label>span i {background-color: #1E9FFF;color: #FFF} -div[xm-select-skin=normal] dl dd:not(.xm-dis-disabled) i {border-color: #1E9FFF} -div[xm-select-skin=normal] dl dd.xm-select-this:not(.xm-dis-disabled) i {color: #1E9FFF} -div[xm-select-skin=normal].xm-form-selected .xm-select,div[xm-select-skin=normal].xm-form-selected .xm-select:hover {border-color: #1E9FFF!important} -div[xm-select-skin=warm] .xm-select-title div.xm-select-label>span {background-color: #FFB800;color: #FFF;border: 1px solid #FFB800} -div[xm-select-skin=warm] .xm-select-title div.xm-select-label>span i {background-color: #FFB800;color: #FFF} -div[xm-select-skin=warm] dl dd:not(.xm-dis-disabled) i {border-color: #FFB800} -div[xm-select-skin=warm] dl dd.xm-select-this:not(.xm-dis-disabled) i {color: #FFB800} -div[xm-select-skin=warm].xm-form-selected .xm-select,div[xm-select-skin=warm].xm-form-selected .xm-select:hover {border-color: #FFB800!important} -div[xm-select-skin=danger] .xm-select-title div.xm-select-label>span {background-color: #FF5722;color: #FFF;border: 1px solid #FF5722} -div[xm-select-skin=danger] .xm-select-title div.xm-select-label>span i {background-color: #FF5722;color: #FFF} -div[xm-select-skin=danger] dl dd:not(.xm-dis-disabled) i {border-color: #FF5722} -div[xm-select-skin=danger] dl dd.xm-select-this:not(.xm-dis-disabled) i {color: #FF5722} -div[xm-select-skin=danger].xm-form-selected .xm-select,div[xm-select-skin=danger].xm-form-selected .xm-select:hover {border-color: #FF5722!important} - - -/* 多选联动 */ -.xm-select-parent .layui-form-danger+.xm-select-title .xm-select {border-color: #FF5722 !important;} -.xm-select-linkage li {padding: 10px 0px;cursor: pointer;} -.xm-select-linkage li span {padding-left: 20px;padding-right: 30px;display: inline-block;height: 20px;overflow: hidden;text-overflow: ellipsis;} -.xm-select-linkage li.xm-select-this span {border-left: 5px solid #009688;color: #009688;padding-left: 15px;} -.xm-select-linkage-group {position: absolute;left: 0;top: 0;right: 0;bottom: 0;overflow-x: hidden;overflow-y: auto;} -.xm-select-linkage-group li:hover {border-left: 1px solid #009688;} -.xm-select-linkage-group li:hover span {padding-left: 19px;} -.xm-select-linkage-group li.xm-select-this:hover span {padding-left: 15px;border-left-width: 4px;} -.xm-select-linkage-group:nth-child(4n+1){background-color: #EFEFEF; left: 0;} -.xm-select-linkage-group:nth-child(4n+1) li.xm-select-active{background-color: #F5F5F5;} -.xm-select-linkage-group:nth-child(4n+2){background-color: #F5F5F5; left: 100px;} -.xm-select-linkage-group:nth-child(4n+3) li.xm-select-active{background-color: #FAFAFA;} -.xm-select-linkage-group:nth-child(4n+3){background-color: #FAFAFA; left: 200px;} -.xm-select-linkage-group:nth-child(4n+3) li.xm-select-active{background-color: #FFFFFF;} -.xm-select-linkage-group:nth-child(4n+4){background-color: #FFFFFF; left: 300px;} -.xm-select-linkage-group:nth-child(4n+4) li.xm-select-active{background-color: #EFEFEF;} -.xm-select-linkage li{list-style: none;} -.xm-select-linkage-hide {display: none;} -.xm-select-linkage-show {display: block;} - -div[xm-select-skin='default'] .xm-select-linkage li.xm-select-this span {border-left-color: #5FB878;color: #5FB878;} -div[xm-select-skin='default'] .xm-select-linkage-group li:hover {border-left-color: #5FB878;} -div[xm-select-skin='primary'] .xm-select-linkage li.xm-select-this span {border-left-color: #1E9FFF;color: #1E9FFF;} -div[xm-select-skin='primary'] .xm-select-linkage-group li:hover {border-left-color: #1E9FFF;} -div[xm-select-skin='normal'] .xm-select-linkage li.xm-select-this span {border-left-color: #1E9FFF;color: #1E9FFF;} -div[xm-select-skin='normal'] .xm-select-linkage-group li:hover {border-left-color: #1E9FFF;} -div[xm-select-skin='warm'] .xm-select-linkage li.xm-select-this span {border-left-color: #FFB800;color: #FFB800;} -div[xm-select-skin='warm'] .xm-select-linkage-group li:hover {border-left-color: #FFB800;} -div[xm-select-skin='danger'] .xm-select-linkage li.xm-select-this span {border-left-color: #FF5722;color: #FF5722;} -div[xm-select-skin='danger'] .xm-select-linkage-group li:hover {border-left-color: #FF5722;} - - -/* 快捷操作 */ -.xm-select-tips[style]:hover{background-color: #FFF!important;} -.xm-select-parent dd > .xm-cz{position: absolute; top: 0px; right: 10px;} -.xm-select-parent dd > .xm-cz-group{margin-right: 30px; border-right: 2px solid #ddd; height: 16px; margin-top: 10px; line-height: 16px; overflow: hidden;} -.xm-select-parent dd > .xm-cz-group .xm-cz{display: inline-block; margin-right: 30px;} -.xm-select-parent dd > .xm-cz-group .xm-cz i{margin-right: 10px;} -.xm-select-parent dd > .xm-cz-group[show='name'] .xm-cz i{display: none;} -.xm-select-parent dd > .xm-cz-group[show='icon'] .xm-cz span{display: none;} -.xm-select-parent dd .xm-cz:hover{color: #009688;} -div[xm-select-skin='default'] dd .xm-cz:hover{color: #C0C4CC;} -div[xm-select-skin='primary'] dd .xm-cz:hover{color: #009688;} -div[xm-select-skin='normal'] dd .xm-cz:hover{color: #1E9FFF;} -div[xm-select-skin='warm'] dd .xm-cz:hover{color: #FFB800;} -div[xm-select-skin='danger'] dd .xm-cz:hover{color: #FF5722;} - - -/* 下拉里面的搜索 */ -.xm-select-tips .xm-input{border: none; border-bottom: 1px solid #E6E6E6; padding-left: 27px;} -.xm-select-tips .icon-sousuo{position: absolute;} -.xm-select-tips.xm-dl-input{display: none;} -div[xm-select-search-type="1"] .xm-select-tips.xm-dl-input{display: block;} -div[xm-select-search-type="1"] .xm-select .xm-select-input{display: none !important;} - -/* 阿里巴巴矢量图标库 */ -@font-face {font-family: "xm-iconfont"; - src: url('//at.alicdn.com/t/font_792691_qxv28s6g1l9.eot?t=1534240067831'); /* IE9*/ - src: url('//at.alicdn.com/t/font_792691_qxv28s6g1l9.eot?t=1534240067831#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAsYAAsAAAAAEQwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8ukovY21hcAAAAYAAAACrAAACPBtV6wxnbHlmAAACLAAABnEAAAmMovtEvWhlYWQAAAigAAAAMQAAADYSctBCaGhlYQAACNQAAAAgAAAAJAgBA69obXR4AAAI9AAAABsAAAAwMCX//WxvY2EAAAkQAAAAGgAAABoN8gwubWF4cAAACSwAAAAeAAAAIAEiAM9uYW1lAAAJTAAAAUUAAAJtPlT+fXBvc3QAAAqUAAAAhAAAALJ1LunfeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWacwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByeMbwwZ27438AQw9zMcAQozAiSAwDk4AxmeJzlks0JwzAMhZ8bN/1xD4GU0h2Se26BbJMJOkkn6KmTPbJF8mT5UGg3qMRn0EPIRs8A9gAq0YsIhDcCLF5SQ9YrnLMe8VB9RSMlMjCxYcueIyfOy7CuAFHU7lP9iqApt5L3ksBJbzlgZ9PVkXDUvbWa6x8T/i0u+XyWKtmmHW0NDI55yeRok2DjaKdg65jX7Bzzm71jXnN08vzJkQvg7Ng/WAYH9Qb3wzM/AHicjVVvbFzFEd/Zfbv7/vn9uXf33vl8Pt/dO99BHOzEZ9/DKTImRS0KjUoLDUFCjtpCMGkT1D9qldQmhkiUSv2G1BBB1VYqilGREOIDViWEGzttqkpI/cAXqyL5gFRALVIF+VCJe9fZd+fEpR/o6d3s7G9mZ2dmZ3aJIKR3h0ZYmVgkIjGZJV8mDxECtenOTDOu1UU+hJoD+TCqzcNMk2V8O5OCbDVRPgZhEt4JCNTZ/4HA3+DfuWIxl8pcFFErG3K7oD7fvev8UaMUmEu259lrRjBsfs6cLhYbRfzSbSjGRVAkfQYihUXsyPkHTVyyZDNmXzSHg3Tl+aPKxpJFqbWGdtLl8w8iYDxuDTQIx7yc1YCdIx7Jk3HSwbwQwGBcyMKZVtG0ZCuJxjFJBb+foMSfhJaPOSr4FYgwSwqIx2MHJALtAdBi/7xcSMJL+fxmmBS2guD61tZm96X02mgcj0J1NAaIR9UMmhXIV24FuLUC71+r1AEmK1AYrQHUK/Tly/m8MrOZz2+FSf7jzc3NK9XR9F2lVq+gmRp0r+HK9B+VJmR263Rgd7ALwR/FOFfx/FeJS0YxQh9drakgMJhaBVizkwgqWxLD6eQ0Qo8f7p44fJziSH9x+PjLZUO+/jZ9+K35X37ljn/Rv+yW4Ziuf2nl4PfS5/LrP47OHTsFJULYjf369UZAEBmSqEOSJmG4Me6LeznA0BFkcDoJlGynVzmH2vY21DhPr25v9DjvbfTp2TXG1s5mlK0q4S7lT++6obbRox/s6CHF2LMEsHvoFfSFQIKnKQMZJVFCD6WH0p0PVvvcRx8uph8eUks0jOFNtskOkpDsJ18k9+NqVRg3qqMCSSerjyRuYUi1/vFH7YIqikGVcD+ehFl/pqPSPKZ6DG6mHisljFhBFvU/PoRkSNd/JHO6Ja5JOXcfwIGJbm/igBq/hn8Kfb57YbYUxyX4cwkLKH1u4gD9GVSL6USxCjjCO2p8VdcvH9XRYIQWqUblu3pR/v2BvXMAc3tTmJiDAQ895B9NL0C9BFdKqqRKczDX/Whg7O1irVbcqZ8/sbfYBOZwihC+6wSDzszUf+dF7rRO1O+fKaDO+nXOr6+vf8L5J44Qe4UvnlyRntwrxMoKzpFdeRJBNb9dGyiur1+nE59R+uwi9M1G395jb9KP0bcK2YM9nJB5cojcS75OFskxclzdc+pW699z8iYbtf14BGKf77ruZNyXKC0e50OEBI+V/Aug5Dex/9WjJfipuqnS00gfybjXbNe1f762tXmRPp3Bdl/l6g5JXyqXR0bK8J3PR+jvwYs8/GBnTM+kr8FX4ZknwC16XtG9iH9QfNn1vDHPe2GAj3ieV3XdF2+IPdeteh62Ra+HfQrsKWKSBtlHSOBgM7KkKQBLWnZoq1mVwotCLRGhOtSkMzMuqq2ml3SqUehdnZtynbtPLB88/Dy9dDrYVzoy/MTT6Svnlpd/AHueon5wpnGsEae/PZm+d3Jp6SSUTy7R3xw4f9/B5RN3O+5t3VNncjm6Cnt+uLx8DpedGj4yvD84HceNxTcG6ku4VPmZ9n6nNdj95BHyB3IJKxBPsKm6rpn4QopmqzlFm1MwqdxO5rPGnIc7aSfCGg1Vqyo6nUlQhnh7WiFhXzgGhVC4qjPRki9xdGCc4zXeSWb9BG1ktlqz2Q5Y7S2sIJfivkpVKCCDpyCWdbQzECj76qMVqvyJ/LxyI2rTv1bTC25lSM9xAUJ4Lc+U0wXTsKXDmaA8tHX+hvDt4Wa9IHLcMUBz9VwpL4xi2aGasAPPKNUbbmD/2jAtk0uXY4eJx8zRgj9iAnVNt5X+BL5vlHTOaiOmG7g6+7ZBNUOaefNXuJF3u25RjVvBLeW8E4wV7ZJBpbAXXGnqrwgupWVTAKqZjq5HbW44fMguNJhgwmw8oOk8GCqE8F3GhLB0uS/UDVt4lgjtqGxK/rpwuaDAqKHZNuWmJjVKuWUxbpg2B9DtoRdN3TKF9B0hw4p41C5i3CI9w4civP3aQLlmLMK3wpJpaI7BvmlhPtH3nPWCKQAdE2hK9zyuUeAm921qCA2kvqY8N1yDMq4beJlG+4XQqHDCQnqPlJIyyN579S4tIGcRv/82BbFfK9SgnVHkZzMeaSQjqR5/fP5XF2Chh+sW0g0gn27snqXv3/bsszsfJbCAIiTdjRTVCBL6jV0K5D8H/8xVAAAAeJxjYGRgYADi16c/vIvnt/nKwM3CAALXZxxzhtH///23YVFhbgZyORiYQKIAm34OJQAAAHicY2BkYGBu+N/AEMOi/P/f//8sKgxAERTAAwCmuAa3eJxjYWBgYAFhRiiNFf//z6L8/x+IDQAkCQRQAAAAAAAAjAEAATgBfgGaAiACbgMMA2AEhATGAAB4nGNgZGBg4GE4DMQgwATEXEDIwPAfzGcAAB2tAfIAAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nG2L3QqCQBCFZ9RWU7sOfAeh8IFi3N10EHYUG1p8+gSjqz44F+cPEjgo4T81Jphihic0mGOBZyyxwhovUCxKIe4ylthRuDqV+I22UcLQ6+QH4ubWdZZkU3m4o/0tUqtSvT33TPLits12fzc+zhRcvoquo0o281OLhcMw7Q+AD8sULE0=') format('woff'), - url('//at.alicdn.com/t/font_792691_qxv28s6g1l9.ttf?t=1534240067831') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ - url('//at.alicdn.com/t/font_792691_qxv28s6g1l9.svg?t=1534240067831#iconfont') format('svg'); /* iOS 4.1- */ -} -.xm-iconfont {font-family:"xm-iconfont" !important; font-size:16px; font-style:normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;} -.icon-quanxuan:before { content: "\e62c"; } -.icon-caidan:before { content: "\e610"; } -.icon-fanxuan:before { content: "\e837"; } -.icon-pifu:before { content: "\e668"; } -.icon-qingkong:before { content: "\e63e"; } -.icon-sousuo:before { content: "\e600"; } -.icon-danx:before { content: "\e62b"; } -.icon-duox:before { content: "\e613"; } -.icon-close:before { content: "\e601"; } -.icon-expand:before { content: "\e641"; } - diff --git a/devtools/target/classes/static/lib/formSelects-v4/formSelects-v4.min.js b/devtools/target/classes/static/lib/formSelects-v4/formSelects-v4.min.js deleted file mode 100644 index 7316855..0000000 --- a/devtools/target/classes/static/lib/formSelects-v4/formSelects-v4.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function _defineProperty(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}(function(e,t,n){if((typeof exports==="undefined"?"undefined":_typeof(exports))==="object"){module.exports=n()}else if(typeof define==="function"&&define.amd){define(n)}else if(t.layui&&e.define){e.define(["jquery"],function(e){e("formSelects",n())})}else{t.formSelects=n()}})(typeof layui=="undefined"?null:layui,window,function(){var t="4.0.0.0910",v="xm-select",m="xm-select-parent",y="xm-select-input",g="xm-select--suffix",w="xm-select-this",x="xm-select-label",k="xm-select-search",b="xm-select-search-type",C="xm-select-show-count",S="xm-select-create",d="xm-select-create-long",T="xm-select-max",L="xm-select-skin",j="xm-select-direction",A="xm-select-height",E="xm-dis-disabled",N="xm-select-dis",p="xm-select-temp",D="xm-select-radio",H="xm-select-linkage",F="xm-select-dl",h="xm-select-hide",_="xm-hide-input",O="xm-select-sj",e="xm-icon-close",I="xm-select-title",P="xm-form-select",f="xm-form-selected",V="xm-select-none",U="xm-select-empty",M="xm-input",W="xm-dl-input",J="xm-select-tips",s="xm-iconfont",B="XM_PID_VALUE",R="xm-cz",l="xm-cz-group",n="请选择",q={},z={on:{},endOn:{},filter:{},maxTips:{},opened:{},closed:{}},X={type:"get",header:{},first:true,data:{},searchUrl:"",searchName:"keyword",searchVal:null,keyName:"name",keyVal:"value",keySel:"selected",keyDis:"disabled",keyChildren:"children",dataType:"",delay:500,beforeSuccess:null,success:null,error:null,beforeSearch:null,response:{statusCode:0,statusName:"code",msgName:"msg",dataName:"data"},tree:{nextClick:function e(t,n,i){i([])},folderChoose:true,lazy:true}},i=[{icon:"xm-iconfont icon-quanxuan",name:"全选",click:function e(t,n){n.selectAll(t,true,true)}},{icon:"xm-iconfont icon-qingkong",name:"清空",click:function e(t,n){n.removeAll(t,true,true)}},{icon:"xm-iconfont icon-fanxuan",name:"反选",click:function e(t,n){n.reverse(t,true,true)}},{icon:"xm-iconfont icon-pifu",name:"换肤",click:function e(t,n){n.skin(t)}}],Q=window.$||window.layui&&window.layui.jquery,c=Q(window),Y={},a={},r={},$=function e(t){var l=this;this.config={name:null,max:null,maxTips:function e(t,n,i,a){var r=Q('[xid="'+l.config.name+'"]').prev().find("."+v);if(r.parents(".layui-form-item[pane]").length){r=r.parents(".layui-form-item[pane]")}r.attr("style","border-color: red !important");setTimeout(function(){r.removeAttr("style")},300)},init:null,on:null,opened:null,closed:null,filter:function e(t,n,i,a){return i.name.indexOf(n)==-1},clearid:-1,direction:"auto",height:null,isEmpty:false,btns:[i[0],i[1],i[2]],searchType:0,create:function e(t,n){return Date.now()},template:function e(t,n){return n.name},showCount:0,isCreate:false,placeholder:n,clearInput:false};this.select=null;this.values=[];Q.extend(this.config,t,{searchUrl:t.isSearch?t.searchUrl:null,placeholder:t.optionsFirst?t.optionsFirst.value?n:t.optionsFirst.innerHTML||n:n,btns:t.radio?[i[1]]:[i[0],i[1],i[2]]},r[t.name]||a);if(isNaN(this.config.showCount)||this.config.showCount<=0){this.config.showCount=19921012}};var o=function e(){this.appender();this.on();this.onreset()};o.prototype.appender=function(){if(!Array.prototype.map){Array.prototype.map=function(e,t){var n,i,a,r=Object(this),l=r.length>>>0;if(t){n=t}i=new Array(l);a=0;while(a>>0;if(typeof t!=="function"){throw new TypeError(t+" is not a function")}if(arguments.length>1){i=n}a=0;while(a>>0;if(typeof e!=="function"){throw new TypeError}var i=[];var a=arguments[1];for(var r=0;r','',""];var u=Q('
                              \n\t\t\t\t\t\n\t\t\t\t\t
                              \n\t\t\t\t\t\t
                              \n\t\t\t\t\t\t\t"+f.join("")+'\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
                              \n\t\t\t\t\t\t
                              \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
                              \n\t\t\t\t\t\t
                              \n\t\t\t\t\t
                              \n\t\t\t\t\t
                              '+d+"
                              \n\t\t\t\t
                              ");var p=Q('
                              ');p.append(u);n.after(p);n.attr("lay-ignore","");n.removeAttr("name")&&n.attr("_name",s.config.formname);n.removeAttr("lay-verify")&&n.attr("_lay-verify",s.config.layverify);if(s.config.isSearch){Y[i]=Q.extend({},X,{searchUrl:s.config.searchUrl},Y[i]);Q(document).on("input","div."+m+'[FS_ID="'+i+'"] .'+y,function(e){h.search(i,e,s.config.searchUrl)});if(s.config.searchUrl){h.triggerSearch(u,true)}}else{u.find("dl dd."+W).css("display","none")}})};o.prototype.search=function(a,e,t,n){var r=this;var i=void 0;if(n){i=n}else{i=e.target;var l=e.keyCode;if(l===9||l===13||l===37||l===38||l===39||l===40){return false}}var o=Q.trim(i.value);this.changePlaceHolder(Q(i));var s=Y[a]?Y[a]:X;t=s.searchUrl||t;var d=q[a],c=d.config.isCreate,f=Q('dl[xid="'+a+'"]').parents("."+P);if(t){if(s.searchVal){o=s.searchVal;s.searchVal=""}if(!s.beforeSearch||s.beforeSearch&&s.beforeSearch instanceof Function&&s.beforeSearch(a,t,o)){var u=s.delay;if(s.first){s.first=false;u=10}clearTimeout(d.clearid);d.clearid=setTimeout(function(){f.find("dl > *:not(."+J+")").remove();f.find("dd."+V).addClass(U).text("请求中");r.ajax(a,t,o,false,null,true)},u)}}else{f.find("dl ."+h).removeClass(h);f.find("dl dd:not(."+J+")").each(function(e,t){var n=Q(t);var i=z.filter[a]||q[a].config.filter;if(i&&i(a,o,r.getItem(a,n),n.hasClass(E))==true){n.addClass(h)}});f.find("dl dt").each(function(e,t){if(!Q(t).nextUntil("dt",":not(."+h+")").length){Q(t).addClass(h)}});this.create(a,c,o);var p=f.find("dl dd:not(."+J+"):not(."+h+")");if(!p.length){f.find("dd."+V).addClass(U).text("无匹配项")}else{f.find("dd."+V).removeClass(U)}}};o.prototype.isArray=function(e){return Object.prototype.toString.call(e)=="[object Array]"};o.prototype.triggerSearch=function(e,i){var a=this;(e?[e]:Q("."+P).toArray()).forEach(function(e,t){e=Q(e);var n=e.find("dl").attr("xid");if(n&&q[n]&&q[n].config.isEmpty||i){a.search(n,null,null,q[n].config.searchType==0?e.find("."+x+" ."+y):e.find("dl ."+W+" ."+y))}})};o.prototype.clearInput=function(e){var t=Q("."+m+'[fs_id="'+e+'"]');var n=q[e].config.searchType==0?t.find("."+x+" ."+y):t.find("dl ."+W+" ."+y);n.val("")};o.prototype.ajax=function(i,a,r,l,o,s,d,c){var f=this;var u=Q("."+m+' dl[xid="'+i+'"]').parents("."+P);if(!u[0]||!a){return}var p=Y[i]?Y[i]:X;var e=Q.extend(true,{},p.data);e[p.searchName]=r;Q.ajax({type:p.type,headers:p.header,url:a,data:p.dataType=="json"?JSON.stringify(e):e,success:function e(t){if(typeof t=="string"){t=JSON.parse(t)}p.beforeSuccess&&p.beforeSuccess instanceof Function&&(t=p.beforeSuccess(i,a,r,t));if(f.isArray(t)){var n={};n[p.response.statusName]=p.response.statusCode;n[p.response.msgName]="";n[p.response.dataName]=t;t=n}if(t[p.response.statusName]!=p.response.statusCode){u.find("dd."+V).addClass(U).text(t[p.response.msgName])}else{u.find("dd."+V).removeClass(U);f.renderData(i,t[p.response.dataName],l,o,s,c);q[i].config.isEmpty=t[p.response.dataName].length==0}d&&d(i);p.success&&p.success instanceof Function&&p.success(i,a,r,t)},error:function e(t){u.find("dd[lay-value]:not(."+J+")").remove();u.find("dd."+V).addClass(U).text("服务异常");p.error&&p.error instanceof Function&&p.error(i,a,r,t)}})};o.prototype.renderData=function(n,e,t,i,a,r){var l=this;if(t){this.renderLinkage(n,e,i);return}if(r){this.renderReplace(n,e);return}var o=Q("."+m+' dl[xid="'+n+'"]').parents("."+P);var s=Y[n]?Y[n]:X;var d=o.find("."+g+" input");e=this.exchangeData(n,e);var c=[];o.find("dl").html(this.renderSelect(n,d.attr("placeholder")||d.attr("back"),e.map(function(e){var t=Q.extend({},e,{innerHTML:e[s.keyName],value:e[s.keyVal],sel:e[s.keySel],disabled:e[s.keyDis],type:e.type,name:e[s.keyName]});if(t.sel){c.push(t)}return t})));var f=o.find("."+x);var u=o.find("dl[xid]");if(a){var p=q[n].values;p.forEach(function(e,t){u.find('dd[lay-value="'+e.value+'"]').addClass(w)});c.forEach(function(e,t){if(l.indexOf(p,e)==-1){l.addLabel(n,f,e);u.find('dd[lay-value="'+e.value+'"]').addClass(w);p.push(e)}})}else{c.forEach(function(e,t){l.addLabel(n,f,e);u.find('dd[lay-value="'+e.value+'"]').addClass(w)});q[n].values=c}this.commonHandler(n,f)};o.prototype.renderLinkage=function(l,e,n){var i=[],a=0,o={0:e},s=Y[l]?Y[l]:X;G[l]={};var t=function e(){var r=i[a++]=[],t=o;o={};Q.each(t,function(a,e){Q.each(e,function(e,t){var n={pid:a,name:t[s.keyName],value:t[s.keyVal]};G[l][n.value]=Q.extend(t,n);r.push(n);var i=t[s.keyChildren];if(i&&i.length){o[n.value]=i}})})};do{t()}while(Object.getOwnPropertyNames(o).length);var r=Q("."+m+' dl[xid="'+l+'"]').parents("."+P);var d=['
                              '];Q.each(i,function(e,t){var i=['
                              '];Q.each(t,function(e,t){var n='
                            • '+t.name+"
                            • ";i.push(n)});i.push("");d=d.concat(i)});d.push('
                              ');d.push("");r.find("dl").html(d.join(""));r.find("."+y).css("display","none")};o.prototype.renderReplace=function(n,e){var i=this;var t=Q("."+m+' dl[xid="'+n+'"]');var a=Y[n]?Y[n]:X;e=this.exchangeData(n,e);G[n]=e;var r=e.map(function(e){var t=Q.extend({},e,{innerHTML:e[a.keyName],value:e[a.keyVal],sel:e[a.keySel],disabled:e[a.keyDis],type:e.type,name:e[a.keyName]});return i.createDD(n,t)}).join("");t.find("dd:not(."+J+"),dt:not([style])").remove();t.find("dt[style]").after(Q(r))};o.prototype.exchangeData=function(e,t){var n=Y[e]?Y[e]:X;var i=n["keyChildren"];var a=n["keyDis"];G[e]={};var r=this.getChildrenList(t,i,a,[],false);return r};o.prototype.getChildrenList=function(e,t,n,i,a){var r=[],l=0;for(var o=0;o\n\t\t\t\t\t
                              \n\t\t\t\t\t\t\n\t\t\t\t\t\t'+r+"\n\t\t\t\t\t
                              \n\t\t\t\t"};o.prototype.createQuickBtn=function(e,t){return'
                              '+e.name+"
                              "};o.prototype.renderBtns=function(e,t,n){var i=this;var a=[];var r=Q('dl[xid="'+e+'"]');a.push('
                              ');Q.each(q[e].config.btns,function(e,t){a.push(i.createQuickBtn(t,n))});a.push("
                              ");a.push(this.createQuickBtn({icon:"xm-iconfont icon-caidan",name:""}));return a.join("")};o.prototype.renderSelect=function(n,e,t){var i=this;G[n]={};var a=[];if(q[n].config.btns.length){setTimeout(function(){var e=Q('dl[xid="'+n+'"]');e.parents("."+P).attr(b,q[n].config.searchType);e.find("."+l).css("max-width",e.prev().width()-54+"px")},10);a.push(['
                              ',this.renderBtns(n,null,"30px"),"
                              ",'
                              ','','',"
                              "].join(""))}else{a.push('
                              '+e+"
                              ")}if(this.isArray(t)){Q(t).each(function(e,t){if(t){if(t.type&&t.type==="optgroup"){a.push("
                              "+t.name+"
                              ")}else{a.push(i.createDD(n,t))}}})}else{Q(t).find("*").each(function(e,t){if(t.tagName.toLowerCase()=="option"&&e==0&&!t.value){return}if(t.tagName.toLowerCase()==="optgroup"){a.push("
                              "+t.label+"
                              ")}else{a.push(i.createDD(n,t))}})}a.push('
                              ');a.push('
                              没有选项
                              ');return a.join("")};o.prototype.on=function(){var n=this;this.one();Q(document).on("click",function(e){if(!Q(e.target).parents("."+I)[0]){Q("."+m+" dl ."+h).removeClass(h);Q("."+m+" dl dd."+U).removeClass(U);Q("."+m+" dl dd."+p).remove();Q.each(q,function(e,t){n.clearInput(e);if(!t.values.length){n.changePlaceHolder(Q('div[FS_ID="'+e+'"] .'+x))}})}Q("."+m+" ."+f).each(function(e,t){n.changeShow(Q(t).find("."+I),false)})})};o.prototype.calcLabelLeft=function(e,t,n){var i=this.getPosition(e[0]);i.y=i.x+e[0].clientWidth;var a=e[0].offsetLeft;if(!e.find("span").length){a=0}else if(n){var r=e.find("span:last");r.css("display")=="none"?r=r.prev()[0]:r=r[0];var l=this.getPosition(r);l.y=l.x+r.clientWidth;if(l.y>i.y){a=a-(l.y-i.y)-5}else{a=0}}else{if(t<0){var o=e.find(":last");o.css("display")=="none"?o=o.prev()[0]:o=o[0];var s=this.getPosition(o);s.y=s.x+o.clientWidth;if(s.y>i.y){a-=10}}else{if(a<0){a+=10}if(a>0){a=0}}}e.css("left",a+"px")};o.prototype.one=function(e){var C=this;Q(e?e:document).off("click","."+I).on("click","."+I,function(e){var t=Q(e.target),n=t.is(I)?t:t.parents("."+I),i=n.next(),a=i.attr("xid");Q("dl[xid]").not(i).each(function(e,t){C.clearInput(Q(t).attr("xid"))});Q("dl[xid]").not(i).find("dd."+h).removeClass(h);if(n.hasClass(N)){return false}if(t.is("."+O)||t.is("."+y+"[readonly]")){C.changeShow(n,!n.parents("."+P).hasClass(f));return false}if(n.find("."+y+":not(readonly)")[0]){var r=n.find("."+y),l={x:e.pageX,y:e.pageY},o=C.getPosition(n[0]),s=n.width();while(l.x>o.x){if(Q(document.elementFromPoint(l.x,l.y)).is(r)){r.focus();C.changeShow(n,true);return false}l.x-=50}}if(t.is("."+y)){C.changeShow(n,true);return false}if(t.is('i[fsw="'+v+'"]')){var d=C.getItem(a,t),c=i.find("dd[lay-value='"+d.value+"']");if(c.hasClass(E)){return false}C.handlerLabel(a,c,false,d);return false}C.changeShow(n,!n.parents("."+P).hasClass(f));return false});Q(e?e:document).off("click","dl."+F).on("click","dl."+F,function(e){var t=Q(e.target);if(t.is("."+H)||t.parents("."+H)[0]){t=t.is("li")?t:t.parents("li[xm-value]");var n=t.parents(".xm-select-linkage-group"),i=t.parents("dl").attr("xid");if(!i){return false}n.find(".xm-select-active").removeClass("xm-select-active");t.addClass("xm-select-active");n.nextAll(".xm-select-linkage-group").addClass("xm-select-linkage-hide");var a=n.next(".xm-select-linkage-group");a.find("li").addClass("xm-select-linkage-hide");a.find('li[pid="'+t.attr("xm-value")+'"]').removeClass("xm-select-linkage-hide");if(!a[0]||a.find("li:not(.xm-select-linkage-hide)").length==0){var r=[],l=0,o=!t.hasClass("xm-select-this");if(q[i].config.radio){t.parents(".xm-select-linkage").find(".xm-select-this").removeClass("xm-select-this")}do{r[l++]={name:t.find("span").text(),value:t.attr("xm-value")};t=t.parents(".xm-select-linkage-group").prev().find('li[xm-value="'+t.attr("pid")+'"]')}while(t.length);r.reverse();var s={name:r.map(function(e){return e.name}).join("/"),value:r.map(function(e){return e.value}).join("/")};C.handlerLabel(i,null,o,s)}else{a.removeClass("xm-select-linkage-hide")}return false}if(t.is("dl")){return false}if(t.is("dt")){t.nextUntil("dt").each(function(e,t){t=Q(t);if(t.hasClass(E)||t.hasClass(w)){}else{t.find("i:not(.icon-expand)").click()}});return false}var d=t.is("dd")?t:t.parents("dd");var c=d.parent("dl").attr("xid");if(d.hasClass(E)){return false}if(t.is("i.icon-caidan")){var f=[],u=[];t.parents("dl").find('dd[tree-folder="true"]').each(function(e,t){Q(t).attr("xm-tree-hidn")==undefined?f.push(t):u.push(t)});var p=u.length?u:f;p.forEach(function(e){return e.click()});return false}var h=d.attr("tree-id");if(h){if(t.is("i:not(.icon-expand)")){C.handlerLabel(c,d,!d.hasClass(w));return false}var v=Y[c]||X;var m=v.tree;var y=d.nextAll('dd[tree-id^="'+h+'"]');if(y&&y.length){var g=y[0].clientHeight;g?(C.addTreeHeight(d,g),g=0):(g=d.attr("xm-tree-hidn")||36,d.removeAttr("xm-tree-hidn"),d.find(">i").remove(),y=y.filter(function(e,t){return Q(t).attr("tree-id").split("-").length-1==h.split("-").length}));y.animate({height:g},150);return false}else{if(m.nextClick&&m.nextClick instanceof Function){m.nextClick(c,C.getItem(c,d),function(e){if(!e||!e.length){C.handlerLabel(c,d,!d.hasClass(w))}else{d.attr("tree-folder","true");var n=[];e.forEach(function(e,t){e.innerHTML=e[v.keyName];e[B]=JSON.stringify(h.split("-").concat([t]));n.push(C.createDD(c,e));G[c][e[v.keyVal]]=e});d.after(n.join(""))}});return false}}}if(d.hasClass(J)){var x=t.is("."+R)?t:t.parents("."+R);if(!x[0]){return false}var k=x.attr("method");var b=q[c].config.btns.filter(function(e){return e.name==k})[0];b&&b.click&&b.click instanceof Function&&b.click(c,C);return false}C.handlerLabel(c,d,!d.hasClass(w));return false})};o.prototype.addTreeHeight=function(e,i){var a=this;var t=e.attr("tree-id");var n=e.nextAll('dd[tree-id^="'+t+'"]');if(n.length){e.append('');e.attr("xm-tree-hidn",i);n.each(function(e,t){var n=Q(t);a.addTreeHeight(n,i)})}};var G={};o.prototype.getItem=function(e,t){if(t instanceof Q){if(t.is('i[fsw="'+v+'"]')){var n=t.parent();return G[e][t]||{name:n.find("font").text(),value:n.attr("value")}}var i=t.attr("lay-value");return!G[e][i]?G[e][i]={name:t.find("span[name]").attr("name"),value:i}:G[e][i]}else if(typeof t=="string"&&t.indexOf("/")!=-1){return G[e][t]||{name:this.valToName(e,t),value:t}}return G[e][t]};o.prototype.linkageAdd=function(e,t){var n=Q('dl[xid="'+e+'"]');n.find(".xm-select-active").removeClass("xm-select-active");var i=t.value.split("/");var a=void 0,r=void 0,l=0;var o=[];do{a=i[l];r=n.find(".xm-select-linkage-group"+(l+1)+' li[xm-value="'+a+'"]');r[0]&&o.push(r);l++}while(r.length&&a!=undefined);if(o.length==i.length){Q.each(o,function(e,t){t.addClass("xm-select-this")})}};o.prototype.linkageDel=function(e,t){var n=Q('dl[xid="'+e+'"]');var i=t.value.split("/");var a=void 0,r=void 0,l=i.length-1;do{a=i[l];r=n.find(".xm-select-linkage-group"+(l+1)+' li[xm-value="'+a+'"]');if(!r.parent().next().find("li[pid="+a+"].xm-select-this").length){r.removeClass("xm-select-this")}l--}while(r.length&&a!=undefined)};o.prototype.valToName=function(e,t){var i=Q('dl[xid="'+e+'"]');var n=(t+"").split("/");if(!n.length){return null}var a=[];Q.each(n,function(e,t){var n=i.find(".xm-select-linkage-group"+(e+1)+' li[xm-value="'+t+'"] span').text();a.push(n)});return a.length==n.length?a.join("/"):null};o.prototype.commonHandler=function(e,t){if(!t||!t[0]){return}this.checkHideSpan(e,t);this.changePlaceHolder(t);this.retop(t.parents("."+P));this.calcLabelLeft(t,0,true);this.setHidnVal(e,t);t.parents("."+I+" ."+v).attr("title",q[e].values.map(function(e){return e.name}).join(","))};o.prototype.initVal=function(e){var o=this;var t={};if(e){t[e]=q[e]}else{t=q}Q.each(t,function(n,e){var t=e.values,i=Q('dl[xid="'+n+'"]').parent(),a=i.find("."+x),r=i.find("dl");r.find("dd."+w).removeClass(w);var l=t.concat([]);l.concat([]).forEach(function(e,t){o.addLabel(n,a,e);r.find('dd[lay-value="'+e.value+'"]').addClass(w)});if(e.config.radio){l.length&&t.push(l[l.length-1])}o.commonHandler(n,a)})};o.prototype.setHidnVal=function(e,t){if(!t||!t[0]){return}t.parents("."+m).find("."+_).val(q[e].values.map(function(e){return e.value}).join(","))};o.prototype.handlerLabel=function(e,t,n,i,a){var r=Q('[xid="'+e+'"]').prev().find("."+x),l=t&&this.getItem(e,t),o=q[e].values,s=q[e].config.on||z.on[e],d=q[e].config.endOn||z.endOn[e];if(i){l=i}var c=q[e];if(n&&c.config.max&&c.values.length>=c.config.max){var f=z.maxTips[e]||q[e].config.maxTips;f&&f(e,o.concat([]),l,c.config.max);return}if(!a){if(s&&s instanceof Function&&s(e,o.concat([]),l,n,t&&t.hasClass(E))==false){return}}var u=Q('dl[xid="'+e+'"]');n?(t&&t[0]?(t.addClass(w),t.removeClass(p)):u.find(".xm-select-linkage")[0]&&this.linkageAdd(e,l),this.addLabel(e,r,l),o.push(l)):(t&&t[0]?t.removeClass(w):u.find(".xm-select-linkage")[0]&&this.linkageDel(e,l),this.delLabel(e,r,l),this.remove(o,l));if(!r[0])return;if(c.config.radio){this.changeShow(r,false)}r.parents("."+I).prev().removeClass("layui-form-danger");c.config.clearInput&&this.clearInput(e);this.commonHandler(e,r);!a&&d&&d instanceof Function&&d(e,o.concat([]),l,n,t&&t.hasClass(E))};o.prototype.addLabel=function(e,t,n){if(!n)return;var i='fsw="'+v+'"';var a=[Q(""+n.name+""),Q("')],r=a[0],l=a[1];r.append(l);var o=q[e];if(o.config.radio){o.values.length=0;Q('dl[xid="'+e+'"]').find("dd."+w+':not([lay-value="'+n.value+'"])').removeClass(w);t.find("span").remove()}t.find("input").css("width","50px");t.find("input").before(r)};o.prototype.delLabel=function(e,t,n){if(!n)return;t.find('span[value="'+n.value+'"]:first').remove()};o.prototype.checkHideSpan=function(e,t){var n=t.parents("."+v)[0].offsetHeight+5;t.find("span.xm-span-hide").removeClass("xm-span-hide");t.find("span[style]").remove();var i=q[e].config.showCount;t.find("span").each(function(e,t){if(e>=i){Q(t).addClass("xm-span-hide")}});var a=t.find("span:eq("+i+")");a[0]&&a.before(Q(' + '+(t.find("span").length-i)+""))};o.prototype.retop=function(e){var t=e.find("dl"),n=e.offset().top+e.outerHeight()+5-c.scrollTop(),i=t.outerHeight();var a=e.hasClass("layui-form-selectup")||t.css("top").indexOf("-")!=-1||n+i>c.height()&&n>=i;e=e.find("."+v);var r=q[t.attr("xid")];var l=t.parents(".layui-form-pane")[0]&&t.prev()[0].clientHeight>38?14:10;if(r&&r.config.direction=="up"||a){a=true;if(r&&r.config.direction=="down"){a=false}}var o=e[0].offsetTop+e.height()+l;if(a){t.css({top:"auto",bottom:o+3+"px"})}else{t.css({top:o+"px",bottom:"auto"})}};o.prototype.changeShow=function(e,t){Q(".layui-form-selected").removeClass("layui-form-selected");var n=e.parents("."+P),i=n.hasClass(f),a=n.find("dl").attr("xid");Q("."+m+" ."+P).not(n).removeClass(f);if(t){this.retop(n);n.addClass(f);n.find("."+y).focus();if(!n.find("dl dd[lay-value]:not(."+J+")").length){n.find("dl ."+V).addClass(U)}}else{n.removeClass(f);this.clearInput(a);n.find("dl ."+U).removeClass(U);n.find("dl dd."+h).removeClass(h);n.find("dl dd."+p).remove();if(a&&q[a]&&q[a].config.isEmpty){this.triggerSearch(n)}this.changePlaceHolder(n.find("."+x))}if(t!=i){var r=q[a].config.opened||z.opened[a];t&&r&&r instanceof Function&&r(a);var l=q[a].config.closed||z.closed[a];!t&&l&&l instanceof Function&&l(a)}};o.prototype.changePlaceHolder=function(e){var t=e.parents("."+I);t[0]||(t=e.parents("dl").prev());if(!t[0]){return}var n=e.parents("."+m).find("dl[xid]").attr("xid");if(q[n]&&q[n].config.height){}else{var i=t.find("."+v)[0].clientHeight;t.css("height",(i>36?i+4:i)+"px");var a=t.parents("."+m).parent().prev();if(a.is(".layui-form-label")&&t.parents(".layui-form-pane")[0]){i=i>36?i+4:i;t.css("height",i+"px");a.css({height:i+2+"px",lineHeight:i-18+"px"})}}var r=t.find("."+g+" input"),l=!e.find("span:last")[0]&&!t.find("."+y).val();if(l){var o=r.attr("back");r.removeAttr("back");r.attr("placeholder",o)}else{var s=r.attr("placeholder");r.removeAttr("placeholder");r.attr("back",s)}};o.prototype.indexOf=function(e,t){for(var n=0;n-1){e.splice(n,1);return true}return false};o.prototype.selectAll=function(i,a,e){var r=this;var l=Q('[xid="'+i+'"]');if(!l[0]){return}if(l.find(".xm-select-linkage")[0]){return}l.find("dd[lay-value]:not(."+J+"):not(."+w+")"+(e?":not(."+E+")":"")).each(function(e,t){t=Q(t);var n=r.getItem(i,t);r.handlerLabel(i,l.find('dd[lay-value="'+n.value+'"]'),true,n,!a)})};o.prototype.removeAll=function(n,i,a){var r=this;var l=Q('[xid="'+n+'"]');if(!l[0]){return}if(l.find(".xm-select-linkage")[0]){q[n].values.concat([]).forEach(function(e,t){var n=e.value.split("/");var i=void 0,a=void 0,r=0;do{i=n[r++];a=l.find(".xm-select-linkage-group"+r+':not(.xm-select-linkage-hide) li[xm-value="'+i+'"]');a.click()}while(a.length&&i!=undefined)});return}q[n].values.concat([]).forEach(function(e,t){if(a&&l.find('dd[lay-value="'+e.value+'"]').hasClass(E)){}else{r.handlerLabel(n,l.find('dd[lay-value="'+e.value+'"]'),false,e,!i)}})};o.prototype.reverse=function(i,a,e){var r=this;var l=Q('[xid="'+i+'"]');if(!l[0]){return}if(l.find(".xm-select-linkage")[0]){return}l.find("dd[lay-value]:not(."+J+")"+(e?":not(."+E+")":"")).each(function(e,t){t=Q(t);var n=r.getItem(i,t);r.handlerLabel(i,l.find('dd[lay-value="'+n.value+'"]'),!t.hasClass(w),n,!a)})};o.prototype.skin=function(e){var t=["default","primary","normal","warm","danger"];var n=t[Math.floor(Math.random()*t.length)];Q('dl[xid="'+e+'"]').parents("."+m).find("."+P).attr("xm-select-skin",n);this.check(e)&&this.commonHandler(e,Q('dl[xid="'+e+'"]').parents("."+m).find("."+x))};o.prototype.getPosition=function(e){var t=0,n=0;while(e!=null){t+=e.offsetLeft;n+=e.offsetTop;e=e.offsetParent}return{x:t,y:n}};o.prototype.onreset=function(){Q(document).on("click","[type=reset]",function(e){Q(e.target).parents("form").find("."+m+" dl[xid]").each(function(e,t){var n=t.getAttribute("xid"),i=Q(t),a=void 0,r={};K.removeAll(n);q[n].config.init.forEach(function(e,t){if(e&&(!r[e]||q[n].config.repeat)&&(a=i.find('dd[lay-value="'+e.value+'"]'))[0]){K.handlerLabel(n,a,true);r[e]=1}})})})};o.prototype.bindEvent=function(n,e,i){if(e&&e instanceof Function){i=e;e=null}if(i&&i instanceof Function){if(!e){Q.each(q,function(e,t){q[e]?q[e].config[n]=i:z[n][e]=i})}else{q[e]?(q[e].config[n]=i,delete z[n][e]):z[n][e]=i}}};o.prototype.check=function(e,t){if(Q('dl[xid="'+e+'"]').length){return true}else if(Q('select[xm-select="'+e+'"]').length){if(!t){this.render(e,Q('select[xm-select="'+e+'"]'));return true}}else{delete q[e];return false}};o.prototype.render=function(e,t){K.init(t);K.one(Q('dl[xid="'+e+'"]').parents("."+m));K.initVal(e)};o.prototype.log=function(e){console.log(e)};var u=function e(){this.v=t;this.render()};var K=new o;u.prototype.value=function(i,e,t){if(typeof i!="string"){return[]}var a=q[i];if(!K.check(i)){return[]}if(typeof e=="string"||e==undefined){var n=a.values.concat([])||[];if(e=="val"){return n.map(function(e){return e.value})}if(e=="valStr"){return n.map(function(e){return e.value}).join(",")}if(e=="name"){return n.map(function(e){return e.name})}if(e=="nameStr"){return n.map(function(e){return e.name}).join(",")}return n}if(K.isArray(e)){var r=Q('[xid="'+i+'"]'),l={},o=void 0,s=true;if(t==false){s=false}else if(t==true){s=true}else{K.removeAll(i)}if(s){a.values.forEach(function(e,t){l[e.value]=1})}e.forEach(function(e,t){if(e&&(!l[e]||a.config.repeat)){if((o=r.find('dd[lay-value="'+e+'"]'))[0]){K.handlerLabel(i,o,s,null,true);l[e]=1}else{var n=K.valToName(i,e);if(n){K.handlerLabel(i,o,s,K.getItem(i,e),true);l[e]=1}}}})}};u.prototype.on=function(e,t,n){K.bindEvent(n?"endOn":"on",e,t);return this};u.prototype.filter=function(e,t){K.bindEvent("filter",e,t);return this};u.prototype.maxTips=function(e,t){K.bindEvent("maxTips",e,t);return this};u.prototype.opened=function(e,t){K.bindEvent("opened",e,t);return this};u.prototype.closed=function(e,t){K.bindEvent("closed",e,t);return this};u.prototype.config=function(e,n,t){if(e&&(typeof e==="undefined"?"undefined":_typeof(e))=="object"){t=n==true;n=e;e=null}if(n&&(typeof n==="undefined"?"undefined":_typeof(n))=="object"){if(t){n.header||(n.header={});n.header["Content-Type"]="application/json; charset=UTF-8";n.dataType="json"}e?(Y[e]=Q.extend(true,{},Y[e]||X,n),!K.check(e)&&this.render(e),q[e]&&n.direction&&(q[e].config.direction=n.direction),q[e]&&n.clearInput&&(q[e].config.clearInput=true),n.searchUrl&&q[e]&&K.triggerSearch(Q("."+m+' dl[xid="'+e+'"]').parents("."+P),true)):(Q.extend(true,X,n),Q.each(Y,function(e,t){Q.extend(true,t,n)}))}return this};u.prototype.render=function(e,t){var n;if(e&&(typeof e==="undefined"?"undefined":_typeof(e))=="object"){t=e;e=null}var i=t?(n={init:t.init,disabled:t.disabled,max:t.max,isSearch:t.isSearch,searchUrl:t.searchUrl,isCreate:t.isCreate,radio:t.radio,skin:t.skin,direction:t.direction,height:t.height,formname:t.formname,layverify:t.layverify,layverType:t.layverType,showCount:t.showCount,placeholder:t.placeholder,create:t.create,filter:t.filter,maxTips:t.maxTips,on:t.on},_defineProperty(n,"on",t.on),_defineProperty(n,"opened",t.opened),_defineProperty(n,"closed",t.closed),_defineProperty(n,"template",t.template),_defineProperty(n,"clearInput",t.clearInput),n):{};t&&t.searchType!=undefined&&(i.searchType=t.searchType=="dl"?1:0);if(e){r[e]={};Q.extend(r[e],q[e]?q[e].config:{},i)}else{Q.extend(a,i)}(Q("select["+v+'="'+e+'"]')[0]?Q("select["+v+'="'+e+'"]'):Q("select["+v+"]")).each(function(e,t){var n=t.getAttribute(v);K.render(n,t);setTimeout(function(){return K.setHidnVal(n,Q('select[xm-select="'+n+'"] + div.'+m+" ."+x))},10)});return this};u.prototype.disabled=function(e){var t={};e?K.check(e)&&(t[e]=q[e]):t=q;Q.each(t,function(e,t){Q('dl[xid="'+e+'"]').prev().addClass(N)});return this};u.prototype.undisabled=function(e){var t={};e?K.check(e)&&(t[e]=q[e]):t=q;Q.each(t,function(e,t){Q('dl[xid="'+e+'"]').prev().removeClass(N)});return this};u.prototype.data=function(e,t,n){if(!e||!t||!n){K.log("id: "+e+" param error !!!");return this}if(!K.check(e)){K.log("id: "+e+" not render !!!");return this}this.value(e,[]);this.config(e,n);if(t=="local"){K.renderData(e,n.arr,n.linkage==true,n.linkageWidth?n.linkageWidth:"100")}else if(t=="server"){K.ajax(e,n.url,n.keyword,n.linkage==true,n.linkageWidth?n.linkageWidth:"100")}return this};u.prototype.btns=function(e,o,s){if(e&&K.isArray(e)){o=e;e=null}if(!o||!K.isArray(o)){return this}var t={};e?K.check(e)&&(t[e]=q[e]):t=q;o=o.map(function(e){if(typeof e=="string"){if(e=="select"){return i[0]}if(e=="remove"){return i[1]}if(e=="reverse"){return i[2]}if(e=="skin"){return i[3]}}return e});Q.each(t,function(e,t){t.config.btns=o;var n=Q('dl[xid="'+e+'"]').find("."+J+":first");if(o.length){var i=s&&s.show&&(s.show=="name"||s.show=="icon")?s.show:"";var a=K.renderBtns(e,i,s&&s.space?s.space:"30px");n.html(a)}else{var r=n.parents("."+P).find("."+g+" input");var l=r.attr("placeholder")||r.attr("back");n.html(l);n.removeAttr("style")}});return this};u.prototype.search=function(e,t){if(e&&K.check(e)){Y[e]=Q.extend(true,{},Y[e]||X,{first:true,searchVal:t});K.triggerSearch(Q('dl[xid="'+e+'"]').parents("."+P),true)}return this};u.prototype.replace=function(e,t,n){var i=this;if(!e||!t||!n){K.log("id: "+e+" param error !!!");return this}if(!K.check(e,true)){K.log("id: "+e+" not render !!!");return this}var a=this.value(e,"val");this.value(e,[]);this.config(e,n);if(t=="local"){K.renderData(e,n.arr,n.linkage==true,n.linkageWidth?n.linkageWidth:"100",false,true);this.value(e,a,true)}else if(t=="server"){K.ajax(e,n.url,n.keyword,n.linkage==true,n.linkageWidth?n.linkageWidth:"100",false,function(e){i.value(e,a,true)},true)}};return new u}); \ No newline at end of file diff --git a/devtools/target/classes/templates/devtools/build/index.html b/devtools/target/classes/templates/devtools/build/index.html deleted file mode 100644 index 9ae5d84..0000000 --- a/devtools/target/classes/templates/devtools/build/index.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -
                              -
                              -
                              -
                              - 表单元素 -
                              -
                              -
                              - 将表单元素拖拽到构建面板中即可生成表单块 -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - - - -
                              -
                              -
                              - -
                              - -
                              -
                              - -
                              - -
                              - - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - - -
                              -
                              -
                              -
                              -
                              - -
                              -
                              -
                              - 构建面板 - -
                              -
                              -
                              -
                              -
                              - - - - \ No newline at end of file diff --git a/devtools/target/classes/templates/devtools/generate/index.html b/devtools/target/classes/templates/devtools/generate/index.html deleted file mode 100644 index b0ae0bc..0000000 --- a/devtools/target/classes/templates/devtools/generate/index.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - -
                              -
                              - 代码生成 - - -
                              -
                              -
                              - 基本信息 -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              -
                              -
                              -
                              - -
                              - -
                              -
                              -
                              - -
                              - - -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              -
                              实体类
                              -
                              - - - - -
                              -
                              ()
                              -
                              -
                              - - - - - - - - - - - - - - - - - - - - - - - -
                              #字段名称字段标题数据类型查询(可选)列表显示字段验证(可选)
                              - - - - - - - -
                              -
                              -
                              -
                              -
                              -
                              模板信息
                              -
                              创建忽略
                              -
                              模块路径:.xxx.
                              -
                              -
                              -
                              实体类:
                              -
                              控制器:Controller
                              -
                              服务层:Service
                              -
                              dao层:Repository
                              -
                              认证类:Valid
                              -
                              列表页面:/index.html
                              -
                              添加页面:/add.html
                              -
                              详细页面:/detail.html
                              -
                              -
                              -
                              -
                              - - - - - - - - \ No newline at end of file diff --git a/modules/business/target/classes/com/cwhelp/modules/business/domain/BssDept.class b/modules/business/target/classes/com/cwhelp/modules/business/domain/BssDept.class deleted file mode 100644 index 0f0a50d..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/domain/BssDept.class and /dev/null differ diff --git a/modules/business/target/classes/com/cwhelp/modules/business/domain/BssPlatform.class b/modules/business/target/classes/com/cwhelp/modules/business/domain/BssPlatform.class deleted file mode 100644 index a547b1b..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/domain/BssPlatform.class and /dev/null differ diff --git a/modules/business/target/classes/com/cwhelp/modules/business/repository/BssDeptRepository.class b/modules/business/target/classes/com/cwhelp/modules/business/repository/BssDeptRepository.class deleted file mode 100644 index c537e3e..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/repository/BssDeptRepository.class and /dev/null differ diff --git a/modules/business/target/classes/com/cwhelp/modules/business/repository/BssPlatformRepository.class b/modules/business/target/classes/com/cwhelp/modules/business/repository/BssPlatformRepository.class deleted file mode 100644 index 4b69693..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/repository/BssPlatformRepository.class and /dev/null differ diff --git a/modules/business/target/classes/com/cwhelp/modules/business/service/BssDeptService.class b/modules/business/target/classes/com/cwhelp/modules/business/service/BssDeptService.class deleted file mode 100644 index 4e22031..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/service/BssDeptService.class and /dev/null differ diff --git a/modules/business/target/classes/com/cwhelp/modules/business/service/BssPlatformService.class b/modules/business/target/classes/com/cwhelp/modules/business/service/BssPlatformService.class deleted file mode 100644 index 186ddc7..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/service/BssPlatformService.class and /dev/null differ diff --git a/modules/business/target/classes/com/cwhelp/modules/business/service/impl/BssDeptServiceImpl.class b/modules/business/target/classes/com/cwhelp/modules/business/service/impl/BssDeptServiceImpl.class deleted file mode 100644 index 8d54113..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/service/impl/BssDeptServiceImpl.class and /dev/null differ diff --git a/modules/business/target/classes/com/cwhelp/modules/business/service/impl/BssPlatformServiceImpl.class b/modules/business/target/classes/com/cwhelp/modules/business/service/impl/BssPlatformServiceImpl.class deleted file mode 100644 index 8cf29ab..0000000 Binary files a/modules/business/target/classes/com/cwhelp/modules/business/service/impl/BssPlatformServiceImpl.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/domain/ActionLog.class b/modules/system/target/classes/com/cwhelp/modules/system/domain/ActionLog.class deleted file mode 100644 index f0bce73..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/domain/ActionLog.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/domain/Dept.class b/modules/system/target/classes/com/cwhelp/modules/system/domain/Dept.class deleted file mode 100644 index 8f535b6..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/domain/Dept.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/domain/Dict.class b/modules/system/target/classes/com/cwhelp/modules/system/domain/Dict.class deleted file mode 100644 index 934a2ee..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/domain/Dict.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/domain/Menu.class b/modules/system/target/classes/com/cwhelp/modules/system/domain/Menu.class deleted file mode 100644 index 65e1d4d..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/domain/Menu.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/domain/Role.class b/modules/system/target/classes/com/cwhelp/modules/system/domain/Role.class deleted file mode 100644 index 0b8fc2d..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/domain/Role.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/domain/Upload.class b/modules/system/target/classes/com/cwhelp/modules/system/domain/Upload.class deleted file mode 100644 index b785bc4..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/domain/Upload.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/domain/User.class b/modules/system/target/classes/com/cwhelp/modules/system/domain/User.class deleted file mode 100644 index 6aa55c2..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/domain/User.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/enums/ActionLogEnum.class b/modules/system/target/classes/com/cwhelp/modules/system/enums/ActionLogEnum.class deleted file mode 100644 index 0eacbcc..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/enums/ActionLogEnum.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/enums/DictTypeEnum.class b/modules/system/target/classes/com/cwhelp/modules/system/enums/DictTypeEnum.class deleted file mode 100644 index 1e0392b..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/enums/DictTypeEnum.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/enums/MenuTypeEnum.class b/modules/system/target/classes/com/cwhelp/modules/system/enums/MenuTypeEnum.class deleted file mode 100644 index e045748..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/enums/MenuTypeEnum.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/ActionLogRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/ActionLogRepository.class deleted file mode 100644 index b029d4c..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/ActionLogRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/BaseRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/BaseRepository.class deleted file mode 100644 index 3581032..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/BaseRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/DeptRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/DeptRepository.class deleted file mode 100644 index 25a1e7e..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/DeptRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/DictRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/DictRepository.class deleted file mode 100644 index 4af363a..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/DictRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/MenuRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/MenuRepository.class deleted file mode 100644 index c323ff4..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/MenuRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/RoleRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/RoleRepository.class deleted file mode 100644 index 7af531d..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/RoleRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/UploadRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/UploadRepository.class deleted file mode 100644 index 0431e6f..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/UploadRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/repository/UserRepository.class b/modules/system/target/classes/com/cwhelp/modules/system/repository/UserRepository.class deleted file mode 100644 index df2574d..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/repository/UserRepository.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/ActionLogService.class b/modules/system/target/classes/com/cwhelp/modules/system/service/ActionLogService.class deleted file mode 100644 index 4406883..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/ActionLogService.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/DeptService.class b/modules/system/target/classes/com/cwhelp/modules/system/service/DeptService.class deleted file mode 100644 index 103d212..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/DeptService.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/DictService.class b/modules/system/target/classes/com/cwhelp/modules/system/service/DictService.class deleted file mode 100644 index 3d0a5b5..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/DictService.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/MenuService.class b/modules/system/target/classes/com/cwhelp/modules/system/service/MenuService.class deleted file mode 100644 index da58cf1..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/MenuService.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/RoleService.class b/modules/system/target/classes/com/cwhelp/modules/system/service/RoleService.class deleted file mode 100644 index fee178e..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/RoleService.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/UploadService.class b/modules/system/target/classes/com/cwhelp/modules/system/service/UploadService.class deleted file mode 100644 index b114c01..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/UploadService.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/UserService.class b/modules/system/target/classes/com/cwhelp/modules/system/service/UserService.class deleted file mode 100644 index 661785e..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/UserService.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/ActionLogServiceImpl.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/ActionLogServiceImpl.class deleted file mode 100644 index 219a25f..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/ActionLogServiceImpl.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/DeptServiceImpl.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/DeptServiceImpl.class deleted file mode 100644 index 009b168..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/DeptServiceImpl.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/DictServiceImpl.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/DictServiceImpl.class deleted file mode 100644 index 8e8a1e2..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/DictServiceImpl.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/MenuServiceImpl.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/MenuServiceImpl.class deleted file mode 100644 index 82c5e6d..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/MenuServiceImpl.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/RoleServiceImpl.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/RoleServiceImpl.class deleted file mode 100644 index 2adc039..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/RoleServiceImpl.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UploadServiceImpl.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UploadServiceImpl.class deleted file mode 100644 index 4da48d3..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UploadServiceImpl.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UserServiceImpl$1.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UserServiceImpl$1.class deleted file mode 100644 index 16c2684..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UserServiceImpl$1.class and /dev/null differ diff --git a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UserServiceImpl.class b/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UserServiceImpl.class deleted file mode 100644 index 077cb77..0000000 Binary files a/modules/system/target/classes/com/cwhelp/modules/system/service/impl/UserServiceImpl.class and /dev/null differ