Browse Source

项目初始化

user5 1 year ago
commit
023727f631
100 changed files with 3339 additions and 0 deletions
  1. 12 0
      .editorconfig
  2. 13 0
      .env.development
  3. 17 0
      .env.production
  4. 22 0
      .eslintignore
  5. 28 0
      .eslintrc.js
  6. 24 0
      .gitignore
  7. 21 0
      LICENSE
  8. 5 0
      babel.config.js
  9. 68 0
      datav.html
  10. 71 0
      index.html
  11. 117 0
      package.json
  12. 11 0
      public/datav/cdn/animate/3.5.1/animate.css
  13. 1 0
      public/datav/cdn/clappr.min.js
  14. 1 0
      public/datav/cdn/echarts-gl.min.js
  15. 3 0
      public/datav/cdn/echarts-wordcloud.min.js
  16. 45 0
      public/datav/cdn/echarts/5.4.0/echarts.min.js
  17. 20 0
      public/datav/cdn/html2canvas/html2canvas.min.js
  18. 167 0
      public/datav/cdn/iconfont/iconfont.css
  19. 1 0
      public/datav/cdn/iconfont/iconfont.js
  20. 275 0
      public/datav/cdn/iconfont/iconfont.json
  21. BIN
      public/datav/cdn/iconfont/iconfont.ttf
  22. BIN
      public/datav/cdn/iconfont/iconfont.woff
  23. BIN
      public/datav/cdn/iconfont/iconfont.woff2
  24. 47 0
      public/datav/components.js
  25. 2254 0
      public/datav/config.js
  26. 116 0
      public/datav/css/loading.css
  27. BIN
      public/datav/img/assets/bar.png
  28. BIN
      public/datav/img/assets/bar2.png
  29. BIN
      public/datav/img/assets/borderBox/borderBox_01.gif
  30. BIN
      public/datav/img/assets/borderBox/borderBox_02.png
  31. BIN
      public/datav/img/assets/borderBox/borderBox_03.png
  32. BIN
      public/datav/img/assets/borderBox/borderBox_04.png
  33. BIN
      public/datav/img/assets/borderBox/borderBox_05.png
  34. BIN
      public/datav/img/assets/borderBox/borderBox_06.png
  35. BIN
      public/datav/img/assets/borderBox/borderBox_07.png
  36. BIN
      public/datav/img/assets/borderBox/borderBox_08.gif
  37. BIN
      public/datav/img/assets/borderBox/borderBox_09.png
  38. BIN
      public/datav/img/assets/borderBox/borderBox_10.png
  39. BIN
      public/datav/img/assets/borderBox/borderBox_11.png
  40. BIN
      public/datav/img/assets/borderBox/borderBox_12.png
  41. BIN
      public/datav/img/assets/datav/datav1.png
  42. BIN
      public/datav/img/assets/datav/datav2.png
  43. BIN
      public/datav/img/assets/datav/datav3.png
  44. BIN
      public/datav/img/assets/datav/datav4.png
  45. BIN
      public/datav/img/assets/datav/datav5.png
  46. BIN
      public/datav/img/assets/datetime.png
  47. BIN
      public/datav/img/assets/decorate/decorate_01.gif
  48. BIN
      public/datav/img/assets/decorate/decorate_02.gif
  49. BIN
      public/datav/img/assets/decorate/decorate_03.gif
  50. BIN
      public/datav/img/assets/decorate/decorate_04.gif
  51. BIN
      public/datav/img/assets/decorate/decorate_05.png
  52. BIN
      public/datav/img/assets/decorate/decorate_06.gif
  53. BIN
      public/datav/img/assets/decorate/decorate_07.png
  54. BIN
      public/datav/img/assets/decorate/decorate_08.png
  55. BIN
      public/datav/img/assets/decorate/decorate_09.gif
  56. BIN
      public/datav/img/assets/decorate/decorate_10.png
  57. BIN
      public/datav/img/assets/decorate/decorate_11.png
  58. BIN
      public/datav/img/assets/decorate/decorate_12.gif
  59. BIN
      public/datav/img/assets/flop.png
  60. BIN
      public/datav/img/assets/flop2.png
  61. BIN
      public/datav/img/assets/funnel.png
  62. BIN
      public/datav/img/assets/gauge.png
  63. BIN
      public/datav/img/assets/iframe.png
  64. BIN
      public/datav/img/assets/img.png
  65. BIN
      public/datav/img/assets/imgborder.png
  66. BIN
      public/datav/img/assets/line.png
  67. BIN
      public/datav/img/assets/map.png
  68. BIN
      public/datav/img/assets/pictorialbar.png
  69. BIN
      public/datav/img/assets/pie.png
  70. BIN
      public/datav/img/assets/progress.png
  71. BIN
      public/datav/img/assets/progress2.png
  72. BIN
      public/datav/img/assets/radar.png
  73. BIN
      public/datav/img/assets/rectangle.png
  74. BIN
      public/datav/img/assets/scatter.png
  75. BIN
      public/datav/img/assets/swiper.png
  76. BIN
      public/datav/img/assets/table.png
  77. BIN
      public/datav/img/assets/table1.gif
  78. BIN
      public/datav/img/assets/table3.png
  79. BIN
      public/datav/img/assets/tabs.png
  80. BIN
      public/datav/img/assets/text.png
  81. BIN
      public/datav/img/assets/text2.png
  82. BIN
      public/datav/img/assets/text3.png
  83. BIN
      public/datav/img/assets/text4.png
  84. BIN
      public/datav/img/assets/text5.png
  85. BIN
      public/datav/img/assets/text6.png
  86. BIN
      public/datav/img/assets/time.png
  87. BIN
      public/datav/img/assets/video.png
  88. BIN
      public/datav/img/assets/wel.png
  89. BIN
      public/datav/img/assets/wordcloud.png
  90. BIN
      public/datav/img/banner/banner1.png
  91. BIN
      public/datav/img/banner/banner10.png
  92. BIN
      public/datav/img/banner/banner2.png
  93. BIN
      public/datav/img/banner/banner3.png
  94. BIN
      public/datav/img/banner/banner4.png
  95. BIN
      public/datav/img/banner/banner5.png
  96. BIN
      public/datav/img/banner/banner6.png
  97. BIN
      public/datav/img/banner/banner7.png
  98. BIN
      public/datav/img/banner/banner8.png
  99. BIN
      public/datav/img/banner/banner9.png
  100. 0 0
      public/datav/img/bg.jpg

+ 12 - 0
.editorconfig

@@ -0,0 +1,12 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 4
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false

+ 13 - 0
.env.development

@@ -0,0 +1,13 @@
+# 开发环境配置
+VITE_APP_ENV = 'development'
+
+#接口地址
+VITE_APP_API= '/api'
+
+#页面基础路径
+VITE_APP_BASE= 'http://localhost:8082'
+
+#单点登录设置
+VITE_APP_SSO_LOGIN  = 'false'
+VITE_APP_CAS_SERVER = 'https://www.cainiao.com:8443/cas'
+VITE_APP_CLIENT_LOGIN = 'http://localhost:3000/#/casLogin'

+ 17 - 0
.env.production

@@ -0,0 +1,17 @@
+# 生产环境配置
+VITE_APP_ENV = 'production'
+
+#接口地址
+VITE_APP_API= 
+
+#Jeeplus快速开发平台/后台地址
+#VITE_APP_BASE= '/api'
+VITE_APP_BASE = 'http://vue3.jeeplus.org/jeeplus-v3'
+
+# 是否在打包时开启压缩,支持 gzip 和 brotli
+VITE_BUILD_COMPRESS = gzip
+
+#单点登录设置
+VITE_APP_SSO_LOGIN  = 'false'
+VITE_APP_CAS_SERVER = 'https://www.cainiao.com:8443/cas'
+VITE_APP_CLIENT_HOST = 'http://localhost:3000'

+ 22 - 0
.eslintignore

@@ -0,0 +1,22 @@
+/build/
+/config/
+/dist/
+/*.js
+/src/components/bpmn-js-properties-panel/
+/src/views/flowable/display/
+/static/display/
+/src/components/colors/
+/src/views/flowable/modeler/bpmn-js-properties-panel/
+/src/views/flowable/modeler/properties-panel-extension/
+/src/views/flowable/modeler/bpmn-js/
+/src/views/flowable/modeler/bpmn-font/
+/src/views/flowable/modeler/bpmn-moddle/
+/src/flowable/
+/src/pages/
+/src/packages2/packages/
+/src/form/packages/
+/src/formbuilder/packages/
+/src/formbuilder/packages2/
+/src/formbuilder/packages2/util
+/src/views/datav
+/src/mock

+ 28 - 0
.eslintrc.js

@@ -0,0 +1,28 @@
+module.exports = {
+  root: true,
+  env: {
+    node: true,
+  },
+  extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"],
+  parserOptions: {
+    parser: "babel-eslint",
+  },
+  rules: {
+    "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
+    "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
+    "vue/no-multiple-template-root":'off',
+    "vue/valid-template-root": 'off'
+  },
+
+  overrides: [
+    {
+      files: [
+        "**/__tests__/*.{j,t}s?(x)",
+        "**/tests/unit/**/*.spec.{j,t}s?(x)",
+      ],
+      env: {
+        jest: true,
+      },
+    },
+  ],
+};

+ 24 - 0
.gitignore

@@ -0,0 +1,24 @@
+.DS_Store
+node_modules
+/dist
+
+# local env files
+.env.local
+.env.*.local
+
+# Log files
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+
+/package-lock.json

+ 21 - 0
LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 sakuya
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 5 - 0
babel.config.js

@@ -0,0 +1,5 @@
+module.exports = {
+  presets: [
+    '@vue/cli-plugin-babel/preset'
+  ]
+}

File diff suppressed because it is too large
+ 68 - 0
datav.html


File diff suppressed because it is too large
+ 71 - 0
index.html


+ 117 - 0
package.json

@@ -0,0 +1,117 @@
+{
+  "name": "jeeplus-ui",
+  "version": "1.6.3",
+  "private": true,
+  "scripts": {
+    "dev": "vite",
+    "build": "vite build",
+    "preview": "vite preview"
+  },
+  "dependencies": {
+    "@antv/g2": "4.1.1",
+    "@element-plus/icons-vue": "^2.0.9",
+    "@jiaminghi/data-view": "^2.10.0",
+    "@kjgl77/datav-vue3": "^1.5.1",
+    "@smallwei/avue": "^3.2.0",
+    "@tinymce/tinymce-vue": "4.0.5",
+    "@vueup/vue-quill": "^1.0.0-beta.8",
+    "@vueuse/core": "^8.5.0",
+    "@wangeditor/editor": "^5.1.23",
+    "@wangeditor/editor-for-vue": "^5.1.12",
+    "ace-builds": "^1.4.14",
+    "animate.css": "4.1.1",
+    "axios": "^0.26.1",
+    "bpmn-js-cli": "^1.2.0",
+    "clipboard": "^2.0.11",
+    "core-js": "^3.8.3",
+    "cropperjs": "1.5.12",
+    "crypto-js": "4.1.1",
+    "dayjs": "1.10.6",
+    "diagram-js": "6.8.2",
+    "echarts": "^5.3.3",
+    "element-plus": "^2.2.22",
+    "jeeplus-flowable-boot-v3": "^2.1.0",
+    "jeeplus-form-boot-v3": "^2.1.0",
+    "jeeplus-devtools-boot-v3": "^2.1.2",
+    "jquery": "^3.6.0",
+    "js-cookie": "3.0.0",
+    "lodash": "^4.17.21",
+    "lodash.omit": "^4.5.0",
+    "lodash.pick": "^4.4.0",
+    "mitt": "^3.0.0",
+    "mockjs": "1.1.0",
+    "moment": "2.24.0",
+    "monaco-editor": "0.34.1",
+    "normalize.css": "^8.0.1",
+    "nprogress": "0.2.0",
+    "qiniu": "^7.2.1",
+    "qiniu-js": "^3.4.0",
+    "qrcodejs2": "^0.0.2",
+    "qs": "^6.11.0",
+    "sortablejs": "1.14.0",
+    "splitpanes": "^3.1.1",
+    "store2": "^2.14.2",
+    "tinymce": "5.10.2",
+    "viewerjs": "^1.10.4",
+    "vite-plugin-mock": "2.9.4",
+    "vue": "^3.2.45",
+    "vue-clipboard2": "^0.3.1",
+    "vue-color": "^2.8.1",
+    "vue-cookies": "^1.8.1",
+    "vue-echarts": "^6.2.3",
+    "vue-full-calendar": "^3.0.0-0",
+    "vue-grid-layout": "3.0.0-beta1",
+    "vue-i18n": "^9.1.9",
+    "vue-responsive-dash": "^0.5.0",
+    "vue-router": "4.1.5",
+    "vue3-ace-editor": "^2.2.2",
+    "vue3-count-to": "^1.1.2",
+    "vue3-sketch-ruler": "1.3.7",
+    "vuedraggable": "^4.1.0",
+    "vuex": "4.0.2",
+    "vxe-table": "^4.3.5",
+    "webpack": "^5.65.0",
+    "xe-utils": "^3.5.4",
+    "xgplayer": "2.31.4",
+    "xgplayer-hls": "2.4.32-3"
+  },
+  "devDependencies": {
+    "@vitejs/plugin-vue": "^3.0.3",
+    "@vue/eslint-config-prettier": "^6.0.0",
+    "babel-eslint": "^10.1.0",
+    "eslint": "^6.7.2",
+    "eslint-plugin-prettier": "^3.3.1",
+    "eslint-plugin-vue": "^6.2.2",
+    "less": "^4.1.2",
+    "prettier": "^2.8.2",
+    "sass": "1.37.5",
+    "vite": "^3.0.7"
+  },
+  "eslintConfig": {
+    "root": true,
+    "env": {
+      "node": true
+    },
+    "globals": {
+      "APP_CONFIG": true
+    },
+    "extends": [
+      "plugin:vue/vue3-essential",
+      "eslint:recommended"
+    ],
+    "parserOptions": {
+      "parser": "babel-eslint"
+    },
+    "rules": {
+      "indent": 0,
+      "no-tabs": 0,
+      "no-mixed-spaces-and-tabs": 0,
+      "vue/no-unused-components": "off"
+    }
+  },
+  "browserslist": [
+    "> 1%",
+    "last 2 versions",
+    "not dead"
+  ]
+}

File diff suppressed because it is too large
+ 11 - 0
public/datav/cdn/animate/3.5.1/animate.css


File diff suppressed because it is too large
+ 1 - 0
public/datav/cdn/clappr.min.js


File diff suppressed because it is too large
+ 1 - 0
public/datav/cdn/echarts-gl.min.js


File diff suppressed because it is too large
+ 3 - 0
public/datav/cdn/echarts-wordcloud.min.js


File diff suppressed because it is too large
+ 45 - 0
public/datav/cdn/echarts/5.4.0/echarts.min.js


File diff suppressed because it is too large
+ 20 - 0
public/datav/cdn/html2canvas/html2canvas.min.js


+ 167 - 0
public/datav/cdn/iconfont/iconfont.css

@@ -0,0 +1,167 @@
+@font-face {
+  font-family: "iconfont"; /* Project id 1117329 */
+  src: url('iconfont.woff2?t=1649215188432') format('woff2'),
+       url('iconfont.woff?t=1649215188432') format('woff'),
+       url('iconfont.ttf?t=1649215188432') format('truetype');
+}
+
+.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-juxing:before {
+  content: "\e7a5";
+}
+
+.icon-datav:before {
+  content: "\e722";
+}
+
+.icon-jianzhuzhuangshi:before {
+  content: "\e62d";
+}
+
+.icon-biankuang:before {
+  content: "\e6b7";
+}
+
+.icon-fold:before {
+  content: "\e60a";
+}
+
+.icon-folder:before {
+  content: "\e64f";
+}
+
+.icon-radar:before {
+  content: "\e6cd";
+}
+
+.icon-scatter:before {
+  content: "\e674";
+}
+
+.icon-funnel:before {
+  content: "\e631";
+}
+
+.icon-slide:before {
+  content: "\ea9c";
+}
+
+.icon-moban:before {
+  content: "\e602";
+}
+
+.icon-daping:before {
+  content: "\e675";
+}
+
+.icon-tabs:before {
+  content: "\e62f";
+}
+
+.icon-event:before {
+  content: "\e630";
+}
+
+.icon-wordCloud:before {
+  content: "\e752";
+}
+
+.icon-video:before {
+  content: "\e626";
+}
+
+.icon-daima:before {
+  content: "\e816";
+}
+
+.icon-peizhi:before {
+  content: "\e620";
+}
+
+.icon-pictorialBar:before {
+  content: "\e609";
+}
+
+.icon-map:before {
+  content: "\e601";
+}
+
+.icon-circle:before {
+  content: "\e880";
+}
+
+.icon-view:before {
+  content: "\e60e";
+}
+
+.icon-build:before {
+  content: "\e72d";
+}
+
+.icon-reset:before {
+  content: "\e68b";
+}
+
+.icon-img:before {
+  content: "\e62e";
+}
+
+.icon-iframe:before {
+  content: "\e639";
+}
+
+.icon-gauge:before {
+  content: "\e60c";
+}
+
+.icon-link:before {
+  content: "\e6dc";
+}
+
+.icon-bar:before {
+  content: "\e60d";
+}
+
+.icon-pie:before {
+  content: "\e600";
+}
+
+.icon-progress:before {
+  content: "\e64d";
+}
+
+.icon-line:before {
+  content: "\e608";
+}
+
+.icon-banner:before {
+  content: "\e614";
+}
+
+.icon-flop:before {
+  content: "\e683";
+}
+
+.icon-scroll:before {
+  content: "\e688";
+}
+
+.icon-table:before {
+  content: "\e651";
+}
+
+.icon-datetime:before {
+  content: "\e607";
+}
+
+.icon-text:before {
+  content: "\e605";
+}
+

File diff suppressed because it is too large
+ 1 - 0
public/datav/cdn/iconfont/iconfont.js


+ 275 - 0
public/datav/cdn/iconfont/iconfont.json

@@ -0,0 +1,275 @@
+{
+  "id": "1117329",
+  "name": "avue-data",
+  "font_family": "iconfont",
+  "css_prefix_text": "icon-",
+  "description": "",
+  "glyphs": [
+    {
+      "icon_id": "23043465",
+      "name": "矩形树图",
+      "font_class": "juxing",
+      "unicode": "e7a5",
+      "unicode_decimal": 59301
+    },
+    {
+      "icon_id": "2057530",
+      "name": "datav-data",
+      "font_class": "datav",
+      "unicode": "e722",
+      "unicode_decimal": 59170
+    },
+    {
+      "icon_id": "688256",
+      "name": "建筑装饰",
+      "font_class": "jianzhuzhuangshi",
+      "unicode": "e62d",
+      "unicode_decimal": 58925
+    },
+    {
+      "icon_id": "22761375",
+      "name": "边框",
+      "font_class": "biankuang",
+      "unicode": "e6b7",
+      "unicode_decimal": 59063
+    },
+    {
+      "icon_id": "222066",
+      "name": "折叠",
+      "font_class": "fold",
+      "unicode": "e60a",
+      "unicode_decimal": 58890
+    },
+    {
+      "icon_id": "749684",
+      "name": "文件夹",
+      "font_class": "folder",
+      "unicode": "e64f",
+      "unicode_decimal": 58959
+    },
+    {
+      "icon_id": "2170177",
+      "name": "图表-雷达图",
+      "font_class": "radar",
+      "unicode": "e6cd",
+      "unicode_decimal": 59085
+    },
+    {
+      "icon_id": "3408773",
+      "name": "散点图",
+      "font_class": "scatter",
+      "unicode": "e674",
+      "unicode_decimal": 58996
+    },
+    {
+      "icon_id": "5094157",
+      "name": "漏斗图 (1)",
+      "font_class": "funnel",
+      "unicode": "e631",
+      "unicode_decimal": 58929
+    },
+    {
+      "icon_id": "7754409",
+      "name": "slide left right",
+      "font_class": "slide",
+      "unicode": "ea9c",
+      "unicode_decimal": 60060
+    },
+    {
+      "icon_id": "3497472",
+      "name": "模板",
+      "font_class": "moban",
+      "unicode": "e602",
+      "unicode_decimal": 58882
+    },
+    {
+      "icon_id": "7955868",
+      "name": "大屏",
+      "font_class": "daping",
+      "unicode": "e675",
+      "unicode_decimal": 58997
+    },
+    {
+      "icon_id": "766595",
+      "name": "选项卡",
+      "font_class": "tabs",
+      "unicode": "e62f",
+      "unicode_decimal": 58927
+    },
+    {
+      "icon_id": "1659312",
+      "name": "交互",
+      "font_class": "event",
+      "unicode": "e630",
+      "unicode_decimal": 58928
+    },
+    {
+      "icon_id": "4152028",
+      "name": "组件-字符云",
+      "font_class": "wordCloud",
+      "unicode": "e752",
+      "unicode_decimal": 59218
+    },
+    {
+      "icon_id": "7505631",
+      "name": "视频",
+      "font_class": "video",
+      "unicode": "e626",
+      "unicode_decimal": 58918
+    },
+    {
+      "icon_id": "1550488",
+      "name": "代码",
+      "font_class": "daima",
+      "unicode": "e816",
+      "unicode_decimal": 59414
+    },
+    {
+      "icon_id": "3531486",
+      "name": "配置",
+      "font_class": "peizhi",
+      "unicode": "e620",
+      "unicode_decimal": 58912
+    },
+    {
+      "icon_id": "4657392",
+      "name": "象形图",
+      "font_class": "pictorialBar",
+      "unicode": "e609",
+      "unicode_decimal": 58889
+    },
+    {
+      "icon_id": "3647380",
+      "name": "地图",
+      "font_class": "map",
+      "unicode": "e601",
+      "unicode_decimal": 58881
+    },
+    {
+      "icon_id": "2059675",
+      "name": "环形图",
+      "font_class": "circle",
+      "unicode": "e880",
+      "unicode_decimal": 59520
+    },
+    {
+      "icon_id": "2936158",
+      "name": "预览",
+      "font_class": "view",
+      "unicode": "e60e",
+      "unicode_decimal": 58894
+    },
+    {
+      "icon_id": "4214752",
+      "name": "生成",
+      "font_class": "build",
+      "unicode": "e72d",
+      "unicode_decimal": 59181
+    },
+    {
+      "icon_id": "6196632",
+      "name": "还原",
+      "font_class": "reset",
+      "unicode": "e68b",
+      "unicode_decimal": 59019
+    },
+    {
+      "icon_id": "500969",
+      "name": "图片",
+      "font_class": "img",
+      "unicode": "e62e",
+      "unicode_decimal": 58926
+    },
+    {
+      "icon_id": "1237697",
+      "name": "iframe",
+      "font_class": "iframe",
+      "unicode": "e639",
+      "unicode_decimal": 58937
+    },
+    {
+      "icon_id": "2083516",
+      "name": "仪表盘",
+      "font_class": "gauge",
+      "unicode": "e60c",
+      "unicode_decimal": 58892
+    },
+    {
+      "icon_id": "3182278",
+      "name": "超链接",
+      "font_class": "link",
+      "unicode": "e6dc",
+      "unicode_decimal": 59100
+    },
+    {
+      "icon_id": "3422518",
+      "name": "柱形图",
+      "font_class": "bar",
+      "unicode": "e60d",
+      "unicode_decimal": 58893
+    },
+    {
+      "icon_id": "3491911",
+      "name": "饼图",
+      "font_class": "pie",
+      "unicode": "e600",
+      "unicode_decimal": 58880
+    },
+    {
+      "icon_id": "3775268",
+      "name": "进度条",
+      "font_class": "progress",
+      "unicode": "e64d",
+      "unicode_decimal": 58957
+    },
+    {
+      "icon_id": "4381605",
+      "name": "折线图",
+      "font_class": "line",
+      "unicode": "e608",
+      "unicode_decimal": 58888
+    },
+    {
+      "icon_id": "4707743",
+      "name": "轮播图",
+      "font_class": "banner",
+      "unicode": "e614",
+      "unicode_decimal": 58900
+    },
+    {
+      "icon_id": "4911471",
+      "name": "翻牌器",
+      "font_class": "flop",
+      "unicode": "e683",
+      "unicode_decimal": 59011
+    },
+    {
+      "icon_id": "4911480",
+      "name": "跑马灯",
+      "font_class": "scroll",
+      "unicode": "e688",
+      "unicode_decimal": 59016
+    },
+    {
+      "icon_id": "6291818",
+      "name": "表格",
+      "font_class": "table",
+      "unicode": "e651",
+      "unicode_decimal": 58961
+    },
+    {
+      "icon_id": "6417244",
+      "name": "时间",
+      "font_class": "datetime",
+      "unicode": "e607",
+      "unicode_decimal": 58887
+    },
+    {
+      "icon_id": "7732218",
+      "name": "文本",
+      "font_class": "text",
+      "unicode": "e605",
+      "unicode_decimal": 58885
+    }
+  ]
+}

BIN
public/datav/cdn/iconfont/iconfont.ttf


BIN
public/datav/cdn/iconfont/iconfont.woff


BIN
public/datav/cdn/iconfont/iconfont.woff2


+ 47 - 0
public/datav/components.js

@@ -0,0 +1,47 @@
+const testComponents = {
+  template: `
+  <div :style="[styleSizeName,styleName]"
+    :class="className">
+    <div :style="styleChartName">
+      <h2>自定义组件</h2><br />
+      <h3>我是参数:{{dataParams}}</h3><br />
+      <h3>data:{{dataChart}}</h3><br />
+      <h3>params:{{dataAxios.config}}</h3><br />
+    </div>
+  </div>
+`,
+  name: 'test',
+  props: {
+    option: Object,
+    component: Object
+  },
+  computed: {
+    styleName () {
+      return {
+        fontSize: this.fontSize,
+        color: this.color
+      }
+    },
+    color () {
+      return this.option.color || '#fff'
+    },
+    fontSize () {
+      return (this.option.fontSize || 30) + 'px'
+    }
+  }
+}
+
+const testOption = {
+  template: `
+  <div>
+    <el-form-item label="字体大小">
+      <avue-input-number v-model="main.activeOption.fontSize"></avue-input-number>
+    </el-form-item>
+    <el-form-item label="字体颜色">
+      <avue-input-color v-model="main.activeOption.color"></avue-input-color>
+    </el-form-item>
+  </div>
+`,
+  name: 'test',
+  inject: ["main"]
+}

File diff suppressed because it is too large
+ 2254 - 0
public/datav/config.js


+ 116 - 0
public/datav/css/loading.css

@@ -0,0 +1,116 @@
+.loading {
+  display: flex;
+  width: 100%;
+  height: 100%;
+  justify-content: center;
+  align-items: center;
+  flex-direction: column;
+  background-color: #f4f7f9
+}
+
+.loading .loading-wrap {
+  position: absolute;
+  top: 50%;
+  left: 50%;
+  display: flex;
+  -webkit-transform: translate3d(-50%, -50%, 0);
+  transform: translate3d(-50%, -50%, 0);
+  justify-content: center;
+  align-items: center;
+  flex-direction: column
+}
+
+.loading .dots {
+  display: flex;
+  padding: 98px;
+  justify-content: center;
+  align-items: center
+}
+
+.loading .loading-title {
+  display: flex;
+  font-weight: bold;
+  margin-top: 30px;
+  font-size: 36px;
+  color: rgba(0, 0, 0, .85);
+  justify-content: center;
+  align-items: center
+}
+
+
+.dot {
+  position: relative;
+  display: inline-block;
+  width: 48px;
+  height: 48px;
+  margin-top: 30px;
+  font-size: 32px;
+  transform: rotate(45deg);
+  box-sizing: border-box;
+  animation: antRotate 1.2s infinite linear
+}
+
+.dot i {
+  position: absolute;
+  display: block;
+  width: 20px;
+  height: 20px;
+  background-color: #0065cc;
+  border-radius: 100%;
+  opacity: .3;
+  transform: scale(.75);
+  animation: antSpinMove 1s infinite linear alternate;
+  transform-origin: 50% 50%
+}
+
+.dot i:nth-child(1) {
+  top: 0;
+  left: 0
+}
+
+.dot i:nth-child(2) {
+  top: 0;
+  right: 0;
+  -webkit-animation-delay: .4s;
+  animation-delay: .4s
+}
+
+.dot i:nth-child(3) {
+  right: 0;
+  bottom: 0;
+  -webkit-animation-delay: .8s;
+  animation-delay: .8s
+}
+
+.dot i:nth-child(4) {
+  bottom: 0;
+  left: 0;
+  -webkit-animation-delay: 1.2s;
+  animation-delay: 1.2s
+}
+
+@keyframes antRotate {
+  to {
+    -webkit-transform: rotate(405deg);
+    transform: rotate(405deg)
+  }
+}
+
+@-webkit-keyframes antRotate {
+  to {
+    -webkit-transform: rotate(405deg);
+    transform: rotate(405deg)
+  }
+}
+
+@keyframes antSpinMove {
+  to {
+    opacity: 1
+  }
+}
+
+@-webkit-keyframes antSpinMove {
+  to {
+    opacity: 1
+  }
+}

BIN
public/datav/img/assets/bar.png


BIN
public/datav/img/assets/bar2.png


BIN
public/datav/img/assets/borderBox/borderBox_01.gif


BIN
public/datav/img/assets/borderBox/borderBox_02.png


BIN
public/datav/img/assets/borderBox/borderBox_03.png


BIN
public/datav/img/assets/borderBox/borderBox_04.png


BIN
public/datav/img/assets/borderBox/borderBox_05.png


BIN
public/datav/img/assets/borderBox/borderBox_06.png


BIN
public/datav/img/assets/borderBox/borderBox_07.png


BIN
public/datav/img/assets/borderBox/borderBox_08.gif


BIN
public/datav/img/assets/borderBox/borderBox_09.png


BIN
public/datav/img/assets/borderBox/borderBox_10.png


BIN
public/datav/img/assets/borderBox/borderBox_11.png


BIN
public/datav/img/assets/borderBox/borderBox_12.png


BIN
public/datav/img/assets/datav/datav1.png


BIN
public/datav/img/assets/datav/datav2.png


BIN
public/datav/img/assets/datav/datav3.png


BIN
public/datav/img/assets/datav/datav4.png


BIN
public/datav/img/assets/datav/datav5.png


BIN
public/datav/img/assets/datetime.png


BIN
public/datav/img/assets/decorate/decorate_01.gif


BIN
public/datav/img/assets/decorate/decorate_02.gif


BIN
public/datav/img/assets/decorate/decorate_03.gif


BIN
public/datav/img/assets/decorate/decorate_04.gif


BIN
public/datav/img/assets/decorate/decorate_05.png


BIN
public/datav/img/assets/decorate/decorate_06.gif


BIN
public/datav/img/assets/decorate/decorate_07.png


BIN
public/datav/img/assets/decorate/decorate_08.png


BIN
public/datav/img/assets/decorate/decorate_09.gif


BIN
public/datav/img/assets/decorate/decorate_10.png


BIN
public/datav/img/assets/decorate/decorate_11.png


BIN
public/datav/img/assets/decorate/decorate_12.gif


BIN
public/datav/img/assets/flop.png


BIN
public/datav/img/assets/flop2.png


BIN
public/datav/img/assets/funnel.png


BIN
public/datav/img/assets/gauge.png


BIN
public/datav/img/assets/iframe.png


BIN
public/datav/img/assets/img.png


BIN
public/datav/img/assets/imgborder.png


BIN
public/datav/img/assets/line.png


BIN
public/datav/img/assets/map.png


BIN
public/datav/img/assets/pictorialbar.png


BIN
public/datav/img/assets/pie.png


BIN
public/datav/img/assets/progress.png


BIN
public/datav/img/assets/progress2.png


BIN
public/datav/img/assets/radar.png


BIN
public/datav/img/assets/rectangle.png


BIN
public/datav/img/assets/scatter.png


BIN
public/datav/img/assets/swiper.png


BIN
public/datav/img/assets/table.png


BIN
public/datav/img/assets/table1.gif


BIN
public/datav/img/assets/table3.png


BIN
public/datav/img/assets/tabs.png


BIN
public/datav/img/assets/text.png


BIN
public/datav/img/assets/text2.png


BIN
public/datav/img/assets/text3.png


BIN
public/datav/img/assets/text4.png


BIN
public/datav/img/assets/text5.png


BIN
public/datav/img/assets/text6.png


BIN
public/datav/img/assets/time.png


BIN
public/datav/img/assets/video.png


BIN
public/datav/img/assets/wel.png


BIN
public/datav/img/assets/wordcloud.png


BIN
public/datav/img/banner/banner1.png


BIN
public/datav/img/banner/banner10.png


BIN
public/datav/img/banner/banner2.png


BIN
public/datav/img/banner/banner3.png


BIN
public/datav/img/banner/banner4.png


BIN
public/datav/img/banner/banner5.png


BIN
public/datav/img/banner/banner6.png


BIN
public/datav/img/banner/banner7.png


BIN
public/datav/img/banner/banner8.png


BIN
public/datav/img/banner/banner9.png


+ 0 - 0
public/datav/img/bg.jpg


Some files were not shown because too many files changed in this diff