Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
feat(ui): extend support for registering and using Vue 3 components (#1502)
白熱7c2876123960
diff --git a/common/shared/vite/auto-externalize-dependency-plugin.js b/common/shared/vite/auto-externalize-dependency-plugin.jsindex 91bbbeefe1..116fa67875 100644--- a/common/shared/vite/auto-externalize-dependency-plugin.js+++ b/common/shared/vite/auto-externalize-dependency-plugin.js@@ -15,6 +15,7 @@ exports.autoExternalizeDependency = function autoExternalizeDependency() {'react-dom': 'ReactDOM',rxjs: 'rxjs','rxjs/operators': 'rxjs.operators',+ vue: 'Vue',};return {diff --git a/examples/esbuild.config.mjs b/examples/esbuild.config.mjsindex 55bb9e667f..ed2da0fc4e 100644--- a/examples/esbuild.config.mjs+++ b/examples/esbuild.config.mjs@@ -7,6 +7,7 @@ import cleanPlugin from 'esbuild-plugin-clean';import copyPlugin from 'esbuild-plugin-copy';import stylePlugin from 'esbuild-style-plugin';import minimist from 'minimist';+import vue from 'esbuild-plugin-vue3';const nodeModules = path.resolve(process.cwd(), './node_modules');@@ -60,6 +61,7 @@ const ctx = await esbuild[args.watch ? 'context' : 'build']({},},}),+ vue(),],entryPoints: [// homepagediff --git a/examples/package.json b/examples/package.jsonindex 3afb499e97..df673e582c 100644--- a/examples/package.json+++ b/examples/package.json@@ -36,7 +36,8 @@"react": "^18.2.0","react-dom": "^18.2.0","react-mosaic-component": "^6.1.0",- "rxjs": "^7.8.1"+ "rxjs": "^7.8.1",+ "vue": "^3.4.21"},"devDependencies": {"@types/react": "^18.2.63",@@ -45,6 +46,7 @@"esbuild": "^0.20.1","esbuild-plugin-clean": "^1.0.1","esbuild-plugin-copy": "^2.1.1",+ "esbuild-plugin-vue3": "^0.4.2","esbuild-style-plugin": "^1.6.3","less": "^4.2.0","minimist": "^1.2.8",diff --git a/examples/src/plugins/debugger/components/VueI18nIcon.vue b/examples/src/plugins/debugger/components/VueI18nIcon.vuenew file mode 100644index 0000000000..86ad2a8913--- /dev/null+++ b/examples/src/plugins/debugger/components/VueI18nIcon.vue@@ -0,0 +1,13 @@+<template>+ <section>+ 🌍+ </section>+</template>++<script setup lang="ts">+import { defineProps } from 'vue'++const props = defineProps(['extend'])++console.log(props)+</script>diff --git a/examples/src/plugins/debugger/controllers/debugger.controller.ts b/examples/src/plugins/debugger/controllers/debugger.controller.tsindex 39ae54c6fb..e2c2c49ad1 100644--- a/examples/src/plugins/debugger/controllers/debugger.controller.ts+++ b/examples/src/plugins/debugger/controllers/debugger.controller.ts@@ -30,6 +30,10 @@ import { SidebarOperation } from '../commands/operations/sidebar.operation';import { ThemeOperation } from '../commands/operations/theme.operation';import { TestEditorContainer } from '../views/test-editor/TestTextEditor';import { TEST_EDITOR_CONTAINER_COMPONENT } from '../views/test-editor/component-name';++// @ts-ignore+import VueI18nIcon from '../components/VueI18nIcon.vue';+import {ConfirmMenuItemFactory,DialogMenuItemFactory,@@ -91,5 +95,8 @@ export class DebuggerController extends Disposable {private _initCustomComponents(): void {const componentManager = this._componentManager;this.disposeWithMe(componentManager.register(TEST_EDITOR_CONTAINER_COMPONENT, TestEditorContainer));+ this.disposeWithMe(componentManager.register('VueI18nIcon', VueI18nIcon, {+ framework: 'vue3',+ }));}}diff --git a/examples/src/plugins/debugger/controllers/menu.ts b/examples/src/plugins/debugger/controllers/menu.tsindex be5e96221d..8ac1a1096e 100644--- a/examples/src/plugins/debugger/controllers/menu.ts+++ b/examples/src/plugins/debugger/controllers/menu.ts@@ -33,7 +33,7 @@ import { ThemeOperation } from '../commands/operations/theme.operation';export function LocaleMenuItemFactory(accessor: IAccessor): IMenuSelectorItem {return {id: LocaleOperation.id,- title: 'i18n',+ icon: 'VueI18nIcon',tooltip: 'i18n',type: MenuItemType.SELECTOR,positions: [MenuPosition.TOOLBAR_OTHERS],diff --git a/examples/tsconfig.json b/examples/tsconfig.jsonindex 9c573b69db..0de8eac6b0 100644--- a/examples/tsconfig.json+++ b/examples/tsconfig.json@@ -2,6 +2,7 @@"extends": "@univerjs/shared/tsconfigs/base","compilerOptions": {"types": ["esbuild-style-plugin"],+ "allowArbitraryExtensions": true,"outDir": "local"},"include": ["src"]diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex bcdb8c4619..bd0ddfc830 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -97,6 +97,7 @@"rxjs": "^7.8.1","typescript": "^5.3.3","vite": "^5.1.4",- "vitest": "^1.3.1"+ "vitest": "^1.3.1",+ "vue": "^3.4.21"}}diff --git a/packages/ui/src/common/component-manager.ts b/packages/ui/src/common/component-manager.tsindex fff06da7a7..cb4705408d 100644--- a/packages/ui/src/common/component-manager.ts+++ b/packages/ui/src/common/component-manager.ts@@ -105,13 +105,29 @@ import {VerticalTextSingle,} from '@univerjs/icons';import type { IDisposable } from '@wendellhu/redi';+import type { defineComponent } from 'vue';-export interface ICustomComponent {- name: string;- props?: any;+import type React from 'react';+import { cloneElement, createElement, useEffect, useRef } from 'react';++type ComponentFramework = 'vue3' | 'react';++interface IComponentOptions {+ framework?: ComponentFramework;+}++export interface IVue3Component {+ framework: 'vue3';+ component: ReturnType<typeof defineComponent>;}+export interface IReactComponent {+ framework: 'react';+ component: React.ForwardRefExoticComponent<any>;+};++export type ComponentType = React.ForwardRefExoticComponent<any> | ReturnType<typeof defineComponent>;-export type ComponentList = Map<string, React.ForwardRefExoticComponent<any>>;+export type ComponentList = Map<string, IVue3Component | IReactComponent>;export class ComponentManager {private _components: ComponentList = new Map();@@ -212,20 +228,69 @@ export class ComponentManager {}}- register(name: string, component: any): IDisposable {+ register(name: string, component: ComponentType, options?: IComponentOptions): IDisposable {+ const { framework = 'react' } = options || {};+if (this._components.has(name)) {console.warn(`Component ${name} already exists.`);}- this._components.set(name, component);+ this._components.set(name, {+ framework,+ component,+ });+return toDisposable(() => this._components.delete(name));}get(name: string) {- return this._components.get(name);+ if (!name) return;++ const value = this._components.get(name);++ if (value?.framework === 'react') {+ return value.component;+ } else if (value?.framework === 'vue3') {+ // TODO: slot support+ return (props: any) => cloneElement(+ createElement(VueComponentWrapper, {+ component: value.component,+ props: {+ ...props,+ },+ })+ );+ } else {+ // throw new Error(`ComponentManager: Component ${name} not found.`);+ }}delete(name: string) {this._components.delete(name);}}++async function renderVue3Component(VueComponent: ReturnType<typeof defineComponent>, element: HTMLElement, args: Record<string, any>) {+ const { h, render } = await import('vue');++ const vnode = h(VueComponent, args);++ const container = document.createElement('div');++ document.body.appendChild(container);++ render(vnode, element);+}++export function VueComponentWrapper(options: { component: ReturnType<typeof defineComponent>; props: Record<string, any> }) {+ const domRef = useRef(null);+ const { component, props } = options;++ useEffect(() => {+ if (!domRef.current) return;++ renderVue3Component(component, domRef.current, props);+ }, [props]);++ return createElement('div', { ref: domRef });+}diff --git a/packages/ui/src/components/custom-label/CustomLabel.tsx b/packages/ui/src/components/custom-label/CustomLabel.tsxindex 2072c35b3f..2d03c9c689 100644--- a/packages/ui/src/components/custom-label/CustomLabel.tsx+++ b/packages/ui/src/components/custom-label/CustomLabel.tsx@@ -65,10 +65,15 @@ export function CustomLabel(props: ICustomLabelProps): JSX.Element | null {if (icon) {const Icon = componentManager.get(realIcon ?? '');- Icon &&++ if (Icon) {nodes.push(- <Icon key={index++} extend={{ colorChannel1: isValid ? realValue : 'rgb(var(--primary-color))' }} />+ <Icon+ key={index++}+ extend={{ colorChannel1: isValid ? realValue : 'rgb(var(--primary-color))' }}+ />);+ }}if (label) {const isStringLabel = typeof label === 'string';diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a639ed84b8..23ae813ccb 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -10,7 +10,7 @@ importers:devDependencies:'@antfu/eslint-config':specifier: ^2.6.4- version: 2.6.4(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.6.4(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])'@commitlint/cli':specifier: ^19.0.3version: 19.0.3(@types/[email protected])([email protected])@@ -261,6 +261,9 @@ importers:rxjs:specifier: ^7.8.1version: 7.8.1+ vue:+ specifier: ^3.4.21+ version: 3.4.21([email protected])devDependencies:'@types/react':specifier: ^18.2.63@@ -280,6 +283,9 @@ importers:esbuild-plugin-copy:specifier: ^2.1.1version: 2.1.1([email protected])+ esbuild-plugin-vue3:+ specifier: ^0.4.2+ version: 0.4.2([email protected])esbuild-style-plugin:specifier: ^1.6.3version: 1.6.3@@ -1153,6 +1159,9 @@ importers:vitest:specifier: ^1.3.1version: 1.3.1(@types/[email protected])([email protected])+ vue:+ specifier: ^3.4.21+ version: 3.4.21([email protected])packages/uniscript:dependencies:@@ -1216,7 +1225,7 @@ packages:'@jridgewell/gen-mapping': 0.3.3'@jridgewell/trace-mapping': 0.3.22- /@antfu/[email protected](@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):+ /@antfu/[email protected](@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-dMD/QC5KWS1OltdpKLhfZM7W7y7zils85opk8d4lyNr7yn0OFjZs7eMYtcC6DrrN2kQ1JrFvBM7uB0QdWn5PUQ==}hasBin: truepeerDependencies:@@ -1274,7 +1283,7 @@ packages:eslint-plugin-vitest: 0.3.22(@typescript-eslint/[email protected])([email protected])([email protected])eslint-plugin-vue: 9.21.1([email protected])eslint-plugin-yml: 1.12.2([email protected])- eslint-processor-vue-blocks: 0.1.1(@vue/[email protected])([email protected])+ eslint-processor-vue-blocks: 0.1.1(@vue/[email protected])([email protected])globals: 13.24.0jsonc-eslint-parser: 2.4.0local-pkg: 0.5.0@@ -3060,6 +3069,15 @@ packages:dev: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==}+ engines: {node: '>=12'}+ cpu: [loong64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true+/@esbuild/[email protected]:resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==}engines: {node: '>=12'}@@ -5745,41 +5763,39 @@ packages:path-browserify: 1.0.1dev: false- /@vue/[email protected]:- resolution: {integrity: sha512-gj81785z0JNzRcU0Mq98E56e4ltO1yf8k5PQ+tV/7YHnbZkrM0fyFyuttnN8ngJZjbpofWE/m4qjKBiLl8Ju4w==}+ /@vue/[email protected]:+ resolution: {integrity: sha512-MjXawxZf2SbZszLPYxaFCjxfibYrzr3eYbKxwpLR9EQN+oaziSu3qKVbwBERj1IFIB8OLUewxB5m/BFzi613og==}dependencies:'@babel/parser': 7.23.9- '@vue/shared': 3.4.19+ '@vue/shared': 3.4.21entities: 4.5.0estree-walker: 2.0.2source-map-js: 1.0.2- /@vue/[email protected]:- resolution: {integrity: sha512-vm6+cogWrshjqEHTzIDCp72DKtea8Ry/QVpQRYoyTIg9k7QZDX6D8+HGURjtmatfgM8xgCFtJJaOlCaRYRK3QA==}+ /@vue/[email protected]:+ 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- /@vue/[email protected]:- resolution: {integrity: sha512-LQ3U4SN0DlvV0xhr1lUsgLCYlwQfUfetyPxkKYu7dkfvx7g3ojrGAkw0AERLOKYXuAGnqFsEuytkdcComei3Yg==}+ /@vue/[email protected]:+ 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+ '@vue/compiler-core': 3.4.21+ '@vue/compiler-dom': 3.4.21+ '@vue/compiler-ssr': 3.4.21+ '@vue/shared': 3.4.21estree-walker: 2.0.2magic-string: 0.30.7postcss: 8.4.35source-map-js: 1.0.2- dev: true- /@vue/[email protected]:- resolution: {integrity: sha512-P0PLKC4+u4OMJ8sinba/5Z/iDT84uMRRlrWzadgLA69opCpI1gG4N55qDSC+dedwq2fJtzmGald05LWR5TFfLw==}+ /@vue/[email protected]:+ resolution: {integrity: sha512-M5+9nI2lPpAsgXOGQobnIueVqc9sisBFexh5yMIMRAPYLa7+5wEJs8iqOZc1WAa9WQbx9GR2twgznU8LTIiZ4Q==}dependencies:- '@vue/compiler-dom': 3.4.19- '@vue/shared': 3.4.19- dev: true+ '@vue/compiler-dom': 3.4.21+ '@vue/shared': 3.4.21/@vue/[email protected]([email protected]):resolution: {integrity: sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==}@@ -5791,8 +5807,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.21computeds: 0.0.1minimatch: 9.0.3muggle-string: 0.3.1@@ -5801,8 +5817,35 @@ packages:vue-template-compiler: 2.7.16dev: false- /@vue/[email protected]:- resolution: {integrity: sha512-/KliRRHMF6LoiThEy+4c1Z4KB/gbPrGjWwJR+crg2otgrf/egKzRaCPvJ51S5oetgsgXLfc4Rm5ZgrKHZrtMSw==}+ /@vue/[email protected]:+ resolution: {integrity: sha512-UhenImdc0L0/4ahGCyEzc/pZNwVgcglGy9HVzJ1Bq2Mm9qXOpP8RyNTjookw/gOCUlXSEtuZ2fUg5nrHcoqJcw==}+ dependencies:+ '@vue/shared': 3.4.21++ /@vue/[email protected]:+ resolution: {integrity: sha512-pQthsuYzE1XcGZznTKn73G0s14eCJcjaLvp3/DKeYWoFacD9glJoqlNBxt3W2c5S40t6CCcpPf+jG01N3ULyrA==}+ dependencies:+ '@vue/reactivity': 3.4.21+ '@vue/shared': 3.4.21++ /@vue/[email protected]:+ resolution: {integrity: sha512-gvf+C9cFpevsQxbkRBS1NpU8CqxKw0ebqMvLwcGQrNpx6gqRDodqKqA+A2VZZpQ9RpK2f9yfg8VbW/EpdFUOJw==}+ dependencies:+ '@vue/runtime-core': 3.4.21+ '@vue/shared': 3.4.21+ csstype: 3.1.3++ /@vue/[email protected]([email protected]):+ resolution: {integrity: sha512-aV1gXyKSN6Rz+6kZ6kr5+Ll14YzmIbeuWe7ryJl5muJ4uwSwY/aStXTixx76TwkZFJLm1aAlA/HSWEJ4EyiMkg==}+ peerDependencies:+ vue: 3.4.21+ dependencies:+ '@vue/compiler-ssr': 3.4.21+ '@vue/shared': 3.4.21+ vue: 3.4.21([email protected])++ /@vue/[email protected]:+ resolution: {integrity: sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g==}/@webassemblyjs/[email protected]:resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==}@@ -7767,6 +7810,150 @@ packages:is-symbol: 1.0.4dev: true+ resolution: {integrity: sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==}+ engines: {node: '>=12'}+ cpu: [ia32]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==}+ engines: {node: '>=12'}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==}+ engines: {node: '>=12'}+ cpu: [mips64el]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==}+ engines: {node: '>=12'}+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==}+ engines: {node: '>=12'}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==}+ engines: {node: '>=12'}+ cpu: [s390x]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [netbsd]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [openbsd]+ requiresBuild: true+ dev: true+ optional: true+resolution: {integrity: sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ==}dev: false@@ -7793,6 +7980,29 @@ packages:globby: 11.1.0dev: true+ resolution: {integrity: sha512-edaghOAJY+26uIJVywkT0cyUxWu/oi2+dGe2KePyHAJ9y6hAB4fqNnY5SFpZY9G6knERZo4Nykp/YOcKML06rA==}+ peerDependencies:+ cheerio: ^1.0.0-rc.10+ html-minifier: ^4.0.0+ pug: ^3.0.2+ sass: ^1.35.2+ vue: ^3.4.15+ peerDependenciesMeta:+ cheerio:+ optional: true+ html-minifier:+ optional: true+ pug:+ optional: true+ sass:+ optional: true+ dependencies:+ esbuild: 0.14.54+ typescript: 4.9.5+ vue: 3.4.21([email protected])+ dev: true+resolution: {integrity: sha512-+4G/XmakeBAsvJuDugJvtyF1x+XJT4FMocynNpxrvEBViirpfUn2PgNpCHedfWhF4WokNsO/OvMKrmJOIJsI5A==}peerDependencies:@@ -7814,6 +8024,71 @@ packages:postcss-modules: 6.0.0([email protected])dev: true+ resolution: {integrity: sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [sunos]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==}+ engines: {node: '>=12'}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==}+ engines: {node: '>=12'}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==}+ engines: {node: '>=12'}+ hasBin: true+ requiresBuild: true+ optionalDependencies:+ '@esbuild/linux-loong64': 0.14.54+ esbuild-android-64: 0.14.54+ esbuild-android-arm64: 0.14.54+ esbuild-darwin-64: 0.14.54+ esbuild-darwin-arm64: 0.14.54+ esbuild-freebsd-64: 0.14.54+ esbuild-freebsd-arm64: 0.14.54+ esbuild-linux-32: 0.14.54+ esbuild-linux-64: 0.14.54+ esbuild-linux-arm: 0.14.54+ esbuild-linux-arm64: 0.14.54+ esbuild-linux-mips64le: 0.14.54+ esbuild-linux-ppc64le: 0.14.54+ esbuild-linux-riscv64: 0.14.54+ esbuild-linux-s390x: 0.14.54+ esbuild-netbsd-64: 0.14.54+ esbuild-openbsd-64: 0.14.54+ esbuild-sunos-64: 0.14.54+ esbuild-windows-32: 0.14.54+ esbuild-windows-64: 0.14.54+ esbuild-windows-arm64: 0.14.54+ dev: true+resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==}engines: {node: '>=12'}@@ -8353,13 +8628,13 @@ packages:- supports-colordev: trueresolution: {integrity: sha512-9+dU5lU881log570oBwpelaJmOfOzSniben7IWEDRYQPPWwlvaV7NhOtsTuUWDqpYT+dtKKWPsgz4OkOi+aZnA==}peerDependencies:'@vue/compiler-sfc': ^3.3.0eslint: ^8.50.0dependencies:- '@vue/compiler-sfc': 3.4.19+ '@vue/compiler-sfc': 3.4.21eslint: 8.57.0dev: true@@ -13520,6 +13795,12 @@ packages:resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==}dev: true+ resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==}+ engines: {node: '>=4.2.0'}+ hasBin: true+ dev: true+resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==}engines: {node: '>=14.17'}@@ -13988,6 +14269,21 @@ packages:typescript: 5.3.3dev: false+ resolution: {integrity: sha512-5hjyV/jLEIKD/jYl4cavMcnzKwjMKohureP8ejn3hhEjwhWIhWeuzL2kJAjzl/WyVsgPY56Sy4Z40C3lVshxXA==}+ peerDependencies:+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@vue/compiler-dom': 3.4.21+ '@vue/compiler-sfc': 3.4.21+ '@vue/runtime-dom': 3.4.21+ '@vue/server-renderer': 3.4.21([email protected])+ '@vue/shared': 3.4.21+ typescript: 5.3.3+resolution: {integrity: sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==}engines: {node: 8.* || >= 10.*}