This commit is contained in:
parent
cd32863494
commit
bce683c0eb
12724
api/Api.ts
12724
api/Api.ts
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
import api from '~/api/instance'
|
||||
|
||||
export const getProductsDetail = async (productId: number) =>
|
||||
await api.wc.v1ProductsDetail(productId)
|
||||
await api.wc.v3ProductsDetail(productId)
|
||||
|
||||
4
api/endpoints/getProductsVariationsList.ts
Normal file
4
api/endpoints/getProductsVariationsList.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import api from '~/api/instance'
|
||||
|
||||
export const getProductsVariationsList = async (productId: number) =>
|
||||
await api.wc.v3ProductsVariationsList(productId)
|
||||
@ -1 +1,2 @@
|
||||
export * from './getProductsDetail'
|
||||
export * from './getProductsVariationsList'
|
||||
|
||||
@ -1 +1,2 @@
|
||||
export * from './useGetProductsDetail'
|
||||
export * from './useGetProductsVariationsList'
|
||||
|
||||
10
api/queries/useGetProductsVariationsList.ts
Normal file
10
api/queries/useGetProductsVariationsList.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { useQuery } from '@tanstack/vue-query'
|
||||
import { unref } from 'vue'
|
||||
import { getProductsVariationsList } from '~/api/endpoints'
|
||||
|
||||
export const useGetProductsVariationsList = (productId: MaybeRef<number>) => {
|
||||
return useQuery({
|
||||
queryKey: ['get-products-variations-list', productId],
|
||||
queryFn: () => getProductsVariationsList(unref(productId)),
|
||||
})
|
||||
}
|
||||
@ -20,12 +20,12 @@
|
||||
|
||||
<div class="card__variation">
|
||||
<div
|
||||
v-for="variation in productsData?.variations"
|
||||
v-for="variation in productsVariationsData"
|
||||
:key="variation?.id"
|
||||
@click="() => currentVariantId = variation?.id"
|
||||
>
|
||||
{{ variation?.id }}
|
||||
<img width="200px" :src="variation?.image[0]?.src" :alt="variation?.image[0]?.src">
|
||||
<img width="200px" :src="variation?.image?.src">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -37,9 +37,11 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useGetProductsDetail } from '~/api/queries'
|
||||
import { useGetProductsDetail, useGetProductsVariationsList } from '~/api/queries'
|
||||
|
||||
// Вынести все computed в composable useProduct.ts
|
||||
const { data: productsData } = useGetProductsDetail(79)
|
||||
const { data: productsVariationsData } = useGetProductsVariationsList(79)
|
||||
|
||||
function getAttribute(attributes, name: string) {
|
||||
return attributes?.find(attribute => attribute?.name === name)?.option
|
||||
@ -49,13 +51,13 @@ const defaultColor = computed(() => getAttribute(productsData?.value?.default_at
|
||||
const defaultMaterial = computed(() => getAttribute(productsData?.value?.default_attributes, 'material'))
|
||||
|
||||
const defaultVariant = computed(() => {
|
||||
return productsData?.value?.variations?.find(variation => getAttribute(variation?.attributes, 'color') === defaultColor?.value)
|
||||
&& productsData?.value?.variations?.find(variation => getAttribute(variation?.attributes, 'material') === defaultMaterial?.value)
|
||||
return productsVariationsData?.value?.find(variation => getAttribute(variation?.attributes, 'color') === defaultColor?.value)
|
||||
&& productsVariationsData?.value?.find(variation => getAttribute(variation?.attributes, 'material') === defaultMaterial?.value)
|
||||
})
|
||||
|
||||
const currentVariantId = ref(defaultVariant?.value?.id)
|
||||
|
||||
const currentVariant = computed(() => productsData?.value?.variations?.find(variation => variation?.id === currentVariantId?.value))
|
||||
const currentVariant = computed(() => productsVariationsData?.value?.find(variation => variation?.id === currentVariantId?.value))
|
||||
|
||||
const currentColor = computed(() => getAttribute(currentVariant?.value?.attributes, 'color'))
|
||||
const currentMaterial = computed(() => getAttribute(currentVariant?.value?.attributes, 'material'))
|
||||
|
||||
282
yarn.lock
282
yarn.lock
@ -896,9 +896,9 @@
|
||||
"@swc/helpers" "^0.5.0"
|
||||
|
||||
"@ioredis/commands@^1.1.1":
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@ioredis/commands/-/commands-1.2.0.tgz#6d61b3097470af1fdbbe622795b8921d42018e11"
|
||||
integrity sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@ioredis/commands/-/commands-1.3.0.tgz#4dc3ae9bfa7146b63baf27672a61db0ea86e35e5"
|
||||
integrity sha512-M/T6Zewn7sDaBQEqIZ8Rb+i9y8qfGmq+5SDFSf9sA2lUZTmdDLVdOiQaeDp+Q4wElZ9HG1GAX5KhDaidp6LQsQ==
|
||||
|
||||
"@isaacs/cliui@^8.0.2":
|
||||
version "8.0.2"
|
||||
@ -1726,105 +1726,105 @@
|
||||
estree-walker "^2.0.2"
|
||||
picomatch "^4.0.2"
|
||||
|
||||
"@rollup/rollup-android-arm-eabi@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.46.0.tgz#b7783a0b32aa633fa2735e9e1ac2de0c80207313"
|
||||
integrity sha512-9f3nSTFI2ivfxc7/tHBHcJ8pRnp8ROrELvsVprlQPVvcZ+j5zztYd+PTJGpyIOAdTvNwNrpCXswKSeoQcyGjMQ==
|
||||
"@rollup/rollup-android-arm-eabi@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.46.1.tgz#c659481d5b15054d4636b3dd0c2f50ab3083d839"
|
||||
integrity sha512-oENme6QxtLCqjChRUUo3S6X8hjCXnWmJWnedD7VbGML5GUtaOtAyx+fEEXnBXVf0CBZApMQU0Idwi0FmyxzQhw==
|
||||
|
||||
"@rollup/rollup-android-arm64@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.46.0.tgz#d2fb87e8d352ed15a5513817978b4b89f3547556"
|
||||
integrity sha512-tFZSEhqJ8Yrpe50TzOdeoYi72gi/jsnT7y8Qrozf3cNu28WX+s6I3XzEPUAqoaT9SAS8Xz9AzGTFlxxCH/w20w==
|
||||
"@rollup/rollup-android-arm64@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.46.1.tgz#7e05c3c0bf6a79ee6b40ab5e778679742f06815d"
|
||||
integrity sha512-OikvNT3qYTl9+4qQ9Bpn6+XHM+ogtFadRLuT2EXiFQMiNkXFLQfNVppi5o28wvYdHL2s3fM0D/MZJ8UkNFZWsw==
|
||||
|
||||
"@rollup/rollup-darwin-arm64@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.46.0.tgz#a4433c387b8ebec610445b631a42c474e8bc944c"
|
||||
integrity sha512-+DikIIs+p6yU2hF51UaWG8BnHbq90X0QIOt5zqSKSZxY+G3qqdLih214e9InJal21af2PuuxkDectetGfbVPJw==
|
||||
"@rollup/rollup-darwin-arm64@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.46.1.tgz#b190fbd0274fbbd4d257ff0b3d68f0885c454e0d"
|
||||
integrity sha512-EFYNNGij2WllnzljQDQnlFTXzSJw87cpAs4TVBAWLdkvic5Uh5tISrIL6NRcxoh/b2EFBG/TK8hgRrGx94zD4A==
|
||||
|
||||
"@rollup/rollup-darwin-x64@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.46.0.tgz#d1f2285c9324e2a9dd284702a4e8029fae77d731"
|
||||
integrity sha512-5a+NofhdEB/WimSlFMskbFQn1vqz1FWryYpA99trmZGO6qEmiS0IsX6w4B3d91U878Q2ZQdiaFF1gxX4P147og==
|
||||
"@rollup/rollup-darwin-x64@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.46.1.tgz#a4df7fa06ac318b66a6aa66d6f1e0a58fef58cd3"
|
||||
integrity sha512-ZaNH06O1KeTug9WI2+GRBE5Ujt9kZw4a1+OIwnBHal92I8PxSsl5KpsrPvthRynkhMck4XPdvY0z26Cym/b7oA==
|
||||
|
||||
"@rollup/rollup-freebsd-arm64@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.46.0.tgz#5ce48e85792cb149117ebc7e77907762532d1849"
|
||||
integrity sha512-igr/RlKPS3OCy4jD3XBmAmo3UAcNZkJSubRsw1JeM8bAbwf15k/3eMZXD91bnjheijJiOJcga3kfCLKjV8IXNg==
|
||||
"@rollup/rollup-freebsd-arm64@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.46.1.tgz#6634478a78a0c17dcf55adb621fa66faa58a017b"
|
||||
integrity sha512-n4SLVebZP8uUlJ2r04+g2U/xFeiQlw09Me5UFqny8HGbARl503LNH5CqFTb5U5jNxTouhRjai6qPT0CR5c/Iig==
|
||||
|
||||
"@rollup/rollup-freebsd-x64@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.46.0.tgz#29c03ae6c7dcfa49ab6e1b3bb0f95711bed6cf79"
|
||||
integrity sha512-MdigWzPSHlQzB1xZ+MdFDWTAH+kcn7UxjEBoOKuaso7z1DRlnAnrknB1mTtNOQ+GdPI8xgExAGwHeqQjntR0Cg==
|
||||
"@rollup/rollup-freebsd-x64@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.46.1.tgz#db42c46c0263b2562e2ba5c2e00e318646f2b24c"
|
||||
integrity sha512-8vu9c02F16heTqpvo3yeiu7Vi1REDEC/yES/dIfq3tSXe6mLndiwvYr3AAvd1tMNUqE9yeGYa5w7PRbI5QUV+w==
|
||||
|
||||
"@rollup/rollup-linux-arm-gnueabihf@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.46.0.tgz#2ffe0d9e8049386d8a625803ee30bc0ea6810281"
|
||||
integrity sha512-dmZseE0ZwA/4yy1+BwFrDqFTjjNg24GO9xSrb1weVbt6AFkhp5pz1gVS7IMtfIvoWy8yp6q/zN0bKnefRUImvQ==
|
||||
"@rollup/rollup-linux-arm-gnueabihf@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.46.1.tgz#88ca443ad42c70555978b000c6d1dd925fb3203b"
|
||||
integrity sha512-K4ncpWl7sQuyp6rWiGUvb6Q18ba8mzM0rjWJ5JgYKlIXAau1db7hZnR0ldJvqKWWJDxqzSLwGUhA4jp+KqgDtQ==
|
||||
|
||||
"@rollup/rollup-linux-arm-musleabihf@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.46.0.tgz#ab01d5b33bf67fd5b6ec48deb812800e235501a1"
|
||||
integrity sha512-fzhfn6p9Cfm3W8UrWKIa4l7Wfjs/KGdgaswMBBE3KY3Ta43jg2XsPrAtfezHpsRk0Nx+TFuS3hZk/To2N5kFPQ==
|
||||
"@rollup/rollup-linux-arm-musleabihf@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.46.1.tgz#36106fe103d32c2a97583ebadcfb28dc63988bda"
|
||||
integrity sha512-YykPnXsjUjmXE6j6k2QBBGAn1YsJUix7pYaPLK3RVE0bQL2jfdbfykPxfF8AgBlqtYbfEnYHmLXNa6QETjdOjQ==
|
||||
|
||||
"@rollup/rollup-linux-arm64-gnu@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.46.0.tgz#7eef79d5c8cd7ba0eadd3d23e9fec0d532bcd307"
|
||||
integrity sha512-vVDD+iPDPmJQ5nAQ5Tifq3ywdv60FartglFI8VOCK+hcU9aoG0qlQTsDJP97O5yiTaTqlneZWoARMcVC5nyUoQ==
|
||||
"@rollup/rollup-linux-arm64-gnu@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.46.1.tgz#00c28bc9210dcfbb5e7fa8e52fd827fb570afe26"
|
||||
integrity sha512-kKvqBGbZ8i9pCGW3a1FH3HNIVg49dXXTsChGFsHGXQaVJPLA4f/O+XmTxfklhccxdF5FefUn2hvkoGJH0ScWOA==
|
||||
|
||||
"@rollup/rollup-linux-arm64-musl@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.46.0.tgz#87bbcd241fc8a79d23be1ffd333b8e5c4e4604ee"
|
||||
integrity sha512-0d0jx08fzDHCzXqrtCMEEyxKU0SvJrWmUjUDE2/KDQ2UDJql0tfiwYvEx1oHELClKO8CNdE+AGJj+RqXscZpdQ==
|
||||
"@rollup/rollup-linux-arm64-musl@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.46.1.tgz#45a13486b5523235eb87b349e7ca5a0bb85a5b0e"
|
||||
integrity sha512-zzX5nTw1N1plmqC9RGC9vZHFuiM7ZP7oSWQGqpbmfjK7p947D518cVK1/MQudsBdcD84t6k70WNczJOct6+hdg==
|
||||
|
||||
"@rollup/rollup-linux-loongarch64-gnu@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.46.0.tgz#a5207714d3dca6cc4de95204901a95bcc17614e7"
|
||||
integrity sha512-XBYu9oW9eKJadWn8M7hkTZsD4yG+RrsTrVEgyKwb4L72cpJjRbRboTG9Lg9fec8MxJp/cfTHAocg4mnismQR8A==
|
||||
"@rollup/rollup-linux-loongarch64-gnu@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.46.1.tgz#b8edd99f072cd652acbbddc1c539b1ac4254381d"
|
||||
integrity sha512-O8CwgSBo6ewPpktFfSDgB6SJN9XDcPSvuwxfejiddbIC/hn9Tg6Ai0f0eYDf3XvB/+PIWzOQL+7+TZoB8p9Yuw==
|
||||
|
||||
"@rollup/rollup-linux-ppc64-gnu@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.46.0.tgz#e231fd7c5a7b18dbef04a0f93f6b7618a8e73282"
|
||||
integrity sha512-wJaRvcT17PoOK6Ggcfo3nouFlybHvARBS4jzT0PC/lg17fIJHcDS2fZz3sD+iA4nRlho2zE6OGbU0HvwATdokQ==
|
||||
"@rollup/rollup-linux-ppc64-gnu@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.46.1.tgz#0ec72a4f8b7a86b13c0f6b7666ed1d3b6e8e67cc"
|
||||
integrity sha512-JnCfFVEKeq6G3h3z8e60kAp8Rd7QVnWCtPm7cxx+5OtP80g/3nmPtfdCXbVl063e3KsRnGSKDHUQMydmzc/wBA==
|
||||
|
||||
"@rollup/rollup-linux-riscv64-gnu@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.46.0.tgz#e4ef1760ee218cad43f441a7bb59b6131664197d"
|
||||
integrity sha512-GZ5bkMFteAGkcmh8x0Ok4LSa+L62Ez0tMsHPX6JtR0wl4Xc3bQcrFHDiR5DGLEDFtGrXih4Nd/UDaFqs968/wA==
|
||||
"@rollup/rollup-linux-riscv64-gnu@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.46.1.tgz#99f06928528fb58addd12e50827e1a0269c1cca8"
|
||||
integrity sha512-dVxuDqS237eQXkbYzQQfdf/njgeNw6LZuVyEdUaWwRpKHhsLI+y4H/NJV8xJGU19vnOJCVwaBFgr936FHOnJsQ==
|
||||
|
||||
"@rollup/rollup-linux-riscv64-musl@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.46.0.tgz#dc49cb69aee50a7135b486a5db8f47146f465f5d"
|
||||
integrity sha512-7CjPw6FflFsVOUfWOrVrREiV3IYXG4RzZ1ZQUaT3BtSK8YXN6x286o+sruPZJESIaPebYuFowmg54ZdrkVBYog==
|
||||
"@rollup/rollup-linux-riscv64-musl@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.46.1.tgz#3c14aba63b4170fe3d9d0b6ad98361366170590e"
|
||||
integrity sha512-CvvgNl2hrZrTR9jXK1ye0Go0HQRT6ohQdDfWR47/KFKiLd5oN5T14jRdUVGF4tnsN8y9oSfMOqH6RuHh+ck8+w==
|
||||
|
||||
"@rollup/rollup-linux-s390x-gnu@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.46.0.tgz#467c43e7c39ee519c9c76d6f75fc22c0b095768e"
|
||||
integrity sha512-nmvnl0ZiuysltcB/cKjUh40Rx4FbSyueERDsl2FLvLYr6pCgSsvGr3SocUT84svSpmloS7f1DRWqtRha74Gi1w==
|
||||
"@rollup/rollup-linux-s390x-gnu@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.46.1.tgz#34c647a823dcdca0f749a2bdcbde4fb131f37a4c"
|
||||
integrity sha512-x7ANt2VOg2565oGHJ6rIuuAon+A8sfe1IeUx25IKqi49OjSr/K3awoNqr9gCwGEJo9OuXlOn+H2p1VJKx1psxA==
|
||||
|
||||
"@rollup/rollup-linux-x64-gnu@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.46.0.tgz#f094a39afaa12c26e08338a2b5d6bd63cc63ec9a"
|
||||
integrity sha512-Cv+moII5C8RM6gZbR3cb21o6rquVDZrN2o81maROg1LFzBz2dZUwIQSxFA8GtGZ/F2KtsqQ2z3eFPBb6akvQNg==
|
||||
"@rollup/rollup-linux-x64-gnu@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.46.1.tgz#3991010418c005e8791c415e7c2072b247157710"
|
||||
integrity sha512-9OADZYryz/7E8/qt0vnaHQgmia2Y0wrjSSn1V/uL+zw/i7NUhxbX4cHXdEQ7dnJgzYDS81d8+tf6nbIdRFZQoQ==
|
||||
|
||||
"@rollup/rollup-linux-x64-musl@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.46.0.tgz#173ddb452911847fc2ec8387f410378fcf88a951"
|
||||
integrity sha512-PHcMG8DZTM9RCIjp8QIfN0VYtX0TtBPnWOTRurFhoCDoi9zptUZL2k7pCs+5rgut7JAiUsYy+huyhVKPcmxoog==
|
||||
"@rollup/rollup-linux-x64-musl@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.46.1.tgz#f3943e5f284f40ffbcf4a14da9ee2e43d303b462"
|
||||
integrity sha512-NuvSCbXEKY+NGWHyivzbjSVJi68Xfq1VnIvGmsuXs6TCtveeoDRKutI5vf2ntmNnVq64Q4zInet0UDQ+yMB6tA==
|
||||
|
||||
"@rollup/rollup-win32-arm64-msvc@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.46.0.tgz#91a1b3199aedc5cd51004b21f6c465d3cf74d5d0"
|
||||
integrity sha512-1SI/Rd47e8aQJeFWMDg16ET+fjvCcD/CzeaRmIEPmb05hx+3cCcwIF4ebUag4yTt/D1peE+Mgp0+Po3M358cAA==
|
||||
"@rollup/rollup-win32-arm64-msvc@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.46.1.tgz#45b5a1d3f0af63f85044913c371d7b0519c913ad"
|
||||
integrity sha512-mWz+6FSRb82xuUMMV1X3NGiaPFqbLN9aIueHleTZCc46cJvwTlvIh7reQLk4p97dv0nddyewBhwzryBHH7wtPw==
|
||||
|
||||
"@rollup/rollup-win32-ia32-msvc@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.46.0.tgz#da901027ad9753faa93412ed3fd9e6cacb6c8659"
|
||||
integrity sha512-JwOCYxmumFDfDhx4kNyz6kTVK3gWzBIvVdMNzQMRDubcoGRDniOOmo6DDNP42qwZx3Bp9/6vWJ+kNzNqXoHmeA==
|
||||
"@rollup/rollup-win32-ia32-msvc@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.46.1.tgz#900ef7211d2929e9809f3a044c4e2fd3aa685a0c"
|
||||
integrity sha512-7Thzy9TMXDw9AU4f4vsLNBxh7/VOKuXi73VH3d/kHGr0tZ3x/ewgL9uC7ojUKmH1/zvmZe2tLapYcZllk3SO8Q==
|
||||
|
||||
"@rollup/rollup-win32-x64-msvc@4.46.0":
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.0.tgz#a45b0f6f45c86e355a85ba3c753bf0f59541c2c7"
|
||||
integrity sha512-IPMIfrfkG1GaEXi+JSsQEx8x9b4b+hRZXO7KYc2pKio3zO2/VDXDs6B9Ts/nnO+25Fk1tdAVtUn60HKKPPzDig==
|
||||
"@rollup/rollup-win32-x64-msvc@4.46.1":
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.1.tgz#932d8696dfef673bee1a1e291a5531d25a6903be"
|
||||
integrity sha512-7GVB4luhFmGUNXXJhH2jJwZCFB3pIOixv2E3s17GQHBFUOQaISlt7aGcQgqvCaDSxTZJUzlK/QJ1FN8S94MrzQ==
|
||||
|
||||
"@sindresorhus/is@^7.0.2":
|
||||
version "7.0.2"
|
||||
@ -2441,14 +2441,14 @@
|
||||
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.18.tgz#529f24a88d3ed678d50fd5c07455841fbe8ac95e"
|
||||
integrity sha512-cZy8Dq+uuIXbxCZpuLd2GJdeSO/lIzIspC2WtkqIpje5QyFbvLaI5wZtdUjLHjGZrlVX6GilejatWwVYYRc8tA==
|
||||
|
||||
"@vueuse/core@13.5.0", "@vueuse/core@^13.1.0", "@vueuse/core@^13.4.0":
|
||||
version "13.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-13.5.0.tgz#1136d3db088945d7b7a2397170737d5a3e557b36"
|
||||
integrity sha512-wV7z0eUpifKmvmN78UBZX8T7lMW53Nrk6JP5+6hbzrB9+cJ3jr//hUlhl9TZO/03bUkMK6gGkQpqOPWoabr72g==
|
||||
"@vueuse/core@13.6.0", "@vueuse/core@^13.1.0", "@vueuse/core@^13.4.0":
|
||||
version "13.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-13.6.0.tgz#4137f63dc4cef2ff8ae74ee146d6b6070d707878"
|
||||
integrity sha512-DJbD5fV86muVmBgS9QQPddVX7d9hWYswzlf4bIyUD2dj8GC46R1uNClZhVAmsdVts4xb2jwp1PbpuiA50Qee1A==
|
||||
dependencies:
|
||||
"@types/web-bluetooth" "^0.0.21"
|
||||
"@vueuse/metadata" "13.5.0"
|
||||
"@vueuse/shared" "13.5.0"
|
||||
"@vueuse/metadata" "13.6.0"
|
||||
"@vueuse/shared" "13.6.0"
|
||||
|
||||
"@vueuse/core@^10.8.0":
|
||||
version "10.11.1"
|
||||
@ -2471,12 +2471,12 @@
|
||||
vue "^3.5.13"
|
||||
|
||||
"@vueuse/integrations@^13.4.0":
|
||||
version "13.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/integrations/-/integrations-13.5.0.tgz#5a5802bfcd757e84878bedb734d2d30d080ce0c2"
|
||||
integrity sha512-7RACJySnlpl0MkSzxbtadioNGSX4TL5/Wl2cUy4nDq/XkeHwPYvVM880HJUSiap/FXhVEup9VKTM9y/n5UspAw==
|
||||
version "13.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/integrations/-/integrations-13.6.0.tgz#8fca948a90b1063e4f35d26a83cf6b699633fbfc"
|
||||
integrity sha512-dVFdgwYvkYjdizRL3ESdUW+Hg84i9Yhuzs+Ec3kEcuzJmT5xhiL/IGdw4z394qSBngUQvFi+wbHwhHX3EGbAxQ==
|
||||
dependencies:
|
||||
"@vueuse/core" "13.5.0"
|
||||
"@vueuse/shared" "13.5.0"
|
||||
"@vueuse/core" "13.6.0"
|
||||
"@vueuse/shared" "13.6.0"
|
||||
|
||||
"@vueuse/metadata@10.11.1":
|
||||
version "10.11.1"
|
||||
@ -2488,10 +2488,10 @@
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-12.8.2.tgz#6cb3a4e97cdcf528329eebc1bda73cd7f64318d3"
|
||||
integrity sha512-rAyLGEuoBJ/Il5AmFHiziCPdQzRt88VxR+Y/A/QhJ1EWtWqPBBAxTAFaSkviwEuOEZNtW8pvkPgoCZQ+HxqW1A==
|
||||
|
||||
"@vueuse/metadata@13.5.0":
|
||||
version "13.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-13.5.0.tgz#18c24a32489b0a4fb9d7436efc048e836bfc4799"
|
||||
integrity sha512-euhItU3b0SqXxSy8u1XHxUCdQ8M++bsRs+TYhOLDU/OykS7KvJnyIFfep0XM5WjIFry9uAPlVSjmVHiqeshmkw==
|
||||
"@vueuse/metadata@13.6.0":
|
||||
version "13.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-13.6.0.tgz#49196025c96c7daeb591c20a54b61cc336af99b6"
|
||||
integrity sha512-rnIH7JvU7NjrpexTsl2Iwv0V0yAx9cw7+clymjKuLSXG0QMcLD0LDgdNmXic+qL0SGvgSVPEpM9IDO/wqo1vkQ==
|
||||
|
||||
"@vueuse/shared@10.11.1":
|
||||
version "10.11.1"
|
||||
@ -2507,10 +2507,10 @@
|
||||
dependencies:
|
||||
vue "^3.5.13"
|
||||
|
||||
"@vueuse/shared@13.5.0":
|
||||
version "13.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-13.5.0.tgz#c36e3e0eafca9c3b92356ccef139db0df7d9905e"
|
||||
integrity sha512-K7GrQIxJ/ANtucxIXbQlUHdB0TPA8c+q5i+zbrjxuhJCnJ9GtBg75sBSnvmLSxHKPg2Yo8w62PWksl9kwH0Q8g==
|
||||
"@vueuse/shared@13.6.0":
|
||||
version "13.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-13.6.0.tgz#872fdbd725fb4e3a12bd5aab85af9a5db0b1e481"
|
||||
integrity sha512-pDykCSoS2T3fsQrYqf9SyF0QXWHmcGPQ+qiOVjlYSzlWd9dgppB2bFSM1GgKKkt7uzn0BBMV3IbJsUfHG2+BCg==
|
||||
|
||||
"@whatwg-node/disposablestack@^0.0.6":
|
||||
version "0.0.6"
|
||||
@ -2529,9 +2529,9 @@
|
||||
urlpattern-polyfill "^10.0.0"
|
||||
|
||||
"@whatwg-node/node-fetch@^0.7.22":
|
||||
version "0.7.22"
|
||||
resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.7.22.tgz#9f56970ce0abd2a2680e5d22cff0ea871eeb4f85"
|
||||
integrity sha512-h4GGjGF2vH3kGJ/fEOeg9Xfu4ncoyRwFcjGIxr/5dTBgZNVwq888byIsZ+XXRDJnNnRlzVVVQDcqrZpY2yctGA==
|
||||
version "0.7.23"
|
||||
resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.7.23.tgz#d579f3aa1713b4125cd79676625a3d116c7d73e1"
|
||||
integrity sha512-irRAL+SrSlpegGrNekr+VM8xnJmOu7HeGqf2l8eKWKybtwQ9mQ+RjbIZHAFlq0Xqz17mg4tVIaL1C0U6VcZVqg==
|
||||
dependencies:
|
||||
"@fastify/busboy" "^3.1.1"
|
||||
"@whatwg-node/disposablestack" "^0.0.6"
|
||||
@ -4059,9 +4059,9 @@ eslint-plugin-jsonc@^2.20.1:
|
||||
synckit "^0.6.2 || ^0.7.3 || ^0.11.5"
|
||||
|
||||
eslint-plugin-n@^17.21.0:
|
||||
version "17.21.2"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.21.2.tgz#eba404bf818ea41ed2ebd12a75050a6f1a6137dc"
|
||||
integrity sha512-s3ai4Msfk5mbSvOgCkYo6k5+zP3W/OK+AvLmMmx++Ki4a5CPO7luIDwOnjUZm/t+oZYP0YADTxe+u4JqnT8+Dg==
|
||||
version "17.21.3"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.21.3.tgz#a07592c28390ac742bf52acae89048c997a7b91c"
|
||||
integrity sha512-MtxYjDZhMQgsWRm/4xYLL0i2EhusWT7itDxlJ80l1NND2AL2Vi5Mvneqv/ikG9+zpran0VsVRXTEHrpLmUZRNw==
|
||||
dependencies:
|
||||
"@eslint-community/eslint-utils" "^4.5.0"
|
||||
enhanced-resolve "^5.17.1"
|
||||
@ -5295,12 +5295,12 @@ lambda-local@^2.2.0:
|
||||
winston "^3.10.0"
|
||||
|
||||
launch-editor@^2.10.0:
|
||||
version "2.10.0"
|
||||
resolved "https://registry.yarnpkg.com/launch-editor/-/launch-editor-2.10.0.tgz#5ca3edfcb9667df1e8721310f3a40f1127d4bc42"
|
||||
integrity sha512-D7dBRJo/qcGX9xlvt/6wUYzQxjh5G1RvZPgPv8vi4KRU99DVQL/oW7tnVOCCTm2HGeo3C5HvGE5Yrh6UBoZ0vA==
|
||||
version "2.11.0"
|
||||
resolved "https://registry.yarnpkg.com/launch-editor/-/launch-editor-2.11.0.tgz#1ec15b3ed249b04763453661a9785428b38d5b33"
|
||||
integrity sha512-R/PIF14L6e2eHkhvQPu7jDRCr0msfCYCxbYiLgkkAGi0dVPWuM+RrsPu0a5dpuNe0KWGL3jpAkOlv53xGfPheQ==
|
||||
dependencies:
|
||||
picocolors "^1.0.0"
|
||||
shell-quote "^1.8.1"
|
||||
picocolors "^1.1.1"
|
||||
shell-quote "^1.8.3"
|
||||
|
||||
lazystream@^1.0.0:
|
||||
version "1.0.1"
|
||||
@ -7478,32 +7478,32 @@ rollup-plugin-visualizer@^6.0.3:
|
||||
yargs "^17.5.1"
|
||||
|
||||
rollup@^4.34.9, rollup@^4.40.0, rollup@^4.45.0:
|
||||
version "4.46.0"
|
||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.46.0.tgz#f8b74becb74d26a703ae0ef737ff465a1feb9447"
|
||||
integrity sha512-ONmkT3Ud3IfW15nl7l4qAZko5/2iZ5ALVBDh02ZSZ5IGVLJSYkRcRa3iB58VyEIyoofs9m2xdVrm+lTi97+3pw==
|
||||
version "4.46.1"
|
||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.46.1.tgz#287d07ef0ea17950b348b027c634a9544a1a375f"
|
||||
integrity sha512-33xGNBsDJAkzt0PvninskHlWnTIPgDtTwhg0U38CUoNP/7H6wI2Cz6dUeoNPbjdTdsYTGuiFFASuUOWovH0SyQ==
|
||||
dependencies:
|
||||
"@types/estree" "1.0.8"
|
||||
optionalDependencies:
|
||||
"@rollup/rollup-android-arm-eabi" "4.46.0"
|
||||
"@rollup/rollup-android-arm64" "4.46.0"
|
||||
"@rollup/rollup-darwin-arm64" "4.46.0"
|
||||
"@rollup/rollup-darwin-x64" "4.46.0"
|
||||
"@rollup/rollup-freebsd-arm64" "4.46.0"
|
||||
"@rollup/rollup-freebsd-x64" "4.46.0"
|
||||
"@rollup/rollup-linux-arm-gnueabihf" "4.46.0"
|
||||
"@rollup/rollup-linux-arm-musleabihf" "4.46.0"
|
||||
"@rollup/rollup-linux-arm64-gnu" "4.46.0"
|
||||
"@rollup/rollup-linux-arm64-musl" "4.46.0"
|
||||
"@rollup/rollup-linux-loongarch64-gnu" "4.46.0"
|
||||
"@rollup/rollup-linux-ppc64-gnu" "4.46.0"
|
||||
"@rollup/rollup-linux-riscv64-gnu" "4.46.0"
|
||||
"@rollup/rollup-linux-riscv64-musl" "4.46.0"
|
||||
"@rollup/rollup-linux-s390x-gnu" "4.46.0"
|
||||
"@rollup/rollup-linux-x64-gnu" "4.46.0"
|
||||
"@rollup/rollup-linux-x64-musl" "4.46.0"
|
||||
"@rollup/rollup-win32-arm64-msvc" "4.46.0"
|
||||
"@rollup/rollup-win32-ia32-msvc" "4.46.0"
|
||||
"@rollup/rollup-win32-x64-msvc" "4.46.0"
|
||||
"@rollup/rollup-android-arm-eabi" "4.46.1"
|
||||
"@rollup/rollup-android-arm64" "4.46.1"
|
||||
"@rollup/rollup-darwin-arm64" "4.46.1"
|
||||
"@rollup/rollup-darwin-x64" "4.46.1"
|
||||
"@rollup/rollup-freebsd-arm64" "4.46.1"
|
||||
"@rollup/rollup-freebsd-x64" "4.46.1"
|
||||
"@rollup/rollup-linux-arm-gnueabihf" "4.46.1"
|
||||
"@rollup/rollup-linux-arm-musleabihf" "4.46.1"
|
||||
"@rollup/rollup-linux-arm64-gnu" "4.46.1"
|
||||
"@rollup/rollup-linux-arm64-musl" "4.46.1"
|
||||
"@rollup/rollup-linux-loongarch64-gnu" "4.46.1"
|
||||
"@rollup/rollup-linux-ppc64-gnu" "4.46.1"
|
||||
"@rollup/rollup-linux-riscv64-gnu" "4.46.1"
|
||||
"@rollup/rollup-linux-riscv64-musl" "4.46.1"
|
||||
"@rollup/rollup-linux-s390x-gnu" "4.46.1"
|
||||
"@rollup/rollup-linux-x64-gnu" "4.46.1"
|
||||
"@rollup/rollup-linux-x64-musl" "4.46.1"
|
||||
"@rollup/rollup-win32-arm64-msvc" "4.46.1"
|
||||
"@rollup/rollup-win32-ia32-msvc" "4.46.1"
|
||||
"@rollup/rollup-win32-x64-msvc" "4.46.1"
|
||||
fsevents "~2.3.2"
|
||||
|
||||
run-applescript@^7.0.0:
|
||||
@ -7645,7 +7645,7 @@ shebang-regex@^3.0.0:
|
||||
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
|
||||
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
||||
|
||||
shell-quote@^1.8.1:
|
||||
shell-quote@^1.8.3:
|
||||
version "1.8.3"
|
||||
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.3.tgz#55e40ef33cf5c689902353a3d8cd1a6725f08b4b"
|
||||
integrity sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==
|
||||
@ -8760,11 +8760,11 @@ vscode-uri@^3.1.0:
|
||||
integrity sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==
|
||||
|
||||
vue-bundle-renderer@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/vue-bundle-renderer/-/vue-bundle-renderer-2.1.1.tgz#77147f96d865729828b3a5dff2bccffa8370dde9"
|
||||
integrity sha512-+qALLI5cQncuetYOXp4yScwYvqh8c6SMXee3B+M7oTZxOgtESP0l4j/fXdEJoZ+EdMxkGWIj+aSEyjXkOdmd7g==
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/vue-bundle-renderer/-/vue-bundle-renderer-2.1.2.tgz#f2b26c56c0ac1f84f7385b0d7b4079a87f29858a"
|
||||
integrity sha512-M4WRBO/O/7G9phGaGH9AOwOnYtY9ZpPoDVpBpRzR2jO5rFL9mgIlQIgums2ljCTC2HL1jDXFQc//CzWcAQHgAw==
|
||||
dependencies:
|
||||
ufo "^1.5.4"
|
||||
ufo "^1.6.1"
|
||||
|
||||
vue-component-type-helpers@^2.2.10:
|
||||
version "2.2.12"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user