Skip to content

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.

refactor(ui): restructure menu for better code logic (#4724)

白熱81244d588a7a
diff --git a/common/shared/package.json b/common/shared/package.json
index 3fc3a4bac0..f6fcaf1ecd 100644
--- a/common/shared/package.json
+++ b/common/shared/package.json
@@ -37,10 +37,10 @@
"sort-keys": "^5.1.0",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.17",
- "vite": "^6.1.1",
+ "vite": "^6.2.0",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-external": "^6.0.1",
- "vitest": "^3.0.6"
+ "vitest": "^3.0.7"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
diff --git a/examples-node/src/locales.ts b/examples-node/src/locales.ts
deleted file mode 100644
index e52c300dc0..0000000000
--- a/examples-node/src/locales.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Tools } from '@univerjs/core';
-
-import sheetsformulaenUS from '@univerjs/sheets-formula/locale/en-US';
-import sheetsformulafaIR from '@univerjs/sheets-formula/locale/fa-IR';
-import sheetsformulafrFR from '@univerjs/sheets-formula/locale/fr-FR';
-import sheetsformularuRU from '@univerjs/sheets-formula/locale/ru-RU';
-import sheetsformulaviVN from '@univerjs/sheets-formula/locale/vi-VN';
-import sheetsformulazhCN from '@univerjs/sheets-formula/locale/zh-CN';
-import sheetsformulazhTW from '@univerjs/sheets-formula/locale/zh-TW';
-import sheetssortenUS from '@univerjs/sheets-sort/locale/en-US';
-import sheetssortfaIR from '@univerjs/sheets-sort/locale/fa-IR';
-import sheetssortfrFR from '@univerjs/sheets-sort/locale/fr-FR';
-import sheetssortruRU from '@univerjs/sheets-sort/locale/ru-RU';
-import sheetssortviVN from '@univerjs/sheets-sort/locale/vi-VN';
-import sheetssortzhCN from '@univerjs/sheets-sort/locale/zh-CN';
-import sheetssortzhTW from '@univerjs/sheets-sort/locale/zh-TW';
-import sheetsenUS from '@univerjs/sheets/locale/en-US';
-import sheetsfaIR from '@univerjs/sheets/locale/fa-IR';
-import sheetsfrFR from '@univerjs/sheets/locale/fr-FR';
-import sheetsruRU from '@univerjs/sheets/locale/ru-RU';
-import sheetsviVN from '@univerjs/sheets/locale/vi-VN';
-import sheetszhCN from '@univerjs/sheets/locale/zh-CN';
-import sheetszhTW from '@univerjs/sheets/locale/zh-TW';
-
-export const enUS = Tools.deepMerge(
- {},
- sheetsenUS,
- sheetsformulaenUS,
- sheetssortenUS
-);
-export const frFR = Tools.deepMerge(
- {},
- sheetsfrFR,
- sheetsformulafrFR,
- sheetssortfrFR
-);
-export const ruRU = Tools.deepMerge(
- {},
- sheetsruRU,
- sheetsformularuRU,
- sheetssortruRU
-);
-export const zhCN = Tools.deepMerge(
- {},
- sheetszhCN,
- sheetsformulazhCN,
- sheetssortzhCN
-);
-export const zhTW = Tools.deepMerge(
- {},
- sheetszhTW,
- sheetsformulazhTW,
- sheetssortzhTW
-);
-export const viVN = Tools.deepMerge(
- {},
- sheetsviVN,
- sheetsformulaviVN,
- sheetssortviVN
-);
-export const faIR = Tools.deepMerge(
- {},
- sheetsfaIR,
- sheetsformulafaIR,
- sheetssortfaIR
-);
diff --git a/package.json b/package.json
index da745af4a3..0244b438c6 100644
--- a/package.json
+++ b/package.json
@@ -47,11 +47,11 @@
"@antfu/eslint-config": "4.3.0",
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
- "@eslint-react/eslint-plugin": "^1.27.0",
+ "@eslint-react/eslint-plugin": "^1.28.0",
"@playwright/test": "^1.50.1",
"@release-it-plugins/workspaces": "^4.2.0",
"@release-it/conventional-changelog": "^9.0.4",
- "@storybook/react": "8.5.8",
+ "@storybook/react": "8.6.0",
"@types/node": "^22.13.5",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
@@ -74,9 +74,9 @@
"release-it": "^17.11.0",
"serve": "^14.2.4",
"tsx": "^4.19.3",
- "turbo": "^2.4.2",
+ "turbo": "^2.4.4",
"typescript": "^5.7.3",
- "vitest": "^3.0.6"
+ "vitest": "^3.0.7"
},
"pnpm": {
"onlyBuiltDependencies": [
diff --git a/packages-experimental/action-recorder/package.json b/packages-experimental/action-recorder/package.json
index c80b6d477f..cd484cbed7 100644
--- a/packages-experimental/action-recorder/package.json
+++ b/packages-experimental/action-recorder/package.json
@@ -81,7 +81,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages-experimental/debugger/package.json b/packages-experimental/debugger/package.json
index 16dfc42a48..4e3b0cd0da 100644
--- a/packages-experimental/debugger/package.json
+++ b/packages-experimental/debugger/package.json
@@ -20,7 +20,8 @@
"keywords": [],
"exports": {
".": "./src/index.ts",
- "./*": "./src/*"
+ "./*": "./src/*",
+ "./locale/*": "./src/locale/*.ts"
},
"main": "./src/index.ts",
"types": "./lib/types/index.d.ts",
@@ -39,6 +40,11 @@
"require": "./lib/cjs/*",
"types": "./lib/types/index.d.ts"
},
+ "./locale/*": {
+ "import": "./lib/es/locale/*.js",
+ "require": "./lib/cjs/locale/*.js",
+ "types": "./lib/types/locale/*.d.ts"
+ },
"./lib/*": "./lib/*"
}
},
@@ -78,8 +84,8 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6",
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7",
"vue": "^3.5.13"
}
}
diff --git a/packages-experimental/debugger/src/components/Image.tsx b/packages-experimental/debugger/src/components/Image.tsx
index 105d410683..ab095df475 100644
--- a/packages-experimental/debugger/src/components/Image.tsx
+++ b/packages-experimental/debugger/src/components/Image.tsx
@@ -14,8 +14,6 @@
* limitations under the License.
*/
-import React from 'react';
-
const image = 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxITEBUSExMWFhIVFhIXEhYYFRUWGBYYFRUWFhUWGBUYHyghGB4lGxYVJDEhJSktLi4uGh8zODMsNyktLisBCgoKDg0OGxAQGysgHSYrLS03Ky4tKzctKy8tNysvLS83LS0tLS0rLS0rLS0tLS0vLTItLTc1LS0tLS0tNS0tLf/AABEIASsAqAMBIgACEQEDEQH/xAAcAAEAAgMBAQEAAAAAAAAAAAAABQYDBAcCAQj/xAA8EAACAQIEAggEAgoCAwEAAAAAAQIDEQQFEiExQQYTIjJRYXGRB4GhwUKxFCMzUmJygpLR4UPwFlPCFf/EABkBAQADAQEAAAAAAAAAAAAAAAABAwQFAv/EADERAQACAgEDAQQIBwEAAAAAAAABAgMRBBIhMQUTIjJRQWFxgZGxwdEUJDNSoeHwI//aAAwDAQACEQMRAD8A7iAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQ+n3TupgMRTpRpRlF0+slqbTktbi4wtwasvHvIm+nU8asI5YG7rKUW0lFycN9Shq2vw89nY4Zm/SbFYpwoY2Fq1GU3GpOm6VWMZLS6bWyalZPh+FEwiX6DwudUZ4WOL1qNCUFPVLbSmuD809reJ9ybOsPioOdCoqkYvTK100+Nmmk1sfmfE59Wjhlg6c5dU5a+rW61KV9lx4q9vHfidw+FPRCeAw0pVp6q+IcZ1Eu7Cy7MF4tXd34+gnW9QRteAeKk7f9+pS+kXTejRm6VNSr1ucYq9vXkvmNEzpcq2IjFXk0jSnnMOSk/kl+bKDHpRiZbywclH+GS1L8vzJDC5vGotUbu3ei1acfW/H5+5m5Fc+t4ph6pfHv3lr/8A2o/uS+hlp5xTfG8fVf4uV/D1FOyju3yPmOxNOku3JX8Lo5mDkc3JMxWN6+cNN64qx3W2lWjJXi0/RmQ59h8+pN9iSv4xnv8AcsmV5/GTUZvd8G9vf/J1aXyR/Urr648M09M/DKdABcgAILPel2DwlSFOvVUZz02Vm9Kk7Jyt3Vfx8wJ0AAAAAAAAgulnRTD4+l1dZNSX7OpGynB+Ta3XinsToA/Lue5K8LXr4aEnUq0aqSmovXJaYyi7Ju20l7H6C6B4+vWy+jUxEHCrps7uLc0tlPZu11ye9zPn2Ag0p6VqTabsr9rz+SMHRis4wqUrX6uTlBeUt7f3avcxfxcxyfYWjtrcSu9lHs+uPKO6fZ1PDYKpOO9ScnGn6ylpgiP6CdFYQpqc+1J7yb4zlzbZpdO6kquBjUa7VKpTnUXgozvL2T+hduj9WLw9Nx4OKfub/oZfMsWcZvhcIoqrJRv3UoSk/aKdjQrUsPiKaxFBxls7SjztxjJfZ8DnfxL/AEn9MnSlU0QlUVSlrk4wlFwhG8ZcLxas1x9y19AMLKFCrJ/s6k46G7rXpgozqpPgm1bz03Kq5N26Xua9tsOY508JQm0u03ZW4tvZRXqzRyPohUxT63Eycm97Pux8ox5+prZ/aeIw6fddacvmovT+Zv8AxAzd0ofo0YyShTpTTjOUb6taepR7y2RbM9MPFK9Up2p0Bwum2l35NWTXpsRtfKJ4d2cnOn+GT70fJvn6mP4YZrWm3Sm24Ok6kYybbg4zUNm99Mk728UW3N6acWmRW3U9ZMfT2fejWaa49XJ9pLbztxX3JDPHW/Rq36Pbr+rqdTf9/S9P1scozLNpYacMTvppapTinZy3p7W57X9zrmCx9OrRhXhJOlOEakZctMo6k/LY8xXp7Ji3VDhHQf4m4nD16sMX1lSnZpwm/wBZTqx5drgnwa5EDUxSx+ZRqYuqqdGc3Vry7VlCHdpwSTd2kor3MPxOz2hjMxqYjDx0wSjDWn+2cLrrbW28Fxuopm50F+HuKzGUZy1UcLZXqtbzXJUovvfzcF58D39HdGnbejvT/BYzEfo1GU+s0SnHVDSpRja9vDitnYtZWeiXQXBZfeVCDdVrTKrOWqbWzaT4RV0tklwLMeXoAAAAAAABgx1PVTkvLb1W6Kth8T1VfVylCUfna8fqrfMuBS86tTqb8FJ+3FfQ43qlLxemTHHfx/3+WvjWr3rbwx4mg2nspXVpRfCS8Nzz0YxaoQ6m94RfYT2lBfuu/G3jxNuLTV1wZG5hSXC0W+Slxt5NNMp4PqcY6+zy7+1GXjTa3VRZ62OpuPas1x3St67lczvPU4yjTa2T1zbtCEebcnwIWtflSjf+KdVr+3UvzIbMcvq1lpqSvBbqnFKMF56Vxfm7s6F/VOPWPdnauvDy2nv2bE5xxFGM6VRTtPVSnZxWuHGLT3js3x5NMulfKsNmFKnOpqjVgrKUXpnG/ei+Kkr8ndcyi5Tlc6EnoV4yt1kH3ZW4ejV3ZonqGIcO7UcP4aie3pOKafzse8PPw546ZnU/KXnJxsmGd18LflOU0cLGWjU5StrnOWqUrcFfgkt9kkt2+ZG5/majFpO8ntFLjvsQ2Jzidt61L+mTm/7Yps0YycndXbfGctnvxUI/h9Xv4WLsmfDgruZj7IVxTJlt9P2q1n+Fq1OuhsrRhGN77yc9dTdK1laMf6WdM6KY6WFyTDyqpKcKahFJ31NScKe/mkm/Dcrjw6saGLzd1Y0cNF9jDp6/Oo27+0Wl6tnLj1O94tOtduzbHErXUfi163w3pZhWlKEnQm1KdWcYpxcpX/Bsrtt8Lczs+Dw8adOFOO0YRjGPpFJL8iM6K5f1WHV1259qX/yvb82TJ0eHW9cMRedyz5pibzoABpVAAAAAAAABVemWG2cl4J+2z+li1ERny7vz+xm5V/Z09p/bMS9Vr1e781UyPGXWh/0/dEJ8RsRiMLBY3DQpycYypVtcNemE2mprdWtJcfM3cVT6mrtwlvF8k+X+Ccw9aNWm4ySaacZxdnx4prmjlcnHGDNXk4u9Ld/3hdhvN6zjt8Udv9uOYf4o1NCjUwtOU0ra4TnTv5uLUlf0sSOD+JmH0rrKNWM7drTonG/k9Sdvkb2dfCWm6jnh6mmD36qT7v8ALLw8n7lXx/w0xke5By+cX9zXFuFmjc6/KVla5o+GVny74lYOd+sUqVn2dUJSuuT7F7Py+pvf+cZfOWnr4ra+pwqKPpdx4nPqfw5zB/8ADb1lFfcnsm+FFRyUsVWjGPOFK8pPyc2ko/JMz5MXp1O8zH3TP7vXVyfH7LZlObUsTKfVdqENK6xd2Td20vNbe6JOVkZsLl9KhSjSpQUKcVsl9W3zb8SAz/HveEHZ23l4ehzMeGeVn6MFdR+TRbJGHH1ZJfcZnCjLRCzkuPgvLzfkbXQrKutxTuuy5uc/Rbv3e3zK/kWVSnPVLaC935f7OrdCMAoRqTS7zsvRbv6v6HbtxcGO9cFO9ondp/Rhpmy2iclu0T4j9VmR9AOmzgAAAAAAAAAAETnv4fn9iWIzPV2Ivz/Nf6MnOjeCyzF8cKzmtBSpu/FJtHP8rx9dv9cmql7LbTslvez3SeyfP8uh5i/1U/Qp0qNm342+duC8vQeg7thtE+Iln9RmK3jXmYe1mE4LvterPlbOavFVHa37zf3MVu007cFtf15H1YGm76kk/OP3sducGK3msT90OdGS8eLSVM+rWvqu/cxrO621n67X28DXrYOG9or2X0NOMktfBdrZXSXdjtZedzx/AcW3nHX8Ie45GWPFpZM66T1acYt76tW2ytbi2/G3BcXc9ZVhnUtJ91re/maFeipxatHezV1smn3lfnbYtOU0VGnFeC8b/U5/qMxwcMzgrFeqddobuL/M3j2kzOm9hoJJJHQuj9O2Hh5pv3bZz+B0nAU9NKEfCEV9Ecf0qJm9rS6PK8RDYAB22IAAAAAAAAAAArXTmc40aco3sqkVKztZST7T8bfcspq5nglWpSpvhJbPwa3T97ExET8UbhFt67eXMq+aSkpQvx2+SNTS7b2b/wC8TzmGFlQnKM7qor7Phbxj438TQeM8eBtwYceOP/OIiJ+TmZb3tPvztmrztulvdqz5mvPGS4aJP0advqJ4uDVtzzFxve/yu7mhXDFLESttB78G2kvzZ6oU2lZq7d22vO/I8SqxfFvnzMUqsbbP6cD1A91HpV3ZLwe7fyNiGZzjddnZpbJrkn4+Zp06sGrS3e139jXxMNUnPU4u1pbak7cOzdblOfj4s0RXJG4XYcl8czNZ1Kcp4+bmopyu1eNrcbpJcOLudnwGvqqfWftNEOstw1aVqt87nNvh1kEqs44morUob09ra5rml4L87eZ1E598WLHPTjjTdjte0bvOwAHlYAAAAAAAAAAAAAI3Osko4mOmpHdd2S2lH0f2OeZz8PMTC8qEo1VyTahP69l+51W55cj3TJavh4tjrby/NucYqeHn1WIpTpy8JRav5p815o0qedUV+PnzX+jonxn6SZbUoSwrqasXTkpQ0QctD/FCU+Cur7XdttjhVSqvBmqOR7vdT7Gu1yedULbSV/mYqmfQ4atvmVTaKg731xcrW4ducLcd+7f5k50Ljh542mq8koKSajJNqcl3YtrZK9nvs7W5k15HYnDC15DkeMxaUqGHqOD4VJWp0/VSnbUv5UzovR34bRi1PGTVSX/qhdQ/qk7OXpsvU3aeZS/eNmnjW+f1K75b2+pNa1haqajFJKySSSSskkuCS5HrWvErcMV5meGIM/St6k7rXiNa8SIjWM0apGk9SS1C5oxqGSMhpO22DFBsEJZQAAAAAAAeJxNLGYWrKLUZpX8USACNOLZh8GcTVnKTxsNLlJpdQ7rU2+OsUfgRH8eLk3/DCMV9ztIJ2acZr/Aqnb9XiZRkuDcVJfNNmrH4KYtNacXR2d0+pkmvPaR3ADZpTsH0PqRilKtdpK9o8fqb8OjNv+R+xYgT1SjohC08gS/G/Y2KeUQXFtkkCNynphrQwMFyMypR8EewQnTzoXgfbH0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//2Q==';
export const ImageDemo = () => {
diff --git a/packages-experimental/debugger/src/components/float-button.tsx b/packages-experimental/debugger/src/components/float-button.tsx
index d90964a839..161210fb98 100644
--- a/packages-experimental/debugger/src/components/float-button.tsx
+++ b/packages-experimental/debugger/src/components/float-button.tsx
@@ -14,8 +14,6 @@
* limitations under the License.
*/
-import React from 'react';
-
export const FloatButton = () => {
const divStyle = {
width: '100px',
diff --git a/packages-experimental/debugger/src/components/range-loading.tsx b/packages-experimental/debugger/src/components/range-loading.tsx
index 04650b0e8e..7df908e96d 100644
--- a/packages-experimental/debugger/src/components/range-loading.tsx
+++ b/packages-experimental/debugger/src/components/range-loading.tsx
@@ -14,8 +14,6 @@
* limitations under the License.
*/
-import React from 'react';
-
export const RangeLoading = () => {
const divStyle = {
width: '100%',
diff --git a/packages-experimental/debugger/src/index.ts b/packages-experimental/debugger/src/index.ts
index cd89cdc3c9..49b638f04e 100644
--- a/packages-experimental/debugger/src/index.ts
+++ b/packages-experimental/debugger/src/index.ts
@@ -16,4 +16,4 @@
import './global.css';
-export * from './debugger-plugin';
+export { UniverDebuggerPlugin } from './plugin';
diff --git a/packages/watermark/src/locale/en-US.ts b/packages-experimental/debugger/src/locale/en-US.ts
similarity index 100%
rename from packages/watermark/src/locale/en-US.ts
rename to packages-experimental/debugger/src/locale/en-US.ts
diff --git a/packages/watermark/src/locale/fa-IR.ts b/packages-experimental/debugger/src/locale/fa-IR.ts
similarity index 100%
rename from packages/watermark/src/locale/fa-IR.ts
rename to packages-experimental/debugger/src/locale/fa-IR.ts
diff --git a/packages/watermark/src/locale/fr-FR.ts b/packages-experimental/debugger/src/locale/fr-FR.ts
similarity index 100%
rename from packages/watermark/src/locale/fr-FR.ts
rename to packages-experimental/debugger/src/locale/fr-FR.ts
diff --git a/packages/watermark/src/locale/ru-RU.ts b/packages-experimental/debugger/src/locale/ru-RU.ts
similarity index 100%
rename from packages/watermark/src/locale/ru-RU.ts
rename to packages-experimental/debugger/src/locale/ru-RU.ts
diff --git a/packages/watermark/src/locale/vi-VN.ts b/packages-experimental/debugger/src/locale/vi-VN.ts
similarity index 100%
rename from packages/watermark/src/locale/vi-VN.ts
rename to packages-experimental/debugger/src/locale/vi-VN.ts
diff --git a/packages/watermark/src/locale/zh-CN.ts b/packages-experimental/debugger/src/locale/zh-CN.ts
similarity index 100%
rename from packages/watermark/src/locale/zh-CN.ts
rename to packages-experimental/debugger/src/locale/zh-CN.ts
diff --git a/packages/watermark/src/locale/zh-TW.ts b/packages-experimental/debugger/src/locale/zh-TW.ts
similarity index 100%
rename from packages/watermark/src/locale/zh-TW.ts
rename to packages-experimental/debugger/src/locale/zh-TW.ts
diff --git a/packages-experimental/debugger/src/debugger-plugin.ts b/packages-experimental/debugger/src/plugin.ts
similarity index 100%
rename from packages-experimental/debugger/src/debugger-plugin.ts
rename to packages-experimental/debugger/src/plugin.ts
diff --git a/packages-experimental/debugger/src/views/watermark/WatermarkImageSetting.tsx b/packages-experimental/debugger/src/views/watermark/WatermarkImageSetting.tsx
index 71c7e0450d..9e75c73074 100644
--- a/packages-experimental/debugger/src/views/watermark/WatermarkImageSetting.tsx
+++ b/packages-experimental/debugger/src/views/watermark/WatermarkImageSetting.tsx
@@ -19,15 +19,13 @@ import { LocaleService } from '@univerjs/core';
import { Button, Checkbox, InputNumber } from '@univerjs/design';
import { ILocalFileService, useDependency } from '@univerjs/ui';
import { WATERMARK_IMAGE_ALLOW_IMAGE_LIST } from '@univerjs/watermark';
-import React from 'react';
-import styles from './index.module.less';
interface IWatermarkImageSettingProps {
config?: IImageWatermarkConfig;
onChange: (config: IImageWatermarkConfig) => void;
}
-export const WatermarkImageSetting: React.FC<IWatermarkImageSettingProps> = ({ config, onChange }) => {
+export function WatermarkImageSetting({ config, onChange }: IWatermarkImageSettingProps) {
const fileOpenService = useDependency(ILocalFileService);
const localeService = useDependency(LocaleService);
@@ -65,38 +63,38 @@ export const WatermarkImageSetting: React.FC<IWatermarkImageSettingProps> = ({ c
};
return (
- <div className={styles.watermarkImageSetting}>
+ <div className="univer-grid univer-gap-2">
+ <div className="univer-text-gray-400">{localeService.t('univer-watermark.image')}</div>
- <div className={styles.watermarkTextSettingHeader}>{localeService.t('univer-watermark.image')}</div>
-
- <div className={styles.watermarkTextSettingLayout}>
- <span>{localeService.t('univer-watermark.image')}</span>
+ <div className="univer-mb-4 univer-grid univer-gap-1">
<Button
+ className="univer-mb-2"
onClick={handleUpdateImageUrl}
- style={{ marginLeft: 8 }}
>
{config.url ? localeService.t('univer-watermark.replaceImage') : localeService.t('univer-watermark.uploadImage')}
</Button>
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+
+ <div className="univer-flex univer-gap-2 univer-text-center">
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.opacity')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.opacity}
+ max={1}
+ min={0}
+ step={0.05}
onChange={(val) => {
if (val != null) {
onChange({ ...config, opacity: Number.parseFloat(val.toString()) });
}
}}
- max={1}
- min={0}
- step={0.05}
- className={styles.watermarkInput}
/>
</div>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.keepRatio')}</div>
<Checkbox
+ className="univer-justify-center univer-self-baseline"
checked={config.maintainAspectRatio}
onChange={(val) => {
if (val === true) {
@@ -110,12 +108,14 @@ export const WatermarkImageSetting: React.FC<IWatermarkImageSettingProps> = ({ c
</div>
</div>
- <div className={styles.watermarkTextSettingLayout}>
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-gap-2 univer-text-center">
+ <div className="univer-flex univer-gap-2">
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.width')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.width}
+ min={20}
onChange={(val) => {
if (val != null) {
const newWidth = Math.max(20, Number.parseInt(val.toString()));
@@ -126,15 +126,15 @@ export const WatermarkImageSetting: React.FC<IWatermarkImageSettingProps> = ({ c
}
}
}}
- min={20}
- className={styles.watermarkInput}
/>
</div>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.height')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.height}
+ min={20}
onChange={(val) => {
if (val != null) {
const newHeight = Math.max(20, Number.parseInt(val.toString()));
@@ -145,96 +145,93 @@ export const WatermarkImageSetting: React.FC<IWatermarkImageSettingProps> = ({ c
}
}
}}
- min={20}
- className={styles.watermarkInput}
/>
</div>
</div>
</div>
- <div className={styles.watermarkTextSettingHeader}>{localeService.t('univer-watermark.layout')}</div>
-
- <div className={styles.watermarkTextSettingLayout}>
+ <div className="univer-text-gray-400">{localeService.t('univer-watermark.layout')}</div>
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-gap-2 univer-text-center">
+ <div className="univer-flex univer-gap-2">
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.rotate')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.rotate}
+ max={360}
+ min={-360}
onChange={(val) => {
if (val != null) {
onChange({ ...config, rotate: Number.parseInt(val.toString()) });
}
}}
- max={360}
- min={-360}
- className={styles.watermarkInput}
/>
</div>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.repeat')}</div>
<Checkbox
+ className="univer-justify-center univer-self-baseline"
checked={config.repeat}
onChange={(val) => onChange({ ...config, repeat: val as boolean })}
/>
</div>
</div>
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-flex univer-gap-2">
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.spacingX')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.spacingX}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, spacingX: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.spacingY')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.spacingY}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, spacingY: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
</div>
- <div className={styles.watermarkTextSettingFontStylePart}>
-
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-flex univer-gap-2">
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.startX')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.x}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, x: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.startY')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.y}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, y: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
</div>
diff --git a/packages-experimental/debugger/src/views/watermark/WatermarkPanel.tsx b/packages-experimental/debugger/src/views/watermark/WatermarkPanel.tsx
index 0be6e432b2..a1540b4d53 100644
--- a/packages-experimental/debugger/src/views/watermark/WatermarkPanel.tsx
+++ b/packages-experimental/debugger/src/views/watermark/WatermarkPanel.tsx
@@ -21,7 +21,6 @@ import { IWatermarkTypeEnum, UNIVER_WATERMARK_STORAGE_KEY } from '@univerjs/engi
import { useDependency, useObservable } from '@univerjs/ui';
import { WatermarkImageBaseConfig, WatermarkService, WatermarkTextBaseConfig } from '@univerjs/watermark';
import React, { useCallback, useEffect, useState } from 'react';
-import styles from './index.module.less';
import { WatermarkImageSetting } from './WatermarkImageSetting';
import { WatermarkTextSetting } from './WatermarkTextSetting';
@@ -53,25 +52,28 @@ export const WatermarkPanel: React.FC = () => {
}, [_refresh, getWatermarkConfig]);
return (
- <div className={styles.watermarkPanel}>
- <div className={styles.watermarkPanelTypeTitle}>{localeService.t('univer-watermark.type')}</div>
- <Select
- value={watermarkType}
- onChange={(v) => {
- setWatermarkType(v as IWatermarkTypeEnum);
- if (v === IWatermarkTypeEnum.Text) {
- handleConfigChange({ text: WatermarkTextBaseConfig }, IWatermarkTypeEnum.Text);
- } else if (v === IWatermarkTypeEnum.Image) {
- handleConfigChange({ image: WatermarkImageBaseConfig }, IWatermarkTypeEnum.Image);
- }
- }}
- options={[
- { label: localeService.t('univer-watermark.text'), value: IWatermarkTypeEnum.Text },
- { label: localeService.t('univer-watermark.image'), value: IWatermarkTypeEnum.Image },
- ]}
- className={styles.watermarkPanelTypeSelect}
- />
- <div className={styles.watermarkPanelSetting}>
+ <div className="univer-grid univer-gap-3 univer-text-sm">
+ {/* Watermark type */}
+ <div className="univer-grid univer-gap-2">
+ <div className="univer-text-gray-400">{localeService.t('univer-watermark.type')}</div>
+ <Select
+ value={watermarkType}
+ options={[
+ { label: localeService.t('univer-watermark.text'), value: IWatermarkTypeEnum.Text },
+ { label: localeService.t('univer-watermark.image'), value: IWatermarkTypeEnum.Image },
+ ]}
+ onChange={(v) => {
+ setWatermarkType(v as IWatermarkTypeEnum);
+ if (v === IWatermarkTypeEnum.Text) {
+ handleConfigChange({ text: WatermarkTextBaseConfig }, IWatermarkTypeEnum.Text);
+ } else if (v === IWatermarkTypeEnum.Image) {
+ handleConfigChange({ image: WatermarkImageBaseConfig }, IWatermarkTypeEnum.Image);
+ }
+ }}
+ />
+ </div>
+
+ <div className="univer-grid univer-gap-2">
{watermarkType === IWatermarkTypeEnum.Text && <WatermarkTextSetting config={config?.text} onChange={(v) => handleConfigChange({ text: v })} />}
{watermarkType === IWatermarkTypeEnum.Image && <WatermarkImageSetting config={config?.image} onChange={(v) => handleConfigChange({ image: v })} />}
</div>
diff --git a/packages-experimental/debugger/src/views/watermark/WatermarkPanelFooter.tsx b/packages-experimental/debugger/src/views/watermark/WatermarkPanelFooter.tsx
index b6b11eccd5..ec2b3e4838 100644
--- a/packages-experimental/debugger/src/views/watermark/WatermarkPanelFooter.tsx
+++ b/packages-experimental/debugger/src/views/watermark/WatermarkPanelFooter.tsx
@@ -19,19 +19,17 @@ import { Button } from '@univerjs/design';
import { IWatermarkTypeEnum } from '@univerjs/engine-render';
import { IClipboardInterfaceService, ISidebarService, useDependency } from '@univerjs/ui';
import { WatermarkService, WatermarkTextBaseConfig } from '@univerjs/watermark';
-import React from 'react';
-import styles from './index.module.less';
-export const WatermarkPanelFooter: React.FC = () => {
+export function WatermarkPanelFooter() {
const sidebarService = useDependency(ISidebarService);
const watermarkService = useDependency(WatermarkService);
const localeService = useDependency(LocaleService);
const clipboardService = useDependency(IClipboardInterfaceService);
return (
- <div className={styles.watermarkPanelFooter}>
- <div
- className={styles.watermarkPanelFooterReset}
+ <div className="univer-flex univer-items-center univer-justify-between">
+ <a
+ className="univer-text-sm univer-text-primary-600 univer-underline"
onClick={() => {
watermarkService.updateWatermarkConfig({
type: IWatermarkTypeEnum.Text,
@@ -41,11 +39,10 @@ export const WatermarkPanelFooter: React.FC = () => {
}}
>
{localeService.t('univer-watermark.cancel')}
- </div>
+ </a>
- <div className={styles.watermarkPanelFooterButtonWrapper}>
+ <div className="univer-flex univer-items-center univer-gap-2">
<Button
- style={{ marginRight: 8 }}
onClick={async () => {
const watermarkConfig = await watermarkService.getWatermarkConfig();
let config;
diff --git a/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx b/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx
index 4e7bacf39e..fd8fcaf2cc 100644
--- a/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx
+++ b/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx
@@ -19,23 +19,21 @@ import { LocaleService } from '@univerjs/core';
import { Checkbox, clsx, ColorPicker, Dropdown, Input, InputNumber, Select } from '@univerjs/design';
import { BoldSingle, FontColor, ItalicSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import React from 'react';
-import styles from './index.module.less';
interface IWatermarkTextSettingProps {
config?: ITextWatermarkConfig;
onChange: (config: ITextWatermarkConfig) => void;
}
-export const WatermarkTextSetting: React.FC<IWatermarkTextSettingProps> = (props) => {
+export function WatermarkTextSetting(props: IWatermarkTextSettingProps) {
const { config, onChange } = props;
const localeService = useDependency(LocaleService);
if (!config) return null;
return (
- <div className={styles.watermarkTextSetting}>
- <div className={styles.watermarkTextSettingHeader}>{localeService.t('univer-watermark.style')}</div>
+ <div className="univer-grid univer-gap-2">
+ <div className="univer-text-gray-400">{localeService.t('univer-watermark.style')}</div>
<div className="univer-mb-4 univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.content')}</div>
@@ -46,8 +44,8 @@ export const WatermarkTextSetting: React.FC<IWatermarkTextSettingProps> = (props
/>
</div>
- <div className={clsx(styles.watermarkTextSettingFontStyle, 'univer-grid univer-gap-4')}>
- <div className={clsx(styles.watermarkTextSettingFontStylePart, 'univer-flex univer-gap-2')}>
+ <div className="univer-grid univer-gap-4">
+ <div className="univer-flex univer-gap-2">
<div className="univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.fontSize')}</div>
<InputNumber
@@ -94,32 +92,44 @@ export const WatermarkTextSetting: React.FC<IWatermarkTextSettingProps> = (props
</div>
<div
- className={clsx(styles.watermarkTextSettingFontStylePart, `
+ className={`
univer-flex univer-justify-around univer-gap-4
- `)}
+ [&_a]:univer-flex [&_a]:univer-size-6 [&_a]:univer-items-center [&_a]:univer-justify-center
+ [&_a]:univer-rounded
+ `}
>
- <div className={styles.watermarkIconWrapper}>
- <Dropdown
- overlay={(
- <div className="univer-rounded-lg univer-p-4">
- <ColorPicker value={config.color} onChange={(val) => onChange({ ...config, color: val })} />
- </div>
- )}
- >
- <FontColor className={styles.watermarkIcon} extend={{ colorChannel1: config.color ?? 'rgb(var(--primary-color))' }} />
- </Dropdown>
- </div>
- <div className={clsx(styles.watermarkIconWrapper, { [styles.watermarkIconWrapperSelect]: config.bold })} onClick={() => { onChange({ ...config, bold: !config.bold }); }}>
- <BoldSingle className={styles.watermarkIcon} />
- </div>
- <div className={clsx(styles.watermarkIconWrapper, { [styles.watermarkIconWrapperSelect]: config.italic })} onClick={() => { onChange({ ...config, italic: !config.italic }); }}>
- <ItalicSingle className={styles.watermarkIcon} />
- </div>
+ <Dropdown
+ overlay={(
+ <div className="univer-rounded-lg univer-p-4">
+ <ColorPicker value={config.color} onChange={(val) => onChange({ ...config, color: val })} />
+ </div>
+ )}
+ >
+ <a className="hover:univer-bg-gray-100">
+ <FontColor extend={{ colorChannel1: config.color ?? '#2c53f1' }} />
+ </a>
+ </Dropdown>
+ <a
+ className={clsx('hover:univer-bg-gray-100', {
+ 'univer-bg-gray-200': config.bold,
+ })}
+ onClick={() => { onChange({ ...config, bold: !config.bold }); }}
+ >
+ <BoldSingle />
+ </a>
+ <a
+ className={clsx('hover:univer-bg-gray-100', {
+ 'univer-bg-gray-200': config.italic,
+ })}
+ onClick={() => { onChange({ ...config, italic: !config.italic }); }}
+ >
+ <ItalicSingle />
+ </a>
</div>
</div>
{/* Layout */}
- <div className={styles.watermarkTextSettingHeader}>{localeService.t('univer-watermark.layout')}</div>
+ <div className="univer-text-gray-400">{localeService.t('univer-watermark.layout')}</div>
<div className="univer-grid univer-gap-2 univer-text-center">
<div className="univer-flex univer-gap-2">
diff --git a/packages-experimental/debugger/src/views/watermark/index.module.less b/packages-experimental/debugger/src/views/watermark/index.module.less
deleted file mode 100644
index 37b63847cb..0000000000
--- a/packages-experimental/debugger/src/views/watermark/index.module.less
+++ /dev/null
@@ -1,83 +0,0 @@
-.watermark {
- &-panel {
- margin: 16px 0;
-
- &-type-title {
- font-size: 15px;
- color: rgb(var(--text-color-secondary));
- }
-
- &-type-select {
- width: 100%;
- margin-top: 16px;
- }
-
- &-setting {
- width: 100%;
- min-height: 100px;
- border-radius: 8px;
- }
-
- &-footer {
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 12px;
-
- &-button-wrapper {
- display: flex;
- align-items: center;
- }
-
- &-reset {
- cursor: pointer;
- white-space: nowrap;
- color: rgb(var(--primary-color));
- border-bottom: 1px solid rgb(var(--primary-color));
- }
- }
- }
-
- &-text-setting {
- font-size: 14px;
-
- &-header {
- font-size: 15px;
- color: rgb(var(--text-color-secondary));
- margin: 16px 0;
- }
- }
-
- &-image-setting {
- font-size: 14px;
- }
-
- &-icon {
- width: 18px;
- height: 18px;
- margin: 2px;
-
- &-wrapper {
- cursor: pointer;
- border-radius: 4px;
- width: 24px;
- height: 24px;
-
- &-select {
- background-color: rgb(var(--grey-100));
- }
-
- &:hover {
- background-color: rgb(var(--grey-100));
- }
-
- &:first-child {
- margin-left: 28px;
- }
-
- &:last-child {
- margin-right: 28px;
- }
- }
- }
-}
diff --git a/packages-experimental/sheets-source-binding/package.json b/packages-experimental/sheets-source-binding/package.json
index 3fd0faaa80..49f858e859 100644
--- a/packages-experimental/sheets-source-binding/package.json
+++ b/packages-experimental/sheets-source-binding/package.json
@@ -72,7 +72,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages-experimental/uni-docs-ui/package.json b/packages-experimental/uni-docs-ui/package.json
index 531d71c68d..88d7e26ada 100644
--- a/packages-experimental/uni-docs-ui/package.json
+++ b/packages-experimental/uni-docs-ui/package.json
@@ -73,7 +73,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages-experimental/uni-formula-ui/package.json b/packages-experimental/uni-formula-ui/package.json
index 9d3a5c93d4..4fbd021ad2 100644
--- a/packages-experimental/uni-formula-ui/package.json
+++ b/packages-experimental/uni-formula-ui/package.json
@@ -85,7 +85,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages-experimental/uni-formula/package.json b/packages-experimental/uni-formula/package.json
index 12e535f902..6f948deaee 100644
--- a/packages-experimental/uni-formula/package.json
+++ b/packages-experimental/uni-formula/package.json
@@ -61,7 +61,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages-experimental/uni-sheets-ui/package.json b/packages-experimental/uni-sheets-ui/package.json
index 83774ca983..dd7e41dc3b 100644
--- a/packages-experimental/uni-sheets-ui/package.json
+++ b/packages-experimental/uni-sheets-ui/package.json
@@ -78,7 +78,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages-experimental/uni-slides-ui/package.json b/packages-experimental/uni-slides-ui/package.json
index 3750cc4e26..3e65ef4178 100644
--- a/packages-experimental/uni-slides-ui/package.json
+++ b/packages-experimental/uni-slides-ui/package.json
@@ -74,7 +74,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages-experimental/uniui/package.json b/packages-experimental/uniui/package.json
index a2097179e5..e3965b3416 100644
--- a/packages-experimental/uniui/package.json
+++ b/packages-experimental/uniui/package.json
@@ -80,7 +80,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/core/package.json b/packages/core/package.json
index c0c190bc13..64218d2a79 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -74,7 +74,7 @@
"fast-diff": "1.3.0",
"kdbush": "^4.0.2",
"lodash-es": "^4.17.21",
- "nanoid": "5.1.0",
+ "nanoid": "5.1.2",
"numeral": "^2.0.6",
"numfmt": "^2.5.2",
"ot-json1": "^1.0.2",
@@ -87,7 +87,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/data-validation/package.json b/packages/data-validation/package.json
index 631ada7077..b0928bcc98 100644
--- a/packages/data-validation/package.json
+++ b/packages/data-validation/package.json
@@ -70,7 +70,7 @@
"@univerjs/sheets": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/design/package.json b/packages/design/package.json
index 06ca397ae5..1bd5dcdd54 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -70,6 +70,7 @@
"dependencies": {
"@radix-ui/react-dropdown-menu": "^2.1.6",
"@radix-ui/react-popover": "^1.1.6",
+ "@radix-ui/react-separator": "^1.1.2",
"@rc-component/trigger": "^2.2.6",
"@univerjs/icons": "^0.2.20",
"clsx": "^2.1.1",
@@ -99,7 +100,7 @@
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/design/src/components/avatar/Avatar.tsx b/packages/design/src/components/avatar/Avatar.tsx
index 1383d90e68..5db558b633 100644
--- a/packages/design/src/components/avatar/Avatar.tsx
+++ b/packages/design/src/components/avatar/Avatar.tsx
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-import clsx from 'clsx';
-import React from 'react';
+import type { CSSProperties, ReactNode } from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
@@ -24,10 +24,10 @@ type AvatarSize = number | 'middle' | 'small';
type ImageFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
export interface IAvatarProps {
- children?: React.ReactNode;
+ children?: ReactNode;
/** Semantic DOM style */
- style?: React.CSSProperties;
+ style?: CSSProperties;
/** The title of the image avatar */
title?: string;
diff --git a/packages/design/src/components/button/Button.tsx b/packages/design/src/components/button/Button.tsx
index 46d21f2cab..0b648fc653 100644
--- a/packages/design/src/components/button/Button.tsx
+++ b/packages/design/src/components/button/Button.tsx
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-import clsx from 'clsx';
-import React from 'react';
+import type { CSSProperties, MouseEvent, ReactNode } from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
@@ -23,13 +23,13 @@ export type ButtonType = 'primary' | 'default' | 'text' | 'link';
export type ButtonSize = 'small' | 'middle' | 'large';
export interface IButtonProps {
- children?: React.ReactNode;
+ children?: ReactNode;
/** Semantic DOM class */
className?: string;
/** Semantic DOM style */
- style?: React.CSSProperties;
+ style?: CSSProperties;
/**
* Set button type
@@ -59,7 +59,7 @@ export interface IButtonProps {
disabled?: boolean;
/** Set the handler to handle `click` event */
- onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
+ onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
id?: string;
}
diff --git a/packages/design/src/components/cascader-list/CascaderList.tsx b/packages/design/src/components/cascader-list/CascaderList.tsx
index 749a553c43..6f5eff6e25 100644
--- a/packages/design/src/components/cascader-list/CascaderList.tsx
+++ b/packages/design/src/components/cascader-list/CascaderList.tsx
@@ -15,8 +15,8 @@
*/
import { CheckMarkSingle } from '@univerjs/icons';
-import clsx from 'clsx';
-import React, { useContext, useMemo } from 'react';
+import { useContext, useMemo } from 'react';
+import { clsx } from '../../helper/clsx';
import { ConfigContext } from '../config-provider/ConfigProvider';
import styles from './index.module.less';
diff --git a/packages/design/src/components/checkbox-group/CheckboxGroup.tsx b/packages/design/src/components/checkbox-group/CheckboxGroup.tsx
index cdc886e4b1..80cbd7ab8b 100644
--- a/packages/design/src/components/checkbox-group/CheckboxGroup.tsx
+++ b/packages/design/src/components/checkbox-group/CheckboxGroup.tsx
@@ -14,14 +14,14 @@
* limitations under the License.
*/
-import React from 'react';
-import clsx from 'clsx';
-
+import type { CSSProperties, ReactNode } from 'react';
import type { ICheckboxProps } from '../checkbox/Checkbox';
+import { Children, cloneElement, isValidElement } from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
export interface ICheckboxGroupProps {
- children: React.ReactNode[];
+ children: ReactNode[];
/**
* The class name of the checkbox group
@@ -31,7 +31,7 @@ export interface ICheckboxGroupProps {
/**
* The style of the checkbox group
*/
- style?: React.CSSProperties;
+ style?: CSSProperties;
/**
* Define which checkbox is selected
@@ -76,9 +76,9 @@ export function CheckboxGroup(props: ICheckboxGroupProps) {
return (
<div className={_className} style={style}>
- {React.Children.map(children, (child, index) => {
- if (React.isValidElement<ICheckboxProps>(child)) {
- return React.cloneElement(child, {
+ {Children.map(children, (child, index) => {
+ if (isValidElement<ICheckboxProps>(child)) {
+ return cloneElement(child, {
key: index,
children: child.props.children,
checked: child.props.value ? value.includes(child.props.value) : false,
diff --git a/packages/design/src/components/checkbox/Checkbox.tsx b/packages/design/src/components/checkbox/Checkbox.tsx
index 54fadb4cf7..e5decaa4e2 100644
--- a/packages/design/src/components/checkbox/Checkbox.tsx
+++ b/packages/design/src/components/checkbox/Checkbox.tsx
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-import clsx from 'clsx';
import React, { useRef } from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
diff --git a/packages/design/src/components/dropdown-menu/DropdownMenu.tsx b/packages/design/src/components/dropdown-menu/DropdownMenu.tsx
index b334b38ca7..391f128d52 100644
--- a/packages/design/src/components/dropdown-menu/DropdownMenu.tsx
+++ b/packages/design/src/components/dropdown-menu/DropdownMenu.tsx
@@ -30,21 +30,23 @@ import {
type DropdownMenu = {
type: 'item';
+ className?: string;
children: ReactNode;
+ disabled?: boolean;
onSelect?: (item: DropdownMenu) => void;
} | {
type?: 'separator';
+ className?: string;
} | {
type?: 'radio';
- options: { value: string; label: string }[];
+ className?: string;
value: string;
+ options: { value: string; label: ReactNode; disabled?: boolean }[];
onSelect?: (item: string) => void;
};
export interface IDropdownProps {
children: ReactNode;
- /** @deprecated */
- overlay?: ReactNode;
items: DropdownMenu[];
disabled?: boolean;
open?: boolean;
@@ -54,7 +56,6 @@ export interface IDropdownProps {
export function DropdownMenu(props: IDropdownProps & ComponentProps<typeof Content>) {
const {
children,
- overlay,
items,
disabled,
open: controlledOpen,
@@ -77,21 +78,17 @@ export function DropdownMenu(props: IDropdownProps & ComponentProps<typeof Conte
controlledOnOpenChange?.(newOpen);
}
- // const [showStatusBar, setShowStatusBar] = useState<boolean>(true);
- // const [showActivityBar, setShowActivityBar] = useState<boolean>(false);
- // const [showPanel, setShowPanel] = useState<boolean>(false);
- // const [position, setPosition] = useState('bottom');
-
function renderMenuItem(item: DropdownMenu, index: number) {
// const { type, children, icon, checked, hidden, onSelect } = item;
- const { type } = item;
+ const { className, type } = item;
if (type === 'separator') {
- return <DropdownMenuSeparator key={index} />;
+ return <DropdownMenuSeparator key={index} className={className} />;
} else if (type === 'radio') {
return (
<DropdownMenuRadioGroup
key={index}
+ className={className}
value={item.value}
onValueChange={item.onSelect}
>
@@ -99,6 +96,7 @@ export function DropdownMenu(props: IDropdownProps & ComponentProps<typeof Conte
<DropdownMenuRadioItem
key={option.value}
value={option.value}
+ disabled={option.disabled}
>
{option.label}
</DropdownMenuRadioItem>
@@ -109,6 +107,8 @@ export function DropdownMenu(props: IDropdownProps & ComponentProps<typeof Conte
return (
<DropdownMenuItem
key={index}
+ className={className}
+ disabled={item.disabled}
onSelect={() => {
item.onSelect?.(item);
}}
@@ -120,97 +120,12 @@ export function DropdownMenu(props: IDropdownProps & ComponentProps<typeof Conte
}
return (
- <DropdownMenuPrimitive open={open} onOpenChange={handleChangeOpen}>
+ <DropdownMenuPrimitive modal={false} open={open} onOpenChange={handleChangeOpen}>
<DropdownMenuTrigger asChild>
{children}
</DropdownMenuTrigger>
<DropdownMenuContent {...restProps}>
-
- {overlay}
{items.map((item, index) => renderMenuItem(item, index))}
- {/*
- <DropdownMenuLabel>Appearance</DropdownMenuLabel>
- <DropdownMenuSeparator />
- <DropdownMenuCheckboxItem
- checked={showStatusBar}
- onCheckedChange={setShowStatusBar}
- >
- Status Bar
- </DropdownMenuCheckboxItem>
- <DropdownMenuCheckboxItem
- checked={showActivityBar}
- onCheckedChange={setShowActivityBar}
- disabled
- >
- Activity Bar
- </DropdownMenuCheckboxItem>
- <DropdownMenuCheckboxItem
- checked={showPanel}
- onCheckedChange={setShowPanel}
- >
- Panel
- </DropdownMenuCheckboxItem>
-
- <DropdownMenuSeparator />
-
- <DropdownMenuLabel>Panel Position</DropdownMenuLabel>
- <DropdownMenuSeparator />
- <DropdownMenuRadioGroup value={position} onValueChange={setPosition}>
- <DropdownMenuRadioItem value="top">Top</DropdownMenuRadioItem>
- <DropdownMenuRadioItem value="bottom">Bottom</DropdownMenuRadioItem>
- <DropdownMenuRadioItem value="right">Right</DropdownMenuRadioItem>
- </DropdownMenuRadioGroup>
-
- <DropdownMenuSeparator />
-
- <DropdownMenuLabel>My Account</DropdownMenuLabel>
- <DropdownMenuSeparator />
- <DropdownMenuGroup>
- <DropdownMenuItem>
- Profile
- <DropdownMenuShortcut>⇧⌘P</DropdownMenuShortcut>
- </DropdownMenuItem>
- <DropdownMenuItem>
- Billing
- <DropdownMenuShortcut>⌘B</DropdownMenuShortcut>
- </DropdownMenuItem>
- <DropdownMenuItem>
- Settings
- <DropdownMenuShortcut>⌘S</DropdownMenuShortcut>
- </DropdownMenuItem>
- <DropdownMenuItem>
- Keyboard shortcuts
- <DropdownMenuShortcut>⌘K</DropdownMenuShortcut>
- </DropdownMenuItem>
- </DropdownMenuGroup>
- <DropdownMenuSeparator />
- <DropdownMenuGroup>
- <DropdownMenuItem>Team</DropdownMenuItem>
- <DropdownMenuSub>
- <DropdownMenuSubTrigger>Invite users</DropdownMenuSubTrigger>
- <DropdownMenuPortal>
- <DropdownMenuSubContent>
- <DropdownMenuItem>Email</DropdownMenuItem>
- <DropdownMenuItem>Message</DropdownMenuItem>
- <DropdownMenuSeparator />
- <DropdownMenuItem>More...</DropdownMenuItem>
- </DropdownMenuSubContent>
- </DropdownMenuPortal>
- </DropdownMenuSub>
- <DropdownMenuItem>
- New Team
- <DropdownMenuShortcut>⌘+T</DropdownMenuShortcut>
- </DropdownMenuItem>
- </DropdownMenuGroup>
- <DropdownMenuSeparator />
- <DropdownMenuItem>GitHub</DropdownMenuItem>
- <DropdownMenuItem>Support</DropdownMenuItem>
- <DropdownMenuItem disabled>API</DropdownMenuItem>
- <DropdownMenuSeparator />
- <DropdownMenuItem>
- Log out
- <DropdownMenuShortcut>⇧⌘Q</DropdownMenuShortcut>
- </DropdownMenuItem> */}
</DropdownMenuContent>
</DropdownMenuPrimitive>
);
diff --git a/packages/design/src/components/dropdown-menu/DropdownMenuPrimitive.tsx b/packages/design/src/components/dropdown-menu/DropdownMenuPrimitive.tsx
index 79f363771d..a097585cd6 100644
--- a/packages/design/src/components/dropdown-menu/DropdownMenuPrimitive.tsx
+++ b/packages/design/src/components/dropdown-menu/DropdownMenuPrimitive.tsx
@@ -125,7 +125,7 @@ function DropdownMenuSubContent({
data-slot="dropdown-menu-sub-content"
className={clsx(
`
- univer-z-50 univer-box-border univer-max-h-[var(--radix-popper-available-height)]
+ univer-z-[1080] univer-box-border univer-max-h-[var(--radix-popper-available-height)]
univer-overflow-y-auto univer-rounded-md univer-border univer-border-solid univer-border-gray-200
univer-bg-white univer-p-1.5 univer-text-gray-900 univer-shadow-md univer-scrollbar-thin
univer-scrollbar-track-gray-50 univer-scrollbar-thumb-gray-300
@@ -158,7 +158,7 @@ function DropdownMenuContent({
sideOffset={sideOffset}
className={clsx(
`
- univer-z-50 univer-box-border univer-max-h-[var(--radix-popper-available-height)]
+ univer-z-[1080] univer-box-border univer-max-h-[var(--radix-popper-available-height)]
univer-overflow-y-auto univer-rounded-md univer-border univer-border-solid univer-border-gray-200
univer-bg-white univer-p-1.5 univer-text-gray-900 univer-shadow-md univer-scrollbar-thin
univer-scrollbar-track-gray-50 univer-scrollbar-thumb-gray-300
diff --git a/packages/design/src/components/dropdown/PopoverPrimitive.tsx b/packages/design/src/components/dropdown/PopoverPrimitive.tsx
index 587c4f9dd0..ece2b48f52 100644
--- a/packages/design/src/components/dropdown/PopoverPrimitive.tsx
+++ b/packages/design/src/components/dropdown/PopoverPrimitive.tsx
@@ -44,8 +44,10 @@ function PopoverContent({
sideOffset={sideOffset}
className={clsx(
`
- univer-z-[1080] univer-rounded-md univer-border univer-border-solid univer-bg-white
- univer-text-gray-900 univer-shadow-md univer-outline-hidden univer-border-gray-200
+ univer-z-[1080] univer-max-h-[var(--radix-popper-available-height)] univer-overflow-y-auto
+ univer-rounded-md univer-border univer-border-solid univer-border-gray-200 univer-bg-white
+ univer-text-gray-900 univer-shadow-md univer-outline-hidden univer-scrollbar-thin
+ univer-scrollbar-track-gray-50 univer-scrollbar-thumb-gray-300
data-[side=bottom]:univer-slide-in-from-top-2
data-[side=left]:univer-slide-in-from-right-2
data-[side=right]:univer-slide-in-from-left-2
diff --git a/packages/design/src/components/form-layout/FormLayout.tsx b/packages/design/src/components/form-layout/FormLayout.tsx
index c76e94bef2..7103c105da 100644
--- a/packages/design/src/components/form-layout/FormLayout.tsx
+++ b/packages/design/src/components/form-layout/FormLayout.tsx
@@ -16,8 +16,8 @@
import type { PropsWithChildren } from 'react';
import { MoreUpSingle } from '@univerjs/icons';
-import clsx from 'clsx';
import React, { createContext, useContext, useState } from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
diff --git a/packages/design/src/components/radio-group/RadioGroup.tsx b/packages/design/src/components/radio-group/RadioGroup.tsx
index 9a2f342e1a..dc3bdd9b8f 100644
--- a/packages/design/src/components/radio-group/RadioGroup.tsx
+++ b/packages/design/src/components/radio-group/RadioGroup.tsx
@@ -14,14 +14,14 @@
* limitations under the License.
*/
-import React from 'react';
-
-import clsx from 'clsx';
+import type { CSSProperties, ReactNode } from 'react';
import type { IRadioProps } from '../radio/Radio';
+import { Children, cloneElement, isValidElement } from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
export interface IRadioGroupProps {
- children: React.ReactNode[];
+ children: ReactNode[];
/**
* The class name of the checkbox group
@@ -31,7 +31,7 @@ export interface IRadioGroupProps {
/**
* The style of the checkbox group
*/
- style?: React.CSSProperties;
+ style?: CSSProperties;
/**
* Define which radio is selected
@@ -72,9 +72,9 @@ export function RadioGroup(props: IRadioGroupProps) {
return (
<div className={clsx(styles.radioGroup, _className)} style={style}>
- {React.Children.map(children, (child, index) => {
- if (React.isValidElement<IRadioProps>(child)) {
- return React.cloneElement(child, {
+ {Children.map(children, (child, index) => {
+ if (isValidElement<IRadioProps>(child)) {
+ return cloneElement(child, {
key: index,
children: child.props.children,
value: child.props.value,
diff --git a/packages/design/src/components/radio/Radio.tsx b/packages/design/src/components/radio/Radio.tsx
index c64f013fbd..cdec2647a7 100644
--- a/packages/design/src/components/radio/Radio.tsx
+++ b/packages/design/src/components/radio/Radio.tsx
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-import clsx from 'clsx';
import React, { useRef } from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
diff --git a/packages/design/src/components/select-list/SelectList.tsx b/packages/design/src/components/select-list/SelectList.tsx
index d5bbdbf83a..6417ca2684 100644
--- a/packages/design/src/components/select-list/SelectList.tsx
+++ b/packages/design/src/components/select-list/SelectList.tsx
@@ -15,8 +15,7 @@
*/
import { CheckMarkSingle } from '@univerjs/icons';
-import clsx from 'clsx';
-import React from 'react';
+import { clsx } from '../../helper/clsx';
import styles from './index.module.less';
diff --git a/packages/design/src/components/select/Select.tsx b/packages/design/src/components/select/Select.tsx
index 55f0a6c724..65f225e4b3 100644
--- a/packages/design/src/components/select/Select.tsx
+++ b/packages/design/src/components/select/Select.tsx
@@ -14,17 +14,17 @@
* limitations under the License.
*/
+import type { LabelInValueType } from 'rc-select/lib/Select';
+import type { CSSProperties, JSXElementConstructor, ReactElement, ReactNode } from 'react';
import { MoreDownSingle } from '@univerjs/icons';
-import clsx from 'clsx';
import RcSelect from 'rc-select';
-
-import React, { useContext } from 'react';
-import type { LabelInValueType } from 'rc-select/lib/Select';
+import { useContext } from 'react';
+import { clsx } from '../../helper/clsx';
import { ConfigContext } from '../config-provider/ConfigProvider';
import styles from './index.module.less';
interface IOption {
- label?: string | React.ReactNode;
+ label?: string | ReactNode;
value?: string;
options?: IOption[];
}
@@ -46,7 +46,7 @@ export interface ISelectProps {
*/
onChange: (value: string) => void;
- style?: React.CSSProperties;
+ style?: CSSProperties;
/**
* Whether the borderless style is used
@@ -61,14 +61,14 @@ export interface ISelectProps {
mode?: 'combobox' | 'multiple' | 'tags' | undefined;
dropdownRender?: (
- menu: React.ReactElement<any, string | React.JSXElementConstructor<any>>
- ) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
+ menu: ReactElement<any, string | JSXElementConstructor<any>>
+ ) => ReactElement<any, string | JSXElementConstructor<any>>;
- labelRender?: ((props: LabelInValueType) => React.ReactNode) | undefined;
+ labelRender?: ((props: LabelInValueType) => ReactNode) | undefined;
open?: boolean;
- dropdownStyle?: React.CSSProperties;
+ dropdownStyle?: CSSProperties;
onDropdownVisibleChange?: (open: boolean) => void;
diff --git a/packages/design/src/components/separator/Separator.tsx b/packages/design/src/components/separator/Separator.tsx
new file mode 100644
index 0000000000..d0d679eade
--- /dev/null
+++ b/packages/design/src/components/separator/Separator.tsx
@@ -0,0 +1,45 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { ComponentProps } from 'react';
+import { Root } from '@radix-ui/react-separator';
+import { clsx } from '../../helper/clsx';
+
+function Separator({
+ className,
+ orientation = 'horizontal',
+ decorative = true,
+ ...props
+}: ComponentProps<typeof Root>) {
+ return (
+ <Root
+ data-slot="separator-root"
+ decorative={decorative}
+ orientation={orientation}
+ className={clsx(
+ `
+ univer-shrink-0 univer-bg-gray-200
+ data-[orientation=horizontal]:univer-h-px data-[orientation=horizontal]:univer-w-full
+ data-[orientation=vertical]:univer-h-full data-[orientation=vertical]:univer-w-px
+ `,
+ className
+ )}
+ {...props}
+ />
+ );
+}
+
+export { Separator };
diff --git a/packages/design/src/components/separator/index.ts b/packages/design/src/components/separator/index.ts
new file mode 100644
index 0000000000..adb0e5a8f8
--- /dev/null
+++ b/packages/design/src/components/separator/index.ts
@@ -0,0 +1,17 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export { Separator } from './Separator';
diff --git a/packages/design/src/components/tree/Tree.tsx b/packages/design/src/components/tree/Tree.tsx
index 14e6bd86e3..255e5b05e3 100644
--- a/packages/design/src/components/tree/Tree.tsx
+++ b/packages/design/src/components/tree/Tree.tsx
@@ -15,11 +15,10 @@
*/
import { DropdownSingle } from '@univerjs/icons';
-import clsx from 'clsx';
import VirtualList from 'rc-virtual-list';
import React, { useEffect, useMemo, useState } from 'react';
+import { clsx } from '../../helper/clsx';
import { Checkbox } from '../checkbox';
-
import { Tooltip } from '../tooltip';
import styles from './index.module.less';
import { createCacheWithFindNodePathFromTree, isIntermediated } from './util';
diff --git a/packages/design/src/index.ts b/packages/design/src/index.ts
index 0b8ec8b264..9b13214ffa 100644
--- a/packages/design/src/index.ts
+++ b/packages/design/src/index.ts
@@ -52,3 +52,4 @@ export { resizeObserverCtor } from './helper/resize-observer';
export { render, unmount } from './helper/react-dom';
export { isBrowser } from './helper/is-browser';
export { DropdownMenu, type IDropdownProps } from './components/dropdown-menu';
+export { Separator } from './components/separator';
diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.json
index 923f45685f..fe4efc04df 100644
--- a/packages/docs-drawing-ui/package.json
+++ b/packages/docs-drawing-ui/package.json
@@ -86,7 +86,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingPosition.tsx b/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingPosition.tsx
index cda90a9d5d..f0e995bb20 100644
--- a/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingPosition.tsx
+++ b/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingPosition.tsx
@@ -18,14 +18,13 @@ import type { ICommandInfo, IDrawingParam, IObjectPositionH, IObjectPositionV, N
import type { IDocDrawing } from '@univerjs/docs-drawing';
import type { IDocumentSkeletonDrawing } from '@univerjs/engine-render';
import { DocumentFlavor, ICommandService, IUniverInstanceService, LocaleService, ObjectRelativeFromH, ObjectRelativeFromV, PositionedObjectLayoutType } from '@univerjs/core';
-import { Checkbox, InputNumber, Select } from '@univerjs/design';
+import { Checkbox, clsx, InputNumber, Select } from '@univerjs/design';
import { DocSkeletonManagerService, RichTextEditingMutation } from '@univerjs/docs';
import { DocSelectionRenderService } from '@univerjs/docs-ui';
import { IDrawingManagerService } from '@univerjs/drawing';
import { IRenderManagerService } from '@univerjs/engine-render';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { UpdateDrawingDocTransformCommand } from '../../commands/commands/update-doc-drawing.command';
import styles from './index.module.less';
@@ -358,7 +357,6 @@ export const DocDrawingPosition = (props: IDocDrawingPositionProps) => {
subscription.unsubscribe();
mutationListener.dispose();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (
diff --git a/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingTextWrap.tsx b/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingTextWrap.tsx
index 72da1647f3..7769efda65 100644
--- a/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingTextWrap.tsx
+++ b/packages/docs-drawing-ui/src/views/doc-image-panel/DocDrawingTextWrap.tsx
@@ -17,13 +17,12 @@
import type { ICommandInfo, IDrawingParam, Nullable } from '@univerjs/core';
import type { IDocDrawing } from '@univerjs/docs-drawing';
import { BooleanNumber, ICommandService, IUniverInstanceService, LocaleService, PositionedObjectLayoutType, WrapTextType } from '@univerjs/core';
-import { InputNumber, Radio, RadioGroup } from '@univerjs/design';
+import { clsx, InputNumber, Radio, RadioGroup } from '@univerjs/design';
import { RichTextEditingMutation } from '@univerjs/docs';
import { IDrawingManagerService } from '@univerjs/drawing';
import { IRenderManagerService } from '@univerjs/engine-render';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { TextWrappingStyle, UpdateDocDrawingDistanceCommand, UpdateDocDrawingWrappingStyleCommand, UpdateDocDrawingWrapTextCommand } from '../../commands/commands/update-doc-drawing.command';
import styles from './index.module.less';
@@ -258,7 +257,6 @@ export const DocDrawingTextWrap = (props: IDocDrawingTextWrapProps) => {
subscription.unsubscribe();
mutationListener.dispose();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (
diff --git a/packages/docs-drawing/package.json b/packages/docs-drawing/package.json
index b12a940e91..3ea2a7b54e 100644
--- a/packages/docs-drawing/package.json
+++ b/packages/docs-drawing/package.json
@@ -62,7 +62,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/docs-hyper-link-ui/package.json b/packages/docs-hyper-link-ui/package.json
index 5ecc03490f..c8507d5298 100644
--- a/packages/docs-hyper-link-ui/package.json
+++ b/packages/docs-hyper-link-ui/package.json
@@ -83,7 +83,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/docs-hyper-link/package.json b/packages/docs-hyper-link/package.json
index ae667da584..8bfb40b946 100644
--- a/packages/docs-hyper-link/package.json
+++ b/packages/docs-hyper-link/package.json
@@ -62,7 +62,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/docs-mention-ui/package.json b/packages/docs-mention-ui/package.json
index a569bca84c..d791a10966 100644
--- a/packages/docs-mention-ui/package.json
+++ b/packages/docs-mention-ui/package.json
@@ -76,7 +76,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/docs-thread-comment-ui/package.json b/packages/docs-thread-comment-ui/package.json
index 99dfc9db71..4561998af4 100644
--- a/packages/docs-thread-comment-ui/package.json
+++ b/packages/docs-thread-comment-ui/package.json
@@ -77,7 +77,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json
index e2dee8e694..c4ee2e716d 100644
--- a/packages/docs-ui/package.json
+++ b/packages/docs-ui/package.json
@@ -92,7 +92,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/docs-ui/src/components/list-type-picker/picker.tsx b/packages/docs-ui/src/components/list-type-picker/picker.tsx
index 17af3a761a..ea6ecaed5b 100644
--- a/packages/docs-ui/src/components/list-type-picker/picker.tsx
+++ b/packages/docs-ui/src/components/list-type-picker/picker.tsx
@@ -15,7 +15,7 @@
*/
import { PresetListType } from '@univerjs/core';
-import React from 'react';
+import { clsx } from '@univerjs/design';
import styles from './index.module.less';
export interface IListTypePickerBaseProps {
@@ -30,7 +30,7 @@ interface IListTypePickerProps extends IListTypePickerBaseProps {
export const ListTypePicker = (props: IListTypePickerProps) => {
const { value, onChange, options } = props;
return (
- <div className={styles.docListTypePicker}>
+ <div className={clsx(styles.docListTypePicker, 'univer-theme')}>
{options.map((item) => {
return (
<img
diff --git a/packages/docs-ui/src/controllers/doc-header-footer.controller.ts b/packages/docs-ui/src/controllers/doc-header-footer.controller.ts
index 94d4cb1591..972ffa0ea8 100644
--- a/packages/docs-ui/src/controllers/doc-header-footer.controller.ts
+++ b/packages/docs-ui/src/controllers/doc-header-footer.controller.ts
@@ -186,8 +186,9 @@ export class DocHeaderFooterController extends Disposable implements IRenderModu
}
private _initCustomComponents(): void {
- const componentManager = this._componentManager;
- this.disposeWithMe(componentManager.register(COMPONENT_DOC_HEADER_FOOTER_PANEL, DocHeaderFooterPanel));
+ if (!this._componentManager.get(COMPONENT_DOC_HEADER_FOOTER_PANEL)) {
+ this.disposeWithMe(this._componentManager.register(COMPONENT_DOC_HEADER_FOOTER_PANEL, DocHeaderFooterPanel));
+ }
}
private _init() {
diff --git a/packages/docs-ui/src/controllers/menu/menu.ts b/packages/docs-ui/src/controllers/menu/menu.ts
index 0243b23fa6..c6ce4bf924 100644
--- a/packages/docs-ui/src/controllers/menu/menu.ts
+++ b/packages/docs-ui/src/controllers/menu/menu.ts
@@ -464,7 +464,6 @@ export function FontFamilySelectorMenuItemFactory(accessor: IAccessor): IMenuSel
selections: FONT_FAMILY_LIST.map((item) => ({
label: {
name: FONT_FAMILY_ITEM_COMPONENT,
- hoverable: true,
},
value: item.value,
})),
@@ -555,6 +554,7 @@ export function TextColorSelectorMenuItemFactory(accessor: IAccessor): IMenuSele
label: {
name: COLOR_PICKER_COMPONENT,
hoverable: false,
+ selectable: false,
},
},
],
@@ -800,11 +800,13 @@ export function OrderListMenuItemFactory(accessor: IAccessor): IMenuSelectorItem
return {
id: OrderListCommand.id,
type: MenuItemType.BUTTON_SELECTOR,
+ slot: true,
selections: [
{
label: {
name: ORDER_LIST_TYPE_COMPONENT,
hoverable: false,
+ selectable: false,
},
value$: listValueFactory$(accessor),
},
@@ -821,11 +823,13 @@ export function BulletListMenuItemFactory(accessor: IAccessor): IMenuSelectorIte
return {
id: BulletListCommand.id,
type: MenuItemType.BUTTON_SELECTOR,
+ slot: true,
selections: [
{
label: {
name: BULLET_LIST_TYPE_COMPONENT,
hoverable: false,
+ selectable: false,
},
value$: listValueFactory$(accessor),
},
@@ -901,6 +905,7 @@ export function BackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMe
label: {
name: COLOR_PICKER_COMPONENT,
hoverable: false,
+ selectable: false,
},
},
],
diff --git a/packages/docs-ui/src/views/header-footer/panel/DocHeaderFooterOptions.tsx b/packages/docs-ui/src/views/header-footer/panel/DocHeaderFooterOptions.tsx
index 5d883134ca..3849879be2 100644
--- a/packages/docs-ui/src/views/header-footer/panel/DocHeaderFooterOptions.tsx
+++ b/packages/docs-ui/src/views/header-footer/panel/DocHeaderFooterOptions.tsx
@@ -17,12 +17,11 @@
import type { IDocumentStyle } from '@univerjs/core';
import type { IHeaderFooterProps } from '../../../commands/commands/doc-header-footer.command';
import { BooleanNumber, ICommandService, IUniverInstanceService, LocaleService, Tools } from '@univerjs/core';
-import { Button, Checkbox, InputNumber } from '@univerjs/design';
+import { Button, Checkbox, clsx, InputNumber } from '@univerjs/design';
import { DocSkeletonManagerService } from '@univerjs/docs';
import { DocumentEditArea, IRenderManagerService } from '@univerjs/engine-render';
import { ILayoutService, useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { CloseHeaderFooterCommand, CoreHeaderFooterCommandId } from '../../../commands/commands/doc-header-footer.command';
import { DocSelectionRenderService } from '../../../services/selection/doc-selection-render.service';
import styles from './index.module.less';
diff --git a/packages/docs-ui/src/views/paragraph-setting/Setting.tsx b/packages/docs-ui/src/views/paragraph-setting/Setting.tsx
index 3b6a4f1038..b2c0aee9a4 100644
--- a/packages/docs-ui/src/views/paragraph-setting/Setting.tsx
+++ b/packages/docs-ui/src/views/paragraph-setting/Setting.tsx
@@ -15,12 +15,10 @@
*/
import { HorizontalAlign, LocaleService, SpacingRule } from '@univerjs/core';
-import { InputNumber, Select, Tooltip } from '@univerjs/design';
+import { clsx, InputNumber, Select, Tooltip } from '@univerjs/design';
import { AlignTextBothSingle, HorizontallySingle, LeftJustifyingSingle, RightJustifyingSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import * as React from 'react';
-import { useMemo } from 'react';
+import { useMemo, useRef } from 'react';
import {
useCurrentParagraph,
useFirstParagraphHorizontalAlign,
@@ -38,7 +36,7 @@ const AutoFocusInputNumber = (props: {
value: number; onChange: (v: number) => Promise<unknown>; className?: string; min?: number; max?: number; step?: number;
}) => {
const { value, onChange, className = '', min = 0, max = 100, step = 1 } = props;
- const ref = React.useRef<HTMLInputElement>(null);
+ const ref = useRef<HTMLInputElement>(null);
return (
<InputNumber
step={step}
diff --git a/packages/docs-ui/src/views/rich-text-editor/index.tsx b/packages/docs-ui/src/views/rich-text-editor/index.tsx
index 5860fd5422..8e0773efa8 100644
--- a/packages/docs-ui/src/views/rich-text-editor/index.tsx
+++ b/packages/docs-ui/src/views/rich-text-editor/index.tsx
@@ -19,10 +19,10 @@ import type { ReactNode } from 'react';
import type { Editor } from '../../services/editor/editor';
import type { IKeyboardEventConfig } from './hooks';
import { BuildTextUtils, createInternalEditorID, generateRandomId, getPlainText } from '@univerjs/core';
+import { clsx } from '@univerjs/design';
import { DocSkeletonManagerService } from '@univerjs/docs';
import { IRenderManagerService } from '@univerjs/engine-render';
import { useDependency, useEvent, useObservable } from '@univerjs/ui';
-import clsx from 'clsx';
import React, { useEffect, useLayoutEffect, useMemo, useState } from 'react';
import { IEditorService } from '../../services/editor/editor-manager.service';
import { DocSelectionRenderService } from '../../services/selection/doc-selection-render.service';
diff --git a/packages/docs/package.json b/packages/docs/package.json
index e81c581e5b..a7d30bd245 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -68,7 +68,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.json
index a93ffa5a7f..ba48390b2a 100644
--- a/packages/drawing-ui/package.json
+++ b/packages/drawing-ui/package.json
@@ -82,7 +82,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/drawing-ui/src/views/panel/DrawingAlign.tsx b/packages/drawing-ui/src/views/panel/DrawingAlign.tsx
index dbc038a264..26e8f9e800 100644
--- a/packages/drawing-ui/src/views/panel/DrawingAlign.tsx
+++ b/packages/drawing-ui/src/views/panel/DrawingAlign.tsx
@@ -16,10 +16,9 @@
import type { IDrawingParam } from '@univerjs/core';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { Select } from '@univerjs/design';
+import { clsx, Select } from '@univerjs/design';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useState } from 'react';
+import { useState } from 'react';
import { AlignType, SetDrawingAlignOperation } from '../../commands/operations/drawing-align.operation';
import styles from './index.module.less';
diff --git a/packages/drawing-ui/src/views/panel/DrawingArrange.tsx b/packages/drawing-ui/src/views/panel/DrawingArrange.tsx
index 2170a470c6..0cd4f3cf57 100644
--- a/packages/drawing-ui/src/views/panel/DrawingArrange.tsx
+++ b/packages/drawing-ui/src/views/panel/DrawingArrange.tsx
@@ -16,12 +16,11 @@
import type { IDrawingParam } from '@univerjs/core';
import { ArrangeTypeEnum, LocaleService } from '@univerjs/core';
-import { Button } from '@univerjs/design';
+import { Button, clsx } from '@univerjs/design';
import { IDrawingManagerService } from '@univerjs/drawing';
import { BottomSingle, MoveDownSingle, MoveUpSingle, TopmostSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import styles from './index.module.less';
export interface IDrawingArrangeProps {
@@ -49,7 +48,6 @@ export const DrawingArrange = (props: IDrawingArrangeProps) => {
return () => {
focusDispose.unsubscribe();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const onArrangeBtnClick = (arrangeType: ArrangeTypeEnum) => {
diff --git a/packages/drawing-ui/src/views/panel/DrawingGroup.tsx b/packages/drawing-ui/src/views/panel/DrawingGroup.tsx
index 37493b24fc..6a46a2c952 100644
--- a/packages/drawing-ui/src/views/panel/DrawingGroup.tsx
+++ b/packages/drawing-ui/src/views/panel/DrawingGroup.tsx
@@ -17,13 +17,12 @@
import type { IDrawingParam } from '@univerjs/core';
import type { IDrawingGroupUpdateParam } from '@univerjs/drawing';
import { DrawingTypeEnum, LocaleService, Tools } from '@univerjs/core';
-import { Button } from '@univerjs/design';
+import { Button, clsx } from '@univerjs/design';
import { IDrawingManagerService } from '@univerjs/drawing';
import { getGroupState, IRenderManagerService, transformObjectOutOfGroup } from '@univerjs/engine-render';
import { GroupSingle, UngroupSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { getUpdateParams } from '../../utils/get-update-params';
import styles from './index.module.less';
diff --git a/packages/drawing-ui/src/views/panel/DrawingTransform.tsx b/packages/drawing-ui/src/views/panel/DrawingTransform.tsx
index 0cfbaf3ee4..68b4544f6a 100644
--- a/packages/drawing-ui/src/views/panel/DrawingTransform.tsx
+++ b/packages/drawing-ui/src/views/panel/DrawingTransform.tsx
@@ -17,12 +17,11 @@
import type { IDrawingParam, Nullable } from '@univerjs/core';
import type { IChangeObserverConfig, Scene } from '@univerjs/engine-render';
import { debounce, LocaleService } from '@univerjs/core';
-import { Checkbox, InputNumber } from '@univerjs/design';
+import { Checkbox, clsx, InputNumber } from '@univerjs/design';
import { IDrawingManagerService } from '@univerjs/drawing';
import { IRenderManagerService } from '@univerjs/engine-render';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { MIN_DRAWING_HEIGHT_LIMIT, MIN_DRAWING_WIDTH_LIMIT, RANGE_DRAWING_ROTATION_LIMIT } from '../../utils/config';
import { getUpdateParams } from '../../utils/get-update-params';
import styles from './index.module.less';
@@ -237,7 +236,6 @@ export const DrawingTransform = (props: IDrawingTransformProps) => {
return () => {
subscriptions.forEach((sub) => sub.unsubscribe());
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const handleWidthChange = debounce((val: number | null) => {
diff --git a/packages/drawing-ui/src/views/panel/ImageCropper.tsx b/packages/drawing-ui/src/views/panel/ImageCropper.tsx
index 2b146869fc..a8f4790b28 100644
--- a/packages/drawing-ui/src/views/panel/ImageCropper.tsx
+++ b/packages/drawing-ui/src/views/panel/ImageCropper.tsx
@@ -16,11 +16,10 @@
import type { IDrawingParam } from '@univerjs/core';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { Button, Select } from '@univerjs/design';
+import { Button, clsx, Select } from '@univerjs/design';
import { CreateCopySingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useRef, useState } from 'react';
+import { useEffect, useRef, useState } from 'react';
import { AutoImageCropOperation, CloseImageCropOperation, CropType } from '../../commands/operations/image-crop.operation';
import styles from './index.module.less';
diff --git a/packages/drawing/package.json b/packages/drawing/package.json
index a5d655e6a2..d50b900a5a 100644
--- a/packages/drawing/package.json
+++ b/packages/drawing/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/engine-formula/package.json b/packages/engine-formula/package.json
index 510758c429..ffd795df7a 100644
--- a/packages/engine-formula/package.json
+++ b/packages/engine-formula/package.json
@@ -78,7 +78,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/engine-numfmt/package.json b/packages/engine-numfmt/package.json
index a9e8ae0fa7..a6ff46683f 100644
--- a/packages/engine-numfmt/package.json
+++ b/packages/engine-numfmt/package.json
@@ -60,7 +60,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/engine-render/package.json b/packages/engine-render/package.json
index 05b7bdfea3..16f5ea4067 100644
--- a/packages/engine-render/package.json
+++ b/packages/engine-render/package.json
@@ -73,8 +73,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
},
"browser": {
"fs": false
diff --git a/packages/facade/package.json b/packages/facade/package.json
index e74476db38..c1ebccfb2f 100644
--- a/packages/facade/package.json
+++ b/packages/facade/package.json
@@ -90,7 +90,7 @@
"jsdom": "^24.1.1",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json
index e3051e5258..6a985e9809 100644
--- a/packages/find-replace/package.json
+++ b/packages/find-replace/package.json
@@ -82,7 +82,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/network/package.json b/packages/network/package.json
index cd5313adf1..8053c4f5c2 100644
--- a/packages/network/package.json
+++ b/packages/network/package.json
@@ -72,7 +72,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/rpc-node/package.json b/packages/rpc-node/package.json
index 05b1317fa0..a7975af5c9 100644
--- a/packages/rpc-node/package.json
+++ b/packages/rpc-node/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/rpc/package.json b/packages/rpc/package.json
index 9eead63fa1..da89d9816e 100644
--- a/packages/rpc/package.json
+++ b/packages/rpc/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.json
index 8b32c8410b..a8e8ea6769 100644
--- a/packages/sheets-conditional-formatting-ui/package.json
+++ b/packages/sheets-conditional-formatting-ui/package.json
@@ -92,7 +92,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-conditional-formatting-ui/src/menu/manage-rule.ts b/packages/sheets-conditional-formatting-ui/src/menu/manage-rule.ts
index 9a0b541ef0..d61249e279 100644
--- a/packages/sheets-conditional-formatting-ui/src/menu/manage-rule.ts
+++ b/packages/sheets-conditional-formatting-ui/src/menu/manage-rule.ts
@@ -37,46 +37,77 @@ const commandList = [
const commonSelections = [
{
- label: 'sheet.cf.ruleType.highlightCell',
+ label: {
+ name: 'sheet.cf.ruleType.highlightCell',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.highlightCell,
},
{
- label: 'sheet.cf.panel.rankAndAverage',
+ label: {
+ name: 'sheet.cf.panel.rankAndAverage',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.rank,
},
{
- label: 'sheet.cf.ruleType.formula',
+ label: {
+ name: 'sheet.cf.ruleType.formula',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.formula,
},
{
- label: 'sheet.cf.ruleType.colorScale',
+ label: {
+ name: 'sheet.cf.ruleType.colorScale',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.colorScale,
},
{
- label: 'sheet.cf.ruleType.dataBar',
+ label: {
+ name: 'sheet.cf.ruleType.dataBar',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.dataBar,
}, {
- label: 'sheet.cf.ruleType.iconSet',
+ label: {
+ name: 'sheet.cf.ruleType.iconSet',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.icon,
},
{
- label: 'sheet.cf.menu.manageConditionalFormatting',
+ label: {
+ name: 'sheet.cf.menu.manageConditionalFormatting',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.viewRule,
}, {
- label: 'sheet.cf.menu.createConditionalFormatting',
+ label: {
+ name: 'sheet.cf.menu.createConditionalFormatting',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.createRule,
},
{
- label: 'sheet.cf.menu.clearRangeRules',
+ label: {
+ name: 'sheet.cf.menu.clearRangeRules',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.clearRangeRules,
disabled: false,
},
{
- label: 'sheet.cf.menu.clearWorkSheetRules',
+ label: {
+ name: 'sheet.cf.menu.clearWorkSheetRules',
+ selectable: false,
+ },
value: CF_MENU_OPERATION.clearWorkSheetRules,
},
];
+// eslint-disable-next-line max-lines-per-function
export const FactoryManageConditionalFormattingRule = (accessor: IAccessor): IMenuSelectorItem => {
const selectionManagerService = accessor.get(SheetsSelectionsService);
const commandService = accessor.get(ICommandService);
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index 2e33eee58c..40c8d51679 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -78,7 +78,7 @@
"@univerjs/icons-svg": "^0.2.20",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-crosshair-highlight/package.json b/packages/sheets-crosshair-highlight/package.json
index 2fee5457c5..b47d23180a 100644
--- a/packages/sheets-crosshair-highlight/package.json
+++ b/packages/sheets-crosshair-highlight/package.json
@@ -88,7 +88,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-crosshair-highlight/src/controllers/crosshair.menu.ts b/packages/sheets-crosshair-highlight/src/controllers/crosshair.menu.ts
index 293ccd91c9..63f2e26d8c 100644
--- a/packages/sheets-crosshair-highlight/src/controllers/crosshair.menu.ts
+++ b/packages/sheets-crosshair-highlight/src/controllers/crosshair.menu.ts
@@ -14,10 +14,12 @@
* limitations under the License.
*/
-import { type IAccessor, UniverInstanceType } from '@univerjs/core';
-import { getMenuHiddenObservable, type IMenuSelectorItem, MenuItemType } from '@univerjs/ui';
-import { SheetsCrosshairHighlightService } from '../services/crosshair.service';
+import type { IAccessor } from '@univerjs/core';
+import type { IMenuSelectorItem } from '@univerjs/ui';
+import { UniverInstanceType } from '@univerjs/core';
+import { getMenuHiddenObservable, MenuItemType } from '@univerjs/ui';
import { SetCrosshairHighlightColorOperation, ToggleCrosshairHighlightOperation } from '../commands/operations/operation';
+import { SheetsCrosshairHighlightService } from '../services/crosshair.service';
export const CROSSHAIR_HIGHLIGHT_OVERLAY_COMPONENT = 'CROSSHAIR_HIGHLIGHT_OVERLAY_COMPONENT';
diff --git a/packages/sheets-crosshair-highlight/src/views/components/CrosshairHighlight.tsx b/packages/sheets-crosshair-highlight/src/views/components/CrosshairHighlight.tsx
index 948f5ef18a..39f346c62d 100644
--- a/packages/sheets-crosshair-highlight/src/views/components/CrosshairHighlight.tsx
+++ b/packages/sheets-crosshair-highlight/src/views/components/CrosshairHighlight.tsx
@@ -14,9 +14,9 @@
* limitations under the License.
*/
+import { clsx } from '@univerjs/design';
import { useDependency, useObservable } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useCallback } from 'react';
+import { useCallback } from 'react';
import { CROSSHAIR_HIGHLIGHT_COLORS, SheetsCrosshairHighlightService } from '../../services/crosshair.service';
import styles from './index.module.less';
@@ -25,7 +25,7 @@ export interface ICrosshairOverlayProps {
onChange?: (value: string) => void;
}
-export function CrosshairOverlay(props: ICrosshairOverlayProps): React.JSX.Element {
+export function CrosshairOverlay(props: ICrosshairOverlayProps) {
const { onChange } = props;
const crosshairSrv = useDependency(SheetsCrosshairHighlightService);
diff --git a/packages/sheets-data-validation-ui/package.json b/packages/sheets-data-validation-ui/package.json
index 3f6309eece..fee5d8d304 100644
--- a/packages/sheets-data-validation-ui/package.json
+++ b/packages/sheets-data-validation-ui/package.json
@@ -93,7 +93,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-data-validation/package.json b/packages/sheets-data-validation/package.json
index 7afc6249e4..08628fc5e8 100644
--- a/packages/sheets-data-validation/package.json
+++ b/packages/sheets-data-validation/package.json
@@ -80,7 +80,7 @@
"less": "^4.2.2",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-drawing-ui/package.json b/packages/sheets-drawing-ui/package.json
index 81b8d9124c..862363d820 100644
--- a/packages/sheets-drawing-ui/package.json
+++ b/packages/sheets-drawing-ui/package.json
@@ -94,7 +94,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-drawing-ui/src/views/sheet-image-panel/SheetDrawingAnchor.tsx b/packages/sheets-drawing-ui/src/views/sheet-image-panel/SheetDrawingAnchor.tsx
index 5e3590de45..6f36094cfe 100644
--- a/packages/sheets-drawing-ui/src/views/sheet-image-panel/SheetDrawingAnchor.tsx
+++ b/packages/sheets-drawing-ui/src/views/sheet-image-panel/SheetDrawingAnchor.tsx
@@ -18,13 +18,12 @@ import type { IDrawingParam, Nullable } from '@univerjs/core';
import type { BaseObject } from '@univerjs/engine-render';
import type { ISheetDrawing } from '@univerjs/sheets-drawing';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { Radio, RadioGroup } from '@univerjs/design';
+import { clsx, Radio, RadioGroup } from '@univerjs/design';
import { IDrawingManagerService } from '@univerjs/drawing';
import { IRenderManagerService } from '@univerjs/engine-render';
import { SheetDrawingAnchorType } from '@univerjs/sheets-drawing';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { SetSheetDrawingCommand } from '../../commands/commands/set-sheet-drawing.command';
import styles from './index.module.less';
diff --git a/packages/sheets-drawing/package.json b/packages/sheets-drawing/package.json
index 85e7989b0c..c93fcd89c4 100644
--- a/packages/sheets-drawing/package.json
+++ b/packages/sheets-drawing/package.json
@@ -63,7 +63,7 @@
"@univerjs-infra/shared": "workspace:*",
"@univerjs/sheets": "workspace:*",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.json
index 9d68b6c9f3..5cde09090d 100644
--- a/packages/sheets-filter-ui/package.json
+++ b/packages/sheets-filter-ui/package.json
@@ -86,7 +86,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-filter/package.json b/packages/sheets-filter/package.json
index 7c91d31c89..f2fac050c6 100644
--- a/packages/sheets-filter/package.json
+++ b/packages/sheets-filter/package.json
@@ -72,7 +72,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-find-replace/package.json b/packages/sheets-find-replace/package.json
index 4767ef3f77..218c909b24 100644
--- a/packages/sheets-find-replace/package.json
+++ b/packages/sheets-find-replace/package.json
@@ -83,7 +83,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-formula-ui/package.json b/packages/sheets-formula-ui/package.json
index 7e8b03d588..d0803da6b2 100644
--- a/packages/sheets-formula-ui/package.json
+++ b/packages/sheets-formula-ui/package.json
@@ -94,7 +94,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-formula-ui/src/controllers/menu.ts b/packages/sheets-formula-ui/src/controllers/menu.ts
index 169f167891..980cb2807c 100644
--- a/packages/sheets-formula-ui/src/controllers/menu.ts
+++ b/packages/sheets-formula-ui/src/controllers/menu.ts
@@ -34,27 +34,42 @@ export function InsertFunctionMenuItemFactory(accessor: IAccessor): IMenuItem {
type: MenuItemType.SELECTOR,
selections: [
{
- label: 'SUM',
+ label: {
+ name: 'SUM',
+ selectable: false,
+ },
value: 'SUM',
icon: 'SumSingle',
},
{
- label: 'AVERAGE',
+ label: {
+ name: 'AVERAGE',
+ selectable: false,
+ },
value: 'AVERAGE',
icon: 'AvgSingle',
},
{
- label: 'COUNT',
+ label: {
+ name: 'COUNT',
+ selectable: false,
+ },
value: 'COUNT',
icon: 'CntSingle',
},
{
- label: 'MAX',
+ label: {
+ name: 'MAX',
+ selectable: false,
+ },
value: 'MAX',
icon: 'MaxSingle',
},
{
- label: 'MIN',
+ label: {
+ name: 'MIN',
+ selectable: false,
+ },
value: 'MIN',
icon: 'MinSingle',
},
diff --git a/packages/sheets-formula-ui/src/views/formula-editor/index.tsx b/packages/sheets-formula-ui/src/views/formula-editor/index.tsx
index aa5d6a1498..6a558ffb49 100644
--- a/packages/sheets-formula-ui/src/views/formula-editor/index.tsx
+++ b/packages/sheets-formula-ui/src/views/formula-editor/index.tsx
@@ -17,16 +17,16 @@
import type { DocumentDataModel, IDisposable, ITextRange } from '@univerjs/core';
import type { Editor, IKeyboardEventConfig } from '@univerjs/docs-ui';
import type { KeyCode, MetaKeys } from '@univerjs/ui';
-import type { ReactNode } from 'react';
+import type { CSSProperties, ReactNode } from 'react';
import type { FormulaSelectingType } from './hooks/use-formula-selection';
import type { IRefSelection } from './hooks/use-highlight';
import { BuildTextUtils, createInternalEditorID, generateRandomId, IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
+import { clsx } from '@univerjs/design';
import { DocBackScrollRenderController, DocSelectionRenderService, IEditorService, useKeyboardEvent, useResize } from '@univerjs/docs-ui';
import { IRenderManagerService } from '@univerjs/engine-render';
import { EMBEDDING_FORMULA_EDITOR } from '@univerjs/sheets-ui';
import { useDependency, useEvent, useObservable, useUpdateEffect } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
+import { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
import { findIndexFromSequenceNodes, findRefSequenceIndex } from '../range-selector/utils/find-index-from-sequence-nodes';
import { HelpFunction } from './help-function/HelpFunction';
import { useFocus } from './hooks/use-focus';
@@ -72,7 +72,7 @@ export interface IFormulaEditorProps {
*/
disableSelectionOnClick?: boolean;
disableContextMenu?: boolean;
- style?: React.CSSProperties;
+ style?: CSSProperties;
}
const noop = () => { };
diff --git a/packages/sheets-formula/package.json b/packages/sheets-formula/package.json
index 63b867fa07..1bd962a9dc 100644
--- a/packages/sheets-formula/package.json
+++ b/packages/sheets-formula/package.json
@@ -82,7 +82,7 @@
"@univerjs/docs": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-graphics/package.json b/packages/sheets-graphics/package.json
index 1bc9cea74f..210870815e 100644
--- a/packages/sheets-graphics/package.json
+++ b/packages/sheets-graphics/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.json
index d765590eec..2a06d1db94 100644
--- a/packages/sheets-hyper-link-ui/package.json
+++ b/packages/sheets-hyper-link-ui/package.json
@@ -96,7 +96,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-hyper-link/package.json b/packages/sheets-hyper-link/package.json
index 3c38885d43..e17c3a23da 100644
--- a/packages/sheets-hyper-link/package.json
+++ b/packages/sheets-hyper-link/package.json
@@ -75,7 +75,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-numfmt-ui/package.json b/packages/sheets-numfmt-ui/package.json
index 083b0b399d..a0802bfaa3 100644
--- a/packages/sheets-numfmt-ui/package.json
+++ b/packages/sheets-numfmt-ui/package.json
@@ -87,7 +87,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-numfmt-ui/src/controllers/menu.ts b/packages/sheets-numfmt-ui/src/controllers/menu.ts
index 3def959690..7305f8e861 100644
--- a/packages/sheets-numfmt-ui/src/controllers/menu.ts
+++ b/packages/sheets-numfmt-ui/src/controllers/menu.ts
@@ -213,11 +213,13 @@ export const FactoryOtherMenuItem = (accessor: IAccessor): IMenuSelectorItem =>
id: OpenNumfmtPanelOperator.id,
tooltip: 'sheet.numfmt.title',
type: MenuItemType.SELECTOR,
+ slot: true,
selections: [
{
label: {
name: OPTIONS_KEY,
hoverable: false,
+ selectable: false,
},
},
],
diff --git a/packages/sheets-numfmt-ui/src/views/components/more-numfmt-type/MoreNumfmtType.tsx b/packages/sheets-numfmt-ui/src/views/components/more-numfmt-type/MoreNumfmtType.tsx
index 44ab721d60..5f1a6e4a13 100644
--- a/packages/sheets-numfmt-ui/src/views/components/more-numfmt-type/MoreNumfmtType.tsx
+++ b/packages/sheets-numfmt-ui/src/views/components/more-numfmt-type/MoreNumfmtType.tsx
@@ -15,24 +15,23 @@
*/
import type { FormatType } from '@univerjs/sheets';
-
import { ICommandService, LocaleService, Range } from '@univerjs/core';
+import { Separator } from '@univerjs/design';
import { SheetsSelectionsService } from '@univerjs/sheets';
import { getPatternPreview, getPatternType, SetNumfmtCommand, SheetsNumfmtCellContentController } from '@univerjs/sheets-numfmt';
import { ILayoutService, useDependency } from '@univerjs/ui';
import { OpenNumfmtPanelOperator } from '../../../commands/operations/open.numfmt.panel.operation';
-
import { MENU_OPTIONS } from '../../../controllers/menu';
-// FIXME: DO NOT USE GLOBAL STYLES
-import './index.less';
export const MORE_NUMFMT_TYPE_KEY = 'sheet.numfmt.moreNumfmtType';
export const OPTIONS_KEY = 'sheet.numfmt.moreNumfmtType.options';
export const MoreNumfmtType = (props: { value?: string }) => {
+ const { value } = props;
const localeService = useDependency(LocaleService);
- const value = props.value ?? localeService.t('sheet.numfmt.general');
- return <span className="more-numfmt-type">{value}</span>;
+ const text = value ?? localeService.t('sheet.numfmt.general');
+
+ return <span className="univer-text-sm">{text}</span>;
};
export const Options = () => {
@@ -65,7 +64,9 @@ export const Options = () => {
if (index === 0) {
setNumfmt(null);
} else if (index === MENU_OPTIONS.length - 1) {
+ // CATUION: This is a command, not a menu item
commandService.executeCommand(OpenNumfmtPanelOperator.id);
+ layoutService.focus();
} else {
const item = MENU_OPTIONS[index] as { pattern: string };
item.pattern && setNumfmt(item.pattern);
@@ -75,23 +76,28 @@ export const Options = () => {
const defaultValue = 1220;
return (
- <div className="more-numfmt-type-options">
+ <div className="univer-grid univer-gap-1 univer-p-1.5">
{MENU_OPTIONS.map((item, index) => {
if (item === '|') {
- return <div key={index} className="line m-t-4" onClick={(e) => e.stopPropagation()} />;
+ return <Separator key={index} />;
}
return (
<div
- className="option-item m-t-4"
key={index}
+ className={`
+ univer-flex univer-h-7 univer-items-center univer-justify-between univer-gap-6 univer-rounded
+ univer-px-2 univer-text-[13px]
+ hover:univer-bg-gray-100
+ `}
onClick={() => {
handleOnclick(index);
}}
>
- <div>{localeService.t(item.label)}</div>
- <div className="m-l-26">
- {item.pattern ? getPatternPreview(item.pattern || '', defaultValue, sheetsNumfmtCellContentController.local).result : ''}
- </div>
+ <span>{localeService.t(item.label)}</span>
+
+ <span className="univer-text-xs univer-text-gray-500">
+ {item.pattern ? getPatternPreview(item.pattern || '', defaultValue, sheetsNumfmtCellContentController.local).result.trim() : ''}
+ </span>
</div>
);
})}
diff --git a/packages/sheets-numfmt-ui/src/views/components/more-numfmt-type/index.less b/packages/sheets-numfmt-ui/src/views/components/more-numfmt-type/index.less
deleted file mode 100644
index e9c3a17e47..0000000000
--- a/packages/sheets-numfmt-ui/src/views/components/more-numfmt-type/index.less
+++ /dev/null
@@ -1,51 +0,0 @@
-.more-numfmt-type {
- display: flex;
- flex-shrink: 0;
-
- padding: 0 4px;
-
- font-size: 13px;
- color: var(--black);
-
- .icon {
- display: flex;
- align-items: center;
-
- height: auto;
- padding-left: 8px;
-
- color: rgb(var(--grey-400));
- }
-}
-
-.more-numfmt-type-options {
- .line {
- width: 100%;
- height: 1px;
- background-color: rgb(var(--grey-200));
- }
-
- .m-t-4 {
- margin-top: 4px;
- }
-
- .option-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- height: 28px;
- padding: 0 8px;
-
- font-size: 13px;
- }
-
- .option-item:hover {
- background-color: rgb(var(--grey-100));
- border-radius: var(--border-radius-base);
- }
-
- .m-l-26 {
- margin-left: 26px;
- }
-}
diff --git a/packages/sheets-numfmt/package.json b/packages/sheets-numfmt/package.json
index d8b809959e..b0f92e16fe 100644
--- a/packages/sheets-numfmt/package.json
+++ b/packages/sheets-numfmt/package.json
@@ -76,7 +76,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-sort-ui/package.json b/packages/sheets-sort-ui/package.json
index ac601f6683..5905ac8e63 100644
--- a/packages/sheets-sort-ui/package.json
+++ b/packages/sheets-sort-ui/package.json
@@ -85,7 +85,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-sort/package.json b/packages/sheets-sort/package.json
index e068021104..013a89799a 100644
--- a/packages/sheets-sort/package.json
+++ b/packages/sheets-sort/package.json
@@ -75,7 +75,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-thread-comment-ui/package.json b/packages/sheets-thread-comment-ui/package.json
index 9db3a92dfa..c2ff128288 100644
--- a/packages/sheets-thread-comment-ui/package.json
+++ b/packages/sheets-thread-comment-ui/package.json
@@ -85,7 +85,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-thread-comment/package.json b/packages/sheets-thread-comment/package.json
index 54c0d716bd..c0607625cd 100644
--- a/packages/sheets-thread-comment/package.json
+++ b/packages/sheets-thread-comment/package.json
@@ -74,7 +74,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-ui/package.json b/packages/sheets-ui/package.json
index acfd54fa26..bd14bd132b 100644
--- a/packages/sheets-ui/package.json
+++ b/packages/sheets-ui/package.json
@@ -96,7 +96,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx b/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx
index 3af853dbb0..435502957b 100644
--- a/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx
+++ b/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx
@@ -17,14 +17,11 @@
import type { IBorderInfo } from '@univerjs/sheets';
import type { IBorderPanelProps } from './interface';
import { BorderStyleTypes } from '@univerjs/core';
-import { ColorPicker, Dropdown, Menu, MenuItem } from '@univerjs/design';
+import { clsx, ColorPicker, Dropdown, Separator } from '@univerjs/design';
import { MoreDownSingle, PaintBucket } from '@univerjs/icons';
import { BorderStyleManagerService } from '@univerjs/sheets';
import { ComponentManager, useDependency } from '@univerjs/ui';
-
-import React from 'react';
import { BorderLine } from './border-line/BorderLine';
-import styles from './index.module.less';
import { BORDER_LINE_CHILDREN } from './interface';
const BORDER_SIZE_CHILDREN = [
@@ -90,77 +87,90 @@ export function BorderPanel(props: IBorderPanelProps) {
function renderIcon(icon: string) {
const Icon = componentManager.get(icon);
- return Icon && <Icon extend={{ colorChannel1: 'rgb(var(--primary-color))' }} />;
- }
-
- function stopPropagation(e: React.MouseEvent) {
- e.stopPropagation();
+ return Icon && <Icon extend={{ colorChannel1: '#2c53f1' }} />;
}
return (
- <section className={styles.uiPluginSheetsBorderPanel}>
- <div className={styles.uiPluginSheetsBorderPanelPosition}>
+ <section className="univer-box-border univer-grid univer-gap-2 univer-p-1.5">
+ <div className="univer-box-border univer-grid univer-grid-cols-5 univer-gap-2">
{BORDER_LINE_CHILDREN.map((item) => (
- <div
+ <a
key={item.value}
- className={borderStyleManagerService.getBorderInfo().type === item.value
- ? (`
- ${styles.uiPluginSheetsBorderPanelPositionItemActive}
- ${styles.uiPluginSheetsBorderPanelPositionItem}
- `)
- : styles.uiPluginSheetsBorderPanelPositionItem}
+ className={clsx(`
+ univer-flex univer-size-6 univer-cursor-pointer univer-items-center univer-justify-center
+ univer-justify-self-center univer-rounded
+ hover:univer-bg-gray-100
+ `, {
+ 'univer-bg-gray-200': borderStyleManagerService.getBorderInfo().type === item.value,
+ })}
onClick={(e) => {
e.stopPropagation();
handleClick(item.value, 'type');
}}
>
{renderIcon(item.icon)}
- </div>
+ </a>
))}
</div>
- <div className={styles.uiPluginSheetsBorderPanelStyles}>
+ <Separator />
+
+ <div className="univer-flex univer-items-center univer-gap-2">
<div>
<Dropdown
overlay={(
- <div className="univer-rounded-lg univer-p-4" onClick={stopPropagation}>
+ <div className="univer-rounded-lg univer-p-4">
<ColorPicker onChange={(value) => handleClick(value, 'color')} />
</div>
)}
>
- <a className={styles.uiPluginSheetsBorderPanelButton} onClick={stopPropagation}>
+ <button
+ className={`
+ univer-flex univer-cursor-pointer univer-items-center univer-gap-2 univer-rounded
+ univer-border-none univer-bg-transparent univer-p-1
+ hover:univer-bg-gray-100
+ `}
+ type="button"
+ >
<PaintBucket extend={{ colorChannel1: value?.color ?? 'rgb(var(--primary-color))' }} />
- <span className={styles.uiPluginSheetsBorderPanelMoreIcon}>
- <MoreDownSingle />
- </span>
- </a>
+ <MoreDownSingle className="univer-text-gray-400" />
+ </button>
</Dropdown>
</div>
<div>
<Dropdown
overlay={(
- <section className="univer-rounded-lg univer-p-4" onClick={stopPropagation}>
- <Menu>
+ <section className="univer-rounded-lg univer-p-1.5">
+ <ul className="univer-m-0 univer-grid univer-list-none univer-gap-1 univer-p-0">
{BORDER_SIZE_CHILDREN.map((item) => (
- <MenuItem
+ <li
key={item.value}
- eventKey={item.value.toString()}
+ className={`
+ univer-flex univer-cursor-pointer univer-items-center
+ univer-justify-center univer-rounded univer-px-1 univer-py-2
+ hover:univer-bg-gray-100
+ `}
onClick={() => handleClick(item.value, 'style')}
>
<BorderLine type={item.value} />
- </MenuItem>
+ </li>
))}
- </Menu>
+ </ul>
</section>
)}
>
- <a className={styles.uiPluginSheetsBorderPanelButton} onClick={stopPropagation}>
+ <button
+ className={`
+ univer-flex univer-cursor-pointer univer-items-center univer-gap-2 univer-rounded
+ univer-border-none univer-bg-transparent univer-p-1
+ hover:univer-bg-gray-100
+ `}
+ type="button"
+ >
<BorderLine type={BorderStyleTypes.THIN} />
- <span className={styles.uiPluginSheetsBorderPanelMoreIcon}>
- <MoreDownSingle />
- </span>
- </a>
+ <MoreDownSingle className="univer-text-gray-400" />
+ </button>
</Dropdown>
</div>
</div>
diff --git a/packages/sheets-ui/src/components/border-panel/index.module.less b/packages/sheets-ui/src/components/border-panel/index.module.less
deleted file mode 100644
index 2de1b467e5..0000000000
--- a/packages/sheets-ui/src/components/border-panel/index.module.less
+++ /dev/null
@@ -1,70 +0,0 @@
-.ui-plugin-sheets-border-panel {
- display: grid;
- gap: var(--margin-sm);
-
- &-position {
- display: grid;
- grid-template-columns: repeat(5, 1fr);
- gap: var(--margin-xxs);
-
- box-sizing: border-box;
- padding-bottom: var(--padding-base);
-
- border-bottom: 1px solid rgb(var(--border-color));
-
- &-item {
- display: flex;
- align-items: center;
- justify-content: center;
-
- width: 24px;
- height: 24px;
-
- font-size: var(--font-size-lg);
-
- border-radius: var(--border-radius-base);
-
- &:hover {
- background-color: rgb(var(--bg-color-hover));
- }
-
- &-active {
- background-color: rgb(var(--bg-color-hover));
- }
- }
- }
-
- &-styles {
- display: flex;
- gap: var(--margin-xs);
- align-items: center;
- justify-content: space-around;
- }
-
- &-button {
- cursor: pointer;
-
- position: relative;
-
- display: flex;
- gap: var(--margin-xs);
- align-items: center;
-
- height: 24px;
- padding: 0 var(--padding-xs);
-
- font-size: var(--font-size-lg);
-
- border-radius: var(--border-radius-base);
-
- transition: all 0.15s;
-
- &:hover {
- background-color: rgb(var(--bg-color-hover));
- }
- }
-
- &-more-icon {
- color: rgb(var(--grey-400));
- }
-}
diff --git a/packages/sheets-ui/src/components/border-panel/interface.ts b/packages/sheets-ui/src/components/border-panel/interface.ts
index 6d88d63535..1f66c1d759 100644
--- a/packages/sheets-ui/src/components/border-panel/interface.ts
+++ b/packages/sheets-ui/src/components/border-panel/interface.ts
@@ -16,7 +16,6 @@
import type { IBorderInfo } from '@univerjs/sheets';
import type { ICustomComponentProps } from '@univerjs/ui';
-
import { COMPONENT_PREFIX } from '../const';
export const BORDER_PANEL_COMPONENT = `${COMPONENT_PREFIX}_BORDER_PANEL_COMPONENT`;
diff --git a/packages/sheets-ui/src/controllers/menu/border.menu.ts b/packages/sheets-ui/src/controllers/menu/border.menu.ts
index f41f85b04e..d7641f54d6 100644
--- a/packages/sheets-ui/src/controllers/menu/border.menu.ts
+++ b/packages/sheets-ui/src/controllers/menu/border.menu.ts
@@ -57,11 +57,13 @@ export function CellBorderSelectorMenuItemFactory(accessor: IAccessor): IMenuSel
}),
tooltip: 'toolbar.border.main',
type: MenuItemType.BUTTON_SELECTOR,
+ slot: true,
selections: [
{
label: {
name: BORDER_PANEL_COMPONENT,
hoverable: false,
+ selectable: false,
},
value$: borderStyleManagerService.borderInfo$,
},
diff --git a/packages/sheets-ui/src/controllers/menu/menu.ts b/packages/sheets-ui/src/controllers/menu/menu.ts
index 260aed9e27..46d913be5c 100644
--- a/packages/sheets-ui/src/controllers/menu/menu.ts
+++ b/packages/sheets-ui/src/controllers/menu/menu.ts
@@ -405,7 +405,6 @@ export function FontFamilySelectorMenuItemFactory(accessor: IAccessor): IMenuSel
selections: FONT_FAMILY_LIST.map((item) => ({
label: {
name: FONT_FAMILY_ITEM_COMPONENT,
- hoverable: true,
},
value: item.value,
})),
@@ -527,13 +526,13 @@ export function TextColorSelectorMenuItemFactory(accessor: IAccessor): IMenuSele
id: SetRangeTextColorCommand.id,
icon: 'FontColor',
tooltip: 'toolbar.textColor.main',
-
type: MenuItemType.BUTTON_SELECTOR,
selections: [
{
label: {
name: COLOR_PICKER_COMPONENT,
hoverable: false,
+ selectable: false,
},
},
],
@@ -578,6 +577,7 @@ export function BackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMe
label: {
name: COLOR_PICKER_COMPONENT,
hoverable: false,
+ selectable: false,
},
},
],
diff --git a/packages/sheets-ui/src/controllers/menu/sheet.menu.ts b/packages/sheets-ui/src/controllers/menu/sheet.menu.ts
index 4c7c002677..322bb151e6 100644
--- a/packages/sheets-ui/src/controllers/menu/sheet.menu.ts
+++ b/packages/sheets-ui/src/controllers/menu/sheet.menu.ts
@@ -15,6 +15,8 @@
*/
import type { IAccessor, Workbook } from '@univerjs/core';
+import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
+import type { Subscriber } from 'rxjs';
import { BooleanNumber, ICommandService, IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
import {
CopySheetCommand,
@@ -30,9 +32,7 @@ import {
WorkbookHideSheetPermission,
WorkbookRenameSheetPermission,
} from '@univerjs/sheets';
-import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
import { getMenuHiddenObservable, MenuItemType } from '@univerjs/ui';
-import type { Subscriber } from 'rxjs';
import { combineLatest, combineLatestWith, map, Observable } from 'rxjs';
import { RemoveSheetConfirmCommand } from '../../commands/commands/remove-sheet-confirm.command';
diff --git a/packages/sheets-ui/src/locale/en-US.ts b/packages/sheets-ui/src/locale/en-US.ts
index 3a6b11d61f..69f378c1c4 100644
--- a/packages/sheets-ui/src/locale/en-US.ts
+++ b/packages/sheets-ui/src/locale/en-US.ts
@@ -24,11 +24,6 @@ const locale: typeof zhCN = {
undo: 'Undo',
redo: 'Redo',
formatPainter: 'Paint format',
- currencyFormat: 'Format as currency',
- percentageFormat: 'Format as percent',
- numberDecrease: 'Decrease decimal places',
- numberIncrease: 'Increase decimal places',
- moreFormats: 'More formats',
font: 'Font',
fontSize: 'Font size',
bold: 'Bold',
@@ -42,11 +37,6 @@ const locale: typeof zhCN = {
right: 'Choose color',
},
resetColor: 'Reset',
- customColor: 'CUSTOM',
- alternatingColors: 'Alternating colors',
- confirmColor: 'OK',
- cancelColor: 'Cancel',
- collapse: 'Collapse',
fillColor: {
main: 'Fill color',
right: 'Choose color',
@@ -75,122 +65,9 @@ const locale: typeof zhCN = {
main: 'Text rotate',
right: 'Text rotate mode',
},
- freezeTopRow: 'Freeze top row',
- sortAndFilter: 'Sort and filter',
- findAndReplace: 'Find and replace',
- sum: 'SUM',
- autoSum: 'Auto SUM',
- moreFunction: 'More functions',
- conditionalFormatting: 'Conditional formatting',
- comment: 'Comment',
- pivotTable: 'Pivot Table',
- chart: 'Chart',
- screenshot: 'Screenshot',
- splitColumn: 'Split text',
- insertImage: 'Insert image',
- insertLink: 'Insert link',
- dataValidation: 'Data validation',
- protection: 'Protect the sheet',
-
- clearText: 'Clear color',
- noColorSelectedText: 'No color is selected',
-
- toolMore: 'More',
- toolLess: 'Less',
- toolClose: 'Close',
- toolMoreTip: 'More features',
- moreOptions: 'More options',
-
- cellFormat: 'Cell format config',
- print: 'Print',
- borderMethod: {
- top: 'Upper frame line',
- bottom: 'Lower frame line',
- left: 'Left frame line',
- right: 'Right frame line',
- },
more: 'More',
- hideGridlines: 'Hide Gridlines',
- showGridlines: 'Show Gridlines',
toggleGridlines: 'Toggle Gridlines',
},
- defaultFmt: {
- Automatic: {
- text: 'Automatic',
- value: 'General',
- example: '',
- },
- Number: {
- text: 'Number',
- value: '##0.00',
- example: '1000.12',
- },
- Percent: {
- text: 'Percent',
- value: '#0.00%',
- example: '12.21%',
- },
- PlainText: {
- text: 'Plain text',
- value: '@',
- example: '',
- },
- Scientific: {
- text: 'Scientific',
- value: '0.00E+00',
- example: '1.01E+5',
- },
- Accounting: {
- text: 'Accounting',
- value: '¥(0.00)',
- example: '¥(1200.09)',
- },
- Thousand: {
- text: 'Ten Thousand',
- value: 'w',
- example: '1亿2000万2500',
- },
- Currency: {
- text: 'Currency',
- value: '¥0.00',
- example: '¥1200.09',
- },
- Digit: {
- text: '万元2位小数',
- value: 'w0.00',
- example: '2万2500.55',
- },
- Date: {
- text: 'Date',
- value: 'yyyy-MM-dd',
- example: '2017-11-29',
- },
- Time: { text: 'Time', value: 'hh:mm AM/PM', example: '3:00 PM' },
- Time24H: { text: 'Time 24H', value: 'hh:mm', example: '15:00' },
- DateTime: { text: 'Date time', value: 'yyyy-MM-dd hh:mm AM/PM', example: '2017-11-29 3:00 PM' },
- DateTime24H: { text: 'Date time 24H', value: 'yyyy-MM-dd hh:mm', example: '2017-11-29 15:00' },
- CustomFormats: { text: 'Custom Formats', value: 'fmtOtherSelf', example: '' },
- },
- format: {
- moreCurrency: 'More currency formats',
- moreDateTime: 'More date and time formats',
- moreNumber: 'More number formats',
-
- titleCurrency: 'Currency formats',
- decimalPlaces: 'Decimal places',
- titleDateTime: 'Date and time formats',
- titleNumber: 'Number formats',
- },
- print: {
- normalBtn: 'Normal',
- layoutBtn: 'Page Layout',
- pageBtn: 'Page break preview',
-
- menuItemPrint: 'Print (Ctrl+P)',
- menuItemAreas: 'Print areas',
- menuItemRows: 'Print title rows',
- menuItemColumns: 'Print title columns',
- },
align: {
left: 'left',
center: 'center',
@@ -308,7 +185,6 @@ const locale: typeof zhCN = {
},
rightClick: {
copy: 'Copy',
- copyAs: 'Copy as',
cut: 'Cut',
paste: 'Paste',
pasteSpecial: 'Paste Special',
@@ -340,11 +216,6 @@ const locale: typeof zhCN = {
hideSelectedColumn: 'Hide Selected Column',
showHideColumn: 'Show Hide Column',
columnWidth: 'Column Width',
- to: 'Towards',
- left: 'Left',
- right: 'Right',
- top: 'Top',
- bottom: 'Bottom',
moveLeft: 'Move Left',
moveUp: 'Move up',
moveRight: 'Move Right',
@@ -352,42 +223,11 @@ const locale: typeof zhCN = {
add: 'Add',
row: 'Row',
column: 'Column',
- width: 'Width',
- height: 'Height',
- number: 'Number',
confirm: 'Confirm',
- orderAZ: 'A-Z order',
- orderZA: 'Z-A order',
clearSelection: 'Clear',
clearContent: 'Clear Contents',
clearFormat: 'Clear Formats',
clearAll: 'Clear All',
- matrix: 'Matrix operation',
- sortSelection: 'Sort',
- filterSelection: 'Filter',
- chartGeneration: 'Create Chart',
- firstLineTitle: 'First Line Title',
- untitled: 'Untitled',
- array1: 'One-dimensional array',
- array2: 'Two-dimensional array',
- array3: 'Multidimensional Arrays',
- diagonal: 'Diagonal',
- antiDiagonal: 'Anti-diagonal',
- diagonalOffset: 'Diagonal offset',
- offset: 'Offset',
- boolean: 'Boolean',
- flip: 'Flip',
- upAndDown: 'Up and down',
- leftAndRight: 'Left and right',
- clockwise: 'Clockwise',
- counterclockwise: 'Counterclockwise',
- transpose: 'Transpose',
- matrixCalculation: 'Matrix Calculation',
- plus: 'Plus',
- minus: 'Minus',
- multiply: 'Multiply',
- divided: 'Divided',
- power: 'Power',
root: 'Root',
log: 'Log',
delete0: 'Delete 0 values at both ends',
@@ -400,7 +240,6 @@ const locale: typeof zhCN = {
freezeCol: 'Freeze to this column',
freezeRow: 'Freeze to this row',
cancelFreeze: 'Cancel freeze',
- zenEditor: 'Full Screen Editor',
deleteAllRowsAlert: 'You can\'t delete all the rows on the sheet',
deleteAllColumnsAlert: 'You can\'t delete all the columns on the sheet',
hideAllRowsAlert: 'You can\'t hide all the rows on the sheet',
diff --git a/packages/sheets-ui/src/locale/fa-IR.ts b/packages/sheets-ui/src/locale/fa-IR.ts
index 2dd99f3b80..fb464df520 100644
--- a/packages/sheets-ui/src/locale/fa-IR.ts
+++ b/packages/sheets-ui/src/locale/fa-IR.ts
@@ -24,11 +24,6 @@ const locale: typeof zhCN = {
undo: 'بازگرداندن',
redo: 'تکرار',
formatPainter: 'کپی قالب',
- currencyFormat: 'قالب‌بندی به عنوان ارز',
- percentageFormat: 'قالب‌بندی به عنوان درصد',
- numberDecrease: 'کاهش اعشار',
- numberIncrease: 'افزایش اعشار',
- moreFormats: 'قالب‌های بیشتر',
font: 'فونت',
fontSize: 'اندازه فونت',
bold: 'پررنگ',
@@ -42,11 +37,6 @@ const locale: typeof zhCN = {
right: 'انتخاب رنگ',
},
resetColor: 'بازنشانی',
- customColor: 'سفارشی',
- alternatingColors: 'رنگ‌های متناوب',
- confirmColor: 'تایید',
- cancelColor: 'انصراف',
- collapse: 'جمع کردن',
fillColor: {
main: 'رنگ پر کردن',
right: 'انتخاب رنگ',
@@ -75,122 +65,9 @@ const locale: typeof zhCN = {
main: 'چرخش متن',
right: 'حالت چرخش متن',
},
- freezeTopRow: 'فریز کردن سطر بالا',
- sortAndFilter: 'مرتب‌سازی و فیلتر',
- findAndReplace: 'یافتن و جایگزینی',
- sum: 'SUM',
- autoSum: 'جمع خودکار',
- moreFunction: 'توابع بیشتر',
- conditionalFormatting: 'قالب‌بندی شرطی',
- comment: 'نظر',
- pivotTable: 'جدول محوری',
- chart: 'نمودار',
- screenshot: 'عکس صفحه',
- splitColumn: 'تقسیم متن',
- insertImage: 'درج تصویر',
- insertLink: 'درج لینک',
- dataValidation: 'اعتبارسنجی داده',
- protection: 'محافظت از برگ',
-
- clearText: 'پاک کردن رنگ',
- noColorSelectedText: 'هیچ رنگی انتخاب نشده است',
-
- toolMore: 'بیشتر',
- toolLess: 'کمتر',
- toolClose: 'بستن',
- toolMoreTip: 'امکانات بیشتر',
- moreOptions: 'گزینه‌های بیشتر',
-
- cellFormat: 'تنظیمات قالب سلول',
- print: 'چاپ',
- borderMethod: {
- top: 'خط بالای قاب',
- bottom: 'خط پایینی قاب',
- left: 'خط چپ قاب',
- right: 'خط راست قاب',
- },
more: 'بیشتر',
- hideGridlines: 'پنهان کردن خطوط شبکه',
- showGridlines: 'نمایش خطوط شبکه',
toggleGridlines: 'تغییر وضعیت خطوط شبکه',
},
- defaultFmt: {
- Automatic: {
- text: 'خودکار',
- value: 'General',
- example: '',
- },
- Number: {
- text: 'عدد',
- value: '##0.00',
- example: '1000.12',
- },
- Percent: {
- text: 'درصد',
- value: '#0.00%',
- example: '12.21%',
- },
- PlainText: {
- text: 'متن ساده',
- value: '@',
- example: '',
- },
- Scientific: {
- text: 'علمی',
- value: '0.00E+00',
- example: '1.01E+5',
- },
- Accounting: {
- text: 'حسابداری',
- value: '¥(0.00)',
- example: '¥(1200.09)',
- },
- Thousand: {
- text: 'ده هزار',
- value: 'w',
- example: '1亿2000万2500',
- },
- Currency: {
- text: 'ارز',
- value: '¥0.00',
- example: '¥1200.09',
- },
- Digit: {
- text: 'ده‌ها هزار با دو رقم اعشار',
- value: 'w0.00',
- example: '2万2500.55',
- },
- Date: {
- text: 'تاریخ',
- value: 'yyyy-MM-dd',
- example: '2017-11-29',
- },
- Time: { text: 'زمان', value: 'hh:mm AM/PM', example: '3:00 PM' },
- Time24H: { text: 'زمان 24 ساعته', value: 'hh:mm', example: '15:00' },
- DateTime: { text: 'تاریخ و زمان', value: 'yyyy-MM-dd hh:mm AM/PM', example: '2017-11-29 3:00 PM' },
- DateTime24H: { text: 'تاریخ و زمان 24 ساعته', value: 'yyyy-MM-dd hh:mm', example: '2017-11-29 15:00' },
- CustomFormats: { text: 'قالب‌های سفارشی', value: 'fmtOtherSelf', example: '' },
- },
- format: {
- moreCurrency: 'قالب‌های ارز بیشتر',
- moreDateTime: 'قالب‌های تاریخ و زمان بیشتر',
- moreNumber: 'قالب‌های عددی بیشتر',
-
- titleCurrency: 'قالب‌های ارز',
- decimalPlaces: 'اعشار',
- titleDateTime: 'قالب‌های تاریخ و زمان',
- titleNumber: 'قالب‌های عددی',
- },
- print: {
- normalBtn: 'عادی',
- layoutBtn: 'چیدمان صفحه',
- pageBtn: 'پیش‌نمایش شکست صفحه',
-
- menuItemPrint: 'چاپ (Ctrl+P)',
- menuItemAreas: 'مناطق چاپ',
- menuItemRows: 'سطرهای عنوان چاپ',
- menuItemColumns: 'ستون‌های عنوان چاپ',
- },
align: {
left: 'چپ',
center: 'وسط',
@@ -308,7 +185,6 @@ const locale: typeof zhCN = {
},
rightClick: {
copy: 'کپی',
- copyAs: 'کپی به عنوان',
cut: 'برش',
paste: 'چسباندن',
pasteSpecial: 'چسباندن ویژه',
@@ -340,11 +216,6 @@ const locale: typeof zhCN = {
hideSelectedColumn: 'پنهان کردن ستون انتخاب شده',
showHideColumn: 'نمایش پنهان کردن ستون',
columnWidth: 'عرض ستون',
- to: 'به سمت',
- left: 'چپ',
- right: 'راست',
- top: 'بالا',
- bottom: 'پایین',
moveLeft: 'جابجایی به چپ',
moveUp: 'جابجایی به بالا',
moveRight: 'جابجایی به راست',
@@ -352,42 +223,11 @@ const locale: typeof zhCN = {
add: 'اضافه کردن',
row: 'سطر',
column: 'ستون',
- width: 'عرض',
- height: 'ارتفاع',
- number: 'عدد',
confirm: 'تایید',
- orderAZ: 'ترتیب A-Z',
- orderZA: 'ترتیب Z-A',
clearSelection: 'پاک کردن',
clearContent: 'پاک کردن محتوا',
clearFormat: 'پاک کردن قالب‌ها',
clearAll: 'پاک کردن همه',
- matrix: 'عملیات ماتریسی',
- sortSelection: 'مرتب‌سازی',
- filterSelection: 'فیلتر کردن',
- chartGeneration: 'ایجاد نمودار',
- firstLineTitle: 'عنوان خط اول',
- untitled: 'بدون عنوان',
- array1: 'آرایه یک بعدی',
- array2: 'آرایه دو بعدی',
- array3: 'آرایه‌های چند بعدی',
- diagonal: 'قطری',
- antiDiagonal: 'ضد قطری',
- diagonalOffset: 'جابجایی قطری',
- offset: 'جابجایی',
- boolean: 'بولین',
- flip: 'واژگون کردن',
- upAndDown: 'بالا و پایین',
- leftAndRight: 'چپ و راست',
- clockwise: 'در جهت عقربه‌های ساعت',
- counterclockwise: 'در خلاف جهت عقربه‌های ساعت',
- transpose: 'ترانهاده',
- matrixCalculation: 'محاسبه ماتریسی',
- plus: 'جمع',
- minus: 'تفریق',
- multiply: 'ضرب',
- divided: 'تقسیم',
- power: 'توان',
root: 'ریشه',
log: 'لوگاریتم',
delete0: 'حذف مقادیر 0 در دو طرف',
@@ -400,7 +240,6 @@ const locale: typeof zhCN = {
freezeCol: 'انجماد در این ستون',
freezeRow: 'انجماد در این سطر',
cancelFreeze: 'لغو انجماد',
- zenEditor: 'ویرایشگر تمام صفحه',
deleteAllRowsAlert: 'شما نمی‌توانید تمام سطرهای برگه را حذف کنید',
deleteAllColumnsAlert: 'شما نمی‌توانید تمام ستون‌های برگه را حذف کنید',
hideAllRowsAlert: 'شما نمی‌توانید تمام سطرهای برگه را پنهان کنید',
diff --git a/packages/sheets-ui/src/locale/fr-FR.ts b/packages/sheets-ui/src/locale/fr-FR.ts
index c01550fb29..7583100f1d 100644
--- a/packages/sheets-ui/src/locale/fr-FR.ts
+++ b/packages/sheets-ui/src/locale/fr-FR.ts
@@ -24,11 +24,6 @@ const locale: typeof enUS = {
undo: 'Annuler',
redo: 'Refaire',
formatPainter: 'Reproduire la mise en forme',
- currencyFormat: 'Format en devise',
- percentageFormat: 'Format en pourcentage',
- numberDecrease: 'Diminuer les décimales',
- numberIncrease: 'Augmenter les décimales',
- moreFormats: 'Plus de formats',
font: 'Police',
fontSize: 'Taille de police',
bold: 'Gras',
@@ -42,11 +37,6 @@ const locale: typeof enUS = {
right: 'Choisir la couleur',
},
resetColor: 'Réinitialiser',
- customColor: 'PERSONNALISÉ',
- alternatingColors: 'Couleurs alternées',
- confirmColor: 'OK',
- cancelColor: 'Annuler',
- collapse: 'Réduire',
fillColor: {
main: 'Couleur de remplissage',
right: 'Choisir la couleur',
@@ -75,122 +65,9 @@ const locale: typeof enUS = {
main: 'Rotation du texte',
right: 'Mode de rotation du texte',
},
- freezeTopRow: 'Figer la ligne du haut',
- sortAndFilter: 'Trier et filtrer',
- findAndReplace: 'Rechercher et remplacer',
- sum: 'SOMME',
- autoSum: 'Somme automatique',
- moreFunction: 'Plus de fonctions',
- conditionalFormatting: 'Mise en forme conditionnelle',
- comment: 'Commentaire',
- pivotTable: 'Tableau croisé dynamique',
- chart: 'Graphique',
- screenshot: 'Capture d\'écran',
- splitColumn: 'Fractionner le texte',
- insertImage: 'Insérer une image',
- insertLink: 'Insérer un lien',
- dataValidation: 'Validation des données',
- protection: 'Protéger la feuille',
-
- clearText: 'Effacer la couleur',
- noColorSelectedText: 'Aucune couleur sélectionnée',
-
- toolMore: 'Plus',
- toolLess: 'Moins',
- toolClose: 'Fermer',
- toolMoreTip: 'Plus de fonctionnalités',
- moreOptions: 'Plus d\'options',
-
- cellFormat: 'Configuration du format de cellule',
- print: 'Imprimer',
- borderMethod: {
- top: 'Ligne de cadre supérieure',
- bottom: 'Ligne de cadre inférieure',
- left: 'Ligne de cadre gauche',
- right: 'Ligne de cadre droite',
- },
more: 'Plus',
- hideGridlines: 'Masquer le quadrillage',
- showGridlines: 'Afficher le quadrillage',
toggleGridlines: 'Activer/désactiver le quadrillage',
},
- defaultFmt: {
- Automatic: {
- text: 'Automatique',
- value: 'Général',
- example: '',
- },
- Number: {
- text: 'Nombre',
- value: '##0.00',
- example: '1000.12',
- },
- Percent: {
- text: 'Pourcentage',
- value: '#0.00%',
- example: '12.21%',
- },
- PlainText: {
- text: 'Texte brut',
- value: '@',
- example: '',
- },
- Scientific: {
- text: 'Scientifique',
- value: '0.00E+00',
- example: '1.01E+5',
- },
- Accounting: {
- text: 'Comptabilité',
- value: '¥(0.00)',
- example: '¥(1200.09)',
- },
- Thousand: {
- text: 'Dix Mille',
- value: 'w',
- example: '1 2000 2500',
- },
- Currency: {
- text: 'Devise',
- value: '¥0.00',
- example: '¥1200.09',
- },
- Digit: {
- text: 'Dix Mille 2 Décimales',
- value: 'w0.00',
- example: '2 2500.55',
- },
- Date: {
- text: 'Date',
- value: 'yyyy-MM-dd',
- example: '2017-11-29',
- },
- Time: { text: 'Heure', value: 'hh:mm AM/PM', example: '3:00 PM' },
- Time24H: { text: 'Heure 24H', value: 'hh:mm', example: '15:00' },
- DateTime: { text: 'Date et heure', value: 'yyyy-MM-dd hh:mm AM/PM', example: '2017-11-29 3:00 PM' },
- DateTime24H: { text: 'Date et heure 24H', value: 'yyyy-MM-dd hh:mm', example: '2017-11-29 15:00' },
- CustomFormats: { text: 'Formats personnalisés', value: 'fmtOtherSelf', example: '' },
- },
- format: {
- moreCurrency: 'Plus de formats de devise',
- moreDateTime: 'Plus de formats de date et heure',
- moreNumber: 'Plus de formats de nombre',
-
- titleCurrency: 'Formats de devise',
- decimalPlaces: 'Décimales',
- titleDateTime: 'Formats de date et heure',
- titleNumber: 'Formats de nombre',
- },
- print: {
- normalBtn: 'Normal',
- layoutBtn: 'Disposition de la page',
- pageBtn: 'Aperçu des sauts de page',
-
- menuItemPrint: 'Imprimer (Ctrl+P)',
- menuItemAreas: 'Zones d\'impression',
- menuItemRows: 'Lignes de titre à imprimer',
- menuItemColumns: 'Colonnes de titre à imprimer',
- },
align: {
left: 'gauche',
center: 'centre',
@@ -308,7 +185,6 @@ const locale: typeof enUS = {
},
rightClick: {
copy: 'Copier',
- copyAs: 'Copier en tant que',
cut: 'Couper',
paste: 'Coller',
pasteSpecial: 'Collage spécial',
@@ -340,11 +216,6 @@ const locale: typeof enUS = {
hideSelectedColumn: 'Masquer la colonne sélectionnée',
showHideColumn: 'Afficher/Masquer la colonne',
columnWidth: 'Largeur de colonne',
- to: 'Vers',
- left: 'Gauche',
- right: 'Droite',
- top: 'Haut',
- bottom: 'Bas',
moveLeft: 'Déplacer à gauche',
moveUp: 'Déplacer vers le haut',
moveRight: 'Déplacer à droite',
@@ -352,42 +223,11 @@ const locale: typeof enUS = {
add: 'Ajouter',
row: 'Ligne',
column: 'Colonne',
- width: 'Largeur',
- height: 'Hauteur',
- number: 'Nombre',
confirm: 'Confirmer',
- orderAZ: 'Ordre A-Z',
- orderZA: 'Ordre Z-A',
clearSelection: 'Effacer',
clearContent: 'Effacer le contenu',
clearFormat: 'Effacer les formats',
clearAll: 'Tout effacer',
- matrix: 'Opération matricielle',
- sortSelection: 'Trier',
- filterSelection: 'Filtrer',
- chartGeneration: 'Créer un graphique',
- firstLineTitle: 'Titre de la première ligne',
- untitled: 'Sans titre',
- array1: 'Tableau unidimensionnel',
- array2: 'Tableau bidimensionnel',
- array3: 'Tableaux multidimensionnels',
- diagonal: 'Diagonale',
- antiDiagonal: 'Anti-diagonale',
- diagonalOffset: 'Décalage diagonal',
- offset: 'Décalage',
- boolean: 'Booléen',
- flip: 'Retourner',
- upAndDown: 'De haut en bas',
- leftAndRight: 'De gauche à droite',
- clockwise: 'Dans le sens des aiguilles d\'une montre',
- counterclockwise: 'Dans le sens inverse des aiguilles d\'une montre',
- transpose: 'Transposer',
- matrixCalculation: 'Calcul matriciel',
- plus: 'Plus',
- minus: 'Moins',
- multiply: 'Multiplier',
- divided: 'Divisé',
- power: 'Puissance',
root: 'Racine',
log: 'Logarithme',
delete0: 'Supprimer les valeurs 0 aux deux extrémités',
@@ -400,7 +240,6 @@ const locale: typeof enUS = {
freezeCol: 'Figer jusqu\'à cette colonne',
freezeRow: 'Figer jusqu\'à cette ligne',
cancelFreeze: 'Annuler le figement',
- zenEditor: 'Éditeur plein écran',
deleteAllRowsAlert: 'Vous ne pouvez pas supprimer toutes les lignes de la feuille',
deleteAllColumnsAlert: 'Vous ne pouvez pas supprimer toutes les colonnes de la feuille',
hideAllRowsAlert: 'Vous ne pouvez pas masquer toutes les lignes de la feuille',
diff --git a/packages/sheets-ui/src/locale/ru-RU.ts b/packages/sheets-ui/src/locale/ru-RU.ts
index ec0946025c..32a5194030 100644
--- a/packages/sheets-ui/src/locale/ru-RU.ts
+++ b/packages/sheets-ui/src/locale/ru-RU.ts
@@ -24,11 +24,6 @@ const locale: typeof zhCN = {
undo: 'Отменить',
redo: 'Повторить',
formatPainter: 'Копировать формат',
- currencyFormat: 'Форматировать как валюту',
- percentageFormat: 'Форматировать как процент',
- numberDecrease: 'Уменьшить количество десятичных знаков',
- numberIncrease: 'Увеличить количество десятичных знаков',
- moreFormats: 'Больше форматов',
font: 'Шрифт',
fontSize: 'Размер шрифта',
bold: 'Жирный',
@@ -42,11 +37,6 @@ const locale: typeof zhCN = {
right: 'Выбрать цвет',
},
resetColor: 'Сбросить',
- customColor: 'ПОЛЬЗ.',
- alternatingColors: 'Чередующиеся цвета',
- confirmColor: 'ОК',
- cancelColor: 'Отмена',
- collapse: 'Свернуть',
fillColor: {
main: 'Цвет заливки',
right: 'Выбрать цвет',
@@ -75,122 +65,9 @@ const locale: typeof zhCN = {
main: 'Поворот текста',
right: 'Режим поворота текста',
},
- freezeTopRow: 'Закрепить верхнюю строку',
- sortAndFilter: 'Сортировка и фильтр',
- findAndReplace: 'Найти и заменить',
- sum: 'СУММ',
- autoSum: 'Авто СУММ',
- moreFunction: 'Больше функций',
- conditionalFormatting: 'Условное форматирование',
- comment: 'Комментарий',
- pivotTable: 'Сводная таблица',
- chart: 'Диаграмма',
- screenshot: 'Снимок экрана',
- splitColumn: 'Разделить текст',
- insertImage: 'Вставить изображение',
- insertLink: 'Вставить ссылку',
- dataValidation: 'Проверка данных',
- protection: 'Защита листа',
-
- clearText: 'Очистить цвет',
- noColorSelectedText: 'Цвет не выбран',
-
- toolMore: 'Больше',
- toolLess: 'Меньше',
- toolClose: 'Закрыть',
- toolMoreTip: 'Больше возможностей',
- moreOptions: 'Больше опций',
-
- cellFormat: 'Настройка формата ячейки',
- print: 'Печать',
- borderMethod: {
- top: 'Верхняя рамка',
- bottom: 'Нижняя рамка',
- left: 'Левая рамка',
- right: 'Правая рамка',
- },
more: 'Больше',
- hideGridlines: 'Скрыть сетку',
- showGridlines: 'Показать сетку',
toggleGridlines: 'Переключить сетку',
},
- defaultFmt: {
- Automatic: {
- text: 'Автоматический',
- value: 'Общий',
- example: '',
- },
- Number: {
- text: 'Число',
- value: '##0.00',
- example: '1000.12',
- },
- Percent: {
- text: 'Процент',
- value: '#0.00%',
- example: '12.21%',
- },
- PlainText: {
- text: 'Простой текст',
- value: '@',
- example: '',
- },
- Scientific: {
- text: 'Научный',
- value: '0.00E+00',
- example: '1.01E+5',
- },
- Accounting: {
- text: 'Бухгалтерский учет',
- value: '¥(0.00)',
- example: '¥(1200.09)',
- },
- Thousand: {
- text: 'Десять тысяч',
- value: 'w',
- example: '1億2000万2500',
- },
- Currency: {
- text: 'Валюта',
- value: '¥0.00',
- example: '¥1200.09',
- },
- Digit: {
- text: 'Десятичные 2 знака',
- value: 'w0.00',
- example: '2万2500.55',
- },
- Date: {
- text: 'Дата',
- value: 'yyyy-MM-dd',
- example: '2017-11-29',
- },
- Time: { text: 'Время', value: 'hh:mm AM/PM', example: '3:00 PM' },
- Time24H: { text: 'Время 24H', value: 'hh:mm', example: '15:00' },
- DateTime: { text: 'Дата и время', value: 'yyyy-MM-dd hh:mm AM/PM', example: '2017-11-29 3:00 PM' },
- DateTime24H: { text: 'Дата и время 24H', value: 'yyyy-MM-dd hh:mm', example: '2017-11-29 15:00' },
- CustomFormats: { text: 'Пользовательские форматы', value: 'fmtOtherSelf', example: '' },
- },
- format: {
- moreCurrency: 'Больше форматов валюты',
- moreDateTime: 'Больше форматов даты и времени',
- moreNumber: 'Больше форматов чисел',
-
- titleCurrency: 'Форматы валюты',
- decimalPlaces: 'Десятичные знаки',
- titleDateTime: 'Форматы даты и времени',
- titleNumber: 'Числовые форматы',
- },
- print: {
- normalBtn: 'Обычный',
- layoutBtn: 'Макет страницы',
- pageBtn: 'Предпросмотр разрыва страницы',
-
- menuItemPrint: 'Печать (Ctrl+P)',
- menuItemAreas: 'Области печати',
- menuItemRows: 'Печатать строки заголовков',
- menuItemColumns: 'Печатать столбцы заголовков',
- },
align: {
left: 'лево',
center: 'центр',
@@ -308,7 +185,6 @@ const locale: typeof zhCN = {
},
rightClick: {
copy: 'Копировать',
- copyAs: 'Копировать как',
cut: 'Вырезать',
paste: 'Вставить',
pasteSpecial: 'Специальная вставка',
@@ -340,11 +216,6 @@ const locale: typeof zhCN = {
hideSelectedColumn: 'Скрыть выбранный столбец',
showHideColumn: 'Показать скрытый столбец',
columnWidth: 'Ширина столбца',
- to: 'К',
- left: 'Лево',
- right: 'Право',
- top: 'Верх',
- bottom: 'Низ',
moveLeft: 'Переместить влево',
moveUp: 'Переместить вверх',
moveRight: 'Переместить вправо',
@@ -352,42 +223,11 @@ const locale: typeof zhCN = {
add: 'Добавить',
row: 'Строка',
column: 'Столбец',
- width: 'Ширина',
- height: 'Высота',
- number: 'Номер',
confirm: 'Подтвердить',
- orderAZ: 'Порядок А-Я',
- orderZA: 'Порядок Я-А',
clearSelection: 'Очистить',
clearContent: 'Очистить содержимое',
clearFormat: 'Очистить формат',
clearAll: 'Очистить все',
- matrix: 'Матричная операция',
- sortSelection: 'Сортировать',
- filterSelection: 'Фильтр',
- chartGeneration: 'Создать диаграмму',
- firstLineTitle: 'Заголовок первой строки',
- untitled: 'Без названия',
- array1: 'Одномерный массив',
- array2: 'Двумерный массив',
- array3: 'Многомерные массивы',
- diagonal: 'Диагональ',
- antiDiagonal: 'Антидиагональ',
- diagonalOffset: 'Смещение диагонали',
- offset: 'Смещение',
- boolean: 'Булевый',
- flip: 'Перевернуть',
- upAndDown: 'Вверх и вниз',
- leftAndRight: 'Влево и вправо',
- clockwise: 'По часовой стрелке',
- counterclockwise: 'Против часовой стрелки',
- transpose: 'Транспонировать',
- matrixCalculation: 'Матричное вычисление',
- plus: 'Плюс',
- minus: 'Минус',
- multiply: 'Умножить',
- divided: 'Делить',
- power: 'Степень',
root: 'Корень',
log: 'Логарифм',
delete0: 'Удалить значения 0 с обоих концов',
@@ -400,7 +240,6 @@ const locale: typeof zhCN = {
freezeCol: 'Закрепить до этого столбца',
freezeRow: 'Закрепить до этой строки',
cancelFreeze: 'Отменить закрепление',
- zenEditor: 'Редактор на весь экран',
deleteAllRowsAlert: 'Нельзя удалить все строки на листе',
deleteAllColumnsAlert: 'Нельзя удалить все столбцы на листе',
hideAllRowsAlert: 'Нельзя скрыть все строки на листе',
diff --git a/packages/sheets-ui/src/locale/vi-VN.ts b/packages/sheets-ui/src/locale/vi-VN.ts
index eb35e4a067..002edbd150 100644
--- a/packages/sheets-ui/src/locale/vi-VN.ts
+++ b/packages/sheets-ui/src/locale/vi-VN.ts
@@ -24,11 +24,6 @@ const locale: typeof zhCN = {
undo: 'Hoàn tác',
redo: 'Làm lại',
formatPainter: 'Chổi định dạng',
- currencyFormat: 'Định dạng tiền tệ',
- percentageFormat: 'Định dạng phần trăm',
- numberDecrease: 'Giảm số thập phân',
- numberIncrease: 'Tăng số thập phân',
- moreFormats: 'Thêm định dạng',
font: 'Phông chữ',
fontSize: 'Cỡ chữ',
bold: 'In đậm',
@@ -42,11 +37,6 @@ const locale: typeof zhCN = {
right: 'Chọn màu',
},
resetColor: 'Đặt lại màu',
- customColor: 'Tùy chỉnh màu',
- alternatingColors: 'Màu xen kẽ',
- confirmColor: 'Xác nhận màu',
- cancelColor: 'Hủy',
- collapse: 'Thu gọn',
fillColor: {
main: 'Màu ô',
right: 'Chọn màu',
@@ -75,122 +65,9 @@ const locale: typeof zhCN = {
main: 'Xoay văn bản',
right: 'Chọn kiểu xoay',
},
- freezeTopRow: 'Đóng băng hàng đầu',
- sortAndFilter: 'Sắp xếp và lọc',
- findAndReplace: 'Tìm và thay thế',
- sum: 'Tổng',
- autoSum: 'Tổng tự động',
- moreFunction: 'Thêm chức năng',
- conditionalFormatting: 'Định dạng có điều kiện',
- comment: 'Nhận xét',
- pivotTable: 'Bảng tổng hợp',
- chart: 'Biểu đồ',
- screenshot: 'Chụp màn hình',
- splitColumn: 'Tách cột',
- insertImage: 'Chèn hình ảnh',
- insertLink: 'Chèn liên kết',
- dataValidation: 'Xác thực dữ liệu',
- protection: 'Bảo vệ nội dung trang tính',
-
- clearText: 'Xóa lựa chọn màu',
- noColorSelectedText: 'Không có màu nào được chọn',
-
- toolMore: 'Thêm',
- toolLess: 'Ít hơn',
- toolClose: 'Đóng lại',
- toolMoreTip: 'Thêm chức năng',
- moreOptions: 'Thêm tùy chọn',
-
- cellFormat: 'Định dạng ô',
- print: 'In',
- borderMethod: {
- top: 'Viền trên',
- bottom: 'Viền dưới',
- left: 'Viền trái',
- right: 'Viền phải',
- },
more: 'Thêm',
- hideGridlines: 'Ẩn đường lưới',
- showGridlines: 'Hiện đường lưới',
toggleGridlines: 'Chuyển đổi đường lưới',
},
- defaultFmt: {
- Automatic: {
- text: 'Tự động',
- value: 'General',
- example: '',
- },
- Number: {
- text: 'Số',
- value: '##0.00',
- example: '1000.12',
- },
- Percent: {
- text: 'Phần trăm',
- value: '#0.00%',
- example: '12.21%',
- },
- PlainText: {
- text: 'Văn bản thuần',
- value: '@',
- example: '',
- },
- Scientific: {
- text: 'Khoa học',
- value: '0.00E+00',
- example: '1.01E+5',
- },
- Accounting: {
- text: 'Kế toán',
- value: '¥(0.00)',
- example: '¥(1200.09)',
- },
- Thousand: {
- text: 'Ngàn',
- value: 'w',
- example: '1 tỷ 2000 triệu 2500',
- },
- Currency: {
- text: 'Tiền tệ',
- value: '¥0.00',
- example: '¥1200.09',
- },
- Digit: {
- text: 'Ngàn với 2 số thập phân',
- value: 'w0.00',
- example: '2 triệu 2500.55',
- },
- Date: {
- text: 'Ngày',
- value: 'yyyy-MM-dd',
- example: '2017-11-29',
- },
- Time: { text: 'Thời gian', value: 'hh:mm AM/PM', example: '3:00 PM' },
- Time24H: { text: 'Thời gian 24H', value: 'hh:mm', example: '15:00' },
- DateTime: { text: 'Ngày giờ', value: 'yyyy-MM-dd hh:mm AM/PM', example: '2017-11-29 3:00 PM' },
- DateTime24H: { text: 'Ngày giờ 24H', value: 'yyyy-MM-dd hh:mm', example: '2017-11-29 15:00' },
- CustomFormats: { text: 'Định dạng tùy chỉnh', value: 'fmtOtherSelf', example: '' },
- },
- format: {
- moreCurrency: 'Thêm định dạng tiền tệ',
- moreDateTime: 'Thêm định dạng ngày giờ',
- moreNumber: 'Thêm định dạng số',
-
- titleCurrency: 'Định dạng tiền tệ',
- decimalPlaces: 'Số thập phân',
- titleDateTime: 'Định dạng ngày giờ',
- titleNumber: 'Định dạng số',
- },
- print: {
- normalBtn: 'Chế độ xem thường',
- layoutBtn: 'Bố cục trang',
- pageBtn: 'Xem trước trang',
-
- menuItemPrint: 'In (Ctrl+P)',
- menuItemAreas: 'Vùng in',
- menuItemRows: 'Hàng tiêu đề',
- menuItemColumns: 'Cột tiêu đề',
- },
align: {
left: 'Căn trái',
center: 'Căn giữa',
@@ -307,7 +184,6 @@ const locale: typeof zhCN = {
},
rightClick: {
copy: 'Sao chép',
- copyAs: 'Sao chép dưới dạng',
cut: 'Cắt',
paste: 'Dán',
pasteSpecial: 'Dán đặc biệt',
@@ -339,11 +215,6 @@ const locale: typeof zhCN = {
hideSelectedColumn: 'Ẩn cột đã chọn',
showHideColumn: 'Hiển thị ẩn cột',
columnWidth: 'Độ rộng cột',
- to: 'Đến',
- left: 'Trái',
- right: 'Phải',
- top: 'Trên',
- bottom: 'Dưới',
moveLeft: 'Di chuyển sang trái',
moveUp: 'Di chuyển lên trên',
moveRight: 'Di chuyển sang phải',
@@ -351,42 +222,11 @@ const locale: typeof zhCN = {
add: 'Thêm',
row: 'Hàng',
column: 'Cột',
- width: 'Rộng',
- height: 'Cao',
- number: 'Số',
confirm: 'Xác nhận',
- orderAZ: 'Sắp xếp A-Z',
- orderZA: 'Sắp xếp Z-A',
clearSelection: 'Xóa',
clearContent: 'Xóa nội dung',
clearFormat: 'Xóa định dạng',
clearAll: 'Xóa tất cả',
- matrix: 'Ma trận thao tác vùng chọn',
- sortSelection: 'Sắp xếp vùng chọn',
- filterSelection: 'Lọc vùng chọn',
- chartGeneration: 'Tạo biểu đồ',
- firstLineTitle: 'Dòng đầu tiên làm tiêu đề',
- untitled: 'Không tiêu đề',
- array1: 'Mảng một chiều',
- array2: 'Mảng hai chiều',
- array3: 'Mảng đa chiều',
- diagonal: 'Đường chéo',
- antiDiagonal: 'Đường chéo ngược',
- diagonalOffset: 'Độ lệch đường chéo',
- offset: 'Độ lệch',
- boolean: 'Giá trị Boolean',
- flip: 'Lật',
- upAndDown: 'Lên và xuống',
- leftAndRight: 'Trái và phải',
- clockwise: 'Theo chiều kim đồng hồ',
- counterclockwise: 'Ngược chiều kim đồng hồ',
- transpose: 'Chuyển vị',
- matrixCalculation: 'Tính toán ma trận',
- plus: 'Cộng',
- minus: 'Trừ',
- multiply: 'Nhân',
- divided: 'Chia',
- power: 'Lũy thừa',
root: 'Căn bậc',
log: 'log',
delete0: 'Xóa giá trị 0 ở hai đầu',
@@ -399,7 +239,6 @@ const locale: typeof zhCN = {
freezeCol: 'Đóng băng cột',
freezeRow: 'Đóng băng hàng',
cancelFreeze: 'Hủy đóng băng',
- zenEditor: 'Chế độ chỉnh sửa Zen',
deleteAllRowsAlert: 'Bạn không thể xóa tất cả các hàng trong trang bảng',
deleteAllColumnsAlert: 'Bạn không thể xóa tất cả các cột trong trang bảng',
hideAllRowsAlert: 'Bạn không thể ẩn tất cả các hàng trong trang bảng',
diff --git a/packages/sheets-ui/src/locale/zh-CN.ts b/packages/sheets-ui/src/locale/zh-CN.ts
index 65e2f6b951..7a9087776c 100644
--- a/packages/sheets-ui/src/locale/zh-CN.ts
+++ b/packages/sheets-ui/src/locale/zh-CN.ts
@@ -23,11 +23,6 @@ const locale = {
undo: '撤销',
redo: '重做',
formatPainter: '格式刷',
- currencyFormat: '货币格式',
- percentageFormat: '百分比格式',
- numberDecrease: '减少小数位数',
- numberIncrease: '增加小数位数',
- moreFormats: '更多格式',
font: '字体',
fontSize: '字号',
bold: '粗体',
@@ -41,11 +36,6 @@ const locale = {
right: '颜色选择',
},
resetColor: '重置颜色',
- customColor: '自定义',
- alternatingColors: '交替颜色',
- confirmColor: '确定颜色',
- cancelColor: '取消',
- collapse: '收起',
fillColor: {
main: '单元格颜色',
right: '颜色选择',
@@ -74,122 +64,9 @@ const locale = {
main: '文本旋转',
right: '旋转方式',
},
- freezeTopRow: '冻结首行',
- sortAndFilter: '排序和筛选',
- findAndReplace: '查找替换',
- sum: '求和',
- autoSum: '自动求和',
- moreFunction: '更多函数',
- conditionalFormatting: '条件格式',
- comment: '批注',
- pivotTable: '数据透视表',
- chart: '图表',
- screenshot: '截图',
- splitColumn: '分列',
- insertImage: '插入图片',
- insertLink: '插入链接',
- dataValidation: '数据验证',
- protection: '保护工作表内容',
-
- clearText: '清除颜色选择',
- noColorSelectedText: '没有颜色被选择',
-
- toolMore: '更多',
- toolLess: '少于',
- toolClose: '收起',
- toolMoreTip: '更多功能',
- moreOptions: '更多选项',
-
- cellFormat: '设置单元格格式',
- print: '打印',
- borderMethod: {
- top: '上框线',
- bottom: '下框线',
- left: '左框线',
- right: '右框线',
- },
more: '更多',
- hideGridlines: '隐藏网格线',
- showGridlines: '展示网格线',
toggleGridlines: '切换网格线',
},
- defaultFmt: {
- Automatic: {
- text: '自动',
- value: 'General',
- example: '',
- },
- Number: {
- text: '数字',
- value: '##0.00',
- example: '1000.12',
- },
- Percent: {
- text: '百分比',
- value: '#0.00%',
- example: '12.21%',
- },
- PlainText: {
- text: '纯文本',
- value: '@',
- example: '',
- },
- Scientific: {
- text: '科学计数',
- value: '0.00E+00',
- example: '1.01E+5',
- },
- Accounting: {
- text: '会计',
- value: '¥(0.00)',
- example: '¥(1200.09)',
- },
- Thousand: {
- text: '万元',
- value: 'w',
- example: '1亿2000万2500',
- },
- Currency: {
- text: '货币',
- value: '¥0.00',
- example: '¥1200.09',
- },
- Digit: {
- text: '万元2位小数',
- value: 'w0.00',
- example: '2万2500.55',
- },
- Date: {
- text: '日期',
- value: 'yyyy-MM-dd',
- example: '2017-11-29',
- },
- Time: { text: '时间', value: 'hh:mm AM/PM', example: '3:00 PM' },
- Time24H: { text: '时间24H', value: 'hh:mm', example: '15:00' },
- DateTime: { text: '日期时间', value: 'yyyy-MM-dd hh:mm AM/PM', example: '2017-11-29 3:00 PM' },
- DateTime24H: { text: '日期时间24H', value: 'yyyy-MM-dd hh:mm', example: '2017-11-29 15:00' },
- CustomFormats: { text: '自定义格式', value: 'fmtOtherSelf', example: '' },
- },
- format: {
- moreCurrency: '更多货币格式',
- moreDateTime: '更多日期与时间格式',
- moreNumber: '更多数字格式',
-
- titleCurrency: '货币格式',
- decimalPlaces: '小数位数',
- titleDateTime: '日期与时间格式',
- titleNumber: '数字格式',
- },
- print: {
- normalBtn: '常规视图',
- layoutBtn: '页面布局',
- pageBtn: '分页预览',
-
- menuItemPrint: '打印(Ctrl+P)',
- menuItemAreas: '打印区域',
- menuItemRows: '打印标题行',
- menuItemColumns: '打印标题列',
- },
align: {
left: '左对齐',
center: '中间对齐',
@@ -306,7 +183,6 @@ const locale = {
},
rightClick: {
copy: '复制',
- copyAs: '复制为',
cut: '剪切',
paste: '粘贴',
pasteSpecial: '选择性粘贴',
@@ -338,11 +214,6 @@ const locale = {
hideSelectedColumn: '隐藏选中列',
showHideColumn: '显示隐藏列',
columnWidth: '列宽',
- to: '向',
- left: '左',
- right: '右',
- top: '上',
- bottom: '下',
moveLeft: '左移',
moveUp: '上移',
moveRight: '右移',
@@ -350,42 +221,11 @@ const locale = {
add: '增加',
row: '行',
column: '列',
- width: '宽',
- height: '高',
- number: '数字',
confirm: '确认',
- orderAZ: 'A-Z顺序排列',
- orderZA: 'Z-A降序排列',
clearSelection: '清除',
clearContent: '清除内容',
clearFormat: '清除格式',
clearAll: '清除全部',
- matrix: '矩阵操作选区',
- sortSelection: '排序选区',
- filterSelection: '筛选选区',
- chartGeneration: '图表生成',
- firstLineTitle: '首行为标题',
- untitled: '无标题',
- array1: '一维数组',
- array2: '二维数组',
- array3: '多维数组',
- diagonal: '对角线',
- antiDiagonal: '反对角线',
- diagonalOffset: '对角偏移',
- offset: '偏移量',
- boolean: '布尔值',
- flip: '翻转',
- upAndDown: '上下',
- leftAndRight: '左右',
- clockwise: '顺时针',
- counterclockwise: '逆时针',
- transpose: '转置',
- matrixCalculation: '矩阵计算',
- plus: '加',
- minus: '减',
- multiply: '乘',
- divided: '除',
- power: '次方',
root: '次方根',
log: 'log',
delete0: '删除两端0值',
@@ -398,7 +238,6 @@ const locale = {
freezeCol: '冻结列',
freezeRow: '冻结行',
cancelFreeze: '取消冻结',
- zenEditor: '禅模式编辑',
deleteAllRowsAlert: '您无法删除工作表上的所有行',
deleteAllColumnsAlert: '您无法删除工作表上的所有列',
hideAllRowsAlert: '您无法隐藏工作表上的所有行',
diff --git a/packages/sheets-ui/src/locale/zh-TW.ts b/packages/sheets-ui/src/locale/zh-TW.ts
index 3fe9d8fd61..a0db47b531 100644
--- a/packages/sheets-ui/src/locale/zh-TW.ts
+++ b/packages/sheets-ui/src/locale/zh-TW.ts
@@ -25,11 +25,6 @@ const locale: typeof zhCN = {
undo: '撤銷',
redo: '重做',
formatPainter: '格式刷',
- currencyFormat: '貨幣格式',
- percentageFormat: '百分比格式',
- numberDecrease: '減少小數位數',
- numberIncrease: '增加小數位數',
- moreFormats: '更多格式',
font: '字體',
fontSize: '字號',
bold: '粗體',
@@ -43,11 +38,6 @@ const locale: typeof zhCN = {
right: '顏色選擇',
},
resetColor: '重置顏色',
- customColor: '自訂',
- alternatingColors: '交替顏色',
- confirmColor: '確定顏色',
- cancelColor: '取消',
- collapse: '收起',
fillColor: {
main: '單元格顏色',
right: '顏色選擇',
@@ -76,122 +66,9 @@ const locale: typeof zhCN = {
main: '文字旋轉',
right: '旋轉方式',
},
- freezeTopRow: '凍結首行',
- sortAndFilter: '排序與篩選',
- findAndReplace: '尋找替換',
- sum: '求和',
- autoSum: '自動求和',
- moreFunction: '更多函數',
- conditionalFormatting: '條件格式',
- comment: '批註',
- pivotTable: '資料透視表',
- chart: '圖表',
- screenshot: '截圖',
- splitColumn: '分列',
- insertImage: '插入圖片',
- insertLink: '插入連結',
- dataValidation: '資料驗證',
- protection: '保護工作表內容',
-
- clearText: '清除顏色選擇',
- noColorSelectedText: '沒有顏色被選',
-
- toolMore: '更多',
- toolLess: '少於',
- toolClose: '收起',
- toolMoreTip: '更多功能',
- moreOptions: '更多選項',
-
- cellFormat: '設定儲存格格式',
- print: '列印',
- borderMethod: {
- top: '上框線',
- bottom: '下框線',
- left: '左框線',
- right: '右框線',
- },
more: '更多',
- hideGridlines: '隱藏網格線',
- showGridlines: '顯示網格線',
toggleGridlines: '切換網格線',
},
- defaultFmt: {
- Automatic: {
- text: '自動',
- value: 'General',
- example: '',
- },
- Number: {
- text: '數字',
- value: '##0.00',
- example: '1000.12',
- },
- Percent: {
- text: '百分比',
- value: '#0.00%',
- example: '12.21%',
- },
- PlainText: {
- text: '純文字',
- value: '@',
- example: '',
- },
- Scientific: {
- text: '科學計數',
- value: '0.00E+00',
- example: '1.01E+5',
- },
- Accounting: {
- text: '會計',
- value: '¥(0.00)',
- example: '¥(1200.09)',
- },
- Thousand: {
- text: '萬元',
- value: 'w',
- example: '1億2000萬2500',
- },
- Currency: {
- text: '貨幣',
- value: '¥0.00',
- example: '¥1200.09',
- },
- Digit: {
- text: '萬元2位小數',
- value: 'w0.00',
- example: '2萬2500.55',
- },
- Date: {
- text: '日期',
- value: 'yyyy-MM-dd',
- example: '2017-11-29',
- },
- Time: { text: '時間', value: 'hh:mm AM/PM', example: '3:00 PM' },
- Time24H: { text: '時間24H', value: 'hh:mm', example: '15:00' },
- DateTime: { text: '日期時間', value: 'yyyy-MM-dd hh:mm AM/PM', example: '2017-11-29 3:00 PM' },
- DateTime24H: { text: '日期時間24H', value: 'yyyy-MM-dd hh:mm', example: '2017-11-29 15:00' },
- CustomFormats: { text: '自訂格式', value: 'fmtOtherSelf', example: '' },
- },
- format: {
- moreCurrency: '更多貨幣格式',
- moreDateTime: '更多日期與時間格式',
- moreNumber: '更多數字格式',
-
- titleCurrency: '貨幣格式',
- decimalPlaces: '小數位數',
- titleDateTime: '日期與時間格式',
- titleNumber: '數字格式',
- },
- print: {
- normalBtn: '常規視圖',
- layoutBtn: '頁面佈局',
- pageBtn: '分頁預覽',
-
- menuItemPrint: '打印(Ctrl+P)',
- menuItemAreas: '列印區域',
- menuItemRows: '列印標題行',
- menuItemColumns: '列印標題列',
- },
align: {
left: '左對齊',
center: '中間對齊',
@@ -308,7 +185,6 @@ const locale: typeof zhCN = {
},
rightClick: {
copy: '複製',
- copyAs: '複製為',
cut: '剪切',
paste: '貼上',
pasteSpecial: '選擇性貼上',
@@ -340,11 +216,6 @@ const locale: typeof zhCN = {
hideSelectedColumn: '隱藏選取列',
showHideColumn: '顯示隱藏列',
columnWidth: '列寬',
- to: '向',
- left: '左',
- right: '右',
- top: '上',
- bottom: '下',
moveLeft: '左移',
moveUp: '上移',
moveRight: '右移',
@@ -352,42 +223,11 @@ const locale: typeof zhCN = {
add: '增加',
row: '行',
column: '列',
- width: '寬',
- height: '高',
- number: '數字',
confirm: '確認',
- orderAZ: 'A-Z順序排列',
- orderZA: 'Z-A降序排列',
clearSelection: '清除',
clearContent: '清除內容',
clearFormat: '清除格式',
clearAll: '清除全部',
- matrix: '矩陣運算選區',
- sortSelection: '排序選區',
- filterSelection: '篩選選區',
- chartGeneration: '圖表生成',
- firstLineTitle: '首行為標題',
- untitled: '無標題',
- array1: '一維數組',
- array2: '二維數組',
- array3: '多維數組',
- diagonal: '對角線',
- antiDiagonal: '反對角線',
- diagonalOffset: '對角線偏移',
- offset: '偏移量',
- boolean: '布林值',
- flip: '翻轉',
- upAndDown: '上下',
- leftAndRight: '左右',
- clockwise: '順時針',
- counterclockwise: '逆時針',
- transpose: '轉置',
- matrixCalculation: '矩陣計算',
- plus: '加',
- minus: '減',
- multiply: '乘',
- divided: '除',
- power: '次方',
root: '次方根',
log: 'log',
delete0: '刪除兩端0值',
@@ -400,7 +240,6 @@ const locale: typeof zhCN = {
freezeCol: '凍結列',
freezeRow: '凍結行',
cancelFreeze: '取消凍結',
- zenEditor: '禪模式編輯',
deleteAllRowsAlert: '您無法刪除工作表上的所有行',
deleteAllColumnsAlert: '您無法刪除工作表上的所有欄位',
hideAllRowsAlert: '您無法隱藏工作表上的所有行',
diff --git a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
index 0dcf4ba6bf..7aca46941b 100644
--- a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
+++ b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
@@ -14,12 +14,11 @@
* limitations under the License.
*/
-import { Dropdown } from '@univerjs/design';
+import { clsx, Dropdown } from '@univerjs/design';
import { IDefinedNamesService } from '@univerjs/engine-formula';
import { MoreDownSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { DefinedNameOverlay } from './DefinedNameOverlay';
import styles from './index.module.less';
@@ -35,7 +34,6 @@ export function DefinedName({ disable }: { disable: boolean }) {
return () => {
subscription.unsubscribe();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []); // Empty dependency array means this effect runs once on mount and clean up on unmount
// TODO: @DR-Univer: Should be implemented
diff --git a/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx b/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx
index 2c8e035091..e85c7b714f 100644
--- a/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx
+++ b/packages/sheets-ui/src/views/defined-name/DefinedNameContainer.tsx
@@ -18,13 +18,12 @@ import type { Nullable, Workbook } from '@univerjs/core';
import type { IDefinedNamesServiceParam, ISetDefinedNameMutationParam } from '@univerjs/engine-formula';
import { ICommandService, IUniverInstanceService, LocaleService, Tools, UniverInstanceType } from '@univerjs/core';
-import { Confirm, Tooltip } from '@univerjs/design';
+import { clsx, Confirm, Tooltip } from '@univerjs/design';
import { IDefinedNamesService, serializeRangeWithSheet } from '@univerjs/engine-formula';
import { CheckMarkSingle, DeleteSingle, IncreaseSingle } from '@univerjs/icons';
import { InsertDefinedNameCommand, RemoveDefinedNameCommand, SCOPE_WORKBOOK_VALUE_DEFINED_NAME, SetDefinedNameCommand, SetWorksheetShowCommand, SheetsSelectionsService } from '@univerjs/sheets';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { DefinedNameInput } from './DefinedNameInput';
import styles from './index.module.less';
diff --git a/packages/sheets-ui/src/views/mobile/sheet-bar/MobileSheetBar.tsx b/packages/sheets-ui/src/views/mobile/sheet-bar/MobileSheetBar.tsx
index a090110074..8cee774efd 100644
--- a/packages/sheets-ui/src/views/mobile/sheet-bar/MobileSheetBar.tsx
+++ b/packages/sheets-ui/src/views/mobile/sheet-bar/MobileSheetBar.tsx
@@ -18,6 +18,7 @@ import type { ICommandInfo, Workbook } from '@univerjs/core';
import type { ISetWorksheetActiveOperationParams } from '@univerjs/sheets';
import type { IBaseSheetBarProps } from '../../sheet-bar/sheet-bar-tabs/SheetBarItem';
import { ICommandService } from '@univerjs/core';
+import { clsx } from '@univerjs/design';
import {
InsertSheetMutation,
RemoveSheetMutation,
@@ -27,9 +28,7 @@ import {
SetWorksheetOrderMutation,
} from '@univerjs/sheets';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useCallback, useEffect, useRef, useState } from 'react';
-
+import { useCallback, useEffect, useRef, useState } from 'react';
import { useActiveWorkbook } from '../../../components/hook';
import styles from './index.module.less';
diff --git a/packages/sheets-ui/src/views/permission/panel-list/index.tsx b/packages/sheets-ui/src/views/permission/panel-list/index.tsx
index d6add22e50..0af8243548 100644
--- a/packages/sheets-ui/src/views/permission/panel-list/index.tsx
+++ b/packages/sheets-ui/src/views/permission/panel-list/index.tsx
@@ -19,16 +19,13 @@ import type { IPermissionPoint } from '@univerjs/protocol';
import type { IRangeProtectionRule, IWorksheetProtectionRule } from '@univerjs/sheets';
import type { IPermissionPanelRule } from '../../../services/permission/sheet-permission-panel.model';
import { IAuthzIoService, ICommandService, IPermissionService, IUniverInstanceService, LocaleService, Tools, UniverInstanceType, UserManagerService } from '@univerjs/core';
-import { Avatar, Button, Tooltip } from '@univerjs/design';
+import { Avatar, Button, clsx, Tooltip } from '@univerjs/design';
import { serializeRange } from '@univerjs/engine-formula';
import { DeleteSingle, WriteSingle } from '@univerjs/icons';
import { UnitAction, UnitObject } from '@univerjs/protocol';
import { baseProtectionActions, DeleteRangeProtectionCommand, DeleteWorksheetProtectionCommand, RangeProtectionRuleModel, SetWorksheetActiveOperation, WorkbookCreateProtectPermission, WorksheetProtectionRuleModel } from '@univerjs/sheets';
import { ISidebarService, useDependency, useObservable } from '@univerjs/ui';
-import clsx from 'clsx';
-
-import React, { useCallback, useEffect, useState } from 'react';
-
+import { useCallback, useEffect, useState } from 'react';
import { distinctUntilChanged, merge } from 'rxjs';
import { UNIVER_SHEET_PERMISSION_PANEL } from '../../../consts/permission';
import { useHighlightRange } from '../../../hooks/use-highlight-range';
diff --git a/packages/sheets-ui/src/views/permission/permission-dialog/index.tsx b/packages/sheets-ui/src/views/permission/permission-dialog/index.tsx
index ba41e18ed4..9f845d0743 100644
--- a/packages/sheets-ui/src/views/permission/permission-dialog/index.tsx
+++ b/packages/sheets-ui/src/views/permission/permission-dialog/index.tsx
@@ -18,12 +18,11 @@ import type { Workbook } from '@univerjs/core';
import type { ICollaborator, UnitAction } from '@univerjs/protocol';
import { IAuthzIoService, ICommandService, IPermissionService, IUniverInstanceService, LocaleService, UniverInstanceType } from '@univerjs/core';
-import { Button, Switch } from '@univerjs/design';
+import { Button, clsx, Switch } from '@univerjs/design';
import { ObjectScope, UnitObject, UnitRole } from '@univerjs/protocol';
import { getAllWorksheetPermissionPoint, SetWorksheetPermissionPointsCommand, WorksheetProtectionPointModel } from '@univerjs/sheets';
import { IDialogService, useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { defaultWorksheetUnitActionList, subUnitPermissionTypeMap, UNIVER_SHEET_PERMISSION_DIALOG_ID } from '../../../consts/permission';
import Spin from '../spin';
import styles from './index.module.less';
diff --git a/packages/sheets-ui/src/views/permission/user-dialog/index.tsx b/packages/sheets-ui/src/views/permission/user-dialog/index.tsx
index 8584eef8ae..2cff4c5deb 100644
--- a/packages/sheets-ui/src/views/permission/user-dialog/index.tsx
+++ b/packages/sheets-ui/src/views/permission/user-dialog/index.tsx
@@ -16,19 +16,18 @@
import type { ICollaborator } from '@univerjs/protocol';
import { LocaleService } from '@univerjs/core';
-import { Avatar, Button, Input } from '@univerjs/design';
+import { Avatar, Button, clsx, Input } from '@univerjs/design';
import { CheckMarkSingle } from '@univerjs/icons';
import { UnitRole } from '@univerjs/protocol';
import { IDialogService, useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useState } from 'react';
+import { useState } from 'react';
import { UNIVER_SHEET_PERMISSION_USER_DIALOG_ID } from '../../../consts/permission';
import { SheetPermissionUserManagerService } from '../../../services/permission/sheet-permission-user-list.service';
import { UserEmptyBase64 } from './constant';
import styles from './index.module.less';
export const SheetPermissionUserDialog = () => {
- const [inputValue, setInputValue] = React.useState('');
+ const [inputValue, setInputValue] = useState('');
const localeService = useDependency(LocaleService);
const dialogService = useDependency(IDialogService);
const sheetPermissionUserManagerService = useDependency(SheetPermissionUserManagerService);
diff --git a/packages/sheets-ui/src/views/status-bar/StatusBar.tsx b/packages/sheets-ui/src/views/status-bar/StatusBar.tsx
index 5d53acf0e2..2d9be7840f 100644
--- a/packages/sheets-ui/src/views/status-bar/StatusBar.tsx
+++ b/packages/sheets-ui/src/views/status-bar/StatusBar.tsx
@@ -18,9 +18,8 @@ import type { Nullable } from '@univerjs/core';
import type { IStatusBarServiceStatus, StatusBarService } from '../../services/status-bar.service';
import type { IStatisticItem } from './CopyableStatisticItem';
import { debounce, IConfigService } from '@univerjs/core';
+import { clsx } from '@univerjs/design';
import { useDependency } from '@univerjs/ui';
-
-import clsx from 'clsx';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { HIDE_STATUS_BAR_STATISTIC } from '../../controllers/config.schema';
import { IStatusBarService } from '../../services/status-bar.service';
diff --git a/packages/sheets-zen-editor/package.json b/packages/sheets-zen-editor/package.json
index 44e6137458..e46da5af1e 100644
--- a/packages/sheets-zen-editor/package.json
+++ b/packages/sheets-zen-editor/package.json
@@ -92,7 +92,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/sheets-zen-editor/src/locale/en-US.ts b/packages/sheets-zen-editor/src/locale/en-US.ts
index 8ad27ebe98..b1a985c958 100644
--- a/packages/sheets-zen-editor/src/locale/en-US.ts
+++ b/packages/sheets-zen-editor/src/locale/en-US.ts
@@ -17,6 +17,9 @@
import type zhCN from './zh-CN';
const locale: typeof zhCN = {
+ rightClick: {
+ zenEditor: 'Full Screen Editor',
+ },
shortcut: {
sheet: {
'zen-edit-cancel': 'Cancel Zen Edit',
diff --git a/packages/sheets-zen-editor/src/locale/fa-IR.ts b/packages/sheets-zen-editor/src/locale/fa-IR.ts
index 9d83a1e42c..0ec70e650b 100644
--- a/packages/sheets-zen-editor/src/locale/fa-IR.ts
+++ b/packages/sheets-zen-editor/src/locale/fa-IR.ts
@@ -17,6 +17,9 @@
import type zhCN from './zh-CN';
const locale: typeof zhCN = {
+ rightClick: {
+ zenEditor: 'ویرایشگر تمام صفحه',
+ },
shortcut: {
sheet: {
'zen-edit-cancel': 'لغو ویرایش Zen',
diff --git a/packages/sheets-zen-editor/src/locale/fr-FR.ts b/packages/sheets-zen-editor/src/locale/fr-FR.ts
index 550968d7bc..c9c69e330b 100644
--- a/packages/sheets-zen-editor/src/locale/fr-FR.ts
+++ b/packages/sheets-zen-editor/src/locale/fr-FR.ts
@@ -17,6 +17,9 @@
import type enUS from './en-US';
const locale: typeof enUS = {
+ rightClick: {
+ zenEditor: 'Éditeur plein écran',
+ },
shortcut: {
sheet: {
'zen-edit-cancel': 'Annuler l\'édition plein écran',
diff --git a/packages/sheets-zen-editor/src/locale/ru-RU.ts b/packages/sheets-zen-editor/src/locale/ru-RU.ts
index 03accf9d7f..a9edf21c55 100644
--- a/packages/sheets-zen-editor/src/locale/ru-RU.ts
+++ b/packages/sheets-zen-editor/src/locale/ru-RU.ts
@@ -17,6 +17,9 @@
import type zhCN from './zh-CN';
const locale: typeof zhCN = {
+ rightClick: {
+ zenEditor: 'Редактор на весь экран',
+ },
shortcut: {
sheet: {
'zen-edit-cancel': 'Отменить Zen редактирование',
diff --git a/packages/sheets-zen-editor/src/locale/vi-VN.ts b/packages/sheets-zen-editor/src/locale/vi-VN.ts
index bf2caecbd5..b32a0909e3 100644
--- a/packages/sheets-zen-editor/src/locale/vi-VN.ts
+++ b/packages/sheets-zen-editor/src/locale/vi-VN.ts
@@ -17,6 +17,9 @@
import type zhCN from './zh-CN';
const locale: typeof zhCN = {
+ rightClick: {
+ zenEditor: 'Chế độ chỉnh sửa Zen',
+ },
shortcut: {
sheet: {
'zen-edit-cancel': 'Hủy chỉnh sửa (trạng thái Zen mode)',
diff --git a/packages/sheets-zen-editor/src/locale/zh-CN.ts b/packages/sheets-zen-editor/src/locale/zh-CN.ts
index ada6e2afc4..14f12f8d52 100644
--- a/packages/sheets-zen-editor/src/locale/zh-CN.ts
+++ b/packages/sheets-zen-editor/src/locale/zh-CN.ts
@@ -15,6 +15,9 @@
*/
const locale = {
+ rightClick: {
+ zenEditor: '禅模式编辑',
+ },
shortcut: {
sheet: {
'zen-edit-cancel': '取消编辑(禅模式状态)',
diff --git a/packages/sheets-zen-editor/src/locale/zh-TW.ts b/packages/sheets-zen-editor/src/locale/zh-TW.ts
index 8c74887f50..ed36670fd5 100644
--- a/packages/sheets-zen-editor/src/locale/zh-TW.ts
+++ b/packages/sheets-zen-editor/src/locale/zh-TW.ts
@@ -17,6 +17,9 @@
import type zhCN from './zh-CN';
const locale: typeof zhCN = {
+ rightClick: {
+ zenEditor: '禪模式編輯',
+ },
shortcut: {
sheet: {
'zen-edit-cancel': '取消編輯(禪模式狀態)',
diff --git a/packages/sheets-zen-editor/src/views/zen-editor/ZenEditor.tsx b/packages/sheets-zen-editor/src/views/zen-editor/ZenEditor.tsx
index 8f969d6436..6e6d9f1752 100644
--- a/packages/sheets-zen-editor/src/views/zen-editor/ZenEditor.tsx
+++ b/packages/sheets-zen-editor/src/views/zen-editor/ZenEditor.tsx
@@ -16,19 +16,17 @@
import type { IDocumentData } from '@univerjs/core';
import { DEFAULT_EMPTY_DOCUMENT_VALUE, DOCS_ZEN_EDITOR_UNIT_ID_KEY, DocumentFlavor, ICommandService } from '@univerjs/core';
+import { clsx } from '@univerjs/design';
import { IEditorService } from '@univerjs/docs-ui';
import { CheckMarkSingle, CloseSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-
-import React, { useEffect, useRef } from 'react';
+import { useEffect, useRef } from 'react';
import { CancelZenEditCommand, ConfirmZenEditCommand } from '../../commands/commands/zen-editor.command';
-
import { IZenEditorManagerService } from '../../services/zen-editor.service';
import styles from './index.module.less';
const COMPONENT_PREFIX = 'ZEN_EDITOR_PLUGIN_';
-// eslint-disable-next-line react-refresh/only-export-components
+
export const ZEN_EDITOR_COMPONENT = `${COMPONENT_PREFIX}ZEN_EDITOR_COMPONENT`;
const INITIAL_SNAPSHOT: IDocumentData = {
@@ -100,7 +98,6 @@ export function ZenEditor() {
registerSubscription.dispose();
resizeObserver.unobserve(editorDom);
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []); // Empty dependency array means this effect runs once on mount and clean up on unmount
function handleCloseBtnClick() {
diff --git a/packages/sheets/package.json b/packages/sheets/package.json
index 1eacf43e5f..1b139db41c 100644
--- a/packages/sheets/package.json
+++ b/packages/sheets/package.json
@@ -83,7 +83,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.json
index 74107051d6..0243a42018 100644
--- a/packages/slides-ui/package.json
+++ b/packages/slides-ui/package.json
@@ -87,7 +87,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx b/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx
index 771748179a..ef3cffedee 100644
--- a/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx
+++ b/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx
@@ -16,11 +16,10 @@
import type { IDrawingSearch } from '@univerjs/core';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { Dropdown } from '@univerjs/design';
+import { clsx, Dropdown } from '@univerjs/design';
import { Autofill, MoreDownSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useState } from 'react';
+import { useState } from 'react';
import styles from './index.module.less';
export interface IImagePopupMenuItem {
@@ -41,7 +40,7 @@ export interface IImagePopupMenuProps {
};
}
-export const SlideImagePopupMenu: React.FC<IImagePopupMenuProps> = (props: IImagePopupMenuProps) => {
+export function SlideImagePopupMenu(props: IImagePopupMenuProps) {
const menuItems = props.popup?.extraProps?.menuItems;
if (!menuItems) {
diff --git a/packages/slides-ui/src/components/panels/ArrangePanel.tsx b/packages/slides-ui/src/components/panels/ArrangePanel.tsx
index f8ee4f5edd..2fd30564a3 100644
--- a/packages/slides-ui/src/components/panels/ArrangePanel.tsx
+++ b/packages/slides-ui/src/components/panels/ArrangePanel.tsx
@@ -15,15 +15,11 @@
*/
import type { Nullable } from '@univerjs/core';
-
import type { Image, Rect, RichText } from '@univerjs/engine-render';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { Button } from '@univerjs/design';
+import { Button, clsx } from '@univerjs/design';
import { BottomSingle, MoveDownSingle, MoveUpSingle, TopmostSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-
-import React from 'react';
import { UpdateSlideElementOperation } from '../../commands/operations/update-element.operation';
import { CanvasView } from '../../controllers/canvas-view';
import styles from './index.module.less';
diff --git a/packages/slides-ui/src/components/panels/FillPanel.tsx b/packages/slides-ui/src/components/panels/FillPanel.tsx
index 29cba47a4e..e9b984a13c 100644
--- a/packages/slides-ui/src/components/panels/FillPanel.tsx
+++ b/packages/slides-ui/src/components/panels/FillPanel.tsx
@@ -18,10 +18,9 @@ import type { Nullable } from '@univerjs/core';
import type { Rect } from '@univerjs/engine-render';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { ColorPicker, Dropdown } from '@univerjs/design';
+import { clsx, ColorPicker, Dropdown } from '@univerjs/design';
import { MoreDownSingle, PaintBucket } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
import React from 'react';
import { UpdateSlideElementOperation } from '../../commands/operations/update-element.operation';
diff --git a/packages/slides-ui/src/components/panels/TransformPanel.tsx b/packages/slides-ui/src/components/panels/TransformPanel.tsx
index f04aed83c5..87e6fed052 100644
--- a/packages/slides-ui/src/components/panels/TransformPanel.tsx
+++ b/packages/slides-ui/src/components/panels/TransformPanel.tsx
@@ -15,13 +15,11 @@
*/
import type { Nullable } from '@univerjs/core';
-
import type { BaseObject, IChangeObserverConfig, Image, Rect, RichText } from '@univerjs/engine-render';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { InputNumber } from '@univerjs/design';
+import { clsx, InputNumber } from '@univerjs/design';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
-import React, { useEffect, useState } from 'react';
+import { useEffect, useState } from 'react';
import { UpdateSlideElementOperation } from '../../commands/operations/update-element.operation';
import { CanvasView } from '../../controllers/canvas-view';
import styles from './index.module.less';
@@ -195,7 +193,6 @@ export default function TransformPanel(props: IProps) {
changeStartSub.unsubscribe();
// focusSub.unsubscribe();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
function handleWidthChange(val: number | null) {
diff --git a/packages/slides-ui/src/components/slide-bar/SlideBar.tsx b/packages/slides-ui/src/components/slide-bar/SlideBar.tsx
index 2caa59ed5c..6b4aac6fe8 100644
--- a/packages/slides-ui/src/components/slide-bar/SlideBar.tsx
+++ b/packages/slides-ui/src/components/slide-bar/SlideBar.tsx
@@ -16,10 +16,9 @@
import type { SlideDataModel } from '@univerjs/core';
import { ICommandService, IUniverInstanceService, LocaleService, UniverInstanceType } from '@univerjs/core';
-import { Scrollbar } from '@univerjs/design';
+import { clsx, Scrollbar } from '@univerjs/design';
import { IRenderManagerService } from '@univerjs/engine-render';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { ActivateSlidePageOperation } from '../../commands/operations/activate.operation';
import { AppendSlideOperation } from '../../commands/operations/append-slide.operation';
@@ -67,7 +66,6 @@ export function SlideSideBar() {
return () => {
subscriber?.unsubscribe();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect(() => {
diff --git a/packages/slides/package.json b/packages/slides/package.json
index 41e71fa2a9..79b997f7da 100644
--- a/packages/slides/package.json
+++ b/packages/slides/package.json
@@ -64,7 +64,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json
index 6b17c05986..eb5bc6e466 100644
--- a/packages/telemetry/package.json
+++ b/packages/telemetry/package.json
@@ -60,7 +60,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/thread-comment-ui/package.json b/packages/thread-comment-ui/package.json
index 81fe3969a6..1be5a54c94 100644
--- a/packages/thread-comment-ui/package.json
+++ b/packages/thread-comment-ui/package.json
@@ -82,7 +82,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/thread-comment/package.json b/packages/thread-comment/package.json
index 1c60166874..77ba6efa1c 100644
--- a/packages/thread-comment/package.json
+++ b/packages/thread-comment/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 32727ec8af..5c68d0a8e5 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -98,8 +98,8 @@
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6",
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7",
"vue": "^3.5.13"
}
}
diff --git a/packages/ui/src/components/custom-label/CustomLabel.tsx b/packages/ui/src/components/custom-label/CustomLabel.tsx
index b257befeb6..e06f5bbd45 100644
--- a/packages/ui/src/components/custom-label/CustomLabel.tsx
+++ b/packages/ui/src/components/custom-label/CustomLabel.tsx
@@ -93,7 +93,7 @@ export function CustomLabel(props: ICustomLabelProps) {
nodes.push(
<Icon
key={index++}
- extend={{ colorChannel1: isValid ? realValue : 'rgb(var(--primary-color))' }}
+ extend={{ colorChannel1: isValid ? realValue : '#2c53f1' }}
/>
);
}
diff --git a/packages/ui/src/components/menu/desktop/Menu.tsx b/packages/ui/src/components/menu/desktop/Menu.tsx
index ac352cb1f5..e7016dc72f 100644
--- a/packages/ui/src/components/menu/desktop/Menu.tsx
+++ b/packages/ui/src/components/menu/desktop/Menu.tsx
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-import type {
- MenuRef } from '@univerjs/design';
+import type { MenuRef } from '@univerjs/design';
import type {
IDisplayMenuItem,
IMenuButtonItem,
@@ -26,15 +25,13 @@ import type {
} from '../../../services/menu/menu';
import { isRealNum } from '@univerjs/core';
import {
+ clsx,
Menu as DesignMenu,
MenuItem as DesignMenuItem,
- MenuItemGroup as DesignMenuItemGroup,
- SubMenu as DesignSubMenu,
+ MenuItemGroup as DesignMenuItemGroup, SubMenu as DesignSubMenu,
} from '@univerjs/design';
import { CheckMarkSingle, MoreSingle } from '@univerjs/icons';
-import clsx from 'clsx';
-
-import React, { useEffect, useMemo, useState } from 'react';
+import { useEffect, useMemo, useState } from 'react';
import { combineLatest, isObservable, of } from 'rxjs';
import { ILayoutService } from '../../../services/layout/layout.service';
import { MenuItemType } from '../../../services/menu/menu';
@@ -46,6 +43,7 @@ import styles from './index.module.less';
// TODO: @jikkai disabled and hidden are not working
+/** @deprecated */
export interface IBaseMenuProps {
parentKey?: string | number;
menuType?: string;
@@ -60,6 +58,7 @@ export interface IBaseMenuProps {
onOptionSelect?: (option: IValueOption) => void;
}
+/** @deprecated */
function MenuWrapper(props: IBaseMenuProps) {
const { menuType, onOptionSelect } = props;
@@ -132,6 +131,7 @@ function MenuWrapper(props: IBaseMenuProps) {
: null);
}
+/** @deprecated */
function MenuOptionsWrapper(props: IBaseMenuProps) {
const { options, value, onOptionSelect, parentKey } = props;
@@ -181,6 +181,7 @@ function MenuOptionsWrapper(props: IBaseMenuProps) {
}) ?? null;
}
+/** @deprecated */
export const Menu = (props: IBaseMenuProps) => {
const { overViewport, ...restProps } = props;
const [menuEl, setMenuEl] = useState<HTMLDListElement>();
@@ -205,11 +206,13 @@ export const Menu = (props: IBaseMenuProps) => {
);
};
+/** @deprecated */
interface IMenuItemProps {
menuItem: IDisplayMenuItem<IMenuItem>;
onClick: (object: Partial<IValueOption>) => void;
}
+/** @deprecated */
function MenuItem({ menuItem, onClick }: IMenuItemProps) {
const menuManagerService = useDependency(IMenuManagerService);
diff --git a/packages/ui/src/components/notification/Notification.tsx b/packages/ui/src/components/notification/Notification.tsx
index 40c3d51ccd..199482596f 100644
--- a/packages/ui/src/components/notification/Notification.tsx
+++ b/packages/ui/src/components/notification/Notification.tsx
@@ -14,14 +14,11 @@
* limitations under the License.
*/
-/* eslint-disable react-refresh/only-export-components */
-
-import { ConfigContext } from '@univerjs/design';
+import type { Placement } from 'rc-notification/es/interface';
+import { clsx, ConfigContext } from '@univerjs/design';
import { CloseSingle, ErrorSingle, SuccessSingle, WarningSingle } from '@univerjs/icons';
-import clsx from 'clsx';
import { useNotification } from 'rc-notification';
-import type { Placement } from 'rc-notification/es/interface';
-import React, { useContext, useEffect, useRef } from 'react';
+import { useContext, useEffect, useRef } from 'react';
import { Subject } from 'rxjs';
import styles from './index.module.less';
diff --git a/packages/ui/src/services/menu/menu.ts b/packages/ui/src/services/menu/menu.ts
index 783e428f0a..da202b1635 100644
--- a/packages/ui/src/services/menu/menu.ts
+++ b/packages/ui/src/services/menu/menu.ts
@@ -45,9 +45,8 @@ interface IMenuItemBase<V> {
description?: string;
icon?: string | Observable<string>;
tooltip?: string;
-
+ slot?: boolean;
type: MenuItemType;
-
/**
* Custom label component id.
*/
@@ -56,6 +55,7 @@ interface IMenuItemBase<V> {
| {
name: string;
hoverable?: boolean;
+ selectable?: boolean;
props?: Record<string, any>;
}; // custom component, send to CustomLabel label property
@@ -75,11 +75,13 @@ export interface IValueOption<T = undefined> {
id?: string;
value?: string | number;
value$?: Observable<T>;
+ slot?: boolean;
label?:
| string
| {
name: string;
hoverable?: boolean;
+ selectable?: boolean;
props?: Record<string, string | number | Array<{ [x: string | number]: string }>>;
}; // custom component, send to CustomLabel label property
icon?: string;
diff --git a/packages/ui/src/views/components/global-zone/GlobalZone.tsx b/packages/ui/src/views/components/global-zone/GlobalZone.tsx
index 07a490614b..2b079feeec 100644
--- a/packages/ui/src/views/components/global-zone/GlobalZone.tsx
+++ b/packages/ui/src/views/components/global-zone/GlobalZone.tsx
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-import clsx from 'clsx';
-import React, { useEffect, useMemo, useState } from 'react';
+import { clsx } from '@univerjs/design';
+import { useEffect, useMemo, useState } from 'react';
import { ComponentManager } from '../../../common/component-manager';
import { IGlobalZoneService } from '../../../services/global-zone/global-zone.service';
import { useDependency, useObservable } from '../../../utils/di';
diff --git a/packages/ui/src/views/components/ribbon/ToolbarItem.tsx b/packages/ui/src/views/components/ribbon/ToolbarItem.tsx
index 534a454682..385cbc6f82 100644
--- a/packages/ui/src/views/components/ribbon/ToolbarItem.tsx
+++ b/packages/ui/src/views/components/ribbon/ToolbarItem.tsx
@@ -17,20 +17,19 @@
import type { IDisplayMenuItem, IMenuItem, IMenuSelectorItem, IValueOption } from '../../../services/menu/menu';
import type { ITooltipWrapperRef } from './TooltipButtonWrapper';
import { ICommandService, LocaleService } from '@univerjs/core';
+import { clsx } from '@univerjs/design';
import { MoreDownSingle } from '@univerjs/icons';
-import clsx from 'clsx';
import { forwardRef, useMemo } from 'react';
import { isObservable, Observable } from 'rxjs';
import { ComponentManager } from '../../../common/component-manager';
import { CustomLabel } from '../../../components/custom-label/CustomLabel';
-import { Menu } from '../../../components/menu/desktop/Menu';
import { ILayoutService } from '../../../services/layout/layout.service';
import { MenuItemType } from '../../../services/menu/menu';
import { useDependency, useObservable } from '../../../utils/di';
import { ToolbarButton } from './Button/ToolbarButton';
import { useToolbarItemStatus } from './hook';
import styles from './index.module.less';
-import { DropdownWrapper, TooltipWrapper } from './TooltipButtonWrapper';
+import { DropdownMenuWrapper, TooltipWrapper } from './TooltipButtonWrapper';
export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenuItem>>((props, ref) => {
const localeService = useDependency(LocaleService);
@@ -45,7 +44,7 @@ export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenu
commandService.executeCommand(commandId, params);
};
- const { tooltip, shortcut, icon, title, label, id, commandId, type } = props;
+ const { tooltip, shortcut, icon, title, label, id, commandId, type, slot } = props;
const tooltipTitle = localeService.t(tooltip ?? '') + (shortcut ? ` (${shortcut})` : '');
@@ -133,16 +132,13 @@ export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenu
/>
</div>
- <DropdownWrapper
+ <DropdownMenuWrapper
+ menuId={id}
+ slot={slot}
+ value={value}
+ options={options}
disabled={disabled}
- overlay={(
- <Menu
- menuType={id}
- options={options}
- onOptionSelect={handleSelect}
- value={value}
- />
- )}
+ onOptionSelect={handleSelect}
>
<div
className={clsx(`
@@ -158,22 +154,18 @@ export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenu
>
<MoreDownSingle className="univer-text-gray-400" />
</div>
- </DropdownWrapper>
+ </DropdownMenuWrapper>
</div>
);
} else {
return (
- <DropdownWrapper
+ <DropdownMenuWrapper
+ menuId={id}
+ slot={slot}
+ value={value}
+ options={options}
disabled={disabled}
- overlay={(
- <Menu
- overViewport="scroll"
- menuType={id}
- options={options}
- onOptionSelect={handleSelect}
- value={value}
- />
- )}
+ onOptionSelect={handleSelect}
>
<div
className={clsx(styles.toolbarItemSelect, {
@@ -196,7 +188,7 @@ export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenu
<MoreDownSingle className="univer-text-gray-400" />
</div>
</div>
- </DropdownWrapper>
+ </DropdownMenuWrapper>
);
}
}
diff --git a/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx b/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx
index 23e577c599..5002b43eb9 100644
--- a/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx
+++ b/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx
@@ -14,10 +14,16 @@
* limitations under the License.
*/
-import type { ITooltipProps } from '@univerjs/design';
+import type { IDropdownProps, ITooltipProps } from '@univerjs/design';
import type { ReactNode } from 'react';
-import { Dropdown, Tooltip } from '@univerjs/design';
-import { createContext, forwardRef, useContext, useImperativeHandle, useMemo, useRef, useState } from 'react';
+import type { IMenuItem, IValueOption } from '../../../services/menu/menu';
+import { clsx, Dropdown, DropdownMenu, Tooltip } from '@univerjs/design';
+import { CheckMarkSingle } from '@univerjs/icons';
+import { createContext, forwardRef, useContext, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
+import { combineLatest, of } from 'rxjs';
+import { CustomLabel } from '../../../components/custom-label/CustomLabel';
+import { IMenuManagerService } from '../../../services/menu/menu-manager.service';
+import { useDependency } from '../../../utils/di';
const TooltipWrapperContext = createContext({
dropdownVisible: false,
@@ -97,3 +103,232 @@ export function DropdownWrapper({ children, overlay, disabled }: { children: Rea
</Dropdown>
);
}
+
+function Label({ icon, value, option, onOptionSelect }: {
+ icon?: IMenuItem['icon'];
+ value?: string | number;
+ option: IValueOption;
+ onOptionSelect?: (option: IValueOption) => void;
+}) {
+ const onChange = (v: string | number) => {
+ onOptionSelect?.({ value: v, label: option?.label, commandId: option?.commandId });
+ };
+
+ const hasCheckMark = typeof option.label === 'string' || (typeof option.label === 'object' && option.label?.selectable !== false);
+
+ return (
+ <div
+ className={clsx('univer-relative univer-flex univer-items-center univer-gap-2', {
+ 'univer-pl-6': hasCheckMark,
+ })}
+ >
+ {hasCheckMark && String(value) === String(option.value) && (
+ <CheckMarkSingle
+ className="univer-absolute univer-left-1 univer-top-0.5 univer-text-primary-600"
+ />
+ )}
+ <CustomLabel
+ icon={icon}
+ value$={option.value$}
+ value={option.value}
+ label={option.label}
+ onChange={onChange}
+ />
+ </div>
+ );
+}
+
+export function DropdownMenuWrapper({
+ menuId,
+ slot,
+ value,
+ options,
+ children,
+ disabled,
+ onOptionSelect,
+}: {
+ menuId: string;
+ slot?: boolean;
+ value?: string | number;
+ options: IValueOption[];
+ children: ReactNode;
+ disabled?: boolean;
+ onOptionSelect: (option: IValueOption) => void;
+}) {
+ const { setDropdownVisible } = useContext(TooltipWrapperContext);
+
+ const menuManagerService = useDependency(IMenuManagerService);
+ const [hiddenStates, setHiddenStates] = useState<Record<string, boolean>>({});
+
+ const menuItems = useMemo(() => {
+ return menuId ? menuManagerService.getMenuByPositionKey(menuId) : [];
+ }, [menuId]);
+
+ const filteredMenuItems = useMemo(() => {
+ return menuItems.filter((item) => {
+ if (!item.children) return item;
+
+ const itemKey = item.key?.toString() || '';
+ return !hiddenStates[itemKey];
+ });
+ }, [menuItems, hiddenStates]);
+
+ function handleVisibleChange(visible: boolean) {
+ setDropdownVisible(visible);
+ }
+
+ useEffect(() => {
+ const subscriptions = menuItems.map((item) => {
+ if (!item.children) return null;
+
+ const hiddenObservables = item.children.map((subItem) => subItem.item?.hidden$ ?? of(false));
+
+ return combineLatest(hiddenObservables).subscribe((hiddenValues) => {
+ const isAllHidden = hiddenValues.every((hidden) => hidden === true);
+ setHiddenStates((prev) => ({
+ ...prev,
+ [item.key]: isAllHidden,
+ }));
+ });
+ });
+
+ return () => {
+ subscriptions.forEach((sub) => sub?.unsubscribe());
+ setHiddenStates({});
+ };
+ }, [menuItems]);
+
+ if (slot) {
+ return (
+ <DropdownWrapper
+ disabled={disabled}
+ overlay={options.map((option, index) => (
+ <Label
+ key={index}
+ value={value}
+ option={option}
+ onOptionSelect={onOptionSelect}
+ />
+ ))}
+ >
+ {children}
+ </DropdownWrapper>
+ );
+ }
+
+ // options menu
+ if (options?.length) {
+ const items: IDropdownProps['items'] = options.map((option) => ({
+ type: 'item',
+ className: clsx({
+ 'focus:univer-bg-white': typeof option.label !== 'string' && option.label?.hoverable === false,
+ }),
+ children: (
+ <Label
+ icon={option.icon}
+ value={value}
+ option={option}
+ onOptionSelect={onOptionSelect}
+ />
+ ),
+ disabled: option.disabled,
+ onSelect: () => {
+ if (typeof option.value === 'undefined') return;
+
+ onOptionSelect?.({
+ ...option,
+ });
+ },
+ }));
+
+ for (const menuItem of filteredMenuItems) {
+ if (!menuItem.item) continue;
+
+ const { title, id, commandId, icon } = menuItem.item;
+
+ if (!title) {
+ throw new Error('Menu item title is required');
+ }
+
+ items.push({
+ type: 'item',
+ children: (
+ <Label
+ icon={icon}
+ value={value}
+ option={{
+ label: {
+ name: title,
+ selectable: false,
+ },
+ }}
+ />
+ ),
+ onSelect: () => {
+ onOptionSelect?.({
+ commandId,
+ id,
+ });
+ },
+ });
+ }
+
+ return (
+ <DropdownMenu
+ align="start"
+ items={items}
+ disabled={disabled}
+ onOpenChange={handleVisibleChange}
+ >
+ {children}
+ </DropdownMenu>
+ );
+ } else {
+ const items: IDropdownProps['items'] = [];
+
+ for (const menuItem of filteredMenuItems) {
+ if (menuItem.item) {
+ const { title, id, commandId, icon } = menuItem.item;
+
+ if (!title) {
+ throw new Error('Menu item title is required');
+ }
+
+ items.push({
+ type: 'item',
+ children: (
+ <Label
+ icon={icon}
+ value={value}
+ option={{
+ label: {
+ name: title,
+ selectable: false,
+ },
+ }}
+ />
+ ),
+ onSelect: () => {
+ onOptionSelect?.({
+ commandId,
+ id,
+ });
+ },
+ });
+ } else if (menuItem.children?.length) {
+ // sub menu
+ }
+ }
+
+ return (
+ <DropdownMenu
+ align="start"
+ items={items}
+ disabled={disabled}
+ onOpenChange={handleVisibleChange}
+ >
+ {children}
+ </DropdownMenu>
+ );
+ }
+}
diff --git a/packages/ui/src/views/components/zen-zone/ZenZone.tsx b/packages/ui/src/views/components/zen-zone/ZenZone.tsx
index 5ae628d9d4..9f1298bc92 100644
--- a/packages/ui/src/views/components/zen-zone/ZenZone.tsx
+++ b/packages/ui/src/views/components/zen-zone/ZenZone.tsx
@@ -14,9 +14,8 @@
* limitations under the License.
*/
-import clsx from 'clsx';
-import React, { useEffect, useMemo, useState } from 'react';
-
+import { clsx } from '@univerjs/design';
+import { useEffect, useMemo, useState } from 'react';
import { ComponentManager } from '../../../common/component-manager';
import { IZenZoneService } from '../../../services/zen-zone/zen-zone.service';
import { useDependency, useObservable } from '../../../utils/di';
diff --git a/packages/ui/src/views/workbench/Workbench.tsx b/packages/ui/src/views/workbench/Workbench.tsx
index 8bad4b51e9..9fcb771b02 100644
--- a/packages/ui/src/views/workbench/Workbench.tsx
+++ b/packages/ui/src/views/workbench/Workbench.tsx
@@ -18,9 +18,8 @@ import type { DocumentDataModel, IDocumentData, Nullable } from '@univerjs/core'
import type { ILocale } from '@univerjs/design';
import type { IWorkbenchOptions } from '../../controllers/ui/ui.controller';
import { DocumentFlavor, IUniverInstanceService, LocaleService, ThemeService, UniverInstanceType } from '@univerjs/core';
-import { ConfigContext, ConfigProvider, defaultTheme, themeInstance } from '@univerjs/design';
-import clsx from 'clsx';
-import React, { useContext, useEffect, useMemo, useRef, useState } from 'react';
+import { clsx, ConfigContext, ConfigProvider, defaultTheme, themeInstance } from '@univerjs/design';
+import { useContext, useEffect, useMemo, useRef, useState } from 'react';
import { createPortal } from 'react-dom';
import { BuiltInUIPart } from '../../services/parts/parts.service';
import { useDependency } from '../../utils/di';
@@ -79,14 +78,12 @@ export function DesktopWorkbench(props: IUniverWorkbenchProps) {
return () => {
sub.unsubscribe();
};
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect(() => {
if (!themeService.getCurrentTheme()) {
themeService.setTheme(defaultTheme);
}
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect(() => {
diff --git a/packages/uniscript/package.json b/packages/uniscript/package.json
index c16c634d2f..6fa2e77266 100644
--- a/packages/uniscript/package.json
+++ b/packages/uniscript/package.json
@@ -83,7 +83,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/packages/watermark/package.json b/packages/watermark/package.json
index e9142d5b6d..6c8c0eeb8b 100644
--- a/packages/watermark/package.json
+++ b/packages/watermark/package.json
@@ -23,7 +23,6 @@
"exports": {
".": "./src/index.ts",
"./*": "./src/*",
- "./locale/*": "./src/locale/*.ts",
"./facade": "./src/facade/index.ts"
},
"main": "./src/index.ts",
@@ -43,11 +42,6 @@
"require": "./lib/cjs/*",
"types": "./lib/types/index.d.ts"
},
- "./locale/*": {
- "import": "./lib/es/locale/*.js",
- "require": "./lib/cjs/locale/*.js",
- "types": "./lib/types/locale/*.d.ts"
- },
"./facade": {
"import": "./lib/es/facade.js",
"require": "./lib/cjs/facade.js",
@@ -80,7 +74,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
- "vite": "^6.1.1",
- "vitest": "^3.0.6"
+ "vite": "^6.2.0",
+ "vitest": "^3.0.7"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 00149335a3..3204e62751 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,7 +16,7 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: 4.3.0
'@commitlint/cli':
specifier: ^19.7.1
version: 19.7.1(@types/[email protected])([email protected])
@@ -24,8 +24,8 @@ importers:
specifier: ^19.7.1
version: 19.7.1
'@eslint-react/eslint-plugin':
- specifier: ^1.27.0
+ specifier: ^1.28.0
'@playwright/test':
specifier: ^1.50.1
version: 1.50.1
@@ -36,8 +36,8 @@ importers:
specifier: ^9.0.4
'@storybook/react':
- specifier: 8.5.8
+ specifier: 8.6.0
'@types/node':
specifier: ^22.13.5
version: 22.13.5
@@ -55,7 +55,7 @@ importers:
version: link:packages/design
'@vitejs/plugin-react':
specifier: ^4.3.4
eslint:
specifier: 9.21.0
version: 9.21.0([email protected])
@@ -105,14 +105,14 @@ importers:
specifier: ^4.19.3
version: 4.19.3
turbo:
- specifier: ^2.4.2
- version: 2.4.2
+ specifier: ^2.4.4
+ version: 2.4.4
typescript:
specifier: ^5.7.3
version: 5.7.3
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
common/shared:
dependencies:
@@ -121,13 +121,13 @@ importers:
'@vitejs/plugin-react':
specifier: ^4.3.4
'@vitejs/plugin-vue':
specifier: ^5.2.1
'@vitest/coverage-istanbul':
specifier: ^3.0.6
autoprefixer:
specifier: ^10.4.20
version: 10.4.20([email protected])
@@ -156,17 +156,17 @@ importers:
specifier: ^3.4.17
version: 3.4.17
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vite-plugin-dts:
specifier: ^4.5.0
vite-plugin-external:
specifier: ^6.0.1
version: 6.0.1
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
devDependencies:
'@types/fs-extra':
specifier: ^11.0.4
@@ -611,11 +611,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages-experimental/debugger:
dependencies:
@@ -669,11 +669,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
optionalDependencies:
vue:
specifier: '>=3.0.0'
@@ -698,11 +698,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages-experimental/uni-docs-ui:
dependencies:
@@ -744,11 +744,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages-experimental/uni-formula:
dependencies:
@@ -763,11 +763,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages-experimental/uni-formula-ui:
dependencies:
@@ -824,11 +824,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages-experimental/uni-sheets-ui:
dependencies:
@@ -882,11 +882,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages-experimental/uni-slides-ui:
dependencies:
@@ -931,11 +931,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages-experimental/uniui:
dependencies:
@@ -992,11 +992,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/core:
dependencies:
@@ -1019,8 +1019,8 @@ importers:
specifier: ^4.17.21
version: 4.17.21
nanoid:
- specifier: 5.1.0
- version: 5.1.0
+ specifier: 5.1.2
+ version: 5.1.2
numeral:
specifier: ^2.0.6
version: 2.0.6
@@ -1053,11 +1053,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/data-validation:
dependencies:
@@ -1081,11 +1081,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/design:
dependencies:
@@ -1095,6 +1095,9 @@ importers:
'@radix-ui/react-popover':
specifier: ^1.1.6
+ '@radix-ui/react-separator':
+ specifier: ^1.1.2
'@rc-component/trigger':
specifier: ^2.2.6
@@ -1178,11 +1181,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs:
dependencies:
@@ -1203,11 +1206,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs-drawing:
dependencies:
@@ -1225,11 +1228,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs-drawing-ui:
dependencies:
@@ -1289,11 +1292,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs-hyper-link:
dependencies:
@@ -1311,11 +1314,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs-hyper-link-ui:
dependencies:
@@ -1366,11 +1369,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs-mention-ui:
dependencies:
@@ -1412,11 +1415,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs-thread-comment-ui:
dependencies:
@@ -1467,11 +1470,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/docs-ui:
dependencies:
@@ -1525,11 +1528,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/drawing:
dependencies:
@@ -1550,11 +1553,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/drawing-ui:
dependencies:
@@ -1602,11 +1605,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/engine-formula:
dependencies:
@@ -1639,11 +1642,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/engine-numfmt:
devDependencies:
@@ -1654,11 +1657,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/engine-render:
dependencies:
@@ -1694,11 +1697,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/facade:
dependencies:
@@ -1782,11 +1785,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/find-replace:
dependencies:
@@ -1828,11 +1831,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/network:
dependencies:
@@ -1850,11 +1853,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/rpc:
dependencies:
@@ -1872,11 +1875,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/rpc-node:
dependencies:
@@ -1897,11 +1900,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets:
dependencies:
@@ -1931,11 +1934,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-conditional-formatting:
dependencies:
@@ -1965,11 +1968,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-conditional-formatting-ui:
dependencies:
@@ -2041,11 +2044,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-crosshair-highlight:
dependencies:
@@ -2093,11 +2096,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-data-validation:
dependencies:
@@ -2133,11 +2136,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-data-validation-ui:
dependencies:
@@ -2209,11 +2212,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-drawing:
dependencies:
@@ -2234,11 +2237,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-drawing-ui:
dependencies:
@@ -2304,11 +2307,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-filter:
dependencies:
@@ -2329,11 +2332,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-filter-ui:
dependencies:
@@ -2393,11 +2396,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-find-replace:
dependencies:
@@ -2427,11 +2430,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-formula:
dependencies:
@@ -2461,11 +2464,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-formula-ui:
dependencies:
@@ -2528,11 +2531,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-graphics:
dependencies:
@@ -2553,11 +2556,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-hyper-link:
dependencies:
@@ -2587,11 +2590,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-hyper-link-ui:
dependencies:
@@ -2657,11 +2660,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-numfmt:
dependencies:
@@ -2688,11 +2691,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-numfmt-ui:
dependencies:
@@ -2749,11 +2752,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-sort:
dependencies:
@@ -2774,11 +2777,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-sort-ui:
dependencies:
@@ -2835,11 +2838,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-thread-comment:
dependencies:
@@ -2866,11 +2869,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-thread-comment-ui:
dependencies:
@@ -2927,11 +2930,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-ui:
dependencies:
@@ -2997,11 +3000,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/sheets-zen-editor:
dependencies:
@@ -3055,11 +3058,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/slides:
dependencies:
@@ -3077,11 +3080,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/slides-ui:
dependencies:
@@ -3138,11 +3141,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/telemetry:
dependencies:
@@ -3157,11 +3160,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/thread-comment:
dependencies:
@@ -3182,11 +3185,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/thread-comment-ui:
dependencies:
@@ -3234,11 +3237,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/ui:
dependencies:
@@ -3298,11 +3301,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
optionalDependencies:
vue:
specifier: '>=3.0.0'
@@ -3351,11 +3354,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages/watermark:
dependencies:
@@ -3376,11 +3379,11 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vite:
- specifier: ^6.1.1
+ specifier: ^6.2.0
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
tests/formula-integration:
dependencies:
@@ -3428,8 +3431,8 @@ importers:
specifier: ^5.7.3
version: 5.7.3
vitest:
- specifier: ^3.0.6
+ specifier: ^3.0.7
packages:
@@ -4033,132 +4036,66 @@ packages:
resolution: {integrity: sha512-+zZymuVLH6zVwXPtCAtC+bDymxmEwEqDftdAK+f407IF1bnX49anIxvBhCA1AqUIfD6egj1jM1vUnSuijjNyYg==}
engines: {node: '>=18'}
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [aix]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [aix]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==}
engines: {node: '>=18'}
cpu: [arm64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==}
engines: {node: '>=18'}
cpu: [arm]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==}
engines: {node: '>=18'}
cpu: [x64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==}
engines: {node: '>=18'}
cpu: [x64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==}
engines: {node: '>=18'}
cpu: [arm64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==}
engines: {node: '>=18'}
cpu: [x64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==}
engines: {node: '>=18'}
cpu: [arm64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==}
engines: {node: '>=18'}
cpu: [arm]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==}
engines: {node: '>=18'}
@@ -4171,168 +4108,84 @@ packages:
cpu: [loong64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==}
- engines: {node: '>=18'}
- cpu: [loong64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==}
engines: {node: '>=18'}
cpu: [loong64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==}
- engines: {node: '>=18'}
- cpu: [mips64el]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==}
engines: {node: '>=18'}
cpu: [mips64el]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==}
- engines: {node: '>=18'}
- cpu: [riscv64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==}
engines: {node: '>=18'}
cpu: [riscv64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==}
- engines: {node: '>=18'}
- cpu: [s390x]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==}
engines: {node: '>=18'}
cpu: [s390x]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==}
engines: {node: '>=18'}
cpu: [x64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [netbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [netbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==}
engines: {node: '>=18'}
cpu: [x64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==}
engines: {node: '>=18'}
cpu: [x64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [sunos]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==}
engines: {node: '>=18'}
cpu: [x64]
os: [sunos]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==}
engines: {node: '>=18'}
cpu: [ia32]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==}
engines: {node: '>=18'}
@@ -4355,20 +4208,20 @@ packages:
resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-nX+dkD2inurB6ocPisl4WlUj6VEHdNuNrKQGRgq/neQz8kd75k9ndh8HLR2BDDFHo0RKzHU+1FwI7HfylTMzNw==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-KZ0roDM5MZW8h1OH7rr8ePCmsEchg4V4X425mlosAGQivMt0/p+hDq47wJduLi7A0xZ731H7OG7blJvBpBO52A==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-4vLYbYV5VY4eOPXRIhGp+adQwyO5NUJzfNd5dhyFqw1ayyUUoU+jaFLUQscolrzPZlEKgryMR0bOKoGs1+gBkQ==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-V0bjUHReS+/P7ssWUCVmNj0/1yInEuKMCxp5tGWHHFI6OZhszWbbydoe6KVZtMWsbPtuP9Xyl9ZHwMK5Zp4Z4g==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-syTXC5fdZhqpF0DLjjWAE260a0g7eMT8PFo+PzRdS8yP0d+o7mBKrZu9ArSmlQtU1uDruT/9k+kuHKDZ6mmIYw==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-fFHsXs+DHhQMnMrVOUJB/aRJvVouHWF/Zn+wPYr2SXuH2ZTASiDAwJAUWPOgOPy556TwW+SaNpqkaJVDKXcSTg==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-kFXp7xvvh4ogLljI0H8c2HYOtdd+isRIyX98BZnUh+x9wO6FXWd3Hds9F8ofcQoJu+k9YFckMnivjGfjUvyq0w==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-3tWXx1ekjQ57IE/YgcaQKDHvYWafqquR+kR1ukJMyiRs7/W7d3l5gzjVHPEHmduQ0d5g87oH0Xsbt4ykKdLLaQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -4377,16 +4230,16 @@ packages:
typescript:
optional: true
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-Cs3TRjfgxRDaE3rFFYPdL4dZLHqxSnJ4DN5OgeuQEAX1SGiGF8jqKdsLz8axbFSOdID71FFITcG8POrGgm4CSg==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-IUeb13IJnJrhrhjXL7g53/FjQstdw0SYAPFq5BOM8kVQn6bqQhkY17pZt/oaBd0cMzT9rN4UOZPUdTQmcdkj0g==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-yy5CG8kw2aWCpy7qZD9pjkU0B28H+dw+pG+RF/jAnAFfvLDN6VqgBp3RGy90eduyq4cUQ/tgJKqqjJaSxLTxMw==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-SennAGq/D6TvkUgg4Rn6Qu2xGNF1KFx+sDEbr7A5xCV+PDlZbR+kaPx3Wyt3Rc6i4QyjBfraPoVw5GdinPBZ2g==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-Rev0TxLjcwxXno5ej+8iVVOeOM+yAiQ0e+i2/uISNHB1Uj8d7uQzI7bOZpI44Th50StaelDuPoxueBAp/bXemA==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-PxcVbuYupbhvlzH1vaXtQMpbU3WJWSHwOlzlJK3d6DddTi6ryH0aPT+nCI8wH0zPgPYBUzkZIa9PLIknV4+DJw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
'@eslint/[email protected]':
@@ -4882,6 +4735,19 @@ packages:
'@types/react-dom':
optional: true
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-oZfHcaAp2Y6KFBX6I5P1u7CQoy4lheCGiYj+pGFrHy8E/VNRb5E39TkTr3JrV520csPBTZjkuKFdEsjS5EUNKQ==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-YAKxaiGsSQJ38VzKH86/BPRC4rh+b1Jpa+JneA5LRE7skmLPNAyeG8kPJj/oo4STLvlrs8vkf/iYyc3A5stYCQ==}
peerDependencies:
@@ -5216,6 +5082,11 @@ packages:
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-k5MQAuLPt5KOaa5J4QvX/WKucaiFTMJiEX5lsSaY6qON6Sx8PtnLQxVwWF7BIMW/jLpd94BUxrVjVrQKlwoLKQ==}
+ peerDependencies:
+ storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+
'@storybook/[email protected]':
resolution: {integrity: sha512-M2LNQdYp0br8fgKMVtBh7YIo8mQsgALLc4i9PEXRS7wrp+bhvVnA9qhd5xDPzb0Rl4CHYbs4Yvkzo7ZQMibeIQ==}
peerDependencies:
@@ -5257,6 +5128,11 @@ packages:
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-ddBibYrO3yQCdtZBqQYqfABjR9eS+llvt2NFDajfyQw+zmuNIZfw4BDGKH1WHE4wm/kXmlFFhPHXaHgAPTRPfQ==}
+ peerDependencies:
+ storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+
'@storybook/[email protected]':
resolution: {integrity: sha512-IZEiTLFHu8Oom/vdEGpisSw5CfU+cw6/fTaX1P3EVClFOWVuy8/3X5MPu4wJH3jPym6E2DBduIUFeRsiuq61gA==}
@@ -5277,6 +5153,11 @@ packages:
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-c/sZj4Tb+DtdCndcjoFUneUwl2XUdQckqN4nf1SuIJ/BXRbAexlD04fvPJ4wzmwUNg8EQF7BhTWVNDa1RvJz2w==}
+ peerDependencies:
+ storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+
'@storybook/[email protected]':
resolution: {integrity: sha512-KUqXC3oa9JuQ0kZJLBhVdS4lOneKTOopnNBK4tUAgoxWQ3u/IjzdueZjFr7gyBrXMoU6duutk3RQR9u8ZpYJ4Q==}
peerDependencies:
@@ -5290,6 +5171,13 @@ packages:
react-dom: 19.0.0
storybook: ^8.5.8
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-5Y+vMHhcx0xnaNsLQMbkmjc3zkDn/fGBNsiLH2e4POvW3ZQvOxjoyxAsEQaKwLtFgsdCFSd2tR89F6ItYrA2JQ==}
+ peerDependencies:
+ react: 19.0.0
+ react-dom: 19.0.0
+ storybook: ^8.6.0
+
'@storybook/[email protected]':
resolution: {integrity: sha512-ZgYrJF7IptRIc0q7aYlrW2oq3EZpLIGWQca3V75jebyOgfiWJ9bOmhTqlItAwg9Jx08VzcmGczcLSWCMzfyAMA==}
engines: {node: '>=18.0.0'}
@@ -5317,6 +5205,21 @@ packages:
typescript:
optional: true
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-go0KhCFcOhxkTdaMCxeuJxmc/5CaiaO76+SBzIoPIMWEh9tZQmKb+vojdKcFZswHjZV3zA1uJFUzyympspRffA==}
+ engines: {node: '>=18.0.0'}
+ peerDependencies:
+ '@storybook/test': 8.6.0
+ react: 19.0.0
+ react-dom: 19.0.0
+ storybook: ^8.6.0
+ typescript: '>= 4.2.x'
+ peerDependenciesMeta:
+ '@storybook/test':
+ optional: true
+ typescript:
+ optional: true
+
'@storybook/[email protected]':
resolution: {integrity: sha512-cpdl9Vk4msRnkINwwSNLklyWXOwAsLAA7JsHMICNPR2GFVc8T+TwZHATcRToCHXhFJTZBMMBYrnqCdD5C2Kr3g==}
peerDependencies:
@@ -5327,6 +5230,11 @@ packages:
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-te7dl0ZXnEyKS4LW+QHc3MP7nurWhWhmClY7G2WKNW9eHenb9zvXkcAQt6c4OWhrJi01CAYoXmZNJP0jEzxRRQ==}
+ peerDependencies:
+ storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
+
'@storybook/[email protected]':
resolution: {integrity: sha512-XAXi5w+mG8v8m8FFNPE0uDJb5ms39oU+HDOb6hYOYVOt4ezQkKI3g45T9qlqKfdR9rK22zB9JGUYpDir+O7zeA==}
peerDependencies:
@@ -5613,6 +5521,10 @@ packages:
resolution: {integrity: sha512-OdQr6BNBzwRjNEXMQyaGyZzgg7wzjYKfX2ZBV3E04hUCBDv3GQCHiz9RpqdUIiVrMgJGkXm3tcEh4vFSHreS2Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-6PPeiKIGbgStEyt4NNXa2ru5pMzQ8OYKO1hX1z53HMomrmiSB+R5FmChgQAP1ro8jMtNawz+TRQo/cSXrauTpg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-/Do9fmNgCsQ+K4rCz0STI7lYB4phTtEXqqCAs3gZW0pnK7lWNkvWd5iW545GSmApm4AzmQXmSqXPO565B4WVrw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -5620,16 +5532,33 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-d77dHgHWnxmXOPJuDWO4FDWADmGQkN5+tt6SFRZz/RtCWl4pHgFl3+WdYCn16+3teG09DY6XtEpf3gGD0a186g==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <5.8.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-9kqJ+2DkUXiuhoiYIUvIYjGcwle8pcPpdlfkemGvTObzgmYfJ5d0Qm6jwb4NBXP9W1I5tss0VIAnWFumz3mC5A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-+vUe0Zb4tkNgznQwicsvLUJgZIRs6ITeWSCclX1q85pR1iOiaj+4uZJIUp//Z27QWu5Cseiw3O3AR8hVpax7Aw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <5.8.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-ZPaiAKEZ6Blt/TPAx5Ot0EIB/yGtLI2EsGoY6F7XKklfMxYQyvtL+gT/UCqkMzO0BVFHLDlzvFqQzurYahxv9Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <5.8.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-OOcg3PMMQx9EXspId5iktsI3eMaXVwlhC8BvNnX6B5w9a4dVgpkQZuU8Hy67TolKcl+iFWq0XX+jbDGN4xWxjQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -5637,10 +5566,21 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-syqRbrEv0J1wywiLsK60XzHnQe/kRViI3zwFALrNEgnntn1l24Ra2KvOAWwWbWZ1lBZxZljPDGOq967dsl6fkA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <5.8.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-kCYXKAum9CecGVHGij7muybDfTS2sD3t0L4bJsEZLkyrXUImiCTq1M3LG2SRtOhiHFwMR9wAFplpT6XHYjTkwQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@univerjs/[email protected]':
resolution: {integrity: sha512-0HnWEU8k+Wr7WdqPGMxtE5CilLg4OLONTNeLAgxdpkI+lBvnBPspIXz14nBVcM4AFEQ7VRXGXGsZbVSzxM/32g==}
@@ -5691,11 +5631,11 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-zBduHf/ja7/QRX4HdP1DSq5XrPgdN+jzLOwaTq/0qZjYfgETNFCKf9nOAp2j3hmom3oTbczuUzrzg9Hafh7hNg==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-QP25f+YJhzPfHrHfYHtvRn+uvkCFCqFtW9CktfBxmB+25QqWsx7VB2As6f4GmwllHLDhXNHvqedwhvMmSnNmjw==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-KPztr4/tn7qDGZfqlSPQoF2VgJcKxnDNhmfR3VgZ6Fy1bO8T9Fc1stUiTXtqz0yG24VpD00pZP5f8EOFknjNuQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-qui+3BLz9Eonx4EAuR/i+QlCX6AUZ35taDQgwGkK/Tw6/WgwodSrjN1X2xf69IA/643ZX5zNKIn2svvtZDrs4w==}
peerDependencies:
msw: ^2.4.9
vite: ^5.0.0 || ^6.0.0
@@ -5711,20 +5651,20 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-Zyctv3dbNL+67qtHfRnUE/k8qxduOamRfAL1BurEIQSyOEFffoMvx2pnDSSbKAAVxY0Ej2J/GH2dQKI0W2JyVg==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-CiRY0BViD/V8uwuEzz9Yapyao+M9M008/9oMOSQydwbwb+CMokEq3XVaF3XK/VWaOK0Jm9z7ENhybg70Gtxsmg==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-JopP4m/jGoaG1+CBqubV/5VMbi7L+NQCJTu1J1Pf6YaUbk7bZtaq5CX7p+8sY64Sjn1UQ1XJparHfcvTTdu9cA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-WeEl38Z0S2ZcuRTeyYqaZtm4e26tq6ZFqh5y8YD9YxfWuu0OFiGFUbnxNynwLjNRHPsXyee2M9tV7YxOTPZl2g==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-qKSmxNQwT60kNwwJHMVwavvZsMGXWmngD023OHSgn873pV0lylK7dwBTfYP7e4URy5NiBCHHiQGA9DHkYkqRqg==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-eqTUryJWQN0Rtf5yqCGTQWsCFOQe4eNz5Twsu21xYEcnFJtMU5XvmG0vgebhdLlrHQTSq5p8vWHJIeJQV8ovsA==}
'@vitest/[email protected]':
resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-HfOGx/bXtjy24fDlTOpgiAEJbRfFxoX3zIGagCqACkFKKZ/TTOE6gYMKXlqecvxEndKFuNHcHqP081ggZ2yM0Q==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-4T4WcsibB0B6hrKdAZTM37ekuyFZt2cGbEGd2+L0P8ov15J1/HUsUaqkXEQPNAWr4BtPPe1gI+FYfMHhEKfR8w==}
'@vitest/[email protected]':
resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==}
@@ -5732,8 +5672,8 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-18ktZpf4GQFTbf9jK543uspU03Q2qya7ZGya5yiZ0Gx0nnnalBvd5ZBislbl2EhLjM8A8rt4OilqKG7QwcGkvQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-xePVpCRfooFX3rANQjwoditoXgWb1MaFbzmGuPP59MK6i13mrnDw/yEIyJudLeW6/38mCNcwCiJIGmpDPibAIg==}
resolution: {integrity: sha512-lN2C1+ByfW9/JRPpqScuZt/4OrUUse57GLI6TbLgTIqBVemdl1wNcZ1qYGEo2+Gw8coYLgCy7SuKqn6IrQcQgg==}
@@ -7177,11 +7117,6 @@ packages:
engines: {node: '>=12'}
hasBin: true
- resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==}
- engines: {node: '>=18'}
- hasBin: true
-
resolution: {integrity: sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==}
engines: {node: '>=18'}
@@ -7331,8 +7266,8 @@ packages:
peerDependencies:
eslint: '>=8.0.0'
- resolution: {integrity: sha512-V6hY2a5B3P5gcfqz/pIATxIrlxMXZEzrNaPpMt1jb4ZFLxW5QAvdr9NsUv1s43JpPD4dBBMgJN80ufFLGo6M5w==}
+ resolution: {integrity: sha512-GsypuqEV/kzIgKUXRGMUf5+9s/lAC8QTs9IkTzranUnKA2kEKtiHypZ6xPwA4gMvZa8KX6pRjTWylbbsP+Lkzw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7341,8 +7276,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-epYuDQO5JT+8Rt/FCw8Fr/wJzk4Jtvd6hz30NpC/NwhX4PKqMVVLvUBLzPfKkVaU7PEtjJcYHMGmuEaWtqjhlQ==}
+ resolution: {integrity: sha512-KjVJL4oSCSDEx1jmQ1ikZ875BkMPN3TcrrjlvqiaOojNXlbGBgo4w4ADndgRWwGOAmv71DDXtTyvb8LaAsAzjA==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7351,8 +7286,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-f9cZAkeKInffgWFH6SW7I7ZJkVKfRMC8pKyIs0fa5xJsRy9vwetLhS0UdN9J+LJtOS0KtIzYw1H8QAokgkAF1w==}
+ resolution: {integrity: sha512-aqvRPBr1is5clBMzlUeTJC6TcaIyRDA1lUSUaO5QaCoJ9cc3WpyhhEO4VffX2g028YlwsRVObQz+roRPkCo2dg==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7367,8 +7302,8 @@ packages:
peerDependencies:
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
- resolution: {integrity: sha512-YD5ZPpNUnu83B+pCDNbBpjVzrOLaZK2cTGkMMj6tKYFi0RU5P50peI0kQchwKveCBdOghhh1UyuywOXHdpmPtA==}
+ resolution: {integrity: sha512-5EDlIWRWg7nSL15z0j1zpdb8vHbB7DGEMlW3koKsYo65sryicPxWXBybkxg38oXoKrNvwgvjZhXNvftKZle01Q==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7382,8 +7317,8 @@ packages:
peerDependencies:
eslint: '>=8.40'
- resolution: {integrity: sha512-eiDZhwswA+42q2/2erzuwMiZPkOMcC0K5WyjwIDPbiOTG+uGjBX5vvrwqgsfCtfVsAquP0Te/ywXZ9fMOSzKhQ==}
+ resolution: {integrity: sha512-uECq1oF2oiLaETZoxh8e9MVwae2QOLDmZTJhVcOmb3giWgx3UKI/b/sNl7/u/UtUS1dZHvSTRRvE75dTBl3PNw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7392,8 +7327,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-We3GlXwymp0bm84OzqDZPiuBz/+9krgCXXSE1cOvrCFz3qfh9r8QHczfzTKFehHR2CMx7fDzWvwDlg1ot1x//w==}
+ resolution: {integrity: sha512-LbDX+3WVAetM1fFX83vXnlO4Eu1NX3+bcsCUS6rEIF+egDYAVQC87Su4ZmXZOdVQI5HTBidJs9Ji7ZwjgCUglw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -8941,8 +8876,8 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
- resolution: {integrity: sha512-zDAl/llz8Ue/EblwSYwdxGBYfj46IM1dhjVi8dyp9LQffoIGxJEAHj2oeZ4uNcgycSRcQ83CnfcZqEJzVDLcDw==}
+ resolution: {integrity: sha512-b+CiXQCNMUGe0Ri64S9SXFcP9hogjAJ2Rd6GdVxhPLRm7mhGaM7VgOvCAJ1ZshfHbqVDI3uqTI5C8/GaKuLI7g==}
engines: {node: ^18 || >=20}
hasBin: true
@@ -10686,38 +10621,38 @@ packages:
engines: {node: '>=18.0.0'}
hasBin: true
- resolution: {integrity: sha512-HFfemyWB60CJtEvVQj9yby5rkkWw9fLAdLtAPGtPQoU3tKh8t/uzCAZKso2aPVbib9vGUuGbPGoGpaRXdVhj5g==}
+ resolution: {integrity: sha512-5kPvRkLAfmWI0MH96D+/THnDMGXlFNmjeqNRj5grLKiry+M9pKj3pRuScddAXPdlxjO5Ptz06UNaOQrrYGTx1g==}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-uwSx1dsBSSFeEC0nxyx2O219FEsS/haiESaWwE9JI8mHkQK61s6w6fN2G586krKxyNam4AIxRltleL+O2Em94g==}
+ resolution: {integrity: sha512-/gtHPqbGQXDFhrmy+Q/MFW2HUTUlThJ97WLLSe4bxkDrKHecDYhAjbZ4rN3MM93RV9STQb3Tqy4pZBtsd4DfCw==}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-Fy/uL8z/LAYcPbm7a1LwFnTY9pIi5FAi12iuHsgB7zHjdh4eeIKS2NIg4nroAmTcUTUZ0/cVTo4bDOCUcS3aKw==}
+ resolution: {integrity: sha512-SR0gri4k0bda56hw5u9VgDXLKb1Q+jrw4lM7WAhnNdXvVoep4d6LmnzgMHQQR12Wxl3KyWPbkz9d1whL6NTm2Q==}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-AEA0d8h5W/K6iiXfEgiNwWt0yqRL1NpBs8zQCLdc4/L7WeYeJW3sORWX8zt7xhutF/KW9gTm8ehKpiK6cCIsAA==}
+ resolution: {integrity: sha512-COXXwzRd3vslQIfJhXUklgEqlwq35uFUZ7hnN+AUyXx7hUOLIiD5NblL+ETrHnhY4TzWszrbwUMfe2BYWtaPQg==}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-CybtIZ9wRgnnNFVN9En9G+rxsO+mwU81fvW4RpE8BWyNEkhQ8J28qYf4PaimueMxGHHp/28i/G7Kcdn2GAWG0g==}
+ resolution: {integrity: sha512-PV9rYNouGz4Ff3fd6sIfQy5L7HT9a4fcZoEv8PKRavU9O75G7PoDtm8scpHU10QnK0QQNLbE9qNxOAeRvF0fJg==}
cpu: [x64]
os: [win32]
- resolution: {integrity: sha512-7V0yneVPL8Y3TgrkUIjw7Odmwu1tHnyIiPHFM7eFcA7U+H6hPXyCxge7nC3wOKfjhKCQqUm+Vf/k6kjmLz5G4g==}
+ resolution: {integrity: sha512-403sqp9t5sx6YGEC32IfZTVWkRAixOQomGYB8kEc6ZD+//LirSxzeCHCnM8EmSXw7l57U1G+Fb0kxgTcKPU/Lg==}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-Qxi0ioQCxMRUCcHKHZkTnYH8e7XCpNfg9QiJcyfWIc+ZXeaCjzV5rCGlbQlTXMAtI8qgfP8fZADv3CFtPwqdPQ==}
+ resolution: {integrity: sha512-N9FDOVaY3yz0YCOhYIgOGYad7+m2ptvinXygw27WPLQvcZDl3+0Sa77KGVlLSiuPDChOUEnTKE9VJwLSi9BPGQ==}
hasBin: true
@@ -10929,8 +10864,8 @@ packages:
resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-s51RzrTkXKJrhNbUzQRsarjmAae7VmMPAsRT7lppVpIg6mK3zGthP9Hgz0YQQKuNcF+Ii7DfYk3Fxz40jRmePw==}
+ resolution: {integrity: sha512-2fX0QwX4GkkkpULXdT1Pf4q0tC1i1lFOyseKoonavXUNlQ77KpW2XqBGGNIm/J4Ows4KxgGJzDguYVPKwG/n5A==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
@@ -10947,8 +10882,8 @@ packages:
resolution: {integrity: sha512-6CxUTn7FJgK6rErNTjfD2eLoWm0UjfkvrOpl5viWV0j9oGk9rXkLHOFu3ZMXJpDY6M1uOIHx4btmvEAY7d8xfA==}
engines: {node: '>=14.18.0', vite: '>=3.1.0'}
- resolution: {integrity: sha512-4GgM54XrwRfrOp297aIYspIti66k56v16ZnqHvrIM7mG+HjDlAwS7p+Srr7J6fGvEdOJ5JcQ/D9T7HhtdXDTzA==}
+ resolution: {integrity: sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
peerDependencies:
@@ -10987,16 +10922,16 @@ packages:
yaml:
optional: true
- resolution: {integrity: sha512-/iL1Sc5VeDZKPDe58oGK4HUFLhw6b5XdY1MYawjuSaDA4sEfYlY9HnS6aCEG26fX+MgUi7MwlduTBHHAI/OvMA==}
+ resolution: {integrity: sha512-IP7gPK3LS3Fvn44x30X1dM9vtawm0aesAa2yBIZ9vQf+qB69NXC5776+Qmcr7ohUXIQuLhk7xQR0aSUIDPqavg==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@types/debug': ^4.1.12
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
- '@vitest/browser': 3.0.6
- '@vitest/ui': 3.0.6
+ '@vitest/browser': 3.0.7
+ '@vitest/ui': 3.0.7
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
@@ -11274,7 +11209,7 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25
dependencies:
'@antfu/install-pkg': 1.0.0
'@clack/prompts': 0.10.0
@@ -11283,7 +11218,7 @@ snapshots:
'@stylistic/eslint-plugin': 4.0.1([email protected]([email protected]))([email protected])
'@typescript-eslint/parser': 8.24.1([email protected]([email protected]))([email protected])
ansis: 3.15.0
cac: 6.7.14
eslint: 9.21.0([email protected])
@@ -11313,7 +11248,7 @@ snapshots:
vue-eslint-parser: 9.4.3([email protected]([email protected]))
yaml-eslint-parser: 1.2.3
optionalDependencies:
eslint-plugin-format: 1.0.1([email protected]([email protected]))
eslint-plugin-react-hooks: 5.1.0([email protected]([email protected]))
eslint-plugin-react-refresh: 0.4.19([email protected]([email protected]))
@@ -11999,156 +11934,81 @@ snapshots:
esquery: 1.6.0
jsdoc-type-pratt-parser: 4.1.0
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
@@ -12165,12 +12025,12 @@ snapshots:
'@eslint-community/[email protected]': {}
dependencies:
- '@eslint-react/eff': 1.27.0
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/typescript-estree': 8.24.1([email protected])
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/typescript-estree': 8.25.0([email protected])
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12178,17 +12038,17 @@ snapshots:
- supports-color
- typescript
- dependencies:
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/type-utils': 8.25.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
birecord: 0.1.1
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12196,47 +12056,47 @@ snapshots:
- supports-color
- typescript
- '@eslint-react/[email protected]': {}
+ '@eslint-react/[email protected]': {}
dependencies:
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/type-utils': 8.25.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
eslint: 9.21.0([email protected])
- eslint-plugin-react-debug: 1.27.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-dom: 1.27.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-hooks-extra: 1.27.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-naming-convention: 1.27.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-web-api: 1.27.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-debug: 1.28.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-dom: 1.28.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-hooks-extra: 1.28.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-naming-convention: 1.28.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-web-api: 1.28.0([email protected]([email protected]))([email protected])
optionalDependencies:
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- ts-api-utils
dependencies:
- '@eslint-react/eff': 1.27.0
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
ts-pattern: 5.6.2
transitivePeerDependencies:
- eslint
- supports-color
- typescript
dependencies:
- '@eslint-react/eff': 1.27.0
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
picomatch: 4.0.2
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12244,13 +12104,13 @@ snapshots:
- supports-color
- typescript
dependencies:
- '@eslint-react/eff': 1.27.0
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12788,6 +12648,15 @@ snapshots:
'@types/react': 19.0.8
'@types/react-dom': 19.0.3(@types/[email protected])
+ dependencies:
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
dependencies:
'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
@@ -13149,6 +13018,10 @@ snapshots:
dependencies:
storybook: 8.5.8([email protected])
+ dependencies:
+ storybook: 8.5.8([email protected])
+
dependencies:
storybook: 8.5.8([email protected])
@@ -13200,6 +13073,10 @@ snapshots:
dependencies:
storybook: 8.5.8([email protected])
+ dependencies:
+ storybook: 8.5.8([email protected])
+
'@storybook/[email protected]': {}
@@ -13232,6 +13109,10 @@ snapshots:
dependencies:
storybook: 8.5.8([email protected])
+ dependencies:
+ storybook: 8.5.8([email protected])
+
dependencies:
debug: 4.4.0
@@ -13252,6 +13133,12 @@ snapshots:
react-dom: 19.0.0([email protected])
storybook: 8.5.8([email protected])
+ dependencies:
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ storybook: 8.5.8([email protected])
+
dependencies:
@@ -13286,6 +13173,20 @@ snapshots:
'@storybook/test': 8.5.8([email protected]([email protected]))
typescript: 5.7.3
+ dependencies:
+ '@storybook/components': 8.6.0([email protected]([email protected]))
+ '@storybook/global': 5.0.0
+ '@storybook/manager-api': 8.6.0([email protected]([email protected]))
+ '@storybook/preview-api': 8.6.0([email protected]([email protected]))
+ '@storybook/theming': 8.6.0([email protected]([email protected]))
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ storybook: 8.5.8([email protected])
+ optionalDependencies:
+ typescript: 5.7.3
+
dependencies:
'@storybook/csf': 0.1.12
@@ -13302,6 +13203,10 @@ snapshots:
dependencies:
storybook: 8.5.8([email protected])
+ dependencies:
+ storybook: 8.5.8([email protected])
+
dependencies:
storybook: 8.5.8([email protected])
@@ -13594,6 +13499,11 @@ snapshots:
'@typescript-eslint/types': 8.24.1
'@typescript-eslint/visitor-keys': 8.24.1
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/visitor-keys': 8.25.0
+
dependencies:
'@typescript-eslint/typescript-estree': 8.24.1([email protected])
@@ -13605,8 +13515,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/typescript-estree': 8.25.0([email protected])
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
+ debug: 4.4.0
+ eslint: 9.21.0([email protected])
+ ts-api-utils: 2.0.1([email protected])
+ typescript: 5.7.3
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
+
'@typescript-eslint/[email protected]([email protected])':
dependencies:
'@typescript-eslint/types': 8.24.1
@@ -13621,6 +13544,20 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/visitor-keys': 8.25.0
+ debug: 4.4.0
+ fast-glob: 3.3.3
+ is-glob: 4.0.3
+ minimatch: 9.0.5
+ semver: 7.7.1
+ ts-api-utils: 2.0.1([email protected])
+ typescript: 5.7.3
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
@@ -13632,11 +13569,27 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/typescript-estree': 8.25.0([email protected])
+ eslint: 9.21.0([email protected])
+ typescript: 5.7.3
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.24.1
eslint-visitor-keys: 4.2.0
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.25.0
+ eslint-visitor-keys: 4.2.0
+
'@univerjs/[email protected]': {}
@@ -13654,23 +13607,23 @@ snapshots:
'@grpc/grpc-js': 1.10.9
rxjs: 7.8.2
dependencies:
'@babel/core': 7.26.0
'@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/[email protected])
'@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/[email protected])
'@types/babel__core': 7.20.5
react-refresh: 0.14.2
transitivePeerDependencies:
- supports-color
dependencies:
vue: 3.4.38([email protected])
dependencies:
'@istanbuljs/schema': 0.1.3
debug: 4.4.0
@@ -13682,17 +13635,17 @@ snapshots:
magicast: 0.3.5
test-exclude: 7.0.1
tinyrainbow: 2.0.0
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
eslint: 9.21.0([email protected])
optionalDependencies:
typescript: 5.7.3
'@vitest/[email protected]':
dependencies:
@@ -13701,20 +13654,20 @@ snapshots:
chai: 5.2.0
tinyrainbow: 1.2.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/spy': 3.0.6
- '@vitest/utils': 3.0.6
+ '@vitest/spy': 3.0.7
+ '@vitest/utils': 3.0.7
chai: 5.2.0
tinyrainbow: 2.0.0
dependencies:
- '@vitest/spy': 3.0.6
+ '@vitest/spy': 3.0.7
estree-walker: 3.0.3
magic-string: 0.30.17
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -13724,18 +13677,18 @@ snapshots:
dependencies:
tinyrainbow: 1.2.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
tinyrainbow: 2.0.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/utils': 3.0.6
+ '@vitest/utils': 3.0.7
pathe: 2.0.3
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 3.0.6
+ '@vitest/pretty-format': 3.0.7
magic-string: 0.30.17
pathe: 2.0.3
@@ -13743,7 +13696,7 @@ snapshots:
dependencies:
tinyspy: 3.0.2
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
tinyspy: 3.0.2
@@ -13760,9 +13713,9 @@ snapshots:
loupe: 3.1.3
tinyrainbow: 1.2.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 3.0.6
+ '@vitest/pretty-format': 3.0.7
loupe: 3.1.3
tinyrainbow: 2.0.0
@@ -15290,34 +15243,6 @@ snapshots:
esbuild-windows-64: 0.14.54
esbuild-windows-arm64: 0.14.54
- optionalDependencies:
- '@esbuild/aix-ppc64': 0.24.2
- '@esbuild/android-arm': 0.24.2
- '@esbuild/android-arm64': 0.24.2
- '@esbuild/android-x64': 0.24.2
- '@esbuild/darwin-arm64': 0.24.2
- '@esbuild/darwin-x64': 0.24.2
- '@esbuild/freebsd-arm64': 0.24.2
- '@esbuild/freebsd-x64': 0.24.2
- '@esbuild/linux-arm': 0.24.2
- '@esbuild/linux-arm64': 0.24.2
- '@esbuild/linux-ia32': 0.24.2
- '@esbuild/linux-loong64': 0.24.2
- '@esbuild/linux-mips64el': 0.24.2
- '@esbuild/linux-ppc64': 0.24.2
- '@esbuild/linux-riscv64': 0.24.2
- '@esbuild/linux-s390x': 0.24.2
- '@esbuild/linux-x64': 0.24.2
- '@esbuild/netbsd-arm64': 0.24.2
- '@esbuild/netbsd-x64': 0.24.2
- '@esbuild/openbsd-arm64': 0.24.2
- '@esbuild/openbsd-x64': 0.24.2
- '@esbuild/sunos-x64': 0.24.2
- '@esbuild/win32-arm64': 0.24.2
- '@esbuild/win32-ia32': 0.24.2
- '@esbuild/win32-x64': 0.24.2
-
optionalDependencies:
'@esbuild/aix-ppc64': 0.25.0
@@ -15524,18 +15449,18 @@ snapshots:
- supports-color
- typescript
- dependencies:
- '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.28.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/type-utils': 8.25.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
@@ -15544,17 +15469,17 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.28.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
eslint: 9.21.0([email protected])
string-ts: 2.2.1
@@ -15564,18 +15489,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.28.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/type-utils': 8.25.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
@@ -15588,17 +15513,17 @@ snapshots:
dependencies:
eslint: 9.21.0([email protected])
- dependencies:
- '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.28.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/type-utils': 8.25.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
@@ -15611,17 +15536,17 @@ snapshots:
dependencies:
eslint: 9.21.0([email protected])
- dependencies:
- '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.28.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
@@ -15630,18 +15555,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.27.0
- '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.28.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.28.0
+ '@eslint-react/shared': 1.28.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.25.0
+ '@typescript-eslint/type-utils': 8.25.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.25.0
+ '@typescript-eslint/utils': 8.25.0([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
eslint: 9.21.0([email protected])
@@ -16551,7 +16476,7 @@ snapshots:
dependencies:
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/type-utils': 8.25.0([email protected]([email protected]))([email protected])
eslint: 9.21.0([email protected])
ts-api-utils: 2.0.1([email protected])
ts-declaration-location: 1.0.5([email protected])
@@ -17504,7 +17429,7 @@ snapshots:
@@ -19489,32 +19414,32 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optionalDependencies:
- turbo-darwin-64: 2.4.2
- turbo-darwin-arm64: 2.4.2
- turbo-linux-64: 2.4.2
- turbo-linux-arm64: 2.4.2
- turbo-windows-64: 2.4.2
- turbo-windows-arm64: 2.4.2
+ turbo-darwin-64: 2.4.4
+ turbo-darwin-arm64: 2.4.4
+ turbo-linux-64: 2.4.4
+ turbo-linux-arm64: 2.4.4
+ turbo-windows-64: 2.4.4
+ turbo-windows-arm64: 2.4.4
@@ -19726,13 +19651,13 @@ snapshots:
dependencies:
cac: 6.7.14
debug: 4.4.0
es-module-lexer: 1.6.0
pathe: 2.0.3
transitivePeerDependencies:
- '@types/node'
- jiti
@@ -19747,7 +19672,7 @@ snapshots:
- tsx
- yaml
dependencies:
'@microsoft/api-extractor': 7.49.1(@types/[email protected])
'@rollup/pluginutils': 5.1.4([email protected])
@@ -19760,7 +19685,7 @@ snapshots:
magic-string: 0.30.17
typescript: 5.7.3
optionalDependencies:
transitivePeerDependencies:
- '@types/node'
- rollup
@@ -19772,9 +19697,9 @@ snapshots:
'@types/node': 14.18.63
fs-extra: 11.3.0
dependencies:
- esbuild: 0.24.2
+ esbuild: 0.25.0
postcss: 8.5.3
rollup: 4.34.8
optionalDependencies:
@@ -19787,15 +19712,15 @@ snapshots:
tsx: 4.19.3
yaml: 2.7.0
dependencies:
- '@vitest/expect': 3.0.6
- '@vitest/pretty-format': 3.0.6
- '@vitest/runner': 3.0.6
- '@vitest/snapshot': 3.0.6
- '@vitest/spy': 3.0.6
- '@vitest/utils': 3.0.6
+ '@vitest/expect': 3.0.7
+ '@vitest/pretty-format': 3.0.7
+ '@vitest/runner': 3.0.7
+ '@vitest/snapshot': 3.0.7
+ '@vitest/spy': 3.0.7
+ '@vitest/utils': 3.0.7
chai: 5.2.0
debug: 4.4.0
expect-type: 1.1.0
@@ -19806,8 +19731,8 @@ snapshots:
tinyexec: 0.3.2
tinypool: 1.0.2
tinyrainbow: 2.0.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.12
diff --git a/tests/formula-integration/package.json b/tests/formula-integration/package.json
index 05614e1222..2b39764885 100644
--- a/tests/formula-integration/package.json
+++ b/tests/formula-integration/package.json
@@ -26,6 +26,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.7.3",
- "vitest": "^3.0.6"
+ "vitest": "^3.0.7"
}
}