From e384b8dfead8c0830fa514e2ba769c53fe392984 Mon Sep 17 00:00:00 2001 From: zhangwei <1094660626@qq.com> Date: Sun, 20 Jan 2019 15:34:13 +0800 Subject: [PATCH] data --- build/webpack.dev.conf.js | 2 +- build/webpack.prod.conf.js | 2 +- config/dev.env.js | 2 +- config/prod.env.js | 2 +- index.html | 2 +- package.json | 5 + static/img/1000019.gif | Bin 0 -> 12071 bytes static/ueditor/dialogs/anchor/anchor.html | 40 + .../ueditor/dialogs/attachment/attachment.css | 681 + .../dialogs/attachment/attachment.html | 60 + .../ueditor/dialogs/attachment/attachment.js | 762 + .../attachment/fileTypeImages/icon_chm.gif | Bin 0 -> 923 bytes .../fileTypeImages/icon_default.png | Bin 0 -> 841 bytes .../attachment/fileTypeImages/icon_doc.gif | Bin 0 -> 1012 bytes .../attachment/fileTypeImages/icon_exe.gif | Bin 0 -> 949 bytes .../attachment/fileTypeImages/icon_jpg.gif | Bin 0 -> 950 bytes .../attachment/fileTypeImages/icon_mp3.gif | Bin 0 -> 986 bytes .../attachment/fileTypeImages/icon_mv.gif | Bin 0 -> 1001 bytes .../attachment/fileTypeImages/icon_pdf.gif | Bin 0 -> 996 bytes .../attachment/fileTypeImages/icon_ppt.gif | Bin 0 -> 1001 bytes .../attachment/fileTypeImages/icon_psd.gif | Bin 0 -> 1009 bytes .../attachment/fileTypeImages/icon_rar.gif | Bin 0 -> 1007 bytes .../attachment/fileTypeImages/icon_txt.gif | Bin 0 -> 970 bytes .../attachment/fileTypeImages/icon_xls.gif | Bin 0 -> 1005 bytes .../dialogs/attachment/images/alignicon.gif | Bin 0 -> 1051 bytes .../dialogs/attachment/images/alignicon.png | Bin 0 -> 3714 bytes .../ueditor/dialogs/attachment/images/bg.png | Bin 0 -> 2810 bytes .../dialogs/attachment/images/file-icons.gif | Bin 0 -> 20097 bytes .../dialogs/attachment/images/file-icons.png | Bin 0 -> 44070 bytes .../dialogs/attachment/images/icons.gif | Bin 0 -> 453 bytes .../dialogs/attachment/images/icons.png | Bin 0 -> 2678 bytes .../dialogs/attachment/images/image.png | Bin 0 -> 1672 bytes .../dialogs/attachment/images/progress.png | Bin 0 -> 1269 bytes .../dialogs/attachment/images/success.gif | Bin 0 -> 445 bytes .../dialogs/attachment/images/success.png | Bin 0 -> 1621 bytes .../ueditor/dialogs/background/background.css | 94 + .../dialogs/background/background.html | 56 + .../ueditor/dialogs/background/background.js | 376 + .../ueditor/dialogs/background/images/bg.png | Bin 0 -> 2810 bytes .../dialogs/background/images/success.png | Bin 0 -> 1621 bytes static/ueditor/dialogs/charts/chart.config.js | 65 + static/ueditor/dialogs/charts/charts.css | 165 + static/ueditor/dialogs/charts/charts.html | 89 + static/ueditor/dialogs/charts/charts.js | 519 + .../ueditor/dialogs/charts/images/charts0.png | Bin 0 -> 25306 bytes .../ueditor/dialogs/charts/images/charts1.png | Bin 0 -> 19263 bytes .../ueditor/dialogs/charts/images/charts2.png | Bin 0 -> 23016 bytes .../ueditor/dialogs/charts/images/charts3.png | Bin 0 -> 7823 bytes .../ueditor/dialogs/charts/images/charts4.png | Bin 0 -> 8344 bytes .../ueditor/dialogs/charts/images/charts5.png | Bin 0 -> 47084 bytes static/ueditor/dialogs/emotion/emotion.css | 43 + static/ueditor/dialogs/emotion/emotion.html | 54 + static/ueditor/dialogs/emotion/emotion.js | 186 + static/ueditor/dialogs/emotion/images/0.gif | Bin 0 -> 43 bytes .../ueditor/dialogs/emotion/images/bface.gif | Bin 0 -> 27167 bytes .../ueditor/dialogs/emotion/images/cface.gif | Bin 0 -> 8603 bytes .../ueditor/dialogs/emotion/images/fface.gif | Bin 0 -> 18479 bytes .../dialogs/emotion/images/jxface2.gif | Bin 0 -> 40706 bytes .../emotion/images/neweditor-tab-bg.png | Bin 0 -> 216 bytes .../ueditor/dialogs/emotion/images/tface.gif | Bin 0 -> 19805 bytes .../ueditor/dialogs/emotion/images/wface.gif | Bin 0 -> 49850 bytes .../ueditor/dialogs/emotion/images/yface.gif | Bin 0 -> 28409 bytes static/ueditor/dialogs/gmap/gmap.html | 89 + static/ueditor/dialogs/help/help.css | 7 + static/ueditor/dialogs/help/help.html | 82 + static/ueditor/dialogs/help/help.js | 56 + static/ueditor/dialogs/image/image.css | 894 + static/ueditor/dialogs/image/image.html | 120 + static/ueditor/dialogs/image/image.js | 1148 + .../dialogs/image/images/alignicon.jpg | Bin 0 -> 16101 bytes static/ueditor/dialogs/image/images/bg.png | Bin 0 -> 2810 bytes static/ueditor/dialogs/image/images/icons.gif | Bin 0 -> 453 bytes static/ueditor/dialogs/image/images/icons.png | Bin 0 -> 2678 bytes static/ueditor/dialogs/image/images/image.png | Bin 0 -> 1672 bytes .../ueditor/dialogs/image/images/progress.png | Bin 0 -> 1269 bytes .../ueditor/dialogs/image/images/success.gif | Bin 0 -> 445 bytes .../ueditor/dialogs/image/images/success.png | Bin 0 -> 1621 bytes .../dialogs/insertframe/insertframe.html | 98 + static/ueditor/dialogs/internal.js | 81 + static/ueditor/dialogs/link/link.html | 126 + static/ueditor/dialogs/map/map.html | 135 + static/ueditor/dialogs/map/show.html | 118 + static/ueditor/dialogs/music/music.css | 30 + static/ueditor/dialogs/music/music.html | 32 + static/ueditor/dialogs/music/music.js | 192 + static/ueditor/dialogs/preview/preview.html | 40 + .../ueditor/dialogs/scrawl/images/addimg.png | Bin 0 -> 628 bytes .../ueditor/dialogs/scrawl/images/brush.png | Bin 0 -> 608 bytes .../ueditor/dialogs/scrawl/images/delimg.png | Bin 0 -> 516 bytes .../ueditor/dialogs/scrawl/images/delimgH.png | Bin 0 -> 578 bytes .../ueditor/dialogs/scrawl/images/empty.png | Bin 0 -> 519 bytes .../ueditor/dialogs/scrawl/images/emptyH.png | Bin 0 -> 657 bytes .../ueditor/dialogs/scrawl/images/eraser.png | Bin 0 -> 43271 bytes static/ueditor/dialogs/scrawl/images/redo.png | Bin 0 -> 454 bytes .../ueditor/dialogs/scrawl/images/redoH.png | Bin 0 -> 536 bytes .../ueditor/dialogs/scrawl/images/scale.png | Bin 0 -> 435 bytes .../ueditor/dialogs/scrawl/images/scaleH.png | Bin 0 -> 330 bytes static/ueditor/dialogs/scrawl/images/size.png | Bin 0 -> 775 bytes static/ueditor/dialogs/scrawl/images/undo.png | Bin 0 -> 444 bytes .../ueditor/dialogs/scrawl/images/undoH.png | Bin 0 -> 511 bytes static/ueditor/dialogs/scrawl/scrawl.css | 72 + static/ueditor/dialogs/scrawl/scrawl.html | 95 + static/ueditor/dialogs/scrawl/scrawl.js | 671 + .../dialogs/searchreplace/searchreplace.html | 102 + .../dialogs/searchreplace/searchreplace.js | 164 + .../dialogs/snapscreen/snapscreen.html | 58 + static/ueditor/dialogs/spechars/spechars.html | 21 + static/ueditor/dialogs/spechars/spechars.js | 57 + static/ueditor/dialogs/table/dragicon.png | Bin 0 -> 304 bytes static/ueditor/dialogs/table/edittable.css | 84 + static/ueditor/dialogs/table/edittable.html | 64 + static/ueditor/dialogs/table/edittable.js | 237 + static/ueditor/dialogs/table/edittd.html | 61 + static/ueditor/dialogs/table/edittip.html | 33 + static/ueditor/dialogs/template/config.js | 42 + static/ueditor/dialogs/template/images/bg.gif | Bin 0 -> 84 bytes .../ueditor/dialogs/template/images/pre0.png | Bin 0 -> 250 bytes .../ueditor/dialogs/template/images/pre1.png | Bin 0 -> 291 bytes .../ueditor/dialogs/template/images/pre2.png | Bin 0 -> 394 bytes .../ueditor/dialogs/template/images/pre3.png | Bin 0 -> 485 bytes .../ueditor/dialogs/template/images/pre4.png | Bin 0 -> 393 bytes static/ueditor/dialogs/template/template.css | 18 + static/ueditor/dialogs/template/template.html | 26 + static/ueditor/dialogs/template/template.js | 53 + static/ueditor/dialogs/video/images/bg.png | Bin 0 -> 2810 bytes .../dialogs/video/images/center_focus.jpg | Bin 0 -> 11795 bytes .../dialogs/video/images/file-icons.gif | Bin 0 -> 20097 bytes .../dialogs/video/images/file-icons.png | Bin 0 -> 44070 bytes static/ueditor/dialogs/video/images/icons.gif | Bin 0 -> 453 bytes static/ueditor/dialogs/video/images/icons.png | Bin 0 -> 2678 bytes static/ueditor/dialogs/video/images/image.png | Bin 0 -> 1672 bytes .../dialogs/video/images/left_focus.jpg | Bin 0 -> 11423 bytes .../dialogs/video/images/none_focus.jpg | Bin 0 -> 11546 bytes .../ueditor/dialogs/video/images/progress.png | Bin 0 -> 1269 bytes .../dialogs/video/images/right_focus.jpg | Bin 0 -> 11334 bytes .../ueditor/dialogs/video/images/success.gif | Bin 0 -> 445 bytes .../ueditor/dialogs/video/images/success.png | Bin 0 -> 1621 bytes static/ueditor/dialogs/video/video.css | 635 + static/ueditor/dialogs/video/video.html | 86 + static/ueditor/dialogs/video/video.js | 797 + static/ueditor/dialogs/webapp/webapp.html | 53 + .../dialogs/wordimage/fClipboard_ueditor.swf | Bin 0 -> 1908 bytes .../dialogs/wordimage/imageUploader.swf | Bin 0 -> 62857 bytes static/ueditor/dialogs/wordimage/tangram.js | 1495 + .../ueditor/dialogs/wordimage/wordimage.html | 111 + static/ueditor/dialogs/wordimage/wordimage.js | 157 + static/ueditor/index.html | 175 + static/ueditor/jsp/config.json | 94 + static/ueditor/jsp/controller.jsp | 14 + static/ueditor/jsp/lib/commons-codec-1.9.jar | Bin 0 -> 263965 bytes .../jsp/lib/commons-fileupload-1.3.1.jar | Bin 0 -> 69002 bytes static/ueditor/jsp/lib/commons-io-2.4.jar | Bin 0 -> 185140 bytes static/ueditor/jsp/lib/json.jar | Bin 0 -> 46252 bytes static/ueditor/jsp/lib/ueditor-1.1.2.jar | Bin 0 -> 30725 bytes static/ueditor/lang/en/en.js | 684 + static/ueditor/lang/en/images/addimage.png | Bin 0 -> 3373 bytes .../lang/en/images/alldeletebtnhoverskin.png | Bin 0 -> 743 bytes .../lang/en/images/alldeletebtnupskin.png | Bin 0 -> 743 bytes static/ueditor/lang/en/images/background.png | Bin 0 -> 3854 bytes static/ueditor/lang/en/images/button.png | Bin 0 -> 4929 bytes static/ueditor/lang/en/images/copy.png | Bin 0 -> 1222 bytes .../ueditor/lang/en/images/deletedisable.png | Bin 0 -> 649 bytes .../ueditor/lang/en/images/deleteenable.png | Bin 0 -> 664 bytes .../ueditor/lang/en/images/listbackground.png | Bin 0 -> 3750 bytes static/ueditor/lang/en/images/localimage.png | Bin 0 -> 3083 bytes static/ueditor/lang/en/images/music.png | Bin 0 -> 91561 bytes .../lang/en/images/rotateleftdisable.png | Bin 0 -> 719 bytes .../lang/en/images/rotateleftenable.png | Bin 0 -> 952 bytes .../lang/en/images/rotaterightdisable.png | Bin 0 -> 754 bytes .../lang/en/images/rotaterightenable.png | Bin 0 -> 1007 bytes static/ueditor/lang/en/images/upload.png | Bin 0 -> 3941 bytes static/ueditor/lang/zh-cn/images/copy.png | Bin 0 -> 4319 bytes .../ueditor/lang/zh-cn/images/localimage.png | Bin 0 -> 6979 bytes static/ueditor/lang/zh-cn/images/music.png | Bin 0 -> 23106 bytes static/ueditor/lang/zh-cn/images/upload.png | Bin 0 -> 6608 bytes static/ueditor/lang/zh-cn/zh-cn.js | 669 + static/ueditor/themes/default/css/ueditor.css | 1903 + .../themes/default/css/ueditor.min.css | 8 + static/ueditor/themes/default/dialogbase.css | 100 + .../ueditor/themes/default/images/anchor.gif | Bin 0 -> 184 bytes .../ueditor/themes/default/images/arrow.png | Bin 0 -> 1173 bytes .../themes/default/images/arrow_down.png | Bin 0 -> 1610 bytes .../themes/default/images/arrow_up.png | Bin 0 -> 1649 bytes .../themes/default/images/button-bg.gif | Bin 0 -> 1114 bytes .../themes/default/images/cancelbutton.gif | Bin 0 -> 1227 bytes .../ueditor/themes/default/images/charts.png | Bin 0 -> 518 bytes .../themes/default/images/cursor_h.gif | Bin 0 -> 253 bytes .../themes/default/images/cursor_h.png | Bin 0 -> 175 bytes .../themes/default/images/cursor_v.gif | Bin 0 -> 370 bytes .../themes/default/images/cursor_v.png | Bin 0 -> 177 bytes .../themes/default/images/dialog-title-bg.png | Bin 0 -> 938 bytes .../themes/default/images/filescan.png | Bin 0 -> 4282 bytes .../themes/default/images/highlighted.gif | Bin 0 -> 111 bytes .../themes/default/images/icons-all.gif | Bin 0 -> 3750 bytes .../ueditor/themes/default/images/icons.gif | Bin 0 -> 20947 bytes .../ueditor/themes/default/images/icons.png | Bin 0 -> 19694 bytes .../themes/default/images/loaderror.png | Bin 0 -> 3209 bytes .../ueditor/themes/default/images/loading.gif | Bin 0 -> 734 bytes static/ueditor/themes/default/images/lock.gif | Bin 0 -> 1062 bytes .../default/images/neweditor-tab-bg.png | Bin 0 -> 216 bytes .../themes/default/images/pagebreak.gif | Bin 0 -> 54 bytes .../ueditor/themes/default/images/scale.png | Bin 0 -> 167 bytes .../themes/default/images/sortable.png | Bin 0 -> 2851 bytes .../ueditor/themes/default/images/spacer.gif | Bin 0 -> 43 bytes .../themes/default/images/sparator_v.png | Bin 0 -> 122 bytes .../default/images/table-cell-align.png | Bin 0 -> 1847 bytes .../default/images/tangram-colorpicker.png | Bin 0 -> 17355 bytes .../themes/default/images/toolbar_bg.png | Bin 0 -> 170 bytes .../themes/default/images/unhighlighted.gif | Bin 0 -> 111 bytes .../ueditor/themes/default/images/upload.png | Bin 0 -> 6608 bytes .../themes/default/images/videologo.gif | Bin 0 -> 1604 bytes static/ueditor/themes/default/images/word.gif | Bin 0 -> 1019 bytes .../themes/default/images/wordpaste.png | Bin 0 -> 6467 bytes static/ueditor/themes/iframe.css | 1 + .../third-party/SyntaxHighlighter/shCore.js | 3655 ++ .../SyntaxHighlighter/shCoreDefault.css | 1 + .../third-party/codemirror/codemirror.css | 104 + .../third-party/codemirror/codemirror.js | 3581 ++ .../highcharts/adapters/mootools-adapter.js | 13 + .../adapters/mootools-adapter.src.js | 313 + .../highcharts/adapters/prototype-adapter.js | 15 + .../adapters/prototype-adapter.src.js | 316 + .../adapters/standalone-framework.js | 17 + .../adapters/standalone-framework.src.js | 583 + .../third-party/highcharts/highcharts-more.js | 50 + .../highcharts/highcharts-more.src.js | 2430 ++ .../third-party/highcharts/highcharts.js | 283 + .../third-party/highcharts/highcharts.src.js | 16974 +++++++++ .../highcharts/modules/annotations.js | 7 + .../highcharts/modules/annotations.src.js | 401 + .../highcharts/modules/canvas-tools.js | 133 + .../highcharts/modules/canvas-tools.src.js | 3113 ++ .../third-party/highcharts/modules/data.js | 17 + .../highcharts/modules/data.src.js | 582 + .../highcharts/modules/drilldown.js | 11 + .../highcharts/modules/drilldown.src.js | 447 + .../highcharts/modules/exporting.js | 22 + .../highcharts/modules/exporting.src.js | 709 + .../third-party/highcharts/modules/funnel.js | 12 + .../highcharts/modules/funnel.src.js | 289 + .../third-party/highcharts/modules/heatmap.js | 1 + .../highcharts/modules/heatmap.src.js | 53 + .../third-party/highcharts/modules/map.js | 27 + .../third-party/highcharts/modules/map.src.js | 1002 + .../highcharts/modules/no-data-to-display.js | 12 + .../modules/no-data-to-display.src.js | 128 + .../highcharts/themes/dark-blue.js | 254 + .../highcharts/themes/dark-green.js | 255 + .../third-party/highcharts/themes/gray.js | 257 + .../third-party/highcharts/themes/grid.js | 103 + .../third-party/highcharts/themes/skies.js | 89 + static/ueditor/third-party/jquery-1.10.2.js | 9789 +++++ .../ueditor/third-party/jquery-1.10.2.min.js | 6 + .../ueditor/third-party/jquery-1.10.2.min.map | 1 + .../snapscreen/UEditorSnapscreen.exe | Bin 0 -> 519936 bytes .../ueditor/third-party/video-js/font/vjs.eot | Bin 0 -> 3536 bytes .../ueditor/third-party/video-js/font/vjs.svg | 65 + .../ueditor/third-party/video-js/font/vjs.ttf | Bin 0 -> 3372 bytes .../third-party/video-js/font/vjs.woff | Bin 0 -> 4228 bytes .../ueditor/third-party/video-js/video-js.css | 766 + .../third-party/video-js/video-js.min.css | 5 + .../ueditor/third-party/video-js/video-js.swf | Bin 0 -> 16745 bytes .../ueditor/third-party/video-js/video.dev.js | 7106 ++++ static/ueditor/third-party/video-js/video.js | 129 + .../third-party/webuploader/Uploader.swf | Bin 0 -> 49382 bytes .../third-party/webuploader/webuploader.css | 28 + .../webuploader/webuploader.custom.js | 5670 +++ .../webuploader/webuploader.custom.min.js | 2 + .../webuploader/webuploader.flashonly.js | 4176 +++ .../webuploader/webuploader.flashonly.min.js | 2 + .../webuploader/webuploader.html5only.js | 5559 +++ .../webuploader/webuploader.html5only.min.js | 2 + .../third-party/webuploader/webuploader.js | 6732 ++++ .../webuploader/webuploader.min.js | 2 + .../webuploader/webuploader.withoutimage.js | 4593 +++ .../webuploader.withoutimage.min.js | 2 + static/ueditor/third-party/xss.min.js | 1 + .../zeroclipboard/ZeroClipboard.js | 1256 + .../zeroclipboard/ZeroClipboard.min.js | 9 + .../zeroclipboard/ZeroClipboard.swf | Bin 0 -> 3933 bytes static/ueditor/ueditor.all.js | 29607 ++++++++++++++++ static/ueditor/ueditor.all.min.js | 18 + static/ueditor/ueditor.config.js | 481 + static/ueditor/ueditor.parse.js | 1022 + static/ueditor/ueditor.parse.min.js | 7 + 285 files changed, 128583 insertions(+), 5 deletions(-) create mode 100644 static/img/1000019.gif create mode 100644 static/ueditor/dialogs/anchor/anchor.html create mode 100644 static/ueditor/dialogs/attachment/attachment.css create mode 100644 static/ueditor/dialogs/attachment/attachment.html create mode 100644 static/ueditor/dialogs/attachment/attachment.js create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_default.png create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif create mode 100644 static/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif create mode 100644 static/ueditor/dialogs/attachment/images/alignicon.gif create mode 100644 static/ueditor/dialogs/attachment/images/alignicon.png create mode 100644 static/ueditor/dialogs/attachment/images/bg.png create mode 100644 static/ueditor/dialogs/attachment/images/file-icons.gif create mode 100644 static/ueditor/dialogs/attachment/images/file-icons.png create mode 100644 static/ueditor/dialogs/attachment/images/icons.gif create mode 100644 static/ueditor/dialogs/attachment/images/icons.png create mode 100644 static/ueditor/dialogs/attachment/images/image.png create mode 100644 static/ueditor/dialogs/attachment/images/progress.png create mode 100644 static/ueditor/dialogs/attachment/images/success.gif create mode 100644 static/ueditor/dialogs/attachment/images/success.png create mode 100644 static/ueditor/dialogs/background/background.css create mode 100644 static/ueditor/dialogs/background/background.html create mode 100644 static/ueditor/dialogs/background/background.js create mode 100644 static/ueditor/dialogs/background/images/bg.png create mode 100644 static/ueditor/dialogs/background/images/success.png create mode 100644 static/ueditor/dialogs/charts/chart.config.js create mode 100644 static/ueditor/dialogs/charts/charts.css create mode 100644 static/ueditor/dialogs/charts/charts.html create mode 100644 static/ueditor/dialogs/charts/charts.js create mode 100644 static/ueditor/dialogs/charts/images/charts0.png create mode 100644 static/ueditor/dialogs/charts/images/charts1.png create mode 100644 static/ueditor/dialogs/charts/images/charts2.png create mode 100644 static/ueditor/dialogs/charts/images/charts3.png create mode 100644 static/ueditor/dialogs/charts/images/charts4.png create mode 100644 static/ueditor/dialogs/charts/images/charts5.png create mode 100644 static/ueditor/dialogs/emotion/emotion.css create mode 100644 static/ueditor/dialogs/emotion/emotion.html create mode 100644 static/ueditor/dialogs/emotion/emotion.js create mode 100644 static/ueditor/dialogs/emotion/images/0.gif create mode 100644 static/ueditor/dialogs/emotion/images/bface.gif create mode 100644 static/ueditor/dialogs/emotion/images/cface.gif create mode 100644 static/ueditor/dialogs/emotion/images/fface.gif create mode 100644 static/ueditor/dialogs/emotion/images/jxface2.gif create mode 100644 static/ueditor/dialogs/emotion/images/neweditor-tab-bg.png create mode 100644 static/ueditor/dialogs/emotion/images/tface.gif create mode 100644 static/ueditor/dialogs/emotion/images/wface.gif create mode 100644 static/ueditor/dialogs/emotion/images/yface.gif create mode 100644 static/ueditor/dialogs/gmap/gmap.html create mode 100644 static/ueditor/dialogs/help/help.css create mode 100644 static/ueditor/dialogs/help/help.html create mode 100644 static/ueditor/dialogs/help/help.js create mode 100644 static/ueditor/dialogs/image/image.css create mode 100644 static/ueditor/dialogs/image/image.html create mode 100644 static/ueditor/dialogs/image/image.js create mode 100644 static/ueditor/dialogs/image/images/alignicon.jpg create mode 100644 static/ueditor/dialogs/image/images/bg.png create mode 100644 static/ueditor/dialogs/image/images/icons.gif create mode 100644 static/ueditor/dialogs/image/images/icons.png create mode 100644 static/ueditor/dialogs/image/images/image.png create mode 100644 static/ueditor/dialogs/image/images/progress.png create mode 100644 static/ueditor/dialogs/image/images/success.gif create mode 100644 static/ueditor/dialogs/image/images/success.png create mode 100644 static/ueditor/dialogs/insertframe/insertframe.html create mode 100644 static/ueditor/dialogs/internal.js create mode 100644 static/ueditor/dialogs/link/link.html create mode 100644 static/ueditor/dialogs/map/map.html create mode 100644 static/ueditor/dialogs/map/show.html create mode 100644 static/ueditor/dialogs/music/music.css create mode 100644 static/ueditor/dialogs/music/music.html create mode 100644 static/ueditor/dialogs/music/music.js create mode 100644 static/ueditor/dialogs/preview/preview.html create mode 100644 static/ueditor/dialogs/scrawl/images/addimg.png create mode 100644 static/ueditor/dialogs/scrawl/images/brush.png create mode 100644 static/ueditor/dialogs/scrawl/images/delimg.png create mode 100644 static/ueditor/dialogs/scrawl/images/delimgH.png create mode 100644 static/ueditor/dialogs/scrawl/images/empty.png create mode 100644 static/ueditor/dialogs/scrawl/images/emptyH.png create mode 100644 static/ueditor/dialogs/scrawl/images/eraser.png create mode 100644 static/ueditor/dialogs/scrawl/images/redo.png create mode 100644 static/ueditor/dialogs/scrawl/images/redoH.png create mode 100644 static/ueditor/dialogs/scrawl/images/scale.png create mode 100644 static/ueditor/dialogs/scrawl/images/scaleH.png create mode 100644 static/ueditor/dialogs/scrawl/images/size.png create mode 100644 static/ueditor/dialogs/scrawl/images/undo.png create mode 100644 static/ueditor/dialogs/scrawl/images/undoH.png create mode 100644 static/ueditor/dialogs/scrawl/scrawl.css create mode 100644 static/ueditor/dialogs/scrawl/scrawl.html create mode 100644 static/ueditor/dialogs/scrawl/scrawl.js create mode 100644 static/ueditor/dialogs/searchreplace/searchreplace.html create mode 100644 static/ueditor/dialogs/searchreplace/searchreplace.js create mode 100644 static/ueditor/dialogs/snapscreen/snapscreen.html create mode 100644 static/ueditor/dialogs/spechars/spechars.html create mode 100644 static/ueditor/dialogs/spechars/spechars.js create mode 100644 static/ueditor/dialogs/table/dragicon.png create mode 100644 static/ueditor/dialogs/table/edittable.css create mode 100644 static/ueditor/dialogs/table/edittable.html create mode 100644 static/ueditor/dialogs/table/edittable.js create mode 100644 static/ueditor/dialogs/table/edittd.html create mode 100644 static/ueditor/dialogs/table/edittip.html create mode 100644 static/ueditor/dialogs/template/config.js create mode 100644 static/ueditor/dialogs/template/images/bg.gif create mode 100644 static/ueditor/dialogs/template/images/pre0.png create mode 100644 static/ueditor/dialogs/template/images/pre1.png create mode 100644 static/ueditor/dialogs/template/images/pre2.png create mode 100644 static/ueditor/dialogs/template/images/pre3.png create mode 100644 static/ueditor/dialogs/template/images/pre4.png create mode 100644 static/ueditor/dialogs/template/template.css create mode 100644 static/ueditor/dialogs/template/template.html create mode 100644 static/ueditor/dialogs/template/template.js create mode 100644 static/ueditor/dialogs/video/images/bg.png create mode 100644 static/ueditor/dialogs/video/images/center_focus.jpg create mode 100644 static/ueditor/dialogs/video/images/file-icons.gif create mode 100644 static/ueditor/dialogs/video/images/file-icons.png create mode 100644 static/ueditor/dialogs/video/images/icons.gif create mode 100644 static/ueditor/dialogs/video/images/icons.png create mode 100644 static/ueditor/dialogs/video/images/image.png create mode 100644 static/ueditor/dialogs/video/images/left_focus.jpg create mode 100644 static/ueditor/dialogs/video/images/none_focus.jpg create mode 100644 static/ueditor/dialogs/video/images/progress.png create mode 100644 static/ueditor/dialogs/video/images/right_focus.jpg create mode 100644 static/ueditor/dialogs/video/images/success.gif create mode 100644 static/ueditor/dialogs/video/images/success.png create mode 100644 static/ueditor/dialogs/video/video.css create mode 100644 static/ueditor/dialogs/video/video.html create mode 100644 static/ueditor/dialogs/video/video.js create mode 100644 static/ueditor/dialogs/webapp/webapp.html create mode 100644 static/ueditor/dialogs/wordimage/fClipboard_ueditor.swf create mode 100644 static/ueditor/dialogs/wordimage/imageUploader.swf create mode 100644 static/ueditor/dialogs/wordimage/tangram.js create mode 100644 static/ueditor/dialogs/wordimage/wordimage.html create mode 100644 static/ueditor/dialogs/wordimage/wordimage.js create mode 100644 static/ueditor/index.html create mode 100644 static/ueditor/jsp/config.json create mode 100644 static/ueditor/jsp/controller.jsp create mode 100644 static/ueditor/jsp/lib/commons-codec-1.9.jar create mode 100644 static/ueditor/jsp/lib/commons-fileupload-1.3.1.jar create mode 100644 static/ueditor/jsp/lib/commons-io-2.4.jar create mode 100644 static/ueditor/jsp/lib/json.jar create mode 100644 static/ueditor/jsp/lib/ueditor-1.1.2.jar create mode 100644 static/ueditor/lang/en/en.js create mode 100644 static/ueditor/lang/en/images/addimage.png create mode 100644 static/ueditor/lang/en/images/alldeletebtnhoverskin.png create mode 100644 static/ueditor/lang/en/images/alldeletebtnupskin.png create mode 100644 static/ueditor/lang/en/images/background.png create mode 100644 static/ueditor/lang/en/images/button.png create mode 100644 static/ueditor/lang/en/images/copy.png create mode 100644 static/ueditor/lang/en/images/deletedisable.png create mode 100644 static/ueditor/lang/en/images/deleteenable.png create mode 100644 static/ueditor/lang/en/images/listbackground.png create mode 100644 static/ueditor/lang/en/images/localimage.png create mode 100644 static/ueditor/lang/en/images/music.png create mode 100644 static/ueditor/lang/en/images/rotateleftdisable.png create mode 100644 static/ueditor/lang/en/images/rotateleftenable.png create mode 100644 static/ueditor/lang/en/images/rotaterightdisable.png create mode 100644 static/ueditor/lang/en/images/rotaterightenable.png create mode 100644 static/ueditor/lang/en/images/upload.png create mode 100644 static/ueditor/lang/zh-cn/images/copy.png create mode 100644 static/ueditor/lang/zh-cn/images/localimage.png create mode 100644 static/ueditor/lang/zh-cn/images/music.png create mode 100644 static/ueditor/lang/zh-cn/images/upload.png create mode 100644 static/ueditor/lang/zh-cn/zh-cn.js create mode 100644 static/ueditor/themes/default/css/ueditor.css create mode 100644 static/ueditor/themes/default/css/ueditor.min.css create mode 100644 static/ueditor/themes/default/dialogbase.css create mode 100644 static/ueditor/themes/default/images/anchor.gif create mode 100644 static/ueditor/themes/default/images/arrow.png create mode 100644 static/ueditor/themes/default/images/arrow_down.png create mode 100644 static/ueditor/themes/default/images/arrow_up.png create mode 100644 static/ueditor/themes/default/images/button-bg.gif create mode 100644 static/ueditor/themes/default/images/cancelbutton.gif create mode 100644 static/ueditor/themes/default/images/charts.png create mode 100644 static/ueditor/themes/default/images/cursor_h.gif create mode 100644 static/ueditor/themes/default/images/cursor_h.png create mode 100644 static/ueditor/themes/default/images/cursor_v.gif create mode 100644 static/ueditor/themes/default/images/cursor_v.png create mode 100644 static/ueditor/themes/default/images/dialog-title-bg.png create mode 100644 static/ueditor/themes/default/images/filescan.png create mode 100644 static/ueditor/themes/default/images/highlighted.gif create mode 100644 static/ueditor/themes/default/images/icons-all.gif create mode 100644 static/ueditor/themes/default/images/icons.gif create mode 100644 static/ueditor/themes/default/images/icons.png create mode 100644 static/ueditor/themes/default/images/loaderror.png create mode 100644 static/ueditor/themes/default/images/loading.gif create mode 100644 static/ueditor/themes/default/images/lock.gif create mode 100644 static/ueditor/themes/default/images/neweditor-tab-bg.png create mode 100644 static/ueditor/themes/default/images/pagebreak.gif create mode 100644 static/ueditor/themes/default/images/scale.png create mode 100644 static/ueditor/themes/default/images/sortable.png create mode 100644 static/ueditor/themes/default/images/spacer.gif create mode 100644 static/ueditor/themes/default/images/sparator_v.png create mode 100644 static/ueditor/themes/default/images/table-cell-align.png create mode 100644 static/ueditor/themes/default/images/tangram-colorpicker.png create mode 100644 static/ueditor/themes/default/images/toolbar_bg.png create mode 100644 static/ueditor/themes/default/images/unhighlighted.gif create mode 100644 static/ueditor/themes/default/images/upload.png create mode 100644 static/ueditor/themes/default/images/videologo.gif create mode 100644 static/ueditor/themes/default/images/word.gif create mode 100644 static/ueditor/themes/default/images/wordpaste.png create mode 100644 static/ueditor/themes/iframe.css create mode 100644 static/ueditor/third-party/SyntaxHighlighter/shCore.js create mode 100644 static/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css create mode 100644 static/ueditor/third-party/codemirror/codemirror.css create mode 100644 static/ueditor/third-party/codemirror/codemirror.js create mode 100644 static/ueditor/third-party/highcharts/adapters/mootools-adapter.js create mode 100644 static/ueditor/third-party/highcharts/adapters/mootools-adapter.src.js create mode 100644 static/ueditor/third-party/highcharts/adapters/prototype-adapter.js create mode 100644 static/ueditor/third-party/highcharts/adapters/prototype-adapter.src.js create mode 100644 static/ueditor/third-party/highcharts/adapters/standalone-framework.js create mode 100644 static/ueditor/third-party/highcharts/adapters/standalone-framework.src.js create mode 100644 static/ueditor/third-party/highcharts/highcharts-more.js create mode 100644 static/ueditor/third-party/highcharts/highcharts-more.src.js create mode 100644 static/ueditor/third-party/highcharts/highcharts.js create mode 100644 static/ueditor/third-party/highcharts/highcharts.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/annotations.js create mode 100644 static/ueditor/third-party/highcharts/modules/annotations.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/canvas-tools.js create mode 100644 static/ueditor/third-party/highcharts/modules/canvas-tools.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/data.js create mode 100644 static/ueditor/third-party/highcharts/modules/data.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/drilldown.js create mode 100644 static/ueditor/third-party/highcharts/modules/drilldown.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/exporting.js create mode 100644 static/ueditor/third-party/highcharts/modules/exporting.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/funnel.js create mode 100644 static/ueditor/third-party/highcharts/modules/funnel.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/heatmap.js create mode 100644 static/ueditor/third-party/highcharts/modules/heatmap.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/map.js create mode 100644 static/ueditor/third-party/highcharts/modules/map.src.js create mode 100644 static/ueditor/third-party/highcharts/modules/no-data-to-display.js create mode 100644 static/ueditor/third-party/highcharts/modules/no-data-to-display.src.js create mode 100644 static/ueditor/third-party/highcharts/themes/dark-blue.js create mode 100644 static/ueditor/third-party/highcharts/themes/dark-green.js create mode 100644 static/ueditor/third-party/highcharts/themes/gray.js create mode 100644 static/ueditor/third-party/highcharts/themes/grid.js create mode 100644 static/ueditor/third-party/highcharts/themes/skies.js create mode 100644 static/ueditor/third-party/jquery-1.10.2.js create mode 100644 static/ueditor/third-party/jquery-1.10.2.min.js create mode 100644 static/ueditor/third-party/jquery-1.10.2.min.map create mode 100644 static/ueditor/third-party/snapscreen/UEditorSnapscreen.exe create mode 100644 static/ueditor/third-party/video-js/font/vjs.eot create mode 100644 static/ueditor/third-party/video-js/font/vjs.svg create mode 100644 static/ueditor/third-party/video-js/font/vjs.ttf create mode 100644 static/ueditor/third-party/video-js/font/vjs.woff create mode 100644 static/ueditor/third-party/video-js/video-js.css create mode 100644 static/ueditor/third-party/video-js/video-js.min.css create mode 100644 static/ueditor/third-party/video-js/video-js.swf create mode 100644 static/ueditor/third-party/video-js/video.dev.js create mode 100644 static/ueditor/third-party/video-js/video.js create mode 100644 static/ueditor/third-party/webuploader/Uploader.swf create mode 100644 static/ueditor/third-party/webuploader/webuploader.css create mode 100644 static/ueditor/third-party/webuploader/webuploader.custom.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.custom.min.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.flashonly.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.flashonly.min.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.html5only.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.html5only.min.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.min.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.withoutimage.js create mode 100644 static/ueditor/third-party/webuploader/webuploader.withoutimage.min.js create mode 100644 static/ueditor/third-party/xss.min.js create mode 100644 static/ueditor/third-party/zeroclipboard/ZeroClipboard.js create mode 100644 static/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js create mode 100644 static/ueditor/third-party/zeroclipboard/ZeroClipboard.swf create mode 100644 static/ueditor/ueditor.all.js create mode 100644 static/ueditor/ueditor.all.min.js create mode 100644 static/ueditor/ueditor.config.js create mode 100644 static/ueditor/ueditor.parse.js create mode 100644 static/ueditor/ueditor.parse.min.js diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 26a5584a..78c3e4d1 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -57,7 +57,7 @@ const devWebpackConfig = merge(baseWebpackConfig, { template: 'index.html', inject: true, favicon: resolve('favicon.ico'), - title: 'vue-element-admin', + title: 'school-admin', templateParameters: { BASE_URL: config.dev.assetsPublicPath + config.dev.assetsSubDirectory, }, diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 4f84e0c6..24e292b8 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -55,7 +55,7 @@ const webpackConfig = merge(baseWebpackConfig, { template: 'index.html', inject: true, favicon: resolve('favicon.ico'), - title: 'vue-element-admin', + title: 'school-admin', templateParameters: { BASE_URL: config.build.assetsPublicPath + config.build.assetsSubDirectory, }, diff --git a/config/dev.env.js b/config/dev.env.js index 68ddea56..5a9aa12b 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -1,5 +1,5 @@ module.exports = { NODE_ENV: '"development"', ENV_CONFIG: '"dev"', - BASE_API: '"https://api-dev"' + BASE_API: '"http://localhost:7200"' } diff --git a/config/prod.env.js b/config/prod.env.js index bfcd6d27..e24a02cb 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,5 +1,5 @@ module.exports = { NODE_ENV: '"production"', ENV_CONFIG: '"prod"', - BASE_API: '"https://api-prod"' + BASE_API: '"http://39.106.34.223:7200/"' } diff --git a/index.html b/index.html index 7a7ecacf..77c5f676 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ -
|YqqhNC3cnNLvv
zRYt`O*k}5V3v0v+rE&rHeKK`-8ALmCSsD1%rF) ' + file.name + ' ' +
+ ' O|E|nVb+VhLPxFEtyI^j`FqLyNd0EWpleq^){o+_2ylTHaqGF
zO<^H5(sh%@qktPU&w(pp9-3Gs((CnPZEbBZ81Rip*?#=*AAA0G)`@(VL$#^?6S8qi
z-Vg0MaQMyXC!K9~zh3K)&rGar-!b{?e)rh3&E1`oQ)AtaFLu8>vh-!*#^>7|90SDQAhmyv(gsfKv~
literal 0
HcmV?d00001
diff --git a/static/ueditor/dialogs/attachment/fileTypeImages/icon_default.png b/static/ueditor/dialogs/attachment/fileTypeImages/icon_default.png
new file mode 100644
index 0000000000000000000000000000000000000000..50ac1cb1654c147225f6c99f98fa820d8b1d47d3
GIT binary patch
literal 841
zcmV-P1GfB$P)YJ)&
zgbaiCP~cV6A?-=NKx$h9-THpo?cL{tj>xYNbmTEZaZaOg0xagawL=i#a@(=;9{O|z
zE#BpfrkSj{N0R6$V5hP7tl^cx%#5L3@Vn6_lAJY6@5rCRqX;1!SjRF5TrRYe@ZDT_
z!J!
qQPjm|
z3*k{z!(&exy7b(hiO3xYsw1e0op~d6>U|!M`Za!y9W4e%Oc95&)q0x#Et31qDp9uZ
zJ;d=#!eUTefOT^uHxAt5(+`>H@u`lw5Dk{Q#fZ4VzyCV^n?C)GlgWwqR&dIX=Ho+m
zJ|1^^NUYmRjE%X(N&fg`Q&sTdI>Re}z8Z^(J<%<3Drf1-Y)?R}kxDhTPKV7M3CR$%UA_<;+B{n3fSm!5SAs5nT
+
+
+ ');
+ $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';
+ // HaoChuan9421
+ if(editor.options.headers && Object.prototype.toString.apply(editor.options.headers) === "[object Object]"){
+ for(var key in editor.options.headers){
+ header[key] = editor.options.headers[key]
+ }
+ }
+ });
+
+ 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') {
+ _this.fileList.push(json);
+ $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;
+ },
+ getInsertList: function () {
+ var i, link, data, list = [],
+ prefix = editor.getOpt('fileUrlPrefix');
+ for (i = 0; i < this.fileList.length; i++) {
+ data = this.fileList[i];
+ link = data.url;
+ list.push({
+ title: data.original || link.substr(link.lastIndexOf('/') + 1),
+ url: prefix + link
+ });
+ }
+ return list;
+ }
+ };
+
+
+ /* 在线附件 */
+ function OnlineFile(target) {
+ this.container = utils.isString(target) ? document.getElementById(target) : target;
+ this.init();
+ }
+ OnlineFile.prototype = {
+ init: function () {
+ this.initContainer();
+ this.initEvents();
+ this.initData();
+ },
+ /* 初始化容器 */
+ initContainer: function () {
+ this.container.innerHTML = '';
+ this.list = document.createElement('ul');
+ this.clearFloat = document.createElement('li');
+
+ domUtils.addClass(this.list, 'list');
+ domUtils.addClass(this.clearFloat, 'clearFloat');
+
+ this.list.appendChild(this.clearFloat);
+ this.container.appendChild(this.list);
+ },
+ /* 初始化滚动事件,滚动到地步自动拉取数据 */
+ initEvents: function () {
+ var _this = this;
+
+ /* 滚动拉取图片 */
+ domUtils.on($G('fileList'), 'scroll', function(e){
+ var panel = this;
+ if (panel.scrollHeight - (panel.offsetHeight + panel.scrollTop) < 10) {
+ _this.getFileData();
+ }
+ });
+ /* 选中图片 */
+ domUtils.on(this.list, 'click', function (e) {
+ var target = e.target || e.srcElement,
+ li = target.parentNode;
+
+ if (li.tagName.toLowerCase() == 'li') {
+ if (domUtils.hasClass(li, 'selected')) {
+ domUtils.removeClasses(li, 'selected');
+ } else {
+ domUtils.addClass(li, 'selected');
+ }
+ }
+ });
+ },
+ /* 初始化第一次的数据 */
+ initData: function () {
+
+ /* 拉取数据需要使用的值 */
+ this.state = 0;
+ this.listSize = editor.getOpt('fileManagerListSize');
+ this.listIndex = 0;
+ this.listEnd = false;
+
+ /* 第一次拉取数据 */
+ this.getFileData();
+ },
+ /* 向后台拉取图片列表数据 */
+ getFileData: function () {
+ var _this = this;
+
+ if(!_this.listEnd && !this.isLoadingData) {
+ this.isLoadingData = true;
+ ajax.request(editor.getActionUrl(editor.getOpt('fileManagerActionName')), {
+ timeout: 100000,
+ xhrFields:{withCredentials: true},
+ crossDomain: true,
+ data: utils.extend({
+ start: this.listIndex,
+ size: this.listSize
+ }, editor.queryCommandValue('serverparam')),
+ method: 'get',
+ onsuccess: function (r) {
+ try {
+ var json = eval('(' + r.responseText + ')');
+ if (json.state == 'SUCCESS') {
+ _this.pushData(json.list);
+ _this.listIndex = parseInt(json.start) + parseInt(json.list.length);
+ if(_this.listIndex >= json.total) {
+ _this.listEnd = true;
+ }
+ _this.isLoadingData = false;
+ }
+ } catch (e) {
+ if(r.responseText.indexOf('ue_separate_ue') != -1) {
+ var list = r.responseText.split(r.responseText);
+ _this.pushData(list);
+ _this.listIndex = parseInt(list.length);
+ _this.listEnd = true;
+ _this.isLoadingData = false;
+ }
+ }
+ },
+ onerror: function () {
+ _this.isLoadingData = false;
+ }
+ });
+ }
+ },
+ /* 添加图片到列表界面上 */
+ pushData: function (list) {
+ var i, item, img, filetype, preview, icon, _this = this,
+ urlPrefix = editor.getOpt('fileManagerUrlPrefix');
+ for (i = 0; i < list.length; i++) {
+ if(list[i] && list[i].url) {
+ item = document.createElement('li');
+ icon = document.createElement('span');
+ filetype = list[i].url.substr(list[i].url.lastIndexOf('.') + 1);
+
+ if ( "png|jpg|jpeg|gif|bmp".indexOf(filetype) != -1 ) {
+ preview = document.createElement('img');
+ domUtils.on(preview, 'load', (function(image){
+ return function(){
+ _this.scale(image, image.parentNode.offsetWidth, image.parentNode.offsetHeight);
+ };
+ })(preview));
+ preview.width = 113;
+ preview.setAttribute('src', urlPrefix + list[i].url + (list[i].url.indexOf('?') == -1 ? '?noCache=':'&noCache=') + (+new Date()).toString(36) );
+ } else {
+ var ic = document.createElement('i'),
+ textSpan = document.createElement('span');
+ textSpan.innerHTML = list[i].url.substr(list[i].url.lastIndexOf('/') + 1);
+ preview = document.createElement('div');
+ preview.appendChild(ic);
+ preview.appendChild(textSpan);
+ domUtils.addClass(preview, 'file-wrapper');
+ domUtils.addClass(textSpan, 'file-title');
+ domUtils.addClass(ic, 'file-type-' + filetype);
+ domUtils.addClass(ic, 'file-preview');
+ }
+ domUtils.addClass(icon, 'icon');
+ item.setAttribute('data-url', urlPrefix + list[i].url);
+ if (list[i].original) {
+ item.setAttribute('data-title', list[i].original);
+ }
+
+ item.appendChild(preview);
+ item.appendChild(icon);
+ this.list.insertBefore(item, this.clearFloat);
+ }
+ }
+ },
+ /* 改变图片大小 */
+ scale: function (img, w, h, type) {
+ var ow = img.width,
+ oh = img.height;
+
+ if (type == 'justify') {
+ if (ow >= oh) {
+ img.width = w;
+ img.height = h * oh / ow;
+ img.style.marginLeft = '-' + parseInt((img.width - w) / 2) + 'px';
+ } else {
+ img.width = w * ow / oh;
+ img.height = h;
+ img.style.marginTop = '-' + parseInt((img.height - h) / 2) + 'px';
+ }
+ } else {
+ if (ow >= oh) {
+ img.width = w * ow / oh;
+ img.height = h;
+ img.style.marginLeft = '-' + parseInt((img.width - w) / 2) + 'px';
+ } else {
+ img.width = w;
+ img.height = h * oh / ow;
+ img.style.marginTop = '-' + parseInt((img.height - h) / 2) + 'px';
+ }
+ }
+ },
+ getInsertList: function () {
+ var i, lis = this.list.children, list = [];
+ for (i = 0; i < lis.length; i++) {
+ if (domUtils.hasClass(lis[i], 'selected')) {
+ var url = lis[i].getAttribute('data-url');
+ var title = lis[i].getAttribute('data-title') || url.substr(url.lastIndexOf('/') + 1);
+ list.push({
+ title: title,
+ url: url
+ });
+ }
+ }
+ return list;
+ }
+ };
+
+
+})();
\ No newline at end of file
diff --git a/static/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif b/static/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif
new file mode 100644
index 0000000000000000000000000000000000000000..9ca4fb6a23c7ed528374426575c3e7f67730cfb7
GIT binary patch
literal 923
zcmcJOy=xR;49270U`4Q~ICz36hzbru@Ut$0C