update api docs page

This commit is contained in:
AceDataCloud committed 2023-01-21 00:52:05 +08:00
1 parent f8f34b0084
commit 4b493ac330
14 files changed
+505 -92

No files matched your search

+6
View File
@@ -18,6 +18,9 @@
"init:cert": "npx mkcert create-cert --ca-key certs/data.local.zhishuyun.com.ca.key --ca-cert certs/data.local.zhishuyun.com.ca.crt --validity 36500 --key certs/data.local.zhishuyun.com.cert.key --cert certs/data.local.zhishuyun.com.cert.crt --domains data.local.zhishuyun.com"
},
"dependencies": {
"@codemirror/lang-javascript": "^6.1.2",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/theme-one-dark": "^6.1.0",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fortawesome/free-regular-svg-icons": "^6.2.1",
@@ -26,6 +29,7 @@
"@types/swagger-ui": "^3.52.0",
"@types/uuid": "^8.3.4",
"axios": "^0.21.1",
"codemirror": "^6.0.1",
"dayjs": "^1.10.7",
"element-plus": "^1.3.0-beta.10",
"hls.js": "^1.1.5",
@@ -35,8 +39,10 @@
"swagger-ui": "^4.15.5",
"tcadapter": "^0.0.8",
"typescript-cookie": "^1.0.3",
"url-join": "^5.0.0",
"uuid": "^8.3.2",
"vue": "^3.2.6",
"vue-codemirror": "^6.1.1",
"vue-i18n": "^9.1.7",
"vue-pdf-embed": "^1.1.4",
"vue-plyr": "^7.0.0",
+10 -1
View File
@@ -32,6 +32,15 @@ body {
}
.el-input {
border-radius: 10px;
input {
border-radius: 10px;
}
}
.v-codemirror {
.cm-editor {
border-radius: 10px;
overflow: hidden;
}
}
}
+37
View File
@@ -0,0 +1,37 @@
<template>
<codemirror :model-value="code" :disabled="!editable" :extensions="extensions" />
</template>
<script lang="ts">
import { Codemirror } from 'vue-codemirror';
import { json } from '@codemirror/lang-json';
import { oneDark } from '@codemirror/theme-one-dark';
import { defineComponent } from 'vue';
import { Extension } from '@codemirror/state';
interface IData {
extensions: Extension[];
}
export default defineComponent({
name: 'CodeSnippet',
components: {
Codemirror
},
props: {
code: {
type: String,
required: true
},
editable: {
type: Boolean,
required: false
}
},
data(): IData {
return {
extensions: [json(), oneDark]
};
}
});
</script>
+35 -18
View File
@@ -1,21 +1,19 @@
<template>
<div v-if="schema" class="wrapper">
<div v-for="(item, itemKey) in schema.properties" :key="itemKey">
<div class="item">
<div class="left">
<div class="info">
<span class="key">{{ itemKey }}</span>
<span class="type">{{ item.type }}</span>
<span v-if="!item.optional" class="required">required</span>
</div>
<div class="description">
{{ item.title }}
</div>
<div v-for="(item, itemKey) in schema.properties" :key="itemKey" class="item">
<div class="left">
<div class="info">
<span class="key">{{ itemKey }}</span>
<span class="type">{{ item.type }}</span>
<span v-if="!item.optional" class="required">required</span>
</div>
<div class="right">
<el-input v-model="value[itemKey.toString()]" />
<div class="description">
{{ item.title }}
</div>
</div>
<div class="right">
<el-input v-model="value[itemKey.toString()]" />
</div>
</div>
</div>
</template>
@@ -67,8 +65,6 @@ export default defineComponent({
<style lang="scss" scoped>
.wrapper {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
.item {
@@ -76,6 +72,25 @@ export default defineComponent({
overflow: hidden;
background-color: rgb(248, 248, 248);
padding: 10px;
border-right: 1px solid rgba(0, 0, 0, 0.1);
border-left: 1px solid rgba(0, 0, 0, 0.1);
&:first-child {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
&:not(:first-child):not(:last-child) {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
&:last-child {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
.left {
width: 70%;
@@ -85,18 +100,19 @@ export default defineComponent({
font-size: 14px;
font-weight: bold;
display: inline-block;
padding: 6px;
padding: 3px;
padding-left: 0;
}
.type {
font-size: 14px;
display: inline-block;
padding: 6px;
padding: 3px;
}
.required {
font-size: 12px;
color: #dd1e2e;
display: inline-block;
padding: 6px;
padding: 3px;
}
}
.description {
@@ -107,6 +123,7 @@ export default defineComponent({
.right {
width: 30%;
float: left;
padding-top: 6px;
}
}
}
+7 -5
View File
@@ -1,8 +1,6 @@
<template>
<div class="wrapper">
<div v-if="apis">
<api-list-item v-for="(api, apiIndex) in apis" :key="apiIndex" :api="api"></api-list-item>
</div>
<div v-if="apis" class="wrapper">
<api-list-item v-for="(api, apiIndex) in apis" :key="apiIndex" :api="api"></api-list-item>
</div>
</template>
@@ -51,4 +49,8 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped></style>
<style lang="scss" scoped>
.wrapper {
padding: 20px 0;
}
</style>
+29 -14
View File
@@ -1,15 +1,18 @@
<template>
<div class="item">
<el-link type="primary" class="link" @click="onClick">
<div class="item" @click="onClick">
<el-link type="primary" class="link" :underline="false">
<span class="name">{{ api?.title }}</span>
<span class="request-method">{{ api?.request?.method }}</span>
</el-link>
<el-tag v-if="api?.request?.method" type="primary" class="request-method" effect="dark">
{{ api?.request?.method }}
</el-tag>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { IApi } from '@/operators/api/models';
export default defineComponent({
name: 'ApiListItem',
props: {
@@ -31,19 +34,31 @@ export default defineComponent({
});
</script>
<style lang="scss">
.link {
.name {
display: flex;
<style lang="scss" scoped>
$height: 35px;
.item {
height: $height;
line-height: $height;
padding-left: 5px;
cursor: pointer;
border-radius: 5px;
overflow: hidden;
position: relative;
&:hover {
background-color: rgba(0, 0, 0, 0.1);
}
.link {
color: #333;
.name {
display: flex;
}
}
.request-method {
display: flex;
padding-left: 0;
padding-right: 0;
width: 40px;
flex-grow: 0;
flex-shrink: 0;
flex-basis: auto;
position: absolute;
right: 10px;
top: 5px;
}
}
</style>
+123 -40
View File
@@ -1,16 +1,55 @@
<template>
<div v-if="responses" class="wrapper">
<div v-for="(response, responseKey) in responses" :key="responseKey" class="item">
<div>
{{ response }}
<el-collapse v-if="responses" id="document-response-item" class="wrapper" accordion>
<el-collapse-item v-for="(response, responseKey) in responses" :key="responseKey" class="item" :name="responseKey">
<template #title>
<span class="badge">
<el-tag v-if="response.isSuccess" class="ml-2" type="success">{{ $t('api.entity.success') }}</el-tag>
<el-tag v-else class="ml-2" type="danger">{{ $t('api.entity.failure') }}</el-tag>
</span>
<span class="code">
{{ response.statusCode }}
</span>
</template>
<div class="item-body">
<div v-if="response?.headers?.properties" class="headers">
<h2 class="title">{{ $t('api.entity.responseHeaders') }}</h2>
<div v-for="(item, itemKey) in response?.headers?.properties" :key="itemKey">
<div class="property">
<div class="info">
<span class="key">{{ itemKey }}</span>
<span class="type">{{ item.type }}</span>
</div>
<div class="description">
{{ item.title }}
</div>
</div>
</div>
</div>
<div v-if="response?.body?.properties" class="body">
<h2 class="title">{{ $t('api.entity.responseBody') }}</h2>
<div v-for="(item, itemKey) in response?.body?.properties" :key="itemKey" class="property">
<div class="info">
<span class="key">{{ itemKey }}</span>
<span class="type">{{ item.type }}</span>
</div>
<div class="description">
{{ item.title }}
</div>
</div>
</div>
<div v-if="response?.example" class="example">
<h2 class="title">{{ $t('api.entity.responseExample') }}</h2>
<code-snippet :code="response?.example" />
</div>
</div>
</div>
</div>
</el-collapse-item>
</el-collapse>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { IResponse, ISchema } from '@/operators/api/models';
import { IResponse } from '@/operators/api/models';
import CodeSnippet from '../common/CodeSnippet.vue';
interface IData {
value: {
@@ -20,6 +59,9 @@ interface IData {
export default defineComponent({
name: 'ApiResult',
components: {
CodeSnippet
},
props: {
responses: {
type: Object as () => IResponse[] | [],
@@ -39,47 +81,88 @@ export default defineComponent({
<style lang="scss" scoped>
.wrapper {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
border: none;
.item {
display: block;
overflow: hidden;
background-color: rgb(248, 248, 248);
padding: 10px;
background-color: #f8f8f8;
border-right: 1px solid rgba(0, 0, 0, 0.1);
border-left: 1px solid rgba(0, 0, 0, 0.1);
.left {
width: 70%;
float: left;
.info {
.key {
font-size: 14px;
font-weight: bold;
display: inline-block;
padding: 6px;
}
.type {
font-size: 14px;
display: inline-block;
padding: 6px;
}
.required {
font-size: 12px;
color: #dd1e2e;
display: inline-block;
padding: 6px;
}
}
.description {
font-size: 12px;
color: #666;
}
&.el-collapse-item:last-child {
margin-bottom: 0;
}
.right {
width: 30%;
float: left;
&:first-child {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
&:not(:first-child):not(:last-child) {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
&:last-child {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
.item-body {
padding: 15px;
.body,
.headers {
.property {
padding: 10px;
border-right: 1px solid rgba(0, 0, 0, 0.1);
border-left: 1px solid rgba(0, 0, 0, 0.1);
&:first-of-type {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
&:not(:first-of-type):not(:last-of-type) {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
&:last-of-type {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
.info {
.key {
font-size: 14px;
font-weight: bold;
display: inline-block;
padding: 3px;
padding-left: 0;
}
.type {
font-size: 14px;
display: inline-block;
padding: 3px;
}
}
}
}
}
}
}
</style>
<style lang="scss">
#document-response-item {
.el-collapse-item__header {
border: none;
background: none;
}
}
</style>
+64 -11
View File
@@ -4,26 +4,27 @@
{{ api?.title }}
</div>
<div class="url">
<el-button size="mini">{{ api?.request?.method }}</el-button>
<span>{{ api?.endpoint }}{{ api?.path }}</span>
<el-tag class="method" size="mini" type="primary" effect="dark">{{ api?.request?.method }}</el-tag>
<span v-if="api?.endpoint && api?.path" class="endpoint">{{ urlJoin(api?.endpoint, api?.path) }}</span>
</div>
<div class="description">
<p>{{ api?.description }}</p>
<div class="introduction">
<p>{{ api?.introduction }}</p>
</div>
<el-divider />
<div class="queries">
<h2>Queries</h2>
<h2 class="title">{{ $t('api.entity.requestQueries') }}</h2>
<api-form :schema="api?.request.queries" />
</div>
<div class="headers">
<h2>Headers</h2>
<h2 class="title">{{ $t('api.entity.requestHeaders') }}</h2>
<api-form :schema="api?.request.headers" />
</div>
<div class="body">
<h2>Body</h2>
<h2 class="title">{{ $t('api.entity.requestBody') }}</h2>
<api-form :schema="api?.request.body" />
</div>
<div class="responses">
<h2>Responses</h2>
<div v-if="api?.responses" class="responses">
<h2 class="title">{{ $t('api.entity.response') }}</h2>
<api-result :responses="api?.responses" />
</div>
</div>
@@ -35,6 +36,7 @@ import { IApi, IApiDetailResponse } from '@/operators/api/models';
import { apiOperator } from '@/operators/api/operator';
import ApiForm from './ApiForm.vue';
import ApiResult from './ApiResult.vue';
import urlJoin from 'url-join';
export interface IData {
api: IApi | undefined;
@@ -70,6 +72,7 @@ export default defineComponent({
this.getApi(this.id);
},
methods: {
urlJoin,
getApi(id: string) {
this.loading = true;
apiOperator
@@ -91,9 +94,59 @@ export default defineComponent({
<style lang="scss">
.item {
.title {
font-size: 1.9em;
font-weight: var(--markdown-title-weight);
font-size: 26px;
font-weight: 500;
line-height: 1.2;
margin-bottom: 10px;
}
.url {
margin-bottom: 10px;
.method {
border-radius: 10px;
padding: 1px 8px;
font-size: 10px;
transform: scale(0.8);
}
.endpoint {
font-size: 12px;
}
}
.introduction {
font-size: 16px;
font-weight: bold;
margin-bottom: 10px;
}
.queries {
margin-bottom: 10px;
.title {
font-size: 12px;
margin-bottom: 10px;
}
}
.headers {
margin-bottom: 10px;
.title {
font-size: 12px;
margin-bottom: 10px;
}
}
.body {
margin-bottom: 10px;
.title {
font-size: 12px;
margin-bottom: 10px;
}
}
.responses {
margin-bottom: 10px;
.title {
font-size: 12px;
margin-bottom: 10px;
}
}
}
</style>
+11
View File
@@ -0,0 +1,11 @@
export default {
requestQueries: 'URL参数',
requestBody: '请求体',
responseBody: '响应体',
requestHeaders: '请求头',
responseHeaders: '响应头',
response: '响应',
success: '成功',
failure: '失败',
responseExample: '样例'
};
+5
View File
@@ -0,0 +1,5 @@
import entity from './entity';
export default {
entity
};
+3 -1
View File
@@ -4,6 +4,7 @@ import course from './course/index';
import service from './service/index';
import console from './console/index';
import application from './application';
import api from './api';
export default {
common,
@@ -11,5 +12,6 @@ export default {
course,
service,
console,
application
application,
api
};
+2 -1
View File
@@ -23,6 +23,7 @@ export interface IResponse {
example?: string;
isSuccess: boolean;
errorCode?: string;
statusCode: number;
body: ISchema;
headers: ISchema;
}
@@ -33,7 +34,7 @@ export interface IApi {
endpoint: string;
alias: string;
title?: string;
description?: string;
introduction?: string;
tags?: string[];
request: IRequest;
responses: IResponse[];
-1
View File
@@ -36,7 +36,6 @@ export default defineComponent({
<style lang="scss" scoped>
.wrapper {
width: 100%;
height: 100vh;
overflow: hidden;
.left {
+173
View File
@@ -63,6 +63,101 @@
resolved "https://registry.yarnpkg.com/@braintree/sanitize-url/-/sanitize-url-6.0.0.tgz#fe364f025ba74f6de6c837a84ef44bdb1d61e68f"
integrity sha512-mgmE7XBYY/21erpzhexk4Cj1cyTQ9LzvnTxtzM17BJ7ERMNE6W72mQRo0I1Ud8eFJ+RVVIcBNhLFZ3GX4XFz5w==
"@codemirror/autocomplete@^6.0.0":
version "6.4.0"
resolved "https://registry.yarnpkg.com/@codemirror/autocomplete/-/autocomplete-6.4.0.tgz#76ac9a2a411a4cc6e13103014dba5e0fe601da5a"
integrity sha512-HLF2PnZAm1s4kGs30EiqKMgD7XsYaQ0XJnMR0rofEWQ5t5D60SfqpDIkIh1ze5tiEbyUWm8+VJ6W1/erVvBMIA==
dependencies:
"@codemirror/language" "^6.0.0"
"@codemirror/state" "^6.0.0"
"@codemirror/view" "^6.6.0"
"@lezer/common" "^1.0.0"
"@codemirror/commands@6.x", "@codemirror/commands@^6.0.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@codemirror/commands/-/commands-6.2.0.tgz#e575b7542406be8bc61efb56f1827c71587bb5f8"
integrity sha512-+00smmZBradoGFEkRjliN7BjqPh/Hx0KCHWOEibUmflUqZz2RwBTU0MrVovEEHozhx3AUSGcO/rl3/5f9e9Biw==
dependencies:
"@codemirror/language" "^6.0.0"
"@codemirror/state" "^6.2.0"
"@codemirror/view" "^6.0.0"
"@lezer/common" "^1.0.0"
"@codemirror/lang-javascript@^6.1.2":
version "6.1.2"
resolved "https://registry.yarnpkg.com/@codemirror/lang-javascript/-/lang-javascript-6.1.2.tgz#a11812ca1d21301cdeb80e51b4c007edcf55f813"
integrity sha512-OcwLfZXdQ1OHrLiIcKCn7MqZ7nx205CMKlhe+vL88pe2ymhT9+2P+QhwkYGxMICj8TDHyp8HFKVwpiisUT7iEQ==
dependencies:
"@codemirror/autocomplete" "^6.0.0"
"@codemirror/language" "^6.0.0"
"@codemirror/lint" "^6.0.0"
"@codemirror/state" "^6.0.0"
"@codemirror/view" "^6.0.0"
"@lezer/common" "^1.0.0"
"@lezer/javascript" "^1.0.0"
"@codemirror/lang-json@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/@codemirror/lang-json/-/lang-json-6.0.1.tgz#0a0be701a5619c4b0f8991f9b5e95fe33f462330"
integrity sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==
dependencies:
"@codemirror/language" "^6.0.0"
"@lezer/json" "^1.0.0"
"@codemirror/language@6.x", "@codemirror/language@^6.0.0":
version "6.4.0"
resolved "https://registry.yarnpkg.com/@codemirror/language/-/language-6.4.0.tgz#803990e0f07bbb619e915651d3a57d143765dbcc"
integrity sha512-Wzb7GnNj8vnEtbPWiOy9H0m1fBtE28kepQNGLXekU2EEZv43BF865VKITUn+NoV8OpW6gRtvm29YEhqm46927Q==
dependencies:
"@codemirror/state" "^6.0.0"
"@codemirror/view" "^6.0.0"
"@lezer/common" "^1.0.0"
"@lezer/highlight" "^1.0.0"
"@lezer/lr" "^1.0.0"
style-mod "^4.0.0"
"@codemirror/lint@^6.0.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@codemirror/lint/-/lint-6.1.0.tgz#f006142d3a580fdb8ffc2faa3361b2232c08e079"
integrity sha512-mdvDQrjRmYPvQ3WrzF6Ewaao+NWERYtpthJvoQ3tK3t/44Ynhk8ZGjTSL9jMEv8CgSMogmt75X8ceOZRDSXHtQ==
dependencies:
"@codemirror/state" "^6.0.0"
"@codemirror/view" "^6.0.0"
crelt "^1.0.5"
"@codemirror/search@^6.0.0":
version "6.2.3"
resolved "https://registry.yarnpkg.com/@codemirror/search/-/search-6.2.3.tgz#fab933fef1b1de8ef40cda275c73d9ac7a1ff40f"
integrity sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==
dependencies:
"@codemirror/state" "^6.0.0"
"@codemirror/view" "^6.0.0"
crelt "^1.0.5"
"@codemirror/state@6.x", "@codemirror/state@^6.0.0", "@codemirror/state@^6.1.4", "@codemirror/state@^6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@codemirror/state/-/state-6.2.0.tgz#a0fb08403ced8c2a68d1d0acee926bd20be922f2"
integrity sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==
"@codemirror/theme-one-dark@^6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@codemirror/theme-one-dark/-/theme-one-dark-6.1.0.tgz#6f8b3c7fc22e9fec59edd573f4ba9546db42e007"
integrity sha512-AiTHtFRu8+vWT9wWUWDM+cog6ZwgivJogB1Tm/g40NIpLwph7AnmxrSzWfvJN5fBVufsuwBxecQCNmdcR5D7Aw==
dependencies:
"@codemirror/language" "^6.0.0"
"@codemirror/state" "^6.0.0"
"@codemirror/view" "^6.0.0"
"@lezer/highlight" "^1.0.0"
"@codemirror/view@6.x", "@codemirror/view@^6.0.0", "@codemirror/view@^6.6.0":
version "6.7.3"
resolved "https://registry.yarnpkg.com/@codemirror/view/-/view-6.7.3.tgz#be2f9d0e6fc8882fb192041bf78425ca04999827"
integrity sha512-Lt+4POnhXrZFfHOdPzXEHxrzwdy7cjqYlMkOWvoFGi6/bAsjzlFfr0NY3B15B/PGx+cDFgM1hlc12wvYeZbGLw==
dependencies:
"@codemirror/state" "^6.1.4"
style-mod "^4.0.0"
w3c-keyname "^2.2.4"
"@ctrl/tinycolor@^3.4.0":
version "3.4.0"
resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.4.0.tgz#c3c5ae543c897caa9c2a68630bed355be5f9990f"
@@ -215,6 +310,41 @@
"@intlify/runtime" "9.1.9"
"@intlify/shared" "9.1.9"
"@lezer/common@^1.0.0":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@lezer/common/-/common-1.0.2.tgz#8fb9b86bdaa2ece57e7d59e5ffbcb37d71815087"
integrity sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==
"@lezer/highlight@^1.0.0", "@lezer/highlight@^1.1.3":
version "1.1.3"
resolved "https://registry.yarnpkg.com/@lezer/highlight/-/highlight-1.1.3.tgz#bf5a36c2ee227f526d74997ac91f7777e29bd25d"
integrity sha512-3vLKLPThO4td43lYRBygmMY18JN3CPh9w+XS2j8WC30vR4yZeFG4z1iFe4jXE43NtGqe//zHW5q8ENLlHvz9gw==
dependencies:
"@lezer/common" "^1.0.0"
"@lezer/javascript@^1.0.0":
version "1.4.1"
resolved "https://registry.yarnpkg.com/@lezer/javascript/-/javascript-1.4.1.tgz#97a15042c76b5979af6a069fac83cf6485628cbf"
integrity sha512-Hqx36DJeYhKtdpc7wBYPR0XF56ZzIp0IkMO/zNNj80xcaFOV4Oj/P7TQc/8k2TxNhzl7tV5tXS8ZOCPbT4L3nA==
dependencies:
"@lezer/highlight" "^1.1.3"
"@lezer/lr" "^1.3.0"
"@lezer/json@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@lezer/json/-/json-1.0.0.tgz#848ad9c2c3e812518eb02897edd5a7f649e9c160"
integrity sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==
dependencies:
"@lezer/highlight" "^1.0.0"
"@lezer/lr" "^1.0.0"
"@lezer/lr@^1.0.0", "@lezer/lr@^1.3.0":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@lezer/lr/-/lr-1.3.1.tgz#f1e6c82860a3499d2f718217dc1c3e5719b8a319"
integrity sha512-+GymJB/+3gThkk2zHwseaJTI5oa4AuOuj1I2LCslAVq1dFZLSX8SAe4ZlJq1TjezteDXtF/+d4qeWz9JvnrG9Q==
dependencies:
"@lezer/common" "^1.0.0"
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -970,6 +1100,19 @@ classnames@^2.3.1:
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.2.tgz#351d813bf0137fcc6a76a16b88208d2560a0d924"
integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==
codemirror@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-6.0.1.tgz#62b91142d45904547ee3e0e0e4c1a79158035a29"
integrity sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==
dependencies:
"@codemirror/autocomplete" "^6.0.0"
"@codemirror/commands" "^6.0.0"
"@codemirror/language" "^6.0.0"
"@codemirror/lint" "^6.0.0"
"@codemirror/search" "^6.0.0"
"@codemirror/state" "^6.0.0"
"@codemirror/view" "^6.0.0"
color-convert@^1.9.0:
version "1.9.3"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
@@ -1071,6 +1214,11 @@ cosmiconfig@^7.0.1:
path-type "^4.0.0"
yaml "^1.10.0"
crelt@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/crelt/-/crelt-1.0.5.tgz#57c0d52af8c859e354bace1883eb2e1eb182bb94"
integrity sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==
cross-env@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"
@@ -3666,6 +3814,11 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1:
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
style-mod@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/style-mod/-/style-mod-4.0.0.tgz#97e7c2d68b592975f2ca7a63d0dd6fcacfe35a01"
integrity sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==
supports-color@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
@@ -3930,6 +4083,11 @@ uri-js@^4.2.2:
dependencies:
punycode "^2.1.0"
url-join@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/url-join/-/url-join-5.0.0.tgz#c2f1e5cbd95fa91082a93b58a1f42fecb4bdbcf1"
integrity sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==
url-parse@^1.5.8:
version "1.5.10"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1"
@@ -4112,6 +4270,16 @@ vscode-vue-languageservice@0.29.8:
vscode-pug-languageservice "0.29.8"
vscode-typescript-languageservice "0.29.8"
vue-codemirror@^6.1.1:
version "6.1.1"
resolved "https://registry.yarnpkg.com/vue-codemirror/-/vue-codemirror-6.1.1.tgz#246697ef4cfa6b2448dd592ade214bb7ff86611f"
integrity sha512-rTAYo44owd282yVxKtJtnOi7ERAcXTeviwoPXjIc6K/IQYUsoDkzPvw/JDFtSP6T7Cz/2g3EHaEyeyaQCKoDMg==
dependencies:
"@codemirror/commands" "6.x"
"@codemirror/language" "6.x"
"@codemirror/state" "6.x"
"@codemirror/view" "6.x"
vue-demi@*:
version "0.12.1"
resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.12.1.tgz#f7e18efbecffd11ab069d1472d7a06e319b4174c"
@@ -4204,6 +4372,11 @@ vuex@^4.0.2:
dependencies:
"@vue/devtools-api" "^6.0.0-beta.11"
w3c-keyname@^2.2.4:
version "2.2.6"
resolved "https://registry.yarnpkg.com/w3c-keyname/-/w3c-keyname-2.2.6.tgz#8412046116bc16c5d73d4e612053ea10a189c85f"
integrity sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==
web-streams-polyfill@4.0.0-beta.3:
version "4.0.0-beta.3"
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz#2898486b74f5156095e473efe989dcf185047a38"