feat: 替换全部antv包

This commit is contained in:
wanchun 2021-12-31 18:16:58 +08:00
parent 8d381ad1ac
commit 701c164e28
27 changed files with 686 additions and 18296 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@ export default {
}, },
layout: { layout: {
title: "Fes.js", title: "Fes.js",
footer: 'Created by MumbleFe', footer: 'Created by MumbleFE',
multiTabs: false, multiTabs: false,
menus: [{ menus: [{
name: 'index' name: 'index'

View File

@ -52,7 +52,7 @@
"@fesjs/plugin-layout": "^2.0.0", "@fesjs/plugin-layout": "^2.0.0",
"@fesjs/plugin-model": "^2.0.0", "@fesjs/plugin-model": "^2.0.0",
"@fesjs/plugin-enums": "^2.0.0", "@fesjs/plugin-enums": "^2.0.0",
"ant-design-vue": "^2.2.0", "@fesjs/fes-design": "^0.1.9",
"vue": "^3.2.6" "vue": "^3.2.6"
}, },
"private": true "private": true

View File

@ -13,7 +13,7 @@ export const beforeRender = {
setRole('admin'); setRole('admin');
// 初始化应用的全局状态,可以通过 useModel('@@initialState') 获取,具体用法看@/components/UserCenter 文件 // 初始化应用的全局状态,可以通过 useModel('@@initialState') 获取,具体用法看@/components/UserCenter 文件
resolve({ resolve({
userName: 'harrywan' userName: '李雷'
}); });
}, 1000); }, 1000);
}); });

View File

@ -1,15 +1,18 @@
<template> <template>
<div class="page-loading"> <div class="page-loading">
<Spin size="large" /> <f-spin size="large" stroke="#5384ff" />
</div> </div>
</template> </template>
<script> <script>
import Spin from 'ant-design-vue/lib/spin'; import { FSpin } from '@fesjs/fes-design';
import 'ant-design-vue/lib/spin/style/css';
export default { export default {
components: { components: {
Spin FSpin
},
setup() {
return {
};
} }
}; };
</script> </script>

View File

@ -1,35 +1,13 @@
<template> <template>
<div style="padding: 32px;"> <div style="padding: 32px;">
<h3>fes & 拉夫德鲁 </h3> hello world
<h4>数据字典</h4>
<div v-for="item in enumsGet('status')" :key="item.key">{{item.value}}{{item.key}}</div>
<section>
计数器
<button @click="increment">click me{{count}}</button>
</section>
</div> </div>
</template> </template>
<script> <script>
import { ref } from 'vue';
import {
enums
} from '@fesjs/fes';
export default { export default {
setup() { setup() {
const fes = ref('fes upgrade to vue3');
const count = ref(0);
const increment = () => {
count.value++;
};
return { return {
fes,
increment,
count,
enumsGet: enums.get
}; };
} }
}; };

File diff suppressed because it is too large Load Diff

View File

@ -30,10 +30,8 @@
"@fesjs/utils": "^2.0.3" "@fesjs/utils": "^2.0.3"
}, },
"peerDependencies": { "peerDependencies": {
"@ant-design/icons-vue": "^6.0.0",
"ant-design-vue": "^2.2.0",
"@fesjs/fes": "^2.0.0", "@fesjs/fes": "^2.0.0",
"@fesjs/fes-design": "^0.1.7", "@fesjs/fes-design": "^0.1.9",
"vue": "^3.0.5" "vue": "^3.0.5"
} }
} }

View File

@ -47,7 +47,7 @@ export default (api) => {
const icons = helper.getIconsFromMenu(userConfig.menus); const icons = helper.getIconsFromMenu(userConfig.menus);
const iconsString = icons.map( const iconsString = icons.map(
iconName => `import ${iconName} from '@ant-design/icons-vue/es/icons/${iconName}'` iconName => `import { ${iconName} } from '@fesjs/fes-design/icon'`
); );
api.writeTmpFile({ api.writeTmpFile({
path: join(namespace, 'icons.js'), path: join(namespace, 'icons.js'),

View File

@ -1,4 +1,3 @@
import * as allIcons from '@ant-design/icons-vue';
const matchName = (config, name) => { const matchName = (config, name) => {
let res = {}; let res = {};
@ -41,17 +40,10 @@ export const fillMenuByRoute = (menuConfig, routeConfig, dep = 0) => {
const icon = menu.icon; const icon = menu.icon;
const urlReg = /^((https?|ftp|file):\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/; const urlReg = /^((https?|ftp|file):\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/;
if (typeof icon === 'string' && !((urlReg.test(icon) || icon.includes('.svg')))) { if (typeof icon === 'string' && !((urlReg.test(icon) || icon.includes('.svg')))) {
if (!allIcons[icon]) { menu.icon = {
menu.icon = { type: 'icon',
type: 'icon', name: icon
name: `${icon.replace(icon[0], icon[0].toUpperCase())}Outlined` };
};
} else {
menu.icon = {
type: 'icon',
name: icon
};
}
} }
} }
if (menu.children && menu.children.length > 0) { if (menu.children && menu.children.length > 0) {

View File

@ -1,9 +1,282 @@
<template> <template>
<a-result status="403" title="403" sub-title="对不起您没有权限访问此页面"> <div class="page">
<template #extra> <svg width="251" height="294">
<f-button type="primary" @click="click">上一页</f-button> <g fill="none" fill-rule="evenodd">
</template> <path
</a-result> d="M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023"
fill="#E4EBF7"
></path>
<path
d="M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65"
fill="#FFF"
></path>
<path
d="M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73"
stroke="#FFF"
stroke-width="2"
></path>
<path
d="M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126"
fill="#FFF"
></path>
<path
d="M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873"
fill="#FFF"
></path>
<path
d="M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36"
stroke="#FFF"
stroke-width="2"
></path>
<path
d="M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375"
fill="#FFF"
></path>
<path
d="M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z"
stroke="#FFF"
stroke-width="2"
></path>
<path
stroke="#FFF"
stroke-width="2"
d="M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"
></path>
<path
d="M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321"
fill="#A26EF4"
></path>
<path
d="M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734"
fill="#FFF"
></path>
<path
d="M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717"
fill="#FFF"
></path>
<path
d="M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61"
fill="#5BA02E"
></path>
<path
d="M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611"
fill="#92C110"
></path>
<path
d="M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17"
fill="#F2D7AD"
></path>
<path
d="M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085"
fill="#FFF"
></path>
<path
d="M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233"
fill="#FFC6A0"
></path>
<path
d="M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367"
fill="#FFB594"
></path>
<path
d="M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95"
fill="#FFC6A0"
></path>
<path
d="M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929"
fill="#FFF"
></path>
<path
d="M78.18 94.656s.911 7.41-4.914 13.078"
stroke="#E4EBF7"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437"
stroke="#E4EBF7"
stroke-width=".932"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z"
fill="#FFC6A0"
></path>
<path
d="M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91"
fill="#FFB594"
></path>
<path
d="M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103"
fill="#5C2552"
></path>
<path
d="M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145"
fill="#FFC6A0"
></path>
<path
stroke="#DB836E"
stroke-width="1.145"
stroke-linecap="round"
stroke-linejoin="round"
d="M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"
></path>
<path
d="M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32"
fill="#552950"
></path>
<path
d="M91.132 86.786s5.269 4.957 12.679 2.327"
stroke="#DB836E"
stroke-width="1.145"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25"
fill="#DB836E"
></path>
<path
d="M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073"
stroke="#5C2552"
stroke-width="1.526"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254"
stroke="#DB836E"
stroke-width="1.145"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008"
stroke="#E4EBF7"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M66.508 86.763s-1.598 8.83-6.697 14.078"
stroke="#E4EBF7"
stroke-width="1.114"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M128.31 87.934s3.013 4.121 4.06 11.785"
stroke="#E4EBF7"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M64.09 84.816s-6.03 9.912-13.607 9.903"
stroke="#DB836E"
stroke-width=".795"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73"
fill="#FFC6A0"
></path>
<path
d="M130.532 85.488s4.588 5.757 11.619 6.214"
stroke="#DB836E"
stroke-width=".75"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M121.708 105.73s-.393 8.564-1.34 13.612"
stroke="#E4EBF7"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M115.784 161.512s-3.57-1.488-2.678-7.14"
stroke="#648BD8"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68"
fill="#CBD1D1"
></path>
<path
d="M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z"
fill="#2B0849"
></path>
<path
d="M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62"
fill="#A4AABA"
></path>
<path
d="M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z"
fill="#CBD1D1"
></path>
<path
d="M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078"
fill="#2B0849"
></path>
<path
d="M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15"
fill="#A4AABA"
></path>
<path
d="M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954"
fill="#7BB2F9"
></path>
<path
d="M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862"
stroke="#648BD8"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M108.459 220.905s2.759-1.104 6.07-3.863"
stroke="#648BD8"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238"
stroke="#648BD8"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017"
fill="#192064"
></path>
<path
d="M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806"
fill="#FFF"
></path>
<path
d="M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64"
fill="#192064"
></path>
<path
d="M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956"
stroke="#648BD8"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
</g>
</svg>
<div class="page-title">对不起您没有权限访问此页面</div>
<f-button type="primary" @click="click">上一页</f-button>
</div>
</template> </template>
<config> <config>
{ {
@ -12,13 +285,10 @@
</config> </config>
<script> <script>
import { useRouter } from '@@/core/coreExports'; import { useRouter } from '@@/core/coreExports';
import Result from 'ant-design-vue/lib/result';
import 'ant-design-vue/lib/result/style/css';
import { FButton } from '@fesjs/fes-design'; import { FButton } from '@fesjs/fes-design';
export default { export default {
components: { components: {
[Result.name]: Result,
FButton FButton
}, },
setup() { setup() {
@ -32,3 +302,15 @@ export default {
} }
}; };
</script> </script>
<style lang="less" scoped>
.page {
height: 100%;
padding-top: 60px;
text-align: center;
.page-title {
font-size: 16px;
font-weight: 500;
margin: 40px;
}
}
</style>

View File

@ -1,9 +1,292 @@
<template> <template>
<a-result status="404" title="404" sub-title="对不起您访问的页面不存在"> <div class="page">
<template #extra> <svg width="252" height="294">
<f-button type="primary" @click="click">上一页</f-button> <defs><path d="M0 .387h251.772v251.772H0z"></path></defs>
</template> <g fill="none" fill-rule="evenodd">
</a-result> <g transform="translate(0 .012)">
<mask fill="#fff"></mask>
<path
d="M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321"
fill="#E4EBF7"
mask="url(#b)"
></path>
</g>
<path
d="M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66"
fill="#FFF"
></path>
<path
d="M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788"
stroke="#FFF"
stroke-width="2"
></path>
<path
d="M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175"
fill="#FFF"
></path>
<path
d="M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932"
fill="#FFF"
></path>
<path
d="M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011"
stroke="#FFF"
stroke-width="2"
></path>
<path
d="M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382"
fill="#FFF"
></path>
<path
d="M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z"
stroke="#FFF"
stroke-width="2"
></path>
<path
stroke="#FFF"
stroke-width="2"
d="M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"
></path>
<path
d="M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742"
fill="#FFF"
></path>
<path
d="M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48"
fill="#1890FF"
></path>
<path
d="M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894"
fill="#FFF"
></path>
<path
d="M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88"
fill="#FFB594"
></path>
<path
d="M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624"
fill="#FFC6A0"
></path>
<path
d="M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682"
fill="#FFF"
></path>
<path
d="M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573"
fill="#CBD1D1"
></path>
<path
d="M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z"
fill="#2B0849"
></path>
<path
d="M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558"
fill="#A4AABA"
></path>
<path
d="M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z"
fill="#CBD1D1"
></path>
<path
d="M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062"
fill="#2B0849"
></path>
<path
d="M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15"
fill="#A4AABA"
></path>
<path
d="M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165"
fill="#7BB2F9"
></path>
<path
d="M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883"
stroke="#648BD8"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M107.275 222.1s2.773-1.11 6.102-3.884"
stroke="#648BD8"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31"
stroke="#648BD8"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038"
fill="#192064"
></path>
<path
d="M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81"
fill="#FFF"
></path>
<path
d="M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642"
fill="#192064"
></path>
<path
d="M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146"
stroke="#648BD8"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268"
fill="#FFC6A0"
></path>
<path
d="M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456"
fill="#FFC6A0"
></path>
<path
d="M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z"
fill="#520038"
></path>
<path
d="M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254"
fill="#552950"
></path>
<path
stroke="#DB836E"
stroke-width="1.118"
stroke-linecap="round"
stroke-linejoin="round"
d="M110.13 74.84l-.896 1.61-.298 4.357h-2.228"
></path>
<path
d="M110.846 74.481s1.79-.716 2.506.537"
stroke="#5C2552"
stroke-width="1.118"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67"
stroke="#DB836E"
stroke-width="1.118"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M103.287 72.93s1.83 1.113 4.137.954"
stroke="#5C2552"
stroke-width="1.118"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639"
stroke="#DB836E"
stroke-width="1.118"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206"
stroke="#E4EBF7"
stroke-width="1.101"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M129.405 122.865s-5.272 7.403-9.422 10.768"
stroke="#E4EBF7"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M119.306 107.329s.452 4.366-2.127 32.062"
stroke="#E4EBF7"
stroke-width="1.101"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01"
fill="#F2D7AD"
></path>
<path
d="M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92"
fill="#F4D19D"
></path>
<path
d="M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z"
fill="#F2D7AD"
></path>
<path
fill="#CC9B6E"
d="M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"
></path>
<path
d="M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83"
fill="#F4D19D"
></path>
<path
fill="#CC9B6E"
d="M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"
></path>
<path
fill="#CC9B6E"
d="M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"
></path>
<path
d="M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238"
fill="#FFC6A0"
></path>
<path
d="M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044"
stroke="#DB836E"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617"
stroke="#DB836E"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754"
stroke="#DB836E"
stroke-width="1.051"
stroke-linecap="round"
stroke-linejoin="round"
></path>
<path
d="M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647"
fill="#5BA02E"
></path>
<path
d="M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647"
fill="#92C110"
></path>
<path
d="M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187"
fill="#F2D7AD"
></path>
<path
d="M88.979 89.48s7.776 5.384 16.6 2.842"
stroke="#E4EBF7"
stroke-width="1.101"
stroke-linecap="round"
stroke-linejoin="round"
></path>
</g>
</svg>
<div class="page-title">对不起您访问的页面不存在</div>
<f-button type="primary" @click="click">上一页</f-button>
</div>
</template> </template>
<config> <config>
{ {
@ -12,13 +295,10 @@
</config> </config>
<script> <script>
import { useRouter } from '@@/core/coreExports'; import { useRouter } from '@@/core/coreExports';
import Result from 'ant-design-vue/lib/result';
import 'ant-design-vue/lib/result/style/css';
import { FButton } from '@fesjs/fes-design'; import { FButton } from '@fesjs/fes-design';
export default { export default {
components: { components: {
[Result.name]: Result,
FButton FButton
}, },
setup() { setup() {
@ -32,3 +312,15 @@ export default {
} }
}; };
</script> </script>
<style lang="less" scoped>
.page {
height: 100%;
padding-top: 60px;
text-align: center;
.page-title {
font-size: 16px;
font-weight: 500;
margin: 40px;
}
}
</style>

View File

@ -1,16 +1,18 @@
<template> <template>
<template v-if="multiTabs"> <template v-if="multiTabs">
<a-tabs <FTabs
:activeKey="route.path" :modelValue="route.path"
closable
:tabsPadding="24"
type="card"
class="layout-content-tabs" class="layout-content-tabs"
hide-add @close="handleCloseTab"
type="editable-card" @update:modelValue="switchPage"
@tabClick="switchPage"
@edit="onEdit"
> >
<a-tab-pane <FTabPane
v-for="page in pageList" v-for="page in pageList"
:key="page.path" :key="page.path"
:value="page.path"
:closable="route.path !== page.path" :closable="route.path !== page.path"
> >
<template #tab> <template #tab>
@ -21,25 +23,13 @@
@click="reloadPage(page.path)" @click="reloadPage(page.path)"
/> />
</template> </template>
</a-tab-pane> </FTabPane>
<template #tabBarExtraContent> <template #suffix>
<a-dropdown> <FDropdown arrow :options="actions" @click="handlerMore">
<div class="layout-tabs-more-icon"> <MoreOutlined />
<MoreOutlined /> </FDropdown>
</div>
<template #overlay>
<a-menu @click="handlerMore">
<a-menu-item key="closeOtherPage">
<a href="javascript:;">关闭其他</a>
</a-menu-item>
<a-menu-item key="reloadPage">
<a href="javascript:;">刷新当前页</a>
</a-menu-item>
</a-menu>
</template>
</a-dropdown>
</template> </template>
</a-tabs> </FTabs>
<router-view v-slot="{ Component, route }"> <router-view v-slot="{ Component, route }">
<keep-alive> <keep-alive>
<component :is="Component" :key="getPageKey(route)" /> <component :is="Component" :key="getPageKey(route)" />
@ -52,13 +42,8 @@
import { import {
computed, onMounted, unref, ref computed, onMounted, unref, ref
} from 'vue'; } from 'vue';
import Tabs from 'ant-design-vue/lib/tabs'; import { FTabs, FTabPane, FDropdown } from '@fesjs/fes-design';
import Dropdown from 'ant-design-vue/lib/dropdown'; import { ReloadOutlined, MoreOutlined } from '@fesjs/fes-design/icon';
import Menu from 'ant-design-vue/lib/menu';
import 'ant-design-vue/lib/menu/style/css';
import 'ant-design-vue/lib/dropdown/style/css';
import 'ant-design-vue/lib/tabs/style/css';
import { ReloadOutlined, MoreOutlined } from '@ant-design/icons-vue';
import { useRouter, useRoute } from '@@/core/coreExports'; import { useRouter, useRoute } from '@@/core/coreExports';
import { transTitle } from '../helpers/pluginLocale'; import { transTitle } from '../helpers/pluginLocale';
@ -66,11 +51,9 @@ let i = 0;
const getKey = () => ++i; const getKey = () => ++i;
export default { export default {
components: { components: {
[Dropdown.name]: Dropdown, FTabs,
[Menu.name]: Menu, FTabPane,
[Menu.Item.name]: Menu.Item, FDropdown,
[Tabs.name]: Tabs,
[Tabs.TabPane.name]: Tabs.TabPane,
ReloadOutlined, ReloadOutlined,
MoreOutlined MoreOutlined
}, },
@ -81,6 +64,16 @@ export default {
const route = useRoute(); const route = useRoute();
const router = useRouter(); const router = useRouter();
const pageList = ref([]); const pageList = ref([]);
const actions = [
{
value: 'closeOtherPage',
label: '关闭其他'
},
{
value: 'reloadPage',
label: '刷新当前页'
}
];
const createPage = (_route) => { const createPage = (_route) => {
const title = _route.meta.title; const title = _route.meta.title;
@ -116,14 +109,12 @@ export default {
}); });
} }
}; };
const onEdit = (targetKey, action) => { const handleCloseTab = (targetKey) => {
if (action === 'remove') { const selectedPage = findPage(targetKey);
const selectedPage = findPage(targetKey); const list = [...pageList.value];
const list = [...pageList.value]; const index = list.indexOf(selectedPage);
const index = list.indexOf(selectedPage); list.splice(index, 1);
list.splice(index, 1); pageList.value = list;
pageList.value = list;
}
}; };
const reloadPage = (path) => { const reloadPage = (path) => {
const selectedPage = findPage(path || unref(route.path)); const selectedPage = findPage(path || unref(route.path));
@ -142,7 +133,7 @@ export default {
} }
return ''; return '';
}; };
const handlerMore = ({ key }) => { const handlerMore = (key) => {
switch (key) { switch (key) {
case 'closeOtherPage': case 'closeOtherPage':
closeOtherPage(); closeOtherPage();
@ -160,7 +151,8 @@ export default {
reloadPage, reloadPage,
switchPage, switchPage,
handlerMore, handlerMore,
onEdit handleCloseTab,
actions
}; };
} }
}; };
@ -169,28 +161,22 @@ export default {
.layout-content-tabs { .layout-content-tabs {
background: rgb(255, 255, 255); background: rgb(255, 255, 255);
margin: 0px; margin: 0px;
padding-top: 6px; padding: 8px 0;
width: 100%; width: 100%;
.ant-tabs-nav-container { .fes-tabs-tab-label {
padding-left: 16px; align-items: center;
}
.fes-tabs-tab-pane-wrapper {
display: none;
}
.fes-tabs-nav-suffix {
display: flex;
flex-direction: row-reverse;
align-items: center;
padding: 8px 16px;
} }
.layout-tabs-close-icon { .layout-tabs-close-icon {
vertical-align: middle;
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
margin-left: 6px; margin-left: 6px;
margin-top: -2px;
&:hover {
color: rgba(0, 0, 0, 0.8);
}
}
.layout-tabs-more-icon {
margin-right: 8px;
padding: 0 4px;
color: rgba(0, 0, 0, 0.45);
&:hover {
color: rgba(0, 0, 0, 0.8);
}
} }
} }
</style> </style>

View File

@ -31,9 +31,8 @@
"vue-i18n": "^9.0.0" "vue-i18n": "^9.0.0"
}, },
"peerDependencies": { "peerDependencies": {
"@ant-design/icons-vue": "^6.0.0",
"@fesjs/fes": "^2.0.0", "@fesjs/fes": "^2.0.0",
"@fesjs/fes-design": "^0.1.7", "@fesjs/fes-design": "^0.1.9",
"vue": "^3.0.5" "vue": "^3.0.5"
} }
} }

View File

@ -1,7 +1,7 @@
<template> <template>
<FTooltip v-model="isOpened" popperClass="lang-popper" mode="popover"> <FTooltip v-model="isOpened" popperClass="lang-popper" mode="popover">
<div class="lang-icon"> <div class="lang-icon">
<GlobalOutlined /> <SettingOutlined />
</div> </div>
<template #content> <template #content>
<FScrollbar height="274" class="lang-container"> <FScrollbar height="274" class="lang-container">
@ -24,7 +24,7 @@
<script> <script>
import { FTooltip, FScrollbar } from '@fesjs/fes-design'; import { FTooltip, FScrollbar } from '@fesjs/fes-design';
import { GlobalOutlined } from '@ant-design/icons-vue'; import { SettingOutlined } from '@fesjs/fes-design/icon';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
import { computed, ref } from 'vue'; import { computed, ref } from 'vue';
import langUConfigMap from '../langUConfigMap'; import langUConfigMap from '../langUConfigMap';
@ -33,7 +33,7 @@ export default {
components: { components: {
FTooltip, FTooltip,
FScrollbar, FScrollbar,
GlobalOutlined SettingOutlined
}, },
setup() { setup() {
const { messages, locale } = useI18n(); const { messages, locale } = useI18n();

View File

@ -1,54 +0,0 @@
{
"name": "app1",
"version": "2.0.0",
"description": "fes项目模版",
"scripts": {
"build": "fes build",
"prod": "FES_ENV=prod fes build",
"analyze": "ANALYZE=1 fes build",
"dev": "fes dev",
"test": "fes test"
},
"keywords": [
"管理端",
"fes",
"fast",
"easy",
"strong"
],
"files": [
".eslintrc.js",
".gitignore",
".fes.js",
".fes.prod.js",
"mock.js",
"package.json",
"README.md",
"tsconfig.json",
"/src",
"/config"
],
"repository": {
"type": "git",
"url": "git+https://github.com/WeBankFinTech/fes.js.git",
"directory": "packages/fes-template"
},
"author": "harrywan",
"license": "MIT",
"bugs": {
"url": "https://github.com/WeBankFinTech/fes.js/issues"
},
"homepage": "https://github.com/WeBankFinTech/fes.js#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@webank/eslint-config-webank": "0.3.1"
},
"dependencies": {
"@fesjs/fes": "^2.0.0",
"vue": "^3.0.5",
"ant-design-vue": "^2.2.0"
},
"private": true
}

View File

@ -1,54 +0,0 @@
{
"name": "main",
"version": "2.0.0",
"description": "fes项目模版",
"scripts": {
"build": "fes build",
"prod": "FES_ENV=prod fes build",
"analyze": "ANALYZE=1 fes build",
"dev": "fes dev",
"test": "fes test"
},
"keywords": [
"管理端",
"fes",
"fast",
"easy",
"strong"
],
"files": [
".eslintrc.js",
".gitignore",
".fes.js",
".fes.prod.js",
"mock.js",
"package.json",
"README.md",
"tsconfig.json",
"/src",
"/config"
],
"repository": {
"type": "git",
"url": "git+https://github.com/WeBankFinTech/fes.js.git",
"directory": "packages/fes-template"
},
"author": "harrywan",
"license": "MIT",
"bugs": {
"url": "https://github.com/WeBankFinTech/fes.js/issues"
},
"homepage": "https://github.com/WeBankFinTech/fes.js#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@webank/eslint-config-webank": "0.3.1"
},
"dependencies": {
"@fesjs/fes": "^2.0.0",
"vue": "^3.0.5",
"ant-design-vue": "^2.2.0"
},
"private": true
}

View File

@ -1,7 +1,5 @@
import { access as accessApi } from '@fesjs/fes'; import { access as accessApi } from '@fesjs/fes';
import PageLoading from '@/components/PageLoading'; import PageLoading from '@/components/PageLoading';
import Antdv from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
export const beforeRender = { export const beforeRender = {
loading: <PageLoading />, loading: <PageLoading />,
@ -15,7 +13,3 @@ export const beforeRender = {
}); });
} }
}; };
export const onAppCreated = ({ app }) => {
app.use(Antdv);
};

View File

@ -1,11 +1,17 @@
<template> <template>
<div> <div>
main main
<a-tabs v-model:activeKey="activeKey"> <FTabs v-model="activeKey">
<a-tab-pane key="1" tab="Tab 1"><MicroAppWithMemoHistory key="1" name="app1" url="/app1" /></a-tab-pane> <FTabPane name="Tab 1" value="1">
<a-tab-pane key="2" tab="Tab 2"><MicroAppWithMemoHistory key="2" name="app1" url="/app1/test" /></a-tab-pane> <MicroAppWithMemoHistory key="1" name="app1" url="/app1" />
<a-tab-pane key="3" tab="Tab 3">Content of Tab Pane 3</a-tab-pane> </FTabPane>
</a-tabs> <FTabPane name="Tab 2" value="2">
<MicroAppWithMemoHistory key="2" name="app1" url="/app1/test" />
</FTabPane>
<FTabPane name="Tab 3" value="3">
Content of Tab Pane 3
</FTabPane>
</FTabs>
</div> </div>
</template> </template>
<config> <config>
@ -17,9 +23,10 @@
<script> <script>
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { MicroAppWithMemoHistory } from '@fesjs/fes'; import { MicroAppWithMemoHistory } from '@fesjs/fes';
import { FTabPane, FTabs } from '@fesjs/fes-design';
export default { export default {
components: { MicroAppWithMemoHistory }, components: { FTabs, FTabPane, MicroAppWithMemoHistory },
setup() { setup() {
const url = ref('/app1/test'); const url = ref('/app1/test');
onMounted(() => { onMounted(() => {

View File

@ -40,6 +40,6 @@
"peerDependencies": { "peerDependencies": {
"@fesjs/fes": "^2.0.0", "@fesjs/fes": "^2.0.0",
"vue": "^3.0.5", "vue": "^3.0.5",
"@fesjs/fes-design": "^0.1.7" "@fesjs/fes-design": "^0.1.9"
} }
} }

View File

@ -32,7 +32,6 @@ const DEFAULT_EXCLUDE_NODE_MODULES = [
'vue', 'vue',
'vuex', 'vuex',
'vue-router', 'vue-router',
'ant-design-vue',
'core-js', 'core-js',
'echarts', 'echarts',
'@babel/runtime', '@babel/runtime',

View File

@ -33,8 +33,8 @@ export default {
layout: { layout: {
title: "Fes.js", title: "Fes.js",
footer: "Created by MumbleFe", footer: "Created by MumbleFe",
multiTabs: true, multiTabs: false,
navigation: "top", navigation: "side",
theme: 'dark', theme: 'dark',
menus: [ menus: [
{ {
@ -43,7 +43,7 @@ export default {
}, },
{ {
name: "onepiece", name: "onepiece",
icon: "user", icon: "UserOutlined",
path: "https://www.baidu.com", path: "https://www.baidu.com",
}, },
{ {
@ -84,9 +84,6 @@ export default {
strict: true, strict: true,
}, },
dynamicImport: true, dynamicImport: true,
extraBabelPlugins: [
['import', { libraryName: 'ant-design-vue', libraryDirectory: 'es', style: 'css' }, 'ant-design-vue'],
],
monacoEditor: { monacoEditor: {
languages: ['javascript', 'typescript', 'html', 'json'] languages: ['javascript', 'typescript', 'html', 'json']
} }

View File

@ -59,8 +59,7 @@
"@fesjs/plugin-sass": "^2.0.0", "@fesjs/plugin-sass": "^2.0.0",
"@fesjs/plugin-monaco-editor": "^2.0.0-beta.0", "@fesjs/plugin-monaco-editor": "^2.0.0-beta.0",
"@fesjs/plugin-windicss": "^2.0.0", "@fesjs/plugin-windicss": "^2.0.0",
"@fesjs/fes-design": "^0.1.7", "@fesjs/fes-design": "^0.1.9",
"ant-design-vue": "^2.2.0",
"vue": "^3.0.5", "vue": "^3.0.5",
"vuex": "^4.0.0" "vuex": "^4.0.0"
}, },

157
yarn.lock
View File

@ -125,28 +125,6 @@
"@algolia/logger-common" "4.10.3" "@algolia/logger-common" "4.10.3"
"@algolia/requester-common" "4.10.3" "@algolia/requester-common" "4.10.3"
"@ant-design/colors@^5.0.0":
version "5.1.1"
resolved "http://10.107.103.115:8001/@ant-design/colors/download/@ant-design/colors-5.1.1.tgz#800b2186b1e27e66432e67d03ed96af3e21d8940"
integrity sha1-gAshhrHifmZDLmfQPtlq8+IdiUA=
dependencies:
"@ctrl/tinycolor" "^3.3.1"
"@ant-design/icons-svg@^4.0.0":
version "4.1.0"
resolved "http://10.107.103.115:8001/@ant-design/icons-svg/download/@ant-design/icons-svg-4.1.0.tgz#480b025f4b20ef7fe8f47d4a4846e4fee84ea06c"
integrity sha1-SAsCX0sg73/o9H1KSEbk/uhOoGw=
"@ant-design/icons-vue@^6.0.0":
version "6.0.1"
resolved "http://10.107.103.115:8001/@ant-design/icons-vue/download/@ant-design/icons-vue-6.0.1.tgz#9d804c3c74d2cfaf97cb18e582d3b9400934f5fd"
integrity sha1-nYBMPHTSz6+XyxjlgtO5QAk09f0=
dependencies:
"@ant-design/colors" "^5.0.0"
"@ant-design/icons-svg" "^4.0.0"
"@types/lodash" "^4.14.165"
lodash "^4.17.15"
"@antfu/utils@^0.3.0": "@antfu/utils@^0.3.0":
version "0.3.0" version "0.3.0"
resolved "https://registry.npmjs.org/@antfu/utils/-/utils-0.3.0.tgz#6306c43b52a883bd8e973e3ed8dd64248418bcc4" resolved "https://registry.npmjs.org/@antfu/utils/-/utils-0.3.0.tgz#6306c43b52a883bd8e973e3ed8dd64248418bcc4"
@ -1357,11 +1335,6 @@
dependencies: dependencies:
chalk "^4.0.0" chalk "^4.0.0"
"@ctrl/tinycolor@^3.3.1":
version "3.4.0"
resolved "http://10.107.103.115:8001/@ctrl/tinycolor/download/@ctrl/tinycolor-3.4.0.tgz#c3c5ae543c897caa9c2a68630bed355be5f9990f"
integrity sha1-w8WuVDyJfKqcKmhjC+01W+X5mQ8=
"@docsearch/css@3.0.0-alpha.34": "@docsearch/css@3.0.0-alpha.34":
version "3.0.0-alpha.34" version "3.0.0-alpha.34"
resolved "http://10.107.103.115:8001/@docsearch/css/download/@docsearch/css-3.0.0-alpha.34.tgz#5d5c39955956e237884a9997eb29e28c8adc99fa" resolved "http://10.107.103.115:8001/@docsearch/css/download/@docsearch/css-3.0.0-alpha.34.tgz#5d5c39955956e237884a9997eb29e28c8adc99fa"
@ -1400,10 +1373,10 @@
minimatch "^3.0.4" minimatch "^3.0.4"
strip-json-comments "^3.1.1" strip-json-comments "^3.1.1"
"@fesjs/fes-design@^0.1.7": "@fesjs/fes-design@^0.1.9":
version "0.1.7" version "0.1.9"
resolved "https://registry.npmmirror.com/@fesjs/fes-design/download/@fesjs/fes-design-0.1.7.tgz#0443e36f10c41a4bca62909137d0f590f0a39a75" resolved "https://registry.npmmirror.com/@fesjs/fes-design/download/@fesjs/fes-design-0.1.9.tgz#19847f3de343a2cb0f1d77a1df72e0d5c1a7690d"
integrity sha512-VWjkCWzvZ8rN99xZtkeNr06GsvhHteLlaoujaO3NQ8cf03QkehIeNhlrAMiFuIRkB+13SUeHmJMo1qoL9lJV4g== integrity sha512-Z5iE935IeonVw5D1H3Yd/OgUGxT9kpa126bJUL9I/zXRtRzilAhR8N0/Vv1/IASKmEDHdt4plMy8YpFNlfjQVg==
dependencies: dependencies:
"@babel/runtime" "^7.16.3" "@babel/runtime" "^7.16.3"
"@juggle/resize-observer" "^3.3.1" "@juggle/resize-observer" "^3.3.1"
@ -2612,14 +2585,6 @@
resolved "http://10.107.103.115:8001/@sideway/pinpoint/download/@sideway/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" resolved "http://10.107.103.115:8001/@sideway/pinpoint/download/@sideway/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df"
integrity sha1-z/j/rcNyrSn9P3gneusp5jLMcN8= integrity sha1-z/j/rcNyrSn9P3gneusp5jLMcN8=
"@simonwep/pickr@~1.8.0":
version "1.8.1"
resolved "http://10.107.103.115:8001/@simonwep/pickr/download/@simonwep/pickr-1.8.1.tgz#e136cbd9c345ddbb7d71eb14af544c798165d495"
integrity sha1-4TbL2cNF3bt9cesUr1RMeYFl1JU=
dependencies:
core-js "^3.12.1"
nanopop "^2.1.0"
"@sinonjs/commons@^1.7.0": "@sinonjs/commons@^1.7.0":
version "1.8.3" version "1.8.3"
resolved "http://10.107.103.115:8001/@sinonjs/commons/download/@sinonjs/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" resolved "http://10.107.103.115:8001/@sinonjs/commons/download/@sinonjs/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d"
@ -2840,11 +2805,6 @@
resolved "http://10.107.103.115:8001/@types/linkify-it/download/@types/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" resolved "http://10.107.103.115:8001/@types/linkify-it/download/@types/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9"
integrity sha1-/SzS7bqn6qx+fzwXSLUqGRQ4Rsk= integrity sha1-/SzS7bqn6qx+fzwXSLUqGRQ4Rsk=
"@types/lodash@^4.14.165":
version "4.14.172"
resolved "http://10.107.103.115:8001/@types/lodash/download/@types/lodash-4.14.172.tgz#aad774c28e7bfd7a67de25408e03ee5a8c3d028a"
integrity sha1-qtd0wo57/Xpn3iVAjgPuWow9Aoo=
"@types/markdown-it@^12.0.3": "@types/markdown-it@^12.0.3":
version "12.2.0" version "12.2.0"
resolved "http://10.107.103.115:8001/@types/markdown-it/download/@types/markdown-it-12.2.0.tgz#f609929ac1e50cf0d039473fb331ebc62e313b34" resolved "http://10.107.103.115:8001/@types/markdown-it/download/@types/markdown-it-12.2.0.tgz#f609929ac1e50cf0d039473fb331ebc62e313b34"
@ -3794,28 +3754,6 @@ ansi-styles@^5.0.0:
resolved "http://10.107.103.115:8001/ansi-styles/download/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" resolved "http://10.107.103.115:8001/ansi-styles/download/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b"
integrity sha1-B0SWkK1Fd30ZJKwquy/IiV26g2s= integrity sha1-B0SWkK1Fd30ZJKwquy/IiV26g2s=
ant-design-vue@^2.2.0:
version "2.2.6"
resolved "http://10.107.103.115:8001/ant-design-vue/download/ant-design-vue-2.2.6.tgz#2acf45ea8bb2bb8a0e48a83fa9c6a827fef5236f"
integrity sha1-Ks9F6ouyu4oOSKg/qcaoJ/71I28=
dependencies:
"@ant-design/icons-vue" "^6.0.0"
"@babel/runtime" "^7.10.5"
"@simonwep/pickr" "~1.8.0"
array-tree-filter "^2.1.0"
async-validator "^3.3.0"
dom-align "^1.12.1"
dom-scroll-into-view "^2.0.0"
lodash "^4.17.21"
lodash-es "^4.17.15"
moment "^2.27.0"
omit.js "^2.0.0"
resize-observer-polyfill "^1.5.1"
scroll-into-view-if-needed "^2.2.25"
shallow-equal "^1.0.0"
vue-types "^3.0.0"
warning "^4.0.0"
any-promise@^1.0.0: any-promise@^1.0.0:
version "1.3.0" version "1.3.0"
resolved "http://10.107.103.115:8001/any-promise/download/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" resolved "http://10.107.103.115:8001/any-promise/download/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
@ -3913,11 +3851,6 @@ array-includes@^3.1.1:
get-intrinsic "^1.1.1" get-intrinsic "^1.1.1"
is-string "^1.0.5" is-string "^1.0.5"
array-tree-filter@^2.1.0:
version "2.1.0"
resolved "http://10.107.103.115:8001/array-tree-filter/download/array-tree-filter-2.1.0.tgz#873ac00fec83749f255ac8dd083814b4f6329190"
integrity sha1-hzrAD+yDdJ8lWsjdCDgUtPYykZA=
array-union@^1.0.1: array-union@^1.0.1:
version "1.0.2" version "1.0.2"
resolved "http://10.107.103.115:8001/array-union/download/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" resolved "http://10.107.103.115:8001/array-union/download/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
@ -3996,11 +3929,6 @@ async-limiter@~1.0.0:
resolved "http://10.107.103.115:8001/async-limiter/download/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" resolved "http://10.107.103.115:8001/async-limiter/download/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha1-3TeelPDbgxCwgpH51kwyCXZmF/0= integrity sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=
async-validator@^3.3.0:
version "3.5.2"
resolved "http://10.107.103.115:8001/async-validator/download/async-validator-3.5.2.tgz#68e866a96824e8b2694ff7a831c1a25c44d5e500"
integrity sha1-aOhmqWgk6LJpT/eoMcGiXETV5QA=
async-validator@^4.0.1: async-validator@^4.0.1:
version "4.0.7" version "4.0.7"
resolved "https://registry.npmmirror.com/async-validator/download/async-validator-4.0.7.tgz?cache=0&sync_timestamp=1634529502627&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fasync-validator%2Fdownload%2Fasync-validator-4.0.7.tgz#034a0fd2103a6b2ebf010da75183bec299247afe" resolved "https://registry.npmmirror.com/async-validator/download/async-validator-4.0.7.tgz?cache=0&sync_timestamp=1634529502627&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fasync-validator%2Fdownload%2Fasync-validator-4.0.7.tgz#034a0fd2103a6b2ebf010da75183bec299247afe"
@ -4881,11 +4809,6 @@ compression@^1.7.4:
safe-buffer "5.1.2" safe-buffer "5.1.2"
vary "~1.1.2" vary "~1.1.2"
compute-scroll-into-view@^1.0.17:
version "1.0.17"
resolved "http://10.107.103.115:8001/compute-scroll-into-view/download/compute-scroll-into-view-1.0.17.tgz#6a88f18acd9d42e9cf4baa6bec7e0522607ab7ab"
integrity sha1-aojxis2dQunPS6pr7H4FImB6t6s=
concat-map@0.0.1: concat-map@0.0.1:
version "0.0.1" version "0.0.1"
resolved "http://10.107.103.115:8001/concat-map/download/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" resolved "http://10.107.103.115:8001/concat-map/download/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@ -5115,7 +5038,7 @@ core-js-compat@^3.14.0, core-js-compat@^3.16.0:
browserslist "^4.16.7" browserslist "^4.16.7"
semver "7.0.0" semver "7.0.0"
core-js@^3.12.1, core-js@^3.6.1, core-js@^3.8.3: core-js@^3.6.1, core-js@^3.8.3:
version "3.16.1" version "3.16.1"
resolved "http://10.107.103.115:8001/core-js/download/core-js-3.16.1.tgz#f4485ce5c9f3c6a7cb18fa80488e08d362097249" resolved "http://10.107.103.115:8001/core-js/download/core-js-3.16.1.tgz#f4485ce5c9f3c6a7cb18fa80488e08d362097249"
integrity sha1-9Ehc5cnzxqfLGPqASI4I02IJckk= integrity sha1-9Ehc5cnzxqfLGPqASI4I02IJckk=
@ -5684,11 +5607,6 @@ doctrine@^3.0.0:
dependencies: dependencies:
esutils "^2.0.2" esutils "^2.0.2"
dom-align@^1.12.1:
version "1.12.2"
resolved "http://10.107.103.115:8001/dom-align/download/dom-align-1.12.2.tgz#0f8164ebd0c9c21b0c790310493cd855892acd4b"
integrity sha1-D4Fk69DJwhsMeQMQSTzYVYkqzUs=
dom-converter@^0.2.0: dom-converter@^0.2.0:
version "0.2.0" version "0.2.0"
resolved "http://10.107.103.115:8001/dom-converter/download/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768" resolved "http://10.107.103.115:8001/dom-converter/download/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
@ -5696,11 +5614,6 @@ dom-converter@^0.2.0:
dependencies: dependencies:
utila "~0.4" utila "~0.4"
dom-scroll-into-view@^2.0.0:
version "2.0.1"
resolved "http://10.107.103.115:8001/dom-scroll-into-view/download/dom-scroll-into-view-2.0.1.tgz#0decc8522801fd8d3f1c6ba355a74d382c5f989b"
integrity sha1-DezIUigB/Y0/HGujVadNOCxfmJs=
dom-serializer@^1.0.1: dom-serializer@^1.0.1:
version "1.3.2" version "1.3.2"
resolved "http://10.107.103.115:8001/dom-serializer/download/dom-serializer-1.3.2.tgz#6206437d32ceefaec7161803230c7a20bc1b4d91" resolved "http://10.107.103.115:8001/dom-serializer/download/dom-serializer-1.3.2.tgz#6206437d32ceefaec7161803230c7a20bc1b4d91"
@ -7910,11 +7823,6 @@ is-plain-obj@^3.0.0:
resolved "http://10.107.103.115:8001/is-plain-obj/download/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" resolved "http://10.107.103.115:8001/is-plain-obj/download/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7"
integrity sha1-r28uoUrFpkYYOlu9tbqrvBVq2dc= integrity sha1-r28uoUrFpkYYOlu9tbqrvBVq2dc=
is-plain-object@3.0.1:
version "3.0.1"
resolved "http://10.107.103.115:8001/is-plain-object/download/is-plain-object-3.0.1.tgz#662d92d24c0aa4302407b0d45d21f2251c85f85b"
integrity sha1-Zi2S0kwKpDAkB7DUXSHyJRyF+Fs=
is-plain-object@^2.0.3, is-plain-object@^2.0.4: is-plain-object@^2.0.3, is-plain-object@^2.0.4:
version "2.0.4" version "2.0.4"
resolved "http://10.107.103.115:8001/is-plain-object/download/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" resolved "http://10.107.103.115:8001/is-plain-object/download/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
@ -8550,7 +8458,7 @@ joycon@^3.0.1:
resolved "http://10.107.103.115:8001/joycon/download/joycon-3.0.1.tgz#9074c9b08ccf37a6726ff74a18485f85efcaddaf" resolved "http://10.107.103.115:8001/joycon/download/joycon-3.0.1.tgz#9074c9b08ccf37a6726ff74a18485f85efcaddaf"
integrity sha1-kHTJsIzPN6Zyb/dKGEhfhe/K3a8= integrity sha1-kHTJsIzPN6Zyb/dKGEhfhe/K3a8=
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: js-tokens@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "http://10.107.103.115:8001/js-tokens/download/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" resolved "http://10.107.103.115:8001/js-tokens/download/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha1-GSA/tZmR35jjoocFDUZHzerzJJk= integrity sha1-GSA/tZmR35jjoocFDUZHzerzJJk=
@ -9076,13 +8984,6 @@ longest@^2.0.1:
resolved "http://10.107.103.115:8001/longest/download/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" resolved "http://10.107.103.115:8001/longest/download/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8"
integrity sha1-eB4YMpaqlPbU2RbcM10NF676I/g= integrity sha1-eB4YMpaqlPbU2RbcM10NF676I/g=
loose-envify@^1.0.0:
version "1.4.0"
resolved "http://10.107.103.115:8001/loose-envify/download/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
integrity sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=
dependencies:
js-tokens "^3.0.0 || ^4.0.0"
lower-case@^2.0.2: lower-case@^2.0.2:
version "2.0.2" version "2.0.2"
resolved "http://10.107.103.115:8001/lower-case/download/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" resolved "http://10.107.103.115:8001/lower-case/download/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28"
@ -9584,11 +9485,6 @@ modify-values@^1.0.0:
resolved "http://10.107.103.115:8001/modify-values/download/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" resolved "http://10.107.103.115:8001/modify-values/download/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
integrity sha1-s5OfpgVUZHTj4+PGPWS9Q7TuYCI= integrity sha1-s5OfpgVUZHTj4+PGPWS9Q7TuYCI=
moment@^2.27.0:
version "2.29.1"
resolved "http://10.107.103.115:8001/moment/download/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"
integrity sha1-sr52n6MZQL6e7qZGnAdeNQBvo9M=
monaco-editor-webpack-plugin@^1.9.1: monaco-editor-webpack-plugin@^1.9.1:
version "1.9.1" version "1.9.1"
resolved "http://10.107.103.115:8001/monaco-editor-webpack-plugin/download/monaco-editor-webpack-plugin-1.9.1.tgz#eb4bbb1c5e5bfb554541c1ae1542e74c2a9f43fd" resolved "http://10.107.103.115:8001/monaco-editor-webpack-plugin/download/monaco-editor-webpack-plugin-1.9.1.tgz#eb4bbb1c5e5bfb554541c1ae1542e74c2a9f43fd"
@ -9696,11 +9592,6 @@ nanomatch@^1.2.9:
snapdragon "^0.8.1" snapdragon "^0.8.1"
to-regex "^3.0.1" to-regex "^3.0.1"
nanopop@^2.1.0:
version "2.1.0"
resolved "http://10.107.103.115:8001/nanopop/download/nanopop-2.1.0.tgz#23476513cee2405888afd2e8a4b54066b70b9e60"
integrity sha1-I0dlE87iQFiIr9LopLVAZrcLnmA=
natural-compare@^1.4.0: natural-compare@^1.4.0:
version "1.4.0" version "1.4.0"
resolved "http://10.107.103.115:8001/natural-compare/download/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" resolved "http://10.107.103.115:8001/natural-compare/download/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
@ -10082,11 +9973,6 @@ obuf@^1.0.0, obuf@^1.1.2:
resolved "http://10.107.103.115:8001/obuf/download/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" resolved "http://10.107.103.115:8001/obuf/download/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
integrity sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4= integrity sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4=
omit.js@^2.0.0:
version "2.0.2"
resolved "http://10.107.103.115:8001/omit.js/download/omit.js-2.0.2.tgz#dd9b8436fab947a5f3ff214cb2538631e313ec2f"
integrity sha1-3ZuENvq5R6Xz/yFMslOGMeMT7C8=
on-finished@~2.3.0: on-finished@~2.3.0:
version "2.3.0" version "2.3.0"
resolved "http://10.107.103.115:8001/on-finished/download/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" resolved "http://10.107.103.115:8001/on-finished/download/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
@ -11541,11 +11427,6 @@ requires-port@^1.0.0:
resolved "http://10.107.103.115:8001/requires-port/download/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" resolved "http://10.107.103.115:8001/requires-port/download/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
resize-observer-polyfill@^1.5.1:
version "1.5.1"
resolved "http://10.107.103.115:8001/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464"
integrity sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=
resolve-cwd@^2.0.0: resolve-cwd@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "http://10.107.103.115:8001/resolve-cwd/download/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" resolved "http://10.107.103.115:8001/resolve-cwd/download/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
@ -11778,13 +11659,6 @@ schema-utils@^3.0.0, schema-utils@^3.1.0:
ajv "^6.12.5" ajv "^6.12.5"
ajv-keywords "^3.5.2" ajv-keywords "^3.5.2"
scroll-into-view-if-needed@^2.2.25:
version "2.2.28"
resolved "http://10.107.103.115:8001/scroll-into-view-if-needed/download/scroll-into-view-if-needed-2.2.28.tgz#5a15b2f58a52642c88c8eca584644e01703d645a"
integrity sha1-WhWy9YpSZCyIyOylhGROAXA9ZFo=
dependencies:
compute-scroll-into-view "^1.0.17"
section-matter@^1.0.0: section-matter@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "http://10.107.103.115:8001/section-matter/download/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167" resolved "http://10.107.103.115:8001/section-matter/download/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167"
@ -11944,11 +11818,6 @@ shallow-clone@^3.0.0:
dependencies: dependencies:
kind-of "^6.0.2" kind-of "^6.0.2"
shallow-equal@^1.0.0:
version "1.2.1"
resolved "http://10.107.103.115:8001/shallow-equal/download/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da"
integrity sha1-TBar+lYEOqINBQMk76aJQLDaedo=
shebang-command@^1.2.0: shebang-command@^1.2.0:
version "1.2.0" version "1.2.0"
resolved "http://10.107.103.115:8001/shebang-command/download/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" resolved "http://10.107.103.115:8001/shebang-command/download/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
@ -13341,13 +13210,6 @@ vue-router@^4.0.1, vue-router@^4.0.10:
dependencies: dependencies:
"@vue/devtools-api" "^6.0.0-beta.14" "@vue/devtools-api" "^6.0.0-beta.14"
vue-types@^3.0.0:
version "3.0.2"
resolved "http://10.107.103.115:8001/vue-types/download/vue-types-3.0.2.tgz#ec16e05d412c038262fc1efa4ceb9647e7fb601d"
integrity sha1-7BbgXUEsA4Ji/B76TOuWR+f7YB0=
dependencies:
is-plain-object "3.0.1"
vue3-jest@^27.0.0-alpha.1: vue3-jest@^27.0.0-alpha.1:
version "27.0.0-alpha.1" version "27.0.0-alpha.1"
resolved "http://10.107.103.115:8001/vue3-jest/download/vue3-jest-27.0.0-alpha.1.tgz#ccc9ecd963a8ab54e43fbb4cad3c1d14c84c0613" resolved "http://10.107.103.115:8001/vue3-jest/download/vue3-jest-27.0.0-alpha.1.tgz#ccc9ecd963a8ab54e43fbb4cad3c1d14c84c0613"
@ -13407,13 +13269,6 @@ walker@^1.0.7:
dependencies: dependencies:
makeerror "1.0.x" makeerror "1.0.x"
warning@^4.0.0:
version "4.0.3"
resolved "http://10.107.103.115:8001/warning/download/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
integrity sha1-Fungd+uKhtavfWSqHgX9hbRnjKM=
dependencies:
loose-envify "^1.0.0"
watchpack@^2.2.0: watchpack@^2.2.0:
version "2.2.0" version "2.2.0"
resolved "http://10.107.103.115:8001/watchpack/download/watchpack-2.2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce" resolved "http://10.107.103.115:8001/watchpack/download/watchpack-2.2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce"