diff --git a/package.json b/package.json index a0754df..6fc5011 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,8 @@ "dependencies": { "@iconify/iconify": "^2.1.2", "@vueuse/core": "^7.6.0", + "@wangeditor/editor": "^0.14.3", + "@wangeditor/editor-for-vue": "^5.1.8-7", "@zxcvbn-ts/core": "^1.2.0", "animate.css": "^4.1.1", "axios": "^0.25.0", @@ -65,6 +67,7 @@ "autoprefixer": "^10.4.2", "commitizen": "^4.2.4", "consola": "^2.15.3", + "console": "npm:Console@^0.7.2", "eslint": "^8.8.0", "eslint-config-prettier": "^8.3.0", "eslint-define-config": "^1.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed4be9a..6ce295c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,12 +18,15 @@ specifiers: '@vitejs/plugin-vue': ^2.1.0 '@vitejs/plugin-vue-jsx': ^1.3.3 '@vueuse/core': ^7.6.0 + '@wangeditor/editor': ^0.14.3 + '@wangeditor/editor-for-vue': ^5.1.8-7 '@zxcvbn-ts/core': ^1.2.0 animate.css: ^4.1.1 autoprefixer: ^10.4.2 axios: ^0.25.0 commitizen: ^4.2.4 consola: ^2.15.3 + console: npm:Console@^0.7.2 echarts: ^5.3.0 echarts-wordcloud: ^2.0.0 element-plus: 2.0.1 @@ -74,6 +77,8 @@ specifiers: dependencies: '@iconify/iconify': registry.npmmirror.com/@iconify/iconify/2.1.2 '@vueuse/core': registry.npmmirror.com/@vueuse/core/7.6.0_vue@3.2.30 + '@wangeditor/editor': registry.npmmirror.com/@wangeditor/editor/0.14.3 + '@wangeditor/editor-for-vue': registry.npmmirror.com/@wangeditor/editor-for-vue/5.1.8-7_b0b943ae84e0400d749f7f83f49cf247 '@zxcvbn-ts/core': registry.npmmirror.com/@zxcvbn-ts/core/1.2.0 animate.css: registry.npmmirror.com/animate.css/4.1.1 axios: registry.npmmirror.com/axios/0.25.0 @@ -112,6 +117,7 @@ devDependencies: autoprefixer: registry.npmmirror.com/autoprefixer/10.4.2_postcss@8.4.6 commitizen: registry.npmmirror.com/commitizen/4.2.4_@types+node@17.0.16 consola: registry.npmmirror.com/consola/2.15.3 + console: registry.npmmirror.com/Console/0.7.2 eslint: registry.npmmirror.com/eslint/8.8.0 eslint-config-prettier: registry.nlark.com/eslint-config-prettier/8.3.0_eslint@8.8.0 eslint-define-config: registry.npmmirror.com/eslint-define-config/1.2.4 @@ -2550,6 +2556,20 @@ packages: - supports-color dev: true + registry.npmmirror.com/@babel/runtime/7.17.2: + resolution: + { + integrity: sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@babel/runtime/-/runtime-7.17.2.tgz + } + name: '@babel/runtime' + version: 7.17.2 + engines: { node: '>=6.9.0' } + dependencies: + regenerator-runtime: registry.npmmirror.com/regenerator-runtime/0.13.9 + dev: false + registry.npmmirror.com/@babel/template/7.16.0: resolution: { @@ -3411,6 +3431,17 @@ packages: picomatch: registry.npmmirror.com/picomatch/2.3.0 dev: true + registry.npmmirror.com/@transloadit/prettier-bytes/0.0.7: + resolution: + { + integrity: sha512-VeJbUb0wEKbcwaSlj5n+LscBl9IPgLPkHVGBkh00cztv6X4L/TJXK58LzFuBKX7/GAfiGhIwH67YTLTlzvIzBA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@transloadit/prettier-bytes/-/prettier-bytes-0.0.7.tgz + } + name: '@transloadit/prettier-bytes' + version: 0.0.7 + dev: false + registry.npmmirror.com/@trysound/sax/0.2.0: resolution: { @@ -3805,6 +3836,83 @@ packages: eslint-visitor-keys: registry.npmmirror.com/eslint-visitor-keys/3.2.0 dev: true + registry.npmmirror.com/@uppy/companion-client/2.0.4: + resolution: + { + integrity: sha512-Uc3bJzgSdvB+wKYoAbmhY7jv5DlziZQdK0w+5Eku2M93xcOictgJPoti94rj/PtZRH3gyszDkwACERs/bfbI7g==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@uppy/companion-client/-/companion-client-2.0.4.tgz + } + name: '@uppy/companion-client' + version: 2.0.4 + dependencies: + '@uppy/utils': registry.npmmirror.com/@uppy/utils/4.0.5 + namespace-emitter: registry.npmmirror.com/namespace-emitter/2.0.1 + dev: false + + registry.npmmirror.com/@uppy/core/2.1.4: + resolution: + { + integrity: sha512-tVC44D66BbISD3gJaqH3xUrVEP5Pah0cDQV98sI3N6W6yMSOW4m3xuhqhcWvEd4DolKCp0vyvc/pW6rsQbMVRA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@uppy/core/-/core-2.1.4.tgz + } + name: '@uppy/core' + version: 2.1.4 + dependencies: + '@transloadit/prettier-bytes': registry.npmmirror.com/@transloadit/prettier-bytes/0.0.7 + '@uppy/store-default': registry.npmmirror.com/@uppy/store-default/2.0.3 + '@uppy/utils': registry.npmmirror.com/@uppy/utils/4.0.5 + lodash.throttle: registry.npmmirror.com/lodash.throttle/4.1.1 + mime-match: registry.npmmirror.com/mime-match/1.0.2 + namespace-emitter: registry.npmmirror.com/namespace-emitter/2.0.1 + nanoid: registry.npmmirror.com/nanoid/3.2.0 + preact: registry.npmmirror.com/preact/10.6.5 + dev: false + + registry.npmmirror.com/@uppy/store-default/2.0.3: + resolution: + { + integrity: sha512-2BGlN1sW0cFv4rOqTK8dfSg579S984N1HxCJxLFqeW9nWD6zd/O8Omyd85tbxGQ+FLZLTmLOm/feD0YeCBMahg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@uppy/store-default/-/store-default-2.0.3.tgz + } + name: '@uppy/store-default' + version: 2.0.3 + dev: false + + registry.npmmirror.com/@uppy/utils/4.0.5: + resolution: + { + integrity: sha512-uRv921A69UMjuWCLSC5tKXuIVoMOROVpFstIAQv5CoiCOCXyofcWpvAqELT7qlQJ5VRWha3uF5d/Z94SNnwxew==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@uppy/utils/-/utils-4.0.5.tgz + } + name: '@uppy/utils' + version: 4.0.5 + dependencies: + lodash.throttle: registry.npmmirror.com/lodash.throttle/4.1.1 + dev: false + + registry.npmmirror.com/@uppy/xhr-upload/2.0.7_@uppy+core@2.1.4: + resolution: + { + integrity: sha512-bzCc654B0HfNmL4BIr7gGTvg2pQBucYgPmAb4ST7jGyWlEJWbSxMXR/19zvISQzpJ6v1uP6q2ppgxGMqNdj/rA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@uppy/xhr-upload/-/xhr-upload-2.0.7.tgz + } + id: registry.npmmirror.com/@uppy/xhr-upload/2.0.7 + name: '@uppy/xhr-upload' + version: 2.0.7 + peerDependencies: + '@uppy/core': ^2.1.4 + dependencies: + '@uppy/companion-client': registry.npmmirror.com/@uppy/companion-client/2.0.4 + '@uppy/core': registry.npmmirror.com/@uppy/core/2.1.4 + '@uppy/utils': registry.npmmirror.com/@uppy/utils/4.0.5 + nanoid: registry.npmmirror.com/nanoid/3.2.0 + dev: false + registry.npmmirror.com/@vitejs/plugin-vue-jsx/1.3.3: resolution: { @@ -4308,6 +4416,269 @@ packages: vue-demi: registry.npmmirror.com/vue-demi/0.12.1_vue@3.2.30 dev: false + registry.npmmirror.com/@wangeditor/basic-modules/0.10.3_1953a34e78d6fc31db567f67575a4a72: + resolution: + { + integrity: sha512-wYYfJBr8+3tnrK8Ib3Ck7IQGEDFN027uab6RzHImgmMxznvHplL2UYOBlDbQKrUIX2NFNro8+GYqSZhlqdXUzw==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/basic-modules/-/basic-modules-0.10.3.tgz + } + id: registry.npmmirror.com/@wangeditor/basic-modules/0.10.3 + name: '@wangeditor/basic-modules' + version: 0.10.3 + peerDependencies: + '@wangeditor/core': ^0.7.1 + dom7: ^3.0.0 + is-hotkey: ^0.2.0 + lodash.throttle: ^4.1.1 + nanoid: ^3.2.0 + slate: ^0.72.0 + snabbdom: ^3.1.0 + dependencies: + '@wangeditor/core': registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3 + dom7: registry.npmmirror.com/dom7/3.0.0 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + is-url: registry.npmmirror.com/is-url/1.2.4 + lodash.throttle: registry.npmmirror.com/lodash.throttle/4.1.1 + nanoid: registry.npmmirror.com/nanoid/3.2.0 + slate: registry.npmmirror.com/slate/0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + + registry.npmmirror.com/@wangeditor/code-highlight/0.8.0_f17643d765543d12ee0b3113afdbc017: + resolution: + { + integrity: sha512-MXNnj3wtTzzSUYcq8EClMeXskrwvq0RGL20uxETrmaSxNJOqE1XBkK+9S3L+pu+nbFmtCn3YXGGqZ9+9sc3s1A==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/code-highlight/-/code-highlight-0.8.0.tgz + } + id: registry.npmmirror.com/@wangeditor/code-highlight/0.8.0 + name: '@wangeditor/code-highlight' + version: 0.8.0 + peerDependencies: + '@wangeditor/core': ^0.7.1 + dom7: ^3.0.0 + is-hotkey: ^0.2.0 + slate: ^0.72.0 + snabbdom: ^3.1.0 + dependencies: + '@wangeditor/core': registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3 + dom7: registry.npmmirror.com/dom7/3.0.0 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + prismjs: registry.npmmirror.com/prismjs/1.26.0 + slate: registry.npmmirror.com/slate/0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + + registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3: + resolution: + { + integrity: sha512-2osX3XXfoygmNGsf9q64/MsaNhzx+GKakkumTVU/+2LBHLyUjzeZf4zE1036UGN8L+2cIenoduoSXE+pRzIiVA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/core/-/core-0.14.1.tgz + } + id: registry.npmmirror.com/@wangeditor/core/0.14.1 + name: '@wangeditor/core' + version: 0.14.1 + peerDependencies: + '@uppy/core': ^2.1.1 + '@uppy/xhr-upload': ^2.0.3 + dom7: ^3.0.0 + is-hotkey: ^0.2.0 + lodash.camelcase: ^4.3.0 + lodash.clonedeep: ^4.5.0 + lodash.debounce: ^4.0.8 + lodash.foreach: ^4.5.0 + lodash.isequal: ^4.5.0 + lodash.throttle: ^4.1.1 + lodash.toarray: ^4.4.0 + nanoid: ^3.2.0 + slate: ^0.72.0 + snabbdom: ^3.1.0 + dependencies: + '@uppy/core': registry.npmmirror.com/@uppy/core/2.1.4 + '@uppy/xhr-upload': registry.npmmirror.com/@uppy/xhr-upload/2.0.7_@uppy+core@2.1.4 + dom7: registry.npmmirror.com/dom7/3.0.0 + event-emitter: registry.npmmirror.com/event-emitter/0.3.5 + html-void-elements: registry.npmmirror.com/html-void-elements/2.0.1 + i18next: registry.npmmirror.com/i18next/20.6.1 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + lodash.camelcase: registry.npmmirror.com/lodash.camelcase/4.3.0 + lodash.clonedeep: registry.npmmirror.com/lodash.clonedeep/4.5.0 + lodash.debounce: registry.npmmirror.com/lodash.debounce/4.0.8 + lodash.foreach: registry.npmmirror.com/lodash.foreach/4.5.0 + lodash.isequal: registry.npmmirror.com/lodash.isequal/4.5.0 + lodash.throttle: registry.npmmirror.com/lodash.throttle/4.1.1 + lodash.toarray: registry.npmmirror.com/lodash.toarray/4.4.0 + nanoid: registry.npmmirror.com/nanoid/3.2.0 + scroll-into-view-if-needed: registry.npmmirror.com/scroll-into-view-if-needed/2.2.29 + slate: registry.npmmirror.com/slate/0.72.8 + slate-history: registry.npmmirror.com/slate-history/0.66.0_slate@0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + + registry.npmmirror.com/@wangeditor/editor-for-vue/5.1.8-7_b0b943ae84e0400d749f7f83f49cf247: + resolution: + { + integrity: sha512-U+gixhGoPHNbwNXFretC+Hh7nimjLIvgIZ0U3c5w8GDhH6cOut2S4c+NYFV1xLYI/1PokIIiixxp+lx+hyka+g==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/editor-for-vue/-/editor-for-vue-5.1.8-7.tgz + } + id: registry.npmmirror.com/@wangeditor/editor-for-vue/5.1.8-7 + name: '@wangeditor/editor-for-vue' + version: 5.1.8-7 + peerDependencies: + '@wangeditor/editor': ^0.14.0 + vue: ^3.0.5 + dependencies: + '@wangeditor/editor': registry.npmmirror.com/@wangeditor/editor/0.14.3 + eventemitter3: registry.npmmirror.com/eventemitter3/4.0.7 + vue: registry.npmmirror.com/vue/3.2.30 + dev: false + + registry.npmmirror.com/@wangeditor/editor/0.14.3: + resolution: + { + integrity: sha512-xDNU5D1awQdEYhj5eRi9/hF6nx13xIGl7rOLVXnjjACrzWESOhSSI9NAeekna37dwLOw670sQTecTUUTnme5Kw==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/editor/-/editor-0.14.3.tgz + } + name: '@wangeditor/editor' + version: 0.14.3 + dependencies: + '@uppy/core': registry.npmmirror.com/@uppy/core/2.1.4 + '@uppy/xhr-upload': registry.npmmirror.com/@uppy/xhr-upload/2.0.7_@uppy+core@2.1.4 + '@wangeditor/basic-modules': registry.npmmirror.com/@wangeditor/basic-modules/0.10.3_1953a34e78d6fc31db567f67575a4a72 + '@wangeditor/code-highlight': registry.npmmirror.com/@wangeditor/code-highlight/0.8.0_f17643d765543d12ee0b3113afdbc017 + '@wangeditor/core': registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3 + '@wangeditor/list-module': registry.npmmirror.com/@wangeditor/list-module/0.8.0_f17643d765543d12ee0b3113afdbc017 + '@wangeditor/table-module': registry.npmmirror.com/@wangeditor/table-module/0.9.1_68f7e33589edf35872cfd161121abb6a + '@wangeditor/upload-image-module': registry.npmmirror.com/@wangeditor/upload-image-module/0.7.13_6c17707f849b3c55ac55c6903299a0b3 + '@wangeditor/video-module': registry.npmmirror.com/@wangeditor/video-module/0.9.2_1b0306cd8f501cc5ac802396e7a7f59b + dom7: registry.npmmirror.com/dom7/3.0.0 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + lodash.camelcase: registry.npmmirror.com/lodash.camelcase/4.3.0 + lodash.clonedeep: registry.npmmirror.com/lodash.clonedeep/4.5.0 + lodash.debounce: registry.npmmirror.com/lodash.debounce/4.0.8 + lodash.foreach: registry.npmmirror.com/lodash.foreach/4.5.0 + lodash.isequal: registry.npmmirror.com/lodash.isequal/4.5.0 + lodash.throttle: registry.npmmirror.com/lodash.throttle/4.1.1 + lodash.toarray: registry.npmmirror.com/lodash.toarray/4.4.0 + nanoid: registry.npmmirror.com/nanoid/3.2.0 + slate: registry.npmmirror.com/slate/0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + + registry.npmmirror.com/@wangeditor/list-module/0.8.0_f17643d765543d12ee0b3113afdbc017: + resolution: + { + integrity: sha512-Y4Koisqc/+FE4Ypj6j76Mjpy5bWzdqMtp+JYlKCdkveS2L8ns2yFIkXbhvP60hfZ4ycQDwufyzk6r83pq+RuVg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/list-module/-/list-module-0.8.0.tgz + } + id: registry.npmmirror.com/@wangeditor/list-module/0.8.0 + name: '@wangeditor/list-module' + version: 0.8.0 + peerDependencies: + '@wangeditor/core': ^0.7.1 + dom7: ^3.0.0 + is-hotkey: ^0.2.0 + slate: ^0.72.0 + snabbdom: ^3.1.0 + dependencies: + '@wangeditor/core': registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3 + dom7: registry.npmmirror.com/dom7/3.0.0 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + slate: registry.npmmirror.com/slate/0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + + registry.npmmirror.com/@wangeditor/table-module/0.9.1_68f7e33589edf35872cfd161121abb6a: + resolution: + { + integrity: sha512-Wqq/VkihAxc0Xs2RhRvLgTZuxtov4mpOl5rRWIqLgLhDzu5Sr2Rv89MDSczqRBRrzupxO+TUcaHLrt12HqGxEQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/table-module/-/table-module-0.9.1.tgz + } + id: registry.npmmirror.com/@wangeditor/table-module/0.9.1 + name: '@wangeditor/table-module' + version: 0.9.1 + peerDependencies: + '@wangeditor/core': ^0.7.1 + dom7: ^3.0.0 + is-hotkey: ^0.2.0 + lodash.isequal: ^4.5.0 + nanoid: ^3.2.0 + slate: ^0.72.0 + snabbdom: ^3.1.0 + dependencies: + '@wangeditor/core': registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3 + dom7: registry.npmmirror.com/dom7/3.0.0 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + lodash.isequal: registry.npmmirror.com/lodash.isequal/4.5.0 + nanoid: registry.npmmirror.com/nanoid/3.2.0 + slate: registry.npmmirror.com/slate/0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + + registry.npmmirror.com/@wangeditor/upload-image-module/0.7.13_6c17707f849b3c55ac55c6903299a0b3: + resolution: + { + integrity: sha512-7fOSXz+UjMOclNaWhfD75nvtA+ZzEnIKGT34Ij19IowbBhoa/RyFSggTqciAnVTf2skriW3Gt9/eHYbLPL4KTQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/upload-image-module/-/upload-image-module-0.7.13.tgz + } + id: registry.npmmirror.com/@wangeditor/upload-image-module/0.7.13 + name: '@wangeditor/upload-image-module' + version: 0.7.13 + peerDependencies: + '@uppy/core': ^2.0.3 + '@uppy/xhr-upload': ^2.0.3 + '@wangeditor/basic-modules': ^0.9.0 + '@wangeditor/core': ^0.7.1 + dom7: ^3.0.0 + is-hotkey: ^0.2.0 + lodash.foreach: ^4.5.0 + slate: ^0.72.0 + snabbdom: ^3.1.0 + dependencies: + '@uppy/core': registry.npmmirror.com/@uppy/core/2.1.4 + '@uppy/xhr-upload': registry.npmmirror.com/@uppy/xhr-upload/2.0.7_@uppy+core@2.1.4 + '@wangeditor/basic-modules': registry.npmmirror.com/@wangeditor/basic-modules/0.10.3_1953a34e78d6fc31db567f67575a4a72 + '@wangeditor/core': registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3 + dom7: registry.npmmirror.com/dom7/3.0.0 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + lodash.foreach: registry.npmmirror.com/lodash.foreach/4.5.0 + slate: registry.npmmirror.com/slate/0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + + registry.npmmirror.com/@wangeditor/video-module/0.9.2_1b0306cd8f501cc5ac802396e7a7f59b: + resolution: + { + integrity: sha512-UyJ9BIFqBNM3/sG05Mc6V1uc04l2mnPrPiHi17Fv2mcznPysfhgwzjpdxulpnmmod757X9s14RuZXMI5IlytjQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/@wangeditor/video-module/-/video-module-0.9.2.tgz + } + id: registry.npmmirror.com/@wangeditor/video-module/0.9.2 + name: '@wangeditor/video-module' + version: 0.9.2 + peerDependencies: + '@wangeditor/core': ^0.7.1 + dom7: ^3.0.0 + is-hotkey: ^0.2.0 + nanoid: ^3.2.0 + slate: ^0.72.0 + snabbdom: ^3.1.0 + dependencies: + '@wangeditor/core': registry.npmmirror.com/@wangeditor/core/0.14.1_41299d7d925eea83662f9034850488d3 + dom7: registry.npmmirror.com/dom7/3.0.0 + is-hotkey: registry.npmmirror.com/is-hotkey/0.2.0 + nanoid: registry.npmmirror.com/nanoid/3.2.0 + slate: registry.npmmirror.com/slate/0.72.8 + snabbdom: registry.npmmirror.com/snabbdom/3.3.1 + dev: false + registry.npmmirror.com/@windicss/config/1.6.1: resolution: { @@ -4402,7 +4773,7 @@ packages: registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/Console/-/Console-0.7.2.tgz } - name: console + name: Console version: 0.7.2 dev: true @@ -5601,6 +5972,17 @@ packages: version: 1.3.0 dev: true + registry.npmmirror.com/compute-scroll-into-view/1.0.17: + resolution: + { + integrity: sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.17.tgz + } + name: compute-scroll-into-view + version: 1.0.17 + dev: false + registry.npmmirror.com/consola/2.15.3: resolution: { @@ -5870,6 +6252,20 @@ packages: version: 2.6.19 dev: false + registry.npmmirror.com/d/1.0.1: + resolution: + { + integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/d/-/d-1.0.1.tgz + } + name: d + version: 1.0.1 + dependencies: + es5-ext: registry.npmmirror.com/es5-ext/0.10.53 + type: registry.npmmirror.com/type/1.2.0 + dev: false + registry.npmmirror.com/dayjs/1.10.7: resolution: { @@ -6121,6 +6517,19 @@ packages: entities: registry.npmmirror.com/entities/2.2.0 dev: true + registry.npmmirror.com/dom7/3.0.0: + resolution: + { + integrity: sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/dom7/-/dom7-3.0.0.tgz + } + name: dom7 + version: 3.0.0 + dependencies: + ssr-window: registry.npmmirror.com/ssr-window/3.0.0 + dev: false + registry.npmmirror.com/domelementtype/1.3.1: resolution: { @@ -6401,6 +6810,50 @@ packages: version: 0.9.3 dev: true + registry.npmmirror.com/es5-ext/0.10.53: + resolution: + { + integrity: sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/es5-ext/-/es5-ext-0.10.53.tgz + } + name: es5-ext + version: 0.10.53 + dependencies: + es6-iterator: registry.npmmirror.com/es6-iterator/2.0.3 + es6-symbol: registry.npmmirror.com/es6-symbol/3.1.3 + next-tick: registry.npmmirror.com/next-tick/1.0.0 + dev: false + + registry.npmmirror.com/es6-iterator/2.0.3: + resolution: + { + integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/es6-iterator/-/es6-iterator-2.0.3.tgz + } + name: es6-iterator + version: 2.0.3 + dependencies: + d: registry.npmmirror.com/d/1.0.1 + es5-ext: registry.npmmirror.com/es5-ext/0.10.53 + es6-symbol: registry.npmmirror.com/es6-symbol/3.1.3 + dev: false + + registry.npmmirror.com/es6-symbol/3.1.3: + resolution: + { + integrity: sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/es6-symbol/-/es6-symbol-3.1.3.tgz + } + name: es6-symbol + version: 3.1.3 + dependencies: + d: registry.npmmirror.com/d/1.0.1 + ext: registry.npmmirror.com/ext/1.6.0 + dev: false + registry.npmmirror.com/esbuild-android-arm64/0.13.15: resolution: { @@ -7149,6 +7602,31 @@ packages: engines: { node: '>= 0.6' } dev: true + registry.npmmirror.com/event-emitter/0.3.5: + resolution: + { + integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/event-emitter/-/event-emitter-0.3.5.tgz + } + name: event-emitter + version: 0.3.5 + dependencies: + d: registry.npmmirror.com/d/1.0.1 + es5-ext: registry.npmmirror.com/es5-ext/0.10.53 + dev: false + + registry.npmmirror.com/eventemitter3/4.0.7: + resolution: + { + integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz + } + name: eventemitter3 + version: 4.0.7 + dev: false + registry.npmmirror.com/execa/4.1.0: resolution: { @@ -7227,6 +7705,19 @@ packages: to-regex: registry.npmmirror.com/to-regex/3.0.2 dev: true + registry.npmmirror.com/ext/1.6.0: + resolution: + { + integrity: sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/ext/-/ext-1.6.0.tgz + } + name: ext + version: 1.6.0 + dependencies: + type: registry.npmmirror.com/type/2.6.0 + dev: false + registry.npmmirror.com/extend-shallow/2.0.1: resolution: { @@ -8091,6 +8582,17 @@ packages: engines: { node: '>=8' } dev: true + registry.npmmirror.com/html-void-elements/2.0.1: + resolution: + { + integrity: sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/html-void-elements/-/html-void-elements-2.0.1.tgz + } + name: html-void-elements + version: 2.0.1 + dev: false + registry.npmmirror.com/htmlparser2/3.10.1: resolution: { @@ -8178,6 +8680,19 @@ packages: hasBin: true dev: true + registry.npmmirror.com/i18next/20.6.1: + resolution: + { + integrity: sha512-yCMYTMEJ9ihCwEQQ3phLo7I/Pwycf8uAx+sRHwwk5U9Aui/IZYgQRyMqXafQOw5QQ7DM1Z+WyEXWIqSuJHhG2A==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/i18next/-/i18next-20.6.1.tgz + } + name: i18next + version: 20.6.1 + dependencies: + '@babel/runtime': registry.npmmirror.com/@babel/runtime/7.17.2 + dev: false + registry.npmmirror.com/ignore/4.0.6: resolution: { @@ -8216,6 +8731,17 @@ packages: requiresBuild: true dev: true + registry.npmmirror.com/immer/9.0.12: + resolution: + { + integrity: sha512-lk7UNmSbAukB5B6dh9fnh5D0bJTOFKxVg2cyJWTYrWRfhLrLMBquONcUs3aFq507hNoIZEDDh8lb8UtOizSMhA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/immer/-/immer-9.0.12.tgz + } + name: immer + version: 9.0.12 + dev: false + registry.npmmirror.com/import-fresh/3.3.0: resolution: { @@ -8550,6 +9076,17 @@ packages: is-extglob: registry.npmmirror.com/is-extglob/2.1.1 dev: true + registry.npmmirror.com/is-hotkey/0.2.0: + resolution: + { + integrity: sha512-UknnZK4RakDmTgz4PI1wIph5yxSs/mvChWs9ifnlXsKuXgWmOkY/hAE0H/k2MIqH0RlRye0i1oC07MCRSD28Mw==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/is-hotkey/-/is-hotkey-0.2.0.tgz + } + name: is-hotkey + version: 0.2.0 + dev: false + registry.npmmirror.com/is-module/1.0.0: resolution: { @@ -8623,7 +9160,6 @@ packages: name: is-plain-object version: 5.0.0 engines: { node: '>=0.10.0' } - dev: true registry.npmmirror.com/is-promise/2.2.2: resolution: @@ -8686,6 +9222,17 @@ packages: version: 1.0.0 dev: true + registry.npmmirror.com/is-url/1.2.4: + resolution: + { + integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/is-url/-/is-url-1.2.4.tgz + } + name: is-url + version: 1.2.4 + dev: false + registry.npmmirror.com/is-what/3.14.1: resolution: { @@ -9207,6 +9754,61 @@ packages: p-locate: registry.npmmirror.com/p-locate/5.0.0 dev: true + registry.npmmirror.com/lodash.camelcase/4.3.0: + resolution: + { + integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz + } + name: lodash.camelcase + version: 4.3.0 + dev: false + + registry.npmmirror.com/lodash.clonedeep/4.5.0: + resolution: + { + integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz + } + name: lodash.clonedeep + version: 4.5.0 + dev: false + + registry.npmmirror.com/lodash.debounce/4.0.8: + resolution: + { + integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz + } + name: lodash.debounce + version: 4.0.8 + dev: false + + registry.npmmirror.com/lodash.foreach/4.5.0: + resolution: + { + integrity: sha512-aEXTF4d+m05rVOAUG3z4vZZ4xVexLKZGF0lIxuHZ1Hplpk/3B6Z1+/ICICYRLm7c41Z2xiejbkCkJoTlypoXhQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz + } + name: lodash.foreach + version: 4.5.0 + dev: false + + registry.npmmirror.com/lodash.isequal/4.5.0: + resolution: + { + integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz + } + name: lodash.isequal + version: 4.5.0 + dev: false + registry.npmmirror.com/lodash.merge/4.6.2: resolution: { @@ -9218,6 +9820,28 @@ packages: version: 4.6.2 dev: true + registry.npmmirror.com/lodash.throttle/4.1.1: + resolution: + { + integrity: sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz + } + name: lodash.throttle + version: 4.1.1 + dev: false + + registry.npmmirror.com/lodash.toarray/4.4.0: + resolution: + { + integrity: sha512-QyffEA3i5dma5q2490+SgCvDN0pXLmRGSyAANuVi0HQ01Pkfr9fuoKQW8wm1wGBnJITs/mS7wQvS6VshUEBFCw==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz + } + name: lodash.toarray + version: 4.4.0 + dev: false + registry.npmmirror.com/lodash.truncate/4.4.2: resolution: { @@ -9508,6 +10132,19 @@ packages: picomatch: registry.npmmirror.com/picomatch/2.3.0 dev: true + registry.npmmirror.com/mime-match/1.0.2: + resolution: + { + integrity: sha512-VXp/ugGDVh3eCLOBCiHZMYWQaTNUHv2IJrut+yXA6+JbLPXHglHwfS/5A5L0ll+jkCY7fIzRJcH6OIunF+c6Cg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/mime-match/-/mime-match-1.0.2.tgz + } + name: mime-match + version: 1.0.2 + dependencies: + wildcard: registry.npmmirror.com/wildcard/1.1.2 + dev: false + registry.npmmirror.com/mime/1.6.0: resolution: { @@ -9676,6 +10313,17 @@ packages: minimatch: registry.nlark.com/minimatch/3.0.4 dev: true + registry.npmmirror.com/namespace-emitter/2.0.1: + resolution: + { + integrity: sha512-N/sMKHniSDJBjfrkbS/tpkPj4RAbvW3mr8UAzvlMHyun93XEm83IAvhWtJVHo+RHn/oO8Job5YN4b+wRjSVp5g==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/namespace-emitter/-/namespace-emitter-2.0.1.tgz + } + name: namespace-emitter + version: 2.0.1 + dev: false + registry.npmmirror.com/nanoid/3.2.0: resolution: { @@ -9742,6 +10390,17 @@ packages: dev: true optional: true + registry.npmmirror.com/next-tick/1.0.0: + resolution: + { + integrity: sha512-mc/caHeUcdjnC/boPWJefDr4KUIWQNv+tlnFnJd38QMou86QtxQzBJfxgGRzvx8jazYRqrVlaHarfO72uNxPOg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/next-tick/-/next-tick-1.0.0.tgz + } + name: next-tick + version: 1.0.0 + dev: false + registry.npmmirror.com/no-case/3.0.4: resolution: { @@ -10551,6 +11210,17 @@ packages: posthtml-render: registry.npmmirror.com/posthtml-render/1.4.0 dev: true + registry.npmmirror.com/preact/10.6.5: + resolution: + { + integrity: sha512-i+LXM6JiVjQXSt2jG2vZZFapGpCuk1fl8o6ii3G84MA3xgj686FKjs4JFDkmUVhtxyq21+4ay74zqPykz9hU6w==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/preact/-/preact-10.6.5.tgz + } + name: preact + version: 10.6.5 + dev: false + registry.npmmirror.com/prelude-ls/1.2.1: resolution: { @@ -10600,6 +11270,18 @@ packages: prettier: registry.npmmirror.com/prettier/2.5.1 dev: true + registry.npmmirror.com/prismjs/1.26.0: + resolution: + { + integrity: sha512-HUoH9C5Z3jKkl3UunCyiD5jwk0+Hz0fIgQ2nbwU2Oo/ceuTAQAg+pPVnfdt2TJWRVLcxKh9iuoYDUSc8clb5UQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/prismjs/-/prismjs-1.26.0.tgz + } + name: prismjs + version: 1.26.0 + engines: { node: '>=6' } + dev: false + registry.npmmirror.com/progress/2.0.3: resolution: { @@ -10946,6 +11628,17 @@ packages: strip-indent: registry.npmmirror.com/strip-indent/3.0.0 dev: true + registry.npmmirror.com/regenerator-runtime/0.13.9: + resolution: + { + integrity: sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz + } + name: regenerator-runtime + version: 0.13.9 + dev: false + registry.npmmirror.com/regex-not/1.0.2: resolution: { @@ -11242,6 +11935,19 @@ packages: ret: registry.npmmirror.com/ret/0.1.15 dev: true + registry.npmmirror.com/scroll-into-view-if-needed/2.2.29: + resolution: + { + integrity: sha512-hxpAR6AN+Gh53AdAimHM6C8oTN1ppwVZITihix+WqalywBeFcQ6LdQP5ABNl26nX8GTEL7VT+b8lKpdqq65wXg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.29.tgz + } + name: scroll-into-view-if-needed + version: 2.2.29 + dependencies: + compute-scroll-into-view: registry.npmmirror.com/compute-scroll-into-view/1.0.17 + dev: false + registry.npmmirror.com/semver/5.7.1: resolution: { @@ -11378,6 +12084,38 @@ packages: engines: { node: '>=8' } dev: true + registry.npmmirror.com/slate-history/0.66.0_slate@0.72.8: + resolution: + { + integrity: sha512-6MWpxGQZiMvSINlCbMW43E2YBSVMCMCIwQfBzGssjWw4kb0qfvj0pIdblWNRQZD0hR6WHP+dHHgGSeVdMWzfng==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/slate-history/-/slate-history-0.66.0.tgz + } + id: registry.npmmirror.com/slate-history/0.66.0 + name: slate-history + version: 0.66.0 + peerDependencies: + slate: '>=0.65.3' + dependencies: + is-plain-object: registry.npmmirror.com/is-plain-object/5.0.0 + slate: registry.npmmirror.com/slate/0.72.8 + dev: false + + registry.npmmirror.com/slate/0.72.8: + resolution: + { + integrity: sha512-/nJwTswQgnRurpK+bGJFH1oM7naD5qDmHd89JyiKNT2oOKD8marW0QSBtuFnwEbL5aGCS8AmrhXQgNOsn4osAw==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/slate/-/slate-0.72.8.tgz + } + name: slate + version: 0.72.8 + dependencies: + immer: registry.npmmirror.com/immer/9.0.12 + is-plain-object: registry.npmmirror.com/is-plain-object/5.0.0 + tiny-warning: registry.npmmirror.com/tiny-warning/1.0.3 + dev: false + registry.npmmirror.com/slice-ansi/3.0.0: resolution: { @@ -11425,6 +12163,18 @@ packages: is-fullwidth-code-point: registry.npmmirror.com/is-fullwidth-code-point/4.0.0 dev: true + registry.npmmirror.com/snabbdom/3.3.1: + resolution: + { + integrity: sha512-FR9u20dCkktPd+qbedqwYNjMXzYhizhqlKTQzYZimLNeCJY0/5qgs0DtLVSmzIEL1bN3Dyb9sQpiHGCxUjyLnQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/snabbdom/-/snabbdom-3.3.1.tgz + } + name: snabbdom + version: 3.3.1 + engines: { node: '>=8.3.0' } + dev: false + registry.npmmirror.com/snake-case/3.0.4: resolution: { @@ -11653,6 +12403,17 @@ packages: readable-stream: registry.npmmirror.com/readable-stream/3.6.0 dev: true + registry.npmmirror.com/ssr-window/3.0.0: + resolution: + { + integrity: sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/ssr-window/-/ssr-window-3.0.0.tgz + } + name: ssr-window + version: 3.0.0 + dev: false + registry.npmmirror.com/stable/0.1.8: resolution: { @@ -12178,6 +12939,17 @@ packages: version: 2.3.8 dev: true + registry.npmmirror.com/tiny-warning/1.0.3: + resolution: + { + integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/tiny-warning/-/tiny-warning-1.0.3.tgz + } + name: tiny-warning + version: 1.0.3 + dev: false + registry.npmmirror.com/to-fast-properties/2.0.0: resolution: { @@ -12446,6 +13218,28 @@ packages: engines: { node: '>=8' } dev: true + registry.npmmirror.com/type/1.2.0: + resolution: + { + integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/type/-/type-1.2.0.tgz + } + name: type + version: 1.2.0 + dev: false + + registry.npmmirror.com/type/2.6.0: + resolution: + { + integrity: sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/type/-/type-2.6.0.tgz + } + name: type + version: 2.6.0 + dev: false + registry.npmmirror.com/typedarray-to-buffer/4.0.0: resolution: { @@ -13226,6 +14020,17 @@ packages: isexe: registry.npmmirror.com/isexe/2.0.0 dev: true + registry.npmmirror.com/wildcard/1.1.2: + resolution: + { + integrity: sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==, + registry: https://registry.npm.taobao.org/, + tarball: https://registry.npmmirror.com/wildcard/-/wildcard-1.1.2.tgz + } + name: wildcard + version: 1.1.2 + dev: false + registry.npmmirror.com/windicss-analysis/0.3.5: resolution: { diff --git a/src/components/Editor/index.ts b/src/components/Editor/index.ts new file mode 100644 index 0000000..3fbf0a9 --- /dev/null +++ b/src/components/Editor/index.ts @@ -0,0 +1,8 @@ +import Editor from './src/Editor.vue' +import { IDomEditor } from '@wangeditor/editor' + +export interface EditorExpose { + getEditorRef: () => Promise +} + +export { Editor } diff --git a/src/components/Editor/src/Editor.vue b/src/components/Editor/src/Editor.vue new file mode 100644 index 0000000..1a1c46a --- /dev/null +++ b/src/components/Editor/src/Editor.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/src/locales/en.ts b/src/locales/en.ts index 03d8072..7b06761 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -102,7 +102,9 @@ export default { defaultForm: 'All examples', search: 'Search', table: 'Table', - defaultTable: 'Basic example' + defaultTable: 'Basic example', + editor: 'Editor', + richText: 'Rich text' }, analysis: { newUser: 'New user', @@ -330,5 +332,9 @@ export default { hiddenExpandedRows: 'Hidden expanded rows', changeTitle: 'Change title', header: 'Header' + }, + richText: { + richText: 'Rich text', + richTextDes: 'Secondary packaging based on wangeditor' } } diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 48b04ce..cc7106a 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -102,7 +102,9 @@ export default { defaultForm: '全部示例', search: '查询', table: '表格', - defaultTable: '基础示例' + defaultTable: '基础示例', + editor: '编辑器', + richText: '富文本' }, analysis: { newUser: '新增用户', @@ -327,5 +329,9 @@ export default { hiddenExpandedRows: '隐藏展开行', changeTitle: '修改标题', header: '头部' + }, + richText: { + richText: '富文本', + richTextDes: '基于 wangeditor 二次封装' } } diff --git a/src/router/index.ts b/src/router/index.ts index 74ac7d8..e67409b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -166,6 +166,25 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ } ] }, + { + path: 'editor-demo', + component: getParentLayout(), + name: 'EditorDemo', + meta: { + title: t('router.editor'), + alwaysShow: true + }, + children: [ + { + path: 'editor', + component: () => import('@/views/Components/Editor/Editor.vue'), + name: 'Editor', + meta: { + title: t('router.richText') + } + } + ] + }, { path: 'search', component: () => import('@/views/Components/Search.vue'), diff --git a/src/views/Components/Editor/Editor.vue b/src/views/Components/Editor/Editor.vue new file mode 100644 index 0000000..d779b1b --- /dev/null +++ b/src/views/Components/Editor/Editor.vue @@ -0,0 +1,32 @@ + + + diff --git a/types/custom-types.d.ts b/types/custom-types.d.ts new file mode 100644 index 0000000..3ef553c --- /dev/null +++ b/types/custom-types.d.ts @@ -0,0 +1,27 @@ +import { SlateDescendant } from '@wangeditor/editor' + +declare module 'slate' { + interface CustomTypes { + // 扩展 text + Text: { + text: string + bold?: boolean + italic?: boolean + code?: boolean + through?: boolean + underline?: boolean + sup?: boolean + sub?: boolean + color?: string + bgColor?: string + fontSize?: string + fontFamily?: string + } + + // 扩展 Element 的 type 属性 + Element: { + type: string + children: SlateDescendant[] + } + } +} diff --git a/vite.config.ts b/vite.config.ts index 0d43314..5c1831e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -134,7 +134,9 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { 'echarts', 'echarts-wordcloud', 'intro.js', - 'qrcode' + 'qrcode', + '@wangeditor/editor', + '@wangeditor/editor-for-vue' ] } }