ソースを参照

add:新建项目

闪电 1 年間 前
コミット
4dec83c6f3
共有100 個のファイルを変更した1528 個の追加0 個の削除を含む
  1. 15 0
      .editorconfig
  2. 30 0
      .env.development
  3. 16 0
      .env.production
  4. 16 0
      .env.staging
  5. 15 0
      .eslintignore
  6. 76 0
      .eslintrc.js
  7. 24 0
      .gitignore
  8. 4 0
      .husky/commit-msg
  9. 4 0
      .husky/pre-commit
  10. 9 0
      .prettierignore
  11. 22 0
      README.md
  12. 12 0
      bin/build.bat
  13. 12 0
      bin/demo.js
  14. 12 0
      bin/package.bat
  15. 12 0
      bin/run-web.bat
  16. 262 0
      html/ie.html
  17. 217 0
      index.html
  18. 101 0
      package.json
  19. 6 0
      postcss.config.js
  20. 11 0
      prettier.config.js
  21. 55 0
      project-remark.md
  22. 262 0
      project-remark1.md
  23. BIN
      public/favicon-1.ico
  24. 1 0
      public/tinymce/langs/ar.js
  25. 1 0
      public/tinymce/langs/az.js
  26. 1 0
      public/tinymce/langs/be.js
  27. 1 0
      public/tinymce/langs/bg_BG.js
  28. 1 0
      public/tinymce/langs/bn_BD.js
  29. 1 0
      public/tinymce/langs/ca.js
  30. 1 0
      public/tinymce/langs/cs.js
  31. 1 0
      public/tinymce/langs/cy.js
  32. 1 0
      public/tinymce/langs/da.js
  33. 1 0
      public/tinymce/langs/de.js
  34. 1 0
      public/tinymce/langs/dv.js
  35. 1 0
      public/tinymce/langs/el.js
  36. 1 0
      public/tinymce/langs/eo.js
  37. 1 0
      public/tinymce/langs/es.js
  38. 1 0
      public/tinymce/langs/es_MX.js
  39. 1 0
      public/tinymce/langs/et.js
  40. 1 0
      public/tinymce/langs/eu.js
  41. 1 0
      public/tinymce/langs/fa.js
  42. 1 0
      public/tinymce/langs/fi.js
  43. 1 0
      public/tinymce/langs/fr_FR.js
  44. 1 0
      public/tinymce/langs/ga.js
  45. 1 0
      public/tinymce/langs/gl.js
  46. 1 0
      public/tinymce/langs/he_IL.js
  47. 1 0
      public/tinymce/langs/hi.js
  48. 1 0
      public/tinymce/langs/hr.js
  49. 1 0
      public/tinymce/langs/hu_HU.js
  50. 1 0
      public/tinymce/langs/hy.js
  51. 1 0
      public/tinymce/langs/id.js
  52. 1 0
      public/tinymce/langs/is_IS.js
  53. 1 0
      public/tinymce/langs/it.js
  54. 1 0
      public/tinymce/langs/ja.js
  55. 1 0
      public/tinymce/langs/ka_GE.js
  56. 1 0
      public/tinymce/langs/kab.js
  57. 1 0
      public/tinymce/langs/kk.js
  58. 1 0
      public/tinymce/langs/ko_KR.js
  59. 1 0
      public/tinymce/langs/ku.js
  60. 1 0
      public/tinymce/langs/lt.js
  61. 1 0
      public/tinymce/langs/lv.js
  62. 1 0
      public/tinymce/langs/nb_NO.js
  63. 1 0
      public/tinymce/langs/ne.js
  64. 1 0
      public/tinymce/langs/nl.js
  65. 1 0
      public/tinymce/langs/nl_BE.js
  66. 1 0
      public/tinymce/langs/oc.js
  67. 1 0
      public/tinymce/langs/pl.js
  68. 1 0
      public/tinymce/langs/pt_BR.js
  69. 1 0
      public/tinymce/langs/ro.js
  70. 1 0
      public/tinymce/langs/ru.js
  71. 1 0
      public/tinymce/langs/sk.js
  72. 1 0
      public/tinymce/langs/sl_SI.js
  73. 1 0
      public/tinymce/langs/sq.js
  74. 1 0
      public/tinymce/langs/sr.js
  75. 1 0
      public/tinymce/langs/sv_SE.js
  76. 1 0
      public/tinymce/langs/ta.js
  77. 1 0
      public/tinymce/langs/tg.js
  78. 1 0
      public/tinymce/langs/th_TH.js
  79. 1 0
      public/tinymce/langs/tr.js
  80. 1 0
      public/tinymce/langs/ug.js
  81. 1 0
      public/tinymce/langs/uk.js
  82. 1 0
      public/tinymce/langs/uz.js
  83. 1 0
      public/tinymce/langs/vi.js
  84. 1 0
      public/tinymce/langs/zh-Hans.js
  85. 1 0
      public/tinymce/langs/zh-Hant.js
  86. 1 0
      public/tinymce/langs/zh_HK.js
  87. 1 0
      public/tinymce/langs/zh_MO.js
  88. 1 0
      public/tinymce/langs/zh_SG.js
  89. 66 0
      public/tinymce/skins/content/dark/content.css
  90. 2 0
      public/tinymce/skins/content/dark/content.js
  91. 1 0
      public/tinymce/skins/content/dark/content.min.css
  92. 61 0
      public/tinymce/skins/content/default/content.css
  93. 2 0
      public/tinymce/skins/content/default/content.js
  94. 1 0
      public/tinymce/skins/content/default/content.min.css
  95. 66 0
      public/tinymce/skins/content/document/content.css
  96. 2 0
      public/tinymce/skins/content/document/content.js
  97. 1 0
      public/tinymce/skins/content/document/content.min.css
  98. 66 0
      public/tinymce/skins/content/tinymce-5-dark/content.css
  99. 2 0
      public/tinymce/skins/content/tinymce-5-dark/content.js
  100. 0 0
      public/tinymce/skins/content/tinymce-5-dark/content.min.css

+ 15 - 0
.editorconfig

@@ -0,0 +1,15 @@
1
+# http://editorconfig.org
2
+
3
+root = true
4
+
5
+[*] # 表示所有文件适用
6
+charset = utf-8 # 设置文件字符集为 utf-8
7
+indent_style = space # 缩进风格(tab | space)
8
+indent_size = 2 # 缩进大小
9
+end_of_line = lf # 控制换行类型(lf | cr | crlf)
10
+trim_trailing_whitespace = true # 去除行首的任意空白字符
11
+insert_final_newline = true # 始终在文件末尾插入一个新行
12
+
13
+[*.md] # 表示仅 md 文件适用以下规则
14
+max_line_length = off
15
+trim_trailing_whitespace = false

+ 30 - 0
.env.development

@@ -0,0 +1,30 @@
1
+# 页面标题
2
+VITE_APP_TITLE = 智能客服中心
3
+
4
+# 开发环境配置
5
+VITE_APP_ENV = 'development'
6
+
7
+# 若依管理系统/开发环境 http://192.168.1.15:8010/  http://123.56.29.119:8080
8
+
9
+VITE_APP_BASE_API = 'http://192.168.1.15:8120/'
10
+
11
+# VITE_APP_BASE_WS = '39.164.159.226:8010/'
12
+# VITE_APP_BASE_WS = 'ws://192.168.1.15:8010/'
13
+# VITE_APP_BASE_WS = 'ws://192.168.8.17:9000/ws'
14
+VITE_APP_BASE_WS = 'ws://192.168.1.19:9000/ws'
15
+
16
+# VITE_APP_PHONE_TYPE = 'SIP'
17
+# VITE_APP_CALL_TYPE = 'VIDEO'
18
+# VITE_APP_SIP_URL = 'ws://192.168.8.17:5066'
19
+# VITE_APP_SIP_IP = '192.168.8.17'
20
+# VITE_APP_SIP_PASSWORD = '123456'
21
+# VITE_APP_SIP_CONTACT_URL = "@192.168.8.17;transport=ws"
22
+
23
+# VITE_APP_PHONE_TYPE = 'SIP'
24
+# VITE_APP_CALL_TYPE = 'VIDEO'
25
+VITE_APP_PHONE_TYPE = 'PHONE'
26
+VITE_APP_CALL_TYPE = 'VIOCE'
27
+VITE_APP_SIP_URL = 'ws://192.168.1.19:5066'
28
+VITE_APP_SIP_IP = '192.168.1.19'
29
+VITE_APP_SIP_PASSWORD = '1234'
30
+VITE_APP_SIP_CONTACT_URL = "@192.168.1.19;transport=ws"

+ 16 - 0
.env.production

@@ -0,0 +1,16 @@
1
+# 页面标题
2
+VITE_APP_TITLE = 智能客服中心
3
+
4
+# 生产环境配置
5
+VITE_APP_ENV = 'production'
6
+
7
+# 若依管理系统/生产环境
8
+VITE_APP_BASE_API = 'http://192.168.1.15:8120'
9
+VITE_APP_BASE_WS = 'ws://192.168.1.19:9000/ws'
10
+
11
+VITE_APP_PHONE_TYPE = 'PHONE'
12
+VITE_APP_CALL_TYPE = 'VIOCE'
13
+VITE_APP_SIP_URL = 'ws://192.168.1.19:5066'
14
+VITE_APP_SIP_IP = '192.168.1.19'
15
+VITE_APP_SIP_PASSWORD = '1234'
16
+VITE_APP_SIP_CONTACT_URL = "@192.168.1.19;transport=ws"

+ 16 - 0
.env.staging

@@ -0,0 +1,16 @@
1
+# 页面标题
2
+VITE_APP_TITLE = 智能客服中心
3
+
4
+# 生产环境配置
5
+VITE_APP_ENV = 'staging'
6
+
7
+# 若依管理系统/生产环境
8
+# VITE_APP_BASE_API = 'http://192.168.1.15:8010/'
9
+
10
+VITE_APP_BASE_API = 'http://192.168.1.15:8120'
11
+
12
+VITE_APP_BASE_WS = '192.168.1.15:8010/'
13
+
14
+
15
+# 是否在打包时开启压缩,支持 gzip 和 brotli
16
+VITE_BUILD_COMPRESS = gzip

+ 15 - 0
.eslintignore

@@ -0,0 +1,15 @@
1
+
2
+*.sh
3
+node_modules
4
+*.md
5
+*.woff
6
+*.ttf
7
+.vscode
8
+.idea
9
+dist
10
+/public
11
+/docs
12
+.husky
13
+.local
14
+/bin
15
+Dockerfile

+ 76 - 0
.eslintrc.js

@@ -0,0 +1,76 @@
1
+module.exports = {
2
+  root: true,
3
+  env: {
4
+    browser: true,
5
+    node: true,
6
+    es6: true,
7
+  },
8
+  parser: 'vue-eslint-parser',
9
+  parserOptions: {
10
+    parser: '@typescript-eslint/parser',
11
+    ecmaVersion: 2020,
12
+    sourceType: 'module',
13
+    jsxPragma: 'React',
14
+    ecmaFeatures: {
15
+      jsx: true,
16
+    },
17
+  },
18
+  extends: [
19
+    'plugin:vue/vue3-recommended',
20
+    'plugin:@typescript-eslint/recommended',
21
+    'plugin:prettier/recommended',
22
+  ],
23
+  rules: {
24
+    'vue/script-setup-uses-vars': 'error',
25
+    '@typescript-eslint/ban-ts-ignore': 'off',
26
+    '@typescript-eslint/explicit-function-return-type': 'off',
27
+    '@typescript-eslint/no-explicit-any': 'off',
28
+    '@typescript-eslint/no-var-requires': 'off',
29
+    '@typescript-eslint/no-empty-function': 'off',
30
+    'vue/custom-event-name-casing': 'off',
31
+    'no-use-before-define': 'off',
32
+    '@typescript-eslint/no-use-before-define': 'off',
33
+    '@typescript-eslint/ban-ts-comment': 'off',
34
+    '@typescript-eslint/ban-types': 'off',
35
+    '@typescript-eslint/no-non-null-assertion': 'off',
36
+    '@typescript-eslint/explicit-module-boundary-types': 'off',
37
+    '@typescript-eslint/no-unused-vars': [
38
+      'error',
39
+      {
40
+        argsIgnorePattern: '^_',
41
+        varsIgnorePattern: '^_',
42
+      },
43
+    ],
44
+    'no-unused-vars': [
45
+      'error',
46
+      {
47
+        argsIgnorePattern: '^_',
48
+        varsIgnorePattern: '^_',
49
+      },
50
+    ],
51
+    'space-before-function-paren': 'off',
52
+
53
+    'vue/attributes-order': 'off',
54
+    'vue/one-component-per-file': 'off',
55
+    'vue/html-closing-bracket-newline': 'off',
56
+    'vue/max-attributes-per-line': 'off',
57
+    'vue/multiline-html-element-content-newline': 'off',
58
+    'vue/singleline-html-element-content-newline': 'off',
59
+    'vue/attribute-hyphenation': 'off',
60
+    'vue/require-default-prop': 'off',
61
+    'vue/require-explicit-emits': 'off',
62
+    'vue/html-self-closing': [
63
+      'error',
64
+      {
65
+        html: {
66
+          void: 'always',
67
+          normal: 'never',
68
+          component: 'always',
69
+        },
70
+        svg: 'always',
71
+        math: 'always',
72
+      },
73
+    ],
74
+    'vue/multi-word-component-names': 'off',
75
+  },
76
+};

+ 24 - 0
.gitignore

@@ -0,0 +1,24 @@
1
+.DS_Store
2
+node_modules/
3
+dist/
4
+npm-debug.log*
5
+yarn-debug.log*
6
+yarn-error.log*
7
+**/*.log
8
+
9
+tests/**/coverage/
10
+tests/e2e/reports
11
+selenium-debug.log
12
+
13
+# Editor directories and files
14
+.idea
15
+.vscode
16
+.history/
17
+*.suo
18
+*.ntvs*
19
+*.njsproj
20
+*.sln
21
+*.local
22
+
23
+package-lock.json
24
+yarn.lock

+ 4 - 0
.husky/commit-msg

@@ -0,0 +1,4 @@
1
+#!/bin/sh
2
+. "$(dirname "$0")/_/husky.sh"
3
+
4
+npx --no-install commitlint --edit 

+ 4 - 0
.husky/pre-commit

@@ -0,0 +1,4 @@
1
+#!/bin/sh
2
+. "$(dirname "$0")/_/husky.sh"
3
+
4
+npm run lint

+ 9 - 0
.prettierignore

@@ -0,0 +1,9 @@
1
+/dist/*
2
+.local
3
+.output.js
4
+/node_modules/**
5
+
6
+**/*.svg
7
+**/*.sh
8
+
9
+/public/*

+ 22 - 0
README.md

@@ -0,0 +1,22 @@
1
+
2
+<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">智能客服中心</h1>
3
+
4
+## 前端运行
5
+
6
+```bash
7
+# 克隆项目
8
+git clone http://localhost:3000/jiayi/base-callcenter-web.git
9
+
10
+# 进入项目目录
11
+cd base-callcenter-web/
12
+
13
+# 安装依赖
14
+yarn --registry=https://registry.npmmirror.com
15
+
16
+# 启动服务
17
+yarn dev --port 81
18
+
19
+# 构建测试环境 yarn build:stage
20
+# 构建生产环境 yarn build:prod
21
+# 前端访问地址 http://localhost:80
22
+```

+ 12 - 0
bin/build.bat

@@ -0,0 +1,12 @@
1
+@echo off
2
+echo.
3
+echo [信息] 打包Web工程,生成dist文件。
4
+echo.
5
+
6
+%~d0
7
+cd %~dp0
8
+
9
+cd ..
10
+yarn build:prod
11
+
12
+pause

+ 12 - 0
bin/demo.js

@@ -0,0 +1,12 @@
1
+const express = require('express') //npm下载并引入express模块 npm -express -D
2
+
3
+const app = express()
4
+app.use(express.static('../dist')) // ../dist 为vue打包后dist文件夹的路径
5
+app.listen(8082, function (err) {
6
+  //8080 想要监听项目的端口号
7
+  if (err) {
8
+    console.log(err)
9
+  } else {
10
+    console.log('项目启动成功')
11
+  }
12
+})

+ 12 - 0
bin/package.bat

@@ -0,0 +1,12 @@
1
+@echo off
2
+echo.
3
+echo [信息] 安装Web工程,生成node_modules文件。
4
+echo.
5
+
6
+%~d0
7
+cd %~dp0
8
+
9
+cd ..
10
+yarn --registry=https://registry.npmmirror.com
11
+
12
+pause

+ 12 - 0
bin/run-web.bat

@@ -0,0 +1,12 @@
1
+@echo off
2
+echo.
3
+echo [信息] 使用 Vite 命令运行 Web 工程。
4
+echo.
5
+
6
+%~d0
7
+cd %~dp0
8
+
9
+cd ..
10
+yarn dev
11
+
12
+pause

File diff suppressed because it is too large
+ 262 - 0
html/ie.html


+ 217 - 0
index.html

@@ -0,0 +1,217 @@
1
+<!DOCTYPE html>
2
+<html>
3
+  <head>
4
+    <meta charset="utf-8" />
5
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
+    <meta name="renderer" content="webkit" />
7
+    <meta
8
+      name="viewport"
9
+      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
10
+    />
11
+    <!-- <link rel="icon" href="/favicon.ico" /> -->
12
+    <title>智能客服中心</title>
13
+    <!--[if lt IE 11
14
+      ]><script>
15
+        window.location.href = '/html/ie.html'
16
+      </script><!
17
+    [endif]-->
18
+    <style>
19
+      html,
20
+      body,
21
+      #app {
22
+        height: 100%;
23
+        margin: 0px;
24
+        padding: 0px;
25
+      }
26
+
27
+      .chromeframe {
28
+        margin: 0.2em 0;
29
+        background: #ccc;
30
+        color: #000;
31
+        padding: 0.2em 0;
32
+      }
33
+
34
+      #loader-wrapper {
35
+        position: fixed;
36
+        top: 0;
37
+        left: 0;
38
+        width: 100%;
39
+        height: 100%;
40
+        z-index: 999999;
41
+      }
42
+
43
+      #loader {
44
+        display: block;
45
+        position: relative;
46
+        left: 50%;
47
+        top: 50%;
48
+        width: 150px;
49
+        height: 150px;
50
+        margin: -75px 0 0 -75px;
51
+        border-radius: 50%;
52
+        border: 3px solid transparent;
53
+        border-top-color: #fff;
54
+        -webkit-animation: spin 2s linear infinite;
55
+        -ms-animation: spin 2s linear infinite;
56
+        -moz-animation: spin 2s linear infinite;
57
+        -o-animation: spin 2s linear infinite;
58
+        animation: spin 2s linear infinite;
59
+        z-index: 1001;
60
+      }
61
+
62
+      #loader:before {
63
+        content: '';
64
+        position: absolute;
65
+        top: 5px;
66
+        left: 5px;
67
+        right: 5px;
68
+        bottom: 5px;
69
+        border-radius: 50%;
70
+        border: 3px solid transparent;
71
+        border-top-color: #fff;
72
+        -webkit-animation: spin 3s linear infinite;
73
+        -moz-animation: spin 3s linear infinite;
74
+        -o-animation: spin 3s linear infinite;
75
+        -ms-animation: spin 3s linear infinite;
76
+        animation: spin 3s linear infinite;
77
+      }
78
+
79
+      #loader:after {
80
+        content: '';
81
+        position: absolute;
82
+        top: 15px;
83
+        left: 15px;
84
+        right: 15px;
85
+        bottom: 15px;
86
+        border-radius: 50%;
87
+        border: 3px solid transparent;
88
+        border-top-color: #fff;
89
+        -moz-animation: spin 1.5s linear infinite;
90
+        -o-animation: spin 1.5s linear infinite;
91
+        -ms-animation: spin 1.5s linear infinite;
92
+        -webkit-animation: spin 1.5s linear infinite;
93
+        animation: spin 1.5s linear infinite;
94
+      }
95
+
96
+      @-webkit-keyframes spin {
97
+        0% {
98
+          -webkit-transform: rotate(0deg);
99
+          -ms-transform: rotate(0deg);
100
+          transform: rotate(0deg);
101
+        }
102
+
103
+        100% {
104
+          -webkit-transform: rotate(360deg);
105
+          -ms-transform: rotate(360deg);
106
+          transform: rotate(360deg);
107
+        }
108
+      }
109
+
110
+      @keyframes spin {
111
+        0% {
112
+          -webkit-transform: rotate(0deg);
113
+          -ms-transform: rotate(0deg);
114
+          transform: rotate(0deg);
115
+        }
116
+
117
+        100% {
118
+          -webkit-transform: rotate(360deg);
119
+          -ms-transform: rotate(360deg);
120
+          transform: rotate(360deg);
121
+        }
122
+      }
123
+
124
+      #loader-wrapper .loader-section {
125
+        position: fixed;
126
+        top: 0;
127
+        width: 51%;
128
+        height: 100%;
129
+        background: #7171c6;
130
+        z-index: 1000;
131
+        -webkit-transform: translateX(0);
132
+        -ms-transform: translateX(0);
133
+        transform: translateX(0);
134
+      }
135
+
136
+      #loader-wrapper .loader-section.section-left {
137
+        left: 0;
138
+      }
139
+
140
+      #loader-wrapper .loader-section.section-right {
141
+        right: 0;
142
+      }
143
+
144
+      .loaded #loader-wrapper .loader-section.section-left {
145
+        -webkit-transform: translateX(-100%);
146
+        -ms-transform: translateX(-100%);
147
+        transform: translateX(-100%);
148
+        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
149
+        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
150
+      }
151
+
152
+      .loaded #loader-wrapper .loader-section.section-right {
153
+        -webkit-transform: translateX(100%);
154
+        -ms-transform: translateX(100%);
155
+        transform: translateX(100%);
156
+        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
157
+        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
158
+      }
159
+
160
+      .loaded #loader {
161
+        opacity: 0;
162
+        -webkit-transition: all 0.3s ease-out;
163
+        transition: all 0.3s ease-out;
164
+      }
165
+
166
+      .loaded #loader-wrapper {
167
+        visibility: hidden;
168
+        -webkit-transform: translateY(-100%);
169
+        -ms-transform: translateY(-100%);
170
+        transform: translateY(-100%);
171
+        -webkit-transition: all 0.3s 1s ease-out;
172
+        transition: all 0.3s 1s ease-out;
173
+      }
174
+
175
+      .no-js #loader-wrapper {
176
+        display: none;
177
+      }
178
+
179
+      .no-js h1 {
180
+        color: #222222;
181
+      }
182
+
183
+      #loader-wrapper .load_title {
184
+        font-family: 'Open Sans';
185
+        color: #fff;
186
+        font-size: 19px;
187
+        width: 100%;
188
+        text-align: center;
189
+        z-index: 9999999999999;
190
+        position: absolute;
191
+        top: 60%;
192
+        opacity: 1;
193
+        line-height: 30px;
194
+      }
195
+
196
+      #loader-wrapper .load_title span {
197
+        font-weight: normal;
198
+        font-style: italic;
199
+        font-size: 13px;
200
+        color: #fff;
201
+        opacity: 0.5;
202
+      }
203
+    </style>
204
+  </head>
205
+
206
+  <body>
207
+    <div id="app">
208
+      <div id="loader-wrapper">
209
+        <div id="loader"></div>
210
+        <div class="loader-section section-left"></div>
211
+        <div class="loader-section section-right"></div>
212
+        <!-- <div class="load_title">正在加载系统资源,请耐心等待</div> -->
213
+      </div>
214
+    </div>
215
+    <script type="module" src="/src/main.js"></script>
216
+  </body>
217
+</html>

+ 101 - 0
package.json

@@ -0,0 +1,101 @@
1
+{
2
+  "name": "jiayi",
3
+  "version": "3.8.5",
4
+  "description": "在线客服管理系统",
5
+  "author": "加一",
6
+  "license": "MIT",
7
+  "scripts": {
8
+    "dev": "vite",
9
+    "css": "npx tailwindcss -i ./src/style.css -o ./src/assets/style.css --watch",
10
+    "build:prod": "vite build",
11
+    "build:stage": "vite build --mode staging",
12
+    "prettier": "prettier --write .",
13
+    "preview": "vite preview",
14
+    "prepare": "cd .. && husky install superjsonweb/.husky"
15
+  },
16
+  "repository": {
17
+    "type": "git",
18
+    "url": "https://gitee.com/y_project/RuoYi-Vue.git"
19
+  },
20
+  "dependencies": {
21
+    "@antv/x6": "^2.18.1",
22
+    "@antv/x6-plugin-dnd": "^2.1.1",
23
+    "@antv/x6-plugin-history": "^2.2.4",
24
+    "@antv/x6-plugin-minimap": "^2.0.7",
25
+    "@antv/x6-plugin-scroller": "^2.0.10",
26
+    "@antv/x6-plugin-selection": "^2.2.2",
27
+    "@antv/x6-vue-shape": "^2.1.2",
28
+    "@bpmn-io/properties-panel": "^3.3.1",
29
+    "@efox/emp-vuett": "^1.0.0",
30
+    "@element-plus/icons": "^0.0.11",
31
+    "@element-plus/icons-vue": "2.0.10",
32
+    "@form-create/designer": "^3.1.3",
33
+    "@form-create/element-ui": "^3.1.22",
34
+    "@logicflow/core": "^1.2.18",
35
+    "@logicflow/extension": "^1.2.19",
36
+    "@microsoft/fetch-event-source": "^2.0.1",
37
+    "@tinymce/tinymce-vue": "^5.1.1",
38
+    "@traptitech/markdown-it-katex": "^3.6.0",
39
+    "@types/markdown-it": "^14.1.2",
40
+    "@vueup/vue-quill": "1.1.0",
41
+    "@vueuse/core": "9.5.0",
42
+    "aplayer": "^1.10.1",
43
+    "axios": "0.27.2",
44
+    "better-scroll": "^2.5.1",
45
+    "bpmn-js": "^13.2.2",
46
+    "bpmn-js-task-resize": "^1.2.0",
47
+    "bpmn-js-token-simulation": "^0.10.0",
48
+    "camunda-bpmn-moddle": "^7.0.1",
49
+    "codemirror": "^5.60.0",
50
+    "codemirror-editor-vue3": "^2.0.6",
51
+    "core-js": "^3.6.5",
52
+    "crypto-js": "^4.2.0",
53
+    "default-passive-events": "^2.0.0",
54
+    "diagram-js-minimap": "^2.1.1",
55
+    "echarts": "^5.4.3",
56
+    "element-plus": "^2.7.0",
57
+    "eslint": "^8.56.0",
58
+    "file-saver": "2.0.5",
59
+    "fingerprintjs2": "^2.1.4",
60
+    "form-making": "^1.2.11",
61
+    "fuse.js": "6.6.2",
62
+    "getmac": "^6.4.0",
63
+    "highlight.js": "^10.5.0",
64
+    "js-cookie": "3.0.1",
65
+    "jsencrypt": "3.3.1",
66
+    "jsonlint-mod": "^1.7.6",
67
+    "jssip": "^3.10.1",
68
+    "jssipmiao": "^1.0.1",
69
+    "markdown-it": "^14.1.0",
70
+    "miaojssip": "^1.0.3",
71
+    "min-dash": "^3.5.2",
72
+    "moment": "^2.29.4",
73
+    "nprogress": "0.2.0",
74
+    "pinia": "2.0.22",
75
+    "qrcode": "^1.5.3",
76
+    "qrcodejs2": "^0.0.2",
77
+    "qrcodejs2-fix": "^0.0.1",
78
+    "sortablejs": "^1.15.1",
79
+    "tinymce": "^6.8.2",
80
+    "vue": "3.2.45",
81
+    "vue-cropper": "1.0.3",
82
+    "vue-json-pretty": "^2.4.0",
83
+    "vue-router": "4.1.4",
84
+    "yarn": "^1.22.19"
85
+  },
86
+  "devDependencies": {
87
+    "@vitejs/plugin-vue": "3.1.0",
88
+    "@vue/compiler-sfc": "3.2.45",
89
+    "eslint-config-prettier": "^8.8.0",
90
+    "eslint-plugin-prettier": "^4.2.1",
91
+    "husky": "^8.0.0",
92
+    "lodash": "^4.17.21",
93
+    "prettier": "^2.8.8",
94
+    "sass": "1.56.1",
95
+    "unplugin-auto-import": "0.11.4",
96
+    "vite": "3.2.3",
97
+    "vite-plugin-compression": "0.5.1",
98
+    "vite-plugin-svg-icons": "2.0.1",
99
+    "vite-plugin-vue-setup-extend": "0.4.0"
100
+  }
101
+}

+ 6 - 0
postcss.config.js

@@ -0,0 +1,6 @@
1
+module.exports = {
2
+  plugins: {
3
+    tailwindcss: {},
4
+    autoprefixer: {},
5
+  },
6
+}

+ 11 - 0
prettier.config.js

@@ -0,0 +1,11 @@
1
+module.exports = {
2
+    printWidth: 100,
3
+    semi: true,
4
+    vueIndentScriptAndStyle: true,
5
+    singleQuote: true,
6
+    trailingComma: 'all',
7
+    proseWrap: 'never',
8
+    htmlWhitespaceSensitivity: 'strict',
9
+    endOfLine: 'auto',
10
+  };
11
+  

+ 55 - 0
project-remark.md

@@ -0,0 +1,55 @@
1
+
2
+
3
+### 2.3 目录规范-src
4
+
5
+- api
6
+  - system
7
+    - user.js
8
+  - >...一个菜单一个文件夹
9
+  - common.js
10
+  - layout.js
11
+  - >...公共api与首页api
12
+- assets
13
+  - image
14
+  - style
15
+  - mp3
16
+  - >...一种种类,一个文件夹
17
+- base-ui
18
+  - card
19
+  - from
20
+  - table
21
+  - echarts
22
+  - >...再最基础的组件封装的可供多个页面调用的组件,可在此基础上封装成项目所用组件
23
+- components
24
+  - page-content 此组件是展示的列表部分,实在base-ui目录下的table组件的基础上封装的
25
+  - nav-menu页面的公共组件
26
+  - >...此文件夹放页面的公共组件
27
+- directive
28
+- hooks
29
+- modules
30
+- package自定义流程组件目录
31
+- plugins
32
+- router
33
+- store
34
+- utils
35
+- views
36
+  - >...项目公用组件统一放到components文件夹里
37
+  - system
38
+    - cpns为当前菜单公用的组件
39
+    - post
40
+      - config
41
+        - content.config.js
42
+        - modal.config.js
43
+        - search.config.js
44
+      - index.vue
45
+  - >...一个菜单一个目录
46
+    - >... 子菜单目录
47
+      - >...配置文件目录
48
+        - >...列表js
49
+        - >...添加修改js
50
+        - >...搜索js
51
+      - >...子菜单页面
52
+  
53
+  文件目录按照菜单进行划分
54
+
55
+

+ 262 - 0
project-remark1.md

@@ -0,0 +1,262 @@
1
+>微信公众号排版工具。问题或建议,请公众号留言。**[程序员翻身](#jump_8)**
2
+
3
+建议使用 **Chrome** 浏览器,体验最佳效果。
4
+
5
+使用微信公众号编辑器有一个十分头疼的问题:粘贴出来的代码,格式错乱,空间小还带行号,而且特别丑。Markdown.com.cn编辑器能够解决这个问题。
6
+
7
+Markdown是一种轻量级的「标记语言」。
8
+
9
+请阅读下方文本熟悉工具使用方法,本文可直接拷贝到微信中预览。
10
+
11
+## 1 Markdown.com.cn 简介
12
+
13
+- 支持自定义样式的 Markdown 编辑器
14
+- 支持微信公众号、知乎和稀土掘金
15
+- 点击右上方对应图标,一键复制到各平台
16
+
17
+## 2 Markdown语法教程
18
+
19
+### 2.1 标题
20
+
21
+不同数量的`#`可以完成不同的标题,如下:
22
+
23
+# 一级标题
24
+
25
+## 二级标题
26
+
27
+### 三级标题
28
+
29
+### 2.2 字体
30
+
31
+粗体、斜体、粗体和斜体,删除线,需要在文字前后加不同的标记符号。如下:
32
+
33
+**这个是粗体**
34
+
35
+*这个是斜体*
36
+
37
+***这个是粗体加斜体***
38
+
39
+~这里想用删除线~~
40
+
41
+注:如果想给字体换颜色、字体或者居中显示,需要使用内嵌HTML来实现。
42
+
43
+### 2.3 无序列表
44
+
45
+无序列表的使用,在符号`-`后加空格使用。如下:
46
+
47
+- 无序列表 1
48
+- 无序列表 2
49
+- 无序列表 3
50
+
51
+如果要控制列表的层级,则需要在符号`-`前使用空格。如下:
52
+
53
+- 无序列表 1
54
+- 无序列表 2
55
+  - 无序列表 2.1
56
+  - 无序列表 2.2
57
+
58
+**由于微信原因,最多支持到二级列表**。
59
+
60
+### 2.4 有序列表
61
+
62
+有序列表的使用,在数字及符号`.`后加空格后输入内容,如下:
63
+
64
+1. 有序列表 1
65
+2. 有序列表 2
66
+3. 有序列表 3
67
+
68
+### 2.5 引用
69
+
70
+引用的格式是在符号`>`后面书写文字。如下:
71
+
72
+> 读一本好书,就是在和高尚的人谈话。 ——歌德
73
+
74
+> 雇用制度对工人不利,但工人根本无力摆脱这个制度。 ——阮一峰
75
+
76
+### 2.7 链接
77
+
78
+微信公众号仅支持公众号文章链接,即域名为`https://mp.weixin.qq.com/`的合法链接。使用方法如下所示:
79
+
80
+对于该论述,欢迎读者查阅之前发过的文章,[你是《未来世界的幸存者》么?](https://mp.weixin.qq.com/s/s5IhxV2ooX3JN_X416nidA)
81
+<a id="jump_8"></a>
82
+### 2.8 图片
83
+
84
+插入图片,格式如下:
85
+
86
+![这里写图片描述](https://www.nginx.cn/wp-content/uploads/2020/03/qrcode_for_gh_82cf87d482f0_258.jpg)
87
+
88
+支持 jpg、png、gif、svg 等图片格式,**其中 svg 文件仅可在微信公众平台中使用**,svg 文件示例如下:
89
+
90
+![](https://markdown.com.cn/images/i-am-svg.svg)
91
+
92
+支持图片**拖拽和截图粘贴**到编辑器中。
93
+
94
+注:支持图片 ***拖拽和截图粘贴*** 到编辑器中,仅支持 https 的图片,图片粘贴到微信时会自动上传微信服务器。
95
+
96
+### 2.9 分割线
97
+
98
+可以在一行中用三个以上的减号来建立一个分隔线,同时需要在分隔线的上面空一行。如下:
99
+
100
+---
101
+
102
+### 2.10 表格
103
+
104
+可以使用冒号来定义表格的对齐方式,如下:
105
+
106
+| 姓名       | 年龄  |         工作 |
107
+| :--------- | :---: | -----------: |
108
+| 小可爱     |  18   |     吃可爱多 |
109
+| 小小勇敢   |  20   |   爬棵勇敢树 |
110
+| 小小小机智 |  22   | 看一本机智书 |
111
+
112
+
113
+
114
+## 3. 特殊语法
115
+
116
+### 3.1 脚注
117
+
118
+> 支持平台:微信公众号、知乎。
119
+
120
+脚注与链接的区别如下所示:
121
+
122
+```markdown
123
+链接:[文字](链接)
124
+脚注:[文字](脚注解释 "脚注名字")
125
+```
126
+
127
+有人认为在[大前端时代](https://en.wikipedia.org/wiki/Front-end_web_development "Front-end web development")的背景下,移动端开发(Android、IOS)将逐步退出历史舞台。
128
+
129
+[全栈工程师](是指掌握多种技能,并能利用多种技能独立完成产品的人。 "什么是全栈工程师")在业务开发流程中起到了至关重要的作用。
130
+
131
+脚注内容请拉到最下面观看。
132
+
133
+### 3.2 代码块
134
+
135
+> 支持平台:微信代码主题仅支持微信公众号!其他主题无限制。
136
+
137
+如果在一个行内需要引用代码,只要用反引号引起来就好,如下:
138
+
139
+Use the `printf()` function.
140
+
141
+在需要高亮的代码块的前一行及后一行使用三个反引号,同时**第一行反引号后面表示代码块所使用的语言**,如下:
142
+
143
+```java
144
+// FileName: HelloWorld.java
145
+public class HelloWorld {
146
+  // Java 入口程序,程序从此入口
147
+  public static void main(String[] args) {
148
+    System.out.println("Hello,World!"); // 向控制台打印一条语句
149
+  }
150
+}
151
+```
152
+
153
+支持以下语言种类:
154
+
155
+```
156
+bash
157
+clojure,cpp,cs,css
158
+dart,dockerfile, diff
159
+erlang
160
+go,gradle,groovy
161
+haskell
162
+java,javascript,json,julia
163
+kotlin
164
+lisp,lua
165
+makefile,markdown,matlab
166
+objectivec
167
+perl,php,python
168
+r,ruby,rust
169
+scala,shell,sql,swift
170
+tex,typescript
171
+verilog,vhdl
172
+xml
173
+yaml
174
+```
175
+
176
+如果想要更换代码高亮样式,可在上方**代码主题**中挑选。
177
+
178
+其中**微信代码主题与微信官方一致**,有以下注意事项:
179
+
180
+- 带行号且不换行,代码大小与官方一致
181
+- 需要在代码块处标志语言,否则无法高亮
182
+- 粘贴到公众号后,用鼠标点代码块内外一次,完成高亮
183
+
184
+diff 不能同时和其他语言的高亮同时显示,且需要调整代码主题为微信代码主题以外的代码主题才能看到 diff 效果,使用效果如下:
185
+
186
+```diff
187
++ 新增项
188
+- 删除项
189
+```
190
+
191
+**其他主题不带行号,可自定义是否换行,代码大小与当前编辑器一致**
192
+
193
+### 3.3 数学公式
194
+
195
+> 支持平台:微信公众号、知乎。
196
+
197
+行内公式使用方法,比如这个化学公式:$\ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-}$
198
+
199
+块公式使用方法如下:
200
+
201
+$$H(D_2) = -\left(\frac{2}{4}\log_2 \frac{2}{4} + \frac{2}{4}\log_2 \frac{2}{4}\right) = 1$$
202
+
203
+矩阵:
204
+
205
+$$
206
+  \begin{pmatrix}
207
+  1 & a_1 & a_1^2 & \cdots & a_1^n \\
208
+  1 & a_2 & a_2^2 & \cdots & a_2^n \\
209
+  \vdots & \vdots & \vdots & \ddots & \vdots \\
210
+  1 & a_m & a_m^2 & \cdots & a_m^n \\
211
+  \end{pmatrix}
212
+$$
213
+
214
+公式由于微信不支持,目前的解决方案是转成 svg 放到微信中,无需调整,矢量不失真。
215
+
216
+目前测试如果公式量过大,在 Chrome 下会存在粘贴后无响应,但是在 Firefox 中始终能够成功。
217
+
218
+### 3.4 TOC
219
+
220
+> 支持平台:微信公众号、知乎。
221
+
222
+TOC 全称为 Table of Content,列出全部标题。
223
+
224
+[TOC]
225
+
226
+由于微信只支持到二级列表,本工具仅支持二级标题和三级标题的显示。
227
+
228
+### 3.5 注音符号
229
+
230
+> 支持平台:微信公众号。
231
+
232
+支持注音符号,用法如下:
233
+
234
+Markdown Nice 这么好用,简直是{喜大普奔|hē hē hē hē}呀!
235
+
236
+### 3.6 横屏滑动幻灯片
237
+
238
+> 支持平台:微信公众号。
239
+
240
+通过`<![](url),![](url)>`这种语法设置横屏滑动滑动片,具体用法如下:
241
+
242
+<![蓝1](https://markdown.com.cn/images/blue.jpg),![绿2](https://markdown.com.cn/images/green.jpg),![红3](https://markdown.com.cn.jpg)>
243
+
244
+## 4 其他语法
245
+
246
+### 4.1 HTML
247
+
248
+支持原生 HTML 语法,请写内联样式,如下:
249
+
250
+<span style="display:block;text-align:right;color:orangered;">橙色居右</span>
251
+<span style="display:block;text-align:center;color:orangered;">橙色居中</span>
252
+
253
+### 4.2 UML
254
+
255
+不支持,推荐使用开源工具`https://draw.io/`制作后再导入图片
256
+
257
+
258
+## 5 致谢
259
+
260
+* 歌词经理 [wechat-fromat](https://github.com/lyricat/wechat-format "灵感来源")
261
+* 颜家大少 [MD2All](http://md.aclickall.com/ "MdA2All")
262
+

BIN
public/favicon-1.ico


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ar.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/az.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/be.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/bg_BG.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/bn_BD.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ca.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/cs.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/cy.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/da.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/de.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/dv.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/el.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/eo.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/es.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/es_MX.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/et.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/eu.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/fa.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/fi.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/fr_FR.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ga.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/gl.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/he_IL.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/hi.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/hr.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/hu_HU.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/hy.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/id.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/is_IS.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/it.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ja.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ka_GE.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/kab.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/kk.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ko_KR.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ku.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/lt.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/lv.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/nb_NO.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ne.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/nl.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/nl_BE.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/oc.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/pl.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/pt_BR.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ro.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ru.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/sk.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/sl_SI.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/sq.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/sr.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/sv_SE.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ta.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/tg.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/th_TH.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/tr.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/ug.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/uk.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/uz.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/vi.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/zh-Hans.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/zh-Hant.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/zh_HK.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/zh_MO.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/langs/zh_SG.js


+ 66 - 0
public/tinymce/skins/content/dark/content.css

@@ -0,0 +1,66 @@
1
+body {
2
+  background-color: #222f3e;
3
+  color: #fff;
4
+  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
5
+  line-height: 1.4;
6
+  margin: 1rem;
7
+}
8
+a {
9
+  color: #4099ff;
10
+}
11
+table {
12
+  border-collapse: collapse;
13
+}
14
+/* Apply a default padding if legacy cellpadding attribute is missing */
15
+table:not([cellpadding]) th,
16
+table:not([cellpadding]) td {
17
+  padding: 0.4rem;
18
+}
19
+/* Set default table styles if a table has a positive border attribute
20
+   and no inline css */
21
+table[border]:not([border="0"]):not([style*="border-width"]) th,
22
+table[border]:not([border="0"]):not([style*="border-width"]) td {
23
+  border-width: 1px;
24
+}
25
+/* Set default table styles if a table has a positive border attribute
26
+   and no inline css */
27
+table[border]:not([border="0"]):not([style*="border-style"]) th,
28
+table[border]:not([border="0"]):not([style*="border-style"]) td {
29
+  border-style: solid;
30
+}
31
+/* Set default table styles if a table has a positive border attribute
32
+   and no inline css */
33
+table[border]:not([border="0"]):not([style*="border-color"]) th,
34
+table[border]:not([border="0"]):not([style*="border-color"]) td {
35
+  border-color: #6d737b;
36
+}
37
+figure {
38
+  display: table;
39
+  margin: 1rem auto;
40
+}
41
+figure figcaption {
42
+  color: #8a8f97;
43
+  display: block;
44
+  margin-top: 0.25rem;
45
+  text-align: center;
46
+}
47
+hr {
48
+  border-color: #6d737b;
49
+  border-style: solid;
50
+  border-width: 1px 0 0 0;
51
+}
52
+code {
53
+  background-color: #6d737b;
54
+  border-radius: 3px;
55
+  padding: 0.1rem 0.2rem;
56
+}
57
+.mce-content-body:not([dir=rtl]) blockquote {
58
+  border-left: 2px solid #6d737b;
59
+  margin-left: 1.5rem;
60
+  padding-left: 1rem;
61
+}
62
+.mce-content-body[dir=rtl] blockquote {
63
+  border-right: 2px solid #6d737b;
64
+  margin-right: 1.5rem;
65
+  padding-right: 1rem;
66
+}

File diff suppressed because it is too large
+ 2 - 0
public/tinymce/skins/content/dark/content.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/skins/content/dark/content.min.css


+ 61 - 0
public/tinymce/skins/content/default/content.css

@@ -0,0 +1,61 @@
1
+body {
2
+  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
3
+  line-height: 1.4;
4
+  margin: 1rem;
5
+}
6
+table {
7
+  border-collapse: collapse;
8
+}
9
+/* Apply a default padding if legacy cellpadding attribute is missing */
10
+table:not([cellpadding]) th,
11
+table:not([cellpadding]) td {
12
+  padding: 0.4rem;
13
+}
14
+/* Set default table styles if a table has a positive border attribute
15
+   and no inline css */
16
+table[border]:not([border="0"]):not([style*="border-width"]) th,
17
+table[border]:not([border="0"]):not([style*="border-width"]) td {
18
+  border-width: 1px;
19
+}
20
+/* Set default table styles if a table has a positive border attribute
21
+   and no inline css */
22
+table[border]:not([border="0"]):not([style*="border-style"]) th,
23
+table[border]:not([border="0"]):not([style*="border-style"]) td {
24
+  border-style: solid;
25
+}
26
+/* Set default table styles if a table has a positive border attribute
27
+   and no inline css */
28
+table[border]:not([border="0"]):not([style*="border-color"]) th,
29
+table[border]:not([border="0"]):not([style*="border-color"]) td {
30
+  border-color: #ccc;
31
+}
32
+figure {
33
+  display: table;
34
+  margin: 1rem auto;
35
+}
36
+figure figcaption {
37
+  color: #999;
38
+  display: block;
39
+  margin-top: 0.25rem;
40
+  text-align: center;
41
+}
42
+hr {
43
+  border-color: #ccc;
44
+  border-style: solid;
45
+  border-width: 1px 0 0 0;
46
+}
47
+code {
48
+  background-color: #e8e8e8;
49
+  border-radius: 3px;
50
+  padding: 0.1rem 0.2rem;
51
+}
52
+.mce-content-body:not([dir=rtl]) blockquote {
53
+  border-left: 2px solid #ccc;
54
+  margin-left: 1.5rem;
55
+  padding-left: 1rem;
56
+}
57
+.mce-content-body[dir=rtl] blockquote {
58
+  border-right: 2px solid #ccc;
59
+  margin-right: 1.5rem;
60
+  padding-right: 1rem;
61
+}

File diff suppressed because it is too large
+ 2 - 0
public/tinymce/skins/content/default/content.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/skins/content/default/content.min.css


+ 66 - 0
public/tinymce/skins/content/document/content.css

@@ -0,0 +1,66 @@
1
+@media screen {
2
+  html {
3
+    background: #f4f4f4;
4
+    min-height: 100%;
5
+  }
6
+}
7
+body {
8
+  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
9
+}
10
+@media screen {
11
+  body {
12
+    background-color: #fff;
13
+    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
14
+    box-sizing: border-box;
15
+    margin: 1rem auto 0;
16
+    max-width: 820px;
17
+    min-height: calc(100vh - 1rem);
18
+    padding: 4rem 6rem 6rem 6rem;
19
+  }
20
+}
21
+table {
22
+  border-collapse: collapse;
23
+}
24
+/* Apply a default padding if legacy cellpadding attribute is missing */
25
+table:not([cellpadding]) th,
26
+table:not([cellpadding]) td {
27
+  padding: 0.4rem;
28
+}
29
+/* Set default table styles if a table has a positive border attribute
30
+   and no inline css */
31
+table[border]:not([border="0"]):not([style*="border-width"]) th,
32
+table[border]:not([border="0"]):not([style*="border-width"]) td {
33
+  border-width: 1px;
34
+}
35
+/* Set default table styles if a table has a positive border attribute
36
+   and no inline css */
37
+table[border]:not([border="0"]):not([style*="border-style"]) th,
38
+table[border]:not([border="0"]):not([style*="border-style"]) td {
39
+  border-style: solid;
40
+}
41
+/* Set default table styles if a table has a positive border attribute
42
+   and no inline css */
43
+table[border]:not([border="0"]):not([style*="border-color"]) th,
44
+table[border]:not([border="0"]):not([style*="border-color"]) td {
45
+  border-color: #ccc;
46
+}
47
+figure figcaption {
48
+  color: #999;
49
+  margin-top: 0.25rem;
50
+  text-align: center;
51
+}
52
+hr {
53
+  border-color: #ccc;
54
+  border-style: solid;
55
+  border-width: 1px 0 0 0;
56
+}
57
+.mce-content-body:not([dir=rtl]) blockquote {
58
+  border-left: 2px solid #ccc;
59
+  margin-left: 1.5rem;
60
+  padding-left: 1rem;
61
+}
62
+.mce-content-body[dir=rtl] blockquote {
63
+  border-right: 2px solid #ccc;
64
+  margin-right: 1.5rem;
65
+  padding-right: 1rem;
66
+}

File diff suppressed because it is too large
+ 2 - 0
public/tinymce/skins/content/document/content.js


File diff suppressed because it is too large
+ 1 - 0
public/tinymce/skins/content/document/content.min.css


+ 66 - 0
public/tinymce/skins/content/tinymce-5-dark/content.css

@@ -0,0 +1,66 @@
1
+body {
2
+  background-color: #2f3742;
3
+  color: #dfe0e4;
4
+  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
5
+  line-height: 1.4;
6
+  margin: 1rem;
7
+}
8
+a {
9
+  color: #4099ff;
10
+}
11
+table {
12
+  border-collapse: collapse;
13
+}
14
+/* Apply a default padding if legacy cellpadding attribute is missing */
15
+table:not([cellpadding]) th,
16
+table:not([cellpadding]) td {
17
+  padding: 0.4rem;
18
+}
19
+/* Set default table styles if a table has a positive border attribute
20
+   and no inline css */
21
+table[border]:not([border="0"]):not([style*="border-width"]) th,
22
+table[border]:not([border="0"]):not([style*="border-width"]) td {
23
+  border-width: 1px;
24
+}
25
+/* Set default table styles if a table has a positive border attribute
26
+   and no inline css */
27
+table[border]:not([border="0"]):not([style*="border-style"]) th,
28
+table[border]:not([border="0"]):not([style*="border-style"]) td {
29
+  border-style: solid;
30
+}
31
+/* Set default table styles if a table has a positive border attribute
32
+   and no inline css */
33
+table[border]:not([border="0"]):not([style*="border-color"]) th,
34
+table[border]:not([border="0"]):not([style*="border-color"]) td {
35
+  border-color: #6d737b;
36
+}
37
+figure {
38
+  display: table;
39
+  margin: 1rem auto;
40
+}
41
+figure figcaption {
42
+  color: #8a8f97;
43
+  display: block;
44
+  margin-top: 0.25rem;
45
+  text-align: center;
46
+}
47
+hr {
48
+  border-color: #6d737b;
49
+  border-style: solid;
50
+  border-width: 1px 0 0 0;
51
+}
52
+code {
53
+  background-color: #6d737b;
54
+  border-radius: 3px;
55
+  padding: 0.1rem 0.2rem;
56
+}
57
+.mce-content-body:not([dir=rtl]) blockquote {
58
+  border-left: 2px solid #6d737b;
59
+  margin-left: 1.5rem;
60
+  padding-left: 1rem;
61
+}
62
+.mce-content-body[dir=rtl] blockquote {
63
+  border-right: 2px solid #6d737b;
64
+  margin-right: 1.5rem;
65
+  padding-right: 1rem;
66
+}

File diff suppressed because it is too large
+ 2 - 0
public/tinymce/skins/content/tinymce-5-dark/content.js


+ 0 - 0
public/tinymce/skins/content/tinymce-5-dark/content.min.css


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