').html(lang.errorNotSupport)).hide();
- return;
- } else if (!editor.getOpt('videoActionName')) {
- $('#filePickerReady').after($('
').html(lang.errorLoadConfig)).hide();
- return;
- }
-
- uploader = _this.uploader = WebUploader.create({
- pick: {
- id: '#filePickerReady',
- label: lang.uploadSelectFile
- },
- swf: '../../third-party/webuploader/Uploader.swf',
- server: actionUrl,
- fileVal: editor.getOpt('videoFieldName'),
- duplicate: true,
- fileSingleSizeLimit: fileMaxSize,
- compress: false
- });
- uploader.addButton({
- id: '#filePickerBlock'
- });
- uploader.addButton({
- id: '#filePickerBtn',
- label: lang.uploadAddFile
- });
-
- setState('pedding');
-
- // 当有文件添加进来时执行,负责view的创建
- function addFile(file) {
- var $li = $('
' +
- '' + file.name + '
' +
- '
' +
- '
' +
- ' '),
-
- $btns = $('
' +
- '' + lang.uploadDelete + ' ' +
- '' + lang.uploadTurnRight + ' ' +
- '' + lang.uploadTurnLeft + '
').appendTo($li),
- $prgress = $li.find('p.progress span'),
- $wrap = $li.find('p.imgWrap'),
- $info = $('
').hide().appendTo($li),
-
- showError = function (code) {
- switch (code) {
- case 'exceed_size':
- text = lang.errorExceedSize;
- break;
- case 'interrupt':
- text = lang.errorInterrupt;
- break;
- case 'http':
- text = lang.errorHttp;
- break;
- case 'not_allow_type':
- text = lang.errorFileType;
- break;
- default:
- text = lang.errorUploadRetry;
- break;
- }
- $info.text(text).show();
- };
-
- if (file.getStatus() === 'invalid') {
- showError(file.statusText);
- } else {
- $wrap.text(lang.uploadPreview);
- if ('|png|jpg|jpeg|bmp|gif|'.indexOf('|'+file.ext.toLowerCase()+'|') == -1) {
- $wrap.empty().addClass('notimage').append('
' +
- '
' + file.name + ' ');
- } else {
- if (browser.ie && browser.version <= 7) {
- $wrap.text(lang.uploadNoPreview);
- } else {
- uploader.makeThumb(file, function (error, src) {
- if (error || !src || (/^data:/.test(src) && browser.ie && browser.version <= 7)) {
- $wrap.text(lang.uploadNoPreview);
- } else {
- var $img = $('
');
- $wrap.empty().append($img);
- $img.on('error', function () {
- $wrap.text(lang.uploadNoPreview);
- });
- }
- }, thumbnailWidth, thumbnailHeight);
- }
- }
- percentages[ file.id ] = [ file.size, 0 ];
- file.rotation = 0;
-
- /* 检查文件格式 */
- if (!file.ext || acceptExtensions.indexOf(file.ext.toLowerCase()) == -1) {
- showError('not_allow_type');
- uploader.removeFile(file);
- }
- }
-
- file.on('statuschange', function (cur, prev) {
- if (prev === 'progress') {
- $prgress.hide().width(0);
- } else if (prev === 'queued') {
- $li.off('mouseenter mouseleave');
- $btns.remove();
- }
- // 成功
- if (cur === 'error' || cur === 'invalid') {
- showError(file.statusText);
- percentages[ file.id ][ 1 ] = 1;
- } else if (cur === 'interrupt') {
- showError('interrupt');
- } else if (cur === 'queued') {
- percentages[ file.id ][ 1 ] = 0;
- } else if (cur === 'progress') {
- $info.hide();
- $prgress.css('display', 'block');
- } else if (cur === 'complete') {
- }
-
- $li.removeClass('state-' + prev).addClass('state-' + cur);
- });
-
- $li.on('mouseenter', function () {
- $btns.stop().animate({height: 30});
- });
- $li.on('mouseleave', function () {
- $btns.stop().animate({height: 0});
- });
-
- $btns.on('click', 'span', function () {
- var index = $(this).index(),
- deg;
-
- switch (index) {
- case 0:
- uploader.removeFile(file);
- return;
- case 1:
- file.rotation += 90;
- break;
- case 2:
- file.rotation -= 90;
- break;
- }
-
- if (supportTransition) {
- deg = 'rotate(' + file.rotation + 'deg)';
- $wrap.css({
- '-webkit-transform': deg,
- '-mos-transform': deg,
- '-o-transform': deg,
- 'transform': deg
- });
- } else {
- $wrap.css('filter', 'progid:DXImageTransform.Microsoft.BasicImage(rotation=' + (~~((file.rotation / 90) % 4 + 4) % 4) + ')');
- }
-
- });
-
- $li.insertBefore($filePickerBlock);
- }
-
- // 负责view的销毁
- function removeFile(file) {
- var $li = $('#' + file.id);
- delete percentages[ file.id ];
- updateTotalProgress();
- $li.off().find('.file-panel').off().end().remove();
- }
-
- function updateTotalProgress() {
- var loaded = 0,
- total = 0,
- spans = $progress.children(),
- percent;
-
- $.each(percentages, function (k, v) {
- total += v[ 0 ];
- loaded += v[ 0 ] * v[ 1 ];
- });
-
- percent = total ? loaded / total : 0;
-
- spans.eq(0).text(Math.round(percent * 100) + '%');
- spans.eq(1).css('width', Math.round(percent * 100) + '%');
- updateStatus();
- }
-
- function setState(val, files) {
-
- if (val != state) {
-
- var stats = uploader.getStats();
-
- $upload.removeClass('state-' + state);
- $upload.addClass('state-' + val);
-
- switch (val) {
-
- /* 未选择文件 */
- case 'pedding':
- $queue.addClass('element-invisible');
- $statusBar.addClass('element-invisible');
- $placeHolder.removeClass('element-invisible');
- $progress.hide(); $info.hide();
- uploader.refresh();
- break;
-
- /* 可以开始上传 */
- case 'ready':
- $placeHolder.addClass('element-invisible');
- $queue.removeClass('element-invisible');
- $statusBar.removeClass('element-invisible');
- $progress.hide(); $info.show();
- $upload.text(lang.uploadStart);
- uploader.refresh();
- break;
-
- /* 上传中 */
- case 'uploading':
- $progress.show(); $info.hide();
- $upload.text(lang.uploadPause);
- break;
-
- /* 暂停上传 */
- case 'paused':
- $progress.show(); $info.hide();
- $upload.text(lang.uploadContinue);
- break;
-
- case 'confirm':
- $progress.show(); $info.hide();
- $upload.text(lang.uploadStart);
-
- stats = uploader.getStats();
- if (stats.successNum && !stats.uploadFailNum) {
- setState('finish');
- return;
- }
- break;
-
- case 'finish':
- $progress.hide(); $info.show();
- if (stats.uploadFailNum) {
- $upload.text(lang.uploadRetry);
- } else {
- $upload.text(lang.uploadStart);
- }
- break;
- }
-
- state = val;
- updateStatus();
-
- }
-
- if (!_this.getQueueCount()) {
- $upload.addClass('disabled')
- } else {
- $upload.removeClass('disabled')
- }
-
- }
-
- function updateStatus() {
- var text = '', stats;
-
- if (state === 'ready') {
- text = lang.updateStatusReady.replace('_', fileCount).replace('_KB', WebUploader.formatSize(fileSize));
- } else if (state === 'confirm') {
- stats = uploader.getStats();
- if (stats.uploadFailNum) {
- text = lang.updateStatusConfirm.replace('_', stats.successNum).replace('_', stats.successNum);
- }
- } else {
- stats = uploader.getStats();
- text = lang.updateStatusFinish.replace('_', fileCount).
- replace('_KB', WebUploader.formatSize(fileSize)).
- replace('_', stats.successNum);
-
- if (stats.uploadFailNum) {
- text += lang.updateStatusError.replace('_', stats.uploadFailNum);
- }
- }
-
- $info.html(text);
- }
-
- uploader.on('fileQueued', function (file) {
- fileCount++;
- fileSize += file.size;
-
- if (fileCount === 1) {
- $placeHolder.addClass('element-invisible');
- $statusBar.show();
- }
-
- addFile(file);
- });
-
- uploader.on('fileDequeued', function (file) {
- fileCount--;
- fileSize -= file.size;
-
- removeFile(file);
- updateTotalProgress();
- });
-
- uploader.on('filesQueued', function (file) {
- if (!uploader.isInProgress() && (state == 'pedding' || state == 'finish' || state == 'confirm' || state == 'ready')) {
- setState('ready');
- }
- updateTotalProgress();
- });
-
- uploader.on('all', function (type, files) {
- switch (type) {
- case 'uploadFinished':
- setState('confirm', files);
- break;
- case 'startUpload':
- /* 添加额外的GET参数 */
- var params = utils.serializeParam(editor.queryCommandValue('serverparam')) || '',
- url = utils.formatUrl(actionUrl + (actionUrl.indexOf('?') == -1 ? '?':'&') + 'encode=utf-8&' + params);
- uploader.option('server', url);
- setState('uploading', files);
- break;
- case 'stopUpload':
- setState('paused', files);
- break;
- }
- });
-
- uploader.on('uploadBeforeSend', function (file, data, header) {
- //这里可以通过data对象添加POST参数
- header['X_Requested_With'] = 'XMLHttpRequest';
- });
-
- uploader.on('uploadProgress', function (file, percentage) {
- var $li = $('#' + file.id),
- $percent = $li.find('.progress span');
-
- $percent.css('width', percentage * 100 + '%');
- percentages[ file.id ][ 1 ] = percentage;
- updateTotalProgress();
- });
-
- uploader.on('uploadSuccess', function (file, ret) {
- var $file = $('#' + file.id);
- try {
- var responseText = (ret._raw || ret),
- json = utils.str2json(responseText);
- if (json.state == 'SUCCESS') {
- uploadVideoList.push({
- 'url': json.url,
- 'type': json.type,
- 'original':json.original
- });
- $file.append('
');
- } else {
- $file.find('.error').text(json.state).show();
- }
- } catch (e) {
- $file.find('.error').text(lang.errorServerUpload).show();
- }
- });
-
- uploader.on('uploadError', function (file, code) {
- });
- uploader.on('error', function (code, file) {
- if (code == 'Q_TYPE_DENIED' || code == 'F_EXCEED_SIZE') {
- addFile(file);
- }
- });
- uploader.on('uploadComplete', function (file, ret) {
- });
-
- $upload.on('click', function () {
- if ($(this).hasClass('disabled')) {
- return false;
- }
-
- if (state === 'ready') {
- uploader.upload();
- } else if (state === 'paused') {
- uploader.upload();
- } else if (state === 'uploading') {
- uploader.stop();
- }
- });
-
- $upload.addClass('state-' + state);
- updateTotalProgress();
- },
- getQueueCount: function () {
- var file, i, status, readyFile = 0, files = this.uploader.getFiles();
- for (i = 0; file = files[i++]; ) {
- status = file.getStatus();
- if (status == 'queued' || status == 'uploading' || status == 'progress') readyFile++;
- }
- return readyFile;
- },
- refresh: function(){
- this.uploader.refresh();
- }
- };
-
-})();
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/webapp/webapp.html b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/webapp/webapp.html
deleted file mode 100644
index 16143779..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/webapp/webapp.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/fClipboard_ueditor.swf b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/fClipboard_ueditor.swf
deleted file mode 100644
index ac5d27f8..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/fClipboard_ueditor.swf and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/imageUploader.swf b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/imageUploader.swf
deleted file mode 100644
index 2a554cad..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/imageUploader.swf and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/tangram.js b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/tangram.js
deleted file mode 100644
index 2ebd8fd3..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/tangram.js
+++ /dev/null
@@ -1,1495 +0,0 @@
-// Copyright (c) 2009, Baidu Inc. All rights reserved.
-//
-// Licensed under the BSD License
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http:// tangram.baidu.com/license.html
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS-IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
- /**
- * @namespace T Tangram七巧板
- * @name T
- * @version 1.6.0
-*/
-
-/**
- * 声明baidu包
- * @author: allstar, erik, meizz, berg
- */
-var T,
- baidu = T = baidu || {version: "1.5.0"};
-baidu.guid = "$BAIDU$";
-baidu.$$ = window[baidu.guid] = window[baidu.guid] || {global:{}};
-
-/**
- * 使用flash资源封装的一些功能
- * @namespace baidu.flash
- */
-baidu.flash = baidu.flash || {};
-
-/**
- * 操作dom的方法
- * @namespace baidu.dom
- */
-baidu.dom = baidu.dom || {};
-
-
-/**
- * 从文档中获取指定的DOM元素
- * @name baidu.dom.g
- * @function
- * @grammar baidu.dom.g(id)
- * @param {string|HTMLElement} id 元素的id或DOM元素.
- * @shortcut g,T.G
- * @meta standard
- * @see baidu.dom.q
- *
- * @return {HTMLElement|null} 获取的元素,查找不到时返回null,如果参数不合法,直接返回参数.
- */
-baidu.dom.g = function(id) {
- if (!id) return null;
- if ('string' == typeof id || id instanceof String) {
- return document.getElementById(id);
- } else if (id.nodeName && (id.nodeType == 1 || id.nodeType == 9)) {
- return id;
- }
- return null;
-};
-baidu.g = baidu.G = baidu.dom.g;
-
-
-/**
- * 操作数组的方法
- * @namespace baidu.array
- */
-
-baidu.array = baidu.array || {};
-
-
-/**
- * 遍历数组中所有元素
- * @name baidu.array.each
- * @function
- * @grammar baidu.array.each(source, iterator[, thisObject])
- * @param {Array} source 需要遍历的数组
- * @param {Function} iterator 对每个数组元素进行调用的函数,该函数有两个参数,第一个为数组元素,第二个为数组索引值,function (item, index)。
- * @param {Object} [thisObject] 函数调用时的this指针,如果没有此参数,默认是当前遍历的数组
- * @remark
- * each方法不支持对Object的遍历,对Object的遍历使用baidu.object.each 。
- * @shortcut each
- * @meta standard
- *
- * @returns {Array} 遍历的数组
- */
-
-baidu.each = baidu.array.forEach = baidu.array.each = function (source, iterator, thisObject) {
- var returnValue, item, i, len = source.length;
-
- if ('function' == typeof iterator) {
- for (i = 0; i < len; i++) {
- item = source[i];
- returnValue = iterator.call(thisObject || source, item, i);
-
- if (returnValue === false) {
- break;
- }
- }
- }
- return source;
-};
-
-/**
- * 对语言层面的封装,包括类型判断、模块扩展、继承基类以及对象自定义事件的支持。
- * @namespace baidu.lang
- */
-baidu.lang = baidu.lang || {};
-
-
-/**
- * 判断目标参数是否为function或Function实例
- * @name baidu.lang.isFunction
- * @function
- * @grammar baidu.lang.isFunction(source)
- * @param {Any} source 目标参数
- * @version 1.2
- * @see baidu.lang.isString,baidu.lang.isObject,baidu.lang.isNumber,baidu.lang.isArray,baidu.lang.isElement,baidu.lang.isBoolean,baidu.lang.isDate
- * @meta standard
- * @returns {boolean} 类型判断结果
- */
-baidu.lang.isFunction = function (source) {
- return '[object Function]' == Object.prototype.toString.call(source);
-};
-
-/**
- * 判断目标参数是否string类型或String对象
- * @name baidu.lang.isString
- * @function
- * @grammar baidu.lang.isString(source)
- * @param {Any} source 目标参数
- * @shortcut isString
- * @meta standard
- * @see baidu.lang.isObject,baidu.lang.isNumber,baidu.lang.isArray,baidu.lang.isElement,baidu.lang.isBoolean,baidu.lang.isDate
- *
- * @returns {boolean} 类型判断结果
- */
-baidu.lang.isString = function (source) {
- return '[object String]' == Object.prototype.toString.call(source);
-};
-baidu.isString = baidu.lang.isString;
-
-
-/**
- * 判断浏览器类型和特性的属性
- * @namespace baidu.browser
- */
-baidu.browser = baidu.browser || {};
-
-
-/**
- * 判断是否为opera浏览器
- * @property opera opera版本号
- * @grammar baidu.browser.opera
- * @meta standard
- * @see baidu.browser.ie,baidu.browser.firefox,baidu.browser.safari,baidu.browser.chrome
- * @returns {Number} opera版本号
- */
-
-/**
- * opera 从10开始不是用opera后面的字符串进行版本的判断
- * 在Browser identification最后添加Version + 数字进行版本标识
- * opera后面的数字保持在9.80不变
- */
-baidu.browser.opera = /opera(\/| )(\d+(\.\d+)?)(.+?(version\/(\d+(\.\d+)?)))?/i.test(navigator.userAgent) ? + ( RegExp["\x246"] || RegExp["\x242"] ) : undefined;
-
-
-/**
- * 在目标元素的指定位置插入HTML代码
- * @name baidu.dom.insertHTML
- * @function
- * @grammar baidu.dom.insertHTML(element, position, html)
- * @param {HTMLElement|string} element 目标元素或目标元素的id
- * @param {string} position 插入html的位置信息,取值为beforeBegin,afterBegin,beforeEnd,afterEnd
- * @param {string} html 要插入的html
- * @remark
- *
- * 对于position参数,大小写不敏感
- * 参数的意思:beforeBegin<span>afterBegin this is span! beforeEnd</span> afterEnd
- * 此外,如果使用本函数插入带有script标签的HTML字符串,script标签对应的脚本将不会被执行。
- *
- * @shortcut insertHTML
- * @meta standard
- *
- * @returns {HTMLElement} 目标元素
- */
-baidu.dom.insertHTML = function (element, position, html) {
- element = baidu.dom.g(element);
- var range,begin;
- if (element.insertAdjacentHTML && !baidu.browser.opera) {
- element.insertAdjacentHTML(position, html);
- } else {
- range = element.ownerDocument.createRange();
- position = position.toUpperCase();
- if (position == 'AFTERBEGIN' || position == 'BEFOREEND') {
- range.selectNodeContents(element);
- range.collapse(position == 'AFTERBEGIN');
- } else {
- begin = position == 'BEFOREBEGIN';
- range[begin ? 'setStartBefore' : 'setEndAfter'](element);
- range.collapse(begin);
- }
- range.insertNode(range.createContextualFragment(html));
- }
- return element;
-};
-
-baidu.insertHTML = baidu.dom.insertHTML;
-
-/**
- * 操作flash对象的方法,包括创建flash对象、获取flash对象以及判断flash插件的版本号
- * @namespace baidu.swf
- */
-baidu.swf = baidu.swf || {};
-
-
-/**
- * 浏览器支持的flash插件版本
- * @property version 浏览器支持的flash插件版本
- * @grammar baidu.swf.version
- * @return {String} 版本号
- * @meta standard
- */
-baidu.swf.version = (function () {
- var n = navigator;
- if (n.plugins && n.mimeTypes.length) {
- var plugin = n.plugins["Shockwave Flash"];
- if (plugin && plugin.description) {
- return plugin.description
- .replace(/([a-zA-Z]|\s)+/, "")
- .replace(/(\s)+r/, ".") + ".0";
- }
- } else if (window.ActiveXObject && !window.opera) {
- for (var i = 12; i >= 2; i--) {
- try {
- var c = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.' + i);
- if (c) {
- var version = c.GetVariable("$version");
- return version.replace(/WIN/g,'').replace(/,/g,'.');
- }
- } catch(e) {}
- }
- }
-})();
-
-/**
- * 操作字符串的方法
- * @namespace baidu.string
- */
-baidu.string = baidu.string || {};
-
-
-/**
- * 对目标字符串进行html编码
- * @name baidu.string.encodeHTML
- * @function
- * @grammar baidu.string.encodeHTML(source)
- * @param {string} source 目标字符串
- * @remark
- * 编码字符有5个:&<>"'
- * @shortcut encodeHTML
- * @meta standard
- * @see baidu.string.decodeHTML
- *
- * @returns {string} html编码后的字符串
- */
-baidu.string.encodeHTML = function (source) {
- return String(source)
- .replace(/&/g,'&')
- .replace(//g,'>')
- .replace(/"/g, """)
- .replace(/'/g, "'");
-};
-
-baidu.encodeHTML = baidu.string.encodeHTML;
-
-/**
- * 创建flash对象的html字符串
- * @name baidu.swf.createHTML
- * @function
- * @grammar baidu.swf.createHTML(options)
- *
- * @param {Object} options 创建flash的选项参数
- * @param {string} options.id 要创建的flash的标识
- * @param {string} options.url flash文件的url
- * @param {String} options.errorMessage 未安装flash player或flash player版本号过低时的提示
- * @param {string} options.ver 最低需要的flash player版本号
- * @param {string} options.width flash的宽度
- * @param {string} options.height flash的高度
- * @param {string} options.align flash的对齐方式,允许值:middle/left/right/top/bottom
- * @param {string} options.base 设置用于解析swf文件中的所有相对路径语句的基本目录或URL
- * @param {string} options.bgcolor swf文件的背景色
- * @param {string} options.salign 设置缩放的swf文件在由width和height设置定义的区域内的位置。允许值:l/r/t/b/tl/tr/bl/br
- * @param {boolean} options.menu 是否显示右键菜单,允许值:true/false
- * @param {boolean} options.loop 播放到最后一帧时是否重新播放,允许值: true/false
- * @param {boolean} options.play flash是否在浏览器加载时就开始播放。允许值:true/false
- * @param {string} options.quality 设置flash播放的画质,允许值:low/medium/high/autolow/autohigh/best
- * @param {string} options.scale 设置flash内容如何缩放来适应设置的宽高。允许值:showall/noborder/exactfit
- * @param {string} options.wmode 设置flash的显示模式。允许值:window/opaque/transparent
- * @param {string} options.allowscriptaccess 设置flash与页面的通信权限。允许值:always/never/sameDomain
- * @param {string} options.allownetworking 设置swf文件中允许使用的网络API。允许值:all/internal/none
- * @param {boolean} options.allowfullscreen 是否允许flash全屏。允许值:true/false
- * @param {boolean} options.seamlesstabbing 允许设置执行无缝跳格,从而使用户能跳出flash应用程序。该参数只能在安装Flash7及更高版本的Windows中使用。允许值:true/false
- * @param {boolean} options.devicefont 设置静态文本对象是否以设备字体呈现。允许值:true/false
- * @param {boolean} options.swliveconnect 第一次加载flash时浏览器是否应启动Java。允许值:true/false
- * @param {Object} options.vars 要传递给flash的参数,支持JSON或string类型。
- *
- * @see baidu.swf.create
- * @meta standard
- * @returns {string} flash对象的html字符串
- */
-baidu.swf.createHTML = function (options) {
- options = options || {};
- var version = baidu.swf.version,
- needVersion = options['ver'] || '6.0.0',
- vUnit1, vUnit2, i, k, len, item, tmpOpt = {},
- encodeHTML = baidu.string.encodeHTML;
- for (k in options) {
- tmpOpt[k] = options[k];
- }
- options = tmpOpt;
- if (version) {
- version = version.split('.');
- needVersion = needVersion.split('.');
- for (i = 0; i < 3; i++) {
- vUnit1 = parseInt(version[i], 10);
- vUnit2 = parseInt(needVersion[i], 10);
- if (vUnit2 < vUnit1) {
- break;
- } else if (vUnit2 > vUnit1) {
- return '';
- }
- }
- } else {
- return '';
- }
-
- var vars = options['vars'],
- objProperties = ['classid', 'codebase', 'id', 'width', 'height', 'align'];
- options['align'] = options['align'] || 'middle';
- options['classid'] = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000';
- options['codebase'] = 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0';
- options['movie'] = options['url'] || '';
- delete options['vars'];
- delete options['url'];
- if ('string' == typeof vars) {
- options['flashvars'] = vars;
- } else {
- var fvars = [];
- for (k in vars) {
- item = vars[k];
- fvars.push(k + "=" + encodeURIComponent(item));
- }
- options['flashvars'] = fvars.join('&');
- }
- var str = ['
');
- var params = {
- 'wmode' : 1,
- 'scale' : 1,
- 'quality' : 1,
- 'play' : 1,
- 'loop' : 1,
- 'menu' : 1,
- 'salign' : 1,
- 'bgcolor' : 1,
- 'base' : 1,
- 'allowscriptaccess' : 1,
- 'allownetworking' : 1,
- 'allowfullscreen' : 1,
- 'seamlesstabbing' : 1,
- 'devicefont' : 1,
- 'swliveconnect' : 1,
- 'flashvars' : 1,
- 'movie' : 1
- };
-
- for (k in options) {
- item = options[k];
- k = k.toLowerCase();
- if (params[k] && (item || item === false || item === 0)) {
- str.push(' ');
- }
- }
- options['src'] = options['movie'];
- options['name'] = options['id'];
- delete options['id'];
- delete options['movie'];
- delete options['classid'];
- delete options['codebase'];
- options['type'] = 'application/x-shockwave-flash';
- options['pluginspage'] = 'http://www.macromedia.com/go/getflashplayer';
- str.push(' ');
-
- return str.join('');
-};
-
-
-/**
- * 在页面中创建一个flash对象
- * @name baidu.swf.create
- * @function
- * @grammar baidu.swf.create(options[, container])
- *
- * @param {Object} options 创建flash的选项参数
- * @param {string} options.id 要创建的flash的标识
- * @param {string} options.url flash文件的url
- * @param {String} options.errorMessage 未安装flash player或flash player版本号过低时的提示
- * @param {string} options.ver 最低需要的flash player版本号
- * @param {string} options.width flash的宽度
- * @param {string} options.height flash的高度
- * @param {string} options.align flash的对齐方式,允许值:middle/left/right/top/bottom
- * @param {string} options.base 设置用于解析swf文件中的所有相对路径语句的基本目录或URL
- * @param {string} options.bgcolor swf文件的背景色
- * @param {string} options.salign 设置缩放的swf文件在由width和height设置定义的区域内的位置。允许值:l/r/t/b/tl/tr/bl/br
- * @param {boolean} options.menu 是否显示右键菜单,允许值:true/false
- * @param {boolean} options.loop 播放到最后一帧时是否重新播放,允许值: true/false
- * @param {boolean} options.play flash是否在浏览器加载时就开始播放。允许值:true/false
- * @param {string} options.quality 设置flash播放的画质,允许值:low/medium/high/autolow/autohigh/best
- * @param {string} options.scale 设置flash内容如何缩放来适应设置的宽高。允许值:showall/noborder/exactfit
- * @param {string} options.wmode 设置flash的显示模式。允许值:window/opaque/transparent
- * @param {string} options.allowscriptaccess 设置flash与页面的通信权限。允许值:always/never/sameDomain
- * @param {string} options.allownetworking 设置swf文件中允许使用的网络API。允许值:all/internal/none
- * @param {boolean} options.allowfullscreen 是否允许flash全屏。允许值:true/false
- * @param {boolean} options.seamlesstabbing 允许设置执行无缝跳格,从而使用户能跳出flash应用程序。该参数只能在安装Flash7及更高版本的Windows中使用。允许值:true/false
- * @param {boolean} options.devicefont 设置静态文本对象是否以设备字体呈现。允许值:true/false
- * @param {boolean} options.swliveconnect 第一次加载flash时浏览器是否应启动Java。允许值:true/false
- * @param {Object} options.vars 要传递给flash的参数,支持JSON或string类型。
- *
- * @param {HTMLElement|string} [container] flash对象的父容器元素,不传递该参数时在当前代码位置创建flash对象。
- * @meta standard
- * @see baidu.swf.createHTML,baidu.swf.getMovie
- */
-baidu.swf.create = function (options, target) {
- options = options || {};
- var html = baidu.swf.createHTML(options)
- || options['errorMessage']
- || '';
-
- if (target && 'string' == typeof target) {
- target = document.getElementById(target);
- }
- baidu.dom.insertHTML( target || document.body ,'beforeEnd',html );
-};
-/**
- * 判断是否为ie浏览器
- * @name baidu.browser.ie
- * @field
- * @grammar baidu.browser.ie
- * @returns {Number} IE版本号
- */
-baidu.browser.ie = baidu.ie = /msie (\d+\.\d+)/i.test(navigator.userAgent) ? (document.documentMode || + RegExp['\x241']) : undefined;
-
-/**
- * 移除数组中的项
- * @name baidu.array.remove
- * @function
- * @grammar baidu.array.remove(source, match)
- * @param {Array} source 需要移除项的数组
- * @param {Any} match 要移除的项
- * @meta standard
- * @see baidu.array.removeAt
- *
- * @returns {Array} 移除后的数组
- */
-baidu.array.remove = function (source, match) {
- var len = source.length;
-
- while (len--) {
- if (len in source && source[len] === match) {
- source.splice(len, 1);
- }
- }
- return source;
-};
-
-/**
- * 判断目标参数是否Array对象
- * @name baidu.lang.isArray
- * @function
- * @grammar baidu.lang.isArray(source)
- * @param {Any} source 目标参数
- * @meta standard
- * @see baidu.lang.isString,baidu.lang.isObject,baidu.lang.isNumber,baidu.lang.isElement,baidu.lang.isBoolean,baidu.lang.isDate
- *
- * @returns {boolean} 类型判断结果
- */
-baidu.lang.isArray = function (source) {
- return '[object Array]' == Object.prototype.toString.call(source);
-};
-
-
-
-/**
- * 将一个变量转换成array
- * @name baidu.lang.toArray
- * @function
- * @grammar baidu.lang.toArray(source)
- * @param {mix} source 需要转换成array的变量
- * @version 1.3
- * @meta standard
- * @returns {array} 转换后的array
- */
-baidu.lang.toArray = function (source) {
- if (source === null || source === undefined)
- return [];
- if (baidu.lang.isArray(source))
- return source;
- if (typeof source.length !== 'number' || typeof source === 'string' || baidu.lang.isFunction(source)) {
- return [source];
- }
- if (source.item) {
- var l = source.length, array = new Array(l);
- while (l--)
- array[l] = source[l];
- return array;
- }
-
- return [].slice.call(source);
-};
-
-/**
- * 获得flash对象的实例
- * @name baidu.swf.getMovie
- * @function
- * @grammar baidu.swf.getMovie(name)
- * @param {string} name flash对象的名称
- * @see baidu.swf.create
- * @meta standard
- * @returns {HTMLElement} flash对象的实例
- */
-baidu.swf.getMovie = function (name) {
- var movie = document[name], ret;
- return baidu.browser.ie == 9 ?
- movie && movie.length ?
- (ret = baidu.array.remove(baidu.lang.toArray(movie),function(item){
- return item.tagName.toLowerCase() != "embed";
- })).length == 1 ? ret[0] : ret
- : movie
- : movie || window[name];
-};
-
-
-baidu.flash._Base = (function(){
-
- var prefix = 'bd__flash__';
-
- /**
- * 创建一个随机的字符串
- * @private
- * @return {String}
- */
- function _createString(){
- return prefix + Math.floor(Math.random() * 2147483648).toString(36);
- };
-
- /**
- * 检查flash状态
- * @private
- * @param {Object} target flash对象
- * @return {Boolean}
- */
- function _checkReady(target){
- if(typeof target !== 'undefined' && typeof target.flashInit !== 'undefined' && target.flashInit()){
- return true;
- }else{
- return false;
- }
- };
-
- /**
- * 调用之前进行压栈的函数
- * @private
- * @param {Array} callQueue 调用队列
- * @param {Object} target flash对象
- * @return {Null}
- */
- function _callFn(callQueue, target){
- var result = null;
-
- callQueue = callQueue.reverse();
- baidu.each(callQueue, function(item){
- result = target.call(item.fnName, item.params);
- item.callBack(result);
- });
- };
-
- /**
- * 为传入的匿名函数创建函数名
- * @private
- * @param {String|Function} fun 传入的匿名函数或者函数名
- * @return {String}
- */
- function _createFunName(fun){
- var name = '';
-
- if(baidu.lang.isFunction(fun)){
- name = _createString();
- window[name] = function(){
- fun.apply(window, arguments);
- };
-
- return name;
- }else if(baidu.lang.isString){
- return fun;
- }
- };
-
- /**
- * 绘制flash
- * @private
- * @param {Object} options 创建参数
- * @return {Object}
- */
- function _render(options){
- if(!options.id){
- options.id = _createString();
- }
-
- var container = options.container || '';
- delete(options.container);
-
- baidu.swf.create(options, container);
-
- return baidu.swf.getMovie(options.id);
- };
-
- return function(options, callBack){
- var me = this,
- autoRender = (typeof options.autoRender !== 'undefined' ? options.autoRender : true),
- createOptions = options.createOptions || {},
- target = null,
- isReady = false,
- callQueue = [],
- timeHandle = null,
- callBack = callBack || [];
-
- /**
- * 将flash文件绘制到页面上
- * @public
- * @return {Null}
- */
- me.render = function(){
- target = _render(createOptions);
-
- if(callBack.length > 0){
- baidu.each(callBack, function(funName, index){
- callBack[index] = _createFunName(options[funName] || new Function());
- });
- }
- me.call('setJSFuncName', [callBack]);
- };
-
- /**
- * 返回flash状态
- * @return {Boolean}
- */
- me.isReady = function(){
- return isReady;
- };
-
- /**
- * 调用flash接口的统一入口
- * @param {String} fnName 调用的函数名
- * @param {Array} params 传入的参数组成的数组,若不许要参数,需传入空数组
- * @param {Function} [callBack] 异步调用后将返回值作为参数的调用回调函数,如无返回值,可以不传入此参数
- * @return {Null}
- */
- me.call = function(fnName, params, callBack){
- if(!fnName) return null;
- callBack = callBack || new Function();
-
- var result = null;
-
- if(isReady){
- result = target.call(fnName, params);
- callBack(result);
- }else{
- callQueue.push({
- fnName: fnName,
- params: params,
- callBack: callBack
- });
-
- (!timeHandle) && (timeHandle = setInterval(_check, 200));
- }
- };
-
- /**
- * 为传入的匿名函数创建函数名
- * @public
- * @param {String|Function} fun 传入的匿名函数或者函数名
- * @return {String}
- */
- me.createFunName = function(fun){
- return _createFunName(fun);
- };
-
- /**
- * 检查flash是否ready, 并进行调用
- * @private
- * @return {Null}
- */
- function _check(){
- if(_checkReady(target)){
- clearInterval(timeHandle);
- timeHandle = null;
- _call();
-
- isReady = true;
- }
- };
-
- /**
- * 调用之前进行压栈的函数
- * @private
- * @return {Null}
- */
- function _call(){
- _callFn(callQueue, target);
- callQueue = [];
- }
-
- autoRender && me.render();
- };
-})();
-
-
-
-/**
- * 创建flash based imageUploader
- * @class
- * @grammar baidu.flash.imageUploader(options)
- * @param {Object} createOptions 创建flash时需要的参数,请参照baidu.swf.create文档
- * @config {Object} vars 创建imageUploader时所需要的参数
- * @config {Number} vars.gridWidth 每一个预览图片所占的宽度,应该为flash寛的整除
- * @config {Number} vars.gridHeight 每一个预览图片所占的高度,应该为flash高的整除
- * @config {Number} vars.picWidth 单张预览图片的宽度
- * @config {Number} vars.picHeight 单张预览图片的高度
- * @config {String} vars.uploadDataFieldName POST请求中图片数据的key,默认值'picdata'
- * @config {String} vars.picDescFieldName POST请求中图片描述的key,默认值'picDesc'
- * @config {Number} vars.maxSize 文件的最大体积,单位'MB'
- * @config {Number} vars.compressSize 上传前如果图片体积超过该值,会先压缩
- * @config {Number} vars.maxNum:32 最大上传多少个文件
- * @config {Number} vars.compressLength 能接受的最大边长,超过该值会等比压缩
- * @config {String} vars.url 上传的url地址
- * @config {Number} vars.mode mode == 0时,是使用滚动条,mode == 1时,拉伸flash, 默认值为0
- * @see baidu.swf.createHTML
- * @param {String} backgroundUrl 背景图片路径
- * @param {String} listBacgroundkUrl 布局控件背景
- * @param {String} buttonUrl 按钮图片不背景
- * @param {String|Function} selectFileCallback 选择文件的回调
- * @param {String|Function} exceedFileCallback文件超出限制的最大体积时的回调
- * @param {String|Function} deleteFileCallback 删除文件的回调
- * @param {String|Function} startUploadCallback 开始上传某个文件时的回调
- * @param {String|Function} uploadCompleteCallback 某个文件上传完成的回调
- * @param {String|Function} uploadErrorCallback 某个文件上传失败的回调
- * @param {String|Function} allCompleteCallback 全部上传完成时的回调
- * @param {String|Function} changeFlashHeight 改变Flash的高度,mode==1的时候才有用
- */
-baidu.flash.imageUploader = baidu.flash.imageUploader || function(options){
-
- var me = this,
- options = options || {},
- _flash = new baidu.flash._Base(options, [
- 'selectFileCallback',
- 'exceedFileCallback',
- 'deleteFileCallback',
- 'startUploadCallback',
- 'uploadCompleteCallback',
- 'uploadErrorCallback',
- 'allCompleteCallback',
- 'changeFlashHeight'
- ]);
- /**
- * 开始或回复上传图片
- * @public
- * @return {Null}
- */
- me.upload = function(){
- _flash.call('upload');
- };
-
- /**
- * 暂停上传图片
- * @public
- * @return {Null}
- */
- me.pause = function(){
- _flash.call('pause');
- };
- me.addCustomizedParams = function(index,obj){
- _flash.call('addCustomizedParams',[index,obj]);
- }
-};
-
-/**
- * 操作原生对象的方法
- * @namespace baidu.object
- */
-baidu.object = baidu.object || {};
-
-
-/**
- * 将源对象的所有属性拷贝到目标对象中
- * @author erik
- * @name baidu.object.extend
- * @function
- * @grammar baidu.object.extend(target, source)
- * @param {Object} target 目标对象
- * @param {Object} source 源对象
- * @see baidu.array.merge
- * @remark
- *
-1.目标对象中,与源对象key相同的成员将会被覆盖。
-2.源对象的prototype成员不会拷贝。
-
- * @shortcut extend
- * @meta standard
- *
- * @returns {Object} 目标对象
- */
-baidu.extend =
-baidu.object.extend = function (target, source) {
- for (var p in source) {
- if (source.hasOwnProperty(p)) {
- target[p] = source[p];
- }
- }
-
- return target;
-};
-
-
-
-
-
-/**
- * 创建flash based fileUploader
- * @class
- * @grammar baidu.flash.fileUploader(options)
- * @param {Object} options
- * @config {Object} createOptions 创建flash时需要的参数,请参照baidu.swf.create文档
- * @config {String} createOptions.width
- * @config {String} createOptions.height
- * @config {Number} maxNum 最大可选文件数
- * @config {Function|String} selectFile
- * @config {Function|String} exceedMaxSize
- * @config {Function|String} deleteFile
- * @config {Function|String} uploadStart
- * @config {Function|String} uploadComplete
- * @config {Function|String} uploadError
- * @config {Function|String} uploadProgress
- */
-baidu.flash.fileUploader = baidu.flash.fileUploader || function(options){
- var me = this,
- options = options || {};
-
- options.createOptions = baidu.extend({
- wmod: 'transparent'
- },options.createOptions || {});
-
- var _flash = new baidu.flash._Base(options, [
- 'selectFile',
- 'exceedMaxSize',
- 'deleteFile',
- 'uploadStart',
- 'uploadComplete',
- 'uploadError',
- 'uploadProgress'
- ]);
-
- _flash.call('setMaxNum', options.maxNum ? [options.maxNum] : [1]);
-
- /**
- * 设置当鼠标移动到flash上时,是否变成手型
- * @public
- * @param {Boolean} isCursor
- * @return {Null}
- */
- me.setHandCursor = function(isCursor){
- _flash.call('setHandCursor', [isCursor || false]);
- };
-
- /**
- * 设置鼠标相应函数名
- * @param {String|Function} fun
- */
- me.setMSFunName = function(fun){
- _flash.call('setMSFunName',[_flash.createFunName(fun)]);
- };
-
- /**
- * 执行上传操作
- * @param {String} url 上传的url
- * @param {String} fieldName 上传的表单字段名
- * @param {Object} postData 键值对,上传的POST数据
- * @param {Number|Array|null|-1} [index]上传的文件序列
- * Int值上传该文件
- * Array一次串行上传该序列文件
- * -1/null上传所有文件
- * @return {Null}
- */
- me.upload = function(url, fieldName, postData, index){
-
- if(typeof url !== 'string' || typeof fieldName !== 'string') return null;
- if(typeof index === 'undefined') index = -1;
-
- _flash.call('upload', [url, fieldName, postData, index]);
- };
-
- /**
- * 取消上传操作
- * @public
- * @param {Number|-1} index
- */
- me.cancel = function(index){
- if(typeof index === 'undefined') index = -1;
- _flash.call('cancel', [index]);
- };
-
- /**
- * 删除文件
- * @public
- * @param {Number|Array} [index] 要删除的index,不传则全部删除
- * @param {Function} callBack
- * */
- me.deleteFile = function(index, callBack){
-
- var callBackAll = function(list){
- callBack && callBack(list);
- };
-
- if(typeof index === 'undefined'){
- _flash.call('deleteFilesAll', [], callBackAll);
- return;
- };
-
- if(typeof index === 'Number') index = [index];
- index.sort(function(a,b){
- return b-a;
- });
- baidu.each(index, function(item){
- _flash.call('deleteFileBy', item, callBackAll);
- });
- };
-
- /**
- * 添加文件类型,支持macType
- * @public
- * @param {Object|Array[Object]} type {description:String, extention:String}
- * @return {Null};
- */
- me.addFileType = function(type){
- var type = type || [[]];
-
- if(type instanceof Array) type = [type];
- else type = [[type]];
- _flash.call('addFileTypes', type);
- };
-
- /**
- * 设置文件类型,支持macType
- * @public
- * @param {Object|Array[Object]} type {description:String, extention:String}
- * @return {Null};
- */
- me.setFileType = function(type){
- var type = type || [[]];
-
- if(type instanceof Array) type = [type];
- else type = [[type]];
- _flash.call('setFileTypes', type);
- };
-
- /**
- * 设置可选文件的数量限制
- * @public
- * @param {Number} num
- * @return {Null}
- */
- me.setMaxNum = function(num){
- _flash.call('setMaxNum', [num]);
- };
-
- /**
- * 设置可选文件大小限制,以兆M为单位
- * @public
- * @param {Number} num,0为无限制
- * @return {Null}
- */
- me.setMaxSize = function(num){
- _flash.call('setMaxSize', [num]);
- };
-
- /**
- * @public
- */
- me.getFileAll = function(callBack){
- _flash.call('getFileAll', [], callBack);
- };
-
- /**
- * @public
- * @param {Number} index
- * @param {Function} [callBack]
- */
- me.getFileByIndex = function(index, callBack){
- _flash.call('getFileByIndex', [], callBack);
- };
-
- /**
- * @public
- * @param {Number} index
- * @param {function} [callBack]
- */
- me.getStatusByIndex = function(index, callBack){
- _flash.call('getStatusByIndex', [], callBack);
- };
-};
-
-/**
- * 使用动态script标签请求服务器资源,包括由服务器端的回调和浏览器端的回调
- * @namespace baidu.sio
- */
-baidu.sio = baidu.sio || {};
-
-/**
- *
- * @param {HTMLElement} src script节点
- * @param {String} url script节点的地址
- * @param {String} [charset] 编码
- */
-baidu.sio._createScriptTag = function(scr, url, charset){
- scr.setAttribute('type', 'text/javascript');
- charset && scr.setAttribute('charset', charset);
- scr.setAttribute('src', url);
- document.getElementsByTagName('head')[0].appendChild(scr);
-};
-
-/**
- * 删除script的属性,再删除script标签,以解决修复内存泄漏的问题
- *
- * @param {HTMLElement} src script节点
- */
-baidu.sio._removeScriptTag = function(scr){
- if (scr.clearAttributes) {
- scr.clearAttributes();
- } else {
- for (var attr in scr) {
- if (scr.hasOwnProperty(attr)) {
- delete scr[attr];
- }
- }
- }
- if(scr && scr.parentNode){
- scr.parentNode.removeChild(scr);
- }
- scr = null;
-};
-
-
-/**
- * 通过script标签加载数据,加载完成由浏览器端触发回调
- * @name baidu.sio.callByBrowser
- * @function
- * @grammar baidu.sio.callByBrowser(url, opt_callback, opt_options)
- * @param {string} url 加载数据的url
- * @param {Function|string} opt_callback 数据加载结束时调用的函数或函数名
- * @param {Object} opt_options 其他可选项
- * @config {String} [charset] script的字符集
- * @config {Integer} [timeOut] 超时时间,超过这个时间将不再响应本请求,并触发onfailure函数
- * @config {Function} [onfailure] timeOut设定后才生效,到达超时时间时触发本函数
- * @remark
- * 1、与callByServer不同,callback参数只支持Function类型,不支持string。
- * 2、如果请求了一个不存在的页面,callback函数在IE/opera下也会被调用,因此使用者需要在onsuccess函数中判断数据是否正确加载。
- * @meta standard
- * @see baidu.sio.callByServer
- */
-baidu.sio.callByBrowser = function (url, opt_callback, opt_options) {
- var scr = document.createElement("SCRIPT"),
- scriptLoaded = 0,
- options = opt_options || {},
- charset = options['charset'],
- callback = opt_callback || function(){},
- timeOut = options['timeOut'] || 0,
- timer;
- scr.onload = scr.onreadystatechange = function () {
- if (scriptLoaded) {
- return;
- }
-
- var readyState = scr.readyState;
- if ('undefined' == typeof readyState
- || readyState == "loaded"
- || readyState == "complete") {
- scriptLoaded = 1;
- try {
- callback();
- clearTimeout(timer);
- } finally {
- scr.onload = scr.onreadystatechange = null;
- baidu.sio._removeScriptTag(scr);
- }
- }
- };
-
- if( timeOut ){
- timer = setTimeout(function(){
- scr.onload = scr.onreadystatechange = null;
- baidu.sio._removeScriptTag(scr);
- options.onfailure && options.onfailure();
- }, timeOut);
- }
-
- baidu.sio._createScriptTag(scr, url, charset);
-};
-
-/**
- * 通过script标签加载数据,加载完成由服务器端触发回调
- * @name baidu.sio.callByServer
- * @function
- * @grammar baidu.sio.callByServer(url, callback[, opt_options])
- * @param {string} url 加载数据的url.
- * @param {Function|string} callback 服务器端调用的函数或函数名。如果没有指定本参数,将在URL中寻找options['queryField']做为callback的方法名.
- * @param {Object} opt_options 加载数据时的选项.
- * @config {string} [charset] script的字符集
- * @config {string} [queryField] 服务器端callback请求字段名,默认为callback
- * @config {Integer} [timeOut] 超时时间(单位:ms),超过这个时间将不再响应本请求,并触发onfailure函数
- * @config {Function} [onfailure] timeOut设定后才生效,到达超时时间时触发本函数
- * @remark
- * 如果url中已经包含key为“options['queryField']”的query项,将会被替换成callback中参数传递或自动生成的函数名。
- * @meta standard
- * @see baidu.sio.callByBrowser
- */
-baidu.sio.callByServer = /**@function*/function(url, callback, opt_options) {
- var scr = document.createElement('SCRIPT'),
- prefix = 'bd__cbs__',
- callbackName,
- callbackImpl,
- options = opt_options || {},
- charset = options['charset'],
- queryField = options['queryField'] || 'callback',
- timeOut = options['timeOut'] || 0,
- timer,
- reg = new RegExp('(\\?|&)' + queryField + '=([^&]*)'),
- matches;
-
- if (baidu.lang.isFunction(callback)) {
- callbackName = prefix + Math.floor(Math.random() * 2147483648).toString(36);
- window[callbackName] = getCallBack(0);
- } else if(baidu.lang.isString(callback)){
- callbackName = callback;
- } else {
- if (matches = reg.exec(url)) {
- callbackName = matches[2];
- }
- }
-
- if( timeOut ){
- timer = setTimeout(getCallBack(1), timeOut);
- }
- url = url.replace(reg, '\x241' + queryField + '=' + callbackName);
-
- if (url.search(reg) < 0) {
- url += (url.indexOf('?') < 0 ? '?' : '&') + queryField + '=' + callbackName;
- }
- baidu.sio._createScriptTag(scr, url, charset);
-
- /*
- * 返回一个函数,用于立即(挂在window上)或者超时(挂在setTimeout中)时执行
- */
- function getCallBack(onTimeOut){
- /*global callbackName, callback, scr, options;*/
- return function(){
- try {
- if( onTimeOut ){
- options.onfailure && options.onfailure();
- }else{
- callback.apply(window, arguments);
- clearTimeout(timer);
- }
- window[callbackName] = null;
- delete window[callbackName];
- } catch (exception) {
- } finally {
- baidu.sio._removeScriptTag(scr);
- }
- }
- }
-};
-
-/**
- * 通过请求一个图片的方式令服务器存储一条日志
- * @function
- * @grammar baidu.sio.log(url)
- * @param {string} url 要发送的地址.
- * @author: int08h,leeight
- */
-baidu.sio.log = function(url) {
- var img = new Image(),
- key = 'tangram_sio_log_' + Math.floor(Math.random() *
- 2147483648).toString(36);
- window[key] = img;
-
- img.onload = img.onerror = img.onabort = function() {
- img.onload = img.onerror = img.onabort = null;
-
- window[key] = null;
- img = null;
- };
- img.src = url;
-};
-
-
-
-/*
- * Tangram
- * Copyright 2009 Baidu Inc. All rights reserved.
- *
- * path: baidu/json.js
- * author: erik
- * version: 1.1.0
- * date: 2009/12/02
- */
-
-
-/**
- * 操作json对象的方法
- * @namespace baidu.json
- */
-baidu.json = baidu.json || {};
-/*
- * Tangram
- * Copyright 2009 Baidu Inc. All rights reserved.
- *
- * path: baidu/json/parse.js
- * author: erik, berg
- * version: 1.2
- * date: 2009/11/23
- */
-
-
-
-/**
- * 将字符串解析成json对象。注:不会自动祛除空格
- * @name baidu.json.parse
- * @function
- * @grammar baidu.json.parse(data)
- * @param {string} source 需要解析的字符串
- * @remark
- * 该方法的实现与ecma-262第五版中规定的JSON.parse不同,暂时只支持传入一个参数。后续会进行功能丰富。
- * @meta standard
- * @see baidu.json.stringify,baidu.json.decode
- *
- * @returns {JSON} 解析结果json对象
- */
-baidu.json.parse = function (data) {
- //2010/12/09:更新至不使用原生parse,不检测用户输入是否正确
- return (new Function("return (" + data + ")"))();
-};
-/*
- * Tangram
- * Copyright 2009 Baidu Inc. All rights reserved.
- *
- * path: baidu/json/decode.js
- * author: erik, cat
- * version: 1.3.4
- * date: 2010/12/23
- */
-
-
-
-/**
- * 将字符串解析成json对象,为过时接口,今后会被baidu.json.parse代替
- * @name baidu.json.decode
- * @function
- * @grammar baidu.json.decode(source)
- * @param {string} source 需要解析的字符串
- * @meta out
- * @see baidu.json.encode,baidu.json.parse
- *
- * @returns {JSON} 解析结果json对象
- */
-baidu.json.decode = baidu.json.parse;
-/*
- * Tangram
- * Copyright 2009 Baidu Inc. All rights reserved.
- *
- * path: baidu/json/stringify.js
- * author: erik
- * version: 1.1.0
- * date: 2010/01/11
- */
-
-
-
-/**
- * 将json对象序列化
- * @name baidu.json.stringify
- * @function
- * @grammar baidu.json.stringify(value)
- * @param {JSON} value 需要序列化的json对象
- * @remark
- * 该方法的实现与ecma-262第五版中规定的JSON.stringify不同,暂时只支持传入一个参数。后续会进行功能丰富。
- * @meta standard
- * @see baidu.json.parse,baidu.json.encode
- *
- * @returns {string} 序列化后的字符串
- */
-baidu.json.stringify = (function () {
- /**
- * 字符串处理时需要转义的字符表
- * @private
- */
- var escapeMap = {
- "\b": '\\b',
- "\t": '\\t',
- "\n": '\\n',
- "\f": '\\f',
- "\r": '\\r',
- '"' : '\\"',
- "\\": '\\\\'
- };
-
- /**
- * 字符串序列化
- * @private
- */
- function encodeString(source) {
- if (/["\\\x00-\x1f]/.test(source)) {
- source = source.replace(
- /["\\\x00-\x1f]/g,
- function (match) {
- var c = escapeMap[match];
- if (c) {
- return c;
- }
- c = match.charCodeAt();
- return "\\u00"
- + Math.floor(c / 16).toString(16)
- + (c % 16).toString(16);
- });
- }
- return '"' + source + '"';
- }
-
- /**
- * 数组序列化
- * @private
- */
- function encodeArray(source) {
- var result = ["["],
- l = source.length,
- preComma, i, item;
-
- for (i = 0; i < l; i++) {
- item = source[i];
-
- switch (typeof item) {
- case "undefined":
- case "function":
- case "unknown":
- break;
- default:
- if(preComma) {
- result.push(',');
- }
- result.push(baidu.json.stringify(item));
- preComma = 1;
- }
- }
- result.push("]");
- return result.join("");
- }
-
- /**
- * 处理日期序列化时的补零
- * @private
- */
- function pad(source) {
- return source < 10 ? '0' + source : source;
- }
-
- /**
- * 日期序列化
- * @private
- */
- function encodeDate(source){
- return '"' + source.getFullYear() + "-"
- + pad(source.getMonth() + 1) + "-"
- + pad(source.getDate()) + "T"
- + pad(source.getHours()) + ":"
- + pad(source.getMinutes()) + ":"
- + pad(source.getSeconds()) + '"';
- }
-
- return function (value) {
- switch (typeof value) {
- case 'undefined':
- return 'undefined';
-
- case 'number':
- return isFinite(value) ? String(value) : "null";
-
- case 'string':
- return encodeString(value);
-
- case 'boolean':
- return String(value);
-
- default:
- if (value === null) {
- return 'null';
- } else if (value instanceof Array) {
- return encodeArray(value);
- } else if (value instanceof Date) {
- return encodeDate(value);
- } else {
- var result = ['{'],
- encode = baidu.json.stringify,
- preComma,
- item;
-
- for (var key in value) {
- if (Object.prototype.hasOwnProperty.call(value, key)) {
- item = value[key];
- switch (typeof item) {
- case 'undefined':
- case 'unknown':
- case 'function':
- break;
- default:
- if (preComma) {
- result.push(',');
- }
- preComma = 1;
- result.push(encode(key) + ':' + encode(item));
- }
- }
- }
- result.push('}');
- return result.join('');
- }
- }
- };
-})();
-/*
- * Tangram
- * Copyright 2009 Baidu Inc. All rights reserved.
- *
- * path: baidu/json/encode.js
- * author: erik, cat
- * version: 1.3.4
- * date: 2010/12/23
- */
-
-
-
-/**
- * 将json对象序列化,为过时接口,今后会被baidu.json.stringify代替
- * @name baidu.json.encode
- * @function
- * @grammar baidu.json.encode(value)
- * @param {JSON} value 需要序列化的json对象
- * @meta out
- * @see baidu.json.decode,baidu.json.stringify
- *
- * @returns {string} 序列化后的字符串
- */
-baidu.json.encode = baidu.json.stringify;
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/wordimage.html b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/wordimage.html
deleted file mode 100644
index 6cf60674..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/wordimage.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/wordimage.js b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/wordimage.js
deleted file mode 100644
index 98f3a226..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/dialogs/wordimage/wordimage.js
+++ /dev/null
@@ -1,157 +0,0 @@
-/**
- * Created by JetBrains PhpStorm.
- * User: taoqili
- * Date: 12-1-30
- * Time: 下午12:50
- * To change this template use File | Settings | File Templates.
- */
-
-
-
-var wordImage = {};
-//(function(){
-var g = baidu.g,
- flashObj,flashContainer;
-
-wordImage.init = function(opt, callbacks) {
- showLocalPath("localPath");
- //createCopyButton("clipboard","localPath");
- createFlashUploader(opt, callbacks);
- addUploadListener();
- addOkListener();
-};
-
-function hideFlash(){
- flashObj = null;
- flashContainer.innerHTML = "";
-}
-function addOkListener() {
- dialog.onok = function() {
- if (!imageUrls.length) return;
- var urlPrefix = editor.getOpt('imageUrlPrefix'),
- images = domUtils.getElementsByTagName(editor.document,"img");
- editor.fireEvent('saveScene');
- for (var i = 0,img; img = images[i++];) {
- var src = img.getAttribute("word_img");
- if (!src) continue;
- for (var j = 0,url; url = imageUrls[j++];) {
- if (src.indexOf(url.original.replace(" ","")) != -1) {
- img.src = urlPrefix + url.url;
- img.setAttribute("_src", urlPrefix + url.url); //同时修改"_src"属性
- img.setAttribute("title",url.title);
- domUtils.removeAttributes(img, ["word_img","style","width","height"]);
- editor.fireEvent("selectionchange");
- break;
- }
- }
- }
- editor.fireEvent('saveScene');
- hideFlash();
- };
- dialog.oncancel = function(){
- hideFlash();
- }
-}
-
-/**
- * 绑定开始上传事件
- */
-function addUploadListener() {
- g("upload").onclick = function () {
- flashObj.upload();
- this.style.display = "none";
- };
-}
-
-function showLocalPath(id) {
- //单张编辑
- var img = editor.selection.getRange().getClosedNode();
- var images = editor.execCommand('wordimage');
- if(images.length==1 || img && img.tagName == 'IMG'){
- g(id).value = images[0];
- return;
- }
- var path = images[0];
- var leftSlashIndex = path.lastIndexOf("/")||0, //不同版本的doc和浏览器都可能影响到这个符号,故直接判断两种
- rightSlashIndex = path.lastIndexOf("\\")||0,
- separater = leftSlashIndex > rightSlashIndex ? "/":"\\" ;
-
- path = path.substring(0, path.lastIndexOf(separater)+1);
- g(id).value = path;
-}
-
-function createFlashUploader(opt, callbacks) {
- //由于lang.flashI18n是静态属性,不可以直接进行修改,否则会影响到后续内容
- var i18n = utils.extend({},lang.flashI18n);
- //处理图片资源地址的编码,补全等问题
- for(var i in i18n){
- if(!(i in {"lang":1,"uploadingTF":1,"imageTF":1,"textEncoding":1}) && i18n[i]){
- i18n[i] = encodeURIComponent(editor.options.langPath + editor.options.lang + "/images/" + i18n[i]);
- }
- }
- opt = utils.extend(opt,i18n,false);
- var option = {
- createOptions:{
- id:'flash',
- url:opt.flashUrl,
- width:opt.width,
- height:opt.height,
- errorMessage:lang.flashError,
- wmode:browser.safari ? 'transparent' : 'window',
- ver:'10.0.0',
- vars:opt,
- container:opt.container
- }
- };
-
- option = extendProperty(callbacks, option);
- flashObj = new baidu.flash.imageUploader(option);
- flashContainer = $G(opt.container);
-}
-
-function extendProperty(fromObj, toObj) {
- for (var i in fromObj) {
- if (!toObj[i]) {
- toObj[i] = fromObj[i];
- }
- }
- return toObj;
-}
-
-//})();
-
-function getPasteData(id) {
- baidu.g("msg").innerHTML = lang.copySuccess + "";
- setTimeout(function() {
- baidu.g("msg").innerHTML = "";
- }, 5000);
- return baidu.g(id).value;
-}
-
-function createCopyButton(id, dataFrom) {
- baidu.swf.create({
- id:"copyFlash",
- url:"fClipboard_ueditor.swf",
- width:"58",
- height:"25",
- errorMessage:"",
- bgColor:"#CBCBCB",
- wmode:"transparent",
- ver:"10.0.0",
- vars:{
- tid:dataFrom
- }
- }, id
- );
-
- var clipboard = baidu.swf.getMovie("copyFlash");
- var clipinterval = setInterval(function() {
- if (clipboard && clipboard.flashInit) {
- clearInterval(clipinterval);
- clipboard.setHandCursor(true);
- clipboard.setContentFuncName("getPasteData");
- //clipboard.setMEFuncName("mouseEventHandler");
- }
- }, 500);
-}
-createCopyButton("clipboard", "localPath");
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/index.html b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/index.html
deleted file mode 100644
index a4164182..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/index.html
+++ /dev/null
@@ -1,175 +0,0 @@
-
-
-
-
完整demo
-
-
-
-
-
-
-
-
-
-
-
-
完整demo
-
-
-
-
- 获得整个html的内容
- 获得内容
- 写入内容
- 追加内容
- 获得纯文本
- 获得带格式的纯文本
- 判断是否有内容
- 使编辑器获得焦点
- 编辑器是否获得焦点
- 编辑器失去焦点
-
-
-
- 获得当前选中的文本
- 插入给定的内容
- 可以编辑
- 不可编辑
- 隐藏编辑器
- 显示编辑器
- 设置高度为300默认关闭了自动长高
-
-
-
- 获取草稿箱内容
- 清空草稿箱
-
-
-
-
-
- 创建编辑器
-
- 删除编辑器
-
-
-
-
-
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/config.json b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/config.json
deleted file mode 100644
index 53b6c977..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/config.json
+++ /dev/null
@@ -1,94 +0,0 @@
-/* 前后端通信相关的配置,注释只允许使用多行方式 */
-{
- /* 上传图片配置项 */
- "imageActionName": "uploadimage", /* 执行上传图片的action名称 */
- "imageFieldName": "upfile", /* 提交的图片表单名称 */
- "imageMaxSize": 2048000, /* 上传大小限制,单位B */
- "imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 上传图片格式显示 */
- "imageCompressEnable": true, /* 是否压缩图片,默认是true */
- "imageCompressBorder": 1600, /* 图片压缩最长边限制 */
- "imageInsertAlign": "none", /* 插入的图片浮动方式 */
- "imageUrlPrefix": "", /* 图片访问路径前缀 */
- "imagePathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- /* {filename} 会替换成原文件名,配置这项需要注意中文乱码问题 */
- /* {rand:6} 会替换成随机数,后面的数字是随机数的位数 */
- /* {time} 会替换成时间戳 */
- /* {yyyy} 会替换成四位年份 */
- /* {yy} 会替换成两位年份 */
- /* {mm} 会替换成两位月份 */
- /* {dd} 会替换成两位日期 */
- /* {hh} 会替换成两位小时 */
- /* {ii} 会替换成两位分钟 */
- /* {ss} 会替换成两位秒 */
- /* 非法字符 \ : * ? " < > | */
- /* 具请体看线上文档: fex.baidu.com/ueditor/#use-format_upload_filename */
-
- /* 涂鸦图片上传配置项 */
- "scrawlActionName": "uploadscrawl", /* 执行上传涂鸦的action名称 */
- "scrawlFieldName": "upfile", /* 提交的图片表单名称 */
- "scrawlPathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "scrawlMaxSize": 2048000, /* 上传大小限制,单位B */
- "scrawlUrlPrefix": "", /* 图片访问路径前缀 */
- "scrawlInsertAlign": "none",
-
- /* 截图工具上传 */
- "snapscreenActionName": "uploadimage", /* 执行上传截图的action名称 */
- "snapscreenPathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "snapscreenUrlPrefix": "", /* 图片访问路径前缀 */
- "snapscreenInsertAlign": "none", /* 插入的图片浮动方式 */
-
- /* 抓取远程图片配置 */
- "catcherLocalDomain": ["127.0.0.1", "localhost", "img.baidu.com"],
- "catcherActionName": "catchimage", /* 执行抓取远程图片的action名称 */
- "catcherFieldName": "source", /* 提交的图片列表表单名称 */
- "catcherPathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "catcherUrlPrefix": "", /* 图片访问路径前缀 */
- "catcherMaxSize": 2048000, /* 上传大小限制,单位B */
- "catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 抓取图片格式显示 */
-
- /* 上传视频配置 */
- "videoActionName": "uploadvideo", /* 执行上传视频的action名称 */
- "videoFieldName": "upfile", /* 提交的视频表单名称 */
- "videoPathFormat": "/ueditor/jsp/upload/video/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "videoUrlPrefix": "", /* 视频访问路径前缀 */
- "videoMaxSize": 102400000, /* 上传大小限制,单位B,默认100MB */
- "videoAllowFiles": [
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid"], /* 上传视频格式显示 */
-
- /* 上传文件配置 */
- "fileActionName": "uploadfile", /* controller里,执行上传视频的action名称 */
- "fileFieldName": "upfile", /* 提交的文件表单名称 */
- "filePathFormat": "/ueditor/jsp/upload/file/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "fileUrlPrefix": "", /* 文件访问路径前缀 */
- "fileMaxSize": 51200000, /* 上传大小限制,单位B,默认50MB */
- "fileAllowFiles": [
- ".png", ".jpg", ".jpeg", ".gif", ".bmp",
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
- ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
- ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
- ], /* 上传文件格式显示 */
-
- /* 列出指定目录下的图片 */
- "imageManagerActionName": "listimage", /* 执行图片管理的action名称 */
- "imageManagerListPath": "/ueditor/jsp/upload/image/", /* 指定要列出图片的目录 */
- "imageManagerListSize": 20, /* 每次列出文件数量 */
- "imageManagerUrlPrefix": "", /* 图片访问路径前缀 */
- "imageManagerInsertAlign": "none", /* 插入的图片浮动方式 */
- "imageManagerAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 列出的文件类型 */
-
- /* 列出指定目录下的文件 */
- "fileManagerActionName": "listfile", /* 执行文件管理的action名称 */
- "fileManagerListPath": "/ueditor/jsp/upload/file/", /* 指定要列出文件的目录 */
- "fileManagerUrlPrefix": "", /* 文件访问路径前缀 */
- "fileManagerListSize": 20, /* 每次列出文件数量 */
- "fileManagerAllowFiles": [
- ".png", ".jpg", ".jpeg", ".gif", ".bmp",
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
- ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
- ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
- ] /* 列出的文件类型 */
-
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/controller.jsp b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/controller.jsp
deleted file mode 100644
index 6a3ef2f1..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/controller.jsp
+++ /dev/null
@@ -1,14 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8"
- import="com.baidu.ueditor.ActionEnter"
- pageEncoding="UTF-8"%>
-<%@ page trimDirectiveWhitespaces="true" %>
-<%
-
- request.setCharacterEncoding( "utf-8" );
- response.setHeader("Content-Type" , "text/html");
-
- String rootPath = application.getRealPath( "/" );
-
- out.write( new ActionEnter( request, rootPath ).exec() );
-
-%>
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-codec-1.9.jar b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-codec-1.9.jar
deleted file mode 100644
index ef35f1c5..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-codec-1.9.jar and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-fileupload-1.3.1.jar b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-fileupload-1.3.1.jar
deleted file mode 100644
index af0cda22..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-fileupload-1.3.1.jar and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-io-2.4.jar b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-io-2.4.jar
deleted file mode 100644
index 90035a4f..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/commons-io-2.4.jar and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/json.jar b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/json.jar
deleted file mode 100644
index ed0bc93a..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/json.jar and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/ueditor-1.1.1.jar b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/ueditor-1.1.1.jar
deleted file mode 100644
index 8bed6b79..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/lib/ueditor-1.1.1.jar and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/ActionEnter.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/ActionEnter.java
deleted file mode 100644
index 33a3dc7b..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/ActionEnter.java
+++ /dev/null
@@ -1,127 +0,0 @@
-package com.baidu.ueditor;
-
-import java.util.Map;
-
-import javax.servlet.http.HttpServletRequest;
-
-import com.baidu.ueditor.define.ActionMap;
-import com.baidu.ueditor.define.AppInfo;
-import com.baidu.ueditor.define.BaseState;
-import com.baidu.ueditor.define.State;
-import com.baidu.ueditor.hunter.FileManager;
-import com.baidu.ueditor.hunter.ImageHunter;
-import com.baidu.ueditor.upload.Uploader;
-
-public class ActionEnter {
-
- private HttpServletRequest request = null;
-
- private String rootPath = null;
- private String contextPath = null;
-
- private String actionType = null;
-
- private ConfigManager configManager = null;
-
- public ActionEnter ( HttpServletRequest request, String rootPath ) {
-
- this.request = request;
- this.rootPath = rootPath;
- this.actionType = request.getParameter( "action" );
- this.contextPath = request.getContextPath();
- this.configManager = ConfigManager.getInstance( this.rootPath, this.contextPath, request.getRequestURI() );
-
- }
-
- public String exec () {
-
- String callbackName = this.request.getParameter("callback");
-
- if ( callbackName != null ) {
-
- if ( !validCallbackName( callbackName ) ) {
- return new BaseState( false, AppInfo.ILLEGAL ).toJSONString();
- }
-
- return callbackName+"("+this.invoke()+");";
-
- } else {
- return this.invoke();
- }
-
- }
-
- public String invoke() {
-
- if ( actionType == null || !ActionMap.mapping.containsKey( actionType ) ) {
- return new BaseState( false, AppInfo.INVALID_ACTION ).toJSONString();
- }
-
- if ( this.configManager == null || !this.configManager.valid() ) {
- return new BaseState( false, AppInfo.CONFIG_ERROR ).toJSONString();
- }
-
- State state = null;
-
- int actionCode = ActionMap.getType( this.actionType );
-
- Map
conf = null;
-
- switch ( actionCode ) {
-
- case ActionMap.CONFIG:
- return this.configManager.getAllConfig().toString();
-
- case ActionMap.UPLOAD_IMAGE:
- case ActionMap.UPLOAD_SCRAWL:
- case ActionMap.UPLOAD_VIDEO:
- case ActionMap.UPLOAD_FILE:
- conf = this.configManager.getConfig( actionCode );
- state = new Uploader( request, conf ).doExec();
- break;
-
- case ActionMap.CATCH_IMAGE:
- conf = configManager.getConfig( actionCode );
- String[] list = this.request.getParameterValues( (String)conf.get( "fieldName" ) );
- state = new ImageHunter( conf ).capture( list );
- break;
-
- case ActionMap.LIST_IMAGE:
- case ActionMap.LIST_FILE:
- conf = configManager.getConfig( actionCode );
- int start = this.getStartIndex();
- state = new FileManager( conf ).listFile( start );
- break;
-
- }
-
- return state.toJSONString();
-
- }
-
- public int getStartIndex () {
-
- String start = this.request.getParameter( "start" );
-
- try {
- return Integer.parseInt( start );
- } catch ( Exception e ) {
- return 0;
- }
-
- }
-
- /**
- * callback参数验证
- */
- public boolean validCallbackName ( String name ) {
-
- if ( name.matches( "^[a-zA-Z_]+[\\w0-9_]*$" ) ) {
- return true;
- }
-
- return false;
-
- }
-
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/ConfigManager.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/ConfigManager.java
deleted file mode 100644
index 5551ee90..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/ConfigManager.java
+++ /dev/null
@@ -1,222 +0,0 @@
-package com.baidu.ueditor;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.UnsupportedEncodingException;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.json.JSONArray;
-import org.json.JSONObject;
-
-import com.baidu.ueditor.define.ActionMap;
-
-/**
- * 配置管理器
- * @author hancong03@baidu.com
- *
- */
-public final class ConfigManager {
-
- private final String rootPath;
- private final String originalPath;
- private final String contextPath;
- private static final String configFileName = "config.json";
- private String parentPath = null;
- private JSONObject jsonConfig = null;
- // 涂鸦上传filename定义
- private final static String SCRAWL_FILE_NAME = "scrawl";
- // 远程图片抓取filename定义
- private final static String REMOTE_FILE_NAME = "remote";
-
- /*
- * 通过一个给定的路径构建一个配置管理器, 该管理器要求地址路径所在目录下必须存在config.properties文件
- */
- private ConfigManager ( String rootPath, String contextPath, String uri ) throws FileNotFoundException, IOException {
-
- rootPath = rootPath.replace( "\\", "/" );
-
- this.rootPath = rootPath;
- this.contextPath = contextPath;
-
- if ( contextPath.length() > 0 ) {
- this.originalPath = this.rootPath + uri.substring( contextPath.length() );
- } else {
- this.originalPath = this.rootPath + uri;
- }
-
- this.initEnv();
-
- }
-
- /**
- * 配置管理器构造工厂
- * @param rootPath 服务器根路径
- * @param contextPath 服务器所在项目路径
- * @param uri 当前访问的uri
- * @return 配置管理器实例或者null
- */
- public static ConfigManager getInstance ( String rootPath, String contextPath, String uri ) {
-
- try {
- return new ConfigManager(rootPath, contextPath, uri);
- } catch ( Exception e ) {
- return null;
- }
-
- }
-
- // 验证配置文件加载是否正确
- public boolean valid () {
- return this.jsonConfig != null;
- }
-
- public JSONObject getAllConfig () {
-
- return this.jsonConfig;
-
- }
-
- public Map getConfig ( int type ) {
-
- Map conf = new HashMap();
- String savePath = null;
-
- switch ( type ) {
-
- case ActionMap.UPLOAD_FILE:
- conf.put( "isBase64", "false" );
- conf.put( "maxSize", this.jsonConfig.getLong( "fileMaxSize" ) );
- conf.put( "allowFiles", this.getArray( "fileAllowFiles" ) );
- conf.put( "fieldName", this.jsonConfig.getString( "fileFieldName" ) );
- savePath = this.jsonConfig.getString( "filePathFormat" );
- break;
-
- case ActionMap.UPLOAD_IMAGE:
- conf.put( "isBase64", "false" );
- conf.put( "maxSize", this.jsonConfig.getLong( "imageMaxSize" ) );
- conf.put( "allowFiles", this.getArray( "imageAllowFiles" ) );
- conf.put( "fieldName", this.jsonConfig.getString( "imageFieldName" ) );
- savePath = this.jsonConfig.getString( "imagePathFormat" );
- break;
-
- case ActionMap.UPLOAD_VIDEO:
- conf.put( "maxSize", this.jsonConfig.getLong( "videoMaxSize" ) );
- conf.put( "allowFiles", this.getArray( "videoAllowFiles" ) );
- conf.put( "fieldName", this.jsonConfig.getString( "videoFieldName" ) );
- savePath = this.jsonConfig.getString( "videoPathFormat" );
- break;
-
- case ActionMap.UPLOAD_SCRAWL:
- conf.put( "filename", ConfigManager.SCRAWL_FILE_NAME );
- conf.put( "maxSize", this.jsonConfig.getLong( "scrawlMaxSize" ) );
- conf.put( "fieldName", this.jsonConfig.getString( "scrawlFieldName" ) );
- conf.put( "isBase64", "true" );
- savePath = this.jsonConfig.getString( "scrawlPathFormat" );
- break;
-
- case ActionMap.CATCH_IMAGE:
- conf.put( "filename", ConfigManager.REMOTE_FILE_NAME );
- conf.put( "filter", this.getArray( "catcherLocalDomain" ) );
- conf.put( "maxSize", this.jsonConfig.getLong( "catcherMaxSize" ) );
- conf.put( "allowFiles", this.getArray( "catcherAllowFiles" ) );
- conf.put( "fieldName", this.jsonConfig.getString( "catcherFieldName" ) + "[]" );
- savePath = this.jsonConfig.getString( "catcherPathFormat" );
- break;
-
- case ActionMap.LIST_IMAGE:
- conf.put( "allowFiles", this.getArray( "imageManagerAllowFiles" ) );
- conf.put( "dir", this.jsonConfig.getString( "imageManagerListPath" ) );
- conf.put( "count", this.jsonConfig.getInt( "imageManagerListSize" ) );
- break;
-
- case ActionMap.LIST_FILE:
- conf.put( "allowFiles", this.getArray( "fileManagerAllowFiles" ) );
- conf.put( "dir", this.jsonConfig.getString( "fileManagerListPath" ) );
- conf.put( "count", this.jsonConfig.getInt( "fileManagerListSize" ) );
- break;
-
- }
-
- conf.put( "savePath", savePath );
- conf.put( "rootPath", this.rootPath );
-
- return conf;
-
- }
-
- private void initEnv () throws FileNotFoundException, IOException {
-
- File file = new File( this.originalPath );
-
- if ( !file.isAbsolute() ) {
- file = new File( file.getAbsolutePath() );
- }
-
- this.parentPath = file.getParent();
-
- String configContent = this.readFile( this.getConfigPath() );
-
- try{
- JSONObject jsonConfig = new JSONObject( configContent );
- this.jsonConfig = jsonConfig;
- } catch ( Exception e ) {
- this.jsonConfig = null;
- }
-
- }
-
- private String getConfigPath () {
- return this.parentPath + File.separator + ConfigManager.configFileName;
- }
-
- private String[] getArray ( String key ) {
-
- JSONArray jsonArray = this.jsonConfig.getJSONArray( key );
- String[] result = new String[ jsonArray.length() ];
-
- for ( int i = 0, len = jsonArray.length(); i < len; i++ ) {
- result[i] = jsonArray.getString( i );
- }
-
- return result;
-
- }
-
- private String readFile ( String path ) throws IOException {
-
- StringBuilder builder = new StringBuilder();
-
- try {
-
- InputStreamReader reader = new InputStreamReader( new FileInputStream( path ), "UTF-8" );
- BufferedReader bfReader = new BufferedReader( reader );
-
- String tmpContent = null;
-
- while ( ( tmpContent = bfReader.readLine() ) != null ) {
- builder.append( tmpContent );
- }
-
- bfReader.close();
-
- } catch ( UnsupportedEncodingException e ) {
- // 忽略
- }
-
- return this.filter( builder.toString() );
-
- }
-
- // 过滤输入字符串, 剔除多行注释以及替换掉反斜杠
- private String filter ( String input ) {
-
- return input.replaceAll( "/\\*[\\s\\S]*?\\*/", "" );
-
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/Encoder.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/Encoder.java
deleted file mode 100644
index 00bce19b..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/Encoder.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.baidu.ueditor;
-
-public class Encoder {
-
- public static String toUnicode ( String input ) {
-
- StringBuilder builder = new StringBuilder();
- char[] chars = input.toCharArray();
-
- for ( char ch : chars ) {
-
- if ( ch < 256 ) {
- builder.append( ch );
- } else {
- builder.append( "\\u" + Integer.toHexString( ch& 0xffff ) );
- }
-
- }
-
- return builder.toString();
-
- }
-
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/PathFormat.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/PathFormat.java
deleted file mode 100644
index 080ea48f..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/PathFormat.java
+++ /dev/null
@@ -1,157 +0,0 @@
-package com.baidu.ueditor;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-public class PathFormat {
-
- private static final String TIME = "time";
- private static final String FULL_YEAR = "yyyy";
- private static final String YEAR = "yy";
- private static final String MONTH = "mm";
- private static final String DAY = "dd";
- private static final String HOUR = "hh";
- private static final String MINUTE = "ii";
- private static final String SECOND = "ss";
- private static final String RAND = "rand";
-
- private static Date currentDate = null;
-
- public static String parse ( String input ) {
-
- Pattern pattern = Pattern.compile( "\\{([^\\}]+)\\}", Pattern.CASE_INSENSITIVE );
- Matcher matcher = pattern.matcher(input);
-
- PathFormat.currentDate = new Date();
-
- StringBuffer sb = new StringBuffer();
-
- while ( matcher.find() ) {
-
- matcher.appendReplacement(sb, PathFormat.getString( matcher.group( 1 ) ) );
-
- }
-
- matcher.appendTail(sb);
-
- return sb.toString();
- }
-
- /**
- * 格式化路径, 把windows路径替换成标准路径
- * @param input 待格式化的路径
- * @return 格式化后的路径
- */
- public static String format ( String input ) {
-
- return input.replace( "\\", "/" );
-
- }
-
- public static String parse ( String input, String filename ) {
-
- Pattern pattern = Pattern.compile( "\\{([^\\}]+)\\}", Pattern.CASE_INSENSITIVE );
- Matcher matcher = pattern.matcher(input);
- String matchStr = null;
-
- PathFormat.currentDate = new Date();
-
- StringBuffer sb = new StringBuffer();
-
- while ( matcher.find() ) {
-
- matchStr = matcher.group( 1 );
- if ( matchStr.indexOf( "filename" ) != -1 ) {
- filename = filename.replace( "$", "\\$" ).replaceAll( "[\\/:*?\"<>|]", "" );
- matcher.appendReplacement(sb, filename );
- } else {
- matcher.appendReplacement(sb, PathFormat.getString( matchStr ) );
- }
-
- }
-
- matcher.appendTail(sb);
-
- return sb.toString();
- }
-
- private static String getString ( String pattern ) {
-
- pattern = pattern.toLowerCase();
-
- // time 处理
- if ( pattern.indexOf( PathFormat.TIME ) != -1 ) {
- return PathFormat.getTimestamp();
- } else if ( pattern.indexOf( PathFormat.FULL_YEAR ) != -1 ) {
- return PathFormat.getFullYear();
- } else if ( pattern.indexOf( PathFormat.YEAR ) != -1 ) {
- return PathFormat.getYear();
- } else if ( pattern.indexOf( PathFormat.MONTH ) != -1 ) {
- return PathFormat.getMonth();
- } else if ( pattern.indexOf( PathFormat.DAY ) != -1 ) {
- return PathFormat.getDay();
- } else if ( pattern.indexOf( PathFormat.HOUR ) != -1 ) {
- return PathFormat.getHour();
- } else if ( pattern.indexOf( PathFormat.MINUTE ) != -1 ) {
- return PathFormat.getMinute();
- } else if ( pattern.indexOf( PathFormat.SECOND ) != -1 ) {
- return PathFormat.getSecond();
- } else if ( pattern.indexOf( PathFormat.RAND ) != -1 ) {
- return PathFormat.getRandom( pattern );
- }
-
- return pattern;
-
- }
-
- private static String getTimestamp () {
- return System.currentTimeMillis() + "";
- }
-
- private static String getFullYear () {
- return new SimpleDateFormat( "yyyy" ).format( PathFormat.currentDate );
- }
-
- private static String getYear () {
- return new SimpleDateFormat( "yy" ).format( PathFormat.currentDate );
- }
-
- private static String getMonth () {
- return new SimpleDateFormat( "MM" ).format( PathFormat.currentDate );
- }
-
- private static String getDay () {
- return new SimpleDateFormat( "dd" ).format( PathFormat.currentDate );
- }
-
- private static String getHour () {
- return new SimpleDateFormat( "HH" ).format( PathFormat.currentDate );
- }
-
- private static String getMinute () {
- return new SimpleDateFormat( "mm" ).format( PathFormat.currentDate );
- }
-
- private static String getSecond () {
- return new SimpleDateFormat( "ss" ).format( PathFormat.currentDate );
- }
-
- private static String getRandom ( String pattern ) {
-
- int length = 0;
- pattern = pattern.split( ":" )[ 1 ].trim();
-
- length = Integer.parseInt( pattern );
-
- return ( Math.random() + "" ).replace( ".", "" ).substring( 0, length );
-
- }
-
- public static void main(String[] args) {
- // TODO Auto-generated method stub
-
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/ActionMap.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/ActionMap.java
deleted file mode 100644
index 88f4f324..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/ActionMap.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package com.baidu.ueditor.define;
-
-import java.util.Map;
-import java.util.HashMap;
-
-/**
- * 定义请求action类型
- * @author hancong03@baidu.com
- *
- */
-@SuppressWarnings("serial")
-public final class ActionMap {
-
- public static final Map mapping;
- // 获取配置请求
- public static final int CONFIG = 0;
- public static final int UPLOAD_IMAGE = 1;
- public static final int UPLOAD_SCRAWL = 2;
- public static final int UPLOAD_VIDEO = 3;
- public static final int UPLOAD_FILE = 4;
- public static final int CATCH_IMAGE = 5;
- public static final int LIST_FILE = 6;
- public static final int LIST_IMAGE = 7;
-
- static {
- mapping = new HashMap(){{
- put( "config", ActionMap.CONFIG );
- put( "uploadimage", ActionMap.UPLOAD_IMAGE );
- put( "uploadscrawl", ActionMap.UPLOAD_SCRAWL );
- put( "uploadvideo", ActionMap.UPLOAD_VIDEO );
- put( "uploadfile", ActionMap.UPLOAD_FILE );
- put( "catchimage", ActionMap.CATCH_IMAGE );
- put( "listfile", ActionMap.LIST_FILE );
- put( "listimage", ActionMap.LIST_IMAGE );
- }};
- }
-
- public static int getType ( String key ) {
- return ActionMap.mapping.get( key );
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/ActionState.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/ActionState.java
deleted file mode 100644
index b0fad34f..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/ActionState.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package com.baidu.ueditor.define;
-
-public enum ActionState {
- UNKNOW_ERROR
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/AppInfo.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/AppInfo.java
deleted file mode 100644
index b869f2aa..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/AppInfo.java
+++ /dev/null
@@ -1,77 +0,0 @@
-package com.baidu.ueditor.define;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public final class AppInfo {
-
- public static final int SUCCESS = 0;
- public static final int MAX_SIZE = 1;
- public static final int PERMISSION_DENIED = 2;
- public static final int FAILED_CREATE_FILE = 3;
- public static final int IO_ERROR = 4;
- public static final int NOT_MULTIPART_CONTENT = 5;
- public static final int PARSE_REQUEST_ERROR = 6;
- public static final int NOTFOUND_UPLOAD_DATA = 7;
- public static final int NOT_ALLOW_FILE_TYPE = 8;
-
- public static final int INVALID_ACTION = 101;
- public static final int CONFIG_ERROR = 102;
-
- public static final int PREVENT_HOST = 201;
- public static final int CONNECTION_ERROR = 202;
- public static final int REMOTE_FAIL = 203;
-
- public static final int NOT_DIRECTORY = 301;
- public static final int NOT_EXIST = 302;
-
- public static final int ILLEGAL = 401;
-
- public static Map info = new HashMap(){{
-
- put( AppInfo.SUCCESS, "SUCCESS" );
-
- // 无效的Action
- put( AppInfo.INVALID_ACTION, "\u65E0\u6548\u7684Action" );
- // 配置文件初始化失败
- put( AppInfo.CONFIG_ERROR, "\u914D\u7F6E\u6587\u4EF6\u521D\u59CB\u5316\u5931\u8D25" );
- // 抓取远程图片失败
- put( AppInfo.REMOTE_FAIL, "\u6293\u53D6\u8FDC\u7A0B\u56FE\u7247\u5931\u8D25" );
-
- // 被阻止的远程主机
- put( AppInfo.PREVENT_HOST, "\u88AB\u963B\u6B62\u7684\u8FDC\u7A0B\u4E3B\u673A" );
- // 远程连接出错
- put( AppInfo.CONNECTION_ERROR, "\u8FDC\u7A0B\u8FDE\u63A5\u51FA\u9519" );
-
- // "文件大小超出限制"
- put( AppInfo.MAX_SIZE, "\u6587\u4ef6\u5927\u5c0f\u8d85\u51fa\u9650\u5236" );
- // 权限不足, 多指写权限
- put( AppInfo.PERMISSION_DENIED, "\u6743\u9650\u4E0D\u8DB3" );
- // 创建文件失败
- put( AppInfo.FAILED_CREATE_FILE, "\u521B\u5EFA\u6587\u4EF6\u5931\u8D25" );
- // IO错误
- put( AppInfo.IO_ERROR, "IO\u9519\u8BEF" );
- // 上传表单不是multipart/form-data类型
- put( AppInfo.NOT_MULTIPART_CONTENT, "\u4E0A\u4F20\u8868\u5355\u4E0D\u662Fmultipart/form-data\u7C7B\u578B" );
- // 解析上传表单错误
- put( AppInfo.PARSE_REQUEST_ERROR, "\u89E3\u6790\u4E0A\u4F20\u8868\u5355\u9519\u8BEF" );
- // 未找到上传数据
- put( AppInfo.NOTFOUND_UPLOAD_DATA, "\u672A\u627E\u5230\u4E0A\u4F20\u6570\u636E" );
- // 不允许的文件类型
- put( AppInfo.NOT_ALLOW_FILE_TYPE, "\u4E0D\u5141\u8BB8\u7684\u6587\u4EF6\u7C7B\u578B" );
-
- // 指定路径不是目录
- put( AppInfo.NOT_DIRECTORY, "\u6307\u5B9A\u8DEF\u5F84\u4E0D\u662F\u76EE\u5F55" );
- // 指定路径并不存在
- put( AppInfo.NOT_EXIST, "\u6307\u5B9A\u8DEF\u5F84\u5E76\u4E0D\u5B58\u5728" );
-
- // callback参数名不合法
- put( AppInfo.ILLEGAL, "Callback\u53C2\u6570\u540D\u4E0D\u5408\u6CD5" );
-
- }};
-
- public static String getStateInfo ( int key ) {
- return AppInfo.info.get( key );
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/BaseState.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/BaseState.java
deleted file mode 100644
index dcc881b1..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/BaseState.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package com.baidu.ueditor.define;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import com.baidu.ueditor.Encoder;
-
-public class BaseState implements State {
-
- private boolean state = false;
- private String info = null;
-
- private Map infoMap = new HashMap();
-
- public BaseState () {
- this.state = true;
- }
-
- public BaseState ( boolean state ) {
- this.setState( state );
- }
-
- public BaseState ( boolean state, String info ) {
- this.setState( state );
- this.info = info;
- }
-
- public BaseState ( boolean state, int infoCode ) {
- this.setState( state );
- this.info = AppInfo.getStateInfo( infoCode );
- }
-
- public boolean isSuccess () {
- return this.state;
- }
-
- public void setState ( boolean state ) {
- this.state = state;
- }
-
- public void setInfo ( String info ) {
- this.info = info;
- }
-
- public void setInfo ( int infoCode ) {
- this.info = AppInfo.getStateInfo( infoCode );
- }
-
- @Override
- public String toJSONString() {
- return this.toString();
- }
-
- public String toString () {
-
- String key = null;
- String stateVal = this.isSuccess() ? AppInfo.getStateInfo( AppInfo.SUCCESS ) : this.info;
-
- StringBuilder builder = new StringBuilder();
-
- builder.append( "{\"state\": \"" + stateVal + "\"" );
-
- Iterator iterator = this.infoMap.keySet().iterator();
-
- while ( iterator.hasNext() ) {
-
- key = iterator.next();
-
- builder.append( ",\"" + key + "\": \"" + this.infoMap.get(key) + "\"" );
-
- }
-
- builder.append( "}" );
-
- return Encoder.toUnicode( builder.toString() );
-
- }
-
- @Override
- public void putInfo(String name, String val) {
- this.infoMap.put(name, val);
- }
-
- @Override
- public void putInfo(String name, long val) {
- this.putInfo(name, val+"");
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/FileType.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/FileType.java
deleted file mode 100644
index 9195b85b..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/FileType.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.baidu.ueditor.define;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class FileType {
-
- public static final String JPG = "JPG";
-
- private static final Map types = new HashMap(){{
-
- put( FileType.JPG, ".jpg" );
-
- }};
-
- public static String getSuffix ( String key ) {
- return FileType.types.get( key );
- }
-
- /**
- * 根据给定的文件名,获取其后缀信息
- * @param filename
- * @return
- */
- public static String getSuffixByFilename ( String filename ) {
-
- return filename.substring( filename.lastIndexOf( "." ) ).toLowerCase();
-
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/MIMEType.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/MIMEType.java
deleted file mode 100644
index 77c6cddf..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/MIMEType.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package com.baidu.ueditor.define;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class MIMEType {
-
- public static final Map types = new HashMap(){{
- put( "image/gif", ".gif" );
- put( "image/jpeg", ".jpg" );
- put( "image/jpg", ".jpg" );
- put( "image/png", ".png" );
- put( "image/bmp", ".bmp" );
- }};
-
- public static String getSuffix ( String mime ) {
- return MIMEType.types.get( mime );
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/MultiState.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/MultiState.java
deleted file mode 100644
index 26caefb7..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/MultiState.java
+++ /dev/null
@@ -1,112 +0,0 @@
-package com.baidu.ueditor.define;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import com.baidu.ueditor.Encoder;
-
-/**
- * 多状态集合状态
- * 其包含了多个状态的集合, 其本身自己也是一个状态
- * @author hancong03@baidu.com
- *
- */
-public class MultiState implements State {
-
- private boolean state = false;
- private String info = null;
- private Map intMap = new HashMap();
- private Map infoMap = new HashMap();
- private List stateList = new ArrayList();
-
- public MultiState ( boolean state ) {
- this.state = state;
- }
-
- public MultiState ( boolean state, String info ) {
- this.state = state;
- this.info = info;
- }
-
- public MultiState ( boolean state, int infoKey ) {
- this.state = state;
- this.info = AppInfo.getStateInfo( infoKey );
- }
-
- @Override
- public boolean isSuccess() {
- return this.state;
- }
-
- public void addState ( State state ) {
- stateList.add( state.toJSONString() );
- }
-
- /**
- * 该方法调用无效果
- */
- @Override
- public void putInfo(String name, String val) {
- this.infoMap.put(name, val);
- }
-
- @Override
- public String toJSONString() {
-
- String stateVal = this.isSuccess() ? AppInfo.getStateInfo( AppInfo.SUCCESS ) : this.info;
-
- StringBuilder builder = new StringBuilder();
-
- builder.append( "{\"state\": \"" + stateVal + "\"" );
-
- // 数字转换
- Iterator iterator = this.intMap.keySet().iterator();
-
- while ( iterator.hasNext() ) {
-
- stateVal = iterator.next();
-
- builder.append( ",\""+ stateVal +"\": " + this.intMap.get( stateVal ) );
-
- }
-
- iterator = this.infoMap.keySet().iterator();
-
- while ( iterator.hasNext() ) {
-
- stateVal = iterator.next();
-
- builder.append( ",\""+ stateVal +"\": \"" + this.infoMap.get( stateVal ) + "\"" );
-
- }
-
- builder.append( ", list: [" );
-
-
- iterator = this.stateList.iterator();
-
- while ( iterator.hasNext() ) {
-
- builder.append( iterator.next() + "," );
-
- }
-
- if ( this.stateList.size() > 0 ) {
- builder.deleteCharAt( builder.length() - 1 );
- }
-
- builder.append( " ]}" );
-
- return Encoder.toUnicode( builder.toString() );
-
- }
-
- @Override
- public void putInfo(String name, long val) {
- this.intMap.put( name, val );
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/State.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/State.java
deleted file mode 100644
index 8f222749..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/define/State.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package com.baidu.ueditor.define;
-
-/**
- * 处理状态接口
- * @author hancong03@baidu.com
- *
- */
-public interface State {
-
- public boolean isSuccess ();
-
- public void putInfo( String name, String val );
-
- public void putInfo ( String name, long val );
-
- public String toJSONString ();
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/hunter/FileManager.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/hunter/FileManager.java
deleted file mode 100644
index 5a8c1a05..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/hunter/FileManager.java
+++ /dev/null
@@ -1,112 +0,0 @@
-package com.baidu.ueditor.hunter;
-
-import java.io.File;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Map;
-
-import org.apache.commons.io.FileUtils;
-
-import com.baidu.ueditor.PathFormat;
-import com.baidu.ueditor.define.AppInfo;
-import com.baidu.ueditor.define.BaseState;
-import com.baidu.ueditor.define.MultiState;
-import com.baidu.ueditor.define.State;
-
-public class FileManager {
-
- private String dir = null;
- private String rootPath = null;
- private String[] allowFiles = null;
- private int count = 0;
-
- public FileManager ( Map conf ) {
-
- this.rootPath = (String)conf.get( "rootPath" );
- this.dir = this.rootPath + (String)conf.get( "dir" );
- this.allowFiles = this.getAllowFiles( conf.get("allowFiles") );
- this.count = (Integer)conf.get( "count" );
-
- }
-
- public State listFile ( int index ) {
-
- File dir = new File( this.dir );
- State state = null;
-
- if ( !dir.exists() ) {
- return new BaseState( false, AppInfo.NOT_EXIST );
- }
-
- if ( !dir.isDirectory() ) {
- return new BaseState( false, AppInfo.NOT_DIRECTORY );
- }
-
- Collection list = FileUtils.listFiles( dir, this.allowFiles, true );
-
- if ( index < 0 || index > list.size() ) {
- state = new MultiState( true );
- } else {
- Object[] fileList = Arrays.copyOfRange( list.toArray(), index, index + this.count );
- state = this.getState( fileList );
- }
-
- state.putInfo( "start", index );
- state.putInfo( "total", list.size() );
-
- return state;
-
- }
-
- private State getState ( Object[] files ) {
-
- MultiState state = new MultiState( true );
- BaseState fileState = null;
-
- File file = null;
-
- for ( Object obj : files ) {
- if ( obj == null ) {
- break;
- }
- file = (File)obj;
- fileState = new BaseState( true );
- fileState.putInfo( "url", PathFormat.format( this.getPath( file ) ) );
- state.addState( fileState );
- }
-
- return state;
-
- }
-
- private String getPath ( File file ) {
-
- String path = file.getAbsolutePath();
-
- return path.replace( this.rootPath, "/" );
-
- }
-
- private String[] getAllowFiles ( Object fileExt ) {
-
- String[] exts = null;
- String ext = null;
-
- if ( fileExt == null ) {
- return new String[ 0 ];
- }
-
- exts = (String[])fileExt;
-
- for ( int i = 0, len = exts.length; i < len; i++ ) {
-
- ext = exts[ i ];
- exts[ i ] = ext.replace( ".", "" );
-
- }
-
- return exts;
-
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/hunter/ImageHunter.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/hunter/ImageHunter.java
deleted file mode 100644
index 2631975d..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/hunter/ImageHunter.java
+++ /dev/null
@@ -1,133 +0,0 @@
-package com.baidu.ueditor.hunter;
-
-import java.net.HttpURLConnection;
-import java.net.URL;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-
-import com.baidu.ueditor.PathFormat;
-import com.baidu.ueditor.define.AppInfo;
-import com.baidu.ueditor.define.BaseState;
-import com.baidu.ueditor.define.MIMEType;
-import com.baidu.ueditor.define.MultiState;
-import com.baidu.ueditor.define.State;
-import com.baidu.ueditor.upload.StorageManager;
-
-/**
- * 图片抓取器
- * @author hancong03@baidu.com
- *
- */
-public class ImageHunter {
-
- private String filename = null;
- private String savePath = null;
- private String rootPath = null;
- private List allowTypes = null;
- private long maxSize = -1;
-
- private List filters = null;
-
- public ImageHunter ( Map conf ) {
-
- this.filename = (String)conf.get( "filename" );
- this.savePath = (String)conf.get( "savePath" );
- this.rootPath = (String)conf.get( "rootPath" );
- this.maxSize = (Long)conf.get( "maxSize" );
- this.allowTypes = Arrays.asList( (String[])conf.get( "allowFiles" ) );
- this.filters = Arrays.asList( (String[])conf.get( "filter" ) );
-
- }
-
- public State capture ( String[] list ) {
-
- MultiState state = new MultiState( true );
-
- for ( String source : list ) {
- state.addState( captureRemoteData( source ) );
- }
-
- return state;
-
- }
-
- public State captureRemoteData ( String urlStr ) {
-
- HttpURLConnection connection = null;
- URL url = null;
- String suffix = null;
-
- try {
- url = new URL( urlStr );
-
- if ( !validHost( url.getHost() ) ) {
- return new BaseState( false, AppInfo.PREVENT_HOST );
- }
-
- connection = (HttpURLConnection) url.openConnection();
-
- connection.setInstanceFollowRedirects( true );
- connection.setUseCaches( true );
-
- if ( !validContentState( connection.getResponseCode() ) ) {
- return new BaseState( false, AppInfo.CONNECTION_ERROR );
- }
-
- suffix = MIMEType.getSuffix( connection.getContentType() );
-
- if ( !validFileType( suffix ) ) {
- return new BaseState( false, AppInfo.NOT_ALLOW_FILE_TYPE );
- }
-
- if ( !validFileSize( connection.getContentLength() ) ) {
- return new BaseState( false, AppInfo.MAX_SIZE );
- }
-
- String savePath = this.getPath( this.savePath, this.filename, suffix );
- String physicalPath = this.rootPath + savePath;
-
- State state = StorageManager.saveFileByInputStream( connection.getInputStream(), physicalPath );
-
- if ( state.isSuccess() ) {
- state.putInfo( "url", PathFormat.format( savePath ) );
- state.putInfo( "source", urlStr );
- }
-
- return state;
-
- } catch ( Exception e ) {
- return new BaseState( false, AppInfo.REMOTE_FAIL );
- }
-
- }
-
- private String getPath ( String savePath, String filename, String suffix ) {
-
- return PathFormat.parse( savePath + suffix, filename );
-
- }
-
- private boolean validHost ( String hostname ) {
-
- return !filters.contains( hostname );
-
- }
-
- private boolean validContentState ( int code ) {
-
- return HttpURLConnection.HTTP_OK == code;
-
- }
-
- private boolean validFileType ( String type ) {
-
- return this.allowTypes.contains( type );
-
- }
-
- private boolean validFileSize ( int size ) {
- return size < this.maxSize;
- }
-
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/Base64Uploader.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/Base64Uploader.java
deleted file mode 100644
index 2f81076a..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/Base64Uploader.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package com.baidu.ueditor.upload;
-
-import com.baidu.ueditor.PathFormat;
-import com.baidu.ueditor.define.AppInfo;
-import com.baidu.ueditor.define.BaseState;
-import com.baidu.ueditor.define.FileType;
-import com.baidu.ueditor.define.State;
-
-import java.util.Map;
-
-import org.apache.commons.codec.binary.Base64;
-
-public final class Base64Uploader {
-
- public static State save(String content, Map conf) {
-
- byte[] data = decode(content);
-
- long maxSize = ((Long) conf.get("maxSize")).longValue();
-
- if (!validSize(data, maxSize)) {
- return new BaseState(false, AppInfo.MAX_SIZE);
- }
-
- String suffix = FileType.getSuffix("JPG");
-
- String savePath = PathFormat.parse((String) conf.get("savePath"),
- (String) conf.get("filename"));
-
- savePath = savePath + suffix;
- String physicalPath = (String) conf.get("rootPath") + savePath;
-
- State storageState = StorageManager.saveBinaryFile(data, physicalPath);
-
- if (storageState.isSuccess()) {
- storageState.putInfo("url", PathFormat.format(savePath));
- storageState.putInfo("type", suffix);
- storageState.putInfo("original", "");
- }
-
- return storageState;
- }
-
- private static byte[] decode(String content) {
- return Base64.decodeBase64(content);
- }
-
- private static boolean validSize(byte[] data, long length) {
- return data.length <= length;
- }
-
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/BinaryUploader.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/BinaryUploader.java
deleted file mode 100644
index c69f9ddd..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/BinaryUploader.java
+++ /dev/null
@@ -1,98 +0,0 @@
-package com.baidu.ueditor.upload;
-
-import com.baidu.ueditor.PathFormat;
-import com.baidu.ueditor.define.AppInfo;
-import com.baidu.ueditor.define.BaseState;
-import com.baidu.ueditor.define.FileType;
-import com.baidu.ueditor.define.State;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-
-import javax.servlet.http.HttpServletRequest;
-
-import org.apache.commons.fileupload.FileItemIterator;
-import org.apache.commons.fileupload.FileItemStream;
-import org.apache.commons.fileupload.FileUploadException;
-import org.apache.commons.fileupload.disk.DiskFileItemFactory;
-import org.apache.commons.fileupload.servlet.ServletFileUpload;
-
-public class BinaryUploader {
-
- public static final State save(HttpServletRequest request,
- Map conf) {
- FileItemStream fileStream = null;
- boolean isAjaxUpload = request.getHeader( "X_Requested_With" ) != null;
-
- if (!ServletFileUpload.isMultipartContent(request)) {
- return new BaseState(false, AppInfo.NOT_MULTIPART_CONTENT);
- }
-
- ServletFileUpload upload = new ServletFileUpload(
- new DiskFileItemFactory());
-
- if ( isAjaxUpload ) {
- upload.setHeaderEncoding( "UTF-8" );
- }
-
- try {
- FileItemIterator iterator = upload.getItemIterator(request);
-
- while (iterator.hasNext()) {
- fileStream = iterator.next();
-
- if (!fileStream.isFormField())
- break;
- fileStream = null;
- }
-
- if (fileStream == null) {
- return new BaseState(false, AppInfo.NOTFOUND_UPLOAD_DATA);
- }
-
- String savePath = (String) conf.get("savePath");
- String originFileName = fileStream.getName();
- String suffix = FileType.getSuffixByFilename(originFileName);
-
- originFileName = originFileName.substring(0,
- originFileName.length() - suffix.length());
- savePath = savePath + suffix;
-
- long maxSize = ((Long) conf.get("maxSize")).longValue();
-
- if (!validType(suffix, (String[]) conf.get("allowFiles"))) {
- return new BaseState(false, AppInfo.NOT_ALLOW_FILE_TYPE);
- }
-
- savePath = PathFormat.parse(savePath, originFileName);
-
- String physicalPath = (String) conf.get("rootPath") + savePath;
-
- InputStream is = fileStream.openStream();
- State storageState = StorageManager.saveFileByInputStream(is,
- physicalPath, maxSize);
- is.close();
-
- if (storageState.isSuccess()) {
- storageState.putInfo("url", PathFormat.format(savePath));
- storageState.putInfo("type", suffix);
- storageState.putInfo("original", originFileName + suffix);
- }
-
- return storageState;
- } catch (FileUploadException e) {
- return new BaseState(false, AppInfo.PARSE_REQUEST_ERROR);
- } catch (IOException e) {
- }
- return new BaseState(false, AppInfo.IO_ERROR);
- }
-
- private static boolean validType(String type, String[] allowTypes) {
- List list = Arrays.asList(allowTypes);
-
- return list.contains(type);
- }
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/StorageManager.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/StorageManager.java
deleted file mode 100644
index 33911c64..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/StorageManager.java
+++ /dev/null
@@ -1,155 +0,0 @@
-package com.baidu.ueditor.upload;
-
-import com.baidu.ueditor.define.AppInfo;
-import com.baidu.ueditor.define.BaseState;
-import com.baidu.ueditor.define.State;
-
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.apache.commons.io.FileUtils;
-
-public class StorageManager {
- public static final int BUFFER_SIZE = 8192;
-
- public StorageManager() {
- }
-
- public static State saveBinaryFile(byte[] data, String path) {
- File file = new File(path);
-
- State state = valid(file);
-
- if (!state.isSuccess()) {
- return state;
- }
-
- try {
- BufferedOutputStream bos = new BufferedOutputStream(
- new FileOutputStream(file));
- bos.write(data);
- bos.flush();
- bos.close();
- } catch (IOException ioe) {
- return new BaseState(false, AppInfo.IO_ERROR);
- }
-
- state = new BaseState(true, file.getAbsolutePath());
- state.putInfo( "size", data.length );
- state.putInfo( "title", file.getName() );
- return state;
- }
-
- public static State saveFileByInputStream(InputStream is, String path,
- long maxSize) {
- State state = null;
-
- File tmpFile = getTmpFile();
-
- byte[] dataBuf = new byte[ 2048 ];
- BufferedInputStream bis = new BufferedInputStream(is, StorageManager.BUFFER_SIZE);
-
- try {
- BufferedOutputStream bos = new BufferedOutputStream(
- new FileOutputStream(tmpFile), StorageManager.BUFFER_SIZE);
-
- int count = 0;
- while ((count = bis.read(dataBuf)) != -1) {
- bos.write(dataBuf, 0, count);
- }
- bos.flush();
- bos.close();
-
- if (tmpFile.length() > maxSize) {
- tmpFile.delete();
- return new BaseState(false, AppInfo.MAX_SIZE);
- }
-
- state = saveTmpFile(tmpFile, path);
-
- if (!state.isSuccess()) {
- tmpFile.delete();
- }
-
- return state;
-
- } catch (IOException e) {
- }
- return new BaseState(false, AppInfo.IO_ERROR);
- }
-
- public static State saveFileByInputStream(InputStream is, String path) {
- State state = null;
-
- File tmpFile = getTmpFile();
-
- byte[] dataBuf = new byte[ 2048 ];
- BufferedInputStream bis = new BufferedInputStream(is, StorageManager.BUFFER_SIZE);
-
- try {
- BufferedOutputStream bos = new BufferedOutputStream(
- new FileOutputStream(tmpFile), StorageManager.BUFFER_SIZE);
-
- int count = 0;
- while ((count = bis.read(dataBuf)) != -1) {
- bos.write(dataBuf, 0, count);
- }
- bos.flush();
- bos.close();
-
- state = saveTmpFile(tmpFile, path);
-
- if (!state.isSuccess()) {
- tmpFile.delete();
- }
-
- return state;
- } catch (IOException e) {
- }
- return new BaseState(false, AppInfo.IO_ERROR);
- }
-
- private static File getTmpFile() {
- File tmpDir = FileUtils.getTempDirectory();
- String tmpFileName = (Math.random() * 10000 + "").replace(".", "");
- return new File(tmpDir, tmpFileName);
- }
-
- private static State saveTmpFile(File tmpFile, String path) {
- State state = null;
- File targetFile = new File(path);
-
- if (targetFile.canWrite()) {
- return new BaseState(false, AppInfo.PERMISSION_DENIED);
- }
- try {
- FileUtils.moveFile(tmpFile, targetFile);
- } catch (IOException e) {
- return new BaseState(false, AppInfo.IO_ERROR);
- }
-
- state = new BaseState(true);
- state.putInfo( "size", targetFile.length() );
- state.putInfo( "title", targetFile.getName() );
-
- return state;
- }
-
- private static State valid(File file) {
- File parentPath = file.getParentFile();
-
- if ((!parentPath.exists()) && (!parentPath.mkdirs())) {
- return new BaseState(false, AppInfo.FAILED_CREATE_FILE);
- }
-
- if (!parentPath.canWrite()) {
- return new BaseState(false, AppInfo.PERMISSION_DENIED);
- }
-
- return new BaseState(true);
- }
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/Uploader.java b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/Uploader.java
deleted file mode 100644
index 2312d1bc..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/jsp/src/com/baidu/ueditor/upload/Uploader.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package com.baidu.ueditor.upload;
-
-import com.baidu.ueditor.define.State;
-import java.util.Map;
-import javax.servlet.http.HttpServletRequest;
-
-public class Uploader {
- private HttpServletRequest request = null;
- private Map conf = null;
-
- public Uploader(HttpServletRequest request, Map conf) {
- this.request = request;
- this.conf = conf;
- }
-
- public final State doExec() {
- String filedName = (String) this.conf.get("fieldName");
- State state = null;
-
- if ("true".equals(this.conf.get("isBase64"))) {
- state = Base64Uploader.save(this.request.getParameter(filedName),
- this.conf);
- } else {
- state = BinaryUploader.save(this.request, this.conf);
- }
-
- return state;
- }
-}
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/en.js b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/en.js
deleted file mode 100644
index c7e22f5b..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/en.js
+++ /dev/null
@@ -1,684 +0,0 @@
-/**
- * Created with JetBrains PhpStorm.
- * User: taoqili
- * Date: 12-6-12
- * Time: 下午6:57
- * To change this template use File | Settings | File Templates.
- */
-UE.I18N['en'] = {
- 'labelMap':{
- 'anchor':'Anchor', 'undo':'Undo', 'redo':'Redo', 'bold':'Bold', 'indent':'Indent', 'snapscreen':'SnapScreen',
- 'italic':'Italic', 'underline':'Underline', 'strikethrough':'Strikethrough', 'subscript':'SubScript','fontborder':'text border',
- 'superscript':'SuperScript', 'formatmatch':'Format Match', 'source':'Source', 'blockquote':'BlockQuote',
- 'pasteplain':'PastePlain', 'selectall':'SelectAll', 'print':'Print', 'preview':'Preview',
- 'horizontal':'Horizontal', 'removeformat':'RemoveFormat', 'time':'Time', 'date':'Date',
- 'unlink':'Unlink', 'insertrow':'InsertRow', 'insertcol':'InsertCol', 'mergeright':'MergeRight', 'mergedown':'MergeDown',
- 'deleterow':'DeleteRow', 'deletecol':'DeleteCol', 'splittorows':'SplitToRows','insertcode':'insert code',
- 'splittocols':'SplitToCols', 'splittocells':'SplitToCells','deletecaption':'DeleteCaption','inserttitle':'InsertTitle',
- 'mergecells':'MergeCells', 'deletetable':'DeleteTable', 'cleardoc':'Clear', 'insertparagraphbeforetable':"InsertParagraphBeforeTable",
- 'fontfamily':'FontFamily', 'fontsize':'FontSize', 'paragraph':'Paragraph','simpleupload':'Single Image','insertimage':'Multi Image','edittable':'Edit Table', 'edittd':'Edit Td','link':'Link',
- 'emotion':'Emotion', 'spechars':'Spechars', 'searchreplace':'SearchReplace', 'map':'BaiduMap', 'gmap':'GoogleMap',
- 'insertvideo':'Video', 'help':'Help', 'justifyleft':'JustifyLeft', 'justifyright':'JustifyRight', 'justifycenter':'JustifyCenter',
- 'justifyjustify':'Justify', 'forecolor':'FontColor', 'backcolor':'BackColor', 'insertorderedlist':'OL',
- 'insertunorderedlist':'UL', 'fullscreen':'FullScreen', 'directionalityltr':'EnterFromLeft', 'directionalityrtl':'EnterFromRight',
- 'rowspacingtop':'RowSpacingTop', 'rowspacingbottom':'RowSpacingBottom', 'pagebreak':'PageBreak', 'insertframe':'Iframe', 'imagenone':'Default',
- 'imageleft':'ImageLeft', 'imageright':'ImageRight', 'attachment':'Attachment', 'imagecenter':'ImageCenter', 'wordimage':'WordImage',
- 'lineheight':'LineHeight','edittip':'EditTip','customstyle':'CustomStyle', 'scrawl':'Scrawl', 'autotypeset':'AutoTypeset',
- 'webapp':'WebAPP', 'touppercase':'UpperCase', 'tolowercase':'LowerCase','template':'Template','background':'Background','inserttable':'InsertTable',
- 'music':'Music', 'charts': 'charts','drafts': 'Load from Drafts'
- },
- 'insertorderedlist':{
- 'num':'1,2,3...',
- 'num1':'1),2),3)...',
- 'num2':'(1),(2),(3)...',
- 'cn':'一,二,三....',
- 'cn1':'一),二),三)....',
- 'cn2':'(一),(二),(三)....',
- 'decimal':'1,2,3...',
- 'lower-alpha':'a,b,c...',
- 'lower-roman':'i,ii,iii...',
- 'upper-alpha':'A,B,C...',
- 'upper-roman':'I,II,III...'
- },
- 'insertunorderedlist':{
- 'circle':'○ Circle',
- 'disc':'● Circle dot',
- 'square':'■ Rectangle ',
- 'dash' :'- Dash',
- 'dot' : '。dot'
- },
- 'paragraph':{'p':'Paragraph', 'h1':'Title 1', 'h2':'Title 2', 'h3':'Title 3', 'h4':'Title 4', 'h5':'Title 5', 'h6':'Title 6'},
- 'fontfamily':{
- 'songti':'Sim Sun',
- 'kaiti':'Sim Kai',
- 'heiti':'Sim Hei',
- 'lishu':'Sim Li',
- 'yahei': 'Microsoft YaHei',
- 'andaleMono':'Andale Mono',
- 'arial': 'Arial',
- 'arialBlack':'Arial Black',
- 'comicSansMs':'Comic Sans MS',
- 'impact':'Impact',
- 'timesNewRoman':'Times New Roman'
- },
- 'customstyle':{
- 'tc':'Title center',
- 'tl':'Title left',
- 'im':'Important',
- 'hi':'Highlight'
- },
- 'autoupload': {
- 'exceedSizeError': 'File Size Exceed',
- 'exceedTypeError': 'File Type Not Allow',
- 'jsonEncodeError': 'Server Return Format Error',
- 'loading':"loading...",
- 'loadError':"load error",
- 'errorLoadConfig': 'Server config not loaded, upload can not work.',
- },
- 'simpleupload':{
- 'exceedSizeError': 'File Size Exceed',
- 'exceedTypeError': 'File Type Not Allow',
- 'jsonEncodeError': 'Server Return Format Error',
- 'loading':"loading...",
- 'loadError':"load error",
- 'errorLoadConfig': 'Server config not loaded, upload can not work.',
- },
- 'elementPathTip':"Path",
- 'wordCountTip':"Word Count",
- 'wordCountMsg':'{#count} characters entered,{#leave} left. ',
- 'wordOverFlowMsg':'The number of characters has exceeded allowable maximum values, the server may refuse to save! ',
- 'ok':"OK",
- 'cancel':"Cancel",
- 'closeDialog':"closeDialog",
- 'tableDrag':"You must import the file uiUtils.js before drag! ",
- 'autofloatMsg':"The plugin AutoFloat depends on EditorUI!",
- 'loadconfigError': 'Get server config error.',
- 'loadconfigFormatError': 'Server config format error.',
- 'loadconfigHttpError': 'Get server config http error.',
- 'snapScreen_plugin':{
- 'browserMsg':"Only IE supported!",
- 'callBackErrorMsg':"The callback data is wrong,please check the config!",
- 'uploadErrorMsg':"Upload error,please check your server environment! "
- },
- 'insertcode':{
- 'as3':'ActionScript 3',
- 'bash':'Bash/Shell',
- 'cpp':'C/C++',
- 'css':'CSS',
- 'cf':'ColdFusion',
- 'c#':'C#',
- 'delphi':'Delphi',
- 'diff':'Diff',
- 'erlang':'Erlang',
- 'groovy':'Groovy',
- 'html':'HTML',
- 'java':'Java',
- 'jfx':'JavaFX',
- 'js':'JavaScript',
- 'pl':'Perl',
- 'php':'PHP',
- 'plain':'Plain Text',
- 'ps':'PowerShell',
- 'python':'Python',
- 'ruby':'Ruby',
- 'scala':'Scala',
- 'sql':'SQL',
- 'vb':'Visual Basic',
- 'xml':'XML'
- },
- 'confirmClear':"Do you confirm to clear the Document?",
- 'contextMenu':{
- 'delete':"Delete",
- 'selectall':"Select all",
- 'deletecode':"Delete Code",
- 'cleardoc':"Clear Document",
- 'confirmclear':"Do you confirm to clear the Document?",
- 'unlink':"Unlink",
- 'paragraph':"Paragraph",
- 'edittable':"Table property",
- 'aligncell':'Align cell',
- 'aligntable':'Table alignment',
- 'tableleft':'Left float',
- 'tablecenter':'Center',
- 'tableright':'Right float',
- 'aligntd':'Cell alignment',
- 'edittd':"Cell property",
- 'setbordervisible':'set table edge visible',
- 'table':"Table",
- 'justifyleft':'Justify Left',
- 'justifyright':'Justify Right',
- 'justifycenter':'Justify Center',
- 'justifyjustify':'Default',
- 'deletetable':"Delete table",
- 'insertparagraphbefore':"InsertedBeforeLine",
- 'insertparagraphafter':'InsertedAfterLine',
- 'inserttable':'Insert table',
- 'insertcaption':'Insert caption',
- 'deletecaption':'Delete Caption',
- 'inserttitle':'Insert Title',
- 'deletetitle':'Delete Title',
- 'inserttitlecol':'Insert Title Col',
- 'deletetitlecol':'Delete Title Col',
- 'averageDiseRow':'AverageDise Row',
- 'averageDisCol':'AverageDis Col',
- 'deleterow':"Delete row",
- 'deletecol':"Delete col",
- 'insertrow':"Insert row",
- 'insertcol':"Insert col",
- 'insertrownext':'Insert Row Next',
- 'insertcolnext':'Insert Col Next',
- 'mergeright':"Merge right",
- 'mergeleft':"Merge left",
- 'mergedown':"Merge down",
- 'mergecells':"Merge cells",
- 'splittocells':"Split to cells",
- 'splittocols':"Split to Cols",
- 'splittorows':"Split to Rows",
- 'tablesort':'Table sorting',
- 'enablesort':'Sorting Enable',
- 'disablesort':'Sorting Disable',
- 'reversecurrent':'Reverse current',
- 'orderbyasc':'Order By ASCII',
- 'reversebyasc':'Reverse By ASCII',
- 'orderbynum':'Order By Num',
- 'reversebynum':'Reverse By Num',
- 'borderbk':'Border shading',
- 'setcolor':'interlaced color',
- 'unsetcolor':'Cancel interlacedcolor',
- 'setbackground':'Background interlaced',
- 'unsetbackground':'Cancel Bk interlaced',
- 'redandblue':'Blue and red',
- 'threecolorgradient':'Three-color gradient',
- 'copy':"Copy(Ctrl + c)",
- 'copymsg':"Browser does not support. Please use 'Ctrl + c' instead!",
- 'paste':"Paste(Ctrl + v)",
- 'pastemsg':"Browser does not support. Please use 'Ctrl + v' instead!"
- },
- 'copymsg': "Browser does not support. Please use 'Ctrl + c' instead!",
- 'pastemsg': "Browser does not support. Please use 'Ctrl + v' instead!",
- 'anthorMsg':"Link",
- 'clearColor':'Clear',
- 'standardColor':'Standard color',
- 'themeColor':'Theme color',
- 'property':'Property',
- 'default':'Default',
- 'modify':'Modify',
- 'justifyleft':'Justify Left',
- 'justifyright':'Justify Right',
- 'justifycenter':'Justify Center',
- 'justify':'Default',
- 'clear':'Clear',
- 'anchorMsg':'Anchor',
- 'delete':'Delete',
- 'clickToUpload':"Click to upload",
- 'unset':'Language hasn\'t been set!',
- 't_row':'row',
- 't_col':'col',
- 'pasteOpt':'Paste Option',
- 'pasteSourceFormat':"Keep Source Formatting",
- 'tagFormat':'Keep tag',
- 'pasteTextFormat':'Keep Text only',
- 'more':'More',
- 'autoTypeSet':{
- 'mergeLine':"Merge empty line",
- 'delLine':"Del empty line",
- 'removeFormat':"Remove format",
- 'indent':"Indent",
- 'alignment':"Alignment",
- 'imageFloat':"Image float",
- 'removeFontsize':"Remove font size",
- 'removeFontFamily':"Remove fontFamily",
- 'removeHtml':"Remove redundant HTML code",
- 'pasteFilter':"Paste filter",
- 'run':"Done",
- 'symbol':'Symbol Conversion',
- 'bdc2sb':'Full-width to Half-width',
- 'tobdc':'Half-width to Full-width'
- },
-
- 'background':{
- 'static':{
- 'lang_background_normal':'Normal',
- 'lang_background_local':'Online',
- 'lang_background_set':'Background Set',
- 'lang_background_none':'No Background',
- 'lang_background_colored':'Colored Background',
- 'lang_background_color':'Color Set',
- 'lang_background_netimg':'Net-Image',
- 'lang_background_align':'Align Type',
- 'lang_background_position':'Position',
- 'repeatType':{'options':["Center", "Repeat-x", "Repeat-y", "Tile","Custom"]}
- },
- 'noUploadImage':"No pictures has been uploaded!",
- 'toggleSelect':'Change the active state by click!\n Image Size: '
- },
- //===============dialog i18N=======================
- 'insertimage':{
- 'static':{
- 'lang_tab_remote':"Insert",
- 'lang_tab_upload':"Local",
- 'lang_tab_online':"Manager",
- 'lang_tab_search':"Search",
- 'lang_input_url':"Address:",
- 'lang_input_size':"Size:",
- 'lang_input_width':"Width",
- 'lang_input_height':"Height",
- 'lang_input_border':"Border:",
- 'lang_input_vhspace':"Margins:",
- 'lang_input_title':"Title:",
- 'lang_input_align':'Image Float Style:',
- 'lang_imgLoading':"Loading...",
- 'lang_start_upload':"Start Upload",
- 'lock':{'title':"Lock rate"},
- 'searchType':{'title':"ImageType", 'options':["News", "Wallpaper", "emotions", "photo"]},
- 'searchTxt':{'value':"Enter the search keyword!"},
- 'searchBtn':{'value':"Search"},
- 'searchReset':{'value':"Clear"},
- 'noneAlign':{'title':'None Float'},
- 'leftAlign':{'title':'Left Float'},
- 'rightAlign':{'title':'Right Float'},
- 'centerAlign':{'title':'Center In A Line'}
- },
- 'uploadSelectFile':'Select File',
- 'uploadAddFile':'Add File',
- 'uploadStart':'Start Upload',
- 'uploadPause':'Pause Upload',
- 'uploadContinue':'Continue Upload',
- 'uploadRetry':'Retry Upload',
- 'uploadDelete':'Delete',
- 'uploadTurnLeft':'Turn Left',
- 'uploadTurnRight':'Turn Right',
- 'uploadPreview':'Doing Preview',
- 'uploadNoPreview':'Can Not Preview',
- 'updateStatusReady': 'Selected _ pictures, total _KB.',
- 'updateStatusConfirm': '_ uploaded successfully and _ upload failed',
- 'updateStatusFinish': 'Total _ pictures (_KB), _ uploaded successfully',
- 'updateStatusError': ' and _ upload failed',
- 'errorNotSupport': 'WebUploader does not support the browser you are using. Please upgrade your browser or flash player',
- 'errorLoadConfig': 'Server config not loaded, upload can not work.',
- 'errorExceedSize':'File Size Exceed',
- 'errorFileType':'File Type Not Allow',
- 'errorInterrupt':'File Upload Interrupted',
- 'errorUploadRetry':'Upload Error, Please Retry.',
- 'errorHttp':'Http Error',
- 'errorServerUpload':'Server Result Error.',
- 'remoteLockError':"Cannot Lock the Proportion between width and height",
- 'numError':"Please enter the correct Num. e.g 123,400",
- 'imageUrlError':"The image format may be wrong!",
- 'imageLoadError':"Error,please check the network or URL!",
- 'searchRemind':"Enter the search keyword!",
- 'searchLoading':"Image is loading,please wait...",
- 'searchRetry':" Sorry,can't find the image,please try again!"
- },
- 'attachment':{
- 'static':{
- 'lang_tab_upload': 'Upload',
- 'lang_tab_online': 'Online',
- 'lang_start_upload':"Start upload",
- 'lang_drop_remind':"You can drop files here, a single maximum of 300 files"
- },
- 'uploadSelectFile':'Select File',
- 'uploadAddFile':'Add File',
- 'uploadStart':'Start Upload',
- 'uploadPause':'Pause Upload',
- 'uploadContinue':'Continue Upload',
- 'uploadRetry':'Retry Upload',
- 'uploadDelete':'Delete',
- 'uploadTurnLeft':'Turn Left',
- 'uploadTurnRight':'Turn Right',
- 'uploadPreview':'Doing Preview',
- 'updateStatusReady': 'Selected _ files, total _KB.',
- 'updateStatusConfirm': '_ uploaded successfully and _ upload failed',
- 'updateStatusFinish': 'Total _ files (_KB), _ uploaded successfully',
- 'updateStatusError': ' and _ upload failed',
- 'errorNotSupport': 'WebUploader does not support the browser you are using. Please upgrade your browser or flash player',
- 'errorLoadConfig': 'Server config not loaded, upload can not work.',
- 'errorExceedSize':'File Size Exceed',
- 'errorFileType':'File Type Not Allow',
- 'errorInterrupt':'File Upload Interrupted',
- 'errorUploadRetry':'Upload Error, Please Retry.',
- 'errorHttp':'Http Error',
- 'errorServerUpload':'Server Result Error.'
- },
-
- 'insertvideo':{
- 'static':{
- 'lang_tab_insertV':"Video",
- 'lang_tab_searchV':"Search",
- 'lang_tab_uploadV':"Upload",
- 'lang_video_url':" URL ",
- 'lang_video_size':"Video Size",
- 'lang_videoW':"Width",
- 'lang_videoH':"Height",
- 'lang_alignment':"Alignment",
- 'videoSearchTxt':{'value':"Enter the search keyword!"},
- 'videoType':{'options':["All", "Hot", "Entertainment", "Funny", "Sports", "Science", "variety"]},
- 'videoSearchBtn':{'value':"Search in Baidu"},
- 'videoSearchReset':{'value':"Clear result"},
-
- 'lang_input_fileStatus':' No file uploaded!',
- 'startUpload':{'style':"background:url(upload.png) no-repeat;"},
-
- 'lang_upload_size':"Video Size",
- 'lang_upload_width':"Width",
- 'lang_upload_height':"Height",
- 'lang_upload_alignment':"Alignment",
- 'lang_format_advice':"Recommends mp4 format."
- },
- 'numError':"Please enter the correct Num. e.g 123,400",
- 'floatLeft':"Float left",
- 'floatRight':"Float right",
- 'default':"Default",
- 'block':"Display in block",
- 'urlError':"The video url format may be wrong!",
- 'loading':" The video is loading, please wait…",
- 'clickToSelect':"Click to select",
- 'goToSource':'Visit source video ',
- 'noVideo':" Sorry,can't find the video,please try again!",
-
- 'browseFiles':'Open files',
- 'uploadSuccess':'Upload Successful!',
- 'delSuccessFile':'Remove from the success of the queue',
- 'delFailSaveFile':'Remove the save failed file',
- 'statusPrompt':' file(s) uploaded! ',
- 'flashVersionError':'The current Flash version is too low, please update FlashPlayer,then try again!',
- 'flashLoadingError':'The Flash failed loading! Please check the path or network state',
- 'fileUploadReady':'Wait for uploading...',
- 'delUploadQueue':'Remove from the uploading queue ',
- 'limitPrompt1':'Can not choose more than single',
- 'limitPrompt2':'file(s)!Please choose again!',
- 'delFailFile':'Remove failure file',
- 'fileSizeLimit':'File size exceeds the limit!',
- 'emptyFile':'Can not upload an empty file!',
- 'fileTypeError':'File type error!',
- 'unknownError':'Unknown error!',
- 'fileUploading':'Uploading,please wait...',
- 'cancelUpload':'Cancel upload',
- 'netError':'Network error',
- 'failUpload':'Upload failed',
- 'serverIOError':'Server IO error!',
- 'noAuthority':'No Permission!',
- 'fileNumLimit':'Upload limit to the number',
- 'failCheck':'Authentication fails, the upload is skipped!',
- 'fileCanceling':'Cancel, please wait...',
- 'stopUploading':'Upload has stopped...',
-
- 'uploadSelectFile':'Select File',
- 'uploadAddFile':'Add File',
- 'uploadStart':'Start Upload',
- 'uploadPause':'Pause Upload',
- 'uploadContinue':'Continue Upload',
- 'uploadRetry':'Retry Upload',
- 'uploadDelete':'Delete',
- 'uploadTurnLeft':'Turn Left',
- 'uploadTurnRight':'Turn Right',
- 'uploadPreview':'Doing Preview',
- 'updateStatusReady': 'Selected _ files, total _KB.',
- 'updateStatusConfirm': '_ uploaded successfully and _ upload failed',
- 'updateStatusFinish': 'Total _ files (_KB), _ uploaded successfully',
- 'updateStatusError': ' and _ upload failed',
- 'errorNotSupport': 'WebUploader does not support the browser you are using. Please upgrade your browser or flash player',
- 'errorLoadConfig': 'Server config not loaded, upload can not work.',
- 'errorExceedSize':'File Size Exceed',
- 'errorFileType':'File Type Not Allow',
- 'errorInterrupt':'File Upload Interrupted',
- 'errorUploadRetry':'Upload Error, Please Retry.',
- 'errorHttp':'Http Error',
- 'errorServerUpload':'Server Result Error.'
- },
- 'webapp':{
- 'tip1':"This function provided by Baidu APP,please apply for baidu APPKey webmaster first!",
- 'tip2':"And then open the file ueditor.config.js to set it! ",
- 'applyFor':"APPLY FOR",
- 'anthorApi':"Baidu API"
- },
- 'template':{
- 'static':{
- 'lang_template_bkcolor':'Background Color',
- 'lang_template_clear' : 'Keep Content',
- 'lang_template_select':'Select Template'
- },
- 'blank':"Blank",
- 'blog':"Blog",
- 'resume':"Resume",
- 'richText':"Rich Text",
- 'scrPapers':"Scientific Papers"
- },
- scrawl:{
- 'static':{
- 'lang_input_previousStep':"Previous",
- 'lang_input_nextsStep':"Next",
- 'lang_input_clear':'Clear',
- 'lang_input_addPic':'AddImage',
- 'lang_input_ScalePic':'ScaleImage',
- 'lang_input_removePic':'RemoveImage',
- 'J_imgTxt':{title:'Add background image'}
- },
- 'noScarwl':"No paint, a white paper...",
- 'scrawlUpLoading':"Image is uploading, please wait...",
- 'continueBtn':"Try again",
- 'imageError':"Image failed to load!",
- 'backgroundUploading':'Image is uploading,please wait...'
- },
- 'music':{
- 'static':{
- 'lang_input_tips':"Input singer/song/album, search you interested in music!",
- 'J_searchBtn':{value:'Search songs'}
- },
- 'emptyTxt':'Not search to the relevant music results, please change a keyword try.',
- 'chapter':'Songs',
- 'singer':'Singer',
- 'special':'Album',
- 'listenTest':'Audition'
- },
- anchor:{
- 'static':{
- 'lang_input_anchorName':'Anchor Name:'
- }
- },
- 'charts':{
- 'static':{
- 'lang_data_source':'Data source:',
- 'lang_chart_format': 'Chart format:',
- 'lang_data_align': 'Align',
- 'lang_chart_align_same': 'Consistent with the X-axis Y-axis',
- 'lang_chart_align_reverse': 'X-axis Y-axis opposite',
- 'lang_chart_title': 'Title',
- 'lang_chart_main_title': 'main title:',
- 'lang_chart_sub_title': 'sub title:',
- 'lang_chart_x_title': 'X-axis title:',
- 'lang_chart_y_title': 'Y-axis title:',
- 'lang_chart_tip': 'Prompt',
- 'lang_cahrt_tip_prefix': 'prefix:',
- 'lang_cahrt_tip_description': '仅饼图有效, 当鼠标移动到饼图中相应的块上时,提示框内的文字的前缀',
- 'lang_chart_data_unit': 'Unit',
- 'lang_chart_data_unit_title': 'unit:',
- 'lang_chart_data_unit_description': '显示在每个数据点上的数据的单位, 比如: 温度的单位 ℃',
- 'lang_chart_type': 'Chart type:',
- 'lang_prev_btn': 'Previous',
- 'lang_next_btn': 'Next'
- }
- },
- emotion:{
- 'static':{
- 'lang_input_choice':'Choice',
- 'lang_input_Tuzki':'Tuzki',
- 'lang_input_lvdouwa':'LvDouWa',
- 'lang_input_BOBO':'BOBO',
- 'lang_input_babyCat':'BabyCat',
- 'lang_input_bubble':'Bubble',
- 'lang_input_youa':'YouA'
- }
- },
- gmap:{
- 'static':{
- 'lang_input_address':'Address:',
- 'lang_input_search':'Search',
- 'address':{value:"Beijing"}
- },
- searchError:'Unable to locate the address!'
- },
- help:{
- 'static':{
- 'lang_input_about':'About',
- 'lang_input_shortcuts':'Shortcuts',
- 'lang_input_introduction':"UEditor is developed by Baidu Co.ltd. It is lightweight, customizable , focusing on user experience and etc. , UEditor is based on open source BSD license , allowing free use and redistribution.",
- 'lang_Txt_shortcuts':'Shortcuts',
- 'lang_Txt_func':'Function',
- 'lang_Txt_bold':'Bold',
- 'lang_Txt_copy':'Copy',
- 'lang_Txt_cut':'Cut',
- 'lang_Txt_Paste':'Paste',
- 'lang_Txt_undo':'Undo',
- 'lang_Txt_redo':'Redo',
- 'lang_Txt_italic':'Italic',
- 'lang_Txt_underline':'Underline',
- 'lang_Txt_selectAll':'Select All',
- 'lang_Txt_visualEnter':'Submit',
- 'lang_Txt_fullscreen':'Fullscreen'
- }
- },
- insertframe:{
- 'static':{
- 'lang_input_address':'Address:',
- 'lang_input_width':'Width:',
- 'lang_input_height':'height:',
- 'lang_input_isScroll':'Enable scrollbars:',
- 'lang_input_frameborder':'Show frame border:',
- 'lang_input_alignMode':'Alignment:',
- 'align':{title:"Alignment", options:["Default", "Left", "Right", "Center"]}
- },
- 'enterAddress':'Please enter an address!'
- },
- link:{
- 'static':{
- 'lang_input_text':'Text:',
- 'lang_input_url':'URL:',
- 'lang_input_title':'Title:',
- 'lang_input_target':'open in new window:'
- },
- 'validLink':'Supports only effective when a link is selected',
- 'httpPrompt':'The hyperlink you enter should start with "http|https|ftp://"!'
- },
- map:{
- 'static':{
- lang_city:"City",
- lang_address:"Address",
- city:{value:"Beijing"},
- lang_search:"Search",
- lang_dynamicmap:"Dynamic map"
- },
- cityMsg:"Please enter the city name!",
- errorMsg:"Can't find the place!"
- },
- searchreplace:{
- 'static':{
- lang_tab_search:"Search",
- lang_tab_replace:"Replace",
- lang_search1:"Search",
- lang_search2:"Search",
- lang_replace:"Replace",
- lang_searchReg:'Support regular expression ,which starts and ends with a slash ,for example "/expression/"',
- lang_searchReg1:'Support regular expression ,which starts and ends with a slash ,for example "/expression/"',
- lang_case_sensitive1:"Case sense",
- lang_case_sensitive2:"Case sense",
- nextFindBtn:{value:"Next"},
- preFindBtn:{value:"Preview"},
- nextReplaceBtn:{value:"Next"},
- preReplaceBtn:{value:"Preview"},
- repalceBtn:{value:"Replace"},
- repalceAllBtn:{value:"Replace all"}
- },
- getEnd:"Has the search to the bottom!",
- getStart:"Has the search to the top!",
- countMsg:"Altogether replaced {#count} character(s)!"
- },
- snapscreen:{
- 'static':{
- lang_showMsg:"You should install the UEditor screenshots program first!",
- lang_download:"Download!",
- lang_step1:"Step1:Download the program and then run it",
- lang_step2:"Step2:After complete install,try to click the button again"
- }
- },
- spechars:{
- 'static':{},
- tsfh:"Special",
- lmsz:"Roman",
- szfh:"Numeral",
- rwfh:"Japanese",
- xlzm:"The Greek",
- ewzm:"Russian",
- pyzm:"Phonetic",
- yyyb:"English",
- zyzf:"Others"
- },
- 'edittable':{
- 'static':{
- 'lang_tableStyle':'Table style',
- 'lang_insertCaption':'Add table header row',
- 'lang_insertTitle':'Add table title row',
- 'lang_insertTitleCol':'Add table title col',
- 'lang_tableSize':'Automatically adjust table size',
- 'lang_autoSizeContent':'Adaptive by form text',
- 'lang_orderbycontent':"Table of contents sortable",
- 'lang_autoSizePage':'Page width adaptive',
- 'lang_example':'Example',
- 'lang_borderStyle':'Table Border',
- 'lang_color':'Color:'
- },
- captionName:'Caption',
- titleName:'Title',
- cellsName:'text',
- errorMsg:'There are merged cells, can not sort.'
- },
- 'edittip':{
- 'static':{
- lang_delRow:'Delete entire row',
- lang_delCol:'Delete entire col'
- }
- },
- 'edittd':{
- 'static':{
- lang_tdBkColor:'Background Color:'
- }
- },
- 'formula':{
- 'static':{
- }
- },
- wordimage:{
- 'static':{
- lang_resave:"The re-save step",
- uploadBtn:{src:"upload.png", alt:"Upload"},
- clipboard:{style:"background: url(copy.png) -153px -1px no-repeat;"},
- lang_step:" 1. Click top button to copy the url and then open the dialog to paste it. 2. Open after choose photos uploaded process."
- },
- fileType:"Image",
- flashError:"Flash initialization failed!",
- netError:"Network error! Please try again!",
- copySuccess:"URL has been copied!",
-
- 'flashI18n':{
- lang:encodeURI( '{"UploadingState":"totalNum: ${a},uploadComplete: ${b}", "BeforeUpload":"waitingNum: ${a}", "ExceedSize":"Size exceed${a}", "ErrorInPreview":"Preview failed", "DefaultDescription":"Description", "LoadingImage":"Loading..."}' ),
- uploadingTF:encodeURI( '{"font":"Arial", "size":12, "color":"0x000", "bold":"true", "italic":"false", "underline":"false"}' ),
- imageTF:encodeURI( '{"font":"Arial", "size":11, "color":"red", "bold":"false", "italic":"false", "underline":"false"}' ),
- textEncoding:"utf-8",
- addImageSkinURL:"addImage.png",
- allDeleteBtnUpSkinURL:"allDeleteBtnUpSkin.png",
- allDeleteBtnHoverSkinURL:"allDeleteBtnHoverSkin.png",
- rotateLeftBtnEnableSkinURL:"rotateLeftEnable.png",
- rotateLeftBtnDisableSkinURL:"rotateLeftDisable.png",
- rotateRightBtnEnableSkinURL:"rotateRightEnable.png",
- rotateRightBtnDisableSkinURL:"rotateRightDisable.png",
- deleteBtnEnableSkinURL:"deleteEnable.png",
- deleteBtnDisableSkinURL:"deleteDisable.png",
- backgroundURL:'',
- listBackgroundURL:'',
- buttonURL:'button.png'
- }
- },
- 'autosave': {
- 'success':'Local conservation success'
- }
-};
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/alldeletebtnhoverskin.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/alldeletebtnhoverskin.png
deleted file mode 100644
index 355eeabb..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/alldeletebtnhoverskin.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/alldeletebtnupskin.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/alldeletebtnupskin.png
deleted file mode 100644
index 61658ce6..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/alldeletebtnupskin.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/background.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/background.png
deleted file mode 100644
index d5bf5fdd..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/background.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/button.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/button.png
deleted file mode 100644
index 098874cb..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/button.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/copy.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/copy.png
deleted file mode 100644
index f982e8bc..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/copy.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/deletedisable.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/deletedisable.png
deleted file mode 100644
index c8ee7509..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/deletedisable.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/deleteenable.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/deleteenable.png
deleted file mode 100644
index 26acc883..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/deleteenable.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/listbackground.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/listbackground.png
deleted file mode 100644
index 4f82ccd8..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/listbackground.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/localimage.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/localimage.png
deleted file mode 100644
index 12c8e6ae..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/localimage.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/music.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/music.png
deleted file mode 100644
index 2f495fe9..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/music.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotateleftdisable.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotateleftdisable.png
deleted file mode 100644
index 741526e0..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotateleftdisable.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotateleftenable.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotateleftenable.png
deleted file mode 100644
index e164ddbd..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotateleftenable.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotaterightdisable.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotaterightdisable.png
deleted file mode 100644
index 5a78c260..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotaterightdisable.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotaterightenable.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotaterightenable.png
deleted file mode 100644
index d768531f..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/rotaterightenable.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/upload.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/upload.png
deleted file mode 100644
index 7bb15b3d..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/en/images/upload.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/copy.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/copy.png
deleted file mode 100644
index b2536aac..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/copy.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/localimage.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/localimage.png
deleted file mode 100644
index 7303c364..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/localimage.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/music.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/music.png
deleted file mode 100644
index 354edebc..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/music.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/upload.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/upload.png
deleted file mode 100644
index 08d4d926..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/images/upload.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js
deleted file mode 100644
index 4d5178f9..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js
+++ /dev/null
@@ -1,669 +0,0 @@
-/**
- * Created with JetBrains PhpStorm.
- * User: taoqili
- * Date: 12-6-12
- * Time: 下午5:02
- * To change this template use File | Settings | File Templates.
- */
-UE.I18N['zh-cn'] = {
- 'labelMap':{
- 'anchor':'锚点', 'undo':'撤销', 'redo':'重做', 'bold':'加粗', 'indent':'首行缩进', 'snapscreen':'截图',
- 'italic':'斜体', 'underline':'下划线', 'strikethrough':'删除线', 'subscript':'下标','fontborder':'字符边框',
- 'superscript':'上标', 'formatmatch':'格式刷', 'source':'源代码', 'blockquote':'引用',
- 'pasteplain':'纯文本粘贴模式', 'selectall':'全选', 'print':'打印', 'preview':'预览',
- 'horizontal':'分隔线', 'removeformat':'清除格式', 'time':'时间', 'date':'日期',
- 'unlink':'取消链接', 'insertrow':'前插入行', 'insertcol':'前插入列', 'mergeright':'右合并单元格', 'mergedown':'下合并单元格',
- 'deleterow':'删除行', 'deletecol':'删除列', 'splittorows':'拆分成行',
- 'splittocols':'拆分成列', 'splittocells':'完全拆分单元格','deletecaption':'删除表格标题','inserttitle':'插入标题',
- 'mergecells':'合并多个单元格', 'deletetable':'删除表格', 'cleardoc':'清空文档','insertparagraphbeforetable':"表格前插入行",'insertcode':'代码语言',
- 'fontfamily':'字体', 'fontsize':'字号', 'paragraph':'段落格式', 'simpleupload':'单图上传', 'insertimage':'多图上传','edittable':'表格属性','edittd':'单元格属性', 'link':'超链接',
- 'emotion':'表情', 'spechars':'特殊字符', 'searchreplace':'查询替换', 'map':'Baidu地图', 'gmap':'Google地图',
- 'insertvideo':'视频', 'help':'帮助', 'justifyleft':'居左对齐', 'justifyright':'居右对齐', 'justifycenter':'居中对齐',
- 'justifyjustify':'两端对齐', 'forecolor':'字体颜色', 'backcolor':'背景色', 'insertorderedlist':'有序列表',
- 'insertunorderedlist':'无序列表', 'fullscreen':'全屏', 'directionalityltr':'从左向右输入', 'directionalityrtl':'从右向左输入',
- 'rowspacingtop':'段前距', 'rowspacingbottom':'段后距', 'pagebreak':'分页', 'insertframe':'插入Iframe', 'imagenone':'默认',
- 'imageleft':'左浮动', 'imageright':'右浮动', 'attachment':'附件', 'imagecenter':'居中', 'wordimage':'图片转存',
- 'lineheight':'行间距','edittip' :'编辑提示','customstyle':'自定义标题', 'autotypeset':'自动排版',
- 'webapp':'百度应用','touppercase':'字母大写', 'tolowercase':'字母小写','background':'背景','template':'模板','scrawl':'涂鸦',
- 'music':'音乐','inserttable':'插入表格','drafts': '从草稿箱加载', 'charts': '图表'
- },
- 'insertorderedlist':{
- 'num':'1,2,3...',
- 'num1':'1),2),3)...',
- 'num2':'(1),(2),(3)...',
- 'cn':'一,二,三....',
- 'cn1':'一),二),三)....',
- 'cn2':'(一),(二),(三)....',
- 'decimal':'1,2,3...',
- 'lower-alpha':'a,b,c...',
- 'lower-roman':'i,ii,iii...',
- 'upper-alpha':'A,B,C...',
- 'upper-roman':'I,II,III...'
- },
- 'insertunorderedlist':{
- 'circle':'○ 大圆圈',
- 'disc':'● 小黑点',
- 'square':'■ 小方块 ',
- 'dash' :'— 破折号',
- 'dot':' 。 小圆圈'
- },
- 'paragraph':{'p':'段落', 'h1':'标题 1', 'h2':'标题 2', 'h3':'标题 3', 'h4':'标题 4', 'h5':'标题 5', 'h6':'标题 6'},
- 'fontfamily':{
- 'songti':'宋体',
- 'kaiti':'楷体',
- 'heiti':'黑体',
- 'lishu':'隶书',
- 'yahei':'微软雅黑',
- 'andaleMono':'andale mono',
- 'arial': 'arial',
- 'arialBlack':'arial black',
- 'comicSansMs':'comic sans ms',
- 'impact':'impact',
- 'timesNewRoman':'times new roman'
- },
- 'customstyle':{
- 'tc':'标题居中',
- 'tl':'标题居左',
- 'im':'强调',
- 'hi':'明显强调'
- },
- 'autoupload': {
- 'exceedSizeError': '文件大小超出限制',
- 'exceedTypeError': '文件格式不允许',
- 'jsonEncodeError': '服务器返回格式错误',
- 'loading':"正在上传...",
- 'loadError':"上传错误",
- 'errorLoadConfig': '后端配置项没有正常加载,上传插件不能正常使用!'
- },
- 'simpleupload':{
- 'exceedSizeError': '文件大小超出限制',
- 'exceedTypeError': '文件格式不允许',
- 'jsonEncodeError': '服务器返回格式错误',
- 'loading':"正在上传...",
- 'loadError':"上传错误",
- 'errorLoadConfig': '后端配置项没有正常加载,上传插件不能正常使用!'
- },
- 'elementPathTip':"元素路径",
- 'wordCountTip':"字数统计",
- 'wordCountMsg':'当前已输入{#count}个字符, 您还可以输入{#leave}个字符。 ',
- 'wordOverFlowMsg':'字数超出最大允许值,服务器可能拒绝保存! ',
- 'ok':"确认",
- 'cancel':"取消",
- 'closeDialog':"关闭对话框",
- 'tableDrag':"表格拖动必须引入uiUtils.js文件!",
- 'autofloatMsg':"工具栏浮动依赖编辑器UI,您首先需要引入UI文件!",
- 'loadconfigError': '获取后台配置项请求出错,上传功能将不能正常使用!',
- 'loadconfigFormatError': '后台配置项返回格式出错,上传功能将不能正常使用!',
- 'loadconfigHttpError': '请求后台配置项http错误,上传功能将不能正常使用!',
- 'snapScreen_plugin':{
- 'browserMsg':"仅支持IE浏览器!",
- 'callBackErrorMsg':"服务器返回数据有误,请检查配置项之后重试。",
- 'uploadErrorMsg':"截图上传失败,请检查服务器端环境! "
- },
- 'insertcode':{
- 'as3':'ActionScript 3',
- 'bash':'Bash/Shell',
- 'cpp':'C/C++',
- 'css':'CSS',
- 'cf':'ColdFusion',
- 'c#':'C#',
- 'delphi':'Delphi',
- 'diff':'Diff',
- 'erlang':'Erlang',
- 'groovy':'Groovy',
- 'html':'HTML',
- 'java':'Java',
- 'jfx':'JavaFX',
- 'js':'JavaScript',
- 'pl':'Perl',
- 'php':'PHP',
- 'plain':'Plain Text',
- 'ps':'PowerShell',
- 'python':'Python',
- 'ruby':'Ruby',
- 'scala':'Scala',
- 'sql':'SQL',
- 'vb':'Visual Basic',
- 'xml':'XML'
- },
- 'confirmClear':"确定清空当前文档么?",
- 'contextMenu':{
- 'delete':"删除",
- 'selectall':"全选",
- 'deletecode':"删除代码",
- 'cleardoc':"清空文档",
- 'confirmclear':"确定清空当前文档么?",
- 'unlink':"删除超链接",
- 'paragraph':"段落格式",
- 'edittable':"表格属性",
- 'aligntd':"单元格对齐方式",
- 'aligntable':'表格对齐方式',
- 'tableleft':'左浮动',
- 'tablecenter':'居中显示',
- 'tableright':'右浮动',
- 'edittd':"单元格属性",
- 'setbordervisible':'设置表格边线可见',
- 'justifyleft':'左对齐',
- 'justifyright':'右对齐',
- 'justifycenter':'居中对齐',
- 'justifyjustify':'两端对齐',
- 'table':"表格",
- 'inserttable':'插入表格',
- 'deletetable':"删除表格",
- 'insertparagraphbefore':"前插入段落",
- 'insertparagraphafter':'后插入段落',
- 'deleterow':"删除当前行",
- 'deletecol':"删除当前列",
- 'insertrow':"前插入行",
- 'insertcol':"左插入列",
- 'insertrownext':'后插入行',
- 'insertcolnext':'右插入列',
- 'insertcaption':'插入表格名称',
- 'deletecaption':'删除表格名称',
- 'inserttitle':'插入表格标题行',
- 'deletetitle':'删除表格标题行',
- 'inserttitlecol':'插入表格标题列',
- 'deletetitlecol':'删除表格标题列',
- 'averageDiseRow':'平均分布各行',
- 'averageDisCol':'平均分布各列',
- 'mergeright':"向右合并",
- 'mergeleft':"向左合并",
- 'mergedown':"向下合并",
- 'mergecells':"合并单元格",
- 'splittocells':"完全拆分单元格",
- 'splittocols':"拆分成列",
- 'splittorows':"拆分成行",
- 'tablesort':'表格排序',
- 'enablesort':'设置表格可排序',
- 'disablesort':'取消表格可排序',
- 'reversecurrent':'逆序当前',
- 'orderbyasc':'按ASCII字符升序',
- 'reversebyasc':'按ASCII字符降序',
- 'orderbynum':'按数值大小升序',
- 'reversebynum':'按数值大小降序',
- 'borderbk':'边框底纹',
- 'setcolor':'表格隔行变色',
- 'unsetcolor':'取消表格隔行变色',
- 'setbackground':'选区背景隔行',
- 'unsetbackground':'取消选区背景',
- 'redandblue':'红蓝相间',
- 'threecolorgradient':'三色渐变',
- 'copy':"复制(Ctrl + c)",
- 'copymsg': "浏览器不支持,请使用 'Ctrl + c'",
- 'paste':"粘贴(Ctrl + v)",
- 'pastemsg': "浏览器不支持,请使用 'Ctrl + v'"
- },
- 'copymsg': "浏览器不支持,请使用 'Ctrl + c'",
- 'pastemsg': "浏览器不支持,请使用 'Ctrl + v'",
- 'anthorMsg':"链接",
- 'clearColor':'清空颜色',
- 'standardColor':'标准颜色',
- 'themeColor':'主题颜色',
- 'property':'属性',
- 'default':'默认',
- 'modify':'修改',
- 'justifyleft':'左对齐',
- 'justifyright':'右对齐',
- 'justifycenter':'居中',
- 'justify':'默认',
- 'clear':'清除',
- 'anchorMsg':'锚点',
- 'delete':'删除',
- 'clickToUpload':"点击上传",
- 'unset':'尚未设置语言文件',
- 't_row':'行',
- 't_col':'列',
- 'more':'更多',
- 'pasteOpt':'粘贴选项',
- 'pasteSourceFormat':"保留源格式",
- 'tagFormat':'只保留标签',
- 'pasteTextFormat':'只保留文本',
- 'autoTypeSet':{
- 'mergeLine':"合并空行",
- 'delLine':"清除空行",
- 'removeFormat':"清除格式",
- 'indent':"首行缩进",
- 'alignment':"对齐方式",
- 'imageFloat':"图片浮动",
- 'removeFontsize':"清除字号",
- 'removeFontFamily':"清除字体",
- 'removeHtml':"清除冗余HTML代码",
- 'pasteFilter':"粘贴过滤",
- 'run':"执行",
- 'symbol':'符号转换',
- 'bdc2sb':'全角转半角',
- 'tobdc':'半角转全角'
- },
-
- 'background':{
- 'static':{
- 'lang_background_normal':'背景设置',
- 'lang_background_local':'在线图片',
- 'lang_background_set':'选项',
- 'lang_background_none':'无背景色',
- 'lang_background_colored':'有背景色',
- 'lang_background_color':'颜色设置',
- 'lang_background_netimg':'网络图片',
- 'lang_background_align':'对齐方式',
- 'lang_background_position':'精确定位',
- 'repeatType':{'options':["居中", "横向重复", "纵向重复", "平铺","自定义"]}
-
- },
- 'noUploadImage':"当前未上传过任何图片!",
- 'toggleSelect':"单击可切换选中状态\n原图尺寸: "
- },
- //===============dialog i18N=======================
- 'insertimage':{
- 'static':{
- 'lang_tab_remote':"插入图片", //节点
- 'lang_tab_upload':"本地上传",
- 'lang_tab_online':"在线管理",
- 'lang_tab_search':"图片搜索",
- 'lang_input_url':"地 址:",
- 'lang_input_size':"大 小:",
- 'lang_input_width':"宽度",
- 'lang_input_height':"高度",
- 'lang_input_border':"边 框:",
- 'lang_input_vhspace':"边 距:",
- 'lang_input_title':"描 述:",
- 'lang_input_align':'图片浮动方式:',
- 'lang_imgLoading':" 图片加载中……",
- 'lang_start_upload':"开始上传",
- 'lock':{'title':"锁定宽高比例"}, //属性
- 'searchType':{'title':"图片类型", 'options':["新闻", "壁纸", "表情", "头像"]}, //select的option
- 'searchTxt':{'value':"请输入搜索关键词"},
- 'searchBtn':{'value':"百度一下"},
- 'searchReset':{'value':"清空搜索"},
- 'noneAlign':{'title':'无浮动'},
- 'leftAlign':{'title':'左浮动'},
- 'rightAlign':{'title':'右浮动'},
- 'centerAlign':{'title':'居中独占一行'}
- },
- 'uploadSelectFile':'点击选择图片',
- 'uploadAddFile':'继续添加',
- 'uploadStart':'开始上传',
- 'uploadPause':'暂停上传',
- 'uploadContinue':'继续上传',
- 'uploadRetry':'重试上传',
- 'uploadDelete':'删除',
- 'uploadTurnLeft':'向左旋转',
- 'uploadTurnRight':'向右旋转',
- 'uploadPreview':'预览中',
- 'uploadNoPreview':'不能预览',
- 'updateStatusReady': '选中_张图片,共_KB。',
- 'updateStatusConfirm': '已成功上传_张照片,_张照片上传失败',
- 'updateStatusFinish': '共_张(_KB),_张上传成功',
- 'updateStatusError': ',_张上传失败。',
- 'errorNotSupport': 'WebUploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器。',
- 'errorLoadConfig': '后端配置项没有正常加载,上传插件不能正常使用!',
- 'errorExceedSize':'文件大小超出',
- 'errorFileType':'文件格式不允许',
- 'errorInterrupt':'文件传输中断',
- 'errorUploadRetry':'上传失败,请重试',
- 'errorHttp':'http请求错误',
- 'errorServerUpload':'服务器返回出错',
- 'remoteLockError':"宽高不正确,不能所定比例",
- 'numError':"请输入正确的长度或者宽度值!例如:123,400",
- 'imageUrlError':"不允许的图片格式或者图片域!",
- 'imageLoadError':"图片加载失败!请检查链接地址或网络状态!",
- 'searchRemind':"请输入搜索关键词",
- 'searchLoading':"图片加载中,请稍后……",
- 'searchRetry':" :( ,抱歉,没有找到图片!请重试一次!"
- },
- 'attachment':{
- 'static':{
- 'lang_tab_upload': '上传附件',
- 'lang_tab_online': '在线附件',
- 'lang_start_upload':"开始上传",
- 'lang_drop_remind':"可以将文件拖到这里,单次最多可选100个文件"
- },
- 'uploadSelectFile':'点击选择文件',
- 'uploadAddFile':'继续添加',
- 'uploadStart':'开始上传',
- 'uploadPause':'暂停上传',
- 'uploadContinue':'继续上传',
- 'uploadRetry':'重试上传',
- 'uploadDelete':'删除',
- 'uploadTurnLeft':'向左旋转',
- 'uploadTurnRight':'向右旋转',
- 'uploadPreview':'预览中',
- 'updateStatusReady': '选中_个文件,共_KB。',
- 'updateStatusConfirm': '已成功上传_个文件,_个文件上传失败',
- 'updateStatusFinish': '共_个(_KB),_个上传成功',
- 'updateStatusError': ',_张上传失败。',
- 'errorNotSupport': 'WebUploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器。',
- 'errorLoadConfig': '后端配置项没有正常加载,上传插件不能正常使用!',
- 'errorExceedSize':'文件大小超出',
- 'errorFileType':'文件格式不允许',
- 'errorInterrupt':'文件传输中断',
- 'errorUploadRetry':'上传失败,请重试',
- 'errorHttp':'http请求错误',
- 'errorServerUpload':'服务器返回出错'
- },
- 'insertvideo':{
- 'static':{
- 'lang_tab_insertV':"插入视频",
- 'lang_tab_searchV':"搜索视频",
- 'lang_tab_uploadV':"上传视频",
- 'lang_video_url':"视频网址",
- 'lang_video_size':"视频尺寸",
- 'lang_videoW':"宽度",
- 'lang_videoH':"高度",
- 'lang_alignment':"对齐方式",
- 'videoSearchTxt':{'value':"请输入搜索关键字!"},
- 'videoType':{'options':["全部", "热门", "娱乐", "搞笑", "体育", "科技", "综艺"]},
- 'videoSearchBtn':{'value':"百度一下"},
- 'videoSearchReset':{'value':"清空结果"},
-
- 'lang_input_fileStatus':' 当前未上传文件',
- 'startUpload':{'style':"background:url(upload.png) no-repeat;"},
-
- 'lang_upload_size':"视频尺寸",
- 'lang_upload_width':"宽度",
- 'lang_upload_height':"高度",
- 'lang_upload_alignment':"对齐方式",
- 'lang_format_advice':"建议使用mp4格式."
-
- },
- 'numError':"请输入正确的数值,如123,400",
- 'floatLeft':"左浮动",
- 'floatRight':"右浮动",
- '"default"':"默认",
- 'block':"独占一行",
- 'urlError':"输入的视频地址有误,请检查后再试!",
- 'loading':" 视频加载中,请等待……",
- 'clickToSelect':"点击选中",
- 'goToSource':'访问源视频',
- 'noVideo':" 抱歉,找不到对应的视频,请重试!",
-
- 'browseFiles':'浏览文件',
- 'uploadSuccess':'上传成功!',
- 'delSuccessFile':'从成功队列中移除',
- 'delFailSaveFile':'移除保存失败文件',
- 'statusPrompt':' 个文件已上传! ',
- 'flashVersionError':'当前Flash版本过低,请更新FlashPlayer后重试!',
- 'flashLoadingError':'Flash加载失败!请检查路径或网络状态',
- 'fileUploadReady':'等待上传……',
- 'delUploadQueue':'从上传队列中移除',
- 'limitPrompt1':'单次不能选择超过',
- 'limitPrompt2':'个文件!请重新选择!',
- 'delFailFile':'移除失败文件',
- 'fileSizeLimit':'文件大小超出限制!',
- 'emptyFile':'空文件无法上传!',
- 'fileTypeError':'文件类型不允许!',
- 'unknownError':'未知错误!',
- 'fileUploading':'上传中,请等待……',
- 'cancelUpload':'取消上传',
- 'netError':'网络错误',
- 'failUpload':'上传失败!',
- 'serverIOError':'服务器IO错误!',
- 'noAuthority':'无权限!',
- 'fileNumLimit':'上传个数限制',
- 'failCheck':'验证失败,本次上传被跳过!',
- 'fileCanceling':'取消中,请等待……',
- 'stopUploading':'上传已停止……',
-
- 'uploadSelectFile':'点击选择文件',
- 'uploadAddFile':'继续添加',
- 'uploadStart':'开始上传',
- 'uploadPause':'暂停上传',
- 'uploadContinue':'继续上传',
- 'uploadRetry':'重试上传',
- 'uploadDelete':'删除',
- 'uploadTurnLeft':'向左旋转',
- 'uploadTurnRight':'向右旋转',
- 'uploadPreview':'预览中',
- 'updateStatusReady': '选中_个文件,共_KB。',
- 'updateStatusConfirm': '成功上传_个,_个失败',
- 'updateStatusFinish': '共_个(_KB),_个成功上传',
- 'updateStatusError': ',_张上传失败。',
- 'errorNotSupport': 'WebUploader 不支持您的浏览器!如果你使用的是IE浏览器,请尝试升级 flash 播放器。',
- 'errorLoadConfig': '后端配置项没有正常加载,上传插件不能正常使用!',
- 'errorExceedSize':'文件大小超出',
- 'errorFileType':'文件格式不允许',
- 'errorInterrupt':'文件传输中断',
- 'errorUploadRetry':'上传失败,请重试',
- 'errorHttp':'http请求错误',
- 'errorServerUpload':'服务器返回出错'
- },
- 'webapp':{
- 'tip1':"本功能由百度APP提供,如看到此页面,请各位站长首先申请百度APPKey!",
- 'tip2':"申请完成之后请至ueditor.config.js中配置获得的appkey! ",
- 'applyFor':"点此申请",
- 'anthorApi':"百度API"
- },
- 'template':{
- 'static':{
- 'lang_template_bkcolor':'背景颜色',
- 'lang_template_clear' : '保留原有内容',
- 'lang_template_select' : '选择模板'
- },
- 'blank':"空白文档",
- 'blog':"博客文章",
- 'resume':"个人简历",
- 'richText':"图文混排",
- 'sciPapers':"科技论文"
-
-
- },
- 'scrawl':{
- 'static':{
- 'lang_input_previousStep':"上一步",
- 'lang_input_nextsStep':"下一步",
- 'lang_input_clear':'清空',
- 'lang_input_addPic':'添加背景',
- 'lang_input_ScalePic':'缩放背景',
- 'lang_input_removePic':'删除背景',
- 'J_imgTxt':{title:'添加背景图片'}
- },
- 'noScarwl':"尚未作画,白纸一张~",
- 'scrawlUpLoading':"涂鸦上传中,别急哦~",
- 'continueBtn':"继续",
- 'imageError':"糟糕,图片读取失败了!",
- 'backgroundUploading':'背景图片上传中,别急哦~'
- },
- 'music':{
- 'static':{
- 'lang_input_tips':"输入歌手/歌曲/专辑,搜索您感兴趣的音乐!",
- 'J_searchBtn':{value:'搜索歌曲'}
- },
- 'emptyTxt':'未搜索到相关音乐结果,请换一个关键词试试。',
- 'chapter':'歌曲',
- 'singer':'歌手',
- 'special':'专辑',
- 'listenTest':'试听'
- },
- 'anchor':{
- 'static':{
- 'lang_input_anchorName':'锚点名字:'
- }
- },
- 'charts':{
- 'static':{
- 'lang_data_source':'数据源:',
- 'lang_chart_format': '图表格式:',
- 'lang_data_align': '数据对齐方式',
- 'lang_chart_align_same': '数据源与图表X轴Y轴一致',
- 'lang_chart_align_reverse': '数据源与图表X轴Y轴相反',
- 'lang_chart_title': '图表标题',
- 'lang_chart_main_title': '主标题:',
- 'lang_chart_sub_title': '子标题:',
- 'lang_chart_x_title': 'X轴标题:',
- 'lang_chart_y_title': 'Y轴标题:',
- 'lang_chart_tip': '提示文字',
- 'lang_cahrt_tip_prefix': '提示文字前缀:',
- 'lang_cahrt_tip_description': '仅饼图有效, 当鼠标移动到饼图中相应的块上时,提示框内的文字的前缀',
- 'lang_chart_data_unit': '数据单位',
- 'lang_chart_data_unit_title': '单位:',
- 'lang_chart_data_unit_description': '显示在每个数据点上的数据的单位, 比如: 温度的单位 ℃',
- 'lang_chart_type': '图表类型:',
- 'lang_prev_btn': '上一个',
- 'lang_next_btn': '下一个'
- }
- },
- 'emotion':{
- 'static':{
- 'lang_input_choice':'精选',
- 'lang_input_Tuzki':'兔斯基',
- 'lang_input_BOBO':'BOBO',
- 'lang_input_lvdouwa':'绿豆蛙',
- 'lang_input_babyCat':'baby猫',
- 'lang_input_bubble':'泡泡',
- 'lang_input_youa':'有啊'
- }
- },
- 'gmap':{
- 'static':{
- 'lang_input_address':'地址',
- 'lang_input_search':'搜索',
- 'address':{value:"北京"}
- },
- searchError:'无法定位到该地址!'
- },
- 'help':{
- 'static':{
- 'lang_input_about':'关于UEditor',
- 'lang_input_shortcuts':'快捷键',
- 'lang_input_introduction':'UEditor是由百度web前端研发部开发的所见即所得富文本web编辑器,具有轻量,可定制,注重用户体验等特点。开源基于BSD协议,允许自由使用和修改代码。',
- 'lang_Txt_shortcuts':'快捷键',
- 'lang_Txt_func':'功能',
- 'lang_Txt_bold':'给选中字设置为加粗',
- 'lang_Txt_copy':'复制选中内容',
- 'lang_Txt_cut':'剪切选中内容',
- 'lang_Txt_Paste':'粘贴',
- 'lang_Txt_undo':'重新执行上次操作',
- 'lang_Txt_redo':'撤销上一次操作',
- 'lang_Txt_italic':'给选中字设置为斜体',
- 'lang_Txt_underline':'给选中字加下划线',
- 'lang_Txt_selectAll':'全部选中',
- 'lang_Txt_visualEnter':'软回车',
- 'lang_Txt_fullscreen':'全屏'
- }
- },
- 'insertframe':{
- 'static':{
- 'lang_input_address':'地址:',
- 'lang_input_width':'宽度:',
- 'lang_input_height':'高度:',
- 'lang_input_isScroll':'允许滚动条:',
- 'lang_input_frameborder':'显示框架边框:',
- 'lang_input_alignMode':'对齐方式:',
- 'align':{title:"对齐方式", options:["默认", "左对齐", "右对齐", "居中"]}
- },
- 'enterAddress':'请输入地址!'
- },
- 'link':{
- 'static':{
- 'lang_input_text':'文本内容:',
- 'lang_input_url':'链接地址:',
- 'lang_input_title':'标题:',
- 'lang_input_target':'是否在新窗口打开:'
- },
- 'validLink':'只支持选中一个链接时生效',
- 'httpPrompt':'您输入的超链接中不包含http等协议名称,默认将为您添加http://前缀'
- },
- 'map':{
- 'static':{
- lang_city:"城市",
- lang_address:"地址",
- city:{value:"北京"},
- lang_search:"搜索",
- lang_dynamicmap:"插入动态地图"
- },
- cityMsg:"请选择城市",
- errorMsg:"抱歉,找不到该位置!"
- },
- 'searchreplace':{
- 'static':{
- lang_tab_search:"查找",
- lang_tab_replace:"替换",
- lang_search1:"查找",
- lang_search2:"查找",
- lang_replace:"替换",
- lang_searchReg:'支持正则表达式,添加前后斜杠标示为正则表达式,例如“/表达式/”',
- lang_searchReg1:'支持正则表达式,添加前后斜杠标示为正则表达式,例如“/表达式/”',
- lang_case_sensitive1:"区分大小写",
- lang_case_sensitive2:"区分大小写",
- nextFindBtn:{value:"下一个"},
- preFindBtn:{value:"上一个"},
- nextReplaceBtn:{value:"下一个"},
- preReplaceBtn:{value:"上一个"},
- repalceBtn:{value:"替换"},
- repalceAllBtn:{value:"全部替换"}
- },
- getEnd:"已经搜索到文章末尾!",
- getStart:"已经搜索到文章头部",
- countMsg:"总共替换了{#count}处!"
- },
- 'snapscreen':{
- 'static':{
- lang_showMsg:"截图功能需要首先安装UEditor截图插件! ",
- lang_download:"点此下载",
- lang_step1:"第一步,下载UEditor截图插件并运行安装。",
- lang_step2:"第二步,插件安装完成后即可使用,如不生效,请重启浏览器后再试!"
- }
- },
- 'spechars':{
- 'static':{},
- tsfh:"特殊字符",
- lmsz:"罗马字符",
- szfh:"数学字符",
- rwfh:"日文字符",
- xlzm:"希腊字母",
- ewzm:"俄文字符",
- pyzm:"拼音字母",
- yyyb:"英语音标",
- zyzf:"其他"
- },
- 'edittable':{
- 'static':{
- 'lang_tableStyle':'表格样式',
- 'lang_insertCaption':'添加表格名称行',
- 'lang_insertTitle':'添加表格标题行',
- 'lang_insertTitleCol':'添加表格标题列',
- 'lang_orderbycontent':"使表格内容可排序",
- 'lang_tableSize':'自动调整表格尺寸',
- 'lang_autoSizeContent':'按表格文字自适应',
- 'lang_autoSizePage':'按页面宽度自适应',
- 'lang_example':'示例',
- 'lang_borderStyle':'表格边框',
- 'lang_color':'颜色:'
- },
- captionName:'表格名称',
- titleName:'标题',
- cellsName:'内容',
- errorMsg:'有合并单元格,不可排序'
- },
- 'edittip':{
- 'static':{
- lang_delRow:'删除整行',
- lang_delCol:'删除整列'
- }
- },
- 'edittd':{
- 'static':{
- lang_tdBkColor:'背景颜色:'
- }
- },
- 'formula':{
- 'static':{
- }
- },
- 'wordimage':{
- 'static':{
- lang_resave:"转存步骤",
- uploadBtn:{src:"upload.png",alt:"上传"},
- clipboard:{style:"background: url(copy.png) -153px -1px no-repeat;"},
- lang_step:"1、点击顶部复制按钮,将地址复制到剪贴板;2、点击添加照片按钮,在弹出的对话框中使用Ctrl+V粘贴地址;3、点击打开后选择图片上传流程。"
- },
- 'fileType':"图片",
- 'flashError':"FLASH初始化失败,请检查FLASH插件是否正确安装!",
- 'netError':"网络连接错误,请重试!",
- 'copySuccess':"图片地址已经复制!",
- 'flashI18n':{} //留空默认中文
- },
- 'autosave': {
- 'saving':'保存中...',
- 'success':'本地保存成功'
- }
-};
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/Config.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/Config.cs
deleted file mode 100644
index 91c130f7..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/Config.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
-using System;
-using System.Collections.Generic;
-using System.Dynamic;
-using System.IO;
-using System.Linq;
-using System.Web;
-
-///
-/// Config 的摘要说明
-///
-public static class Config
-{
- private static bool noCache = true;
- private static JObject BuildItems()
- {
- var json = File.ReadAllText(HttpContext.Current.Server.MapPath("config.json"));
- return JObject.Parse(json);
- }
-
- public static JObject Items
- {
- get
- {
- if (noCache || _Items == null)
- {
- _Items = BuildItems();
- }
- return _Items;
- }
- }
- private static JObject _Items;
-
-
- public static T GetValue(string key)
- {
- return Items[key].Value();
- }
-
- public static String[] GetStringList(string key)
- {
- return Items[key].Select(x => x.Value()).ToArray();
- }
-
- public static String GetString(string key)
- {
- return GetValue(key);
- }
-
- public static int GetInt(string key)
- {
- return GetValue(key);
- }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/ConfigHandler.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/ConfigHandler.cs
deleted file mode 100644
index 03cdc9a4..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/ConfigHandler.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-
-///
-/// Config 的摘要说明
-///
-public class ConfigHandler : Handler
-{
- public ConfigHandler(HttpContext context) : base(context) { }
-
- public override void Process()
- {
- WriteJson(Config.Items);
- }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/CrawlerHandler.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/CrawlerHandler.cs
deleted file mode 100644
index 8213a77d..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/CrawlerHandler.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Net;
-using System.Web;
-
-///
-/// Crawler 的摘要说明
-///
-public class CrawlerHandler : Handler
-{
- private string[] Sources;
- private Crawler[] Crawlers;
- public CrawlerHandler(HttpContext context) : base(context) { }
-
- public override void Process()
- {
- Sources = Request.Form.GetValues("source[]");
- if (Sources == null || Sources.Length == 0)
- {
- WriteJson(new
- {
- state = "参数错误:没有指定抓取源"
- });
- return;
- }
- Crawlers = Sources.Select(x => new Crawler(x, Server).Fetch()).ToArray();
- WriteJson(new
- {
- state = "SUCCESS",
- list = Crawlers.Select(x => new
- {
- state = x.State,
- source = x.SourceUrl,
- url = x.ServerUrl
- })
- });
- }
-}
-
-public class Crawler
-{
- public string SourceUrl { get; set; }
- public string ServerUrl { get; set; }
- public string State { get; set; }
-
- private HttpServerUtility Server { get; set; }
-
-
- public Crawler(string sourceUrl, HttpServerUtility server)
- {
- this.SourceUrl = sourceUrl;
- this.Server = server;
- }
-
- public Crawler Fetch()
- {
- var request = HttpWebRequest.Create(this.SourceUrl) as HttpWebRequest;
- using (var response = request.GetResponse() as HttpWebResponse)
- {
- if (response.StatusCode != HttpStatusCode.OK)
- {
- State = "Url returns " + response.StatusCode + ", " + response.StatusDescription;
- return this;
- }
- if (response.ContentType.IndexOf("image") == -1)
- {
- State = "Url is not an image";
- return this;
- }
- ServerUrl = PathFormatter.Format(Path.GetFileName(this.SourceUrl), Config.GetString("catcherPathFormat"));
- var savePath = Server.MapPath(ServerUrl);
- if (!Directory.Exists(Path.GetDirectoryName(savePath)))
- {
- Directory.CreateDirectory(Path.GetDirectoryName(savePath));
- }
- try
- {
- var stream = response.GetResponseStream();
- var reader = new BinaryReader(stream);
- byte[] bytes;
- using (var ms = new MemoryStream())
- {
- byte[] buffer = new byte[4096];
- int count;
- while ((count = reader.Read(buffer, 0, buffer.Length)) != 0)
- {
- ms.Write(buffer, 0, count);
- }
- bytes = ms.ToArray();
- }
- File.WriteAllBytes(savePath, bytes);
- State = "SUCCESS";
- }
- catch (Exception e)
- {
- State = "抓取错误:" + e.Message;
- }
- return this;
- }
- }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/Handler.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/Handler.cs
deleted file mode 100644
index 4d20ed52..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/Handler.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using Newtonsoft.Json;
-
-
-///
-/// Handler 的摘要说明
-///
-public abstract class Handler
-{
- public Handler(HttpContext context)
- {
- this.Request = context.Request;
- this.Response = context.Response;
- this.Context = context;
- this.Server = context.Server;
- }
-
- public abstract void Process();
-
- protected void WriteJson(object response)
- {
- string jsonpCallback = Request["callback"],
- json = JsonConvert.SerializeObject(response);
- if (String.IsNullOrWhiteSpace(jsonpCallback))
- {
- Response.AddHeader("Content-Type", "text/plain");
- Response.Write(json);
- }
- else
- {
- Response.AddHeader("Content-Type", "application/javascript");
- Response.Write(String.Format("{0}({1});", jsonpCallback, json));
- }
- Response.End();
- }
-
- public HttpRequest Request { get; private set; }
- public HttpResponse Response { get; private set; }
- public HttpContext Context { get; private set; }
- public HttpServerUtility Server { get; private set; }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/ListFileHandler.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/ListFileHandler.cs
deleted file mode 100644
index 2cfa22a1..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/ListFileHandler.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Web;
-
-///
-/// FileManager 的摘要说明
-///
-public class ListFileManager : Handler
-{
- enum ResultState
- {
- Success,
- InvalidParam,
- AuthorizError,
- IOError,
- PathNotFound
- }
-
- private int Start;
- private int Size;
- private int Total;
- private ResultState State;
- private String PathToList;
- private String[] FileList;
- private String[] SearchExtensions;
-
- public ListFileManager(HttpContext context, string pathToList, string[] searchExtensions)
- : base(context)
- {
- this.SearchExtensions = searchExtensions.Select(x => x.ToLower()).ToArray();
- this.PathToList = pathToList;
- }
-
- public override void Process()
- {
- try
- {
- Start = String.IsNullOrEmpty(Request["start"]) ? 0 : Convert.ToInt32(Request["start"]);
- Size = String.IsNullOrEmpty(Request["size"]) ? Config.GetInt("imageManagerListSize") : Convert.ToInt32(Request["size"]);
- }
- catch (FormatException)
- {
- State = ResultState.InvalidParam;
- WriteResult();
- return;
- }
- var buildingList = new List();
- try
- {
- var localPath = Server.MapPath(PathToList);
- buildingList.AddRange(Directory.GetFiles(localPath, "*", SearchOption.AllDirectories)
- .Where(x => SearchExtensions.Contains(Path.GetExtension(x).ToLower()))
- .Select(x => PathToList + x.Substring(localPath.Length).Replace("\\", "/")));
- Total = buildingList.Count;
- FileList = buildingList.OrderBy(x => x).Skip(Start).Take(Size).ToArray();
- }
- catch (UnauthorizedAccessException)
- {
- State = ResultState.AuthorizError;
- }
- catch (DirectoryNotFoundException)
- {
- State = ResultState.PathNotFound;
- }
- catch (IOException)
- {
- State = ResultState.IOError;
- }
- finally
- {
- WriteResult();
- }
- }
-
- private void WriteResult()
- {
- WriteJson(new
- {
- state = GetStateString(),
- list = FileList == null ? null : FileList.Select(x => new { url = x }),
- start = Start,
- size = Size,
- total = Total
- });
- }
-
- private string GetStateString()
- {
- switch (State)
- {
- case ResultState.Success:
- return "SUCCESS";
- case ResultState.InvalidParam:
- return "参数不正确";
- case ResultState.PathNotFound:
- return "路径不存在";
- case ResultState.AuthorizError:
- return "文件系统权限不足";
- case ResultState.IOError:
- return "文件系统读取错误";
- }
- return "未知错误";
- }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/NotSupportedHandler.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/NotSupportedHandler.cs
deleted file mode 100644
index d9d73230..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/NotSupportedHandler.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-
-///
-/// NotSupportedHandler 的摘要说明
-///
-public class NotSupportedHandler : Handler
-{
- public NotSupportedHandler(HttpContext context)
- : base(context)
- {
- }
-
- public override void Process()
- {
- WriteJson(new
- {
- state = "action 参数为空或者 action 不被支持。"
- });
- }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/PathFormater.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/PathFormater.cs
deleted file mode 100644
index e6fbfd47..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/PathFormater.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text.RegularExpressions;
-using System.Web;
-
-///
-/// PathFormater 的摘要说明
-///
-public static class PathFormatter
-{
- public static string Format(string originFileName, string pathFormat)
- {
- if (String.IsNullOrWhiteSpace(pathFormat))
- {
- pathFormat = "{filename}{rand:6}";
- }
-
- var invalidPattern = new Regex(@"[\\\/\:\*\?\042\<\>\|]");
- originFileName = invalidPattern.Replace(originFileName, "");
-
- string extension = Path.GetExtension(originFileName);
- string filename = Path.GetFileNameWithoutExtension(originFileName);
-
- pathFormat = pathFormat.Replace("{filename}", filename);
- pathFormat = new Regex(@"\{rand(\:?)(\d+)\}", RegexOptions.Compiled).Replace(pathFormat, new MatchEvaluator(delegate(Match match)
- {
- var digit = 6;
- if (match.Groups.Count > 2)
- {
- digit = Convert.ToInt32(match.Groups[2].Value);
- }
- var rand = new Random();
- return rand.Next((int)Math.Pow(10, digit), (int)Math.Pow(10, digit + 1)).ToString();
- }));
-
- pathFormat = pathFormat.Replace("{time}", DateTime.Now.Ticks.ToString());
- pathFormat = pathFormat.Replace("{yyyy}", DateTime.Now.Year.ToString());
- pathFormat = pathFormat.Replace("{yy}", (DateTime.Now.Year % 100).ToString("D2"));
- pathFormat = pathFormat.Replace("{mm}", DateTime.Now.Month.ToString("D2"));
- pathFormat = pathFormat.Replace("{dd}", DateTime.Now.Day.ToString("D2"));
- pathFormat = pathFormat.Replace("{hh}", DateTime.Now.Hour.ToString("D2"));
- pathFormat = pathFormat.Replace("{ii}", DateTime.Now.Minute.ToString("D2"));
- pathFormat = pathFormat.Replace("{ss}", DateTime.Now.Second.ToString("D2"));
-
- return pathFormat + extension;
- }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/UploadHandler.cs b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/UploadHandler.cs
deleted file mode 100644
index ea45e79c..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/App_Code/UploadHandler.cs
+++ /dev/null
@@ -1,182 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text.RegularExpressions;
-using System.Web;
-
-///
-/// UploadHandler 的摘要说明
-///
-public class UploadHandler : Handler
-{
-
- public UploadConfig UploadConfig { get; private set; }
- public UploadResult Result { get; private set; }
-
- public UploadHandler(HttpContext context, UploadConfig config)
- : base(context)
- {
- this.UploadConfig = config;
- this.Result = new UploadResult() { State = UploadState.Unknown };
- }
-
- public override void Process()
- {
- byte[] uploadFileBytes = null;
- string uploadFileName = null;
-
- if (UploadConfig.Base64)
- {
- uploadFileName = UploadConfig.Base64Filename;
- uploadFileBytes = Convert.FromBase64String(Request[UploadConfig.UploadFieldName]);
- }
- else
- {
- var file = Request.Files[UploadConfig.UploadFieldName];
- uploadFileName = file.FileName;
-
- if (!CheckFileType(uploadFileName))
- {
- Result.State = UploadState.TypeNotAllow;
- WriteResult();
- return;
- }
- if (!CheckFileSize(file.ContentLength))
- {
- Result.State = UploadState.SizeLimitExceed;
- WriteResult();
- return;
- }
-
- uploadFileBytes = new byte[file.ContentLength];
- try
- {
- file.InputStream.Read(uploadFileBytes, 0, file.ContentLength);
- }
- catch (Exception)
- {
- Result.State = UploadState.NetworkError;
- WriteResult();
- }
- }
-
- Result.OriginFileName = uploadFileName;
-
- var savePath = PathFormatter.Format(uploadFileName, UploadConfig.PathFormat);
- var localPath = Server.MapPath(savePath);
- try
- {
- if (!Directory.Exists(Path.GetDirectoryName(localPath)))
- {
- Directory.CreateDirectory(Path.GetDirectoryName(localPath));
- }
- File.WriteAllBytes(localPath, uploadFileBytes);
- Result.Url = savePath;
- Result.State = UploadState.Success;
- }
- catch (Exception e)
- {
- Result.State = UploadState.FileAccessError;
- Result.ErrorMessage = e.Message;
- }
- finally
- {
- WriteResult();
- }
- }
-
- private void WriteResult()
- {
- this.WriteJson(new
- {
- state = GetStateMessage(Result.State),
- url = Result.Url,
- title = Result.OriginFileName,
- original = Result.OriginFileName,
- error = Result.ErrorMessage
- });
- }
-
- private string GetStateMessage(UploadState state)
- {
- switch (state)
- {
- case UploadState.Success:
- return "SUCCESS";
- case UploadState.FileAccessError:
- return "文件访问出错,请检查写入权限";
- case UploadState.SizeLimitExceed:
- return "文件大小超出服务器限制";
- case UploadState.TypeNotAllow:
- return "不允许的文件格式";
- case UploadState.NetworkError:
- return "网络错误";
- }
- return "未知错误";
- }
-
- private bool CheckFileType(string filename)
- {
- var fileExtension = Path.GetExtension(filename).ToLower();
- return UploadConfig.AllowExtensions.Select(x => x.ToLower()).Contains(fileExtension);
- }
-
- private bool CheckFileSize(int size)
- {
- return size < UploadConfig.SizeLimit;
- }
-}
-
-public class UploadConfig
-{
- ///
- /// 文件命名规则
- ///
- public string PathFormat { get; set; }
-
- ///
- /// 上传表单域名称
- ///
- public string UploadFieldName { get; set; }
-
- ///
- /// 上传大小限制
- ///
- public int SizeLimit { get; set; }
-
- ///
- /// 上传允许的文件格式
- ///
- public string[] AllowExtensions { get; set; }
-
- ///
- /// 文件是否以 Base64 的形式上传
- ///
- public bool Base64 { get; set; }
-
- ///
- /// Base64 字符串所表示的文件名
- ///
- public string Base64Filename { get; set; }
-}
-
-public class UploadResult
-{
- public UploadState State { get; set; }
- public string Url { get; set; }
- public string OriginFileName { get; set; }
-
- public string ErrorMessage { get; set; }
-}
-
-public enum UploadState
-{
- Success = 0,
- SizeLimitExceed = -1,
- TypeNotAllow = -2,
- FileAccessError = -3,
- NetworkError = -4,
- Unknown = 1,
-}
-
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.dll b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.dll
deleted file mode 100644
index 551ed2ce..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.dll and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.pdb b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.pdb
deleted file mode 100644
index dd6a7196..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.pdb and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.xml b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.xml
deleted file mode 100644
index 5204a37a..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Bin/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,8472 +0,0 @@
-
-
-
- Newtonsoft.Json
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
-
-
-
-
- Initializes a new instance of the class with the specified .
-
-
-
-
- Reads the next JSON token from the stream.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Releases unmanaged and - optionally - managed resources
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the to Closed.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the underlying stream or
- should be closed when the reader is closed.
-
-
- true to close the underlying stream or when
- the reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false. The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Get or set how time zones are handling when reading JSON.
-
-
-
-
- Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets The Common Language Runtime (CLR) type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Specifies the state of the reader.
-
-
-
-
- The Read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The Close method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Initializes a new instance of the class.
-
- The stream.
-
-
-
- Initializes a new instance of the class.
-
- The reader.
-
-
-
- Initializes a new instance of the class.
-
- The stream.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The reader.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the stream as a .
-
-
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
-
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
-
- A . This method will return null at the end of an array.
-
-
-
-
- Reads the next JSON token from the stream.
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the to Closed.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false .
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false .
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
-
-
-
-
- Creates an instance of the JsonWriter class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
-
-
-
-
- Closes this stream and the underlying stream.
-
-
-
-
- Writes the beginning of a Json object.
-
-
-
-
- Writes the end of a Json object.
-
-
-
-
- Writes the beginning of a Json array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current Json object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes out a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes out the given white space.
-
- The string of white space characters.
-
-
-
- Sets the state of the JsonWriter,
-
- The JsonToken being written.
- The value being written.
-
-
-
- Gets or sets a value indicating whether the underlying stream or
- should be closed when the writer is closed.
-
-
- true to close the underlying stream or when
- the writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Indicates how JSON text output is formatted.
-
-
-
-
- Get or set how dates are written to JSON text.
-
-
-
-
- Get or set how time zones are handling when writing JSON text.
-
-
-
-
- Get or set how strings are escaped when writing JSON text.
-
-
-
-
- Get or set how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Get or set how and values are formatting when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
- The stream.
-
-
-
- Initializes a new instance of the class.
-
- The writer.
-
-
-
- Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes out a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a Json array.
-
-
-
-
- Writes the beginning of a Json object.
-
-
-
-
- Writes the property name of a name/value pair on a Json object.
-
- The name of the property.
-
-
-
- Closes this stream and the underlying stream.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Represents a BSON Oid (object id).
-
-
-
-
- Initializes a new instance of the class.
-
- The Oid value.
-
-
-
- Gets or sets the value of the Oid.
-
- The value of the Oid.
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Gets the of the JSON produced by the JsonConverter.
-
- The of the JSON produced by the JsonConverter.
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false .
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false .
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false .
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false .
-
-
-
-
- Create a custom object
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false .
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Converts an Entity Framework EntityKey to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Converts an ExpandoObject to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false .
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
-
- true if the written enum text will be camel case; otherwise, false .
-
-
-
- Gets or sets a value indicating whether integer values are allowed.
-
- true if integers are allowed; otherwise, false .
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a paramatized constructor.
-
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false .
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets the collection's items converter.
-
- The collection's items converter.
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false . The default is false .
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false . The default is false .
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during Json serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false . The default is true .
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false . The default is true .
-
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Represents a trace writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of Info will exclude Verbose messages and include Info,
- Warning and Error messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of Info will exclude Verbose messages and include Info,
- Warning and Error messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the method called immediately after deserialization of the object.
-
- The method called immediately after deserialization of the object.
-
-
-
- Gets or sets the method called during deserialization of the object.
-
- The method called during deserialization of the object.
-
-
-
- Gets or sets the method called after serialization of the object graph.
-
- The method called after serialization of the object graph.
-
-
-
- Gets or sets the method called before serialization of the object.
-
- The method called before serialization of the object.
-
-
-
- Gets or sets the method called when an error is thrown during the serialization of the object.
-
- The method called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non public.
-
- true if the default object creator is non-public; otherwise, false .
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false .
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of Info will exclude Verbose messages and include Info,
- Warning and Error messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if LineNumber and LinePosition can be provided; otherwise, false .
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Represents an abstract JSON token.
-
-
-
-
- Represents a collection of objects.
-
- The type of token
-
-
-
- Gets the with the specified key.
-
-
-
-
-
- Compares the values of two tokens, including the values of all descendant tokens.
-
- The first to compare.
- The second to compare.
- true if the tokens are equal; otherwise false.
-
-
-
- Adds the specified content immediately after this token.
-
- A content object that contains simple content or a collection of content objects to be added after this token.
-
-
-
- Adds the specified content immediately before this token.
-
- A content object that contains simple content or a collection of content objects to be added before this token.
-
-
-
- Returns a collection of the ancestor tokens of this token.
-
- A collection of the ancestor tokens of this token.
-
-
-
- Returns a collection of the sibling tokens after this token, in document order.
-
- A collection of the sibling tokens after this tokens, in document order.
-
-
-
- Returns a collection of the sibling tokens before this token, in document order.
-
- A collection of the sibling tokens before this token, in document order.
-
-
-
- Gets the with the specified key converted to the specified type.
-
- The type to convert the token to.
- The token key.
- The converted token value.
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
- An of containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
-
- The type to filter the child tokens on.
- A containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
- A containing the child values of this , in document order.
-
-
-
- Removes this token from its parent.
-
-
-
-
- Replaces this token with the specified token.
-
- The value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Returns the indented JSON for this token.
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output is formatted.
- A collection of which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates an for this token.
-
- An that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object
-
-
-
- Creates the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
-
- An that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
-
- An that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JPath expression. Selects the token that matches the object path.
-
-
- A that contains a JPath expression.
-
- A , or null.
-
-
-
- Selects a using a JPath expression. Selects the token that matches the object path.
-
-
- A that contains a JPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a collection of elements using a JPath expression.
-
-
- A that contains a JPath expression.
-
- An that contains the selected elements.
-
-
-
- Selects a collection of elements using a JPath expression.
-
-
- A that contains a JPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Gets a comparer that can compare two tokens for value equality.
-
- A that can compare two nodes for value equality.
-
-
-
- Gets or sets the parent.
-
- The parent.
-
-
-
- Gets the root of this .
-
- The root of this .
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false .
-
-
-
-
- Gets the next sibling token of this node.
-
- The that contains the next sibling token.
-
-
-
- Gets the previous sibling token of this node.
-
- The that contains the previous sibling token.
-
-
-
- Gets the path of the JSON token.
-
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Get the first child token of this token.
-
- A containing the first child token of the .
-
-
-
- Get the last child token of this token.
-
- A containing the last child token of the .
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
- The parameter is null.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not the same type as this instance.
-
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false .
-
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the ISerializable object constructor.
-
- The ISerializable object constructor.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that
-
-
-
- Gets the reference for the sepecified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false .
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable.
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false .
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that is is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable typesl; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and sets members to their default value when deserializing.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the converter.
-
-
-
- Gets the type of the converter.
-
- The type of the converter.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
-
- Null value handling.
-
-
-
- Gets or sets how null default are handled during serialization and deserialization.
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
-
- The type name handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Get or set how and values are formatting when writing JSON text.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
-
-
-
-
- Indicates how JSON text output is formatted.
-
-
-
-
- Get or set how dates are written to JSON text.
-
-
-
-
- Get or set how time zones are handling during serialization and deserialization.
-
-
-
-
- Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Get or set how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
-
-
-
-
- Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Get or set how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false .
-
-
-
-
- Represents a reader that provides validation.
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A .
-
-
-
- Reads the next JSON token from the stream as a .
-
-
- A or a null reference if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the stream as a .
-
- A .
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A .
-
-
-
- Reads the next JSON token from the stream.
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the Common Language Runtime (CLR) type for the current JSON token.
-
-
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members must be marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the attributeName is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- True if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false .
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements.
-
- The name of the deserialize root element.
-
-
-
- Gets or sets a flag to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attibute is written to the XML; otherwise, false .
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false .
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Initializes a new instance of the class with the specified .
-
- The TextReader containing the XML data to read.
-
-
-
- Reads the next JSON token from the stream.
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the stream as a .
-
-
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
-
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Changes the state to closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if LineNumber and LinePosition can be provided; otherwise, false .
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, HasLineInfo returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, HasLineInfo returns false).
-
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization and deserialization of a member.
-
- The numeric order of serialization or deserialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
-
-
-
-
- Creates an instance of the JsonWriter class using the specified .
-
- The TextWriter to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
-
-
-
-
- Closes this stream and the underlying stream.
-
-
-
-
- Writes the beginning of a Json object.
-
-
-
-
- Writes the beginning of a Json array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a Json object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes out a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes out the given white space.
-
- The string of white space characters.
-
-
-
- Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to Formatting.Indented .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- The exception thrown when an error occurs while reading Json text.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- The exception thrown when an error occurs while reading Json text.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Represents a collection of .
-
-
-
-
- Provides methods for converting between common language runtime types and JSON types.
-
-
-
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output is formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output is formatted.
- A collection converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be is used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be is used.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifing the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output is formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be is used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output is formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be is used.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifing the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Asynchronously serializes the specified object to a JSON string.
- Serialization will happen on a new thread.
-
- The object to serialize.
-
- A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
-
-
-
-
- Asynchronously serializes the specified object to a JSON string using formatting.
- Serialization will happen on a new thread.
-
- The object to serialize.
- Indicates how the output is formatted.
-
- A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
-
-
-
-
- Asynchronously serializes the specified object to a JSON string using formatting and a collection of .
- Serialization will happen on a new thread.
-
- The object to serialize.
- Indicates how the output is formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be is used.
-
- A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the Json string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the Json string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the Json string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be infered from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be infered from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
- The deserialized object from the JSON string.
-
-
-
- Asynchronously deserializes the JSON to the specified .NET type.
- Deserialization will happen on a new thread.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
-
- A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
-
-
-
-
- Asynchronously deserializes the JSON to the specified .NET type using .
- Deserialization will happen on a new thread.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
-
- A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
-
-
-
-
- Asynchronously deserializes the JSON to the specified .NET type.
- Deserialization will happen on a new thread.
-
- The JSON to deserialize.
-
- A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
-
-
-
-
- Asynchronously deserializes the JSON to the specified .NET type using .
- Deserialization will happen on a new thread.
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
-
- A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
-
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
-
-
-
- Asynchronously populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be is used.
-
-
- A task that represents the asynchronous populate operation.
-
-
-
-
- Serializes the XML node to a JSON string.
-
- The node to serialize.
- A JSON string of the XmlNode.
-
-
-
- Serializes the XML node to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output is formatted.
- A JSON string of the XmlNode.
-
-
-
- Serializes the XML node to a JSON string using formatting and omits the root object if is true .
-
- The node to serialize.
- Indicates how the output is formatted.
- Omits writing the root object.
- A JSON string of the XmlNode.
-
-
-
- Deserializes the XmlNode from a JSON string.
-
- The JSON string.
- The deserialized XmlNode
-
-
-
- Deserializes the XmlNode from a JSON string nested in a root elment specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized XmlNode
-
-
-
- Deserializes the XmlNode from a JSON string nested in a root elment specified by
- and writes a .NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A flag to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized XmlNode
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the XNode.
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output is formatted.
- A JSON string of the XNode.
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true .
-
- The node to serialize.
- Indicates how the output is formatted.
- Omits writing the root object.
- A JSON string of the XNode.
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized XNode
-
-
-
- Deserializes the from a JSON string nested in a root elment specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized XNode
-
-
-
- Deserializes the from a JSON string nested in a root elment specified by
- and writes a .NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A flag to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized XNode
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- The exception thrown when an error occurs during Json serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings.
-
-
- A new instance.
- The will not use default settings.
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings.
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings.
-
-
-
-
- Creates a new instance.
- The will use default settings.
-
-
- A new instance.
- The will use default settings.
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings.
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings.
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to reader values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to reader values from.
- The target object to populate values onto.
-
-
-
- Deserializes the Json structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the Json structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the Json structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the Json structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the Json structure
- to a Stream using the specified .
-
- The used to write the Json structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the Json structure
- to a Stream using the specified .
-
- The used to write the Json structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifing the type is optional.
-
-
-
-
- Serializes the specified and writes the Json structure
- to a Stream using the specified .
-
- The used to write the Json structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifing the type is optional.
-
-
-
-
- Serializes the specified and writes the Json structure
- to a Stream using the specified .
-
- The used to write the Json structure.
- The to serialize.
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
-
-
-
-
- Get or set how reference loops (e.g. a class referencing itself) is handled.
-
-
-
-
- Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
-
-
-
-
- Get or set how null values are handled during serialization and deserialization.
-
-
-
-
- Get or set how null default are handled during serialization and deserialization.
-
-
-
-
- Gets or sets how objects are created during deserialization.
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
-
- The constructor handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
-
-
-
-
- Get or set how dates are written to JSON text.
-
-
-
-
- Get or set how time zones are handling during serialization and deserialization.
-
-
-
-
- Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Get or set how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
-
-
-
-
- Get or set how strings are escaped when writing JSON text.
-
-
-
-
- Get or set how and values are formatting when writing JSON text.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false .
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every node in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every node in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every node in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every node in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every node in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every node in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every node in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every node in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An containing the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates an that can be used to add tokens to the .
-
- An that is ready to have content written to it.
-
-
-
- Replaces the children nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false .
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Represents a collection of objects.
-
- The type of token
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false .
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Gets the with the specified key.
-
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets an of this object's properties.
-
- An of this object's properties.
-
-
-
- Gets a the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets an of this object's property values.
-
- An of this object's property values.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries the get value.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the properties for this instance of a component.
-
-
- A that represents the properties for this component instance.
-
-
-
-
- Returns the properties for this instance of a component using the attribute array as a filter.
-
- An array of type that is used as a filter.
-
- A that represents the filtered properties for this component instance.
-
-
-
-
- Returns a collection of custom attributes for this instance of a component.
-
-
- An containing the attributes for this object.
-
-
-
-
- Returns the class name of this instance of a component.
-
-
- The class name of the object, or null if the class does not have a name.
-
-
-
-
- Returns the name of this instance of a component.
-
-
- The name of the object, or null if the object does not have a name.
-
-
-
-
- Returns a type converter for this instance of a component.
-
-
- A that is the converter for this object, or null if there is no for this object.
-
-
-
-
- Returns the default event for this instance of a component.
-
-
- An that represents the default event for this object, or null if this object does not have events.
-
-
-
-
- Returns the default property for this instance of a component.
-
-
- A that represents the default property for this object, or null if this object does not have properties.
-
-
-
-
- Returns an editor of the specified type for this instance of a component.
-
- A that represents the editor for this object.
-
- An of the specified type that is the editor for this object, or null if the editor cannot be found.
-
-
-
-
- Returns the events for this instance of a component using the specified attribute array as a filter.
-
- An array of type that is used as a filter.
-
- An that represents the filtered events for this component instance.
-
-
-
-
- Returns the events for this instance of a component.
-
-
- An that represents the events for this component instance.
-
-
-
-
- Returns an object that contains the property described by the specified property descriptor.
-
- A that represents the property whose owner is to be found.
-
- An that represents the owner of the specified property.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
- The is read-only.
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
- The is read-only.
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
- The is read-only.
-
-
-
- Removes all items from the .
-
- The is read-only.
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies to.
-
- The array.
- Index of the array.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
- The is read-only.
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Reads the next JSON token from the stream as a .
-
-
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
-
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the stream.
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
-
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
-
-
-
-
- Closes this stream and the underlying stream.
-
-
-
-
- Writes the beginning of a Json object.
-
-
-
-
- Writes the beginning of a Json array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a Json object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes out a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Gets the token being writen.
-
- The token being writen.
-
-
-
- Represents a JSON property.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Contains the JSON schema extension methods.
-
-
-
-
- Determines whether the is valid.
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false .
-
-
-
-
- Determines whether the is valid.
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false .
-
-
-
-
- Validates the specified .
-
- The source to test.
- The schema to test with.
-
-
-
- Validates the specified .
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
- Returns detailed information about the schema exception.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Resolves from an id.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
- Returns detailed information related to the .
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Used by to resolves a for a given .
-
-
-
-
- Used by to resolves a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- If set to true the will use a cached shared with other resolvers of the same type.
- Sharing the cache will significantly performance because expensive reflection will only happen once but could cause unexpected
- behavior if different instances of the resolver are suppose to produce different results. When set to false it is highly
- recommended to reuse instances with the .
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false .
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false .
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false .
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- The property name camel cased.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false .
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false .
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization and deserialization of a member.
-
- The numeric order of serialization or deserialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes presidence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false .
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false .
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false .
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false .
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false .
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialize.
-
- A predicate used to determine whether the property should be serialize.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of propertyName and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains schema JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Parses the specified json.
-
- The json.
- The resolver.
- A populated from the string that contains JSON.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisble by.
-
- A number that the value should be divisble by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.
-
- A flag indicating whether the value can not equal the number defined by the "minimum" attribute.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.
-
- A flag indicating whether the value can not equal the number defined by the "maximum" attribute.
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false .
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false .
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false .
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallow types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Generates a from a specified .
-
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- The value types allowed by the .
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets the constructor parameters required for any non-default constructor
-
-
-
-
- Gets or sets the override constructor used to create the object.
- This is set when a constructor is marked up using the
- JsonConstructor attribute.
-
- The override constructor.
-
-
-
- Gets or sets the parametrized constructor used to create the object.
-
- The parametrized constructor.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- Specifies type name handling options for the .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
-
-
-
-
- Converts the value to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert the value to.
- The converted type.
-
-
-
- Converts the value to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert the value to.
- The converted value if the conversion was successful or the default value of T if it failed.
-
- true if initialValue was converted successfully; otherwise, false .
-
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Gets a dictionary of the names and values of an Enum type.
-
-
-
-
-
- Gets a dictionary of the names and values of an Enum type.
-
- The enum type to get names and values for.
-
-
-
-
- Specifies the type of Json token.
-
-
-
-
- This is returned by the if a method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
- Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer.
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false .
-
-
-
-
- Adds the elements of the specified collection to the specified generic IList.
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer.
-
- The type of the elements of source.
- A sequence in which to locate a value.
- The object to locate in the sequence
- An equality comparer to compare values.
- The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1.
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the member is an indexed property.
-
- The member.
-
- true if the member is an indexed property; otherwise, false .
-
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false .
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false .
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false .
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false .
-
-
-
-
- Nulls an empty string.
-
- The string.
- Null if the string was null, otherwise the string unchanged.
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls results in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- A array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
-
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/README.md b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/README.md
deleted file mode 100644
index b7c7ddd5..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/README.md
+++ /dev/null
@@ -1,141 +0,0 @@
-UEditor ASP.NET 后台使用说明
-=====
-
-## 背景
-
-UEditor 在 1.4 版本之后进行了一次[前后端统一配置](../_doc/3.1 后端请求规范.md)的整理,.Net 的后台也进行了一次重写,跟之前的版本差别较大,升级的用户注意阅读本文档。
-
-本文档介绍 UEditor ASP.NET 后台的部署、配置、源码说明。
-
-
-## 1. 部署说明
-
-### 1.1. 安装并注册 .NET Framework 4.0
-
-代码的运行时环境是 .NET Framework 4.0,首先要确认 IIS 已经安装了 .NET 4.0 的运行时框架。方法是打开「IIS 管理器」,选择根目录下的「应用程序池」,在右侧查看是否有一个应用程序池的版本是 v4.0,如果存在,则 IIS 已经安装了所需的运行时环境,此时读者可以跳过本节。
-
-
-
-如果没有找到对应的应用程序池,需要手动安装。
-
-Windows 7 和 Windows Server 2008 R2 默认安装了 .Net Framework 4.0,如果是 Server 03 和老掉牙的 Windows XP,则需要手动安装 [.NET Framework 4.0](http://www.microsoft.com/zh-cn/download/details.aspx?id=17718)。
-
-安装完 .NET Framework 4.0 后,还需要向 IIS 注册应用程序池,注册的方法是,使用**管理员权限**打开命令提示符(CMD),输入以下命令:
-
-```shell
-C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
-```
-
-安装完毕后,在 IIS 管理器刷新就能看到 4.0 的应用程序池。
-
-### 1.2. 设置 .NET 应用程序
-
-代码要求以应用程序的形式来运行(可以方便加入库依赖和组织代码)。需要把 `net` 目录转换为应用程序。
-
-1. 在 IIS 中,展开到 `ueditor/net` 目录,在目录上右击,点击「转换为应用程序」。
-
- 
-
-2. 弹出的对话框中,点击「选择...」来指定使用的应用程序池。选择版本为 4.0 的应用程序池,然后点确定。
-
- 
-
-3. 设置连接凭据。点击「链接为...」按钮,在弹出的对话框中指定一个对目录具有读写权限的用户(如 administrator),然后点确定。
-
- 
-
- 设置完毕后,可以点击「测试设置...」来测试权限是否正常。
-
- 
-
-### 1.3. 运行测试
-
-在浏览器中运行 `net/controller.ashx`,如果返回 "`{"state":"action 参数为空或者 action 不被支持。"}`",则表示应用程序运行成功。
-
-如果你确认上述步骤已经执行,但是依然有问题,请给我们[提 Issue](https://github.com/fex-team/ueditor/issues/new?labels=NET%E5%90%8E%E5%8F%B0),我们会尽快答复解决。
-
-## 2. 配置说明
-
-前后端配置统一之后,配置文件由后台读取,返回给前端。但是部分配置是给后台使用的。
-
-### 2.1. 上传配置说明
-
-关于上传的部分,后台需要关心以下模板的配置项。
-
-```json
-{
- "{tpl}FieldName": "upfile",
- "{tpl}PathFormat": "upload/{tpl}/{yyyy}{mm}{dd}/{time}{rand:6}",
- "{tpl}UrlPrefix": "/ueditor/net/",
- "{tpl}AllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"],
- "{tpl}MaxSize": 2048000
-}
-```
-
-"{tpl}FieldName" 表示提交的表单的文件域名称。
-
-"{tpl}PathFormat" 表示上传文件保存的路径和名称。注意,这里的路径是相对应用程序的,如果需要修改的话,请自行修改源码。
-
-"{tpl}UrlPrefix" 表示上传文件访问的 URL 前缀。注意,这里应该给出应用程序的 URL 路径,否则上传的文件不能正确定位。
-
-> 举个例子,如果你的 UEditor 的位置在 `http://www.mydomain.com/myapp/ueditor`,对应的本地路径是 `C:\iis_pub\www\myapp\ueditor`,那么 .NET 应用程序的位置在 `http://www.mydomain.com/myapp/ueditor/net`,对应的本地路径是 `C:\iis_pub\www\myapp\ueditor\net`。图片上传配置项应该如下:
->
-> {
-> "imagePathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}",
-> "imageUrlPrefix": "/myapp/ueditor/net/",
-> }
->
-> 上传的文件会保存在 `C:\iis_pub\www\myapp\ueditor\net\upload\image\{日期}\{文件名}`
-
-"{tpl}AllowFiles" 限制文件上传的类型,注意要有 "."。
-
-"{tpl}MaxSize" 限制文件上传的大小。注意这里的限制是代码上的判断,应用程序本身还有一个请求报文大小限制。该限制在 web.config 文件中修改,注意要有以下的节:
-
-```xml
-
-
-
-
-
-```
-
-maxRequestLength 就是请求报文大小限制,该大小应该要比设置的所有上传大小都大,否则应用程序执行之前,请求会被被拒绝。
-
-## 3. 源码说明
-
-可以看到 net 目录内的源码结构是这样的:
-
-```
-net
- App_Code
- Config.cs
- Handler.cs
- PathFormatter.cs
- *Handler.cs
- Bin
- Newtonsoft.Json.dll
- config.json
- controller.ashx
- net.sln
- README.md
- Web.config
-```
-
-App_Code 上的文件是应用程序的源码。
-
-- Config.cs 负责读取配置文件
-- Handler.cs 是请求处理器的基类,提供了一些基本对象的访问以及输出控制。如果需要增加处理器,应该从该基类继承
-- PathFormatter.cs 解析 PathFormat,把信息填充为运行时信息。
-- *Handler.cs 是各种处理器,处理各种 UEditor 需要的请求。
-
-Bin 里面的是应用程序的依赖库,当前依赖 Newtonsoft 的 Json 库。Bin 目录和 App_Code 目录受应用程序保护,不用担心被用户访问到。
-
-config.json 是 UEditor 后端的配置文件,上一节已经介绍了比较重要的配置项。
-
-controller.ashx 是 UEditor 请求的入口,它把不同的 action 分发到不同的 Handler 来处理。
-
-net.sln 是项目的解决方案文件,安装 Visual Studio 2013 或以上的机器可以打开进行项目的改造。
-
-README.md 是本说明文件。
-
-Web.config 是应用程序的配置文件。
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Web.config b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Web.config
deleted file mode 100644
index 992ee528..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/Web.config
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/config.json b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/config.json
deleted file mode 100644
index 55d948f2..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/config.json
+++ /dev/null
@@ -1,94 +0,0 @@
-/* 前后端通信相关的配置,注释只允许使用多行方式 */
-{
- /* 上传图片配置项 */
- "imageActionName": "uploadimage", /* 执行上传图片的action名称 */
- "imageFieldName": "upfile", /* 提交的图片表单名称 */
- "imageMaxSize": 2048000, /* 上传大小限制,单位B */
- "imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 上传图片格式显示 */
- "imageCompressEnable": true, /* 是否压缩图片,默认是true */
- "imageCompressBorder": 1600, /* 图片压缩最长边限制 */
- "imageInsertAlign": "none", /* 插入的图片浮动方式 */
- "imageUrlPrefix": "/ueditor/net/", /* 图片访问路径前缀 */
- "imagePathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- /* {filename} 会替换成原文件名,配置这项需要注意中文乱码问题 */
- /* {rand:6} 会替换成随机数,后面的数字是随机数的位数 */
- /* {time} 会替换成时间戳 */
- /* {yyyy} 会替换成四位年份 */
- /* {yy} 会替换成两位年份 */
- /* {mm} 会替换成两位月份 */
- /* {dd} 会替换成两位日期 */
- /* {hh} 会替换成两位小时 */
- /* {ii} 会替换成两位分钟 */
- /* {ss} 会替换成两位秒 */
- /* 非法字符 \ : * ? " < > | */
- /* 具请体看线上文档: fex.baidu.com/ueditor/#use-format_upload_filename */
-
- /* 涂鸦图片上传配置项 */
- "scrawlActionName": "uploadscrawl", /* 执行上传涂鸦的action名称 */
- "scrawlFieldName": "upfile", /* 提交的图片表单名称 */
- "scrawlPathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "scrawlMaxSize": 2048000, /* 上传大小限制,单位B */
- "scrawlUrlPrefix": "/ueditor/net/", /* 图片访问路径前缀 */
- "scrawlInsertAlign": "none",
-
- /* 截图工具上传 */
- "snapscreenActionName": "uploadimage", /* 执行上传截图的action名称 */
- "snapscreenPathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "snapscreenUrlPrefix": "/ueditor/net/", /* 图片访问路径前缀 */
- "snapscreenInsertAlign": "none", /* 插入的图片浮动方式 */
-
- /* 抓取远程图片配置 */
- "catcherLocalDomain": ["127.0.0.1", "localhost", "img.baidu.com"],
- "catcherActionName": "catchimage", /* 执行抓取远程图片的action名称 */
- "catcherFieldName": "source", /* 提交的图片列表表单名称 */
- "catcherPathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "catcherUrlPrefix": "/ueditor/net/", /* 图片访问路径前缀 */
- "catcherMaxSize": 2048000, /* 上传大小限制,单位B */
- "catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 抓取图片格式显示 */
-
- /* 上传视频配置 */
- "videoActionName": "uploadvideo", /* 执行上传视频的action名称 */
- "videoFieldName": "upfile", /* 提交的视频表单名称 */
- "videoPathFormat": "upload/video/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "videoUrlPrefix": "/ueditor/net/", /* 视频访问路径前缀 */
- "videoMaxSize": 102400000, /* 上传大小限制,单位B,默认100MB */
- "videoAllowFiles": [
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid"], /* 上传视频格式显示 */
-
- /* 上传文件配置 */
- "fileActionName": "uploadfile", /* controller里,执行上传视频的action名称 */
- "fileFieldName": "upfile", /* 提交的文件表单名称 */
- "filePathFormat": "upload/file/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "fileUrlPrefix": "/ueditor/net/", /* 文件访问路径前缀 */
- "fileMaxSize": 51200000, /* 上传大小限制,单位B,默认50MB */
- "fileAllowFiles": [
- ".png", ".jpg", ".jpeg", ".gif", ".bmp",
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
- ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
- ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
- ], /* 上传文件格式显示 */
-
- /* 列出指定目录下的图片 */
- "imageManagerActionName": "listimage", /* 执行图片管理的action名称 */
- "imageManagerListPath": "upload/image", /* 指定要列出图片的目录 */
- "imageManagerListSize": 20, /* 每次列出文件数量 */
- "imageManagerUrlPrefix": "/ueditor/net/", /* 图片访问路径前缀 */
- "imageManagerInsertAlign": "none", /* 插入的图片浮动方式 */
- "imageManagerAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 列出的文件类型 */
-
- /* 列出指定目录下的文件 */
- "fileManagerActionName": "listfile", /* 执行文件管理的action名称 */
- "fileManagerListPath": "upload/file", /* 指定要列出文件的目录 */
- "fileManagerUrlPrefix": "/ueditor/net/", /* 文件访问路径前缀 */
- "fileManagerListSize": 20, /* 每次列出文件数量 */
- "fileManagerAllowFiles": [
- ".png", ".jpg", ".jpeg", ".gif", ".bmp",
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
- ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
- ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
- ] /* 列出的文件类型 */
-
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/controller.ashx b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/controller.ashx
deleted file mode 100644
index 320714e9..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/controller.ashx
+++ /dev/null
@@ -1,80 +0,0 @@
-<%@ WebHandler Language="C#" Class="UEditorHandler" %>
-
-using System;
-using System.Web;
-using System.IO;
-using System.Collections;
-using Newtonsoft.Json;
-
-public class UEditorHandler : IHttpHandler
-{
- public void ProcessRequest(HttpContext context)
- {
- Handler action = null;
- switch (context.Request["action"])
- {
- case "config":
- action = new ConfigHandler(context);
- break;
- case "uploadimage":
- action = new UploadHandler(context, new UploadConfig()
- {
- AllowExtensions = Config.GetStringList("imageAllowFiles"),
- PathFormat = Config.GetString("imagePathFormat"),
- SizeLimit = Config.GetInt("imageMaxSize"),
- UploadFieldName = Config.GetString("imageFieldName")
- });
- break;
- case "uploadscrawl":
- action = new UploadHandler(context, new UploadConfig()
- {
- AllowExtensions = new string[] { ".png" },
- PathFormat = Config.GetString("scrawlPathFormat"),
- SizeLimit = Config.GetInt("scrawlMaxSize"),
- UploadFieldName = Config.GetString("scrawlFieldName"),
- Base64 = true,
- Base64Filename = "scrawl.png"
- });
- break;
- case "uploadvideo":
- action = new UploadHandler(context, new UploadConfig()
- {
- AllowExtensions = Config.GetStringList("videoAllowFiles"),
- PathFormat = Config.GetString("videoPathFormat"),
- SizeLimit = Config.GetInt("videoMaxSize"),
- UploadFieldName = Config.GetString("videoFieldName")
- });
- break;
- case "uploadfile":
- action = new UploadHandler(context, new UploadConfig()
- {
- AllowExtensions = Config.GetStringList("fileAllowFiles"),
- PathFormat = Config.GetString("filePathFormat"),
- SizeLimit = Config.GetInt("fileMaxSize"),
- UploadFieldName = Config.GetString("fileFieldName")
- });
- break;
- case "listimage":
- action = new ListFileManager(context, Config.GetString("imageManagerListPath"), Config.GetStringList("imageManagerAllowFiles"));
- break;
- case "listfile":
- action = new ListFileManager(context, Config.GetString("fileManagerListPath"), Config.GetStringList("fileManagerAllowFiles"));
- break;
- case "catchimage":
- action = new CrawlerHandler(context);
- break;
- default:
- action = new NotSupportedHandler(context);
- break;
- }
- action.Process();
- }
-
- public bool IsReusable
- {
- get
- {
- return false;
- }
- }
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/net.sln b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/net.sln
deleted file mode 100644
index 280d3997..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/net/net.sln
+++ /dev/null
@@ -1,38 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.21005.1
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "net", "http://localhost:7957", "{36F65A7F-64E7-4E05-BBC2-EAB6E4EDAF30}"
- ProjectSection(WebsiteProperties) = preProject
- UseIISExpress = "true"
- TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
- Debug.AspNetCompiler.VirtualPath = "/localhost_7957"
- Debug.AspNetCompiler.PhysicalPath = "..\..\..\..\prj\ueditor\net\"
- Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_7957\"
- Debug.AspNetCompiler.Updateable = "true"
- Debug.AspNetCompiler.ForceOverwrite = "true"
- Debug.AspNetCompiler.FixedNames = "false"
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.VirtualPath = "/localhost_7957"
- Release.AspNetCompiler.PhysicalPath = "..\..\..\..\prj\ueditor\net\"
- Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_7957\"
- Release.AspNetCompiler.Updateable = "true"
- Release.AspNetCompiler.ForceOverwrite = "true"
- Release.AspNetCompiler.FixedNames = "false"
- Release.AspNetCompiler.Debug = "False"
- SlnRelativePath = "..\..\..\..\prj\ueditor\net\"
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {36F65A7F-64E7-4E05-BBC2-EAB6E4EDAF30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {36F65A7F-64E7-4E05-BBC2-EAB6E4EDAF30}.Debug|Any CPU.Build.0 = Debug|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/Uploader.class.php b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/Uploader.class.php
deleted file mode 100644
index 092ef277..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/Uploader.class.php
+++ /dev/null
@@ -1,349 +0,0 @@
- "临时文件错误",
- "ERROR_TMP_FILE_NOT_FOUND" => "找不到临时文件",
- "ERROR_SIZE_EXCEED" => "文件大小超出网站限制",
- "ERROR_TYPE_NOT_ALLOWED" => "文件类型不允许",
- "ERROR_CREATE_DIR" => "目录创建失败",
- "ERROR_DIR_NOT_WRITEABLE" => "目录没有写权限",
- "ERROR_FILE_MOVE" => "文件保存时出错",
- "ERROR_FILE_NOT_FOUND" => "找不到上传文件",
- "ERROR_WRITE_CONTENT" => "写入文件内容错误",
- "ERROR_UNKNOWN" => "未知错误",
- "ERROR_DEAD_LINK" => "链接不可用",
- "ERROR_HTTP_LINK" => "链接不是http链接",
- "ERROR_HTTP_CONTENTTYPE" => "链接contentType不正确"
- );
-
- /**
- * 构造函数
- * @param string $fileField 表单名称
- * @param array $config 配置项
- * @param bool $base64 是否解析base64编码,可省略。若开启,则$fileField代表的是base64编码的字符串表单名
- */
- public function __construct($fileField, $config, $type = "upload")
- {
- $this->fileField = $fileField;
- $this->config = $config;
- $this->type = $type;
- if ($type == "remote") {
- $this->saveRemote();
- } else if($type == "base64") {
- $this->upBase64();
- } else {
- $this->upFile();
- }
-
- $this->stateMap['ERROR_TYPE_NOT_ALLOWED'] = iconv('unicode', 'utf-8', $this->stateMap['ERROR_TYPE_NOT_ALLOWED']);
- }
-
- /**
- * 上传文件的主处理方法
- * @return mixed
- */
- private function upFile()
- {
- $file = $this->file = $_FILES[$this->fileField];
- if (!$file) {
- $this->stateInfo = $this->getStateInfo("ERROR_FILE_NOT_FOUND");
- return;
- }
- if ($this->file['error']) {
- $this->stateInfo = $this->getStateInfo($file['error']);
- return;
- } else if (!file_exists($file['tmp_name'])) {
- $this->stateInfo = $this->getStateInfo("ERROR_TMP_FILE_NOT_FOUND");
- return;
- } else if (!is_uploaded_file($file['tmp_name'])) {
- $this->stateInfo = $this->getStateInfo("ERROR_TMPFILE");
- return;
- }
-
- $this->oriName = $file['name'];
- $this->fileSize = $file['size'];
- $this->fileType = $this->getFileExt();
- $this->fullName = $this->getFullName();
- $this->filePath = $this->getFilePath();
- $this->fileName = $this->getFileName();
- $dirname = dirname($this->filePath);
-
- //检查文件大小是否超出限制
- if (!$this->checkSize()) {
- $this->stateInfo = $this->getStateInfo("ERROR_SIZE_EXCEED");
- return;
- }
-
- //检查是否不允许的文件格式
- if (!$this->checkType()) {
- $this->stateInfo = $this->getStateInfo("ERROR_TYPE_NOT_ALLOWED");
- return;
- }
-
- //创建目录失败
- if (!file_exists($dirname) && !mkdir($dirname, 0777, true)) {
- $this->stateInfo = $this->getStateInfo("ERROR_CREATE_DIR");
- return;
- } else if (!is_writeable($dirname)) {
- $this->stateInfo = $this->getStateInfo("ERROR_DIR_NOT_WRITEABLE");
- return;
- }
-
- //移动文件
- if (!(move_uploaded_file($file["tmp_name"], $this->filePath) && file_exists($this->filePath))) { //移动失败
- $this->stateInfo = $this->getStateInfo("ERROR_FILE_MOVE");
- } else { //移动成功
- $this->stateInfo = $this->stateMap[0];
- }
- }
-
- /**
- * 处理base64编码的图片上传
- * @return mixed
- */
- private function upBase64()
- {
- $base64Data = $_POST[$this->fileField];
- $img = base64_decode($base64Data);
-
- $this->oriName = $this->config['oriName'];
- $this->fileSize = strlen($img);
- $this->fileType = $this->getFileExt();
- $this->fullName = $this->getFullName();
- $this->filePath = $this->getFilePath();
- $this->fileName = $this->getFileName();
- $dirname = dirname($this->filePath);
-
- //检查文件大小是否超出限制
- if (!$this->checkSize()) {
- $this->stateInfo = $this->getStateInfo("ERROR_SIZE_EXCEED");
- return;
- }
-
- //创建目录失败
- if (!file_exists($dirname) && !mkdir($dirname, 0777, true)) {
- $this->stateInfo = $this->getStateInfo("ERROR_CREATE_DIR");
- return;
- } else if (!is_writeable($dirname)) {
- $this->stateInfo = $this->getStateInfo("ERROR_DIR_NOT_WRITEABLE");
- return;
- }
-
- //移动文件
- if (!(file_put_contents($this->filePath, $img) && file_exists($this->filePath))) { //移动失败
- $this->stateInfo = $this->getStateInfo("ERROR_WRITE_CONTENT");
- } else { //移动成功
- $this->stateInfo = $this->stateMap[0];
- }
-
- }
-
- /**
- * 拉取远程图片
- * @return mixed
- */
- private function saveRemote()
- {
- $imgUrl = htmlspecialchars($this->fileField);
- $imgUrl = str_replace("&", "&", $imgUrl);
-
- //http开头验证
- if (strpos($imgUrl, "http") !== 0) {
- $this->stateInfo = $this->getStateInfo("ERROR_HTTP_LINK");
- return;
- }
- //获取请求头并检测死链
- $heads = get_headers($imgUrl);
- if (!(stristr($heads[0], "200") && stristr($heads[0], "OK"))) {
- $this->stateInfo = $this->getStateInfo("ERROR_DEAD_LINK");
- return;
- }
- //格式验证(扩展名验证和Content-Type验证)
- $fileType = strtolower(strrchr($imgUrl, '.'));
- if (!in_array($fileType, $this->config['allowFiles']) || stristr($heads['Content-Type'], "image")) {
- $this->stateInfo = $this->getStateInfo("ERROR_HTTP_CONTENTTYPE");
- return;
- }
-
- //打开输出缓冲区并获取远程图片
- ob_start();
- $context = stream_context_create(
- array('http' => array(
- 'follow_location' => false // don't follow redirects
- ))
- );
- readfile($imgUrl, false, $context);
- $img = ob_get_contents();
- ob_end_clean();
- preg_match("/[\/]([^\/]*)[\.]?[^\.\/]*$/", $imgUrl, $m);
-
- $this->oriName = $m ? $m[1]:"";
- $this->fileSize = strlen($img);
- $this->fileType = $this->getFileExt();
- $this->fullName = $this->getFullName();
- $this->filePath = $this->getFilePath();
- $this->fileName = $this->getFileName();
- $dirname = dirname($this->filePath);
-
- //检查文件大小是否超出限制
- if (!$this->checkSize()) {
- $this->stateInfo = $this->getStateInfo("ERROR_SIZE_EXCEED");
- return;
- }
-
- //创建目录失败
- if (!file_exists($dirname) && !mkdir($dirname, 0777, true)) {
- $this->stateInfo = $this->getStateInfo("ERROR_CREATE_DIR");
- return;
- } else if (!is_writeable($dirname)) {
- $this->stateInfo = $this->getStateInfo("ERROR_DIR_NOT_WRITEABLE");
- return;
- }
-
- //移动文件
- if (!(file_put_contents($this->filePath, $img) && file_exists($this->filePath))) { //移动失败
- $this->stateInfo = $this->getStateInfo("ERROR_WRITE_CONTENT");
- } else { //移动成功
- $this->stateInfo = $this->stateMap[0];
- }
-
- }
-
- /**
- * 上传错误检查
- * @param $errCode
- * @return string
- */
- private function getStateInfo($errCode)
- {
- return !$this->stateMap[$errCode] ? $this->stateMap["ERROR_UNKNOWN"] : $this->stateMap[$errCode];
- }
-
- /**
- * 获取文件扩展名
- * @return string
- */
- private function getFileExt()
- {
- return strtolower(strrchr($this->oriName, '.'));
- }
-
- /**
- * 重命名文件
- * @return string
- */
- private function getFullName()
- {
- //替换日期事件
- $t = time();
- $d = explode('-', date("Y-y-m-d-H-i-s"));
- $format = $this->config["pathFormat"];
- $format = str_replace("{yyyy}", $d[0], $format);
- $format = str_replace("{yy}", $d[1], $format);
- $format = str_replace("{mm}", $d[2], $format);
- $format = str_replace("{dd}", $d[3], $format);
- $format = str_replace("{hh}", $d[4], $format);
- $format = str_replace("{ii}", $d[5], $format);
- $format = str_replace("{ss}", $d[6], $format);
- $format = str_replace("{time}", $t, $format);
-
- //过滤文件名的非法自负,并替换文件名
- $oriName = substr($this->oriName, 0, strrpos($this->oriName, '.'));
- $oriName = preg_replace("/[\|\?\"\<\>\/\*\\\\]+/", '', $oriName);
- $format = str_replace("{filename}", $oriName, $format);
-
- //替换随机字符串
- $randNum = rand(1, 10000000000) . rand(1, 10000000000);
- if (preg_match("/\{rand\:([\d]*)\}/i", $format, $matches)) {
- $format = preg_replace("/\{rand\:[\d]*\}/i", substr($randNum, 0, $matches[1]), $format);
- }
-
- $ext = $this->getFileExt();
- return $format . $ext;
- }
-
- /**
- * 获取文件名
- * @return string
- */
- private function getFileName () {
- return substr($this->filePath, strrpos($this->filePath, '/') + 1);
- }
-
- /**
- * 获取文件完整路径
- * @return string
- */
- private function getFilePath()
- {
- $fullname = $this->fullName;
- $rootPath = $_SERVER['DOCUMENT_ROOT'];
-
- if (substr($fullname, 0, 1) != '/') {
- $fullname = '/' . $fullname;
- }
-
- return $rootPath . $fullname;
- }
-
- /**
- * 文件类型检测
- * @return bool
- */
- private function checkType()
- {
- return in_array($this->getFileExt(), $this->config["allowFiles"]);
- }
-
- /**
- * 文件大小检测
- * @return bool
- */
- private function checkSize()
- {
- return $this->fileSize <= ($this->config["maxSize"]);
- }
-
- /**
- * 获取当前上传成功文件的各项信息
- * @return array
- */
- public function getFileInfo()
- {
- return array(
- "state" => $this->stateInfo,
- "url" => $this->fullName,
- "title" => $this->fileName,
- "original" => $this->oriName,
- "type" => $this->fileType,
- "size" => $this->fileSize
- );
- }
-
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_crawler.php b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_crawler.php
deleted file mode 100644
index b9e18dfa..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_crawler.php
+++ /dev/null
@@ -1,44 +0,0 @@
- $CONFIG['catcherPathFormat'],
- "maxSize" => $CONFIG['catcherMaxSize'],
- "allowFiles" => $CONFIG['catcherAllowFiles'],
- "oriName" => "remote.png"
-);
-$fieldName = $CONFIG['catcherFieldName'];
-
-/* 抓取远程图片 */
-$list = array();
-if (isset($_POST[$fieldName])) {
- $source = $_POST[$fieldName];
-} else {
- $source = $_GET[$fieldName];
-}
-foreach ($source as $imgUrl) {
- $item = new Uploader($imgUrl, $config, "remote");
- $info = $item->getFileInfo();
- array_push($list, array(
- "state" => $info["state"],
- "url" => $info["url"],
- "size" => $info["size"],
- "title" => htmlspecialchars($info["title"]),
- "original" => htmlspecialchars($info["original"]),
- "source" => htmlspecialchars($imgUrl)
- ));
-}
-
-/* 返回抓取数据 */
-return json_encode(array(
- 'state'=> count($list) ? 'SUCCESS':'ERROR',
- 'list'=> $list
-));
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_list.php b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_list.php
deleted file mode 100644
index bf9cd62c..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_list.php
+++ /dev/null
@@ -1,92 +0,0 @@
- "no match file",
- "list" => array(),
- "start" => $start,
- "total" => count($files)
- ));
-}
-
-/* 获取指定范围的列表 */
-$len = count($files);
-for ($i = min($end, $len) - 1, $list = array(); $i < $len && $i >= 0 && $i >= $start; $i--){
- $list[] = $files[$i];
-}
-//倒序
-//for ($i = $end, $list = array(); $i < $len && $i < $end; $i++){
-// $list[] = $files[$i];
-//}
-
-/* 返回数据 */
-$result = json_encode(array(
- "state" => "SUCCESS",
- "list" => $list,
- "start" => $start,
- "total" => count($files)
-));
-
-return $result;
-
-
-/**
- * 遍历获取目录下的指定类型的文件
- * @param $path
- * @param array $files
- * @return array
- */
-function getfiles($path, $allowFiles, &$files = array())
-{
- if (!is_dir($path)) return null;
- if(substr($path, strlen($path) - 1) != '/') $path .= '/';
- $handle = opendir($path);
- while (false !== ($file = readdir($handle))) {
- if ($file != '.' && $file != '..') {
- $path2 = $path . $file;
- if (is_dir($path2)) {
- getfiles($path2, $allowFiles, $files);
- } else {
- if (preg_match("/\.(".$allowFiles.")$/i", $file)) {
- $files[] = array(
- 'url'=> substr($path2, strlen($_SERVER['DOCUMENT_ROOT'])),
- 'mtime'=> filemtime($path2)
- );
- }
- }
- }
- }
- return $files;
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_upload.php b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_upload.php
deleted file mode 100644
index d55b6591..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/action_upload.php
+++ /dev/null
@@ -1,66 +0,0 @@
- $CONFIG['imagePathFormat'],
- "maxSize" => $CONFIG['imageMaxSize'],
- "allowFiles" => $CONFIG['imageAllowFiles']
- );
- $fieldName = $CONFIG['imageFieldName'];
- break;
- case 'uploadscrawl':
- $config = array(
- "pathFormat" => $CONFIG['scrawlPathFormat'],
- "maxSize" => $CONFIG['scrawlMaxSize'],
- "allowFiles" => $CONFIG['scrawlAllowFiles'],
- "oriName" => "scrawl.png"
- );
- $fieldName = $CONFIG['scrawlFieldName'];
- $base64 = "base64";
- break;
- case 'uploadvideo':
- $config = array(
- "pathFormat" => $CONFIG['videoPathFormat'],
- "maxSize" => $CONFIG['videoMaxSize'],
- "allowFiles" => $CONFIG['videoAllowFiles']
- );
- $fieldName = $CONFIG['videoFieldName'];
- break;
- case 'uploadfile':
- default:
- $config = array(
- "pathFormat" => $CONFIG['filePathFormat'],
- "maxSize" => $CONFIG['fileMaxSize'],
- "allowFiles" => $CONFIG['fileAllowFiles']
- );
- $fieldName = $CONFIG['fileFieldName'];
- break;
-}
-
-/* 生成上传实例对象并完成上传 */
-$up = new Uploader($fieldName, $config, $base64);
-
-/**
- * 得到上传文件所对应的各个参数,数组结构
- * array(
- * "state" => "", //上传状态,上传成功时必须返回"SUCCESS"
- * "url" => "", //返回的地址
- * "title" => "", //新文件名
- * "original" => "", //原始文件名
- * "type" => "" //文件类型
- * "size" => "", //文件大小
- * )
- */
-
-/* 返回数据 */
-return json_encode($up->getFileInfo());
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/config.json b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/config.json
deleted file mode 100644
index dd5bc174..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/config.json
+++ /dev/null
@@ -1,94 +0,0 @@
-/* 前后端通信相关的配置,注释只允许使用多行方式 */
-{
- /* 上传图片配置项 */
- "imageActionName": "uploadimage", /* 执行上传图片的action名称 */
- "imageFieldName": "upfile", /* 提交的图片表单名称 */
- "imageMaxSize": 2048000, /* 上传大小限制,单位B */
- "imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 上传图片格式显示 */
- "imageCompressEnable": true, /* 是否压缩图片,默认是true */
- "imageCompressBorder": 1600, /* 图片压缩最长边限制 */
- "imageInsertAlign": "none", /* 插入的图片浮动方式 */
- "imageUrlPrefix": "", /* 图片访问路径前缀 */
- "imagePathFormat": "/ueditor/php/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- /* {filename} 会替换成原文件名,配置这项需要注意中文乱码问题 */
- /* {rand:6} 会替换成随机数,后面的数字是随机数的位数 */
- /* {time} 会替换成时间戳 */
- /* {yyyy} 会替换成四位年份 */
- /* {yy} 会替换成两位年份 */
- /* {mm} 会替换成两位月份 */
- /* {dd} 会替换成两位日期 */
- /* {hh} 会替换成两位小时 */
- /* {ii} 会替换成两位分钟 */
- /* {ss} 会替换成两位秒 */
- /* 非法字符 \ : * ? " < > | */
- /* 具请体看线上文档: fex.baidu.com/ueditor/#use-format_upload_filename */
-
- /* 涂鸦图片上传配置项 */
- "scrawlActionName": "uploadscrawl", /* 执行上传涂鸦的action名称 */
- "scrawlFieldName": "upfile", /* 提交的图片表单名称 */
- "scrawlPathFormat": "/ueditor/php/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "scrawlMaxSize": 2048000, /* 上传大小限制,单位B */
- "scrawlUrlPrefix": "", /* 图片访问路径前缀 */
- "scrawlInsertAlign": "none",
-
- /* 截图工具上传 */
- "snapscreenActionName": "uploadimage", /* 执行上传截图的action名称 */
- "snapscreenPathFormat": "/ueditor/php/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "snapscreenUrlPrefix": "", /* 图片访问路径前缀 */
- "snapscreenInsertAlign": "none", /* 插入的图片浮动方式 */
-
- /* 抓取远程图片配置 */
- "catcherLocalDomain": ["127.0.0.1", "localhost", "img.baidu.com"],
- "catcherActionName": "catchimage", /* 执行抓取远程图片的action名称 */
- "catcherFieldName": "source", /* 提交的图片列表表单名称 */
- "catcherPathFormat": "/ueditor/php/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "catcherUrlPrefix": "", /* 图片访问路径前缀 */
- "catcherMaxSize": 2048000, /* 上传大小限制,单位B */
- "catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 抓取图片格式显示 */
-
- /* 上传视频配置 */
- "videoActionName": "uploadvideo", /* 执行上传视频的action名称 */
- "videoFieldName": "upfile", /* 提交的视频表单名称 */
- "videoPathFormat": "/ueditor/php/upload/video/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "videoUrlPrefix": "", /* 视频访问路径前缀 */
- "videoMaxSize": 102400000, /* 上传大小限制,单位B,默认100MB */
- "videoAllowFiles": [
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid"], /* 上传视频格式显示 */
-
- /* 上传文件配置 */
- "fileActionName": "uploadfile", /* controller里,执行上传视频的action名称 */
- "fileFieldName": "upfile", /* 提交的文件表单名称 */
- "filePathFormat": "/ueditor/php/upload/file/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
- "fileUrlPrefix": "", /* 文件访问路径前缀 */
- "fileMaxSize": 51200000, /* 上传大小限制,单位B,默认50MB */
- "fileAllowFiles": [
- ".png", ".jpg", ".jpeg", ".gif", ".bmp",
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
- ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
- ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
- ], /* 上传文件格式显示 */
-
- /* 列出指定目录下的图片 */
- "imageManagerActionName": "listimage", /* 执行图片管理的action名称 */
- "imageManagerListPath": "/ueditor/php/upload/image/", /* 指定要列出图片的目录 */
- "imageManagerListSize": 20, /* 每次列出文件数量 */
- "imageManagerUrlPrefix": "", /* 图片访问路径前缀 */
- "imageManagerInsertAlign": "none", /* 插入的图片浮动方式 */
- "imageManagerAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 列出的文件类型 */
-
- /* 列出指定目录下的文件 */
- "fileManagerActionName": "listfile", /* 执行文件管理的action名称 */
- "fileManagerListPath": "/ueditor/php/upload/file/", /* 指定要列出文件的目录 */
- "fileManagerUrlPrefix": "", /* 文件访问路径前缀 */
- "fileManagerListSize": 20, /* 每次列出文件数量 */
- "fileManagerAllowFiles": [
- ".png", ".jpg", ".jpeg", ".gif", ".bmp",
- ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
- ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
- ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
- ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
- ] /* 列出的文件类型 */
-
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/controller.php b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/controller.php
deleted file mode 100644
index feac890c..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/php/controller.php
+++ /dev/null
@@ -1,59 +0,0 @@
- '请求地址出错'
- ));
- break;
-}
-
-/* 输出结果 */
-if (isset($_GET["callback"])) {
- if (preg_match("/^[\w_]+$/", $_GET["callback"])) {
- echo htmlspecialchars($_GET["callback"]) . '(' . $result . ')';
- } else {
- echo json_encode(array(
- 'state'=> 'callback参数不合法'
- ));
- }
-} else {
- echo $result;
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/css/ueditor.css b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/css/ueditor.css
deleted file mode 100644
index 44ae805a..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/css/ueditor.css
+++ /dev/null
@@ -1,1903 +0,0 @@
-/*基础UI构建
-*/
-/* common layer */
-.edui-default .edui-box {
- border: none;
- padding: 0;
- margin: 0;
- overflow: hidden;
-}
-
-.edui-default a.edui-box {
- display: block;
- text-decoration: none;
- color: black;
-}
-
-.edui-default a.edui-box:hover {
- text-decoration: none;
-}
-
-.edui-default a.edui-box:active {
- text-decoration: none;
-}
-
-.edui-default table.edui-box {
- border-collapse: collapse;
-}
-
-.edui-default ul.edui-box {
- list-style-type: none;
-}
-
-div.edui-box {
- position: relative;
- display: -moz-inline-box !important;
- display: inline-block !important;
- vertical-align: top;
-}
-
-.edui-default .edui-clearfix {
- zoom: 1
-}
-
-.edui-default .edui-clearfix:after {
- content: '\20';
- display: block;
- clear: both;
-}
-
- * html div.edui-box {
- display: inline !important;
-}
-
-*:first-child+html div.edui-box {
- display: inline !important;
-}
-
-/* control layout */
-.edui-default .edui-button-body, .edui-splitbutton-body, .edui-menubutton-body, .edui-combox-body {
- position: relative;
-}
-
-.edui-default .edui-popup {
- position: absolute;
- -webkit-user-select: none;
- -moz-user-select: none;
-}
-
-.edui-default .edui-popup .edui-shadow {
- position: absolute;
- z-index: -1;
-}
-
-.edui-default .edui-popup .edui-bordereraser {
- position: absolute;
- overflow: hidden;
-}
-
-.edui-default .edui-tablepicker .edui-canvas {
- position: relative;
-}
-
-.edui-default .edui-tablepicker .edui-canvas .edui-overlay {
- position: absolute;
-}
-
-.edui-default .edui-dialog-modalmask, .edui-dialog-dragmask {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
-}
-
-.edui-default .edui-toolbar {
- position: relative;
-}
-
-/*
- * default theme
- */
-.edui-default .edui-label {
- cursor: default;
-}
-
-.edui-default span.edui-clickable {
- color: blue;
- cursor: pointer;
- text-decoration: underline;
-}
-
-.edui-default span.edui-unclickable {
- color: gray;
- cursor: default;
-}
-/* 工具栏 */
-.edui-default .edui-toolbar {
- cursor: default;
- -webkit-user-select: none;
- -moz-user-select: none;
- padding: 1px;
- overflow: hidden; /*全屏下单独一行不占位*/
- zoom: 1;
- width:auto;
- height:auto;
-}
-
-.edui-default .edui-toolbar .edui-button,
-.edui-default .edui-toolbar .edui-splitbutton,
-.edui-default .edui-toolbar .edui-menubutton,
-.edui-default .edui-toolbar .edui-combox {
- margin: 1px;
-}
-/*UI工具栏、编辑区域、底部*/
-.edui-default .edui-editor {
- border: 1px solid #d4d4d4;
- background-color: white;
- position: relative;
- overflow: visible;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
-}
-.edui-editor div{
- width:auto;
- height:auto;
-}
-.edui-default .edui-editor-toolbarbox {
- position: relative;
- zoom: 1;
- -webkit-box-shadow:0 1px 4px rgba(204, 204, 204, 0.6);
- -moz-box-shadow:0 1px 4px rgba(204, 204, 204, 0.6);
- box-shadow:0 1px 4px rgba(204, 204, 204, 0.6);
- border-top-left-radius:2px;
- border-top-right-radius:2px;
-}
-
-.edui-default .edui-editor-toolbarboxouter {
- border-bottom: 1px solid #d4d4d4;
- background-color: #fafafa;
- background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
- background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
- background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
- background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
- background-repeat: repeat-x;
- /*border: 1px solid #d4d4d4;*/
- -webkit-border-radius: 4px 4px 0 0;
- -moz-border-radius: 4px 4px 0 0;
- border-radius: 4px 4px 0 0;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
- *zoom: 1;
- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
- -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
-}
-
-.edui-default .edui-editor-toolbarboxinner {
- padding: 2px;
-}
-
-.edui-default .edui-editor-iframeholder {
- position: relative;
- /*for fix ie6 toolbarmsg under iframe bug. relative -> static */
- /*_position: static !important;*
-}
-
-.edui-default .edui-editor-iframeholder textarea {
- font-family: consolas, "Courier New", "lucida console", monospace;
- font-size: 12px;
- line-height: 18px;
-}
-
-.edui-default .edui-editor-bottombar {
- /*border-top: 1px solid #ccc;*/
- /*height: 20px;*/
- /*width: 40%;*/
- /*float: left;*/
- /*overflow: hidden;*/
-}
-
-.edui-default .edui-editor-bottomContainer {
- overflow: hidden;
-}
-
-.edui-default .edui-editor-bottomContainer table {
- width: 100%;
- height: 0;
- overflow: hidden;
- border-spacing: 0;
-}
-
-.edui-default .edui-editor-bottomContainer td {
- white-space: nowrap;
- border-top: 1px solid #ccc;
- line-height: 20px;
- font-size: 12px;
- font-family: Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
-}
-
-.edui-default .edui-editor-wordcount {
- text-align: right;
- margin-right: 5px;
- color: #aaa;
-}
-.edui-default .edui-editor-scale {
- width: 12px;
-}
-.edui-default .edui-editor-scale .edui-editor-icon {
- float: right;
- width: 100%;
- height: 12px;
- margin-top: 10px;
- background: url(../images/scale.png) no-repeat;
- cursor: se-resize;
-}
-.edui-default .edui-editor-breadcrumb {
- margin: 2px 0 0 3px;
-}
-
-.edui-default .edui-editor-breadcrumb span {
- cursor: pointer;
- text-decoration: underline;
- color: blue;
-}
-
-.edui-default .edui-toolbar .edui-for-fullscreen {
- float: right;
-}
-
-.edui-default .edui-bubble .edui-popup-content {
- border: 1px solid #DCAC6C;
- background-color: #fff6d9;
- padding: 5px;
- font-size: 10pt;
- font-family: "宋体";
-}
-
-.edui-default .edui-bubble .edui-shadow {
- /*box-shadow: 1px 1px 3px #818181;*/
- /*-webkit-box-shadow: 2px 2px 3px #818181;*/
- /*-moz-box-shadow: 2px 2px 3px #818181;*/
- /*filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius = '2', MakeShadow = 'true', ShadowOpacity = '0.5');*/
-}
-
-.edui-default .edui-editor-toolbarmsg {
- background-color: #FFF6D9;
- border-bottom: 1px solid #ccc;
- position: absolute;
- bottom: -25px;
- left: 0;
- z-index: 1009;
- width: 99.9%;
-}
-
-.edui-default .edui-editor-toolbarmsg-upload {
- font-size: 14px;
- color: blue;
- width: 100px;
- height: 16px;
- line-height: 16px;
- cursor: pointer;
- position: absolute;
- top: 5px;
- left: 350px;
-}
-
-.edui-default .edui-editor-toolbarmsg-label {
- font-size: 12px;
- line-height: 16px;
- padding: 4px;
-}
-
-.edui-default .edui-editor-toolbarmsg-close {
- float: right;
- width: 20px;
- height: 16px;
- line-height: 16px;
- cursor: pointer;
- color: red;
-}
-/*可选中菜单按钮*/
-.edui-default .edui-list .edui-bordereraser {
- display: none;
-}
-
-.edui-default .edui-listitem {
- padding: 1px;
- white-space: nowrap;
-}
-
-.edui-default .edui-list .edui-state-hover {
- position: relative;
- background-color: #fff5d4;
- border: 1px solid #dcac6c;
- padding: 0;
-}
-
-.edui-default .edui-for-fontfamily .edui-listitem-label {
- min-width: 130px;
- _width: 120px;
- font-size: 12px;
- height: 22px;
- line-height: 22px;
- padding-left: 5px;
-}
-.edui-default .edui-for-insertcode .edui-listitem-label {
- min-width: 120px;
- _width: 120px;
- font-size: 12px;
- height: 22px;
- line-height: 22px;
- padding-left: 5px;
-}
-.edui-default .edui-for-underline .edui-listitem-label {
- min-width: 120px;
- _width: 120px;
- padding: 3px 5px;
- font-size: 12px;
-}
-
-.edui-default .edui-for-fontsize .edui-listitem-label {
- min-width: 120px;
- _width: 120px;
- padding: 3px 5px;
-
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label {
- min-width: 200px;
- _width: 200px;
- padding: 2px 5px;
-}
-
-.edui-default .edui-for-rowspacingtop .edui-listitem-label,
-.edui-default .edui-for-rowspacingbottom .edui-listitem-label {
- min-width: 53px;
- _width: 53px;
- padding: 2px 5px;
-}
-
-.edui-default .edui-for-lineheight .edui-listitem-label {
- min-width: 53px;
- _width: 53px;
- padding: 2px 5px;
-}
-
-.edui-default .edui-for-customstyle .edui-listitem-label {
- min-width: 200px;
- _width: 200px;
- width: 200px !important;
- padding: 2px 5px;
-}
-/* 可选中按钮弹出菜单*/
-.edui-default .edui-menu {
- z-index: 3000;
-}
-
-.edui-default .edui-menu .edui-popup-content {
- padding: 3px;
-}
-
-.edui-default .edui-menu-body {
- _width: 150px;
- min-width: 170px;
- background: url("../images/sparator_v.png") repeat-y 25px;
-}
-
-.edui-default .edui-menuitem-body {
-}
-
-.edui-default .edui-menuitem {
- height: 20px;
- cursor: default;
- vertical-align: top;
-}
-
-.edui-default .edui-menuitem .edui-icon {
- width: 20px !important;
- height: 20px !important;
- background: url(../images/icons.png) 0 -4000px;
- background: url(../images/icons.gif) 0 -4000px\9;
-}
-
-.edui-default .edui-menuitem .edui-label {
- font-size: 12px;
- line-height: 20px;
- height: 20px;
- padding-left: 10px;
-}
-
-.edui-default .edui-state-checked .edui-menuitem-body {
- background: url("../images/icons-all.gif") no-repeat 6px -205px;
-}
-
-.edui-default .edui-state-disabled .edui-menuitem-label {
- color: gray;
-}
-
-
-/*不可选中菜单按钮 */
-.edui-default .edui-toolbar .edui-combox-body .edui-button-body {
- width: 60px;
- font-size: 12px;
- height: 20px;
- line-height: 20px;
- padding-left: 5px;
- white-space: nowrap;
- margin: 0 3px 0 0;
-}
-
-.edui-default .edui-toolbar .edui-combox-body .edui-arrow {
- background: url(../images/icons.png) -741px 0;
- _background: url(../images/icons.gif) -741px 0;
- height: 20px;
- width: 9px;
-}
-
-.edui-default .edui-toolbar .edui-combox .edui-combox-body {
- border: 1px solid #CCC;
- background-color: white;
- border-radius: 2px;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
-}
-
-.edui-default .edui-toolbar .edui-combox-body .edui-splitborder {
- display: none;
-}
-
-.edui-default .edui-toolbar .edui-combox-body .edui-arrow {
- border-left: 1px solid #CCC;
-}
-
-.edui-default .edui-toolbar .edui-state-hover .edui-combox-body {
- background-color: #fff5d4;
- border: 1px solid #dcac6c;
-}
-
-.edui-default .edui-toolbar .edui-state-hover .edui-combox-body .edui-arrow {
- border-left: 1px solid #dcac6c;
-}
-
-.edui-default .edui-toolbar .edui-state-checked .edui-combox-body {
- background-color: #FFE69F;
- border: 1px solid #DCAC6C;
-}
-
-.edui-toolbar .edui-state-checked .edui-combox-body .edui-arrow {
- border-left: 1px solid #DCAC6C;
-}
-
-.edui-toolbar .edui-state-disabled .edui-combox-body {
- background-color: #F0F0EE;
- opacity: 0.3;
- filter: alpha(opacity = 30);
-}
-
-.edui-toolbar .edui-state-opened .edui-combox-body {
- background-color: white;
- border: 1px solid gray;
-}
-/*普通按钮样式及状态*/
-.edui-default .edui-toolbar .edui-button .edui-icon,
-.edui-default .edui-toolbar .edui-menubutton .edui-icon,
-.edui-default .edui-toolbar .edui-splitbutton .edui-icon {
- height: 20px !important;
- width: 20px !important;
- background-image: url(../images/icons.png);
- background-image: url(../images/icons.gif) \9;
-}
-
-.edui-default .edui-toolbar .edui-button .edui-button-wrap {
- padding: 1px;
- position: relative;
-}
-
-.edui-default .edui-toolbar .edui-button .edui-state-hover .edui-button-wrap {
- background-color: #fff5d4;
- padding: 0;
- border: 1px solid #dcac6c;
-}
-
-.edui-default .edui-toolbar .edui-button .edui-state-checked .edui-button-wrap {
- background-color: #ffe69f;
- padding: 0;
- border: 1px solid #dcac6c;
- border-radius: 2px;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
-}
-
-.edui-default .edui-toolbar .edui-button .edui-state-active .edui-button-wrap {
- background-color: #ffffff;
- padding: 0;
- border: 1px solid gray;
-}
-.edui-default .edui-toolbar .edui-state-disabled .edui-label {
- color: #ccc;
-}
-.edui-default .edui-toolbar .edui-state-disabled .edui-icon {
- opacity: 0.3;
- filter: alpha(opacity = 30);
-}
-
-/* toolbar icons */
-.edui-default .edui-for-undo .edui-icon {
- background-position: -160px 0;
-}
-
-.edui-default .edui-for-redo .edui-icon {
- background-position: -100px 0;
-}
-
-.edui-default .edui-for-bold .edui-icon {
- background-position: 0 0;
-}
-
-.edui-default .edui-for-italic .edui-icon {
- background-position: -60px 0;
-}
-
-.edui-default .edui-for-fontborder .edui-icon {
- background-position:-160px -40px;
-}
-.edui-default .edui-for-underline .edui-icon {
- background-position: -140px 0;
-}
-
-.edui-default .edui-for-strikethrough .edui-icon {
- background-position: -120px 0;
-}
-
-.edui-default .edui-for-subscript .edui-icon {
- background-position: -600px 0;
-}
-
-.edui-default .edui-for-superscript .edui-icon {
- background-position: -620px 0;
-}
-
-.edui-default .edui-for-blockquote .edui-icon {
- background-position: -220px 0;
-}
-
-.edui-default .edui-for-forecolor .edui-icon {
- background-position: -720px 0;
-}
-
-.edui-default .edui-for-backcolor .edui-icon {
- background-position: -760px 0;
-}
-
-.edui-default .edui-for-inserttable .edui-icon {
- background-position: -580px -20px;
-}
-
-.edui-default .edui-for-autotypeset .edui-icon {
- background-position: -640px -40px;
-}
-
-.edui-default .edui-for-justifyleft .edui-icon {
- background-position: -460px 0;
-}
-
-.edui-default .edui-for-justifycenter .edui-icon {
- background-position: -420px 0;
-}
-
-.edui-default .edui-for-justifyright .edui-icon {
- background-position: -480px 0;
-}
-
-.edui-default .edui-for-justifyjustify .edui-icon {
- background-position: -440px 0;
-}
-
-.edui-default .edui-for-insertorderedlist .edui-icon {
- background-position: -80px 0;
-}
-
-.edui-default .edui-for-insertunorderedlist .edui-icon {
- background-position: -20px 0;
-}
-
-.edui-default .edui-for-lineheight .edui-icon {
- background-position: -725px -40px;
-}
-
-.edui-default .edui-for-rowspacingbottom .edui-icon {
- background-position: -745px -40px;
-}
-
-.edui-default .edui-for-rowspacingtop .edui-icon {
- background-position: -765px -40px;
-}
-
-.edui-default .edui-for-horizontal .edui-icon {
- background-position: -360px 0;
-}
-
-.edui-default .edui-for-link .edui-icon {
- background-position: -500px 0;
-}
-
-.edui-default .edui-for-code .edui-icon {
- background-position: -440px -40px;
-}
-
-.edui-default .edui-for-insertimage .edui-icon {
- background-position: -726px -77px;
-}
-
-.edui-default .edui-for-insertframe .edui-icon {
- background-position: -240px -40px;
-}
-
-.edui-default .edui-for-emoticon .edui-icon {
- background-position: -60px -20px;
-}
-
-.edui-default .edui-for-spechars .edui-icon {
- background-position: -240px 0;
-}
-
-.edui-default .edui-for-help .edui-icon {
- background-position: -340px 0;
-}
-
-.edui-default .edui-for-print .edui-icon {
- background-position: -440px -20px;
-}
-
-.edui-default .edui-for-preview .edui-icon {
- background-position: -420px -20px;
-}
-
-.edui-default .edui-for-selectall .edui-icon {
- background-position: -400px -20px;
-}
-
-.edui-default .edui-for-searchreplace .edui-icon {
- background-position: -520px -20px;
-}
-
-.edui-default .edui-for-map .edui-icon {
- background-position: -40px -40px;
-}
-
-.edui-default .edui-for-gmap .edui-icon {
- background-position: -260px -40px;
-}
-
-.edui-default .edui-for-insertvideo .edui-icon {
- background-position: -320px -20px;
-}
-
-.edui-default .edui-for-time .edui-icon {
- background-position: -160px -20px;
-}
-
-.edui-default .edui-for-date .edui-icon {
- background-position: -140px -20px;
-}
-
-.edui-default .edui-for-cut .edui-icon {
- background-position: -680px 0;
-}
-
-.edui-default .edui-for-copy .edui-icon {
- background-position: -700px 0;
-}
-
-.edui-default .edui-for-paste .edui-icon {
- background-position: -560px 0;
-}
-
-.edui-default .edui-for-formatmatch .edui-icon {
- background-position: -40px 0;
-}
-
-.edui-default .edui-for-pasteplain .edui-icon {
- background-position: -360px -20px;
-}
-
-.edui-default .edui-for-directionalityltr .edui-icon {
- background-position: -20px -20px;
-}
-
-.edui-default .edui-for-directionalityrtl .edui-icon {
- background-position: -40px -20px;
-}
-
-.edui-default .edui-for-source .edui-icon {
- background-position: -261px -0px;
-}
-
-.edui-default .edui-for-removeformat .edui-icon {
- background-position: -580px 0;
-}
-
-.edui-default .edui-for-unlink .edui-icon {
- background-position: -640px 0;
-}
-
-.edui-default .edui-for-touppercase .edui-icon {
- background-position: -786px 0;
-}
-
-.edui-default .edui-for-tolowercase .edui-icon {
- background-position: -806px 0;
-}
-
-.edui-default .edui-for-insertrow .edui-icon {
- background-position: -478px -76px;
-}
-
-.edui-default .edui-for-insertrownext .edui-icon {
- background-position: -498px -76px;
-}
-
-.edui-default .edui-for-insertcol .edui-icon {
- background-position: -455px -76px;
-}
-
-.edui-default .edui-for-insertcolnext .edui-icon {
- background-position: -429px -76px;
-}
-
-.edui-default .edui-for-mergeright .edui-icon {
- background-position: -60px -40px;
-}
-
-.edui-default .edui-for-mergedown .edui-icon {
- background-position: -80px -40px;
-}
-
-.edui-default .edui-for-splittorows .edui-icon {
- background-position: -100px -40px;
-}
-
-.edui-default .edui-for-splittocols .edui-icon {
- background-position: -120px -40px;
-}
-
-.edui-default .edui-for-insertparagraphbeforetable .edui-icon {
- background-position: -140px -40px;
-}
-
-.edui-default .edui-for-deleterow .edui-icon {
- background-position: -660px -20px;
-}
-
-.edui-default .edui-for-deletecol .edui-icon {
- background-position: -640px -20px;
-}
-
-.edui-default .edui-for-splittocells .edui-icon {
- background-position: -800px -20px;
-}
-
-.edui-default .edui-for-mergecells .edui-icon {
- background-position: -760px -20px;
-}
-
-.edui-default .edui-for-deletetable .edui-icon {
- background-position: -620px -20px;
-}
-
-.edui-default .edui-for-cleardoc .edui-icon {
- background-position: -520px 0;
-}
-
-.edui-default .edui-for-fullscreen .edui-icon {
- background-position: -100px -20px;
-}
-
-.edui-default .edui-for-anchor .edui-icon {
- background-position: -200px 0;
-}
-
-.edui-default .edui-for-pagebreak .edui-icon {
- background-position: -460px -40px;
-}
-
-.edui-default .edui-for-imagenone .edui-icon {
- background-position: -480px -40px;
-}
-
-.edui-default .edui-for-imageleft .edui-icon {
- background-position: -500px -40px;
-}
-
-.edui-default .edui-for-wordimage .edui-icon {
- background-position: -660px -40px;
-}
-
-.edui-default .edui-for-imageright .edui-icon {
- background-position: -520px -40px;
-}
-
-.edui-default .edui-for-imagecenter .edui-icon {
- background-position: -540px -40px;
-}
-
-.edui-default .edui-for-indent .edui-icon {
- background-position: -400px 0;
-}
-
-.edui-default .edui-for-outdent .edui-icon {
- background-position: -540px 0;
-}
-
-.edui-default .edui-for-webapp .edui-icon {
- background-position: -601px -40px
-}
-
-.edui-default .edui-for-table .edui-icon {
- background-position: -580px -20px;
-}
-
-.edui-default .edui-for-edittable .edui-icon {
- background-position: -420px -40px;
-}
-
-.edui-default .edui-for-template .edui-icon {
- background-position: -339px -40px;
-}
-
-.edui-default .edui-for-delete .edui-icon {
- background-position: -360px -40px;
-}
-
-.edui-default .edui-for-attachment .edui-icon {
- background-position: -620px -40px;
-}
-
-.edui-default .edui-for-edittd .edui-icon {
- background-position: -700px -40px;
-}
-
-.edui-default .edui-for-snapscreen .edui-icon {
- background-position: -581px -40px
-}
-
-.edui-default .edui-for-scrawl .edui-icon {
- background-position: -801px -41px
-}
-
-.edui-default .edui-for-background .edui-icon {
- background-position: -680px -40px;
-}
-
-.edui-default .edui-for-music .edui-icon {
- background-position: -18px -40px
-}
-
-.edui-default .edui-for-formula .edui-icon {
- background-position: -200px -40px
-}
-
-.edui-default .edui-for-aligntd .edui-icon {
- background-position: -236px -76px;
-}
-
-.edui-default .edui-for-insertparagraphtrue .edui-icon {
- background-position: -625px -76px;
-}
-
-.edui-default .edui-for-insertparagraph .edui-icon {
- background-position: -602px -76px;
-}
-
-.edui-default .edui-for-insertcaption .edui-icon {
- background-position: -336px -76px;
-}
-
-.edui-default .edui-for-deletecaption .edui-icon {
- background-position: -362px -76px;
-}
-
-.edui-default .edui-for-inserttitle .edui-icon {
- background-position: -286px -76px;
-}
-
-.edui-default .edui-for-deletetitle .edui-icon {
- background-position: -311px -76px;
-}
-
-.edui-default .edui-for-aligntable .edui-icon {
- background-position: -440px 0;
-}
-
-.edui-default .edui-for-tablealignment-left .edui-icon {
- background-position: -460px 0;
-}
-
-.edui-default .edui-for-tablealignment-center .edui-icon {
- background-position: -420px 0;
-}
-
-.edui-default .edui-for-tablealignment-right .edui-icon {
- background-position: -480px 0;
-}
-
-.edui-default .edui-for-drafts .edui-icon {
- background-position: -560px 0;
-}
-
-.edui-default .edui-for-charts .edui-icon {
- background: url( ../images/charts.png ) no-repeat 2px 3px!important;
-}
-
-.edui-default .edui-for-inserttitlecol .edui-icon {
- background-position: -673px -76px;
-}
-
-.edui-default .edui-for-deletetitlecol .edui-icon {
- background-position: -698px -76px;
-}
-
-.edui-default .edui-for-simpleupload .edui-icon {
- background-position: -380px 0px;
-}
-/*splitbutton*/
-.edui-default .edui-toolbar .edui-splitbutton-body .edui-arrow,
-.edui-default .edui-toolbar .edui-menubutton-body .edui-arrow {
- background: url(../images/icons.png) -741px 0;
- _background: url(../images/icons.gif) -741px 0;
- height: 20px;
- width: 9px;
-}
-
-.edui-default .edui-toolbar .edui-splitbutton .edui-splitbutton-body,
-.edui-default .edui-toolbar .edui-menubutton .edui-menubutton-body {
- padding: 1px;
-}
-
-.edui-default .edui-toolbar .edui-splitborder {
- width: 1px;
- height: 20px;
-}
-
-.edui-default .edui-toolbar .edui-state-hover .edui-splitborder {
- width: 1px;
- border-left: 0px solid #dcac6c;
-}
-
-.edui-default .edui-toolbar .edui-state-active .edui-splitborder {
- width: 0;
- border-left: 1px solid gray;
-}
-
-.edui-default .edui-toolbar .edui-state-opened .edui-splitborder {
- width: 1px;
- border: 0;
-}
-
-.edui-default .edui-toolbar .edui-splitbutton .edui-state-hover .edui-splitbutton-body,
-.edui-default .edui-toolbar .edui-menubutton .edui-state-hover .edui-menubutton-body {
- background-color: #fff5d4;
- border: 1px solid #dcac6c;
- padding: 0;
-}
-
-.edui-default .edui-toolbar .edui-splitbutton .edui-state-checked .edui-splitbutton-body,
-.edui-default .edui-toolbar .edui-menubutton .edui-state-checked .edui-menubutton-body {
- background-color: #FFE69F;
- border: 1px solid #DCAC6C;
- padding: 0;
-}
-
-.edui-default .edui-toolbar .edui-splitbutton .edui-state-active .edui-splitbutton-body,
-.edui-default .edui-toolbar .edui-menubutton .edui-state-active .edui-menubutton-body {
- background-color: #ffffff;
- border: 1px solid gray;
- padding: 0;
-}
-
-.edui-default .edui-state-disabled .edui-arrow {
- opacity: 0.3;
- _filter: alpha(opacity = 30);
-}
-
-.edui-default .edui-toolbar .edui-splitbutton .edui-state-opened .edui-splitbutton-body,
-.edui-default .edui-toolbar .edui-menubutton .edui-state-opened .edui-menubutton-body {
- background-color: white;
- border: 1px solid gray;
- padding: 0;
-}
-
-.edui-default .edui-for-insertorderedlist .edui-bordereraser,
-.edui-default .edui-for-lineheight .edui-bordereraser,
-.edui-default .edui-for-rowspacingtop .edui-bordereraser,
-.edui-default .edui-for-rowspacingbottom .edui-bordereraser,
-.edui-default .edui-for-insertunorderedlist .edui-bordereraser {
- background-color: white;
-}
-
-/* 解决嵌套导致的图标问题 */
-.edui-default .edui-for-insertorderedlist .edui-popup-body .edui-icon,
-.edui-default .edui-for-lineheight .edui-popup-body .edui-icon,
-.edui-default .edui-for-rowspacingtop .edui-popup-body .edui-icon,
-.edui-default .edui-for-rowspacingbottom .edui-popup-body .edui-icon,
-.edui-default .edui-for-insertunorderedlist .edui-popup-body .edui-icon {
- /*background-position: 0 -40px;*/
- background-image: none ;
-}
-
-/* 弹出菜单 */
-.edui-default .edui-popup {
- z-index: 3000;
- background-color: #ffffff;
- width:auto;
- height:auto;
-
-}
-
-.edui-default .edui-popup .edui-shadow {
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
-}
-
-.edui-default .edui-popup-content {
- border:1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- *border-right-width: 2px;
- *border-bottom-width: 2px;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
- -webkit-box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
- -moz-box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
- box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
- -webkit-background-clip: padding-box;
- -moz-background-clip: padding;
- background-clip: padding-box;
- padding: 5px;
- background:#ffffff;
-}
-
-.edui-default .edui-popup .edui-bordereraser {
- background-color: white;
- height: 3px;
-}
-
-.edui-default .edui-menu .edui-bordereraser {
- height: 3px;
-}
-
-.edui-default .edui-anchor-topleft .edui-bordereraser {
- left: 1px;
- top: -2px;
-}
-
-.edui-default .edui-anchor-topright .edui-bordereraser {
- right: 1px;
- top: -2px;
-}
-
-.edui-default .edui-anchor-bottomleft .edui-bordereraser {
- left: 0;
- bottom: -6px;
- height: 7px;
- border-left: 1px solid gray;
- border-right: 1px solid gray;
-}
-
-.edui-default .edui-anchor-bottomright .edui-bordereraser {
- right: 0;
- bottom: -6px;
- height: 7px;
- border-left: 1px solid gray;
- border-right: 1px solid gray;
-}
-
-.edui-popup div{
- width:auto;
- height:auto;
-}
-.edui-default .edui-editor-messageholder {
- display: block;
- width: 150px;
- height: auto;
- border: 0;
- margin: 0;
- padding: 0;
- position: absolute;
- top: 28px;
- right: 3px;
-}
-
-.edui-default .edui-message{
- min-height: 10px;
- text-shadow: 0 1px 0 rgba(255,255,255,0.5);
- padding: 0;
- margin-bottom: 3px;
- position: relative;
-}
-.edui-default .edui-message-body{
- border-radius: 3px;
- padding: 8px 15px 8px 8px;
- color: #c09853;
- background-color: #fcf8e3;
- border: 1px solid #fbeed5;
-}
-.edui-default .edui-message-type-info{
- color: #3a87ad;
- background-color: #d9edf7;
- border-color: #bce8f1
-}
-.edui-default .edui-message-type-success{
- color: #468847;
- background-color: #dff0d8;
- border-color: #d6e9c6
-}
-.edui-default .edui-message-type-danger,
-.edui-default .edui-message-type-error{
- color: #b94a48;
- background-color: #f2dede;
- border-color: #eed3d7
-}
-.edui-default .edui-message .edui-message-closer {
- display: block;
- width: 16px;
- height: 16px;
- line-height: 16px;
- position: absolute;
- top: 0;
- right: 0;
- padding: 0;
- cursor: pointer;
- background: transparent;
- border: 0;
- float: right;
- font-size: 20px;
- font-weight: bold;
- color: #999;
- text-shadow: 0 1px 0 #fff;
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
-}
-.edui-default .edui-message .edui-message-content {
- font-size: 10pt;
- word-wrap: break-word;
- word-break: normal;
-}
-/* 弹出对话框按钮和对话框大小 */
-.edui-default .edui-dialog {
- z-index: 2000;
- position: absolute;
-
-}
-
-.edui-dialog div{
- width:auto;
-}
-
-.edui-default .edui-dialog-wrap {
- margin-right: 6px;
- margin-bottom: 6px;
-}
-
-.edui-default .edui-dialog-fullscreen-flag {
- margin-right: 0;
- margin-bottom: 0;
-}
-
-.edui-default .edui-dialog-body {
- position: relative;
- padding:2px 0 0 2px;
- _zoom: 1;
-}
-
-.edui-default .edui-dialog-fullscreen-flag .edui-dialog-body {
- padding: 0;
-}
-
-.edui-default .edui-dialog-shadow {
- position: absolute;
- z-index: -1;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: #ffffff;
- border: 1px solid #ccc;
- border: 1px solid rgba(0, 0, 0, 0.2);
- *border-right-width: 2px;
- *border-bottom-width: 2px;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- -webkit-background-clip: padding-box;
- -moz-background-clip: padding;
- background-clip: padding-box;
-}
-
-.edui-default .edui-dialog-foot {
- background-color: white;
-}
-
-.edui-default .edui-dialog-titlebar {
- height: 26px;
- border-bottom: 1px solid #c6c6c6;
- background: url(../images/dialog-title-bg.png) repeat-x bottom;
- position: relative;
- cursor: move;
-}
-.edui-default .edui-dialog-caption {
- font-weight: bold;
- font-size: 12px;
- line-height: 26px;
- padding-left: 5px;
-}
-
-.edui-default .edui-dialog-draghandle {
- height: 26px;
-}
-
-.edui-default .edui-dialog-closebutton {
- position: absolute !important;
- right: 5px;
- top: 3px;
-}
-
-.edui-default .edui-dialog-closebutton .edui-button-body {
- height: 20px;
- width: 20px;
- cursor: pointer;
- background: url("../images/icons-all.gif") no-repeat 0 -59px;
-}
-
-.edui-default .edui-dialog-closebutton .edui-state-hover .edui-button-body {
- background: url("../images/icons-all.gif") no-repeat 0 -89px;
-}
-
-.edui-default .edui-dialog-foot {
- height: 40px;
-}
-
-.edui-default .edui-dialog-buttons {
- position: absolute;
- right: 0;
-}
-
-.edui-default .edui-dialog-buttons .edui-button {
- margin-right: 10px;
-}
-
-.edui-default .edui-dialog-buttons .edui-button .edui-button-body {
- background: url("../images/icons-all.gif") no-repeat;
- height: 24px;
- width: 96px;
- font-size: 12px;
- line-height: 24px;
- text-align: center;
- cursor: default;
-}
-
-.edui-default .edui-dialog-buttons .edui-button .edui-state-hover .edui-button-body {
- background: url("../images/icons-all.gif") no-repeat 0 -30px;
-}
-
-.edui-default .edui-dialog iframe {
- border: 0;
- padding: 0;
- margin: 0;
- vertical-align: top;
-}
-
-.edui-default .edui-dialog-modalmask {
- opacity: 0.3;
- filter: alpha(opacity = 30);
- background-color: #ccc;
- position: absolute;
- /*z-index: 1999;*/
-}
-
-.edui-default .edui-dialog-dragmask {
- position: absolute;
- /*z-index: 2001;*/
- background-color: transparent;
- cursor: move;
-}
-
-.edui-default .edui-dialog-content {
- position: relative;
-}
-
-.edui-default .dialogcontmask {
- cursor: move;
- visibility: hidden;
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- opacity: 0;
- filter: alpha(opacity = 0);
-}
-
-/*link-dialog*/
-.edui-default .edui-for-link .edui-dialog-content {
- width: 420px;
- height: 200px;
- overflow: hidden;
-}
-/*background-dialog*/
-.edui-default .edui-for-background .edui-dialog-content {
- width: 440px;
- height: 280px;
- overflow: hidden;
-}
-
-/*template-dialog*/
-.edui-default .edui-for-template .edui-dialog-content {
- width: 630px;
- height: 390px;
- overflow: hidden;
-}
-
-/*scrawl-dialog*/
-.edui-default .edui-for-scrawl .edui-dialog-content {
- width: 515px;
- *width: 506px;
- height: 360px;
-}
-
-/*spechars-dialog*/
-.edui-default .edui-for-spechars .edui-dialog-content {
- width: 620px;
- height: 500px;
- *width: 630px;
- *height: 570px;
-}
-
-/*image-dialog*/
-.edui-default .edui-for-insertimage .edui-dialog-content {
- width: 650px;
- height: 400px;
- overflow: hidden;
-}
-/*webapp-dialog*/
-.edui-default .edui-for-webapp .edui-dialog-content {
- width: 560px;
- _width: 565px;
- height: 450px;
- overflow: hidden;
-}
-
-/*image-insertframe*/
-.edui-default .edui-for-insertframe .edui-dialog-content {
- width: 350px;
- height: 200px;
- overflow: hidden;
-}
-
-/*wordImage-dialog*/
-.edui-default .edui-for-wordimage .edui-dialog-content {
- width: 620px;
- height: 380px;
- overflow: hidden;
-}
-
-/*attachment-dialog*/
-.edui-default .edui-for-attachment .edui-dialog-content {
- width: 650px;
- height: 400px;
- overflow: hidden;
-}
-
-
-/*map-dialog*/
-.edui-default .edui-for-map .edui-dialog-content {
- width: 550px;
- height: 400px;
-}
-
-/*gmap-dialog*/
-.edui-default .edui-for-gmap .edui-dialog-content {
- width: 550px;
- height: 400px;
-}
-
-/*video-dialog*/
-.edui-default .edui-for-insertvideo .edui-dialog-content {
- width: 590px;
- height: 390px;
-}
-
-/*anchor-dialog*/
-.edui-default .edui-for-anchor .edui-dialog-content {
- width: 320px;
- height: 60px;
- overflow: hidden;
-}
-
-/*searchreplace-dialog*/
-.edui-default .edui-for-searchreplace .edui-dialog-content {
- width: 400px;
- height: 220px;
-}
-
-/*help-dialog*/
-.edui-default .edui-for-help .edui-dialog-content {
- width: 400px;
- height: 420px;
-}
-
-/*edittable-dialog*/
-.edui-default .edui-for-edittable .edui-dialog-content {
- width: 540px;
- _width:590px;
- height: 335px;
-}
-
-/*edittip-dialog*/
-.edui-default .edui-for-edittip .edui-dialog-content {
- width: 225px;
- height: 60px;
-}
-
-/*edittd-dialog*/
-.edui-default .edui-for-edittd .edui-dialog-content {
- width: 240px;
- height: 50px;
-}
-/*snapscreen-dialog*/
-.edui-default .edui-for-snapscreen .edui-dialog-content {
- width: 400px;
- height: 220px;
-}
-
-/*music-dialog*/
-.edui-default .edui-for-music .edui-dialog-content {
- width: 515px;
- height: 360px;
-}
-
-/*段落弹出菜单*/
-.edui-default .edui-for-paragraph .edui-listitem-label {
- font-family: Tahoma, Verdana, Arial, Helvetica;
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-p {
- font-size: 22px;
- line-height: 27px;
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h1 {
- font-weight: bolder;
- font-size: 32px;
- line-height: 36px;
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h2 {
- font-weight: bolder;
- font-size: 27px;
- line-height: 29px;
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h3 {
- font-weight: bolder;
- font-size: 19px;
- line-height: 23px;
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h4 {
- font-weight: bolder;
- font-size: 16px;
- line-height: 19px
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h5 {
- font-weight: bolder;
- font-size: 13px;
- line-height: 16px;
-}
-
-.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h6 {
- font-weight: bolder;
- font-size: 12px;
- line-height: 14px;
-}
-/* 表格弹出菜单 */
-.edui-default .edui-for-inserttable .edui-splitborder {
- display: none
-}
-.edui-default .edui-for-inserttable .edui-splitbutton-body .edui-arrow {
- width: 0
-}
-.edui-default .edui-toolbar .edui-for-inserttable .edui-state-active .edui-splitborder{
- border-left: 1px solid transparent;
-}
-.edui-default .edui-tablepicker .edui-infoarea {
- height: 14px;
- line-height: 14px;
- font-size: 12px;
- width: 220px;
- margin-bottom: 3px;
- clear: both;
-}
-
-.edui-default .edui-tablepicker .edui-infoarea .edui-label {
- float: left;
-}
-
-.edui-default .edui-dialog-buttons .edui-label {
- line-height: 24px;
-}
-
-.edui-default .edui-tablepicker .edui-infoarea .edui-clickable {
- float: right;
-}
-
-.edui-default .edui-tablepicker .edui-pickarea {
- background: url("../images/unhighlighted.gif") repeat;
- height: 220px;
- width: 220px;
-}
-
-.edui-default .edui-tablepicker .edui-pickarea .edui-overlay {
- background: url("../images/highlighted.gif") repeat;
-}
-
-/* 颜色弹出菜单 */
-.edui-default .edui-colorpicker-topbar {
- height: 27px;
- width: 200px;
- /*border-bottom: 1px gray dashed;*/
-}
-
-.edui-default .edui-colorpicker-preview {
- height: 20px;
- border: 1px inset black;
- margin-left: 1px;
- width: 128px;
- float: left;
-}
-
-.edui-default .edui-colorpicker-nocolor {
- float: right;
- margin-right: 1px;
- font-size: 12px;
- line-height: 14px;
- height: 14px;
- border: 1px solid #333;
- padding: 3px 5px;
- cursor: pointer;
-}
-
-.edui-default .edui-colorpicker-tablefirstrow {
- height: 30px;
-}
-
-.edui-default .edui-colorpicker-colorcell {
- width: 14px;
- height: 14px;
- display: block;
- margin: 0;
- cursor: pointer;
-}
-
-.edui-default .edui-colorpicker-colorcell:hover {
- width: 14px;
- height: 14px;
- margin: 0;
-}
-.edui-default .edui-colorpicker-advbtn{
- display: block;
- text-align: center;
- cursor: pointer;
- height:20px;
-}
-.arrow_down{
- background: white url('../images/arrow_down.png') no-repeat center;
-}
-.arrow_up{
- background: white url('../images/arrow_up.png') no-repeat center;
-}
-/*高级的样式*/
-.edui-colorpicker-adv{
- position: relative;
- overflow: hidden;
- height: 180px;
- display: none;
-}
-.edui-colorpicker-plant, .edui-colorpicker-hue {
- border: solid 1px #666;
-}
-.edui-colorpicker-pad {
- width: 150px;
- height: 150px;
- left: 14px;
- top: 13px;
- position: absolute;
- background: red;
- overflow: hidden;
- cursor: crosshair;
-}
-.edui-colorpicker-cover{
- position: absolute;
- top: 0;
- left: 0;
- width: 150px;
- height: 150px;
- background: url("../images/tangram-colorpicker.png") -160px -200px;
-}
-.edui-colorpicker-padDot{
- position: absolute;
- top: 0;
- left: 0;
- width: 11px;
- height: 11px;
- overflow: hidden;
- background: url(../images/tangram-colorpicker.png) 0px -200px repeat-x;
- z-index: 1000;
-
-}
-.edui-colorpicker-sliderMain {
- position: absolute;
- left: 171px;
- top: 13px;
- width: 19px;
- height: 152px;
- background: url(../images/tangram-colorpicker.png) -179px -12px no-repeat;
-
-}
-.edui-colorpicker-slider {
- width: 100%;
- height: 100%;
- cursor: pointer;
-}
-.edui-colorpicker-thumb{
- position: absolute;
- top: 0;
- cursor: pointer;
- height: 3px;
- left: -1px;
- right: -1px;
- border: 1px solid black;
- background: white;
- opacity: .8;
-}
-/*自动排版弹出菜单*/
-.edui-default .edui-autotypesetpicker .edui-autotypesetpicker-body {
- font-size: 12px;
- margin-bottom: 3px;
- clear: both;
-}
-
-.edui-default .edui-autotypesetpicker-body table {
- border-collapse: separate;
- border-spacing: 2px;
-}
-
-.edui-default .edui-autotypesetpicker-body td {
- font-size: 12px;
- word-wrap:break-word;
-}
-
-.edui-default .edui-autotypesetpicker-body td input {
- margin: 3px 3px 3px 4px;
- *margin: 1px 0 0 0;
-}
-/*自动排版弹出菜单*/
-.edui-default .edui-cellalignpicker .edui-cellalignpicker-body {
- width: 70px;
- font-size: 12px;
- cursor: default;
-}
-
-.edui-default .edui-cellalignpicker-body table {
- border-collapse: separate;
- border-spacing: 0;
-}
-.edui-default .edui-cellalignpicker-body td{
- padding: 1px;
-}
-.edui-default .edui-cellalignpicker-body .edui-icon{
- height: 20px;
- width: 20px;
- padding: 1px;
- background-image: url(../images/table-cell-align.png);
-}
-
-.edui-default .edui-cellalignpicker-body .edui-left{
- background-position: 0 0;
-}
-
-.edui-default .edui-cellalignpicker-body .edui-center{
- background-position: -25px 0;
-}
-.edui-default .edui-cellalignpicker-body .edui-right{
- background-position: -51px 0;
-}
-
-.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-left{
- background-position: -73px 0;
-}
-
-.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-center{
- background-position: -98px 0;
-}
-
-.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-right{
- background-position: -124px 0;
-}
-
-.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-left {
- background-position: -146px 0;
- background-color: #f1f4f5;
-}
-
-.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-center {
- background-position: -245px 0;
-}
-
-.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-right {
- background-position: -271px 0;
-}
-/*分隔线*/
-.edui-default .edui-toolbar .edui-separator {
- width: 2px;
- height: 20px;
- margin: 2px 4px 2px 3px;
- background: url(../images/icons.png) -181px 0;
- background: url(../images/icons.gif) -181px 0 \9;
-}
-
-/*颜色按钮 */
-.edui-default .edui-toolbar .edui-colorbutton .edui-colorlump {
- position: absolute;
- overflow: hidden;
- bottom: 1px;
- left: 1px;
- width: 18px;
- height: 4px;
-}
-/*表情按钮及弹出菜单*/
-/*去除了表情的下拉箭头*/
-.edui-default .edui-for-emotion .edui-icon {
- background-position: -60px -20px;
-}
-.edui-default .edui-for-emotion .edui-popup-content iframe
-{
- width: 514px;
- height: 380px;
- overflow: hidden;
-}
-.edui-default .edui-for-emotion .edui-popup-content
-{
- position: relative;
- z-index: 555
-}
-
-.edui-default .edui-for-emotion .edui-splitborder {
- display: none
-}
-
-.edui-default .edui-for-emotion .edui-splitbutton-body .edui-arrow
-{
- width: 0
-}
-.edui-default .edui-toolbar .edui-for-emotion .edui-state-active .edui-splitborder
-{
- border-left: 1px solid transparent;
-}
-/*contextmenu*/
-.edui-default .edui-hassubmenu .edui-arrow {
- height: 20px;
- width: 20px;
- float: right;
- background: url("../images/icons-all.gif") no-repeat 10px -233px;
-}
-
-.edui-default .edui-menu-body .edui-menuitem {
- padding: 1px;
-}
-
-.edui-default .edui-menuseparator {
- margin: 2px 0;
- height: 1px;
- overflow: hidden;
-}
-
-.edui-default .edui-menuseparator-inner {
- border-bottom: 1px solid #e2e3e3;
- margin-left: 29px;
- margin-right: 1px;
-}
-
-.edui-default .edui-menu-body .edui-state-hover {
- padding: 0 !important;
- background-color: #fff5d4;
- border: 1px solid #dcac6c;
-}
-/*弹出菜单*/
-.edui-default .edui-shortcutmenu {
- padding: 2px;
- width: 190px;
- height: 50px;
- background-color: #fff;
- border: 1px solid #ccc;
- border-radius: 5px;
-}
-
-/*粘贴弹出菜单*/
-.edui-default .edui-wordpastepop .edui-popup-content{
- border: none;
- padding: 0;
- width: 54px;
- height: 21px;
-}
-.edui-default .edui-pasteicon {
- width: 100%;
- height: 100%;
- background-image: url('../images/wordpaste.png');
- background-position: 0 0;
-}
-
-.edui-default .edui-pasteicon.edui-state-opened {
- background-position: 0 -34px;
-}
-
-.edui-default .edui-pastecontainer {
- position: relative;
- visibility: hidden;
- width: 97px;
- background: #fff;
- border: 1px solid #ccc;
-}
-
-.edui-default .edui-pastecontainer .edui-title {
- font-weight: bold;
- background: #F8F8FF;
- height: 25px;
- line-height: 25px;
- font-size: 12px;
- padding-left: 5px;
-}
-
-.edui-default .edui-pastecontainer .edui-button {
- overflow: hidden;
- margin: 3px 0;
-}
-
-.edui-default .edui-pastecontainer .edui-button .edui-richtxticon,
-.edui-default .edui-pastecontainer .edui-button .edui-tagicon,
-.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{
- float: left;
- cursor: pointer;
- width: 29px;
- height: 29px;
- margin-left: 5px;
- background-image: url('../images/wordpaste.png');
- background-repeat: no-repeat;
-}
-.edui-default .edui-pastecontainer .edui-button .edui-richtxticon {
- margin-left: 0;
- background-position: -109px 0;
-}
-.edui-default .edui-pastecontainer .edui-button .edui-tagicon {
- background-position: -148px 1px;
-}
-
-.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon {
- background-position: -72px 0;
-}
-
-.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-richtxticon {
- background-position: -109px -34px;
-}
-.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-tagicon{
- background-position: -148px -34px;
-}
-.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-plaintxticon{
- background-position: -72px -34px;
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/css/ueditor.min.css b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/css/ueditor.min.css
deleted file mode 100644
index a9c72090..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/css/ueditor.min.css
+++ /dev/null
@@ -1,8 +0,0 @@
-/*!
- * UEditor
- * version: ueditor
- * build: Thu May 29 2014 16:47:49 GMT+0800 (中国标准时间)
- */
-
-
-.edui-default .edui-box{border:0;padding:0;margin:0;overflow:hidden}.edui-default a.edui-box{display:block;text-decoration:none;color:#000}.edui-default a.edui-box:hover{text-decoration:none}.edui-default a.edui-box:active{text-decoration:none}.edui-default table.edui-box{border-collapse:collapse}.edui-default ul.edui-box{list-style-type:none}div.edui-box{position:relative;display:-moz-inline-box!important;display:inline-block!important;vertical-align:top}.edui-default .edui-clearfix{zoom:1}.edui-default .edui-clearfix:after{content:'\20';display:block;clear:both}* html div.edui-box{display:inline!important}:first-child+html div.edui-box{display:inline!important}.edui-default .edui-button-body,.edui-splitbutton-body,.edui-menubutton-body,.edui-combox-body{position:relative}.edui-default .edui-popup{position:absolute;-webkit-user-select:none;-moz-user-select:none}.edui-default .edui-popup .edui-shadow{position:absolute;z-index:-1}.edui-default .edui-popup .edui-bordereraser{position:absolute;overflow:hidden}.edui-default .edui-tablepicker .edui-canvas{position:relative}.edui-default .edui-tablepicker .edui-canvas .edui-overlay{position:absolute}.edui-default .edui-dialog-modalmask,.edui-dialog-dragmask{position:absolute;left:0;top:0;width:100%;height:100%}.edui-default .edui-toolbar{position:relative}.edui-default .edui-label{cursor:default}.edui-default span.edui-clickable{color:#00f;cursor:pointer;text-decoration:underline}.edui-default span.edui-unclickable{color:gray;cursor:default}.edui-default .edui-toolbar{cursor:default;-webkit-user-select:none;-moz-user-select:none;padding:1px;overflow:hidden;zoom:1;width:auto;height:auto}.edui-default .edui-toolbar .edui-button,.edui-default .edui-toolbar .edui-splitbutton,.edui-default .edui-toolbar .edui-menubutton,.edui-default .edui-toolbar .edui-combox{margin:1px}.edui-default .edui-editor{border:1px solid #d4d4d4;background-color:#fff;position:relative;overflow:visible;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.edui-editor div{width:auto;height:auto}.edui-default .edui-editor-toolbarbox{position:relative;zoom:1;-webkit-box-shadow:0 1px 4px rgba(204,204,204,.6);-moz-box-shadow:0 1px 4px rgba(204,204,204,.6);box-shadow:0 1px 4px rgba(204,204,204,.6);border-top-left-radius:2px;border-top-right-radius:2px}.edui-default .edui-editor-toolbarboxouter{border-bottom:1px solid #d4d4d4;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,.065);box-shadow:0 1px 4px rgba(0,0,0,.065)}.edui-default .edui-editor-toolbarboxinner{padding:2px}.edui-default .edui-editor-iframeholder{position:relative}.edui-default .edui-editor-bottomContainer{overflow:hidden}.edui-default .edui-editor-bottomContainer table{width:100%;height:0;overflow:hidden;border-spacing:0}.edui-default .edui-editor-bottomContainer td{white-space:nowrap;border-top:1px solid #ccc;line-height:20px;font-size:12px;font-family:Arial,Helvetica,Tahoma,Verdana,Sans-Serif}.edui-default .edui-editor-wordcount{text-align:right;margin-right:5px;color:#aaa}.edui-default .edui-editor-scale{width:12px}.edui-default .edui-editor-scale .edui-editor-icon{float:right;width:100%;height:12px;margin-top:10px;background:url(../images/scale.png) no-repeat;cursor:se-resize}.edui-default .edui-editor-breadcrumb{margin:2px 0 0 3px}.edui-default .edui-editor-breadcrumb span{cursor:pointer;text-decoration:underline;color:#00f}.edui-default .edui-toolbar .edui-for-fullscreen{float:right}.edui-default .edui-bubble .edui-popup-content{border:1px solid #DCAC6C;background-color:#fff6d9;padding:5px;font-size:10pt;font-family:"宋体"}.edui-default .edui-bubble .edui-shadow{}.edui-default .edui-editor-toolbarmsg{background-color:#FFF6D9;border-bottom:1px solid #ccc;position:absolute;bottom:-25px;left:0;z-index:1009;width:99.9%}.edui-default .edui-editor-toolbarmsg-upload{font-size:14px;color:#00f;width:100px;height:16px;line-height:16px;cursor:pointer;position:absolute;top:5px;left:350px}.edui-default .edui-editor-toolbarmsg-label{font-size:12px;line-height:16px;padding:4px}.edui-default .edui-editor-toolbarmsg-close{float:right;width:20px;height:16px;line-height:16px;cursor:pointer;color:red}.edui-default .edui-list .edui-bordereraser{display:none}.edui-default .edui-listitem{padding:1px;white-space:nowrap}.edui-default .edui-list .edui-state-hover{position:relative;background-color:#fff5d4;border:1px solid #dcac6c;padding:0}.edui-default .edui-for-fontfamily .edui-listitem-label{min-width:130px;_width:120px;font-size:12px;height:22px;line-height:22px;padding-left:5px}.edui-default .edui-for-insertcode .edui-listitem-label{min-width:120px;_width:120px;font-size:12px;height:22px;line-height:22px;padding-left:5px}.edui-default .edui-for-underline .edui-listitem-label{min-width:120px;_width:120px;padding:3px 5px;font-size:12px}.edui-default .edui-for-fontsize .edui-listitem-label{min-width:120px;_width:120px;padding:3px 5px}.edui-default .edui-for-paragraph .edui-listitem-label{min-width:200px;_width:200px;padding:2px 5px}.edui-default .edui-for-rowspacingtop .edui-listitem-label,.edui-default .edui-for-rowspacingbottom .edui-listitem-label{min-width:53px;_width:53px;padding:2px 5px}.edui-default .edui-for-lineheight .edui-listitem-label{min-width:53px;_width:53px;padding:2px 5px}.edui-default .edui-for-customstyle .edui-listitem-label{min-width:200px;_width:200px;width:200px!important;padding:2px 5px}.edui-default .edui-menu{z-index:3000}.edui-default .edui-menu .edui-popup-content{padding:3px}.edui-default .edui-menu-body{_width:150px;min-width:170px;background:url(../images/sparator_v.png) repeat-y 25px}.edui-default .edui-menuitem-body{}.edui-default .edui-menuitem{height:20px;cursor:default;vertical-align:top}.edui-default .edui-menuitem .edui-icon{width:20px!important;height:20px!important;background:url(../images/icons.png) 0 -4000px;background:url(../images/icons.gif) 0 -4000px\9}.edui-default .edui-menuitem .edui-label{font-size:12px;line-height:20px;height:20px;padding-left:10px}.edui-default .edui-state-checked .edui-menuitem-body{background:url(../images/icons-all.gif) no-repeat 6px -205px}.edui-default .edui-state-disabled .edui-menuitem-label{color:gray}.edui-default .edui-toolbar .edui-combox-body .edui-button-body{width:60px;font-size:12px;height:20px;line-height:20px;padding-left:5px;white-space:nowrap;margin:0 3px 0 0}.edui-default .edui-toolbar .edui-combox-body .edui-arrow{background:url(../images/icons.png) -741px 0;_background:url(../images/icons.gif) -741px 0;height:20px;width:9px}.edui-default .edui-toolbar .edui-combox .edui-combox-body{border:1px solid #CCC;background-color:#fff;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px}.edui-default .edui-toolbar .edui-combox-body .edui-splitborder{display:none}.edui-default .edui-toolbar .edui-combox-body .edui-arrow{border-left:1px solid #CCC}.edui-default .edui-toolbar .edui-state-hover .edui-combox-body{background-color:#fff5d4;border:1px solid #dcac6c}.edui-default .edui-toolbar .edui-state-hover .edui-combox-body .edui-arrow{border-left:1px solid #dcac6c}.edui-default .edui-toolbar .edui-state-checked .edui-combox-body{background-color:#FFE69F;border:1px solid #DCAC6C}.edui-toolbar .edui-state-checked .edui-combox-body .edui-arrow{border-left:1px solid #DCAC6C}.edui-toolbar .edui-state-disabled .edui-combox-body{background-color:#F0F0EE;opacity:.3;filter:alpha(opacity=30)}.edui-toolbar .edui-state-opened .edui-combox-body{background-color:#fff;border:1px solid gray}.edui-default .edui-toolbar .edui-button .edui-icon,.edui-default .edui-toolbar .edui-menubutton .edui-icon,.edui-default .edui-toolbar .edui-splitbutton .edui-icon{height:20px!important;width:20px!important;background-image:url(../images/icons.png);background-image:url(../images/icons.gif) \9}.edui-default .edui-toolbar .edui-button .edui-button-wrap{padding:1px;position:relative}.edui-default .edui-toolbar .edui-button .edui-state-hover .edui-button-wrap{background-color:#fff5d4;padding:0;border:1px solid #dcac6c}.edui-default .edui-toolbar .edui-button .edui-state-checked .edui-button-wrap{background-color:#ffe69f;padding:0;border:1px solid #dcac6c;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px}.edui-default .edui-toolbar .edui-button .edui-state-active .edui-button-wrap{background-color:#fff;padding:0;border:1px solid gray}.edui-default .edui-toolbar .edui-state-disabled .edui-label{color:#ccc}.edui-default .edui-toolbar .edui-state-disabled .edui-icon{opacity:.3;filter:alpha(opacity=30)}.edui-default .edui-for-undo .edui-icon{background-position:-160px 0}.edui-default .edui-for-redo .edui-icon{background-position:-100px 0}.edui-default .edui-for-bold .edui-icon{background-position:0 0}.edui-default .edui-for-italic .edui-icon{background-position:-60px 0}.edui-default .edui-for-fontborder .edui-icon{background-position:-160px -40px}.edui-default .edui-for-underline .edui-icon{background-position:-140px 0}.edui-default .edui-for-strikethrough .edui-icon{background-position:-120px 0}.edui-default .edui-for-subscript .edui-icon{background-position:-600px 0}.edui-default .edui-for-superscript .edui-icon{background-position:-620px 0}.edui-default .edui-for-blockquote .edui-icon{background-position:-220px 0}.edui-default .edui-for-forecolor .edui-icon{background-position:-720px 0}.edui-default .edui-for-backcolor .edui-icon{background-position:-760px 0}.edui-default .edui-for-inserttable .edui-icon{background-position:-580px -20px}.edui-default .edui-for-autotypeset .edui-icon{background-position:-640px -40px}.edui-default .edui-for-justifyleft .edui-icon{background-position:-460px 0}.edui-default .edui-for-justifycenter .edui-icon{background-position:-420px 0}.edui-default .edui-for-justifyright .edui-icon{background-position:-480px 0}.edui-default .edui-for-justifyjustify .edui-icon{background-position:-440px 0}.edui-default .edui-for-insertorderedlist .edui-icon{background-position:-80px 0}.edui-default .edui-for-insertunorderedlist .edui-icon{background-position:-20px 0}.edui-default .edui-for-lineheight .edui-icon{background-position:-725px -40px}.edui-default .edui-for-rowspacingbottom .edui-icon{background-position:-745px -40px}.edui-default .edui-for-rowspacingtop .edui-icon{background-position:-765px -40px}.edui-default .edui-for-horizontal .edui-icon{background-position:-360px 0}.edui-default .edui-for-link .edui-icon{background-position:-500px 0}.edui-default .edui-for-code .edui-icon{background-position:-440px -40px}.edui-default .edui-for-insertimage .edui-icon{background-position:-726px -77px}.edui-default .edui-for-insertframe .edui-icon{background-position:-240px -40px}.edui-default .edui-for-emoticon .edui-icon{background-position:-60px -20px}.edui-default .edui-for-spechars .edui-icon{background-position:-240px 0}.edui-default .edui-for-help .edui-icon{background-position:-340px 0}.edui-default .edui-for-print .edui-icon{background-position:-440px -20px}.edui-default .edui-for-preview .edui-icon{background-position:-420px -20px}.edui-default .edui-for-selectall .edui-icon{background-position:-400px -20px}.edui-default .edui-for-searchreplace .edui-icon{background-position:-520px -20px}.edui-default .edui-for-map .edui-icon{background-position:-40px -40px}.edui-default .edui-for-gmap .edui-icon{background-position:-260px -40px}.edui-default .edui-for-insertvideo .edui-icon{background-position:-320px -20px}.edui-default .edui-for-time .edui-icon{background-position:-160px -20px}.edui-default .edui-for-date .edui-icon{background-position:-140px -20px}.edui-default .edui-for-cut .edui-icon{background-position:-680px 0}.edui-default .edui-for-copy .edui-icon{background-position:-700px 0}.edui-default .edui-for-paste .edui-icon{background-position:-560px 0}.edui-default .edui-for-formatmatch .edui-icon{background-position:-40px 0}.edui-default .edui-for-pasteplain .edui-icon{background-position:-360px -20px}.edui-default .edui-for-directionalityltr .edui-icon{background-position:-20px -20px}.edui-default .edui-for-directionalityrtl .edui-icon{background-position:-40px -20px}.edui-default .edui-for-source .edui-icon{background-position:-261px -0px}.edui-default .edui-for-removeformat .edui-icon{background-position:-580px 0}.edui-default .edui-for-unlink .edui-icon{background-position:-640px 0}.edui-default .edui-for-touppercase .edui-icon{background-position:-786px 0}.edui-default .edui-for-tolowercase .edui-icon{background-position:-806px 0}.edui-default .edui-for-insertrow .edui-icon{background-position:-478px -76px}.edui-default .edui-for-insertrownext .edui-icon{background-position:-498px -76px}.edui-default .edui-for-insertcol .edui-icon{background-position:-455px -76px}.edui-default .edui-for-insertcolnext .edui-icon{background-position:-429px -76px}.edui-default .edui-for-mergeright .edui-icon{background-position:-60px -40px}.edui-default .edui-for-mergedown .edui-icon{background-position:-80px -40px}.edui-default .edui-for-splittorows .edui-icon{background-position:-100px -40px}.edui-default .edui-for-splittocols .edui-icon{background-position:-120px -40px}.edui-default .edui-for-insertparagraphbeforetable .edui-icon{background-position:-140px -40px}.edui-default .edui-for-deleterow .edui-icon{background-position:-660px -20px}.edui-default .edui-for-deletecol .edui-icon{background-position:-640px -20px}.edui-default .edui-for-splittocells .edui-icon{background-position:-800px -20px}.edui-default .edui-for-mergecells .edui-icon{background-position:-760px -20px}.edui-default .edui-for-deletetable .edui-icon{background-position:-620px -20px}.edui-default .edui-for-cleardoc .edui-icon{background-position:-520px 0}.edui-default .edui-for-fullscreen .edui-icon{background-position:-100px -20px}.edui-default .edui-for-anchor .edui-icon{background-position:-200px 0}.edui-default .edui-for-pagebreak .edui-icon{background-position:-460px -40px}.edui-default .edui-for-imagenone .edui-icon{background-position:-480px -40px}.edui-default .edui-for-imageleft .edui-icon{background-position:-500px -40px}.edui-default .edui-for-wordimage .edui-icon{background-position:-660px -40px}.edui-default .edui-for-imageright .edui-icon{background-position:-520px -40px}.edui-default .edui-for-imagecenter .edui-icon{background-position:-540px -40px}.edui-default .edui-for-indent .edui-icon{background-position:-400px 0}.edui-default .edui-for-outdent .edui-icon{background-position:-540px 0}.edui-default .edui-for-webapp .edui-icon{background-position:-601px -40px}.edui-default .edui-for-table .edui-icon{background-position:-580px -20px}.edui-default .edui-for-edittable .edui-icon{background-position:-420px -40px}.edui-default .edui-for-template .edui-icon{background-position:-339px -40px}.edui-default .edui-for-delete .edui-icon{background-position:-360px -40px}.edui-default .edui-for-attachment .edui-icon{background-position:-620px -40px}.edui-default .edui-for-edittd .edui-icon{background-position:-700px -40px}.edui-default .edui-for-snapscreen .edui-icon{background-position:-581px -40px}.edui-default .edui-for-scrawl .edui-icon{background-position:-801px -41px}.edui-default .edui-for-background .edui-icon{background-position:-680px -40px}.edui-default .edui-for-music .edui-icon{background-position:-18px -40px}.edui-default .edui-for-formula .edui-icon{background-position:-200px -40px}.edui-default .edui-for-aligntd .edui-icon{background-position:-236px -76px}.edui-default .edui-for-insertparagraphtrue .edui-icon{background-position:-625px -76px}.edui-default .edui-for-insertparagraph .edui-icon{background-position:-602px -76px}.edui-default .edui-for-insertcaption .edui-icon{background-position:-336px -76px}.edui-default .edui-for-deletecaption .edui-icon{background-position:-362px -76px}.edui-default .edui-for-inserttitle .edui-icon{background-position:-286px -76px}.edui-default .edui-for-deletetitle .edui-icon{background-position:-311px -76px}.edui-default .edui-for-aligntable .edui-icon{background-position:-440px 0}.edui-default .edui-for-tablealignment-left .edui-icon{background-position:-460px 0}.edui-default .edui-for-tablealignment-center .edui-icon{background-position:-420px 0}.edui-default .edui-for-tablealignment-right .edui-icon{background-position:-480px 0}.edui-default .edui-for-drafts .edui-icon{background-position:-560px 0}.edui-default .edui-for-charts .edui-icon{background:url( ../images/charts.png ) no-repeat 2px 3px!important}.edui-default .edui-for-inserttitlecol .edui-icon{background-position:-673px -76px}.edui-default .edui-for-deletetitlecol .edui-icon{background-position:-698px -76px}.edui-default .edui-for-simpleupload .edui-icon{background-position:-380px 0}.edui-default .edui-toolbar .edui-splitbutton-body .edui-arrow,.edui-default .edui-toolbar .edui-menubutton-body .edui-arrow{background:url(../images/icons.png) -741px 0;_background:url(../images/icons.gif) -741px 0;height:20px;width:9px}.edui-default .edui-toolbar .edui-splitbutton .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-menubutton-body{padding:1px}.edui-default .edui-toolbar .edui-splitborder{width:1px;height:20px}.edui-default .edui-toolbar .edui-state-hover .edui-splitborder{width:1px;border-left:0 solid #dcac6c}.edui-default .edui-toolbar .edui-state-active .edui-splitborder{width:0;border-left:1px solid gray}.edui-default .edui-toolbar .edui-state-opened .edui-splitborder{width:1px;border:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-hover .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-hover .edui-menubutton-body{background-color:#fff5d4;border:1px solid #dcac6c;padding:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-checked .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-checked .edui-menubutton-body{background-color:#FFE69F;border:1px solid #DCAC6C;padding:0}.edui-default .edui-toolbar .edui-splitbutton .edui-state-active .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-active .edui-menubutton-body{background-color:#fff;border:1px solid gray;padding:0}.edui-default .edui-state-disabled .edui-arrow{opacity:.3;_filter:alpha(opacity=30)}.edui-default .edui-toolbar .edui-splitbutton .edui-state-opened .edui-splitbutton-body,.edui-default .edui-toolbar .edui-menubutton .edui-state-opened .edui-menubutton-body{background-color:#fff;border:1px solid gray;padding:0}.edui-default .edui-for-insertorderedlist .edui-bordereraser,.edui-default .edui-for-lineheight .edui-bordereraser,.edui-default .edui-for-rowspacingtop .edui-bordereraser,.edui-default .edui-for-rowspacingbottom .edui-bordereraser,.edui-default .edui-for-insertunorderedlist .edui-bordereraser{background-color:#fff}.edui-default .edui-for-insertorderedlist .edui-popup-body .edui-icon,.edui-default .edui-for-lineheight .edui-popup-body .edui-icon,.edui-default .edui-for-rowspacingtop .edui-popup-body .edui-icon,.edui-default .edui-for-rowspacingbottom .edui-popup-body .edui-icon,.edui-default .edui-for-insertunorderedlist .edui-popup-body .edui-icon{background-image:none}.edui-default .edui-popup{z-index:3000;background-color:#fff;width:auto;height:auto}.edui-default .edui-popup .edui-shadow{left:0;top:0;width:100%;height:100%}.edui-default .edui-popup-content{border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 4px rgba(0,0,0,.2);-moz-box-shadow:0 3px 4px rgba(0,0,0,.2);box-shadow:0 3px 4px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;padding:5px;background:#fff}.edui-default .edui-popup .edui-bordereraser{background-color:#fff;height:3px}.edui-default .edui-menu .edui-bordereraser{height:3px}.edui-default .edui-anchor-topleft .edui-bordereraser{left:1px;top:-2px}.edui-default .edui-anchor-topright .edui-bordereraser{right:1px;top:-2px}.edui-default .edui-anchor-bottomleft .edui-bordereraser{left:0;bottom:-6px;height:7px;border-left:1px solid gray;border-right:1px solid gray}.edui-default .edui-anchor-bottomright .edui-bordereraser{right:0;bottom:-6px;height:7px;border-left:1px solid gray;border-right:1px solid gray}.edui-popup div{width:auto;height:auto}.edui-default .edui-editor-messageholder{display:block;width:150px;height:auto;border:0;margin:0;padding:0;position:absolute;top:28px;right:3px}.edui-default .edui-message{min-height:10px;text-shadow:0 1px 0 rgba(255,255,255,.5);padding:0;margin-bottom:3px;position:relative}.edui-default .edui-message-body{border-radius:3px;padding:8px 15px 8px 8px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5}.edui-default .edui-message-type-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.edui-default .edui-message-type-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.edui-default .edui-message-type-danger,.edui-default .edui-message-type-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.edui-default .edui-message .edui-message-closer{display:block;width:16px;height:16px;line-height:16px;position:absolute;top:0;right:0;padding:0;cursor:pointer;background:transparent;border:0;float:right;font-size:20px;font-weight:700;color:#999;text-shadow:0 1px 0 #fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.edui-default .edui-message .edui-message-content{font-size:10pt;word-wrap:break-word;word-break:normal}.edui-default .edui-dialog{z-index:2000;position:absolute}.edui-dialog div{width:auto}.edui-default .edui-dialog-wrap{margin-right:6px;margin-bottom:6px}.edui-default .edui-dialog-fullscreen-flag{margin-right:0;margin-bottom:0}.edui-default .edui-dialog-body{position:relative;padding:2px 0 0 2px;_zoom:1}.edui-default .edui-dialog-fullscreen-flag .edui-dialog-body{padding:0}.edui-default .edui-dialog-shadow{position:absolute;z-index:-1;left:0;top:0;width:100%;height:100%;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.edui-default .edui-dialog-foot{background-color:#fff}.edui-default .edui-dialog-titlebar{height:26px;border-bottom:1px solid #c6c6c6;background:url(../images/dialog-title-bg.png) repeat-x bottom;position:relative;cursor:move}.edui-default .edui-dialog-caption{font-weight:700;font-size:12px;line-height:26px;padding-left:5px}.edui-default .edui-dialog-draghandle{height:26px}.edui-default .edui-dialog-closebutton{position:absolute!important;right:5px;top:3px}.edui-default .edui-dialog-closebutton .edui-button-body{height:20px;width:20px;cursor:pointer;background:url(../images/icons-all.gif) no-repeat 0 -59px}.edui-default .edui-dialog-closebutton .edui-state-hover .edui-button-body{background:url(../images/icons-all.gif) no-repeat 0 -89px}.edui-default .edui-dialog-foot{height:40px}.edui-default .edui-dialog-buttons{position:absolute;right:0}.edui-default .edui-dialog-buttons .edui-button{margin-right:10px}.edui-default .edui-dialog-buttons .edui-button .edui-button-body{background:url(../images/icons-all.gif) no-repeat;height:24px;width:96px;font-size:12px;line-height:24px;text-align:center;cursor:default}.edui-default .edui-dialog-buttons .edui-button .edui-state-hover .edui-button-body{background:url(../images/icons-all.gif) no-repeat 0 -30px}.edui-default .edui-dialog iframe{border:0;padding:0;margin:0;vertical-align:top}.edui-default .edui-dialog-modalmask{opacity:.3;filter:alpha(opacity=30);background-color:#ccc;position:absolute}.edui-default .edui-dialog-dragmask{position:absolute;background-color:transparent;cursor:move}.edui-default .edui-dialog-content{position:relative}.edui-default .dialogcontmask{cursor:move;visibility:hidden;display:block;position:absolute;width:100%;height:100%;opacity:0;filter:alpha(opacity=0)}.edui-default .edui-for-link .edui-dialog-content{width:420px;height:200px;overflow:hidden}.edui-default .edui-for-background .edui-dialog-content{width:440px;height:280px;overflow:hidden}.edui-default .edui-for-template .edui-dialog-content{width:630px;height:390px;overflow:hidden}.edui-default .edui-for-scrawl .edui-dialog-content{width:515px;*width:506px;height:360px}.edui-default .edui-for-spechars .edui-dialog-content{width:620px;height:500px;*width:630px;*height:570px}.edui-default .edui-for-insertimage .edui-dialog-content{width:650px;height:400px;overflow:hidden}.edui-default .edui-for-webapp .edui-dialog-content{width:560px;_width:565px;height:450px;overflow:hidden}.edui-default .edui-for-insertframe .edui-dialog-content{width:350px;height:200px;overflow:hidden}.edui-default .edui-for-wordimage .edui-dialog-content{width:620px;height:380px;overflow:hidden}.edui-default .edui-for-attachment .edui-dialog-content{width:650px;height:400px;overflow:hidden}.edui-default .edui-for-map .edui-dialog-content{width:550px;height:400px}.edui-default .edui-for-gmap .edui-dialog-content{width:550px;height:400px}.edui-default .edui-for-insertvideo .edui-dialog-content{width:590px;height:390px}.edui-default .edui-for-anchor .edui-dialog-content{width:320px;height:60px;overflow:hidden}.edui-default .edui-for-searchreplace .edui-dialog-content{width:400px;height:220px}.edui-default .edui-for-help .edui-dialog-content{width:400px;height:420px}.edui-default .edui-for-edittable .edui-dialog-content{width:540px;_width:590px;height:335px}.edui-default .edui-for-edittip .edui-dialog-content{width:225px;height:60px}.edui-default .edui-for-edittd .edui-dialog-content{width:240px;height:50px}.edui-default .edui-for-snapscreen .edui-dialog-content{width:400px;height:220px}.edui-default .edui-for-music .edui-dialog-content{width:515px;height:360px}.edui-default .edui-for-paragraph .edui-listitem-label{font-family:Tahoma,Verdana,Arial,Helvetica}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-p{font-size:22px;line-height:27px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h1{font-weight:bolder;font-size:32px;line-height:36px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h2{font-weight:bolder;font-size:27px;line-height:29px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h3{font-weight:bolder;font-size:19px;line-height:23px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h4{font-weight:bolder;font-size:16px;line-height:19px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h5{font-weight:bolder;font-size:13px;line-height:16px}.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h6{font-weight:bolder;font-size:12px;line-height:14px}.edui-default .edui-for-inserttable .edui-splitborder{display:none}.edui-default .edui-for-inserttable .edui-splitbutton-body .edui-arrow{width:0}.edui-default .edui-toolbar .edui-for-inserttable .edui-state-active .edui-splitborder{border-left:1px solid transparent}.edui-default .edui-tablepicker .edui-infoarea{height:14px;line-height:14px;font-size:12px;width:220px;margin-bottom:3px;clear:both}.edui-default .edui-tablepicker .edui-infoarea .edui-label{float:left}.edui-default .edui-dialog-buttons .edui-label{line-height:24px}.edui-default .edui-tablepicker .edui-infoarea .edui-clickable{float:right}.edui-default .edui-tablepicker .edui-pickarea{background:url(../images/unhighlighted.gif) repeat;height:220px;width:220px}.edui-default .edui-tablepicker .edui-pickarea .edui-overlay{background:url(../images/highlighted.gif) repeat}.edui-default .edui-colorpicker-topbar{height:27px;width:200px}.edui-default .edui-colorpicker-preview{height:20px;border:1px inset #000;margin-left:1px;width:128px;float:left}.edui-default .edui-colorpicker-nocolor{float:right;margin-right:1px;font-size:12px;line-height:14px;height:14px;border:1px solid #333;padding:3px 5px;cursor:pointer}.edui-default .edui-colorpicker-tablefirstrow{height:30px}.edui-default .edui-colorpicker-colorcell{width:14px;height:14px;display:block;margin:0;cursor:pointer}.edui-default .edui-colorpicker-colorcell:hover{width:14px;height:14px;margin:0}.edui-default .edui-colorpicker-advbtn{display:block;text-align:center;cursor:pointer;height:20px}.arrow_down{background:#fff url(../images/arrow_down.png) no-repeat center}.arrow_up{background:#fff url(../images/arrow_up.png) no-repeat center}.edui-colorpicker-adv{position:relative;overflow:hidden;height:180px;display:none}.edui-colorpicker-plant,.edui-colorpicker-hue{border:solid 1px #666}.edui-colorpicker-pad{width:150px;height:150px;left:14px;top:13px;position:absolute;background:red;overflow:hidden;cursor:crosshair}.edui-colorpicker-cover{position:absolute;top:0;left:0;width:150px;height:150px;background:url(../images/tangram-colorpicker.png) -160px -200px}.edui-colorpicker-padDot{position:absolute;top:0;left:0;width:11px;height:11px;overflow:hidden;background:url(../images/tangram-colorpicker.png) 0 -200px repeat-x;z-index:1000}.edui-colorpicker-sliderMain{position:absolute;left:171px;top:13px;width:19px;height:152px;background:url(../images/tangram-colorpicker.png) -179px -12px no-repeat}.edui-colorpicker-slider{width:100%;height:100%;cursor:pointer}.edui-colorpicker-thumb{position:absolute;top:0;cursor:pointer;height:3px;left:-1px;right:-1px;border:1px solid #000;background:#fff;opacity:.8}.edui-default .edui-autotypesetpicker .edui-autotypesetpicker-body{font-size:12px;margin-bottom:3px;clear:both}.edui-default .edui-autotypesetpicker-body table{border-collapse:separate;border-spacing:2px}.edui-default .edui-autotypesetpicker-body td{font-size:12px;word-wrap:break-word}.edui-default .edui-autotypesetpicker-body td input{margin:3px 3px 3px 4px;*margin:1px 0 0}.edui-default .edui-cellalignpicker .edui-cellalignpicker-body{width:70px;font-size:12px;cursor:default}.edui-default .edui-cellalignpicker-body table{border-collapse:separate;border-spacing:0}.edui-default .edui-cellalignpicker-body td{padding:1px}.edui-default .edui-cellalignpicker-body .edui-icon{height:20px;width:20px;padding:1px;background-image:url(../images/table-cell-align.png)}.edui-default .edui-cellalignpicker-body .edui-left{background-position:0 0}.edui-default .edui-cellalignpicker-body .edui-center{background-position:-25px 0}.edui-default .edui-cellalignpicker-body .edui-right{background-position:-51px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-left{background-position:-73px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-center{background-position:-98px 0}.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-right{background-position:-124px 0}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-left{background-position:-146px 0;background-color:#f1f4f5}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-center{background-position:-245px 0}.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-right{background-position:-271px 0}.edui-default .edui-toolbar .edui-separator{width:2px;height:20px;margin:2px 4px 2px 3px;background:url(../images/icons.png) -181px 0;background:url(../images/icons.gif) -181px 0 \9}.edui-default .edui-toolbar .edui-colorbutton .edui-colorlump{position:absolute;overflow:hidden;bottom:1px;left:1px;width:18px;height:4px}.edui-default .edui-for-emotion .edui-icon{background-position:-60px -20px}.edui-default .edui-for-emotion .edui-popup-content iframe{width:514px;height:380px;overflow:hidden}.edui-default .edui-for-emotion .edui-popup-content{position:relative;z-index:555}.edui-default .edui-for-emotion .edui-splitborder{display:none}.edui-default .edui-for-emotion .edui-splitbutton-body .edui-arrow{width:0}.edui-default .edui-toolbar .edui-for-emotion .edui-state-active .edui-splitborder{border-left:1px solid transparent}.edui-default .edui-hassubmenu .edui-arrow{height:20px;width:20px;float:right;background:url(../images/icons-all.gif) no-repeat 10px -233px}.edui-default .edui-menu-body .edui-menuitem{padding:1px}.edui-default .edui-menuseparator{margin:2px 0;height:1px;overflow:hidden}.edui-default .edui-menuseparator-inner{border-bottom:1px solid #e2e3e3;margin-left:29px;margin-right:1px}.edui-default .edui-menu-body .edui-state-hover{padding:0!important;background-color:#fff5d4;border:1px solid #dcac6c}.edui-default .edui-shortcutmenu{padding:2px;width:190px;height:50px;background-color:#fff;border:1px solid #ccc;border-radius:5px}.edui-default .edui-wordpastepop .edui-popup-content{border:0;padding:0;width:54px;height:21px}.edui-default .edui-pasteicon{width:100%;height:100%;background-image:url(../images/wordpaste.png);background-position:0 0}.edui-default .edui-pasteicon.edui-state-opened{background-position:0 -34px}.edui-default .edui-pastecontainer{position:relative;visibility:hidden;width:97px;background:#fff;border:1px solid #ccc}.edui-default .edui-pastecontainer .edui-title{font-weight:700;background:#F8F8FF;height:25px;line-height:25px;font-size:12px;padding-left:5px}.edui-default .edui-pastecontainer .edui-button{overflow:hidden;margin:3px 0}.edui-default .edui-pastecontainer .edui-button .edui-richtxticon,.edui-default .edui-pastecontainer .edui-button .edui-tagicon,.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{float:left;cursor:pointer;width:29px;height:29px;margin-left:5px;background-image:url(../images/wordpaste.png);background-repeat:no-repeat}.edui-default .edui-pastecontainer .edui-button .edui-richtxticon{margin-left:0;background-position:-109px 0}.edui-default .edui-pastecontainer .edui-button .edui-tagicon{background-position:-148px 1px}.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{background-position:-72px 0}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-richtxticon{background-position:-109px -34px}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-tagicon{background-position:-148px -34px}.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-plaintxticon{background-position:-72px -34px}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/dialogbase.css b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/dialogbase.css
deleted file mode 100644
index cd663d5d..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/dialogbase.css
+++ /dev/null
@@ -1,100 +0,0 @@
-/*弹出对话框页面样式组件
-*/
-
-/*reset
-*/
-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,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td {
- margin: 0;
- padding: 0;
- outline: 0;
- font-size: 100%;
-}
-
-body {
- line-height: 1;
-}
-
-ol, ul {
- list-style: none;
-}
-
-blockquote, q {
- quotes: none;
-}
-
-ins {
- text-decoration: none;
-}
-
-del {
- text-decoration: line-through;
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
-
-/*module
-*/
-body {
- background-color: #fff;
- font: 12px/1.5 sans-serif, "宋体", "Arial Narrow", HELVETICA;
- color: #646464;
-}
-
-/*tab*/
-.tabhead {
- position: relative;
- z-index: 10;
-}
-
-.tabhead span {
- display: inline-block;
- padding: 0 5px;
- height: 30px;
- border: 1px solid #ccc;
- background: url("images/dialog-title-bg.png") repeat-x;
- text-align: center;
- line-height: 30px;
- cursor: pointer;
- *margin-right: 5px;
-}
-
-.tabhead span.focus {
- height: 31px;
- border-bottom: none;
- background: #fff;
-}
-
-.tabbody {
- position: relative;
- top: -1px;
- margin: 0 auto;
- border: 1px solid #ccc;
-}
-
-/*button*/
-a.button {
- display: block;
- text-align: center;
- line-height: 24px;
- text-decoration: none;
- height: 24px;
- width: 95px;
- border: 0;
- color: #838383;
- background: url(../../themes/default/images/icons-all.gif) no-repeat;
-}
-
-a.button:hover {
- background-position: 0 -30px;
-}
\ No newline at end of file
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/anchor.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/anchor.gif
deleted file mode 100644
index 5aa797b2..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/anchor.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow.png
deleted file mode 100644
index d9008866..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow_down.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow_down.png
deleted file mode 100644
index e9257e83..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow_down.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow_up.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow_up.png
deleted file mode 100644
index 74277af1..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/arrow_up.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/button-bg.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/button-bg.gif
deleted file mode 100644
index ec7fa2ea..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/button-bg.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cancelbutton.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cancelbutton.gif
deleted file mode 100644
index df4bc2c0..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cancelbutton.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/charts.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/charts.png
deleted file mode 100644
index 713965cc..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/charts.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_h.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_h.gif
deleted file mode 100644
index d7c3e7e9..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_h.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_h.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_h.png
deleted file mode 100644
index 2088fc24..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_h.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_v.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_v.gif
deleted file mode 100644
index bb508db5..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_v.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_v.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_v.png
deleted file mode 100644
index 6f39ca3d..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/cursor_v.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/dialog-title-bg.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/dialog-title-bg.png
deleted file mode 100644
index f744f267..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/dialog-title-bg.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/filescan.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/filescan.png
deleted file mode 100644
index 1d271588..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/filescan.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/highlighted.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/highlighted.gif
deleted file mode 100644
index 9272b491..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/highlighted.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons-all.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons-all.gif
deleted file mode 100644
index 21915e59..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons-all.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons.gif
deleted file mode 100644
index 7abd30a1..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons.png
deleted file mode 100644
index c015e3aa..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/icons.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/loaderror.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/loaderror.png
deleted file mode 100644
index 35ff3336..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/loaderror.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/loading.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/loading.gif
deleted file mode 100644
index b713e27d..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/loading.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/lock.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/lock.gif
deleted file mode 100644
index b4e6d782..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/lock.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/neweditor-tab-bg.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/neweditor-tab-bg.png
deleted file mode 100644
index 8f398b09..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/neweditor-tab-bg.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/pagebreak.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/pagebreak.gif
deleted file mode 100644
index 8d1cffd6..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/pagebreak.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/scale.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/scale.png
deleted file mode 100644
index f45adb58..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/scale.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/sortable.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/sortable.png
deleted file mode 100644
index 1bca6496..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/sortable.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/spacer.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/spacer.gif
deleted file mode 100644
index 5bfd67a2..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/spacer.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/sparator_v.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/sparator_v.png
deleted file mode 100644
index 8cf5662d..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/sparator_v.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/table-cell-align.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/table-cell-align.png
deleted file mode 100644
index ddf42853..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/table-cell-align.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/tangram-colorpicker.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/tangram-colorpicker.png
deleted file mode 100644
index 738e500c..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/tangram-colorpicker.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/toolbar_bg.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/toolbar_bg.png
deleted file mode 100644
index 7ab685f4..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/toolbar_bg.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/unhighlighted.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/unhighlighted.gif
deleted file mode 100644
index 7ad0b67a..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/unhighlighted.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/upload.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/upload.png
deleted file mode 100644
index 08d4d926..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/upload.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/videologo.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/videologo.gif
deleted file mode 100644
index 555af741..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/videologo.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/word.gif b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/word.gif
deleted file mode 100644
index 9ef5d09b..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/word.gif and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/wordpaste.png b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/wordpaste.png
deleted file mode 100644
index 93677581..00000000
Binary files a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/default/images/wordpaste.png and /dev/null differ
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/iframe.css b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/iframe.css
deleted file mode 100644
index 774013af..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/themes/iframe.css
+++ /dev/null
@@ -1 +0,0 @@
-/*可以在这里添加你自己的css*/
diff --git a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/third-party/SyntaxHighlighter/shCore.js b/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/third-party/SyntaxHighlighter/shCore.js
deleted file mode 100644
index 32491842..00000000
--- a/public/static/H-ui.admin_v3.1.3.1/H-ui.admin/lib/ueditor/1.4.3/third-party/SyntaxHighlighter/shCore.js
+++ /dev/null
@@ -1,3655 +0,0 @@
-// XRegExp 1.5.1
-// (c) 2007-2012 Steven Levithan
-// MIT License
-//
-// Provides an augmented, extensible, cross-browser implementation of regular expressions,
-// including support for additional syntax, flags, and methods
-
-var XRegExp;
-
-if (XRegExp) {
- // Avoid running twice, since that would break references to native globals
- throw Error("can't load XRegExp twice in the same frame");
-}
-
-// Run within an anonymous function to protect variables and avoid new globals
-(function (undefined) {
-
- //---------------------------------
- // Constructor
- //---------------------------------
-
- // Accepts a pattern and flags; returns a new, extended `RegExp` object. Differs from a native
- // regular expression in that additional syntax and flags are supported and cross-browser
- // syntax inconsistencies are ameliorated. `XRegExp(/regex/)` clones an existing regex and
- // converts to type XRegExp
- XRegExp = function (pattern, flags) {
- var output = [],
- currScope = XRegExp.OUTSIDE_CLASS,
- pos = 0,
- context, tokenResult, match, chr, regex;
-
- if (XRegExp.isRegExp(pattern)) {
- if (flags !== undefined)
- throw TypeError("can't supply flags when constructing one RegExp from another");
- return clone(pattern);
- }
- // Tokens become part of the regex construction process, so protect against infinite
- // recursion when an XRegExp is constructed within a token handler or trigger
- if (isInsideConstructor)
- throw Error("can't call the XRegExp constructor within token definition functions");
-
- flags = flags || "";
- context = { // `this` object for custom tokens
- hasNamedCapture: false,
- captureNames: [],
- hasFlag: function (flag) {return flags.indexOf(flag) > -1;},
- setFlag: function (flag) {flags += flag;}
- };
-
- while (pos < pattern.length) {
- // Check for custom tokens at the current position
- tokenResult = runTokens(pattern, pos, currScope, context);
-
- if (tokenResult) {
- output.push(tokenResult.output);
- pos += (tokenResult.match[0].length || 1);
- } else {
- // Check for native multicharacter metasequences (excluding character classes) at
- // the current position
- if (match = nativ.exec.call(nativeTokens[currScope], pattern.slice(pos))) {
- output.push(match[0]);
- pos += match[0].length;
- } else {
- chr = pattern.charAt(pos);
- if (chr === "[")
- currScope = XRegExp.INSIDE_CLASS;
- else if (chr === "]")
- currScope = XRegExp.OUTSIDE_CLASS;
- // Advance position one character
- output.push(chr);
- pos++;
- }
- }
- }
-
- regex = RegExp(output.join(""), nativ.replace.call(flags, flagClip, ""));
- regex._xregexp = {
- source: pattern,
- captureNames: context.hasNamedCapture ? context.captureNames : null
- };
- return regex;
- };
-
-
- //---------------------------------
- // Public properties
- //---------------------------------
-
- XRegExp.version = "1.5.1";
-
- // Token scope bitflags
- XRegExp.INSIDE_CLASS = 1;
- XRegExp.OUTSIDE_CLASS = 2;
-
-
- //---------------------------------
- // Private variables
- //---------------------------------
-
- var replacementToken = /\$(?:(\d\d?|[$&`'])|{([$\w]+)})/g,
- flagClip = /[^gimy]+|([\s\S])(?=[\s\S]*\1)/g, // Nonnative and duplicate flags
- quantifier = /^(?:[?*+]|{\d+(?:,\d*)?})\??/,
- isInsideConstructor = false,
- tokens = [],
- // Copy native globals for reference ("native" is an ES3 reserved keyword)
- nativ = {
- exec: RegExp.prototype.exec,
- test: RegExp.prototype.test,
- match: String.prototype.match,
- replace: String.prototype.replace,
- split: String.prototype.split
- },
- compliantExecNpcg = nativ.exec.call(/()??/, "")[1] === undefined, // check `exec` handling of nonparticipating capturing groups
- compliantLastIndexIncrement = function () {
- var x = /^/g;
- nativ.test.call(x, "");
- return !x.lastIndex;
- }(),
- hasNativeY = RegExp.prototype.sticky !== undefined,
- nativeTokens = {};
-
- // `nativeTokens` match native multicharacter metasequences only (including deprecated octals,
- // excluding character classes)
- nativeTokens[XRegExp.INSIDE_CLASS] = /^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/;
- nativeTokens[XRegExp.OUTSIDE_CLASS] = /^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??)/;
-
-
- //---------------------------------
- // Public methods
- //---------------------------------
-
- // Lets you extend or change XRegExp syntax and create custom flags. This is used internally by
- // the XRegExp library and can be used to create XRegExp plugins. This function is intended for
- // users with advanced knowledge of JavaScript's regular expression syntax and behavior. It can
- // be disabled by `XRegExp.freezeTokens`
- XRegExp.addToken = function (regex, handler, scope, trigger) {
- tokens.push({
- pattern: clone(regex, "g" + (hasNativeY ? "y" : "")),
- handler: handler,
- scope: scope || XRegExp.OUTSIDE_CLASS,
- trigger: trigger || null
- });
- };
-
- // Accepts a pattern and flags; returns an extended `RegExp` object. If the pattern and flag
- // combination has previously been cached, the cached copy is returned; otherwise the newly
- // created regex is cached
- XRegExp.cache = function (pattern, flags) {
- var key = pattern + "/" + (flags || "");
- return XRegExp.cache[key] || (XRegExp.cache[key] = XRegExp(pattern, flags));
- };
-
- // Accepts a `RegExp` instance; returns a copy with the `/g` flag set. The copy has a fresh
- // `lastIndex` (set to zero). If you want to copy a regex without forcing the `global`
- // property, use `XRegExp(regex)`. Do not use `RegExp(regex)` because it will not preserve
- // special properties required for named capture
- XRegExp.copyAsGlobal = function (regex) {
- return clone(regex, "g");
- };
-
- // Accepts a string; returns the string with regex metacharacters escaped. The returned string
- // can safely be used at any point within a regex to match the provided literal string. Escaped
- // characters are [ ] { } ( ) * + ? - . , \ ^ $ | # and whitespace
- XRegExp.escape = function (str) {
- return str.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
- };
-
- // Accepts a string to search, regex to search with, position to start the search within the
- // string (default: 0), and an optional Boolean indicating whether matches must start at-or-
- // after the position or at the specified position only. This function ignores the `lastIndex`
- // of the provided regex in its own handling, but updates the property for compatibility
- XRegExp.execAt = function (str, regex, pos, anchored) {
- var r2 = clone(regex, "g" + ((anchored && hasNativeY) ? "y" : "")),
- match;
- r2.lastIndex = pos = pos || 0;
- match = r2.exec(str); // Run the altered `exec` (required for `lastIndex` fix, etc.)
- if (anchored && match && match.index !== pos)
- match = null;
- if (regex.global)
- regex.lastIndex = match ? r2.lastIndex : 0;
- return match;
- };
-
- // Breaks the unrestorable link to XRegExp's private list of tokens, thereby preventing
- // syntax and flag changes. Should be run after XRegExp and any plugins are loaded
- XRegExp.freezeTokens = function () {
- XRegExp.addToken = function () {
- throw Error("can't run addToken after freezeTokens");
- };
- };
-
- // Accepts any value; returns a Boolean indicating whether the argument is a `RegExp` object.
- // Note that this is also `true` for regex literals and regexes created by the `XRegExp`
- // constructor. This works correctly for variables created in another frame, when `instanceof`
- // and `constructor` checks would fail to work as intended
- XRegExp.isRegExp = function (o) {
- return Object.prototype.toString.call(o) === "[object RegExp]";
- };
-
- // Executes `callback` once per match within `str`. Provides a simpler and cleaner way to
- // iterate over regex matches compared to the traditional approaches of subverting
- // `String.prototype.replace` or repeatedly calling `exec` within a `while` loop
- XRegExp.iterate = function (str, regex, callback, context) {
- var r2 = clone(regex, "g"),
- i = -1, match;
- while (match = r2.exec(str)) { // Run the altered `exec` (required for `lastIndex` fix, etc.)
- if (regex.global)
- regex.lastIndex = r2.lastIndex; // Doing this to follow expectations if `lastIndex` is checked within `callback`
- callback.call(context, match, ++i, str, regex);
- if (r2.lastIndex === match.index)
- r2.lastIndex++;
- }
- if (regex.global)
- regex.lastIndex = 0;
- };
-
- // Accepts a string and an array of regexes; returns the result of using each successive regex
- // to search within the matches of the previous regex. The array of regexes can also contain
- // objects with `regex` and `backref` properties, in which case the named or numbered back-
- // references specified are passed forward to the next regex or returned. E.g.:
- // var xregexpImgFileNames = XRegExp.matchChain(html, [
- // {regex: / ]+)>/i, backref: 1}, // tag attributes
- // {regex: XRegExp('(?ix) \\s src=" (? [^"]+ )'), backref: "src"}, // src attribute values
- // {regex: XRegExp("^http://xregexp\\.com(/[^#?]+)", "i"), backref: 1}, // xregexp.com paths
- // /[^\/]+$/ // filenames (strip directory paths)
- // ]);
- XRegExp.matchChain = function (str, chain) {
- return function recurseChain (values, level) {
- var item = chain[level].regex ? chain[level] : {regex: chain[level]},
- regex = clone(item.regex, "g"),
- matches = [], i;
- for (i = 0; i < values.length; i++) {
- XRegExp.iterate(values[i], regex, function (match) {
- matches.push(item.backref ? (match[item.backref] || "") : match[0]);
- });
- }
- return ((level === chain.length - 1) || !matches.length) ?
- matches : recurseChain(matches, level + 1);
- }([str], 0);
- };
-
-
- //---------------------------------
- // New RegExp prototype methods
- //---------------------------------
-
- // Accepts a context object and arguments array; returns the result of calling `exec` with the
- // first value in the arguments array. the context is ignored but is accepted for congruity
- // with `Function.prototype.apply`
- RegExp.prototype.apply = function (context, args) {
- return this.exec(args[0]);
- };
-
- // Accepts a context object and string; returns the result of calling `exec` with the provided
- // string. the context is ignored but is accepted for congruity with `Function.prototype.call`
- RegExp.prototype.call = function (context, str) {
- return this.exec(str);
- };
-
-
- //---------------------------------
- // Overriden native methods
- //---------------------------------
-
- // Adds named capture support (with backreferences returned as `result.name`), and fixes two
- // cross-browser issues per ES3:
- // - Captured values for nonparticipating capturing groups should be returned as `undefined`,
- // rather than the empty string.
- // - `lastIndex` should not be incremented after zero-length matches.
- RegExp.prototype.exec = function (str) {
- var match, name, r2, origLastIndex;
- if (!this.global)
- origLastIndex = this.lastIndex;
- match = nativ.exec.apply(this, arguments);
- if (match) {
- // Fix browsers whose `exec` methods don't consistently return `undefined` for
- // nonparticipating capturing groups
- if (!compliantExecNpcg && match.length > 1 && indexOf(match, "") > -1) {
- r2 = RegExp(this.source, nativ.replace.call(getNativeFlags(this), "g", ""));
- // Using `str.slice(match.index)` rather than `match[0]` in case lookahead allowed
- // matching due to characters outside the match
- nativ.replace.call((str + "").slice(match.index), r2, function () {
- for (var i = 1; i < arguments.length - 2; i++) {
- if (arguments[i] === undefined)
- match[i] = undefined;
- }
- });
- }
- // Attach named capture properties
- if (this._xregexp && this._xregexp.captureNames) {
- for (var i = 1; i < match.length; i++) {
- name = this._xregexp.captureNames[i - 1];
- if (name)
- match[name] = match[i];
- }
- }
- // Fix browsers that increment `lastIndex` after zero-length matches
- if (!compliantLastIndexIncrement && this.global && !match[0].length && (this.lastIndex > match.index))
- this.lastIndex--;
- }
- if (!this.global)
- this.lastIndex = origLastIndex; // Fix IE, Opera bug (last tested IE 9.0.5, Opera 11.61 on Windows)
- return match;
- };
-
- // Fix browser bugs in native method
- RegExp.prototype.test = function (str) {
- // Use the native `exec` to skip some processing overhead, even though the altered
- // `exec` would take care of the `lastIndex` fixes
- var match, origLastIndex;
- if (!this.global)
- origLastIndex = this.lastIndex;
- match = nativ.exec.call(this, str);
- // Fix browsers that increment `lastIndex` after zero-length matches
- if (match && !compliantLastIndexIncrement && this.global && !match[0].length && (this.lastIndex > match.index))
- this.lastIndex--;
- if (!this.global)
- this.lastIndex = origLastIndex; // Fix IE, Opera bug (last tested IE 9.0.5, Opera 11.61 on Windows)
- return !!match;
- };
-
- // Adds named capture support and fixes browser bugs in native method
- String.prototype.match = function (regex) {
- if (!XRegExp.isRegExp(regex))
- regex = RegExp(regex); // Native `RegExp`
- if (regex.global) {
- var result = nativ.match.apply(this, arguments);
- regex.lastIndex = 0; // Fix IE bug
- return result;
- }
- return regex.exec(this); // Run the altered `exec`
- };
-
- // Adds support for `${n}` tokens for named and numbered backreferences in replacement text,
- // and provides named backreferences to replacement functions as `arguments[0].name`. Also
- // fixes cross-browser differences in replacement text syntax when performing a replacement
- // using a nonregex search value, and the value of replacement regexes' `lastIndex` property
- // during replacement iterations. Note that this doesn't support SpiderMonkey's proprietary
- // third (`flags`) parameter
- String.prototype.replace = function (search, replacement) {
- var isRegex = XRegExp.isRegExp(search),
- captureNames, result, str, origLastIndex;
-
- // There are too many combinations of search/replacement types/values and browser bugs that
- // preclude passing to native `replace`, so don't try
- //if (...)
- // return nativ.replace.apply(this, arguments);
-
- if (isRegex) {
- if (search._xregexp)
- captureNames = search._xregexp.captureNames; // Array or `null`
- if (!search.global)
- origLastIndex = search.lastIndex;
- } else {
- search = search + ""; // Type conversion
- }
-
- if (Object.prototype.toString.call(replacement) === "[object Function]") {
- result = nativ.replace.call(this + "", search, function () {
- if (captureNames) {
- // Change the `arguments[0]` string primitive to a String object which can store properties
- arguments[0] = new String(arguments[0]);
- // Store named backreferences on `arguments[0]`
- for (var i = 0; i < captureNames.length; i++) {
- if (captureNames[i])
- arguments[0][captureNames[i]] = arguments[i + 1];
- }
- }
- // Update `lastIndex` before calling `replacement` (fix browsers)
- if (isRegex && search.global)
- search.lastIndex = arguments[arguments.length - 2] + arguments[0].length;
- return replacement.apply(null, arguments);
- });
- } else {
- str = this + ""; // Type conversion, so `args[args.length - 1]` will be a string (given nonstring `this`)
- result = nativ.replace.call(str, search, function () {
- var args = arguments; // Keep this function's `arguments` available through closure
- return nativ.replace.call(replacement + "", replacementToken, function ($0, $1, $2) {
- // Numbered backreference (without delimiters) or special variable
- if ($1) {
- switch ($1) {
- case "$": return "$";
- case "&": return args[0];
- case "`": return args[args.length - 1].slice(0, args[args.length - 2]);
- case "'": return args[args.length - 1].slice(args[args.length - 2] + args[0].length);
- // Numbered backreference
- default:
- // What does "$10" mean?
- // - Backreference 10, if 10 or more capturing groups exist
- // - Backreference 1 followed by "0", if 1-9 capturing groups exist
- // - Otherwise, it's the string "$10"
- // Also note:
- // - Backreferences cannot be more than two digits (enforced by `replacementToken`)
- // - "$01" is equivalent to "$1" if a capturing group exists, otherwise it's the string "$01"
- // - There is no "$0" token ("$&" is the entire match)
- var literalNumbers = "";
- $1 = +$1; // Type conversion; drop leading zero
- if (!$1) // `$1` was "0" or "00"
- return $0;
- while ($1 > args.length - 3) {
- literalNumbers = String.prototype.slice.call($1, -1) + literalNumbers;
- $1 = Math.floor($1 / 10); // Drop the last digit
- }
- return ($1 ? args[$1] || "" : "$") + literalNumbers;
- }
- // Named backreference or delimited numbered backreference
- } else {
- // What does "${n}" mean?
- // - Backreference to numbered capture n. Two differences from "$n":
- // - n can be more than two digits
- // - Backreference 0 is allowed, and is the entire match
- // - Backreference to named capture n, if it exists and is not a number overridden by numbered capture
- // - Otherwise, it's the string "${n}"
- var n = +$2; // Type conversion; drop leading zeros
- if (n <= args.length - 3)
- return args[n];
- n = captureNames ? indexOf(captureNames, $2) : -1;
- return n > -1 ? args[n + 1] : $0;
- }
- });
- });
- }
-
- if (isRegex) {
- if (search.global)
- search.lastIndex = 0; // Fix IE, Safari bug (last tested IE 9.0.5, Safari 5.1.2 on Windows)
- else
- search.lastIndex = origLastIndex; // Fix IE, Opera bug (last tested IE 9.0.5, Opera 11.61 on Windows)
- }
-
- return result;
- };
-
- // A consistent cross-browser, ES3 compliant `split`
- String.prototype.split = function (s /* separator */, limit) {
- // If separator `s` is not a regex, use the native `split`
- if (!XRegExp.isRegExp(s))
- return nativ.split.apply(this, arguments);
-
- var str = this + "", // Type conversion
- output = [],
- lastLastIndex = 0,
- match, lastLength;
-
- // Behavior for `limit`: if it's...
- // - `undefined`: No limit
- // - `NaN` or zero: Return an empty array
- // - A positive number: Use `Math.floor(limit)`
- // - A negative number: No limit
- // - Other: Type-convert, then use the above rules
- if (limit === undefined || +limit < 0) {
- limit = Infinity;
- } else {
- limit = Math.floor(+limit);
- if (!limit)
- return [];
- }
-
- // This is required if not `s.global`, and it avoids needing to set `s.lastIndex` to zero
- // and restore it to its original value when we're done using the regex
- s = XRegExp.copyAsGlobal(s);
-
- while (match = s.exec(str)) { // Run the altered `exec` (required for `lastIndex` fix, etc.)
- if (s.lastIndex > lastLastIndex) {
- output.push(str.slice(lastLastIndex, match.index));
-
- if (match.length > 1 && match.index < str.length)
- Array.prototype.push.apply(output, match.slice(1));
-
- lastLength = match[0].length;
- lastLastIndex = s.lastIndex;
-
- if (output.length >= limit)
- break;
- }
-
- if (s.lastIndex === match.index)
- s.lastIndex++;
- }
-
- if (lastLastIndex === str.length) {
- if (!nativ.test.call(s, "") || lastLength)
- output.push("");
- } else {
- output.push(str.slice(lastLastIndex));
- }
-
- return output.length > limit ? output.slice(0, limit) : output;
- };
-
-
- //---------------------------------
- // Private helper functions
- //---------------------------------
-
- // Supporting function for `XRegExp`, `XRegExp.copyAsGlobal`, etc. Returns a copy of a `RegExp`
- // instance with a fresh `lastIndex` (set to zero), preserving properties required for named
- // capture. Also allows adding new flags in the process of copying the regex
- function clone (regex, additionalFlags) {
- if (!XRegExp.isRegExp(regex))
- throw TypeError("type RegExp expected");
- var x = regex._xregexp;
- regex = XRegExp(regex.source, getNativeFlags(regex) + (additionalFlags || ""));
- if (x) {
- regex._xregexp = {
- source: x.source,
- captureNames: x.captureNames ? x.captureNames.slice(0) : null
- };
- }
- return regex;
- }
-
- function getNativeFlags (regex) {
- return (regex.global ? "g" : "") +
- (regex.ignoreCase ? "i" : "") +
- (regex.multiline ? "m" : "") +
- (regex.extended ? "x" : "") + // Proposed for ES4; included in AS3
- (regex.sticky ? "y" : "");
- }
-
- function runTokens (pattern, index, scope, context) {
- var i = tokens.length,
- result, match, t;
- // Protect against constructing XRegExps within token handler and trigger functions
- isInsideConstructor = true;
- // Must reset `isInsideConstructor`, even if a `trigger` or `handler` throws
- try {
- while (i--) { // Run in reverse order
- t = tokens[i];
- if ((scope & t.scope) && (!t.trigger || t.trigger.call(context))) {
- t.pattern.lastIndex = index;
- match = t.pattern.exec(pattern); // Running the altered `exec` here allows use of named backreferences, etc.
- if (match && match.index === index) {
- result = {
- output: t.handler.call(context, match, scope),
- match: match
- };
- break;
- }
- }
- }
- } catch (err) {
- throw err;
- } finally {
- isInsideConstructor = false;
- }
- return result;
- }
-
- function indexOf (array, item, from) {
- if (Array.prototype.indexOf) // Use the native array method if available
- return array.indexOf(item, from);
- for (var i = from || 0; i < array.length; i++) {
- if (array[i] === item)
- return i;
- }
- return -1;
- }
-
-
- //---------------------------------
- // Built-in tokens
- //---------------------------------
-
- // Augment XRegExp's regular expression syntax and flags. Note that when adding tokens, the
- // third (`scope`) argument defaults to `XRegExp.OUTSIDE_CLASS`
-
- // Comment pattern: (?# )
- XRegExp.addToken(
- /\(\?#[^)]*\)/,
- function (match) {
- // Keep tokens separated unless the following token is a quantifier
- return nativ.test.call(quantifier, match.input.slice(match.index + match[0].length)) ? "" : "(?:)";
- }
- );
-
- // Capturing group (match the opening parenthesis only).
- // Required for support of named capturing groups
- XRegExp.addToken(
- /\((?!\?)/,
- function () {
- this.captureNames.push(null);
- return "(";
- }
- );
-
- // Named capturing group (match the opening delimiter only): (?
- XRegExp.addToken(
- /\(\?<([$\w]+)>/,
- function (match) {
- this.captureNames.push(match[1]);
- this.hasNamedCapture = true;
- return "(";
- }
- );
-
- // Named backreference: \k
- XRegExp.addToken(
- /\\k<([\w$]+)>/,
- function (match) {
- var index = indexOf(this.captureNames, match[1]);
- // Keep backreferences separate from subsequent literal numbers. Preserve back-
- // references to named groups that are undefined at this point as literal strings
- return index > -1 ?
- "\\" + (index + 1) + (isNaN(match.input.charAt(match.index + match[0].length)) ? "" : "(?:)") :
- match[0];
- }
- );
-
- // Empty character class: [] or [^]
- XRegExp.addToken(
- /\[\^?]/,
- function (match) {
- // For cross-browser compatibility with ES3, convert [] to \b\B and [^] to [\s\S].
- // (?!) should work like \b\B, but is unreliable in Firefox
- return match[0] === "[]" ? "\\b\\B" : "[\\s\\S]";
- }
- );
-
- // Mode modifier at the start of the pattern only, with any combination of flags imsx: (?imsx)
- // Does not support x(?i), (?-i), (?i-m), (?i: ), (?i)(?m), etc.
- XRegExp.addToken(
- /^\(\?([imsx]+)\)/,
- function (match) {
- this.setFlag(match[1]);
- return "";
- }
- );
-
- // Whitespace and comments, in free-spacing (aka extended) mode only
- XRegExp.addToken(
- /(?:\s+|#.*)+/,
- function (match) {
- // Keep tokens separated unless the following token is a quantifier
- return nativ.test.call(quantifier, match.input.slice(match.index + match[0].length)) ? "" : "(?:)";
- },
- XRegExp.OUTSIDE_CLASS,
- function () {return this.hasFlag("x");}
- );
-
- // Dot, in dotall (aka singleline) mode only
- XRegExp.addToken(
- /\./,
- function () {return "[\\s\\S]";},
- XRegExp.OUTSIDE_CLASS,
- function () {return this.hasFlag("s");}
- );
-
-
- //---------------------------------
- // Backward compatibility
- //---------------------------------
-
- // Uncomment the following block for compatibility with XRegExp 1.0-1.2:
- /*
- XRegExp.matchWithinChain = XRegExp.matchChain;
- RegExp.prototype.addFlags = function (s) {return clone(this, s);};
- RegExp.prototype.execAll = function (s) {var r = []; XRegExp.iterate(s, this, function (m) {r.push(m);}); return r;};
- RegExp.prototype.forEachExec = function (s, f, c) {return XRegExp.iterate(s, this, f, c);};
- RegExp.prototype.validate = function (s) {var r = RegExp("^(?:" + this.source + ")$(?!\\s)", getNativeFlags(this)); if (this.global) this.lastIndex = 0; return s.search(r) === 0;};
- */
-
-})();
-
-//
-// Begin anonymous function. This is used to contain local scope variables without polutting global scope.
-//
-if (typeof(SyntaxHighlighter) == 'undefined') var SyntaxHighlighter = function() {
-
-// CommonJS
- if (typeof(require) != 'undefined' && typeof(XRegExp) == 'undefined')
- {
- XRegExp = require('XRegExp').XRegExp;
- }
-
-// Shortcut object which will be assigned to the SyntaxHighlighter variable.
-// This is a shorthand for local reference in order to avoid long namespace
-// references to SyntaxHighlighter.whatever...
- var sh = {
- defaults : {
- /** Additional CSS class names to be added to highlighter elements. */
- 'class-name' : '',
-
- /** First line number. */
- 'first-line' : 1,
-
- /**
- * Pads line numbers. Possible values are:
- *
- * false - don't pad line numbers.
- * true - automaticaly pad numbers with minimum required number of leading zeroes.
- * [int] - length up to which pad line numbers.
- */
- 'pad-line-numbers' : false,
-
- /** Lines to highlight. */
- 'highlight' : false,
-
- /** Title to be displayed above the code block. */
- 'title' : null,
-
- /** Enables or disables smart tabs. */
- 'smart-tabs' : true,
-
- /** Gets or sets tab size. */
- 'tab-size' : 4,
-
- /** Enables or disables gutter. */
- 'gutter' : true,
-
- /** Enables or disables toolbar. */
- 'toolbar' : true,
-
- /** Enables quick code copy and paste from double click. */
- 'quick-code' : true,
-
- /** Forces code view to be collapsed. */
- 'collapse' : false,
-
- /** Enables or disables automatic links. */
- 'auto-links' : false,
-
- /** Gets or sets light mode. Equavalent to turning off gutter and toolbar. */
- 'light' : false,
-
- 'unindent' : true,
-
- 'html-script' : false
- },
-
- config : {
- space : ' ',
-
- /** Enables use of tags. */
- useScriptTags : true,
-
- /** Blogger mode flag. */
- bloggerMode : false,
-
- stripBrs : false,
-
- /** Name of the tag that SyntaxHighlighter will automatically look for. */
- tagName : 'pre',
-
- strings : {
- expandSource : 'expand source',
- help : '?',
- alert: 'SyntaxHighlighter\n\n',
- noBrush : 'Can\'t find brush for: ',
- brushNotHtmlScript : 'Brush wasn\'t configured for html-script option: ',
-
- // this is populated by the build script
- aboutDialog : '@ABOUT@'
- }
- },
-
- /** Internal 'global' variables. */
- vars : {
- discoveredBrushes : null,
- highlighters : {}
- },
-
- /** This object is populated by user included external brush files. */
- brushes : {},
-
- /** Common regular expressions. */
- regexLib : {
- multiLineCComments : /\/\*[\s\S]*?\*\//gm,
- singleLineCComments : /\/\/.*$/gm,
- singleLinePerlComments : /#.*$/gm,
- doubleQuotedString : /"([^\\"\n]|\\.)*"/g,
- singleQuotedString : /'([^\\'\n]|\\.)*'/g,
- multiLineDoubleQuotedString : new XRegExp('"([^\\\\"]|\\\\.)*"', 'gs'),
- multiLineSingleQuotedString : new XRegExp("'([^\\\\']|\\\\.)*'", 'gs'),
- xmlComments : /(<|<)!--[\s\S]*?--(>|>)/gm,
- url : /\w+:\/\/[\w-.\/?%&=:@;#]*/g,
-
- /** = ?> tags. */
- phpScriptTags : { left: /(<|<)\?(?:=|php)?/g, right: /\?(>|>)/g, 'eof' : true },
-
- /** <%= %> tags. */
- aspScriptTags : { left: /(<|<)%=?/g, right: /%(>|>)/g },
-
- /**
- *