optimize size
This commit is contained in:
1 parent
277ef9a325
commit
5f20de55e7
36 files changed
+386
-104
No files matched your search
+1
-1
@@ -32,7 +32,7 @@
|
||||
"codemirror": "^6.0.1",
|
||||
"copy-to-clipboard": "^3.3.3",
|
||||
"dayjs": "^1.10.7",
|
||||
"element-plus": "^1.3.0-beta.10",
|
||||
"element-plus": "^2.2.28",
|
||||
"github-markdown-css": "^5.1.0",
|
||||
"markdown-it": "^13.0.1",
|
||||
"mustache": "^4.2.0",
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElConfigProvider } from 'element-plus';
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
|
||||
import { registerIcons } from './plugins/font-awesome';
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
|
||||
@@ -31,7 +31,7 @@ body {
|
||||
}
|
||||
|
||||
.el-input {
|
||||
input {
|
||||
.el-input__wrapper {
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ import phpTemplate from '@/assets/templates/php.tpl';
|
||||
import javaTemplate from '@/assets/templates/java.tpl';
|
||||
import CodeSnippet from '../common/CodeSnippet.vue';
|
||||
import queryString from 'query-string';
|
||||
import { ElImage } from 'element-plus';
|
||||
|
||||
interface IOption {
|
||||
name: ILang;
|
||||
@@ -69,7 +70,8 @@ interface IRenderData {
|
||||
export default defineComponent({
|
||||
name: 'ApiCode',
|
||||
components: {
|
||||
CodeSnippet
|
||||
CodeSnippet,
|
||||
ElImage
|
||||
},
|
||||
props: {
|
||||
api: {
|
||||
|
||||
@@ -58,7 +58,12 @@
|
||||
:allow-create="true"
|
||||
:placeholder="$t('common.title.placeholderOfSelect')"
|
||||
>
|
||||
<el-option :label="appliedApplication?.api_key" :value="appliedApplication?.api_key" class="select-option">
|
||||
<el-option
|
||||
v-if="appliedApplication?.api_key"
|
||||
:label="appliedApplication?.api_key"
|
||||
:value="appliedApplication.api_key"
|
||||
class="select-option"
|
||||
>
|
||||
<span class="select-option-main">{{ appliedApplication?.api_key }}</span>
|
||||
<span class="select-option-description">{{ $t('application.message.yourApplication') }}</span>
|
||||
</el-option>
|
||||
@@ -86,6 +91,7 @@ import { ISchema } from '@/operators/api/models';
|
||||
import { IService } from '@/operators/service/models';
|
||||
import { IApplication } from '@/operators';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import { ElPopover, ElInput, ElSelect, ElButton, ElTooltip, ElOption } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
value: {
|
||||
@@ -96,7 +102,13 @@ interface IData {
|
||||
export default defineComponent({
|
||||
name: 'ApiForm',
|
||||
components: {
|
||||
FontAwesomeIcon
|
||||
FontAwesomeIcon,
|
||||
ElPopover,
|
||||
ElInput,
|
||||
ElSelect,
|
||||
ElButton,
|
||||
ElTooltip,
|
||||
ElOption
|
||||
},
|
||||
props: {
|
||||
schema: {
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { IResponse } from '@/operators/api/models';
|
||||
import CodeSnippet from '../common/CodeSnippet.vue';
|
||||
import { ElCollapse, ElCollapseItem, ElTag } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
value: {
|
||||
@@ -63,7 +64,10 @@ interface IData {
|
||||
export default defineComponent({
|
||||
name: 'ApiResult',
|
||||
components: {
|
||||
CodeSnippet
|
||||
CodeSnippet,
|
||||
ElCollapse,
|
||||
ElCollapseItem,
|
||||
ElTag
|
||||
},
|
||||
props: {
|
||||
responses: {
|
||||
|
||||
@@ -21,11 +21,14 @@ import { defineComponent } from 'vue';
|
||||
import axios, { Method } from 'axios';
|
||||
import urlJoin from 'url-join';
|
||||
import CodeSnippet from '../common/CodeSnippet.vue';
|
||||
import { ElButton, ElSkeleton } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ApiTry',
|
||||
components: {
|
||||
CodeSnippet
|
||||
CodeSnippet,
|
||||
ElButton,
|
||||
ElSkeleton
|
||||
},
|
||||
props: {
|
||||
api: {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{{ api?.title }}
|
||||
</div>
|
||||
<div class="url">
|
||||
<el-tag class="method" size="mini" type="primary" effect="dark">{{ api?.request?.method }}</el-tag>
|
||||
<el-tag class="method" 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="introduction">
|
||||
@@ -59,6 +59,7 @@ import ApiResult from './Result.vue';
|
||||
import urlJoin from 'url-join';
|
||||
import { applicationOperator } from '@/operators/application/operator';
|
||||
import { IApplication, IApplicationListResponse } from '@/operators/application/models';
|
||||
import { ElSkeleton, ElDivider, ElTag } from 'element-plus';
|
||||
|
||||
export interface IData {
|
||||
formValue: IForm;
|
||||
@@ -69,7 +70,10 @@ export default defineComponent({
|
||||
name: 'ApiUsage',
|
||||
components: {
|
||||
ApiForm,
|
||||
ApiResult
|
||||
ApiResult,
|
||||
ElSkeleton,
|
||||
ElDivider,
|
||||
ElTag
|
||||
},
|
||||
props: {
|
||||
api: {
|
||||
|
||||
@@ -22,9 +22,15 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElContainer, ElRow, ElCol } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'BottomFooter',
|
||||
components: {
|
||||
ElContainer,
|
||||
ElRow,
|
||||
ElCol
|
||||
},
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
|
||||
@@ -8,9 +8,14 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { ElBreadcrumb, ElBreadcrumbItem } from 'element-plus';
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
ElBreadcrumb,
|
||||
ElBreadcrumbItem
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
items: this.$route.matched
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import copy from 'copy-to-clipboard';
|
||||
import { ElTooltip } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CopyToClipboard',
|
||||
components: {
|
||||
FontAwesomeIcon
|
||||
FontAwesomeIcon,
|
||||
ElTooltip
|
||||
},
|
||||
props: {
|
||||
content: {
|
||||
|
||||
@@ -10,11 +10,14 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import VueMarkdown from './VueMarkdown.vue';
|
||||
import { ElDivider, ElSkeleton } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ApiCode',
|
||||
components: {
|
||||
VueMarkdown
|
||||
VueMarkdown,
|
||||
ElDivider,
|
||||
ElSkeleton
|
||||
},
|
||||
props: {
|
||||
content: {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElPagination } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
loaded: boolean;
|
||||
@@ -21,6 +22,9 @@ interface IData {
|
||||
|
||||
export default defineComponent({
|
||||
name: 'Pagination',
|
||||
components: {
|
||||
ElPagination
|
||||
},
|
||||
props: {
|
||||
total: {
|
||||
type: Number,
|
||||
@@ -50,7 +54,7 @@ export default defineComponent({
|
||||
}, 1000);
|
||||
},
|
||||
methods: {
|
||||
onPageChange(val: number, oldVal: number): void {
|
||||
onPageChange(val: number): void {
|
||||
// if not finished loading, ignore the wrong emit event
|
||||
if (!this.loaded) {
|
||||
return;
|
||||
|
||||
@@ -5,9 +5,13 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElAlert } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'SuccessInfo',
|
||||
components: {
|
||||
ElAlert
|
||||
},
|
||||
props: {
|
||||
show: {
|
||||
type: Boolean,
|
||||
|
||||
@@ -43,9 +43,32 @@ import { defineComponent } from 'vue';
|
||||
import defaultAvatar from '@/assets/images/avatar.png';
|
||||
import { getAuthBaseUrl } from '@/utils';
|
||||
import { ROUTE_AUTH_LOGIN, ROUTE_CONSOLE_ROOT, ROUTE_INDEX } from '@/router';
|
||||
|
||||
import {
|
||||
ElContainer,
|
||||
ElAside,
|
||||
ElMain,
|
||||
ElCol,
|
||||
ElRow,
|
||||
ElDropdown,
|
||||
ElMenu,
|
||||
ElMenuItem,
|
||||
ElDropdownItem,
|
||||
ElButton
|
||||
} from 'element-plus';
|
||||
export default defineComponent({
|
||||
name: 'TopHeader',
|
||||
components: {
|
||||
ElContainer,
|
||||
ElAside,
|
||||
ElMain,
|
||||
ElCol,
|
||||
ElRow,
|
||||
ElDropdown,
|
||||
ElMenu,
|
||||
ElMenuItem,
|
||||
ElDropdownItem,
|
||||
ElButton
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
defaultAvatar
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { Clock, User, Postcard } from '@element-plus/icons-vue';
|
||||
import { ROUTE_CONSOLE_APPLICATION_LIST, ROUTE_CONSOLE_ORDER_LIST, ROUTE_INDEX } from '@/router';
|
||||
import { ElRow, ElCol, ElIcon } from 'element-plus';
|
||||
|
||||
interface ILink {
|
||||
key: string;
|
||||
@@ -51,7 +52,10 @@ export default defineComponent({
|
||||
components: {
|
||||
Clock,
|
||||
Postcard,
|
||||
User
|
||||
User,
|
||||
ElRow,
|
||||
ElCol,
|
||||
ElIcon
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
|
||||
@@ -16,6 +16,7 @@ import { defineComponent } from 'vue';
|
||||
import { IDocument, IDocumentListResponse } from '@/operators/document/models';
|
||||
import DocumentListItem from './ListItem.vue';
|
||||
import { documentOperator } from '@/operators/document';
|
||||
import { ElSkeleton } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
documents: IDocument[];
|
||||
@@ -27,7 +28,8 @@ interface IData {
|
||||
export default defineComponent({
|
||||
name: 'DocumentList',
|
||||
components: {
|
||||
DocumentListItem
|
||||
DocumentListItem,
|
||||
ElSkeleton
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<el-link type="primary" class="link" :underline="false">
|
||||
<span class="name">{{ document?.api?.title }}</span>
|
||||
</el-link>
|
||||
<el-tag v-if="document?.api?.request?.method" type="primary" class="method" effect="dark">
|
||||
<el-tag v-if="document?.api?.request?.method" type="" class="method" effect="dark">
|
||||
{{ document?.api?.request?.method }}
|
||||
</el-tag>
|
||||
</div>
|
||||
@@ -18,9 +18,14 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { IDocument } from '@/operators/document/models';
|
||||
import { ROUTE_DOCUMENT_DETAIL } from '@/router';
|
||||
import { ElLink, ElTag } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ApiListItem',
|
||||
components: {
|
||||
ElLink,
|
||||
ElTag
|
||||
},
|
||||
props: {
|
||||
document: {
|
||||
type: Object as () => IDocument,
|
||||
|
||||
@@ -5,11 +5,14 @@
|
||||
{{ application?.service?.title }}
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('application.field.amount')">
|
||||
<el-input-number v-model="form.amount" :min="1" :max="10" controls-position="right" />
|
||||
<el-input-number v-model="form.amount" :min="1" :max="10000" controls-position="right" />
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('service.field.price')">
|
||||
<service-price :price="application?.service?.price" />
|
||||
</el-form-item>
|
||||
<el-divider />
|
||||
<el-form-item :label="$t('application.field.shouldPayPrice')">
|
||||
<span class="price">¥{{ getPrice().toFixed(2) }}</span>
|
||||
<span :class="{ price: true, unfree: price > 0 }">¥{{ price.toFixed(2) }}</span>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
@@ -28,9 +31,20 @@ import { IApplication, IOrderDetailResponse, orderOperator } from '@/operators';
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { ROUTE_CONSOLE_ORDER_DETAIL } from '@/router';
|
||||
import { ElDialog, ElForm, ElFormItem, ElButton, ElInputNumber, ElDivider } from 'element-plus';
|
||||
import ServicePrice from '@/components/service/Price.vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CreateOrderDialog',
|
||||
components: {
|
||||
ElDialog,
|
||||
ElForm,
|
||||
ElFormItem,
|
||||
ElButton,
|
||||
ElInputNumber,
|
||||
ElDivider,
|
||||
ServicePrice
|
||||
},
|
||||
props: {
|
||||
application: {
|
||||
type: Object as () => IApplication,
|
||||
@@ -46,12 +60,18 @@ export default defineComponent({
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
amount: 1
|
||||
amount: 1000
|
||||
},
|
||||
creating: false
|
||||
};
|
||||
},
|
||||
mounted() {},
|
||||
computed: {
|
||||
price() {
|
||||
if (this.application.service?.price && this.form.amount)
|
||||
return this.form.amount * this.application.service?.price;
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onCreateOrder() {
|
||||
if (!this.application?.id) {
|
||||
@@ -77,11 +97,6 @@ export default defineComponent({
|
||||
ElMessage.error(this.$t('order.message.createFailed'));
|
||||
this.creating = false;
|
||||
});
|
||||
},
|
||||
getPrice() {
|
||||
if (this.application.service?.price && this.form.amount)
|
||||
return this.form.amount * this.application.service?.price;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -91,5 +106,8 @@ export default defineComponent({
|
||||
.price {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
.unfree {
|
||||
color: #ff5441;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,45 @@
|
||||
<template>
|
||||
<div class="price-text">
|
||||
<span v-if="price > 0" class="unfree">¥{{ price }} / {{ $t('service.unit.usage') }}</span>
|
||||
<span v-else class="free">
|
||||
{{ $t('service.message.free') }}
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
export default defineComponent({
|
||||
name: 'ServicePrice',
|
||||
props: {
|
||||
price: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: 0
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.price-text {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
.unfree {
|
||||
color: #ff5441;
|
||||
|
||||
.value {
|
||||
font-weight: bold;
|
||||
color: #ff5441;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.unit {
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
.free {
|
||||
color: #29c287;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
price: '价格'
|
||||
};
|
||||
@@ -1,9 +1,11 @@
|
||||
import message from './message';
|
||||
import unit from './unit';
|
||||
import button from './button';
|
||||
import field from './field';
|
||||
|
||||
export default {
|
||||
message,
|
||||
unit,
|
||||
button
|
||||
button,
|
||||
field
|
||||
};
|
||||
@@ -2,5 +2,5 @@ export default {
|
||||
free: '免费',
|
||||
appliedCount: '申请次数',
|
||||
indexTitle: '方便易用的数字化解决方案',
|
||||
indexSubtitle: '用一个个标准化服务,助力你的工作与生活的方方面面。'
|
||||
indexSubtitle: '用一个个标准化服务,助力你工作与生活的方方面面。'
|
||||
};
|
||||
@@ -6,9 +6,14 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElContainer, ElMain } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'LayoutAuth'
|
||||
name: 'LayoutAuth',
|
||||
components: {
|
||||
ElContainer,
|
||||
ElMain
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@@ -10,11 +10,15 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import Navigator from '@/components/console/Navigator.vue';
|
||||
import { ElContainer, ElMain, ElAside } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'LayoutConsole',
|
||||
components: {
|
||||
Navigator
|
||||
Navigator,
|
||||
ElContainer,
|
||||
ElMain,
|
||||
ElAside
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -23,13 +23,20 @@
|
||||
import TopHeader from '@/components/common/TopHeader.vue';
|
||||
import BottomFooter from '@/components/common/BottomFooter.vue';
|
||||
import DocumentList from '@/components/document/List.vue';
|
||||
import { ElContainer, ElMain, ElFooter, ElHeader, ElRow, ElCol } from 'element-plus';
|
||||
|
||||
export default {
|
||||
name: 'LayoutCourse',
|
||||
components: {
|
||||
TopHeader,
|
||||
BottomFooter,
|
||||
DocumentList
|
||||
DocumentList,
|
||||
ElContainer,
|
||||
ElMain,
|
||||
ElFooter,
|
||||
ElHeader,
|
||||
ElRow,
|
||||
ElCol
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -13,12 +13,17 @@
|
||||
<script lang="ts">
|
||||
import TopHeader from '@/components/common/TopHeader.vue';
|
||||
import BottomFooter from '@/components/common/BottomFooter.vue';
|
||||
import { ElContainer, ElMain, ElFooter, ElHeader } from 'element-plus';
|
||||
|
||||
export default {
|
||||
name: 'LayoutService',
|
||||
components: {
|
||||
TopHeader,
|
||||
BottomFooter
|
||||
BottomFooter,
|
||||
ElContainer,
|
||||
ElMain,
|
||||
ElFooter,
|
||||
ElHeader
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
+4
-3
@@ -2,22 +2,23 @@ import { createApp } from 'vue';
|
||||
import App from './App.vue';
|
||||
import router from './router/index';
|
||||
import store from './store/index';
|
||||
import ElementPlus from 'element-plus';
|
||||
import i18n from './i18n/index';
|
||||
import './assets/scss/style.scss';
|
||||
import './assets/css/tailwind.css';
|
||||
import dayjs from './plugins/dayjs';
|
||||
// import './plugins/font-awesome';
|
||||
import './plugins/font-awesome';
|
||||
import { vLoading } from 'element-plus';
|
||||
|
||||
console.debug('start to create app');
|
||||
const app = createApp(App);
|
||||
|
||||
app.use(router);
|
||||
app.use(store);
|
||||
app.use(ElementPlus);
|
||||
// app.use(ElementPlus);
|
||||
app.use(i18n);
|
||||
app.use(dayjs, {
|
||||
formatString: 'YYYY-MM-DD HH:mm:ss'
|
||||
});
|
||||
app.directive('loading', vLoading);
|
||||
app.mount('#app');
|
||||
console.debug('app mounted');
|
||||
@@ -12,7 +12,7 @@
|
||||
<el-table v-loading="loading" :data="applications" stripe>
|
||||
<el-table-column :label="$t('application.field.service')" width="200px">
|
||||
<template #default="scope">
|
||||
<span>{{ scope.row.service?.title }}</span>
|
||||
<span>{{ scope.row?.service?.title }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -29,19 +29,19 @@
|
||||
/>
|
||||
<el-table-column :label="$t('application.field.apiKey')" class-name="api-key" width="330px">
|
||||
<template #default="scope">
|
||||
<span class="key">{{ scope.row.api_key }}</span>
|
||||
<span class="key">{{ scope?.row?.api_key }}</span>
|
||||
<span class="copy">
|
||||
<copy-to-clipboard :content="scope.row.api_key" />
|
||||
<copy-to-clipboard :content="scope?.row?.api_key" />
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column>
|
||||
<template #default="scope">
|
||||
<div class="float-right">
|
||||
<el-button v-if="false" @click="onGoDocument(scope.row)">
|
||||
<el-button v-if="false" @click="onGoDocument(scope?.row)">
|
||||
{{ $t('application.button.goDocument') }}
|
||||
</el-button>
|
||||
<el-button type="primary" @click="onBuyMore(scope.row)">
|
||||
<el-button type="primary" @click="onBuyMore(scope?.row)">
|
||||
{{ $t('application.button.buyMore') }}
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -66,10 +66,10 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { applicationOperator, IApplication, IApplicationListResponse, IService } from '@/operators';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import Pagination from '@/components/common/Pagination.vue';
|
||||
import CopyToClipboard from '@/components/common/CopyToClipboard.vue';
|
||||
import CreateOrder from '@/components/order/Create.vue';
|
||||
import { ElTable, ElRow, ElCol, ElTableColumn, ElButton, ElCard } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
applications: IApplication[];
|
||||
@@ -89,10 +89,15 @@ interface IData {
|
||||
export default defineComponent({
|
||||
name: 'ConsoleApplicationList',
|
||||
components: {
|
||||
FontAwesomeIcon,
|
||||
Pagination,
|
||||
CopyToClipboard,
|
||||
CreateOrder
|
||||
CreateOrder,
|
||||
ElTable,
|
||||
ElRow,
|
||||
ElCol,
|
||||
ElTableColumn,
|
||||
ElButton,
|
||||
ElCard
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
@@ -180,7 +185,6 @@ export default defineComponent({
|
||||
.api-key {
|
||||
.copy {
|
||||
cursor: pointer;
|
||||
margin: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { IOrder, IOrderDetailResponse, orderOperator, OrderState } from '@/operators/order';
|
||||
import QrCode from 'qrcode.vue';
|
||||
import { ElRow, ElCol, ElCard, ElSkeleton, ElDivider, ElAlert, ElDescriptions, ElDescriptionsItem } from 'element-plus';
|
||||
|
||||
enum PayWay {
|
||||
WechatPay = 'WechatPay',
|
||||
@@ -105,7 +106,15 @@ interface IData {
|
||||
export default defineComponent({
|
||||
name: 'ConsoleOrderDetail',
|
||||
components: {
|
||||
QrCode
|
||||
QrCode,
|
||||
ElRow,
|
||||
ElCol,
|
||||
ElCard,
|
||||
ElSkeleton,
|
||||
ElDivider,
|
||||
ElAlert,
|
||||
ElDescriptions,
|
||||
ElDescriptionsItem
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
|
||||
@@ -102,6 +102,7 @@ import { defineComponent } from 'vue';
|
||||
import { IOrder, IOrderListResponse, orderOperator, OrderState } from '@/operators/order';
|
||||
import Pagination from '@/components/common/Pagination.vue';
|
||||
import CopyToClipboard from '@/components/common/CopyToClipboard.vue';
|
||||
import { ElRow, ElCol, ElTable, ElTableColumn, ElButton, ElTag, ElCard } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
orders: IOrder[];
|
||||
@@ -115,7 +116,14 @@ export default defineComponent({
|
||||
name: 'ConsoleOrderList',
|
||||
components: {
|
||||
Pagination,
|
||||
CopyToClipboard
|
||||
CopyToClipboard,
|
||||
ElRow,
|
||||
ElCol,
|
||||
ElTable,
|
||||
ElTableColumn,
|
||||
ElButton,
|
||||
ElTag,
|
||||
ElCard
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
|
||||
@@ -8,8 +8,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="document?.type === 'API' && document?.api" class="right">
|
||||
<api-code :form="form" :api="document?.api" />
|
||||
<api-try :form="form" :api="document?.api" />
|
||||
<div v-if="loading" class="p-5">
|
||||
<el-skeleton />
|
||||
</div>
|
||||
<div v-else>
|
||||
<api-code :form="form" :api="document?.api" />
|
||||
<api-try :form="form" :api="document?.api" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -21,6 +26,7 @@ import ApiCode from '@/components/api/Code.vue';
|
||||
import { documentOperator, IDocument, IDocumentDetailResponse } from '@/operators';
|
||||
import { IForm } from '@/operators/api/models';
|
||||
import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
|
||||
import { ElSkeleton } from 'element-plus';
|
||||
|
||||
export interface IData {
|
||||
document: IDocument | undefined;
|
||||
@@ -34,6 +40,7 @@ export default defineComponent({
|
||||
ApiUsage,
|
||||
ApiTry,
|
||||
ApiCode,
|
||||
ElSkeleton,
|
||||
MarkdownRenderer
|
||||
},
|
||||
data(): IData {
|
||||
|
||||
@@ -11,12 +11,17 @@ import { IDocument, IDocumentListResponse } from '@/operators/document/models';
|
||||
import { documentOperator } from '@/operators/document/operator';
|
||||
import { ROUTE_DOCUMENT_DETAIL } from '@/router';
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSkeleton, ElDivider } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
documents: IDocument[];
|
||||
}
|
||||
export default defineComponent({
|
||||
name: 'DocumentIndex',
|
||||
components: {
|
||||
ElSkeleton,
|
||||
ElDivider
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
documents: []
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{{ service.description }}
|
||||
</p>
|
||||
<div class="price">
|
||||
<p v-if="service && service.price && service.price > 0" class="nonfree">
|
||||
<p v-if="service && service.price && service.price > 0" class="unfree">
|
||||
<span class="value">¥{{ service.price }}</span>
|
||||
<span class="unit"> / {{ $t('service.unit.usage') }}</span>
|
||||
</p>
|
||||
@@ -60,6 +60,7 @@ import { apiOperator } from '@/operators/api/operator';
|
||||
import { IApi, IApiListResponse } from '@/operators/api/models';
|
||||
import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
|
||||
import { ROUTE_CONSOLE_APPLICATION_LIST } from '@/router';
|
||||
import { ElCol, ElRow, ElButton, ElCard } from 'element-plus';
|
||||
|
||||
interface IData {
|
||||
service: IService | undefined;
|
||||
@@ -72,7 +73,11 @@ interface IData {
|
||||
export default defineComponent({
|
||||
name: 'ServiceDetail',
|
||||
components: {
|
||||
MarkdownRenderer
|
||||
MarkdownRenderer,
|
||||
ElCol,
|
||||
ElRow,
|
||||
ElButton,
|
||||
ElCard
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
@@ -179,7 +184,7 @@ export default defineComponent({
|
||||
|
||||
.price {
|
||||
margin: 0;
|
||||
.nonfree {
|
||||
.unfree {
|
||||
.value {
|
||||
font-weight: bold;
|
||||
color: #ff5441;
|
||||
@@ -291,7 +296,7 @@ export default defineComponent({
|
||||
}
|
||||
.price {
|
||||
margin: 0;
|
||||
.nonfree {
|
||||
.unfree {
|
||||
.value {
|
||||
font-weight: bold;
|
||||
color: #ff5441;
|
||||
|
||||
+22
-12
@@ -9,14 +9,14 @@
|
||||
{{ $t('service.message.indexSubtitle') }}
|
||||
</h3>
|
||||
<div class="operations">
|
||||
<el-button type="danger" class="btn-apply">
|
||||
<el-button type="danger" class="btn-apply" @click="onApply">
|
||||
{{ $t('common.button.startForFree') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-row id="services">
|
||||
<el-col :span="20" :offset="2">
|
||||
<el-row v-if="loading" :gutter="15" class="services">
|
||||
<el-col v-for="_ in 8" :key="_" :lg="6" :md="8" :sm="12" :xs="24">
|
||||
@@ -45,12 +45,7 @@
|
||||
<el-image class="thumb" :src="service?.thumbnail" />
|
||||
<div class="title">{{ service.title }}</div>
|
||||
<div class="price">
|
||||
<p v-if="service && service.price && service.price > 0" class="nonfree">
|
||||
¥{{ service.price }} / {{ $t('service.unit.usage') }}
|
||||
</p>
|
||||
<p v-else class="free">
|
||||
{{ $t('service.message.free') }}
|
||||
</p>
|
||||
<service-price :price="service?.price" />
|
||||
</div>
|
||||
<div class="description">
|
||||
<p>
|
||||
@@ -75,8 +70,9 @@
|
||||
<script lang="ts">
|
||||
import { serviceOperator, IService, IServiceListResponse } from '@/operators';
|
||||
import { defineComponent } from 'vue';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import Pagination from '@/components/common/Pagination.vue';
|
||||
import { ElRow, ElCol, ElButton, ElCard, ElSkeleton, ElImage, ElSkeletonItem } from 'element-plus';
|
||||
import ServicePrice from '@/components/service/Price.vue';
|
||||
|
||||
interface IData {
|
||||
services: IService[];
|
||||
@@ -87,8 +83,15 @@ interface IData {
|
||||
export default defineComponent({
|
||||
name: 'ServiceList',
|
||||
components: {
|
||||
FontAwesomeIcon,
|
||||
Pagination
|
||||
Pagination,
|
||||
ElRow,
|
||||
ElCol,
|
||||
ElButton,
|
||||
ElCard,
|
||||
ElSkeleton,
|
||||
ElImage,
|
||||
ElSkeletonItem,
|
||||
ServicePrice
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
@@ -114,6 +117,13 @@ export default defineComponent({
|
||||
this.onFetchData();
|
||||
},
|
||||
methods: {
|
||||
onApply() {
|
||||
window.scrollTo({
|
||||
top: document.getElementById('services')?.offsetTop,
|
||||
left: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
},
|
||||
onPageChange(page: number) {
|
||||
this.$router.push({
|
||||
name: this.$route.name?.toString(),
|
||||
@@ -280,7 +290,7 @@ $transition-duration: 0.5s;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
.nonfree {
|
||||
.unfree {
|
||||
color: #ff5441;
|
||||
}
|
||||
.free {
|
||||
|
||||
@@ -191,15 +191,15 @@
|
||||
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"
|
||||
integrity sha512-JZButFdZ1+/xAfpguQHoabIXkcqRRKpMrWKBkpEZZyxfY9C1DpADFB8PEqGSTeFr135SaTRfKqGKx5xSCLI7ZQ==
|
||||
"@ctrl/tinycolor@^3.4.1":
|
||||
version "3.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.5.0.tgz#6e52b3d1c38d13130101771821e09cdd414a16bc"
|
||||
integrity sha512-tlJpwF40DEQcfR/QF+wNMVyGMaO9FQp6Z1Wahj4Gk3CJQYHwA2xVG7iKDFdW6zuxZY9XWOpGcfNCTsX4McOsOg==
|
||||
|
||||
"@element-plus/icons-vue@^0.2.6":
|
||||
version "0.2.6"
|
||||
resolved "https://registry.yarnpkg.com/@element-plus/icons-vue/-/icons-vue-0.2.6.tgz#28e48aa4abd5b02638b41c1d95a6e7f96bb23308"
|
||||
integrity sha512-2gg7VCq4d2firgl7/aVym4Cx/wqKFwKybEQGJiiWJN4urW36+QdAEG1knqSD9qidbjhVp0Jnc9XdSTR1/4Whzw==
|
||||
"@element-plus/icons-vue@^2.0.6":
|
||||
version "2.0.10"
|
||||
resolved "https://registry.yarnpkg.com/@element-plus/icons-vue/-/icons-vue-2.0.10.tgz#60808d613c3dbdad025577022be8a972739ade21"
|
||||
integrity sha512-ygEZ1mwPjcPo/OulhzLE7mtDrQBWI8vZzEWSNB2W/RNCRjoQGwbaK4N8lV4rid7Ts4qvySU3njMN7YCiSlSaTQ==
|
||||
|
||||
"@emmetio/abbreviation@^2.2.2":
|
||||
version "2.2.2"
|
||||
@@ -235,6 +235,18 @@
|
||||
minimatch "^3.0.4"
|
||||
strip-json-comments "^3.1.1"
|
||||
|
||||
"@floating-ui/core@^1.1.0":
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.1.0.tgz#0a1dee4bbce87ff71602625d33f711cafd8afc08"
|
||||
integrity sha512-zbsLwtnHo84w1Kc8rScAo5GMk1GdecSlrflIbfnEBJwvTSj1SL6kkOYV+nHraMCPEy+RNZZUaZyL8JosDGCtGQ==
|
||||
|
||||
"@floating-ui/dom@^1.0.1":
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.1.1.tgz#66aa747e15894910869bf9144fc54fc7d6e9f975"
|
||||
integrity sha512-TpIO93+DIujg3g7SykEAGZMDtbJRrmnYRCNYSjJlvIbGhBjRSNTLVbNeDQBrzy9qDgUbiWdc7KA0uZHZ2tJmiw==
|
||||
dependencies:
|
||||
"@floating-ui/core" "^1.1.0"
|
||||
|
||||
"@fortawesome/fontawesome-common-types@6.2.1":
|
||||
version "6.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.2.1.tgz#411e02a820744d3f7e0d8d9df9d82b471beaa073"
|
||||
@@ -440,10 +452,10 @@
|
||||
"@nodelib/fs.scandir" "2.1.5"
|
||||
fastq "^1.6.0"
|
||||
|
||||
"@popperjs/core@^2.11.2":
|
||||
version "2.11.2"
|
||||
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.2.tgz#830beaec4b4091a9e9398ac50f865ddea52186b9"
|
||||
integrity sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==
|
||||
"@popperjs/core@npm:@sxzz/popperjs-es@^2.11.7":
|
||||
version "2.11.7"
|
||||
resolved "https://registry.yarnpkg.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz#a7f69e3665d3da9b115f9e71671dae1b97e13671"
|
||||
integrity sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==
|
||||
|
||||
"@rollup/plugin-replace@^3.0.0":
|
||||
version "3.0.1"
|
||||
@@ -482,6 +494,18 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9"
|
||||
integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==
|
||||
|
||||
"@types/lodash-es@^4.17.6":
|
||||
version "4.17.6"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash-es/-/lodash-es-4.17.6.tgz#c2ed4c8320ffa6f11b43eb89e9eaeec65966a0a0"
|
||||
integrity sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==
|
||||
dependencies:
|
||||
"@types/lodash" "*"
|
||||
|
||||
"@types/lodash@*", "@types/lodash@^4.14.182":
|
||||
version "4.14.191"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.191.tgz#09511e7f7cba275acd8b419ddac8da9a6a79e2fa"
|
||||
integrity sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==
|
||||
|
||||
"@types/lodash@^4.14.172":
|
||||
version "4.14.178"
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.178.tgz#341f6d2247db528d4a13ddbb374bcdc80406f4f8"
|
||||
@@ -520,6 +544,11 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc"
|
||||
integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==
|
||||
|
||||
"@types/web-bluetooth@^0.0.16":
|
||||
version "0.0.16"
|
||||
resolved "https://registry.yarnpkg.com/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz#1d12873a8e49567371f2a75fe3e7f7edca6662d8"
|
||||
integrity sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==
|
||||
|
||||
"@typescript-eslint/eslint-plugin@^5.17.0":
|
||||
version "5.17.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.17.0.tgz#704eb4e75039000531255672bf1c85ee85cf1d67"
|
||||
@@ -797,18 +826,25 @@
|
||||
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.31.tgz#c90de7126d833dcd3a4c7534d534be2fb41faa4e"
|
||||
integrity sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==
|
||||
|
||||
"@vueuse/core@^7.5.5":
|
||||
version "7.7.1"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-7.7.1.tgz#fc284f4103de73c7fb79bc06579d8066790db511"
|
||||
integrity sha512-PRRgbATMpoeUmkCEBtUeJgOwtew8s+4UsEd+Pm7MhkjL2ihCNrSqxNVtM6NFE4uP2sWnkGcZpCjPuNSxowJ1Ow==
|
||||
"@vueuse/core@^9.1.0":
|
||||
version "9.12.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-9.12.0.tgz#e5b20f901e081c7ae5fe0e5f3af217929034eefe"
|
||||
integrity sha512-h/Di8Bvf6xRcvS/PvUVheiMYYz3U0tH3X25YxONSaAUBa841ayMwxkuzx/DGUMCW/wHWzD8tRy2zYmOC36r4sg==
|
||||
dependencies:
|
||||
"@vueuse/shared" "7.7.1"
|
||||
"@types/web-bluetooth" "^0.0.16"
|
||||
"@vueuse/metadata" "9.12.0"
|
||||
"@vueuse/shared" "9.12.0"
|
||||
vue-demi "*"
|
||||
|
||||
"@vueuse/shared@7.7.1":
|
||||
version "7.7.1"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-7.7.1.tgz#77e312de7275380efce86b0079bd7938791a076b"
|
||||
integrity sha512-rN2qd22AUl7VdBxihagWyhUNHCyVk9IpvBTTfHoLH9G7rGE552X1f+zeCfehuno0zXif13jPw+icW/wn2a0rnQ==
|
||||
"@vueuse/metadata@9.12.0":
|
||||
version "9.12.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-9.12.0.tgz#19a0fefcba6a66a2382af10a7a67ebad6eec1f27"
|
||||
integrity sha512-9oJ9MM9lFLlmvxXUqsR1wLt1uF7EVbP5iYaHJYqk+G2PbMjY6EXvZeTjbdO89HgoF5cI6z49o2zT/jD9SVoNpQ==
|
||||
|
||||
"@vueuse/shared@9.12.0":
|
||||
version "9.12.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-9.12.0.tgz#e6597da80084cba8fc3d6545f4c2fa9817b80428"
|
||||
integrity sha512-TWuJLACQ0BVithVTRbex4Wf1a1VaRuSpVeyEd4vMUWl54PzlE0ciFUshKCXnlLuD0lxIaLK4Ypj3NXYzZh4+SQ==
|
||||
dependencies:
|
||||
vue-demi "*"
|
||||
|
||||
@@ -950,10 +986,10 @@ astral-regex@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
|
||||
integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
|
||||
|
||||
async-validator@^4.0.7:
|
||||
version "4.0.7"
|
||||
resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-4.0.7.tgz#034a0fd2103a6b2ebf010da75183bec299247afe"
|
||||
integrity sha512-Pj2IR7u8hmUEDOwB++su6baaRi+QvsgajuFB9j95foM1N2gy5HM4z60hfusIO0fBPG5uLAEl6yCJr1jNSVugEQ==
|
||||
async-validator@^4.2.5:
|
||||
version "4.2.5"
|
||||
resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339"
|
||||
integrity sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==
|
||||
|
||||
autoprefixer@^10.3.3:
|
||||
version "10.4.2"
|
||||
@@ -1224,6 +1260,11 @@ dayjs@^1.10.7:
|
||||
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.10.7.tgz#2cf5f91add28116748440866a0a1d26f3a6ce468"
|
||||
integrity sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig==
|
||||
|
||||
dayjs@^1.11.3:
|
||||
version "1.11.7"
|
||||
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2"
|
||||
integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==
|
||||
|
||||
debug@^2.6.9:
|
||||
version "2.6.9"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
|
||||
@@ -1366,20 +1407,26 @@ electron-to-chromium@^1.4.17:
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.64.tgz#8b1b5372f77ca208f2c498c6490da0e51176bd81"
|
||||
integrity sha512-8mec/99xgLUZCIZZq3wt61Tpxg55jnOSpxGYapE/1Ma9MpFEYYaz4QNYm0CM1rrnCo7i3FRHhbaWjeCLsveGjQ==
|
||||
|
||||
element-plus@^1.3.0-beta.10:
|
||||
version "1.3.0-beta.10"
|
||||
resolved "https://registry.yarnpkg.com/element-plus/-/element-plus-1.3.0-beta.10.tgz#10dd01586074c147df1b7902fd4d76b50f16e3cc"
|
||||
integrity sha512-uPcre5liDfYvGbfaBDN2K7K5x6egBFdDQz0sv2cupcqzepUQoTMpq+mdTnHXzHChHhVwcLGp95kLYLL9yMkT8g==
|
||||
element-plus@^2.2.28:
|
||||
version "2.2.28"
|
||||
resolved "https://registry.yarnpkg.com/element-plus/-/element-plus-2.2.28.tgz#855441976e82da597faecaf6ed74fc4650a970b2"
|
||||
integrity sha512-BsxF7iEaBydmRfw1Tt++EO9jRBjbtJr7ZRIrnEwz4J3Cwa1IzHCNCcx3ZwcYTlJq9CYFxv94JnbNr1EbkTou3A==
|
||||
dependencies:
|
||||
"@ctrl/tinycolor" "^3.4.0"
|
||||
"@element-plus/icons-vue" "^0.2.6"
|
||||
"@popperjs/core" "^2.11.2"
|
||||
"@vueuse/core" "^7.5.5"
|
||||
async-validator "^4.0.7"
|
||||
dayjs "^1.10.7"
|
||||
"@ctrl/tinycolor" "^3.4.1"
|
||||
"@element-plus/icons-vue" "^2.0.6"
|
||||
"@floating-ui/dom" "^1.0.1"
|
||||
"@popperjs/core" "npm:@sxzz/popperjs-es@^2.11.7"
|
||||
"@types/lodash" "^4.14.182"
|
||||
"@types/lodash-es" "^4.17.6"
|
||||
"@vueuse/core" "^9.1.0"
|
||||
async-validator "^4.2.5"
|
||||
dayjs "^1.11.3"
|
||||
escape-html "^1.0.3"
|
||||
lodash "^4.17.21"
|
||||
lodash-es "^4.17.21"
|
||||
lodash-unified "^1.0.2"
|
||||
memoize-one "^6.0.0"
|
||||
normalize-wheel-es "^1.1.1"
|
||||
normalize-wheel-es "^1.2.0"
|
||||
|
||||
emmet@^2.3.0:
|
||||
version "2.3.5"
|
||||
@@ -1584,6 +1631,11 @@ escalade@^3.1.1:
|
||||
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
|
||||
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
|
||||
|
||||
escape-html@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
|
||||
integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==
|
||||
|
||||
escape-string-regexp@^1.0.5:
|
||||
version "1.0.5"
|
||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
||||
@@ -2419,6 +2471,16 @@ locate-path@^2.0.0:
|
||||
p-locate "^2.0.0"
|
||||
path-exists "^3.0.0"
|
||||
|
||||
lodash-es@^4.17.21:
|
||||
version "4.17.21"
|
||||
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
|
||||
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==
|
||||
|
||||
lodash-unified@^1.0.2:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/lodash-unified/-/lodash-unified-1.0.3.tgz#80b1eac10ed2eb02ed189f08614a29c27d07c894"
|
||||
integrity sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==
|
||||
|
||||
lodash.merge@^4.6.2:
|
||||
version "4.6.2"
|
||||
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
|
||||
@@ -2580,10 +2642,10 @@ normalize-range@^0.1.2:
|
||||
resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
|
||||
integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=
|
||||
|
||||
normalize-wheel-es@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/normalize-wheel-es/-/normalize-wheel-es-1.1.1.tgz#a8096db6a56f94332d884fd8ebeda88f2fc79569"
|
||||
integrity sha512-157VNH4CngrcsvF8xOVOe22cwniIR3nxSltdctvQeHZj8JttEeOXffK28jucWfWBXs0QNetAumjc1GiInnwX4w==
|
||||
normalize-wheel-es@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz#0fa2593d619f7245a541652619105ab076acf09e"
|
||||
integrity sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==
|
||||
|
||||
object-assign@^4.1.1:
|
||||
version "4.1.1"
|
||||
|
||||
Reference in new issue
Block a user