diff --git a/README.md b/README.md index 51af182..e006b66 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,41 @@ # 基于 Vite2.x + Vue3.x + TypeScript H5 低代码平台 -### 目前还只是一个简单的模板,后面可能会引入较为完善的机制系统,感兴趣的小伙伴可以根据自己的需要去调整, 通过这个项目或许你可以学到 vue3 很多有趣的新特性和玩法。 - [![license](https://img.shields.io/github/license/buqiyuan/vite-vue3-lowcode.svg)](LICENSE) **中文** | [English](./README.EN.md) +### 目前还只是一个简单的模板,后面可能会引入较为完善的机制系统,感兴趣的小伙伴可以根据自己的需要去调整, 通过这个项目或许你可以接触到 vue3 很多有趣的新特性和玩法。 + +` PS: 此项目为个人半年以前做的实验性小玩具,使用的都是最新的技术栈,后面由于个人时间问题,没有持续维护和完善,暂时计划于2022年下半年开始对项目进行整体的重构和重新设计,实现一个基本可用的简易低代码平台。感谢关注~` + +## 计划实现: + +- 操作历史快照 +- 支持生成 vue 模板组件 +- 生成组件大纲树 +- 提供常见的表单和列表模板 +- v-for 绑定数据源 +- 在 sandbox 中执行自定义逻辑 +- 基于 monaco-editor 自定义代码补全规则 +- 基于 vue3 createRenderer 自定义渲染器 +- 使用 Schema 描述数据结构(因为 schema 可以生成校验函数) +- (⊙o⊙)…想到再做了~ + +### 模型驱动的视图 + +从最简单的结构来看,一个模型驱动的视图体系包含以下要素: + +- 模型 + + - 定义状态结构 + - 定义动作 + +- 视图 + - 订阅状态 + - 触发动作 + +这是很简单的一种渲染模式,可以适用于大多数的场景。 + ## 克隆项目 ```shell @@ -138,25 +168,3 @@ JSON.stringify( - `ci` 持续集成 - `types` 类型定义文件更改 - `wip` 开发中 - -## 快速开始 - -### 安装依赖 - -```sh -npm install -# or -yarn add -``` - -### 启动项目 - -```sh -npm run dev -``` - -### 项目打包 - -```sh -npm run build -``` diff --git a/auto-imports.d.ts b/auto-imports.d.ts index bddf751..8f911ba 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -1,4 +1,54 @@ // Generated by 'unplugin-auto-import' // We suggest you to commit this file into source control -declare global {} +declare global { + const computed: typeof import('vue')['computed']; + const createApp: typeof import('vue')['createApp']; + const customRef: typeof import('vue')['customRef']; + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']; + const defineComponent: typeof import('vue')['defineComponent']; + const effectScope: typeof import('vue')['effectScope']; + const EffectScope: typeof import('vue')['EffectScope']; + const getCurrentInstance: typeof import('vue')['getCurrentInstance']; + const getCurrentScope: typeof import('vue')['getCurrentScope']; + const h: typeof import('vue')['h']; + const inject: typeof import('vue')['inject']; + const isReadonly: typeof import('vue')['isReadonly']; + const isRef: typeof import('vue')['isRef']; + const markRaw: typeof import('vue')['markRaw']; + const nextTick: typeof import('vue')['nextTick']; + const onActivated: typeof import('vue')['onActivated']; + const onBeforeMount: typeof import('vue')['onBeforeMount']; + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']; + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']; + const onDeactivated: typeof import('vue')['onDeactivated']; + const onErrorCaptured: typeof import('vue')['onErrorCaptured']; + const onMounted: typeof import('vue')['onMounted']; + const onRenderTracked: typeof import('vue')['onRenderTracked']; + const onRenderTriggered: typeof import('vue')['onRenderTriggered']; + const onScopeDispose: typeof import('vue')['onScopeDispose']; + const onServerPrefetch: typeof import('vue')['onServerPrefetch']; + const onUnmounted: typeof import('vue')['onUnmounted']; + const onUpdated: typeof import('vue')['onUpdated']; + const provide: typeof import('vue')['provide']; + const reactive: typeof import('vue')['reactive']; + const readonly: typeof import('vue')['readonly']; + const ref: typeof import('vue')['ref']; + const resolveComponent: typeof import('vue')['resolveComponent']; + const shallowReactive: typeof import('vue')['shallowReactive']; + const shallowReadonly: typeof import('vue')['shallowReadonly']; + const shallowRef: typeof import('vue')['shallowRef']; + const toRaw: typeof import('vue')['toRaw']; + const toRef: typeof import('vue')['toRef']; + const toRefs: typeof import('vue')['toRefs']; + const triggerRef: typeof import('vue')['triggerRef']; + const unref: typeof import('vue')['unref']; + const useAttrs: typeof import('vue')['useAttrs']; + const useCssModule: typeof import('vue')['useCssModule']; + const useCssVars: typeof import('vue')['useCssVars']; + const useRoute: typeof import('vue-router')['useRoute']; + const useRouter: typeof import('vue-router')['useRouter']; + const useSlots: typeof import('vue')['useSlots']; + const watch: typeof import('vue')['watch']; + const watchEffect: typeof import('vue')['watchEffect']; +} export {}; diff --git a/components.d.ts b/components.d.ts index d84beb8..33d3c72 100644 --- a/components.d.ts +++ b/components.d.ts @@ -1,5 +1,6 @@ -// generated by vite-plugin-components -// read more https://github.com/vuejs/vue-next/pull/3399 +// generated by unplugin-vue-components +// We suggest you to commit this file into source control +// Read more: https://github.com/vuejs/vue-next/pull/3399 declare module 'vue' { export interface GlobalComponents { @@ -15,6 +16,7 @@ declare module 'vue' { ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']; ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']; ElHeader: typeof import('element-plus/es')['ElHeader']; + ElIcon: typeof import('element-plus/es')['ElIcon']; ElMain: typeof import('element-plus/es')['ElMain']; ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']; ElPopover: typeof import('element-plus/es')['ElPopover']; @@ -24,6 +26,7 @@ declare module 'vue' { ElTag: typeof import('element-plus/es')['ElTag']; ElTooltip: typeof import('element-plus/es')['ElTooltip']; ElTree: typeof import('element-plus/es')['ElTree']; + InfiniteScroll: typeof import('element-plus/es')['ElInfiniteScroll']; } } diff --git a/package.json b/package.json index d28ac3e..1124045 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:lint-staged": "lint-staged", - "deploy": "gh-pages -d dist", + "deploy": "npm run build && npx gh-pages -d dist", "test:gzip": "npx http-server dist --cors --gzip -c-1", "test:br": "npx http-server dist --cors --brotli -c-1", "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", @@ -28,52 +28,50 @@ "dependencies": { "@element-plus/icons-vue": "^0.2.4", "@vant/touch-emulator": "^1.3.2", - "@vueuse/core": "^7.5.1", - "@vueuse/integrations": "^7.5.1", + "@vueuse/core": "^7.5.3", + "@vueuse/integrations": "^7.5.3", "animate.css": "^4.1.1", "axios": "^0.24.0", "dayjs": "^1.10.7", "dexie": "^3.2.0", - "element-plus": "1.3.0-beta.1", - "lodash": "^4.17.21", + "element-plus": "1.3.0-beta.5", + "lodash-es": "^4.17.21", "monaco-editor": "^0.31.1", - "nanoid": "^3.1.30", + "nanoid": "^3.1.32", "normalize.css": "^8.0.1", "nprogress": "^1.0.0-1", "pinia": "^2.0.9", "qrcode": "^1.5.0", - "qs": "^6.10.2", - "vant": "3.3.7", + "qs": "^6.10.3", + "vant": "3.4.1", "vue": "3.2.26", "vue-router": "^4.0.12", "vuedraggable": "^4.1.0" }, "devDependencies": { - "@commitlint/cli": "^16.0.1", + "@commitlint/cli": "^16.0.2", "@commitlint/config-conventional": "^16.0.0", - "@types/lodash": "^4.14.178", - "@types/node": "^17.0.5", - "@typescript-eslint/eslint-plugin": "^5.8.1", - "@typescript-eslint/parser": "^5.8.1", + "@types/lodash-es": "^4.17.5", + "@types/node": "^17.0.8", + "@typescript-eslint/eslint-plugin": "^5.9.1", + "@typescript-eslint/parser": "^5.9.1", "@vitejs/plugin-legacy": "^1.6.4", "@vitejs/plugin-vue": "^2.0.1", "@vitejs/plugin-vue-jsx": "^1.3.3", "@vue/compiler-sfc": "3.2.26", "commitizen": "^4.2.4", + "conventional-changelog-cli": "^2.2.2", "cross-env": "^7.0.3", - "cz-conventional-changelog": "^3.3.0", - "cz-customizable": "^6.3.0", - "eslint": "^8.5.0", + "eslint": "^8.7.0", "eslint-config-prettier": "^8.3.0", - "eslint-define-config": "^1.2.1", + "eslint-define-config": "^1.2.2", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-vue": "^8.2.0", - "gh-pages": "^3.2.3", + "eslint-plugin-vue": "^8.3.0", "husky": "^7.0.4", - "lint-staged": "^12.1.4", + "lint-staged": "^12.1.7", "postcss-html": "^1.3.0", "prettier": "^2.5.1", - "sass": "1.45.2", + "sass": "1.48.0", "stylelint": "^14.2.0", "stylelint-config-html": "^1.0.0", "stylelint-config-prettier": "^9.0.3", @@ -82,10 +80,10 @@ "stylelint-order": "^5.0.0", "stylelint-scss": "^4.1.0", "typescript": "^4.5.4", - "unplugin-auto-import": "^0.5.5", + "unplugin-auto-import": "^0.5.11", "unplugin-vue-components": "^0.17.11", - "vite": "2.7.10", - "vite-plugin-windicss": "^1.6.1", + "vite": "2.7.12", + "vite-plugin-windicss": "^1.6.2", "vue-eslint-parser": "^8.0.1", "windicss": "^3.4.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e31cdda..586d729 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,48 +1,46 @@ lockfileVersion: 5.3 specifiers: - '@commitlint/cli': ^16.0.1 + '@commitlint/cli': ^16.0.2 '@commitlint/config-conventional': ^16.0.0 '@element-plus/icons-vue': ^0.2.4 - '@types/lodash': ^4.14.178 - '@types/node': ^17.0.5 - '@typescript-eslint/eslint-plugin': ^5.8.1 - '@typescript-eslint/parser': ^5.8.1 + '@types/lodash-es': ^4.17.5 + '@types/node': ^17.0.8 + '@typescript-eslint/eslint-plugin': ^5.9.1 + '@typescript-eslint/parser': ^5.9.1 '@vant/touch-emulator': ^1.3.2 '@vitejs/plugin-legacy': ^1.6.4 '@vitejs/plugin-vue': ^2.0.1 '@vitejs/plugin-vue-jsx': ^1.3.3 '@vue/compiler-sfc': 3.2.26 - '@vueuse/core': ^7.5.1 - '@vueuse/integrations': ^7.5.1 + '@vueuse/core': ^7.5.3 + '@vueuse/integrations': ^7.5.3 animate.css: ^4.1.1 axios: ^0.24.0 commitizen: ^4.2.4 + conventional-changelog-cli: ^2.2.2 cross-env: ^7.0.3 - cz-conventional-changelog: ^3.3.0 - cz-customizable: ^6.3.0 dayjs: ^1.10.7 dexie: ^3.2.0 - element-plus: 1.3.0-beta.1 - eslint: ^8.5.0 + element-plus: 1.3.0-beta.5 + eslint: ^8.7.0 eslint-config-prettier: ^8.3.0 - eslint-define-config: ^1.2.1 + eslint-define-config: ^1.2.2 eslint-plugin-prettier: ^4.0.0 - eslint-plugin-vue: ^8.2.0 - gh-pages: ^3.2.3 + eslint-plugin-vue: ^8.3.0 husky: ^7.0.4 - lint-staged: ^12.1.4 - lodash: ^4.17.21 + lint-staged: ^12.1.7 + lodash-es: ^4.17.21 monaco-editor: ^0.31.1 - nanoid: ^3.1.30 + nanoid: ^3.1.32 normalize.css: ^8.0.1 nprogress: ^1.0.0-1 pinia: ^2.0.9 postcss-html: ^1.3.0 prettier: ^2.5.1 qrcode: ^1.5.0 - qs: ^6.10.2 - sass: 1.45.2 + qs: ^6.10.3 + sass: 1.48.0 stylelint: ^14.2.0 stylelint-config-html: ^1.0.0 stylelint-config-prettier: ^9.0.3 @@ -51,11 +49,11 @@ specifiers: stylelint-order: ^5.0.0 stylelint-scss: ^4.1.0 typescript: ^4.5.4 - unplugin-auto-import: ^0.5.5 + unplugin-auto-import: ^0.5.11 unplugin-vue-components: ^0.17.11 - vant: 3.3.7 - vite: 2.7.10 - vite-plugin-windicss: ^1.6.1 + vant: 3.4.1 + vite: 2.7.12 + vite-plugin-windicss: ^1.6.2 vue: 3.2.26 vue-eslint-parser: ^8.0.1 vue-router: ^4.0.12 @@ -65,52 +63,50 @@ specifiers: dependencies: '@element-plus/icons-vue': 0.2.4_vue@3.2.26 '@vant/touch-emulator': 1.3.2 - '@vueuse/core': 7.5.1_vue@3.2.26 - '@vueuse/integrations': 7.5.1_vue@3.2.26 + '@vueuse/core': 7.5.3_vue@3.2.26 + '@vueuse/integrations': 7.5.3_vue@3.2.26 animate.css: 4.1.1 axios: 0.24.0 dayjs: 1.10.7 dexie: 3.2.0 - element-plus: 1.3.0-beta.1_vue@3.2.26 - lodash: 4.17.21 + element-plus: 1.3.0-beta.5_vue@3.2.26 + lodash-es: 4.17.21 monaco-editor: 0.31.1 - nanoid: 3.1.30 + nanoid: 3.1.32 normalize.css: 8.0.1 nprogress: 1.0.0-1 pinia: 2.0.9_typescript@4.5.4+vue@3.2.26 qrcode: 1.5.0 - qs: 6.10.2 - vant: 3.3.7_vue@3.2.26 + qs: 6.10.3 + vant: 3.4.1_vue@3.2.26 vue: 3.2.26 vue-router: 4.0.12_vue@3.2.26 vuedraggable: 4.1.0_vue@3.2.26 devDependencies: - '@commitlint/cli': 16.0.1_@types+node@17.0.5 + '@commitlint/cli': 16.0.2_@types+node@17.0.8 '@commitlint/config-conventional': 16.0.0 - '@types/lodash': 4.14.178 - '@types/node': 17.0.5 - '@typescript-eslint/eslint-plugin': 5.8.1_3a47348159e115370aa4cba56aba33b6 - '@typescript-eslint/parser': 5.8.1_eslint@8.5.0+typescript@4.5.4 - '@vitejs/plugin-legacy': 1.6.4_vite@2.7.10 - '@vitejs/plugin-vue': 2.0.1_vite@2.7.10+vue@3.2.26 + '@types/lodash-es': 4.17.5 + '@types/node': 17.0.8 + '@typescript-eslint/eslint-plugin': 5.9.1_bbe74534e31a8c21f1b3522447c55341 + '@typescript-eslint/parser': 5.9.1_eslint@8.7.0+typescript@4.5.4 + '@vitejs/plugin-legacy': 1.6.4_vite@2.7.12 + '@vitejs/plugin-vue': 2.0.1_vite@2.7.12+vue@3.2.26 '@vitejs/plugin-vue-jsx': 1.3.3 '@vue/compiler-sfc': 3.2.26 - commitizen: 4.2.4_@types+node@17.0.5 + commitizen: 4.2.4_@types+node@17.0.8 + conventional-changelog-cli: 2.2.2 cross-env: 7.0.3 - cz-conventional-changelog: 3.3.0_@types+node@17.0.5 - cz-customizable: 6.3.0 - eslint: 8.5.0 - eslint-config-prettier: 8.3.0_eslint@8.5.0 - eslint-define-config: 1.2.1 - eslint-plugin-prettier: 4.0.0_94e1b6d3ce6ea916847122712570e9ae - eslint-plugin-vue: 8.2.0_eslint@8.5.0 - gh-pages: 3.2.3 + eslint: 8.7.0 + eslint-config-prettier: 8.3.0_eslint@8.7.0 + eslint-define-config: 1.2.2 + eslint-plugin-prettier: 4.0.0_4660519532e4c3b0a9e5bb6623cfedf6 + eslint-plugin-vue: 8.3.0_eslint@8.7.0 husky: 7.0.4 - lint-staged: 12.1.4 + lint-staged: 12.1.7 postcss-html: 1.3.0 prettier: 2.5.1 - sass: 1.45.2 + sass: 1.48.0 stylelint: 14.2.0 stylelint-config-html: 1.0.0_2d1bcf73d0f2e8e613ccd6d821b0344f stylelint-config-prettier: 9.0.3_stylelint@14.2.0 @@ -119,11 +115,11 @@ devDependencies: stylelint-order: 5.0.0_stylelint@14.2.0 stylelint-scss: 4.1.0_stylelint@14.2.0 typescript: 4.5.4 - unplugin-auto-import: 0.5.5_@vueuse+core@7.5.1+vite@2.7.10 - unplugin-vue-components: 0.17.11_vite@2.7.10+vue@3.2.26 - vite: 2.7.10_sass@1.45.2 - vite-plugin-windicss: 1.6.1_vite@2.7.10 - vue-eslint-parser: 8.0.1_eslint@8.5.0 + unplugin-auto-import: 0.5.11_@vueuse+core@7.5.3+vite@2.7.12 + unplugin-vue-components: 0.17.11_vite@2.7.12+vue@3.2.26 + vite: 2.7.12_sass@1.48.0 + vite-plugin-windicss: 1.6.2_vite@2.7.12 + vue-eslint-parser: 8.0.1_eslint@8.7.0 windicss: 3.4.2 packages: @@ -134,6 +130,12 @@ packages: '@types/throttle-debounce': 2.1.0 dev: true + /@antfu/utils/0.4.0: + resolution: {integrity: sha512-gqkpvjkgFUu+s3kP+Ly33OKpo5zvVY3FDFhv5BIb98SncS3KD6DNxPfNDjwHIoyXbz1leWo1j8DtRLZ1D2Jv+Q==} + dependencies: + '@types/throttle-debounce': 2.1.0 + dev: true + /@babel/code-frame/7.16.7: resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} engines: {node: '>=6.9.0'} @@ -433,14 +435,14 @@ packages: to-fast-properties: 2.0.0 dev: true - /@commitlint/cli/16.0.1_@types+node@17.0.5: - resolution: {integrity: sha512-61gGRy65WiVDRsqP0dAR2fAgE3qrTBW3fgz9MySv32y5Ib3ZXXDDq6bGyQqi2dSaPuDYzNCRwwlC7mmQM73T/g==} + /@commitlint/cli/16.0.2_@types+node@17.0.8: + resolution: {integrity: sha512-Jt7iaBjoLGC5Nq4dHPTvTYnqPGkElFPBtTXTvBpTgatZApczyjI2plE0oG4GYWPp1suHIS/VdVDOMpPZjGVusg==} engines: {node: '>=v12'} hasBin: true dependencies: '@commitlint/format': 16.0.0 '@commitlint/lint': 16.0.0 - '@commitlint/load': 16.0.0_@types+node@17.0.5 + '@commitlint/load': 16.0.0_@types+node@17.0.8 '@commitlint/read': 16.0.0 '@commitlint/types': 16.0.0 lodash: 4.17.21 @@ -507,7 +509,7 @@ packages: '@commitlint/types': 16.0.0 dev: true - /@commitlint/load/16.0.0_@types+node@17.0.5: + /@commitlint/load/16.0.0_@types+node@17.0.8: resolution: {integrity: sha512-7WhrGCkP6K/XfjBBguLkkI2XUdiiIyMGlNsSoSqgRNiD352EiffhFEApMy1/XOU+viwBBm/On0n5p0NC7e9/4A==} engines: {node: '>=v12'} dependencies: @@ -517,7 +519,7 @@ packages: '@commitlint/types': 16.0.0 chalk: 4.1.2 cosmiconfig: 7.0.1 - cosmiconfig-typescript-loader: 1.0.2_bad060d5f9aca5284661d88d739ba15b + cosmiconfig-typescript-loader: 1.0.2_faf01e1d5a40372a98081522dcafc186 lodash: 4.17.21 resolve-from: 5.0.0 typescript: 4.5.4 @@ -631,7 +633,7 @@ packages: dependencies: ajv: 6.12.6 debug: 4.3.3 - espree: 9.2.0 + espree: 9.3.0 globals: 13.12.0 ignore: 4.0.6 import-fresh: 3.3.0 @@ -657,6 +659,11 @@ packages: resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} dev: true + /@hutson/parse-repository-url/3.0.2: + resolution: {integrity: sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==} + engines: {node: '>=6.9.0'} + dev: true + /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -715,6 +722,12 @@ packages: resolution: {integrity: sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==} dev: true + /@types/lodash-es/4.17.5: + resolution: {integrity: sha512-SHBoI8/0aoMQWAgUHMQ599VM6ZiSKg8sh/0cFqqlQQMyY9uEplc0ULU5yQNzcvdR4ZKa0ey8+vFmahuRbOCT1A==} + dependencies: + '@types/lodash': 4.14.178 + dev: true + /@types/lodash/4.14.178: resolution: {integrity: sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==} dev: true @@ -723,8 +736,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node/17.0.5: - resolution: {integrity: sha512-w3mrvNXLeDYV1GKTZorGJQivK6XLCoGwpnyJFbJVK/aTBQUxOCaa/GlFAAN3OTDFcb7h5tiFG+YXCO2By+riZw==} + /@types/node/17.0.8: + resolution: {integrity: sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==} dev: true /@types/normalize-package-data/2.4.1: @@ -739,8 +752,8 @@ packages: resolution: {integrity: sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ==} dev: true - /@typescript-eslint/eslint-plugin/5.8.1_3a47348159e115370aa4cba56aba33b6: - resolution: {integrity: sha512-wTZ5oEKrKj/8/366qTM366zqhIKAp6NCMweoRONtfuC07OAU9nVI2GZZdqQ1qD30WAAtcPdkH+npDwtRFdp4Rw==} + /@typescript-eslint/eslint-plugin/5.9.1_bbe74534e31a8c21f1b3522447c55341: + resolution: {integrity: sha512-Xv9tkFlyD4MQGpJgTo6wqDqGvHIRmRgah/2Sjz1PUnJTawjHWIwBivUE9x0QtU2WVii9baYgavo/bHjrZJkqTw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -750,11 +763,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/experimental-utils': 5.8.1_eslint@8.5.0+typescript@4.5.4 - '@typescript-eslint/parser': 5.8.1_eslint@8.5.0+typescript@4.5.4 - '@typescript-eslint/scope-manager': 5.8.1 + '@typescript-eslint/experimental-utils': 5.9.1_eslint@8.7.0+typescript@4.5.4 + '@typescript-eslint/parser': 5.9.1_eslint@8.7.0+typescript@4.5.4 + '@typescript-eslint/scope-manager': 5.9.1 + '@typescript-eslint/type-utils': 5.9.1_eslint@8.7.0+typescript@4.5.4 debug: 4.3.3 - eslint: 8.5.0 + eslint: 8.7.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 @@ -765,26 +779,26 @@ packages: - supports-color dev: true - /@typescript-eslint/experimental-utils/5.8.1_eslint@8.5.0+typescript@4.5.4: - resolution: {integrity: sha512-fbodVnjIDU4JpeXWRDsG5IfIjYBxEvs8EBO8W1+YVdtrc2B9ppfof5sZhVEDOtgTfFHnYQJDI8+qdqLYO4ceww==} + /@typescript-eslint/experimental-utils/5.9.1_eslint@8.7.0+typescript@4.5.4: + resolution: {integrity: sha512-cb1Njyss0mLL9kLXgS/eEY53SZQ9sT519wpX3i+U457l2UXRDuo87hgKfgRazmu9/tQb0x2sr3Y0yrU+Zz0y+w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.9 - '@typescript-eslint/scope-manager': 5.8.1 - '@typescript-eslint/types': 5.8.1 - '@typescript-eslint/typescript-estree': 5.8.1_typescript@4.5.4 - eslint: 8.5.0 + '@typescript-eslint/scope-manager': 5.9.1 + '@typescript-eslint/types': 5.9.1 + '@typescript-eslint/typescript-estree': 5.9.1_typescript@4.5.4 + eslint: 8.7.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.5.0 + eslint-utils: 3.0.0_eslint@8.7.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/parser/5.8.1_eslint@8.5.0+typescript@4.5.4: - resolution: {integrity: sha512-K1giKHAjHuyB421SoXMXFHHVI4NdNY603uKw92++D3qyxSeYvC10CBJ/GE5Thpo4WTUvu1mmJI2/FFkz38F2Gw==} + /@typescript-eslint/parser/5.9.1_eslint@8.7.0+typescript@4.5.4: + resolution: {integrity: sha512-PLYO0AmwD6s6n0ZQB5kqPgfvh73p0+VqopQQLuNfi7Lm0EpfKyDalchpVwkE+81k5HeiRrTV/9w1aNHzjD7C4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -793,31 +807,50 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.8.1 - '@typescript-eslint/types': 5.8.1 - '@typescript-eslint/typescript-estree': 5.8.1_typescript@4.5.4 + '@typescript-eslint/scope-manager': 5.9.1 + '@typescript-eslint/types': 5.9.1 + '@typescript-eslint/typescript-estree': 5.9.1_typescript@4.5.4 debug: 4.3.3 - eslint: 8.5.0 + eslint: 8.7.0 typescript: 4.5.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.8.1: - resolution: {integrity: sha512-DGxJkNyYruFH3NIZc3PwrzwOQAg7vvgsHsHCILOLvUpupgkwDZdNq/cXU3BjF4LNrCsVg0qxEyWasys5AiJ85Q==} + /@typescript-eslint/scope-manager/5.9.1: + resolution: {integrity: sha512-8BwvWkho3B/UOtzRyW07ffJXPaLSUKFBjpq8aqsRvu6HdEuzCY57+ffT7QoV4QXJXWSU1+7g3wE4AlgImmQ9pQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.8.1 - '@typescript-eslint/visitor-keys': 5.8.1 + '@typescript-eslint/types': 5.9.1 + '@typescript-eslint/visitor-keys': 5.9.1 dev: true - /@typescript-eslint/types/5.8.1: - resolution: {integrity: sha512-L/FlWCCgnjKOLefdok90/pqInkomLnAcF9UAzNr+DSqMC3IffzumHTQTrINXhP1gVp9zlHiYYjvozVZDPleLcA==} + /@typescript-eslint/type-utils/5.9.1_eslint@8.7.0+typescript@4.5.4: + resolution: {integrity: sha512-tRSpdBnPRssjlUh35rE9ug5HrUvaB9ntREy7gPXXKwmIx61TNN7+l5YKgi1hMKxo5NvqZCfYhA5FvyuJG6X6vg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '*' + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/experimental-utils': 5.9.1_eslint@8.7.0+typescript@4.5.4 + debug: 4.3.3 + eslint: 8.7.0 + tsutils: 3.21.0_typescript@4.5.4 + typescript: 4.5.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/types/5.9.1: + resolution: {integrity: sha512-SsWegWudWpkZCwwYcKoDwuAjoZXnM1y2EbEerTHho19Hmm+bQ56QG4L4jrtCu0bI5STaRTvRTZmjprWlTw/5NQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.8.1_typescript@4.5.4: - resolution: {integrity: sha512-26lQ8l8tTbG7ri7xEcCFT9ijU5Fk+sx/KRRyyzCv7MQ+rZZlqiDPtMKWLC8P7o+dtCnby4c+OlxuX1tp8WfafQ==} + /@typescript-eslint/typescript-estree/5.9.1_typescript@4.5.4: + resolution: {integrity: sha512-gL1sP6A/KG0HwrahVXI9fZyeVTxEYV//6PmcOn1tD0rw8VhUWYeZeuWHwwhnewnvEMcHjhnJLOBhA9rK4vmb8A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -825,8 +858,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.8.1 - '@typescript-eslint/visitor-keys': 5.8.1 + '@typescript-eslint/types': 5.9.1 + '@typescript-eslint/visitor-keys': 5.9.1 debug: 4.3.3 globby: 11.0.4 is-glob: 4.0.3 @@ -837,11 +870,11 @@ packages: - supports-color dev: true - /@typescript-eslint/visitor-keys/5.8.1: - resolution: {integrity: sha512-SWgiWIwocK6NralrJarPZlWdr0hZnj5GXHIgfdm8hNkyKvpeQuFyLP6YjSIe9kf3YBIfU6OHSZLYkQ+smZwtNg==} + /@typescript-eslint/visitor-keys/5.9.1: + resolution: {integrity: sha512-Xh37pNz9e9ryW4TVdwiFzmr4hloty8cFj8GTWMXh3Z8swGwyQWeCcNgF0hm6t09iZd6eiZmIf4zHedQVP6TVtg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.8.1 + '@typescript-eslint/types': 5.9.1 eslint-visitor-keys: 3.1.0 dev: true @@ -863,7 +896,7 @@ packages: resolution: {integrity: sha512-XvZkPCjcmEBhD+T3vB68thOG6P9jazld6aBTMenhbAQd4FT/x9AiKIWPJx4MvhYoSIWt7fju6K01XTJldWs1hw==} dev: false - /@vitejs/plugin-legacy/1.6.4_vite@2.7.10: + /@vitejs/plugin-legacy/1.6.4_vite@2.7.12: resolution: {integrity: sha512-geH2F3hTRN++E4n9NZ0JFumxIWUKqW4FA9PAgM7Q6RvUOUUYW4tlURhEmCBYfZSN24H/yX3mEolX+wFVErsAYQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -874,7 +907,7 @@ packages: magic-string: 0.25.7 regenerator-runtime: 0.13.9 systemjs: 6.11.0 - vite: 2.7.10_sass@1.45.2 + vite: 2.7.12_sass@1.48.0 dev: true /@vitejs/plugin-vue-jsx/1.3.3: @@ -891,14 +924,14 @@ packages: - supports-color dev: true - /@vitejs/plugin-vue/2.0.1_vite@2.7.10+vue@3.2.26: + /@vitejs/plugin-vue/2.0.1_vite@2.7.12+vue@3.2.26: resolution: {integrity: sha512-wtdMnGVvys9K8tg+DxowU1ytTrdVveXr3LzdhaKakysgGXyrsfaeds2cDywtvujEASjWOwWL/OgWM+qoeM8Plg==} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 2.7.10_sass@1.45.2 + vite: 2.7.12_sass@1.48.0 vue: 3.2.26 dev: true @@ -1004,8 +1037,8 @@ packages: /@vue/shared/3.2.26: resolution: {integrity: sha512-vPV6Cq+NIWbH5pZu+V+2QHE9y1qfuTq49uNWw4f7FDEeZaDU2H2cx5jcUZOAKW7qTrUS4k6qZPbMy1x4N96nbA==} - /@vueuse/core/7.5.1_vue@3.2.26: - resolution: {integrity: sha512-GczfdTWqH483zkUHdDYiLm0Tn51OtsQXYc+eBKKIeolh0mgn682KbSYmkrjNytaF7qGc74YxMDAYjkPBW6V2Pg==} + /@vueuse/core/7.5.3_vue@3.2.26: + resolution: {integrity: sha512-D9j5ymHFMFRXQqCp0yZJkf/bvBGiz0MrKUa364p+L8dMyd5zyq2K1JmHyvoBd4xbTFRfmQ1h878u6YE5LCkDVQ==} peerDependencies: '@vue/composition-api': ^1.1.0 vue: ^2.6.0 || ^3.2.0 @@ -1015,16 +1048,16 @@ packages: vue: optional: true dependencies: - '@vueuse/shared': 7.5.1_vue@3.2.26 + '@vueuse/shared': 7.5.3_vue@3.2.26 vue: 3.2.26 vue-demi: 0.12.1_vue@3.2.26 dev: false - /@vueuse/integrations/7.5.1_vue@3.2.26: - resolution: {integrity: sha512-7W8gQ5X26FxARW31Rt1RJ8eQ8DRlRhKyUVixn5EnCredGZng1gw8gbTMTluki7F3ePyS6y8k0IgDBQznIMTWLQ==} + /@vueuse/integrations/7.5.3_vue@3.2.26: + resolution: {integrity: sha512-1GCIHKrGzS14uq2UDX7Bu6kNZEgQ/GslF62ZaEQF9HzRf6Eg0BCuwPBzUbm2eUdRMdCLpZypcODwRw+ZEDA0hA==} dependencies: - '@vueuse/core': 7.5.1_vue@3.2.26 - '@vueuse/shared': 7.5.1_vue@3.2.26 + '@vueuse/core': 7.5.3_vue@3.2.26 + '@vueuse/shared': 7.5.3_vue@3.2.26 vue-demi: 0.12.1_vue@3.2.26 optionalDependencies: axios: 0.24.0 @@ -1041,8 +1074,8 @@ packages: - vue dev: false - /@vueuse/shared/7.5.1_vue@3.2.26: - resolution: {integrity: sha512-zMQEuYJyTmr5Hj2rYgSbb4H/cSI8mdaa9dUuw20j6rPV+xLV11y7vCyIkxo31uODDr0p77FMlProKzNDiK9rAA==} + /@vueuse/shared/7.5.3_vue@3.2.26: + resolution: {integrity: sha512-BJ71cxHN5VByW1S58Gl85NFJaQu93F7Vs7K/MuAKsIIuHm9PBbkR5Vxkg9ko9cBdiKVt+FNoo13BhdbA+Vwycg==} peerDependencies: '@vue/composition-api': ^1.1.0 vue: ^2.6.0 || ^3.2.0 @@ -1056,8 +1089,8 @@ packages: vue-demi: 0.12.1_vue@3.2.26 dev: false - /@windicss/config/1.6.1: - resolution: {integrity: sha512-E4FKtWdYl5HwFknBQ+Z2JIF58TZiR4/ZiP8B30sfRxNlG6clh4agn5MJqTb4ER0MLkDb30Hugl2tGun0AQNbFw==} + /@windicss/config/1.6.2: + resolution: {integrity: sha512-xULo0Lm1wF7c7HGyjVegalfOw/ZkBjrpWZ4CnCD5Nhdlu+3kcXCwjOSgVgnSXgh3pg7CnMSdZ/vtnIlgPBqvKA==} dependencies: debug: 4.3.3 jiti: 1.12.9 @@ -1066,13 +1099,13 @@ packages: - supports-color dev: true - /@windicss/plugin-utils/1.6.1: - resolution: {integrity: sha512-hFQY27bOr9SSpekIvSwBpIX25nR4cwrU5/1kJFqCwAzqyazvd7U9c/iI1E2sTEQOkPbpTTJkY2Act21Q70oSDQ==} + /@windicss/plugin-utils/1.6.2: + resolution: {integrity: sha512-W3TkqWwLeMfnqXc8LxVoaGEBioEJ114x2RYxDfex6iM3MPzL57qo+jZ5Wv4bvQQ5Id+Yt4gHTZbpgTzBRDouEQ==} dependencies: - '@antfu/utils': 0.3.0 - '@windicss/config': 1.6.1 + '@antfu/utils': 0.4.0 + '@windicss/config': 1.6.2 debug: 4.3.3 - fast-glob: 3.2.7 + fast-glob: 3.2.10 magic-string: 0.25.7 micromatch: 4.0.4 windicss: 3.4.2 @@ -1107,6 +1140,10 @@ packages: hasBin: true dev: true + /add-stream/1.0.0: + resolution: {integrity: sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=} + dev: true + /aggregate-error/3.1.0: resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} engines: {node: '>=8'} @@ -1137,11 +1174,6 @@ packages: resolution: {integrity: sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ==} dev: false - /ansi-colors/4.1.1: - resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==} - engines: {node: '>=6'} - dev: true - /ansi-escapes/3.2.0: resolution: {integrity: sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==} engines: {node: '>=4'} @@ -1211,23 +1243,11 @@ packages: resolution: {integrity: sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=} dev: true - /array-union/1.0.2: - resolution: {integrity: sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=} - engines: {node: '>=0.10.0'} - dependencies: - array-uniq: 1.0.3 - dev: true - /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} dev: true - /array-uniq/1.0.3: - resolution: {integrity: sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=} - engines: {node: '>=0.10.0'} - dev: true - /arrify/1.0.1: resolution: {integrity: sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=} engines: {node: '>=0.10.0'} @@ -1242,12 +1262,6 @@ packages: resolution: {integrity: sha512-Pj2IR7u8hmUEDOwB++su6baaRi+QvsgajuFB9j95foM1N2gy5HM4z60hfusIO0fBPG5uLAEl6yCJr1jNSVugEQ==} dev: false - /async/2.6.3: - resolution: {integrity: sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==} - dependencies: - lodash: 4.17.21 - dev: true - /axios/0.24.0: resolution: {integrity: sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==} dependencies: @@ -1465,22 +1479,18 @@ packages: resolution: {integrity: sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==} dev: true - /commander/2.20.3: - resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} - dev: true - /commander/8.3.0: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} dev: true - /commitizen/4.2.4_@types+node@17.0.5: + /commitizen/4.2.4_@types+node@17.0.8: resolution: {integrity: sha512-LlZChbDzg3Ir3O2S7jSo/cgWp5/QwylQVr59K4xayVq8S4/RdKzSyJkghAiZZHfhh5t4pxunUoyeg0ml1q/7aw==} engines: {node: '>= 10'} hasBin: true dependencies: cachedir: 2.2.0 - cz-conventional-changelog: 3.2.0_@types+node@17.0.5 + cz-conventional-changelog: 3.2.0_@types+node@17.0.8 dedent: 0.7.0 detect-indent: 6.0.0 find-node-modules: 2.1.2 @@ -1499,10 +1509,6 @@ packages: - '@types/node' dev: true - /commondir/1.0.1: - resolution: {integrity: sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=} - dev: true - /compare-func/2.0.0: resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} dependencies: @@ -1522,6 +1528,32 @@ packages: q: 1.5.1 dev: true + /conventional-changelog-atom/2.0.8: + resolution: {integrity: sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==} + engines: {node: '>=10'} + dependencies: + q: 1.5.1 + dev: true + + /conventional-changelog-cli/2.2.2: + resolution: {integrity: sha512-8grMV5Jo8S0kP3yoMeJxV2P5R6VJOqK72IiSV9t/4H5r/HiRqEBQ83bYGuz4Yzfdj4bjaAEhZN/FFbsFXr5bOA==} + engines: {node: '>=10'} + hasBin: true + dependencies: + add-stream: 1.0.0 + conventional-changelog: 3.1.25 + lodash: 4.17.21 + meow: 8.1.2 + tempfile: 3.0.0 + dev: true + + /conventional-changelog-codemirror/2.0.8: + resolution: {integrity: sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==} + engines: {node: '>=10'} + dependencies: + q: 1.5.1 + dev: true + /conventional-changelog-conventionalcommits/4.6.3: resolution: {integrity: sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==} engines: {node: '>=10'} @@ -1531,10 +1563,112 @@ packages: q: 1.5.1 dev: true + /conventional-changelog-core/4.2.4: + resolution: {integrity: sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==} + engines: {node: '>=10'} + dependencies: + add-stream: 1.0.0 + conventional-changelog-writer: 5.0.1 + conventional-commits-parser: 3.2.4 + dateformat: 3.0.3 + get-pkg-repo: 4.2.1 + git-raw-commits: 2.0.11 + git-remote-origin-url: 2.0.0 + git-semver-tags: 4.1.1 + lodash: 4.17.21 + normalize-package-data: 3.0.3 + q: 1.5.1 + read-pkg: 3.0.0 + read-pkg-up: 3.0.0 + through2: 4.0.2 + dev: true + + /conventional-changelog-ember/2.0.9: + resolution: {integrity: sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==} + engines: {node: '>=10'} + dependencies: + q: 1.5.1 + dev: true + + /conventional-changelog-eslint/3.0.9: + resolution: {integrity: sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==} + engines: {node: '>=10'} + dependencies: + q: 1.5.1 + dev: true + + /conventional-changelog-express/2.0.6: + resolution: {integrity: sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==} + engines: {node: '>=10'} + dependencies: + q: 1.5.1 + dev: true + + /conventional-changelog-jquery/3.0.11: + resolution: {integrity: sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==} + engines: {node: '>=10'} + dependencies: + q: 1.5.1 + dev: true + + /conventional-changelog-jshint/2.0.9: + resolution: {integrity: sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==} + engines: {node: '>=10'} + dependencies: + compare-func: 2.0.0 + q: 1.5.1 + dev: true + + /conventional-changelog-preset-loader/2.3.4: + resolution: {integrity: sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==} + engines: {node: '>=10'} + dev: true + + /conventional-changelog-writer/5.0.1: + resolution: {integrity: sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==} + engines: {node: '>=10'} + hasBin: true + dependencies: + conventional-commits-filter: 2.0.7 + dateformat: 3.0.3 + handlebars: 4.7.7 + json-stringify-safe: 5.0.1 + lodash: 4.17.21 + meow: 8.1.2 + semver: 6.3.0 + split: 1.0.1 + through2: 4.0.2 + dev: true + + /conventional-changelog/3.1.25: + resolution: {integrity: sha512-ryhi3fd1mKf3fSjbLXOfK2D06YwKNic1nC9mWqybBHdObPd8KJ2vjaXZfYj1U23t+V8T8n0d7gwnc9XbIdFbyQ==} + engines: {node: '>=10'} + dependencies: + conventional-changelog-angular: 5.0.13 + conventional-changelog-atom: 2.0.8 + conventional-changelog-codemirror: 2.0.8 + conventional-changelog-conventionalcommits: 4.6.3 + conventional-changelog-core: 4.2.4 + conventional-changelog-ember: 2.0.9 + conventional-changelog-eslint: 3.0.9 + conventional-changelog-express: 2.0.6 + conventional-changelog-jquery: 3.0.11 + conventional-changelog-jshint: 2.0.9 + conventional-changelog-preset-loader: 2.3.4 + dev: true + /conventional-commit-types/3.0.0: resolution: {integrity: sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==} dev: true + /conventional-commits-filter/2.0.7: + resolution: {integrity: sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==} + engines: {node: '>=10'} + dependencies: + lodash.ismatch: 4.4.0 + modify-values: 1.0.1 + dev: true + /conventional-commits-parser/3.2.4: resolution: {integrity: sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==} engines: {node: '>=10'} @@ -1565,16 +1699,20 @@ packages: requiresBuild: true dev: true - /cosmiconfig-typescript-loader/1.0.2_bad060d5f9aca5284661d88d739ba15b: + /core-util-is/1.0.3: + resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + dev: true + + /cosmiconfig-typescript-loader/1.0.2_faf01e1d5a40372a98081522dcafc186: resolution: {integrity: sha512-27ZehvijYqAKVzta5xtZBS3PAliC8CmnWkGXN0vgxAZz7yqxpMjf3aG7flxF5rEiu8FAD7nZZXtOI+xUGn+bVg==} engines: {node: '>=12', npm: '>=6'} peerDependencies: '@types/node': '*' typescript: '>=3' dependencies: - '@types/node': 17.0.5 + '@types/node': 17.0.8 cosmiconfig: 7.0.1 - ts-node: 10.4.0_bad060d5f9aca5284661d88d739ba15b + ts-node: 10.4.0_faf01e1d5a40372a98081522dcafc186 typescript: 4.5.4 transitivePeerDependencies: - '@swc/core' @@ -1623,59 +1761,33 @@ packages: resolution: {integrity: sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==} dev: false - /cz-conventional-changelog/3.2.0_@types+node@17.0.5: + /cz-conventional-changelog/3.2.0_@types+node@17.0.8: resolution: {integrity: sha512-yAYxeGpVi27hqIilG1nh4A9Bnx4J3Ov+eXy4koL3drrR+IO9GaWPsKjik20ht608Asqi8TQPf0mczhEeyAtMzg==} engines: {node: '>= 10'} dependencies: chalk: 2.4.2 - commitizen: 4.2.4_@types+node@17.0.5 + commitizen: 4.2.4_@types+node@17.0.8 conventional-commit-types: 3.0.0 lodash.map: 4.6.0 longest: 2.0.1 word-wrap: 1.2.3 optionalDependencies: - '@commitlint/load': 16.0.0_@types+node@17.0.5 + '@commitlint/load': 16.0.0_@types+node@17.0.8 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - '@types/node' dev: true - /cz-conventional-changelog/3.3.0_@types+node@17.0.5: - resolution: {integrity: sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==} - engines: {node: '>= 10'} - dependencies: - chalk: 2.4.2 - commitizen: 4.2.4_@types+node@17.0.5 - conventional-commit-types: 3.0.0 - lodash.map: 4.6.0 - longest: 2.0.1 - word-wrap: 1.2.3 - optionalDependencies: - '@commitlint/load': 16.0.0_@types+node@17.0.5 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - - '@types/node' - dev: true - - /cz-customizable/6.3.0: - resolution: {integrity: sha512-MWGmWa45v4Ds3NJNNwQc3GCFdjtH3k4ypDWoWkwultMVLf7aOHR9VaXGYGZHLOQS4sMfbkBSjNUYoXCSmLuRSA==} - hasBin: true - dependencies: - editor: 1.0.0 - find-config: 1.0.0 - inquirer: 6.5.2 - lodash: 4.17.21 - temp: 0.9.4 - word-wrap: 1.2.3 - dev: true - /dargs/7.0.0: resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} engines: {node: '>=8'} dev: true + /dateformat/3.0.3: + resolution: {integrity: sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==} + dev: true + /dayjs/1.10.7: resolution: {integrity: sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig==} dev: false @@ -1805,23 +1917,19 @@ packages: dev: false optional: true - /editor/1.0.0: - resolution: {integrity: sha1-YMf4e9YrzGqJT6jM1q+3gjok90I=} - dev: true - /electron-to-chromium/1.4.30: resolution: {integrity: sha512-609z9sIMxDHg+TcR/VB3MXwH+uwtrYyeAwWc/orhnr90ixs6WVGSrt85CDLGUdNnLqCA7liv426V20EecjvflQ==} dev: true - /element-plus/1.3.0-beta.1_vue@3.2.26: - resolution: {integrity: sha512-q3vMaKElPpuSTeIF7kuDmMOE+N1YVCCIG3fshXpz6qgjnxPbgZumVM0qGfhr8DTu9JxRbBoDok49dqtX/BWn3w==} + /element-plus/1.3.0-beta.5_vue@3.2.26: + resolution: {integrity: sha512-su0sHN4ZkR5ISyP1McyiqY5wqrgZgKq0El0lSohjvjEWR3ODlgdmMfQolV0ZqTXKlO2mS16hO7nTFwX9PvZNTQ==} peerDependencies: vue: ^3.2.0 dependencies: '@ctrl/tinycolor': 3.4.0 '@element-plus/icons-vue': 0.2.4_vue@3.2.26 '@popperjs/core': 2.11.0 - '@vueuse/core': 7.5.1_vue@3.2.26 + '@vueuse/core': 7.5.3_vue@3.2.26 async-validator: 4.0.7 dayjs: 1.10.7 lodash: 4.17.21 @@ -1832,10 +1940,6 @@ packages: - '@vue/composition-api' dev: false - /email-addresses/3.1.0: - resolution: {integrity: sha512-k0/r7GrWVL32kZlGwfPNgB2Y/mMXVTq/decgLczm/j34whdaspNrZO8CnXPf1laaHxI6ptUlsnAxN+UAPw+fzg==} - dev: true - /emoji-regex/8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1847,13 +1951,6 @@ packages: resolution: {integrity: sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==} dev: false - /enquirer/2.3.6: - resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==} - engines: {node: '>=8.6'} - dependencies: - ansi-colors: 4.1.1 - dev: true - /entities/2.2.0: resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} dev: true @@ -2044,21 +2141,21 @@ packages: engines: {node: '>=10'} dev: true - /eslint-config-prettier/8.3.0_eslint@8.5.0: + /eslint-config-prettier/8.3.0_eslint@8.7.0: resolution: {integrity: sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.5.0 + eslint: 8.7.0 dev: true - /eslint-define-config/1.2.1: - resolution: {integrity: sha512-Mj6OvJXNDrMA+RtFtPFst4BRJPkB4qi9B+8FFr/hdxY0gNbhGoSnp7i3w3/k75vMXTbbfsmeZhQUomI6mK/JVw==} + /eslint-define-config/1.2.2: + resolution: {integrity: sha512-xZpBJNM5UGKyBGvOySj8B7vUjgqITf3Ga27FdrbaoitfiTT9G1qVh1fBuz8Y1DkG5MpyxtTPyV6s0rpMGMSgDA==} engines: {node: '>= 16.9.0', npm: '>= 7.0.0', pnpm: '>= 6.17.0'} dev: true - /eslint-plugin-prettier/4.0.0_94e1b6d3ce6ea916847122712570e9ae: + /eslint-plugin-prettier/4.0.0_4660519532e4c3b0a9e5bb6623cfedf6: resolution: {integrity: sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ==} engines: {node: '>=6.0.0'} peerDependencies: @@ -2069,23 +2166,23 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.5.0 - eslint-config-prettier: 8.3.0_eslint@8.5.0 + eslint: 8.7.0 + eslint-config-prettier: 8.3.0_eslint@8.7.0 prettier: 2.5.1 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-vue/8.2.0_eslint@8.5.0: - resolution: {integrity: sha512-cLIdTuOAMXyHeQ4drYKcZfoyzdwdBpH279X8/N0DgmotEI9yFKb5O/cAgoie/CkQZCH/MOmh0xw/KEfS90zY2A==} + /eslint-plugin-vue/8.3.0_eslint@8.7.0: + resolution: {integrity: sha512-IIuLHw4vQxGlHcoP2dG6t/2OVdQf2qoyAzEGAxreU1afZOHGA7y3TWq8I+r3ZA6Wjs6xpeUWGHlT31QGr9Rb5g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.5.0 - eslint-utils: 3.0.0_eslint@8.5.0 + eslint: 8.7.0 + eslint-utils: 3.0.0_eslint@8.7.0 natural-compare: 1.4.0 semver: 7.3.5 - vue-eslint-parser: 8.0.1_eslint@8.5.0 + vue-eslint-parser: 8.0.1_eslint@8.7.0 transitivePeerDependencies: - supports-color dev: true @@ -2114,13 +2211,13 @@ packages: estraverse: 5.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.5.0: + /eslint-utils/3.0.0_eslint@8.7.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.5.0 + eslint: 8.7.0 eslint-visitor-keys: 2.1.0 dev: true @@ -2134,8 +2231,13 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.5.0: - resolution: {integrity: sha512-tVGSkgNbOfiHyVte8bCM8OmX+xG9PzVG/B4UCF60zx7j61WIVY/AqJECDgpLD4DbbESD0e174gOg3ZlrX15GDg==} + /eslint-visitor-keys/3.2.0: + resolution: {integrity: sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /eslint/8.7.0: + resolution: {integrity: sha512-ifHYzkBGrzS2iDU7KjhCAVMGCvF6M3Xfs8X8b37cgrUlDt6bWRTpRh6T/gtSXv1HJ/BUGgmjvNvOEGu85Iif7w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: @@ -2146,12 +2248,11 @@ packages: cross-spawn: 7.0.3 debug: 4.3.3 doctrine: 3.0.0 - enquirer: 2.3.6 escape-string-regexp: 4.0.0 eslint-scope: 7.1.0 - eslint-utils: 3.0.0_eslint@8.5.0 - eslint-visitor-keys: 3.1.0 - espree: 9.2.0 + eslint-utils: 3.0.0_eslint@8.7.0 + eslint-visitor-keys: 3.2.0 + espree: 9.3.0 esquery: 1.4.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 @@ -2159,7 +2260,7 @@ packages: functional-red-black-tree: 1.0.1 glob-parent: 6.0.2 globals: 13.12.0 - ignore: 4.0.6 + ignore: 5.2.0 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 @@ -2170,9 +2271,7 @@ packages: minimatch: 3.0.4 natural-compare: 1.4.0 optionator: 0.9.1 - progress: 2.0.3 regexpp: 3.2.0 - semver: 7.3.5 strip-ansi: 6.0.1 strip-json-comments: 3.1.1 text-table: 0.2.0 @@ -2190,6 +2289,15 @@ packages: eslint-visitor-keys: 3.1.0 dev: true + /espree/9.3.0: + resolution: {integrity: sha512-d/5nCsb0JcqsSEeQzFZ8DH1RmxPcglRWh24EFTlUEmCKoehXGdpsx0RkHDubqUI8LSAIKMQp4r9SzQ3n+sm4HQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + acorn: 8.7.0 + acorn-jsx: 5.3.2_acorn@8.7.0 + eslint-visitor-keys: 3.2.0 + dev: true + /esquery/1.4.0: resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} engines: {node: '>=0.10'} @@ -2268,6 +2376,17 @@ packages: resolution: {integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==} dev: true + /fast-glob/3.2.10: + resolution: {integrity: sha512-s9nFhFnvR63wls6/kM88kQqDhMu0AfdjqouE2l5GVQPbqLgyFjjU5ry/r2yKsJxpb9Py1EYNqieFrmMaX4v++A==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.4 + dev: true + /fast-glob/3.2.7: resolution: {integrity: sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==} engines: {node: '>=8'} @@ -2311,20 +2430,6 @@ packages: flat-cache: 3.0.4 dev: true - /filename-reserved-regex/2.0.0: - resolution: {integrity: sha1-q/c9+rc10EVECr/qLZHzieu/oik=} - engines: {node: '>=4'} - dev: true - - /filenamify/4.3.0: - resolution: {integrity: sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==} - engines: {node: '>=8'} - dependencies: - filename-reserved-regex: 2.0.0 - strip-outer: 1.0.1 - trim-repeated: 1.0.0 - dev: true - /fill-range/7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} @@ -2332,22 +2437,6 @@ packages: to-regex-range: 5.0.1 dev: true - /find-cache-dir/3.3.2: - resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==} - engines: {node: '>=8'} - dependencies: - commondir: 1.0.1 - make-dir: 3.1.0 - pkg-dir: 4.2.0 - dev: true - - /find-config/1.0.0: - resolution: {integrity: sha1-6vorm8B/qckOmgw++c7PHMgA9TA=} - engines: {node: '>= 0.12'} - dependencies: - user-home: 2.0.0 - dev: true - /find-node-modules/2.1.2: resolution: {integrity: sha512-x+3P4mbtRPlSiVE1Qco0Z4YLU8WFiFcuWTf3m75OV9Uzcfs2Bg+O9N+r/K0AnmINBW06KpfqKwYJbFlFq4qNug==} dependencies: @@ -2359,6 +2448,13 @@ packages: resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==} dev: true + /find-up/2.1.0: + resolution: {integrity: sha1-RdG35QbHF93UgndaK3eSCjwMV6c=} + engines: {node: '>=4'} + dependencies: + locate-path: 2.0.0 + dev: true + /find-up/4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} @@ -2475,6 +2571,17 @@ packages: has-symbols: 1.0.2 dev: false + /get-pkg-repo/4.2.1: + resolution: {integrity: sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==} + engines: {node: '>=6.9.0'} + hasBin: true + dependencies: + '@hutson/parse-repository-url': 3.0.2 + hosted-git-info: 4.0.2 + through2: 2.0.5 + yargs: 16.2.0 + dev: true + /get-stdin/8.0.0: resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} engines: {node: '>=10'} @@ -2485,20 +2592,6 @@ packages: engines: {node: '>=10'} dev: true - /gh-pages/3.2.3: - resolution: {integrity: sha512-jA1PbapQ1jqzacECfjUaO9gV8uBgU6XNMV0oXLtfCX3haGLe5Atq8BxlrADhbD6/UdG9j6tZLWAkAybndOXTJg==} - engines: {node: '>=10'} - hasBin: true - dependencies: - async: 2.6.3 - commander: 2.20.3 - email-addresses: 3.1.0 - filenamify: 4.3.0 - find-cache-dir: 3.3.2 - fs-extra: 8.1.0 - globby: 6.1.0 - dev: true - /git-raw-commits/2.0.11: resolution: {integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==} engines: {node: '>=10'} @@ -2511,6 +2604,29 @@ packages: through2: 4.0.2 dev: true + /git-remote-origin-url/2.0.0: + resolution: {integrity: sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=} + engines: {node: '>=4'} + dependencies: + gitconfiglocal: 1.0.0 + pify: 2.3.0 + dev: true + + /git-semver-tags/4.1.1: + resolution: {integrity: sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==} + engines: {node: '>=10'} + hasBin: true + dependencies: + meow: 8.1.2 + semver: 6.3.0 + dev: true + + /gitconfiglocal/1.0.0: + resolution: {integrity: sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=} + dependencies: + ini: 1.3.8 + dev: true + /glob-parent/5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -2614,17 +2730,6 @@ packages: slash: 3.0.0 dev: true - /globby/6.1.0: - resolution: {integrity: sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=} - engines: {node: '>=0.10.0'} - dependencies: - array-union: 1.0.2 - glob: 7.2.0 - object-assign: 4.1.1 - pify: 2.3.0 - pinkie-promise: 2.0.1 - dev: true - /globjoin/0.1.4: resolution: {integrity: sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=} dev: true @@ -2633,6 +2738,19 @@ packages: resolution: {integrity: sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==} dev: true + /handlebars/4.7.7: + resolution: {integrity: sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==} + engines: {node: '>=0.4.7'} + hasBin: true + dependencies: + minimist: 1.2.5 + neo-async: 2.6.2 + source-map: 0.6.1 + wordwrap: 1.0.0 + optionalDependencies: + uglify-js: 3.14.5 + dev: true + /hard-rejection/2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} engines: {node: '>=6'} @@ -2883,6 +3001,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /isarray/1.0.0: + resolution: {integrity: sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=} + dev: true + /isexe/2.0.0: resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=} dev: true @@ -2909,6 +3031,10 @@ packages: hasBin: true dev: true + /json-parse-better-errors/1.0.2: + resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} + dev: true + /json-parse-even-better-errors/2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} dev: true @@ -2925,6 +3051,10 @@ packages: resolution: {integrity: sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=} dev: true + /json-stringify-safe/5.0.1: + resolution: {integrity: sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=} + dev: true + /json5/2.2.0: resolution: {integrity: sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==} engines: {node: '>=6'} @@ -2988,8 +3118,8 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: true - /lint-staged/12.1.4: - resolution: {integrity: sha512-RgDz9nsFsE0/5eL9Vat0AvCuk0+j5mEuzBIVfrRH5FRtt5wibYe8zTjZs2nuqLFrLAGQGYnj8+HJxolcj08i/A==} + /lint-staged/12.1.7: + resolution: {integrity: sha512-bltv/ejiLWtowExpjU+s5z8j1Byjg9AlmaAjMmqNbIicY69u6sYIwXGg0dCn0TlkrrY2CphtHIXAkbZ+1VoWQQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true dependencies: @@ -3029,6 +3159,16 @@ packages: wrap-ansi: 7.0.0 dev: true + /load-json-file/4.0.0: + resolution: {integrity: sha1-L19Fq5HjMhYjT9U62rZo607AmTs=} + engines: {node: '>=4'} + dependencies: + graceful-fs: 4.2.8 + parse-json: 4.0.0 + pify: 3.0.0 + strip-bom: 3.0.0 + dev: true + /local-pkg/0.4.0: resolution: {integrity: sha512-2XBWjO/v63JeR1HPzLJxdTVRQDB84Av2p2KtBA5ahvpyLUPubcAU6iXlAJrONcY7aSqgJhXxElAnKtnYsRolPQ==} engines: {node: '>=14'} @@ -3036,6 +3176,19 @@ packages: mlly: 0.2.10 dev: true + /local-pkg/0.4.1: + resolution: {integrity: sha512-lL87ytIGP2FU5PWwNDo0w3WhIo2gopIAxPg9RxDYF7m4rr5ahuZxP22xnJHIvaLTe4Z9P6uKKY2UHiwyB4pcrw==} + engines: {node: '>=14'} + dev: true + + /locate-path/2.0.0: + resolution: {integrity: sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=} + engines: {node: '>=4'} + dependencies: + p-locate: 2.0.0 + path-exists: 3.0.0 + dev: true + /locate-path/5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} @@ -3049,6 +3202,14 @@ packages: p-locate: 5.0.0 dev: true + /lodash-es/4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + dev: false + + /lodash.ismatch/4.4.0: + resolution: {integrity: sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=} + dev: true + /lodash.map/4.6.0: resolution: {integrity: sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=} dev: true @@ -3091,13 +3252,6 @@ packages: dependencies: sourcemap-codec: 1.4.8 - /make-dir/3.1.0: - resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} - engines: {node: '>=8'} - dependencies: - semver: 6.3.0 - dev: true - /make-error/1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} dev: true @@ -3210,19 +3364,17 @@ packages: resolution: {integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==} dev: true - /mkdirp/0.5.5: - resolution: {integrity: sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==} - hasBin: true - dependencies: - minimist: 1.2.5 - dev: true - /mlly/0.2.10: resolution: {integrity: sha512-xfyW6c2QBGArtctzNnTV5leOKX8nOMz2simeubtXofdsdSJFSNw+Ncvrs8kxcN3pBrQLXuYBHNFV6NgZ5Ryf4A==} dependencies: import-meta-resolve: 1.1.1 dev: true + /modify-values/1.0.1: + resolution: {integrity: sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==} + engines: {node: '>=0.10.0'} + dev: true + /monaco-editor/0.31.1: resolution: {integrity: sha512-FYPwxGZAeP6mRRyrr5XTGHD9gRXVjy7GUzF4IPChnyt3fS5WrNxIkS8DNujWf6EQy0Zlzpxw8oTVE+mWI2/D1Q==} dev: false @@ -3235,8 +3387,8 @@ packages: resolution: {integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=} dev: true - /nanoid/3.1.30: - resolution: {integrity: sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==} + /nanoid/3.1.32: + resolution: {integrity: sha512-F8mf7R3iT9bvThBoW4tGXhXFHCctyCiUUPrWF8WaTqa3h96d9QybkSeba43XVOOE3oiLfkVDe4bT8MeGmkrTxw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -3244,6 +3396,10 @@ packages: resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=} dev: true + /neo-async/2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + dev: true + /node-releases/2.0.1: resolution: {integrity: sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==} dev: true @@ -3252,7 +3408,7 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.20.0 + resolve: 1.21.0 semver: 5.7.1 validate-npm-package-license: 3.0.4 dev: true @@ -3301,11 +3457,6 @@ packages: resolution: {integrity: sha512-Gr/Km0nIMbR7hOB0fjGx7nR0oRjTy9M61dXiQL5bfTBq0cQ+hNgt6gxE062j7Bxm+L/IjNVOr41iu2hrDeuedw==} dev: false - /object-assign/4.1.1: - resolution: {integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=} - engines: {node: '>=0.10.0'} - dev: true - /object-inspect/1.12.0: resolution: {integrity: sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==} @@ -3341,16 +3492,18 @@ packages: word-wrap: 1.2.3 dev: true - /os-homedir/1.0.2: - resolution: {integrity: sha1-/7xJiDNuDoM94MFox+8VISGqf7M=} - engines: {node: '>=0.10.0'} - dev: true - /os-tmpdir/1.0.2: resolution: {integrity: sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=} engines: {node: '>=0.10.0'} dev: true + /p-limit/1.3.0: + resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==} + engines: {node: '>=4'} + dependencies: + p-try: 1.0.0 + dev: true + /p-limit/2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} @@ -3364,6 +3517,13 @@ packages: yocto-queue: 0.1.0 dev: true + /p-locate/2.0.0: + resolution: {integrity: sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=} + engines: {node: '>=4'} + dependencies: + p-limit: 1.3.0 + dev: true + /p-locate/4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -3384,6 +3544,11 @@ packages: aggregate-error: 3.1.0 dev: true + /p-try/1.0.0: + resolution: {integrity: sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=} + engines: {node: '>=4'} + dev: true + /p-try/2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} @@ -3395,6 +3560,14 @@ packages: callsites: 3.1.0 dev: true + /parse-json/4.0.0: + resolution: {integrity: sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=} + engines: {node: '>=4'} + dependencies: + error-ex: 1.3.2 + json-parse-better-errors: 1.0.2 + dev: true + /parse-json/5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} @@ -3410,6 +3583,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /path-exists/3.0.0: + resolution: {integrity: sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=} + engines: {node: '>=4'} + dev: true + /path-exists/4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3428,6 +3606,13 @@ packages: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} dev: true + /path-type/3.0.0: + resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==} + engines: {node: '>=4'} + dependencies: + pify: 3.0.0 + dev: true + /path-type/4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -3451,6 +3636,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /pify/3.0.0: + resolution: {integrity: sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=} + engines: {node: '>=4'} + dev: true + /pinia/2.0.9_typescript@4.5.4+vue@3.2.26: resolution: {integrity: sha512-iuYdxLJKQ07YPyOHYH05wNG9eKWqkP/4y4GE8+RqEYtz5fwHgPA5kr6zQbg/DoEJGnR2XCm1w1vdt6ppzL9ATg==} peerDependencies: @@ -3469,25 +3659,6 @@ packages: vue-demi: 0.12.1_vue@3.2.26 dev: false - /pinkie-promise/2.0.1: - resolution: {integrity: sha1-ITXW36ejWMBprJsXh3YogihFD/o=} - engines: {node: '>=0.10.0'} - dependencies: - pinkie: 2.0.4 - dev: true - - /pinkie/2.0.4: - resolution: {integrity: sha1-clVrgM+g1IqXToDnckjoDtT3+HA=} - engines: {node: '>=0.10.0'} - dev: true - - /pkg-dir/4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} - dependencies: - find-up: 4.1.0 - dev: true - /pngjs/5.0.0: resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==} engines: {node: '>=10.13.0'} @@ -3543,7 +3714,7 @@ packages: resolution: {integrity: sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.1.30 + nanoid: 3.1.32 picocolors: 1.0.0 source-map-js: 1.0.1 @@ -3565,9 +3736,8 @@ packages: hasBin: true dev: true - /progress/2.0.3: - resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} - engines: {node: '>=0.4.0'} + /process-nextick-args/2.0.1: + resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} dev: true /punycode/2.1.1: @@ -3591,8 +3761,8 @@ packages: yargs: 15.4.1 dev: false - /qs/6.10.2: - resolution: {integrity: sha512-mSIdjzqznWgfd4pMii7sHtaYF8rx8861hBO80SraY5GT0XQibWZWJSid0avzHGkDIZLImux2S5mXO0Hfct2QCw==} + /qs/6.10.3: + resolution: {integrity: sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==} engines: {node: '>=0.6'} dependencies: side-channel: 1.0.4 @@ -3607,6 +3777,14 @@ packages: engines: {node: '>=8'} dev: true + /read-pkg-up/3.0.0: + resolution: {integrity: sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=} + engines: {node: '>=4'} + dependencies: + find-up: 2.1.0 + read-pkg: 3.0.0 + dev: true + /read-pkg-up/7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} engines: {node: '>=8'} @@ -3616,6 +3794,15 @@ packages: type-fest: 0.8.1 dev: true + /read-pkg/3.0.0: + resolution: {integrity: sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=} + engines: {node: '>=4'} + dependencies: + load-json-file: 4.0.0 + normalize-package-data: 2.5.0 + path-type: 3.0.0 + dev: true + /read-pkg/5.2.0: resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} engines: {node: '>=8'} @@ -3626,6 +3813,18 @@ packages: type-fest: 0.6.0 dev: true + /readable-stream/2.3.7: + resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==} + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + dev: true + /readable-stream/3.6.0: resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==} engines: {node: '>= 6'} @@ -3704,6 +3903,15 @@ packages: path-parse: 1.0.7 dev: true + /resolve/1.21.0: + resolution: {integrity: sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==} + hasBin: true + dependencies: + is-core-module: 2.8.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + /restore-cursor/2.0.0: resolution: {integrity: sha1-n37ih/gv0ybU/RYpI9YhKe7g368=} engines: {node: '>=4'} @@ -3729,13 +3937,6 @@ packages: resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==} dev: true - /rimraf/2.6.3: - resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} - hasBin: true - dependencies: - glob: 7.2.0 - dev: true - /rimraf/3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} hasBin: true @@ -3787,8 +3988,8 @@ packages: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} dev: true - /sass/1.45.2: - resolution: {integrity: sha512-cKfs+F9AMPAFlbbTXNsbGvg3y58nV0mXA3E94jqaySKcC8Kq3/8983zVKQ0TLMUrHw7hF9Tnd3Bz9z5Xgtrl9g==} + /sass/1.48.0: + resolution: {integrity: sha512-hQi5g4DcfjcipotoHZ80l7GNJHGqQS5LwMBjVYB/TaT0vcSSpbgM8Ad7cgfsB2M0MinbkEQQPO9+sjjSiwxqmw==} engines: {node: '>=8.9.0'} hasBin: true dependencies: @@ -3921,6 +4122,12 @@ packages: hasBin: true dev: true + /split/1.0.1: + resolution: {integrity: sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==} + dependencies: + through: 2.3.8 + dev: true + /split2/3.2.2: resolution: {integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==} dependencies: @@ -3957,6 +4164,12 @@ packages: strip-ansi: 7.0.1 dev: true + /string_decoder/1.1.1: + resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} + dependencies: + safe-buffer: 5.1.2 + dev: true + /string_decoder/1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} dependencies: @@ -3990,6 +4203,11 @@ packages: ansi-regex: 6.0.1 dev: true + /strip-bom/3.0.0: + resolution: {integrity: sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=} + engines: {node: '>=4'} + dev: true + /strip-bom/4.0.0: resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} engines: {node: '>=8'} @@ -4017,13 +4235,6 @@ packages: engines: {node: '>=8'} dev: true - /strip-outer/1.0.1: - resolution: {integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==} - engines: {node: '>=0.10.0'} - dependencies: - escape-string-regexp: 1.0.5 - dev: true - /style-search/0.1.0: resolution: {integrity: sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=} dev: true @@ -4156,6 +4367,11 @@ packages: engines: {node: '>=12'} dev: true + /supports-preserve-symlinks-flag/1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + dev: true + /svg-tags/1.0.0: resolution: {integrity: sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=} dev: true @@ -4180,12 +4396,17 @@ packages: strip-ansi: 6.0.1 dev: true - /temp/0.9.4: - resolution: {integrity: sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA==} - engines: {node: '>=6.0.0'} + /temp-dir/2.0.0: + resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} + engines: {node: '>=8'} + dev: true + + /tempfile/3.0.0: + resolution: {integrity: sha512-uNFCg478XovRi85iD42egu+eSFUmmka750Jy7L5tfHI5hQKKtbPnxaSaXAbBqCDYrw3wx4tXjKwci4/QmsZJxw==} + engines: {node: '>=8'} dependencies: - mkdirp: 0.5.5 - rimraf: 2.6.3 + temp-dir: 2.0.0 + uuid: 3.4.0 dev: true /text-extensions/1.9.0: @@ -4201,6 +4422,13 @@ packages: resolution: {integrity: sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=} dev: true + /through2/2.0.5: + resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} + dependencies: + readable-stream: 2.3.7 + xtend: 4.0.2 + dev: true + /through2/4.0.2: resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} dependencies: @@ -4231,14 +4459,7 @@ packages: engines: {node: '>=8'} dev: true - /trim-repeated/1.0.0: - resolution: {integrity: sha1-42RqLqTokTEr9+rObPsFOAvAHCE=} - engines: {node: '>=0.10.0'} - dependencies: - escape-string-regexp: 1.0.5 - dev: true - - /ts-node/10.4.0_bad060d5f9aca5284661d88d739ba15b: + /ts-node/10.4.0_faf01e1d5a40372a98081522dcafc186: resolution: {integrity: sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A==} hasBin: true peerDependencies: @@ -4257,7 +4478,7 @@ packages: '@tsconfig/node12': 1.0.9 '@tsconfig/node14': 1.0.1 '@tsconfig/node16': 1.0.2 - '@types/node': 17.0.5 + '@types/node': 17.0.8 acorn: 8.7.0 acorn-walk: 8.2.0 arg: 4.1.3 @@ -4330,6 +4551,14 @@ packages: hasBin: true dev: true + /uglify-js/3.14.5: + resolution: {integrity: sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ==} + engines: {node: '>=0.8.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + /universal-cookie/4.0.4: resolution: {integrity: sha512-lbRVHoOMtItjWbM7TwDLdl8wug7izB0tq3/YVKhT/ahB4VDvWMyvnADfnJI8y6fSvsjh51Ix7lTGC6Tn4rMPhw==} requiresBuild: true @@ -4349,8 +4578,8 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unplugin-auto-import/0.5.5_@vueuse+core@7.5.1+vite@2.7.10: - resolution: {integrity: sha512-PAP/6WdqWtGhlQBvlVZ7qmhHbLcTYSsARtFSbY/jaUx/SaQkRT7SvronHIKEvx4bPmS+l4erQ9gQKSBBPzvUnQ==} + /unplugin-auto-import/0.5.11_@vueuse+core@7.5.3+vite@2.7.12: + resolution: {integrity: sha512-MJ3POLe/IysRHF4yd32FkKDoxqSRoiuIHm89ys67B8FLuz2Pvh9poeqTVe6IhJsNxwv0+GSdFfj5Dpq24lhm4g==} engines: {node: '>=14'} peerDependencies: '@vueuse/core': '*' @@ -4358,20 +4587,21 @@ packages: '@vueuse/core': optional: true dependencies: - '@antfu/utils': 0.3.0 + '@antfu/utils': 0.4.0 '@rollup/pluginutils': 4.1.2 - '@vueuse/core': 7.5.1_vue@3.2.26 - local-pkg: 0.4.0 + '@vueuse/core': 7.5.3_vue@3.2.26 + local-pkg: 0.4.1 magic-string: 0.25.7 - resolve: 1.20.0 - unplugin: 0.2.21_vite@2.7.10 + resolve: 1.21.0 + unplugin: 0.3.0_vite@2.7.12 transitivePeerDependencies: + - esbuild - rollup - vite - webpack dev: true - /unplugin-vue-components/0.17.11_vite@2.7.10+vue@3.2.26: + /unplugin-vue-components/0.17.11_vite@2.7.12+vue@3.2.26: resolution: {integrity: sha512-u5MQ0TbikszRelCt6EA/HskGtGkGLDxi7tQ4/4tcEPWkH3yXSZRJCOeLF5MSdxN1SiGjaJ0I9zeHjoZFC3FvRw==} engines: {node: '>=14'} peerDependencies: @@ -4393,7 +4623,7 @@ packages: magic-string: 0.25.7 minimatch: 3.0.4 resolve: 1.20.0 - unplugin: 0.2.21_vite@2.7.10 + unplugin: 0.2.21_vite@2.7.12 vue: 3.2.26 transitivePeerDependencies: - rollup @@ -4402,7 +4632,7 @@ packages: - webpack dev: true - /unplugin/0.2.21_vite@2.7.10: + /unplugin/0.2.21_vite@2.7.12: resolution: {integrity: sha512-IJ15/L5XbhnV7J09Zjk0FT5HEkBjkXucWAXQWRsmEtUxmmxwh23yavrmDbCF6ZPxWiVB28+wnKIHePTRRpQPbQ==} peerDependencies: rollup: ^2.50.0 @@ -4416,7 +4646,28 @@ packages: webpack: optional: true dependencies: - vite: 2.7.10_sass@1.45.2 + vite: 2.7.12_sass@1.48.0 + webpack-virtual-modules: 0.4.3 + dev: true + + /unplugin/0.3.0_vite@2.7.12: + resolution: {integrity: sha512-9yLlOo+XC4NdIRgpkDSHOAHkQDq2x4mbuVNO/eKVa3C8WTn5wWGfzEFfRJFL8euqnX3Gf7hEur0AhXxy+WSwkg==} + peerDependencies: + esbuild: '>=0.13' + rollup: ^2.50.0 + vite: ^2.3.0 + webpack: 4 || 5 + peerDependenciesMeta: + esbuild: + optional: true + rollup: + optional: true + vite: + optional: true + webpack: + optional: true + dependencies: + vite: 2.7.12_sass@1.48.0 webpack-virtual-modules: 0.4.3 dev: true @@ -4426,17 +4677,16 @@ packages: punycode: 2.1.1 dev: true - /user-home/2.0.0: - resolution: {integrity: sha1-nHC/2Babwdy/SGBODwS4tJzenp8=} - engines: {node: '>=0.10.0'} - dependencies: - os-homedir: 1.0.2 - dev: true - /util-deprecate/1.0.2: resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=} dev: true + /uuid/3.4.0: + resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} + deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. + hasBin: true + dev: true + /v8-compile-cache/2.3.0: resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==} dev: true @@ -4448,8 +4698,8 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /vant/3.3.7_vue@3.2.26: - resolution: {integrity: sha512-xDNqdBvBAELwkkC4QqzXvcqQJMCP6l0faYDH0aU1dfkIm7Muc+7gqyHMVhPKPFcDGBP33ilZd0Vg2+JoIQWitw==} + /vant/3.4.1_vue@3.2.26: + resolution: {integrity: sha512-sW9NFy+wZBgWIX4ohYT+warctQeAdG44pqSkbp+vbPdKNocfWjRRzB0KyWtp3DkphzySaSY426GtJgE4eA4Oog==} peerDependencies: vue: ^3.0.0 dependencies: @@ -4459,22 +4709,22 @@ packages: vue: 3.2.26 dev: false - /vite-plugin-windicss/1.6.1_vite@2.7.10: - resolution: {integrity: sha512-63uv4HqBxtSZB0WOtrZS8yhyfQPgGQwYgcBald+/BpLSlYJREcDKgX9Xd/qDgTAjpDRozxKQj/JWreIlyIahGg==} + /vite-plugin-windicss/1.6.2_vite@2.7.12: + resolution: {integrity: sha512-JFZmWo2XumDIoOk6wOW7RugVFpq0ACJ7DRT0dPi8KJ0fCNyYF+Wu6xyig7/QOQEAfoMbYxnVeU3CWGU4D5PlyA==} peerDependencies: vite: ^2.0.1 dependencies: - '@windicss/plugin-utils': 1.6.1 + '@windicss/plugin-utils': 1.6.2 debug: 4.3.3 kolorist: 1.5.1 - vite: 2.7.10_sass@1.45.2 + vite: 2.7.12_sass@1.48.0 windicss: 3.4.2 transitivePeerDependencies: - supports-color dev: true - /vite/2.7.10_sass@1.45.2: - resolution: {integrity: sha512-KEY96ntXUid1/xJihJbgmLZx7QSC2D4Tui0FdS0Old5OokYzFclcofhtxtjDdGOk/fFpPbHv9yw88+rB93Tb8w==} + /vite/2.7.12_sass@1.48.0: + resolution: {integrity: sha512-KvPYToRQWhRfBeVkyhkZ5hASuHQkqZUUdUcE3xyYtq5oYEPIJ0h9LWiWTO6v990glmSac2cEPeYeXzpX5Z6qKQ==} engines: {node: '>=12.2.0'} hasBin: true peerDependencies: @@ -4491,9 +4741,9 @@ packages: dependencies: esbuild: 0.13.15 postcss: 8.4.5 - resolve: 1.20.0 + resolve: 1.21.0 rollup: 2.62.0 - sass: 1.45.2 + sass: 1.48.0 optionalDependencies: fsevents: 2.3.2 dev: true @@ -4513,14 +4763,14 @@ packages: vue: 3.2.26 dev: false - /vue-eslint-parser/8.0.1_eslint@8.5.0: + /vue-eslint-parser/8.0.1_eslint@8.7.0: resolution: {integrity: sha512-lhWjDXJhe3UZw2uu3ztX51SJAPGPey1Tff2RK3TyZURwbuI4vximQLzz4nQfCv8CZq4xx7uIiogHMMoSJPr33A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.3 - eslint: 8.5.0 + eslint: 8.7.0 eslint-scope: 6.0.0 eslint-visitor-keys: 3.1.0 espree: 9.2.0 @@ -4593,6 +4843,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /wordwrap/1.0.0: + resolution: {integrity: sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=} + dev: true + /wrap-ansi/6.2.0: resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} engines: {node: '>=8'} @@ -4623,6 +4877,11 @@ packages: typedarray-to-buffer: 3.1.5 dev: true + /xtend/4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + dev: true + /y18n/4.0.3: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} dev: false @@ -4676,6 +4935,19 @@ packages: yargs-parser: 18.1.3 dev: false + /yargs/16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + dev: true + /yargs/17.3.1: resolution: {integrity: sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==} engines: {node: '>=12'} diff --git a/src/packages/base-widgets/slider/index.tsx b/src/packages/base-widgets/slider/index.tsx index 4f39484..a17ac45 100644 --- a/src/packages/base-widgets/slider/index.tsx +++ b/src/packages/base-widgets/slider/index.tsx @@ -16,7 +16,7 @@ import { createEditorModelBindProp, createEditorSwitchProp, } from '@/visual-editor/visual-editor.props'; -import { omit } from 'lodash'; +import { omit } from 'lodash-es'; export default { key: 'slider', diff --git a/src/packages/base-widgets/tabbar/index.tsx b/src/packages/base-widgets/tabbar/index.tsx index 17f4dda..9cc90ce 100644 --- a/src/packages/base-widgets/tabbar/index.tsx +++ b/src/packages/base-widgets/tabbar/index.tsx @@ -6,19 +6,34 @@ * @Description: 导航栏 * @FilePath: \vite-vue3-lowcode\src\packages\base-widgets\tabbar\index.tsx */ -import { Tabbar, TabbarItem } from 'vant' -import type { VisualEditorComponent } from '@/visual-editor/visual-editor.utils' +import { Tabbar, TabbarItem } from 'vant'; +import type { VisualEditorComponent } from '@/visual-editor/visual-editor.utils'; import { createEditorCrossSortableProp, createEditorInputProp, createEditorSwitchProp, - createEditorColorProp -} from '@/visual-editor/visual-editor.props' -import { useGlobalProperties } from '@/hooks/useGlobalProperties' -import tabbarItem from './tabbar-item' -import { createNewBlock } from '@/visual-editor/visual-editor.utils' -import { BASE_URL } from '@/visual-editor/utils' -import { onMounted, onBeforeUnmount } from 'vue' + createEditorColorProp, +} from '@/visual-editor/visual-editor.props'; +import { useGlobalProperties } from '@/hooks/useGlobalProperties'; +import { getTabbarItem } from './tabbar-item'; +import { createNewBlock } from '@/visual-editor/visual-editor.utils'; +import { BASE_URL } from '@/visual-editor/utils'; +import { onMounted, onBeforeUnmount } from 'vue'; + +const defaultTabbarItems = [ + { + icon: 'home-o', + title: '首页', + }, + { + icon: 'apps-o', + title: '导航', + }, + { + icon: 'user-o', + title: '我的', + }, +]; export default { key: 'tabbar', @@ -26,82 +41,77 @@ export default { label: '底部标签栏', preview: () => ( - 首页 - 导航 - 我的 + {defaultTabbarItems.map((item) => ( + {item.title} + ))} ), render: ({ props, block }) => { - const { registerRef } = useGlobalProperties() + const { registerRef } = useGlobalProperties(); onMounted(() => { - const compEl = window.$$refs[block._vid]?.$el - const draggableEl = compEl?.closest('div[data-draggable]') + const compEl = window.$$refs[block._vid]?.$el; + const draggableEl = compEl?.closest('div[data-draggable]'); const dragArea: HTMLDivElement = document.querySelector( - '.simulator-editor-content > .dragArea ' - )! - const tabbarEl = draggableEl?.querySelector('.van-tabbar') as HTMLDivElement + '.simulator-editor-content > .dragArea ', + )!; + const tabbarEl = draggableEl?.querySelector('.van-tabbar') as HTMLDivElement; if (draggableEl && tabbarEl && dragArea) { - tabbarEl.style.position = 'unset' - draggableEl.style.position = 'fixed' - draggableEl.style.bottom = '0' - draggableEl.style.left = '0' - draggableEl.style.width = '100%' - draggableEl.style.zIndex = '1000' - dragArea.style.paddingBottom = '56px' + tabbarEl.style.position = 'unset'; + draggableEl.style.position = 'fixed'; + draggableEl.style.bottom = '0'; + draggableEl.style.left = '0'; + draggableEl.style.width = '100%'; + draggableEl.style.zIndex = '1000'; + dragArea.style.paddingBottom = '56px'; } else { - document.body.style.paddingBottom = '50px' - const slotEl = compEl?.closest('__slot-item') + document.body.style.paddingBottom = '50px'; + const slotEl = compEl?.closest('__slot-item'); if (slotEl) { - slotEl.style.position = 'fixed' - slotEl.style.bottom = '0' + slotEl.style.position = 'fixed'; + slotEl.style.bottom = '0'; } } - }) + }); onBeforeUnmount(() => { const dragArea: HTMLDivElement = document.querySelector( - '.simulator-editor-content > .dragArea ' - )! + '.simulator-editor-content > .dragArea ', + )!; if (dragArea) { - dragArea.style.paddingBottom = '' + dragArea.style.paddingBottom = ''; } - }) + }); return () => ( registerRef(el, block._vid)} v-model={props.modelValue} {...props}> {props.tabs?.map((item) => { - const itemProps = item.block?.props - const url = `${BASE_URL}${props.baseUrl}${itemProps.url}`.replace(/\/{2,}/g, '/') + const itemProps = item.block?.props; + const url = `${BASE_URL}${props.baseUrl}${itemProps.url}`.replace(/\/{2,}/g, '/'); return ( {item.label} - ) + ); })} - ) + ); }, props: { modelValue: createEditorInputProp({ label: '当前选中标签的名称或索引值', - defaultValue: '' + defaultValue: '', }), tabs: createEditorCrossSortableProp({ label: '默认选项', labelPosition: 'top', multiple: false, showItemPropsConfig: true, - defaultValue: [ - { label: '首页', value: 'index', component: tabbarItem, block: createNewBlock(tabbarItem) }, - { - label: '导航', - value: 'navigation', - component: tabbarItem, - block: createNewBlock(tabbarItem) - }, - { label: '我的', value: 'user', component: tabbarItem, block: createNewBlock(tabbarItem) } - ] + defaultValue: defaultTabbarItems.map((item) => { + const block = createNewBlock(getTabbarItem()); + block.props.icon = item.icon; + return { label: item.title, value: item.icon, component: getTabbarItem(), block }; + }), }), fixed: createEditorSwitchProp({ label: '是否固定在底部', defaultValue: true }), border: createEditorSwitchProp({ label: '是否显示外边框', defaultValue: true }), @@ -116,15 +126,15 @@ export default { // }), safeAreaInsetBottom: createEditorSwitchProp({ label: '是否开启底部安全区适配,设置 fixed 时默认开启', - defaultValue: false - }) + defaultValue: false, + }), }, events: [ { label: '点击左侧按钮时触发', value: 'click-left' }, - { label: '点击右侧按钮时触发', value: 'click-right' } + { label: '点击右侧按钮时触发', value: 'click-right' }, ], draggable: false, resize: { - width: true - } -} as VisualEditorComponent + width: true, + }, +} as VisualEditorComponent; diff --git a/src/packages/base-widgets/tabbar/tabbar-item.tsx b/src/packages/base-widgets/tabbar/tabbar-item.tsx index 4b13594..6a25a39 100644 --- a/src/packages/base-widgets/tabbar/tabbar-item.tsx +++ b/src/packages/base-widgets/tabbar/tabbar-item.tsx @@ -6,10 +6,10 @@ * @Description: 导航栏项 * @FilePath: \vite-vue3-lowcode\src\packages\base-widgets\tabbar\tabbar-item.tsx */ -import type { VisualEditorComponent } from '@/visual-editor/visual-editor.utils' -import { createEditorInputProp, createEditorSwitchProp } from '@/visual-editor/visual-editor.props' +import type { VisualEditorComponent } from '@/visual-editor/visual-editor.utils'; +import { createEditorInputProp, createEditorSwitchProp } from '@/visual-editor/visual-editor.props'; -export default { +export const getTabbarItem = (): VisualEditorComponent => ({ key: 'tabbar-item', moduleName: 'baseWidgets', label: '底部标签栏', @@ -24,7 +24,7 @@ export default { iconPrefix: createEditorInputProp({ label: '图标类名前缀', tips: '图标类名前缀,同 Icon 组件的 class-prefix 属性', - defaultValue: 'van-icon' + defaultValue: 'van-icon', }), dot: createEditorSwitchProp({ label: '是否显示图标右上角小红点', defaultValue: false }), badge: createEditorInputProp({ label: '图标右上角徽标的内容', defaultValue: '' }), @@ -34,14 +34,11 @@ export default { // tips: '点击后跳转的目标路由对象,同 vue-router 的 to 属性', // defaultValue: '' // }), - replace: createEditorSwitchProp({ label: '是否在跳转时替换当前页面历史', defaultValue: false }) + replace: createEditorSwitchProp({ label: '是否在跳转时替换当前页面历史', defaultValue: false }), }, events: [ { label: '点击左侧按钮时触发', value: 'click-left' }, - { label: '点击右侧按钮时触发', value: 'click-right' } + { label: '点击右侧按钮时触发', value: 'click-right' }, ], draggable: false, - resize: { - width: true - } -} as VisualEditorComponent +}); diff --git a/src/visual-editor/components/header/index.vue b/src/visual-editor/components/header/index.vue index 248d9de..bf241eb 100644 --- a/src/visual-editor/components/header/index.vue +++ b/src/visual-editor/components/header/index.vue @@ -68,7 +68,6 @@ diff --git a/src/visual-editor/visual.command.tsx b/src/visual-editor/visual.command.tsx index de6cd34..bf9d5e8 100644 --- a/src/visual-editor/visual.command.tsx +++ b/src/visual-editor/visual.command.tsx @@ -1,6 +1,6 @@ // import { useCommander } from './plugins/command.plugin' // import { VisualEditorBlockData, VisualEditorModelValue } from './visual-editor.utils' -// import { cloneDeep } from 'lodash' +// import { cloneDeep } from 'lodash-es' // // export function useVisualCommand({ // focusData, diff --git a/tsconfig.json b/tsconfig.json index 8e86e96..31f1c02 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -55,7 +55,9 @@ "preview/**/*.ts", "preview/**/*.d.ts", "preview/**/*.tsx", - "preview/**/*.vue" + "preview/**/*.vue", + "components.d.ts", + "auto-imports.d.ts" ], "exclude": [ "node_modules", diff --git a/types/utils.d.ts b/types/utils.d.ts new file mode 100644 index 0000000..a2345df --- /dev/null +++ b/types/utils.d.ts @@ -0,0 +1,72 @@ +/** 提取Promise返回值 */ +type UnboxPromise> = T extends Promise ? U : never; + +/** 将联合类型转为交叉类型 */ +declare type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ( + k: infer I, +) => void + ? I + : never; + +/** eg: type result = StringToUnion<'abc'> 结果:'a'|'b'|'c'*/ +type StringToUnion = S extends `${infer S1}${infer S2}` + ? S1 | StringToUnion + : never; + +/** 字符串替换,类似js的字符串replace方法 */ +type Replace< + Str extends string, + From extends string, + To extends string, +> = Str extends `${infer Left}${From}${infer Right}` ? `${Left}${To}${Right}` : Str; + +/** 字符串替换,类似js的字符串replaceAll方法 */ +type ReplaceAll< + Str extends string, + From extends string, + To extends string, +> = Str extends `${infer Left}${From}${infer Right}` + ? Replace, From, To> + : Str; + +/** eg: type result = CamelCase<'foo-bar-baz'>, 结果:fooBarBaz */ +type CamelCase = S extends `${infer S1}-${infer S2}` + ? S2 extends Capitalize + ? `${S1}-${CamelCase}` + : `${S1}${CamelCase>}` + : S; + +/** eg: type result = StringToArray<'abc'>, 结果:['a', 'b', 'c'] */ +type StringToArray = S extends `${infer S1}${infer S2}` + ? StringToArray + : T; + +/** `RequiredKeys`是用来获取所有必填字段,其中这些必填字段组合成一个联合类型 */ +type RequiredKeys = { + [P in keyof T]: T extends Record ? P : never; +}[keyof T]; + +/** `OptionalKeys`是用来获取所有可选字段,其中这些可选字段组合成一个联合类型 */ +type OptionalKeys = { + [P in keyof T]: {} extends Pick ? P : never; +}[keyof T]; + +/** `GetRequired`是用来获取一个类型中,所有必填键及其类型所组成的一个新类型的 */ +type GetRequired = { + [P in RequiredKeys]-?: T[P]; +}; + +/** `GetOptional`是用来获取一个类型中,所有可选键及其类型所组成的一个新类型的 */ +type GetOptional = { + [P in OptionalKeys]?: T[P]; +}; + +/** type result1 = Includes<[1, 2, 3, 4], '4'> 结果: false; type result2 = Includes<[1, 2, 3, 4], 4> 结果: true */ +type Includes = K extends T[number] ? true : false; + +/** eg:type result = MyConcat<[1, 2], [3, 4]> 结果:[1, 2, 3, 4]*/ +type MyConcat = [...T, ...U]; +/** eg: type result1 = MyPush<[1, 2, 3], 4> 结果:[1, 2, 3, 4] */ +type MyPush = [...T, K]; +/** eg: type result3 = MyPop<[1, 2, 3]> 结果:[1, 2] */ +type MyPop = T extends [...infer L, infer R] ? L : never; // eslint-disable-line diff --git a/vite.config.ts b/vite.config.ts index a3d6357..45e6c52 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -55,9 +55,17 @@ export default ({ mode }: ConfigEnv): UserConfig => { targets: ['defaults', 'not IE 11'], }), AutoImport({ - resolvers: [ElementPlusResolver(), VantResolver()], + include: [ + /\.[tj]sx?$/, // .ts, .tsx, .js, .jsx + /\.vue$/, + /\.vue\?vue/, // .vue + /\.md$/, // .md + ], + dts: true, + imports: ['vue', 'vue-router'], }), Components({ + dts: true, resolvers: [ElementPlusResolver(), VantResolver()], }), ], @@ -99,7 +107,7 @@ export default ({ mode }: ConfigEnv): UserConfig => { }, }, optimizeDeps: { - include: ['@vueuse/core', 'element-plus', 'vant', 'lodash', 'vuedraggable'], + include: ['@vueuse/core', 'element-plus', 'vant', 'lodash-es', 'vuedraggable'], }, server: { host: '0.0.0.0', @@ -110,7 +118,7 @@ export default ({ mode }: ConfigEnv): UserConfig => { // 设置代理,根据项目实际情况配置 proxy: { '/api': { - target: 'http://29135jo738.zicp.vip/api/v1', + target: 'https://nest-api.buqiyuan.site/api/admin/', changeOrigin: true, secure: false, rewrite: (path) => path.replace('/api/', '/'),