From 8937d5ade8cdcd566a1dc2f9a2f3e1ceda5090ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:16:15 +0100 Subject: [PATCH 01/15] add vue package --- README.md | 8 +- package.json | 4 +- packages/core/package.json | 4 +- packages/core/src/index.ts | 4 + packages/vue/package.json | 69 +++++++ packages/vue/src/composables/_parent.ts | 28 +++ packages/vue/src/composables/collapse.ts | 11 ++ packages/vue/src/composables/drag.ts | 11 ++ packages/vue/src/composables/drilldown.ts | 11 ++ packages/vue/src/composables/dropdown.ts | 11 ++ packages/vue/src/composables/marquee.ts | 11 ++ packages/vue/src/index.ts | 13 ++ packages/vue/src/vite-env.d.ts | 8 + packages/vue/tsconfig.json | 23 +++ packages/vue/vite.config.ts | 34 ++++ pnpm-lock.yaml | 226 +++++++++++++--------- 16 files changed, 371 insertions(+), 105 deletions(-) create mode 100644 packages/vue/package.json create mode 100644 packages/vue/src/composables/_parent.ts create mode 100644 packages/vue/src/composables/collapse.ts create mode 100644 packages/vue/src/composables/drag.ts create mode 100644 packages/vue/src/composables/drilldown.ts create mode 100644 packages/vue/src/composables/dropdown.ts create mode 100644 packages/vue/src/composables/marquee.ts create mode 100644 packages/vue/src/index.ts create mode 100644 packages/vue/src/vite-env.d.ts create mode 100644 packages/vue/tsconfig.json create mode 100644 packages/vue/vite.config.ts diff --git a/README.md b/README.md index be3c56d..fa2c5d8 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ pnpm add -D compotes
- - -> Vue 3/Nuxt 3 packages will arrive soon stay tuned! +
--> ## 🙋‍♂️ Why ? diff --git a/package.json b/package.json index 1826113..382d955 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@compotes/root", "type": "module", - "version": "0.9.2", + "version": "0.10.0", "private": "true", "packageManager": "pnpm@8.15.2", "description": "Components library focused on accessibility/customization", @@ -47,7 +47,7 @@ "eslint": "^8.56.0", "playwright": "^1.41.2", "typescript": "^5.3.3", - "vite": "^5.1.2", + "vite": "^5.1.3", "vitepress": "1.0.0-rc.42", "vitest": "^1.2.2", "vue": "^3.4.19", diff --git a/packages/core/package.json b/packages/core/package.json index 9a72333..7d526f2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,8 +1,8 @@ { "name": "compotes", "type": "module", - "version": "0.9.2", - "packageManager": "pnpm@8.15.1", + "version": "0.10.0", + "packageManager": "pnpm@8.15.2", "description": "Components library focused on accessibility/customization", "author": "Applelo", "license": "MIT", diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 8e007f7..898c23a 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -3,6 +3,8 @@ import type { DragOptions } from './components/drag' import type { DrilldownOptions } from './components/drilldown' import type { DropdownOptions } from './components/dropdown' import type { MarqueeOptions } from './components/marquee' +import type { ParentOptions } from './components/_parent' +import type Parent from './components/_parent' import Collapse from './components/collapse' import Drag from './components/drag' import Drilldown from './components/drilldown' @@ -19,6 +21,8 @@ export type { DrilldownOptions, DropdownOptions, MarqueeOptions, + Parent, + ParentOptions, } export { diff --git a/packages/vue/package.json b/packages/vue/package.json new file mode 100644 index 0000000..6cd2055 --- /dev/null +++ b/packages/vue/package.json @@ -0,0 +1,69 @@ +{ + "name": "@compotes/vue", + "type": "module", + "version": "0.10.0", + "packageManager": "pnpm@8.15.2", + "description": "Components library focused on accessibility/customization", + "author": "Applelo", + "license": "MIT", + "homepage": "https://github.com/Applelo/blottie", + "repository": { + "type": "git", + "url": "https://github.com/Applelo/blottie" + }, + "bugs": "https://github.com/Applelo/blottie/issues", + "keywords": [ + "components", + "accessible", + "accessibility", + "customize", + "component", + "vanilla", + "typescript", + "typings" + ], + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/compotes.js" + }, + "require": { + "types": "./dist/index.d.ts", + "default": "./dist/compotes.umd.cjs" + } + } + }, + "main": "./dist/compotes.umd.cjs", + "module": "./dist/compotes.js", + "types": "./dist/compotes.d.ts", + "files": [ + "dist" + ], + "engines": { + "node": ">=16" + }, + "scripts": { + "dev": "vite build --watch", + "build": "vite build && vue-tsc --emitDeclarationOnly", + "lint": "eslint .", + "lint:fix": "eslint . --fix", + "prepublishOnly": "pnpm build" + }, + "peerDependencies": { + "vue": ">=3.0.0" + }, + "dependencies": { + "compotes": "workspace:*" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^5.0.4", + "typescript": "^5.3.3", + "vite": "^5.1.3", + "vue": "^3.4.19", + "vue-tsc": "^1.8.27" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/packages/vue/src/composables/_parent.ts b/packages/vue/src/composables/_parent.ts new file mode 100644 index 0000000..4dc0808 --- /dev/null +++ b/packages/vue/src/composables/_parent.ts @@ -0,0 +1,28 @@ +import type { Parent, ParentOptions } from 'compotes' +import type { Ref, ShallowRef } from 'vue' +import { onMounted, onUnmounted, onUpdated, shallowRef } from 'vue' + +export function useParent( + ComponentClass: new (el: HTMLElement, options: ParentOptions) => T, + el: Ref, + options: ParentOptions = {}, +) { + const component: ShallowRef = shallowRef(null) + + const init = () => { + if (!el.value) + return + component.value = new ComponentClass(el.value, options) + } + + onMounted(() => init()) + + onUpdated(() => { + component.value?.destroy() + init() + }) + + onUnmounted(() => component.value?.destroy()) + + return component +} diff --git a/packages/vue/src/composables/collapse.ts b/packages/vue/src/composables/collapse.ts new file mode 100644 index 0000000..1ba5999 --- /dev/null +++ b/packages/vue/src/composables/collapse.ts @@ -0,0 +1,11 @@ +import type { CollapseOptions } from 'compotes' +import { Collapse } from 'compotes' +import type { Ref } from 'vue' +import { useParent } from './_parent' + +export function useCollapse( + el: Ref, + options?: CollapseOptions, +) { + return useParent(Collapse, el, options) +} diff --git a/packages/vue/src/composables/drag.ts b/packages/vue/src/composables/drag.ts new file mode 100644 index 0000000..c93243b --- /dev/null +++ b/packages/vue/src/composables/drag.ts @@ -0,0 +1,11 @@ +import type { DragOptions } from 'compotes' +import { Drag } from 'compotes' +import type { Ref } from 'vue' +import { useParent } from './_parent' + +export function useDrag( + el: Ref, + options?: DragOptions, +) { + return useParent(Drag, el, options) +} diff --git a/packages/vue/src/composables/drilldown.ts b/packages/vue/src/composables/drilldown.ts new file mode 100644 index 0000000..a649e75 --- /dev/null +++ b/packages/vue/src/composables/drilldown.ts @@ -0,0 +1,11 @@ +import type { DrilldownOptions } from 'compotes' +import { Drilldown } from 'compotes' +import type { Ref } from 'vue' +import { useParent } from './_parent' + +export function useDrilldown( + el: Ref, + options?: DrilldownOptions, +) { + return useParent(Drilldown, el, options) +} diff --git a/packages/vue/src/composables/dropdown.ts b/packages/vue/src/composables/dropdown.ts new file mode 100644 index 0000000..7d6b61c --- /dev/null +++ b/packages/vue/src/composables/dropdown.ts @@ -0,0 +1,11 @@ +import type { DropdownOptions } from 'compotes' +import { Dropdown } from 'compotes' +import type { Ref } from 'vue' +import { useParent } from './_parent' + +export function useDropdown( + el: Ref, + options?: DropdownOptions, +) { + return useParent(Dropdown, el, options) +} diff --git a/packages/vue/src/composables/marquee.ts b/packages/vue/src/composables/marquee.ts new file mode 100644 index 0000000..ff7e941 --- /dev/null +++ b/packages/vue/src/composables/marquee.ts @@ -0,0 +1,11 @@ +import type { MarqueeOptions } from 'compotes' +import { Marquee } from 'compotes' +import type { Ref } from 'vue' +import { useParent } from './_parent' + +export function useMarquee( + el: Ref, + options?: MarqueeOptions, +) { + return useParent(Marquee, el, options) +} diff --git a/packages/vue/src/index.ts b/packages/vue/src/index.ts new file mode 100644 index 0000000..8230d4e --- /dev/null +++ b/packages/vue/src/index.ts @@ -0,0 +1,13 @@ +import { useDrag } from '@/composables/drag' +import { useDrilldown } from '@/composables/drilldown' +import { useDropdown } from '@/composables/dropdown' +import { useMarquee } from '@/composables/marquee' +import { useCollapse } from '@/composables/collapse' + +export { + useCollapse, + useDrag, + useDrilldown, + useDropdown, + useMarquee, +} diff --git a/packages/vue/src/vite-env.d.ts b/packages/vue/src/vite-env.d.ts new file mode 100644 index 0000000..fd9010a --- /dev/null +++ b/packages/vue/src/vite-env.d.ts @@ -0,0 +1,8 @@ +/// + +declare module '*.vue' { + import type { defineComponent } from 'vue' + + const Component: ReturnType + export default Component +} diff --git a/packages/vue/tsconfig.json b/packages/vue/tsconfig.json new file mode 100644 index 0000000..c188387 --- /dev/null +++ b/packages/vue/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "esnext", + "jsx": "preserve", + "lib": ["esnext", "dom"], + "useDefineForClassFields": true, + "baseUrl": "src", + "module": "esnext", + "moduleResolution": "node", + "paths": { + "@/*": ["*"] + }, + "resolveJsonModule": true, + "strict": true, + "declaration": true, + "outDir": "dist", + "sourceMap": true, + "esModuleInterop": true, + "isolatedModules": true, + "skipLibCheck": true + }, + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.vue"] +} diff --git a/packages/vue/vite.config.ts b/packages/vue/vite.config.ts new file mode 100644 index 0000000..35a3b0e --- /dev/null +++ b/packages/vue/vite.config.ts @@ -0,0 +1,34 @@ +import { resolve } from 'node:path' +import { URL, fileURLToPath } from 'node:url' +import vue from '@vitejs/plugin-vue' +import { defineConfig } from 'vite' + +// https://vitejs.dev/config/ +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, 'src/index.ts'), + name: 'compotes', + fileName: 'compotes', + }, + rollupOptions: { + // make sure to externalize deps that shouldn't be bundled + // into your library + external: ['vue', 'compotes'], + output: { + // Provide global variables to use in the UMD build + // for externalized deps + globals: { + vue: 'Vue', + compotes: 'compotes', + }, + }, + }, + }, + plugins: [vue()], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)), + }, + }, +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b0a83c..00ad58a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.2 - version: 5.1.2(@types/node@20.11.17)(lightningcss@1.23.0) + specifier: ^5.1.3 + version: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) vitepress: specifier: 1.0.0-rc.42 version: 1.0.0-rc.42(@algolia/client-search@4.22.1)(search-insights@2.13.0)(typescript@5.3.3) @@ -44,7 +44,7 @@ importers: devDependencies: '@types/node': specifier: ^20.11.17 - version: 20.11.17 + version: 20.11.19 fast-glob: specifier: ^3.3.2 version: 3.3.2 @@ -56,10 +56,32 @@ importers: version: 5.3.3 vite: specifier: ^5.1.2 - version: 5.1.2(@types/node@20.11.17)(lightningcss@1.23.0) + version: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) vite-plugin-dts: specifier: ^3.7.2 - version: 3.7.2(@types/node@20.11.17)(typescript@5.3.3)(vite@5.1.2) + version: 3.7.2(@types/node@20.11.19)(typescript@5.3.3)(vite@5.1.3) + + packages/vue: + dependencies: + compotes: + specifier: workspace:* + version: link:../core + devDependencies: + '@vitejs/plugin-vue': + specifier: ^5.0.4 + version: 5.0.4(vite@5.1.3)(vue@3.4.19) + typescript: + specifier: ^5.3.3 + version: 5.3.3 + vite: + specifier: ^5.1.3 + version: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) + vue: + specifier: ^3.4.19 + version: 3.4.19(typescript@5.3.3) + vue-tsc: + specifier: ^1.8.27 + version: 1.8.27(typescript@5.3.3) packages: @@ -235,7 +257,7 @@ packages: '@eslint-types/jsdoc': 46.8.2-1 '@eslint-types/typescript-eslint': 6.21.0 '@eslint-types/unicorn': 50.0.1 - '@stylistic/eslint-plugin': 1.6.1(eslint@8.56.0)(typescript@5.3.3) + '@stylistic/eslint-plugin': 1.6.2(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 @@ -672,24 +694,24 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.17): + /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.19): resolution: {integrity: sha512-wT/kB2oDbdZXITyDh2SQLzaWwTOFbV326fP0pUwNW00WeliARs0qjmXBWmGWardEzp2U3/axkO3Lboqun6vrig==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.11.17) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.19) transitivePeerDependencies: - '@types/node' dev: true - /@microsoft/api-extractor@7.39.0(@types/node@20.11.17): + /@microsoft/api-extractor@7.39.0(@types/node@20.11.19): resolution: {integrity: sha512-PuXxzadgnvp+wdeZFPonssRAj/EW4Gm4s75TXzPk09h3wJ8RS3x7typf95B4vwZRrPTQBGopdUl+/vHvlPdAcg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.28.3(@types/node@20.11.17) + '@microsoft/api-extractor-model': 7.28.3(@types/node@20.11.19) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.11.17) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.19) '@rushstack/rig-package': 0.5.1 '@rushstack/ts-command-line': 4.17.1 colors: 1.2.5 @@ -750,111 +772,111 @@ packages: picomatch: 2.3.1 dev: true - /@rollup/rollup-android-arm-eabi@4.10.0: - resolution: {integrity: sha512-/MeDQmcD96nVoRumKUljsYOLqfv1YFJps+0pTrb2Z9Nl/w5qNUysMaWQsrd1mvAlNT4yza1iVyIu4Q4AgF6V3A==} + /@rollup/rollup-android-arm-eabi@4.11.0: + resolution: {integrity: sha512-BV+u2QSfK3i1o6FucqJh5IK9cjAU6icjFFhvknzFgu472jzl0bBojfDAkJLBEsHFMo+YZg6rthBvBBt8z12IBQ==} cpu: [arm] os: [android] requiresBuild: true dev: true optional: true - /@rollup/rollup-android-arm64@4.10.0: - resolution: {integrity: sha512-lvu0jK97mZDJdpZKDnZI93I0Om8lSDaiPx3OiCk0RXn3E8CMPJNS/wxjAvSJJzhhZpfjXsjLWL8LnS6qET4VNQ==} + /@rollup/rollup-android-arm64@4.11.0: + resolution: {integrity: sha512-0ij3iw7sT5jbcdXofWO2NqDNjSVVsf6itcAkV2I6Xsq4+6wjW1A8rViVB67TfBEan7PV2kbLzT8rhOVWLI2YXw==} cpu: [arm64] os: [android] requiresBuild: true dev: true optional: true - /@rollup/rollup-darwin-arm64@4.10.0: - resolution: {integrity: sha512-uFpayx8I8tyOvDkD7X6n0PriDRWxcqEjqgtlxnUA/G9oS93ur9aZ8c8BEpzFmsed1TH5WZNG5IONB8IiW90TQg==} + /@rollup/rollup-darwin-arm64@4.11.0: + resolution: {integrity: sha512-yPLs6RbbBMupArf6qv1UDk6dzZvlH66z6NLYEwqTU0VHtss1wkI4UYeeMS7TVj5QRVvaNAWYKP0TD/MOeZ76Zg==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /@rollup/rollup-darwin-x64@4.10.0: - resolution: {integrity: sha512-nIdCX03qFKoR/MwQegQBK+qZoSpO3LESurVAC6s6jazLA1Mpmgzo3Nj3H1vydXp/JM29bkCiuF7tDuToj4+U9Q==} + /@rollup/rollup-darwin-x64@4.11.0: + resolution: {integrity: sha512-OvqIgwaGAwnASzXaZEeoJY3RltOFg+WUbdkdfoluh2iqatd090UeOG3A/h0wNZmE93dDew9tAtXgm3/+U/B6bw==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.10.0: - resolution: {integrity: sha512-Fz7a+y5sYhYZMQFRkOyCs4PLhICAnxRX/GnWYReaAoruUzuRtcf+Qnw+T0CoAWbHCuz2gBUwmWnUgQ67fb3FYw==} + /@rollup/rollup-linux-arm-gnueabihf@4.11.0: + resolution: {integrity: sha512-X17s4hZK3QbRmdAuLd2EE+qwwxL8JxyVupEqAkxKPa/IgX49ZO+vf0ka69gIKsaYeo6c1CuwY3k8trfDtZ9dFg==} cpu: [arm] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.10.0: - resolution: {integrity: sha512-yPtF9jIix88orwfTi0lJiqINnlWo6p93MtZEoaehZnmCzEmLL0eqjA3eGVeyQhMtxdV+Mlsgfwhh0+M/k1/V7Q==} + /@rollup/rollup-linux-arm64-gnu@4.11.0: + resolution: {integrity: sha512-673Lu9EJwxVB9NfYeA4AdNu0FOHz7g9t6N1DmT7bZPn1u6bTF+oZjj+fuxUcrfxWXE0r2jxl5QYMa9cUOj9NFg==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm64-musl@4.10.0: - resolution: {integrity: sha512-9GW9yA30ib+vfFiwjX+N7PnjTnCMiUffhWj4vkG4ukYv1kJ4T9gHNg8zw+ChsOccM27G9yXrEtMScf1LaCuoWQ==} + /@rollup/rollup-linux-arm64-musl@4.11.0: + resolution: {integrity: sha512-yFW2msTAQNpPJaMmh2NpRalr1KXI7ZUjlN6dY/FhWlOclMrZezm5GIhy3cP4Ts2rIAC+IPLAjNibjp1BsxCVGg==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.10.0: - resolution: {integrity: sha512-X1ES+V4bMq2ws5fF4zHornxebNxMXye0ZZjUrzOrf7UMx1d6wMQtfcchZ8SqUnQPPHdOyOLW6fTcUiFgHFadRA==} + /@rollup/rollup-linux-riscv64-gnu@4.11.0: + resolution: {integrity: sha512-kKT9XIuhbvYgiA3cPAGntvrBgzhWkGpBMzuk1V12Xuoqg7CI41chye4HU0vLJnGf9MiZzfNh4I7StPeOzOWJfA==} cpu: [riscv64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-x64-gnu@4.10.0: - resolution: {integrity: sha512-w/5OpT2EnI/Xvypw4FIhV34jmNqU5PZjZue2l2Y3ty1Ootm3SqhI+AmfhlUYGBTd9JnpneZCDnt3uNOiOBkMyw==} + /@rollup/rollup-linux-x64-gnu@4.11.0: + resolution: {integrity: sha512-6q4ESWlyTO+erp1PSCmASac+ixaDv11dBk1fqyIuvIUc/CmRAX2Zk+2qK1FGo5q7kyDcjHCFVwgGFCGIZGVwCA==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-x64-musl@4.10.0: - resolution: {integrity: sha512-q/meftEe3QlwQiGYxD9rWwB21DoKQ9Q8wA40of/of6yGHhZuGfZO0c3WYkN9dNlopHlNT3mf5BPsUSxoPuVQaw==} + /@rollup/rollup-linux-x64-musl@4.11.0: + resolution: {integrity: sha512-vIAQUmXeMLmaDN78HSE4Kh6xqof2e3TJUKr+LPqXWU4NYNON0MDN9h2+t4KHrPAQNmU3w1GxBQ/n01PaWFwa5w==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.10.0: - resolution: {integrity: sha512-NrR6667wlUfP0BHaEIKgYM/2va+Oj+RjZSASbBMnszM9k+1AmliRjHc3lJIiOehtSSjqYiO7R6KLNrWOX+YNSQ==} + /@rollup/rollup-win32-arm64-msvc@4.11.0: + resolution: {integrity: sha512-LVXo9dDTGPr0nezMdqa1hK4JeoMZ02nstUxGYY/sMIDtTYlli1ZxTXBYAz3vzuuvKO4X6NBETciIh7N9+abT1g==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.10.0: - resolution: {integrity: sha512-FV0Tpt84LPYDduIDcXvEC7HKtyXxdvhdAOvOeWMWbQNulxViH2O07QXkT/FffX4FqEI02jEbCJbr+YcuKdyyMg==} + /@rollup/rollup-win32-ia32-msvc@4.11.0: + resolution: {integrity: sha512-xZVt6K70Gr3I7nUhug2dN6VRR1ibot3rXqXS3wo+8JP64t7djc3lBFyqO4GiVrhNaAIhUCJtwQ/20dr0h0thmQ==} cpu: [ia32] os: [win32] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-x64-msvc@4.10.0: - resolution: {integrity: sha512-OZoJd+o5TaTSQeFFQ6WjFCiltiYVjIdsXxwu/XZ8qRpsvMQr4UsVrE5UyT9RIvsnuF47DqkJKhhVZ2Q9YW9IpQ==} + /@rollup/rollup-win32-x64-msvc@4.11.0: + resolution: {integrity: sha512-f3I7h9oTg79UitEco9/2bzwdciYkWr8pITs3meSDSlr1TdvQ7IxkQaaYN2YqZXX5uZhiYL+VuYDmHwNzhx+HOg==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /@rushstack/node-core-library@3.62.0(@types/node@20.11.17): + /@rushstack/node-core-library@3.62.0(@types/node@20.11.19): resolution: {integrity: sha512-88aJn2h8UpSvdwuDXBv1/v1heM6GnBf3RjEy6ZPP7UnzHNCqOHA2Ut+ScYUbXcqIdfew9JlTAe3g+cnX9xQ/Aw==} peerDependencies: '@types/node': '*' @@ -862,7 +884,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 20.11.17 + '@types/node': 20.11.19 colors: 1.2.5 fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -902,12 +924,13 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@stylistic/eslint-plugin-js@1.6.1(eslint@8.56.0): - resolution: {integrity: sha512-gHRxkbA5p8S1fnChE7Yf5NFltRZCzbCuQOcoTe93PSKBC4GqVjZmlWUSLz9pJKHvDAUTjWkfttWHIOaFYPEhRQ==} + /@stylistic/eslint-plugin-js@1.6.2(eslint@8.56.0): + resolution: {integrity: sha512-ndT6X2KgWGxv8101pdMOxL8pihlYIHcOv3ICd70cgaJ9exwkPn8hJj4YQwslxoAlre1TFHnXd/G1/hYXgDrjIA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: + '@types/eslint': 8.56.2 acorn: 8.11.3 escape-string-regexp: 4.0.0 eslint: 8.56.0 @@ -915,23 +938,25 @@ packages: espree: 9.6.1 dev: true - /@stylistic/eslint-plugin-jsx@1.6.1(eslint@8.56.0): - resolution: {integrity: sha512-uJQcg3iqrhm3EH15ZjxmZ1YmXXexkLKFEgxkWA3RYjgAVTx8k7xGJwClK/JnjKDGdbFRiDQPjxt964R1vsaFaQ==} + /@stylistic/eslint-plugin-jsx@1.6.2(eslint@8.56.0): + resolution: {integrity: sha512-hbbouazSJbHD/fshBIOLh9JgtSphKNoTCfHLSNBjAkXLK+GR4i2jhEZZF9P0mtXrNuy2WWInmpq/g0pfWBmSBA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.1(eslint@8.56.0) + '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.56.0) + '@types/eslint': 8.56.2 eslint: 8.56.0 estraverse: 5.3.0 - picomatch: 3.0.1 + picomatch: 4.0.1 dev: true - /@stylistic/eslint-plugin-plus@1.6.1(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-nYIXfdYN+pBVmm0vPCKQFg/IK35tf3ZGz+0WENUL6ww1+jKM6/i36FalRFculiHzO+wOpJ3/yXWJC3PCbwGFZQ==} + /@stylistic/eslint-plugin-plus@1.6.2(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-EDMwa6gzKw4bXRqdIAUvZDfIgwotbjJs8o+vYE22chAYtVAnA0Pcq+cPx0Uk35t2gvJWb5OaLDjqA6oy1tD0jg==} peerDependencies: eslint: '*' dependencies: + '@types/eslint': 8.56.2 '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 transitivePeerDependencies: @@ -939,13 +964,14 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin-ts@1.6.1(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-eZxrFaLhPJVUQmtsRXKiuzSou0nlHevKc1WsfhxUJ9p8juv3G3YlbbGeYg4AP1fNlEmWs/lZQAP2WfzQOdBNvQ==} + /@stylistic/eslint-plugin-ts@1.6.2(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-FizV58em0OjO/xFHRIy/LJJVqzxCNmYC/xVtKDf8aGDRgZpLo+lkaBKfBrbMkAGzhBKbYj+iLEFI4WEl6aVZGQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.1(eslint@8.56.0) + '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.56.0) + '@types/eslint': 8.56.2 '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 transitivePeerDependencies: @@ -953,16 +979,17 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin@1.6.1(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-De7Sw86OtIf7SsMgjLCf4bTeI3085Plyh4l0Rg1V42BTFo/Q6Pz7Cbu31rEk/UHFiEna/YO8Hxj80jFP3ObrQw==} + /@stylistic/eslint-plugin@1.6.2(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-EFnVcKOE5HTiMlVwisL9hHjz8a69yBbJRscWF/z+/vl6M4ew8NVrBlY8ea7KdV8QtyCY4Yapmsbg5ZDfhWlEgg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.1(eslint@8.56.0) - '@stylistic/eslint-plugin-jsx': 1.6.1(eslint@8.56.0) - '@stylistic/eslint-plugin-plus': 1.6.1(eslint@8.56.0)(typescript@5.3.3) - '@stylistic/eslint-plugin-ts': 1.6.1(eslint@8.56.0)(typescript@5.3.3) + '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.56.0) + '@stylistic/eslint-plugin-jsx': 1.6.2(eslint@8.56.0) + '@stylistic/eslint-plugin-plus': 1.6.2(eslint@8.56.0)(typescript@5.3.3) + '@stylistic/eslint-plugin-ts': 1.6.2(eslint@8.56.0)(typescript@5.3.3) + '@types/eslint': 8.56.2 eslint: 8.56.0 transitivePeerDependencies: - supports-color @@ -973,6 +1000,13 @@ packages: resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} dev: true + /@types/eslint@8.56.2: + resolution: {integrity: sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==} + dependencies: + '@types/estree': 1.0.5 + '@types/json-schema': 7.0.15 + dev: true + /@types/estree@1.0.5: resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} dev: true @@ -1002,8 +1036,8 @@ packages: resolution: {integrity: sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==} dev: true - /@types/node@20.11.17: - resolution: {integrity: sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==} + /@types/node@20.11.19: + resolution: {integrity: sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==} dependencies: undici-types: 5.26.5 dev: true @@ -1160,14 +1194,14 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-vue@5.0.4(vite@5.1.2)(vue@3.4.19): + /@vitejs/plugin-vue@5.0.4(vite@5.1.3)(vue@3.4.19): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.1.2(@types/node@20.11.17)(lightningcss@1.23.0) + vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) vue: 3.4.19(typescript@5.3.3) dev: true @@ -1553,7 +1587,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001587 - electron-to-chromium: 1.4.669 + electron-to-chromium: 1.4.671 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -1786,8 +1820,8 @@ packages: esutils: 2.0.3 dev: true - /electron-to-chromium@1.4.669: - resolution: {integrity: sha512-E2SmpffFPrZhBSgf8ibqanRS2mpuk3FIRDzLDwt7WFpfgJMKDHJs0hmacyP0PS1cWsq0dVkwIIzlscNaterkPg==} + /electron-to-chromium@1.4.671: + resolution: {integrity: sha512-UUlE+/rWbydmp+FW8xlnnTA5WNA0ZZd2XL8CuMS72rh+k4y1f8+z6yk3UQhEwqHQWj6IBdL78DwWOdGMvYfQyA==} dev: true /emoji-regex@8.0.0: @@ -3228,9 +3262,9 @@ packages: engines: {node: '>=8.6'} dev: true - /picomatch@3.0.1: - resolution: {integrity: sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==} - engines: {node: '>=10'} + /picomatch@4.0.1: + resolution: {integrity: sha512-xUXwsxNjwTQ8K3GnT4pCJm+xq3RUPQbmkYJTP5aFIfNIvbcc/4MUxgBaaRSZJ6yGJZiGSyYlM6MzwTsRk8SYCg==} + engines: {node: '>=12'} dev: true /pkg-types@1.0.3: @@ -3395,26 +3429,26 @@ packages: glob: 7.2.3 dev: true - /rollup@4.10.0: - resolution: {integrity: sha512-t2v9G2AKxcQ8yrG+WGxctBes1AomT0M4ND7jTFBCVPXQ/WFTvNSefIrNSmLKhIKBrvN8SG+CZslimJcT3W2u2g==} + /rollup@4.11.0: + resolution: {integrity: sha512-2xIbaXDXjf3u2tajvA5xROpib7eegJ9Y/uPlSFhXLNpK9ampCczXAhLEb5yLzJyG3LAdI1NWtNjDXiLyniNdjQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.10.0 - '@rollup/rollup-android-arm64': 4.10.0 - '@rollup/rollup-darwin-arm64': 4.10.0 - '@rollup/rollup-darwin-x64': 4.10.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.10.0 - '@rollup/rollup-linux-arm64-gnu': 4.10.0 - '@rollup/rollup-linux-arm64-musl': 4.10.0 - '@rollup/rollup-linux-riscv64-gnu': 4.10.0 - '@rollup/rollup-linux-x64-gnu': 4.10.0 - '@rollup/rollup-linux-x64-musl': 4.10.0 - '@rollup/rollup-win32-arm64-msvc': 4.10.0 - '@rollup/rollup-win32-ia32-msvc': 4.10.0 - '@rollup/rollup-win32-x64-msvc': 4.10.0 + '@rollup/rollup-android-arm-eabi': 4.11.0 + '@rollup/rollup-android-arm64': 4.11.0 + '@rollup/rollup-darwin-arm64': 4.11.0 + '@rollup/rollup-darwin-x64': 4.11.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.11.0 + '@rollup/rollup-linux-arm64-gnu': 4.11.0 + '@rollup/rollup-linux-arm64-musl': 4.11.0 + '@rollup/rollup-linux-riscv64-gnu': 4.11.0 + '@rollup/rollup-linux-x64-gnu': 4.11.0 + '@rollup/rollup-linux-x64-musl': 4.11.0 + '@rollup/rollup-win32-arm64-msvc': 4.11.0 + '@rollup/rollup-win32-ia32-msvc': 4.11.0 + '@rollup/rollup-win32-x64-msvc': 4.11.0 fsevents: 2.3.3 dev: true @@ -3502,21 +3536,21 @@ packages: spdx-license-ids: 3.0.17 dev: true - /spdx-exceptions@2.4.0: - resolution: {integrity: sha512-hcjppoJ68fhxA/cjbN4T8N6uCUejN8yFw69ttpqtBeCbF3u13n7mb31NB9jKwGTTWWnt9IbRA/mf1FprYS8wfw==} + /spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} dev: true /spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: - spdx-exceptions: 2.4.0 + spdx-exceptions: 2.5.0 spdx-license-ids: 3.0.17 dev: true /spdx-expression-parse@4.0.0: resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==} dependencies: - spdx-exceptions: 2.4.0 + spdx-exceptions: 2.5.0 spdx-license-ids: 3.0.17 dev: true @@ -3763,7 +3797,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.1.2(@types/node@20.11.17)(lightningcss@1.23.0) + vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) transitivePeerDependencies: - '@types/node' - less @@ -3775,7 +3809,7 @@ packages: - terser dev: true - /vite-plugin-dts@3.7.2(@types/node@20.11.17)(typescript@5.3.3)(vite@5.1.2): + /vite-plugin-dts@3.7.2(@types/node@20.11.19)(typescript@5.3.3)(vite@5.1.3): resolution: {integrity: sha512-kg//1nDA01b8rufJf4TsvYN8LMkdwv0oBYpiQi6nRwpHyue+wTlhrBiqgipdFpMnW1oOYv6ywmzE5B0vg6vSEA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3785,13 +3819,13 @@ packages: vite: optional: true dependencies: - '@microsoft/api-extractor': 7.39.0(@types/node@20.11.17) + '@microsoft/api-extractor': 7.39.0(@types/node@20.11.19) '@rollup/pluginutils': 5.1.0 '@vue/language-core': 1.8.27(typescript@5.3.3) debug: 4.3.4 kolorist: 1.8.0 typescript: 5.3.3 - vite: 5.1.2(@types/node@20.11.17)(lightningcss@1.23.0) + vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) vue-tsc: 1.8.27(typescript@5.3.3) transitivePeerDependencies: - '@types/node' @@ -3799,8 +3833,8 @@ packages: - supports-color dev: true - /vite@5.1.2(@types/node@20.11.17)(lightningcss@1.23.0): - resolution: {integrity: sha512-uwiFebQbTWRIGbCaTEBVAfKqgqKNKMJ2uPXsXeLIZxM8MVMjoS3j0cG8NrPxdDIadaWnPSjrkLWffLSC+uiP3Q==} + /vite@5.1.3(@types/node@20.11.19)(lightningcss@1.23.0): + resolution: {integrity: sha512-UfmUD36DKkqhi/F75RrxvPpry+9+tTkrXfMNZD+SboZqBCMsxKtO52XeGzzuh7ioz+Eo/SYDBbdb0Z7vgcDJew==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -3827,11 +3861,11 @@ packages: terser: optional: true dependencies: - '@types/node': 20.11.17 + '@types/node': 20.11.19 esbuild: 0.19.12 lightningcss: 1.23.0 postcss: 8.4.35 - rollup: 4.10.0 + rollup: 4.11.0 optionalDependencies: fsevents: 2.3.3 dev: true @@ -3853,7 +3887,7 @@ packages: '@shikijs/core': 1.1.2 '@shikijs/transformers': 1.1.2 '@types/markdown-it': 13.0.7 - '@vitejs/plugin-vue': 5.0.4(vite@5.1.2)(vue@3.4.19) + '@vitejs/plugin-vue': 5.0.4(vite@5.1.3)(vue@3.4.19) '@vue/devtools-api': 7.0.14 '@vueuse/core': 10.7.2(vue@3.4.19) '@vueuse/integrations': 10.7.2(focus-trap@7.5.4)(vue@3.4.19) @@ -3861,7 +3895,7 @@ packages: mark.js: 8.11.1 minisearch: 6.3.0 shiki: 1.1.2 - vite: 5.1.2(@types/node@20.11.17)(lightningcss@1.23.0) + vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) vue: 3.4.19(typescript@5.3.3) transitivePeerDependencies: - '@algolia/client-search' @@ -3934,7 +3968,7 @@ packages: strip-literal: 1.3.0 tinybench: 2.6.0 tinypool: 0.8.2 - vite: 5.1.2(@types/node@20.11.17)(lightningcss@1.23.0) + vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) vite-node: 1.2.2 why-is-node-running: 2.2.2 transitivePeerDependencies: From 87bd3b282485546236352b604cf8111240f59720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:19:54 +0100 Subject: [PATCH 02/15] update dependencies --- package.json | 12 +- packages/core/package.json | 8 +- packages/vue/package.json | 4 +- pnpm-lock.yaml | 832 +++++++++++++++++++------------------ 4 files changed, 430 insertions(+), 426 deletions(-) diff --git a/package.json b/package.json index 382d955..581c29d 100644 --- a/package.json +++ b/package.json @@ -44,13 +44,13 @@ }, "devDependencies": { "@antfu/eslint-config": "2.6.4", - "eslint": "^8.56.0", - "playwright": "^1.41.2", + "eslint": "^8.57.0", + "playwright": "^1.42.0", "typescript": "^5.3.3", - "vite": "^5.1.3", - "vitepress": "1.0.0-rc.42", - "vitest": "^1.2.2", - "vue": "^3.4.19", + "vite": "^5.1.4", + "vitepress": "1.0.0-rc.44", + "vitest": "^1.3.1", + "vue": "^3.4.21", "vue-tsc": "^1.8.27" } } diff --git a/packages/core/package.json b/packages/core/package.json index 7d526f2..c98752e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -66,11 +66,11 @@ "tabbable": "^6.2.0" }, "devDependencies": { - "@types/node": "^20.11.17", + "@types/node": "^20.11.22", "fast-glob": "^3.3.2", - "lightningcss": "^1.23.0", + "lightningcss": "^1.24.0", "typescript": "^5.3.3", - "vite": "^5.1.2", - "vite-plugin-dts": "^3.7.2" + "vite": "^5.1.4", + "vite-plugin-dts": "^3.7.3" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 6cd2055..4353a71 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -59,8 +59,8 @@ "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "typescript": "^5.3.3", - "vite": "^5.1.3", - "vue": "^3.4.19", + "vite": "^5.1.4", + "vue": "^3.4.21", "vue-tsc": "^1.8.27" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00ad58a..e934d26 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,28 +10,28 @@ importers: devDependencies: '@antfu/eslint-config': specifier: 2.6.4 - version: 2.6.4(@vue/compiler-sfc@3.4.19)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.2.2) + version: 2.6.4(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) eslint: - specifier: ^8.56.0 - version: 8.56.0 + specifier: ^8.57.0 + version: 8.57.0 playwright: - specifier: ^1.41.2 - version: 1.41.2 + specifier: ^1.42.0 + version: 1.42.0 typescript: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.3 - version: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) + specifier: ^5.1.4 + version: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) vitepress: - specifier: 1.0.0-rc.42 - version: 1.0.0-rc.42(@algolia/client-search@4.22.1)(search-insights@2.13.0)(typescript@5.3.3) + specifier: 1.0.0-rc.44 + version: 1.0.0-rc.44(@algolia/client-search@4.22.1)(search-insights@2.13.0)(typescript@5.3.3) vitest: - specifier: ^1.2.2 - version: 1.2.2 + specifier: ^1.3.1 + version: 1.3.1 vue: - specifier: ^3.4.19 - version: 3.4.19(typescript@5.3.3) + specifier: ^3.4.21 + version: 3.4.21(typescript@5.3.3) vue-tsc: specifier: ^1.8.27 version: 1.8.27(typescript@5.3.3) @@ -43,23 +43,23 @@ importers: version: 6.2.0 devDependencies: '@types/node': - specifier: ^20.11.17 - version: 20.11.19 + specifier: ^20.11.22 + version: 20.11.22 fast-glob: specifier: ^3.3.2 version: 3.3.2 lightningcss: - specifier: ^1.23.0 - version: 1.23.0 + specifier: ^1.24.0 + version: 1.24.0 typescript: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.2 - version: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) + specifier: ^5.1.4 + version: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) vite-plugin-dts: - specifier: ^3.7.2 - version: 3.7.2(@types/node@20.11.19)(typescript@5.3.3)(vite@5.1.3) + specifier: ^3.7.3 + version: 3.7.3(@types/node@20.11.22)(typescript@5.3.3)(vite@5.1.4) packages/vue: dependencies: @@ -69,16 +69,16 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.1.3)(vue@3.4.19) + version: 5.0.4(vite@5.1.4)(vue@3.4.21) typescript: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.3 - version: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) + specifier: ^5.1.4 + version: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) vue: - specifier: ^3.4.19 - version: 3.4.19(typescript@5.3.3) + specifier: ^3.4.21 + version: 3.4.21(typescript@5.3.3) vue-tsc: specifier: ^1.8.27 version: 1.8.27(typescript@5.3.3) @@ -224,7 +224,7 @@ packages: '@algolia/requester-common': 4.22.1 dev: true - /@antfu/eslint-config@2.6.4(@vue/compiler-sfc@3.4.19)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.2.2): + /@antfu/eslint-config@2.6.4(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): resolution: {integrity: sha512-dMD/QC5KWS1OltdpKLhfZM7W7y7zils85opk8d4lyNr7yn0OFjZs7eMYtcC6DrrN2kQ1JrFvBM7uB0QdWn5PUQ==} hasBin: true peerDependencies: @@ -257,28 +257,28 @@ packages: '@eslint-types/jsdoc': 46.8.2-1 '@eslint-types/typescript-eslint': 6.21.0 '@eslint-types/unicorn': 50.0.1 - '@stylistic/eslint-plugin': 1.6.2(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@stylistic/eslint-plugin': 1.6.2(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 eslint-config-flat-gitignore: 0.1.3 - eslint-merge-processors: 0.1.0(eslint@8.56.0) - eslint-plugin-antfu: 2.1.2(eslint@8.56.0) - eslint-plugin-eslint-comments: 3.2.0(eslint@8.56.0) - eslint-plugin-i: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) - eslint-plugin-jsdoc: 48.1.0(eslint@8.56.0) - eslint-plugin-jsonc: 2.13.0(eslint@8.56.0) - eslint-plugin-markdown: 3.0.1(eslint@8.56.0) - eslint-plugin-n: 16.6.2(eslint@8.56.0) + eslint-merge-processors: 0.1.0(eslint@8.57.0) + eslint-plugin-antfu: 2.1.2(eslint@8.57.0) + eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) + eslint-plugin-i: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0) + eslint-plugin-jsdoc: 48.2.0(eslint@8.57.0) + eslint-plugin-jsonc: 2.13.0(eslint@8.57.0) + eslint-plugin-markdown: 3.0.1(eslint@8.57.0) + eslint-plugin-n: 16.6.2(eslint@8.57.0) eslint-plugin-no-only-tests: 3.1.0 - eslint-plugin-perfectionist: 2.5.0(eslint@8.56.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2) - eslint-plugin-toml: 0.9.2(eslint@8.56.0) - eslint-plugin-unicorn: 50.0.1(eslint@8.56.0) - eslint-plugin-unused-imports: 3.1.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0) - eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.2.2) - eslint-plugin-vue: 9.21.1(eslint@8.56.0) - eslint-plugin-yml: 1.12.2(eslint@8.56.0) - eslint-processor-vue-blocks: 0.1.1(@vue/compiler-sfc@3.4.19)(eslint@8.56.0) + eslint-plugin-perfectionist: 2.5.0(eslint@8.57.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2) + eslint-plugin-toml: 0.9.2(eslint@8.57.0) + eslint-plugin-unicorn: 50.0.1(eslint@8.57.0) + eslint-plugin-unused-imports: 3.1.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0) + eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) + eslint-plugin-vue: 9.22.0(eslint@8.57.0) + eslint-plugin-yml: 1.12.2(eslint@8.57.0) + eslint-processor-vue-blocks: 0.1.1(@vue/compiler-sfc@3.4.21)(eslint@8.57.0) globals: 13.24.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 @@ -286,7 +286,7 @@ packages: picocolors: 1.0.0 prompts: 2.4.2 toml-eslint-parser: 0.9.3 - vue-eslint-parser: 9.4.2(eslint@8.56.0) + vue-eslint-parser: 9.4.2(eslint@8.57.0) yaml-eslint-parser: 1.2.2 yargs: 17.7.2 transitivePeerDependencies: @@ -338,16 +338,16 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser@7.23.9: - resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==} + /@babel/parser@7.24.0: + resolution: {integrity: sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==} engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true - /@babel/types@7.23.9: - resolution: {integrity: sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==} + /@babel/types@7.24.0: + resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.23.4 @@ -363,7 +363,7 @@ packages: resolution: {integrity: sha512-p1YFTCDflk8ieHgFJYfmyHBki1D61+U9idwrLh+GQQMrBSP3DLGKpy0XUJtPjAOPltcVbqsTjiPFfH7JImjUNg==} dependencies: '@docsearch/react': 3.5.2(@algolia/client-search@4.22.1)(search-insights@2.13.0) - preact: 10.19.4 + preact: 10.19.6 transitivePeerDependencies: - '@algolia/client-search' - '@types/react' @@ -614,13 +614,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.56.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.56.0 + eslint: 8.57.0 eslint-visitor-keys: 3.4.3 dev: true @@ -658,8 +658,8 @@ packages: - supports-color dev: true - /@eslint/js@8.56.0: - resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} + /@eslint/js@8.57.0: + resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -694,24 +694,24 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.19): + /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.22): resolution: {integrity: sha512-wT/kB2oDbdZXITyDh2SQLzaWwTOFbV326fP0pUwNW00WeliARs0qjmXBWmGWardEzp2U3/axkO3Lboqun6vrig==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.11.19) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.22) transitivePeerDependencies: - '@types/node' dev: true - /@microsoft/api-extractor@7.39.0(@types/node@20.11.19): + /@microsoft/api-extractor@7.39.0(@types/node@20.11.22): resolution: {integrity: sha512-PuXxzadgnvp+wdeZFPonssRAj/EW4Gm4s75TXzPk09h3wJ8RS3x7typf95B4vwZRrPTQBGopdUl+/vHvlPdAcg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.28.3(@types/node@20.11.19) + '@microsoft/api-extractor-model': 7.28.3(@types/node@20.11.22) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.11.19) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.22) '@rushstack/rig-package': 0.5.1 '@rushstack/ts-command-line': 4.17.1 colors: 1.2.5 @@ -772,111 +772,111 @@ packages: picomatch: 2.3.1 dev: true - /@rollup/rollup-android-arm-eabi@4.11.0: - resolution: {integrity: sha512-BV+u2QSfK3i1o6FucqJh5IK9cjAU6icjFFhvknzFgu472jzl0bBojfDAkJLBEsHFMo+YZg6rthBvBBt8z12IBQ==} + /@rollup/rollup-android-arm-eabi@4.12.0: + resolution: {integrity: sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w==} cpu: [arm] os: [android] requiresBuild: true dev: true optional: true - /@rollup/rollup-android-arm64@4.11.0: - resolution: {integrity: sha512-0ij3iw7sT5jbcdXofWO2NqDNjSVVsf6itcAkV2I6Xsq4+6wjW1A8rViVB67TfBEan7PV2kbLzT8rhOVWLI2YXw==} + /@rollup/rollup-android-arm64@4.12.0: + resolution: {integrity: sha512-OBqcX2BMe6nvjQ0Nyp7cC90cnumt8PXmO7Dp3gfAju/6YwG0Tj74z1vKrfRz7qAv23nBcYM8BCbhrsWqO7PzQQ==} cpu: [arm64] os: [android] requiresBuild: true dev: true optional: true - /@rollup/rollup-darwin-arm64@4.11.0: - resolution: {integrity: sha512-yPLs6RbbBMupArf6qv1UDk6dzZvlH66z6NLYEwqTU0VHtss1wkI4UYeeMS7TVj5QRVvaNAWYKP0TD/MOeZ76Zg==} + /@rollup/rollup-darwin-arm64@4.12.0: + resolution: {integrity: sha512-X64tZd8dRE/QTrBIEs63kaOBG0b5GVEd3ccoLtyf6IdXtHdh8h+I56C2yC3PtC9Ucnv0CpNFJLqKFVgCYe0lOQ==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /@rollup/rollup-darwin-x64@4.11.0: - resolution: {integrity: sha512-OvqIgwaGAwnASzXaZEeoJY3RltOFg+WUbdkdfoluh2iqatd090UeOG3A/h0wNZmE93dDew9tAtXgm3/+U/B6bw==} + /@rollup/rollup-darwin-x64@4.12.0: + resolution: {integrity: sha512-cc71KUZoVbUJmGP2cOuiZ9HSOP14AzBAThn3OU+9LcA1+IUqswJyR1cAJj3Mg55HbjZP6OLAIscbQsQLrpgTOg==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.11.0: - resolution: {integrity: sha512-X17s4hZK3QbRmdAuLd2EE+qwwxL8JxyVupEqAkxKPa/IgX49ZO+vf0ka69gIKsaYeo6c1CuwY3k8trfDtZ9dFg==} + /@rollup/rollup-linux-arm-gnueabihf@4.12.0: + resolution: {integrity: sha512-a6w/Y3hyyO6GlpKL2xJ4IOh/7d+APaqLYdMf86xnczU3nurFTaVN9s9jOXQg97BE4nYm/7Ga51rjec5nfRdrvA==} cpu: [arm] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.11.0: - resolution: {integrity: sha512-673Lu9EJwxVB9NfYeA4AdNu0FOHz7g9t6N1DmT7bZPn1u6bTF+oZjj+fuxUcrfxWXE0r2jxl5QYMa9cUOj9NFg==} + /@rollup/rollup-linux-arm64-gnu@4.12.0: + resolution: {integrity: sha512-0fZBq27b+D7Ar5CQMofVN8sggOVhEtzFUwOwPppQt0k+VR+7UHMZZY4y+64WJ06XOhBTKXtQB/Sv0NwQMXyNAA==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-arm64-musl@4.11.0: - resolution: {integrity: sha512-yFW2msTAQNpPJaMmh2NpRalr1KXI7ZUjlN6dY/FhWlOclMrZezm5GIhy3cP4Ts2rIAC+IPLAjNibjp1BsxCVGg==} + /@rollup/rollup-linux-arm64-musl@4.12.0: + resolution: {integrity: sha512-eTvzUS3hhhlgeAv6bfigekzWZjaEX9xP9HhxB0Dvrdbkk5w/b+1Sxct2ZuDxNJKzsRStSq1EaEkVSEe7A7ipgQ==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.11.0: - resolution: {integrity: sha512-kKT9XIuhbvYgiA3cPAGntvrBgzhWkGpBMzuk1V12Xuoqg7CI41chye4HU0vLJnGf9MiZzfNh4I7StPeOzOWJfA==} + /@rollup/rollup-linux-riscv64-gnu@4.12.0: + resolution: {integrity: sha512-ix+qAB9qmrCRiaO71VFfY8rkiAZJL8zQRXveS27HS+pKdjwUfEhqo2+YF2oI+H/22Xsiski+qqwIBxVewLK7sw==} cpu: [riscv64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-x64-gnu@4.11.0: - resolution: {integrity: sha512-6q4ESWlyTO+erp1PSCmASac+ixaDv11dBk1fqyIuvIUc/CmRAX2Zk+2qK1FGo5q7kyDcjHCFVwgGFCGIZGVwCA==} + /@rollup/rollup-linux-x64-gnu@4.12.0: + resolution: {integrity: sha512-TenQhZVOtw/3qKOPa7d+QgkeM6xY0LtwzR8OplmyL5LrgTWIXpTQg2Q2ycBf8jm+SFW2Wt/DTn1gf7nFp3ssVA==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-linux-x64-musl@4.11.0: - resolution: {integrity: sha512-vIAQUmXeMLmaDN78HSE4Kh6xqof2e3TJUKr+LPqXWU4NYNON0MDN9h2+t4KHrPAQNmU3w1GxBQ/n01PaWFwa5w==} + /@rollup/rollup-linux-x64-musl@4.12.0: + resolution: {integrity: sha512-LfFdRhNnW0zdMvdCb5FNuWlls2WbbSridJvxOvYWgSBOYZtgBfW9UGNJG//rwMqTX1xQE9BAodvMH9tAusKDUw==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.11.0: - resolution: {integrity: sha512-LVXo9dDTGPr0nezMdqa1hK4JeoMZ02nstUxGYY/sMIDtTYlli1ZxTXBYAz3vzuuvKO4X6NBETciIh7N9+abT1g==} + /@rollup/rollup-win32-arm64-msvc@4.12.0: + resolution: {integrity: sha512-JPDxovheWNp6d7AHCgsUlkuCKvtu3RB55iNEkaQcf0ttsDU/JZF+iQnYcQJSk/7PtT4mjjVG8N1kpwnI9SLYaw==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.11.0: - resolution: {integrity: sha512-xZVt6K70Gr3I7nUhug2dN6VRR1ibot3rXqXS3wo+8JP64t7djc3lBFyqO4GiVrhNaAIhUCJtwQ/20dr0h0thmQ==} + /@rollup/rollup-win32-ia32-msvc@4.12.0: + resolution: {integrity: sha512-fjtuvMWRGJn1oZacG8IPnzIV6GF2/XG+h71FKn76OYFqySXInJtseAqdprVTDTyqPxQOG9Exak5/E9Z3+EJ8ZA==} cpu: [ia32] os: [win32] requiresBuild: true dev: true optional: true - /@rollup/rollup-win32-x64-msvc@4.11.0: - resolution: {integrity: sha512-f3I7h9oTg79UitEco9/2bzwdciYkWr8pITs3meSDSlr1TdvQ7IxkQaaYN2YqZXX5uZhiYL+VuYDmHwNzhx+HOg==} + /@rollup/rollup-win32-x64-msvc@4.12.0: + resolution: {integrity: sha512-ZYmr5mS2wd4Dew/JjT0Fqi2NPB/ZhZ2VvPp7SmvPZb4Y1CG/LRcS6tcRo2cYU7zLK5A7cdbhWnnWmUjoI4qapg==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /@rushstack/node-core-library@3.62.0(@types/node@20.11.19): + /@rushstack/node-core-library@3.62.0(@types/node@20.11.22): resolution: {integrity: sha512-88aJn2h8UpSvdwuDXBv1/v1heM6GnBf3RjEy6ZPP7UnzHNCqOHA2Ut+ScYUbXcqIdfew9JlTAe3g+cnX9xQ/Aw==} peerDependencies: '@types/node': '*' @@ -884,7 +884,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 20.11.19 + '@types/node': 20.11.22 colors: 1.2.5 fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -910,87 +910,87 @@ packages: string-argv: 0.3.2 dev: true - /@shikijs/core@1.1.2: - resolution: {integrity: sha512-ERVzNQz88ZkDqUpWeC57Kp+Kmx5RjqeDBR1M8AGWGom4yrkITiTfXCGmjchlDSw12MhDTuPYR4HVFW8uT61RaQ==} + /@shikijs/core@1.1.7: + resolution: {integrity: sha512-gTYLUIuD1UbZp/11qozD3fWpUTuMqPSf3svDMMrL0UmlGU7D9dPw/V1FonwAorCUJBltaaESxq90jrSjQyGixg==} dev: true - /@shikijs/transformers@1.1.2: - resolution: {integrity: sha512-tldkUMW7RBkU2F6eXbiRMw3ja+hQer1EjwhD2NGOv6K0pgZdVp3JKjU8uisRtg65tyBqrVHq7zlLHVk7EKmUZA==} + /@shikijs/transformers@1.1.7: + resolution: {integrity: sha512-lXz011ao4+rvweps/9h3CchBfzb1U5OtP5D51Tqc9lQYdLblWMIxQxH6Ybe1GeGINcEVM4goMyPrI0JvlIp4UQ==} dependencies: - shiki: 1.1.2 + shiki: 1.1.7 dev: true /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@stylistic/eslint-plugin-js@1.6.2(eslint@8.56.0): + /@stylistic/eslint-plugin-js@1.6.2(eslint@8.57.0): resolution: {integrity: sha512-ndT6X2KgWGxv8101pdMOxL8pihlYIHcOv3ICd70cgaJ9exwkPn8hJj4YQwslxoAlre1TFHnXd/G1/hYXgDrjIA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@types/eslint': 8.56.2 + '@types/eslint': 8.56.4 acorn: 8.11.3 escape-string-regexp: 4.0.0 - eslint: 8.56.0 + eslint: 8.57.0 eslint-visitor-keys: 3.4.3 espree: 9.6.1 dev: true - /@stylistic/eslint-plugin-jsx@1.6.2(eslint@8.56.0): + /@stylistic/eslint-plugin-jsx@1.6.2(eslint@8.57.0): resolution: {integrity: sha512-hbbouazSJbHD/fshBIOLh9JgtSphKNoTCfHLSNBjAkXLK+GR4i2jhEZZF9P0mtXrNuy2WWInmpq/g0pfWBmSBA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.56.0) - '@types/eslint': 8.56.2 - eslint: 8.56.0 + '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.57.0) + '@types/eslint': 8.56.4 + eslint: 8.57.0 estraverse: 5.3.0 picomatch: 4.0.1 dev: true - /@stylistic/eslint-plugin-plus@1.6.2(eslint@8.56.0)(typescript@5.3.3): + /@stylistic/eslint-plugin-plus@1.6.2(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-EDMwa6gzKw4bXRqdIAUvZDfIgwotbjJs8o+vYE22chAYtVAnA0Pcq+cPx0Uk35t2gvJWb5OaLDjqA6oy1tD0jg==} peerDependencies: eslint: '*' dependencies: - '@types/eslint': 8.56.2 - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@types/eslint': 8.56.4 + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@stylistic/eslint-plugin-ts@1.6.2(eslint@8.56.0)(typescript@5.3.3): + /@stylistic/eslint-plugin-ts@1.6.2(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-FizV58em0OjO/xFHRIy/LJJVqzxCNmYC/xVtKDf8aGDRgZpLo+lkaBKfBrbMkAGzhBKbYj+iLEFI4WEl6aVZGQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.56.0) - '@types/eslint': 8.56.2 - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.57.0) + '@types/eslint': 8.56.4 + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@stylistic/eslint-plugin@1.6.2(eslint@8.56.0)(typescript@5.3.3): + /@stylistic/eslint-plugin@1.6.2(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-EFnVcKOE5HTiMlVwisL9hHjz8a69yBbJRscWF/z+/vl6M4ew8NVrBlY8ea7KdV8QtyCY4Yapmsbg5ZDfhWlEgg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.56.0) - '@stylistic/eslint-plugin-jsx': 1.6.2(eslint@8.56.0) - '@stylistic/eslint-plugin-plus': 1.6.2(eslint@8.56.0)(typescript@5.3.3) - '@stylistic/eslint-plugin-ts': 1.6.2(eslint@8.56.0)(typescript@5.3.3) - '@types/eslint': 8.56.2 - eslint: 8.56.0 + '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.57.0) + '@stylistic/eslint-plugin-jsx': 1.6.2(eslint@8.57.0) + '@stylistic/eslint-plugin-plus': 1.6.2(eslint@8.57.0)(typescript@5.3.3) + '@stylistic/eslint-plugin-ts': 1.6.2(eslint@8.57.0)(typescript@5.3.3) + '@types/eslint': 8.56.4 + eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript @@ -1000,8 +1000,8 @@ packages: resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} dev: true - /@types/eslint@8.56.2: - resolution: {integrity: sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==} + /@types/eslint@8.56.4: + resolution: {integrity: sha512-lG1GLUnL5vuRBGb3MgWUWLdGMH2Hps+pERuyQXCfWozuGKdnhf9Pbg4pkcrVUHjKrU7Rl+GCZ/299ObBXZFAxg==} dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 @@ -1036,8 +1036,8 @@ packages: resolution: {integrity: sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==} dev: true - /@types/node@20.11.19: - resolution: {integrity: sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==} + /@types/node@20.11.22: + resolution: {integrity: sha512-/G+IxWxma6V3E+pqK1tSl2Fo1kl41pK1yeCyDsgkF9WlVAme4j5ISYM2zR11bgLFJGLN5sVK40T4RJNuiZbEjA==} dependencies: undici-types: 5.26.5 dev: true @@ -1046,8 +1046,8 @@ packages: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} dev: true - /@types/semver@7.5.7: - resolution: {integrity: sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==} + /@types/semver@7.5.8: + resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} dev: true /@types/unist@2.0.10: @@ -1058,7 +1058,7 @@ packages: resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} dev: true - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1070,13 +1070,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 - eslint: 8.56.0 + eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 @@ -1087,7 +1087,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1102,7 +1102,7 @@ packages: '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 - eslint: 8.56.0 + eslint: 8.57.0 typescript: 5.3.3 transitivePeerDependencies: - supports-color @@ -1116,7 +1116,7 @@ packages: '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/type-utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1127,9 +1127,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) debug: 4.3.4 - eslint: 8.56.0 + eslint: 8.57.0 ts-api-utils: 1.2.1(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: @@ -1163,19 +1163,19 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 - '@types/semver': 7.5.7 + '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - eslint: 8.56.0 + eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: - supports-color @@ -1194,49 +1194,49 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-vue@5.0.4(vite@5.1.3)(vue@3.4.19): + /@vitejs/plugin-vue@5.0.4(vite@5.1.4)(vue@3.4.21): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) - vue: 3.4.19(typescript@5.3.3) + vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vue: 3.4.21(typescript@5.3.3) dev: true - /@vitest/expect@1.2.2: - resolution: {integrity: sha512-3jpcdPAD7LwHUUiT2pZTj2U82I2Tcgg2oVPvKxhn6mDI2On6tfvPQTjAI4628GUGDZrCm4Zna9iQHm5cEexOAg==} + /@vitest/expect@1.3.1: + resolution: {integrity: sha512-xofQFwIzfdmLLlHa6ag0dPV8YsnKOCP1KdAeVVh34vSjN2dcUiXYCD9htu/9eM7t8Xln4v03U9HLxLpPlsXdZw==} dependencies: - '@vitest/spy': 1.2.2 - '@vitest/utils': 1.2.2 + '@vitest/spy': 1.3.1 + '@vitest/utils': 1.3.1 chai: 4.4.1 dev: true - /@vitest/runner@1.2.2: - resolution: {integrity: sha512-JctG7QZ4LSDXr5CsUweFgcpEvrcxOV1Gft7uHrvkQ+fsAVylmWQvnaAr/HDp3LAH1fztGMQZugIheTWjaGzYIg==} + /@vitest/runner@1.3.1: + resolution: {integrity: sha512-5FzF9c3jG/z5bgCnjr8j9LNq/9OxV2uEBAITOXfoe3rdZJTdO7jzThth7FXv/6b+kdY65tpRQB7WaKhNZwX+Kg==} dependencies: - '@vitest/utils': 1.2.2 + '@vitest/utils': 1.3.1 p-limit: 5.0.0 pathe: 1.1.2 dev: true - /@vitest/snapshot@1.2.2: - resolution: {integrity: sha512-SmGY4saEw1+bwE1th6S/cZmPxz/Q4JWsl7LvbQIky2tKE35US4gd0Mjzqfr84/4OD0tikGWaWdMja/nWL5NIPA==} + /@vitest/snapshot@1.3.1: + resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==} dependencies: magic-string: 0.30.7 pathe: 1.1.2 pretty-format: 29.7.0 dev: true - /@vitest/spy@1.2.2: - resolution: {integrity: sha512-k9Gcahssw8d7X3pSLq3e3XEu/0L78mUkCjivUqCQeXJm9clfXR/Td8+AP+VC1O6fKPIDLcHDTAmBOINVuv6+7g==} + /@vitest/spy@1.3.1: + resolution: {integrity: sha512-xAcW+S099ylC9VLU7eZfdT9myV67Nor9w9zhf0mGCYJSO+zM2839tOeROTdikOi/8Qeusffvxb/MyBSOja1Uig==} dependencies: tinyspy: 2.2.1 dev: true - /@vitest/utils@1.2.2: - resolution: {integrity: sha512-WKITBHLsBHlpjnDQahr+XK6RE7MiAsgrIkr0pGhQ9ygoxBfUeG0lUG5iLlzqjmKSlBv3+j5EGsriBzh+C3Tq9g==} + /@vitest/utils@1.3.1: + resolution: {integrity: sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==} dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -1263,67 +1263,67 @@ packages: path-browserify: 1.0.1 dev: true - /@vue/compiler-core@3.4.19: - resolution: {integrity: sha512-gj81785z0JNzRcU0Mq98E56e4ltO1yf8k5PQ+tV/7YHnbZkrM0fyFyuttnN8ngJZjbpofWE/m4qjKBiLl8Ju4w==} + /@vue/compiler-core@3.4.21: + resolution: {integrity: sha512-MjXawxZf2SbZszLPYxaFCjxfibYrzr3eYbKxwpLR9EQN+oaziSu3qKVbwBERj1IFIB8OLUewxB5m/BFzi613og==} dependencies: - '@babel/parser': 7.23.9 - '@vue/shared': 3.4.19 + '@babel/parser': 7.24.0 + '@vue/shared': 3.4.21 entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.0.2 dev: true - /@vue/compiler-dom@3.4.19: - resolution: {integrity: sha512-vm6+cogWrshjqEHTzIDCp72DKtea8Ry/QVpQRYoyTIg9k7QZDX6D8+HGURjtmatfgM8xgCFtJJaOlCaRYRK3QA==} + /@vue/compiler-dom@3.4.21: + resolution: {integrity: sha512-IZC6FKowtT1sl0CR5DpXSiEB5ayw75oT2bma1BEhV7RRR1+cfwLrxc2Z8Zq/RGFzJ8w5r9QtCOvTjQgdn0IKmA==} dependencies: - '@vue/compiler-core': 3.4.19 - '@vue/shared': 3.4.19 + '@vue/compiler-core': 3.4.21 + '@vue/shared': 3.4.21 dev: true - /@vue/compiler-sfc@3.4.19: - resolution: {integrity: sha512-LQ3U4SN0DlvV0xhr1lUsgLCYlwQfUfetyPxkKYu7dkfvx7g3ojrGAkw0AERLOKYXuAGnqFsEuytkdcComei3Yg==} + /@vue/compiler-sfc@3.4.21: + resolution: {integrity: sha512-me7epoTxYlY+2CUM7hy9PCDdpMPfIwrOvAXud2Upk10g4YLv9UBW7kL798TvMeDhPthkZ0CONNrK2GoeI1ODiQ==} dependencies: - '@babel/parser': 7.23.9 - '@vue/compiler-core': 3.4.19 - '@vue/compiler-dom': 3.4.19 - '@vue/compiler-ssr': 3.4.19 - '@vue/shared': 3.4.19 + '@babel/parser': 7.24.0 + '@vue/compiler-core': 3.4.21 + '@vue/compiler-dom': 3.4.21 + '@vue/compiler-ssr': 3.4.21 + '@vue/shared': 3.4.21 estree-walker: 2.0.2 magic-string: 0.30.7 postcss: 8.4.35 source-map-js: 1.0.2 dev: true - /@vue/compiler-ssr@3.4.19: - resolution: {integrity: sha512-P0PLKC4+u4OMJ8sinba/5Z/iDT84uMRRlrWzadgLA69opCpI1gG4N55qDSC+dedwq2fJtzmGald05LWR5TFfLw==} + /@vue/compiler-ssr@3.4.21: + resolution: {integrity: sha512-M5+9nI2lPpAsgXOGQobnIueVqc9sisBFexh5yMIMRAPYLa7+5wEJs8iqOZc1WAa9WQbx9GR2twgznU8LTIiZ4Q==} dependencies: - '@vue/compiler-dom': 3.4.19 - '@vue/shared': 3.4.19 + '@vue/compiler-dom': 3.4.21 + '@vue/shared': 3.4.21 dev: true - /@vue/devtools-api@7.0.14: - resolution: {integrity: sha512-TluWR9qZ6aO11bwtYK8+fzXxBqLfsE0mWZz1q/EQBmO9k82Cm6deieLwNNXjNFJz7xutazoia5Qa+zTYkPPOfw==} + /@vue/devtools-api@7.0.15(vue@3.4.21): + resolution: {integrity: sha512-kgEYWosDyWpS1vFSuJNNWUnHkP+VkL3Y+9mw+rf7ex41SwbYL/WdC3KXqAtjiSrEs7r/FrHmUTh0BkINJPFkbA==} dependencies: - '@vue/devtools-kit': 7.0.14 + '@vue/devtools-kit': 7.0.15(vue@3.4.21) + transitivePeerDependencies: + - vue dev: true - /@vue/devtools-kit@7.0.14: - resolution: {integrity: sha512-wAAJazr4hI0aVRpgWOCVPw+NzMQdthhnprHHIg4njp1MkKrpCNGQ7MtQbZF1AltAA7xpMCGyyt+0kYH0FqTiPg==} + /@vue/devtools-kit@7.0.15(vue@3.4.21): + resolution: {integrity: sha512-dT7OeCe1LUCIhHIb/yRR6Hn+XHh73r1o78onqCrxEKHdoZwBItiIeVnmJZPEUDFstIxfs+tJL231mySk3laTow==} + peerDependencies: + vue: ^3.0.0 dependencies: - '@vue/devtools-schema': 7.0.14 - '@vue/devtools-shared': 7.0.14 + '@vue/devtools-shared': 7.0.15 hookable: 5.5.3 mitt: 3.0.1 perfect-debounce: 1.0.0 speakingurl: 14.0.1 + vue: 3.4.21(typescript@5.3.3) dev: true - /@vue/devtools-schema@7.0.14: - resolution: {integrity: sha512-tpUeCLVrdHX+KzWMLTAwx/vAPFbo6jAUi7sr6Q+0mBIqIVSSIxNr5wEhegiFvYva+OtDeM2OrT+f7/X/5bvZNg==} - dev: true - - /@vue/devtools-shared@7.0.14: - resolution: {integrity: sha512-79RP1NDakBVWou9rDpVnT1WMjTbL1lJKm6YEOodjQ0dq5ehf0wsRbeYDhgAlnjehWRzTq5GAYFBFUPYBs0/QpA==} + /@vue/devtools-shared@7.0.15: + resolution: {integrity: sha512-fpfvMVvS7aDgO7x2JPFiTQ1MHcCc63/bE7yTgs278gMBybuO9b3hdiZ/k0Pw1rN+RefaU9yQiFA+5CCFc1D+6w==} dependencies: rfdc: 1.3.1 dev: true @@ -1338,8 +1338,8 @@ packages: dependencies: '@volar/language-core': 1.11.1 '@volar/source-map': 1.11.1 - '@vue/compiler-dom': 3.4.19 - '@vue/shared': 3.4.19 + '@vue/compiler-dom': 3.4.21 + '@vue/shared': 3.4.21 computeds: 0.0.1 minimatch: 9.0.3 muggle-string: 0.3.1 @@ -1348,55 +1348,55 @@ packages: vue-template-compiler: 2.7.16 dev: true - /@vue/reactivity@3.4.19: - resolution: {integrity: sha512-+VcwrQvLZgEclGZRHx4O2XhyEEcKaBi50WbxdVItEezUf4fqRh838Ix6amWTdX0CNb/b6t3Gkz3eOebfcSt+UA==} + /@vue/reactivity@3.4.21: + resolution: {integrity: sha512-UhenImdc0L0/4ahGCyEzc/pZNwVgcglGy9HVzJ1Bq2Mm9qXOpP8RyNTjookw/gOCUlXSEtuZ2fUg5nrHcoqJcw==} dependencies: - '@vue/shared': 3.4.19 + '@vue/shared': 3.4.21 dev: true - /@vue/runtime-core@3.4.19: - resolution: {integrity: sha512-/Z3tFwOrerJB/oyutmJGoYbuoadphDcJAd5jOuJE86THNZji9pYjZroQ2NFsZkTxOq0GJbb+s2kxTYToDiyZzw==} + /@vue/runtime-core@3.4.21: + resolution: {integrity: sha512-pQthsuYzE1XcGZznTKn73G0s14eCJcjaLvp3/DKeYWoFacD9glJoqlNBxt3W2c5S40t6CCcpPf+jG01N3ULyrA==} dependencies: - '@vue/reactivity': 3.4.19 - '@vue/shared': 3.4.19 + '@vue/reactivity': 3.4.21 + '@vue/shared': 3.4.21 dev: true - /@vue/runtime-dom@3.4.19: - resolution: {integrity: sha512-IyZzIDqfNCF0OyZOauL+F4yzjMPN2rPd8nhqPP2N1lBn3kYqJpPHHru+83Rkvo2lHz5mW+rEeIMEF9qY3PB94g==} + /@vue/runtime-dom@3.4.21: + resolution: {integrity: sha512-gvf+C9cFpevsQxbkRBS1NpU8CqxKw0ebqMvLwcGQrNpx6gqRDodqKqA+A2VZZpQ9RpK2f9yfg8VbW/EpdFUOJw==} dependencies: - '@vue/runtime-core': 3.4.19 - '@vue/shared': 3.4.19 + '@vue/runtime-core': 3.4.21 + '@vue/shared': 3.4.21 csstype: 3.1.3 dev: true - /@vue/server-renderer@3.4.19(vue@3.4.19): - resolution: {integrity: sha512-eAj2p0c429RZyyhtMRnttjcSToch+kTWxFPHlzGMkR28ZbF1PDlTcmGmlDxccBuqNd9iOQ7xPRPAGgPVj+YpQw==} + /@vue/server-renderer@3.4.21(vue@3.4.21): + resolution: {integrity: sha512-aV1gXyKSN6Rz+6kZ6kr5+Ll14YzmIbeuWe7ryJl5muJ4uwSwY/aStXTixx76TwkZFJLm1aAlA/HSWEJ4EyiMkg==} peerDependencies: - vue: 3.4.19 + vue: 3.4.21 dependencies: - '@vue/compiler-ssr': 3.4.19 - '@vue/shared': 3.4.19 - vue: 3.4.19(typescript@5.3.3) + '@vue/compiler-ssr': 3.4.21 + '@vue/shared': 3.4.21 + vue: 3.4.21(typescript@5.3.3) dev: true - /@vue/shared@3.4.19: - resolution: {integrity: sha512-/KliRRHMF6LoiThEy+4c1Z4KB/gbPrGjWwJR+crg2otgrf/egKzRaCPvJ51S5oetgsgXLfc4Rm5ZgrKHZrtMSw==} + /@vue/shared@3.4.21: + resolution: {integrity: sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g==} dev: true - /@vueuse/core@10.7.2(vue@3.4.19): - resolution: {integrity: sha512-AOyAL2rK0By62Hm+iqQn6Rbu8bfmbgaIMXcE3TSr7BdQ42wnSFlwIdPjInO62onYsEMK/yDMU8C6oGfDAtZ2qQ==} + /@vueuse/core@10.9.0(vue@3.4.21): + resolution: {integrity: sha512-/1vjTol8SXnx6xewDEKfS0Ra//ncg4Hb0DaZiwKf7drgfMsKFExQ+FnnENcN6efPen+1kIzhLQoGSy0eDUVOMg==} dependencies: '@types/web-bluetooth': 0.0.20 - '@vueuse/metadata': 10.7.2 - '@vueuse/shared': 10.7.2(vue@3.4.19) - vue-demi: 0.14.7(vue@3.4.19) + '@vueuse/metadata': 10.9.0 + '@vueuse/shared': 10.9.0(vue@3.4.21) + vue-demi: 0.14.7(vue@3.4.21) transitivePeerDependencies: - '@vue/composition-api' - vue dev: true - /@vueuse/integrations@10.7.2(focus-trap@7.5.4)(vue@3.4.19): - resolution: {integrity: sha512-+u3RLPFedjASs5EKPc69Ge49WNgqeMfSxFn+qrQTzblPXZg6+EFzhjarS5edj2qAf6xQ93f95TUxRwKStXj/sQ==} + /@vueuse/integrations@10.9.0(focus-trap@7.5.4)(vue@3.4.21): + resolution: {integrity: sha512-acK+A01AYdWSvL4BZmCoJAcyHJ6EqhmkQEXbQLwev1MY7NBnS+hcEMx/BzVoR9zKI+UqEPMD9u6PsyAuiTRT4Q==} peerDependencies: async-validator: '*' axios: '*' @@ -1436,23 +1436,23 @@ packages: universal-cookie: optional: true dependencies: - '@vueuse/core': 10.7.2(vue@3.4.19) - '@vueuse/shared': 10.7.2(vue@3.4.19) + '@vueuse/core': 10.9.0(vue@3.4.21) + '@vueuse/shared': 10.9.0(vue@3.4.21) focus-trap: 7.5.4 - vue-demi: 0.14.7(vue@3.4.19) + vue-demi: 0.14.7(vue@3.4.21) transitivePeerDependencies: - '@vue/composition-api' - vue dev: true - /@vueuse/metadata@10.7.2: - resolution: {integrity: sha512-kCWPb4J2KGrwLtn1eJwaJD742u1k5h6v/St5wFe8Quih90+k2a0JP8BS4Zp34XUuJqS2AxFYMb1wjUL8HfhWsQ==} + /@vueuse/metadata@10.9.0: + resolution: {integrity: sha512-iddNbg3yZM0X7qFY2sAotomgdHK7YJ6sKUvQqbvwnf7TmaVPxS4EJydcNsVejNdS8iWCtDk+fYXr7E32nyTnGA==} dev: true - /@vueuse/shared@10.7.2(vue@3.4.19): - resolution: {integrity: sha512-qFbXoxS44pi2FkgFjPvF4h7c9oMDutpyBdcJdMYIMg9XyXli2meFMuaKn+UMgsClo//Th6+beeCgqweT/79BVA==} + /@vueuse/shared@10.9.0(vue@3.4.21): + resolution: {integrity: sha512-Uud2IWncmAfJvRaFYzv5OHDli+FbOzxiVEQdLCKQKLyhz94PIyFC3CHcH7EDMwIn8NPtD06+PNbC/PiO0LGLtw==} dependencies: - vue-demi: 0.14.7(vue@3.4.19) + vue-demi: 0.14.7(vue@3.4.21) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -1586,8 +1586,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001587 - electron-to-chromium: 1.4.671 + caniuse-lite: 1.0.30001591 + electron-to-chromium: 1.4.686 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -1613,8 +1613,8 @@ packages: engines: {node: '>=6'} dev: true - /caniuse-lite@1.0.30001587: - resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==} + /caniuse-lite@1.0.30001591: + resolution: {integrity: sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==} dev: true /chai@4.4.1: @@ -1820,8 +1820,8 @@ packages: esutils: 2.0.3 dev: true - /electron-to-chromium@1.4.671: - resolution: {integrity: sha512-UUlE+/rWbydmp+FW8xlnnTA5WNA0ZZd2XL8CuMS72rh+k4y1f8+z6yk3UQhEwqHQWj6IBdL78DwWOdGMvYfQyA==} + /electron-to-chromium@1.4.686: + resolution: {integrity: sha512-3avY1B+vUzNxEgkBDpKOP8WarvUAEwpRaiCL0He5OKWEFxzaOFiq4WoZEZe7qh0ReS7DiWoHMnYoQCKxNZNzSg==} dev: true /emoji-regex@8.0.0: @@ -1885,22 +1885,22 @@ packages: engines: {node: '>=10'} dev: true - /eslint-compat-utils@0.1.2(eslint@8.56.0): + /eslint-compat-utils@0.1.2(eslint@8.57.0): resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.56.0 + eslint: 8.57.0 dev: true - /eslint-compat-utils@0.4.1(eslint@8.56.0): + /eslint-compat-utils@0.4.1(eslint@8.57.0): resolution: {integrity: sha512-5N7ZaJG5pZxUeNNJfUchurLVrunD1xJvyg5kYOIVF8kg1f3ajTikmAu/5fZ9w100omNPOoMjngRszh/Q/uFGMg==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.56.0 + eslint: 8.57.0 semver: 7.6.0 dev: true @@ -1921,16 +1921,16 @@ packages: - supports-color dev: true - /eslint-merge-processors@0.1.0(eslint@8.56.0): + /eslint-merge-processors@0.1.0(eslint@8.57.0): resolution: {integrity: sha512-IvRXXtEajLeyssvW4wJcZ2etxkR9mUf4zpNwgI+m/Uac9RfXHskuJefkHUcawVzePnd6xp24enp5jfgdHzjRdQ==} peerDependencies: eslint: '*' dependencies: - eslint: 8.56.0 + eslint: 8.57.0 dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + /eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -1950,46 +1950,46 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) debug: 3.2.7 - eslint: 8.56.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-antfu@2.1.2(eslint@8.56.0): + /eslint-plugin-antfu@2.1.2(eslint@8.57.0): resolution: {integrity: sha512-s7ZTOM3uq0iqpp6gF0UEotnvup7f2PHBUftCytLZX0+6C9j9KadKZQh6bVVngAyFgsmeD9+gcBopOYLClb2oDg==} peerDependencies: eslint: '*' dependencies: - eslint: 8.56.0 + eslint: 8.57.0 dev: true - /eslint-plugin-es-x@7.5.0(eslint@8.56.0): + /eslint-plugin-es-x@7.5.0(eslint@8.57.0): resolution: {integrity: sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '>=8' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint-community/regexpp': 4.10.0 - eslint: 8.56.0 - eslint-compat-utils: 0.1.2(eslint@8.56.0) + eslint: 8.57.0 + eslint-compat-utils: 0.1.2(eslint@8.57.0) dev: true - /eslint-plugin-eslint-comments@3.2.0(eslint@8.56.0): + /eslint-plugin-eslint-comments@3.2.0(eslint@8.57.0): resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} engines: {node: '>=6.5.0'} peerDependencies: eslint: '>=4.19.1' dependencies: escape-string-regexp: 1.0.5 - eslint: 8.56.0 + eslint: 8.57.0 ignore: 5.3.1 dev: true - /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0): + /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0): resolution: {integrity: sha512-ORizX37MelIWLbMyqI7hi8VJMf7A0CskMmYkB+lkCX3aF4pkGV7kwx5bSEb4qx7Yce2rAf9s34HqDRPjGRZPNQ==} engines: {node: '>=12'} peerDependencies: @@ -1997,9 +1997,9 @@ packages: dependencies: debug: 4.3.4 doctrine: 3.0.0 - eslint: 8.56.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) get-tsconfig: 4.7.2 is-glob: 4.0.3 minimatch: 3.1.2 @@ -2011,8 +2011,8 @@ packages: - supports-color dev: true - /eslint-plugin-jsdoc@48.1.0(eslint@8.56.0): - resolution: {integrity: sha512-g9S8ukmTd1DVcV/xeBYPPXOZ6rc8WJ4yi0+MVxJ1jBOrz5kmxV9gJJQ64ltCqIWFnBChLIhLVx3tbTSarqVyFA==} + /eslint-plugin-jsdoc@48.2.0(eslint@8.57.0): + resolution: {integrity: sha512-O2B1XLBJnUCRkggFzUQ+PBYJDit8iAgXdlu8ucolqGrbmOWPvttZQZX8d1sC0MbqDMSLs8SHSQxaNPRY1RQREg==} engines: {node: '>=18'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -2022,7 +2022,7 @@ packages: comment-parser: 1.4.1 debug: 4.3.4 escape-string-regexp: 4.0.0 - eslint: 8.56.0 + eslint: 8.57.0 esquery: 1.5.0 is-builtin-module: 3.2.1 semver: 7.6.0 @@ -2031,15 +2031,15 @@ packages: - supports-color dev: true - /eslint-plugin-jsonc@2.13.0(eslint@8.56.0): + /eslint-plugin-jsonc@2.13.0(eslint@8.57.0): resolution: {integrity: sha512-2wWdJfpO/UbZzPDABuUVvlUQjfMJa2p2iQfYt/oWxOMpXCcjuiMUSaA02gtY/Dbu82vpaSqc+O7Xq6ECHwtIxA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - eslint: 8.56.0 - eslint-compat-utils: 0.4.1(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + eslint: 8.57.0 + eslint-compat-utils: 0.4.1(eslint@8.57.0) espree: 9.6.1 graphemer: 1.4.0 jsonc-eslint-parser: 2.4.0 @@ -2047,28 +2047,28 @@ packages: synckit: 0.6.2 dev: true - /eslint-plugin-markdown@3.0.1(eslint@8.56.0): + /eslint-plugin-markdown@3.0.1(eslint@8.57.0): resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.56.0 + eslint: 8.57.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-n@16.6.2(eslint@8.56.0): + /eslint-plugin-n@16.6.2(eslint@8.57.0): resolution: {integrity: sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ==} engines: {node: '>=16.0.0'} peerDependencies: eslint: '>=7.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) builtins: 5.0.1 - eslint: 8.56.0 - eslint-plugin-es-x: 7.5.0(eslint@8.56.0) + eslint: 8.57.0 + eslint-plugin-es-x: 7.5.0(eslint@8.57.0) get-tsconfig: 4.7.2 globals: 13.24.0 ignore: 5.3.1 @@ -2084,7 +2084,7 @@ packages: engines: {node: '>=5.0.0'} dev: true - /eslint-plugin-perfectionist@2.5.0(eslint@8.56.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2): + /eslint-plugin-perfectionist@2.5.0(eslint@8.57.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2): resolution: {integrity: sha512-F6XXcq4mKKUe/SREoMGQqzgw6cgCgf3pFzkFfQVIGtqD1yXVpQjnhTepzhBeZfxZwgMzR9HO4yH4CUhIQ2WBcQ==} peerDependencies: astro-eslint-parser: ^0.16.0 @@ -2102,44 +2102,44 @@ packages: vue-eslint-parser: optional: true dependencies: - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 minimatch: 9.0.3 natural-compare-lite: 1.4.0 - vue-eslint-parser: 9.4.2(eslint@8.56.0) + vue-eslint-parser: 9.4.2(eslint@8.57.0) transitivePeerDependencies: - supports-color - typescript dev: true - /eslint-plugin-toml@0.9.2(eslint@8.56.0): + /eslint-plugin-toml@0.9.2(eslint@8.57.0): resolution: {integrity: sha512-ri0xf63PYf3pIq/WY9BIwrqxZmGTIwSkAO0bHddI0ajUwN4KGz6W8vOvdXFHOpRdRfzxlmXze/vfsY/aTEXESg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.56.0 - eslint-compat-utils: 0.4.1(eslint@8.56.0) + eslint: 8.57.0 + eslint-compat-utils: 0.4.1(eslint@8.57.0) lodash: 4.17.21 toml-eslint-parser: 0.9.3 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-unicorn@50.0.1(eslint@8.56.0): + /eslint-plugin-unicorn@50.0.1(eslint@8.57.0): resolution: {integrity: sha512-KxenCZxqSYW0GWHH18okDlOQcpezcitm5aOSz6EnobyJ6BIByiPDviQRjJIUAjG/tMN11958MxaQ+qCoU6lfDA==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.56.0' dependencies: '@babel/helper-validator-identifier': 7.22.20 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint/eslintrc': 2.1.4 ci-info: 4.0.0 clean-regexp: 1.0.0 core-js-compat: 3.36.0 - eslint: 8.56.0 + eslint: 8.57.0 esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -2154,7 +2154,7 @@ packages: - supports-color dev: true - /eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0): + /eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0): resolution: {integrity: sha512-9l1YFCzXKkw1qtAru1RWUtG2EVDZY0a0eChKXcL+EZ5jitG7qxdctu4RnvhOJHv4xfmUf7h+JJPINlVpGhZMrw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2164,12 +2164,12 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.2.2): + /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): resolution: {integrity: sha512-atkFGQ7aVgcuSeSMDqnyevIyUpfBPMnosksgEPrKE7Y8xQlqG/5z2IQ6UDau05zXaaFv7Iz8uzqvIuKshjZ0Zw==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -2182,42 +2182,42 @@ packages: vitest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 - vitest: 1.2.2 + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 + vitest: 1.3.1 transitivePeerDependencies: - supports-color - typescript dev: true - /eslint-plugin-vue@9.21.1(eslint@8.56.0): - resolution: {integrity: sha512-XVtI7z39yOVBFJyi8Ljbn7kY9yHzznKXL02qQYn+ta63Iy4A9JFBw6o4OSB9hyD2++tVT+su9kQqetUyCCwhjw==} + /eslint-plugin-vue@9.22.0(eslint@8.57.0): + resolution: {integrity: sha512-7wCXv5zuVnBtZE/74z4yZ0CM8AjH6bk4MQGm7hZjUC2DBppKU5ioeOk5LGSg/s9a1ZJnIsdPLJpXnu1Rc+cVHg==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - eslint: 8.56.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + eslint: 8.57.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 6.0.15 semver: 7.6.0 - vue-eslint-parser: 9.4.2(eslint@8.56.0) + vue-eslint-parser: 9.4.2(eslint@8.57.0) xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-yml@1.12.2(eslint@8.56.0): + /eslint-plugin-yml@1.12.2(eslint@8.57.0): resolution: {integrity: sha512-hvS9p08FhPT7i/ynwl7/Wt7ke7Rf4P2D6fT8lZlL43peZDTsHtH2A0SIFQ7Kt7+mJ6if6P+FX3iJhMkdnxQwpg==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.56.0 - eslint-compat-utils: 0.4.1(eslint@8.56.0) + eslint: 8.57.0 + eslint-compat-utils: 0.4.1(eslint@8.57.0) lodash: 4.17.21 natural-compare: 1.4.0 yaml-eslint-parser: 1.2.2 @@ -2225,14 +2225,14 @@ packages: - supports-color dev: true - /eslint-processor-vue-blocks@0.1.1(@vue/compiler-sfc@3.4.19)(eslint@8.56.0): + /eslint-processor-vue-blocks@0.1.1(@vue/compiler-sfc@3.4.21)(eslint@8.57.0): resolution: {integrity: sha512-9+dU5lU881log570oBwpelaJmOfOzSniben7IWEDRYQPPWwlvaV7NhOtsTuUWDqpYT+dtKKWPsgz4OkOi+aZnA==} peerDependencies: '@vue/compiler-sfc': ^3.3.0 eslint: ^8.50.0 dependencies: - '@vue/compiler-sfc': 3.4.19 - eslint: 8.56.0 + '@vue/compiler-sfc': 3.4.21 + eslint: 8.57.0 dev: true /eslint-rule-composer@0.3.0: @@ -2253,15 +2253,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.56.0: - resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==} + /eslint@8.57.0: + resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint-community/regexpp': 4.10.0 '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.56.0 + '@eslint/js': 8.57.0 '@humanwhocodes/config-array': 0.11.14 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -2352,7 +2352,7 @@ packages: human-signals: 5.0.0 is-stream: 3.0.0 merge-stream: 2.0.0 - npm-run-path: 5.2.0 + npm-run-path: 5.3.0 onetime: 6.0.0 signal-exit: 4.1.0 strip-final-newline: 3.0.0 @@ -2430,13 +2430,13 @@ packages: resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flatted: 3.2.9 + flatted: 3.3.1 keyv: 4.5.4 rimraf: 3.0.2 dev: true - /flatted@3.2.9: - resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} + /flatted@3.3.1: + resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} dev: true /focus-trap@7.5.4: @@ -2704,6 +2704,10 @@ packages: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} dev: true + /js-tokens@8.0.3: + resolution: {integrity: sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==} + dev: true + /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -2786,8 +2790,8 @@ packages: type-check: 0.4.0 dev: true - /lightningcss-darwin-arm64@1.23.0: - resolution: {integrity: sha512-kl4Pk3Q2lnE6AJ7Qaij47KNEfY2/UXRZBT/zqGA24B8qwkgllr/j7rclKOf1axcslNXvvUdztjo4Xqh39Yq1aA==} + /lightningcss-darwin-arm64@1.24.0: + resolution: {integrity: sha512-rTNPkEiynOu4CfGdd5ZfVOQe2gd2idfQd4EfX1l2ZUUwd+2SwSdbb7cG4rlwfnZckbzCAygm85xkpekRE5/wFw==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] @@ -2795,8 +2799,8 @@ packages: dev: true optional: true - /lightningcss-darwin-x64@1.23.0: - resolution: {integrity: sha512-KeRFCNoYfDdcolcFXvokVw+PXCapd2yHS1Diko1z1BhRz/nQuD5XyZmxjWdhmhN/zj5sH8YvWsp0/lPLVzqKpg==} + /lightningcss-darwin-x64@1.24.0: + resolution: {integrity: sha512-4KCeF2RJjzp9xdGY8zIH68CUtptEg8uz8PfkHvsIdrP4t9t5CIgfDBhiB8AmuO75N6SofdmZexDZIKdy9vA7Ww==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] @@ -2804,8 +2808,8 @@ packages: dev: true optional: true - /lightningcss-freebsd-x64@1.23.0: - resolution: {integrity: sha512-xhnhf0bWPuZxcqknvMDRFFo2TInrmQRWZGB0f6YoAsZX8Y+epfjHeeOIGCfAmgF0DgZxHwYc8mIR5tQU9/+ROA==} + /lightningcss-freebsd-x64@1.24.0: + resolution: {integrity: sha512-FJAYlek1wXuVTsncNU0C6YD41q126dXcIUm97KAccMn9C4s/JfLSqGWT2gIzAblavPFkyGG2gIADTWp3uWfN1g==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [freebsd] @@ -2813,8 +2817,8 @@ packages: dev: true optional: true - /lightningcss-linux-arm-gnueabihf@1.23.0: - resolution: {integrity: sha512-fBamf/bULvmWft9uuX+bZske236pUZEoUlaHNBjnueaCTJ/xd8eXgb0cEc7S5o0Nn6kxlauMBnqJpF70Bgq3zg==} + /lightningcss-linux-arm-gnueabihf@1.24.0: + resolution: {integrity: sha512-N55K6JqzMx7C0hYUu1YmWqhkHwzEJlkQRMA6phY65noO0I1LOAvP4wBIoFWrzRE+O6zL0RmXJ2xppqyTbk3sYw==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] @@ -2822,8 +2826,8 @@ packages: dev: true optional: true - /lightningcss-linux-arm64-gnu@1.23.0: - resolution: {integrity: sha512-RS7sY77yVLOmZD6xW2uEHByYHhQi5JYWmgVumYY85BfNoVI3DupXSlzbw+b45A9NnVKq45+oXkiN6ouMMtTwfg==} + /lightningcss-linux-arm64-gnu@1.24.0: + resolution: {integrity: sha512-MqqUB2TpYtFWeBvvf5KExDdClU3YGLW5bHKs50uKKootcvG9KoS7wYwd5UichS+W3mYLc5yXUPGD1DNWbLiYKw==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] @@ -2831,8 +2835,8 @@ packages: dev: true optional: true - /lightningcss-linux-arm64-musl@1.23.0: - resolution: {integrity: sha512-cU00LGb6GUXCwof6ACgSMKo3q7XYbsyTj0WsKHLi1nw7pV0NCq8nFTn6ZRBYLoKiV8t+jWl0Hv8KkgymmK5L5g==} + /lightningcss-linux-arm64-musl@1.24.0: + resolution: {integrity: sha512-5wn4d9tFwa5bS1ao9mLexYVJdh3nn09HNIipsII6ZF7z9ZA5J4dOEhMgKoeCl891axTGTUYd8Kxn+Hn3XUSYRQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] @@ -2840,8 +2844,8 @@ packages: dev: true optional: true - /lightningcss-linux-x64-gnu@1.23.0: - resolution: {integrity: sha512-q4jdx5+5NfB0/qMbXbOmuC6oo7caPnFghJbIAV90cXZqgV8Am3miZhC4p+sQVdacqxfd+3nrle4C8icR3p1AYw==} + /lightningcss-linux-x64-gnu@1.24.0: + resolution: {integrity: sha512-3j5MdTh+LSDF3o6uDwRjRUgw4J+IfDCVtdkUrJvKxL79qBLUujXY7CTe5X3IQDDLKEe/3wu49r8JKgxr0MfjbQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] @@ -2849,8 +2853,8 @@ packages: dev: true optional: true - /lightningcss-linux-x64-musl@1.23.0: - resolution: {integrity: sha512-G9Ri3qpmF4qef2CV/80dADHKXRAQeQXpQTLx7AiQrBYQHqBjB75oxqj06FCIe5g4hNCqLPnM9fsO4CyiT1sFSQ==} + /lightningcss-linux-x64-musl@1.24.0: + resolution: {integrity: sha512-HI+rNnvaLz0o36z6Ki0gyG5igVGrJmzczxA5fznr6eFTj3cHORoR/j2q8ivMzNFR4UKJDkTWUH5LMhacwOHWBA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] @@ -2858,8 +2862,8 @@ packages: dev: true optional: true - /lightningcss-win32-x64-msvc@1.23.0: - resolution: {integrity: sha512-1rcBDJLU+obPPJM6qR5fgBUiCdZwZLafZM5f9kwjFLkb/UBNIzmae39uCSmh71nzPCTXZqHbvwu23OWnWEz+eg==} + /lightningcss-win32-x64-msvc@1.24.0: + resolution: {integrity: sha512-oeije/t7OZ5N9vSs6amyW/34wIYoBCpE6HUlsSKcP2SR1CVgx9oKEM00GtQmtqNnYiMIfsSm7+ppMb4NLtD5vg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] @@ -2867,21 +2871,21 @@ packages: dev: true optional: true - /lightningcss@1.23.0: - resolution: {integrity: sha512-SEArWKMHhqn/0QzOtclIwH5pXIYQOUEkF8DgICd/105O+GCgd7jxjNod/QPnBCSWvpRHQBGVz5fQ9uScby03zA==} + /lightningcss@1.24.0: + resolution: {integrity: sha512-y36QEEDVx4IM7/yIZNsZJMRREIu26WzTsauIysf5s76YeCmlSbRZS7aC97IGPuoFRnyZ5Wx43OBsQBFB5Ne7ng==} engines: {node: '>= 12.0.0'} dependencies: detect-libc: 1.0.3 optionalDependencies: - lightningcss-darwin-arm64: 1.23.0 - lightningcss-darwin-x64: 1.23.0 - lightningcss-freebsd-x64: 1.23.0 - lightningcss-linux-arm-gnueabihf: 1.23.0 - lightningcss-linux-arm64-gnu: 1.23.0 - lightningcss-linux-arm64-musl: 1.23.0 - lightningcss-linux-x64-gnu: 1.23.0 - lightningcss-linux-x64-musl: 1.23.0 - lightningcss-win32-x64-msvc: 1.23.0 + lightningcss-darwin-arm64: 1.24.0 + lightningcss-darwin-x64: 1.24.0 + lightningcss-freebsd-x64: 1.24.0 + lightningcss-linux-arm-gnueabihf: 1.24.0 + lightningcss-linux-arm64-gnu: 1.24.0 + lightningcss-linux-arm64-musl: 1.24.0 + lightningcss-linux-x64-gnu: 1.24.0 + lightningcss-linux-x64-musl: 1.24.0 + lightningcss-win32-x64-msvc: 1.24.0 dev: true /lines-and-columns@1.2.4: @@ -2892,7 +2896,7 @@ packages: resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} engines: {node: '>=14'} dependencies: - mlly: 1.5.0 + mlly: 1.6.1 pkg-types: 1.0.3 dev: true @@ -3030,8 +3034,8 @@ packages: resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} dev: true - /mlly@1.5.0: - resolution: {integrity: sha512-NPVQvAY1xr1QoVeG0cy8yUYC7FQcOx6evl/RjT1wL5FvzPnzOysoqB/jmx/DhssT2dYa8nxECLAaFI/+gVLhDQ==} + /mlly@1.6.1: + resolution: {integrity: sha512-vLgaHvaeunuOXHSmEbZ9izxPx3USsk8KCQ8iC+aTlp5sKRSoZvwhHh5L9VbKSaVC6sJDqbyohIS76E2VmHIPAA==} dependencies: acorn: 8.11.3 pathe: 1.1.2 @@ -3078,8 +3082,8 @@ packages: validate-npm-package-license: 3.0.4 dev: true - /npm-run-path@5.2.0: - resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} + /npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: path-key: 4.0.0 @@ -3271,22 +3275,22 @@ packages: resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} dependencies: jsonc-parser: 3.2.1 - mlly: 1.5.0 + mlly: 1.6.1 pathe: 1.1.2 dev: true - /playwright-core@1.41.2: - resolution: {integrity: sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==} + /playwright-core@1.42.0: + resolution: {integrity: sha512-0HD9y8qEVlcbsAjdpBaFjmaTHf+1FeIddy8VJLeiqwhcNqGCBe4Wp2e8knpqiYbzxtxarxiXyNDw2cG8sCaNMQ==} engines: {node: '>=16'} hasBin: true dev: true - /playwright@1.41.2: - resolution: {integrity: sha512-v0bOa6H2GJChDL8pAeLa/LZC4feoAMbSQm1/jF/ySsWWoaNItvrMP7GEkvEEFyCTUYKMxjQKaTSg5up7nR6/8A==} + /playwright@1.42.0: + resolution: {integrity: sha512-Ko7YRUgj5xBHbntrgt4EIw/nE//XBHOKVKnBjO1KuZkmkhlbgyggTe5s9hjqQ1LpN+Xg+kHsQyt5Pa0Bw5XpvQ==} engines: {node: '>=16'} hasBin: true dependencies: - playwright-core: 1.41.2 + playwright-core: 1.42.0 optionalDependencies: fsevents: 2.3.2 dev: true @@ -3313,8 +3317,8 @@ packages: source-map-js: 1.0.2 dev: true - /preact@10.19.4: - resolution: {integrity: sha512-dwaX5jAh0Ga8uENBX1hSOujmKWgx9RtL80KaKUFLc6jb4vCEAc3EeZ0rnQO/FO4VgjfPMfoLFWnNG8bHuZ9VLw==} + /preact@10.19.6: + resolution: {integrity: sha512-gympg+T2Z1fG1unB8NH29yHJwnEaCH37Z32diPDku316OTnRPeMbiRV9kTrfZpocXjdfnWuFUl/Mj4BHaf6gnw==} dev: true /prelude-ls@1.2.1: @@ -3429,26 +3433,26 @@ packages: glob: 7.2.3 dev: true - /rollup@4.11.0: - resolution: {integrity: sha512-2xIbaXDXjf3u2tajvA5xROpib7eegJ9Y/uPlSFhXLNpK9ampCczXAhLEb5yLzJyG3LAdI1NWtNjDXiLyniNdjQ==} + /rollup@4.12.0: + resolution: {integrity: sha512-wz66wn4t1OHIJw3+XU7mJJQV/2NAfw5OAk6G6Hoo3zcvz/XOfQ52Vgi+AN4Uxoxi0KBBwk2g8zPrTDA4btSB/Q==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.11.0 - '@rollup/rollup-android-arm64': 4.11.0 - '@rollup/rollup-darwin-arm64': 4.11.0 - '@rollup/rollup-darwin-x64': 4.11.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.11.0 - '@rollup/rollup-linux-arm64-gnu': 4.11.0 - '@rollup/rollup-linux-arm64-musl': 4.11.0 - '@rollup/rollup-linux-riscv64-gnu': 4.11.0 - '@rollup/rollup-linux-x64-gnu': 4.11.0 - '@rollup/rollup-linux-x64-musl': 4.11.0 - '@rollup/rollup-win32-arm64-msvc': 4.11.0 - '@rollup/rollup-win32-ia32-msvc': 4.11.0 - '@rollup/rollup-win32-x64-msvc': 4.11.0 + '@rollup/rollup-android-arm-eabi': 4.12.0 + '@rollup/rollup-android-arm64': 4.12.0 + '@rollup/rollup-darwin-arm64': 4.12.0 + '@rollup/rollup-darwin-x64': 4.12.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.12.0 + '@rollup/rollup-linux-arm64-gnu': 4.12.0 + '@rollup/rollup-linux-arm64-musl': 4.12.0 + '@rollup/rollup-linux-riscv64-gnu': 4.12.0 + '@rollup/rollup-linux-x64-gnu': 4.12.0 + '@rollup/rollup-linux-x64-musl': 4.12.0 + '@rollup/rollup-win32-arm64-msvc': 4.12.0 + '@rollup/rollup-win32-ia32-msvc': 4.12.0 + '@rollup/rollup-win32-x64-msvc': 4.12.0 fsevents: 2.3.3 dev: true @@ -3495,10 +3499,10 @@ packages: engines: {node: '>=8'} dev: true - /shiki@1.1.2: - resolution: {integrity: sha512-qNzFwTv5uhEDNUIwp7wHjsrffVeLbmOgWnM5mZZhoiz7G2qAUvqVfUzuWfieD45/YAKipzCtdV9SndacKtABow==} + /shiki@1.1.7: + resolution: {integrity: sha512-9kUTMjZtcPH3i7vHunA6EraTPpPOITYTdA5uMrvsJRexktqP0s7P3s9HVK80b4pP42FRVe03D7fT3NmJv2yYhw==} dependencies: - '@shikijs/core': 1.1.2 + '@shikijs/core': 1.1.7 dev: true /siginfo@2.0.0: @@ -3613,10 +3617,10 @@ packages: engines: {node: '>=8'} dev: true - /strip-literal@1.3.0: - resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + /strip-literal@2.0.0: + resolution: {integrity: sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==} dependencies: - acorn: 8.11.3 + js-tokens: 8.0.3 dev: true /supports-color@5.5.0: @@ -3788,8 +3792,8 @@ packages: engines: {node: '>= 0.10'} dev: true - /vite-node@1.2.2: - resolution: {integrity: sha512-1as4rDTgVWJO3n1uHmUYqq7nsFgINQ9u+mRcXpjeOMJUmviqNKjcZB7UfRZrlM7MjYXMKpuWp5oGkjaFLnjawg==} + /vite-node@1.3.1: + resolution: {integrity: sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -3797,7 +3801,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) + vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) transitivePeerDependencies: - '@types/node' - less @@ -3809,8 +3813,8 @@ packages: - terser dev: true - /vite-plugin-dts@3.7.2(@types/node@20.11.19)(typescript@5.3.3)(vite@5.1.3): - resolution: {integrity: sha512-kg//1nDA01b8rufJf4TsvYN8LMkdwv0oBYpiQi6nRwpHyue+wTlhrBiqgipdFpMnW1oOYv6ywmzE5B0vg6vSEA==} + /vite-plugin-dts@3.7.3(@types/node@20.11.22)(typescript@5.3.3)(vite@5.1.4): + resolution: {integrity: sha512-26eTlBYdpjRLWCsTJebM8vkCieE+p9gP3raf+ecDnzzK5E3FG6VE1wcy55OkRpfWWVlVvKkYFe6uvRHYWx7Nog==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -3819,13 +3823,13 @@ packages: vite: optional: true dependencies: - '@microsoft/api-extractor': 7.39.0(@types/node@20.11.19) + '@microsoft/api-extractor': 7.39.0(@types/node@20.11.22) '@rollup/pluginutils': 5.1.0 '@vue/language-core': 1.8.27(typescript@5.3.3) debug: 4.3.4 kolorist: 1.8.0 typescript: 5.3.3 - vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) + vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) vue-tsc: 1.8.27(typescript@5.3.3) transitivePeerDependencies: - '@types/node' @@ -3833,8 +3837,8 @@ packages: - supports-color dev: true - /vite@5.1.3(@types/node@20.11.19)(lightningcss@1.23.0): - resolution: {integrity: sha512-UfmUD36DKkqhi/F75RrxvPpry+9+tTkrXfMNZD+SboZqBCMsxKtO52XeGzzuh7ioz+Eo/SYDBbdb0Z7vgcDJew==} + /vite@5.1.4(@types/node@20.11.22)(lightningcss@1.24.0): + resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -3861,21 +3865,21 @@ packages: terser: optional: true dependencies: - '@types/node': 20.11.19 + '@types/node': 20.11.22 esbuild: 0.19.12 - lightningcss: 1.23.0 + lightningcss: 1.24.0 postcss: 8.4.35 - rollup: 4.11.0 + rollup: 4.12.0 optionalDependencies: fsevents: 2.3.3 dev: true - /vitepress@1.0.0-rc.42(@algolia/client-search@4.22.1)(search-insights@2.13.0)(typescript@5.3.3): - resolution: {integrity: sha512-VeiVVXFblt/sjruFSJBNChMWwlztMrRMe8UXdNpf4e05mKtTYEY38MF5qoP90KxPTCfMQiKqwEGwXAGuOTK8HQ==} + /vitepress@1.0.0-rc.44(@algolia/client-search@4.22.1)(search-insights@2.13.0)(typescript@5.3.3): + resolution: {integrity: sha512-tO5taxGI7fSpBK1D8zrZTyJJERlyU9nnt0jHSt3fywfq3VKn977Hg0wUuTkEmwXlFYwuW26+6+3xorf4nD3XvA==} hasBin: true peerDependencies: markdown-it-mathjax3: ^4.3.2 - postcss: ^8.4.34 + postcss: ^8.4.35 peerDependenciesMeta: markdown-it-mathjax3: optional: true @@ -3884,19 +3888,19 @@ packages: dependencies: '@docsearch/css': 3.5.2 '@docsearch/js': 3.5.2(@algolia/client-search@4.22.1)(search-insights@2.13.0) - '@shikijs/core': 1.1.2 - '@shikijs/transformers': 1.1.2 + '@shikijs/core': 1.1.7 + '@shikijs/transformers': 1.1.7 '@types/markdown-it': 13.0.7 - '@vitejs/plugin-vue': 5.0.4(vite@5.1.3)(vue@3.4.19) - '@vue/devtools-api': 7.0.14 - '@vueuse/core': 10.7.2(vue@3.4.19) - '@vueuse/integrations': 10.7.2(focus-trap@7.5.4)(vue@3.4.19) + '@vitejs/plugin-vue': 5.0.4(vite@5.1.4)(vue@3.4.21) + '@vue/devtools-api': 7.0.15(vue@3.4.21) + '@vueuse/core': 10.9.0(vue@3.4.21) + '@vueuse/integrations': 10.9.0(focus-trap@7.5.4)(vue@3.4.21) focus-trap: 7.5.4 mark.js: 8.11.1 minisearch: 6.3.0 - shiki: 1.1.2 - vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) - vue: 3.4.19(typescript@5.3.3) + shiki: 1.1.7 + vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vue: 3.4.21(typescript@5.3.3) transitivePeerDependencies: - '@algolia/client-search' - '@types/node' @@ -3925,15 +3929,15 @@ packages: - universal-cookie dev: true - /vitest@1.2.2: - resolution: {integrity: sha512-d5Ouvrnms3GD9USIK36KG8OZ5bEvKEkITFtnGv56HFaSlbItJuYr7hv2Lkn903+AvRAgSixiamozUVfORUekjw==} + /vitest@1.3.1: + resolution: {integrity: sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': ^1.0.0 - '@vitest/ui': ^1.0.0 + '@vitest/browser': 1.3.1 + '@vitest/ui': 1.3.1 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -3950,13 +3954,12 @@ packages: jsdom: optional: true dependencies: - '@vitest/expect': 1.2.2 - '@vitest/runner': 1.2.2 - '@vitest/snapshot': 1.2.2 - '@vitest/spy': 1.2.2 - '@vitest/utils': 1.2.2 + '@vitest/expect': 1.3.1 + '@vitest/runner': 1.3.1 + '@vitest/snapshot': 1.3.1 + '@vitest/spy': 1.3.1 + '@vitest/utils': 1.3.1 acorn-walk: 8.3.2 - cac: 6.7.14 chai: 4.4.1 debug: 4.3.4 execa: 8.0.1 @@ -3965,11 +3968,11 @@ packages: pathe: 1.1.2 picocolors: 1.0.0 std-env: 3.7.0 - strip-literal: 1.3.0 + strip-literal: 2.0.0 tinybench: 2.6.0 tinypool: 0.8.2 - vite: 5.1.3(@types/node@20.11.19)(lightningcss@1.23.0) - vite-node: 1.2.2 + vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vite-node: 1.3.1 why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -3981,7 +3984,7 @@ packages: - terser dev: true - /vue-demi@0.14.7(vue@3.4.19): + /vue-demi@0.14.7(vue@3.4.21): resolution: {integrity: sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==} engines: {node: '>=12'} hasBin: true @@ -3993,17 +3996,17 @@ packages: '@vue/composition-api': optional: true dependencies: - vue: 3.4.19(typescript@5.3.3) + vue: 3.4.21(typescript@5.3.3) dev: true - /vue-eslint-parser@9.4.2(eslint@8.56.0): + /vue-eslint-parser@9.4.2(eslint@8.57.0): resolution: {integrity: sha512-Ry9oiGmCAK91HrKMtCrKFWmSFWvYkpGglCeFAIqDdr9zdXmMMpJOmUJS7WWsW7fX81h6mwHmUZCQQ1E0PkSwYQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.56.0 + eslint: 8.57.0 eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 @@ -4033,19 +4036,19 @@ packages: typescript: 5.3.3 dev: true - /vue@3.4.19(typescript@5.3.3): - resolution: {integrity: sha512-W/7Fc9KUkajFU8dBeDluM4sRGc/aa4YJnOYck8dkjgZoXtVsn3OeTGni66FV1l3+nvPA7VBFYtPioaGKUmEADw==} + /vue@3.4.21(typescript@5.3.3): + resolution: {integrity: sha512-5hjyV/jLEIKD/jYl4cavMcnzKwjMKohureP8ejn3hhEjwhWIhWeuzL2kJAjzl/WyVsgPY56Sy4Z40C3lVshxXA==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@vue/compiler-dom': 3.4.19 - '@vue/compiler-sfc': 3.4.19 - '@vue/runtime-dom': 3.4.19 - '@vue/server-renderer': 3.4.19(vue@3.4.19) - '@vue/shared': 3.4.19 + '@vue/compiler-dom': 3.4.21 + '@vue/compiler-sfc': 3.4.21 + '@vue/runtime-dom': 3.4.21 + '@vue/server-renderer': 3.4.21(vue@3.4.21) + '@vue/shared': 3.4.21 typescript: 5.3.3 dev: true @@ -4099,12 +4102,13 @@ packages: dependencies: eslint-visitor-keys: 3.4.3 lodash: 4.17.21 - yaml: 2.3.4 + yaml: 2.4.0 dev: true - /yaml@2.3.4: - resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} + /yaml@2.4.0: + resolution: {integrity: sha512-j9iR8g+/t0lArF4V6NE/QCfT+CO7iLqrXAHZbJdo+LfjqP1vR8Fg5bSiaq6Q2lOD1AUEVrEVIgABvBFYojJVYQ==} engines: {node: '>= 14'} + hasBin: true dev: true /yargs-parser@21.1.1: From 813e8b8521ee8d336431e59332fffc577320d562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Wed, 28 Feb 2024 22:24:59 +0100 Subject: [PATCH 03/15] update documentation --- docs/.vitepress/config.mts | 98 +++++++++++++++++++-------------- docs/.vitepress/theme/style.css | 1 + docs/demo/index.md | 7 +++ docs/guide/index.md | 3 + docs/guide/vue/composables.md | 1 + docs/guide/vue/index.md | 27 +++++++++ 6 files changed, 96 insertions(+), 41 deletions(-) create mode 100644 docs/demo/index.md create mode 100644 docs/guide/vue/composables.md create mode 100644 docs/guide/vue/index.md diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index f938711..3e582d1 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -12,51 +12,67 @@ export default defineConfig({ nav: [ { text: 'Home', link: '/' }, { text: 'Guide', link: '/guide/' }, - { text: 'Demo', link: '/demo/collapse' }, + { text: 'Demo', link: '/demo/' }, ], search: { provider: 'local', }, - sidebar: [ - { - text: 'Guide', - items: [ - { text: 'Get started', link: '/guide/' }, - { - text: 'Collapse / Accordion', - link: '/guide/collapse', - }, - { - text: 'Drag', - link: '/guide/drag', - }, - { - text: 'Drilldown', - link: '/guide/drilldown', - }, - { - text: 'Dropdown', - link: '/guide/dropdown', - }, - { - text: 'Marquee', - link: '/guide/marquee', - }, - ], - }, - { - text: 'Demo', - collapsed: true, - items: [ - { text: 'Collapse/Accordion', link: '/demo/collapse' }, - { text: 'Drag', link: '/demo/drag' }, - { text: 'Drilldown', link: '/demo/drilldown' }, - { text: 'Dropdown', link: '/demo/dropdown' }, - { text: 'Marquee', link: '/demo/marquee' }, - ], - }, - ], - + sidebar: { + '/guide/': [ + { + text: 'Guide', + items: [ + { text: 'Get started', link: '/guide/' }, + { + text: 'Collapse / Accordion', + link: '/guide/collapse', + }, + { + text: 'Drag', + link: '/guide/drag', + }, + { + text: 'Drilldown', + link: '/guide/drilldown', + }, + { + text: 'Dropdown', + link: '/guide/dropdown', + }, + { + text: 'Marquee', + link: '/guide/marquee', + }, + ], + }, + { + text: 'Vue', + items: [ + { + text: 'Get started', + link: '/guide/vue/', + }, + { + text: 'Composables', + link: '/guide/vue/composables', + }, + ], + }, + ], + '/demo/': [ + { + text: 'Demo', + link: '/demo/', + items: [ + { text: 'Collapse/Accordion', link: '/demo/collapse' }, + { text: 'Drag', link: '/demo/drag' }, + { text: 'Drilldown', link: '/demo/drilldown' }, + { text: 'Dropdown', link: '/demo/dropdown' }, + { text: 'Marquee', link: '/demo/marquee' }, + ], + }, + ], + }, socialLinks: [ { icon: 'github', link: 'https://github.com/Applelo/compotes' }, ], diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 6b27723..61e2296 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -15,6 +15,7 @@ --vp-c-brand-dark: #535bf2; --vp-c-brand-darker: #454ce1; --vp-c-brand-dimm: rgba(100, 108, 255, 0.08); + --vp-c-brand-1: var(--vp-c-brand); } /** diff --git a/docs/demo/index.md b/docs/demo/index.md new file mode 100644 index 0000000..6c428f7 --- /dev/null +++ b/docs/demo/index.md @@ -0,0 +1,7 @@ +# Demo + +Compotes provides minimum styles, so some CSS is added to make it work with the CSS provided by the documentation (VitePress). + +Demo are made with the Vanilla JS version of the library and encapsulated with VueJS. + +You can check directly [the source code of the documentation](https://github.com/Applelo/compotes/tree/main/docs/demo) for more details. diff --git a/docs/guide/index.md b/docs/guide/index.md index 486878e..515dda5 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -12,6 +12,9 @@ # pnpm pnpm add -D compotes +# bun +bun add -D compotes + #npm npm i -D compotes diff --git a/docs/guide/vue/composables.md b/docs/guide/vue/composables.md new file mode 100644 index 0000000..42a7c44 --- /dev/null +++ b/docs/guide/vue/composables.md @@ -0,0 +1 @@ +# Vue Composables diff --git a/docs/guide/vue/index.md b/docs/guide/vue/index.md new file mode 100644 index 0000000..f876cea --- /dev/null +++ b/docs/guide/vue/index.md @@ -0,0 +1,27 @@ +# Vue + +`@compotes/vue` provides [composables](/guide/vue/composables) and soon components wrappers for the `compotes` library. + +## Installation + +Install the Vue version of the library with your favorite package manager. + +::: info +No needs to install the `compotes` package since it is a dependencies of `@compotes/vue`. +::: + +```shell +# pnpm +pnpm add -D @compotes/vue + +# bun +bun add -D @compotes/vue + +#npm +npm i -D @compotes/vue + +# yarn +yarn add -D @compotes/vue +``` + +For usage, check the [composables](/guide/vue/composables) page. From 2b1ce9b74311793b135fee17fd639ba9ce67a3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Fri, 1 Mar 2024 21:34:02 +0100 Subject: [PATCH 04/15] update doc for composable --- docs/guide/marquee.md | 1 - docs/guide/vue/composables.md | 53 ++++++++++++++++++ packages/core/package.json | 2 +- pnpm-lock.yaml | 102 +++++++++++++++++----------------- 4 files changed, 105 insertions(+), 53 deletions(-) diff --git a/docs/guide/marquee.md b/docs/guide/marquee.md index 95a095f..f2b6d2e 100644 --- a/docs/guide/marquee.md +++ b/docs/guide/marquee.md @@ -15,7 +15,6 @@ const marquee = new Marquee('.c-marquee') The structure consists to a list of element. All animation are CSS based. ```html -
  • This is the default marquee
  • diff --git a/docs/guide/vue/composables.md b/docs/guide/vue/composables.md index 42a7c44..b49eeac 100644 --- a/docs/guide/vue/composables.md +++ b/docs/guide/vue/composables.md @@ -1 +1,54 @@ # Vue Composables + +The [composable](https://vuejs.org/guide/reusability/composables.html) are the easy way to connect Compotes into VueJS hooks. +First, [use a ref to get your HTMLElement ](https://vuejs.org/guide/essentials/template-refs.html) and pass it to your composable as a first argument. + +```vue + +``` + +::: info +You can also pass a string for `querySelector` your element, as first argument, but it is recommanded to pass ref for proper Vue integration. +::: + +As the second argument, you can pass the options of the component. + +```vue + +``` + +For the template, you need to respect the structure of the component you reference. + +```vue + + + +``` +That's it for Vue composable. + +## List + + - useCollapse(el, [options](/guide/collapse#options)) + - useDrag(el, [options](/guide/drag#options)) + - useDrilldown(el, [options](/guide/drilldown#options)) + - useDropdown(el, [options](/guide/dropdown#options)) + - useMarquee(el, [options](/guide/marquee#options)) diff --git a/packages/core/package.json b/packages/core/package.json index c98752e..1581871 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -66,7 +66,7 @@ "tabbable": "^6.2.0" }, "devDependencies": { - "@types/node": "^20.11.22", + "@types/node": "^20.11.24", "fast-glob": "^3.3.2", "lightningcss": "^1.24.0", "typescript": "^5.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e934d26..49856e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,7 +22,7 @@ importers: version: 5.3.3 vite: specifier: ^5.1.4 - version: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) vitepress: specifier: 1.0.0-rc.44 version: 1.0.0-rc.44(@algolia/client-search@4.22.1)(search-insights@2.13.0)(typescript@5.3.3) @@ -43,8 +43,8 @@ importers: version: 6.2.0 devDependencies: '@types/node': - specifier: ^20.11.22 - version: 20.11.22 + specifier: ^20.11.24 + version: 20.11.24 fast-glob: specifier: ^3.3.2 version: 3.3.2 @@ -56,10 +56,10 @@ importers: version: 5.3.3 vite: specifier: ^5.1.4 - version: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) vite-plugin-dts: specifier: ^3.7.3 - version: 3.7.3(@types/node@20.11.22)(typescript@5.3.3)(vite@5.1.4) + version: 3.7.3(@types/node@20.11.24)(typescript@5.3.3)(vite@5.1.4) packages/vue: dependencies: @@ -75,7 +75,7 @@ importers: version: 5.3.3 vite: specifier: ^5.1.4 - version: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) vue: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) @@ -257,7 +257,7 @@ packages: '@eslint-types/jsdoc': 46.8.2-1 '@eslint-types/typescript-eslint': 6.21.0 '@eslint-types/unicorn': 50.0.1 - '@stylistic/eslint-plugin': 1.6.2(eslint@8.57.0)(typescript@5.3.3) + '@stylistic/eslint-plugin': 1.6.3(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 @@ -694,24 +694,24 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.22): + /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.24): resolution: {integrity: sha512-wT/kB2oDbdZXITyDh2SQLzaWwTOFbV326fP0pUwNW00WeliARs0qjmXBWmGWardEzp2U3/axkO3Lboqun6vrig==} dependencies: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.11.22) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.24) transitivePeerDependencies: - '@types/node' dev: true - /@microsoft/api-extractor@7.39.0(@types/node@20.11.22): + /@microsoft/api-extractor@7.39.0(@types/node@20.11.24): resolution: {integrity: sha512-PuXxzadgnvp+wdeZFPonssRAj/EW4Gm4s75TXzPk09h3wJ8RS3x7typf95B4vwZRrPTQBGopdUl+/vHvlPdAcg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.28.3(@types/node@20.11.22) + '@microsoft/api-extractor-model': 7.28.3(@types/node@20.11.24) '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 3.62.0(@types/node@20.11.22) + '@rushstack/node-core-library': 3.62.0(@types/node@20.11.24) '@rushstack/rig-package': 0.5.1 '@rushstack/ts-command-line': 4.17.1 colors: 1.2.5 @@ -876,7 +876,7 @@ packages: dev: true optional: true - /@rushstack/node-core-library@3.62.0(@types/node@20.11.22): + /@rushstack/node-core-library@3.62.0(@types/node@20.11.24): resolution: {integrity: sha512-88aJn2h8UpSvdwuDXBv1/v1heM6GnBf3RjEy6ZPP7UnzHNCqOHA2Ut+ScYUbXcqIdfew9JlTAe3g+cnX9xQ/Aw==} peerDependencies: '@types/node': '*' @@ -884,7 +884,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 20.11.22 + '@types/node': 20.11.24 colors: 1.2.5 fs-extra: 7.0.1 import-lazy: 4.0.0 @@ -924,13 +924,13 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@stylistic/eslint-plugin-js@1.6.2(eslint@8.57.0): - resolution: {integrity: sha512-ndT6X2KgWGxv8101pdMOxL8pihlYIHcOv3ICd70cgaJ9exwkPn8hJj4YQwslxoAlre1TFHnXd/G1/hYXgDrjIA==} + /@stylistic/eslint-plugin-js@1.6.3(eslint@8.57.0): + resolution: {integrity: sha512-ckdz51oHxD2FaxgY2piJWJVJiwgp8Uu96s+as2yB3RMwavn3nHBrpliVukXY9S/DmMicPRB2+H8nBk23GDG+qA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@types/eslint': 8.56.4 + '@types/eslint': 8.56.5 acorn: 8.11.3 escape-string-regexp: 4.0.0 eslint: 8.57.0 @@ -938,25 +938,25 @@ packages: espree: 9.6.1 dev: true - /@stylistic/eslint-plugin-jsx@1.6.2(eslint@8.57.0): - resolution: {integrity: sha512-hbbouazSJbHD/fshBIOLh9JgtSphKNoTCfHLSNBjAkXLK+GR4i2jhEZZF9P0mtXrNuy2WWInmpq/g0pfWBmSBA==} + /@stylistic/eslint-plugin-jsx@1.6.3(eslint@8.57.0): + resolution: {integrity: sha512-SRysCIg59Zvn3dJPqHziiHwuni4NNj1et5stAmivmyQ3Cdp2ULCB7tGxCF1OxpkwRlZQue3ZgdiM7EXfJKaf9w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.57.0) - '@types/eslint': 8.56.4 + '@stylistic/eslint-plugin-js': 1.6.3(eslint@8.57.0) + '@types/eslint': 8.56.5 eslint: 8.57.0 estraverse: 5.3.0 picomatch: 4.0.1 dev: true - /@stylistic/eslint-plugin-plus@1.6.2(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-EDMwa6gzKw4bXRqdIAUvZDfIgwotbjJs8o+vYE22chAYtVAnA0Pcq+cPx0Uk35t2gvJWb5OaLDjqA6oy1tD0jg==} + /@stylistic/eslint-plugin-plus@1.6.3(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-TuwQOdyVGycDPw5XeF7W4f3ZonAVzOAzORSaD2yGAJ0fRAbJ+l/v3CkKzIAqBBwWkc+c2aRMsWtLP2+viBnmlQ==} peerDependencies: eslint: '*' dependencies: - '@types/eslint': 8.56.4 + '@types/eslint': 8.56.5 '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 transitivePeerDependencies: @@ -964,14 +964,14 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin-ts@1.6.2(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-FizV58em0OjO/xFHRIy/LJJVqzxCNmYC/xVtKDf8aGDRgZpLo+lkaBKfBrbMkAGzhBKbYj+iLEFI4WEl6aVZGQ==} + /@stylistic/eslint-plugin-ts@1.6.3(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-v5GwZsPLblWM9uAIdaSi31Sed3XBWlTFQJ3b5upEmj6QsKYivA5nmIYutwqqL133QdVWjmC86pINlx2Muq3uNQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.57.0) - '@types/eslint': 8.56.4 + '@stylistic/eslint-plugin-js': 1.6.3(eslint@8.57.0) + '@types/eslint': 8.56.5 '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 transitivePeerDependencies: @@ -979,17 +979,17 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin@1.6.2(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-EFnVcKOE5HTiMlVwisL9hHjz8a69yBbJRscWF/z+/vl6M4ew8NVrBlY8ea7KdV8QtyCY4Yapmsbg5ZDfhWlEgg==} + /@stylistic/eslint-plugin@1.6.3(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-WDa4FjhImp7YcztRaMG09svhKYYhi2Hc4p9ltQRSqyB4fsUUFm+GKzStqqH7xfjHnxacMJaOnaMGRTUqIIZDLA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.6.2(eslint@8.57.0) - '@stylistic/eslint-plugin-jsx': 1.6.2(eslint@8.57.0) - '@stylistic/eslint-plugin-plus': 1.6.2(eslint@8.57.0)(typescript@5.3.3) - '@stylistic/eslint-plugin-ts': 1.6.2(eslint@8.57.0)(typescript@5.3.3) - '@types/eslint': 8.56.4 + '@stylistic/eslint-plugin-js': 1.6.3(eslint@8.57.0) + '@stylistic/eslint-plugin-jsx': 1.6.3(eslint@8.57.0) + '@stylistic/eslint-plugin-plus': 1.6.3(eslint@8.57.0)(typescript@5.3.3) + '@stylistic/eslint-plugin-ts': 1.6.3(eslint@8.57.0)(typescript@5.3.3) + '@types/eslint': 8.56.5 eslint: 8.57.0 transitivePeerDependencies: - supports-color @@ -1000,8 +1000,8 @@ packages: resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} dev: true - /@types/eslint@8.56.4: - resolution: {integrity: sha512-lG1GLUnL5vuRBGb3MgWUWLdGMH2Hps+pERuyQXCfWozuGKdnhf9Pbg4pkcrVUHjKrU7Rl+GCZ/299ObBXZFAxg==} + /@types/eslint@8.56.5: + resolution: {integrity: sha512-u5/YPJHo1tvkSF2CE0USEkxon82Z5DBy2xR+qfyYNszpX9qcs4sT6uq2kBbj4BXY1+DBGDPnrhMZV3pKWGNukw==} dependencies: '@types/estree': 1.0.5 '@types/json-schema': 7.0.15 @@ -1036,8 +1036,8 @@ packages: resolution: {integrity: sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==} dev: true - /@types/node@20.11.22: - resolution: {integrity: sha512-/G+IxWxma6V3E+pqK1tSl2Fo1kl41pK1yeCyDsgkF9WlVAme4j5ISYM2zR11bgLFJGLN5sVK40T4RJNuiZbEjA==} + /@types/node@20.11.24: + resolution: {integrity: sha512-Kza43ewS3xoLgCEpQrsT+xRo/EJej1y0kVYGiLFE1NEODXGzTfwiC6tXTLMQskn1X4/Rjlh0MQUvx9W+L9long==} dependencies: undici-types: 5.26.5 dev: true @@ -1201,7 +1201,7 @@ packages: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) vue: 3.4.21(typescript@5.3.3) dev: true @@ -1587,7 +1587,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001591 - electron-to-chromium: 1.4.686 + electron-to-chromium: 1.4.690 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -1820,8 +1820,8 @@ packages: esutils: 2.0.3 dev: true - /electron-to-chromium@1.4.686: - resolution: {integrity: sha512-3avY1B+vUzNxEgkBDpKOP8WarvUAEwpRaiCL0He5OKWEFxzaOFiq4WoZEZe7qh0ReS7DiWoHMnYoQCKxNZNzSg==} + /electron-to-chromium@1.4.690: + resolution: {integrity: sha512-+2OAGjUx68xElQhydpcbqH50hE8Vs2K6TkAeLhICYfndb67CVH0UsZaijmRUE3rHlIxU1u0jxwhgVe6fK3YANA==} dev: true /emoji-regex@8.0.0: @@ -3801,7 +3801,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) transitivePeerDependencies: - '@types/node' - less @@ -3813,7 +3813,7 @@ packages: - terser dev: true - /vite-plugin-dts@3.7.3(@types/node@20.11.22)(typescript@5.3.3)(vite@5.1.4): + /vite-plugin-dts@3.7.3(@types/node@20.11.24)(typescript@5.3.3)(vite@5.1.4): resolution: {integrity: sha512-26eTlBYdpjRLWCsTJebM8vkCieE+p9gP3raf+ecDnzzK5E3FG6VE1wcy55OkRpfWWVlVvKkYFe6uvRHYWx7Nog==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3823,13 +3823,13 @@ packages: vite: optional: true dependencies: - '@microsoft/api-extractor': 7.39.0(@types/node@20.11.22) + '@microsoft/api-extractor': 7.39.0(@types/node@20.11.24) '@rollup/pluginutils': 5.1.0 '@vue/language-core': 1.8.27(typescript@5.3.3) debug: 4.3.4 kolorist: 1.8.0 typescript: 5.3.3 - vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) vue-tsc: 1.8.27(typescript@5.3.3) transitivePeerDependencies: - '@types/node' @@ -3837,7 +3837,7 @@ packages: - supports-color dev: true - /vite@5.1.4(@types/node@20.11.22)(lightningcss@1.24.0): + /vite@5.1.4(@types/node@20.11.24)(lightningcss@1.24.0): resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -3865,7 +3865,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.11.22 + '@types/node': 20.11.24 esbuild: 0.19.12 lightningcss: 1.24.0 postcss: 8.4.35 @@ -3899,7 +3899,7 @@ packages: mark.js: 8.11.1 minisearch: 6.3.0 shiki: 1.1.7 - vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) vue: 3.4.21(typescript@5.3.3) transitivePeerDependencies: - '@algolia/client-search' @@ -3971,7 +3971,7 @@ packages: strip-literal: 2.0.0 tinybench: 2.6.0 tinypool: 0.8.2 - vite: 5.1.4(@types/node@20.11.22)(lightningcss@1.24.0) + vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) vite-node: 1.3.1 why-is-node-running: 2.2.2 transitivePeerDependencies: From 0b023979bb49b04c847a32f1037f416acd3e86e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Sat, 2 Mar 2024 10:20:33 +0100 Subject: [PATCH 05/15] update dependencies --- package.json | 4 +- packages/vue/package.json | 2 +- pnpm-lock.yaml | 93 ++++++++++++++++++++++++++++++--------- 3 files changed, 76 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 581c29d..24f553e 100644 --- a/package.json +++ b/package.json @@ -45,12 +45,12 @@ "devDependencies": { "@antfu/eslint-config": "2.6.4", "eslint": "^8.57.0", - "playwright": "^1.42.0", + "playwright": "^1.42.1", "typescript": "^5.3.3", "vite": "^5.1.4", "vitepress": "1.0.0-rc.44", "vitest": "^1.3.1", "vue": "^3.4.21", - "vue-tsc": "^1.8.27" + "vue-tsc": "^2.0.2" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 4353a71..306828c 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -61,7 +61,7 @@ "typescript": "^5.3.3", "vite": "^5.1.4", "vue": "^3.4.21", - "vue-tsc": "^1.8.27" + "vue-tsc": "^2.0.2" }, "publishConfig": { "access": "public" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49856e7..b3d4f11 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^8.57.0 version: 8.57.0 playwright: - specifier: ^1.42.0 - version: 1.42.0 + specifier: ^1.42.1 + version: 1.42.1 typescript: specifier: ^5.3.3 version: 5.3.3 @@ -33,8 +33,8 @@ importers: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) vue-tsc: - specifier: ^1.8.27 - version: 1.8.27(typescript@5.3.3) + specifier: ^2.0.2 + version: 2.0.2(typescript@5.3.3) packages/core: dependencies: @@ -80,8 +80,8 @@ importers: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) vue-tsc: - specifier: ^1.8.27 - version: 1.8.27(typescript@5.3.3) + specifier: ^2.0.2 + version: 2.0.2(typescript@5.3.3) packages: @@ -1250,12 +1250,24 @@ packages: '@volar/source-map': 1.11.1 dev: true + /@volar/language-core@2.1.0: + resolution: {integrity: sha512-BrYEgYHx92ocpt1OUxJs2x3TAXEjpPLxsQoARb96g2GdF62xnfRQUqCNBwiU7Z3MQ/0tOAdqdHNYNmrFtx6q4A==} + dependencies: + '@volar/source-map': 2.1.0 + dev: true + /@volar/source-map@1.11.1: resolution: {integrity: sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==} dependencies: muggle-string: 0.3.1 dev: true + /@volar/source-map@2.1.0: + resolution: {integrity: sha512-VPyi+DTv67cvUOkUewzsOQJY3VUhjOjQxigT487z/H7tEI8ZFd5RksC5afk3JelOK+a/3Y8LRDbKmYKu1dz87g==} + dependencies: + muggle-string: 0.4.1 + dev: true + /@volar/typescript@1.11.1: resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==} dependencies: @@ -1263,6 +1275,13 @@ packages: path-browserify: 1.0.1 dev: true + /@volar/typescript@2.1.0: + resolution: {integrity: sha512-2cicVoW4q6eU/omqfOBv+6r9JdrF5bBelujbJhayPNKiOj/xwotSJ/DM8IeMvTZvtkOZkm6suyOCLEokLY0w2w==} + dependencies: + '@volar/language-core': 2.1.0 + path-browserify: 1.0.1 + dev: true + /@vue/compiler-core@3.4.21: resolution: {integrity: sha512-MjXawxZf2SbZszLPYxaFCjxfibYrzr3eYbKxwpLR9EQN+oaziSu3qKVbwBERj1IFIB8OLUewxB5m/BFzi613og==} dependencies: @@ -1301,20 +1320,20 @@ packages: '@vue/shared': 3.4.21 dev: true - /@vue/devtools-api@7.0.15(vue@3.4.21): - resolution: {integrity: sha512-kgEYWosDyWpS1vFSuJNNWUnHkP+VkL3Y+9mw+rf7ex41SwbYL/WdC3KXqAtjiSrEs7r/FrHmUTh0BkINJPFkbA==} + /@vue/devtools-api@7.0.16(vue@3.4.21): + resolution: {integrity: sha512-fZG2CG8624qphMf4aj59zNHckMx1G3lxODUuyM9USKuLznXCh66TP+tEbPOCcml16hA0GizJ4D8w6F34hrfbcw==} dependencies: - '@vue/devtools-kit': 7.0.15(vue@3.4.21) + '@vue/devtools-kit': 7.0.16(vue@3.4.21) transitivePeerDependencies: - vue dev: true - /@vue/devtools-kit@7.0.15(vue@3.4.21): - resolution: {integrity: sha512-dT7OeCe1LUCIhHIb/yRR6Hn+XHh73r1o78onqCrxEKHdoZwBItiIeVnmJZPEUDFstIxfs+tJL231mySk3laTow==} + /@vue/devtools-kit@7.0.16(vue@3.4.21): + resolution: {integrity: sha512-IA8SSGiZbNgOi4wLT3mRvd71Q9KE0KvMfGk6haa2GZ6bL2K/xMA8Fvvj3o1maspfUXrGcCXutaqbLqbGx/espQ==} peerDependencies: vue: ^3.0.0 dependencies: - '@vue/devtools-shared': 7.0.15 + '@vue/devtools-shared': 7.0.16 hookable: 5.5.3 mitt: 3.0.1 perfect-debounce: 1.0.0 @@ -1322,8 +1341,8 @@ packages: vue: 3.4.21(typescript@5.3.3) dev: true - /@vue/devtools-shared@7.0.15: - resolution: {integrity: sha512-fpfvMVvS7aDgO7x2JPFiTQ1MHcCc63/bE7yTgs278gMBybuO9b3hdiZ/k0Pw1rN+RefaU9yQiFA+5CCFc1D+6w==} + /@vue/devtools-shared@7.0.16: + resolution: {integrity: sha512-Lew4FrGjDjmanaUWSueNE1Rre83k7jQpttc17MaoVw0eARWU5DgZ1F/g9GNUMZXVjbP9rwE+LL3gd9XfXCfkvA==} dependencies: rfdc: 1.3.1 dev: true @@ -1348,6 +1367,24 @@ packages: vue-template-compiler: 2.7.16 dev: true + /@vue/language-core@2.0.2(typescript@5.3.3): + resolution: {integrity: sha512-MT8pGTFouwDOS/ton1OqyW2MtTv02I8kEymvD05lW3NM8HJf63Xu9sZc0nh5SGZN35EFdnSsD+emhRKRzHLEug==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@volar/language-core': 2.1.0 + '@vue/compiler-dom': 3.4.21 + '@vue/shared': 3.4.21 + computeds: 0.0.1 + minimatch: 9.0.3 + path-browserify: 1.0.1 + typescript: 5.3.3 + vue-template-compiler: 2.7.16 + dev: true + /@vue/reactivity@3.4.21: resolution: {integrity: sha512-UhenImdc0L0/4ahGCyEzc/pZNwVgcglGy9HVzJ1Bq2Mm9qXOpP8RyNTjookw/gOCUlXSEtuZ2fUg5nrHcoqJcw==} dependencies: @@ -3055,6 +3092,10 @@ packages: resolution: {integrity: sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==} dev: true + /muggle-string@0.4.1: + resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} + dev: true + /nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -3279,18 +3320,18 @@ packages: pathe: 1.1.2 dev: true - /playwright-core@1.42.0: - resolution: {integrity: sha512-0HD9y8qEVlcbsAjdpBaFjmaTHf+1FeIddy8VJLeiqwhcNqGCBe4Wp2e8knpqiYbzxtxarxiXyNDw2cG8sCaNMQ==} + /playwright-core@1.42.1: + resolution: {integrity: sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==} engines: {node: '>=16'} hasBin: true dev: true - /playwright@1.42.0: - resolution: {integrity: sha512-Ko7YRUgj5xBHbntrgt4EIw/nE//XBHOKVKnBjO1KuZkmkhlbgyggTe5s9hjqQ1LpN+Xg+kHsQyt5Pa0Bw5XpvQ==} + /playwright@1.42.1: + resolution: {integrity: sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==} engines: {node: '>=16'} hasBin: true dependencies: - playwright-core: 1.42.0 + playwright-core: 1.42.1 optionalDependencies: fsevents: 2.3.2 dev: true @@ -3892,7 +3933,7 @@ packages: '@shikijs/transformers': 1.1.7 '@types/markdown-it': 13.0.7 '@vitejs/plugin-vue': 5.0.4(vite@5.1.4)(vue@3.4.21) - '@vue/devtools-api': 7.0.15(vue@3.4.21) + '@vue/devtools-api': 7.0.16(vue@3.4.21) '@vueuse/core': 10.9.0(vue@3.4.21) '@vueuse/integrations': 10.9.0(focus-trap@7.5.4)(vue@3.4.21) focus-trap: 7.5.4 @@ -4036,6 +4077,18 @@ packages: typescript: 5.3.3 dev: true + /vue-tsc@2.0.2(typescript@5.3.3): + resolution: {integrity: sha512-y/McoUhK62cJdI9m8xTCADOELPczi/EhLcjwq84xTqmsqEFugM7vOy5l7X/2ZNdMKopg74jVn2Nd4GdUxPMGWw==} + hasBin: true + peerDependencies: + typescript: '*' + dependencies: + '@volar/typescript': 2.1.0 + '@vue/language-core': 2.0.2(typescript@5.3.3) + semver: 7.6.0 + typescript: 5.3.3 + dev: true + /vue@3.4.21(typescript@5.3.3): resolution: {integrity: sha512-5hjyV/jLEIKD/jYl4cavMcnzKwjMKohureP8ejn3hhEjwhWIhWeuzL2kJAjzl/WyVsgPY56Sy4Z40C3lVshxXA==} peerDependencies: From 2ba5305ede235612ca7de156a5ee0ef02248bf5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:14:22 +0100 Subject: [PATCH 06/15] add demo folder on vue --- package.json | 4 +- packages/vue/demo/README.md | 18 ++ packages/vue/demo/index.html | 12 ++ packages/vue/demo/package.json | 21 +++ packages/vue/demo/src/App.vue | 19 +++ packages/vue/demo/src/main.ts | 5 + packages/vue/demo/src/style.css | 56 ++++++ packages/vue/demo/src/vite-env.d.ts | 1 + packages/vue/demo/tsconfig.json | 25 +++ packages/vue/demo/tsconfig.node.json | 11 ++ packages/vue/demo/vite.config.ts | 7 + packages/vue/package.json | 4 +- packages/vue/src/index.ts | 10 +- pnpm-lock.yaml | 244 +++++++++++++++++---------- pnpm-workspace.yaml | 1 + 15 files changed, 343 insertions(+), 95 deletions(-) create mode 100644 packages/vue/demo/README.md create mode 100644 packages/vue/demo/index.html create mode 100644 packages/vue/demo/package.json create mode 100644 packages/vue/demo/src/App.vue create mode 100644 packages/vue/demo/src/main.ts create mode 100644 packages/vue/demo/src/style.css create mode 100644 packages/vue/demo/src/vite-env.d.ts create mode 100644 packages/vue/demo/tsconfig.json create mode 100644 packages/vue/demo/tsconfig.node.json create mode 100644 packages/vue/demo/vite.config.ts diff --git a/package.json b/package.json index 24f553e..07d8fcd 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "publish": "pnpm run -r publish" }, "devDependencies": { - "@antfu/eslint-config": "2.6.4", + "@antfu/eslint-config": "2.7.0", "eslint": "^8.57.0", "playwright": "^1.42.1", "typescript": "^5.3.3", @@ -51,6 +51,6 @@ "vitepress": "1.0.0-rc.44", "vitest": "^1.3.1", "vue": "^3.4.21", - "vue-tsc": "^2.0.2" + "vue-tsc": "^2.0.3" } } diff --git a/packages/vue/demo/README.md b/packages/vue/demo/README.md new file mode 100644 index 0000000..ef72fd5 --- /dev/null +++ b/packages/vue/demo/README.md @@ -0,0 +1,18 @@ +# Vue 3 + TypeScript + Vite + +This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` + + diff --git a/packages/vue/demo/package.json b/packages/vue/demo/package.json new file mode 100644 index 0000000..40b73d5 --- /dev/null +++ b/packages/vue/demo/package.json @@ -0,0 +1,21 @@ +{ + "name": "demo", + "type": "module", + "version": "0.0.0", + "private": true, + "scripts": { + "dev": "vite", + "build": "vue-tsc && vite build", + "preview": "vite preview" + }, + "dependencies": { + "vue": "^3.4.21" + }, + "devDependencies": { + "@compotes/vue": "workspace:*", + "@vitejs/plugin-vue": "^5.0.4", + "typescript": "^5.3.3", + "vite": "^5.1.4", + "vue-tsc": "^2.0.3" + } +} diff --git a/packages/vue/demo/src/App.vue b/packages/vue/demo/src/App.vue new file mode 100644 index 0000000..137c241 --- /dev/null +++ b/packages/vue/demo/src/App.vue @@ -0,0 +1,19 @@ + + + diff --git a/packages/vue/demo/src/main.ts b/packages/vue/demo/src/main.ts new file mode 100644 index 0000000..2425c0f --- /dev/null +++ b/packages/vue/demo/src/main.ts @@ -0,0 +1,5 @@ +import { createApp } from 'vue' +import './style.css' +import App from './App.vue' + +createApp(App).mount('#app') diff --git a/packages/vue/demo/src/style.css b/packages/vue/demo/src/style.css new file mode 100644 index 0000000..e8e0bca --- /dev/null +++ b/packages/vue/demo/src/style.css @@ -0,0 +1,56 @@ +:root { + font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; + line-height: 1.5; + font-weight: 400; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +a { + font-weight: 500; + color: #646cff; + text-decoration: inherit; +} +a:hover { + color: #535bf2; +} + +body { + margin: 0; + display: flex; + place-items: center; + min-width: 320px; + min-height: 100vh; +} + +h1 { + font-size: 3.2em; + line-height: 1.1; +} + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: center; +} + +@media (prefers-color-scheme: light) { + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } +} diff --git a/packages/vue/demo/src/vite-env.d.ts b/packages/vue/demo/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/packages/vue/demo/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/packages/vue/demo/tsconfig.json b/packages/vue/demo/tsconfig.json new file mode 100644 index 0000000..9e03e60 --- /dev/null +++ b/packages/vue/demo/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "preserve", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/packages/vue/demo/tsconfig.node.json b/packages/vue/demo/tsconfig.node.json new file mode 100644 index 0000000..97ede7e --- /dev/null +++ b/packages/vue/demo/tsconfig.node.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, + "strict": true + }, + "include": ["vite.config.ts"] +} diff --git a/packages/vue/demo/vite.config.ts b/packages/vue/demo/vite.config.ts new file mode 100644 index 0000000..05c1740 --- /dev/null +++ b/packages/vue/demo/vite.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [vue()], +}) diff --git a/packages/vue/package.json b/packages/vue/package.json index 306828c..4a1e282 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -36,7 +36,7 @@ }, "main": "./dist/compotes.umd.cjs", "module": "./dist/compotes.js", - "types": "./dist/compotes.d.ts", + "types": "./dist/index.d.ts", "files": [ "dist" ], @@ -61,7 +61,7 @@ "typescript": "^5.3.3", "vite": "^5.1.4", "vue": "^3.4.21", - "vue-tsc": "^2.0.2" + "vue-tsc": "^2.0.3" }, "publishConfig": { "access": "public" diff --git a/packages/vue/src/index.ts b/packages/vue/src/index.ts index 8230d4e..7a10ae9 100644 --- a/packages/vue/src/index.ts +++ b/packages/vue/src/index.ts @@ -1,8 +1,8 @@ -import { useDrag } from '@/composables/drag' -import { useDrilldown } from '@/composables/drilldown' -import { useDropdown } from '@/composables/dropdown' -import { useMarquee } from '@/composables/marquee' -import { useCollapse } from '@/composables/collapse' +import { useDrag } from './composables/drag' +import { useDrilldown } from './composables/drilldown' +import { useDropdown } from './composables/dropdown' +import { useMarquee } from './composables/marquee' +import { useCollapse } from './composables/collapse' export { useCollapse, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b3d4f11..66e5497 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@antfu/eslint-config': - specifier: 2.6.4 - version: 2.6.4(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) + specifier: 2.7.0 + version: 2.7.0(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -33,8 +33,8 @@ importers: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) vue-tsc: - specifier: ^2.0.2 - version: 2.0.2(typescript@5.3.3) + specifier: ^2.0.3 + version: 2.0.3(typescript@5.3.3) packages/core: dependencies: @@ -80,8 +80,30 @@ importers: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) vue-tsc: - specifier: ^2.0.2 - version: 2.0.2(typescript@5.3.3) + specifier: ^2.0.3 + version: 2.0.3(typescript@5.3.3) + + packages/vue/demo: + dependencies: + vue: + specifier: ^3.4.21 + version: 3.4.21(typescript@5.3.3) + devDependencies: + '@compotes/vue': + specifier: workspace:* + version: link:.. + '@vitejs/plugin-vue': + specifier: ^5.0.4 + version: 5.0.4(vite@5.1.4)(vue@3.4.21) + typescript: + specifier: ^5.3.3 + version: 5.3.3 + vite: + specifier: ^5.1.4 + version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + vue-tsc: + specifier: ^2.0.3 + version: 2.0.3(typescript@5.3.3) packages: @@ -224,21 +246,28 @@ packages: '@algolia/requester-common': 4.22.1 dev: true - /@antfu/eslint-config@2.6.4(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): - resolution: {integrity: sha512-dMD/QC5KWS1OltdpKLhfZM7W7y7zils85opk8d4lyNr7yn0OFjZs7eMYtcC6DrrN2kQ1JrFvBM7uB0QdWn5PUQ==} + /@antfu/eslint-config@2.7.0(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): + resolution: {integrity: sha512-CMILR+ZeiahWk8LhDlsHij/LPygX6QvQxl5AknTXm2QcFpMR6CZ14JHxTgkQJnRLM78D/CYZXwV38rU3us3PlQ==} hasBin: true peerDependencies: '@unocss/eslint-plugin': '>=0.50.0' + astro-eslint-parser: ^0.16.3 eslint: '>=8.40.0' + eslint-plugin-astro: ^0.31.4 eslint-plugin-format: '>=0.1.0' eslint-plugin-react: ^7.33.2 eslint-plugin-react-hooks: ^4.6.0 eslint-plugin-react-refresh: ^0.4.4 eslint-plugin-svelte: ^2.34.1 + prettier-plugin-slidev: ^1.0.5 svelte-eslint-parser: ^0.33.1 peerDependenciesMeta: '@unocss/eslint-plugin': optional: true + astro-eslint-parser: + optional: true + eslint-plugin-astro: + optional: true eslint-plugin-format: optional: true eslint-plugin-react: @@ -249,23 +278,25 @@ packages: optional: true eslint-plugin-svelte: optional: true + prettier-plugin-slidev: + optional: true svelte-eslint-parser: optional: true dependencies: '@antfu/eslint-define-config': 1.23.0-2 '@antfu/install-pkg': 0.3.1 '@eslint-types/jsdoc': 46.8.2-1 - '@eslint-types/typescript-eslint': 6.21.0 - '@eslint-types/unicorn': 50.0.1 + '@eslint-types/typescript-eslint': 7.0.2 + '@eslint-types/unicorn': 51.0.1 '@stylistic/eslint-plugin': 1.6.3(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.1.0(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 eslint-config-flat-gitignore: 0.1.3 eslint-merge-processors: 0.1.0(eslint@8.57.0) eslint-plugin-antfu: 2.1.2(eslint@8.57.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) - eslint-plugin-i: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0) + eslint-plugin-i: 2.29.1(@typescript-eslint/parser@7.1.0)(eslint@8.57.0) eslint-plugin-jsdoc: 48.2.0(eslint@8.57.0) eslint-plugin-jsonc: 2.13.0(eslint@8.57.0) eslint-plugin-markdown: 3.0.1(eslint@8.57.0) @@ -273,13 +304,13 @@ packages: eslint-plugin-no-only-tests: 3.1.0 eslint-plugin-perfectionist: 2.5.0(eslint@8.57.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2) eslint-plugin-toml: 0.9.2(eslint@8.57.0) - eslint-plugin-unicorn: 50.0.1(eslint@8.57.0) - eslint-plugin-unused-imports: 3.1.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0) - eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) + eslint-plugin-unicorn: 51.0.1(eslint@8.57.0) + eslint-plugin-unused-imports: 3.1.0(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0) + eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) eslint-plugin-vue: 9.22.0(eslint@8.57.0) eslint-plugin-yml: 1.12.2(eslint@8.57.0) eslint-processor-vue-blocks: 0.1.1(@vue/compiler-sfc@3.4.21)(eslint@8.57.0) - globals: 13.24.0 + globals: 14.0.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 parse-gitignore: 2.0.0 @@ -291,7 +322,6 @@ packages: yargs: 17.7.2 transitivePeerDependencies: - '@vue/compiler-sfc' - - astro-eslint-parser - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color @@ -322,12 +352,10 @@ packages: /@babel/helper-string-parser@7.23.4: resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} engines: {node: '>=6.9.0'} - dev: true /@babel/helper-validator-identifier@7.22.20: resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} - dev: true /@babel/highlight@7.23.4: resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} @@ -344,7 +372,6 @@ packages: hasBin: true dependencies: '@babel/types': 7.24.0 - dev: true /@babel/types@7.24.0: resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} @@ -353,7 +380,6 @@ packages: '@babel/helper-string-parser': 7.23.4 '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 - dev: true /@docsearch/css@3.5.2: resolution: {integrity: sha512-SPiDHaWKQZpwR2siD0KQUwlStvIAnEyK6tAE2h2Wuoq8ue9skzhlyVQ1ddzOxX6khULnAALDiR/isSF3bnuciA==} @@ -633,12 +659,12 @@ packages: resolution: {integrity: sha512-FwD7V0xX0jyaqj8Ul5ZY+TAAPohDfVqtbuXJNHb+OIv1aTIqZi5+Zn3F2UwQ5O3BnQd2mTduyK0+HjGx3/AMFg==} dev: true - /@eslint-types/typescript-eslint@6.21.0: - resolution: {integrity: sha512-ao4TdMLw+zFdAJ9q6iBBxC5GSrJ14Hpv0VKaergr++jRTDaGgoYiAq84tx1FYqUJzQgzJC7dm6s52IAQP7EiHA==} + /@eslint-types/typescript-eslint@7.0.2: + resolution: {integrity: sha512-2F67MVKhkJ2rSwoYvNJzJULqZwR5rNYI/eWoIrKDQ14lMzfqzbpzCBvnHrivBYWTN+Az7MVX00TzDTrjOc+YNA==} dev: true - /@eslint-types/unicorn@50.0.1: - resolution: {integrity: sha512-nuJuipTNcg9f+oxZ+3QZw4tuDLmir4RJOPfM/oujgToiy1s+tePDZhwg5jUGc3q8OzTtPbVpsFSYX7QApjO3EA==} + /@eslint-types/unicorn@51.0.1: + resolution: {integrity: sha512-RuuEK+dBISEikf7a8lrWOrDCUYv09sZfqLoG/kozH+5UqEvot1xMmGHXomGkTyB68rzjgJe0N4uESVyL62obJw==} dev: true /@eslint/eslintrc@2.1.4: @@ -692,7 +718,6 @@ packages: /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: true /@microsoft/api-extractor-model@7.28.3(@types/node@20.11.24): resolution: {integrity: sha512-wT/kB2oDbdZXITyDh2SQLzaWwTOFbV326fP0pUwNW00WeliARs0qjmXBWmGWardEzp2U3/axkO3Lboqun6vrig==} @@ -1058,23 +1083,23 @@ packages: resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} dev: true - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} + /@typescript-eslint/eslint-plugin@7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-j6vT/kCulhG5wBmGtstKeiVr1rdXE4nk+DT1k6trYkwlrvW9eOF5ZbgKnd/YR6PcM4uTEXa0h6Fcvf6X7Dxl0w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^7.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/parser': 7.1.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 7.1.0 + '@typescript-eslint/type-utils': 7.1.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/utils': 7.1.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 7.1.0 debug: 4.3.4 eslint: 8.57.0 graphemer: 1.4.0 @@ -1087,20 +1112,20 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} + /@typescript-eslint/parser@7.1.0(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-V1EknKUubZ1gWFjiOZhDSNToOjs63/9O0puCgGS8aDOgpZY326fzFu15QAUjwaXzRZjf/qdsdBrckYdv9YxB8w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/scope-manager': 7.1.0 + '@typescript-eslint/types': 7.1.0 + '@typescript-eslint/typescript-estree': 7.1.0(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 7.1.0 debug: 4.3.4 eslint: 8.57.0 typescript: 5.3.3 @@ -1116,18 +1141,26 @@ packages: '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/type-utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} + /@typescript-eslint/scope-manager@7.1.0: + resolution: {integrity: sha512-6TmN4OJiohHfoOdGZ3huuLhpiUgOGTpgXNUPJgeZOZR3DnIpdSgtt83RS35OYNNXxM4TScVlpVKC9jyQSETR1A==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 7.1.0 + '@typescript-eslint/visitor-keys': 7.1.0 + dev: true + + /@typescript-eslint/type-utils@7.1.0(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-UZIhv8G+5b5skkcuhgvxYWHjk7FW7/JP5lPASMEUoliAPwIH/rxoUSQPia2cuOj9AmDZmwUl1usKm85t5VUMew==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 7.1.0(typescript@5.3.3) + '@typescript-eslint/utils': 7.1.0(eslint@8.57.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.2.1(typescript@5.3.3) @@ -1141,6 +1174,11 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true + /@typescript-eslint/types@7.1.0: + resolution: {integrity: sha512-qTWjWieJ1tRJkxgZYXx6WUYtWlBc48YRxgY2JN1aGeVpkhmnopq+SUC8UEVGNXIvWH7XyuTjwALfG6bFEgCkQA==} + engines: {node: ^16.0.0 || >=18.0.0} + dev: true + /@typescript-eslint/typescript-estree@6.21.0(typescript@5.3.3): resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1163,6 +1201,28 @@ packages: - supports-color dev: true + /@typescript-eslint/typescript-estree@7.1.0(typescript@5.3.3): + resolution: {integrity: sha512-k7MyrbD6E463CBbSpcOnwa8oXRdHzH1WiVzOipK3L5KSML92ZKgUBrTlehdi7PEIMT8k0bQixHUGXggPAlKnOQ==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 7.1.0 + '@typescript-eslint/visitor-keys': 7.1.0 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.3 + semver: 7.6.0 + ts-api-utils: 1.2.1(typescript@5.3.3) + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1182,6 +1242,25 @@ packages: - typescript dev: true + /@typescript-eslint/utils@7.1.0(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-WUFba6PZC5OCGEmbweGpnNJytJiLG7ZvDBJJoUcX4qZYf1mGZ97mO2Mps6O2efxJcJdRNpqweCistDbZMwIVHw==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^8.56.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@types/json-schema': 7.0.15 + '@types/semver': 7.5.8 + '@typescript-eslint/scope-manager': 7.1.0 + '@typescript-eslint/types': 7.1.0 + '@typescript-eslint/typescript-estree': 7.1.0(typescript@5.3.3) + eslint: 8.57.0 + semver: 7.6.0 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /@typescript-eslint/visitor-keys@6.21.0: resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1190,6 +1269,14 @@ packages: eslint-visitor-keys: 3.4.3 dev: true + /@typescript-eslint/visitor-keys@7.1.0: + resolution: {integrity: sha512-FhUqNWluiGNzlvnDZiXad4mZRhtghdoKW6e98GoEOYSu5cND+E39rG5KwJMUzeENwm1ztYBRqof8wMLP+wNPIA==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 7.1.0 + eslint-visitor-keys: 3.4.3 + dev: true + /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true @@ -1290,14 +1377,12 @@ packages: entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.0.2 - dev: true /@vue/compiler-dom@3.4.21: resolution: {integrity: sha512-IZC6FKowtT1sl0CR5DpXSiEB5ayw75oT2bma1BEhV7RRR1+cfwLrxc2Z8Zq/RGFzJ8w5r9QtCOvTjQgdn0IKmA==} dependencies: '@vue/compiler-core': 3.4.21 '@vue/shared': 3.4.21 - dev: true /@vue/compiler-sfc@3.4.21: resolution: {integrity: sha512-me7epoTxYlY+2CUM7hy9PCDdpMPfIwrOvAXud2Upk10g4YLv9UBW7kL798TvMeDhPthkZ0CONNrK2GoeI1ODiQ==} @@ -1311,14 +1396,12 @@ packages: magic-string: 0.30.7 postcss: 8.4.35 source-map-js: 1.0.2 - dev: true /@vue/compiler-ssr@3.4.21: resolution: {integrity: sha512-M5+9nI2lPpAsgXOGQobnIueVqc9sisBFexh5yMIMRAPYLa7+5wEJs8iqOZc1WAa9WQbx9GR2twgznU8LTIiZ4Q==} dependencies: '@vue/compiler-dom': 3.4.21 '@vue/shared': 3.4.21 - dev: true /@vue/devtools-api@7.0.16(vue@3.4.21): resolution: {integrity: sha512-fZG2CG8624qphMf4aj59zNHckMx1G3lxODUuyM9USKuLznXCh66TP+tEbPOCcml16hA0GizJ4D8w6F34hrfbcw==} @@ -1367,8 +1450,8 @@ packages: vue-template-compiler: 2.7.16 dev: true - /@vue/language-core@2.0.2(typescript@5.3.3): - resolution: {integrity: sha512-MT8pGTFouwDOS/ton1OqyW2MtTv02I8kEymvD05lW3NM8HJf63Xu9sZc0nh5SGZN35EFdnSsD+emhRKRzHLEug==} + /@vue/language-core@2.0.3(typescript@5.3.3): + resolution: {integrity: sha512-hnVF/Q3cD2v+EFD4pD1YdITGBcdM38P18SYqilVQDezKw5RobWny4BwIckWGS1fJmUstsO9mTX30ZOyzyR2Q+Q==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -1389,14 +1472,12 @@ packages: resolution: {integrity: sha512-UhenImdc0L0/4ahGCyEzc/pZNwVgcglGy9HVzJ1Bq2Mm9qXOpP8RyNTjookw/gOCUlXSEtuZ2fUg5nrHcoqJcw==} dependencies: '@vue/shared': 3.4.21 - dev: true /@vue/runtime-core@3.4.21: resolution: {integrity: sha512-pQthsuYzE1XcGZznTKn73G0s14eCJcjaLvp3/DKeYWoFacD9glJoqlNBxt3W2c5S40t6CCcpPf+jG01N3ULyrA==} dependencies: '@vue/reactivity': 3.4.21 '@vue/shared': 3.4.21 - dev: true /@vue/runtime-dom@3.4.21: resolution: {integrity: sha512-gvf+C9cFpevsQxbkRBS1NpU8CqxKw0ebqMvLwcGQrNpx6gqRDodqKqA+A2VZZpQ9RpK2f9yfg8VbW/EpdFUOJw==} @@ -1404,7 +1485,6 @@ packages: '@vue/runtime-core': 3.4.21 '@vue/shared': 3.4.21 csstype: 3.1.3 - dev: true /@vue/server-renderer@3.4.21(vue@3.4.21): resolution: {integrity: sha512-aV1gXyKSN6Rz+6kZ6kr5+Ll14YzmIbeuWe7ryJl5muJ4uwSwY/aStXTixx76TwkZFJLm1aAlA/HSWEJ4EyiMkg==} @@ -1414,11 +1494,9 @@ packages: '@vue/compiler-ssr': 3.4.21 '@vue/shared': 3.4.21 vue: 3.4.21(typescript@5.3.3) - dev: true /@vue/shared@3.4.21: resolution: {integrity: sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g==} - dev: true /@vueuse/core@10.9.0(vue@3.4.21): resolution: {integrity: sha512-/1vjTol8SXnx6xewDEKfS0Ra//ncg4Hb0DaZiwKf7drgfMsKFExQ+FnnENcN6efPen+1kIzhLQoGSy0eDUVOMg==} @@ -1623,7 +1701,7 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001591 + caniuse-lite: 1.0.30001593 electron-to-chromium: 1.4.690 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) @@ -1650,8 +1728,8 @@ packages: engines: {node: '>=6'} dev: true - /caniuse-lite@1.0.30001591: - resolution: {integrity: sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==} + /caniuse-lite@1.0.30001593: + resolution: {integrity: sha512-UWM1zlo3cZfkpBysd7AS+z+v007q9G1+fLTUU42rQnY6t2axoogPW/xol6T7juU5EUoOhML4WgBIdG+9yYqAjQ==} dev: true /chai@4.4.1: @@ -1792,7 +1870,6 @@ packages: /csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - dev: true /de-indent@1.0.2: resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} @@ -1868,7 +1945,6 @@ packages: /entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} - dev: true /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} @@ -1966,7 +2042,7 @@ packages: eslint: 8.57.0 dev: true - /eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + /eslint-module-utils@2.8.1(@typescript-eslint/parser@7.1.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: @@ -1987,7 +2063,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.1.0(eslint@8.57.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -2026,7 +2102,7 @@ packages: ignore: 5.3.1 dev: true - /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0): + /eslint-plugin-i@2.29.1(@typescript-eslint/parser@7.1.0)(eslint@8.57.0): resolution: {integrity: sha512-ORizX37MelIWLbMyqI7hi8VJMf7A0CskMmYkB+lkCX3aF4pkGV7kwx5bSEb4qx7Yce2rAf9s34HqDRPjGRZPNQ==} engines: {node: '>=12'} peerDependencies: @@ -2036,7 +2112,7 @@ packages: doctrine: 3.0.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.1.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) get-tsconfig: 4.7.2 is-glob: 4.0.3 minimatch: 3.1.2 @@ -2164,8 +2240,8 @@ packages: - supports-color dev: true - /eslint-plugin-unicorn@50.0.1(eslint@8.57.0): - resolution: {integrity: sha512-KxenCZxqSYW0GWHH18okDlOQcpezcitm5aOSz6EnobyJ6BIByiPDviQRjJIUAjG/tMN11958MxaQ+qCoU6lfDA==} + /eslint-plugin-unicorn@51.0.1(eslint@8.57.0): + resolution: {integrity: sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.56.0' @@ -2191,7 +2267,7 @@ packages: - supports-color dev: true - /eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0): + /eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0): resolution: {integrity: sha512-9l1YFCzXKkw1qtAru1RWUtG2EVDZY0a0eChKXcL+EZ5jitG7qxdctu4RnvhOJHv4xfmUf7h+JJPINlVpGhZMrw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2201,12 +2277,12 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): + /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): resolution: {integrity: sha512-atkFGQ7aVgcuSeSMDqnyevIyUpfBPMnosksgEPrKE7Y8xQlqG/5z2IQ6UDau05zXaaFv7Iz8uzqvIuKshjZ0Zw==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -2219,7 +2295,7 @@ packages: vitest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 vitest: 1.3.1 @@ -2367,7 +2443,6 @@ packages: /estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - dev: true /estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} @@ -2567,6 +2642,11 @@ packages: type-fest: 0.20.2 dev: true + /globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + dev: true + /globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} @@ -2992,7 +3072,6 @@ packages: engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 - dev: true /mark.js@8.11.1: resolution: {integrity: sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==} @@ -3100,7 +3179,6 @@ packages: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: true /natural-compare-lite@1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} @@ -3300,7 +3378,6 @@ packages: /picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: true /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} @@ -3356,7 +3433,6 @@ packages: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.0.2 - dev: true /preact@10.19.6: resolution: {integrity: sha512-gympg+T2Z1fG1unB8NH29yHJwnEaCH37Z32diPDku316OTnRPeMbiRV9kTrfZpocXjdfnWuFUl/Mj4BHaf6gnw==} @@ -3567,7 +3643,6 @@ packages: /source-map-js@1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} - dev: true /source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} @@ -3714,7 +3789,6 @@ packages: /to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} - dev: true /to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} @@ -3774,7 +3848,6 @@ packages: resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} engines: {node: '>=14.17'} hasBin: true - dev: true /ufo@1.4.0: resolution: {integrity: sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==} @@ -4077,14 +4150,14 @@ packages: typescript: 5.3.3 dev: true - /vue-tsc@2.0.2(typescript@5.3.3): - resolution: {integrity: sha512-y/McoUhK62cJdI9m8xTCADOELPczi/EhLcjwq84xTqmsqEFugM7vOy5l7X/2ZNdMKopg74jVn2Nd4GdUxPMGWw==} + /vue-tsc@2.0.3(typescript@5.3.3): + resolution: {integrity: sha512-aMJqbgLiKDAwAglWqMoGf1Ez6Wwqhlk2MDxEjFGziiLW0A+tHOWE1+YQJZQ1Vm6zaENPA2KJAubFhaR988UvGg==} hasBin: true peerDependencies: typescript: '*' dependencies: '@volar/typescript': 2.1.0 - '@vue/language-core': 2.0.2(typescript@5.3.3) + '@vue/language-core': 2.0.3(typescript@5.3.3) semver: 7.6.0 typescript: 5.3.3 dev: true @@ -4103,7 +4176,6 @@ packages: '@vue/server-renderer': 3.4.21(vue@3.4.21) '@vue/shared': 3.4.21 typescript: 5.3.3 - dev: true /which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 18ec407..ae95692 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,3 @@ packages: - 'packages/*' + - packages/vue/demo From 6c6bb0380a4cd32829e0cd05f38cb8d285075c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Tue, 5 Mar 2024 22:43:03 +0100 Subject: [PATCH 07/15] add events on with ts rework --- package.json | 6 +- packages/core/package.json | 2 +- packages/core/src/components/_parent.ts | 27 ++- packages/core/src/components/collapse.ts | 13 +- packages/core/src/components/drag.ts | 11 +- packages/core/src/components/drilldown.ts | 13 +- packages/core/src/components/dropdown.ts | 11 +- packages/core/src/components/marquee.ts | 12 +- packages/vue/demo/package.json | 4 +- packages/vue/demo/tsconfig.json | 18 +- packages/vue/demo/tsconfig.node.json | 4 +- packages/vue/package.json | 4 +- pnpm-lock.yaml | 219 +++++++++++----------- 13 files changed, 172 insertions(+), 172 deletions(-) diff --git a/package.json b/package.json index 07d8fcd..cdff35c 100644 --- a/package.json +++ b/package.json @@ -43,14 +43,14 @@ "publish": "pnpm run -r publish" }, "devDependencies": { - "@antfu/eslint-config": "2.7.0", + "@antfu/eslint-config": "2.8.0", "eslint": "^8.57.0", "playwright": "^1.42.1", "typescript": "^5.3.3", - "vite": "^5.1.4", + "vite": "^5.1.5", "vitepress": "1.0.0-rc.44", "vitest": "^1.3.1", "vue": "^3.4.21", - "vue-tsc": "^2.0.3" + "vue-tsc": "^2.0.5" } } diff --git a/packages/core/package.json b/packages/core/package.json index 1581871..7da411e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -70,7 +70,7 @@ "fast-glob": "^3.3.2", "lightningcss": "^1.24.0", "typescript": "^5.3.3", - "vite": "^5.1.4", + "vite": "^5.1.5", "vite-plugin-dts": "^3.7.3" } } diff --git a/packages/core/src/components/_parent.ts b/packages/core/src/components/_parent.ts index d12ce97..56a9dab 100644 --- a/packages/core/src/components/_parent.ts +++ b/packages/core/src/components/_parent.ts @@ -1,6 +1,6 @@ import ErrorCompotes from '../utils/error' -export interface ParentOptions { +export interface ParentOptions { /** * Init the component on creation. * @default true @@ -22,6 +22,11 @@ export interface ParentOptions { * @default true */ initEvents?: boolean + /** + * An Object of with events listener + * @default undefined + */ + on?: Record) => void> } export interface ParentEvent { @@ -31,13 +36,13 @@ export interface ParentEvent { el: Element | Window } -export default abstract class Parent { +export default abstract class Parent { protected name = '' public el: HTMLElement - public opts: ParentOptions + public opts: ParentOptions protected events: ParentEvent[] = [] - constructor(el: HTMLElement | string, options: ParentOptions = {}) { + constructor(el: HTMLElement | string, options: ParentOptions = {}) { const checkEl = typeof el === 'string' ? document.querySelector(el) : el @@ -47,6 +52,18 @@ export default abstract class Parent { this.el = checkEl + if (options.on) { + for (const key in options.on) { + if (Object.prototype.hasOwnProperty.call(options.on, key)) { + const element = options.on[key] + this.el.addEventListener( + `c.${this.name}.${key}`, + e => element(e as CustomEvent), + ) + } + } + } + this.opts = options } @@ -142,7 +159,7 @@ export default abstract class Parent { /** * Options of the component */ - public get options(): ParentOptions { + public get options() { return this.opts } diff --git a/packages/core/src/components/collapse.ts b/packages/core/src/components/collapse.ts index 20f0cd5..33a6b71 100644 --- a/packages/core/src/components/collapse.ts +++ b/packages/core/src/components/collapse.ts @@ -2,18 +2,13 @@ import type { ParentOptions } from './_parent' import Parent from './_parent' import { getTransitionDuration } from './../utils/animation' +type Events = 'init' | 'destroy' | 'show' | 'shown' | 'hide' | 'hidden' | 'destroy' + declare global { - interface HTMLElementEventMap { - 'c.collapse.init': CustomEvent - 'c.collapse.show': CustomEvent - 'c.collapse.shown': CustomEvent - 'c.collapse.hide': CustomEvent - 'c.collapse.hidden': CustomEvent - 'c.collapse.destroy': CustomEvent - } + interface HTMLElementEventMap extends Record<`c.collapse.${Events}`, CustomEvent> {} } -export interface CollapseOptions extends ParentOptions {} +export interface CollapseOptions extends ParentOptions {} export default class Collapse extends Parent { declare public opts: CollapseOptions diff --git a/packages/core/src/components/drag.ts b/packages/core/src/components/drag.ts index 097072d..25bd92d 100644 --- a/packages/core/src/components/drag.ts +++ b/packages/core/src/components/drag.ts @@ -1,15 +1,12 @@ import Parent, { type ParentOptions } from './_parent' +type Events = 'init' | 'start' | 'end' | 'destroy' + declare global { - interface HTMLElementEventMap { - 'c.drag.init': CustomEvent - 'c.drag.start': CustomEvent - 'c.drag.end': CustomEvent - 'c.drag.destroy': CustomEvent - } + interface HTMLElementEventMap extends Record<`c.drag.${Events}`, CustomEvent> {} } -export interface DragOptions extends ParentOptions {} +export interface DragOptions extends ParentOptions {} export default class Drag extends Parent { declare public opts: DragOptions diff --git a/packages/core/src/components/drilldown.ts b/packages/core/src/components/drilldown.ts index 6e350b7..56acfb8 100644 --- a/packages/core/src/components/drilldown.ts +++ b/packages/core/src/components/drilldown.ts @@ -3,18 +3,13 @@ import { focusChar, focusFirst, focusLast, focusSibling, generateId } from '../u import Parent, { type ParentOptions } from './_parent' import { getTransitionDuration } from './../utils/animation' +type Events = 'init' | 'destroy' | 'update' | 'next' | 'back' | 'reset' + declare global { - interface HTMLElementEventMap { - 'c.drilldown.init': CustomEvent - 'c.drilldown.destroy': CustomEvent - 'c.drilldown.update': CustomEvent - 'c.drilldown.next': CustomEvent - 'c.drilldown.back': CustomEvent - 'c.drilldown.reset': CustomEvent - } + interface HTMLElementEventMap extends Record<`c.drilldown.${Events}`, CustomEvent> {} } -export interface DrilldownOptions extends ParentOptions { +export interface DrilldownOptions extends ParentOptions { /** * Adjust height dynamically with the current menu height * @default false diff --git a/packages/core/src/components/dropdown.ts b/packages/core/src/components/dropdown.ts index 90826bb..fa5f580 100644 --- a/packages/core/src/components/dropdown.ts +++ b/packages/core/src/components/dropdown.ts @@ -1,16 +1,13 @@ import { focusFirst, focusLast, focusSibling, generateId } from '../utils/accessibility' import Parent, { type ParentOptions } from './_parent' +type Events = 'init' | 'opened' | 'closed' | 'destroy' + declare global { - interface HTMLElementEventMap { - 'c.dropdown.init': CustomEvent - 'c.dropdown.destroy': CustomEvent - 'c.dropdown.opened': CustomEvent - 'c.dropdown.closed': CustomEvent - } + interface HTMLElementEventMap extends Record<`c.dropdown.${Events}`, CustomEvent> {} } -export interface DropdownOptions extends ParentOptions { +export interface DropdownOptions extends ParentOptions { /** * Define open mode, by default you need to `click` on the trigger element * but you can configure it to display the dropdown on `hover`. diff --git a/packages/core/src/components/marquee.ts b/packages/core/src/components/marquee.ts index 8d298b1..318b8b2 100644 --- a/packages/core/src/components/marquee.ts +++ b/packages/core/src/components/marquee.ts @@ -1,17 +1,13 @@ import { tabbable } from 'tabbable' import Parent, { type ParentOptions } from './_parent' +type Events = 'init' | 'play' | 'pause' | 'loop' | 'destroy' + declare global { - interface HTMLElementEventMap { - 'c.marquee.init': CustomEvent - 'c.marquee.destroy': CustomEvent - 'c.marquee.play': CustomEvent - 'c.marquee.pause': CustomEvent - 'c.marquee.loop': CustomEvent - } + interface HTMLElementEventMap extends Record<`c.marquee.${Events}`, CustomEvent> {} } -export interface MarqueeOptions extends ParentOptions { +export interface MarqueeOptions extends ParentOptions { /** * Clone elements to fill the Marquee. Useful for infinite loop * @default false diff --git a/packages/vue/demo/package.json b/packages/vue/demo/package.json index 40b73d5..75d4d5a 100644 --- a/packages/vue/demo/package.json +++ b/packages/vue/demo/package.json @@ -15,7 +15,7 @@ "@compotes/vue": "workspace:*", "@vitejs/plugin-vue": "^5.0.4", "typescript": "^5.3.3", - "vite": "^5.1.4", - "vue-tsc": "^2.0.3" + "vite": "^5.1.5", + "vue-tsc": "^2.0.5" } } diff --git a/packages/vue/demo/tsconfig.json b/packages/vue/demo/tsconfig.json index 9e03e60..37c4821 100644 --- a/packages/vue/demo/tsconfig.json +++ b/packages/vue/demo/tsconfig.json @@ -1,25 +1,25 @@ { "compilerOptions": { "target": "ES2020", + "jsx": "preserve", + "lib": ["ES2020", "DOM", "DOM.Iterable"], "useDefineForClassFields": true, "module": "ESNext", - "lib": ["ES2020", "DOM", "DOM.Iterable"], - "skipLibCheck": true, /* Bundler mode */ "moduleResolution": "bundler", - "allowImportingTsExtensions": true, "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "jsx": "preserve", + "allowImportingTsExtensions": true, /* Linting */ "strict": true, + "noFallthroughCasesInSwitch": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "noEmit": true, + "isolatedModules": true, + "skipLibCheck": true }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], - "references": [{ "path": "./tsconfig.node.json" }] + "references": [{ "path": "./tsconfig.node.json" }], + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"] } diff --git a/packages/vue/demo/tsconfig.node.json b/packages/vue/demo/tsconfig.node.json index 97ede7e..38a9d93 100644 --- a/packages/vue/demo/tsconfig.node.json +++ b/packages/vue/demo/tsconfig.node.json @@ -1,11 +1,11 @@ { "compilerOptions": { "composite": true, - "skipLibCheck": true, "module": "ESNext", "moduleResolution": "bundler", + "strict": true, "allowSyntheticDefaultImports": true, - "strict": true + "skipLibCheck": true }, "include": ["vite.config.ts"] } diff --git a/packages/vue/package.json b/packages/vue/package.json index 4a1e282..e7c93f8 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -59,9 +59,9 @@ "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "typescript": "^5.3.3", - "vite": "^5.1.4", + "vite": "^5.1.5", "vue": "^3.4.21", - "vue-tsc": "^2.0.3" + "vue-tsc": "^2.0.5" }, "publishConfig": { "access": "public" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66e5497..463acbc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@antfu/eslint-config': - specifier: 2.7.0 - version: 2.7.0(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) + specifier: 2.8.0 + version: 2.8.0(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -21,8 +21,8 @@ importers: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.4 - version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + specifier: ^5.1.5 + version: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vitepress: specifier: 1.0.0-rc.44 version: 1.0.0-rc.44(@algolia/client-search@4.22.1)(search-insights@2.13.0)(typescript@5.3.3) @@ -33,8 +33,8 @@ importers: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) vue-tsc: - specifier: ^2.0.3 - version: 2.0.3(typescript@5.3.3) + specifier: ^2.0.5 + version: 2.0.5(typescript@5.3.3) packages/core: dependencies: @@ -55,11 +55,11 @@ importers: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.4 - version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + specifier: ^5.1.5 + version: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vite-plugin-dts: specifier: ^3.7.3 - version: 3.7.3(@types/node@20.11.24)(typescript@5.3.3)(vite@5.1.4) + version: 3.7.3(@types/node@20.11.24)(typescript@5.3.3)(vite@5.1.5) packages/vue: dependencies: @@ -69,19 +69,19 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.1.4)(vue@3.4.21) + version: 5.0.4(vite@5.1.5)(vue@3.4.21) typescript: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.4 - version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + specifier: ^5.1.5 + version: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vue: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) vue-tsc: - specifier: ^2.0.3 - version: 2.0.3(typescript@5.3.3) + specifier: ^2.0.5 + version: 2.0.5(typescript@5.3.3) packages/vue/demo: dependencies: @@ -94,16 +94,16 @@ importers: version: link:.. '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.1.4)(vue@3.4.21) + version: 5.0.4(vite@5.1.5)(vue@3.4.21) typescript: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.4 - version: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + specifier: ^5.1.5 + version: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vue-tsc: - specifier: ^2.0.3 - version: 2.0.3(typescript@5.3.3) + specifier: ^2.0.5 + version: 2.0.5(typescript@5.3.3) packages: @@ -246,8 +246,8 @@ packages: '@algolia/requester-common': 4.22.1 dev: true - /@antfu/eslint-config@2.7.0(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): - resolution: {integrity: sha512-CMILR+ZeiahWk8LhDlsHij/LPygX6QvQxl5AknTXm2QcFpMR6CZ14JHxTgkQJnRLM78D/CYZXwV38rU3us3PlQ==} + /@antfu/eslint-config@2.8.0(@vue/compiler-sfc@3.4.21)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): + resolution: {integrity: sha512-5qdNKqJ6qWev17ulCikrYs6/AvLFKaOOdUAfuKPwpv0XFwzJWMnjOqoVpoExpMr9G5iIKjzU168gO30Jab/uNA==} hasBin: true peerDependencies: '@unocss/eslint-plugin': '>=0.50.0' @@ -259,6 +259,7 @@ packages: eslint-plugin-react-hooks: ^4.6.0 eslint-plugin-react-refresh: ^0.4.4 eslint-plugin-svelte: ^2.34.1 + prettier-plugin-astro: ^0.13.0 prettier-plugin-slidev: ^1.0.5 svelte-eslint-parser: ^0.33.1 peerDependenciesMeta: @@ -278,6 +279,8 @@ packages: optional: true eslint-plugin-svelte: optional: true + prettier-plugin-astro: + optional: true prettier-plugin-slidev: optional: true svelte-eslint-parser: @@ -289,24 +292,24 @@ packages: '@eslint-types/typescript-eslint': 7.0.2 '@eslint-types/unicorn': 51.0.1 '@stylistic/eslint-plugin': 1.6.3(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/eslint-plugin': 7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/parser': 7.1.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.1.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.1.1(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 eslint-config-flat-gitignore: 0.1.3 eslint-merge-processors: 0.1.0(eslint@8.57.0) eslint-plugin-antfu: 2.1.2(eslint@8.57.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) - eslint-plugin-i: 2.29.1(@typescript-eslint/parser@7.1.0)(eslint@8.57.0) + eslint-plugin-i: 2.29.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0) eslint-plugin-jsdoc: 48.2.0(eslint@8.57.0) eslint-plugin-jsonc: 2.13.0(eslint@8.57.0) eslint-plugin-markdown: 3.0.1(eslint@8.57.0) eslint-plugin-n: 16.6.2(eslint@8.57.0) eslint-plugin-no-only-tests: 3.1.0 - eslint-plugin-perfectionist: 2.5.0(eslint@8.57.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2) + eslint-plugin-perfectionist: 2.6.0(eslint@8.57.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2) eslint-plugin-toml: 0.9.2(eslint@8.57.0) eslint-plugin-unicorn: 51.0.1(eslint@8.57.0) - eslint-plugin-unused-imports: 3.1.0(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0) - eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) + eslint-plugin-unused-imports: 3.1.0(@typescript-eslint/eslint-plugin@7.1.1)(eslint@8.57.0) + eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@7.1.1)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1) eslint-plugin-vue: 9.22.0(eslint@8.57.0) eslint-plugin-yml: 1.12.2(eslint@8.57.0) eslint-processor-vue-blocks: 0.1.1(@vue/compiler-sfc@3.4.21)(eslint@8.57.0) @@ -1083,8 +1086,8 @@ packages: resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} dev: true - /@typescript-eslint/eslint-plugin@7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-j6vT/kCulhG5wBmGtstKeiVr1rdXE4nk+DT1k6trYkwlrvW9eOF5ZbgKnd/YR6PcM4uTEXa0h6Fcvf6X7Dxl0w==} + /@typescript-eslint/eslint-plugin@7.1.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-zioDz623d0RHNhvx0eesUmGfIjzrk18nSBC8xewepKXbBvN/7c1qImV7Hg8TI1URTxKax7/zxfxj3Uph8Chcuw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -1095,11 +1098,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.1.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 7.1.0 - '@typescript-eslint/type-utils': 7.1.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/utils': 7.1.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.1.0 + '@typescript-eslint/parser': 7.1.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 7.1.1 + '@typescript-eslint/type-utils': 7.1.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/utils': 7.1.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 7.1.1 debug: 4.3.4 eslint: 8.57.0 graphemer: 1.4.0 @@ -1112,8 +1115,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@7.1.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-V1EknKUubZ1gWFjiOZhDSNToOjs63/9O0puCgGS8aDOgpZY326fzFu15QAUjwaXzRZjf/qdsdBrckYdv9YxB8w==} + /@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-ZWUFyL0z04R1nAEgr9e79YtV5LbafdOtN7yapNbn1ansMyaegl2D4bL7vHoJ4HPSc4CaLwuCVas8CVuneKzplQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^8.56.0 @@ -1122,10 +1125,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 7.1.0 - '@typescript-eslint/types': 7.1.0 - '@typescript-eslint/typescript-estree': 7.1.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.1.0 + '@typescript-eslint/scope-manager': 7.1.1 + '@typescript-eslint/types': 7.1.1 + '@typescript-eslint/typescript-estree': 7.1.1(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 7.1.1 debug: 4.3.4 eslint: 8.57.0 typescript: 5.3.3 @@ -1141,16 +1144,16 @@ packages: '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/scope-manager@7.1.0: - resolution: {integrity: sha512-6TmN4OJiohHfoOdGZ3huuLhpiUgOGTpgXNUPJgeZOZR3DnIpdSgtt83RS35OYNNXxM4TScVlpVKC9jyQSETR1A==} + /@typescript-eslint/scope-manager@7.1.1: + resolution: {integrity: sha512-cirZpA8bJMRb4WZ+rO6+mnOJrGFDd38WoXCEI57+CYBqta8Yc8aJym2i7vyqLL1vVYljgw0X27axkUXz32T8TA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 7.1.0 - '@typescript-eslint/visitor-keys': 7.1.0 + '@typescript-eslint/types': 7.1.1 + '@typescript-eslint/visitor-keys': 7.1.1 dev: true - /@typescript-eslint/type-utils@7.1.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-UZIhv8G+5b5skkcuhgvxYWHjk7FW7/JP5lPASMEUoliAPwIH/rxoUSQPia2cuOj9AmDZmwUl1usKm85t5VUMew==} + /@typescript-eslint/type-utils@7.1.1(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-5r4RKze6XHEEhlZnJtR3GYeCh1IueUHdbrukV2KSlLXaTjuSfeVF8mZUVPLovidCuZfbVjfhi4c0DNSa/Rdg5g==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^8.56.0 @@ -1159,8 +1162,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.1.0(typescript@5.3.3) - '@typescript-eslint/utils': 7.1.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 7.1.1(typescript@5.3.3) + '@typescript-eslint/utils': 7.1.1(eslint@8.57.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.2.1(typescript@5.3.3) @@ -1174,8 +1177,8 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/types@7.1.0: - resolution: {integrity: sha512-qTWjWieJ1tRJkxgZYXx6WUYtWlBc48YRxgY2JN1aGeVpkhmnopq+SUC8UEVGNXIvWH7XyuTjwALfG6bFEgCkQA==} + /@typescript-eslint/types@7.1.1: + resolution: {integrity: sha512-KhewzrlRMrgeKm1U9bh2z5aoL4s7K3tK5DwHDn8MHv0yQfWFz/0ZR6trrIHHa5CsF83j/GgHqzdbzCXJ3crx0Q==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -1201,8 +1204,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@7.1.0(typescript@5.3.3): - resolution: {integrity: sha512-k7MyrbD6E463CBbSpcOnwa8oXRdHzH1WiVzOipK3L5KSML92ZKgUBrTlehdi7PEIMT8k0bQixHUGXggPAlKnOQ==} + /@typescript-eslint/typescript-estree@7.1.1(typescript@5.3.3): + resolution: {integrity: sha512-9ZOncVSfr+sMXVxxca2OJOPagRwT0u/UHikM2Rd6L/aB+kL/QAuTnsv6MeXtjzCJYb8PzrXarypSGIPx3Jemxw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1210,8 +1213,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 7.1.0 - '@typescript-eslint/visitor-keys': 7.1.0 + '@typescript-eslint/types': 7.1.1 + '@typescript-eslint/visitor-keys': 7.1.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1242,8 +1245,8 @@ packages: - typescript dev: true - /@typescript-eslint/utils@7.1.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-WUFba6PZC5OCGEmbweGpnNJytJiLG7ZvDBJJoUcX4qZYf1mGZ97mO2Mps6O2efxJcJdRNpqweCistDbZMwIVHw==} + /@typescript-eslint/utils@7.1.1(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-thOXM89xA03xAE0lW7alstvnyoBUbBX38YtY+zAUcpRPcq9EIhXPuJ0YTv948MbzmKh6e1AUszn5cBFK49Umqg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^8.56.0 @@ -1251,9 +1254,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.1.0 - '@typescript-eslint/types': 7.1.0 - '@typescript-eslint/typescript-estree': 7.1.0(typescript@5.3.3) + '@typescript-eslint/scope-manager': 7.1.1 + '@typescript-eslint/types': 7.1.1 + '@typescript-eslint/typescript-estree': 7.1.1(typescript@5.3.3) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -1269,11 +1272,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@7.1.0: - resolution: {integrity: sha512-FhUqNWluiGNzlvnDZiXad4mZRhtghdoKW6e98GoEOYSu5cND+E39rG5KwJMUzeENwm1ztYBRqof8wMLP+wNPIA==} + /@typescript-eslint/visitor-keys@7.1.1: + resolution: {integrity: sha512-yTdHDQxY7cSoCcAtiBzVzxleJhkGB9NncSIyMYe2+OGON1ZsP9zOPws/Pqgopa65jvknOjlk/w7ulPlZ78PiLQ==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 7.1.0 + '@typescript-eslint/types': 7.1.1 eslint-visitor-keys: 3.4.3 dev: true @@ -1281,14 +1284,14 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-vue@5.0.4(vite@5.1.4)(vue@3.4.21): + /@vitejs/plugin-vue@5.0.4(vite@5.1.5)(vue@3.4.21): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + vite: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vue: 3.4.21(typescript@5.3.3) dev: true @@ -1311,7 +1314,7 @@ packages: /@vitest/snapshot@1.3.1: resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==} dependencies: - magic-string: 0.30.7 + magic-string: 0.30.8 pathe: 1.1.2 pretty-format: 29.7.0 dev: true @@ -1337,10 +1340,10 @@ packages: '@volar/source-map': 1.11.1 dev: true - /@volar/language-core@2.1.0: - resolution: {integrity: sha512-BrYEgYHx92ocpt1OUxJs2x3TAXEjpPLxsQoARb96g2GdF62xnfRQUqCNBwiU7Z3MQ/0tOAdqdHNYNmrFtx6q4A==} + /@volar/language-core@2.1.1: + resolution: {integrity: sha512-oVbZcj97+5zlowkHMSJMt3aaAFuFyhXeXoOEHcqGECxFvw1TPCNnMM9vxhqNpoiNeWKHvggoq9WCk/HzJHtP8A==} dependencies: - '@volar/source-map': 2.1.0 + '@volar/source-map': 2.1.1 dev: true /@volar/source-map@1.11.1: @@ -1349,8 +1352,8 @@ packages: muggle-string: 0.3.1 dev: true - /@volar/source-map@2.1.0: - resolution: {integrity: sha512-VPyi+DTv67cvUOkUewzsOQJY3VUhjOjQxigT487z/H7tEI8ZFd5RksC5afk3JelOK+a/3Y8LRDbKmYKu1dz87g==} + /@volar/source-map@2.1.1: + resolution: {integrity: sha512-OOtxrEWB2eZ+tnCy5JwDkcCPGlN3+ioNNzkywXE9k4XA7p4cN36frR7QPAOksvd7RXKUGHzSjq6XrYnTPa4z4Q==} dependencies: muggle-string: 0.4.1 dev: true @@ -1362,10 +1365,10 @@ packages: path-browserify: 1.0.1 dev: true - /@volar/typescript@2.1.0: - resolution: {integrity: sha512-2cicVoW4q6eU/omqfOBv+6r9JdrF5bBelujbJhayPNKiOj/xwotSJ/DM8IeMvTZvtkOZkm6suyOCLEokLY0w2w==} + /@volar/typescript@2.1.1: + resolution: {integrity: sha512-5K41AWvFZCMMKZCx8bbFvbkyiKHr0s9k8P0M1FVXLX/9HYHzK5C9B8cX4uhATSehAytFIRnR4fTXVQtWp/Yzag==} dependencies: - '@volar/language-core': 2.1.0 + '@volar/language-core': 2.1.1 path-browserify: 1.0.1 dev: true @@ -1393,7 +1396,7 @@ packages: '@vue/compiler-ssr': 3.4.21 '@vue/shared': 3.4.21 estree-walker: 2.0.2 - magic-string: 0.30.7 + magic-string: 0.30.8 postcss: 8.4.35 source-map-js: 1.0.2 @@ -1450,15 +1453,15 @@ packages: vue-template-compiler: 2.7.16 dev: true - /@vue/language-core@2.0.3(typescript@5.3.3): - resolution: {integrity: sha512-hnVF/Q3cD2v+EFD4pD1YdITGBcdM38P18SYqilVQDezKw5RobWny4BwIckWGS1fJmUstsO9mTX30ZOyzyR2Q+Q==} + /@vue/language-core@2.0.5(typescript@5.3.3): + resolution: {integrity: sha512-knGXuQqhDSO7QJr8LFklsiWa23N2ikehkdVxtc9UKgnyqsnusughS2Tkg7VN8Hqed35X0B52Z+OGI5OrT/8uxQ==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@volar/language-core': 2.1.0 + '@volar/language-core': 2.1.1 '@vue/compiler-dom': 3.4.21 '@vue/shared': 3.4.21 computeds: 0.0.1 @@ -1701,8 +1704,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001593 - electron-to-chromium: 1.4.690 + caniuse-lite: 1.0.30001594 + electron-to-chromium: 1.4.693 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -1728,8 +1731,8 @@ packages: engines: {node: '>=6'} dev: true - /caniuse-lite@1.0.30001593: - resolution: {integrity: sha512-UWM1zlo3cZfkpBysd7AS+z+v007q9G1+fLTUU42rQnY6t2axoogPW/xol6T7juU5EUoOhML4WgBIdG+9yYqAjQ==} + /caniuse-lite@1.0.30001594: + resolution: {integrity: sha512-VblSX6nYqyJVs8DKFMldE2IVCJjZ225LW00ydtUWwh5hk9IfkTOffO6r8gJNsH0qqqeAF8KrbMYA2VEwTlGW5g==} dev: true /chai@4.4.1: @@ -1934,8 +1937,8 @@ packages: esutils: 2.0.3 dev: true - /electron-to-chromium@1.4.690: - resolution: {integrity: sha512-+2OAGjUx68xElQhydpcbqH50hE8Vs2K6TkAeLhICYfndb67CVH0UsZaijmRUE3rHlIxU1u0jxwhgVe6fK3YANA==} + /electron-to-chromium@1.4.693: + resolution: {integrity: sha512-/if4Ueg0GUQlhCrW2ZlXwDAm40ipuKo+OgeHInlL8sbjt+hzISxZK949fZeJaVsheamrzANXvw1zQTvbxTvSHw==} dev: true /emoji-regex@8.0.0: @@ -2042,7 +2045,7 @@ packages: eslint: 8.57.0 dev: true - /eslint-module-utils@2.8.1(@typescript-eslint/parser@7.1.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + /eslint-module-utils@2.8.1(@typescript-eslint/parser@7.1.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: @@ -2063,7 +2066,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.1.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.1.1(eslint@8.57.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -2102,7 +2105,7 @@ packages: ignore: 5.3.1 dev: true - /eslint-plugin-i@2.29.1(@typescript-eslint/parser@7.1.0)(eslint@8.57.0): + /eslint-plugin-i@2.29.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0): resolution: {integrity: sha512-ORizX37MelIWLbMyqI7hi8VJMf7A0CskMmYkB+lkCX3aF4pkGV7kwx5bSEb4qx7Yce2rAf9s34HqDRPjGRZPNQ==} engines: {node: '>=12'} peerDependencies: @@ -2112,7 +2115,7 @@ packages: doctrine: 3.0.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.1.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.1.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) get-tsconfig: 4.7.2 is-glob: 4.0.3 minimatch: 3.1.2 @@ -2197,8 +2200,8 @@ packages: engines: {node: '>=5.0.0'} dev: true - /eslint-plugin-perfectionist@2.5.0(eslint@8.57.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2): - resolution: {integrity: sha512-F6XXcq4mKKUe/SREoMGQqzgw6cgCgf3pFzkFfQVIGtqD1yXVpQjnhTepzhBeZfxZwgMzR9HO4yH4CUhIQ2WBcQ==} + /eslint-plugin-perfectionist@2.6.0(eslint@8.57.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2): + resolution: {integrity: sha512-hee0Fu5825v+WTIhrRIJdWO8biUgm9O+c4Q1AEXIIGsXDHrLv5cdXfVUdnQcYgGtI/4X+tdFu69iVofHCIkvtw==} peerDependencies: astro-eslint-parser: ^0.16.0 eslint: '>=8.0.0' @@ -2267,7 +2270,7 @@ packages: - supports-color dev: true - /eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0): + /eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@7.1.1)(eslint@8.57.0): resolution: {integrity: sha512-9l1YFCzXKkw1qtAru1RWUtG2EVDZY0a0eChKXcL+EZ5jitG7qxdctu4RnvhOJHv4xfmUf7h+JJPINlVpGhZMrw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2277,12 +2280,12 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.1.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@7.1.0)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): + /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@7.1.1)(eslint@8.57.0)(typescript@5.3.3)(vitest@1.3.1): resolution: {integrity: sha512-atkFGQ7aVgcuSeSMDqnyevIyUpfBPMnosksgEPrKE7Y8xQlqG/5z2IQ6UDau05zXaaFv7Iz8uzqvIuKshjZ0Zw==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -2295,7 +2298,7 @@ packages: vitest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.1.0(@typescript-eslint/parser@7.1.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.1.1(@typescript-eslint/parser@7.1.1)(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 vitest: 1.3.1 @@ -3067,8 +3070,8 @@ packages: yallist: 4.0.0 dev: true - /magic-string@0.30.7: - resolution: {integrity: sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==} + /magic-string@0.30.8: + resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==} engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 @@ -3915,7 +3918,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + vite: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) transitivePeerDependencies: - '@types/node' - less @@ -3927,7 +3930,7 @@ packages: - terser dev: true - /vite-plugin-dts@3.7.3(@types/node@20.11.24)(typescript@5.3.3)(vite@5.1.4): + /vite-plugin-dts@3.7.3(@types/node@20.11.24)(typescript@5.3.3)(vite@5.1.5): resolution: {integrity: sha512-26eTlBYdpjRLWCsTJebM8vkCieE+p9gP3raf+ecDnzzK5E3FG6VE1wcy55OkRpfWWVlVvKkYFe6uvRHYWx7Nog==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3943,7 +3946,7 @@ packages: debug: 4.3.4 kolorist: 1.8.0 typescript: 5.3.3 - vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + vite: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vue-tsc: 1.8.27(typescript@5.3.3) transitivePeerDependencies: - '@types/node' @@ -3951,8 +3954,8 @@ packages: - supports-color dev: true - /vite@5.1.4(@types/node@20.11.24)(lightningcss@1.24.0): - resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} + /vite@5.1.5(@types/node@20.11.24)(lightningcss@1.24.0): + resolution: {integrity: sha512-BdN1xh0Of/oQafhU+FvopafUp6WaYenLU/NFoL5WyJL++GxkNfieKzBhM24H3HVsPQrlAqB7iJYTHabzaRed5Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -4005,7 +4008,7 @@ packages: '@shikijs/core': 1.1.7 '@shikijs/transformers': 1.1.7 '@types/markdown-it': 13.0.7 - '@vitejs/plugin-vue': 5.0.4(vite@5.1.4)(vue@3.4.21) + '@vitejs/plugin-vue': 5.0.4(vite@5.1.5)(vue@3.4.21) '@vue/devtools-api': 7.0.16(vue@3.4.21) '@vueuse/core': 10.9.0(vue@3.4.21) '@vueuse/integrations': 10.9.0(focus-trap@7.5.4)(vue@3.4.21) @@ -4013,7 +4016,7 @@ packages: mark.js: 8.11.1 minisearch: 6.3.0 shiki: 1.1.7 - vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + vite: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vue: 3.4.21(typescript@5.3.3) transitivePeerDependencies: - '@algolia/client-search' @@ -4078,14 +4081,14 @@ packages: debug: 4.3.4 execa: 8.0.1 local-pkg: 0.5.0 - magic-string: 0.30.7 + magic-string: 0.30.8 pathe: 1.1.2 picocolors: 1.0.0 std-env: 3.7.0 strip-literal: 2.0.0 tinybench: 2.6.0 tinypool: 0.8.2 - vite: 5.1.4(@types/node@20.11.24)(lightningcss@1.24.0) + vite: 5.1.5(@types/node@20.11.24)(lightningcss@1.24.0) vite-node: 1.3.1 why-is-node-running: 2.2.2 transitivePeerDependencies: @@ -4150,14 +4153,14 @@ packages: typescript: 5.3.3 dev: true - /vue-tsc@2.0.3(typescript@5.3.3): - resolution: {integrity: sha512-aMJqbgLiKDAwAglWqMoGf1Ez6Wwqhlk2MDxEjFGziiLW0A+tHOWE1+YQJZQ1Vm6zaENPA2KJAubFhaR988UvGg==} + /vue-tsc@2.0.5(typescript@5.3.3): + resolution: {integrity: sha512-e8WCgOVTrbmC04XPnI+IpaMTFYKaTm5s/MXFcvxO1l9kxzn+9FpGNVrBSlQE8VpTJaJg4kaBK1nj3NC20VJzjw==} hasBin: true peerDependencies: typescript: '*' dependencies: - '@volar/typescript': 2.1.0 - '@vue/language-core': 2.0.3(typescript@5.3.3) + '@volar/typescript': 2.1.1 + '@vue/language-core': 2.0.5(typescript@5.3.3) semver: 7.6.0 typescript: 5.3.3 dev: true From 35f5338c02c219d9b36591fe96674368d36b2fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Wed, 6 Mar 2024 20:25:01 +0100 Subject: [PATCH 08/15] fix build --- packages/vue/src/composables/_parent.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue/src/composables/_parent.ts b/packages/vue/src/composables/_parent.ts index 4dc0808..d18887f 100644 --- a/packages/vue/src/composables/_parent.ts +++ b/packages/vue/src/composables/_parent.ts @@ -3,9 +3,9 @@ import type { Ref, ShallowRef } from 'vue' import { onMounted, onUnmounted, onUpdated, shallowRef } from 'vue' export function useParent( - ComponentClass: new (el: HTMLElement, options: ParentOptions) => T, + ComponentClass: new (el: HTMLElement, options: ParentOptions<'init' | 'destroy'>) => T, el: Ref, - options: ParentOptions = {}, + options: ParentOptions<'init' | 'destroy'> = {}, ) { const component: ShallowRef = shallowRef(null) From 19da689d385cce1a48c44b7413f81c27c87e6c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Boubault?= <7613286+Applelo@users.noreply.github.com> Date: Wed, 6 Mar 2024 21:30:36 +0100 Subject: [PATCH 09/15] fix CI --- package.json | 4 +- packages/core/package.json | 4 +- packages/core/src/components/_parent.ts | 31 ++- packages/core/src/components/collapse.ts | 2 +- packages/core/src/components/drag.ts | 2 +- packages/core/src/components/drilldown.ts | 2 +- packages/core/src/components/dropdown.ts | 2 +- packages/core/src/components/marquee.ts | 2 +- packages/vue/demo/package.json | 2 +- packages/vue/demo/src/App.vue | 9 +- packages/vue/package.json | 2 +- packages/vue/src/composables/_parent.ts | 4 +- pnpm-lock.yaml | 316 +++++++++++----------- 13 files changed, 198 insertions(+), 184 deletions(-) diff --git a/package.json b/package.json index cdff35c..395465f 100644 --- a/package.json +++ b/package.json @@ -46,9 +46,9 @@ "@antfu/eslint-config": "2.8.0", "eslint": "^8.57.0", "playwright": "^1.42.1", - "typescript": "^5.3.3", + "typescript": "^5.4.2", "vite": "^5.1.5", - "vitepress": "1.0.0-rc.44", + "vitepress": "1.0.0-rc.45", "vitest": "^1.3.1", "vue": "^3.4.21", "vue-tsc": "^2.0.5" diff --git a/packages/core/package.json b/packages/core/package.json index 7da411e..f02653b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -66,10 +66,10 @@ "tabbable": "^6.2.0" }, "devDependencies": { - "@types/node": "^20.11.24", + "@types/node": "^20.11.25", "fast-glob": "^3.3.2", "lightningcss": "^1.24.0", - "typescript": "^5.3.3", + "typescript": "^5.4.2", "vite": "^5.1.5", "vite-plugin-dts": "^3.7.3" } diff --git a/packages/core/src/components/_parent.ts b/packages/core/src/components/_parent.ts index 56a9dab..bf4a0ce 100644 --- a/packages/core/src/components/_parent.ts +++ b/packages/core/src/components/_parent.ts @@ -23,10 +23,10 @@ export interface ParentOptions { */ initEvents?: boolean /** - * An Object of with events listener + * An object to instantiate events listeners * @default undefined */ - on?: Record) => void> + on?: Partial) => void | undefined>> } export interface ParentEvent { @@ -51,19 +51,6 @@ export default abstract class Parent { throw this.error('The element/selector provided cannot be found.') this.el = checkEl - - if (options.on) { - for (const key in options.on) { - if (Object.prototype.hasOwnProperty.call(options.on, key)) { - const element = options.on[key] - this.el.addEventListener( - `c.${this.name}.${key}`, - e => element(e as CustomEvent), - ) - } - } - } - this.opts = options } @@ -107,6 +94,20 @@ export default abstract class Parent { * Init the component */ public init() { + if (this.opts.on) { + for (const key in this.opts.on) { + if (Object.prototype.hasOwnProperty.call(this.opts.on, key)) { + const element = this.opts.on[key] + if (!element) + continue + this.el.addEventListener( + `c.${this.name}.${key}`, + e => element(e as CustomEvent), + ) + } + } + } + this.emitEvent('init') if (this.accessibilityStatus.styles) this.el.classList.add(`c-${this.name}--a11y`) diff --git a/packages/core/src/components/collapse.ts b/packages/core/src/components/collapse.ts index 33a6b71..f8932a8 100644 --- a/packages/core/src/components/collapse.ts +++ b/packages/core/src/components/collapse.ts @@ -10,7 +10,7 @@ declare global { export interface CollapseOptions extends ParentOptions {} -export default class Collapse extends Parent { +export default class Collapse extends Parent { declare public opts: CollapseOptions private triggers: HTMLElement[] = [] private expanded = false diff --git a/packages/core/src/components/drag.ts b/packages/core/src/components/drag.ts index 25bd92d..6b36c80 100644 --- a/packages/core/src/components/drag.ts +++ b/packages/core/src/components/drag.ts @@ -8,7 +8,7 @@ declare global { export interface DragOptions extends ParentOptions {} -export default class Drag extends Parent { +export default class Drag extends Parent { declare public opts: DragOptions private isDown = false private draggableClass = 'c-drag--draggable' diff --git a/packages/core/src/components/drilldown.ts b/packages/core/src/components/drilldown.ts index 56acfb8..7cf9b43 100644 --- a/packages/core/src/components/drilldown.ts +++ b/packages/core/src/components/drilldown.ts @@ -27,7 +27,7 @@ interface DrilldownItem { level: number } -export default class Drilldown extends Parent { +export default class Drilldown extends Parent { declare public opts: DrilldownOptions private currentEl: HTMLUListElement | null = null private wrapper: HTMLUListElement | null = null diff --git a/packages/core/src/components/dropdown.ts b/packages/core/src/components/dropdown.ts index fa5f580..6ea776a 100644 --- a/packages/core/src/components/dropdown.ts +++ b/packages/core/src/components/dropdown.ts @@ -33,7 +33,7 @@ export interface DropdownOptions extends ParentOptions { mutationObserver?: boolean } -export default class Dropdown extends Parent { +export default class Dropdown extends Parent { declare public opts: DropdownOptions private triggerEl: HTMLButtonElement | HTMLLinkElement | null = null private menuEl: HTMLUListElement | null = null diff --git a/packages/core/src/components/marquee.ts b/packages/core/src/components/marquee.ts index 318b8b2..26d8d9a 100644 --- a/packages/core/src/components/marquee.ts +++ b/packages/core/src/components/marquee.ts @@ -36,7 +36,7 @@ export interface MarqueeOptions extends ParentOptions { mutationObserver?: boolean } -export default class Marquee extends Parent { +export default class Marquee extends Parent { declare public opts: MarqueeOptions private containerEl: HTMLElement | null = null private resizeObserver?: ResizeObserver diff --git a/packages/vue/demo/package.json b/packages/vue/demo/package.json index 75d4d5a..92d7799 100644 --- a/packages/vue/demo/package.json +++ b/packages/vue/demo/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@compotes/vue": "workspace:*", "@vitejs/plugin-vue": "^5.0.4", - "typescript": "^5.3.3", + "typescript": "^5.4.2", "vite": "^5.1.5", "vue-tsc": "^2.0.5" } diff --git a/packages/vue/demo/src/App.vue b/packages/vue/demo/src/App.vue index 137c241..fc6f8f6 100644 --- a/packages/vue/demo/src/App.vue +++ b/packages/vue/demo/src/App.vue @@ -1,9 +1,16 @@