chore: bump the patch version of all console dependencies (#3617)

#### What type of PR is this?

/kind improvement
/area console
/milestone 2.4.x

#### What this PR does / why we need it:

升级 Console 依赖的所有 patch 版本,由于升级了 prettier 的版本,可能发生了规则改变,所以同时包含重新格式化后的文件。

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/3635/head
Ryan Wang 2023-03-29 21:44:14 +08:00 committed by GitHub
parent 4c11ccfcd1
commit 8d9be88b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 508 additions and 424 deletions

View File

@ -35,19 +35,19 @@
],
"dependencies": {
"@emoji-mart/data": "^1.0.8",
"@formkit/core": "^0.16.2",
"@formkit/i18n": "^0.16.2",
"@formkit/inputs": "^0.16.2",
"@formkit/themes": "^0.16.2",
"@formkit/utils": "^0.16.2",
"@formkit/validation": "0.16.2",
"@formkit/vue": "^0.16.2",
"@formkit/core": "^0.16.4",
"@formkit/i18n": "^0.16.4",
"@formkit/inputs": "^0.16.4",
"@formkit/themes": "^0.16.4",
"@formkit/utils": "^0.16.4",
"@formkit/validation": "0.16.4",
"@formkit/vue": "^0.16.4",
"@halo-dev/api-client": "workspace:*",
"@halo-dev/components": "workspace:*",
"@halo-dev/console-shared": "workspace:*",
"@halo-dev/richtext-editor": "0.0.0-alpha.21",
"@tanstack/vue-query": "^4.24.10",
"@tiptap/extension-character-count": "^2.0.0-beta.202",
"@tiptap/extension-character-count": "^2.0.0-beta.220",
"@uppy/core": "^3.1.1",
"@uppy/dashboard": "^3.3.1",
"@uppy/drag-drop": "^3.0.1",
@ -62,8 +62,8 @@
"@vueuse/router": "^9.6.0",
"@vueuse/shared": "^9.6.0",
"axios": "^0.27.2",
"colorjs.io": "^0.4.2",
"dayjs": "^1.11.6",
"colorjs.io": "^0.4.3",
"dayjs": "^1.11.7",
"emoji-mart": "^5.3.3",
"fastq": "^1.15.0",
"fuse.js": "^6.6.2",
@ -73,12 +73,12 @@
"lodash.isequal": "^4.5.0",
"lodash.merge": "^4.6.2",
"lodash.sortby": "^4.7.0",
"overlayscrollbars": "^2.1.0",
"overlayscrollbars": "^2.1.1",
"overlayscrollbars-vue": "^0.5.1",
"path-browserify": "^1.0.1",
"pinia": "^2.0.26",
"pinia": "^2.0.33",
"pretty-bytes": "^6.0.0",
"qs": "^6.11.0",
"qs": "^6.11.1",
"transliteration": "^2.3.5",
"vue": "^3.2.45",
"vue-demi": "^0.13.11",
@ -89,9 +89,9 @@
},
"devDependencies": {
"@changesets/cli": "^2.25.2",
"@iconify-json/mdi": "^1.1.36",
"@iconify-json/vscode-icons": "^1.1.16",
"@intlify/unplugin-vue-i18n": "^0.9.1",
"@iconify-json/mdi": "^1.1.50",
"@iconify-json/vscode-icons": "^1.1.22",
"@intlify/unplugin-vue-i18n": "^0.9.3",
"@rushstack/eslint-patch": "^1.2.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/container-queries": "^0.1.0",
@ -100,7 +100,7 @@
"@types/lodash.debounce": "^4.0.7",
"@types/lodash.isequal": "^4.5.6",
"@types/lodash.merge": "^4.6.7",
"@types/node": "^18.11.9",
"@types/node": "^18.11.19",
"@types/qs": "^6.9.7",
"@types/randomstring": "^1.1.8",
"@vitejs/plugin-vue": "^4.0.0",
@ -111,29 +111,29 @@
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.2.4",
"@vue/tsconfig": "^0.1.3",
"autoprefixer": "^10.4.13",
"autoprefixer": "^10.4.14",
"c8": "^7.12.0",
"cypress": "^10.11.0",
"eslint": "^8.28.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-vue": "^9.8.0",
"husky": "^8.0.2",
"husky": "^8.0.3",
"jsdom": "^20.0.3",
"lint-staged": "^13.1.0",
"postcss": "^8.4.19",
"prettier": "^2.8.0",
"lint-staged": "^13.1.4",
"postcss": "^8.4.21",
"prettier": "^2.8.7",
"prettier-plugin-tailwindcss": "^0.1.13",
"randomstring": "^1.2.3",
"sass": "^1.56.1",
"sass": "^1.56.2",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.2.4",
"tailwindcss": "^3.2.7",
"tailwindcss-safe-area": "^0.2.2",
"tailwindcss-themer": "^2.0.2",
"tailwindcss-themer": "^2.0.3",
"typescript": "~4.7.4",
"unplugin-icons": "^0.14.14",
"unplugin-icons": "^0.14.15",
"vite": "^4.0.4",
"vite-compression-plugin": "^0.0.4",
"vite-plugin-externals": "^0.5.1",
"vite-plugin-externals": "^0.6.2",
"vite-plugin-html": "^3.2.0",
"vite-plugin-pwa": "^0.13.3",
"vite-plugin-static-copy": "^0.11.1",

View File

@ -48,7 +48,7 @@
"@iconify-json/ri": "^1.1.4",
"histoire": "^0.11.7",
"unplugin-icons": "^0.14.14",
"vite-plugin-dts": "^1.7.1"
"vite-plugin-dts": "^1.7.3"
},
"peerDependencies": {
"vue": "^3.2.37",

View File

@ -38,7 +38,7 @@
"homepage": "https://github.com/halo-dev/console/tree/main/packages/shared#readme",
"license": "MIT",
"devDependencies": {
"vite-plugin-dts": "^1.7.1"
"vite-plugin-dts": "^1.7.3"
},
"peerDependencies": {
"vue": "^3.2.37",

File diff suppressed because it is too large Load Diff

View File

@ -237,7 +237,7 @@ onMounted(() => {
<aside
class="navbar fixed hidden h-full overflow-y-auto md:flex md:flex-col"
>
<div class="logo flex justify-center pt-5 pb-7">
<div class="logo flex justify-center pb-7 pt-5">
<a
href="/"
target="_blank"
@ -326,7 +326,7 @@ onMounted(() => {
<!--bottom nav bar-->
<div
v-if="minimenus"
class="bottom-nav-bar fixed left-0 bottom-0 right-0 grid grid-cols-6 border-t-2 border-black bg-secondary drop-shadow-2xl mt-safe pb-safe md:hidden"
class="bottom-nav-bar fixed bottom-0 left-0 right-0 grid grid-cols-6 border-t-2 border-black bg-secondary drop-shadow-2xl mt-safe pb-safe md:hidden"
>
<div
v-for="(menu, index) in minimenus"
@ -360,7 +360,7 @@ onMounted(() => {
<Teleport to="body">
<div
v-show="moreMenuRootVisible"
class="drawer-wrapper fixed top-0 left-0 z-[99999] flex h-full w-full flex-row items-end justify-center"
class="drawer-wrapper fixed left-0 top-0 z-[99999] flex h-full w-full flex-row items-end justify-center"
>
<transition
enter-active-class="ease-out duration-200"
@ -374,7 +374,7 @@ onMounted(() => {
>
<div
v-show="moreMenuVisible"
class="drawer-layer absolute top-0 left-0 h-full w-full flex-none bg-gray-500 bg-opacity-75 transition-opacity"
class="drawer-layer absolute left-0 top-0 h-full w-full flex-none bg-gray-500 bg-opacity-75 transition-opacity"
@click="moreMenuVisible = false"
></div>
</transition>
@ -420,8 +420,8 @@ onMounted(() => {
.current-profile {
height: 70px;
@apply fixed
left-0
bottom-0
left-0
flex
w-64
gap-3

View File

@ -606,7 +606,7 @@ onMounted(() => {
>
<div class="group relative bg-white">
<div
class="aspect-w-10 aspect-h-8 block h-full w-full cursor-pointer overflow-hidden bg-gray-100"
class="aspect-h-8 aspect-w-10 block h-full w-full cursor-pointer overflow-hidden bg-gray-100"
>
<LazyImage
v-if="isImage(attachment.spec.mediaType)"
@ -649,7 +649,7 @@ onMounted(() => {
<div
v-if="attachment.metadata.deletionTimestamp"
class="absolute top-1 right-1 text-xs text-red-300"
class="absolute right-1 top-1 text-xs text-red-300"
>
{{ $t("core.common.status.deleting") }}...
</div>
@ -658,13 +658,13 @@ onMounted(() => {
v-if="!attachment.metadata.deletionTimestamp"
v-permission="['system:attachments:manage']"
:class="{ '!flex': selectedAttachments.has(attachment) }"
class="absolute top-0 left-0 hidden h-1/3 w-full cursor-pointer justify-end bg-gradient-to-b from-gray-300 to-transparent ease-in-out group-hover:flex"
class="absolute left-0 top-0 hidden h-1/3 w-full cursor-pointer justify-end bg-gradient-to-b from-gray-300 to-transparent ease-in-out group-hover:flex"
>
<IconCheckboxFill
:class="{
'!text-primary': selectedAttachments.has(attachment),
}"
class="mt-1 mr-1 h-6 w-6 cursor-pointer text-white transition-all hover:text-primary"
class="mr-1 mt-1 h-6 w-6 cursor-pointer text-white transition-all hover:text-primary"
@click.stop="handleSelect(attachment)"
/>
</div>

View File

@ -117,7 +117,7 @@ const handleOpenDetail = (attachment: Attachment) => {
>
<div class="group relative bg-white">
<div
class="aspect-w-10 aspect-h-8 block h-full w-full cursor-pointer overflow-hidden bg-gray-100"
class="aspect-h-8 aspect-w-10 block h-full w-full cursor-pointer overflow-hidden bg-gray-100"
>
<LazyImage
v-if="isImage(attachment.spec.mediaType)"
@ -154,17 +154,17 @@ const handleOpenDetail = (attachment: Attachment) => {
<div
:class="{ '!flex': selectedAttachments.has(attachment) }"
class="absolute top-0 left-0 hidden h-1/3 w-full justify-end bg-gradient-to-b from-gray-300 to-transparent ease-in-out group-hover:flex"
class="absolute left-0 top-0 hidden h-1/3 w-full justify-end bg-gradient-to-b from-gray-300 to-transparent ease-in-out group-hover:flex"
>
<IconEye
class="mt-1 mr-1 hidden h-6 w-6 cursor-pointer text-white transition-all hover:text-primary group-hover:block"
class="mr-1 mt-1 hidden h-6 w-6 cursor-pointer text-white transition-all hover:text-primary group-hover:block"
@click.stop="handleOpenDetail(attachment)"
/>
<IconCheckboxFill
:class="{
'!text-primary': selectedAttachments.has(attachment),
}"
class="mt-1 mr-1 h-6 w-6 cursor-pointer text-white transition-all hover:text-primary"
class="mr-1 mt-1 h-6 w-6 cursor-pointer text-white transition-all hover:text-primary"
/>
</div>
</div>

View File

@ -134,7 +134,7 @@ const isHoveredReply = computed(() => {
<p class="break-all">
<a
v-if="quoteReply"
class="mr-1 inline-flex flex-row items-center gap-1 rounded bg-gray-200 py-0.5 px-1 text-xs font-medium text-gray-600 hover:text-blue-500 hover:underline"
class="mr-1 inline-flex flex-row items-center gap-1 rounded bg-gray-200 px-1 py-0.5 text-xs font-medium text-gray-600 hover:text-blue-500 hover:underline"
href="javascript:void(0)"
@mouseenter="handleShowQuoteReply(true)"
@mouseleave="handleShowQuoteReply(false)"

View File

@ -48,7 +48,7 @@
:y="item.y"
>
<component :is="item.widget" />
<div v-if="settings" class="absolute top-2 right-2">
<div v-if="settings" class="absolute right-2 top-2">
<IconCloseCircle
class="cursor-pointer text-lg text-gray-500 hover:text-gray-900"
@click="handleRemove(item)"

View File

@ -195,7 +195,7 @@ const actions: Action[] = [
</div>
<span
aria-hidden="true"
class="pointer-events-none absolute top-6 right-6 text-gray-300 transition-all group-hover:translate-x-1 group-hover:text-gray-400"
class="pointer-events-none absolute right-6 top-6 text-gray-300 transition-all group-hover:translate-x-1 group-hover:text-gray-400"
>
<IconArrowRight />
</span>

View File

@ -157,7 +157,7 @@ const handleOpenInstallModal = () => {
<VTabs
v-model:active-id="activeTab"
type="outline"
class="my-[12px] mx-[16px]"
class="mx-[16px] my-[12px]"
>
<VTabItem
id="installed"
@ -243,7 +243,7 @@ const handleOpenInstallModal = () => {
<template #description>
<div class="w-32">
<div
class="group aspect-w-4 aspect-h-3 block w-full overflow-hidden rounded border bg-gray-100"
class="group aspect-h-3 aspect-w-4 block w-full overflow-hidden rounded border bg-gray-100"
>
<LazyImage
:key="theme.metadata.name"

View File

@ -108,7 +108,7 @@ const handleUninstall = async (theme: Theme, deleteExtensions?: boolean) => {
<template #description>
<div class="w-32">
<div
class="group aspect-w-4 aspect-h-3 block w-full overflow-hidden rounded border bg-gray-100"
class="group aspect-h-3 aspect-w-4 block w-full overflow-hidden rounded border bg-gray-100"
>
<LazyImage
:key="theme.metadata.name"

View File

@ -36,7 +36,7 @@ const { isActivated, handleActiveTheme } = useThemeLifeCycle(theme);
<template #description>
<div class="w-32">
<div
class="group aspect-w-4 aspect-h-3 block w-full overflow-hidden rounded border bg-gray-100"
class="group aspect-h-3 aspect-w-4 block w-full overflow-hidden rounded border bg-gray-100"
>
<LazyImage
:key="theme.metadata.name"

View File

@ -66,7 +66,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
<div class="border-t border-gray-100">
<dl class="divide-y divide-gray-50">
<div
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">
{{ $t("core.user.detail.fields.display_name") }}
@ -76,7 +76,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
</dd>
</div>
<div
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">
{{ $t("core.user.detail.fields.username") }}
@ -86,7 +86,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
</dd>
</div>
<div
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">
{{ $t("core.user.detail.fields.email") }}
@ -96,7 +96,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
</dd>
</div>
<div
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">
{{ $t("core.user.detail.fields.roles") }}
@ -123,7 +123,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
</dd>
</div>
<div
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">
{{ $t("core.user.detail.fields.bio") }}
@ -133,7 +133,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
</dd>
</div>
<div
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">
{{ $t("core.user.detail.fields.creation_time") }}
@ -147,7 +147,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
<!-- TODO: add display last login time support -->
<div
v-if="false"
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">最近登录时间</dt>
<dd class="mt-1 text-sm text-gray-900 sm:col-span-3 sm:mt-0">
@ -156,7 +156,7 @@ const handleBindAuth = (authProvider: ListedAuthProvider) => {
</div>
<div
v-if="!isFetching && isCurrentUser && availableAuthProviders?.length"
class="bg-white py-5 px-2 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
class="bg-white px-2 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4"
>
<dt class="text-sm font-medium text-gray-900">
{{ $t("core.user.detail.fields.identity_authentication") }}