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.

chore: refactor eslint config (#7125)

白熱9ee44efd8408
diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml
index e080322838..cfccf7d194 100644
--- a/.github/actions/setup-node/action.yml
+++ b/.github/actions/setup-node/action.yml
@@ -5,12 +5,12 @@ runs:
using: composite
steps:
- name: Setup pnpm
- uses: pnpm/action-setup@v4
+ uses: pnpm/action-setup@v6
with:
run_install: false
- name: Setup Node.js
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v6
with:
node-version: 24.3.0
cache: pnpm
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a76c246540..822e2a3e92 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,6 +15,9 @@ concurrency:
permissions:
contents: read
+env:
+ TURBO_TELEMETRY_DISABLED: '1'
+
jobs:
build:
if: github.repository == 'dream-num/univer'
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
index 5422ea7765..e47088f2be 100644
--- a/.github/workflows/ci-test.yml
+++ b/.github/workflows/ci-test.yml
@@ -16,6 +16,9 @@ permissions:
contents: read
pull-requests: write
+env:
+ TURBO_TELEMETRY_DISABLED: '1'
+
jobs:
test:
runs-on: ubuntu-latest
@@ -32,14 +35,6 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
- - name: Restore Turborepo cache
- uses: actions/cache@v5
- with:
- path: .turbo/cache
- key: ${{ runner.os }}-turbo-coverage-${{ github.sha }}
- restore-keys: |
- ${{ runner.os }}-turbo-coverage-
-
- name: 🩺 Run test
run: pnpm coverage
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index c1f93bbfda..4b4a7aa5b5 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -14,6 +14,9 @@ permissions:
pull-requests: write
actions: write
+env:
+ TURBO_TELEMETRY_DISABLED: '1'
+
jobs:
e2e-test:
runs-on: ubuntu-latest
diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml
index d2f2d93447..011c82d613 100644
--- a/.github/workflows/preview-deploy.yml
+++ b/.github/workflows/preview-deploy.yml
@@ -16,6 +16,9 @@ permissions:
pull-requests: write
actions: read
+env:
+ TURBO_TELEMETRY_DISABLED: '1'
+
jobs:
setup:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_repository.full_name == github.repository }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a6aa3893ca..5532356fa1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,6 +15,9 @@ concurrency:
permissions:
contents: read
+env:
+ TURBO_TELEMETRY_DISABLED: '1'
+
jobs:
prepare:
runs-on: ubuntu-latest
diff --git a/common/debugger/package.json b/common/debugger/package.json
index 2929346da4..2d4226f310 100644
--- a/common/debugger/package.json
+++ b/common/debugger/package.json
@@ -50,6 +50,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^6.0.3",
- "vue": "^3.5.35"
+ "vue": "^3.5.38"
}
}
diff --git a/common/debugger/src/components/FloatButton.tsx b/common/debugger/src/components/FloatButton.tsx
index 161210fb98..f222e562a2 100644
--- a/common/debugger/src/components/FloatButton.tsx
+++ b/common/debugger/src/components/FloatButton.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 const FloatButton = () => {
const divStyle = {
width: '100px',
diff --git a/common/debugger/src/components/Image.tsx b/common/debugger/src/components/Image.tsx
index db11ca13f6..9e8955260f 100644
--- a/common/debugger/src/components/Image.tsx
+++ b/common/debugger/src/components/Image.tsx
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
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/common/debugger/src/components/RangeLoading.tsx b/common/debugger/src/components/RangeLoading.tsx
index e5d786213a..e52c52daf0 100644
--- a/common/debugger/src/components/RangeLoading.tsx
+++ b/common/debugger/src/components/RangeLoading.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { borderClassName, clsx } from '@univerjs/design';
export const RangeLoading = () => {
diff --git a/common/debugger/src/components/WebComponent.ts b/common/debugger/src/components/WebComponent.ts
index 20277bb26d..5257488b97 100644
--- a/common/debugger/src/components/WebComponent.ts
+++ b/common/debugger/src/components/WebComponent.ts
@@ -1,19 +1,3 @@
-/**
- * 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 class CounterComponent extends HTMLElement {
constructor() {
super();
diff --git a/common/debugger/src/config/config.ts b/common/debugger/src/config/config.ts
index 5acf4c02f2..d4d4f8beb3 100644
--- a/common/debugger/src/config/config.ts
+++ b/common/debugger/src/config/config.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ILanguagePack, LocaleType, UniverInstanceType } from '@univerjs/core';
import type { MenuConfig } from '@univerjs/ui';
diff --git a/common/debugger/src/controllers/debugger.controller.ts b/common/debugger/src/controllers/debugger.controller.ts
index 7a2fb4c7ae..363e10123a 100644
--- a/common/debugger/src/controllers/debugger.controller.ts
+++ b/common/debugger/src/controllers/debugger.controller.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IUniverDebuggerConfig } from '../config/config';
import { Disposable, IConfigService, Inject, Injector } from '@univerjs/core';
import {
diff --git a/common/debugger/src/controllers/e2e/data/default-doc.ts b/common/debugger/src/controllers/e2e/data/default-doc.ts
index 6695f1b4b4..7f38a91115 100644
--- a/common/debugger/src/controllers/e2e/data/default-doc.ts
+++ b/common/debugger/src/controllers/e2e/data/default-doc.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData } from '@univerjs/core';
import { BooleanNumber, DocumentFlavor } from '@univerjs/core';
import { ptToPixel } from '@univerjs/engine-render';
diff --git a/common/debugger/src/controllers/e2e/data/default-sheet.ts b/common/debugger/src/controllers/e2e/data/default-sheet.ts
index 087d66a7c4..d1bc349546 100644
--- a/common/debugger/src/controllers/e2e/data/default-sheet.ts
+++ b/common/debugger/src/controllers/e2e/data/default-sheet.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { LocaleType } from '@univerjs/core';
diff --git a/common/debugger/src/controllers/e2e/e2e.controller.ts b/common/debugger/src/controllers/e2e/e2e.controller.ts
index 6bd100eadb..4ddc7d77c8 100644
--- a/common/debugger/src/controllers/e2e/e2e.controller.ts
+++ b/common/debugger/src/controllers/e2e/e2e.controller.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Univer } from '@univerjs/core';
import type { FUniver } from '@univerjs/core/facade';
import { awaitTime, Disposable, Inject, IUniverInstanceService, ThemeService, UniverInstanceType } from '@univerjs/core';
@@ -39,7 +23,7 @@ export interface IE2EControllerAPI {
}
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
E2EControllerAPI: IE2EControllerAPI;
univer?: Univer;
diff --git a/common/debugger/src/controllers/local-save/record.controller.ts b/common/debugger/src/controllers/local-save/record.controller.ts
index a5979cb592..80a9d3de87 100644
--- a/common/debugger/src/controllers/local-save/record.controller.ts
+++ b/common/debugger/src/controllers/local-save/record.controller.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { CommandType, ICommandService, Inject } from '@univerjs/core';
import { Observable } from 'rxjs';
diff --git a/common/debugger/src/controllers/local-save/util.ts b/common/debugger/src/controllers/local-save/util.ts
index 20b838424f..34411e6395 100644
--- a/common/debugger/src/controllers/local-save/util.ts
+++ b/common/debugger/src/controllers/local-save/util.ts
@@ -1,19 +1,3 @@
-/**
- * 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 function createDownloadElement(fileName: string, blob: Blob) {
const a = document.createElement('a');
a.download = fileName;
diff --git a/common/debugger/src/controllers/performance-monitor.controller.ts b/common/debugger/src/controllers/performance-monitor.controller.ts
index f882c1e5b1..0a3f711e26 100644
--- a/common/debugger/src/controllers/performance-monitor.controller.ts
+++ b/common/debugger/src/controllers/performance-monitor.controller.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Nullable } from '@univerjs/core';
import type { Subscription } from 'rxjs';
import { Inject, IUniverInstanceService, LifecycleService, LifecycleStages, RxDisposable } from '@univerjs/core';
diff --git a/common/debugger/src/index.ts b/common/debugger/src/index.ts
index b4979a9ac4..35725a33fc 100644
--- a/common/debugger/src/index.ts
+++ b/common/debugger/src/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 './global.css';
export type { IUniverDebuggerConfig, UniverDebuggerLocaleLoader } from './config/config';
diff --git a/common/debugger/src/menu/watermark.menu.controller.ts b/common/debugger/src/menu/watermark.menu.controller.ts
index 4b458acd0d..5b614b7535 100644
--- a/common/debugger/src/menu/watermark.menu.controller.ts
+++ b/common/debugger/src/menu/watermark.menu.controller.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Disposable, Inject } from '@univerjs/core';
import { ComponentManager, IMenuManagerService } from '@univerjs/ui';
import { WatermarkPanel } from '../views/watermark/WatermarkPanel';
diff --git a/common/debugger/src/plugin.ts b/common/debugger/src/plugin.ts
index 77ca7eb190..93d387661c 100644
--- a/common/debugger/src/plugin.ts
+++ b/common/debugger/src/plugin.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Dependency } from '@univerjs/core';
import type { IUniverDebuggerConfig } from './config/config';
import { IConfigService, Inject, Injector, merge, Plugin, registerDependencies, touchDependencies } from '@univerjs/core';
diff --git a/common/debugger/src/views/Fab.tsx b/common/debugger/src/views/Fab.tsx
index 74c4d29d73..10d4f7944b 100644
--- a/common/debugger/src/views/Fab.tsx
+++ b/common/debugger/src/views/Fab.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { IDropdownMenuProps } from '@univerjs/design';
import type { IUniverDebuggerConfig } from '../config/config';
import { IConfigService, UniverInstanceType } from '@univerjs/core';
diff --git a/common/debugger/src/views/test-editor/component-name.ts b/common/debugger/src/views/test-editor/component-name.ts
index 6499e7eb17..872d3a8b45 100644
--- a/common/debugger/src/views/test-editor/component-name.ts
+++ b/common/debugger/src/views/test-editor/component-name.ts
@@ -1,17 +1 @@
-/**
- * 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 const TEST_EDITOR_CONTAINER_COMPONENT = 'TestEditorContainer';
diff --git a/common/debugger/src/views/use-cell-content.ts b/common/debugger/src/views/use-cell-content.ts
index cde56e284b..2508c52a13 100644
--- a/common/debugger/src/views/use-cell-content.ts
+++ b/common/debugger/src/views/use-cell-content.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ILogService, IUniverInstanceService, ObjectMatrix, Range, UniverInstanceType } from '@univerjs/core';
import { getSheetCommandTarget, SheetsSelectionsService } from '@univerjs/sheets';
import { useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-dark-mode.ts b/common/debugger/src/views/use-dark-mode.ts
index c59ef85aca..d4f8df7249 100644
--- a/common/debugger/src/views/use-dark-mode.ts
+++ b/common/debugger/src/views/use-dark-mode.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ThemeService } from '@univerjs/core';
import { useDependency } from '@univerjs/ui';
import { useEffect } from 'react';
diff --git a/common/debugger/src/views/use-dialog.ts b/common/debugger/src/views/use-dialog.ts
index 30c0d20908..2c1525b485 100644
--- a/common/debugger/src/views/use-dialog.ts
+++ b/common/debugger/src/views/use-dialog.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IConfirmService } from '@univerjs/core';
import { IDialogService, useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-dispose.ts b/common/debugger/src/views/use-dispose.ts
index 7076da5fa6..f7a6c686fa 100644
--- a/common/debugger/src/views/use-dispose.ts
+++ b/common/debugger/src/views/use-dispose.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IUniverInstanceService } from '@univerjs/core';
import { useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-editable.ts b/common/debugger/src/views/use-editable.ts
index dce60cf98c..61a195c06b 100644
--- a/common/debugger/src/views/use-editable.ts
+++ b/common/debugger/src/views/use-editable.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IPermissionService, IUniverInstanceService } from '@univerjs/core';
import { getSheetCommandTarget, WorkbookEditablePermission, WorksheetEditPermission } from '@univerjs/sheets';
import { useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-floating-dom.ts b/common/debugger/src/views/use-floating-dom.ts
index 444973cd0b..456888f65e 100644
--- a/common/debugger/src/views/use-floating-dom.ts
+++ b/common/debugger/src/views/use-floating-dom.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
import { DocFloatDomController } from '@univerjs/docs-drawing-ui';
import { SheetCanvasFloatDomManagerService } from '@univerjs/sheets-drawing-ui';
diff --git a/common/debugger/src/views/use-locale.ts b/common/debugger/src/views/use-locale.ts
index 4ac8fb2632..e8438f197a 100644
--- a/common/debugger/src/views/use-locale.ts
+++ b/common/debugger/src/views/use-locale.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IUniverDebuggerConfig } from '../config/config';
import { IConfigService, LocaleService, LocaleType } from '@univerjs/core';
import { useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-message.ts b/common/debugger/src/views/use-message.ts
index 88b9905998..d9db4aba68 100644
--- a/common/debugger/src/views/use-message.ts
+++ b/common/debugger/src/views/use-message.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { MessageType } from '@univerjs/design';
import { IMessageService, useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-notification.ts b/common/debugger/src/views/use-notification.ts
index 3ffffc66a4..b3faf53195 100644
--- a/common/debugger/src/views/use-notification.ts
+++ b/common/debugger/src/views/use-notification.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { INotificationOptions } from '@univerjs/ui';
import { INotificationService, useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-rtl.ts b/common/debugger/src/views/use-rtl.ts
index f15fbd3695..0c8a07cc2b 100644
--- a/common/debugger/src/views/use-rtl.ts
+++ b/common/debugger/src/views/use-rtl.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleService } from '@univerjs/core';
import { useDependency } from '@univerjs/ui';
import { useEffect } from 'react';
diff --git a/common/debugger/src/views/use-sidebar.ts b/common/debugger/src/views/use-sidebar.ts
index 402bc25e18..f026410e02 100644
--- a/common/debugger/src/views/use-sidebar.ts
+++ b/common/debugger/src/views/use-sidebar.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ISidebarService, useDependency } from '@univerjs/ui';
import { TEST_EDITOR_CONTAINER_COMPONENT } from './test-editor/component-name';
diff --git a/common/debugger/src/views/use-snapshot.ts b/common/debugger/src/views/use-snapshot.ts
index 1521cb4d90..1cd02ba19c 100644
--- a/common/debugger/src/views/use-snapshot.ts
+++ b/common/debugger/src/views/use-snapshot.ts
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
/* eslint-disable node/prefer-global/process */
import type { DocumentDataModel, IStyleData, IWorkbookData, Workbook } from '@univerjs/core';
import { IResourceLoaderService, IUniverInstanceService, ObjectMatrix, UniverInstanceType } from '@univerjs/core';
diff --git a/common/debugger/src/views/use-theme.ts b/common/debugger/src/views/use-theme.ts
index f6b96c7bac..587f2aafcd 100644
--- a/common/debugger/src/views/use-theme.ts
+++ b/common/debugger/src/views/use-theme.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ThemeService } from '@univerjs/core';
import { defaultTheme, greenTheme, orangeTheme, purpleTheme, redTheme } from '@univerjs/themes';
import { useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-units.ts b/common/debugger/src/views/use-units.ts
index 2dafecc291..01df2b5583 100644
--- a/common/debugger/src/views/use-units.ts
+++ b/common/debugger/src/views/use-units.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Workbook } from '@univerjs/core';
import { IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
import { useDependency, useObservable } from '@univerjs/ui';
diff --git a/common/debugger/src/views/use-user.ts b/common/debugger/src/views/use-user.ts
index debadb2a8c..17831ce58e 100644
--- a/common/debugger/src/views/use-user.ts
+++ b/common/debugger/src/views/use-user.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Workbook } from '@univerjs/core';
import { createDefaultUser, IPermissionService, IUniverInstanceService, UniverInstanceType, UserManagerService } from '@univerjs/core';
import { WorkbookManageCollaboratorPermission } from '@univerjs/sheets';
diff --git a/common/debugger/src/views/use-watermark.ts b/common/debugger/src/views/use-watermark.ts
index eb7464b4c7..dbf1f36e75 100644
--- a/common/debugger/src/views/use-watermark.ts
+++ b/common/debugger/src/views/use-watermark.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ISidebarService, useDependency } from '@univerjs/ui';
import { WATERMARK_PANEL, WATERMARK_PANEL_FOOTER } from '../menu/watermark.menu.controller';
diff --git a/common/debugger/src/views/watermark/WatermarkImageSetting.tsx b/common/debugger/src/views/watermark/WatermarkImageSetting.tsx
index 92a75cb9cf..cb58ca09ae 100644
--- a/common/debugger/src/views/watermark/WatermarkImageSetting.tsx
+++ b/common/debugger/src/views/watermark/WatermarkImageSetting.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { IImageWatermarkConfig } from '@univerjs/engine-render';
import { Button, Checkbox, InputNumber } from '@univerjs/design';
import { ILocalFileService, useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/watermark/WatermarkPanel.tsx b/common/debugger/src/views/watermark/WatermarkPanel.tsx
index 1d6064d41a..28bc4f7a1f 100644
--- a/common/debugger/src/views/watermark/WatermarkPanel.tsx
+++ b/common/debugger/src/views/watermark/WatermarkPanel.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { IWatermarkConfig, IWatermarkConfigWithType } from '@univerjs/engine-render';
import { ILocalStorageService } from '@univerjs/core';
import { Select } from '@univerjs/design';
diff --git a/common/debugger/src/views/watermark/WatermarkPanelFooter.tsx b/common/debugger/src/views/watermark/WatermarkPanelFooter.tsx
index d48a1561a9..53f8d7769a 100644
--- a/common/debugger/src/views/watermark/WatermarkPanelFooter.tsx
+++ b/common/debugger/src/views/watermark/WatermarkPanelFooter.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Button } from '@univerjs/design';
import { IWatermarkTypeEnum } from '@univerjs/engine-render';
import { IClipboardInterfaceService, ISidebarService, useDependency } from '@univerjs/ui';
diff --git a/common/debugger/src/views/watermark/WatermarkTextSetting.tsx b/common/debugger/src/views/watermark/WatermarkTextSetting.tsx
index 681ce3dd76..d3aedd26ab 100644
--- a/common/debugger/src/views/watermark/WatermarkTextSetting.tsx
+++ b/common/debugger/src/views/watermark/WatermarkTextSetting.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { ITextWatermarkConfig } from '@univerjs/engine-render';
import { Checkbox, clsx, ColorPicker, Dropdown, Input, InputNumber, Select } from '@univerjs/design';
import { BoldIcon, FontColorDoubleIcon, ItalicIcon } from '@univerjs/icons';
diff --git a/common/debugger/tailwind.config.ts b/common/debugger/tailwind.config.ts
index 75967f186f..16af3e1f2b 100644
--- a/common/debugger/tailwind.config.ts
+++ b/common/debugger/tailwind.config.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Config } from 'tailwindcss';
import preset from '@univerjs-infra/shared/tailwind';
diff --git a/common/mockdata/scripts/generate-locales.mts b/common/mockdata/scripts/generate-locales.mts
index fae3060552..3f21c4ab10 100644
--- a/common/mockdata/scripts/generate-locales.mts
+++ b/common/mockdata/scripts/generate-locales.mts
@@ -1,19 +1,3 @@
-/**
- * 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 fs from 'node:fs';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
diff --git a/common/mockdata/src/docs/default-document-data-cn.ts b/common/mockdata/src/docs/default-document-data-cn.ts
index eba55288a6..414dbf7cf4 100644
--- a/common/mockdata/src/docs/default-document-data-cn.ts
+++ b/common/mockdata/src/docs/default-document-data-cn.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData } from '@univerjs/core';
import { BooleanNumber, DashStyleType, DocumentFlavor, DrawingTypeEnum, ObjectRelativeFromH, ObjectRelativeFromV, PositionedObjectLayoutType, WrapTextType } from '@univerjs/core';
import { ptToPixel } from '@univerjs/engine-render';
diff --git a/common/mockdata/src/docs/default-document-data-dreamer.ts b/common/mockdata/src/docs/default-document-data-dreamer.ts
index f7e14bee1f..c6b72a726d 100644
--- a/common/mockdata/src/docs/default-document-data-dreamer.ts
+++ b/common/mockdata/src/docs/default-document-data-dreamer.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData } from '@univerjs/core';
import {
BooleanNumber,
diff --git a/common/mockdata/src/docs/default-document-data-en.ts b/common/mockdata/src/docs/default-document-data-en.ts
index c1975a7c79..362a2afa28 100644
--- a/common/mockdata/src/docs/default-document-data-en.ts
+++ b/common/mockdata/src/docs/default-document-data-en.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData } from '@univerjs/core';
import {
BooleanNumber,
diff --git a/common/mockdata/src/docs/default-document-data.ts b/common/mockdata/src/docs/default-document-data.ts
index d63abe3758..461f408411 100644
--- a/common/mockdata/src/docs/default-document-data.ts
+++ b/common/mockdata/src/docs/default-document-data.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData } from '@univerjs/core';
import {
BaselineOffset,
diff --git a/common/mockdata/src/docs/default-document.data-simple.ts b/common/mockdata/src/docs/default-document.data-simple.ts
index a5e1896bd2..ab8e160b5b 100644
--- a/common/mockdata/src/docs/default-document.data-simple.ts
+++ b/common/mockdata/src/docs/default-document.data-simple.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData, IParagraph, ISectionBreak, ITable, ITableCell, ITableColumn, ITableRow } from '@univerjs/core';
import { BooleanNumber, createParagraphId, DocumentFlavor, HorizontalAlign, ObjectRelativeFromH, ObjectRelativeFromV, TableAlignmentType, TableRowHeightRule, TableSizeType, TableTextWrapType, Tools, VerticalAlignmentType } from '@univerjs/core';
import { ptToPixel } from '@univerjs/engine-render';
diff --git a/common/mockdata/src/docs/index.ts b/common/mockdata/src/docs/index.ts
index 4c00037b99..b6310c7b0e 100644
--- a/common/mockdata/src/docs/index.ts
+++ b/common/mockdata/src/docs/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 * from './default-document-data';
export * from './default-document-data-cn';
export * from './default-document-data-en';
diff --git a/common/mockdata/src/index.ts b/common/mockdata/src/index.ts
index 1318da8bda..b74ff93944 100644
--- a/common/mockdata/src/index.ts
+++ b/common/mockdata/src/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ILanguagePack, LocaleType } from '@univerjs/core';
export * from './docs';
diff --git a/common/mockdata/src/sheets/default-workbook-data.ts b/common/mockdata/src/sheets/default-workbook-data.ts
index f1c872e6c2..c3e1885733 100644
--- a/common/mockdata/src/sheets/default-workbook-data.ts
+++ b/common/mockdata/src/sheets/default-workbook-data.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData, IWorkbookData } from '@univerjs/core';
import {
BaselineOffset,
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-default-style.ts b/common/mockdata/src/sheets/demo/default-workbook-data-default-style.ts
index e407eef95c..f01b8eeb5d 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-default-style.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-default-style.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const DEFAULT_WORKBOOK_DATA_DEMO_DEFAULT_STYLE = {
id: 'workbook-01',
sheetOrder: [
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo.ts
index 1673415e8b..0ec917ba8a 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDataValidationRule, IDocumentData, IWorkbookData } from '@univerjs/core';
import { BooleanNumber, CellValueType, DataValidationErrorStyle, DataValidationOperator, DataValidationType, LocaleType } from '@univerjs/core';
import { DATA_VALIDATION_PLUGIN_NAME } from '@univerjs/sheets-data-validation';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo1.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo1.ts
index 4b73315406..023d3b4853 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo1.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo1.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { BooleanNumber, BorderStyleTypes, LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo2.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo2.ts
index 83148b7792..4c59066866 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo2.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo2.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { BooleanNumber, BorderStyleTypes, LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo3.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo3.ts
index dbd1ec1cc5..499690dc59 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo3.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo3.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData, IWorkbookData } from '@univerjs/core';
import { BooleanNumber, BorderStyleTypes, LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo4.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo4.ts
index 0f34bb1569..c524776dd4 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo4.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo4.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData, IWorkbookData } from '@univerjs/core';
import { BooleanNumber, BorderStyleTypes, LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo5.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo5.ts
index 3930a8e44f..bc9dd71414 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo5.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo5.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { BorderStyleTypes, LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo6.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo6.ts
index a841afec30..a85307d2e9 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo6.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo6.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { BorderStyleTypes, LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo7.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo7.ts
index 9fc40ab78a..6c2bcd1c42 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo7.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo7.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-demo8.ts b/common/mockdata/src/sheets/demo/default-workbook-data-demo8.ts
index 2e8a3d0d40..36b48831ec 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-demo8.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-demo8.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/sheets/demo/default-workbook-data-validation.ts b/common/mockdata/src/sheets/demo/default-workbook-data-validation.ts
index ef000fd97f..1ac5016949 100644
--- a/common/mockdata/src/sheets/demo/default-workbook-data-validation.ts
+++ b/common/mockdata/src/sheets/demo/default-workbook-data-validation.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const DEFAULT_WORKBOOK_DATA_VALIDATION = {
id: 'workbook-01',
sheetOrder: [
diff --git a/common/mockdata/src/sheets/demo/index.ts b/common/mockdata/src/sheets/demo/index.ts
index 07cfc69b53..c0a990b3ec 100644
--- a/common/mockdata/src/sheets/demo/index.ts
+++ b/common/mockdata/src/sheets/demo/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 * from './default-workbook-data-default-style';
export * from './default-workbook-data-demo';
export * from './default-workbook-data-demo1';
diff --git a/common/mockdata/src/sheets/index.ts b/common/mockdata/src/sheets/index.ts
index d87071dc58..69c29f7bb2 100644
--- a/common/mockdata/src/sheets/index.ts
+++ b/common/mockdata/src/sheets/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 * from './default-workbook-data';
export * from './demo';
export * from './slide-workbook-data';
diff --git a/common/mockdata/src/sheets/slide-workbook-data.ts b/common/mockdata/src/sheets/slide-workbook-data.ts
index 4aff871b66..291c15fa88 100644
--- a/common/mockdata/src/sheets/slide-workbook-data.ts
+++ b/common/mockdata/src/sheets/slide-workbook-data.ts
@@ -1,22 +1,5 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { BooleanNumber, BorderStyleTypes, LocaleType } from '@univerjs/core';
-
import { PAGE5_RICHTEXT_1 } from '../slides/rich-text/page5-richtext1';
export const SLIDE_WORKBOOK_DATA: IWorkbookData = {
diff --git a/common/mockdata/src/sheets/uniscript-data.ts b/common/mockdata/src/sheets/uniscript-data.ts
index 36731289e1..deeb28b9e9 100644
--- a/common/mockdata/src/sheets/uniscript-data.ts
+++ b/common/mockdata/src/sheets/uniscript-data.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import { LocaleType } from '@univerjs/core';
diff --git a/common/mockdata/src/slides/default-pages/page1.ts b/common/mockdata/src/slides/default-pages/page1.ts
index 6294165ec7..938710884e 100644
--- a/common/mockdata/src/slides/default-pages/page1.ts
+++ b/common/mockdata/src/slides/default-pages/page1.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
export const DEFAULT_FIRST_PAGE = {
diff --git a/common/mockdata/src/slides/default-pages/page2.ts b/common/mockdata/src/slides/default-pages/page2.ts
index bdedf08e9b..6b2fb029de 100644
--- a/common/mockdata/src/slides/default-pages/page2.ts
+++ b/common/mockdata/src/slides/default-pages/page2.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
export const DEFAULT_SECOND_PAGE = {
diff --git a/common/mockdata/src/slides/default-pages/page3.ts b/common/mockdata/src/slides/default-pages/page3.ts
index 2bd8b70e05..1e1edc047c 100644
--- a/common/mockdata/src/slides/default-pages/page3.ts
+++ b/common/mockdata/src/slides/default-pages/page3.ts
@@ -1,21 +1,4 @@
-/**
- * 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 { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
-
import { PAGE3_RICHTEXT_1 } from '../rich-text/page3-richtext1';
import { PAGE3_RICHTEXT_2 } from '../rich-text/page3-richtext2';
import { PAGE3_RICHTEXT_3 } from '../rich-text/page3-richtext3';
diff --git a/common/mockdata/src/slides/default-pages/page4.ts b/common/mockdata/src/slides/default-pages/page4.ts
index ccfae2ebe6..fb0ee28193 100644
--- a/common/mockdata/src/slides/default-pages/page4.ts
+++ b/common/mockdata/src/slides/default-pages/page4.ts
@@ -1,22 +1,5 @@
-/**
- * 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 { IWorksheetData } from '@univerjs/core';
import { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
-
import { SLIDE_WORKBOOK_DATA } from '../../sheets/slide-workbook-data';
const worksheetConfig = SLIDE_WORKBOOK_DATA.sheets[SLIDE_WORKBOOK_DATA.sheetOrder[0]] as IWorksheetData;
diff --git a/common/mockdata/src/slides/default-pages/page5.ts b/common/mockdata/src/slides/default-pages/page5.ts
index bfe5aa94f9..b524ac5e23 100644
--- a/common/mockdata/src/slides/default-pages/page5.ts
+++ b/common/mockdata/src/slides/default-pages/page5.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
export const DEFAULT_FIFTH_PAGE = {
diff --git a/common/mockdata/src/slides/default-pages/page6.ts b/common/mockdata/src/slides/default-pages/page6.ts
index 1e4116f426..d4a8a203f5 100644
--- a/common/mockdata/src/slides/default-pages/page6.ts
+++ b/common/mockdata/src/slides/default-pages/page6.ts
@@ -1,21 +1,4 @@
-/**
- * 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 { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
-
import { DEFAULT_DOCUMENT_DATA_EN } from '../../docs/default-document-data-en';
export const DEFAULT_SIXTH_PAGE = {
diff --git a/common/mockdata/src/slides/default-pages/page7.ts b/common/mockdata/src/slides/default-pages/page7.ts
index 0135d3413f..cb4b5c1a68 100644
--- a/common/mockdata/src/slides/default-pages/page7.ts
+++ b/common/mockdata/src/slides/default-pages/page7.ts
@@ -1,21 +1,4 @@
-/**
- * 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 { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
-
import { generateUnlimitedSlideData } from '../unlimited-slide-data';
export const DEFAULT_SEVEN_PAGE = {
diff --git a/common/mockdata/src/slides/default-slide-data.ts b/common/mockdata/src/slides/default-slide-data.ts
index 4e889a3282..77289fe271 100644
--- a/common/mockdata/src/slides/default-slide-data.ts
+++ b/common/mockdata/src/slides/default-slide-data.ts
@@ -1,21 +1,4 @@
-/**
- * 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 { ISlideData } from '@univerjs/slides';
-
import { DEFAULT_FIRST_PAGE } from './default-pages/page1';
import { DEFAULT_SECOND_PAGE } from './default-pages/page2';
import { DEFAULT_THIRD_PAGE } from './default-pages/page3';
diff --git a/common/mockdata/src/slides/index.ts b/common/mockdata/src/slides/index.ts
index 7ce478f898..3b14eaf208 100644
--- a/common/mockdata/src/slides/index.ts
+++ b/common/mockdata/src/slides/index.ts
@@ -1,17 +1 @@
-/**
- * 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 * from './default-slide-data';
diff --git a/common/mockdata/src/slides/rich-text/page3-richtext1.ts b/common/mockdata/src/slides/rich-text/page3-richtext1.ts
index ffec04adf6..9afe465fa4 100644
--- a/common/mockdata/src/slides/rich-text/page3-richtext1.ts
+++ b/common/mockdata/src/slides/rich-text/page3-richtext1.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { PresetListType } from '@univerjs/core';
import { PageElementType } from '@univerjs/slides';
diff --git a/common/mockdata/src/slides/rich-text/page3-richtext2.ts b/common/mockdata/src/slides/rich-text/page3-richtext2.ts
index efbd637dad..1272351ec7 100644
--- a/common/mockdata/src/slides/rich-text/page3-richtext2.ts
+++ b/common/mockdata/src/slides/rich-text/page3-richtext2.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { PresetListType } from '@univerjs/core';
import { PageElementType } from '@univerjs/slides';
diff --git a/common/mockdata/src/slides/rich-text/page3-richtext3.ts b/common/mockdata/src/slides/rich-text/page3-richtext3.ts
index 48dc19221c..ebdc48efcc 100644
--- a/common/mockdata/src/slides/rich-text/page3-richtext3.ts
+++ b/common/mockdata/src/slides/rich-text/page3-richtext3.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { PresetListType } from '@univerjs/core';
import { PageElementType } from '@univerjs/slides';
diff --git a/common/mockdata/src/slides/rich-text/page5-richtext1.ts b/common/mockdata/src/slides/rich-text/page5-richtext1.ts
index da40854751..69871d69f8 100644
--- a/common/mockdata/src/slides/rich-text/page5-richtext1.ts
+++ b/common/mockdata/src/slides/rich-text/page5-richtext1.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IDocumentData } from '@univerjs/core';
import { BooleanNumber, ColumnSeparatorType, PresetListType, SectionType } from '@univerjs/core';
diff --git a/common/mockdata/src/slides/unlimited-slide-data.ts b/common/mockdata/src/slides/unlimited-slide-data.ts
index 39e408f81f..02b141d86e 100644
--- a/common/mockdata/src/slides/unlimited-slide-data.ts
+++ b/common/mockdata/src/slides/unlimited-slide-data.ts
@@ -1,22 +1,5 @@
-/**
- * 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 { ISlideData } from '@univerjs/slides';
import { BasicShapes, PageElementType, PageType } from '@univerjs/slides';
-
import { DEFAULT_SECOND_PAGE } from './default-pages/page2';
import { DEFAULT_THIRD_PAGE } from './default-pages/page3';
import { DEFAULT_FORTH_PAGE } from './default-pages/page4';
diff --git a/common/shared/bin/index.ts b/common/shared/bin/index.mts
similarity index 93%
rename from common/shared/bin/index.ts
rename to common/shared/bin/index.mts
index 49acb25373..eaa853cbf7 100755
--- a/common/shared/bin/index.ts
+++ b/common/shared/bin/index.mts
@@ -1,10 +1,9 @@
-#!/usr/bin/env -S node --import tsx/esm
-/* eslint-disable header/header */
+#!/usr/bin/env -S node --experimental-strip-types
-import type { IBuildOptions } from '../tsdown/types';
+import type { IBuildOptions } from '../tsdown/types.ts';
import process from 'node:process';
-import { buildPresetPackage, preparePresetPackage } from '../preset-build/index';
-import { build } from '../tsdown/index';
+import { buildPresetPackage, preparePresetPackage } from '../preset-build/index.ts';
+import { build } from '../tsdown/index.ts';
interface IPresetCliBuildOptions {
cleanup?: boolean;
diff --git a/common/shared/esbuild/index.ts b/common/shared/esbuild/index.ts
index 5418994c04..a50b28c56a 100644
--- a/common/shared/esbuild/index.ts
+++ b/common/shared/esbuild/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 fs from 'node:fs';
interface IResolveArgs {
diff --git a/common/shared/eslint/config.ts b/common/shared/eslint/config.ts
new file mode 100644
index 0000000000..8da09e2676
--- /dev/null
+++ b/common/shared/eslint/config.ts
@@ -0,0 +1,79 @@
+import type { Rules } from '@antfu/eslint-config';
+import type { ESLint, Linter } from 'eslint';
+import antfu from '@antfu/eslint-config';
+import reactHooks from 'eslint-plugin-react-hooks';
+import {
+ facadePreset,
+ headerPreset,
+ indexEntryPreset,
+ noBarrelImportPreset,
+ penetratingPreset,
+ specPreset,
+ tailwindcssPreset,
+ typescriptPreset,
+ univerSourcePreset,
+} from './presets';
+import { baseRules } from './rules';
+
+export interface IUniverEslintConfigOptions {
+ ignores?: string[];
+ header?: boolean;
+ noFacadeImportsOutsideFacade?: {
+ ignore?: string[];
+ };
+ rules?: Partial<Rules>;
+}
+
+export const createUniverEslintConfig = (options: IUniverEslintConfigOptions = {}) => {
+ const configs: Linter.Config[] = [
+ {
+ plugins: {
+ 'react-hooks': reactHooks as unknown as ESLint.Plugin,
+ },
+ rules: {
+ ...baseRules,
+ ...options.rules,
+ },
+ },
+ penetratingPreset(),
+ typescriptPreset(),
+ indexEntryPreset(),
+ univerSourcePreset({
+ noFacadeImportsOutsideFacade: options.noFacadeImportsOutsideFacade,
+ }),
+ facadePreset(),
+ noBarrelImportPreset(),
+ tailwindcssPreset(),
+ specPreset(),
+ ];
+
+ if (options.header ?? true) {
+ configs.push(headerPreset());
+ }
+
+ return antfu(
+ {
+ ignores: options.ignores,
+ stylistic: {
+ indent: 4,
+ semi: true,
+ },
+ e18e: false,
+ regexp: false,
+ react: true,
+ pnpm: false,
+ yaml: {
+ overrides: {
+ 'yaml/indent': ['error', 4, { indicatorValueIndent: 2 }],
+ },
+ },
+ markdown: false,
+ typescript: true,
+ formatters: {
+ css: true,
+ html: true,
+ },
+ },
+ ...configs
+ );
+};
diff --git a/common/shared/eslint/index.ts b/common/shared/eslint/index.ts
index 1e49a167e8..8dc1285371 100644
--- a/common/shared/eslint/index.ts
+++ b/common/shared/eslint/index.ts
@@ -1,452 +1,14 @@
-/* eslint-disable header/header */
-import type { Rules } from '@antfu/eslint-config';
-import type { Linter } from 'eslint';
-import os from 'node:os';
-import path from 'node:path';
-import { fixupPluginRules } from '@eslint/compat';
-import typescriptParser from '@typescript-eslint/parser';
-import eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';
-import header from 'eslint-plugin-header';
-import barrel from 'eslint-plugin-no-barrel-import';
-import penetrating from 'eslint-plugin-no-penetrating-import';
-import noExternalImportsInFacade from './plugins/no-external-imports-in-facade';
-import noFacadeImportsOutsideFacade from './plugins/no-facade-imports-outside-facade';
-import noSelfPackageImports from './plugins/no-self-package-imports';
-
-/**
- * Base ESLint rules configuration for Univer project.
- * These rules apply to all TypeScript and JavaScript files.
- */
-
-export const baseRules: Partial<Rules> = {
- // Code style and formatting rules
- curly: ['error', 'multi-line'],
- 'antfu/if-newline': 'off',
- 'no-param-reassign': ['warn'],
- 'eol-last': ['error', 'always'],
- 'no-empty-function': 'off',
-
- // TypeScript specific rules
- 'ts/no-explicit-any': 'warn',
- 'ts/no-redeclare': 'off',
- 'ts/method-signature-style': 'off',
-
- // Style and formatting rules
- 'style/no-multiple-empty-lines': ['error', { max: 1, maxEOF: 0 }],
- 'style/brace-style': ['warn', '1tbs', { allowSingleLine: true }],
- 'style/jsx-first-prop-new-line': ['warn', 'multiline'],
- 'style/arrow-parens': ['error', 'always'],
- 'style/spaced-comment': 'off',
- 'style/indent-binary-ops': 'off',
- 'style/operator-linebreak': 'off',
- 'style/indent': ['error', 4, {
- ObjectExpression: 'first',
- SwitchCase: 1,
- ignoreComments: true,
- }],
- 'style/quotes': ['warn', 'single', { avoidEscape: true }],
- 'style/jsx-closing-tag-location': 'warn',
- 'style/jsx-curly-newline': ['warn', { multiline: 'forbid', singleline: 'forbid' }],
- 'style/jsx-wrap-multilines': 'warn',
- 'style/quote-props': ['warn', 'as-needed'],
- 'style/jsx-curly-brace-presence': 'warn',
- 'style/multiline-ternary': 'warn',
-
- // Comma and punctuation rules
- 'style/comma-dangle': ['error', {
- arrays: 'always-multiline',
- objects: 'always-multiline',
- imports: 'always-multiline',
- exports: 'always-multiline',
- enums: 'always-multiline',
- functions: 'never',
- }],
-
- // Filename conventions
- 'unicorn/filename-case': [
- 'error',
- {
- cases: {
- kebabCase: true,
- pascalCase: true,
- },
- ignore: [
- '^README-(\w+)?\\.md$',
- '^[a-z]{2}-[A-Z]{2}\.ts$',
- '^__tests__$',
- '^FUNDING.yml$',
- '^bug_report.yml$',
- '^bug_report.zh-CN.yml$',
- '^feature_request.yml$',
- '^feature_request.zh-CN.yml$',
- ],
- },
- ],
-
- // JSX and React rules
- 'style/jsx-self-closing-comp': ['error', {
- component: true,
- html: true,
- }],
- 'react-refresh/only-export-components': 'off',
- 'react/no-unstable-context-value': 'warn',
- 'react/no-unstable-default-props': 'warn',
- 'react/no-direct-mutation-state': 'warn',
- 'react/no-create-ref': 'warn',
- 'react/rules-of-hooks': 'off',
- 'react/static-components': 'off',
- 'react/dom-no-render': 'off',
- 'react/unsupported-syntax': 'off',
- 'react/jsx-no-key-after-spread': 'off',
- 'react/use-memo': 'warn',
- 'react-hooks/static-components': 'off',
- 'react-hooks/preserve-manual-memoization': 'off',
- 'react-hooks/set-state-in-effect': 'off',
- 'react-hooks/refs': 'off',
- 'react-hooks/immutability': 'warn',
- 'react-hooks/use-memo': 'warn',
- 'react-hooks/purity': 'warn',
- 'react-hooks/globals': 'warn',
-
- // Import and export rules
- 'sort-imports': [
- 'error',
- {
- allowSeparatedGroups: false,
- ignoreCase: true,
- ignoreDeclarationSort: true,
- ignoreMemberSort: false,
- memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
- },
- ],
- 'perfectionist/sort-imports': 'warn',
- 'perfectionist/sort-named-imports': 'off',
- 'perfectionist/sort-named-exports': 'warn',
-
- // Code quality rules
- 'accessor-pairs': 'warn',
- 'react-hooks/exhaustive-deps': 'off',
- 'react-hooks/rules-of-hooks': 'off',
- 'jsdoc/tag-lines': 'off',
-
- // Restricted imports for consistency
- 'no-restricted-imports': [
- 'error',
- {
- paths: [
- {
- name: 'clsx',
- message: 'Please use `import { clsx } from \'@univerjs/design\'` instead.',
- },
- ],
- },
- ],
-
- // IMPORTANT: To ensure compatibility, some features of React 19 will be disabled.
- 'react/no-forward-ref': 'off',
- 'react/no-context-provider': 'off',
- 'react-dom/no-render': 'off',
- 'react/no-use-context': 'off',
-
- // Debatable rules - currently disabled
- 'test/prefer-lowercase-title': 'off',
- 'antfu/top-level-function': 'off',
- 'unicorn/no-new-array': 'off',
- 'unicorn/prefer-includes': 'off',
- 'prefer-arrow-callback': 'off',
- 'no-restricted-globals': 'off',
- 'unicorn/prefer-string-starts-ends-with': 'warn',
-
- // Compatibility rules for legacy code - set to warn for gradual migration
- 'unused-imports/no-unused-vars': 'warn',
- 'ts/no-restricted-types': 'warn',
- 'ts/no-wrapper-object-types': 'warn',
- 'ts/no-empty-object-type': 'warn',
- 'ts/no-unsafe-function-type': 'warn',
- 'ts/no-unused-expressions': 'warn',
- 'unicorn/prefer-dom-node-text-content': 'warn',
- 'unicorn/prefer-number-properties': 'warn',
- 'no-prototype-builtins': 'warn',
- 'eslint-comments/no-unlimited-disable': 'off',
- 'ts/prefer-ts-expect-error': 'off',
- 'ts/ban-ts-comment': 'off',
- 'ts/no-duplicate-enum-values': 'off',
- 'no-cond-assign': 'warn',
- 'ts/no-use-before-define': 'warn',
- 'test/no-identical-title': 'warn',
- 'ts/no-non-null-asserted-optional-chain': 'warn',
- 'no-restricted-syntax': 'warn',
- 'prefer-regex-literals': 'warn',
- 'ts/no-this-alias': 'warn',
- 'prefer-promise-reject-errors': 'warn',
- 'no-new': 'warn',
- 'unicorn/error-message': 'warn',
- 'ts/prefer-literal-enum-member': 'warn',
- 'no-control-regex': 'warn',
- 'ts/no-import-type-side-effects': 'warn',
- 'unicorn/number-literal-case': 'warn',
- 'unicorn/prefer-type-error': 'warn',
-};
-
-/**
- * TypeScript preset configuration for ESLint.
- * Applies TypeScript-specific rules and custom Univer rules.
- *
- * @returns ESLint configuration object for TypeScript files
- */
-export const typescriptPreset = (): Linter.Config => {
- return {
- files: ['**/*.ts', '**/*.tsx'],
- plugins: {
- univer: {
- rules: {
- // eslint-disable-next-line ts/no-explicit-any
- 'no-external-imports-in-facade': noExternalImportsInFacade as any,
- // eslint-disable-next-line ts/no-explicit-any
- 'no-self-package-imports': noSelfPackageImports as any,
- // eslint-disable-next-line ts/no-explicit-any
- 'no-facade-imports-outside-facade': noFacadeImportsOutsideFacade as any,
- },
- },
- },
- rules: {
- 'ts/naming-convention': [
- 'warn',
- // Interfaces' names should start with a capital 'I'.
- {
- selector: 'interface',
- format: ['PascalCase'],
- custom: {
- regex: '^I[A-Z0-9]',
- match: true,
- },
- },
- // Private fields of a class should start with an underscore '_'.
- {
- selector: ['classMethod', 'classProperty'],
- modifiers: ['private'],
- format: ['camelCase'],
- leadingUnderscore: 'require',
- },
- ],
- // 'ts/consistent-type-exports': 'warn',
- },
- languageOptions: {
- parser: typescriptParser,
- },
- };
-};
-
-/**
- * Univer source code preset configuration.
- * Enforces package structure rules for source files.
- *
- * @returns ESLint configuration object for Univer source files
- */
-export const univerSourcePreset = (options: {
- noFacadeImportsOutsideFacade?: {
- ignore?: string[];
- };
-} = {}): Linter.Config => {
- return {
- files: ['**/*.ts', '**/*.tsx'],
- ignores: [
- '**/__tests__/**/*',
- '**/*.spec.ts',
- '**/*.test.ts',
- ],
- rules: {
- 'univer/no-self-package-imports': 'error',
- 'univer/no-facade-imports-outside-facade': ['error', {
- ignore: options.noFacadeImportsOutsideFacade?.ignore ?? [],
- }],
- },
- languageOptions: {
- parser: typescriptParser,
- },
- };
-};
-
-/**
- * Facade preset configuration for ESLint.
- * Enforces strict typing and import rules for facade files.
- *
- * @returns ESLint configuration object for facade files
- */
-export const facadePreset = (): Linter.Config => {
- return {
- files: ['**/src/facade/**/*.ts'],
- ignores: [
- '**/__tests__/**/*',
- '**/*.spec.ts',
- '**/*.test.ts',
- ],
- rules: {
- 'ts/explicit-function-return-type': 'error',
- 'univer/no-external-imports-in-facade': 'error',
- },
- };
-};
-
-/**
- * Tailwind CSS preset configuration for ESLint.
- * Enforces Tailwind CSS class usage and formatting rules.
- *
- * @returns ESLint configuration object for files using Tailwind CSS
- */
-export const tailwindcssPreset = (): Linter.Config => {
- const isWindows = os.platform() === 'win32';
- const lineBreakStyle = isWindows ? 'windows' : 'unix';
-
- return {
- files: ['**/*.tsx'],
- languageOptions: {
- parserOptions: {
- ecmaFeatures: {
- jsx: true,
- },
- },
- },
- plugins: {
- 'better-tailwindcss': eslintPluginBetterTailwindcss,
- },
- settings: {
- 'better-tailwindcss': {
- tailwindConfig: path.resolve(__dirname, '../tailwind/tailwind.config.ts'),
- },
- },
- rules: {
- // enable all recommended rules to warn
- ...eslintPluginBetterTailwindcss.configs['recommended-warn'].rules,
- // enable all recommended rules to error
- ...eslintPluginBetterTailwindcss.configs['recommended-error'].rules,
- 'better-tailwindcss/enforce-consistent-line-wrapping': ['error', {
- printWidth: 120,
- group: 'newLine',
- lineBreakStyle,
- }],
- 'better-tailwindcss/no-unknown-classes': 'off',
- 'better-tailwindcss/no-conflicting-classes': 'off',
- },
- };
-};
-
-/**
- * Test/spec files preset configuration for ESLint.
- * Relaxed rules for test files to allow more flexible testing patterns.
- *
- * @returns ESLint configuration object for test files
- */
-export const specPreset = (): Linter.Config => {
- return {
- files: [
- '**/*.spec.ts',
- '**/__tests__/**/*.ts',
- ],
- rules: {
- 'ts/explicit-function-return-type': 'off',
- },
- };
-};
-
-/**
- * Penetrating import preset configuration for ESLint.
- * Prevents direct imports from internal package directories.
- *
- * @returns ESLint configuration object for preventing penetrating imports
- */
-export const penetratingPreset = (): Linter.Config => {
- return {
- // Not penetrating for source files
- files: ['**/*.ts', '**/*.tsx'],
- plugins: {
- penetrating: fixupPluginRules(penetrating),
- },
- ignores: [
- '**/__tests__/**/*',
- '**/__testing__/**/*',
- 'examples/**/*',
- ],
- rules: {
- 'penetrating/no-penetrating-import': 2,
- },
- };
-};
-
-/**
- * No barrel import preset configuration for ESLint.
- * Prevents barrel imports and enforces code complexity limits.
- *
- * @returns ESLint configuration object for preventing barrel imports
- */
-export const noBarrelImportPreset = (): Linter.Config => {
- return {
- files: ['**/*.ts', '**/*.tsx'],
- ignores: [
- 'packages/engine-render/src/components/docs/**/*.ts',
- '**/*.tsx',
- '**/*.d.ts',
- '**/tsdown.config.ts',
- 'playwright.config.ts',
- '**/*.spec.ts',
- '**/*.spec.tsx',
- '**/*.test.ts',
- '**/*.test.tsx',
- ], // do not check test files
- plugins: {
- barrel: fixupPluginRules(barrel),
- },
- rules: {
- 'barrel/no-barrel-import': 2,
- complexity: ['warn', { max: 20 }],
- 'max-lines-per-function': ['warn', 80],
- },
- };
-};
-
-/**
- * Header preset configuration for ESLint.
- * Enforces Apache License 2.0 header in all source files.
- *
- * @returns ESLint configuration object for enforcing file headers
- */
-export const headerPreset = (): Linter.Config => {
- header.rules.header.meta.schema = false;
-
- return {
- files: ['**/*.ts', '**/*.tsx'],
- ignores: [
- '**/*.d.ts',
- '**/vitest.config.ts',
- '**/vitest.workspace.ts',
- 'playwright.config.ts',
- ],
- plugins: {
- header: fixupPluginRules(header),
- },
- rules: {
- 'header/header': [
- 2,
- 'block',
- [
- '*',
- ' * 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.',
- ' ',
- ],
- 2,
- ],
- },
- };
-};
+export { createUniverEslintConfig } from './config';
+export type { IUniverEslintConfigOptions } from './config';
+export {
+ facadePreset,
+ headerPreset,
+ indexEntryPreset,
+ noBarrelImportPreset,
+ penetratingPreset,
+ specPreset,
+ tailwindcssPreset,
+ typescriptPreset,
+ univerSourcePreset,
+} from './presets';
+export { baseRules } from './rules';
diff --git a/common/shared/eslint/plugins/no-external-imports-in-facade.ts b/common/shared/eslint/plugins/no-external-imports-in-facade.ts
index eb44566c1f..eefd215000 100644
--- a/common/shared/eslint/plugins/no-external-imports-in-facade.ts
+++ b/common/shared/eslint/plugins/no-external-imports-in-facade.ts
@@ -1,4 +1,3 @@
-/* eslint-disable header/header */
import type { Rule } from 'eslint';
import path from 'node:path';
diff --git a/common/shared/eslint/plugins/no-facade-imports-outside-facade.ts b/common/shared/eslint/plugins/no-facade-imports-outside-facade.ts
index 9988177310..189356c7cb 100644
--- a/common/shared/eslint/plugins/no-facade-imports-outside-facade.ts
+++ b/common/shared/eslint/plugins/no-facade-imports-outside-facade.ts
@@ -1,4 +1,3 @@
-/* eslint-disable header/header */
import type { Rule } from 'eslint';
import path from 'node:path';
diff --git a/common/shared/eslint/plugins/no-mixed-type-specifiers-in-index.ts b/common/shared/eslint/plugins/no-mixed-type-specifiers-in-index.ts
new file mode 100644
index 0000000000..2cd54f85bb
--- /dev/null
+++ b/common/shared/eslint/plugins/no-mixed-type-specifiers-in-index.ts
@@ -0,0 +1,122 @@
+import type { Rule, SourceCode } from 'eslint';
+import path from 'node:path';
+
+type ImportOrExportSpecifier = Rule.Node & {
+ importKind?: 'type' | 'value';
+ exportKind?: 'type' | 'value';
+};
+
+function normalizePath(filePath: string): string {
+ return filePath.split(path.sep).join('/');
+}
+
+function getRuleFilename(context: Rule.RuleContext): string {
+ const filenameFromProperty = (context as { filename?: unknown }).filename;
+
+ if (typeof filenameFromProperty === 'string' && filenameFromProperty) {
+ return filenameFromProperty;
+ }
+
+ const getFilename = (context as { getFilename?: () => string }).getFilename;
+ return typeof getFilename === 'function' ? getFilename.call(context) : '';
+}
+
+function isSrcIndexFile(context: Rule.RuleContext): boolean {
+ return normalizePath(getRuleFilename(context)).endsWith('/src/index.ts');
+}
+
+function isInlineTypeSpecifier(specifier: ImportOrExportSpecifier, kind: 'import' | 'export'): boolean {
+ return kind === 'import' ? specifier.importKind === 'type' : specifier.exportKind === 'type';
+}
+
+function trimInlineTypeKeyword(specifierText: string): string {
+ return specifierText.replace(/^type\s+/, '');
+}
+
+function buildReplacement(
+ sourceCode: SourceCode,
+ node: Rule.Node,
+ kind: 'import' | 'export'
+): string | null {
+ const specifiers = (node as { specifiers?: ImportOrExportSpecifier[] }).specifiers;
+ if (!specifiers?.length) {
+ return null;
+ }
+
+ const typeSpecifiers = specifiers.filter((specifier) => isInlineTypeSpecifier(specifier, kind));
+ const valueSpecifiers = specifiers.filter((specifier) => !isInlineTypeSpecifier(specifier, kind));
+ if (typeSpecifiers.length === 0 || valueSpecifiers.length === 0) {
+ return null;
+ }
+
+ const nodeText = sourceCode.getText(node);
+ const openingBraceIndex = nodeText.indexOf('{');
+ const closingBraceIndex = nodeText.lastIndexOf('}');
+ if (openingBraceIndex === -1 || closingBraceIndex === -1 || closingBraceIndex < openingBraceIndex) {
+ return null;
+ }
+
+ const suffixWithSemicolon = nodeText.slice(closingBraceIndex + 1);
+ const hasSemicolon = suffixWithSemicolon.trimEnd().endsWith(';');
+ const suffix = hasSemicolon ? suffixWithSemicolon.replace(/;\s*$/, '') : suffixWithSemicolon;
+ const semicolon = hasSemicolon ? ';' : '';
+ const valueSpecifierText = valueSpecifiers.map((specifier) => sourceCode.getText(specifier)).join(', ');
+ const typeSpecifierText = typeSpecifiers
+ .map((specifier) => trimInlineTypeKeyword(sourceCode.getText(specifier)))
+ .join(', ');
+
+ return `${kind} { ${valueSpecifierText} }${suffix}${semicolon}\n${kind} type { ${typeSpecifierText} }${suffix}${semicolon}`;
+}
+
+const rule: Rule.RuleModule = {
+ meta: {
+ type: 'suggestion',
+ docs: {
+ description: 'Disallow mixing inline type specifiers with value specifiers in src/index.ts',
+ },
+ fixable: 'code',
+ messages: {
+ noMixedExportSpecifiers: 'Do not mix type and value export specifiers in src/index.ts.',
+ noMixedImportSpecifiers: 'Do not mix type and value import specifiers in src/index.ts.',
+ },
+ },
+
+ create(context) {
+ if (!isSrcIndexFile(context)) {
+ return {};
+ }
+
+ return {
+ ImportDeclaration(node: Rule.Node) {
+ const replacement = buildReplacement(context.sourceCode, node, 'import');
+ if (!replacement) {
+ return;
+ }
+
+ context.report({
+ node,
+ messageId: 'noMixedImportSpecifiers',
+ fix(fixer) {
+ return fixer.replaceText(node, replacement);
+ },
+ });
+ },
+ ExportNamedDeclaration(node: Rule.Node) {
+ const replacement = buildReplacement(context.sourceCode, node, 'export');
+ if (!replacement) {
+ return;
+ }
+
+ context.report({
+ node,
+ messageId: 'noMixedExportSpecifiers',
+ fix(fixer) {
+ return fixer.replaceText(node, replacement);
+ },
+ });
+ },
+ };
+ },
+};
+
+export default rule;
diff --git a/common/shared/eslint/plugins/no-self-package-imports.ts b/common/shared/eslint/plugins/no-self-package-imports.ts
index 13210c6766..fdfae2068d 100644
--- a/common/shared/eslint/plugins/no-self-package-imports.ts
+++ b/common/shared/eslint/plugins/no-self-package-imports.ts
@@ -1,4 +1,3 @@
-/* eslint-disable header/header */
import type { Rule } from 'eslint';
import path from 'node:path';
diff --git a/common/shared/eslint/presets.ts b/common/shared/eslint/presets.ts
new file mode 100644
index 0000000000..9721bc31ed
--- /dev/null
+++ b/common/shared/eslint/presets.ts
@@ -0,0 +1,297 @@
+import type { ESLint, Linter } from 'eslint';
+import os from 'node:os';
+import path from 'node:path';
+import { fixupPluginRules } from '@eslint/compat';
+import typescriptParser from '@typescript-eslint/parser';
+import eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';
+import header from 'eslint-plugin-header';
+import barrel from 'eslint-plugin-no-barrel-import';
+import penetrating from 'eslint-plugin-no-penetrating-import';
+import noExternalImportsInFacade from './plugins/no-external-imports-in-facade';
+import noFacadeImportsOutsideFacade from './plugins/no-facade-imports-outside-facade';
+import noMixedTypeSpecifiersInIndex from './plugins/no-mixed-type-specifiers-in-index';
+import noSelfPackageImports from './plugins/no-self-package-imports';
+
+const univerPlugin = {
+ rules: {
+ 'no-external-imports-in-facade': noExternalImportsInFacade,
+ 'no-self-package-imports': noSelfPackageImports,
+ 'no-facade-imports-outside-facade': noFacadeImportsOutsideFacade,
+ 'no-mixed-type-specifiers-in-index': noMixedTypeSpecifiersInIndex,
+ },
+} satisfies ESLint.Plugin;
+
+/**
+ * TypeScript preset configuration for ESLint.
+ * Applies TypeScript-specific rules and custom Univer rules.
+ *
+ * @returns ESLint configuration object for TypeScript files
+ */
+export const typescriptPreset = (): Linter.Config => {
+ return {
+ files: ['**/*.{ts,tsx,mts,cts}'],
+ rules: {
+ 'ts/naming-convention': [
+ 'warn',
+ // Interfaces' names should start with a capital 'I'.
+ {
+ selector: 'interface',
+ format: ['PascalCase'],
+ custom: {
+ regex: '^I[A-Z0-9]',
+ match: true,
+ },
+ },
+ // Private fields of a class should start with an underscore '_'.
+ {
+ selector: ['classMethod', 'classProperty'],
+ modifiers: ['private'],
+ format: ['camelCase'],
+ leadingUnderscore: 'require',
+ },
+ ],
+ // 'ts/consistent-type-exports': 'warn',
+ },
+ languageOptions: {
+ parser: typescriptParser,
+ },
+ };
+};
+
+/**
+ * Index entry preset configuration for ESLint.
+ * Keeps type-only imports and exports separate from value imports and exports.
+ *
+ * @returns ESLint configuration object for package entry files
+ */
+export const indexEntryPreset = (): Linter.Config => {
+ return {
+ files: ['**/src/index.ts'],
+ rules: {
+ 'univer/no-mixed-type-specifiers-in-index': 'error',
+ },
+ plugins: {
+ univer: univerPlugin,
+ },
+ languageOptions: {
+ parser: typescriptParser,
+ },
+ };
+};
+
+/**
+ * Univer source code preset configuration.
+ * Enforces package structure rules for source files.
+ *
+ * @returns ESLint configuration object for Univer source files
+ */
+export const univerSourcePreset = (options: {
+ noFacadeImportsOutsideFacade?: {
+ ignore?: string[];
+ };
+} = {}): Linter.Config => {
+ return {
+ files: ['**/*.ts', '**/*.tsx'],
+ ignores: [
+ '**/__tests__/**/*',
+ '**/*.spec.ts',
+ '**/*.test.ts',
+ ],
+ rules: {
+ 'univer/no-self-package-imports': 'error',
+ 'univer/no-facade-imports-outside-facade': ['error', {
+ ignore: options.noFacadeImportsOutsideFacade?.ignore ?? [],
+ }],
+ },
+ plugins: {
+ univer: univerPlugin,
+ },
+ languageOptions: {
+ parser: typescriptParser,
+ },
+ };
+};
+
+/**
+ * Facade preset configuration for ESLint.
+ * Enforces strict typing and import rules for facade files.
+ *
+ * @returns ESLint configuration object for facade files
+ */
+export const facadePreset = (): Linter.Config => {
+ return {
+ files: ['**/src/facade/**/*.ts'],
+ ignores: [
+ '**/__tests__/**/*',
+ '**/*.spec.ts',
+ '**/*.test.ts',
+ ],
+ rules: {
+ 'ts/explicit-function-return-type': 'error',
+ 'univer/no-external-imports-in-facade': 'error',
+ },
+ plugins: {
+ univer: univerPlugin,
+ },
+ };
+};
+
+/**
+ * Tailwind CSS preset configuration for ESLint.
+ * Enforces Tailwind CSS class usage and formatting rules.
+ *
+ * @returns ESLint configuration object for files using Tailwind CSS
+ */
+export const tailwindcssPreset = (): Linter.Config => {
+ const isWindows = os.platform() === 'win32';
+ const lineBreakStyle = isWindows ? 'windows' : 'unix';
+
+ return {
+ files: ['**/*.tsx'],
+ languageOptions: {
+ parserOptions: {
+ ecmaFeatures: {
+ jsx: true,
+ },
+ },
+ },
+ plugins: {
+ 'better-tailwindcss': eslintPluginBetterTailwindcss,
+ },
+ settings: {
+ 'better-tailwindcss': {
+ tailwindConfig: path.resolve(__dirname, '../tailwind/tailwind.config.ts'),
+ },
+ },
+ rules: {
+ // enable all recommended rules to error
+ ...eslintPluginBetterTailwindcss.configs['recommended-error'].rules,
+ 'better-tailwindcss/enforce-consistent-line-wrapping': ['error', {
+ printWidth: 120,
+ group: 'newLine',
+ lineBreakStyle,
+ }],
+ 'better-tailwindcss/no-unknown-classes': 'off',
+ 'better-tailwindcss/no-conflicting-classes': 'off',
+ },
+ };
+};
+
+/**
+ * Test/spec files preset configuration for ESLint.
+ * Relaxed rules for test files to allow more flexible testing patterns.
+ *
+ * @returns ESLint configuration object for test files
+ */
+export const specPreset = (): Linter.Config => {
+ return {
+ files: [
+ '**/*.spec.ts',
+ '**/__tests__/**/*.ts',
+ ],
+ rules: {
+ 'ts/explicit-function-return-type': 'off',
+ },
+ };
+};
+
+/**
+ * Penetrating import preset configuration for ESLint.
+ * Prevents direct imports from internal package directories.
+ *
+ * @returns ESLint configuration object for preventing penetrating imports
+ */
+export const penetratingPreset = (): Linter.Config => {
+ return {
+ // Not penetrating for source files
+ files: ['**/*.ts', '**/*.tsx'],
+ plugins: {
+ penetrating: fixupPluginRules(penetrating),
+ },
+ ignores: [
+ '**/__tests__/**/*',
+ '**/__testing__/**/*',
+ 'examples/**/*',
+ ],
+ rules: {
+ 'penetrating/no-penetrating-import': 2,
+ },
+ };
+};
+
+/**
+ * No barrel import preset configuration for ESLint.
+ * Prevents barrel imports and enforces code complexity limits.
+ *
+ * @returns ESLint configuration object for preventing barrel imports
+ */
+export const noBarrelImportPreset = (): Linter.Config => {
+ return {
+ files: ['**/*.ts', '**/*.tsx'],
+ ignores: [
+ 'packages/engine-render/src/components/docs/**/*.ts',
+ '**/*.tsx',
+ '**/*.d.ts',
+ '**/tsdown.config.ts',
+ 'playwright.config.ts',
+ '**/*.spec.ts',
+ '**/*.spec.tsx',
+ '**/*.test.ts',
+ '**/*.test.tsx',
+ ], // do not check test files
+ plugins: {
+ barrel: fixupPluginRules(barrel),
+ },
+ rules: {
+ 'barrel/no-barrel-import': 2,
+ complexity: ['warn', { max: 20 }],
+ 'max-lines-per-function': ['warn', 80],
+ },
+ };
+};
+
+/**
+ * Header preset configuration for ESLint.
+ * Enforces Apache License 2.0 header in package and preset source files.
+ *
+ * @returns ESLint configuration object for enforcing file headers
+ */
+export const headerPreset = (): Linter.Config => {
+ header.rules.header.meta.schema = false;
+
+ return {
+ files: ['{packages,presets}/**/*.{ts,tsx}'],
+ ignores: [
+ '**/*.d.ts',
+ '**/vitest.config.ts',
+ '**/vitest.workspace.ts',
+ ],
+ plugins: {
+ header: fixupPluginRules(header),
+ },
+ rules: {
+ 'header/header': [
+ 2,
+ 'block',
+ [
+ '*',
+ ' * 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.',
+ ' ',
+ ],
+ 2,
+ ],
+ },
+ };
+};
diff --git a/common/shared/eslint/rules.ts b/common/shared/eslint/rules.ts
new file mode 100644
index 0000000000..293d27764c
--- /dev/null
+++ b/common/shared/eslint/rules.ts
@@ -0,0 +1,200 @@
+import type { Rules } from '@antfu/eslint-config';
+
+/**
+ * Base ESLint rules configuration for Univer project.
+ * These rules apply to all TypeScript and JavaScript files.
+ */
+const qualityRules: Partial<Rules> = {
+ // Code style and formatting rules
+ curly: ['error', 'multi-line'],
+ 'antfu/if-newline': 'off',
+ 'no-param-reassign': ['warn'],
+ 'eol-last': ['error', 'always'],
+ 'no-empty-function': 'off',
+};
+
+const typescriptRules: Partial<Rules> = {
+ // TypeScript specific rules
+ 'ts/no-explicit-any': 'warn',
+ 'ts/no-redeclare': 'off',
+ 'ts/method-signature-style': 'off',
+};
+
+const styleRules: Partial<Rules> = {
+ // Style and formatting rules
+ 'style/no-multiple-empty-lines': ['error', { max: 1, maxEOF: 0 }],
+ 'style/brace-style': ['warn', '1tbs', { allowSingleLine: true }],
+ 'style/jsx-first-prop-new-line': ['warn', 'multiline'],
+ 'style/arrow-parens': ['error', 'always'],
+ 'style/spaced-comment': 'off',
+ 'style/indent-binary-ops': 'off',
+ 'style/operator-linebreak': 'off',
+ 'style/indent': ['error', 4, {
+ ObjectExpression: 'first',
+ SwitchCase: 1,
+ ignoreComments: true,
+ }],
+ 'style/quotes': ['warn', 'single', { avoidEscape: true }],
+ 'style/jsx-closing-tag-location': 'warn',
+ 'style/jsx-curly-newline': ['warn', { multiline: 'forbid', singleline: 'forbid' }],
+ 'style/jsx-wrap-multilines': 'warn',
+ 'style/quote-props': ['warn', 'as-needed'],
+ 'style/jsx-curly-brace-presence': 'warn',
+ 'style/multiline-ternary': 'warn',
+
+ // Comma and punctuation rules
+ 'style/comma-dangle': ['error', {
+ arrays: 'always-multiline',
+ objects: 'always-multiline',
+ imports: 'always-multiline',
+ exports: 'always-multiline',
+ enums: 'always-multiline',
+ functions: 'never',
+ }],
+};
+
+const filenameRules: Partial<Rules> = {
+ // Filename conventions
+ 'unicorn/filename-case': [
+ 'error',
+ {
+ cases: {
+ kebabCase: true,
+ pascalCase: true,
+ },
+ ignore: [
+ '^README-(\w+)?\\.md$',
+ '^[a-z]{2}-[A-Z]{2}\.ts$',
+ '^__tests__$',
+ '^FUNDING.yml$',
+ '^bug_report.yml$',
+ '^bug_report.zh-CN.yml$',
+ '^feature_request.yml$',
+ '^feature_request.zh-CN.yml$',
+ ],
+ },
+ ],
+};
+
+const reactRules: Partial<Rules> = {
+ // JSX and React rules
+ 'style/jsx-self-closing-comp': ['error', {
+ component: true,
+ html: true,
+ }],
+ 'react-refresh/only-export-components': 'off',
+ 'react/no-unstable-context-value': 'warn',
+ 'react/no-unstable-default-props': 'warn',
+ 'react/no-direct-mutation-state': 'warn',
+ 'react/no-create-ref': 'warn',
+ 'react/rules-of-hooks': 'off',
+ 'react/static-components': 'off',
+ 'react/dom-no-render': 'off',
+ 'react/unsupported-syntax': 'off',
+ 'react/jsx-no-key-after-spread': 'off',
+ 'react/use-memo': 'warn',
+ 'react-hooks/static-components': 'off',
+ 'react-hooks/preserve-manual-memoization': 'off',
+ 'react-hooks/set-state-in-effect': 'off',
+ 'react-hooks/refs': 'off',
+ 'react-hooks/immutability': 'warn',
+ 'react-hooks/use-memo': 'warn',
+ 'react-hooks/purity': 'warn',
+ 'react-hooks/globals': 'warn',
+};
+
+const importRules: Partial<Rules> = {
+ // Import and export rules
+ 'sort-imports': [
+ 'error',
+ {
+ allowSeparatedGroups: false,
+ ignoreCase: true,
+ ignoreDeclarationSort: true,
+ ignoreMemberSort: false,
+ memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
+ },
+ ],
+ 'perfectionist/sort-imports': 'warn',
+ 'perfectionist/sort-named-imports': 'off',
+ 'perfectionist/sort-named-exports': 'warn',
+
+ // Code quality rules
+ 'accessor-pairs': 'warn',
+ 'react-hooks/exhaustive-deps': 'off',
+ 'react-hooks/rules-of-hooks': 'off',
+ 'jsdoc/tag-lines': 'off',
+
+ // Restricted imports for consistency
+ 'no-restricted-imports': [
+ 'error',
+ {
+ paths: [
+ {
+ name: 'clsx',
+ message: 'Please use `import { clsx } from \'@univerjs/design\'` instead.',
+ },
+ ],
+ },
+ ],
+};
+
+const disabledDebatableRules: Partial<Rules> = {
+ // IMPORTANT: To ensure compatibility, some features of React 19 will be disabled.
+ 'react/no-forward-ref': 'off',
+ 'react/no-context-provider': 'off',
+ 'react-dom/no-render': 'off',
+ 'react/no-use-context': 'off',
+
+ // Debatable rules - currently disabled
+ 'test/prefer-lowercase-title': 'off',
+ 'antfu/top-level-function': 'off',
+ 'unicorn/no-new-array': 'off',
+ 'unicorn/prefer-includes': 'off',
+ 'prefer-arrow-callback': 'off',
+ 'no-restricted-globals': 'off',
+ 'unicorn/prefer-string-starts-ends-with': 'warn',
+};
+
+const migrationWarningRules: Partial<Rules> = {
+ // Compatibility rules for legacy code - set to warn for gradual migration
+ 'unused-imports/no-unused-vars': 'warn',
+ 'ts/no-restricted-types': 'warn',
+ 'ts/no-wrapper-object-types': 'warn',
+ 'ts/no-empty-object-type': 'warn',
+ 'ts/no-unsafe-function-type': 'warn',
+ 'ts/no-unused-expressions': 'warn',
+ 'unicorn/prefer-dom-node-text-content': 'warn',
+ 'unicorn/prefer-number-properties': 'warn',
+ 'no-prototype-builtins': 'warn',
+ 'eslint-comments/no-unlimited-disable': 'off',
+ 'ts/prefer-ts-expect-error': 'off',
+ 'ts/ban-ts-comment': 'off',
+ 'ts/no-duplicate-enum-values': 'off',
+ 'no-cond-assign': 'warn',
+ 'ts/no-use-before-define': 'warn',
+ 'test/no-identical-title': 'warn',
+ 'ts/no-non-null-asserted-optional-chain': 'warn',
+ 'no-restricted-syntax': 'warn',
+ 'prefer-regex-literals': 'warn',
+ 'ts/no-this-alias': 'warn',
+ 'prefer-promise-reject-errors': 'warn',
+ 'no-new': 'warn',
+ 'unicorn/error-message': 'warn',
+ 'ts/prefer-literal-enum-member': 'warn',
+ 'no-control-regex': 'warn',
+ 'ts/no-import-type-side-effects': 'warn',
+ 'unicorn/number-literal-case': 'warn',
+ 'unicorn/prefer-type-error': 'warn',
+};
+
+export const baseRules: Partial<Rules> = {
+ ...qualityRules,
+ ...typescriptRules,
+ ...styleRules,
+ ...filenameRules,
+ ...reactRules,
+ ...importRules,
+ ...disabledDebatableRules,
+ ...migrationWarningRules,
+};
diff --git a/common/shared/locale/index.ts b/common/shared/locale/index.ts
index 99f59d9d0d..ce7ddc8999 100644
--- a/common/shared/locale/index.ts
+++ b/common/shared/locale/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { existsSync, readdirSync } from 'node:fs';
import path from 'node:path';
import process from 'node:process';
diff --git a/common/shared/package.json b/common/shared/package.json
index 5c90d85ab3..52351db647 100644
--- a/common/shared/package.json
+++ b/common/shared/package.json
@@ -23,30 +23,30 @@
"./locale": "./locale/index.ts",
"./preset-build": "./preset-build/index.ts"
},
- "main": "bin/index.ts",
+ "main": "bin/index.mts",
"bin": {
- "univer-cli": "bin/index.ts"
+ "univer-cli": "bin/index.mts"
},
"scripts": {
"typecheck": "tsc --noEmit"
},
"dependencies": {
- "@tsdown/css": "^0.22.2",
- "@typescript-eslint/parser": "^8.60.1",
+ "@tsdown/css": "^0.22.3",
+ "@typescript-eslint/parser": "^8.61.1",
"@vitest/coverage-istanbul": "^4.1.9",
"autoprefixer": "^10.5.0",
- "eslint-plugin-better-tailwindcss": "^4.5.0",
+ "eslint-plugin-better-tailwindcss": "^4.6.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-no-barrel-import": "^0.0.2",
"eslint-plugin-no-penetrating-import": "^0.0.1",
- "happy-dom": "20.10.1",
+ "happy-dom": "20.10.6",
"javascript-obfuscator": "^5.4.3",
- "postcss-preset-env": "^11.3.0",
+ "postcss-preset-env": "^11.3.1",
"postcss-replace": "^2.0.1",
"sort-keys": "^6.0.0",
"tailwind-scrollbar": "^3",
"tailwindcss": "3.4.18",
- "tsdown": "^0.22.2",
+ "tsdown": "^0.22.3",
"unplugin-vue": "^7.2.0",
"vitest": "^4.1.9"
},
@@ -55,6 +55,6 @@
"@univerjs/icons-svg": "^1.12.0",
"@univerjs/protocol": "workspace:*",
"typescript": "^6.0.3",
- "vue-tsc": "^3.3.2"
+ "vue-tsc": "^3.3.5"
}
}
diff --git a/common/shared/preset-build/constants.ts b/common/shared/preset-build/constants.ts
index fe4f762115..cf1b94a9e0 100644
--- a/common/shared/preset-build/constants.ts
+++ b/common/shared/preset-build/constants.ts
@@ -1,18 +1,2 @@
-/**
- * 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 const PRESET_LOCALE_SOURCE_DIR = 'src/locales';
export const PRESET_UMD_OUTPUT_DIR = 'lib/umd';
diff --git a/common/shared/preset-build/entries.ts b/common/shared/preset-build/entries.ts
index 7c4a651548..07787da5e2 100644
--- a/common/shared/preset-build/entries.ts
+++ b/common/shared/preset-build/entries.ts
@@ -1,23 +1,7 @@
-/**
- * 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 { IEntryConfig } from '../tsdown/types';
+import type { IEntryConfig } from '../tsdown/types.ts';
import { existsSync, readdirSync, statSync } from 'node:fs';
import path from 'node:path';
-import { PRESET_LOCALE_SOURCE_DIR } from './constants';
+import { PRESET_LOCALE_SOURCE_DIR } from './constants.ts';
function getPresetLocaleEntries(packageDir: string): IEntryConfig[] {
const localeDir = path.join(packageDir, PRESET_LOCALE_SOURCE_DIR);
diff --git a/common/shared/preset-build/index.ts b/common/shared/preset-build/index.ts
index f225a9bd90..b79a7199a9 100644
--- a/common/shared/preset-build/index.ts
+++ b/common/shared/preset-build/index.ts
@@ -1,38 +1,22 @@
-/**
- * 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 { TModuleFormat } from '../tsdown/configs/module';
-import type { IPackageJson } from '../tsdown/types';
-import type { IPresetBuildConfig, IPresetBuildOptions, IPresetPackageJson } from './types';
+import type { TModuleFormat } from '../tsdown/configs/module.ts';
+import type { IPackageJson } from '../tsdown/types.ts';
+import type { IPresetBuildConfig, IPresetBuildOptions, IPresetPackageJson } from './types.ts';
import { existsSync, readFileSync, rmSync } from 'node:fs';
import path from 'node:path';
import process from 'node:process';
import { mergeConfig, build as tsdownBuild } from 'tsdown';
-import { createModuleConfig } from '../tsdown/configs/module';
-import { createUmdConfig } from '../tsdown/configs/umd';
-import { BUILD_OUTPUT_DIRECTORIES, CLEANUP_DIRECTORIES } from '../tsdown/constants';
-import { createBaseConfig, createInputPlugins } from '../tsdown/utils/base-config';
-import { getPresetModuleEntries, getPresetUmdEntries } from './entries';
-import { generatePresetLocales } from './locale';
-import { buildPresetStyles } from './style';
-import { prependPresetUmd } from './umd';
-
-export { generatePresetLocales } from './locale';
-export type { IPresetBuildConfig, IPresetBuildOptions } from './types';
-export { prependPresetUmd } from './umd';
+import { createModuleConfig } from '../tsdown/configs/module.ts';
+import { createUmdConfig } from '../tsdown/configs/umd.ts';
+import { BUILD_OUTPUT_DIRECTORIES, CLEANUP_DIRECTORIES } from '../tsdown/constants.ts';
+import { createBaseConfig, createInputPlugins } from '../tsdown/utils/base-config.ts';
+import { getPresetModuleEntries, getPresetUmdEntries } from './entries.ts';
+import { generatePresetLocales } from './locale.ts';
+import { buildPresetStyles } from './style.ts';
+import { prependPresetUmd } from './umd.ts';
+
+export { generatePresetLocales } from './locale.ts';
+export type { IPresetBuildConfig, IPresetBuildOptions } from './types.ts';
+export { prependPresetUmd } from './umd.ts';
const PRESET_BUILD_CONFIG_FILENAMES = [
'univer-preset.config.mjs',
diff --git a/common/shared/preset-build/locale.ts b/common/shared/preset-build/locale.ts
index cb9c540fc2..0bc2336584 100644
--- a/common/shared/preset-build/locale.ts
+++ b/common/shared/preset-build/locale.ts
@@ -1,24 +1,8 @@
-/**
- * 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 { IGeneratePresetLocalesOptions, IPresetPackageJson } from './types';
+import type { IGeneratePresetLocalesOptions, IPresetPackageJson } from './types.ts';
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
import path from 'node:path';
-import { discoverUniverUiLocales } from '../locale';
-import { PRESET_LOCALE_SOURCE_DIR } from './constants';
+import { discoverUniverUiLocales } from '../locale/index.ts';
+import { PRESET_LOCALE_SOURCE_DIR } from './constants.ts';
function readPackageJson(packageDir: string): IPresetPackageJson {
return JSON.parse(readFileSync(path.join(packageDir, 'package.json'), 'utf8')) as IPresetPackageJson;
diff --git a/common/shared/preset-build/style.ts b/common/shared/preset-build/style.ts
index 098da67274..6a071018b7 100644
--- a/common/shared/preset-build/style.ts
+++ b/common/shared/preset-build/style.ts
@@ -1,25 +1,9 @@
-/**
- * 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 { UserConfig } from 'tsdown';
-import type { IPresetPackageJson } from './types';
+import type { IPresetPackageJson } from './types.ts';
import { existsSync, mkdirSync, rmSync, writeFileSync } from 'node:fs';
import path from 'node:path';
import { defineConfig, build as tsdownBuild } from 'tsdown';
-import { createOutputAliasPlugin } from '../tsdown/plugins/output-alias';
+import { createOutputAliasPlugin } from '../tsdown/plugins/output-alias.ts';
const PRESET_STYLE_TEMP_DIR = '.preset-build';
const PRESET_STYLE_OUTPUT_DIR = 'lib/.preset-style';
diff --git a/common/shared/preset-build/types.ts b/common/shared/preset-build/types.ts
index bb4f254d0d..82ebc61ca4 100644
--- a/common/shared/preset-build/types.ts
+++ b/common/shared/preset-build/types.ts
@@ -1,19 +1,3 @@
-/**
- * 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 interface IPresetBuildOptions {
cleanup?: boolean;
skipUMD?: boolean;
diff --git a/common/shared/preset-build/umd.ts b/common/shared/preset-build/umd.ts
index 1b7d09f8e1..d74c27b026 100644
--- a/common/shared/preset-build/umd.ts
+++ b/common/shared/preset-build/umd.ts
@@ -1,24 +1,8 @@
-/**
- * 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 { IPrependPresetUmdOptions } from './types';
+import type { IPrependPresetUmdOptions } from './types.ts';
import { existsSync, readFileSync, writeFileSync } from 'node:fs';
import path from 'node:path';
-import { discoverUniverUiLocales } from '../locale';
-import { PRESET_UMD_OUTPUT_DIR } from './constants';
+import { discoverUniverUiLocales } from '../locale/index.ts';
+import { PRESET_UMD_OUTPUT_DIR } from './constants.ts';
function readRequiredFile(filePath: string, label: string) {
if (!existsSync(filePath)) {
diff --git a/common/shared/tailwind/__tests__/content.spec.ts b/common/shared/tailwind/__tests__/content.spec.ts
index 04abf98d8f..e53acfe87b 100644
--- a/common/shared/tailwind/__tests__/content.spec.ts
+++ b/common/shared/tailwind/__tests__/content.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
import os from 'node:os';
import path from 'node:path';
diff --git a/common/shared/tailwind/tailwind.config.ts b/common/shared/tailwind/tailwind.config.ts
index e709a14154..34531047fd 100644
--- a/common/shared/tailwind/tailwind.config.ts
+++ b/common/shared/tailwind/tailwind.config.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Config } from 'tailwindcss';
import { existsSync, readFileSync } from 'node:fs';
import path from 'node:path';
diff --git a/common/shared/tsconfig.json b/common/shared/tsconfig.json
index 8b40b9ca98..cb5de9400c 100644
--- a/common/shared/tsconfig.json
+++ b/common/shared/tsconfig.json
@@ -5,7 +5,7 @@
"skipLibCheck": true
},
"include": [
- "bin/**/*.ts",
+ "bin/**/*.mts",
"esbuild/**/*.ts",
"eslint/**/*.ts",
"eslint/**/*.d.ts",
diff --git a/common/shared/tsdown/configs/module.ts b/common/shared/tsdown/configs/module.ts
index c10c3bde0c..01e45704af 100644
--- a/common/shared/tsdown/configs/module.ts
+++ b/common/shared/tsdown/configs/module.ts
@@ -1,25 +1,9 @@
-/**
- * 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 { UserConfig } from 'tsdown';
-import type { IEntryConfig } from '../types';
+import type { IEntryConfig } from '../types.ts';
import { defineConfig } from 'tsdown';
-import { createCssNoopInputOptions } from '../plugins/css-noop';
-import { createOutputAliasPlugin } from '../plugins/output-alias';
-import { createOutputObfuscatorPlugin } from '../plugins/output-obfuscator';
+import { createCssNoopInputOptions } from '../plugins/css-noop.ts';
+import { createOutputAliasPlugin } from '../plugins/output-alias.ts';
+import { createOutputObfuscatorPlugin } from '../plugins/output-obfuscator.ts';
export type TModuleFormat = 'cjs' | 'esm';
diff --git a/common/shared/tsdown/configs/umd.ts b/common/shared/tsdown/configs/umd.ts
index 30b689ec1a..86c0c82cc4 100644
--- a/common/shared/tsdown/configs/umd.ts
+++ b/common/shared/tsdown/configs/umd.ts
@@ -1,26 +1,10 @@
-/**
- * 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 { UserConfig } from 'tsdown';
-import type { IEntryConfig } from '../types';
+import type { IEntryConfig } from '../types.ts';
import { defineConfig } from 'tsdown';
-import { peerDepsMap } from '../data/peer-deps';
-import { createCssNoopInputOptions } from '../plugins/css-noop';
-import { createOutputAliasPlugin } from '../plugins/output-alias';
-import { createOutputObfuscatorPlugin } from '../plugins/output-obfuscator';
+import { peerDepsMap } from '../data/peer-deps.ts';
+import { createCssNoopInputOptions } from '../plugins/css-noop.ts';
+import { createOutputAliasPlugin } from '../plugins/output-alias.ts';
+import { createOutputObfuscatorPlugin } from '../plugins/output-obfuscator.ts';
export interface ICreateUmdConfigOptions {
baseConfig: Partial<UserConfig>;
diff --git a/common/shared/tsdown/constants.ts b/common/shared/tsdown/constants.ts
index aa5bf3991a..93e1aac181 100644
--- a/common/shared/tsdown/constants.ts
+++ b/common/shared/tsdown/constants.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const BUILD_OUTPUT_ROOT = 'dist';
export const BUILD_OUTPUT_DIRECTORIES = {
diff --git a/common/shared/tsdown/data/peer-deps.ts b/common/shared/tsdown/data/peer-deps.ts
index 076caa03b4..169682c78d 100644
--- a/common/shared/tsdown/data/peer-deps.ts
+++ b/common/shared/tsdown/data/peer-deps.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const peerDepsMap = {
react: {
global: 'React',
diff --git a/common/shared/tsdown/index.ts b/common/shared/tsdown/index.ts
index 7f1ad9a692..71e05299c6 100644
--- a/common/shared/tsdown/index.ts
+++ b/common/shared/tsdown/index.ts
@@ -1,34 +1,18 @@
-/**
- * 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 { TModuleFormat } from './configs/module';
-import type { IBuildContext, IBuildOptions } from './types';
+import type { TModuleFormat } from './configs/module.ts';
+import type { IBuildContext, IBuildOptions } from './types.ts';
import { existsSync, rmSync } from 'node:fs';
import path from 'node:path';
import process from 'node:process';
import { mergeConfig, build as tsdownBuild } from 'tsdown';
-import { createModuleConfig } from './configs/module';
-import { createUmdConfig } from './configs/umd';
-import { BUILD_OUTPUT_DIRECTORIES, BUILD_OUTPUT_ROOT, CLEANUP_DIRECTORIES } from './constants';
-import { createBaseConfig, createInputOptions, createInputPlugins } from './utils/base-config';
-import { cleanupPackageJson } from './utils/cleanup-pkg';
-import { getEntries } from './utils/entries';
-import { removeCssArtifacts } from './utils/files';
-import { createExternalPackages, readPackageJson } from './utils/package';
-import { emitPublishPackageJson } from './utils/publish-manifest';
+import { createModuleConfig } from './configs/module.ts';
+import { createUmdConfig } from './configs/umd.ts';
+import { BUILD_OUTPUT_DIRECTORIES, BUILD_OUTPUT_ROOT, CLEANUP_DIRECTORIES } from './constants.ts';
+import { createBaseConfig, createInputOptions, createInputPlugins } from './utils/base-config.ts';
+import { cleanupPackageJson } from './utils/cleanup-pkg.ts';
+import { getEntries } from './utils/entries.ts';
+import { removeCssArtifacts } from './utils/files.ts';
+import { createExternalPackages, readPackageJson } from './utils/package.ts';
+import { emitPublishPackageJson } from './utils/publish-manifest.ts';
/**
* Builds the shared context consumed by all output format factories.
diff --git a/common/shared/tsdown/plugins/class-name-whitespace-cleanup.spec.ts b/common/shared/tsdown/plugins/class-name-whitespace-cleanup.spec.ts
index 08cded1ec2..d9cee8fdc0 100644
--- a/common/shared/tsdown/plugins/class-name-whitespace-cleanup.spec.ts
+++ b/common/shared/tsdown/plugins/class-name-whitespace-cleanup.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { describe, expect, it } from 'vitest';
import { cleanupClassNameTemplateWhitespace } from './class-name-whitespace-cleanup';
diff --git a/common/shared/tsdown/plugins/class-name-whitespace-cleanup.ts b/common/shared/tsdown/plugins/class-name-whitespace-cleanup.ts
index c8c3336018..67db244758 100644
--- a/common/shared/tsdown/plugins/class-name-whitespace-cleanup.ts
+++ b/common/shared/tsdown/plugins/class-name-whitespace-cleanup.ts
@@ -1,19 +1,3 @@
-/**
- * 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 path from 'node:path';
import * as ts from 'typescript';
diff --git a/common/shared/tsdown/plugins/css-noop.ts b/common/shared/tsdown/plugins/css-noop.ts
index 49b4e9df8e..127b4ff72b 100644
--- a/common/shared/tsdown/plugins/css-noop.ts
+++ b/common/shared/tsdown/plugins/css-noop.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { UserConfig } from 'tsdown';
const CSS_NOOP_PLUGIN_NAME = 'univer-css-noop';
diff --git a/common/shared/tsdown/plugins/output-alias.ts b/common/shared/tsdown/plugins/output-alias.ts
index f365e6dd6b..6aa0fd7acb 100644
--- a/common/shared/tsdown/plugins/output-alias.ts
+++ b/common/shared/tsdown/plugins/output-alias.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { cpSync, existsSync, mkdirSync, unlinkSync } from 'node:fs';
import path from 'node:path';
diff --git a/common/shared/tsdown/plugins/output-obfuscator.ts b/common/shared/tsdown/plugins/output-obfuscator.ts
index c56666f8ce..9246e73751 100644
--- a/common/shared/tsdown/plugins/output-obfuscator.ts
+++ b/common/shared/tsdown/plugins/output-obfuscator.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ObfuscatorOptions } from 'javascript-obfuscator';
import { readFileSync, writeFileSync } from 'node:fs';
import path from 'node:path';
diff --git a/common/shared/tsdown/types.ts b/common/shared/tsdown/types.ts
index d7a4f48656..26b06a5212 100644
--- a/common/shared/tsdown/types.ts
+++ b/common/shared/tsdown/types.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { UserConfig } from 'tsdown';
export interface IBuildOptions {
diff --git a/common/shared/tsdown/utils/base-config.ts b/common/shared/tsdown/utils/base-config.ts
index 68f0ede4b0..ce5bd13fbf 100644
--- a/common/shared/tsdown/utils/base-config.ts
+++ b/common/shared/tsdown/utils/base-config.ts
@@ -1,26 +1,10 @@
-/**
- * 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 { UserConfig } from 'tsdown';
-import type { IBuildContext, IBuildOptions } from '../types';
+import type { IBuildContext, IBuildOptions } from '../types.ts';
import path from 'node:path';
import vue from 'unplugin-vue/rolldown';
-import { DEFAULT_BROWSER_TARGET } from '../constants';
-import { createClassNameWhitespaceCleanupPlugin } from '../plugins/class-name-whitespace-cleanup';
-import { hasSourceFiles } from './files';
+import { DEFAULT_BROWSER_TARGET } from '../constants.ts';
+import { createClassNameWhitespaceCleanupPlugin } from '../plugins/class-name-whitespace-cleanup.ts';
+import { hasSourceFiles } from './files.ts';
/**
* Resolves extra bundler plugins based on the package source layout.
diff --git a/common/shared/tsdown/utils/cleanup-pkg.ts b/common/shared/tsdown/utils/cleanup-pkg.ts
index d6ce72aeae..1196491cbf 100644
--- a/common/shared/tsdown/utils/cleanup-pkg.ts
+++ b/common/shared/tsdown/utils/cleanup-pkg.ts
@@ -1,26 +1,10 @@
-/**
- * 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.
- */
-
/* eslint-disable max-lines-per-function */
-import type { IPackageJson } from '../types';
+import type { IPackageJson } from '../types.ts';
import fs from 'node:fs';
import path from 'node:path';
import sortKeys from 'sort-keys';
import * as ts from 'typescript';
-import { peerDepsMap } from '../data/peer-deps';
+import { peerDepsMap } from '../data/peer-deps.ts';
type StringMap = Record<string, string>;
type PeerDepValue = (typeof peerDepsMap)[keyof typeof peerDepsMap] & { optional?: boolean };
diff --git a/common/shared/tsdown/utils/entries.ts b/common/shared/tsdown/utils/entries.ts
index 5a32dce462..a8c9e212f1 100644
--- a/common/shared/tsdown/utils/entries.ts
+++ b/common/shared/tsdown/utils/entries.ts
@@ -1,23 +1,7 @@
-/**
- * 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 { IEntryConfig } from '../types';
+import type { IEntryConfig } from '../types.ts';
import { existsSync, readdirSync, statSync } from 'node:fs';
import path from 'node:path';
-import { DEFAULT_ENTRY_FILE, FACADE_ENTRY_FILE, LOCALE_DIRECTORY } from '../constants';
+import { DEFAULT_ENTRY_FILE, FACADE_ENTRY_FILE, LOCALE_DIRECTORY } from '../constants.ts';
/**
* Collects all canonical build entries for a package.
diff --git a/common/shared/tsdown/utils/files.ts b/common/shared/tsdown/utils/files.ts
index 8053dca260..5a5bcb991c 100644
--- a/common/shared/tsdown/utils/files.ts
+++ b/common/shared/tsdown/utils/files.ts
@@ -1,22 +1,6 @@
-/**
- * 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 { existsSync, readdirSync, unlinkSync } from 'node:fs';
import path from 'node:path';
-import { SOURCE_DIRECTORY } from '../constants';
+import { SOURCE_DIRECTORY } from '../constants.ts';
/**
* Walks the package source tree and returns whether a given file suffix exists.
diff --git a/common/shared/tsdown/utils/package.ts b/common/shared/tsdown/utils/package.ts
index 1dd347dae9..e135614c09 100644
--- a/common/shared/tsdown/utils/package.ts
+++ b/common/shared/tsdown/utils/package.ts
@@ -1,20 +1,4 @@
-/**
- * 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 { IPackageJson } from '../types';
+import type { IPackageJson } from '../types.ts';
import { readFileSync } from 'node:fs';
import path from 'node:path';
diff --git a/common/shared/tsdown/utils/publish-manifest.ts b/common/shared/tsdown/utils/publish-manifest.ts
index 250fdc71e6..c242f5e2c3 100644
--- a/common/shared/tsdown/utils/publish-manifest.ts
+++ b/common/shared/tsdown/utils/publish-manifest.ts
@@ -1,23 +1,7 @@
-/**
- * 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 { IPackageJson } from '../types';
+import type { IPackageJson } from '../types.ts';
import { mkdirSync, writeFileSync } from 'node:fs';
import path from 'node:path';
-import { readPackageJson } from './package';
+import { readPackageJson } from './package.ts';
const ROOT_MANIFEST_FIELDS = [
'author',
diff --git a/common/shared/vitest/index.ts b/common/shared/vitest/index.ts
index b0a708d27e..58e6519abb 100644
--- a/common/shared/vitest/index.ts
+++ b/common/shared/vitest/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { createRequire } from 'node:module';
import { defineConfig, mergeConfig } from 'vitest/config';
diff --git a/common/storybook/.storybook/main.ts b/common/storybook/.storybook/main.ts
index fdf930069f..31ee328a22 100644
--- a/common/storybook/.storybook/main.ts
+++ b/common/storybook/.storybook/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { StorybookConfig } from '@storybook/react-webpack5';
import type { StoriesEntry } from 'storybook/internal/types';
import { existsSync, readdirSync } from 'node:fs';
diff --git a/common/storybook/.storybook/preview.tsx b/common/storybook/.storybook/preview.tsx
index cc151f1449..c9fe12a9e1 100644
--- a/common/storybook/.storybook/preview.tsx
+++ b/common/storybook/.storybook/preview.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Preview } from '@storybook/react';
import type { Theme } from '@univerjs/themes';
import {
@@ -46,7 +30,6 @@ import enUS from '@univerjs/design/locale/en-US';
import zhCN from '@univerjs/design/locale/zh-CN';
import { defaultTheme, greenTheme } from '@univerjs/themes';
import { DesktopLocalStorageService, RediContext, ThemeSwitcherService } from '@univerjs/ui';
-
import { useEffect, useMemo } from 'react';
import './global.css';
@@ -80,7 +63,6 @@ const preview: Preview = {
toolbar: {
icon: 'cog',
items: Object.keys(themes),
- showName: true,
},
},
i18n: {
@@ -90,7 +72,6 @@ const preview: Preview = {
toolbar: {
icon: 'globe',
items: [LocaleType.ZH_CN, LocaleType.EN_US],
- showName: true,
},
},
darkMode: {
@@ -100,7 +81,6 @@ const preview: Preview = {
toolbar: {
icon: 'sun',
items: ['light', 'dark'],
- showName: true,
},
},
},
diff --git a/common/storybook/package.json b/common/storybook/package.json
index 86422a96e0..6388309657 100644
--- a/common/storybook/package.json
+++ b/common/storybook/package.json
@@ -16,21 +16,21 @@
"build:storybook": "storybook build"
},
"dependencies": {
- "@chromatic-com/storybook": "^5.1.2",
- "@storybook/addon-docs": "^10.3.6",
- "@storybook/addon-links": "^10.3.6",
+ "@chromatic-com/storybook": "^5.2.1",
+ "@storybook/addon-docs": "^10.4.6",
+ "@storybook/addon-links": "^10.4.6",
"@storybook/addon-styling-webpack": "^3.0.2",
"@storybook/addon-webpack5-compiler-swc": "^4.0.3",
"@storybook/icons": "^2.0.2",
- "@storybook/react": "^10.3.6",
- "@storybook/react-webpack5": "^10.3.6",
+ "@storybook/react": "^10.4.6",
+ "@storybook/react-webpack5": "^10.4.6",
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/themes": "workspace:*",
"@univerjs/ui": "workspace:*",
"css-loader": "^7.1.4",
"postcss-loader": "^8.2.1",
- "storybook": "^10.3.6",
+ "storybook": "^10.4.6",
"storybook-addon-swc": "^1.2.0",
"style-loader": "^4.0.0",
"tsconfig-paths-webpack-plugin": "^4.2.0",
diff --git a/common/storybook/tailwind.config.ts b/common/storybook/tailwind.config.ts
index 62915ae6bf..63bb907466 100644
--- a/common/storybook/tailwind.config.ts
+++ b/common/storybook/tailwind.config.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Config } from 'tailwindcss';
import fs from 'node:fs';
import path from 'node:path';
diff --git a/e2e/__testing__/dense-text-scroll.ts b/e2e/__testing__/dense-text-scroll.ts
index 909fa7b769..9e3e0b5eda 100644
--- a/e2e/__testing__/dense-text-scroll.ts
+++ b/e2e/__testing__/dense-text-scroll.ts
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
interface ICellData {
v: string | number | boolean;
t: number;
diff --git a/e2e/__testing__/emptysheet.ts b/e2e/__testing__/emptysheet.ts
index 34c97cf923..9813ae4b00 100644
--- a/e2e/__testing__/emptysheet.ts
+++ b/e2e/__testing__/emptysheet.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const sheetData = {
id: 'workbook-01',
sheetOrder: [
diff --git a/e2e/__testing__/freezesheet.ts b/e2e/__testing__/freezesheet.ts
index b0d96de9b3..0a8ed6fba1 100644
--- a/e2e/__testing__/freezesheet.ts
+++ b/e2e/__testing__/freezesheet.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const sheetData = {
id: 'workbook-01',
sheetOrder: [
diff --git a/e2e/__testing__/mergecell.ts b/e2e/__testing__/mergecell.ts
index f04fdee8b7..9579f883e9 100644
--- a/e2e/__testing__/mergecell.ts
+++ b/e2e/__testing__/mergecell.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const sheetData = {
id: 'workbook-01',
sheetOrder: [
diff --git a/e2e/__testing__/overflow.ts b/e2e/__testing__/overflow.ts
index bf96d99931..ce9a0cb004 100644
--- a/e2e/__testing__/overflow.ts
+++ b/e2e/__testing__/overflow.ts
@@ -1,19 +1,3 @@
-/**
- * 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 const sheetData = {
id: 'workbook-01',
sheetOrder: [
diff --git a/e2e/disposing/disposing.spec.ts b/e2e/disposing/disposing.spec.ts
index 3ff7eecee8..79cecbf2b9 100644
--- a/e2e/disposing/disposing.spec.ts
+++ b/e2e/disposing/disposing.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { expect, test } from '@playwright/test';
test('no error on constructing and disposing', async ({ page }) => {
diff --git a/e2e/memory/memory.spec.ts b/e2e/memory/memory.spec.ts
index 58af0d4f48..dec1773949 100644
--- a/e2e/memory/memory.spec.ts
+++ b/e2e/memory/memory.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { CDPSession } from '@playwright/test';
import { createWriteStream } from 'node:fs';
import { expect, test } from '@playwright/test';
@@ -164,7 +148,7 @@ test('memory', async ({ page }) => {
});
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
createNewInstance: () => void;
}
diff --git a/e2e/memory/util.ts b/e2e/memory/util.ts
index 121b98d382..b044aefe92 100644
--- a/e2e/memory/util.ts
+++ b/e2e/memory/util.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { CDPSession } from '@playwright/test';
interface IMetrics {
diff --git a/e2e/perf/scroll.spec.ts b/e2e/perf/scroll.spec.ts
index 6d65cb955e..990dfcb96a 100644
--- a/e2e/perf/scroll.spec.ts
+++ b/e2e/perf/scroll.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
/* eslint-disable no-console */
import type { Page } from '@playwright/test';
import { expect, test } from '@playwright/test';
diff --git a/e2e/smoking/mobile-s/mobile-s-smoking.spec.ts b/e2e/smoking/mobile-s/mobile-s-smoking.spec.ts
index 606c4f90a1..7a2efa08f4 100644
--- a/e2e/smoking/mobile-s/mobile-s-smoking.spec.ts
+++ b/e2e/smoking/mobile-s/mobile-s-smoking.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { expect, test } from '@playwright/test';
test('ensure mobile-s boots up without errors', async ({ page }) => {
diff --git a/e2e/smoking/sheets-multi/sheets-multi-smoking.spec.ts b/e2e/smoking/sheets-multi/sheets-multi-smoking.spec.ts
index 9d2fdd069f..d81ebb2104 100644
--- a/e2e/smoking/sheets-multi/sheets-multi-smoking.spec.ts
+++ b/e2e/smoking/sheets-multi/sheets-multi-smoking.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { expect, test } from '@playwright/test';
test('ensure sheets-multi boots up without errors', async ({ page }) => {
diff --git a/e2e/smoking/uni/uni-smoking.spec.ts b/e2e/smoking/uni/uni-smoking.spec.ts
index 70550b6f34..89161aae1d 100644
--- a/e2e/smoking/uni/uni-smoking.spec.ts
+++ b/e2e/smoking/uni/uni-smoking.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { expect, test } from '@playwright/test';
test('ensure uni boots up without errors', async ({ page }) => {
diff --git a/e2e/utils/report-performance.ts b/e2e/utils/report-performance.ts
index e7b27b4702..39f9fda103 100644
--- a/e2e/utils/report-performance.ts
+++ b/e2e/utils/report-performance.ts
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
/* eslint-disable node/prefer-global/process */
import { PostHog } from 'posthog-node';
diff --git a/e2e/visual-comparison/const.ts b/e2e/visual-comparison/const.ts
index 4f1ac22e33..363c69cef2 100644
--- a/e2e/visual-comparison/const.ts
+++ b/e2e/visual-comparison/const.ts
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
// eslint-disable-next-line node/prefer-global/process
export const IS_CI = !!process.env.CI;
diff --git a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts
index 8be10b2b51..e0e83d632f 100644
--- a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts
+++ b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { expect, test } from '@playwright/test';
import { generateSnapshotName } from '../const';
diff --git a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts
index 8dc65ed8fe..abcb7536ca 100644
--- a/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts
+++ b/e2e/visual-comparison/sheets/sheets-formula-related.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { chromium, expect, test } from '@playwright/test';
import { generateSnapshotName } from '../const';
diff --git a/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts b/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts
index 4965cad368..e7e51cab70 100644
--- a/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts
+++ b/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { chromium, expect, test } from '@playwright/test';
import { generateSnapshotName } from '../const';
diff --git a/e2e/visual-comparison/sheets/sheets-scroll.spec.ts b/e2e/visual-comparison/sheets/sheets-scroll.spec.ts
index 0f2291b79c..b061bc2aaa 100644
--- a/e2e/visual-comparison/sheets/sheets-scroll.spec.ts
+++ b/e2e/visual-comparison/sheets/sheets-scroll.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { chromium, expect, test } from '@playwright/test';
import { generateSnapshotName } from '../const';
diff --git a/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts b/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts
index 87305f9b09..7fb51ee345 100644
--- a/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts
+++ b/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { chromium, expect, test } from '@playwright/test';
import { generateSnapshotName } from '../const';
diff --git a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts
index 9e08069507..974bf94849 100644
--- a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts
+++ b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { chromium, expect, test } from '@playwright/test';
import { generateSnapshotName } from '../const';
diff --git a/eslint.config.ts b/eslint.config.ts
index 6748187dae..ee25adc47e 100644
--- a/eslint.config.ts
+++ b/eslint.config.ts
@@ -1,63 +1,16 @@
-/* eslint-disable header/header */
-import antfu from '@antfu/eslint-config';
-import {
- baseRules,
- facadePreset,
- headerPreset,
- noBarrelImportPreset,
- penetratingPreset,
- specPreset,
- tailwindcssPreset,
- typescriptPreset,
- univerSourcePreset,
-} from '@univerjs-infra/shared/eslint';
-import reactHooks from 'eslint-plugin-react-hooks';
+import { createUniverEslintConfig } from '@univerjs-infra/shared/eslint';
-export default antfu(
- {
- ignores: [
- 'mockdata/**/*.json',
- 'pnpm-lock.yaml',
- 'examples/src/demos.ts',
- 'examples/public',
+export default createUniverEslintConfig({
+ ignores: [
+ 'mockdata/**/*.json',
+ 'pnpm-lock.yaml',
+ 'examples/src/demos.ts',
+ 'examples/public',
+ ],
+ header: true,
+ noFacadeImportsOutsideFacade: {
+ ignore: [
+ 'presets/packages/preset-',
],
- stylistic: {
- indent: 4,
- semi: true,
- },
- e18e: false,
- regexp: false,
- react: true,
- pnpm: false,
- yaml: {
- overrides: {
- 'yaml/indent': ['error', 4, { indicatorValueIndent: 2 }],
- },
- },
- markdown: false,
- typescript: true,
- formatters: {
- css: true,
- html: true,
- },
- plugins: {
- 'react-hooks': reactHooks,
- },
- rules: baseRules,
},
- headerPreset(),
- penetratingPreset(),
- typescriptPreset(),
- univerSourcePreset({
- noFacadeImportsOutsideFacade: {
- ignore: [
- 'packages/uniscript/src/services/script-execution.service.ts',
- 'presets/packages/preset-',
- ],
- },
- }),
- facadePreset(),
- noBarrelImportPreset(),
- tailwindcssPreset(),
- specPreset()
-);
+});
diff --git a/examples/esbuild.config.ts b/examples/esbuild.config.mts
similarity index 83%
rename from examples/esbuild.config.ts
rename to examples/esbuild.config.mts
index a7c14fdbb8..253aa0a9ed 100644
--- a/examples/esbuild.config.ts
+++ b/examples/esbuild.config.mts
@@ -1,27 +1,11 @@
-/**
- * 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 { Plugin, PluginBuild } from 'esbuild';
import process from 'node:process';
import detect from 'detect-port';
import esbuild from 'esbuild';
import minimist from 'minimist';
-import { createBuildConfig } from './scripts/esbuild/build-config';
-import { monacoBuildTask, nodeBuildTask } from './scripts/esbuild/build-tasks';
-import { createLogger, formatDuration } from './scripts/esbuild/logger';
+import { createBuildConfig } from './scripts/esbuild/build-config.mts';
+import { monacoBuildTask, nodeBuildTask } from './scripts/esbuild/build-tasks.mts';
+import { createLogger, formatDuration } from './scripts/esbuild/logger.mts';
const args = minimist(process.argv.slice(2));
const isE2E = !!args.e2e;
diff --git a/examples/package.json b/examples/package.json
index 4b9929140a..2cffe4f0e0 100644
--- a/examples/package.json
+++ b/examples/package.json
@@ -1,5 +1,6 @@
{
"name": "univer-examples",
+ "type": "module",
"private": true,
"description": "Univer vanilla ts demo project",
"author": "DreamNum <[email protected]>",
@@ -8,11 +9,11 @@
"./*": "./src/*"
},
"scripts": {
- "prepare": "tsx ./scripts/sync-demos.ts",
- "build:demo": "tsx ./esbuild.config.ts",
- "dev:demo": "tsx ./esbuild.config.ts --watch",
- "dev:e2e": "tsx ./esbuild.config.ts --watch --e2e",
- "build:e2e": "tsx ./esbuild.config.ts --e2e",
+ "prepare": "node --experimental-strip-types ./scripts/sync-demos.mts",
+ "build:demo": "node --experimental-strip-types ./esbuild.config.mts",
+ "dev:demo": "node --experimental-strip-types ./esbuild.config.mts --watch",
+ "dev:e2e": "node --experimental-strip-types ./esbuild.config.mts --watch --e2e",
+ "build:e2e": "node --experimental-strip-types ./esbuild.config.mts --e2e",
"typecheck": "tsc --noEmit"
},
"dependencies": {
@@ -100,7 +101,7 @@
"rxjs": "^7.8.2"
},
"devDependencies": {
- "@clack/prompts": "^1.5.1",
+ "@clack/prompts": "^1.6.0",
"@types/minimist": "^1.2.5",
"@univerjs-infra/shared": "workspace:*",
"detect-port": "^2.1.0",
diff --git a/examples/scripts/esbuild/build-config.ts b/examples/scripts/esbuild/build-config.mts
similarity index 83%
rename from examples/scripts/esbuild/build-config.ts
rename to examples/scripts/esbuild/build-config.mts
index ac0e96847f..b81c95d41f 100644
--- a/examples/scripts/esbuild/build-config.ts
+++ b/examples/scripts/esbuild/build-config.mts
@@ -1,19 +1,3 @@
-/**
- * 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 { BuildOptions, Plugin, SameShape } from 'esbuild';
import { execSync } from 'node:child_process';
import path from 'node:path';
@@ -26,7 +10,7 @@ import vue3 from 'esbuild-plugin-vue3';
import stylePlugin from 'esbuild-style-plugin';
import * as React from 'react';
import tailwindcss from 'tailwindcss';
-import { syncDemoArtifacts } from '../sync-demos';
+import { syncDemoArtifacts } from '../sync-demos.mts';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const nodeModules = path.resolve(process.cwd(), './node_modules');
@@ -61,7 +45,7 @@ export async function createBuildConfig(args: IBuildArgs): Promise<SameShape<Bui
let entryPoints: string[];
if (args.watch && !isAll) {
- const { selectEntries } = await import('../select-entries');
+ const { selectEntries } = await import('../select-entries.mts');
const result = await selectEntries();
entryPoints = result.entryPoints;
} else {
diff --git a/examples/scripts/esbuild/build-tasks.ts b/examples/scripts/esbuild/build-tasks.mts
similarity index 66%
rename from examples/scripts/esbuild/build-tasks.ts
rename to examples/scripts/esbuild/build-tasks.mts
index 6e7b4f6836..5c998e6803 100644
--- a/examples/scripts/esbuild/build-tasks.ts
+++ b/examples/scripts/esbuild/build-tasks.mts
@@ -1,19 +1,3 @@
-/**
- * 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 esbuild from 'esbuild';
import cleanPlugin from 'esbuild-plugin-clean';
diff --git a/examples/scripts/esbuild/logger.ts b/examples/scripts/esbuild/logger.mts
similarity index 76%
rename from examples/scripts/esbuild/logger.ts
rename to examples/scripts/esbuild/logger.mts
index cd1bdc32c8..d354d1dae5 100644
--- a/examples/scripts/esbuild/logger.ts
+++ b/examples/scripts/esbuild/logger.mts
@@ -1,19 +1,3 @@
-/**
- * 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 process from 'node:process';
const supportsColor = !!process.stdout.isTTY && process.env.NO_COLOR == null;
diff --git a/examples/scripts/select-entries.ts b/examples/scripts/select-entries.mts
similarity index 83%
rename from examples/scripts/select-entries.ts
rename to examples/scripts/select-entries.mts
index b7f86107e1..d99e993204 100644
--- a/examples/scripts/select-entries.ts
+++ b/examples/scripts/select-entries.mts
@@ -1,26 +1,10 @@
-/**
- * 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 { IDemoDefinition } from './sync-demos';
+import type { IDemoDefinition } from './sync-demos.mts';
import fs from 'node:fs';
import path from 'node:path';
import process from 'node:process';
import { fileURLToPath } from 'node:url';
import { cancel, isCancel, multiselect } from '@clack/prompts';
-import { discoverDemos, syncDemoArtifacts } from './sync-demos';
+import { discoverDemos, syncDemoArtifacts } from './sync-demos.mts';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const EXAMPLES_ROOT = path.resolve(__dirname, '..');
diff --git a/examples/scripts/sync-demos.ts b/examples/scripts/sync-demos.mts
similarity index 90%
rename from examples/scripts/sync-demos.ts
rename to examples/scripts/sync-demos.mts
index db1bdde1df..bdf54f02fb 100644
--- a/examples/scripts/sync-demos.ts
+++ b/examples/scripts/sync-demos.mts
@@ -1,19 +1,3 @@
-/**
- * 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 fs from 'node:fs';
import path from 'node:path';
import process from 'node:process';
@@ -181,7 +165,7 @@ function syncDemosModule(demos: IDemoDefinition[]) {
const content = `${[
'/**',
- ' * This file is auto-generated by `./scripts/sync-demos.ts`.',
+ ' * This file is auto-generated by `./scripts/sync-demos.mts`.',
' */',
`export const demos = ${JSON.stringify(demoImports, null, 4)} as const;`,
'',
diff --git a/examples/src/client.ts b/examples/src/client.ts
index 77d92f962e..f4be1d7d06 100644
--- a/examples/src/client.ts
+++ b/examples/src/client.ts
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
// @ts-nocheck
import ReactDOM from 'react-dom';
diff --git a/examples/src/docs-uniscript/main.ts b/examples/src/docs-uniscript/main.ts
index 900044b55c..9277ffa7fc 100644
--- a/examples/src/docs-uniscript/main.ts
+++ b/examples/src/docs-uniscript/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Univer, UniverInstanceType } from '@univerjs/core';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
@@ -25,7 +9,6 @@ import { UniverSheetsPlugin } from '@univerjs/sheets';
import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverUIPlugin } from '@univerjs/ui';
import { UniverUniscriptPlugin } from '@univerjs/uniscript';
-
import '../global.css';
// univer
@@ -67,7 +50,7 @@ univer.registerPlugin(UniverUniscriptPlugin, {
univer.createUnit(UniverInstanceType.UNIVER_DOC, DEFAULT_DOCUMENT_DATA_CN);
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
}
diff --git a/examples/src/docs/main.ts b/examples/src/docs/main.ts
index a77ef07435..ac6c3a3fe5 100644
--- a/examples/src/docs/main.ts
+++ b/examples/src/docs/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Univer, UniverInstanceType, UserManagerService } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
@@ -30,11 +14,9 @@ import { DEFAULT_DOCUMENT_DATA_SIMPLE, loadDebuggerLocale } from '@univerjs/mock
import zhCN from '@univerjs/mockdata/locales/zh-CN';
import { UniverUIPlugin } from '@univerjs/ui';
import { UniverWatermarkPlugin } from '@univerjs/watermark';
-
import '@univerjs/docs/facade';
import '@univerjs/docs-ui/facade';
import '@univerjs/watermark/facade';
-
import '../global.css';
/* eslint-disable node/prefer-global/process */
@@ -88,7 +70,7 @@ if (!IS_E2E) {
// use for console test
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
}
diff --git a/examples/src/main.tsx b/examples/src/main.tsx
index 4a1cdae08d..b08c3938df 100644
--- a/examples/src/main.tsx
+++ b/examples/src/main.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { clsx, render } from '@univerjs/design';
import { defaultTheme } from '@univerjs/themes';
import { ThemeSwitcherService } from '@univerjs/ui';
diff --git a/examples/src/node/cases/basic.ts b/examples/src/node/cases/basic.ts
index ee079dd0f3..ad3750325a 100644
--- a/examples/src/node/cases/basic.ts
+++ b/examples/src/node/cases/basic.ts
@@ -1,19 +1,3 @@
-/**
- * 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 process from 'node:process';
import { awaitTime } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
diff --git a/examples/src/node/index.ts b/examples/src/node/index.ts
index 794464935b..ae9cb10ac0 100644
--- a/examples/src/node/index.ts
+++ b/examples/src/node/index.ts
@@ -1,17 +1 @@
-/**
- * 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 { createUniverOnNode, type ICreateUniverOnNodeOptions } from './sdk';
diff --git a/examples/src/node/sdk/facade.ts b/examples/src/node/sdk/facade.ts
index b10a4868d3..d56276de4e 100644
--- a/examples/src/node/sdk/facade.ts
+++ b/examples/src/node/sdk/facade.ts
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
// Facade API here are part of packages/facade/src/apis/everything.ts
// However some plugins are implemented incorrectly, so they are not included here.
diff --git a/examples/src/node/sdk/index.ts b/examples/src/node/sdk/index.ts
index d28ed538f4..d089df2122 100644
--- a/examples/src/node/sdk/index.ts
+++ b/examples/src/node/sdk/index.ts
@@ -1,19 +1,3 @@
-/**
- * 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 path from 'node:path';
import { LocaleType, Univer } from '@univerjs/core';
import { UniverDataValidationPlugin } from '@univerjs/data-validation';
@@ -32,7 +16,6 @@ import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula';
import { UniverSheetsHyperLinkPlugin } from '@univerjs/sheets-hyper-link';
import { UniverSheetsSortPlugin } from '@univerjs/sheets-sort';
import { UniverThreadCommentPlugin } from '@univerjs/thread-comment';
-
import './facade';
export interface ICreateUniverOnNodeOptions {
diff --git a/examples/src/node/sdk/worker.ts b/examples/src/node/sdk/worker.ts
index 463c90ba95..0fd36c8baa 100644
--- a/examples/src/node/sdk/worker.ts
+++ b/examples/src/node/sdk/worker.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, Univer } from '@univerjs/core';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
import { UniverRPCNodeWorkerPlugin } from '@univerjs/rpc-node';
diff --git a/examples/src/preset-docs-core/main.ts b/examples/src/preset-docs-core/main.ts
index 7495ef0e60..1c24d3713a 100644
--- a/examples/src/preset-docs-core/main.ts
+++ b/examples/src/preset-docs-core/main.ts
@@ -1,37 +1,14 @@
-/**
- * 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 { FUniver, Univer } from '@univerjs/presets';
-
import { DEFAULT_DOCUMENT_DATA_SIMPLE } from '@univerjs/mockdata';
-
import { UniverDocsCorePreset } from '@univerjs/preset-docs-core';
import UniverPresetDocsCoreZhCN from '@univerjs/preset-docs-core/locales/zh-CN';
-
import { UniverDocsDrawingPreset } from '@univerjs/preset-docs-drawing';
import UniverPresetDocsDrawingZhCN from '@univerjs/preset-docs-drawing/locales/zh-CN';
-
import { UniverDocsHyperLinkPreset } from '@univerjs/preset-docs-hyper-link';
import UniverPresetDocsHyperLinkZhCN from '@univerjs/preset-docs-hyper-link/locales/zh-CN';
-
import { UniverDocsThreadCommentPreset } from '@univerjs/preset-docs-thread-comment';
import UniverPresetDocsThreadCommentZhCN from '@univerjs/preset-docs-thread-comment/locales/zh-CN';
-
import { createUniver, defaultTheme, LocaleType, LogLevel, mergeLocales, UniverInstanceType } from '@univerjs/presets';
-
import '../global.css';
const { univer, univerAPI } = createUniver({
@@ -62,7 +39,7 @@ window.univer = univer;
window.univerAPI = univerAPI;
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
univerAPI?: FUniver;
diff --git a/examples/src/preset-sheets-core-with-worker/main.ts b/examples/src/preset-sheets-core-with-worker/main.ts
index 7bc8fcb094..731dc164f6 100644
--- a/examples/src/preset-sheets-core-with-worker/main.ts
+++ b/examples/src/preset-sheets-core-with-worker/main.ts
@@ -15,44 +15,30 @@
*/
import type { FUniver, Univer } from '@univerjs/presets';
-
import { DEFAULT_WORKBOOK_DATA_DEMO } from '@univerjs/mockdata';
-
import { UniverSheetsConditionalFormattingPreset } from '@univerjs/preset-sheets-conditional-formatting';
import UniverPresetSheetsConditionalFormattingZhCN from '@univerjs/preset-sheets-conditional-formatting/locales/zh-CN';
-
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core';
import UniverPresetSheetsCoreZhCN from '@univerjs/preset-sheets-core/locales/zh-CN';
-
import { UniverSheetsDataValidationPreset } from '@univerjs/preset-sheets-data-validation';
import UniverPresetSheetsDataValidationZhCN from '@univerjs/preset-sheets-data-validation/locales/zh-CN';
-
import { UniverSheetsDrawingPreset } from '@univerjs/preset-sheets-drawing';
import UniverPresetSheetsDrawingZhCN from '@univerjs/preset-sheets-drawing/locales/zh-CN';
-
import { UniverSheetsFilterPreset } from '@univerjs/preset-sheets-filter';
import UniverPresetSheetsFilterZhCN from '@univerjs/preset-sheets-filter/locales/zh-CN';
-
import { UniverSheetsFindReplacePreset } from '@univerjs/preset-sheets-find-replace';
import UniverPresetSheetsFindReplaceZhCN from '@univerjs/preset-sheets-find-replace/locales/zh-CN';
-
import { UniverSheetsHyperLinkPreset } from '@univerjs/preset-sheets-hyper-link';
import UniverPresetSheetsHyperLinkZhCN from '@univerjs/preset-sheets-hyper-link/locales/zh-CN';
-
import { UniverSheetsNotePreset } from '@univerjs/preset-sheets-note';
import UniverPresetSheetsNoteZhCN from '@univerjs/preset-sheets-note/locales/zh-CN';
-
import { UniverSheetsSortPreset } from '@univerjs/preset-sheets-sort';
import UniverPresetSheetsSortZhCN from '@univerjs/preset-sheets-sort/locales/zh-CN';
-
import { UniverSheetsTablePreset } from '@univerjs/preset-sheets-table';
import UniverPresetSheetsTableZhCN from '@univerjs/preset-sheets-table/locales/zh-CN';
-
import { UniverSheetsThreadCommentPreset } from '@univerjs/preset-sheets-thread-comment';
import UniverPresetSheetsThreadCommentZhCN from '@univerjs/preset-sheets-thread-comment/locales/zh-CN';
-
import { createUniver, defaultTheme, LocaleType, mergeLocales } from '@univerjs/presets';
-
import '../global.css';
const { univer, univerAPI } = createUniver({
diff --git a/examples/src/preset-sheets-core-with-worker/worker.ts b/examples/src/preset-sheets-core-with-worker/worker.ts
index 1a19350e28..bec539a814 100644
--- a/examples/src/preset-sheets-core-with-worker/worker.ts
+++ b/examples/src/preset-sheets-core-with-worker/worker.ts
@@ -1,25 +1,7 @@
-/**
- * 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 UniverPresetSheetsCoreZhCN from '@univerjs/preset-sheets-core/locales/zh-CN';
import { UniverSheetsCoreWorkerPreset } from '@univerjs/preset-sheets-core/worker';
-
import UniverPresetSheetsFilterZhCN from '@univerjs/preset-sheets-filter/locales/zh-CN';
import { UniverSheetsFilterWorkerPreset } from '@univerjs/preset-sheets-filter/worker';
-
import { createUniver, LocaleType, mergeLocales } from '@univerjs/presets';
createUniver({
diff --git a/examples/src/preset-sheets-core/main.ts b/examples/src/preset-sheets-core/main.ts
index 8bc4bec3da..67fa9d8dc4 100644
--- a/examples/src/preset-sheets-core/main.ts
+++ b/examples/src/preset-sheets-core/main.ts
@@ -1,57 +1,28 @@
-/**
- * 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 { FUniver, Univer } from '@univerjs/presets';
-
import { UniverSheetsConditionalFormattingPreset } from '@univerjs/preset-sheets-conditional-formatting';
import UniverPresetSheetsConditionalFormattingZhCN from '@univerjs/preset-sheets-conditional-formatting/locales/zh-CN';
-
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core';
import UniverPresetSheetsCoreZhCN from '@univerjs/preset-sheets-core/locales/zh-CN';
-
import { UniverSheetsDataValidationPreset } from '@univerjs/preset-sheets-data-validation';
import UniverPresetSheetsDataValidationZhCN from '@univerjs/preset-sheets-data-validation/locales/zh-CN';
-
import { UniverSheetsDrawingPreset } from '@univerjs/preset-sheets-drawing';
import UniverPresetSheetsDrawingZhCN from '@univerjs/preset-sheets-drawing/locales/zh-CN';
-
import { UniverSheetsFilterPreset } from '@univerjs/preset-sheets-filter';
import UniverPresetSheetsFilterZhCN from '@univerjs/preset-sheets-filter/locales/zh-CN';
-
import { UniverSheetsFindReplacePreset } from '@univerjs/preset-sheets-find-replace';
import UniverPresetSheetsFindReplaceZhCN from '@univerjs/preset-sheets-find-replace/locales/zh-CN';
-
import { UniverSheetsHyperLinkPreset } from '@univerjs/preset-sheets-hyper-link';
import UniverPresetSheetsHyperLinkZhCN from '@univerjs/preset-sheets-hyper-link/locales/zh-CN';
-
import { UniverSheetsNotePreset } from '@univerjs/preset-sheets-note';
import UniverPresetSheetsNoteZhCN from '@univerjs/preset-sheets-note/locales/zh-CN';
-
import { UniverSheetsSortPreset } from '@univerjs/preset-sheets-sort';
import UniverPresetSheetsSortZhCN from '@univerjs/preset-sheets-sort/locales/zh-CN';
-
import { UniverSheetsTablePreset } from '@univerjs/preset-sheets-table';
import UniverPresetSheetsTableZhCN from '@univerjs/preset-sheets-table/locales/zh-CN';
-
import { UniverSheetsThreadCommentPreset } from '@univerjs/preset-sheets-thread-comment';
import UniverPresetSheetsThreadCommentZhCN from '@univerjs/preset-sheets-thread-comment/locales/zh-CN';
-
import { createUniver, defaultTheme, LocaleType, mergeLocales } from '@univerjs/presets';
import ImportCSVButtonPlugin from './custom-plugin/import-csv-button';
-
import '../global.css';
const { univer, univerAPI } = createUniver({
@@ -96,7 +67,7 @@ window.univer = univer;
window.univerAPI = univerAPI;
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
univerAPI?: FUniver;
diff --git a/examples/src/sheets-mobile/lazy.ts b/examples/src/sheets-mobile/lazy.ts
index 8fab86e185..0123030bc7 100644
--- a/examples/src/sheets-mobile/lazy.ts
+++ b/examples/src/sheets-mobile/lazy.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Plugin, PluginCtor } from '@univerjs/core';
import { UniverSheetsFilterUIPlugin } from '@univerjs/sheets-filter-ui';
diff --git a/examples/src/sheets-mobile/main.ts b/examples/src/sheets-mobile/main.ts
index f7357d917f..80ccd9ab5d 100644
--- a/examples/src/sheets-mobile/main.ts
+++ b/examples/src/sheets-mobile/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { FUniver } from '@univerjs/core/facade';
import { LocaleType, LogLevel, Univer, UniverInstanceType, UserManagerService } from '@univerjs/core';
import { UniverDocsPlugin } from '@univerjs/docs';
@@ -33,7 +17,6 @@ import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula';
import { UniverSheetsFormulaUIPlugin } from '@univerjs/sheets-formula-ui';
import { UniverSheetsNumfmtPlugin } from '@univerjs/sheets-numfmt';
import { UniverSheetsNumfmtUIPlugin } from '@univerjs/sheets-numfmt-ui';
-
import { UniverSheetsMobileUIPlugin } from '@univerjs/sheets-ui';
import { UniverMobileUIPlugin } from '@univerjs/ui';
import '../global.css';
@@ -87,7 +70,7 @@ const userManagerService = injector.get(UserManagerService);
userManagerService.setCurrentUser(mockUser);
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
univerAPI?: ReturnType<typeof FUniver.newAPI>;
diff --git a/examples/src/sheets-mobile/worker.ts b/examples/src/sheets-mobile/worker.ts
index d6bbf43058..9cba948a7f 100644
--- a/examples/src/sheets-mobile/worker.ts
+++ b/examples/src/sheets-mobile/worker.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Univer } from '@univerjs/core';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
import { UniverRPCWorkerThreadPlugin } from '@univerjs/rpc';
diff --git a/examples/src/sheets-multi-units/lazy.ts b/examples/src/sheets-multi-units/lazy.ts
index 88bdbc0fac..69668b9683 100644
--- a/examples/src/sheets-multi-units/lazy.ts
+++ b/examples/src/sheets-multi-units/lazy.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Plugin, PluginCtor } from '@univerjs/core';
import { UniverSheetsConditionalFormattingUIPlugin } from '@univerjs/sheets-conditional-formatting-ui';
import { UniverSheetsDataValidationUIPlugin } from '@univerjs/sheets-data-validation-ui';
diff --git a/examples/src/sheets-multi-units/main.ts b/examples/src/sheets-multi-units/main.ts
index f97adcaa32..76441263b5 100644
--- a/examples/src/sheets-multi-units/main.ts
+++ b/examples/src/sheets-multi-units/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { CellValueType, LocaleType, LogLevel, Univer, UserManagerService } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDocsPlugin } from '@univerjs/docs';
@@ -38,7 +22,6 @@ import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui';
import { UniverUIPlugin } from '@univerjs/ui';
import { SwitchUnits } from './switch-units';
-
import '@univerjs/sheets/facade';
import '@univerjs/ui/facade';
import '@univerjs/sheets-ui/facade';
@@ -291,7 +274,7 @@ univerAPI.createWorkbook({
});
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
univerAPI?: ReturnType<typeof FUniver.newAPI>;
diff --git a/examples/src/sheets-multi-units/switch-units.tsx b/examples/src/sheets-multi-units/switch-units.tsx
index 1e858e7eee..0e8241ffd1 100644
--- a/examples/src/sheets-multi-units/switch-units.tsx
+++ b/examples/src/sheets-multi-units/switch-units.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Workbook } from '@univerjs/core';
import { IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
import { clsx } from '@univerjs/design';
diff --git a/examples/src/sheets-multi-units/very-lazy.ts b/examples/src/sheets-multi-units/very-lazy.ts
index 36854d8209..05d0e8dcc8 100644
--- a/examples/src/sheets-multi-units/very-lazy.ts
+++ b/examples/src/sheets-multi-units/very-lazy.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Plugin, PluginCtor } from '@univerjs/core';
import { UniverActionRecorderPlugin } from '@univerjs/action-recorder';
import { UniverInstanceType } from '@univerjs/core';
diff --git a/examples/src/sheets-multi/main.tsx b/examples/src/sheets-multi/main.tsx
index 1a34af603d..f8fed65dba 100644
--- a/examples/src/sheets-multi/main.tsx
+++ b/examples/src/sheets-multi/main.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Tools, Univer, UniverInstanceType } from '@univerjs/core';
import { render } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
@@ -31,9 +15,7 @@ import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverUIPlugin } from '@univerjs/ui';
import { useEffect } from 'react';
import { Mosaic, MosaicWindow } from 'react-mosaic-component';
-
import 'react-mosaic-component/react-mosaic-component.css';
-
import '../global.css';
function factory(id: string) {
diff --git a/examples/src/sheets-no-worker/lazy.ts b/examples/src/sheets-no-worker/lazy.ts
index ff0b52afa0..b66b0dbf4a 100644
--- a/examples/src/sheets-no-worker/lazy.ts
+++ b/examples/src/sheets-no-worker/lazy.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Plugin, PluginCtor } from '@univerjs/core';
import { UniverDocsMentionUIPlugin } from '@univerjs/docs-mention-ui';
import { UniverSheetsConditionalFormattingUIPlugin } from '@univerjs/sheets-conditional-formatting-ui';
diff --git a/examples/src/sheets-no-worker/main.ts b/examples/src/sheets-no-worker/main.ts
index b722fd83af..c53d32ff65 100644
--- a/examples/src/sheets-no-worker/main.ts
+++ b/examples/src/sheets-no-worker/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Univer, UniverInstanceType, UserManagerService } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
@@ -38,7 +22,6 @@ import { UniverSheetsTablePlugin } from '@univerjs/sheets-table';
import { UniverSheetsThreadCommentPlugin } from '@univerjs/sheets-thread-comment';
import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverUIPlugin } from '@univerjs/ui';
-
import '@univerjs/sheets/facade';
import '@univerjs/ui/facade';
import '@univerjs/sheets-ui/facade';
@@ -166,7 +149,7 @@ createNewInstance();
window.createNewInstance = createNewInstance;
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
univerAPI?: ReturnType<typeof FUniver.newAPI>;
diff --git a/examples/src/sheets-no-worker/very-lazy.ts b/examples/src/sheets-no-worker/very-lazy.ts
index a114e1ea4a..0c5d054c8f 100644
--- a/examples/src/sheets-no-worker/very-lazy.ts
+++ b/examples/src/sheets-no-worker/very-lazy.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Plugin, PluginCtor } from '@univerjs/core';
import { UniverActionRecorderPlugin } from '@univerjs/action-recorder';
import { UniverInstanceType } from '@univerjs/core';
diff --git a/examples/src/sheets-uniscript/change-font-style.js b/examples/src/sheets-uniscript/change-font-style.js
index 9c7667b08d..ecae8c0735 100644
--- a/examples/src/sheets-uniscript/change-font-style.js
+++ b/examples/src/sheets-uniscript/change-font-style.js
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
// eslint-disable-next-line no-undef
const activeSheet = univerAPI.getActiveWorkbook().getActiveSheet();
diff --git a/examples/src/sheets-uniscript/china-id-validation.js b/examples/src/sheets-uniscript/china-id-validation.js
index 198dd18474..9b9150a088 100644
--- a/examples/src/sheets-uniscript/china-id-validation.js
+++ b/examples/src/sheets-uniscript/china-id-validation.js
@@ -1,19 +1,3 @@
-/**
- * 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.
- */
-
const mutliNum = (function generate() {
const obj = {};
for (let i = 0, len = 17; i < len; i++) {
diff --git a/examples/src/sheets-uniscript/draw-univer-logo.js b/examples/src/sheets-uniscript/draw-univer-logo.js
index 9c9aedec45..2594e6b4cd 100644
--- a/examples/src/sheets-uniscript/draw-univer-logo.js
+++ b/examples/src/sheets-uniscript/draw-univer-logo.js
@@ -1,22 +1,5 @@
-/**
- * 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.
- */
-
/* eslint-disable */
-
const newSheet = univerAPI.getActiveWorkbook().create("Draw Univer Logo", 80, 80);
newSheet.setRowHeights(0, 80, 6);
newSheet.setColumnWidths(0, 80, 6);
diff --git a/examples/src/sheets-uniscript/main.ts b/examples/src/sheets-uniscript/main.ts
index 55e75df4bf..95ad441330 100644
--- a/examples/src/sheets-uniscript/main.ts
+++ b/examples/src/sheets-uniscript/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Univer, UniverInstanceType } from '@univerjs/core';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
import { UniverDocsPlugin } from '@univerjs/docs';
@@ -29,7 +13,6 @@ import { UniverSheetsNumfmtUIPlugin } from '@univerjs/sheets-numfmt-ui';
import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverUIPlugin } from '@univerjs/ui';
import { UniverUniscriptPlugin } from '@univerjs/uniscript';
-
import '../global.css';
/* eslint-disable-next-line node/prefer-global/process */
@@ -88,7 +71,7 @@ if (IS_E2E) {
univer.createUnit(UniverInstanceType.UNIVER_SHEET, UNISCRIT_WORKBOOK_DATA_DEMO);
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
}
diff --git a/examples/src/sheets-webcomponent/main.tsx b/examples/src/sheets-webcomponent/main.tsx
index def0385f6f..4ffd3ec8e4 100644
--- a/examples/src/sheets-webcomponent/main.tsx
+++ b/examples/src/sheets-webcomponent/main.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { createComponent } from '@lit/react';
import { LocaleType, LogLevel, Univer, UniverInstanceType } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
diff --git a/examples/src/sheets/button.tsx b/examples/src/sheets/button.tsx
index 74d736b654..897fbeae73 100644
--- a/examples/src/sheets/button.tsx
+++ b/examples/src/sheets/button.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Workbook } from '@univerjs/core';
import type { IRangeSelectorInstance } from '@univerjs/sheets-formula-ui';
import { ILogService, IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
diff --git a/examples/src/sheets/custom/custom-float-dom/component.tsx b/examples/src/sheets/custom/custom-float-dom/component.tsx
index e8056b5852..07ac121e24 100644
--- a/examples/src/sheets/custom/custom-float-dom/component.tsx
+++ b/examples/src/sheets/custom/custom-float-dom/component.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 const CustomRangeLoading = () => {
const divStyle = {
width: '100%',
diff --git a/examples/src/sheets/custom/custom-float-dom/float-dom.ts b/examples/src/sheets/custom/custom-float-dom/float-dom.ts
index 7f95657e70..94e77a1ffa 100644
--- a/examples/src/sheets/custom/custom-float-dom/float-dom.ts
+++ b/examples/src/sheets/custom/custom-float-dom/float-dom.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Univer } from '@univerjs/core';
import type { FUniver } from '@univerjs/core/facade';
import { CustomRangeLoading } from './component';
diff --git a/examples/src/sheets/custom/custom-range-popup/custom-range-popup.tsx b/examples/src/sheets/custom/custom-range-popup/custom-range-popup.tsx
index f1693190b7..e9c7c3bd62 100644
--- a/examples/src/sheets/custom/custom-range-popup/custom-range-popup.tsx
+++ b/examples/src/sheets/custom/custom-range-popup/custom-range-popup.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Univer } from '@univerjs/core';
import type { FUniver } from '@univerjs/core/facade';
import type { RectPopupDirection } from '@univerjs/ui';
diff --git a/examples/src/sheets/custom/custom-range-popup/simple-range-popup.tsx b/examples/src/sheets/custom/custom-range-popup/simple-range-popup.tsx
index 638af73abe..7d6080333e 100644
--- a/examples/src/sheets/custom/custom-range-popup/simple-range-popup.tsx
+++ b/examples/src/sheets/custom/custom-range-popup/simple-range-popup.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Univer } from '@univerjs/core';
import type { FUniver } from '@univerjs/core/facade';
import { LifecycleStages } from '@univerjs/core';
diff --git a/examples/src/sheets/custom/custom-register-event.ts b/examples/src/sheets/custom/custom-register-event.ts
index 4bf05aa4ad..27fc22a3d4 100644
--- a/examples/src/sheets/custom/custom-register-event.ts
+++ b/examples/src/sheets/custom/custom-register-event.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Nullable, Univer } from '@univerjs/core';
import type { FUniver, IEventBase } from '@univerjs/core/facade';
import type { IRender } from '@univerjs/engine-render';
diff --git a/examples/src/sheets/custom/custom-shortcut/commands/commands/custom.command.ts b/examples/src/sheets/custom/custom-shortcut/commands/commands/custom.command.ts
index e456f628f0..5d4b9d26b1 100644
--- a/examples/src/sheets/custom/custom-shortcut/commands/commands/custom.command.ts
+++ b/examples/src/sheets/custom/custom-shortcut/commands/commands/custom.command.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IAccessor, ICommand } from '@univerjs/core';
import { CommandType, ICommandService, IUniverInstanceService } from '@univerjs/core';
import { ClearSelectionContentCommand, getSheetCommandTarget, SheetsSelectionsService } from '@univerjs/sheets';
diff --git a/examples/src/sheets/custom/custom-shortcut/controllers/shortcuts/custom.shortcut.ts b/examples/src/sheets/custom/custom-shortcut/controllers/shortcuts/custom.shortcut.ts
index 50c4860d7d..7529dc8959 100644
--- a/examples/src/sheets/custom/custom-shortcut/controllers/shortcuts/custom.shortcut.ts
+++ b/examples/src/sheets/custom/custom-shortcut/controllers/shortcuts/custom.shortcut.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IShortcutItem } from '@univerjs/ui';
import { whenSheetEditorFocused } from '@univerjs/sheets-ui';
import { KeyCode } from '@univerjs/ui';
diff --git a/examples/src/sheets/custom/custom-shortcut/index.ts b/examples/src/sheets/custom/custom-shortcut/index.ts
index bb7cafec43..12901a6112 100644
--- a/examples/src/sheets/custom/custom-shortcut/index.ts
+++ b/examples/src/sheets/custom/custom-shortcut/index.ts
@@ -1,17 +1 @@
-/**
- * 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 { UniverSheetsCustomShortcutPlugin } from './plugin';
diff --git a/examples/src/sheets/custom/custom-shortcut/plugin.ts b/examples/src/sheets/custom/custom-shortcut/plugin.ts
index 45f4bcbe10..651513a92e 100644
--- a/examples/src/sheets/custom/custom-shortcut/plugin.ts
+++ b/examples/src/sheets/custom/custom-shortcut/plugin.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ICommandService, Inject, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
import { IShortcutService } from '@univerjs/ui';
import { CustomClearSelectionContentCommand } from './commands/commands/custom.command';
diff --git a/examples/src/sheets/custom/import-csv-button.ts b/examples/src/sheets/custom/import-csv-button.ts
index 13cd26d573..fd42d8d886 100644
--- a/examples/src/sheets/custom/import-csv-button.ts
+++ b/examples/src/sheets/custom/import-csv-button.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ICommand, IMutationInfo, Workbook } from '@univerjs/core';
import type { ISetRangeValuesMutationParams, ISetWorksheetColumnCountMutationParams, ISetWorksheetRowCountMutationParams } from '@univerjs/sheets';
import {
diff --git a/examples/src/sheets/lazy.ts b/examples/src/sheets/lazy.ts
index ff0b52afa0..b66b0dbf4a 100644
--- a/examples/src/sheets/lazy.ts
+++ b/examples/src/sheets/lazy.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Plugin, PluginCtor } from '@univerjs/core';
import { UniverDocsMentionUIPlugin } from '@univerjs/docs-mention-ui';
import { UniverSheetsConditionalFormattingUIPlugin } from '@univerjs/sheets-conditional-formatting-ui';
diff --git a/examples/src/sheets/main.ts b/examples/src/sheets/main.ts
index 913074cdb1..0bb475fdf5 100644
--- a/examples/src/sheets/main.ts
+++ b/examples/src/sheets/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Univer, UniverInstanceType, UserManagerService } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
@@ -46,7 +30,6 @@ import { simpleRangePopupDemo } from './custom/custom-range-popup/simple-range-p
import { customRegisterEvent } from './custom/custom-register-event';
import { UniverSheetsCustomShortcutPlugin } from './custom/custom-shortcut';
import ImportCSVButtonPlugin from './custom/import-csv-button';
-
import '@univerjs/sheets/facade';
import '@univerjs/ui/facade';
import '@univerjs/docs/facade';
@@ -195,7 +178,7 @@ createNewInstance();
window.createNewInstance = createNewInstance;
declare global {
- // eslint-disable-next-line ts/naming-convention
+
interface Window {
univer?: Univer;
univerAPI?: ReturnType<typeof FUniver.newAPI>;
diff --git a/examples/src/sheets/test.ts b/examples/src/sheets/test.ts
index acc6fbad6a..fecfe303f0 100644
--- a/examples/src/sheets/test.ts
+++ b/examples/src/sheets/test.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { ILogService } from '@univerjs/core';
import { BuiltInUIPart } from '@univerjs/ui';
import { ButtonRangeSelector } from './button';
diff --git a/examples/src/sheets/very-lazy.ts b/examples/src/sheets/very-lazy.ts
index a114e1ea4a..0c5d054c8f 100644
--- a/examples/src/sheets/very-lazy.ts
+++ b/examples/src/sheets/very-lazy.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Plugin, PluginCtor } from '@univerjs/core';
import { UniverActionRecorderPlugin } from '@univerjs/action-recorder';
import { UniverInstanceType } from '@univerjs/core';
diff --git a/examples/src/sheets/worker.ts b/examples/src/sheets/worker.ts
index 69c9716bfd..dc2262fd73 100644
--- a/examples/src/sheets/worker.ts
+++ b/examples/src/sheets/worker.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, LogLevel, Univer } from '@univerjs/core';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
import zhCN from '@univerjs/mockdata/locales/zh-CN';
diff --git a/examples/src/slides/main.ts b/examples/src/slides/main.ts
index 92fffb27bf..9101ff705d 100644
--- a/examples/src/slides/main.ts
+++ b/examples/src/slides/main.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { LocaleType, Univer, UniverInstanceType } from '@univerjs/core';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
import { UniverDocsPlugin } from '@univerjs/docs';
@@ -26,7 +10,6 @@ import zhCN from '@univerjs/mockdata/locales/zh-CN';
import { UniverSlidesPlugin } from '@univerjs/slides';
import { UniverSlidesUIPlugin } from '@univerjs/slides-ui';
import { UniverUIPlugin } from '@univerjs/ui';
-
import { UniverWatermarkPlugin } from '@univerjs/watermark';
import '../global.css';
import '@univerjs/watermark/facade';
diff --git a/examples/src/theme-customizer/components/sidebar-header.tsx b/examples/src/theme-customizer/components/sidebar-header.tsx
index ad5e2b1c9e..3542d6047a 100644
--- a/examples/src/theme-customizer/components/sidebar-header.tsx
+++ b/examples/src/theme-customizer/components/sidebar-header.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { EditorMode, TokenDensity } from '../types';
import { Button } from '@univerjs/design';
import { ToolbarField, ToolbarToggleGroup } from './toolbar-controls';
diff --git a/examples/src/theme-customizer/components/theme-sections.tsx b/examples/src/theme-customizer/components/theme-sections.tsx
index cc897beec0..b0cd2ad9f9 100644
--- a/examples/src/theme-customizer/components/theme-sections.tsx
+++ b/examples/src/theme-customizer/components/theme-sections.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Theme } from '@univerjs/themes';
import type { ReactNode } from 'react';
import type { LoopColorKey, ThemeScaleKey, ThemeShadeKey } from '../types';
diff --git a/examples/src/theme-customizer/components/token-editor-panel.tsx b/examples/src/theme-customizer/components/token-editor-panel.tsx
index a74d289fd2..17616d5784 100644
--- a/examples/src/theme-customizer/components/token-editor-panel.tsx
+++ b/examples/src/theme-customizer/components/token-editor-panel.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Theme } from '@univerjs/themes';
import type { LoopColorKey, ThemeScaleKey, ThemeShadeKey } from '../types';
import { IntegrationExampleSection, ThemeLoopColorSection, ThemeRootColorsSection, ThemeScaleSection } from './theme-sections';
diff --git a/examples/src/theme-customizer/components/toolbar-controls.tsx b/examples/src/theme-customizer/components/toolbar-controls.tsx
index 6fa16d859b..6dbb8e2c36 100644
--- a/examples/src/theme-customizer/components/toolbar-controls.tsx
+++ b/examples/src/theme-customizer/components/toolbar-controls.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { ReactNode } from 'react';
import { clsx } from '@univerjs/design';
diff --git a/examples/src/theme-customizer/components/univer-preview.tsx b/examples/src/theme-customizer/components/univer-preview.tsx
index 81f6415020..af9d1ba30c 100644
--- a/examples/src/theme-customizer/components/univer-preview.tsx
+++ b/examples/src/theme-customizer/components/univer-preview.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { Theme } from '@univerjs/themes';
import { LocaleType, LogLevel, ThemeService, Univer, UniverInstanceType } from '@univerjs/core';
import { clsx } from '@univerjs/design';
diff --git a/examples/src/theme-customizer/constants.ts b/examples/src/theme-customizer/constants.ts
index c3f9dec167..52fa997d89 100644
--- a/examples/src/theme-customizer/constants.ts
+++ b/examples/src/theme-customizer/constants.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IThemePreset, ThemeScaleKey, ThemeShadeKey, TokenDensity } from './types';
import { defaultTheme, greenTheme, orangeTheme, purpleTheme, redTheme } from '@univerjs/themes';
diff --git a/examples/src/theme-customizer/hooks/use-theme-customizer-state.ts b/examples/src/theme-customizer/hooks/use-theme-customizer-state.ts
index 49a4a76c16..7ba18ce74f 100644
--- a/examples/src/theme-customizer/hooks/use-theme-customizer-state.ts
+++ b/examples/src/theme-customizer/hooks/use-theme-customizer-state.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Theme } from '@univerjs/themes';
import type { EditorMode, LoopColorKey, ThemeScaleKey, ThemeShadeKey, TokenDensity } from '../types';
import { defaultTheme } from '@univerjs/themes';
diff --git a/examples/src/theme-customizer/main.tsx b/examples/src/theme-customizer/main.tsx
index 07bfc70f26..088dc761a9 100644
--- a/examples/src/theme-customizer/main.tsx
+++ b/examples/src/theme-customizer/main.tsx
@@ -1,23 +1,6 @@
-/**
- * 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 { ConfigProvider, render } from '@univerjs/design';
import enUS from '@univerjs/mockdata/locales/en-US';
import { ThemeCustomizerApp } from './theme-customizer-app';
-
import '../global.css';
render(
diff --git a/examples/src/theme-customizer/theme-customizer-app.tsx b/examples/src/theme-customizer/theme-customizer-app.tsx
index 9890ad11bf..10109663eb 100644
--- a/examples/src/theme-customizer/theme-customizer-app.tsx
+++ b/examples/src/theme-customizer/theme-customizer-app.tsx
@@ -1,19 +1,3 @@
-/**
- * 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 { clsx } from '@univerjs/design';
import { defaultTheme } from '@univerjs/themes';
import { SidebarHeader } from './components/sidebar-header';
diff --git a/examples/src/theme-customizer/theme-utils.ts b/examples/src/theme-customizer/theme-utils.ts
index 69592c58b6..8545588c54 100644
--- a/examples/src/theme-customizer/theme-utils.ts
+++ b/examples/src/theme-customizer/theme-utils.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Theme } from '@univerjs/themes';
import type { LoopColorKey, ThemeScaleKey, ThemeShadeKey } from './types';
import { COLOR_SCALE_KEYS, COLOR_SHADE_KEYS, LOOP_COLOR_KEYS } from './constants';
diff --git a/examples/src/theme-customizer/types.ts b/examples/src/theme-customizer/types.ts
index ac847d8555..32617a0a98 100644
--- a/examples/src/theme-customizer/types.ts
+++ b/examples/src/theme-customizer/types.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Theme } from '@univerjs/themes';
export type ThemeShadeKey = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
diff --git a/examples/tailwind.config.ts b/examples/tailwind.config.ts
index 10f3dcbf46..0d5947ebbf 100644
--- a/examples/tailwind.config.ts
+++ b/examples/tailwind.config.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { Config } from 'tailwindcss';
import fs from 'node:fs';
import path from 'node:path';
diff --git a/examples/tsconfig.node.json b/examples/tsconfig.node.json
index 79bf4e8e4d..2ec89eeeb4 100644
--- a/examples/tsconfig.node.json
+++ b/examples/tsconfig.node.json
@@ -3,5 +3,5 @@
"compilerOptions": {
"target": "ESNext"
},
- "include": ["esbuild.config.ts", "scripts/**/*.ts"]
+ "include": ["esbuild.config.mts", "scripts/**/*.mts"]
}
diff --git a/examples/uniscripts/vim.js b/examples/uniscripts/vim.js
index cc811b5135..5c72974413 100644
--- a/examples/uniscripts/vim.js
+++ b/examples/uniscripts/vim.js
@@ -1,19 +1,3 @@
-/**
- * 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 function onLoad(univerAPI) {
let mode = 'normal';
diff --git a/package.json b/package.json
index b7b254f616..3c53a20030 100644
--- a/package.json
+++ b/package.json
@@ -36,13 +36,13 @@
"dev": "pnpm --filter univer-examples dev:demo -- --host 0.0.0.0",
"dev:umd": "serve .",
"dev:e2e": "pnpm --filter univer-examples dev:e2e",
- "use:react16": "tsx ./scripts/react-version-manager.ts --react=16",
- "use:react19": "tsx ./scripts/react-version-manager.ts --react=19",
+ "use:react16": "node --experimental-strip-types ./scripts/react-version-manager.mts --react=16",
+ "use:react19": "node --experimental-strip-types ./scripts/react-version-manager.mts --react=19",
"typecheck": "turbo typecheck",
"serve:umd": "serve .",
"test": "turbo test -- --passWithNoTests",
- "coverage": "turbo coverage -- --passWithNoTests",
- "analyze:build": "tsx ./scripts/build-analysis.ts",
+ "coverage": "turbo --concurrency 50% coverage -- --passWithNoTests ",
+ "analyze:build": "node --experimental-strip-types ./scripts/build-analysis.mts",
"build": "pnpm run build:plugins && pnpm run build:presets",
"build:ci": "pnpm run build",
"build:plugins": "turbo build --filter '!./common/*' --filter '!./presets/**'",
@@ -60,12 +60,12 @@
"@antfu/eslint-config": "^9.0.0",
"@commitlint/cli": "^21.0.2",
"@commitlint/config-conventional": "^21.0.2",
- "@eslint-react/eslint-plugin": "^5.9.0",
+ "@eslint-react/eslint-plugin": "^5.9.1",
"@eslint/compat": "^2.1.0",
"@playwright/test": "^1.57.0",
"@release-it-plugins/workspaces": "^5.0.3",
"@release-it/conventional-changelog": "^10.0.6",
- "@types/node": "^25.9.3",
+ "@types/node": "^26.0.0",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@univerjs-infra/shared": "workspace:*",
@@ -76,14 +76,13 @@
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"husky": "^9.1.7",
- "lint-staged": "^17.0.7",
- "posthog-node": "^5.38.0",
+ "lint-staged": "^17.0.8",
+ "posthog-node": "^5.38.2",
"react": "19.2.7",
"react-dom": "19.2.7",
"release-it": "^19.2.4",
"serve": "^14.2.6",
"tailwindcss": "3.4.18",
- "tsx": "^4.22.4",
"turbo": "^2.9.18",
"typescript": "^6.0.3",
"vitest": "^4.1.9"
diff --git a/packages/core/src/common/equal.ts b/packages/core/src/common/equal.ts
index 87f4fafe08..d7dd1ae7ba 100644
--- a/packages/core/src/common/equal.ts
+++ b/packages/core/src/common/equal.ts
@@ -14,22 +14,6 @@
* limitations under the License.
*/
-/**
- * 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 function shallowEqual(objA: any, objB: any) {
if (Object.is(objA, objB)) {
return true;
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 81050be31c..f42ec5285c 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -53,7 +53,8 @@ export { mixinClass } from './common/mixin';
export { isNumeric, isSafeNumeric, willLoseNumericPrecision } from './common/number';
export { Registry, RegistryAsMap } from './common/registry';
export { requestImmediateMacroTask } from './common/request-immediate-macro-task';
-export { type ISequenceExecuteResult, sequence, sequenceAsync } from './common/sequence';
+export { sequence, sequenceAsync } from './common/sequence';
+export type { ISequenceExecuteResult } from './common/sequence';
export { mergeSets } from './common/set';
export { UnitModel, UniverInstanceType } from './common/unit';
export { isSafeUrl, normalizeUrl, resolveWithBasePath } from './common/url';
@@ -72,13 +73,8 @@ export {
} from './docs/data-model/rich-text-builder';
export { DEFAULT_DOCUMENT_SUB_COMPONENT_ID } from './docs/data-model/subdocument';
export { ActionIterator } from './docs/data-model/text-x/action-iterator';
-export {
- type IDeleteAction,
- type IInsertAction,
- type IRetainAction,
- type TextXAction,
- TextXActionType,
-} from './docs/data-model/text-x/action-types';
+export { TextXActionType } from './docs/data-model/text-x/action-types';
+export type { IDeleteAction, IInsertAction, IRetainAction, TextXAction } from './docs/data-model/text-x/action-types';
export { normalizeTextRuns } from './docs/data-model/text-x/apply-utils/common';
export { updateAttributeByDelete } from './docs/data-model/text-x/apply-utils/delete-apply';
export { updateAttributeByInsert } from './docs/data-model/text-x/apply-utils/insert-apply';
@@ -103,48 +99,54 @@ export {
cloneBodyWithFreshParagraphIds,
cloneParagraphWithId,
createParagraphId,
- type IParagraphIdScope,
PARAGRAPH_ID_PREFIX,
} from './docs/paragraph-id';
-export { EventState, EventSubject, fromEventSubject, type IEventObserver } from './observer/observable';
+export type { IParagraphIdScope } from './docs/paragraph-id';
+export { EventState, EventSubject, fromEventSubject } from './observer/observable';
+export type { IEventObserver } from './observer/observable';
export { AuthzIoLocalService } from './services/authz-io/authz-io-local.service';
export { IAuthzIoService } from './services/authz-io/type';
export {
COMMAND_LOG_EXECUTION_CONFIG_KEY,
- type CommandListener,
CommandService,
CommandType,
- type ICommand,
- type ICommandInfo,
ICommandService,
- type IExecutionOptions,
- type IMultiCommand,
- type IMutation,
- type IMutationCommonParams,
- type IMutationInfo,
- type IOperation,
- type IOperationInfo,
NilCommand,
sequenceExecute,
sequenceExecuteAsync,
} from './services/command/command.service';
+export type {
+ CommandListener,
+ ICommand,
+ ICommandInfo,
+ IExecutionOptions,
+ IMultiCommand,
+ IMutation,
+ IMutationCommonParams,
+ IMutationInfo,
+ IOperation,
+ IOperationInfo,
+} from './services/command/command.service';
export { IConfigService } from './services/config/config.service';
export { ConfigService } from './services/config/config.service';
export { IConfirmService, TestConfirmService } from './services/confirm/confirm.service';
export * from './services/context/context';
export { ContextService, IContextService } from './services/context/context.service';
-export { ErrorService, type IError } from './services/error/error.service';
+export { ErrorService } from './services/error/error.service';
+export type { IError } from './services/error/error.service';
export { IImageIoService, ImageSourceType, ImageUploadStatusType } from './services/image-io/image-io.service';
export type { IImageIoServiceParam } from './services/image-io/image-io.service';
export { IURLImageService } from './services/image-io/url-image.service';
-export { type ICreateUnitOptions, IUniverInstanceService, UniverInstanceService } from './services/instance/instance.service';
+export { IUniverInstanceService, UniverInstanceService } from './services/instance/instance.service';
+export type { ICreateUnitOptions } from './services/instance/instance.service';
export { LifecycleStages } from './services/lifecycle/lifecycle';
export { LifecycleService, LifecycleUnreachableError } from './services/lifecycle/lifecycle.service';
export { ILocalStorageService } from './services/local-storage/local-storage.service';
export { LocaleService } from './services/locale/locale.service';
export { DesktopLogService, ILogService, LogLevel } from './services/log/log.service';
export { MentionIOLocalService } from './services/mention-io/mention-io-local.service';
-export { type IListMentionParam, type IListMentionResponse, IMentionIOService, type ITypeMentionList } from './services/mention-io/type';
+export { IMentionIOService } from './services/mention-io/type';
+export type { IListMentionParam, IListMentionResponse, ITypeMentionList } from './services/mention-io/type';
export { PermissionService } from './services/permission/permission.service';
export { IPermissionService, PermissionStatus } from './services/permission/type';
export type { IPermissionParam } from './services/permission/type';
@@ -155,7 +157,8 @@ export type {
WorkbookPermissionPointConstructor,
WorkSheetPermissionPointConstructor,
} from './services/permission/type';
-export { type DependencyOverride, mergeOverrideWithDependencies } from './services/plugin/plugin-override';
+export { mergeOverrideWithDependencies } from './services/plugin/plugin-override';
+export type { DependencyOverride } from './services/plugin/plugin-override';
export type { PluginCtor } from './services/plugin/plugin.service';
export { DependentOn, Plugin, PluginService } from './services/plugin/plugin.service';
export { IResourceLoaderService } from './services/resource-loader/type';
@@ -164,28 +167,38 @@ export type { IResourceHook, IResources } from './services/resource-manager/type
export { IResourceManagerService } from './services/resource-manager/type';
export { ThemeService } from './services/theme/theme.service';
export {
- type IUndoRedoCommandInfos,
- type IUndoRedoCommandInfosByInterceptor,
- type IUndoRedoItem,
IUndoRedoService,
- type IUndoRedoStatus,
LocalUndoRedoService,
RedoCommand,
RedoCommandId,
UndoCommand,
UndoCommandId,
} from './services/undoredo/undoredo.service';
+export type {
+ IUndoRedoCommandInfos,
+ IUndoRedoCommandInfosByInterceptor,
+ IUndoRedoItem,
+ IUndoRedoStatus,
+} from './services/undoredo/undoredo.service';
export { createDefaultUser } from './services/user-manager/const';
-export { type IUser, UserManagerService } from './services/user-manager/user-manager.service';
+export { UserManagerService } from './services/user-manager/user-manager.service';
+export type { IUser } from './services/user-manager/user-manager.service';
export * from './shared';
export { ImageCacheMap } from './shared/cache/image-cache';
export { isBlackColor, isWhiteColor } from './shared/color/color-kit';
export { cellToRange } from './shared/common';
export { customNameCharacterCheck, nameCharacterCheck } from './shared/name';
-export { type BBox, type IRTreeItem, RBush, RTree } from './shared/r-tree';
+export { RBush, RTree } from './shared/r-tree';
+export type { BBox, IRTreeItem } from './shared/r-tree';
export { generateRandomId } from './shared/random-id';
export { getIntersectRange } from './shared/range';
-export { afterTime, bufferDebounceTime, convertObservableToBehaviorSubject, fromCallback, takeAfter } from './shared/rxjs';
+export {
+ afterTime,
+ bufferDebounceTime,
+ convertObservableToBehaviorSubject,
+ fromCallback,
+ takeAfter,
+} from './shared/rxjs';
export { awaitTime, delayAnimationFrame } from './shared/timer';
export { isNodeEnv } from './shared/tools';
export * from './sheets/clone';
@@ -209,10 +222,15 @@ export {
mergeWorksheetSnapshotWithDefault,
} from './sheets/sheet-snapshot-utils';
export { Styles } from './sheets/styles';
-
export * from './sheets/typedef';
export type { IPosition } from './sheets/typedef';
-export { addLinkToDocumentModel, getEmptyCell, isNotNullOrUndefined, isRangesEqual, isUnitRangesEqual } from './sheets/util';
+export {
+ addLinkToDocumentModel,
+ getEmptyCell,
+ isNotNullOrUndefined,
+ isRangesEqual,
+ isUnitRangesEqual,
+} from './sheets/util';
export { createDocumentModelWithStyle } from './sheets/util';
export { SheetViewModel } from './sheets/view-model';
export { getWorksheetUID, Workbook } from './sheets/workbook';
@@ -236,4 +254,5 @@ export type {
IDataValidationRuleOptions,
ISheetDataValidationRule,
} from './types/interfaces/i-data-validation';
-export { type IUniverConfig, Univer } from './univer';
+export { Univer } from './univer';
+export type { IUniverConfig } from './univer';
diff --git a/packages/core/src/services/authz-io/authz-io-local.service.ts b/packages/core/src/services/authz-io/authz-io-local.service.ts
index f6496d9271..f25e8a4441 100644
--- a/packages/core/src/services/authz-io/authz-io-local.service.ts
+++ b/packages/core/src/services/authz-io/authz-io-local.service.ts
@@ -36,7 +36,6 @@ import { UniverInstanceType } from '../../common/unit';
import { generateRandomId } from '../../shared/random-id';
import { IResourceManagerService } from '../resource-manager/type';
import { createDefaultUser, isDevRole } from '../user-manager/const';
-
import { UserManagerService } from '../user-manager/user-manager.service';
/**
diff --git a/packages/core/src/services/command/command.service.ts b/packages/core/src/services/command/command.service.ts
index fada1c2f36..1fc47585b9 100644
--- a/packages/core/src/services/command/command.service.ts
+++ b/packages/core/src/services/command/command.service.ts
@@ -15,7 +15,6 @@
*/
import type { IAccessor, IDisposable } from '../../common/di';
-
import { findLast, remove } from '../../common/array';
import { createIdentifier, Inject, Injector } from '../../common/di';
import { CustomCommandExecutionError } from '../../common/error';
diff --git a/packages/core/src/services/context/context.service.ts b/packages/core/src/services/context/context.service.ts
index c42d082354..12c292d1bb 100644
--- a/packages/core/src/services/context/context.service.ts
+++ b/packages/core/src/services/context/context.service.ts
@@ -16,7 +16,6 @@
import { filter, Observable, Subject } from 'rxjs';
import { createIdentifier } from '../../common/di';
-
import { Disposable } from '../../shared/lifecycle';
export interface IContextService {
diff --git a/packages/core/src/services/error/error.service.ts b/packages/core/src/services/error/error.service.ts
index c67c5e977e..750316b016 100644
--- a/packages/core/src/services/error/error.service.ts
+++ b/packages/core/src/services/error/error.service.ts
@@ -15,7 +15,6 @@
*/
import { Subject } from 'rxjs';
-
import { Disposable } from '../../shared/lifecycle';
export interface IError {
diff --git a/packages/core/src/services/lifecycle/lifecycle.service.ts b/packages/core/src/services/lifecycle/lifecycle.service.ts
index de9bdfd124..3ad0437543 100644
--- a/packages/core/src/services/lifecycle/lifecycle.service.ts
+++ b/packages/core/src/services/lifecycle/lifecycle.service.ts
@@ -16,7 +16,6 @@
import type { Observable } from 'rxjs';
import { BehaviorSubject, filter, firstValueFrom, map, merge, of, skip } from 'rxjs';
-
import { Disposable } from '../../shared/lifecycle';
import { takeAfter } from '../../shared/rxjs';
import { ILogService } from '../log/log.service';
diff --git a/packages/core/src/services/plugin/plugin.service.ts b/packages/core/src/services/plugin/plugin.service.ts
index 1e5d2a2e69..9119bfba0f 100644
--- a/packages/core/src/services/plugin/plugin.service.ts
+++ b/packages/core/src/services/plugin/plugin.service.ts
@@ -15,7 +15,6 @@
*/
import type { Ctor, IDisposable } from '../../common/di';
-
import { skip } from 'rxjs';
import pkg from '../../../package.json';
import { Inject, Injector } from '../../common/di';
diff --git a/packages/core/src/services/undoredo/undoredo.service.ts b/packages/core/src/services/undoredo/undoredo.service.ts
index 661fa7c0c1..3e81ee43fc 100644
--- a/packages/core/src/services/undoredo/undoredo.service.ts
+++ b/packages/core/src/services/undoredo/undoredo.service.ts
@@ -18,7 +18,6 @@ import type { Observable } from 'rxjs';
import type { IAccessor, IDisposable } from '../../common/di';
import type { Nullable } from '../../shared/types';
import type { ICommand, IMutationInfo } from '../command/command.service';
-
import { BehaviorSubject } from 'rxjs';
import { DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY, DOCS_NORMAL_EDITOR_UNIT_ID_KEY } from '../../common/const';
import { createIdentifier } from '../../common/di';
diff --git a/packages/data-validation/src/index.ts b/packages/data-validation/src/index.ts
index 20db4169b3..b49abb9438 100644
--- a/packages/data-validation/src/index.ts
+++ b/packages/data-validation/src/index.ts
@@ -16,16 +16,19 @@
export {
AddDataValidationMutation,
- type IAddDataValidationMutationParams,
- type IRemoveDataValidationMutationParams,
- type IUpdateDataValidationMutationParams,
RemoveDataValidationMutation,
UpdateDataValidationMutation,
} from './commands/mutations/data-validation.mutation';
+export type {
+ IAddDataValidationMutationParams,
+ IRemoveDataValidationMutationParams,
+ IUpdateDataValidationMutationParams,
+} from './commands/mutations/data-validation.mutation';
export { getRuleOptions, getRuleSetting } from './common/util';
export { type IUniverDataValidationConfig } from './config/config';
export { DataValidationResourceController } from './controllers/dv-resource.controller';
-export { type DataValidationChangeSource, type DataValidationChangeType, DataValidationModel, type IRuleChange } from './models/data-validation-model';
+export { DataValidationModel } from './models/data-validation-model';
+export type { DataValidationChangeSource, DataValidationChangeType, IRuleChange } from './models/data-validation-model';
export { UniverDataValidationPlugin } from './plugin';
export { DataValidatorRegistryScope, DataValidatorRegistryService } from './services/data-validator-registry.service';
export { TWO_FORMULA_OPERATOR_COUNT } from './types/const/two-formula-operators';
@@ -33,7 +36,12 @@ export { UpdateRuleType } from './types/enum/update-rule-type';
export type { IDataValidationDropdownProps } from './types/interfaces/i-data-validation-drop-down';
export type { IDataValidatorOperatorConfig } from './types/interfaces/i-data-validator-operator-config';
export type { IFormulaValue } from './types/interfaces/i-formula-input';
-export type { IUpdateRuleOptionsPayload, IUpdateRulePayload, IUpdateRuleRangePayload, IUpdateRuleSettingPayload } from './types/interfaces/i-update-rule-payload';
+export type {
+ IUpdateRuleOptionsPayload,
+ IUpdateRulePayload,
+ IUpdateRuleRangePayload,
+ IUpdateRuleSettingPayload,
+} from './types/interfaces/i-update-rule-payload';
export { BaseDataValidator } from './validators/base-data-validator';
export type { IFormulaResult, IValidatorCellInfo } from './validators/base-data-validator';
export type { IFormulaValidResult } from './validators/base-data-validator';
diff --git a/packages/design/src/components/avatar/Avatar.stories.tsx b/packages/design/src/components/avatar/Avatar.stories.tsx
index 04cbe7beef..0d1de36a2e 100644
--- a/packages/design/src/components/avatar/Avatar.stories.tsx
+++ b/packages/design/src/components/avatar/Avatar.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-
import { Avatar } from './Avatar';
const meta: Meta<typeof Avatar> = {
diff --git a/packages/design/src/components/cascader-list/CascaderList.stories.tsx b/packages/design/src/components/cascader-list/CascaderList.stories.tsx
index 0fe75dc7c4..e0ab8e3b8e 100644
--- a/packages/design/src/components/cascader-list/CascaderList.stories.tsx
+++ b/packages/design/src/components/cascader-list/CascaderList.stories.tsx
@@ -16,7 +16,6 @@
import type { Meta } from '@storybook/react';
import { useState } from 'react';
-
import { CascaderList } from './CascaderList';
const meta: Meta<typeof CascaderList> = {
diff --git a/packages/design/src/components/checkbox/Checkbox.stories.tsx b/packages/design/src/components/checkbox/Checkbox.stories.tsx
index 6929c53780..5cc88f0f9a 100644
--- a/packages/design/src/components/checkbox/Checkbox.stories.tsx
+++ b/packages/design/src/components/checkbox/Checkbox.stories.tsx
@@ -16,7 +16,6 @@
import type { Meta } from '@storybook/react';
import { useState } from 'react';
-
import { Checkbox } from './Checkbox';
const meta: Meta<typeof Checkbox> = {
diff --git a/packages/design/src/components/color-picker/ColorPicker.stories.tsx b/packages/design/src/components/color-picker/ColorPicker.stories.tsx
index 4c5d341e0f..149261e130 100644
--- a/packages/design/src/components/color-picker/ColorPicker.stories.tsx
+++ b/packages/design/src/components/color-picker/ColorPicker.stories.tsx
@@ -16,7 +16,6 @@
import type { Meta } from '@storybook/react';
import { useState } from 'react';
-
import { ColorPicker } from './ColorPicker';
const meta: Meta<typeof ColorPicker> = {
diff --git a/packages/design/src/components/dialog/__tests__/logic.spec.tsx b/packages/design/src/components/dialog/__tests__/logic.spec.tsx
index 3eafb9e4b9..e2ee765f4d 100644
--- a/packages/design/src/components/dialog/__tests__/logic.spec.tsx
+++ b/packages/design/src/components/dialog/__tests__/logic.spec.tsx
@@ -17,7 +17,6 @@
import { cleanup, fireEvent, render, screen } from '@testing-library/react';
import { afterEach, describe, expect, it, vi } from 'vitest';
import { Dialog } from '../Dialog';
-
import '@testing-library/jest-dom/vitest';
vi.mock('../DialogPrimitive', async () => {
diff --git a/packages/design/src/components/hover-card/HoverCard.stories.tsx b/packages/design/src/components/hover-card/HoverCard.stories.tsx
index 5365bcfe05..cb630ea530 100644
--- a/packages/design/src/components/hover-card/HoverCard.stories.tsx
+++ b/packages/design/src/components/hover-card/HoverCard.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-
import { borderClassName } from '../../helper/class-utilities';
import { clsx } from '../../helper/clsx';
import { HoverCard } from './HoverCard';
diff --git a/packages/design/src/components/hover-card/__tests__/logic.spec.tsx b/packages/design/src/components/hover-card/__tests__/logic.spec.tsx
index 2f6e9fa1ec..4b036a31fe 100644
--- a/packages/design/src/components/hover-card/__tests__/logic.spec.tsx
+++ b/packages/design/src/components/hover-card/__tests__/logic.spec.tsx
@@ -17,7 +17,6 @@
import { cleanup, fireEvent, render, screen } from '@testing-library/react';
import { afterEach, describe, expect, it, vi } from 'vitest';
import { HoverCard } from '../HoverCard';
-
import '@testing-library/jest-dom/vitest';
vi.mock('../HoverCardPrimitive', async () => {
diff --git a/packages/design/src/components/input/Input.stories.tsx b/packages/design/src/components/input/Input.stories.tsx
index d8b7e8ccff..d08a2e284e 100644
--- a/packages/design/src/components/input/Input.stories.tsx
+++ b/packages/design/src/components/input/Input.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-
import { Pager } from '../pager/Pager';
import { Input } from './Input';
diff --git a/packages/design/src/components/kbd/Kbd.stories.tsx b/packages/design/src/components/kbd/Kbd.stories.tsx
index 4cd6582a84..d634a0e965 100644
--- a/packages/design/src/components/kbd/Kbd.stories.tsx
+++ b/packages/design/src/components/kbd/Kbd.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-
import { KBD } from './Kbd';
const meta: Meta<typeof KBD> = {
diff --git a/packages/design/src/components/radio/Radio.stories.tsx b/packages/design/src/components/radio/Radio.stories.tsx
index dcbfb21730..643c4660f3 100644
--- a/packages/design/src/components/radio/Radio.stories.tsx
+++ b/packages/design/src/components/radio/Radio.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-
import { Radio } from './Radio';
const meta: Meta<typeof Radio> = {
diff --git a/packages/design/src/index.ts b/packages/design/src/index.ts
index cd022e7ce4..462b8ea3f9 100644
--- a/packages/design/src/index.ts
+++ b/packages/design/src/index.ts
@@ -16,58 +16,95 @@
import './global.css';
-export { Accordion, type IAccordionProps } from './components/accordion/Accordion';
-export { Avatar, type IAvatarProps } from './components/avatar/Avatar';
-export { Badge, type IBadgeProps } from './components/badge/Badge';
-export { Button, type IButtonProps } from './components/button/Button';
-export { ButtonGroup, type IButtonGroupProps } from './components/button/ButtonGroup';
+export { Accordion } from './components/accordion/Accordion';
+export type { IAccordionProps } from './components/accordion/Accordion';
+export { Avatar } from './components/avatar/Avatar';
+export type { IAvatarProps } from './components/avatar/Avatar';
+export { Badge } from './components/badge/Badge';
+export type { IBadgeProps } from './components/badge/Badge';
+export { Button } from './components/button/Button';
+export type { IButtonProps } from './components/button/Button';
+export { ButtonGroup } from './components/button/ButtonGroup';
+export type { IButtonGroupProps } from './components/button/ButtonGroup';
export { Calendar } from './components/calendar/Calendar';
-export { CascaderList, type ICascaderListProps, type ICascaderOption } from './components/cascader-list/CascaderList';
-export { CheckboxGroup, type ICheckboxGroupProps } from './components/checkbox-group/CheckboxGroup';
-export { Checkbox, type ICheckboxProps } from './components/checkbox/Checkbox';
-export { ColorPicker, type IColorPickerProps } from './components/color-picker/ColorPicker';
+export { CascaderList } from './components/cascader-list/CascaderList';
+export type { ICascaderListProps, ICascaderOption } from './components/cascader-list/CascaderList';
+export { CheckboxGroup } from './components/checkbox-group/CheckboxGroup';
+export type { ICheckboxGroupProps } from './components/checkbox-group/CheckboxGroup';
+export { Checkbox } from './components/checkbox/Checkbox';
+export type { ICheckboxProps } from './components/checkbox/Checkbox';
+export { ColorPicker } from './components/color-picker/ColorPicker';
+export type { IColorPickerProps } from './components/color-picker/ColorPicker';
export { ColorPresets } from './components/color-picker/ColorPresets';
-export { ConfigContext, ConfigProvider, type IConfigProviderProps } from './components/config-provider/ConfigProvider';
-export { Confirm, type IConfirmProps } from './components/confirm/Confirm';
+export { ConfigContext, ConfigProvider } from './components/config-provider/ConfigProvider';
+export type { IConfigProviderProps } from './components/config-provider/ConfigProvider';
+export { Confirm } from './components/confirm/Confirm';
+export type { IConfirmProps } from './components/confirm/Confirm';
export { DatePicker } from './components/date-picker/DatePicker';
export { DateRangePicker } from './components/date-range-picker';
-export { Dialog, type IDialogProps } from './components/dialog/Dialog';
-export { DraggableList, type IDraggableListProps } from './components/draggable-list';
-export { DropdownMenu, type IDropdownMenuProps } from './components/dropdown-menu/DropdownMenu';
-export { Dropdown, type IDropdownProps } from './components/dropdown/Dropdown';
-export { FormDualColumnLayout, FormLayout, type IFormDualColumnLayoutProps, type IFormLayoutProps } from './components/form-layout';
-export { Gallery, type IGalleryProps } from './components/gallery/Gallery';
-export { GradientColorPicker, type GradientType, type IGradientColorPickerProps, type IGradientStop, type IGradientValue } from './components/gradient-color-picker/GradientColorPicker';
-export { HoverCard, type IHoverCardProps } from './components/hover-card/HoverCard';
-export { type IInputNumberProps, InputNumber } from './components/input-number/InputNumber';
-export { type IInputProps, Input } from './components/input/Input';
-export { type IKBDProps, KBD } from './components/kbd/Kbd';
-export { type IMessageProps, message, Messager, MessageType, removeMessage } from './components/message/Message';
-export { type IPagerProps, Pager } from './components/pager/Pager';
-export { type IPanelFieldProps, type IPanelProps, type IPanelSectionProps, Panel, PanelField, PanelSection } from './components/panel/Panel';
-export { type IPopupProps, Popup } from './components/popup';
-export { type IRadioGroupProps, RadioGroup } from './components/radio-group/RadioGroup';
-export { type IRadioProps, Radio } from './components/radio/Radio';
+export { Dialog } from './components/dialog/Dialog';
+export type { IDialogProps } from './components/dialog/Dialog';
+export { DraggableList } from './components/draggable-list';
+export type { IDraggableListProps } from './components/draggable-list';
+export { DropdownMenu } from './components/dropdown-menu/DropdownMenu';
+export type { IDropdownMenuProps } from './components/dropdown-menu/DropdownMenu';
+export { Dropdown } from './components/dropdown/Dropdown';
+export type { IDropdownProps } from './components/dropdown/Dropdown';
+export { FormDualColumnLayout, FormLayout } from './components/form-layout';
+export type { IFormDualColumnLayoutProps, IFormLayoutProps } from './components/form-layout';
+export { Gallery } from './components/gallery/Gallery';
+export type { IGalleryProps } from './components/gallery/Gallery';
+export { GradientColorPicker } from './components/gradient-color-picker/GradientColorPicker';
+export type {
+ GradientType,
+ IGradientColorPickerProps,
+ IGradientStop,
+ IGradientValue,
+} from './components/gradient-color-picker/GradientColorPicker';
+export { HoverCard } from './components/hover-card/HoverCard';
+export type { IHoverCardProps } from './components/hover-card/HoverCard';
+export { InputNumber } from './components/input-number/InputNumber';
+export type { IInputNumberProps } from './components/input-number/InputNumber';
+export { Input } from './components/input/Input';
+export type { IInputProps } from './components/input/Input';
+export { KBD } from './components/kbd/Kbd';
+export type { IKBDProps } from './components/kbd/Kbd';
+export { message, Messager, MessageType, removeMessage } from './components/message/Message';
+export type { IMessageProps } from './components/message/Message';
+export { Pager } from './components/pager/Pager';
+export type { IPagerProps } from './components/pager/Pager';
+export { Panel, PanelField, PanelSection } from './components/panel/Panel';
+export type { IPanelFieldProps, IPanelProps, IPanelSectionProps } from './components/panel/Panel';
+export { Popup } from './components/popup';
+export type { IPopupProps } from './components/popup';
+export { RadioGroup } from './components/radio-group/RadioGroup';
+export type { IRadioGroupProps } from './components/radio-group/RadioGroup';
+export { Radio } from './components/radio/Radio';
+export type { IRadioProps } from './components/radio/Radio';
export { Segmented } from './components/segmented/Segmented';
-export { type ISelectListProps, SelectList } from './components/select-list/SelectList';
-export { type IMultipleSelectProps, MultipleSelect } from './components/select/MultipleSelect';
-export { type ISelectProps, Select } from './components/select/Select';
+export { SelectList } from './components/select-list/SelectList';
+export type { ISelectListProps } from './components/select-list/SelectList';
+export { MultipleSelect } from './components/select/MultipleSelect';
+export type { IMultipleSelectProps } from './components/select/MultipleSelect';
+export { Select } from './components/select/Select';
+export type { ISelectProps } from './components/select/Select';
export { Separator } from './components/separator/Separator';
export { Switch } from './components/switch/Switch';
export { Textarea } from './components/textarea/Textarea';
export { TimeInput } from './components/time-input/TimeInput';
-export { type IToasterProps, toast, Toaster } from './components/toaster/Toaster';
-export { type ITooltipProps, Tooltip } from './components/tooltip/Tooltip';
+export { toast, Toaster } from './components/toaster/Toaster';
+export type { IToasterProps } from './components/toaster/Toaster';
+export { Tooltip } from './components/tooltip/Tooltip';
+export type { ITooltipProps } from './components/tooltip/Tooltip';
export {
filterLeafNode,
findNodePathFromTree,
findSubTreeFromPath,
- type ITreeNodeProps,
- type ITreeProps,
mergeTreeSelected,
Tree,
TreeSelectionMode,
} from './components/tree';
+export type { ITreeNodeProps, ITreeProps } from './components/tree';
export {
borderBottomClassName,
borderClassName,
diff --git a/packages/docs-drawing-ui/src/controllers/render-controllers/doc-drawing-update.render-controller.ts b/packages/docs-drawing-ui/src/controllers/render-controllers/doc-drawing-update.render-controller.ts
index 0078651b26..5799c0e58f 100644
--- a/packages/docs-drawing-ui/src/controllers/render-controllers/doc-drawing-update.render-controller.ts
+++ b/packages/docs-drawing-ui/src/controllers/render-controllers/doc-drawing-update.render-controller.ts
@@ -20,14 +20,37 @@ import type { IImageIoServiceParam } from '@univerjs/drawing';
import type { Documents, Image, IRenderContext, IRenderModule } from '@univerjs/engine-render';
import type { IInsertDrawingCommandParams } from '../../commands/commands/interfaces';
import type { ISetDrawingArrangeCommandParams } from '../../commands/commands/set-drawing-arrange.command';
-import { BooleanNumber, Disposable, DrawingTypeEnum, FOCUSING_COMMON_DRAWINGS, ICommandService, IContextService, Inject, LocaleService, ObjectRelativeFromH, ObjectRelativeFromV, PositionedObjectLayoutType, WrapTextType } from '@univerjs/core';
+import {
+ BooleanNumber,
+ Disposable,
+ DrawingTypeEnum,
+ FOCUSING_COMMON_DRAWINGS,
+ ICommandService,
+ IContextService,
+ Inject,
+ LocaleService,
+ ObjectRelativeFromH,
+ ObjectRelativeFromV,
+ PositionedObjectLayoutType,
+ WrapTextType,
+} from '@univerjs/core';
import { MessageType } from '@univerjs/design';
import { DocSelectionManagerService, DocSkeletonManagerService, RichTextEditingMutation } from '@univerjs/docs';
import { IDocDrawingService } from '@univerjs/docs-drawing';
import { docDrawingPositionToTransform, DocSelectionRenderService } from '@univerjs/docs-ui';
-import { DRAWING_IMAGE_ALLOW_IMAGE_LIST, DRAWING_IMAGE_COUNT_LIMIT, DRAWING_IMAGE_HEIGHT_LIMIT, DRAWING_IMAGE_WIDTH_LIMIT, getDrawingImageAllowSize, getDrawingShapeKeyByDrawingSearch, getImageSize, IDrawingManagerService, IImageIoService, ImageUploadStatusType } from '@univerjs/drawing';
+import {
+ DRAWING_IMAGE_ALLOW_IMAGE_LIST,
+ DRAWING_IMAGE_COUNT_LIMIT,
+ DRAWING_IMAGE_HEIGHT_LIMIT,
+ DRAWING_IMAGE_WIDTH_LIMIT,
+ getDrawingImageAllowSize,
+ getDrawingShapeKeyByDrawingSearch,
+ getImageSize,
+ IDrawingManagerService,
+ IImageIoService,
+ ImageUploadStatusType,
+} from '@univerjs/drawing';
import { DocumentEditArea, IRenderManagerService } from '@univerjs/engine-render';
-
import { ILocalFileService, IMessageService } from '@univerjs/ui';
import { debounceTime } from 'rxjs';
import { GroupDocDrawingCommand } from '../../commands/commands/group-doc-drawing.command';
diff --git a/packages/docs-drawing-ui/src/menu/image.menu.ts b/packages/docs-drawing-ui/src/menu/image.menu.ts
index e89654ebb5..8b7a123f7e 100644
--- a/packages/docs-drawing-ui/src/menu/image.menu.ts
+++ b/packages/docs-drawing-ui/src/menu/image.menu.ts
@@ -17,7 +17,6 @@
import type { IAccessor } from '@univerjs/core';
import type { IMenuItem } from '@univerjs/ui';
import { IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
-
import { DocSelectionManagerService } from '@univerjs/docs';
import { getMenuHiddenObservable, MenuItemType } from '@univerjs/ui';
import { Observable } from 'rxjs';
diff --git a/packages/docs-drawing-ui/src/views/doc-image-panel/__tests__/DocDrawingPosition.spec.tsx b/packages/docs-drawing-ui/src/views/doc-image-panel/__tests__/DocDrawingPosition.spec.tsx
index 120aef7381..f18625a234 100644
--- a/packages/docs-drawing-ui/src/views/doc-image-panel/__tests__/DocDrawingPosition.spec.tsx
+++ b/packages/docs-drawing-ui/src/views/doc-image-panel/__tests__/DocDrawingPosition.spec.tsx
@@ -386,25 +386,6 @@ describe('DocDrawingPosition', () => {
});
});
- it('keeps the image visually fixed when vertical positioning changes from paragraph to line', async () => {
- currentTestBed = createPositionTestBed();
- container = document.createElement('div');
- document.body.appendChild(container);
- root = createRoot(container);
- renderPanel(root, currentTestBed);
-
- await selectPositionRelativeFrom(container, 1, 'Line');
-
- expect(currentDrawing(currentTestBed)).toMatchObject({
- docTransform: {
- positionV: {
- relativeFrom: ObjectRelativeFromV.LINE,
- posOffset: -12,
- },
- },
- });
- });
-
it('persists vertical absolute position on the focused drawing', async () => {
currentTestBed = createPositionTestBed();
container = document.createElement('div');
diff --git a/packages/docs-drawing/src/index.ts b/packages/docs-drawing/src/index.ts
index 55c0ff1fac..ae00c73edc 100644
--- a/packages/docs-drawing/src/index.ts
+++ b/packages/docs-drawing/src/index.ts
@@ -15,8 +15,10 @@
*/
export type { IUniverDocsDrawingConfig } from './config/config';
-export { DOCS_DRAWING_PLUGIN, type IDocDrawingModel } from './controllers/doc-drawing.controller';
+export { DOCS_DRAWING_PLUGIN } from './controllers/doc-drawing.controller';
+export type { IDocDrawingModel } from './controllers/doc-drawing.controller';
export { DocDrawingController } from './controllers/doc-drawing.controller';
export { UniverDocsDrawingPlugin } from './plugin';
-export { DocDrawingService, type IDocDrawing, IDocDrawingService, type IDocImage } from './services/doc-drawing.service';
+export { DocDrawingService, IDocDrawingService } from './services/doc-drawing.service';
+export type { IDocDrawing, IDocImage } from './services/doc-drawing.service';
export { type IDocFloatDom } from './services/doc-drawing.service';
diff --git a/packages/docs-thread-comment-ui/src/controllers/__tests__/doc-thread-comment-selection.controller.spec.ts b/packages/docs-thread-comment-ui/src/controllers/__tests__/doc-thread-comment-selection.controller.spec.ts
index 2e89d092a0..0a945c6bf6 100644
--- a/packages/docs-thread-comment-ui/src/controllers/__tests__/doc-thread-comment-selection.controller.spec.ts
+++ b/packages/docs-thread-comment-ui/src/controllers/__tests__/doc-thread-comment-selection.controller.spec.ts
@@ -16,7 +16,6 @@
import { SetTextSelectionsOperation } from '@univerjs/docs';
import { SetActiveCommentOperation } from '@univerjs/thread-comment-ui';
-
import { Subject } from 'rxjs';
import { describe, expect, it, vi } from 'vitest';
import { ShowCommentPanelOperation } from '../../commands/operations/show-comment-panel.operation';
diff --git a/packages/docs-thread-comment-ui/src/controllers/render-controllers/__tests__/render.controller.spec.ts b/packages/docs-thread-comment-ui/src/controllers/render-controllers/__tests__/render.controller.spec.ts
index e3a70df535..20742a432e 100644
--- a/packages/docs-thread-comment-ui/src/controllers/render-controllers/__tests__/render.controller.spec.ts
+++ b/packages/docs-thread-comment-ui/src/controllers/render-controllers/__tests__/render.controller.spec.ts
@@ -18,7 +18,6 @@ import { CustomDecorationType } from '@univerjs/core';
import { DOC_INTERCEPTOR_POINT, RichTextEditingMutation } from '@univerjs/docs';
import { Subject } from 'rxjs';
import { describe, expect, it, vi } from 'vitest';
-
import { DEFAULT_DOC_SUBUNIT_ID } from '../../../common/const';
import { DocThreadCommentRenderController } from '../render.controller';
diff --git a/packages/docs-thread-comment-ui/src/menu/__tests__/menu.spec.ts b/packages/docs-thread-comment-ui/src/menu/__tests__/menu.spec.ts
index adb92e9018..1f1ff5bdb5 100644
--- a/packages/docs-thread-comment-ui/src/menu/__tests__/menu.spec.ts
+++ b/packages/docs-thread-comment-ui/src/menu/__tests__/menu.spec.ts
@@ -17,7 +17,6 @@
import { FLOAT_TOOLBAR_MENU_POSITION } from '@univerjs/docs-ui';
import { DocumentEditArea } from '@univerjs/engine-render';
import { describe, expect, it, vi } from 'vitest';
-
import { StartAddCommentOperation } from '../../commands/operations/show-comment-panel.operation';
import { AddDocCommentMenuItemFactory, shouldDisableAddComment, ToolbarDocCommentMenuItemFactory } from '../menu';
import { menuSchema } from '../schema';
diff --git a/packages/docs-thread-comment-ui/src/services/__tests__/doc-thread-comment.service.spec.ts b/packages/docs-thread-comment-ui/src/services/__tests__/doc-thread-comment.service.spec.ts
index d318d2edc2..3d5aa9837b 100644
--- a/packages/docs-thread-comment-ui/src/services/__tests__/doc-thread-comment.service.spec.ts
+++ b/packages/docs-thread-comment-ui/src/services/__tests__/doc-thread-comment.service.spec.ts
@@ -18,7 +18,6 @@ import { Injector } from '@univerjs/core';
import { ThreadCommentPanelService } from '@univerjs/thread-comment-ui';
import { ISidebarService } from '@univerjs/ui';
import { describe, expect, it } from 'vitest';
-
import { DocThreadCommentService } from '../doc-thread-comment.service';
class TestSidebarService {}
diff --git a/packages/docs-ui/src/commands/commands/__tests__/misc.command.spec.ts b/packages/docs-ui/src/commands/commands/__tests__/misc.command.spec.ts
index 2c440ac159..830a4f0874 100644
--- a/packages/docs-ui/src/commands/commands/__tests__/misc.command.spec.ts
+++ b/packages/docs-ui/src/commands/commands/__tests__/misc.command.spec.ts
@@ -1376,29 +1376,6 @@ describe('misc document commands', () => {
}));
});
- it('resizes page-fill tables when page content width changes', async () => {
- ({ univer, get } = createCommandTestBed(createPageFillTableCommandDoc()));
- commandService = get(ICommandService);
- commandService.registerCommand(DocPageSetupCommand);
- commandService.registerCommand(RichTextEditingMutation as unknown as ICommand);
-
- const result = await commandService.executeCommand(DocPageSetupCommand.id, {
- documentFlavor: DocumentFlavor.TRADITIONAL,
- pageSize: { width: 640, height: 840.51 },
- pageOrient: PageOrientType.PORTRAIT,
- marginTop: 72,
- marginBottom: 72,
- marginLeft: 90,
- marginRight: 90,
- });
- await awaitTime(0);
-
- const table = getDoc()?.getSnapshot().tableSource?.['table-1'];
- expect(result).toBe(true);
- expect(table?.size.width.v).toBe(460);
- expect(table?.tableColumns.map((column) => column.size.width.v)).toEqual([230, 230]);
- });
-
it('inserts page setup values when the document has no explicit page style', async () => {
const doc = createBaseDoc();
doc.documentStyle = {};
@@ -1750,41 +1727,6 @@ describe('misc document commands', () => {
}));
});
- it('switches document mode by executing the command against the current document', async () => {
- ({ univer, get } = createCommandTestBed(createBaseDoc()));
- commandService = get(ICommandService);
- commandService.registerCommand(SwitchDocModeCommand);
- commandService.registerCommand(RichTextEditingMutation as unknown as ICommand);
- setCollapsedSelection(1);
-
- const render = get(IRenderManagerService).getRenderById('test-doc')!;
- const skeletonManager = get(DocSkeletonManagerService) as unknown as { getSkeleton: () => unknown };
- const selectionRenderService = {
- getSegment: () => '',
- getSegmentPage: () => -1,
- };
- const mutableRender = render as unknown as { with: (dependency: unknown) => unknown };
- const originalWith = mutableRender.with.bind(mutableRender);
- mutableRender.with = (dependency: unknown) => {
- if (dependency === DocSkeletonManagerService) {
- skeletonManager.getSkeleton = () => ({}) as never;
- return skeletonManager;
- }
- if (dependency === DocSelectionRenderService) {
- return selectionRenderService;
- }
- return originalWith(dependency);
- };
-
- expect(await commandService.executeCommand(SwitchDocModeCommand.id)).toBe(true);
- await awaitTime(0);
- expect(getDoc()?.getDocumentStyle().documentFlavor).toBe(DocumentFlavor.MODERN);
-
- expect(await commandService.executeCommand(SwitchDocModeCommand.id)).toBe(true);
- await awaitTime(0);
- expect(getDoc()?.getDocumentStyle().documentFlavor).toBe(DocumentFlavor.TRADITIONAL);
- });
-
it('converts body drawings to paragraph-relative vertical positions when switching from traditional mode', async () => {
({ univer, get } = createCommandTestBed(createDrawingModeDoc()));
commandService = get(ICommandService);
@@ -1846,28 +1788,6 @@ describe('misc document commands', () => {
}));
});
- it('does not switch document mode when command skeleton is unavailable', async () => {
- ({ univer, get } = createCommandTestBed(createBaseDoc()));
- commandService = get(ICommandService);
- commandService.registerCommand(SwitchDocModeCommand);
- commandService.registerCommand(RichTextEditingMutation as unknown as ICommand);
-
- const skeletonManager = get(DocSkeletonManagerService) as unknown as { getSkeleton: () => undefined };
- skeletonManager.getSkeleton = () => undefined;
- const render = get(IRenderManagerService).getRenderById('test-doc');
- const mutableRender = render as unknown as { with: (dependency: unknown) => unknown };
- const originalWith = mutableRender.with.bind(mutableRender);
- mutableRender.with = (dependency: unknown) => {
- if (dependency === DocSelectionRenderService) {
- return undefined;
- }
- return originalWith(dependency);
- };
-
- expect(await commandService.executeCommand(SwitchDocModeCommand.id)).toBe(false);
- expect(getDoc()?.getDocumentStyle().documentFlavor).toBeUndefined();
- });
-
it('reports cursor operations only when movement params are provided', async () => {
({ univer, get } = createCommandTestBed(createBaseDoc()));
commandService = get(ICommandService);
diff --git a/packages/docs-ui/src/commands/commands/paragraph-align.command.ts b/packages/docs-ui/src/commands/commands/paragraph-align.command.ts
index ee4d3fb997..89ac6a5dc6 100644
--- a/packages/docs-ui/src/commands/commands/paragraph-align.command.ts
+++ b/packages/docs-ui/src/commands/commands/paragraph-align.command.ts
@@ -16,7 +16,6 @@
import type { ICommand, IMutationInfo, IParagraphStyle } from '@univerjs/core';
import type { IRichTextEditingMutationParams } from '@univerjs/docs';
-
import {
BuildTextUtils,
CommandType,
diff --git a/packages/docs-ui/src/commands/commands/set-doc-zoom-ratio.command.ts b/packages/docs-ui/src/commands/commands/set-doc-zoom-ratio.command.ts
index db4f1e1525..eaa46c8b7d 100644
--- a/packages/docs-ui/src/commands/commands/set-doc-zoom-ratio.command.ts
+++ b/packages/docs-ui/src/commands/commands/set-doc-zoom-ratio.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import type { ISetDocZoomRatioOperationParams } from '../operations/set-doc-zoom-ratio.operation';
-
import { CommandType, ICommandService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
import {
SetDocZoomRatioOperation,
diff --git a/packages/docs-ui/src/controllers/doc-move-cursor.controller.ts b/packages/docs-ui/src/controllers/doc-move-cursor.controller.ts
index df468b375b..969f65c2af 100644
--- a/packages/docs-ui/src/controllers/doc-move-cursor.controller.ts
+++ b/packages/docs-ui/src/controllers/doc-move-cursor.controller.ts
@@ -36,11 +36,20 @@ import {
IUniverInstanceService,
RANGE_DIRECTION,
} from '@univerjs/core';
-
import { DocSelectionManagerService, DocSkeletonManagerService } from '@univerjs/docs';
import { DocumentSkeletonPageType, IRenderManagerService } from '@univerjs/engine-render';
import { getDocObject } from '../basics/component-tools';
-import { findAboveCell, findBellowCell, findLineBeforeAndAfterTable, findTableAfterLine, findTableBeforeLine, firstLineInCell, firstLineInTable, lastLineInCell, lastLineInTable } from '../basics/table';
+import {
+ findAboveCell,
+ findBellowCell,
+ findLineBeforeAndAfterTable,
+ findTableAfterLine,
+ findTableBeforeLine,
+ firstLineInCell,
+ firstLineInTable,
+ lastLineInCell,
+ lastLineInTable,
+} from '../basics/table';
import { MoveCursorOperation, MoveSelectionOperation } from '../commands/operations/doc-cursor.operation';
import { NodePositionConvertToCursor } from '../services/selection/convert-text-range';
import { getParagraphInfoByGlyph } from '../services/selection/selection-utils';
diff --git a/packages/docs-ui/src/controllers/render-controllers/doc-clipboard.controller.ts b/packages/docs-ui/src/controllers/render-controllers/doc-clipboard.controller.ts
index c818f7c6cd..1a5f2b954b 100644
--- a/packages/docs-ui/src/controllers/render-controllers/doc-clipboard.controller.ts
+++ b/packages/docs-ui/src/controllers/render-controllers/doc-clipboard.controller.ts
@@ -16,7 +16,6 @@
import type { DocumentDataModel } from '@univerjs/core';
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
-
import {
ICommandService,
IContextService,
diff --git a/packages/docs-ui/src/controllers/render-controllers/doc-selection-render.controller.ts b/packages/docs-ui/src/controllers/render-controllers/doc-selection-render.controller.ts
index 1e2df43393..a93b399bff 100644
--- a/packages/docs-ui/src/controllers/render-controllers/doc-selection-render.controller.ts
+++ b/packages/docs-ui/src/controllers/render-controllers/doc-selection-render.controller.ts
@@ -15,10 +15,22 @@
*/
import type { DocumentDataModel, ICommandInfo } from '@univerjs/core';
-import type { IMouseEvent, IPointerEvent, IRenderContext, IRenderModule, RenderComponentType } from '@univerjs/engine-render';
+import type {
+ IMouseEvent,
+ IPointerEvent,
+ IRenderContext,
+ IRenderModule,
+ RenderComponentType,
+} from '@univerjs/engine-render';
import type { ISetDocZoomRatioOperationParams } from '../../commands/operations/set-doc-zoom-ratio.operation';
-
-import { Disposable, ICommandService, Inject, isInternalEditorID, IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
+import {
+ Disposable,
+ ICommandService,
+ Inject,
+ isInternalEditorID,
+ IUniverInstanceService,
+ UniverInstanceType,
+} from '@univerjs/core';
import { DocSelectionManagerService, DocSkeletonManagerService } from '@univerjs/docs';
import { CURSOR_TYPE, DocumentEditArea, PageLayoutType, Vector2 } from '@univerjs/engine-render';
import { neoGetDocObject } from '../../basics/component-tools';
diff --git a/packages/docs-ui/src/controllers/render-controllers/zoom.render-controller.ts b/packages/docs-ui/src/controllers/render-controllers/zoom.render-controller.ts
index 79ddec9aee..707a030c39 100644
--- a/packages/docs-ui/src/controllers/render-controllers/zoom.render-controller.ts
+++ b/packages/docs-ui/src/controllers/render-controllers/zoom.render-controller.ts
@@ -16,7 +16,6 @@
import type { DocumentDataModel, ICommandInfo, Workbook } from '@univerjs/core';
import type { IRenderContext, IRenderModule, IWheelEvent } from '@univerjs/engine-render';
-
import type { IDocPageSetupCommandParams } from '../../commands/commands/doc-page-setup.command';
import type { ISetDocZoomRatioOperationParams } from '../../commands/operations/set-doc-zoom-ratio.operation';
import {
diff --git a/packages/docs-ui/src/controllers/ui.controller.ts b/packages/docs-ui/src/controllers/ui.controller.ts
index b224592422..c579d1a399 100644
--- a/packages/docs-ui/src/controllers/ui.controller.ts
+++ b/packages/docs-ui/src/controllers/ui.controller.ts
@@ -24,7 +24,6 @@ import {
UniverInstanceType,
} from '@univerjs/core';
import { IRenderManagerService } from '@univerjs/engine-render';
-
import {
BuiltInUIPart,
connectInjector,
diff --git a/packages/docs-ui/src/index.ts b/packages/docs-ui/src/index.ts
index 4fe96fd33d..79bd125fd8 100644
--- a/packages/docs-ui/src/index.ts
+++ b/packages/docs-ui/src/index.ts
@@ -18,29 +18,37 @@ import './global.css';
export type { IDocObjectParam } from './basics/component-tools';
export { getDocObject, getDocObjectById, neoGetDocObject } from './basics/component-tools';
-export { addCustomDecorationBySelectionFactory, addCustomDecorationFactory, deleteCustomDecorationFactory } from './basics/custom-decoration-factory';
+export {
+ addCustomDecorationBySelectionFactory,
+ addCustomDecorationFactory,
+ deleteCustomDecorationFactory,
+} from './basics/custom-decoration-factory';
export * from './basics/docs-view-key';
export { hasParagraphInTable } from './basics/paragraph';
export { docDrawingPositionToTransform, transformToDocDrawingPosition } from './basics/transform-position';
-export { AfterSpaceCommand, EnterCommand, type ITabCommandParams, TabCommand } from './commands/commands/auto-format.command';
+export { AfterSpaceCommand, EnterCommand, TabCommand } from './commands/commands/auto-format.command';
+export type { ITabCommandParams } from './commands/commands/auto-format.command';
export { BreakLineCommand } from './commands/commands/break-line.command';
export { generateParagraphs } from './commands/commands/break-line.command';
export { DocCopyCommand, DocCutCommand, DocPasteCommand } from './commands/commands/clipboard.command';
-export { CutContentCommand, type IInnerPasteCommandParams, InnerPasteCommand } from './commands/commands/clipboard.inner.command';
+export { CutContentCommand, InnerPasteCommand } from './commands/commands/clipboard.inner.command';
+export type { IInnerPasteCommandParams } from './commands/commands/clipboard.inner.command';
export type { IInnerCutCommandParams } from './commands/commands/clipboard.inner.command';
export { getCustomBlockIdsInSelections, getCutActionsFromDocRanges } from './commands/commands/clipboard.inner.command';
-export { buildMoveDocBlockActions, type IMoveDocBlockCommandParams, MoveDocBlockCommand } from './commands/commands/doc-block-move.command';
+export { buildMoveDocBlockActions, MoveDocBlockCommand } from './commands/commands/doc-block-move.command';
+export type { IMoveDocBlockCommandParams } from './commands/commands/doc-block-move.command';
export {
DeleteCustomBlockCommand,
DeleteLeftCommand,
DeleteRightCommand,
- type IDeleteCustomBlockParams,
MergeTwoParagraphCommand,
} from './commands/commands/doc-delete.command';
+export type { IDeleteCustomBlockParams } from './commands/commands/doc-delete.command';
export { getCursorWhenDelete } from './commands/commands/doc-delete.command';
export { HorizontalLineCommand } from './commands/commands/doc-horizontal-line.command';
export { DocSelectAllCommand } from './commands/commands/doc-select-all.command';
-export { type IIMEInputCommandParams, IMEInputCommand } from './commands/commands/ime-input.command';
+export { IMEInputCommand } from './commands/commands/ime-input.command';
+export type { IIMEInputCommandParams } from './commands/commands/ime-input.command';
export {
getStyleInTextRange,
ResetInlineFormatTextBackgroundColorCommand,
@@ -58,7 +66,8 @@ export {
SetInlineFormatTextFillCommand,
SetInlineFormatUnderlineCommand,
} from './commands/commands/inline-format.command';
-export { type IInsertCustomRangeCommandParams, InsertCustomRangeCommand } from './commands/commands/insert-custom-range.command';
+export { InsertCustomRangeCommand } from './commands/commands/insert-custom-range.command';
+export type { IInsertCustomRangeCommandParams } from './commands/commands/insert-custom-range.command';
export {
BulletListCommand,
ChangeListNestingLevelCommand,
@@ -80,17 +89,24 @@ export {
export { ReplaceTextRunsCommand } from './commands/commands/replace-content.command';
export {
CoverContentCommand,
- type IReplaceSelectionCommandParams,
- type IReplaceSnapshotCommandParams,
ReplaceContentCommand,
ReplaceSelectionCommand,
ReplaceSnapshotCommand,
} from './commands/commands/replace-content.command';
+export type {
+ IReplaceSelectionCommandParams,
+ IReplaceSnapshotCommandParams,
+} from './commands/commands/replace-content.command';
export { SetDocZoomRatioCommand } from './commands/commands/set-doc-zoom-ratio.command';
export { SetParagraphNamedStyleCommand } from './commands/commands/set-heading.command';
export { SwitchDocModeCommand } from './commands/commands/switch-doc-mode.command';
-export { CreateDocTableCommand, type ICreateDocTableCommandParams } from './commands/commands/table/doc-table-create.command';
-export { DocTableDeleteColumnsCommand, DocTableDeleteRowsCommand, DocTableDeleteTableCommand } from './commands/commands/table/doc-table-delete.command';
+export { CreateDocTableCommand } from './commands/commands/table/doc-table-create.command';
+export type { ICreateDocTableCommandParams } from './commands/commands/table/doc-table-create.command';
+export {
+ DocTableDeleteColumnsCommand,
+ DocTableDeleteRowsCommand,
+ DocTableDeleteTableCommand,
+} from './commands/commands/table/doc-table-delete.command';
export type {
IDocTableDeleteColumnsCommandParams,
IDocTableDeleteRowsCommandParams,
@@ -116,14 +132,18 @@ export type { IDocTableTabCommandParams } from './commands/commands/table/doc-ta
export { DocTableTabCommand } from './commands/commands/table/doc-table-tab.command';
export { genTableSource, getEmptyTableCell, getEmptyTableRow, getTableColumn } from './commands/commands/table/table';
export { DocCreateTableOperation } from './commands/operations/doc-create-table.operation';
-export { type IMoveCursorOperationParams, MoveSelectionOperation } from './commands/operations/doc-cursor.operation';
+export { MoveSelectionOperation } from './commands/operations/doc-cursor.operation';
+export type { IMoveCursorOperationParams } from './commands/operations/doc-cursor.operation';
export { MoveCursorOperation } from './commands/operations/doc-cursor.operation';
-export { type ISetDocZoomRatioOperationParams, SetDocZoomRatioOperation } from './commands/operations/set-doc-zoom-ratio.operation';
+export { SetDocZoomRatioOperation } from './commands/operations/set-doc-zoom-ratio.operation';
+export type { ISetDocZoomRatioOperationParams } from './commands/operations/set-doc-zoom-ratio.operation';
export { getCommandSkeleton } from './commands/util';
export type { DocFitAlign, DocFitMode, DocFitTarget, IDocFitToWidthOptions, IUniverDocsUIConfig } from './config/config';
export { DEFAULT_DOC_FIT_TO_WIDTH_OPTIONS } from './config/config';
export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
-export { DocParagraphPlaceholderRenderController } from './controllers/render-controllers/doc-paragraph-placeholder.render-controller';
+export {
+ DocParagraphPlaceholderRenderController,
+} from './controllers/render-controllers/doc-paragraph-placeholder.render-controller';
export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
export { DocUIController } from './controllers/ui.controller';
export {
@@ -162,15 +182,25 @@ export * from './services';
export { IDocClipboardService } from './services/clipboard/clipboard.service';
export { convertBodyToHtml } from './services/clipboard/udm-to-html/convertor';
export { DocAutoFormatService } from './services/doc-auto-format.service';
-export { DocEventManagerService, getListMarkerFallbackBound, getListParagraphContextMenuHit, type IBulletBound, type IMutiPageParagraphBound } from './services/doc-event-manager.service';
+export {
+ DocEventManagerService,
+ getListMarkerFallbackBound,
+ getListParagraphContextMenuHit,
+} from './services/doc-event-manager.service';
+export type { IBulletBound, IMutiPageParagraphBound } from './services/doc-event-manager.service';
export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
export { DocParagraphMenuService } from './services/doc-paragraph-menu.service';
export { calcDocRangePositions, DocCanvasPopManagerService } from './services/doc-popup-manager.service';
-export { DocPrintInterceptorService, type IDocPrintComponentContext, type IDocPrintContext } from './services/doc-print-interceptor.service';
+export { DocPrintInterceptorService } from './services/doc-print-interceptor.service';
+export type { IDocPrintComponentContext, IDocPrintContext } from './services/doc-print-interceptor.service';
export { DocsRenderService } from './services/docs-render.service';
export { Editor } from './services/editor/editor';
export { EditorService, IEditorService } from './services/editor/editor-manager.service';
-export { isInSameTableCell, isValidRectRange, NodePositionConvertToRectRange } from './services/selection/convert-rect-range';
+export {
+ isInSameTableCell,
+ isValidRectRange,
+ NodePositionConvertToRectRange,
+} from './services/selection/convert-rect-range';
export { NodePositionConvertToCursor } from './services/selection/convert-text-range';
export { getOneTextSelectionRange } from './services/selection/convert-text-range';
export type { IEditorInputConfig } from './services/selection/doc-selection-render.service';
@@ -184,9 +214,6 @@ export { DOC_VERTICAL_PADDING } from './types/const/padding';
export {
createEditorUndoRedoKeyboardConfig,
executeEditorUndoRedoCommand,
- type ICreateEditorUndoRedoKeyboardConfigOptions,
- type IExecuteEditorUndoRedoCommandOptions,
- type IKeyboardEventConfig,
useEditor,
useEditorClickOutside,
useIsFocusing,
@@ -195,4 +222,10 @@ export {
useOnChange,
useResize,
} from './views/rich-text-editor/hooks';
-export { type IRichTextEditorProps, RichTextEditor } from './views/RichTextEditor';
+export type {
+ ICreateEditorUndoRedoKeyboardConfigOptions,
+ IExecuteEditorUndoRedoCommandOptions,
+ IKeyboardEventConfig,
+} from './views/rich-text-editor/hooks';
+export { RichTextEditor } from './views/RichTextEditor';
+export type { IRichTextEditorProps } from './views/RichTextEditor';
diff --git a/packages/docs-ui/src/menu/menu.ts b/packages/docs-ui/src/menu/menu.ts
index 0da0d00c39..4ab3123c57 100644
--- a/packages/docs-ui/src/menu/menu.ts
+++ b/packages/docs-ui/src/menu/menu.ts
@@ -53,13 +53,33 @@ import {
HEADING_LIST,
MenuItemType,
} from '@univerjs/ui';
-
import { combineLatest, map, Observable } from 'rxjs';
import { OpenHeaderFooterPanelCommand } from '../commands/commands/doc-header-footer.command';
import { HorizontalLineCommand } from '../commands/commands/doc-horizontal-line.command';
-import { getStyleInTextRange, ResetInlineFormatTextBackgroundColorCommand, ResetInlineFormatTextColorCommand, SetInlineFormatBoldCommand, SetInlineFormatCommand, SetInlineFormatFontFamilyCommand, SetInlineFormatFontSizeCommand, SetInlineFormatItalicCommand, SetInlineFormatStrikethroughCommand, SetInlineFormatSubscriptCommand, SetInlineFormatSuperscriptCommand, SetInlineFormatTextBackgroundColorCommand, SetInlineFormatTextColorCommand, SetInlineFormatUnderlineCommand } from '../commands/commands/inline-format.command';
+import {
+ getStyleInTextRange,
+ ResetInlineFormatTextBackgroundColorCommand,
+ ResetInlineFormatTextColorCommand,
+ SetInlineFormatBoldCommand,
+ SetInlineFormatCommand,
+ SetInlineFormatFontFamilyCommand,
+ SetInlineFormatFontSizeCommand,
+ SetInlineFormatItalicCommand,
+ SetInlineFormatStrikethroughCommand,
+ SetInlineFormatSubscriptCommand,
+ SetInlineFormatSuperscriptCommand,
+ SetInlineFormatTextBackgroundColorCommand,
+ SetInlineFormatTextColorCommand,
+ SetInlineFormatUnderlineCommand,
+} from '../commands/commands/inline-format.command';
import { BulletListCommand, CheckListCommand, OrderListCommand } from '../commands/commands/list.command';
-import { AlignCenterCommand, AlignJustifyCommand, AlignLeftCommand, AlignOperationCommand, AlignRightCommand } from '../commands/commands/paragraph-align.command';
+import {
+ AlignCenterCommand,
+ AlignJustifyCommand,
+ AlignLeftCommand,
+ AlignOperationCommand,
+ AlignRightCommand,
+} from '../commands/commands/paragraph-align.command';
import { SetParagraphNamedStyleCommand } from '../commands/commands/set-heading.command';
import { SwitchDocModeCommand } from '../commands/commands/switch-doc-mode.command';
import { CreateDocTableCommand } from '../commands/commands/table/doc-table-create.command';
diff --git a/packages/docs-ui/src/menu/schema.ts b/packages/docs-ui/src/menu/schema.ts
index 3ec6ff59c8..3a177122bb 100644
--- a/packages/docs-ui/src/menu/schema.ts
+++ b/packages/docs-ui/src/menu/schema.ts
@@ -16,18 +16,65 @@
import type { MenuSchemaType } from '@univerjs/ui';
import { ContextMenuGroup, ContextMenuPosition, RibbonInsertGroup, RibbonStartGroup } from '@univerjs/ui';
-import { DocCopyCommand, DocCopyCurrentParagraphCommand, DocCutCommand, DocCutCurrentParagraphCommand, DocPasteCommand } from '../commands/commands/clipboard.command';
+import {
+ DocCopyCommand,
+ DocCopyCurrentParagraphCommand,
+ DocCutCommand,
+ DocCutCurrentParagraphCommand,
+ DocPasteCommand,
+} from '../commands/commands/clipboard.command';
import { DeleteCurrentParagraphCommand, DeleteLeftCommand } from '../commands/commands/doc-delete.command';
import { OpenHeaderFooterPanelCommand } from '../commands/commands/doc-header-footer.command';
-import { HorizontalLineCommand, InsertHorizontalLineBellowCommand } from '../commands/commands/doc-horizontal-line.command';
-
-import { ResetInlineFormatTextBackgroundColorCommand, ResetInlineFormatTextColorCommand, SetInlineFormatBoldCommand, SetInlineFormatFontFamilyCommand, SetInlineFormatFontSizeCommand, SetInlineFormatItalicCommand, SetInlineFormatStrikethroughCommand, SetInlineFormatSubscriptCommand, SetInlineFormatSuperscriptCommand, SetInlineFormatTextBackgroundColorCommand, SetInlineFormatTextColorCommand, SetInlineFormatUnderlineCommand } from '../commands/commands/inline-format.command';
-import { BulletListCommand, CheckListCommand, InsertBulletListBellowCommand, InsertCheckListBellowCommand, InsertOrderListBellowCommand, OrderListCommand } from '../commands/commands/list.command';
+import {
+ HorizontalLineCommand,
+ InsertHorizontalLineBellowCommand,
+} from '../commands/commands/doc-horizontal-line.command';
+import {
+ ResetInlineFormatTextBackgroundColorCommand,
+ ResetInlineFormatTextColorCommand,
+ SetInlineFormatBoldCommand,
+ SetInlineFormatFontFamilyCommand,
+ SetInlineFormatFontSizeCommand,
+ SetInlineFormatItalicCommand,
+ SetInlineFormatStrikethroughCommand,
+ SetInlineFormatSubscriptCommand,
+ SetInlineFormatSuperscriptCommand,
+ SetInlineFormatTextBackgroundColorCommand,
+ SetInlineFormatTextColorCommand,
+ SetInlineFormatUnderlineCommand,
+} from '../commands/commands/inline-format.command';
+import {
+ BulletListCommand,
+ CheckListCommand,
+ InsertBulletListBellowCommand,
+ InsertCheckListBellowCommand,
+ InsertOrderListBellowCommand,
+ OrderListCommand,
+} from '../commands/commands/list.command';
import { AlignOperationCommand } from '../commands/commands/paragraph-align.command';
-import { H1HeadingCommand, H2HeadingCommand, H3HeadingCommand, H4HeadingCommand, H5HeadingCommand, NormalTextHeadingCommand, SetParagraphNamedStyleCommand, SubtitleHeadingCommand, TitleHeadingCommand } from '../commands/commands/set-heading.command';
+import {
+ H1HeadingCommand,
+ H2HeadingCommand,
+ H3HeadingCommand,
+ H4HeadingCommand,
+ H5HeadingCommand,
+ NormalTextHeadingCommand,
+ SetParagraphNamedStyleCommand,
+ SubtitleHeadingCommand,
+ TitleHeadingCommand,
+} from '../commands/commands/set-heading.command';
import { SwitchDocModeCommand } from '../commands/commands/switch-doc-mode.command';
-import { DocTableDeleteColumnsCommand, DocTableDeleteRowsCommand, DocTableDeleteTableCommand } from '../commands/commands/table/doc-table-delete.command';
-import { DocTableInsertColumnLeftCommand, DocTableInsertColumnRightCommand, DocTableInsertRowAboveCommand, DocTableInsertRowBellowCommand } from '../commands/commands/table/doc-table-insert.command';
+import {
+ DocTableDeleteColumnsCommand,
+ DocTableDeleteRowsCommand,
+ DocTableDeleteTableCommand,
+} from '../commands/commands/table/doc-table-delete.command';
+import {
+ DocTableInsertColumnLeftCommand,
+ DocTableInsertColumnRightCommand,
+ DocTableInsertRowAboveCommand,
+ DocTableInsertRowBellowCommand,
+} from '../commands/commands/table/doc-table-insert.command';
import { DocCreateTableOperation } from '../commands/operations/doc-create-table.operation';
import { DocParagraphSettingPanelOperation } from '../commands/operations/doc-paragraph-setting-panel.operation';
import { DocOpenPageSettingCommand } from '../commands/operations/open-page-setting.operation';
diff --git a/packages/docs-ui/src/services/selection/selection-utils.ts b/packages/docs-ui/src/services/selection/selection-utils.ts
index 72d831e4e7..508277f770 100644
--- a/packages/docs-ui/src/services/selection/selection-utils.ts
+++ b/packages/docs-ui/src/services/selection/selection-utils.ts
@@ -14,24 +14,18 @@
* limitations under the License.
*/
-/**
- * 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 { Nullable } from '@univerjs/core';
-import type { Documents, DocumentSkeleton, Engine, IDocumentSkeletonGlyph, INodePosition, IRectRangeWithStyle, ITextRangeWithStyle, ITextSelectionStyle, Scene } from '@univerjs/engine-render';
+import type {
+ Documents,
+ DocumentSkeleton,
+ Engine,
+ IDocumentSkeletonGlyph,
+ INodePosition,
+ IRectRangeWithStyle,
+ ITextRangeWithStyle,
+ ITextSelectionStyle,
+ Scene,
+} from '@univerjs/engine-render';
import type { IDocRange } from './range-interface';
import { RANGE_DIRECTION, Tools } from '@univerjs/core';
import { getOffsetRectForDom } from '@univerjs/engine-render';
diff --git a/packages/docs-ui/src/views/table/create/TableCreate.tsx b/packages/docs-ui/src/views/table/create/TableCreate.tsx
index 878eae8bab..9bca4f99d6 100644
--- a/packages/docs-ui/src/views/table/create/TableCreate.tsx
+++ b/packages/docs-ui/src/views/table/create/TableCreate.tsx
@@ -17,7 +17,6 @@
import { LocaleService } from '@univerjs/core';
import { InputNumber } from '@univerjs/design';
import { useDependency } from '@univerjs/ui';
-
import { useEffect, useState } from 'react';
interface IDocCreateTableConfirmProps {
diff --git a/packages/docs/src/facade/__tests__/f-document.spec.ts b/packages/docs/src/facade/__tests__/f-document.spec.ts
index c89a136100..24e9af4213 100644
--- a/packages/docs/src/facade/__tests__/f-document.spec.ts
+++ b/packages/docs/src/facade/__tests__/f-document.spec.ts
@@ -65,17 +65,6 @@ describe('FDocument', () => {
expect(document.save().body?.dataStream).toBe('Hello,Line 1\rLine 2\r\r\n');
});
- it('should reject text append when the document has no body', () => {
- univer.dispose();
- createDocumentFacade({
- id: 'test',
- title: 'Test Document',
- documentStyle: {},
- });
-
- expect(() => document.appendText('Univer')).toThrowError('The document body is empty');
- });
-
it('should include current document resources in saved snapshots', () => {
const resourceManagerService = get(IResourceManagerService);
diff --git a/packages/docs/src/index.ts b/packages/docs/src/index.ts
index 1e691ca387..be0bd163b4 100644
--- a/packages/docs/src/index.ts
+++ b/packages/docs/src/index.ts
@@ -14,25 +14,33 @@
* limitations under the License.
*/
-export {
- DeleteTextCommand,
- type IDeleteTextCommandParams,
- type IInsertTextCommandParams,
- InsertTextCommand,
- type IUpdateTextCommandParams,
- UpdateTextCommand,
+export { DeleteTextCommand, InsertTextCommand, UpdateTextCommand } from './commands/commands/core-editing.command';
+export type {
+ IDeleteTextCommandParams,
+ IInsertTextCommandParams,
+ IUpdateTextCommandParams,
} from './commands/commands/core-editing.command';
-export { type IRichTextEditingMutationParams, RichTextEditingMutation } from './commands/mutations/core-editing.mutation';
-export { type ISetTextSelectionsOperationParams, SetTextSelectionsOperation } from './commands/operations/text-selection.operation';
+export { RichTextEditingMutation } from './commands/mutations/core-editing.mutation';
+export type { IRichTextEditingMutationParams } from './commands/mutations/core-editing.mutation';
+export { SetTextSelectionsOperation } from './commands/operations/text-selection.operation';
+export type { ISetTextSelectionsOperationParams } from './commands/operations/text-selection.operation';
export type { IUniverDocsConfig } from './config/config';
export { UniverDocsPlugin } from './plugin';
-export { DocContentInsertService, type IDocContentInsertRange } from './services/doc-content-insert.service';
+export { DocContentInsertService } from './services/doc-content-insert.service';
+export type { IDocContentInsertRange } from './services/doc-content-insert.service';
export { DocInterceptorService } from './services/doc-interceptor/doc-interceptor.service';
export { DOC_INTERCEPTOR_POINT } from './services/doc-interceptor/interceptor-const';
export { DocSelectionManagerService } from './services/doc-selection-manager.service';
export { DocSkeletonManagerService } from './services/doc-skeleton-manager.service';
-export { DocStateChangeManagerService, IDocStateChangeInterceptorService } from './services/doc-state-change-manager.service';
+export {
+ DocStateChangeManagerService,
+ IDocStateChangeInterceptorService,
+} from './services/doc-state-change-manager.service';
export type { IDocStateChangeInfo, IDocStateChangeParams } from './services/doc-state-emit.service';
export { DocStateEmitService } from './services/doc-state-emit.service';
-export { addCustomRangeBySelectionFactory, addCustomRangeFactory, deleteCustomRangeFactory } from './utils/custom-range-factory';
+export {
+ addCustomRangeBySelectionFactory,
+ addCustomRangeFactory,
+ deleteCustomRangeFactory,
+} from './utils/custom-range-factory';
export { replaceSelectionFactory } from './utils/replace-selection-factory';
diff --git a/packages/drawing-ui/src/index.ts b/packages/drawing-ui/src/index.ts
index 501aab0ddd..322b59a674 100644
--- a/packages/drawing-ui/src/index.ts
+++ b/packages/drawing-ui/src/index.ts
@@ -17,18 +17,24 @@
import './global.css';
export { SetDrawingAlignOperation } from './commands/operations/drawing-align.operation';
-export {
- type IDrawingArrangeOperationParams,
- SetDrawingArrangeOperation,
+export { SetDrawingArrangeOperation } from './commands/operations/drawing-arrange.operation';
+export type {
+ IDrawingArrangeOperationParams,
} from './commands/operations/drawing-arrange.operation';
export {
CancelDrawingGroupOperation,
DRAWING_GROUP_TYPES,
- type ICancelDrawingGroupOperationParams,
- type IDrawingGroupOperationParams,
SetDrawingGroupOperation,
} from './commands/operations/drawing-group.operation';
-export { AutoImageCropOperation, CloseImageCropOperation, OpenImageCropOperation } from './commands/operations/image-crop.operation';
+export type {
+ ICancelDrawingGroupOperationParams,
+ IDrawingGroupOperationParams,
+} from './commands/operations/drawing-group.operation';
+export {
+ AutoImageCropOperation,
+ CloseImageCropOperation,
+ OpenImageCropOperation,
+} from './commands/operations/image-crop.operation';
export { ImageResetSizeOperation } from './commands/operations/image-reset-size.operation';
export type { IUniverDrawingUIConfig } from './config/config';
export { getCurrentUnitInfo, insertGroupObject } from './controllers/utils';
diff --git a/packages/drawing-ui/src/views/panel/ImageCropper.tsx b/packages/drawing-ui/src/views/panel/ImageCropper.tsx
index 7e9205dde7..f66e744bd9 100644
--- a/packages/drawing-ui/src/views/panel/ImageCropper.tsx
+++ b/packages/drawing-ui/src/views/panel/ImageCropper.tsx
@@ -20,8 +20,11 @@ import { Button, clsx, Select } from '@univerjs/design';
import { CreateCopyIcon } from '@univerjs/icons';
import { ComponentManager, useDependency, useObservable } from '@univerjs/ui';
import { useEffect, useRef, useState } from 'react';
-
-import { AutoImageCropOperation, CloseImageCropOperation, CropType } from '../../commands/operations/image-crop.operation';
+import {
+ AutoImageCropOperation,
+ CloseImageCropOperation,
+ CropType,
+} from '../../commands/operations/image-crop.operation';
import { DrawingImageClipService, IMAGE_CLIP_SHAPE_PICKER_COMPONENT } from '../../services/drawing-image-clip.service';
export interface IImageCropperProps {
diff --git a/packages/engine-formula/src/basics/function.ts b/packages/engine-formula/src/basics/function.ts
index 73dba744f2..7e369a2394 100644
--- a/packages/engine-formula/src/basics/function.ts
+++ b/packages/engine-formula/src/basics/function.ts
@@ -15,7 +15,6 @@
*/
import type { BooleanNumber } from '@univerjs/core';
-
import type { FUNCTION_NAMES_ARRAY } from '../functions/array/function-names';
import type { FUNCTION_NAMES_COMPATIBILITY } from '../functions/compatibility/function-names';
import type { FUNCTION_NAMES_CUBE } from '../functions/cube/function-names';
diff --git a/packages/engine-formula/src/basics/runtime.ts b/packages/engine-formula/src/basics/runtime.ts
index 66c898b0df..98c9d77317 100644
--- a/packages/engine-formula/src/basics/runtime.ts
+++ b/packages/engine-formula/src/basics/runtime.ts
@@ -16,7 +16,6 @@
import type { ICellData, IObjectMatrixPrimitiveType, Nullable } from '@univerjs/core';
import type { IArrayFormulaUnitCellType, IRuntimeUnitDataPrimitiveType, IRuntimeUnitDataType } from './common';
-
import { ObjectMatrix } from '@univerjs/core';
export function convertUnitDataToRuntime(unitData: IArrayFormulaUnitCellType) {
diff --git a/packages/engine-formula/src/commands/mutations/set-array-formula-data.mutation.ts b/packages/engine-formula/src/commands/mutations/set-array-formula-data.mutation.ts
index 58d0f42e30..d04f4d03ed 100644
--- a/packages/engine-formula/src/commands/mutations/set-array-formula-data.mutation.ts
+++ b/packages/engine-formula/src/commands/mutations/set-array-formula-data.mutation.ts
@@ -16,7 +16,6 @@
import type { IAccessor, IMutation } from '@univerjs/core';
import type { IArrayFormulaEmbeddedMap, IArrayFormulaRangeType, IArrayFormulaUnitCellType } from '../../basics/common';
-
import { CommandType } from '@univerjs/core';
export interface ISetArrayFormulaDataMutationParams {
diff --git a/packages/engine-formula/src/commands/mutations/set-formula-calculation.mutation.ts b/packages/engine-formula/src/commands/mutations/set-formula-calculation.mutation.ts
index 4f23190ae7..9380bc5a6b 100644
--- a/packages/engine-formula/src/commands/mutations/set-formula-calculation.mutation.ts
+++ b/packages/engine-formula/src/commands/mutations/set-formula-calculation.mutation.ts
@@ -21,8 +21,11 @@ import type {
IRuntimeOtherUnitDataType,
IRuntimeUnitDataPrimitiveType,
} from '../../basics/common';
-
-import type { IFormulaDependencyTreeFullJson, IFormulaDependencyTreeJson, IFormulaDependentsAndInRangeResults } from '../../engine/dependency/dependency-tree';
+import type {
+ IFormulaDependencyTreeFullJson,
+ IFormulaDependencyTreeJson,
+ IFormulaDependentsAndInRangeResults,
+} from '../../engine/dependency/dependency-tree';
import type { IFormulaDirtyData } from '../../services/current-data.service';
import type { FormulaExecutedStateType, IExecutionInProgressParams } from '../../services/runtime.service';
import { CommandType } from '@univerjs/core';
diff --git a/packages/engine-formula/src/commands/mutations/set-formula-data.mutation.ts b/packages/engine-formula/src/commands/mutations/set-formula-data.mutation.ts
index 206ba95efb..cfdcc4634d 100644
--- a/packages/engine-formula/src/commands/mutations/set-formula-data.mutation.ts
+++ b/packages/engine-formula/src/commands/mutations/set-formula-data.mutation.ts
@@ -16,7 +16,6 @@
import type { IAccessor, IMutation } from '@univerjs/core';
import type { IFormulaData } from '../../basics/common';
-
import { CommandType } from '@univerjs/core';
export interface ISetFormulaDataMutationParams {
diff --git a/packages/engine-formula/src/commands/mutations/set-image-formula-data.mutation.ts b/packages/engine-formula/src/commands/mutations/set-image-formula-data.mutation.ts
index 15ba6885a8..a1730c43ad 100644
--- a/packages/engine-formula/src/commands/mutations/set-image-formula-data.mutation.ts
+++ b/packages/engine-formula/src/commands/mutations/set-image-formula-data.mutation.ts
@@ -16,7 +16,6 @@
import type { IAccessor, IMutation } from '@univerjs/core';
import type { IRuntimeImageFormulaDataType } from '../../basics/common';
-
import { CommandType } from '@univerjs/core';
export interface ISetImageFormulaDataMutationParams {
diff --git a/packages/engine-formula/src/commands/mutations/set-other-formula.mutation.ts b/packages/engine-formula/src/commands/mutations/set-other-formula.mutation.ts
index d109285c48..7e63e533ed 100644
--- a/packages/engine-formula/src/commands/mutations/set-other-formula.mutation.ts
+++ b/packages/engine-formula/src/commands/mutations/set-other-formula.mutation.ts
@@ -16,7 +16,6 @@
import type { IMutation } from '@univerjs/core';
import type { IOtherFormulaDataItem } from '../../basics/common';
-
import { CommandType } from '@univerjs/core';
export interface ISetOtherFormulaMutationParams {
diff --git a/packages/engine-formula/src/commands/mutations/set-super-table.mutation.ts b/packages/engine-formula/src/commands/mutations/set-super-table.mutation.ts
index e4224b3a7a..7ba5d6b6a4 100644
--- a/packages/engine-formula/src/commands/mutations/set-super-table.mutation.ts
+++ b/packages/engine-formula/src/commands/mutations/set-super-table.mutation.ts
@@ -16,7 +16,6 @@
import type { IMutation } from '@univerjs/core';
import type { ISuperTable } from '../../basics/common';
-
import type { ISuperTableOptionParam } from '../../services/super-table.service';
import { CommandType } from '@univerjs/core';
import { ISuperTableService } from '../../services/super-table.service';
diff --git a/packages/engine-formula/src/controllers/set-other-formula.controller.ts b/packages/engine-formula/src/controllers/set-other-formula.controller.ts
index 9ec2aff7e5..474ae25147 100644
--- a/packages/engine-formula/src/controllers/set-other-formula.controller.ts
+++ b/packages/engine-formula/src/controllers/set-other-formula.controller.ts
@@ -16,8 +16,10 @@
import type { ICommandInfo } from '@univerjs/core';
import type { IOtherFormulaData } from '../basics/common';
-
-import type { IRemoveOtherFormulaMutationParams, ISetOtherFormulaMutationParams } from '../commands/mutations/set-other-formula.mutation';
+import type {
+ IRemoveOtherFormulaMutationParams,
+ ISetOtherFormulaMutationParams,
+} from '../commands/mutations/set-other-formula.mutation';
import { Disposable, ICommandService } from '@univerjs/core';
import { RemoveOtherFormulaMutation, SetOtherFormulaMutation } from '../commands/mutations/set-other-formula.mutation';
import { IDependencyManagerService } from '../services/dependency-manager.service';
diff --git a/packages/engine-formula/src/engine/analysis/__tests__/create-command-test-bed.ts b/packages/engine-formula/src/engine/analysis/__tests__/create-command-test-bed.ts
index 25e0ae52bf..736cdf67d7 100644
--- a/packages/engine-formula/src/engine/analysis/__tests__/create-command-test-bed.ts
+++ b/packages/engine-formula/src/engine/analysis/__tests__/create-command-test-bed.ts
@@ -35,9 +35,15 @@ import { CalculateFormulaService, ICalculateFormulaService } from '../../../serv
import { FormulaCurrentConfigService, IFormulaCurrentConfigService } from '../../../services/current-data.service';
import { DefinedNamesService, IDefinedNamesService } from '../../../services/defined-names.service';
import { DependencyManagerService, IDependencyManagerService } from '../../../services/dependency-manager.service';
-import { FeatureCalculationManagerService, IFeatureCalculationManagerService } from '../../../services/feature-calculation-manager.service';
+import {
+ FeatureCalculationManagerService,
+ IFeatureCalculationManagerService,
+} from '../../../services/feature-calculation-manager.service';
import { FunctionService, IFunctionService } from '../../../services/function.service';
-import { HyperlinkEngineFormulaService, IHyperlinkEngineFormulaService } from '../../../services/hyperlink-engine-formula.service';
+import {
+ HyperlinkEngineFormulaService,
+ IHyperlinkEngineFormulaService,
+} from '../../../services/hyperlink-engine-formula.service';
import {
IOtherFormulaManagerService,
OtherFormulaManagerService,
diff --git a/packages/engine-formula/src/engine/ast-node/reference-node.ts b/packages/engine-formula/src/engine/ast-node/reference-node.ts
index 527078e8b3..07a1d5fdcf 100644
--- a/packages/engine-formula/src/engine/ast-node/reference-node.ts
+++ b/packages/engine-formula/src/engine/ast-node/reference-node.ts
@@ -15,7 +15,6 @@
*/
import type { Nullable } from '@univerjs/core';
-
import { ErrorType } from '../../basics/error-type';
import {
regexTestReferenceTableAllColumn,
diff --git a/packages/engine-formula/src/engine/dependency/dependency-tree.ts b/packages/engine-formula/src/engine/dependency/dependency-tree.ts
index 4c217997d3..defa2ed4af 100644
--- a/packages/engine-formula/src/engine/dependency/dependency-tree.ts
+++ b/packages/engine-formula/src/engine/dependency/dependency-tree.ts
@@ -22,7 +22,6 @@ import type {
IUnitExcludedCell,
} from '../../basics/common';
import type { IFormulaDirtyData } from '../../services/current-data.service';
-
import type { IAllRuntimeData } from '../../services/runtime.service';
import type { AstRootNode, FunctionNode } from '../ast-node';
import { moveRangeByOffset } from '@univerjs/core';
diff --git a/packages/engine-formula/src/engine/value-object/lambda-value-object.ts b/packages/engine-formula/src/engine/value-object/lambda-value-object.ts
index 22cf863895..fb7f52886c 100644
--- a/packages/engine-formula/src/engine/value-object/lambda-value-object.ts
+++ b/packages/engine-formula/src/engine/value-object/lambda-value-object.ts
@@ -15,7 +15,6 @@
*/
import type { Nullable } from '@univerjs/core';
-
import type { BaseAstNode } from '../ast-node/base-ast-node';
import type { LambdaParameterNode } from '../ast-node/lambda-parameter-node';
import type { Interpreter } from '../interpreter/interpreter';
diff --git a/packages/engine-formula/src/functions/logical/makearray/__tests__/index.spec.ts b/packages/engine-formula/src/functions/logical/makearray/__tests__/index.spec.ts
index fbd33e0f8f..ee08a96099 100644
--- a/packages/engine-formula/src/functions/logical/makearray/__tests__/index.spec.ts
+++ b/packages/engine-formula/src/functions/logical/makearray/__tests__/index.spec.ts
@@ -16,7 +16,6 @@
import type { Injector } from '@univerjs/core';
import type { LexerNode } from '../../../../engine/analysis/lexer-node';
-
import type { BaseAstNode } from '../../../../engine/ast-node/base-ast-node';
import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object';
import type { BaseValueObject } from '../../../../engine/value-object/base-value-object';
diff --git a/packages/engine-formula/src/functions/lookup/address/index.ts b/packages/engine-formula/src/functions/lookup/address/index.ts
index 4b48fe45f5..36b8887b63 100644
--- a/packages/engine-formula/src/functions/lookup/address/index.ts
+++ b/packages/engine-formula/src/functions/lookup/address/index.ts
@@ -15,7 +15,6 @@
*/
import type { IRange } from '@univerjs/core';
-
import type { ArrayValueObject } from '../../../engine/value-object/array-value-object';
import type { BaseValueObject } from '../../../engine/value-object/base-value-object';
import { AbsoluteRefType } from '@univerjs/core';
diff --git a/packages/engine-formula/src/functions/lookup/sort/index.ts b/packages/engine-formula/src/functions/lookup/sort/index.ts
index 9a86741375..85357975fe 100644
--- a/packages/engine-formula/src/functions/lookup/sort/index.ts
+++ b/packages/engine-formula/src/functions/lookup/sort/index.ts
@@ -21,7 +21,6 @@ import { getCompare } from '../../../engine/utils/compare';
import { ArrayValueObject } from '../../../engine/value-object/array-value-object';
import { ErrorValueObject } from '../../../engine/value-object/base-value-object';
import { BooleanValueObject, NumberValueObject } from '../../../engine/value-object/primitive-object';
-
import { BaseFunction } from '../../base-function';
export class Sort extends BaseFunction {
diff --git a/packages/engine-formula/src/functions/lookup/transpose/index.ts b/packages/engine-formula/src/functions/lookup/transpose/index.ts
index 43efab3a57..065c2ef7da 100644
--- a/packages/engine-formula/src/functions/lookup/transpose/index.ts
+++ b/packages/engine-formula/src/functions/lookup/transpose/index.ts
@@ -16,7 +16,6 @@
import type { ArrayValueObject } from '../../../engine/value-object/array-value-object';
import type { BaseValueObject } from '../../../engine/value-object/base-value-object';
-
import { BaseFunction } from '../../base-function';
export class Transpose extends BaseFunction {
diff --git a/packages/engine-formula/src/functions/lookup/xlookup/index.ts b/packages/engine-formula/src/functions/lookup/xlookup/index.ts
index 9bebdb8eab..85c059d275 100644
--- a/packages/engine-formula/src/functions/lookup/xlookup/index.ts
+++ b/packages/engine-formula/src/functions/lookup/xlookup/index.ts
@@ -15,7 +15,6 @@
*/
import type { Nullable } from '@univerjs/core';
-
import type { ArrayValueObject } from '../../../engine/value-object/array-value-object';
import type { BaseValueObject } from '../../../engine/value-object/base-value-object';
import { ErrorType } from '../../../basics/error-type';
diff --git a/packages/engine-formula/src/index.ts b/packages/engine-formula/src/index.ts
index 0f24844cdd..3c8b09b87a 100644
--- a/packages/engine-formula/src/index.ts
+++ b/packages/engine-formula/src/index.ts
@@ -44,14 +44,22 @@ export { excelDateSerial } from './basics/date';
export { isInDirtyRange } from './basics/dirty';
export { ERROR_TYPE_SET, ErrorType } from './basics/error-type';
export { type ISheetFormulaError } from './basics/error-type';
-export { FunctionType, type IFunctionInfo, type IFunctionParam } from './basics/function';
+export { FunctionType } from './basics/function';
+export type { IFunctionInfo, IFunctionParam } from './basics/function';
export { type IFunctionNames } from './basics/function';
export { CELL_INVERTED_INDEX_CACHE } from './basics/inverted-index-cache';
export { includeFormulaLexerToken, isFormulaLexerToken, normalizeSheetName } from './basics/match-token';
export { matchRefDrawToken } from './basics/match-token';
export { isReferenceString } from './basics/regex';
export { convertUnitDataToRuntime } from './basics/runtime';
-export { compareToken, matchToken, OPERATOR_TOKEN_SET, operatorToken, prefixToken, SUFFIX_TOKEN_SET } from './basics/token';
+export {
+ compareToken,
+ matchToken,
+ OPERATOR_TOKEN_SET,
+ operatorToken,
+ prefixToken,
+ SUFFIX_TOKEN_SET,
+} from './basics/token';
export {
DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME,
DEFAULT_TOKEN_LET_FUNCTION_NAME,
@@ -61,28 +69,19 @@ export {
} from './basics/token-type';
export { OtherFormulaMarkDirty } from './commands/mutations/formula.mutation';
export { RegisterFunctionMutation } from './commands/mutations/register-function.mutation';
-export {
- type ISetArrayFormulaDataMutationParams,
- SetArrayFormulaDataMutation,
-} from './commands/mutations/set-array-formula-data.mutation';
-export {
- type ISetDefinedNameMutationParam,
- type ISetDefinedNameMutationSearchParam,
- RemoveDefinedNameMutation,
- SetDefinedNameMutation,
+export { SetArrayFormulaDataMutation } from './commands/mutations/set-array-formula-data.mutation';
+export type { ISetArrayFormulaDataMutationParams } from './commands/mutations/set-array-formula-data.mutation';
+export { RemoveDefinedNameMutation, SetDefinedNameMutation } from './commands/mutations/set-defined-name.mutation';
+export type {
+ ISetDefinedNameMutationParam,
+ ISetDefinedNameMutationSearchParam,
} from './commands/mutations/set-defined-name.mutation';
export { SetDefinedNameMutationFactory } from './commands/mutations/set-defined-name.mutation';
-export { RemoveFeatureCalculationMutation, SetFeatureCalculationMutation } from './commands/mutations/set-feature-calculation.mutation';
export {
- type ISetCellFormulaDependencyCalculationResultMutation,
- type ISetFormulaCalculationNotificationMutation,
- type ISetFormulaCalculationResultMutation,
- type ISetFormulaCalculationStartMutation,
- type ISetFormulaDependencyCalculationMutation,
- type ISetFormulaDependencyCalculationResultMutation,
- type ISetFormulaStringBatchCalculationResultMutation,
- type ISetQueryFormulaDependencyAllResultMutation,
- type ISetQueryFormulaDependencyResultMutation,
+ RemoveFeatureCalculationMutation,
+ SetFeatureCalculationMutation,
+} from './commands/mutations/set-feature-calculation.mutation';
+export {
SetCellFormulaDependencyCalculationMutation,
SetCellFormulaDependencyCalculationResultMutation,
SetFormulaCalculationNotificationMutation,
@@ -99,23 +98,42 @@ export {
SetQueryFormulaDependencyResultMutation,
SetTriggerFormulaCalculationStartMutation,
} from './commands/mutations/set-formula-calculation.mutation';
-export { type ISetFormulaDataMutationParams, SetFormulaDataMutation } from './commands/mutations/set-formula-data.mutation';
-export { type ISetImageFormulaDataMutationParams, SetImageFormulaDataMutation } from './commands/mutations/set-image-formula-data.mutation';
-export {
- type IRemoveOtherFormulaMutationParams,
- type ISetOtherFormulaMutationParams,
- RemoveOtherFormulaMutation,
- SetOtherFormulaMutation,
+export type {
+ ISetCellFormulaDependencyCalculationResultMutation,
+ ISetFormulaCalculationNotificationMutation,
+ ISetFormulaCalculationResultMutation,
+ ISetFormulaCalculationStartMutation,
+ ISetFormulaDependencyCalculationMutation,
+ ISetFormulaDependencyCalculationResultMutation,
+ ISetFormulaStringBatchCalculationResultMutation,
+ ISetQueryFormulaDependencyAllResultMutation,
+ ISetQueryFormulaDependencyResultMutation,
+} from './commands/mutations/set-formula-calculation.mutation';
+export { SetFormulaDataMutation } from './commands/mutations/set-formula-data.mutation';
+export type { ISetFormulaDataMutationParams } from './commands/mutations/set-formula-data.mutation';
+export { SetImageFormulaDataMutation } from './commands/mutations/set-image-formula-data.mutation';
+export type { ISetImageFormulaDataMutationParams } from './commands/mutations/set-image-formula-data.mutation';
+export { RemoveOtherFormulaMutation, SetOtherFormulaMutation } from './commands/mutations/set-other-formula.mutation';
+export type {
+ IRemoveOtherFormulaMutationParams,
+ ISetOtherFormulaMutationParams,
} from './commands/mutations/set-other-formula.mutation';
-export { RemoveSuperTableMutation, SetSuperTableMutation, SetSuperTableOptionMutation } from './commands/mutations/set-super-table.mutation';
-export type { ISetSuperTableMutationParam, ISetSuperTableMutationSearchParam } from './commands/mutations/set-super-table.mutation';
+export {
+ RemoveSuperTableMutation,
+ SetSuperTableMutation,
+ SetSuperTableOptionMutation,
+} from './commands/mutations/set-super-table.mutation';
+export type {
+ ISetSuperTableMutationParam,
+ ISetSuperTableMutationSearchParam,
+} from './commands/mutations/set-super-table.mutation';
export {
DEFAULT_CYCLE_REFERENCE_COUNT,
ENGINE_FORMULA_CYCLE_REFERENCE_COUNT,
ENGINE_FORMULA_PLUGIN_CONFIG_KEY,
ENGINE_FORMULA_RETURN_DEPENDENCY_TREE,
- type IUniverEngineFormulaConfig,
} from './config/config';
+export type { IUniverEngineFormulaConfig } from './config/config';
export { CalculateController } from './controllers/calculate.controller';
export { Lexer } from './engine/analysis/lexer';
export { LexerNode } from './engine/analysis/lexer-node';
@@ -132,21 +150,25 @@ export { ReferenceNodeFactory } from './engine/ast-node/reference-node';
export { SuffixNodeFactory } from './engine/ast-node/suffix-node';
export { UnionNodeFactory } from './engine/ast-node/union-node';
export { ValueNodeFactory } from './engine/ast-node/value-node';
-export {
- FormulaDependencyTree,
- FormulaDependencyTreeModel,
- type IFormulaDependencyTree,
- type IFormulaDependencyTreeFullJson,
- type IFormulaDependencyTreeJson,
- type IFormulaDependentsAndInRangeResults,
+export { FormulaDependencyTree, FormulaDependencyTreeModel } from './engine/dependency/dependency-tree';
+export type {
+ IFormulaDependencyTree,
+ IFormulaDependencyTreeFullJson,
+ IFormulaDependencyTreeJson,
+ IFormulaDependentsAndInRangeResults,
} from './engine/dependency/dependency-tree';
export { FormulaDependencyTreeType } from './engine/dependency/dependency-tree';
export { FormulaDependencyTreeVirtual } from './engine/dependency/dependency-tree';
export { FormulaDependencyGenerator, IFormulaDependencyGenerator } from './engine/dependency/formula-dependency';
export { generateRandomDependencyTreeId } from './engine/dependency/formula-dependency';
export { Interpreter } from './engine/interpreter/interpreter';
-export { BaseReferenceObject, type FunctionVariantType } from './engine/reference-object/base-reference-object';
-export { AsyncArrayObject, AsyncObject, FORMULA_REF_TO_ARRAY_CACHE } from './engine/reference-object/base-reference-object';
+export { BaseReferenceObject } from './engine/reference-object/base-reference-object';
+export type { FunctionVariantType } from './engine/reference-object/base-reference-object';
+export {
+ AsyncArrayObject,
+ AsyncObject,
+ FORMULA_REF_TO_ARRAY_CACHE,
+} from './engine/reference-object/base-reference-object';
export { RangeReferenceObject } from './engine/reference-object/range-reference-object';
export { generateExecuteAstNodeData } from './engine/utils/ast-node-tool';
export { extractFormulaError } from './engine/utils/cell';
@@ -159,7 +181,6 @@ export {
getAbsoluteRefTypeWithSingleString,
getAbsoluteRefTypeWitString,
getRangeWithRefsString,
- type IAbsoluteRefTypeForRange,
isReferenceStrings,
isReferenceStringWithEffectiveColumn,
needsQuoting,
@@ -172,9 +193,11 @@ export {
splitTableStructuredRef,
unquoteSheetName,
} from './engine/utils/reference';
+export type { IAbsoluteRefTypeForRange } from './engine/utils/reference';
export { handleRefStringInfo } from './engine/utils/reference';
export { deserializeRangeWithSheetWithCache } from './engine/utils/reference-cache';
-export { generateStringWithSequence, type ISequenceNode, sequenceNodeType } from './engine/utils/sequence';
+export { generateStringWithSequence, sequenceNodeType } from './engine/utils/sequence';
+export type { ISequenceNode } from './engine/utils/sequence';
export { ArrayValueObject, ValueObjectFactory } from './engine/value-object/array-value-object';
export { BaseValueObject, ErrorValueObject } from './engine/value-object/base-value-object';
export { LambdaValueObjectObject } from './engine/value-object/lambda-value-object';
@@ -184,7 +207,12 @@ export type {
IImageFormulaInfo,
PrimitiveValueType,
} from './engine/value-object/primitive-object';
-export { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from './engine/value-object/primitive-object';
+export {
+ BooleanValueObject,
+ NullValueObject,
+ NumberValueObject,
+ StringValueObject,
+} from './engine/value-object/primitive-object';
export { functionArray } from './functions/array/function-map';
export { FUNCTION_NAMES_ARRAY } from './functions/array/function-names';
export { BaseFunction } from './functions/base-function';
@@ -228,35 +256,40 @@ export { UniverFormulaEnginePlugin } from './plugin';
export { ActiveDirtyManagerService, IActiveDirtyManagerService } from './services/active-dirty-manager.service';
export { CalculateFormulaService, ICalculateFormulaService } from './services/calculate-formula.service';
export { DEFAULT_INTERVAL_COUNT } from './services/calculate-formula.service';
-export { FormulaCurrentConfigService, IFormulaCurrentConfigService, type IFormulaDirtyData } from './services/current-data.service';
-export {
- DefinedNamesService,
- type IDefinedNameMapItem,
- IDefinedNamesService,
- type IDefinedNamesServiceParam,
- type IDefinedNamesUpdateEvent,
+export { FormulaCurrentConfigService, IFormulaCurrentConfigService } from './services/current-data.service';
+export type { IFormulaDirtyData } from './services/current-data.service';
+export { DefinedNamesService, IDefinedNamesService } from './services/defined-names.service';
+export type {
+ IDefinedNameMapItem,
+ IDefinedNamesServiceParam,
+ IDefinedNamesUpdateEvent,
} from './services/defined-names.service';
export { IDependencyManagerService } from './services/dependency-manager.service';
export { DependencyManagerService } from './services/dependency-manager.service';
export { DependencyManagerBaseService } from './services/dependency-manager.service';
-export { FeatureCalculationManagerService, IFeatureCalculationManagerService } from './services/feature-calculation-manager.service';
+export {
+ FeatureCalculationManagerService,
+ IFeatureCalculationManagerService,
+} from './services/feature-calculation-manager.service';
export type { IFeatureCalculationManagerParam } from './services/feature-calculation-manager.service';
export type { IFormulaInfo, IOtherFormulaResult } from './services/formula-common';
export { FormulaResultStatus } from './services/formula-common';
export { FunctionService } from './services/function.service';
export { IFunctionService } from './services/function.service';
export { GlobalComputingStatusService } from './services/global-computing-status.service';
-export { HyperlinkEngineFormulaService, IHyperlinkEngineFormulaService } from './services/hyperlink-engine-formula.service';
+export {
+ HyperlinkEngineFormulaService,
+ IHyperlinkEngineFormulaService,
+} from './services/hyperlink-engine-formula.service';
export { IOtherFormulaManagerService, OtherFormulaManagerService } from './services/other-formula-manager.service';
export { OtherFormulaBizType, RegisterOtherFormulaService } from './services/register-other-formula.service';
export {
FormulaExecutedStateType,
FormulaExecuteStageType,
FormulaRuntimeService,
- type IAllRuntimeData,
- type IExecutionInProgressParams,
IFormulaRuntimeService,
} from './services/runtime.service';
+export type { IAllRuntimeData, IExecutionInProgressParams } from './services/runtime.service';
export { ISheetRowFilteredService, SheetRowFilteredService } from './services/sheet-row-filtered.service';
export { ISuperTableService } from './services/super-table.service';
export { SuperTableService } from './services/super-table.service';
diff --git a/packages/engine-formula/src/models/__tests__/create-command-test-bed.ts b/packages/engine-formula/src/models/__tests__/create-command-test-bed.ts
index 07e80bca88..cffa4f8819 100644
--- a/packages/engine-formula/src/models/__tests__/create-command-test-bed.ts
+++ b/packages/engine-formula/src/models/__tests__/create-command-test-bed.ts
@@ -15,14 +15,26 @@
*/
import type { Dependency, IWorkbookData } from '@univerjs/core';
-import { ILogService, Inject, Injector, IUniverInstanceService, LocaleType, LogLevel, Plugin, Univer, UniverInstanceType } from '@univerjs/core';
-
+import {
+ ILogService,
+ Inject,
+ Injector,
+ IUniverInstanceService,
+ LocaleType,
+ LogLevel,
+ Plugin,
+ Univer,
+ UniverInstanceType,
+} from '@univerjs/core';
import { Lexer } from '../../engine/analysis/lexer';
import { LexerTreeBuilder } from '../../engine/analysis/lexer-tree-builder';
import { CalculateFormulaService, ICalculateFormulaService } from '../../services/calculate-formula.service';
import { FormulaCurrentConfigService, IFormulaCurrentConfigService } from '../../services/current-data.service';
import { DefinedNamesService, IDefinedNamesService } from '../../services/defined-names.service';
-import { HyperlinkEngineFormulaService, IHyperlinkEngineFormulaService } from '../../services/hyperlink-engine-formula.service';
+import {
+ HyperlinkEngineFormulaService,
+ IHyperlinkEngineFormulaService,
+} from '../../services/hyperlink-engine-formula.service';
import { FormulaRuntimeService, IFormulaRuntimeService } from '../../services/runtime.service';
import { ISheetRowFilteredService, SheetRowFilteredService } from '../../services/sheet-row-filtered.service';
import { FormulaDataModel } from '../formula-data.model';
diff --git a/packages/engine-formula/src/plugin.ts b/packages/engine-formula/src/plugin.ts
index 686f3e960f..61e271313e 100644
--- a/packages/engine-formula/src/plugin.ts
+++ b/packages/engine-formula/src/plugin.ts
@@ -53,7 +53,10 @@ import {
} from './services/feature-calculation-manager.service';
import { FunctionService, IFunctionService } from './services/function.service';
import { GlobalComputingStatusService } from './services/global-computing-status.service';
-import { HyperlinkEngineFormulaService, IHyperlinkEngineFormulaService } from './services/hyperlink-engine-formula.service';
+import {
+ HyperlinkEngineFormulaService,
+ IHyperlinkEngineFormulaService,
+} from './services/hyperlink-engine-formula.service';
import { IOtherFormulaManagerService, OtherFormulaManagerService } from './services/other-formula-manager.service';
import { RegisterOtherFormulaService } from './services/register-other-formula.service';
import { FormulaRuntimeService, IFormulaRuntimeService } from './services/runtime.service';
diff --git a/packages/engine-formula/src/services/active-dirty-manager.service.ts b/packages/engine-formula/src/services/active-dirty-manager.service.ts
index 6f7bb63788..70f4558047 100644
--- a/packages/engine-formula/src/services/active-dirty-manager.service.ts
+++ b/packages/engine-formula/src/services/active-dirty-manager.service.ts
@@ -15,7 +15,13 @@
*/
import type { ICommandInfo, IUnitRange, Nullable } from '@univerjs/core';
-import type { IDirtyUnitDefinedNameMap, IDirtyUnitFeatureMap, IDirtyUnitOtherFormulaMap, IDirtyUnitSheetNameMap, IDirtyUnitSuperTableMap } from '../basics/common';
+import type {
+ IDirtyUnitDefinedNameMap,
+ IDirtyUnitFeatureMap,
+ IDirtyUnitOtherFormulaMap,
+ IDirtyUnitSheetNameMap,
+ IDirtyUnitSuperTableMap,
+} from '../basics/common';
import { createIdentifier, Disposable } from '@univerjs/core';
export interface IDirtyConversionManagerParams {
diff --git a/packages/engine-formula/src/services/calculate-formula.service.ts b/packages/engine-formula/src/services/calculate-formula.service.ts
index 3ce796844f..803bec9ba1 100644
--- a/packages/engine-formula/src/services/calculate-formula.service.ts
+++ b/packages/engine-formula/src/services/calculate-formula.service.ts
@@ -27,10 +27,13 @@ import type {
IUnitExcludedCell,
IUnitRowData,
} from '../basics/common';
-
import type { IUniverEngineFormulaConfig } from '../config/config';
import type { LexerNode } from '../engine/analysis/lexer-node';
-import type { IFormulaDependencyTreeFullJson, IFormulaDependencyTreeJson, IFormulaDependentsAndInRangeResults } from '../engine/dependency/dependency-tree';
+import type {
+ IFormulaDependencyTreeFullJson,
+ IFormulaDependencyTreeJson,
+ IFormulaDependentsAndInRangeResults,
+} from '../engine/dependency/dependency-tree';
import type { BaseReferenceObject, FunctionVariantType } from '../engine/reference-object/base-reference-object';
import type { ArrayValueObject } from '../engine/value-object/array-value-object';
import type { BaseValueObject } from '../engine/value-object/base-value-object';
diff --git a/packages/engine-formula/src/services/current-data.service.ts b/packages/engine-formula/src/services/current-data.service.ts
index 277cda3f50..5d0b10e6e3 100644
--- a/packages/engine-formula/src/services/current-data.service.ts
+++ b/packages/engine-formula/src/services/current-data.service.ts
@@ -32,8 +32,15 @@ import type {
IUnitSheetNameMap,
IUnitStylesData,
} from '../basics/common';
-
-import { createIdentifier, Disposable, Inject, IUniverInstanceService, LocaleService, ObjectMatrix, UniverInstanceType } from '@univerjs/core';
+import {
+ createIdentifier,
+ Disposable,
+ Inject,
+ IUniverInstanceService,
+ LocaleService,
+ ObjectMatrix,
+ UniverInstanceType,
+} from '@univerjs/core';
import { convertUnitDataToRuntime } from '../basics/runtime';
import { FormulaDataModel } from '../models/formula-data.model';
import { ISheetRowFilteredService } from './sheet-row-filtered.service';
diff --git a/packages/engine-formula/src/services/other-formula-manager.service.ts b/packages/engine-formula/src/services/other-formula-manager.service.ts
index 034afd543f..d8bbc80f1a 100644
--- a/packages/engine-formula/src/services/other-formula-manager.service.ts
+++ b/packages/engine-formula/src/services/other-formula-manager.service.ts
@@ -16,7 +16,6 @@
import type { Nullable } from '@univerjs/core';
import type { IDirtyUnitOtherFormulaMap, IOtherFormulaData, IOtherFormulaDataItem } from '../basics/common';
-
import { createIdentifier, Disposable } from '@univerjs/core';
export interface IOtherFormulaManagerSearchParam {
diff --git a/packages/engine-formula/src/services/register-other-formula.service.ts b/packages/engine-formula/src/services/register-other-formula.service.ts
index 4bf32d290f..9d9da0718e 100644
--- a/packages/engine-formula/src/services/register-other-formula.service.ts
+++ b/packages/engine-formula/src/services/register-other-formula.service.ts
@@ -15,10 +15,12 @@
*/
import type { IRange, Nullable } from '@univerjs/core';
-
import type { IOtherFormulaMarkDirtyParams } from '../commands/mutations/formula.mutation';
import type { ISetFormulaCalculationResultMutation } from '../commands/mutations/set-formula-calculation.mutation';
-import type { IRemoveOtherFormulaMutationParams, ISetOtherFormulaMutationParams } from '../commands/mutations/set-other-formula.mutation';
+import type {
+ IRemoveOtherFormulaMutationParams,
+ ISetOtherFormulaMutationParams,
+} from '../commands/mutations/set-other-formula.mutation';
import type { IOtherFormulaResult } from './formula-common';
import { Disposable, generateRandomId, ICommandService, Inject, LifecycleService, ObjectMatrix } from '@univerjs/core';
import { BehaviorSubject, bufferWhen, filter, skip, Subject } from 'rxjs';
diff --git a/packages/engine-formula/src/services/super-table.service.ts b/packages/engine-formula/src/services/super-table.service.ts
index fa29a539c2..952cde3d98 100644
--- a/packages/engine-formula/src/services/super-table.service.ts
+++ b/packages/engine-formula/src/services/super-table.service.ts
@@ -17,7 +17,6 @@
import type { Nullable } from '@univerjs/core';
import type { Observable } from 'rxjs';
import type { ISuperTable } from '../basics/common';
-
import { createIdentifier, Disposable } from '@univerjs/core';
import { Subject } from 'rxjs';
import { TableOptionType } from '../basics/common';
diff --git a/packages/engine-render/package.json b/packages/engine-render/package.json
index a27c1d9e77..bce8603993 100644
--- a/packages/engine-render/package.json
+++ b/packages/engine-render/package.json
@@ -68,20 +68,20 @@
"rxjs": ">=7.0.0"
},
"dependencies": {
- "@floating-ui/dom": "^1.7.4",
- "@floating-ui/utils": "^0.2.10",
+ "@floating-ui/dom": "^1.7.6",
+ "@floating-ui/utils": "^0.2.11",
"@univerjs/core": "workspace:*",
"cjk-regex": "^3.4.0",
"franc-min": "^6.2.0",
"opentype.js": "^2.0.0"
},
"devDependencies": {
- "@types/opentype.js": "^1.3.9",
+ "@types/opentype.js": "^1.3.10",
"@univerjs-infra/shared": "workspace:*",
"jest-canvas-mock": "^2.5.2",
"rollup-plugin-polyfill-node": "^0.13.0",
"rxjs": "^7.8.2",
- "tsdown": "^0.22.2",
+ "tsdown": "^0.22.3",
"typescript": "^6.0.3",
"vitest": "^4.1.9"
}
diff --git a/packages/engine-render/src/base-object.ts b/packages/engine-render/src/base-object.ts
index 0ed48d197d..c989c88252 100644
--- a/packages/engine-render/src/base-object.ts
+++ b/packages/engine-render/src/base-object.ts
@@ -16,7 +16,6 @@
import type { IGroupBaseBound, ITransformState, Nullable } from '@univerjs/core';
import type { IDragEvent, IMouseEvent, IPointerEvent, IWheelEvent } from './basics/i-events';
-
import type { IObjectFullState, ITransformChangeState } from './basics/interfaces';
import type { ITransformerConfig } from './basics/transformer-config';
import type { IViewportInfo, Vector2 } from './basics/vector2';
diff --git a/packages/engine-render/src/basics/draw.ts b/packages/engine-render/src/basics/draw.ts
index bdf598dd6d..6b936a3da7 100644
--- a/packages/engine-render/src/basics/draw.ts
+++ b/packages/engine-render/src/basics/draw.ts
@@ -16,7 +16,6 @@
import type { IPosition } from '@univerjs/core';
import type { UniverRenderingContext } from '../context';
-
import type { IDocumentSkeletonLine } from './i-document-skeleton-cached';
import { BorderStyleTypes } from '@univerjs/core';
import { BORDER_TYPE as BORDER_LTRB, ORIENTATION_TYPE } from './const';
diff --git a/packages/engine-render/src/basics/interfaces.ts b/packages/engine-render/src/basics/interfaces.ts
index 34ee3ea979..102e1f0f59 100644
--- a/packages/engine-render/src/basics/interfaces.ts
+++ b/packages/engine-render/src/basics/interfaces.ts
@@ -29,7 +29,6 @@ import type {
ITransformState,
LocaleService,
} from '@univerjs/core';
-
import type { DataStreamTreeNode } from '../components/docs/view-model/data-stream-tree-node';
import type { DocumentViewModel } from '../components/docs/view-model/document-view-model';
import type {
diff --git a/packages/engine-render/src/basics/path2.ts b/packages/engine-render/src/basics/path2.ts
index 1eed8037e8..0196f5580a 100644
--- a/packages/engine-render/src/basics/path2.ts
+++ b/packages/engine-render/src/basics/path2.ts
@@ -15,7 +15,6 @@
*/
import type { Nullable } from '@univerjs/core';
-
import { Vector2 } from './vector2';
export const INITIAL_Path2: Vector2[] = [new Vector2(0, 0), new Vector2(1, 1)];
diff --git a/packages/engine-render/src/basics/tools.ts b/packages/engine-render/src/basics/tools.ts
index fedece7a28..7d4a5d37ba 100644
--- a/packages/engine-render/src/basics/tools.ts
+++ b/packages/engine-render/src/basics/tools.ts
@@ -26,8 +26,15 @@ import type {
} from '@univerjs/core';
import type { IDocumentSkeletonFontStyle } from './i-document-skeleton-cached';
import type { IBoundRectNoAngle } from './vector2';
-
-import { BaselineOffset, ColorKit, DEFAULT_STYLES, FontStyleType, getCellInfoInMergeData, Rectangle, Tools } from '@univerjs/core';
+import {
+ BaselineOffset,
+ ColorKit,
+ DEFAULT_STYLES,
+ FontStyleType,
+ getCellInfoInMergeData,
+ Rectangle,
+ Tools,
+} from '@univerjs/core';
import * as cjk from 'cjk-regex';
import { FontCache } from '../components/docs/layout/shaping-engine/font-cache';
import { DEFAULT_FONTFACE_PLANE } from './const';
diff --git a/packages/engine-render/src/basics/transform.ts b/packages/engine-render/src/basics/transform.ts
index ab014ce024..442ad3ebb3 100644
--- a/packages/engine-render/src/basics/transform.ts
+++ b/packages/engine-render/src/basics/transform.ts
@@ -15,7 +15,6 @@
*/
import type { ITransformState } from '@univerjs/core';
-
import type { IRect } from './interfaces';
import { degToRad, precisionTo, radToDeg } from './tools';
import { Vector2 } from './vector2';
diff --git a/packages/engine-render/src/components/docs/__tests__/document.spec.ts b/packages/engine-render/src/components/docs/__tests__/document.spec.ts
index 8f94aec49f..b91224f158 100644
--- a/packages/engine-render/src/components/docs/__tests__/document.spec.ts
+++ b/packages/engine-render/src/components/docs/__tests__/document.spec.ts
@@ -17,7 +17,12 @@
import { DocumentFlavor } from '@univerjs/core';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { setupRenderTestEnv } from '../../../__tests__/render-test-utils';
-import { DocumentSkeletonPageType, GlyphType, LineType, PageLayoutType } from '../../../basics/i-document-skeleton-cached';
+import {
+ DocumentSkeletonPageType,
+ GlyphType,
+ LineType,
+ PageLayoutType,
+} from '../../../basics/i-document-skeleton-cached';
import { Canvas } from '../../../canvas';
import { Engine } from '../../../engine';
import { MAIN_VIEW_PORT_KEY, Scene } from '../../../scene';
diff --git a/packages/engine-render/src/components/docs/doc-component.ts b/packages/engine-render/src/components/docs/doc-component.ts
index 84aa0a16eb..1e529b4a8d 100644
--- a/packages/engine-render/src/components/docs/doc-component.ts
+++ b/packages/engine-render/src/components/docs/doc-component.ts
@@ -14,7 +14,11 @@
* limitations under the License.
*/
-import type { IDocumentSkeletonGlyph, IDocumentSkeletonLine, IDocumentSkeletonPage } from '../../basics/i-document-skeleton-cached';
+import type {
+ IDocumentSkeletonGlyph,
+ IDocumentSkeletonLine,
+ IDocumentSkeletonPage,
+} from '../../basics/i-document-skeleton-cached';
import type { IBoundRectNoAngle, IViewportInfo } from '../../basics/vector2';
import type { UniverRenderingContext } from '../../context';
import type { DOCS_EXTENSION_TYPE } from './doc-extension';
diff --git a/packages/engine-render/src/components/docs/document.ts b/packages/engine-render/src/components/docs/document.ts
index 3886fb6270..1d4014d535 100644
--- a/packages/engine-render/src/components/docs/document.ts
+++ b/packages/engine-render/src/components/docs/document.ts
@@ -15,8 +15,13 @@
*/
import type { IDocumentRenderConfig, IScale, ITableCell, ITableCellBorder, Nullable } from '@univerjs/core';
-
-import type { IDocumentSkeletonGlyph, IDocumentSkeletonLine, IDocumentSkeletonPage, IDocumentSkeletonRow, IDocumentSkeletonTable } from '../../basics/i-document-skeleton-cached';
+import type {
+ IDocumentSkeletonGlyph,
+ IDocumentSkeletonLine,
+ IDocumentSkeletonPage,
+ IDocumentSkeletonRow,
+ IDocumentSkeletonTable,
+} from '../../basics/i-document-skeleton-cached';
import type { Transform } from '../../basics/transform';
import type { IBoundRectNoAngle, IViewportInfo } from '../../basics/vector2';
import type { UniverRenderingContext } from '../../context';
diff --git a/packages/engine-render/src/components/docs/extensions/background.ts b/packages/engine-render/src/components/docs/extensions/background.ts
index fdfce755ac..1477b44d21 100644
--- a/packages/engine-render/src/components/docs/extensions/background.ts
+++ b/packages/engine-render/src/components/docs/extensions/background.ts
@@ -16,7 +16,6 @@
import type { IScale } from '@univerjs/core';
import type { IDocumentSkeletonGlyph } from '../../../basics/i-document-skeleton-cached';
-
import type { UniverRenderingContext } from '../../../context';
import { getColorStyle } from '@univerjs/core';
import { Vector2 } from '../../../basics/vector2';
diff --git a/packages/engine-render/src/components/docs/extensions/border.ts b/packages/engine-render/src/components/docs/extensions/border.ts
index 8dcdadf6ab..b2fd757623 100644
--- a/packages/engine-render/src/components/docs/extensions/border.ts
+++ b/packages/engine-render/src/components/docs/extensions/border.ts
@@ -16,7 +16,6 @@
import type { BorderStyleTypes, IBorderData, IBorderStyleData, IScale, Nullable } from '@univerjs/core';
import type { IDocumentSkeletonGlyph } from '../../../basics/i-document-skeleton-cached';
-
import type { UniverRenderingContext } from '../../../context';
import { getColorStyle } from '@univerjs/core';
import { BORDER_TYPE as BORDER_LTRB, COLOR_BLACK_RGB, FIX_ONE_PIXEL_BLUR_OFFSET } from '../../../basics/const';
diff --git a/packages/engine-render/src/components/docs/extensions/line.ts b/packages/engine-render/src/components/docs/extensions/line.ts
index 86cf8b282b..90bbd95b3e 100644
--- a/packages/engine-render/src/components/docs/extensions/line.ts
+++ b/packages/engine-render/src/components/docs/extensions/line.ts
@@ -16,7 +16,6 @@
import type { IScale, ITextDecoration } from '@univerjs/core';
import type { IDocumentSkeletonGlyph } from '../../../basics/i-document-skeleton-cached';
-
import type { UniverRenderingContext } from '../../../context';
import { BaselineOffset, BooleanNumber, getColorStyle, TextDecoration } from '@univerjs/core';
import { COLOR_BLACK_RGB, DEFAULT_OFFSET_SPACING } from '../../../basics/const';
diff --git a/packages/engine-render/src/components/docs/layout/__tests__/doc-skeleton.spec.ts b/packages/engine-render/src/components/docs/layout/__tests__/doc-skeleton.spec.ts
index e7867d4bdf..4ca6c777e9 100644
--- a/packages/engine-render/src/components/docs/layout/__tests__/doc-skeleton.spec.ts
+++ b/packages/engine-render/src/components/docs/layout/__tests__/doc-skeleton.spec.ts
@@ -14,7 +14,18 @@
* limitations under the License.
*/
-import { ColumnSeparatorType, createDocumentModelWithStyle, DocumentDataModel, DocumentFlavor, LocaleService, ObjectRelativeFromH, ObjectRelativeFromV, SectionType, TableSizeType, Univer } from '@univerjs/core';
+import {
+ ColumnSeparatorType,
+ createDocumentModelWithStyle,
+ DocumentDataModel,
+ DocumentFlavor,
+ LocaleService,
+ ObjectRelativeFromH,
+ ObjectRelativeFromV,
+ SectionType,
+ TableSizeType,
+ Univer,
+} from '@univerjs/core';
import { describe, expect, it, vi } from 'vitest';
import { DocumentSkeletonPageType, GlyphType, PageLayoutType } from '../../../../basics/i-document-skeleton-cached';
import { Vector2 } from '../../../../basics/vector2';
diff --git a/packages/engine-render/src/components/docs/layout/block/__tests__/table.spec.ts b/packages/engine-render/src/components/docs/layout/block/__tests__/table.spec.ts
index 9fcb66fb99..70f3279788 100644
--- a/packages/engine-render/src/components/docs/layout/block/__tests__/table.spec.ts
+++ b/packages/engine-render/src/components/docs/layout/block/__tests__/table.spec.ts
@@ -17,7 +17,13 @@
import type { ITable } from '@univerjs/core';
import type { IParagraphList } from '../../../../../basics/i-document-skeleton-cached';
import type { DataStreamTreeNode } from '../../../view-model/data-stream-tree-node';
-import { BooleanNumber, TableAlignmentType, TableRowHeightRule, TableSizeType, VerticalAlignmentType } from '@univerjs/core';
+import {
+ BooleanNumber,
+ TableAlignmentType,
+ TableRowHeightRule,
+ TableSizeType,
+ VerticalAlignmentType,
+} from '@univerjs/core';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import {
createTableSkeleton,
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/layout-ruler.spec.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/layout-ruler.spec.ts
index 7d5ebf08b1..9d63c38212 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/layout-ruler.spec.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/layout-ruler.spec.ts
@@ -15,7 +15,15 @@
*/
import type { IParagraphConfig } from '../../../../../../basics/interfaces';
-import { BooleanNumber, DataStreamTreeTokenType, GridType, ObjectRelativeFromV, PositionedObjectLayoutType, SpacingRule, WrapTextType } from '@univerjs/core';
+import {
+ BooleanNumber,
+ DataStreamTreeTokenType,
+ GridType,
+ ObjectRelativeFromV,
+ PositionedObjectLayoutType,
+ SpacingRule,
+ WrapTextType,
+} from '@univerjs/core';
import { describe, expect, it } from 'vitest';
import { GlyphType, LineType } from '../../../../../../basics/i-document-skeleton-cached';
import { __testing, getLineHeightMetrics, layoutParagraph, updateInlineDrawingPosition } from '../layout-ruler';
@@ -437,150 +445,6 @@ describe('layout-ruler', () => {
expect(getLineBoxHeight(metrics)).toBeCloseTo(23.4, 4);
});
- it('splits an oversized word slice in a narrow paragraph divide', () => {
- const { ctx, paragraphNode, sectionBreakConfig, curPage } = createParagraphLayoutTestBed('oversized', {
- documentStyle: {
- pageSize: { width: 80, height: 120 },
- marginLeft: 10,
- marginRight: 10,
- marginTop: 10,
- marginBottom: 10,
- },
- });
- const shapedTextList = shaping(ctx, paragraphNode.content!, ctx.viewModel, paragraphNode, sectionBreakConfig);
- const glyphs = shapedTextList[0].glyphs.map((glyph) => ({ ...glyph, width: 36 }));
-
- const result = layoutParagraph(
- ctx,
- glyphs,
- [curPage],
- sectionBreakConfig,
- { paragraphIndex: paragraphNode.endIndex, paragraphStyle: {} } as unknown as IParagraphConfig,
- true
- );
-
- const lines = result.flatMap((page) => page.sections.flatMap((section) => section.columns.flatMap((column) => column.lines)));
- expect(lines.length).toBeGreaterThan(1);
- });
-
- it('keeps overflowing paragraph break and trailing spaces on the current line', () => {
- const { ctx, paragraphNode, sectionBreakConfig, curPage } = createParagraphLayoutTestBed('word', {
- documentStyle: {
- pageSize: { width: 76, height: 120 },
- marginLeft: 10,
- marginRight: 10,
- marginTop: 10,
- marginBottom: 10,
- },
- });
- const shapedTextList = shaping(ctx, paragraphNode.content!, ctx.viewModel, paragraphNode, sectionBreakConfig);
- const paragraphConfig = { paragraphIndex: paragraphNode.endIndex, paragraphStyle: {} } as unknown as IParagraphConfig;
- const firstGlyph = { ...shapedTextList[0].glyphs[0], width: 50 } as any;
- const spaceGlyph = {
- ...firstGlyph,
- content: DataStreamTreeTokenType.SPACE,
- width: 20,
- st: firstGlyph.ed + 1,
- ed: firstGlyph.ed + 1,
- };
- const paragraphGlyph = {
- ...firstGlyph,
- content: DataStreamTreeTokenType.PARAGRAPH,
- width: 20,
- st: firstGlyph.ed + 2,
- ed: firstGlyph.ed + 2,
- };
-
- const firstLayout = layoutParagraph(ctx, [firstGlyph], [curPage], sectionBreakConfig, paragraphConfig, true);
- const withSpace = layoutParagraph(ctx, [spaceGlyph], firstLayout, sectionBreakConfig, paragraphConfig, false);
- const withParagraphBreak = layoutParagraph(ctx, [paragraphGlyph], withSpace, sectionBreakConfig, paragraphConfig, false);
-
- const glyphContents = withParagraphBreak.flatMap((page) => page.sections.flatMap(
- (section) => section.columns.flatMap(
- (column) => column.lines.flatMap(
- (line) => line.divides.flatMap((divide) => divide.glyphGroup.map((glyph) => glyph.content))
- )
- )
- ));
- expect(glyphContents).toContain(firstGlyph.content);
- expect(glyphContents).toContain(DataStreamTreeTokenType.SPACE);
- });
-
- it('opens new pages when narrow document content exceeds the current column height', () => {
- const { ctx, paragraphNode, sectionBreakConfig, curPage } = createParagraphLayoutTestBed(
- 'First Second Third Fourth Fifth Sixth Seventh Eighth',
- {
- documentStyle: {
- pageSize: { width: 80, height: 42 },
- marginLeft: 8,
- marginRight: 8,
- marginTop: 8,
- marginBottom: 8,
- },
- }
- );
- const shapedTextList = shaping(ctx, paragraphNode.content!, ctx.viewModel, paragraphNode, sectionBreakConfig);
- const paragraphConfig = { paragraphIndex: paragraphNode.endIndex, paragraphStyle: {} } as unknown as IParagraphConfig;
- const baseGlyph = { ...shapedTextList[0].glyphs[0], width: 48 } as any;
- let result = [curPage];
-
- for (let i = 0; i < 8; i++) {
- result = layoutParagraph(
- ctx,
- [{ ...baseGlyph, st: i, ed: i, content: String(i) } as any],
- result,
- sectionBreakConfig,
- paragraphConfig,
- i === 0
- );
- }
-
- expect(result.length).toBeGreaterThan(1);
- });
-
- it('preserves a usable divide width when paragraph indentation consumes the column', () => {
- const { ctx, paragraphNode, sectionBreakConfig, curPage } = createParagraphLayoutTestBed('Indented', {
- documentStyle: {
- pageSize: { width: 80, height: 120 },
- marginLeft: 10,
- marginRight: 10,
- marginTop: 10,
- marginBottom: 10,
- },
- body: {
- dataStream: 'Indented\r\n',
- textRuns: [{ st: 0, ed: 10, ts: {} }],
- paragraphs: [{
- startIndex: 8,
- paragraphStyle: {
- indentStart: { v: 60 },
- indentEnd: { v: 60 },
- },
- }],
- sectionBreaks: [{ startIndex: 9 }],
- },
- });
- const shapedTextList = shaping(ctx, paragraphNode.content!, ctx.viewModel, paragraphNode, sectionBreakConfig);
-
- const result = layoutParagraph(
- ctx,
- shapedTextList[0].glyphs,
- [curPage],
- sectionBreakConfig,
- {
- paragraphIndex: paragraphNode.endIndex,
- paragraphStyle: {
- indentStart: { v: 60 },
- indentEnd: { v: 60 },
- },
- } as unknown as IParagraphConfig,
- true
- );
-
- const divide = result[0].sections[0].columns[0].lines[0].divides[0];
- expect(divide.width).toBeGreaterThan(0);
- });
-
it('positions inline custom block drawings relative to their glyph box', () => {
const drawing = {
drawingId: 'image-1',
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/linebreaking.spec.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/linebreaking.spec.ts
index c2e9fc31ef..23930d3e0c 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/linebreaking.spec.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/__tests__/linebreaking.spec.ts
@@ -14,11 +14,20 @@
* limitations under the License.
*/
-import { AlignTypeH, AlignTypeV, DataStreamTreeTokenType, DocumentBlockRangeType, DocumentFlavor, ObjectRelativeFromH, ObjectRelativeFromV, PositionedObjectLayoutType } from '@univerjs/core';
+import {
+ AlignTypeH,
+ AlignTypeV,
+ DataStreamTreeTokenType,
+ DocumentBlockRangeType,
+ DocumentFlavor,
+ ObjectRelativeFromH,
+ ObjectRelativeFromV,
+ PositionedObjectLayoutType,
+} from '@univerjs/core';
import { beforeEach, describe, expect, it, vi } from 'vitest';
+import { updateInlineDrawingCoordsAndBorder } from '../../../tools';
import { lineBreaking } from '../linebreaking';
import { shaping } from '../shaping';
-import { updateInlineDrawingCoordsAndBorder } from '../../../tools';
import { createParagraphLayoutTestBed, createSectionLayoutTestBed } from './create-paragraph-layout-test-bed';
function createContext() {
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/bullet.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/bullet.ts
index 2148c920e6..ab752f5bd5 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/bullet.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/bullet.ts
@@ -15,7 +15,6 @@
*/
import type { IBullet, ILists, INestingLevel, ITextStyle, LocaleService, Nullable } from '@univerjs/core';
-
import type { IDocumentSkeletonBullet } from '../../../../../basics/i-document-skeleton-cached';
import { getFontStyleString } from '../../../../../basics/tools';
import { getBulletOrderedSymbol } from './bullet-ruler';
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/language-ruler.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/language-ruler.ts
index 9bf5dc4331..00d3cb57cd 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/language-ruler.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/language-ruler.ts
@@ -15,11 +15,17 @@
*/
import type { IParagraph } from '@univerjs/core';
-
import type { ISectionBreakConfig } from '../../../../../basics/interfaces';
import type { DataStreamTreeNode } from '../../../view-model/data-stream-tree-node';
import type { DocumentViewModel } from '../../../view-model/document-view-model';
-import { getFirstGrapheme, hasArabic, hasSpace, hasThai, hasTibetan, startWithEmoji } from '../../../../../basics/tools';
+import {
+ getFirstGrapheme,
+ hasArabic,
+ hasSpace,
+ hasThai,
+ hasTibetan,
+ startWithEmoji,
+} from '../../../../../basics/tools';
import { createSkeletonLetterGlyph, createSkeletonWordGlyph } from '../../model/glyph';
import { getFontCreateConfig } from '../../tools';
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/layout-ruler.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/layout-ruler.ts
index df311c3c21..f73139cb49 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/layout-ruler.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/layout-ruler.ts
@@ -30,7 +30,18 @@ import type {
IFloatObject,
ILayoutContext,
} from '../../tools';
-import { BooleanNumber, DataStreamTreeTokenType, GridType, NAMED_STYLE_SPACE_MAP, ObjectRelativeFromH, ObjectRelativeFromV, PositionedObjectLayoutType, SpacingRule, TableTextWrapType, WrapStrategy } from '@univerjs/core';
+import {
+ BooleanNumber,
+ DataStreamTreeTokenType,
+ GridType,
+ NAMED_STYLE_SPACE_MAP,
+ ObjectRelativeFromH,
+ ObjectRelativeFromV,
+ PositionedObjectLayoutType,
+ SpacingRule,
+ TableTextWrapType,
+ WrapStrategy,
+} from '@univerjs/core';
import { GlyphType, LineType } from '../../../../../basics/i-document-skeleton-cached';
import { BreakPointType } from '../../line-breaker/break';
import { addGlyphToDivide, createSkeletonBulletGlyph } from '../../model/glyph';
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/line-adjustment.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/line-adjustment.ts
index 2bd9309cf0..083f9a07bf 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/line-adjustment.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/line-adjustment.ts
@@ -16,11 +16,20 @@
import type { IParagraphStyle } from '@univerjs/core';
import type { ISectionBreakConfig } from '../../../../../basics';
-import type { IDocumentSkeletonDivide, IDocumentSkeletonLine, IDocumentSkeletonPage } from '../../../../../basics/i-document-skeleton-cached';
+import type {
+ IDocumentSkeletonDivide,
+ IDocumentSkeletonLine,
+ IDocumentSkeletonPage,
+} from '../../../../../basics/i-document-skeleton-cached';
import type { DataStreamTreeNode } from '../../../view-model/data-stream-tree-node';
import type { DocumentViewModel } from '../../../view-model/document-view-model';
import { HorizontalAlign, WrapStrategy } from '@univerjs/core';
-import { hasCJK, hasCJKText, isCjkLeftAlignedPunctuation, isCjkRightAlignedPunctuation } from '../../../../../basics/tools';
+import {
+ hasCJK,
+ hasCJKText,
+ isCjkLeftAlignedPunctuation,
+ isCjkRightAlignedPunctuation,
+} from '../../../../../basics/tools';
import { BreakPointType } from '../../line-breaker/break';
import { isLetter } from '../../line-breaker/enhancers/utils';
import { createHyphenDashGlyph, glyphShrinkLeft, glyphShrinkRight, setGlyphGroupLeft } from '../../model/glyph';
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/linebreaking.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/linebreaking.ts
index 5e4ccf5bd4..bc0a4848c4 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/linebreaking.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/linebreaking.ts
@@ -14,8 +14,23 @@
* limitations under the License.
*/
-import type { IBullet, IDocDrawingBase, IDocumentBody, IDrawings, IParagraph, IParagraphStyle, Nullable } from '@univerjs/core';
-import type { IDocumentSkeletonBullet, IDocumentSkeletonDrawing, IDocumentSkeletonGlyph, IDocumentSkeletonPage, IDocumentSkeletonTable, IParagraphList } from '../../../../../basics/i-document-skeleton-cached';
+import type {
+ IBullet,
+ IDocDrawingBase,
+ IDocumentBody,
+ IDrawings,
+ IParagraph,
+ IParagraphStyle,
+ Nullable,
+} from '@univerjs/core';
+import type {
+ IDocumentSkeletonBullet,
+ IDocumentSkeletonDrawing,
+ IDocumentSkeletonGlyph,
+ IDocumentSkeletonPage,
+ IDocumentSkeletonTable,
+ IParagraphList,
+} from '../../../../../basics/i-document-skeleton-cached';
import type { IParagraphConfig, ISectionBreakConfig } from '../../../../../basics/interfaces';
import type { DataStreamTreeNode } from '../../../view-model/data-stream-tree-node';
import type { DocumentViewModel } from '../../../view-model/document-view-model';
diff --git a/packages/engine-render/src/components/docs/layout/block/paragraph/shaping.ts b/packages/engine-render/src/components/docs/layout/block/paragraph/shaping.ts
index be95ba5e44..9941ed719e 100644
--- a/packages/engine-render/src/components/docs/layout/block/paragraph/shaping.ts
+++ b/packages/engine-render/src/components/docs/layout/block/paragraph/shaping.ts
@@ -22,7 +22,15 @@ import type { DocumentViewModel } from '../../../view-model/document-view-model'
import type { IOpenTypeGlyphInfo } from '../../shaping-engine/text-shaping';
import type { ILayoutContext } from '../../tools';
import { BooleanNumber, DataStreamTreeTokenType, GridType, PositionedObjectLayoutType } from '@univerjs/core';
-import { hasArabic, hasCJK, hasCJKPunctuation, hasCJKText, hasThai, hasTibetan, startWithEmoji } from '../../../../../basics/tools';
+import {
+ hasArabic,
+ hasCJK,
+ hasCJKPunctuation,
+ hasCJKText,
+ hasThai,
+ hasTibetan,
+ startWithEmoji,
+} from '../../../../../basics/tools';
import { Lang } from '../../hyphenation/lang';
import { LineBreaker } from '../../line-breaker';
import { BreakPointType } from '../../line-breaker/break';
@@ -30,7 +38,13 @@ import { LineBreakerHyphenEnhancer } from '../../line-breaker/enhancers/hyphen-e
import { LineBreakerLinkEnhancer } from '../../line-breaker/enhancers/link-enhancer';
import { customBlockLineBreakExtension } from '../../line-breaker/extensions/custom-block-linebreak-extension';
import { tabLineBreakExtension } from '../../line-breaker/extensions/tab-linebreak-extension';
-import { createSkeletonCustomBlockGlyph, createSkeletonLetterGlyph, createSkeletonTabGlyph, glyphShrinkLeft, glyphShrinkRight } from '../../model/glyph';
+import {
+ createSkeletonCustomBlockGlyph,
+ createSkeletonLetterGlyph,
+ createSkeletonTabGlyph,
+ glyphShrinkLeft,
+ glyphShrinkRight,
+} from '../../model/glyph';
import { getBoundingBox } from '../../model/line';
import { fontLibrary } from '../../shaping-engine/font-library';
import { textShape } from '../../shaping-engine/text-shaping';
diff --git a/packages/engine-render/src/components/docs/layout/block/table.ts b/packages/engine-render/src/components/docs/layout/block/table.ts
index 7e6c480648..efb858d416 100644
--- a/packages/engine-render/src/components/docs/layout/block/table.ts
+++ b/packages/engine-render/src/components/docs/layout/block/table.ts
@@ -15,7 +15,13 @@
*/
import type { INumberUnit, ITable, ITableCell, ITableRow, Nullable } from '@univerjs/core';
-import type { IDocumentSkeletonPage, IDocumentSkeletonRow, IDocumentSkeletonTable, IParagraphList, ISectionBreakConfig } from '../../../../basics';
+import type {
+ IDocumentSkeletonPage,
+ IDocumentSkeletonRow,
+ IDocumentSkeletonTable,
+ IParagraphList,
+ ISectionBreakConfig,
+} from '../../../../basics';
import type { DataStreamTreeNode } from '../../view-model/data-stream-tree-node';
import type { DocumentViewModel } from '../../view-model/document-view-model';
import type { ILayoutContext } from '../tools';
diff --git a/packages/engine-render/src/components/docs/layout/doc-skeleton.ts b/packages/engine-render/src/components/docs/layout/doc-skeleton.ts
index 4c010d4906..9f95006e52 100644
--- a/packages/engine-render/src/components/docs/layout/doc-skeleton.ts
+++ b/packages/engine-render/src/components/docs/layout/doc-skeleton.ts
@@ -27,7 +27,12 @@ import type { DocumentViewModel } from '../view-model/document-view-model';
import type { ILayoutContext } from './tools';
import { PRESET_LIST_TYPE, SectionType, Skeleton } from '@univerjs/core';
import { Subject } from 'rxjs';
-import { DocumentSkeletonPageType, GlyphType, LineType, PageLayoutType } from '../../../basics/i-document-skeleton-cached';
+import {
+ DocumentSkeletonPageType,
+ GlyphType,
+ LineType,
+ PageLayoutType,
+} from '../../../basics/i-document-skeleton-cached';
import { Liquid } from '../liquid';
import { getDocsTableRenderViewport, hasDocsTableHorizontalViewport } from '../table-render-viewport';
import { DocumentEditArea } from '../view-model/document-view-model';
@@ -37,7 +42,16 @@ import { Hyphen } from './hyphenation/hyphen';
import { LanguageDetector } from './hyphenation/language-detector';
import { createSkeletonPage } from './model/page';
import { createSkeletonSection } from './model/section';
-import { getLastPage, getNullSkeleton, getPageFromPath, prepareSectionBreakConfig, resetContext, setPageParent, updateBlockIndex, updateInlineDrawingCoordsAndBorder } from './tools';
+import {
+ getLastPage,
+ getNullSkeleton,
+ getPageFromPath,
+ prepareSectionBreakConfig,
+ resetContext,
+ setPageParent,
+ updateBlockIndex,
+ updateInlineDrawingCoordsAndBorder,
+} from './tools';
export enum DocumentSkeletonState {
PENDING = 'pending',
diff --git a/packages/engine-render/src/components/docs/layout/line-breaker/line-breaker.ts b/packages/engine-render/src/components/docs/layout/line-breaker/line-breaker.ts
index da7192aa28..d78df91881 100644
--- a/packages/engine-render/src/components/docs/layout/line-breaker/line-breaker.ts
+++ b/packages/engine-render/src/components/docs/layout/line-breaker/line-breaker.ts
@@ -17,7 +17,6 @@
/* eslint-disable ts/naming-convention */
import type { Nullable } from '@univerjs/core';
-
import type { ILineBreakRule } from './rule';
import { Break, BreakPointType } from './break';
import { AI, AL, BA, BK, CJ, CR, HL, HY, LF, NL, NS, RI, SA, SG, SP, WJ, XX, ZWJ } from './classes';
diff --git a/packages/engine-render/src/components/docs/layout/model/__tests__/page.spec.ts b/packages/engine-render/src/components/docs/layout/model/__tests__/page.spec.ts
index 389dc8de8f..93185c5a8c 100644
--- a/packages/engine-render/src/components/docs/layout/model/__tests__/page.spec.ts
+++ b/packages/engine-render/src/components/docs/layout/model/__tests__/page.spec.ts
@@ -14,7 +14,13 @@
* limitations under the License.
*/
-import { BooleanNumber, ColumnSeparatorType, DocumentBlockRangeType, PageOrientType, PositionedObjectLayoutType } from '@univerjs/core';
+import {
+ BooleanNumber,
+ ColumnSeparatorType,
+ DocumentBlockRangeType,
+ PageOrientType,
+ PositionedObjectLayoutType,
+} from '@univerjs/core';
import { describe, expect, it, vi } from 'vitest';
import { DocumentSkeletonPageType } from '../../../../../basics/i-document-skeleton-cached';
import {
diff --git a/packages/engine-render/src/components/docs/layout/model/column.ts b/packages/engine-render/src/components/docs/layout/model/column.ts
index 0a45f35bef..39d6fb877d 100644
--- a/packages/engine-render/src/components/docs/layout/model/column.ts
+++ b/packages/engine-render/src/components/docs/layout/model/column.ts
@@ -16,7 +16,6 @@
import type { ISectionColumnProperties } from '@univerjs/core';
import type { IDocumentSkeletonColumn } from '../../../../basics/i-document-skeleton-cached';
-
import { ColumnSeparatorType } from '@univerjs/core';
export function createSkeletonColumn(
diff --git a/packages/engine-render/src/components/docs/layout/model/glyph.ts b/packages/engine-render/src/components/docs/layout/model/glyph.ts
index b5e878f15b..d98d60d4aa 100644
--- a/packages/engine-render/src/components/docs/layout/model/glyph.ts
+++ b/packages/engine-render/src/components/docs/layout/model/glyph.ts
@@ -21,12 +21,18 @@ import type {
IDocumentSkeletonDivide,
IDocumentSkeletonGlyph,
} from '../../../../basics/i-document-skeleton-cached';
-
import type { IFontCreateConfig } from '../../../../basics/interfaces';
import type { IOpenTypeGlyphInfo } from '../shaping-engine/text-shaping';
import { BooleanNumber, BulletAlignment, DataStreamTreeTokenType as DT, GridType } from '@univerjs/core';
import { GlyphType } from '../../../../basics/i-document-skeleton-cached';
-import { hasCJK, hasCJKText, isCjkCenterAlignedPunctuation, isCjkLeftAlignedPunctuation, isCjkRightAlignedPunctuation, ptToPixel } from '../../../../basics/tools';
+import {
+ hasCJK,
+ hasCJKText,
+ isCjkCenterAlignedPunctuation,
+ isCjkLeftAlignedPunctuation,
+ isCjkRightAlignedPunctuation,
+ ptToPixel,
+} from '../../../../basics/tools';
import { FontCache } from '../shaping-engine/font-cache';
import { validationGrid } from '../tools';
diff --git a/packages/engine-render/src/components/docs/layout/model/line.ts b/packages/engine-render/src/components/docs/layout/model/line.ts
index 1e37aadc93..e5e69f3191 100644
--- a/packages/engine-render/src/components/docs/layout/model/line.ts
+++ b/packages/engine-render/src/components/docs/layout/model/line.ts
@@ -16,7 +16,6 @@
import type { IDistFromText, Nullable } from '@univerjs/core';
import type { IParagraphConfig } from '../../../../basics';
-
import type {
IDocumentSkeletonDivide,
IDocumentSkeletonDrawing,
diff --git a/packages/engine-render/src/components/docs/layout/model/section.ts b/packages/engine-render/src/components/docs/layout/model/section.ts
index 5dc1d2297b..2ea7f7df37 100644
--- a/packages/engine-render/src/components/docs/layout/model/section.ts
+++ b/packages/engine-render/src/components/docs/layout/model/section.ts
@@ -16,7 +16,6 @@
import type { ISectionColumnProperties } from '@univerjs/core';
import type { IDocumentSkeletonColumn, IDocumentSkeletonSection } from '../../../../basics/i-document-skeleton-cached';
-
import { ColumnSeparatorType } from '@univerjs/core';
export function createSkeletonSection(
diff --git a/packages/engine-render/src/components/docs/layout/shaping-engine/__tests__/text-shaping-engine.spec.ts b/packages/engine-render/src/components/docs/layout/shaping-engine/__tests__/text-shaping-engine.spec.ts
index d3b6d84ae9..9e1be22b61 100644
--- a/packages/engine-render/src/components/docs/layout/shaping-engine/__tests__/text-shaping-engine.spec.ts
+++ b/packages/engine-render/src/components/docs/layout/shaping-engine/__tests__/text-shaping-engine.spec.ts
@@ -16,7 +16,6 @@
import { BooleanNumber } from '@univerjs/core';
import { beforeEach, describe, expect, it, vi } from 'vitest';
-
import { textShape } from '../text-shaping';
const h = vi.hoisted(() => {
diff --git a/packages/engine-render/src/components/docs/layout/shaping-engine/font-cache.ts b/packages/engine-render/src/components/docs/layout/shaping-engine/font-cache.ts
index e072c36ffd..1a865b6bdb 100644
--- a/packages/engine-render/src/components/docs/layout/shaping-engine/font-cache.ts
+++ b/packages/engine-render/src/components/docs/layout/shaping-engine/font-cache.ts
@@ -15,7 +15,10 @@
*/
import type { Nullable } from '@univerjs/core';
-import type { IDocumentSkeletonBoundingBox, IDocumentSkeletonFontStyle } from '../../../../basics/i-document-skeleton-cached';
+import type {
+ IDocumentSkeletonBoundingBox,
+ IDocumentSkeletonFontStyle,
+} from '../../../../basics/i-document-skeleton-cached';
import type { IOpenTypeGlyphInfo } from './text-shaping';
import { ptToPixel } from '../../../../basics/tools';
diff --git a/packages/engine-render/src/components/docs/layout/tools.ts b/packages/engine-render/src/components/docs/layout/tools.ts
index 33af9491ef..0acb53ab4e 100644
--- a/packages/engine-render/src/components/docs/layout/tools.ts
+++ b/packages/engine-render/src/components/docs/layout/tools.ts
@@ -39,7 +39,6 @@ import type {
ISkeletonResourceReference,
} from '../../../basics/i-document-skeleton-cached';
import type { IDocsConfig, IParagraphConfig, ISectionBreakConfig } from '../../../basics/interfaces';
-
import type { DataStreamTreeNode } from '../view-model/data-stream-tree-node';
import type { DocumentViewModel } from '../view-model/document-view-model';
import type { Hyphen } from './hyphenation/hyphen';
diff --git a/packages/engine-render/src/components/docs/view-model/document-view-model.ts b/packages/engine-render/src/components/docs/view-model/document-view-model.ts
index fe2ac72ab5..8d9e136626 100644
--- a/packages/engine-render/src/components/docs/view-model/document-view-model.ts
+++ b/packages/engine-render/src/components/docs/view-model/document-view-model.ts
@@ -14,7 +14,19 @@
* limitations under the License.
*/
-import type { DocumentDataModel, ICustomBlock, ICustomDecorationForInterceptor, ICustomRangeForInterceptor, ICustomTable, IDisposable, IParagraph, ISectionBreak, ITable, ITextRun, Nullable } from '@univerjs/core';
+import type {
+ DocumentDataModel,
+ ICustomBlock,
+ ICustomDecorationForInterceptor,
+ ICustomRangeForInterceptor,
+ ICustomTable,
+ IDisposable,
+ IParagraph,
+ ISectionBreak,
+ ITable,
+ ITextRun,
+ Nullable,
+} from '@univerjs/core';
import { DataStreamTreeNodeType, DataStreamTreeTokenType, toDisposable } from '@univerjs/core';
import { BehaviorSubject } from 'rxjs';
import { DataStreamTreeNode } from './data-stream-tree-node';
diff --git a/packages/engine-render/src/components/extension.ts b/packages/engine-render/src/components/extension.ts
index 2ec06110d1..9e591618b6 100644
--- a/packages/engine-render/src/components/extension.ts
+++ b/packages/engine-render/src/components/extension.ts
@@ -16,7 +16,6 @@
import type { IDocumentRenderConfig, IRange, IScale, Nullable } from '@univerjs/core';
import type { BaseObject } from '../base-object';
-
import type { IBoundRectNoAngle, Vector2 } from '../basics/vector2';
import type { UniverRenderingContext } from '../context';
import { Registry } from '@univerjs/core';
diff --git a/packages/engine-render/src/components/sheets/column-header.ts b/packages/engine-render/src/components/sheets/column-header.ts
index 8c62293ec4..0478d70459 100644
--- a/packages/engine-render/src/components/sheets/column-header.ts
+++ b/packages/engine-render/src/components/sheets/column-header.ts
@@ -29,11 +29,19 @@ export class SpreadsheetColumnHeader extends SpreadsheetHeader {
throw new Error('Method not implemented.');
}
- override getNoMergeCellPositionByIndex(rowIndex: number, columnIndex: number): Nullable<{ startY: number; startX: number; endX: number; endY: number }> {
+ override getNoMergeCellPositionByIndex(
+ rowIndex: number,
+ columnIndex: number
+ ): Nullable<{ startY: number; startX: number; endX: number; endY: number }> {
throw new Error('Method not implemented.');
}
- override getSelectionBounding(startRow: number, startColumn: number, endRow: number, endColumn: number): Nullable<{ startRow: number; startColumn: number; endRow: number; endColumn: number }> {
+ override getSelectionBounding(
+ startRow: number,
+ startColumn: number,
+ endRow: number,
+ endColumn: number
+ ): Nullable<{ startRow: number; startColumn: number; endRow: number; endColumn: number }> {
throw new Error('Method not implemented.');
}
diff --git a/packages/engine-render/src/components/sheets/constants.ts b/packages/engine-render/src/components/sheets/constants.ts
index ee3e67fa03..3e4867dc01 100644
--- a/packages/engine-render/src/components/sheets/constants.ts
+++ b/packages/engine-render/src/components/sheets/constants.ts
@@ -23,9 +23,20 @@ export const PRINTING_BG_Z_INDEX = 21;
export const EXPAND_SIZE_FOR_RENDER_OVERFLOW = 20;
-export const sheetContentViewportKeys = [SHEET_VIEWPORT_KEY.VIEW_MAIN, SHEET_VIEWPORT_KEY.VIEW_MAIN_LEFT_TOP, SHEET_VIEWPORT_KEY.VIEW_MAIN_TOP, SHEET_VIEWPORT_KEY.VIEW_MAIN_LEFT];
+export const sheetContentViewportKeys = [
+ SHEET_VIEWPORT_KEY.VIEW_MAIN,
+ SHEET_VIEWPORT_KEY.VIEW_MAIN_LEFT_TOP,
+ SHEET_VIEWPORT_KEY.VIEW_MAIN_TOP,
+ SHEET_VIEWPORT_KEY.VIEW_MAIN_LEFT,
+];
-export const sheetHeaderViewportKeys = [SHEET_VIEWPORT_KEY.VIEW_ROW_TOP, SHEET_VIEWPORT_KEY.VIEW_ROW_BOTTOM, SHEET_VIEWPORT_KEY.VIEW_COLUMN_LEFT, SHEET_VIEWPORT_KEY.VIEW_COLUMN_RIGHT, SHEET_VIEWPORT_KEY.VIEW_LEFT_TOP];
+export const sheetHeaderViewportKeys = [
+ SHEET_VIEWPORT_KEY.VIEW_ROW_TOP,
+ SHEET_VIEWPORT_KEY.VIEW_ROW_BOTTOM,
+ SHEET_VIEWPORT_KEY.VIEW_COLUMN_LEFT,
+ SHEET_VIEWPORT_KEY.VIEW_COLUMN_RIGHT,
+ SHEET_VIEWPORT_KEY.VIEW_LEFT_TOP,
+];
export const MEASURE_EXTENT = 10000;
export const MEASURE_EXTENT_FOR_PARAGRAPH = MEASURE_EXTENT / 10;
diff --git a/packages/engine-render/src/components/sheets/extensions/border.ts b/packages/engine-render/src/components/sheets/extensions/border.ts
index bcb4bc3dbd..37876c00b3 100644
--- a/packages/engine-render/src/components/sheets/extensions/border.ts
+++ b/packages/engine-render/src/components/sheets/extensions/border.ts
@@ -20,7 +20,7 @@ import type { IDrawInfo } from '../../extension';
import type { IBorderCache, IBorderCacheItem } from '../interfaces';
import type { SpreadsheetSkeleton } from '../sheet.render-skeleton';
import { BorderStyleTypes, Range } from '@univerjs/core';
-import { BORDER_TYPE as BORDER_LTRB, COLOR_BLACK_RGB, FIX_ONE_PIXEL_BLUR_OFFSET } from '../../../basics/const';
+import { BORDER_TYPE, COLOR_BLACK_RGB, FIX_ONE_PIXEL_BLUR_OFFSET } from '../../../basics/const';
import { drawDiagonalLineByBorderType, drawLineByBorderType, getLineWidth, setLineType } from '../../../basics/draw';
import { SpreadsheetExtensionRegistry } from '../../extension';
import { SheetExtension } from './sheet-extension';
@@ -128,7 +128,7 @@ export class Border extends SheetExtension {
let startX = cellStartX;
let endX = cellEndX;
- if (type !== BORDER_LTRB.TOP && type !== BORDER_LTRB.BOTTOM && type !== BORDER_LTRB.LEFT && type !== BORDER_LTRB.RIGHT) {
+ if (type !== BORDER_TYPE.TOP && type !== BORDER_TYPE.BOTTOM && type !== BORDER_TYPE.LEFT && type !== BORDER_TYPE.RIGHT) {
if (isMerged) {
return true;
}
@@ -169,10 +169,10 @@ export class Border extends SheetExtension {
if (
style === BorderStyleTypes.DOUBLE &&
(
- type === BORDER_LTRB.LEFT ||
- type === BORDER_LTRB.RIGHT ||
- type === BORDER_LTRB.TOP ||
- type === BORDER_LTRB.BOTTOM
+ type === BORDER_TYPE.LEFT ||
+ type === BORDER_TYPE.RIGHT ||
+ type === BORDER_TYPE.TOP ||
+ type === BORDER_TYPE.BOTTOM
)
) {
this._renderDoubleBorder({ renderBorderContext, row, col, type, lineWidth, startX, startY, endX, endY });
@@ -182,12 +182,12 @@ export class Border extends SheetExtension {
private _getOverflowExclusion(
overflowCache: ObjectMatrix<IRange>,
- type: BORDER_LTRB,
+ type: BORDER_TYPE,
borderRow: number,
borderColumn: number
) {
let isDraw = false;
- if (type === BORDER_LTRB.TOP || type === BORDER_LTRB.BOTTOM) {
+ if (type === BORDER_TYPE.TOP || type === BORDER_TYPE.BOTTOM) {
return isDraw;
}
@@ -198,12 +198,12 @@ export class Border extends SheetExtension {
rowArray.forEach((column) => {
const rectangle = overflowCache.getValue(row, column)!;
const { startColumn, endColumn } = rectangle;
- if (type === BORDER_LTRB.LEFT && borderColumn > startColumn && borderColumn <= endColumn) {
+ if (type === BORDER_TYPE.LEFT && borderColumn > startColumn && borderColumn <= endColumn) {
isDraw = true;
return false;
}
- if (type === BORDER_LTRB.RIGHT && borderColumn >= startColumn && borderColumn < endColumn) {
+ if (type === BORDER_TYPE.RIGHT && borderColumn >= startColumn && borderColumn < endColumn) {
isDraw = true;
return false;
}
@@ -227,7 +227,7 @@ export class Border extends SheetExtension {
renderBorderContext: IRenderBorderContext;
row: number;
col: number;
- type: BORDER_LTRB;
+ type: BORDER_TYPE;
lineWidth: number;
startX: number;
startY: number;
@@ -306,7 +306,7 @@ export class Border extends SheetExtension {
endYOffset: defaultOffset,
};
- if (type === BORDER_LTRB.LEFT || type === BORDER_LTRB.RIGHT) {
+ if (type === BORDER_TYPE.LEFT || type === BORDER_TYPE.RIGHT) {
if (topCellBorder.bottom && topCellBorder.bottom.style !== BorderStyleTypes.DOUBLE) {
outerLineOffsets.startYOffset = 0;
innerLineOffsets.startYOffset = 0;
@@ -316,18 +316,18 @@ export class Border extends SheetExtension {
if (
(
- type === BORDER_LTRB.LEFT &&
+ type === BORDER_TYPE.LEFT &&
(leftCellBorder.top?.style === BorderStyleTypes.DOUBLE || leftTopCellBorder.bottom?.style === BorderStyleTypes.DOUBLE)
) ||
(
- type === BORDER_LTRB.RIGHT &&
+ type === BORDER_TYPE.RIGHT &&
(rightCellBorder.top?.style === BorderStyleTypes.DOUBLE || rightTopCellBorder.bottom?.style === BorderStyleTypes.DOUBLE)
)
) {
outerLineOffsets.startYOffset = -defaultOffset;
} else if (
- (type === BORDER_LTRB.LEFT && leftTopCellBorder.bottom && leftTopCellBorder.bottom.style !== BorderStyleTypes.DOUBLE) ||
- (type === BORDER_LTRB.RIGHT && rightTopCellBorder.bottom && rightTopCellBorder.bottom.style !== BorderStyleTypes.DOUBLE)
+ (type === BORDER_TYPE.LEFT && leftTopCellBorder.bottom && leftTopCellBorder.bottom.style !== BorderStyleTypes.DOUBLE) ||
+ (type === BORDER_TYPE.RIGHT && rightTopCellBorder.bottom && rightTopCellBorder.bottom.style !== BorderStyleTypes.DOUBLE)
) {
outerLineOffsets.startYOffset = 0;
} else {
@@ -346,18 +346,18 @@ export class Border extends SheetExtension {
if (
(
- type === BORDER_LTRB.LEFT &&
+ type === BORDER_TYPE.LEFT &&
(leftCellBorder.bottom?.style === BorderStyleTypes.DOUBLE || leftBottomCellBorder.top?.style === BorderStyleTypes.DOUBLE)
) ||
(
- type === BORDER_LTRB.RIGHT &&
+ type === BORDER_TYPE.RIGHT &&
(rightCellBorder.bottom?.style === BorderStyleTypes.DOUBLE || rightBottomCellBorder.top?.style === BorderStyleTypes.DOUBLE)
)
) {
outerLineOffsets.endYOffset = -defaultOffset;
} else if (
- (type === BORDER_LTRB.LEFT && leftBottomCellBorder.top && leftBottomCellBorder.top.style !== BorderStyleTypes.DOUBLE) ||
- (type === BORDER_LTRB.RIGHT && rightBottomCellBorder.top && rightBottomCellBorder.top.style !== BorderStyleTypes.DOUBLE)
+ (type === BORDER_TYPE.LEFT && leftBottomCellBorder.top && leftBottomCellBorder.top.style !== BorderStyleTypes.DOUBLE) ||
+ (type === BORDER_TYPE.RIGHT && rightBottomCellBorder.top && rightBottomCellBorder.top.style !== BorderStyleTypes.DOUBLE)
) {
outerLineOffsets.endYOffset = 0;
} else {
@@ -372,14 +372,14 @@ export class Border extends SheetExtension {
clearMiddleLine(clearLine);
if (
- (type === BORDER_LTRB.LEFT && !leftCellBorder.right) ||
- (type === BORDER_LTRB.RIGHT && !rightCellBorder.left)
+ (type === BORDER_TYPE.LEFT && !leftCellBorder.right) ||
+ (type === BORDER_TYPE.RIGHT && !rightCellBorder.left)
) {
drawOuterLine(outerLineOffsets);
}
drawInnerLine(innerLineOffsets);
- } else if (type === BORDER_LTRB.TOP || type === BORDER_LTRB.BOTTOM) {
+ } else if (type === BORDER_TYPE.TOP || type === BORDER_TYPE.BOTTOM) {
if (leftCellBorder.right && leftCellBorder.right.style !== BorderStyleTypes.DOUBLE) {
outerLineOffsets.startXOffset = 0;
innerLineOffsets.startXOffset = 0;
@@ -389,18 +389,18 @@ export class Border extends SheetExtension {
if (
(
- type === BORDER_LTRB.TOP &&
+ type === BORDER_TYPE.TOP &&
(topCellBorder.left?.style === BorderStyleTypes.DOUBLE || topLeftCellBorder.right?.style === BorderStyleTypes.DOUBLE)
) ||
(
- type === BORDER_LTRB.BOTTOM &&
+ type === BORDER_TYPE.BOTTOM &&
(bottomCellBorder.left?.style === BorderStyleTypes.DOUBLE || bottomLeftCellBorder.right?.style === BorderStyleTypes.DOUBLE)
)
) {
outerLineOffsets.startXOffset = -defaultOffset;
} else if (
- (type === BORDER_LTRB.TOP && topLeftCellBorder.right && topLeftCellBorder.right.style !== BorderStyleTypes.DOUBLE) ||
- (type === BORDER_LTRB.BOTTOM && bottomLeftCellBorder.right && bottomLeftCellBorder.right.style !== BorderStyleTypes.DOUBLE)
+ (type === BORDER_TYPE.TOP && topLeftCellBorder.right && topLeftCellBorder.right.style !== BorderStyleTypes.DOUBLE) ||
+ (type === BORDER_TYPE.BOTTOM && bottomLeftCellBorder.right && bottomLeftCellBorder.right.style !== BorderStyleTypes.DOUBLE)
) {
outerLineOffsets.startXOffset = 0;
} else {
@@ -419,18 +419,18 @@ export class Border extends SheetExtension {
if (
(
- type === BORDER_LTRB.TOP &&
+ type === BORDER_TYPE.TOP &&
(topCellBorder.right?.style === BorderStyleTypes.DOUBLE || topRightCellBorder.left?.style === BorderStyleTypes.DOUBLE)
) ||
(
- type === BORDER_LTRB.BOTTOM &&
+ type === BORDER_TYPE.BOTTOM &&
(bottomCellBorder.right?.style === BorderStyleTypes.DOUBLE || bottomRightCellBorder.left?.style === BorderStyleTypes.DOUBLE)
)
) {
outerLineOffsets.endXOffset = -defaultOffset;
} else if (
- (type === BORDER_LTRB.TOP && topRightCellBorder.left && topRightCellBorder.left.style !== BorderStyleTypes.DOUBLE) ||
- (type === BORDER_LTRB.BOTTOM && bottomRightCellBorder.left && bottomRightCellBorder.left.style !== BorderStyleTypes.DOUBLE)
+ (type === BORDER_TYPE.TOP && topRightCellBorder.left && topRightCellBorder.left.style !== BorderStyleTypes.DOUBLE) ||
+ (type === BORDER_TYPE.BOTTOM && bottomRightCellBorder.left && bottomRightCellBorder.left.style !== BorderStyleTypes.DOUBLE)
) {
outerLineOffsets.endXOffset = 0;
} else {
@@ -445,8 +445,8 @@ export class Border extends SheetExtension {
clearMiddleLine(clearLine);
if (
- (type === BORDER_LTRB.TOP && !topCellBorder.bottom) ||
- (type === BORDER_LTRB.BOTTOM && !bottomCellBorder.top)
+ (type === BORDER_TYPE.TOP && !topCellBorder.bottom) ||
+ (type === BORDER_TYPE.BOTTOM && !bottomCellBorder.top)
) {
drawOuterLine(outerLineOffsets);
}
@@ -464,20 +464,20 @@ export class Border extends SheetExtension {
let bottom = null;
if (cellBorder) {
- if (cellBorder[BORDER_LTRB.LEFT] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_LTRB.LEFT], 'type')) {
- left = cellBorder[BORDER_LTRB.LEFT] as IBorderCacheItem;
+ if (cellBorder[BORDER_TYPE.LEFT] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_TYPE.LEFT], 'type')) {
+ left = cellBorder[BORDER_TYPE.LEFT] as IBorderCacheItem;
}
- if (cellBorder[BORDER_LTRB.RIGHT] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_LTRB.RIGHT], 'type')) {
- right = cellBorder[BORDER_LTRB.RIGHT] as IBorderCacheItem;
+ if (cellBorder[BORDER_TYPE.RIGHT] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_TYPE.RIGHT], 'type')) {
+ right = cellBorder[BORDER_TYPE.RIGHT] as IBorderCacheItem;
}
- if (cellBorder[BORDER_LTRB.TOP] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_LTRB.TOP], 'type')) {
- top = cellBorder[BORDER_LTRB.TOP] as IBorderCacheItem;
+ if (cellBorder[BORDER_TYPE.TOP] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_TYPE.TOP], 'type')) {
+ top = cellBorder[BORDER_TYPE.TOP] as IBorderCacheItem;
}
- if (cellBorder[BORDER_LTRB.BOTTOM] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_LTRB.BOTTOM], 'type')) {
- bottom = cellBorder[BORDER_LTRB.BOTTOM] as IBorderCacheItem;
+ if (cellBorder[BORDER_TYPE.BOTTOM] && Object.prototype.hasOwnProperty.call(cellBorder[BORDER_TYPE.BOTTOM], 'type')) {
+ bottom = cellBorder[BORDER_TYPE.BOTTOM] as IBorderCacheItem;
}
}
diff --git a/packages/engine-render/src/components/sheets/extensions/custom.ts b/packages/engine-render/src/components/sheets/extensions/custom.ts
index 46d447a9d3..3aa230388c 100644
--- a/packages/engine-render/src/components/sheets/extensions/custom.ts
+++ b/packages/engine-render/src/components/sheets/extensions/custom.ts
@@ -35,7 +35,12 @@ export class Custom extends SheetExtension {
override uKey: string = UNIQUE_KEY;
- override draw(ctx: UniverRenderingContext, _parentScale: IScale, skeleton: SpreadsheetSkeleton, diffRanges: IRange[] | undefined): void {
+ override draw(
+ ctx: UniverRenderingContext,
+ _parentScale: IScale,
+ skeleton: SpreadsheetSkeleton,
+ diffRanges: IRange[] | undefined
+ ) {
const { worksheet, rowColumnSegment } = skeleton;
if (!worksheet) {
return;
diff --git a/packages/engine-render/src/components/sheets/extensions/font.ts b/packages/engine-render/src/components/sheets/extensions/font.ts
index b7680dc203..206537bbb6 100644
--- a/packages/engine-render/src/components/sheets/extensions/font.ts
+++ b/packages/engine-render/src/components/sheets/extensions/font.ts
@@ -17,7 +17,16 @@
/* eslint-disable max-lines-per-function */
/* eslint-disable complexity */
-import type { ICellDataForSheetInterceptor, ICellWithCoord, IDocDrawingBase, ImageSourceType, IRange, IScale, Nullable, ObjectMatrix } from '@univerjs/core';
+import type {
+ ICellDataForSheetInterceptor,
+ ICellWithCoord,
+ IDocDrawingBase,
+ ImageSourceType,
+ IRange,
+ IScale,
+ Nullable,
+ ObjectMatrix,
+} from '@univerjs/core';
import type { IBoundRectNoAngle, IViewportInfo } from '../../../basics';
import type { UniverRenderingContext } from '../../../context';
import type { Documents } from '../../docs/document';
@@ -25,7 +34,15 @@ import type { IDrawInfo } from '../../extension';
import type { IFontCacheItem } from '../interfaces';
import type { SheetComponent } from '../sheet-component';
import type { SpreadsheetSkeleton } from '../sheet.render-skeleton';
-import { CellValueType, getDisplayValueFromCell, HorizontalAlign, Range, Tools, VerticalAlign, WrapStrategy } from '@univerjs/core';
+import {
+ CellValueType,
+ getDisplayValueFromCell,
+ HorizontalAlign,
+ Range,
+ Tools,
+ VerticalAlign,
+ WrapStrategy,
+} from '@univerjs/core';
import { FIX_ONE_PIXEL_BLUR_OFFSET } from '../../../basics';
import { VERTICAL_ROTATE_ANGLE } from '../../../basics/text-rotation';
import { clampRange, inViewRanges } from '../../../basics/tools';
@@ -165,7 +182,12 @@ export class Font extends SheetExtension {
expandedViewRanges.forEach((range) => {
// collect unique merge ranges intersect with view range.
// The ranges in mergeRanges must be unique. Otherwise, the font will render, text redrawing causes jagged edges or artifacts.
- const intersectMergeRangesWithViewRanges = spreadsheetSkeleton.worksheet.getMergedCellRange(range.startRow, range.startColumn, range.endRow, range.endColumn);
+ const intersectMergeRangesWithViewRanges = spreadsheetSkeleton.worksheet.getMergedCellRange(
+ range.startRow,
+ range.startColumn,
+ range.endRow,
+ range.endColumn
+ );
intersectMergeRangesWithViewRanges.forEach((mergeRange) => {
const mergeRangeIndex = spreadsheetSkeleton.worksheet.getSpanModel().getMergeDataIndex(mergeRange.startRow, mergeRange.startColumn);
if (!mergeRangeIDSet.has(mergeRangeIndex)) {
diff --git a/packages/engine-render/src/components/sheets/extensions/marker.ts b/packages/engine-render/src/components/sheets/extensions/marker.ts
index d3eb82a4f1..c7bd086bfd 100644
--- a/packages/engine-render/src/components/sheets/extensions/marker.ts
+++ b/packages/engine-render/src/components/sheets/extensions/marker.ts
@@ -36,7 +36,12 @@ export class Marker extends SheetExtension {
override uKey: string = UNIQUE_KEY;
// eslint-disable-next-line max-lines-per-function
- override draw(ctx: UniverRenderingContext, parentScale: IScale, skeleton: SpreadsheetSkeleton, diffRanges: IRange[]): void {
+ override draw(
+ ctx: UniverRenderingContext,
+ parentScale: IScale,
+ skeleton: SpreadsheetSkeleton,
+ diffRanges: IRange[]
+ ) {
if (ctx.__mode === 'printing') {
return;
}
diff --git a/packages/engine-render/src/components/sheets/extensions/sheet-extension.ts b/packages/engine-render/src/components/sheets/extensions/sheet-extension.ts
index 154afc42aa..14f13ac723 100644
--- a/packages/engine-render/src/components/sheets/extensions/sheet-extension.ts
+++ b/packages/engine-render/src/components/sheets/extensions/sheet-extension.ts
@@ -16,7 +16,6 @@
import type { IRange } from '@univerjs/core';
import type { SpreadsheetSkeleton } from '../sheet.render-skeleton';
-
import { Rectangle } from '@univerjs/core';
import { ComponentExtension } from '../../extension';
diff --git a/packages/engine-render/src/components/sheets/interfaces.ts b/packages/engine-render/src/components/sheets/interfaces.ts
index 8de0c6b87a..a36455a47d 100644
--- a/packages/engine-render/src/components/sheets/interfaces.ts
+++ b/packages/engine-render/src/components/sheets/interfaces.ts
@@ -26,8 +26,7 @@ import type {
VerticalAlign,
WrapStrategy,
} from '@univerjs/core';
-
-import type { BORDER_TYPE as BORDER_LTRB } from '../../basics/const';
+import type { BORDER_TYPE } from '../../basics/const';
import type { Canvas } from '../../canvas';
import type { UniverRenderingContext } from '../../context';
import type { DocumentSkeleton } from '../docs/layout/doc-skeleton';
@@ -37,7 +36,7 @@ export interface IBorderCache {
}
export interface IBorderCacheItem {
- type: BORDER_LTRB;
+ type: BORDER_TYPE;
style: BorderStyleTypes;
color: string;
}
diff --git a/packages/engine-render/src/components/sheets/row-header.ts b/packages/engine-render/src/components/sheets/row-header.ts
index 05e9c77025..4279a0463c 100644
--- a/packages/engine-render/src/components/sheets/row-header.ts
+++ b/packages/engine-render/src/components/sheets/row-header.ts
@@ -27,11 +27,19 @@ export class SpreadsheetRowHeader extends SpreadsheetHeader {
throw new Error('Method not implemented.');
}
- override getNoMergeCellPositionByIndex(rowIndex: number, columnIndex: number): Nullable<{ startY: number; startX: number; endX: number; endY: number }> {
+ override getNoMergeCellPositionByIndex(
+ rowIndex: number,
+ columnIndex: number
+ ): Nullable<{ startY: number; startX: number; endX: number; endY: number }> {
throw new Error('Method not implemented.');
}
- override getSelectionBounding(startRow: number, startColumn: number, endRow: number, endColumn: number): Nullable<{ startRow: number; startColumn: number; endRow: number; endColumn: number }> {
+ override getSelectionBounding(
+ startRow: number,
+ startColumn: number,
+ endRow: number,
+ endColumn: number
+ ): Nullable<{ startRow: number; startColumn: number; endRow: number; endColumn: number }> {
throw new Error('Method not implemented.');
}
diff --git a/packages/engine-render/src/components/sheets/sheet-component.ts b/packages/engine-render/src/components/sheets/sheet-component.ts
index 1e2488bb89..3bcc09a0de 100644
--- a/packages/engine-render/src/components/sheets/sheet-component.ts
+++ b/packages/engine-render/src/components/sheets/sheet-component.ts
@@ -15,7 +15,6 @@
*/
import type { IRange, Nullable } from '@univerjs/core';
-
import type { IViewportInfo, Vector2 } from '../../basics/vector2';
import type { UniverRenderingContext } from '../../context';
import type { SHEET_EXTENSION_TYPE } from './extensions/sheet-extension';
diff --git a/packages/engine-render/src/components/sheets/sheet.render-skeleton.ts b/packages/engine-render/src/components/sheets/sheet.render-skeleton.ts
index 78e54a1bad..1593395cbe 100644
--- a/packages/engine-render/src/components/sheets/sheet.render-skeleton.ts
+++ b/packages/engine-render/src/components/sheets/sheet.render-skeleton.ts
@@ -67,13 +67,10 @@ import {
} from '@univerjs/core';
import { distinctUntilChanged, startWith } from 'rxjs';
import { FontCache } from '../../basics';
-import { BORDER_TYPE as BORDER_LTRB, COLOR_BLACK_RGB, MAXIMUM_COL_WIDTH, MAXIMUM_ROW_HEIGHT, MIN_COL_WIDTH } from '../../basics/const';
+import { BORDER_TYPE, COLOR_BLACK_RGB, MAXIMUM_COL_WIDTH, MAXIMUM_ROW_HEIGHT, MIN_COL_WIDTH } from '../../basics/const';
import { getRotateOffsetAndFarthestHypotenuse } from '../../basics/draw';
import { convertTextRotation, VERTICAL_ROTATE_ANGLE } from '../../basics/text-rotation';
-import {
- degToRad,
- getFontStyleString,
-} from '../../basics/tools';
+import { degToRad, getFontStyleString } from '../../basics/tools';
import { DocSimpleSkeleton } from '../docs/layout/doc-simple-skeleton';
import { DocumentSkeleton } from '../docs/layout/doc-skeleton';
import { columnIterator } from '../docs/layout/tools';
@@ -1360,23 +1357,23 @@ export class SpreadsheetSkeleton extends SheetSkeleton {
if (style && style.bd) {
const mergeRange = options?.mergeRange;
if (mergeRange) {
- this._setMergeBorderProps(BORDER_LTRB.TOP, this._stylesCache, mergeRange);
- this._setMergeBorderProps(BORDER_LTRB.BOTTOM, this._stylesCache, mergeRange);
- this._setMergeBorderProps(BORDER_LTRB.LEFT, this._stylesCache, mergeRange);
- this._setMergeBorderProps(BORDER_LTRB.RIGHT, this._stylesCache, mergeRange);
+ this._setMergeBorderProps(BORDER_TYPE.TOP, this._stylesCache, mergeRange);
+ this._setMergeBorderProps(BORDER_TYPE.BOTTOM, this._stylesCache, mergeRange);
+ this._setMergeBorderProps(BORDER_TYPE.LEFT, this._stylesCache, mergeRange);
+ this._setMergeBorderProps(BORDER_TYPE.RIGHT, this._stylesCache, mergeRange);
} else if (!this.intersectMergeRange(row, col)) {
- this._setBorderProps(row, col, BORDER_LTRB.TOP, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.BOTTOM, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.LEFT, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.RIGHT, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.TOP, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.BOTTOM, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.LEFT, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.RIGHT, style, this._stylesCache);
}
- this._setBorderProps(row, col, BORDER_LTRB.TL_BR, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.TL_BC, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.TL_MR, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.BL_TR, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.ML_TR, style, this._stylesCache);
- this._setBorderProps(row, col, BORDER_LTRB.BC_TR, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.TL_BR, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.TL_BC, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.TL_MR, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.BL_TR, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.ML_TR, style, this._stylesCache);
+ this._setBorderProps(row, col, BORDER_TYPE.BC_TR, style, this._stylesCache);
}
}
@@ -1527,7 +1524,7 @@ export class SpreadsheetSkeleton extends SheetSkeleton {
* pro/issues/344
* In Excel, for the border rendering of merged cells to take effect, the outermost cells need to have the same border style.
*/
- private _setMergeBorderProps(type: BORDER_LTRB, cache: IStylesCache, mergeRange: IRange): void {
+ private _setMergeBorderProps(type: BORDER_TYPE, cache: IStylesCache, mergeRange: IRange): void {
if (!this.worksheet || !cache.border) return;
const borders: Array<{ style: BorderStyleTypes; color: string; r: number; c: number }> = [];
@@ -1537,32 +1534,32 @@ export class SpreadsheetSkeleton extends SheetSkeleton {
let row = mergeRange.startRow;
let column = mergeRange.startColumn;
- if (type === BORDER_LTRB.TOP) {
+ if (type === BORDER_TYPE.TOP) {
row = mergeRange.startRow;
forStart = mergeRange.startColumn;
forEnd = mergeRange.endColumn;
- } else if (type === BORDER_LTRB.BOTTOM) {
+ } else if (type === BORDER_TYPE.BOTTOM) {
row = mergeRange.endRow;
forStart = mergeRange.startColumn;
forEnd = mergeRange.endColumn;
- } else if (type === BORDER_LTRB.LEFT) {
+ } else if (type === BORDER_TYPE.LEFT) {
column = mergeRange.startColumn;
forStart = mergeRange.startRow;
forEnd = mergeRange.endRow;
- } else if (type === BORDER_LTRB.RIGHT) {
+ } else if (type === BORDER_TYPE.RIGHT) {
column = mergeRange.endColumn;
forStart = mergeRange.startRow;
forEnd = mergeRange.endRow;
}
for (let i = forStart; i <= forEnd; i++) {
- if (type === BORDER_LTRB.TOP) {
+ if (type === BORDER_TYPE.TOP) {
column = i;
- } else if (type === BORDER_LTRB.BOTTOM) {
+ } else if (type === BORDER_TYPE.BOTTOM) {
column = i;
- } else if (type === BORDER_LTRB.LEFT) {
+ } else if (type === BORDER_TYPE.LEFT) {
row = i;
- } else if (type === BORDER_LTRB.RIGHT) {
+ } else if (type === BORDER_TYPE.RIGHT) {
row = i;
}
@@ -1608,7 +1605,7 @@ export class SpreadsheetSkeleton extends SheetSkeleton {
});
}
- private _setBorderProps(r: number, c: number, type: BORDER_LTRB, style: IStyleData, cache: IStylesCache): void {
+ private _setBorderProps(r: number, c: number, type: BORDER_TYPE, style: IStyleData, cache: IStylesCache): void {
const props: Nullable<IBorderStyleData> = style.bd?.[type];
if (!props || !cache.border) {
return;
@@ -1627,13 +1624,13 @@ export class SpreadsheetSkeleton extends SheetSkeleton {
* When the top border of a cell and the bottom border of the cell above it (r-1) overlap,
* if the top border of cell r is white, then the rendering is ignored.
*/
- if (type === BORDER_LTRB.TOP) {
- const borderBottom = borderCache.getValue(r - 1, c)?.[BORDER_LTRB.BOTTOM];
+ if (type === BORDER_TYPE.TOP) {
+ const borderBottom = borderCache.getValue(r - 1, c)?.[BORDER_TYPE.BOTTOM];
if (borderBottom && isWhiteColor(rgb)) {
return;
}
- } else if (type === BORDER_LTRB.LEFT) {
- const borderRight = borderCache.getValue(r, c - 1)?.[BORDER_LTRB.RIGHT];
+ } else if (type === BORDER_TYPE.LEFT) {
+ const borderRight = borderCache.getValue(r, c - 1)?.[BORDER_TYPE.RIGHT];
if (borderRight && isWhiteColor(rgb)) {
return;
}
diff --git a/packages/engine-render/src/components/sheets/util.ts b/packages/engine-render/src/components/sheets/util.ts
index feda991b7c..35af38d2ad 100644
--- a/packages/engine-render/src/components/sheets/util.ts
+++ b/packages/engine-render/src/components/sheets/util.ts
@@ -14,8 +14,26 @@
* limitations under the License.
*/
-import type { CellValueType, IDocumentData, IPaddingData, IStyleBase, IStyleData, ITextRotation, ITextStyle, Nullable, TextDirection } from '@univerjs/core';
-import { createParagraphId, DEFAULT_EMPTY_DOCUMENT_VALUE, DocumentDataModel, DocumentFlavor, HorizontalAlign, VerticalAlign, WrapStrategy } from '@univerjs/core';
+import type {
+ CellValueType,
+ IDocumentData,
+ IPaddingData,
+ IStyleBase,
+ IStyleData,
+ ITextRotation,
+ ITextStyle,
+ Nullable,
+ TextDirection,
+} from '@univerjs/core';
+import {
+ createParagraphId,
+ DEFAULT_EMPTY_DOCUMENT_VALUE,
+ DocumentDataModel,
+ DocumentFlavor,
+ HorizontalAlign,
+ VerticalAlign,
+ WrapStrategy,
+} from '@univerjs/core';
import { convertTextRotation } from '../../basics/text-rotation';
import { DEFAULT_PADDING_DATA } from './sheet.render-skeleton';
diff --git a/packages/engine-render/src/components/sheets/watermark/util.ts b/packages/engine-render/src/components/sheets/watermark/util.ts
index 5134a8b09d..0437fc0d45 100644
--- a/packages/engine-render/src/components/sheets/watermark/util.ts
+++ b/packages/engine-render/src/components/sheets/watermark/util.ts
@@ -16,10 +16,20 @@
import type { IUser, Nullable } from '@univerjs/core';
import type { UniverRenderingContext } from '../../../context';
-import type { IImageWatermarkConfig, ITextWatermarkConfig, IUserInfoWatermarkConfig, IWatermarkConfigWithType } from './type';
+import type {
+ IImageWatermarkConfig,
+ ITextWatermarkConfig,
+ IUserInfoWatermarkConfig,
+ IWatermarkConfigWithType,
+} from './type';
import { IWatermarkTypeEnum } from './type';
-export function renderWatermark(ctx: UniverRenderingContext, config: IWatermarkConfigWithType, image: Nullable<HTMLImageElement>, userInfo: Nullable<IUser>) {
+export function renderWatermark(
+ ctx: UniverRenderingContext,
+ config: IWatermarkConfigWithType,
+ image: Nullable<HTMLImageElement>,
+ userInfo: Nullable<IUser>
+) {
const type = config.type;
const watermarkConfig = config.config;
if (type === IWatermarkTypeEnum.UserInfo && watermarkConfig.userInfo) {
diff --git a/packages/engine-render/src/components/slides/slide.ts b/packages/engine-render/src/components/slides/slide.ts
index 0808e06223..84664b9b06 100644
--- a/packages/engine-render/src/components/slides/slide.ts
+++ b/packages/engine-render/src/components/slides/slide.ts
@@ -16,7 +16,6 @@
import type { Nullable } from '@univerjs/core';
import type { IMouseEvent, IPointerEvent } from '../../basics/i-events';
-
import type { UniverRenderingContext } from '../../context';
import type { Scene } from '../../scene';
import { COLORS, EventSubject } from '@univerjs/core';
diff --git a/packages/engine-render/src/group.ts b/packages/engine-render/src/group.ts
index e837a5448a..979a1bcf00 100644
--- a/packages/engine-render/src/group.ts
+++ b/packages/engine-render/src/group.ts
@@ -16,7 +16,6 @@
import type { Nullable } from '@univerjs/core';
import type { CURSOR_TYPE } from './basics/const';
-
import type { IViewportInfo } from './basics/vector2';
import type { UniverRenderingContext } from './context';
import { sortRules } from '@univerjs/core';
diff --git a/packages/engine-render/src/index.ts b/packages/engine-render/src/index.ts
index b3f88f9dfb..2a70ac352b 100644
--- a/packages/engine-render/src/index.ts
+++ b/packages/engine-render/src/index.ts
@@ -27,11 +27,24 @@ export { getTableIdAndSliceIndex } from './components/docs/layout/block/table';
export * from './components/docs/layout/doc-simple-skeleton';
export { DocumentSkeleton } from './components/docs/layout/doc-skeleton';
export type { IFindNodeRestrictions } from './components/docs/layout/doc-skeleton';
-export { getCharSpaceApply, getLastLine, getNumberUnitValue, getPageFromPath, glyphIterator, lineIterator } from './components/docs/layout/tools';
+export {
+ getCharSpaceApply,
+ getLastLine,
+ getNumberUnitValue,
+ getPageFromPath,
+ glyphIterator,
+ lineIterator,
+} from './components/docs/layout/tools';
export { getLastColumn } from './components/docs/layout/tools';
export { Liquid } from './components/docs/liquid';
-export type { DocsTableRenderViewportProvider, IDocsTableRenderViewport } from './components/docs/table-render-viewport';
-export { getDocsTableRenderViewport, setDocsTableRenderViewportProvider } from './components/docs/table-render-viewport';
+export type {
+ DocsTableRenderViewportProvider,
+ IDocsTableRenderViewport,
+} from './components/docs/table-render-viewport';
+export {
+ getDocsTableRenderViewport,
+ setDocsTableRenderViewportProvider,
+} from './components/docs/table-render-viewport';
export { DataStreamTreeNode } from './components/docs/view-model/data-stream-tree-node';
export { DocumentViewModel } from './components/docs/view-model/document-view-model';
export { DocumentEditArea } from './components/docs/view-model/document-view-model';
@@ -45,9 +58,15 @@ export * from './engine';
export * from './group';
export * from './layer';
export { IRenderingEngine, UniverRenderEnginePlugin } from './plugin';
-export { getCurrentTypeOfRenderer, IRenderManagerService, RenderManagerService, withCurrentTypeOfRenderer } from './render-manager/render-manager.service';
+export {
+ getCurrentTypeOfRenderer,
+ IRenderManagerService,
+ RenderManagerService,
+ withCurrentTypeOfRenderer,
+} from './render-manager/render-manager.service';
export { type RenderComponentType } from './render-manager/render-manager.service';
-export { type IRender, type IRenderContext, type IRenderModule, RenderUnit } from './render-manager/render-unit';
+export { RenderUnit } from './render-manager/render-unit';
+export type { IRender, IRenderContext, IRenderModule } from './render-manager/render-unit';
export * from './scene';
export * from './scene-viewer';
export { type IChangeObserverConfig } from './scene.transformer';
diff --git a/packages/engine-render/src/layer.ts b/packages/engine-render/src/layer.ts
index 085fa5c680..ad7ac93e05 100644
--- a/packages/engine-render/src/layer.ts
+++ b/packages/engine-render/src/layer.ts
@@ -16,7 +16,6 @@
import type { Nullable } from '@univerjs/core';
import type { UniverRenderingContext } from './context';
-
import type { Scene } from './scene';
import type { SceneViewer } from './scene-viewer';
import { Disposable, requestImmediateMacroTask, sortRules, toDisposable } from '@univerjs/core';
diff --git a/packages/engine-render/src/plugin.ts b/packages/engine-render/src/plugin.ts
index 7ddb7f417b..4f92146950 100644
--- a/packages/engine-render/src/plugin.ts
+++ b/packages/engine-render/src/plugin.ts
@@ -16,7 +16,6 @@
import type { IUniverEngineRenderConfig } from './config/config';
import { createIdentifier, IConfigService, Inject, Injector, merge, Plugin, registerDependencies } from '@univerjs/core';
-
import pkg from '../package.json';
import { defaultPluginConfig, ENGINE_RENDER_PLUGIN_CONFIG_KEY } from './config/config';
import { Engine } from './engine';
diff --git a/packages/engine-render/src/render-manager/render-manager.service.ts b/packages/engine-render/src/render-manager/render-manager.service.ts
index 753e627478..e04c59600a 100644
--- a/packages/engine-render/src/render-manager/render-manager.service.ts
+++ b/packages/engine-render/src/render-manager/render-manager.service.ts
@@ -14,14 +14,31 @@
* limitations under the License.
*/
-import type { Dependency, DependencyIdentifier, ICreateUnitOptions, IDisposable, Nullable, UnitModel } from '@univerjs/core';
+import type {
+ Dependency,
+ DependencyIdentifier,
+ ICreateUnitOptions,
+ IDisposable,
+ Nullable,
+ UnitModel,
+} from '@univerjs/core';
import type { Observable } from 'rxjs';
import type { BaseObject } from '../base-object';
import type { DocComponent } from '../components/docs/doc-component';
import type { SheetComponent } from '../components/sheets/sheet-component';
import type { Slide } from '../components/slides/slide';
import type { IRender } from './render-unit';
-import { createIdentifier, Disposable, Inject, Injector, IUniverInstanceService, remove, ThemeService, toDisposable, UniverInstanceType } from '@univerjs/core';
+import {
+ createIdentifier,
+ Disposable,
+ Inject,
+ Injector,
+ IUniverInstanceService,
+ remove,
+ ThemeService,
+ toDisposable,
+ UniverInstanceType,
+} from '@univerjs/core';
import { Subject } from 'rxjs';
import { Engine } from '../engine';
import { Scene } from '../scene';
diff --git a/packages/engine-render/src/render-manager/render-unit.ts b/packages/engine-render/src/render-manager/render-unit.ts
index 2bcb854b90..8233f0a9a9 100644
--- a/packages/engine-render/src/render-manager/render-unit.ts
+++ b/packages/engine-render/src/render-manager/render-unit.ts
@@ -14,7 +14,15 @@
* limitations under the License.
*/
-import type { Dependency, DependencyIdentifier, ICreateUnitOptions, IDisposable, Nullable, UnitModel, UniverInstanceType } from '@univerjs/core';
+import type {
+ Dependency,
+ DependencyIdentifier,
+ ICreateUnitOptions,
+ IDisposable,
+ Nullable,
+ UnitModel,
+ UniverInstanceType,
+} from '@univerjs/core';
import type { Observable } from 'rxjs';
import type { Engine } from '../engine';
import type { Scene } from '../scene';
diff --git a/packages/engine-render/src/scene-viewer.ts b/packages/engine-render/src/scene-viewer.ts
index 7c3b059d79..02e4c8d33e 100644
--- a/packages/engine-render/src/scene-viewer.ts
+++ b/packages/engine-render/src/scene-viewer.ts
@@ -15,7 +15,6 @@
*/
import type { Nullable } from '@univerjs/core';
-
import type { IObjectFullState } from './basics/interfaces';
import type { IViewportInfo, Vector2 } from './basics/vector2';
import type { UniverRenderingContext } from './context';
diff --git a/packages/engine-render/src/scene.transformer.ts b/packages/engine-render/src/scene.transformer.ts
index 4cab96ae5d..9cf4dafd6d 100644
--- a/packages/engine-render/src/scene.transformer.ts
+++ b/packages/engine-render/src/scene.transformer.ts
@@ -16,7 +16,6 @@
import type { IAbsoluteTransform, Nullable } from '@univerjs/core';
import type { Subscription } from 'rxjs';
-
import type { BaseObject } from './base-object';
import type { IMouseEvent, IPointerEvent } from './basics/i-events';
import type { ITransformerConfig } from './basics/transformer-config';
@@ -29,7 +28,6 @@ import { Disposable, MOVE_BUFFER_VALUE, requestImmediateMacroTask, toDisposable
import { Subject } from 'rxjs';
import { ObjectType } from './base-object';
import { CURSOR_TYPE } from './basics/const';
-
import { offsetRotationAxis } from './basics/offset-rotation-axis';
import { getCurrentScrollXY } from './basics/scroll-xy';
import { degToRad, precisionTo, radToDeg } from './basics/tools';
diff --git a/packages/engine-render/src/services/__tests__/create-canvas-color-test-bed.ts b/packages/engine-render/src/services/__tests__/create-canvas-color-test-bed.ts
index aa6fc8f4fa..3a37236df0 100644
--- a/packages/engine-render/src/services/__tests__/create-canvas-color-test-bed.ts
+++ b/packages/engine-render/src/services/__tests__/create-canvas-color-test-bed.ts
@@ -14,22 +14,6 @@
* limitations under the License.
*/
-/**
- * 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 { Dependency, IWorkbookData, UnitModel } from '@univerjs/core';
import {
ILogService,
diff --git a/packages/engine-render/src/shape/__tests__/rich-text.spec.ts b/packages/engine-render/src/shape/__tests__/rich-text.spec.ts
index 086a6a5027..2bba1ed5d1 100644
--- a/packages/engine-render/src/shape/__tests__/rich-text.spec.ts
+++ b/packages/engine-render/src/shape/__tests__/rich-text.spec.ts
@@ -16,7 +16,6 @@
import { BooleanNumber } from '@univerjs/core';
import { describe, expect, it, vi } from 'vitest';
-
import { RichText } from '../rich-text';
const h = vi.hoisted(() => ({
diff --git a/packages/engine-render/src/shape/image.ts b/packages/engine-render/src/shape/image.ts
index 7cacece6b4..23447861e5 100644
--- a/packages/engine-render/src/shape/image.ts
+++ b/packages/engine-render/src/shape/image.ts
@@ -15,7 +15,6 @@
*/
import type { ISrcRect, Nullable } from '@univerjs/core';
-
import type { IObjectFullState, ITransformChangeState, IViewportInfo } from '../basics';
import type { UniverRenderingContext } from '../context';
import type { Scene } from '../scene';
diff --git a/packages/engine-render/src/shape/path.ts b/packages/engine-render/src/shape/path.ts
index af3b941e30..42209acf97 100644
--- a/packages/engine-render/src/shape/path.ts
+++ b/packages/engine-render/src/shape/path.ts
@@ -15,7 +15,6 @@
*/
import type { Nullable } from '@univerjs/core';
-
import type { IObjectFullState } from '../basics/interfaces';
import type { UniverRenderingContext } from '../context';
import type { IShapeProps } from './shape';
diff --git a/packages/engine-render/src/shape/rect.ts b/packages/engine-render/src/shape/rect.ts
index ef6308bccd..55975bd88c 100644
--- a/packages/engine-render/src/shape/rect.ts
+++ b/packages/engine-render/src/shape/rect.ts
@@ -15,7 +15,6 @@
*/
import type { Nullable } from '@univerjs/core';
-
import type { UniverRenderingContext } from '../context';
import type { IShapeProps } from './shape';
import { ObjectType } from '../base-object';
diff --git a/packages/engine-render/src/shape/rich-text.ts b/packages/engine-render/src/shape/rich-text.ts
index a3838667e6..c95eca5c71 100644
--- a/packages/engine-render/src/shape/rich-text.ts
+++ b/packages/engine-render/src/shape/rich-text.ts
@@ -18,7 +18,6 @@ import type {
IBorderData,
IColorStyle,
IDocumentData,
-
IStyleBase,
ITextDecoration,
ITransformState,
@@ -26,7 +25,6 @@ import type {
Nullable,
} from '@univerjs/core';
import type { BASE_OBJECT_ARRAY } from '../base-object';
-
import type { IViewportInfo } from '../basics/vector2';
import type { UniverRenderingContext } from '../context';
import { BooleanNumber, DEFAULT_EMPTY_DOCUMENT_VALUE, DocumentDataModel } from '@univerjs/core';
diff --git a/packages/engine-render/src/shape/scroll-bar.ts b/packages/engine-render/src/shape/scroll-bar.ts
index 9566772d56..163e6d17d1 100644
--- a/packages/engine-render/src/shape/scroll-bar.ts
+++ b/packages/engine-render/src/shape/scroll-bar.ts
@@ -15,7 +15,6 @@
*/
import type { EventState, Nullable } from '@univerjs/core';
-
import type { IMouseEvent, IPointerEvent } from '../basics/i-events';
import type { Vector2 } from '../basics/vector2';
import type { UniverRenderingContext } from '../context';
diff --git a/packages/engine-render/src/shape/shape.ts b/packages/engine-render/src/shape/shape.ts
index df598d3b89..75dabf7111 100644
--- a/packages/engine-render/src/shape/shape.ts
+++ b/packages/engine-render/src/shape/shape.ts
@@ -15,7 +15,6 @@
*/
import type { IOffset, IScale, ISize, Nullable } from '@univerjs/core';
-
import type { IObjectFullState } from '../basics/interfaces';
import type { IViewportInfo, Vector2 } from '../basics/vector2';
import type { UniverRenderingContext } from '../context';
diff --git a/packages/engine-render/src/viewport.ts b/packages/engine-render/src/viewport.ts
index 7285e37b76..84f28cf868 100644
--- a/packages/engine-render/src/viewport.ts
+++ b/packages/engine-render/src/viewport.ts
@@ -16,7 +16,6 @@
import type { EventState, IPosition, IRange, Nullable } from '@univerjs/core';
import type { BaseObject } from './base-object';
-
import type { IWheelEvent } from './basics/i-events';
import type { IBoundRectNoAngle, IViewportInfo } from './basics/vector2';
import type { UniverRenderingContext } from './context';
diff --git a/packages/find-replace/src/__tests__/create-test-bed.ts b/packages/find-replace/src/__tests__/create-test-bed.ts
index 324b8c6e74..b7d6429fea 100644
--- a/packages/find-replace/src/__tests__/create-test-bed.ts
+++ b/packages/find-replace/src/__tests__/create-test-bed.ts
@@ -35,7 +35,6 @@ import {
} from '@univerjs/core';
import { IMessageService } from '@univerjs/ui';
import enUS from '../locale/en-US';
-
import { IFindReplaceService } from '../services/find-replace.service';
const TEST_WORKBOOK_DATA_DEMO: IWorkbookData = {
diff --git a/packages/find-replace/src/commands/commands/replace.command.ts b/packages/find-replace/src/commands/commands/replace.command.ts
index f4501275cb..9e7c9ac70e 100644
--- a/packages/find-replace/src/commands/commands/replace.command.ts
+++ b/packages/find-replace/src/commands/commands/replace.command.ts
@@ -18,7 +18,6 @@ import type { ICommand } from '@univerjs/core';
import { CommandType, IConfirmService, LocaleService } from '@univerjs/core';
import { MessageType } from '@univerjs/design';
import { IMessageService } from '@univerjs/ui';
-
import { IFindReplaceService } from '../../services/find-replace.service';
export const ReplaceCurrentMatchCommand: ICommand = {
diff --git a/packages/find-replace/src/commands/operations/find-replace.operation.ts b/packages/find-replace/src/commands/operations/find-replace.operation.ts
index 0bf4a0c8bf..1d52879694 100644
--- a/packages/find-replace/src/commands/operations/find-replace.operation.ts
+++ b/packages/find-replace/src/commands/operations/find-replace.operation.ts
@@ -16,7 +16,6 @@
import type { IOperation } from '@univerjs/core';
import { CommandType } from '@univerjs/core';
-
import { IFindReplaceService } from '../../services/find-replace.service';
export const OpenFindDialogOperation: IOperation = {
diff --git a/packages/network/src/index.ts b/packages/network/src/index.ts
index 5cdf98d459..b2747b2373 100644
--- a/packages/network/src/index.ts
+++ b/packages/network/src/index.ts
@@ -17,30 +17,23 @@
export type { IUniverNetworkConfig } from './config/config';
export { UniverNetworkPlugin } from './plugin';
export { HTTPHeaders } from './services/http/headers';
-export { type HTTPResponseType, HTTPStatusCode } from './services/http/http';
+export { HTTPStatusCode } from './services/http/http';
+export type { HTTPResponseType } from './services/http/http';
export { HTTPService } from './services/http/http.service';
export type { IPostRequestParams, IRequestParams } from './services/http/http.service';
export { FetchHTTPImplementation } from './services/http/implementations/fetch';
export { IHTTPImplementation } from './services/http/implementations/implementation';
export { XHRHTTPImplementation } from './services/http/implementations/xhr';
export type { HTTPHandlerFn, HTTPInterceptorFn, HTTPInterceptorFnFactory } from './services/http/interceptor';
-export { AuthInterceptorFactory, type IAuthInterceptorParams } from './services/http/interceptors/auth-interceptor';
+export { AuthInterceptorFactory } from './services/http/interceptors/auth-interceptor';
+export type { IAuthInterceptorParams } from './services/http/interceptors/auth-interceptor';
export { MergeInterceptorFactory } from './services/http/interceptors/merge-interceptor';
-export { type IRetryInterceptorFactoryParams, RetryInterceptorFactory } from './services/http/interceptors/retry-interceptor';
+export { RetryInterceptorFactory } from './services/http/interceptors/retry-interceptor';
+export type { IRetryInterceptorFactoryParams } from './services/http/interceptors/retry-interceptor';
export { ThresholdInterceptorFactory } from './services/http/interceptors/threshold-interceptor';
-export { HTTPRequest, type HTTPRequestMethod } from './services/http/request';
-export {
- type HTTPEvent,
- HTTPEventType,
- HTTPProgress,
- HTTPResponse,
- type HTTPResponseBody,
- HTTPResponseError,
- ResponseHeader,
-} from './services/http/response';
-export {
- type ISocket,
- ISocketService,
- type SocketBodyType,
- WebSocketService,
-} from './services/web-socket/web-socket.service';
+export { HTTPRequest } from './services/http/request';
+export type { HTTPRequestMethod } from './services/http/request';
+export { HTTPEventType, HTTPProgress, HTTPResponse, HTTPResponseError, ResponseHeader } from './services/http/response';
+export type { HTTPEvent, HTTPResponseBody } from './services/http/response';
+export { ISocketService, WebSocketService } from './services/web-socket/web-socket.service';
+export type { ISocket, SocketBodyType } from './services/web-socket/web-socket.service';
diff --git a/packages/protocol/src/index.ts b/packages/protocol/src/index.ts
index 0817b4c4e8..8b3ef21900 100644
--- a/packages/protocol/src/index.ts
+++ b/packages/protocol/src/index.ts
@@ -18,40 +18,34 @@ export type {
IDeserializedSheetBlock,
IGetDeserializedSheetBlockResponse,
} from './other/sheet-block';
-
export type {
IChangeset,
ICommand,
IMutation,
} from './ts/univer/changeset';
-export {
- CommentSolvedStatus,
- CommentUpdateEventType,
- type ICollaMsg,
- type ICollaMsgErrorEvent,
- type ICollaMsgJoin,
- type ICollaMsgLeave,
- type ICommentUpdate,
- type ILiveShareNewHost,
- type ILiveShareOperation,
- type ILiveShareOperationOperation,
- type ILiveShareRequestHost,
- type ILiveShareTerminate,
- type IShouldCloseConn,
- type IUniscriptRun,
- type IUpdateCursor,
- type IUpdatePermissionObj,
+export { CommentSolvedStatus, CommentUpdateEventType } from './ts/univer/colla-msg';
+export type {
+ ICollaMsg,
+ ICollaMsgErrorEvent,
+ ICollaMsgJoin,
+ ICollaMsgLeave,
+ ICommentUpdate,
+ ILiveShareNewHost,
+ ILiveShareOperation,
+ ILiveShareOperationOperation,
+ ILiveShareRequestHost,
+ ILiveShareTerminate,
+ IShouldCloseConn,
+ IUniscriptRun,
+ IUpdateCursor,
+ IUpdatePermissionObj,
} from './ts/univer/colla-msg';
-export { ErrorCode, type IError } from './ts/univer/constants/errors';
+export { ErrorCode } from './ts/univer/constants/errors';
+export type { IError } from './ts/univer/constants/errors';
export { UniverType } from './ts/univer/constants/univer';
-
export type { IDocumentMeta } from './ts/univer/doc';
-export {
- CellType,
- type IInitialSheet,
- type IRow,
- type IRowCell,
-} from './ts/univer/initial-sheet';
+export { CellType } from './ts/univer/initial-sheet';
+export type { IInitialSheet, IRow, IRowCell } from './ts/univer/initial-sheet';
export type { IUnitRoleKV } from './ts/univer/permission';
export {
ObjectScope,
@@ -60,31 +54,19 @@ export {
UnitRole,
} from './ts/univer/permission';
export type { IRange } from './ts/univer/range';
-
export type { ISlideMeta } from './ts/univer/slide';
-
export type {
ISnapshot,
ITableInfo,
} from './ts/univer/snapshot';
-
-export {
- CellValueType,
- type ICellData,
- type ISheetBlock,
- type ISheetBlockMeta,
- type IWorkbookMeta,
- type IWorksheetMeta,
-} from './ts/univer/workbook';
-
+export { CellValueType } from './ts/univer/workbook';
+export type { ICellData, ISheetBlock, ISheetBlockMeta, IWorkbookMeta, IWorksheetMeta } from './ts/univer/workbook';
export type {
IRecord,
} from './ts/univercloud/stats/v1/stats';
-
export {
IRecordType,
} from './ts/univercloud/stats/v1/stats';
-
export {
type IApplyRequest,
type IApplyResponse,
@@ -104,13 +86,11 @@ export {
type IPreloadUnitResponse,
type IWorkbookCreateMeta,
} from './ts/univerpro/v1/apply';
-
export {
type ICollaborationHelperService,
type ICreateLatestSnapshotInBackgroundRequest,
type ICreateLatestSnapshotInBackgroundResponse,
} from './ts/univerpro/v1/helper';
-
export type {
IComputeRequest,
IComputeResponse,
@@ -120,16 +100,13 @@ export type {
IGetValuesResponse,
ITableInfoList,
} from './ts/univerpro/v1/ssc';
-
export type {
IGetSSRRequest,
IGetSSRResponse,
} from './ts/univerpro/v1/ssr';
-
export type {
IAccessKeyService,
} from './ts/universer/v1/access-key';
-
export type {
IActionInfo,
IAllowedRequest,
@@ -156,19 +133,16 @@ export type {
IUpdateCollaboratorResponse,
IUpdatePermPointRequest,
} from './ts/universer/v1/authz';
-
-export {
- CmdRspCode,
- CombCmd,
- type ICombJoinRequest,
- type ICombJoinResponse,
- type ICombLeaveRequest,
- type ICombService,
- type IMember,
- type INewChangesRequest,
- type INewChangesResponse,
+export { CmdRspCode, CombCmd } from './ts/universer/v1/comb';
+export type {
+ ICombJoinRequest,
+ ICombJoinResponse,
+ ICombLeaveRequest,
+ ICombService,
+ IMember,
+ INewChangesRequest,
+ INewChangesResponse,
} from './ts/universer/v1/comb';
-
export type {
IAddCommentRequest,
IAddCommentResponse,
@@ -185,13 +159,8 @@ export type {
ISolvedCommentResponse,
IThread,
} from './ts/universer/v1/comment';
-
-export {
- FileSource,
- type IFileService,
- type IFileUploadRequest,
-} from './ts/universer/v1/file';
-
+export { FileSource } from './ts/universer/v1/file';
+export type { IFileService, IFileUploadRequest } from './ts/universer/v1/file';
export type {
ICreateHistoryRequest,
ICreateHistoryResponse,
@@ -199,12 +168,10 @@ export type {
IGetHistoryCsResponse,
IHistoryService,
} from './ts/universer/v1/history';
-
export type {
IGetUserLicenseResponse,
ILicenseService,
} from './ts/universer/v1/license';
-
export {
type ICopyFileMetaRequest,
type ICopyFileMetaResponse,
@@ -237,7 +204,6 @@ export {
type ISnapshotService,
type IUnitMeta,
} from './ts/universer/v1/snapshot';
-
export type {
IGetSessionTicketResponse,
IGetUserResponse,
@@ -246,5 +212,4 @@ export type {
IMigrateResponse,
IUser,
} from './ts/universer/v1/user';
-
export { isError } from './utils';
diff --git a/packages/rpc/src/index.ts b/packages/rpc/src/index.ts
index 70ce6afa2d..62ced33114 100644
--- a/packages/rpc/src/index.ts
+++ b/packages/rpc/src/index.ts
@@ -31,4 +31,5 @@ export {
} from './services/remote-instance/remote-instance.service';
export { IRemoteSyncService } from './services/remote-instance/remote-instance.service';
export { ChannelService, IRPCChannelService } from './services/rpc/channel.service';
-export { ChannelClient, ChannelServer, fromModule, type IMessageProtocol, toModule } from './services/rpc/rpc.service';
+export { ChannelClient, ChannelServer, fromModule, toModule } from './services/rpc/rpc.service';
+export type { IMessageProtocol } from './services/rpc/rpc.service';
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 e113d8249f..b8ae551f99 100644
--- a/packages/sheets-conditional-formatting-ui/src/menu/manage-rule.ts
+++ b/packages/sheets-conditional-formatting-ui/src/menu/manage-rule.ts
@@ -17,15 +17,30 @@
import type { IAccessor, Workbook } from '@univerjs/core';
import type { IMenuSelectorItem } from '@univerjs/ui';
import { ICommandService, IUniverInstanceService, Rectangle, UniverInstanceType } from '@univerjs/core';
-import { checkRangesEditablePermission, RangeProtectionPermissionEditPoint, SetWorksheetActiveOperation, SheetsSelectionsService, WorkbookEditablePermission, WorksheetEditPermission, WorksheetSetCellStylePermission } from '@univerjs/sheets';
-import { AddConditionalRuleMutation, ConditionalFormattingRuleModel, DeleteConditionalRuleMutation, MoveConditionalRuleMutation, SetConditionalRuleMutation } from '@univerjs/sheets-conditional-formatting';
-
+import {
+ checkRangesEditablePermission,
+ RangeProtectionPermissionEditPoint,
+ SetWorksheetActiveOperation,
+ SheetsSelectionsService,
+ WorkbookEditablePermission,
+ WorksheetEditPermission,
+ WorksheetSetCellStylePermission,
+} from '@univerjs/sheets';
+import {
+ AddConditionalRuleMutation,
+ ConditionalFormattingRuleModel,
+ DeleteConditionalRuleMutation,
+ MoveConditionalRuleMutation,
+ SetConditionalRuleMutation,
+} from '@univerjs/sheets-conditional-formatting';
import { getCurrentRangeDisable$ } from '@univerjs/sheets-ui';
import { getMenuHiddenObservable, MenuItemType } from '@univerjs/ui';
import { merge, Observable } from 'rxjs';
-
import { debounceTime } from 'rxjs/operators';
-import { CF_MENU_OPERATION, OpenConditionalFormattingOperator } from '../commands/operations/open-conditional-formatting-panel';
+import {
+ CF_MENU_OPERATION,
+ OpenConditionalFormattingOperator,
+} from '../commands/operations/open-conditional-formatting-panel';
const commandList = [
SetWorksheetActiveOperation.id,
diff --git a/packages/sheets-conditional-formatting/src/commands/mutations/move-conditional-rule.mutation.ts b/packages/sheets-conditional-formatting/src/commands/mutations/move-conditional-rule.mutation.ts
index d58682e8d5..ffed3888a3 100644
--- a/packages/sheets-conditional-formatting/src/commands/mutations/move-conditional-rule.mutation.ts
+++ b/packages/sheets-conditional-formatting/src/commands/mutations/move-conditional-rule.mutation.ts
@@ -15,7 +15,6 @@
*/
import type { IMutation } from '@univerjs/core';
-
import type { IAnchor } from '../../utils/anchor';
import { CommandType } from '@univerjs/core';
import { ConditionalFormattingRuleModel } from '../../models/conditional-formatting-rule-model';
diff --git a/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts b/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts
index 5068e3f591..4b4384a9a1 100644
--- a/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts
@@ -74,7 +74,6 @@ import {
} from '@univerjs/sheets-formula';
import enUS from '@univerjs/sheets/locale/en-US';
import zhCN from '@univerjs/sheets/locale/zh-CN';
-
import '@univerjs/sheets/facade';
import '@univerjs/sheets-conditional-formatting/facade';
diff --git a/packages/sheets-conditional-formatting/src/facade/__tests__/f-conditional-formatting.spec.ts b/packages/sheets-conditional-formatting/src/facade/__tests__/f-conditional-formatting.spec.ts
index 6754894743..966512ea84 100644
--- a/packages/sheets-conditional-formatting/src/facade/__tests__/f-conditional-formatting.spec.ts
+++ b/packages/sheets-conditional-formatting/src/facade/__tests__/f-conditional-formatting.spec.ts
@@ -45,7 +45,6 @@ import {
} from '@univerjs/sheets-conditional-formatting';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { createFacadeTestBed } from './create-test-bed';
-
import '@univerjs/sheets-formula/facade';
describe('Test conditional formatting facade', () => {
diff --git a/packages/sheets-conditional-formatting/src/index.ts b/packages/sheets-conditional-formatting/src/index.ts
index e6f333ef54..694351bab5 100644
--- a/packages/sheets-conditional-formatting/src/index.ts
+++ b/packages/sheets-conditional-formatting/src/index.ts
@@ -15,29 +15,38 @@
*/
export * from './base/const';
-export { AddCfCommand, type IAddCfCommandParams } from './commands/commands/add-cf.command';
-export { ClearRangeCfCommand, type IClearRangeCfParams } from './commands/commands/clear-range-cf.command';
-export { ClearWorksheetCfCommand, type IClearWorksheetCfParams } from './commands/commands/clear-worksheet-cf.command';
-export { DeleteCfCommand, type IDeleteCfCommandParams } from './commands/commands/delete-cf.command';
-export { type IMoveCfCommandParams, MoveCfCommand } from './commands/commands/move-cf.command';
-export { type ISetCfCommandParams, SetCfCommand } from './commands/commands/set-cf.command';
+export { AddCfCommand } from './commands/commands/add-cf.command';
+export type { IAddCfCommandParams } from './commands/commands/add-cf.command';
+export { ClearRangeCfCommand } from './commands/commands/clear-range-cf.command';
+export type { IClearRangeCfParams } from './commands/commands/clear-range-cf.command';
+export { ClearWorksheetCfCommand } from './commands/commands/clear-worksheet-cf.command';
+export type { IClearWorksheetCfParams } from './commands/commands/clear-worksheet-cf.command';
+export { DeleteCfCommand } from './commands/commands/delete-cf.command';
+export type { IDeleteCfCommandParams } from './commands/commands/delete-cf.command';
+export { MoveCfCommand } from './commands/commands/move-cf.command';
+export type { IMoveCfCommandParams } from './commands/commands/move-cf.command';
+export { SetCfCommand } from './commands/commands/set-cf.command';
+export type { ISetCfCommandParams } from './commands/commands/set-cf.command';
export {
AddConditionalRuleMutation,
AddConditionalRuleMutationUndoFactory,
- type IAddConditionalRuleMutationParams,
} from './commands/mutations/add-conditional-rule.mutation';
+export type { IAddConditionalRuleMutationParams } from './commands/mutations/add-conditional-rule.mutation';
export {
DeleteConditionalRuleMutation,
DeleteConditionalRuleMutationUndoFactory,
- type IDeleteConditionalRuleMutationParams,
} from './commands/mutations/delete-conditional-rule.mutation';
+export type { IDeleteConditionalRuleMutationParams } from './commands/mutations/delete-conditional-rule.mutation';
export {
- type IMoveConditionalRuleMutationParams,
MoveConditionalRuleMutation,
MoveConditionalRuleMutationUndoFactory,
} from './commands/mutations/move-conditional-rule.mutation';
+export type { IMoveConditionalRuleMutationParams } from './commands/mutations/move-conditional-rule.mutation';
export type { ISetConditionalRuleMutationParams } from './commands/mutations/set-conditional-rule.mutation';
-export { SetConditionalRuleMutation, setConditionalRuleMutationUndoFactory } from './commands/mutations/set-conditional-rule.mutation';
+export {
+ SetConditionalRuleMutation,
+ setConditionalRuleMutationUndoFactory,
+} from './commands/mutations/set-conditional-rule.mutation';
export type { IUniverSheetsConditionalFormattingConfig } from './config/config';
export * from './models/calculate-unit-v2/utils';
export * from './models/conditional-formatting-range-index-model';
diff --git a/packages/sheets-conditional-formatting/src/services/conditional-formatting-formula.service.ts b/packages/sheets-conditional-formatting/src/services/conditional-formatting-formula.service.ts
index 3655407592..4d3ce3f5b6 100644
--- a/packages/sheets-conditional-formatting/src/services/conditional-formatting-formula.service.ts
+++ b/packages/sheets-conditional-formatting/src/services/conditional-formatting-formula.service.ts
@@ -20,7 +20,6 @@ import type { IConditionalFormattingRuleConfig, IConditionFormattingRule } from
import { BooleanNumber, CellValueType, Disposable, Inject, ObjectMatrix, RefAlias } from '@univerjs/core';
import { FormulaResultStatus, OtherFormulaBizType, RegisterOtherFormulaService } from '@univerjs/engine-formula';
import { Subject } from 'rxjs';
-
import { CFRuleType, CFSubRuleType, CFValueType } from '../base/const';
import { ConditionalFormattingRuleModel } from '../models/conditional-formatting-rule-model';
diff --git a/packages/sheets-crosshair-highlight/src/index.ts b/packages/sheets-crosshair-highlight/src/index.ts
index a2ebafc9ea..6ca1393911 100644
--- a/packages/sheets-crosshair-highlight/src/index.ts
+++ b/packages/sheets-crosshair-highlight/src/index.ts
@@ -19,10 +19,10 @@ import './global.css';
export {
DisableCrosshairHighlightOperation,
EnableCrosshairHighlightOperation,
- type ISetCrosshairHighlightColorOperationParams,
SetCrosshairHighlightColorOperation,
ToggleCrosshairHighlightOperation,
} from './commands/operations/operation';
+export type { ISetCrosshairHighlightColorOperationParams } from './commands/operations/operation';
export type { IUniverSheetsCrosshairHighlightConfig } from './config/config';
export { UniverSheetsCrosshairHighlightPlugin } from './plugin';
export { SheetsCrosshairHighlightService } from './services/crosshair.service';
diff --git a/packages/sheets-crosshair-highlight/src/views/widgets/crosshair-highlight.render-controller.ts b/packages/sheets-crosshair-highlight/src/views/widgets/crosshair-highlight.render-controller.ts
index 9c1d81b361..302a5eb640 100644
--- a/packages/sheets-crosshair-highlight/src/views/widgets/crosshair-highlight.render-controller.ts
+++ b/packages/sheets-crosshair-highlight/src/views/widgets/crosshair-highlight.render-controller.ts
@@ -16,7 +16,6 @@
import type { IRange, Nullable, Workbook, Worksheet } from '@univerjs/core';
import type { IRenderContext, IRenderModule, Scene, SpreadsheetSkeleton } from '@univerjs/engine-render';
-
import type { ISelectionWithStyle } from '@univerjs/sheets';
import { ColorKit, Disposable, IContextService, Inject, RANGE_TYPE } from '@univerjs/core';
import { IRefSelectionsService, REF_SELECTIONS_ENABLED, SheetsSelectionsService } from '@univerjs/sheets';
diff --git a/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts b/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts
index 5ea18a2cdd..ecb43dc659 100644
--- a/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts
@@ -31,19 +31,46 @@ import {
} from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDataValidationPlugin } from '@univerjs/data-validation';
-import { ActiveDirtyManagerService, DefinedNamesService, FormulaDataModel, FunctionService, IActiveDirtyManagerService, IDefinedNamesService, IFunctionService, ISheetRowFilteredService, ISuperTableService, LexerTreeBuilder, RegisterOtherFormulaService, SheetRowFilteredService, SuperTableService } from '@univerjs/engine-formula';
+import {
+ ActiveDirtyManagerService,
+ DefinedNamesService,
+ FormulaDataModel,
+ FunctionService,
+ IActiveDirtyManagerService,
+ IDefinedNamesService,
+ IFunctionService,
+ ISheetRowFilteredService,
+ ISuperTableService,
+ LexerTreeBuilder,
+ RegisterOtherFormulaService,
+ SheetRowFilteredService,
+ SuperTableService,
+} from '@univerjs/engine-formula';
import {
RefRangeService,
SheetInterceptorService,
SheetSkeletonService,
SheetsSelectionsService,
} from '@univerjs/sheets';
-import { DataValidationCacheService, DataValidationCustomFormulaService, DataValidationFormulaService, DataValidationListCacheService, SheetDataValidationModel, SheetsDataValidationValidatorService } from '@univerjs/sheets-data-validation';
-import { DescriptionService, FormulaCalculationSessionController, FormulaCalculationSessionService, IDescriptionService, IRegisterFunctionService, RegisterFunctionService } from '@univerjs/sheets-formula';
+import {
+ DataValidationCacheService,
+ DataValidationCustomFormulaService,
+ DataValidationFormulaService,
+ DataValidationListCacheService,
+ SheetDataValidationModel,
+ SheetsDataValidationValidatorService,
+} from '@univerjs/sheets-data-validation';
+import {
+ DescriptionService,
+ FormulaCalculationSessionController,
+ FormulaCalculationSessionService,
+ IDescriptionService,
+ IRegisterFunctionService,
+ RegisterFunctionService,
+} from '@univerjs/sheets-formula';
import enUS from '@univerjs/sheets/locale/en-US';
import zhCN from '@univerjs/sheets/locale/zh-CN';
import { DataValidationController } from '../../controllers/dv.controller';
-
import '@univerjs/sheets/facade';
import '@univerjs/sheets-data-validation/facade';
diff --git a/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts b/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts
index a12b5d84aa..4dc27d4bb9 100644
--- a/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts
+++ b/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts
@@ -31,18 +31,33 @@ import {
} from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDataValidationPlugin } from '@univerjs/data-validation';
-import { ActiveDirtyManagerService, DefinedNamesService, FormulaDataModel, IActiveDirtyManagerService, IDefinedNamesService, ISheetRowFilteredService, LexerTreeBuilder, RegisterOtherFormulaService, SheetRowFilteredService } from '@univerjs/engine-formula';
-
+import {
+ ActiveDirtyManagerService,
+ DefinedNamesService,
+ FormulaDataModel,
+ IActiveDirtyManagerService,
+ IDefinedNamesService,
+ ISheetRowFilteredService,
+ LexerTreeBuilder,
+ RegisterOtherFormulaService,
+ SheetRowFilteredService,
+} from '@univerjs/engine-formula';
import {
RefRangeService,
SheetInterceptorService,
SheetSkeletonService,
SheetsSelectionsService,
} from '@univerjs/sheets';
-import { DataValidationCacheService, DataValidationCustomFormulaService, DataValidationFormulaService, DataValidationListCacheService, SheetDataValidationModel, SheetsDataValidationValidatorService } from '@univerjs/sheets-data-validation';
+import {
+ DataValidationCacheService,
+ DataValidationCustomFormulaService,
+ DataValidationFormulaService,
+ DataValidationListCacheService,
+ SheetDataValidationModel,
+ SheetsDataValidationValidatorService,
+} from '@univerjs/sheets-data-validation';
import enUS from '@univerjs/sheets/locale/en-US';
import zhCN from '@univerjs/sheets/locale/zh-CN';
-
import '@univerjs/sheets/facade';
import '@univerjs/sheets-data-validation/facade';
diff --git a/packages/sheets-data-validation/src/facade/__tests__/f-range.spec.ts b/packages/sheets-data-validation/src/facade/__tests__/f-range.spec.ts
index 3a98d91ec0..fe0f4cedf7 100644
--- a/packages/sheets-data-validation/src/facade/__tests__/f-range.spec.ts
+++ b/packages/sheets-data-validation/src/facade/__tests__/f-range.spec.ts
@@ -40,7 +40,6 @@ import {
} from '@univerjs/sheets-data-validation';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { createFacadeTestBed } from './create-test-bed';
-
import '@univerjs/sheets-formula/facade';
describe('Test FRange', () => {
diff --git a/packages/sheets-data-validation/src/index.ts b/packages/sheets-data-validation/src/index.ts
index 90520c0ad5..fe3690233a 100644
--- a/packages/sheets-data-validation/src/index.ts
+++ b/packages/sheets-data-validation/src/index.ts
@@ -18,34 +18,43 @@ export {
AddSheetDataValidationCommand,
ClearRangeDataValidationCommand,
getDataValidationDiffMutations,
- type IAddSheetDataValidationCommandParams,
- type IClearRangeDataValidationCommandParams,
- type IRemoveSheetAllDataValidationCommandParams,
- type IRemoveSheetDataValidationCommandParams,
- type IUpdateSheetDataValidationOptionsCommandParams,
- type IUpdateSheetDataValidationRangeCommandParams,
- type IUpdateSheetDataValidationSettingCommandParams,
RemoveSheetAllDataValidationCommand,
RemoveSheetDataValidationCommand,
UpdateSheetDataValidationOptionsCommand,
UpdateSheetDataValidationRangeCommand,
UpdateSheetDataValidationSettingCommand,
} from './commands/commands/data-validation.command';
+export type {
+ IAddSheetDataValidationCommandParams,
+ IClearRangeDataValidationCommandParams,
+ IRemoveSheetAllDataValidationCommandParams,
+ IRemoveSheetDataValidationCommandParams,
+ IUpdateSheetDataValidationOptionsCommandParams,
+ IUpdateSheetDataValidationRangeCommandParams,
+ IUpdateSheetDataValidationSettingCommandParams,
+} from './commands/commands/data-validation.command';
export { DATA_VALIDATION_PLUGIN_NAME } from './common/const';
export type { IUniverSheetsDataValidationConfig } from './config/config';
export { DataValidationFormulaController } from './controllers/dv-formula.controller';
-export { type IValidStatusChange, SheetDataValidationModel } from './models/sheet-data-validation-model';
+export { SheetDataValidationModel } from './models/sheet-data-validation-model';
+export type { IValidStatusChange } from './models/sheet-data-validation-model';
export { UniverSheetsDataValidationPlugin } from './plugin';
export { DataValidationCacheService } from './services/dv-cache.service';
export { DataValidationCustomFormulaService } from './services/dv-custom-formula.service';
export { DataValidationFormulaService } from './services/dv-formula.service';
-export { DataValidationListCacheService, type IListCacheItem } from './services/dv-list-cache.service';
+export { DataValidationListCacheService } from './services/dv-list-cache.service';
+export type { IListCacheItem } from './services/dv-list-cache.service';
export { SheetsDataValidationValidatorService } from './services/dv-validator.service';
export { createDefaultNewRule } from './utils/create';
export { getFormulaCellData, getFormulaResult } from './utils/formula';
export { isLegalFormulaResult } from './utils/formula';
export { getCellValueOrigin } from './utils/get-cell-data-origin';
-export { CHECKBOX_FORMULA_1, CHECKBOX_FORMULA_2, CheckboxValidator, transformCheckboxValue } from './validators/checkbox-validator';
+export {
+ CHECKBOX_FORMULA_1,
+ CHECKBOX_FORMULA_2,
+ CheckboxValidator,
+ transformCheckboxValue,
+} from './validators/checkbox-validator';
export { DateValidator } from './validators/date-validator';
export { getCellValueNumber } from './validators/decimal-validator';
export { ListMultipleValidator } from './validators/list-multiple-validator';
diff --git a/packages/sheets-data-validation/src/models/rule-matrix.ts b/packages/sheets-data-validation/src/models/rule-matrix.ts
index 5b68929049..41362f7ce7 100644
--- a/packages/sheets-data-validation/src/models/rule-matrix.ts
+++ b/packages/sheets-data-validation/src/models/rule-matrix.ts
@@ -15,7 +15,6 @@
*/
import type { BBox, IRange, ISheetDataValidationRule, IUniverInstanceService, Workbook } from '@univerjs/core';
-
import { debounce, Range, RBush, Rectangle, Tools, UniverInstanceType } from '@univerjs/core';
interface IRuleItem extends BBox {
diff --git a/packages/sheets-drawing-ui/src/commands/commands/group-sheet-drawing.command.ts b/packages/sheets-drawing-ui/src/commands/commands/group-sheet-drawing.command.ts
index 5efdb595a8..5211afd0ca 100644
--- a/packages/sheets-drawing-ui/src/commands/commands/group-sheet-drawing.command.ts
+++ b/packages/sheets-drawing-ui/src/commands/commands/group-sheet-drawing.command.ts
@@ -16,13 +16,17 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import type { IDrawingGroupUpdateParam, IDrawingJsonUndo1 } from '@univerjs/drawing';
-
import {
CommandType,
ICommandService,
IUndoRedoService,
} from '@univerjs/core';
-import { ClearSheetDrawingTransformerOperation, DrawingApplyType, ISheetDrawingService, SetDrawingApplyMutation } from '@univerjs/sheets-drawing';
+import {
+ ClearSheetDrawingTransformerOperation,
+ DrawingApplyType,
+ ISheetDrawingService,
+ SetDrawingApplyMutation,
+} from '@univerjs/sheets-drawing';
import { groupToUngroup } from './utils';
/**
diff --git a/packages/sheets-drawing-ui/src/index.ts b/packages/sheets-drawing-ui/src/index.ts
index d5a0b7ea38..c4d05448c6 100644
--- a/packages/sheets-drawing-ui/src/index.ts
+++ b/packages/sheets-drawing-ui/src/index.ts
@@ -18,7 +18,8 @@ import './global.css';
export { DeleteDrawingsCommand } from './commands/commands/delete-drawings.command';
export { GroupSheetDrawingCommand } from './commands/commands/group-sheet-drawing.command';
-export { type IInsertImageCommandParams, InsertFloatImageCommand } from './commands/commands/insert-image.command';
+export { InsertFloatImageCommand } from './commands/commands/insert-image.command';
+export type { IInsertImageCommandParams } from './commands/commands/insert-image.command';
export { MoveDrawingsCommand } from './commands/commands/move-drawings.command';
export { SaveCellImagesCommand } from './commands/commands/save-cell-images.command';
export { UngroupSheetDrawingCommand } from './commands/commands/ungroup-sheet-drawing.command';
@@ -29,19 +30,12 @@ export { SheetsDrawingGroupCopyPasteController } from './controllers/sheet-drawi
export { SheetDrawingUpdateController } from './controllers/sheet-drawing-update.controller';
export { SHEETS_IMAGE_MENU_ID } from './menu/image.menu';
export { UniverSheetsDrawingUIPlugin } from './plugin';
-export {
- BatchSaveImagesService,
- FileNamePart,
- type IBatchSaveImagesConfig,
- IBatchSaveImagesService,
- type ICellImageInfo,
-} from './services/batch-save-images.service';
+export { BatchSaveImagesService, FileNamePart, IBatchSaveImagesService } from './services/batch-save-images.service';
+export type { IBatchSaveImagesConfig, ICellImageInfo } from './services/batch-save-images.service';
export {
calcSheetFloatDomPosition,
- type ICanvasFloatDom,
- type ICanvasFloatDomInfo,
- type IDOMAnchor,
SHEET_FLOAT_DOM_PREFIX,
SheetCanvasFloatDomManagerService,
} from './services/canvas-float-dom-manager.service';
+export type { ICanvasFloatDom, ICanvasFloatDomInfo, IDOMAnchor } from './services/canvas-float-dom-manager.service';
export { SheetDrawingAnchor } from './views/sheet-image-panel/SheetDrawingAnchor';
diff --git a/packages/sheets-drawing/src/index.ts b/packages/sheets-drawing/src/index.ts
index ec84b324cd..ad5d8441bd 100644
--- a/packages/sheets-drawing/src/index.ts
+++ b/packages/sheets-drawing/src/index.ts
@@ -14,15 +14,34 @@
* limitations under the License.
*/
-export { drawingPositionToTransform, transformToAxisAlignPosition, transformToDrawingPosition } from './basics/transform-position';
-export { type IInsertDrawingCommandParams, InsertSheetDrawingCommand } from './commands/commands/insert-sheet-drawing.command';
-export { type IDeleteDrawingCommandParam, type IDeleteDrawingCommandParams, RemoveSheetDrawingCommand } from './commands/commands/remove-sheet-drawing.command';
-export { type ISetDrawingArrangeCommandParams, SetDrawingArrangeCommand } from './commands/commands/set-drawing-arrange.command';
-export { type ISetDrawingCommandParams, SetSheetDrawingCommand } from './commands/commands/set-sheet-drawing.command';
-export { DrawingApplyType, type ISetDrawingApplyMutationParams, SetDrawingApplyMutation } from './commands/mutations/set-drawing-apply.mutation';
+export {
+ drawingPositionToTransform,
+ transformToAxisAlignPosition,
+ transformToDrawingPosition,
+} from './basics/transform-position';
+export { InsertSheetDrawingCommand } from './commands/commands/insert-sheet-drawing.command';
+export type { IInsertDrawingCommandParams } from './commands/commands/insert-sheet-drawing.command';
+export { RemoveSheetDrawingCommand } from './commands/commands/remove-sheet-drawing.command';
+export type {
+ IDeleteDrawingCommandParam,
+ IDeleteDrawingCommandParams,
+} from './commands/commands/remove-sheet-drawing.command';
+export { SetDrawingArrangeCommand } from './commands/commands/set-drawing-arrange.command';
+export type { ISetDrawingArrangeCommandParams } from './commands/commands/set-drawing-arrange.command';
+export { SetSheetDrawingCommand } from './commands/commands/set-sheet-drawing.command';
+export type { ISetDrawingCommandParams } from './commands/commands/set-sheet-drawing.command';
+export { DrawingApplyType, SetDrawingApplyMutation } from './commands/mutations/set-drawing-apply.mutation';
+export type { ISetDrawingApplyMutationParams } from './commands/mutations/set-drawing-apply.mutation';
export { ClearSheetDrawingTransformerOperation } from './commands/operations/clear-drawing-transformer.operation';
export type { IUniverSheetsDrawingConfig } from './config/config';
export { SHEET_DRAWING_PLUGIN } from './controllers/sheet-drawing.controller';
export { UniverSheetsDrawingPlugin } from './plugin';
export { ISheetDrawingService, SheetDrawingAnchorType } from './services/sheet-drawing.service';
-export type { IFloatDomData, ISheetDrawing, ISheetDrawingPosition, ISheetFloatDom, ISheetImage, ISheetShape } from './services/sheet-drawing.service';
+export type {
+ IFloatDomData,
+ ISheetDrawing,
+ ISheetDrawingPosition,
+ ISheetFloatDom,
+ ISheetImage,
+ ISheetShape,
+} from './services/sheet-drawing.service';
diff --git a/packages/sheets-filter-ui/src/menu/sheets-filter.menu.ts b/packages/sheets-filter-ui/src/menu/sheets-filter.menu.ts
index df86102cb5..5686bbe0f2 100644
--- a/packages/sheets-filter-ui/src/menu/sheets-filter.menu.ts
+++ b/packages/sheets-filter-ui/src/menu/sheets-filter.menu.ts
@@ -17,9 +17,17 @@
import type { IAccessor } from '@univerjs/core';
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
import { UniverInstanceType } from '@univerjs/core';
-import { RangeProtectionPermissionViewPoint, WorksheetFilterPermission, WorksheetViewPermission } from '@univerjs/sheets';
-import { ClearSheetsFilterCriteriaCommand, ReCalcSheetsFilterCommand, SheetsFilterService, SmartToggleSheetsFilterCommand } from '@univerjs/sheets-filter';
-
+import {
+ RangeProtectionPermissionViewPoint,
+ WorksheetFilterPermission,
+ WorksheetViewPermission,
+} from '@univerjs/sheets';
+import {
+ ClearSheetsFilterCriteriaCommand,
+ ReCalcSheetsFilterCommand,
+ SheetsFilterService,
+ SmartToggleSheetsFilterCommand,
+} from '@univerjs/sheets-filter';
import { getCurrentRangeDisable$, getObservableWithExclusiveRange$ } from '@univerjs/sheets-ui';
import { getMenuHiddenObservable, MenuItemType } from '@univerjs/ui';
import { map, of, switchMap } from 'rxjs';
diff --git a/packages/sheets-filter/src/commands/mutations/sheets-filter.mutation.ts b/packages/sheets-filter/src/commands/mutations/sheets-filter.mutation.ts
index 68a530fff5..f788c215e4 100644
--- a/packages/sheets-filter/src/commands/mutations/sheets-filter.mutation.ts
+++ b/packages/sheets-filter/src/commands/mutations/sheets-filter.mutation.ts
@@ -17,9 +17,13 @@
import type { IMutation, IRange, Nullable } from '@univerjs/core';
import type { ISheetCommandSharedParams } from '@univerjs/sheets';
import type { IFilterColumn } from '../../models/types';
-
import { CommandType } from '@univerjs/core';
-import { ReCalcSheetsFilterMutationId, RemoveSheetsFilterMutationId, SetSheetsFilterCriteriaMutationId, SetSheetsFilterRangeMutationId } from '../../common/const';
+import {
+ ReCalcSheetsFilterMutationId,
+ RemoveSheetsFilterMutationId,
+ SetSheetsFilterCriteriaMutationId,
+ SetSheetsFilterRangeMutationId,
+} from '../../common/const';
import { SheetsFilterService } from '../../services/sheet-filter.service';
/**
diff --git a/packages/sheets-filter/src/controllers/sheets-filter.controller.ts b/packages/sheets-filter/src/controllers/sheets-filter.controller.ts
index 23464b4900..7653827952 100644
--- a/packages/sheets-filter/src/controllers/sheets-filter.controller.ts
+++ b/packages/sheets-filter/src/controllers/sheets-filter.controller.ts
@@ -14,16 +14,82 @@
* limitations under the License.
*/
-import type { ICellData, ICommandInfo, IMutationInfo, IObjectArrayPrimitiveType, IRange, Nullable, Workbook } from '@univerjs/core';
-import type { EffectRefRangeParams, IAddWorksheetMergeMutationParams, ICopySheetCommandParams, IInsertColCommandParams, IInsertRowCommandParams, IInsertRowMutationParams, IMoveColsCommandParams, IMoveRangeCommandParams, IMoveRowsCommandParams, IRemoveColMutationParams, IRemoveRowsMutationParams, IRemoveSheetCommandParams, ISetRangeValuesMutationParams, ISetWorksheetActiveOperationParams, ISheetCommandSharedParams } from '@univerjs/sheets';
-import type { ISetSheetsFilterCriteriaMutationParams, ISetSheetsFilterRangeMutationParams } from '../commands/mutations/sheets-filter.mutation';
+import type {
+ ICellData,
+ ICommandInfo,
+ IMutationInfo,
+ IObjectArrayPrimitiveType,
+ IRange,
+ Nullable,
+ Workbook,
+} from '@univerjs/core';
+import type {
+ EffectRefRangeParams,
+ IAddWorksheetMergeMutationParams,
+ ICopySheetCommandParams,
+ IInsertColCommandParams,
+ IInsertRowCommandParams,
+ IInsertRowMutationParams,
+ IMoveColsCommandParams,
+ IMoveRangeCommandParams,
+ IMoveRowsCommandParams,
+ IRemoveColMutationParams,
+ IRemoveRowsMutationParams,
+ IRemoveSheetCommandParams,
+ ISetRangeValuesMutationParams,
+ ISetWorksheetActiveOperationParams,
+ ISheetCommandSharedParams,
+} from '@univerjs/sheets';
+import type {
+ ISetSheetsFilterCriteriaMutationParams,
+ ISetSheetsFilterRangeMutationParams,
+} from '../commands/mutations/sheets-filter.mutation';
import type { FilterColumn } from '../models/filter-model';
-
-import { Disposable, DisposableCollection, ICommandService, Inject, IUniverInstanceService, moveMatrixArray, Optional, Rectangle } from '@univerjs/core';
+import {
+ Disposable,
+ DisposableCollection,
+ ICommandService,
+ Inject,
+ IUniverInstanceService,
+ moveMatrixArray,
+ Optional,
+ Rectangle,
+} from '@univerjs/core';
import { DataSyncPrimaryController } from '@univerjs/rpc';
-import { CopySheetCommand, EffectRefRangId, expandToContinuousRange, getSheetCommandTarget, InsertColCommand, InsertRowCommand, InsertRowMutation, INTERCEPTOR_POINT, MoveRangeCommand, MoveRowsCommand, RefRangeService, RemoveColCommand, RemoveRowCommand, RemoveRowMutation, RemoveSheetCommand, SetRangeValuesMutation, SetWorksheetActiveOperation, SheetInterceptorService, ZebraCrossingCacheController } from '@univerjs/sheets';
-import { ClearSheetsFilterCriteriaCommand, ReCalcSheetsFilterCommand, RemoveSheetFilterCommand, SetSheetFilterRangeCommand, SetSheetsFilterCriteriaCommand } from '../commands/commands/sheets-filter.command';
-import { ReCalcSheetsFilterMutation, RemoveSheetsFilterMutation, SetSheetsFilterCriteriaMutation, SetSheetsFilterRangeMutation } from '../commands/mutations/sheets-filter.mutation';
+import {
+ CopySheetCommand,
+ EffectRefRangId,
+ expandToContinuousRange,
+ getSheetCommandTarget,
+ InsertColCommand,
+ InsertRowCommand,
+ InsertRowMutation,
+ INTERCEPTOR_POINT,
+ MoveRangeCommand,
+ MoveRowsCommand,
+ RefRangeService,
+ RemoveColCommand,
+ RemoveRowCommand,
+ RemoveRowMutation,
+ RemoveSheetCommand,
+ SetRangeValuesMutation,
+ SetWorksheetActiveOperation,
+ SheetInterceptorService,
+ ZebraCrossingCacheController,
+} from '@univerjs/sheets';
+import {
+ ClearSheetsFilterCriteriaCommand,
+ ReCalcSheetsFilterCommand,
+ RemoveSheetFilterCommand,
+ SetSheetFilterRangeCommand,
+ SetSheetsFilterCriteriaCommand,
+} from '../commands/commands/sheets-filter.command';
+import {
+ ReCalcSheetsFilterMutation,
+ RemoveSheetsFilterMutation,
+ SetSheetsFilterCriteriaMutation,
+ SetSheetsFilterRangeMutation,
+} from '../commands/mutations/sheets-filter.mutation';
import { SheetsFilterService } from '../services/sheet-filter.service';
import { mergeSetFilterCriteria } from '../utils';
diff --git a/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts b/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts
index 8f1850df21..fde76ea254 100644
--- a/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts
@@ -54,7 +54,6 @@ import {
} from '@univerjs/sheets';
import { UniverSheetsFilterPlugin } from '@univerjs/sheets-filter';
import enUS from '@univerjs/sheets/locale/en-US';
-
import zhCN from '@univerjs/sheets/locale/zh-CN';
import '@univerjs/sheets/facade';
import '@univerjs/sheets-filter/facade';
diff --git a/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts b/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts
index 7b4920d564..85e85e23af 100644
--- a/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts
+++ b/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts
@@ -30,7 +30,17 @@ import {
UniverInstanceType,
} from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
-import { ActiveDirtyManagerService, DefinedNamesService, FormulaDataModel, FunctionService, IActiveDirtyManagerService, IDefinedNamesService, IFunctionService, ISheetRowFilteredService, LexerTreeBuilder } from '@univerjs/engine-formula';
+import {
+ ActiveDirtyManagerService,
+ DefinedNamesService,
+ FormulaDataModel,
+ FunctionService,
+ IActiveDirtyManagerService,
+ IDefinedNamesService,
+ IFunctionService,
+ ISheetRowFilteredService,
+ LexerTreeBuilder,
+} from '@univerjs/engine-formula';
import { SheetRowFilteredService } from '@univerjs/engine-formula/services/sheet-row-filtered.service.js';
import {
RefRangeService,
@@ -42,7 +52,6 @@ import {
} from '@univerjs/sheets';
import { UniverSheetsFilterPlugin } from '@univerjs/sheets-filter';
import enUS from '@univerjs/sheets/locale/en-US';
-
import zhCN from '@univerjs/sheets/locale/zh-CN';
import '@univerjs/sheets/facade';
import '@univerjs/sheets-filter/facade';
diff --git a/packages/sheets-filter/src/facade/f-filter.ts b/packages/sheets-filter/src/facade/f-filter.ts
index 0854a109cf..27d4bb56b8 100644
--- a/packages/sheets-filter/src/facade/f-filter.ts
+++ b/packages/sheets-filter/src/facade/f-filter.ts
@@ -17,9 +17,12 @@
import type { Nullable, Workbook, Worksheet } from '@univerjs/core';
import type { ISheetCommandSharedParams } from '@univerjs/sheets';
import type { FilterModel, IFilterColumn, ISetSheetsFilterCriteriaCommandParams } from '@univerjs/sheets-filter';
-
import { ICommandService, Inject, Injector } from '@univerjs/core';
-import { ClearSheetsFilterCriteriaCommand, RemoveSheetFilterCommand, SetSheetsFilterCriteriaCommand } from '@univerjs/sheets-filter';
+import {
+ ClearSheetsFilterCriteriaCommand,
+ RemoveSheetFilterCommand,
+ SetSheetsFilterCriteriaCommand,
+} from '@univerjs/sheets-filter';
import { FRange } from '@univerjs/sheets/facade';
/**
diff --git a/packages/sheets-filter/src/index.ts b/packages/sheets-filter/src/index.ts
index 133917f9a5..439f9e608d 100644
--- a/packages/sheets-filter/src/index.ts
+++ b/packages/sheets-filter/src/index.ts
@@ -16,22 +16,26 @@
export {
ClearSheetsFilterCriteriaCommand,
- type ISetSheetFilterRangeCommandParams,
- type ISetSheetsFilterCriteriaCommandParams,
ReCalcSheetsFilterCommand,
RemoveSheetFilterCommand,
SetSheetFilterRangeCommand,
SetSheetsFilterCriteriaCommand,
SmartToggleSheetsFilterCommand,
} from './commands/commands/sheets-filter.command';
+export type {
+ ISetSheetFilterRangeCommandParams,
+ ISetSheetsFilterCriteriaCommandParams,
+} from './commands/commands/sheets-filter.command';
export {
- type ISetSheetsFilterCriteriaMutationParams,
- type ISetSheetsFilterRangeMutationParams,
ReCalcSheetsFilterMutation,
RemoveSheetsFilterMutation,
SetSheetsFilterCriteriaMutation,
SetSheetsFilterRangeMutation,
} from './commands/mutations/sheets-filter.mutation';
+export type {
+ ISetSheetsFilterCriteriaMutationParams,
+ ISetSheetsFilterRangeMutationParams,
+} from './commands/mutations/sheets-filter.mutation';
export { FILTER_MUTATIONS } from './common/const';
export type { IUniverSheetsFilterConfig } from './config/config';
export { SheetsFilterSyncController } from './controllers/sheets-filter-sync.controller';
@@ -45,7 +49,14 @@ export {
notEquals,
} from './models/custom-filters';
export { FilterColumn, FilterModel } from './models/filter-model';
-export type { IAutoFilter, IColorFilters, ICustomFilter, ICustomFilters, IFilterColumn, IFilters } from './models/types';
+export type {
+ IAutoFilter,
+ IColorFilters,
+ ICustomFilter,
+ ICustomFilters,
+ IFilterColumn,
+ IFilters,
+} from './models/types';
export { CustomFilterOperator, FilterBy } from './models/types';
export { UniverSheetsFilterPlugin } from './plugin';
export { SHEET_FILTER_SNAPSHOT_ID, SheetsFilterService } from './services/sheet-filter.service';
diff --git a/packages/sheets-find-replace/src/controllers/__tests__/sheet-find-model.navigation.spec.ts b/packages/sheets-find-replace/src/controllers/__tests__/sheet-find-model.navigation.spec.ts
index 0b3ac0c0a0..bf8f290ae0 100644
--- a/packages/sheets-find-replace/src/controllers/__tests__/sheet-find-model.navigation.spec.ts
+++ b/packages/sheets-find-replace/src/controllers/__tests__/sheet-find-model.navigation.spec.ts
@@ -18,7 +18,6 @@ import type { IFindQuery } from '@univerjs/find-replace';
import { FindBy, FindDirection, FindScope } from '@univerjs/find-replace';
import { Subject } from 'rxjs';
import { describe, expect, it, vi } from 'vitest';
-
import { SheetFindModel, SheetsFindReplaceController } from '../sheet-find-replace.controller';
describe('SheetFindModel navigation', () => {
diff --git a/packages/sheets-formula-ui/src/commands/operations/help-function.operation.ts b/packages/sheets-formula-ui/src/commands/operations/help-function.operation.ts
index 1d9fbb1f1d..77b718ed9a 100644
--- a/packages/sheets-formula-ui/src/commands/operations/help-function.operation.ts
+++ b/packages/sheets-formula-ui/src/commands/operations/help-function.operation.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import type { IHelpFunctionOperationParams } from '../../services/prompt.service';
-
import { CommandType } from '@univerjs/core';
import { IFormulaPromptService } from '../../services/prompt.service';
diff --git a/packages/sheets-formula-ui/src/commands/operations/more-functions.operation.ts b/packages/sheets-formula-ui/src/commands/operations/more-functions.operation.ts
index f51db5fbd3..018f77f261 100644
--- a/packages/sheets-formula-ui/src/commands/operations/more-functions.operation.ts
+++ b/packages/sheets-formula-ui/src/commands/operations/more-functions.operation.ts
@@ -17,7 +17,6 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import { CommandType } from '@univerjs/core';
import { ISidebarService } from '@univerjs/ui';
-
import { MORE_FUNCTIONS_COMPONENT } from '../../views/more-functions/interface';
export const MoreFunctionsOperation: ICommand = {
diff --git a/packages/sheets-formula-ui/src/commands/operations/search-function.operation.ts b/packages/sheets-formula-ui/src/commands/operations/search-function.operation.ts
index e387d25600..5ff74bd739 100644
--- a/packages/sheets-formula-ui/src/commands/operations/search-function.operation.ts
+++ b/packages/sheets-formula-ui/src/commands/operations/search-function.operation.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import type { ISearchFunctionOperationParams } from '../../services/prompt.service';
-
import { CommandType } from '@univerjs/core';
import { IFormulaPromptService } from '../../services/prompt.service';
diff --git a/packages/sheets-formula-ui/src/facade/__tests__/create-formula-test-bed.ts b/packages/sheets-formula-ui/src/facade/__tests__/create-formula-test-bed.ts
index 9b3a928b91..1222a3d328 100644
--- a/packages/sheets-formula-ui/src/facade/__tests__/create-formula-test-bed.ts
+++ b/packages/sheets-formula-ui/src/facade/__tests__/create-formula-test-bed.ts
@@ -28,7 +28,49 @@ import {
UniverInstanceType,
} from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
-import { ActiveDirtyManagerService, AstRootNodeFactory, AstTreeBuilder, CalculateController, CalculateFormulaService, DefinedNamesService, DependencyManagerService, FeatureCalculationManagerService, FormulaCurrentConfigService, FormulaDataModel, FormulaDependencyGenerator, FormulaRuntimeService, FunctionNodeFactory, FunctionService, HyperlinkEngineFormulaService, IActiveDirtyManagerService, ICalculateFormulaService, IDefinedNamesService, IDependencyManagerService, IFeatureCalculationManagerService, IFormulaCurrentConfigService, IFormulaRuntimeService, IFunctionService, IHyperlinkEngineFormulaService, Interpreter, IOtherFormulaManagerService, ISheetRowFilteredService, ISuperTableService, LambdaNodeFactory, LambdaParameterNodeFactory, Lexer, LexerTreeBuilder, OperatorNodeFactory, OtherFormulaManagerService, PrefixNodeFactory, ReferenceNodeFactory, SheetRowFilteredService, SuffixNodeFactory, SuperTableService, UnionNodeFactory, ValueNodeFactory } from '@univerjs/engine-formula';
+import {
+ ActiveDirtyManagerService,
+ AstRootNodeFactory,
+ AstTreeBuilder,
+ CalculateController,
+ CalculateFormulaService,
+ DefinedNamesService,
+ DependencyManagerService,
+ FeatureCalculationManagerService,
+ FormulaCurrentConfigService,
+ FormulaDataModel,
+ FormulaDependencyGenerator,
+ FormulaRuntimeService,
+ FunctionNodeFactory,
+ FunctionService,
+ HyperlinkEngineFormulaService,
+ IActiveDirtyManagerService,
+ ICalculateFormulaService,
+ IDefinedNamesService,
+ IDependencyManagerService,
+ IFeatureCalculationManagerService,
+ IFormulaCurrentConfigService,
+ IFormulaRuntimeService,
+ IFunctionService,
+ IHyperlinkEngineFormulaService,
+ Interpreter,
+ IOtherFormulaManagerService,
+ ISheetRowFilteredService,
+ ISuperTableService,
+ LambdaNodeFactory,
+ LambdaParameterNodeFactory,
+ Lexer,
+ LexerTreeBuilder,
+ OperatorNodeFactory,
+ OtherFormulaManagerService,
+ PrefixNodeFactory,
+ ReferenceNodeFactory,
+ SheetRowFilteredService,
+ SuffixNodeFactory,
+ SuperTableService,
+ UnionNodeFactory,
+ ValueNodeFactory,
+} from '@univerjs/engine-formula';
import { IRenderManagerService, RenderManagerService } from '@univerjs/engine-render';
import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
import {
@@ -39,7 +81,6 @@ import {
} from '@univerjs/sheets-formula';
import enUS from '@univerjs/sheets-formula-ui/locale/en-US';
import zhCN from '@univerjs/sheets-formula-ui/locale/zh-CN';
-
import '@univerjs/engine-formula/facade';
import '@univerjs/sheets/facade';
import '@univerjs/sheets-formula/facade';
diff --git a/packages/sheets-formula-ui/src/index.ts b/packages/sheets-formula-ui/src/index.ts
index 389965ab50..3556a1cc4c 100644
--- a/packages/sheets-formula-ui/src/index.ts
+++ b/packages/sheets-formula-ui/src/index.ts
@@ -16,7 +16,10 @@
import './global.css';
-export { SheetCopyFormulaOnlyCommand, SheetOnlyPasteFormulaCommand } from './commands/commands/formula-clipboard.command';
+export {
+ SheetCopyFormulaOnlyCommand,
+ SheetOnlyPasteFormulaCommand,
+} from './commands/commands/formula-clipboard.command';
export { HelpFunctionOperation } from './commands/operations/help-function.operation';
export { InsertFunctionOperation } from './commands/operations/insert-function.operation';
export { MoreFunctionsOperation } from './commands/operations/more-functions.operation';
@@ -26,7 +29,10 @@ export type { IUniverSheetsFormulaUIConfig } from './config/config';
export { FormulaReorderController } from './controllers/formula-reorder.controller';
export { UniverSheetsFormulaUIPlugin } from './plugin';
export { FORMULA_PROMPT_ACTIVATED } from './services/prompt.service';
-export { GlobalRangeSelectorService, type IShowRangeSelectorDialogOptions } from './services/range-selector.service';
+export { GlobalRangeSelectorService } from './services/range-selector.service';
+export type { IShowRangeSelectorDialogOptions } from './services/range-selector.service';
export { RefSelectionsRenderService } from './services/render-services/ref-selections.render.service';
-export { FormulaEditor, type IFormulaEditorRef } from './views/formula-editor/index';
-export { type IRangeSelectorInstance, type IRangeSelectorProps, RangeSelector } from './views/range-selector/index';
+export { FormulaEditor } from './views/formula-editor/index';
+export type { IFormulaEditorRef } from './views/formula-editor/index';
+export { RangeSelector } from './views/range-selector/index';
+export type { IRangeSelectorInstance, IRangeSelectorProps } from './views/range-selector/index';
diff --git a/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-refactor-effect.ts b/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-refactor-effect.ts
index 2383472506..7beca8328e 100644
--- a/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-refactor-effect.ts
+++ b/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-refactor-effect.ts
@@ -19,7 +19,6 @@ import { EDITOR_ACTIVATED, IContextService, IUniverInstanceService, UniverInstan
import { IRenderManagerService } from '@univerjs/engine-render';
import { IRefSelectionsService, REF_SELECTIONS_ENABLED } from '@univerjs/sheets';
import { IContextMenuService, useDependency, useObservable } from '@univerjs/ui';
-
import { useEffect, useLayoutEffect, useMemo } from 'react';
import { RefSelectionsRenderService } from '../../../services/render-services/ref-selections.render.service';
diff --git a/packages/sheets-formula/src/commands/commands/__tests__/quick-sum.command.spec.ts b/packages/sheets-formula/src/commands/commands/__tests__/quick-sum.command.spec.ts
index 59abd133c3..dd760fc392 100644
--- a/packages/sheets-formula/src/commands/commands/__tests__/quick-sum.command.spec.ts
+++ b/packages/sheets-formula/src/commands/commands/__tests__/quick-sum.command.spec.ts
@@ -18,7 +18,6 @@ import type { IAccessor, IWorkbookData } from '@univerjs/core';
import { CellValueType, ICommandService, IUniverInstanceService, LocaleType } from '@univerjs/core';
import { SetRangeValuesCommand, SetSelectionsOperation, SheetsSelectionsService } from '@univerjs/sheets';
import { afterEach, describe, expect, it, vi } from 'vitest';
-
import { createFacadeTestBed } from '../../../facade/__tests__/create-test-bed';
import { QuickSumCommand } from '../quick-sum.command';
diff --git a/packages/sheets-formula/src/controllers/__tests__/active-dirty.controller.spec.ts b/packages/sheets-formula/src/controllers/__tests__/active-dirty.controller.spec.ts
index bb1f3d363b..7db7306504 100644
--- a/packages/sheets-formula/src/controllers/__tests__/active-dirty.controller.spec.ts
+++ b/packages/sheets-formula/src/controllers/__tests__/active-dirty.controller.spec.ts
@@ -40,7 +40,6 @@ import {
SetStyleCommand,
} from '@univerjs/sheets';
import { afterEach, describe, expect, it } from 'vitest';
-
import { createFacadeTestBed } from '../../facade/__tests__/create-test-bed';
import { ActiveDirtyController } from '../active-dirty.controller';
diff --git a/packages/sheets-formula/src/controllers/__tests__/array-formula-cell-interceptor.controller.spec.ts b/packages/sheets-formula/src/controllers/__tests__/array-formula-cell-interceptor.controller.spec.ts
index 1b4d77b85d..8982e9beec 100644
--- a/packages/sheets-formula/src/controllers/__tests__/array-formula-cell-interceptor.controller.spec.ts
+++ b/packages/sheets-formula/src/controllers/__tests__/array-formula-cell-interceptor.controller.spec.ts
@@ -33,7 +33,6 @@ import {
} from '@univerjs/engine-formula';
import { INTERCEPTOR_POINT, SetRangeValuesMutation, SheetInterceptorService } from '@univerjs/sheets';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
-
import { PLUGIN_CONFIG_KEY_BASE } from '../../config/config';
import { createFacadeTestBed } from '../../facade/__tests__/create-test-bed';
import { ArrayFormulaCellInterceptorController } from '../array-formula-cell-interceptor.controller';
diff --git a/packages/sheets-formula/src/controllers/__tests__/array-formula-spill.worker.spec.ts b/packages/sheets-formula/src/controllers/__tests__/array-formula-spill.worker.spec.ts
index 47781edf96..fa088e2b69 100644
--- a/packages/sheets-formula/src/controllers/__tests__/array-formula-spill.worker.spec.ts
+++ b/packages/sheets-formula/src/controllers/__tests__/array-formula-spill.worker.spec.ts
@@ -55,7 +55,6 @@ import { ReplaySubject } from 'rxjs';
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import formulaEnUS from '../../locale/en-US';
import { UniverRemoteSheetsFormulaPlugin, UniverSheetsFormulaPlugin } from '../../plugin';
-
import '@univerjs/engine-formula/facade';
const unitId = 'test';
diff --git a/packages/sheets-formula/src/controllers/__tests__/defined-name.controller.spec.ts b/packages/sheets-formula/src/controllers/__tests__/defined-name.controller.spec.ts
index 5e0d2e8cd7..bf95a86bc8 100644
--- a/packages/sheets-formula/src/controllers/__tests__/defined-name.controller.spec.ts
+++ b/packages/sheets-formula/src/controllers/__tests__/defined-name.controller.spec.ts
@@ -17,10 +17,14 @@
import type { Dependency, IWorkbookData } from '@univerjs/core';
import type { ITestBed } from '../../facade/__tests__/create-test-bed';
import { ICommandService, IUniverInstanceService, LocaleType, UniverInstanceType } from '@univerjs/core';
-import { FunctionType, IDefinedNamesService, RemoveDefinedNameMutation, SetDefinedNameMutation } from '@univerjs/engine-formula';
+import {
+ FunctionType,
+ IDefinedNamesService,
+ RemoveDefinedNameMutation,
+ SetDefinedNameMutation,
+} from '@univerjs/engine-formula';
import { SCOPE_WORKBOOK_VALUE_DEFINED_NAME, SetWorksheetActiveOperation } from '@univerjs/sheets';
import { afterEach, describe, expect, it } from 'vitest';
-
import { createFacadeTestBed } from '../../facade/__tests__/create-test-bed';
import { DescriptionService, IDescriptionService } from '../../services/description.service';
import { DefinedNameController } from '../defined-name.controller';
diff --git a/packages/sheets-formula/src/facade/__tests__/create-test-bed.ts b/packages/sheets-formula/src/facade/__tests__/create-test-bed.ts
index 174f6459a0..53f2112ca4 100644
--- a/packages/sheets-formula/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-formula/src/facade/__tests__/create-test-bed.ts
@@ -31,7 +31,14 @@ import {
UniverInstanceType,
} from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
-import { DefinedNamesService, FormulaDataModel, FunctionService, IDefinedNamesService, IFunctionService, LexerTreeBuilder } from '@univerjs/engine-formula';
+import {
+ DefinedNamesService,
+ FormulaDataModel,
+ FunctionService,
+ IDefinedNamesService,
+ IFunctionService,
+ LexerTreeBuilder,
+} from '@univerjs/engine-formula';
import { Engine, IRenderingEngine, IRenderManagerService, RenderManagerService } from '@univerjs/engine-render';
import {
RangeProtectionRuleModel,
@@ -46,7 +53,6 @@ import {
} from '@univerjs/sheets';
import enUS from '@univerjs/sheets/locale/en-US';
import zhCN from '@univerjs/sheets/locale/zh-CN';
-
import '@univerjs/sheets/facade';
import '../f-workbook';
import '../f-range';
diff --git a/packages/sheets-formula/src/facade/__tests__/f-formula.spec.ts b/packages/sheets-formula/src/facade/__tests__/f-formula.spec.ts
index 2edc870118..4a9ee37a65 100644
--- a/packages/sheets-formula/src/facade/__tests__/f-formula.spec.ts
+++ b/packages/sheets-formula/src/facade/__tests__/f-formula.spec.ts
@@ -41,7 +41,6 @@ import {
} from '../../index';
import { FormulaCalculationSessionService } from '../../services/formula-calculation-session.service';
import { createFacadeTestBed } from './create-test-bed';
-
import '@univerjs/engine-formula/facade';
import '@univerjs/sheets/facade';
import '../../facade';
diff --git a/packages/sheets-formula/src/index.ts b/packages/sheets-formula/src/index.ts
index 17c7fc3d2a..9eebe1120d 100644
--- a/packages/sheets-formula/src/index.ts
+++ b/packages/sheets-formula/src/index.ts
@@ -14,7 +14,8 @@
* limitations under the License.
*/
-export { type IInsertFunction, type IInsertFunctionCommandParams, InsertFunctionCommand } from './commands/commands/insert-function.command';
+export { InsertFunctionCommand } from './commands/commands/insert-function.command';
+export type { IInsertFunction, IInsertFunctionCommandParams } from './commands/commands/insert-function.command';
export { QuickSumCommand } from './commands/commands/quick-sum.command';
export { CalculationMode, PLUGIN_CONFIG_KEY_BASE } from './config/config';
export type { IUniverSheetsFormulaBaseConfig, IUniverSheetsFormulaRemoteConfig } from './config/config';
@@ -30,9 +31,16 @@ export type { ISearchItem, ISearchItemWithType } from './services/description.se
export { FormulaCalculationSessionService } from './services/formula-calculation-session.service';
export type { IFormulaCalculationSessionState } from './services/formula-calculation-session.service';
export { FormulaRefRangeService } from './services/formula-ref-range.service';
-export type { IRegisterAsyncFunction, IRegisterFunction, ISingleFunctionRegisterParams } from './services/register-function.service';
+export type {
+ IRegisterAsyncFunction,
+ IRegisterFunction,
+ ISingleFunctionRegisterParams,
+} from './services/register-function.service';
export type { IRegisterFunctionParams, IUnregisterFunctionParams } from './services/register-function.service';
export { RegisterFunctionService } from './services/register-function.service';
export { IRegisterFunctionService } from './services/register-function.service';
-export { IRemoteRegisterFunctionService, RemoteRegisterFunctionService } from './services/remote/remote-register-function.service';
+export {
+ IRemoteRegisterFunctionService,
+ RemoteRegisterFunctionService,
+} from './services/remote/remote-register-function.service';
export { calculateFormula } from './util/calculate';
diff --git a/packages/sheets-formula/src/services/function-list/function-list.ts b/packages/sheets-formula/src/services/function-list/function-list.ts
index 278c4764f6..39988c9236 100644
--- a/packages/sheets-formula/src/services/function-list/function-list.ts
+++ b/packages/sheets-formula/src/services/function-list/function-list.ts
@@ -15,7 +15,6 @@
*/
import type { IFunctionInfo } from '@univerjs/engine-formula';
-
import { FUNCTION_LIST_ARRAY } from './array';
import { FUNCTION_LIST_COMPATIBILITY } from './compatibility';
import { FUNCTION_LIST_CUBE } from './cube';
diff --git a/packages/sheets-formula/src/util/__tests__/calculate.spec.ts b/packages/sheets-formula/src/util/__tests__/calculate.spec.ts
index 8f4233cd6a..4ff79f0f30 100644
--- a/packages/sheets-formula/src/util/__tests__/calculate.spec.ts
+++ b/packages/sheets-formula/src/util/__tests__/calculate.spec.ts
@@ -18,7 +18,6 @@ import type { Injector } from '@univerjs/core';
import type { ISheetData } from '@univerjs/engine-formula';
import { AstTreeBuilder, IFormulaCurrentConfigService, Interpreter, Lexer } from '@univerjs/engine-formula';
import { describe, expect, it, vi } from 'vitest';
-
import { calculateFormula } from '../calculate';
describe('calculateFormula', () => {
diff --git a/packages/sheets-hyper-link-ui/src/controllers/__tests__/hyper-link-permission.controller.spec.ts b/packages/sheets-hyper-link-ui/src/controllers/__tests__/hyper-link-permission.controller.spec.ts
index eba8a68304..f5aaaa084e 100644
--- a/packages/sheets-hyper-link-ui/src/controllers/__tests__/hyper-link-permission.controller.spec.ts
+++ b/packages/sheets-hyper-link-ui/src/controllers/__tests__/hyper-link-permission.controller.spec.ts
@@ -15,7 +15,6 @@
*/
import { beforeEach, describe, expect, it, vi } from 'vitest';
-
import { InsertLinkShortcut } from '../../menu/menu';
import { SheetsHyperLinkPermissionController } from '../hyper-link-permission.controller';
diff --git a/packages/sheets-hyper-link-ui/src/index.ts b/packages/sheets-hyper-link-ui/src/index.ts
index 93a66c1344..0548d2d8c7 100644
--- a/packages/sheets-hyper-link-ui/src/index.ts
+++ b/packages/sheets-hyper-link-ui/src/index.ts
@@ -19,13 +19,14 @@ import './global.css';
export {
CloseHyperLinkPopupOperation,
InsertHyperLinkOperation,
- type IOpenHyperLinkEditPanelOperationParams,
OpenHyperLinkEditPanelOperation,
} from './commands/operations/popup.operations';
+export type { IOpenHyperLinkEditPanelOperationParams } from './commands/operations/popup.operations';
export type { IUniverSheetsHyperLinkUIConfig } from './config/config';
export { SheetsHyperLinkCopyPasteController } from './controllers/copy-paste.controller';
export { InsertLinkShortcut } from './menu/menu';
export { UniverSheetsHyperLinkUIPlugin } from './plugin';
export { SheetsHyperLinkPopupService } from './services/popup.service';
export { SheetsHyperLinkResolverService } from './services/resolver.service';
-export { type ICustomHyperLinkView, SheetsHyperLinkSidePanelService } from './services/side-panel.service';
+export { SheetsHyperLinkSidePanelService } from './services/side-panel.service';
+export type { ICustomHyperLinkView } from './services/side-panel.service';
diff --git a/packages/sheets-hyper-link/src/index.ts b/packages/sheets-hyper-link/src/index.ts
index 70a4fc91fd..3204944d29 100644
--- a/packages/sheets-hyper-link/src/index.ts
+++ b/packages/sheets-hyper-link/src/index.ts
@@ -14,21 +14,35 @@
* limitations under the License.
*/
-export { AddHyperLinkCommand, AddRichHyperLinkCommand, type IAddHyperLinkCommandParams, type IAddRichHyperLinkCommandParams } from './commands/commands/add-hyper-link.command';
-export { CancelHyperLinkCommand, CancelRichHyperLinkCommand, type ICancelHyperLinkCommandParams, type ICancelRichHyperLinkCommandParams } from './commands/commands/remove-hyper-link.command';
-export { type IUpdateHyperLinkCommandParams, type IUpdateRichHyperLinkCommandParams, UpdateHyperLinkCommand, UpdateRichHyperLinkCommand } from './commands/commands/update-hyper-link.command';
-export { AddHyperLinkMutation, type IAddHyperLinkMutationParams } from './commands/mutations/add-hyper-link.mutation';
-export { type IRemoveHyperLinkMutationParams, RemoveHyperLinkMutation } from './commands/mutations/remove-hyper-link.mutation';
-export {
- type IUpdateHyperLinkMutationParams,
- type IUpdateHyperLinkRefMutationParams,
- UpdateHyperLinkMutation,
- UpdateHyperLinkRefMutation,
+export { AddHyperLinkCommand, AddRichHyperLinkCommand } from './commands/commands/add-hyper-link.command';
+export type {
+ IAddHyperLinkCommandParams,
+ IAddRichHyperLinkCommandParams,
+} from './commands/commands/add-hyper-link.command';
+export { CancelHyperLinkCommand, CancelRichHyperLinkCommand } from './commands/commands/remove-hyper-link.command';
+export type {
+ ICancelHyperLinkCommandParams,
+ ICancelRichHyperLinkCommandParams,
+} from './commands/commands/remove-hyper-link.command';
+export { UpdateHyperLinkCommand, UpdateRichHyperLinkCommand } from './commands/commands/update-hyper-link.command';
+export type {
+ IUpdateHyperLinkCommandParams,
+ IUpdateRichHyperLinkCommandParams,
+} from './commands/commands/update-hyper-link.command';
+export { AddHyperLinkMutation } from './commands/mutations/add-hyper-link.mutation';
+export type { IAddHyperLinkMutationParams } from './commands/mutations/add-hyper-link.mutation';
+export { RemoveHyperLinkMutation } from './commands/mutations/remove-hyper-link.mutation';
+export type { IRemoveHyperLinkMutationParams } from './commands/mutations/remove-hyper-link.mutation';
+export { UpdateHyperLinkMutation, UpdateHyperLinkRefMutation } from './commands/mutations/update-hyper-link.mutation';
+export type {
+ IUpdateHyperLinkMutationParams,
+ IUpdateHyperLinkRefMutationParams,
} from './commands/mutations/update-hyper-link.mutation';
export type { IUniverSheetsHyperLinkConfig } from './config/config';
export { HyperLinkModel } from './models/hyper-link.model';
export { UniverSheetsHyperLinkPlugin } from './plugin';
-export { type ISheetHyperLinkInfo, type ISheetUrlParams, SheetsHyperLinkParserService } from './services/parser.service';
+export { SheetsHyperLinkParserService } from './services/parser.service';
+export type { ISheetHyperLinkInfo, ISheetUrlParams } from './services/parser.service';
export { ERROR_RANGE } from './types/const';
export { SheetHyperLinkType } from './types/enums/hyper-link-type';
export type { ICellLinkContent, ISheetHyperLink } from './types/interfaces/i-hyper-link';
diff --git a/packages/sheets-numfmt/src/index.ts b/packages/sheets-numfmt/src/index.ts
index d4d3838d6c..9c63ab28a9 100644
--- a/packages/sheets-numfmt/src/index.ts
+++ b/packages/sheets-numfmt/src/index.ts
@@ -14,11 +14,17 @@
* limitations under the License.
*/
-export { getCurrencyFormat, getCurrencySymbolByLocale, getCurrencySymbolIconByLocale, localeCurrencySymbolMap } from './base/const/currency-symbols';
+export {
+ getCurrencyFormat,
+ getCurrencySymbolByLocale,
+ getCurrencySymbolIconByLocale,
+ localeCurrencySymbolMap,
+} from './base/const/currency-symbols';
export { CURRENCYFORMAT, DATEFMTLISG, NUMBERFORMAT } from './base/const/formatdetail';
export { AddDecimalCommand } from './commands/commands/add-decimal.command';
export { SetCurrencyCommand } from './commands/commands/set-currency.command';
-export { type ISetNumfmtCommandParams, SetNumfmtCommand } from './commands/commands/set-numfmt.command';
+export { SetNumfmtCommand } from './commands/commands/set-numfmt.command';
+export type { ISetNumfmtCommandParams } from './commands/commands/set-numfmt.command';
export { SetPercentCommand } from './commands/commands/set-percent.command';
export { SubtractDecimalCommand } from './commands/commands/subtract-decimal.command';
export { SHEETS_NUMFMT_PLUGIN_CONFIG_KEY } from './config/config';
@@ -27,5 +33,10 @@ export { SheetsNumfmtCellContentController } from './controllers/numfmt-cell-con
export { UniverSheetsNumfmtPlugin } from './plugin';
export { getCurrencyType } from './utils/currency';
export { getDecimalFromPattern, getDecimalString, isPatternHasDecimal, setPatternDecimal } from './utils/decimal';
-export { getCurrencyFormatOptions, getCurrencyOptions, getDateFormatOptions, getNumberFormatOptions } from './utils/options';
+export {
+ getCurrencyFormatOptions,
+ getCurrencyOptions,
+ getDateFormatOptions,
+ getNumberFormatOptions,
+} from './utils/options';
export { getPatternPreview, getPatternPreviewIgnoreGeneral, getPatternType } from './utils/pattern';
diff --git a/packages/sheets-sort/src/controllers/sheets-sort.controller.ts b/packages/sheets-sort/src/controllers/sheets-sort.controller.ts
index 4ff7903346..15aa32059c 100644
--- a/packages/sheets-sort/src/controllers/sheets-sort.controller.ts
+++ b/packages/sheets-sort/src/controllers/sheets-sort.controller.ts
@@ -16,7 +16,6 @@
import type { ICellData, Nullable } from '@univerjs/core';
import type { ICellValueCompareFn } from '../commands/commands/sheets-sort.command';
-
import { CellValueType, Disposable, ICommandService, Inject } from '@univerjs/core';
import { SortRangeCommand } from '../commands/commands/sheets-sort.command';
import { SheetsSortService } from '../services/sheets-sort.service';
diff --git a/packages/sheets-sort/src/index.ts b/packages/sheets-sort/src/index.ts
index 0e6f8bc764..96d90ee740 100644
--- a/packages/sheets-sort/src/index.ts
+++ b/packages/sheets-sort/src/index.ts
@@ -14,9 +14,11 @@
* limitations under the License.
*/
-export { type ISortRangeCommandParams, SortRangeCommand } from './commands/commands/sheets-sort.command';
+export { SortRangeCommand } from './commands/commands/sheets-sort.command';
+export type { ISortRangeCommandParams } from './commands/commands/sheets-sort.command';
export type { IUniverSheetsSortConfig } from './config/config';
export { SheetsSortController } from './controllers/sheets-sort.controller';
export { UniverSheetsSortPlugin } from './plugin';
-export { type IOrderRule, type ISortOption, SortType } from './services/interface';
+export { SortType } from './services/interface';
+export type { IOrderRule, ISortOption } from './services/interface';
export { SheetsSortService } from './services/sheets-sort.service';
diff --git a/packages/sheets-table-ui/src/controllers/sheet-table-render.controller.ts b/packages/sheets-table-ui/src/controllers/sheet-table-render.controller.ts
index 0fbb75c5d5..9660230113 100644
--- a/packages/sheets-table-ui/src/controllers/sheet-table-render.controller.ts
+++ b/packages/sheets-table-ui/src/controllers/sheet-table-render.controller.ts
@@ -15,7 +15,6 @@
*/
import type { Workbook } from '@univerjs/core';
-
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
import { Inject, Injector, RxDisposable } from '@univerjs/core';
import { TableManager } from '@univerjs/sheets-table';
diff --git a/packages/sheets-table/src/commands/commands/__tests__/sheet-table-row-col.command.spec.ts b/packages/sheets-table/src/commands/commands/__tests__/sheet-table-row-col.command.spec.ts
index 32fe83460a..28b5112ce0 100644
--- a/packages/sheets-table/src/commands/commands/__tests__/sheet-table-row-col.command.spec.ts
+++ b/packages/sheets-table/src/commands/commands/__tests__/sheet-table-row-col.command.spec.ts
@@ -16,7 +16,6 @@
import { ICommandService, IUndoRedoService, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
import { MoveRangeMutation, SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
-
import { describe, expect, it, vi } from 'vitest';
import { SheetsTableController } from '../../../controllers/sheets-table.controller';
import { TableManager } from '../../../models/table-manager';
diff --git a/packages/sheets-table/src/controllers/sheet-table-theme.controller.ts b/packages/sheets-table/src/controllers/sheet-table-theme.controller.ts
index 4af557ce01..6efa48e9af 100644
--- a/packages/sheets-table/src/controllers/sheet-table-theme.controller.ts
+++ b/packages/sheets-table/src/controllers/sheet-table-theme.controller.ts
@@ -15,9 +15,7 @@
*/
import type { ITableDefaultThemeStyle, IUniverSheetsTableConfig } from '../config/config';
-
import { Disposable, IConfigService, Inject } from '@univerjs/core';
-
import { RangeThemeStyle, SheetRangeThemeModel, SheetRangeThemeService } from '@univerjs/sheets';
import { SHEETS_TABLE_PLUGIN_CONFIG_KEY } from '../config/config';
import { TableManager } from '../models/table-manager';
diff --git a/packages/sheets-ui/src/controllers/editor/__tests__/end-edit.controller.spec.ts b/packages/sheets-ui/src/controllers/editor/__tests__/end-edit.controller.spec.ts
deleted file mode 100644
index f10b9387ab..0000000000
--- a/packages/sheets-ui/src/controllers/editor/__tests__/end-edit.controller.spec.ts
+++ /dev/null
@@ -1,718 +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 type { ICellData, IDocumentData, Univer, Workbook } from '@univerjs/core';
-import type { IFunctionService } from '@univerjs/engine-formula';
-import { CellValueType, DEFAULT_TEXT_FORMAT_EXCEL, DocumentFlavor, IConfigService, IContextService, Injector, LocaleService, LocaleType, Tools } from '@univerjs/core';
-import { LexerTreeBuilder } from '@univerjs/engine-formula';
-import { SpreadsheetSkeleton } from '@univerjs/engine-render';
-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
-import { normalizeString } from '../../utils/char-tools';
-import { getCellDataByInput, isRichText } from '../editing.render-controller';
-import { createTestBed } from './create-test-bed';
-import { IMockFunctionService, MockFunctionService } from './mock-function.service';
-
-const richTextDemo: IDocumentData = {
- id: 'd',
- body: {
- dataStream: 'Instructions: ①Project division - Fill in the specific division of labor after the project is disassembled: ②Responsible Person - Enter the responsible person\'s name here: ③Date-The specific execution time of the project (detailed to the date of a certain month), and the gray color block marks the planned real-time time of the division of labor of the project (for example, the specific execution time of [regional scene model arrangement and construction] is the 2 days marked in gray. \r\n',
- textRuns: [
- {
- st: 0,
- ed: 488,
- ts: {
- cl: {
- rgb: 'rgb(92,92,92)',
- },
- },
- },
- ],
- paragraphs: [
- { paragraphId: 'para_sheets_ui_fixture_2', startIndex: 489, paragraphStyle: {
- horizontalAlign: 0,
- spaceAbove: { v: 10 },
- lineSpacing: 1.2,
- } },
- ],
- },
- documentStyle: {
- pageSize: {
- width: Number.POSITIVE_INFINITY,
- height: Number.POSITIVE_INFINITY,
- },
- documentFlavor: DocumentFlavor.UNSPECIFIED,
- renderConfig: {
- centerAngle: 0,
- horizontalAlign: 0,
- vertexAngle: 0,
- verticalAlign: 0,
- wrapStrategy: 0,
- zeroWidthParagraphBreak: 1,
- },
- marginTop: 0,
- marginBottom: 2,
- marginRight: 2,
- marginLeft: 2,
- paragraphLineGapDefault: 0,
- },
-};
-
-vi.mock('@univerjs/engine-formula', async () => {
- const actual = await vi.importActual('@univerjs/engine-formula');
- const { IMockFunctionService, MockFunctionService } = await import(
- './mock-function.service'
- );
-
- return {
- ...actual,
- IMockFunctionService,
- MockFunctionService,
- };
-});
-
-describe('Test EndEditController', () => {
- let univer: Univer;
- let workbook: Workbook;
- let get: Injector['get'];
- let localeService: LocaleService;
- let contextService: IContextService;
- let lexerTreeBuilder: LexerTreeBuilder;
- let spreadsheetSkeleton: SpreadsheetSkeleton;
- let configService: IConfigService;
- let getCellDataByInputCell: (cell: ICellData, inputCell: ICellData) => ICellData | null;
- let normalizeStringByLexer: (str: string) => string;
-
- beforeEach(() => {
- const testBed = createTestBed(undefined, [
- [IMockFunctionService, { useClass: MockFunctionService }],
- ]);
-
- univer = testBed.univer;
- workbook = testBed.sheet;
- get = testBed.get;
-
- localeService = get(LocaleService);
- contextService = get(IContextService);
- lexerTreeBuilder = new LexerTreeBuilder();
- configService = get(IConfigService);
- const injector = get(Injector);
-
- const worksheet = workbook.getActiveSheet()!;
- spreadsheetSkeleton = new SpreadsheetSkeleton(
- worksheet,
- workbook.getStyles(),
- localeService,
- contextService,
- configService,
- injector
- );
-
- getCellDataByInputCell = (cell: ICellData, inputCell: ICellData) => {
- const documentLayoutObject = spreadsheetSkeleton.getCellDocumentModelWithFormula(inputCell);
- if (!documentLayoutObject) {
- throw new Error('documentLayoutObject is undefined');
- }
-
- return getCellDataByInput(
- cell,
- documentLayoutObject.documentModel?.getSnapshot(),
- lexerTreeBuilder,
- localeService,
- get(IMockFunctionService) as IFunctionService,
- workbook.getStyles()
- );
- };
-
- normalizeStringByLexer = (str: string) => {
- // @ts-ignore
- return normalizeString(str, lexerTreeBuilder, LocaleType.ZH_CN, get(IMockFunctionService));
- };
- });
-
- afterEach(() => {
- univer.dispose();
- });
-
- describe('Function getCellDataByInput', () => {
- it('Normal cell', () => {
- const cell = {
- v: 1,
- };
-
- const inputCell = {
- v: 2,
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = { v: '2', f: null, si: null, p: null };
-
- expect(cellData).toEqual({
- ...target,
- });
- });
- it('Text cell input 001', () => {
- const cell: ICellData = {
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- t: null,
- };
-
- const inputCell = {
- v: '001',
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = {
- v: '001',
- t: CellValueType.STRING,
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- f: null,
- si: null,
- p: null,
- };
-
- expect(cellData).toEqual({
- ...target,
- });
- });
- it('Text cell input 2024-10-28', () => {
- const cell: ICellData = {
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- t: null,
- };
-
- const inputCell = {
- v: '2024-10-28',
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = {
- v: '2024-10-28',
- t: CellValueType.STRING,
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- f: null,
- si: null,
- p: null,
- };
-
- expect(cellData).toEqual({
- ...target,
- });
- });
- it('Text cell input formula', () => {
- const cell: ICellData = {
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- t: null,
- };
-
- const inputCell = {
- v: '=SUM(1)',
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = {
- v: '=SUM(1)',
- t: CellValueType.STRING,
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- f: null,
- si: null,
- p: null,
- };
-
- expect(cellData).toEqual({
- ...target,
- });
- });
- it('Text cell input richText', () => {
- const cell: ICellData = {
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- t: 1,
- v: '10',
- };
-
- const inputCell = {
- p: {
- id: '__INTERNAL_EDITOR__DOCS_NORMAL',
- documentStyle: {
- pageSize: {
- width: 73,
- height: undefined,
- },
- marginTop: 1,
- marginBottom: 2,
- marginRight: 2,
- marginLeft: 2,
- renderConfig: {
- horizontalAlign: 0,
- verticalAlign: 0,
- centerAngle: 0,
- vertexAngle: 0,
- wrapStrategy: 0,
- },
- },
- body: {
- dataStream: '10\r\n',
- textRuns: [
- { ts: { ff: 'Arial', fs: 11 }, st: 0, ed: 1 },
- { st: 1, ed: 2, ts: { ff: 'Arial', fs: 11, cl: { rgb: '#B20000' } } },
- ],
- paragraphs: [
- { paragraphId: 'para_sheets_ui_fixture_3', startIndex: 2, paragraphStyle: { horizontalAlign: 0 } },
- ],
- sectionBreaks: [
- { startIndex: 3 },
- ],
- customRanges: [],
- customDecorations: [],
- },
- drawings: {},
- drawingsOrder: [],
- settings: {
- zoomRatio: 1,
- },
- },
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = {
- v: '10',
- t: CellValueType.STRING,
- s: {
- n: {
- pattern: DEFAULT_TEXT_FORMAT_EXCEL,
- },
- },
- f: null,
- si: null,
- p: {
- id: '__INTERNAL_EDITOR__DOCS_NORMAL',
- documentStyle: {
- pageSize: {
- width: Infinity,
- height: Infinity,
- },
- documentFlavor: DocumentFlavor.UNSPECIFIED,
- marginTop: 0,
- marginBottom: 2,
- marginRight: 2,
- marginLeft: 2,
- paragraphLineGapDefault: 0,
- renderConfig: {
- horizontalAlign: 0,
- verticalAlign: 0,
- centerAngle: 0,
- vertexAngle: 0,
- wrapStrategy: 0,
- zeroWidthParagraphBreak: 1,
- },
- },
- body: {
- dataStream: '10\r\n',
- textRuns: [
- { ts: { ff: 'Arial', fs: 11 }, st: 0, ed: 1 },
- { st: 1, ed: 2, ts: { ff: 'Arial', fs: 11, cl: { rgb: '#B20000' } } },
- ],
- paragraphs: [
- { paragraphId: expect.stringMatching(/^para_/), startIndex: 2, paragraphStyle: { horizontalAlign: 0 } },
- ],
- sectionBreaks: [
- { startIndex: 3 },
- ],
- customRanges: [],
- customDecorations: [],
- },
- drawings: {},
- drawingsOrder: [],
- settings: {
- zoomRatio: 1,
- },
- },
- };
-
- expect(cellData).toEqual({
- ...target,
- });
- });
- it('Rich text cell', () => {
- const cell = {
- v: 1,
- };
- const inputCell = {
- p: richTextDemo,
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = { v: null, f: null, si: null, p: richTextDemo, t: undefined };
- expect(cellData).toEqual({
- ...target,
- });
- });
- it('Formula cell', () => {
- const cell = {
- v: 1,
- };
- const inputCell = {
- f: '=SUM(1)',
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = { v: null, f: '=SUM(1)', si: null, p: null, t: undefined };
- expect(cellData).toEqual({
- ...target,
-
- });
- });
- it('Clear formula cell', () => {
- const cell = {
- f: '=H18:H25',
- v: 0,
- t: 2,
- };
-
- const inputCell = {
- v: '',
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = { v: '', f: null, si: null, p: null, t: undefined };
- expect(cellData).toEqual({
- ...target,
- });
- });
-
- it('Clear formula cell with rich text', () => {
- const cell = {
- f: '=H18:H25',
- v: 0,
- t: 2,
- };
-
- const inputCell = {
- p: richTextDemo,
- };
-
- const cellData = getCellDataByInputCell(cell, inputCell);
- const target = { v: null, f: null, si: null, p: richTextDemo, t: undefined };
- expect(cellData).toEqual({
- ...target,
- });
- });
-
- it('Input force string, normal string', () => {
- const cell = {
- v: null,
- };
-
- let cellData = getCellDataByInputCell(cell, { v: "'test" });
- let target = { v: 'test', t: CellValueType.FORCE_STRING, f: null, si: null, p: null };
- expect(cellData).toEqual({
- ...target,
- });
-
- cellData = getCellDataByInputCell(cell, { v: "'1" });
- target = { v: '1', t: CellValueType.FORCE_STRING, f: null, si: null, p: null };
- expect(cellData).toEqual({
- ...target,
- });
-
- cellData = getCellDataByInputCell(cell, { v: "'=SUM" });
- target = { v: '=SUM', t: CellValueType.FORCE_STRING, f: null, si: null, p: null };
- expect(cellData).toEqual({
- ...target,
- });
- });
-
- it('Function normalizeString', () => {
- // boolean
- expect(normalizeStringByLexer('true')).toEqual('TRUE');
-
- // force string
- expect(normalizeStringByLexer(''true')).toEqual("'true");
-
- // formatted number
- expect(normalizeStringByLexer('100%')).toEqual('100%');
- expect(normalizeStringByLexer('$100')).toEqual('$100');
- expect(normalizeStringByLexer('0.11')).toEqual('0.11');
- expect(normalizeStringByLexer('2020-1-1')).toEqual('2020-1-1');
- expect(normalizeStringByLexer('10e+1')).toEqual('10e+1');
-
- // formula
- expect(normalizeStringByLexer('=w')).toEqual('=w');
- expect(normalizeStringByLexer('=a1')).toEqual('=A1');
- expect(normalizeStringByLexer('=tan(sheet001!a1')).toEqual('=TAN(sheet001!A1');
-
- expect(normalizeStringByLexer('="1"')).toEqual('="1"');
- expect(normalizeStringByLexer('='1'')).toEqual("='1'"); // invalid in Excel
- expect(normalizeStringByLexer('=“2”')).toEqual('=“2”');
- expect(normalizeStringByLexer('=“w”')).toEqual('=“w”');
- expect(normalizeStringByLexer('=“1')).toEqual('=“1');
- expect(normalizeStringByLexer('=‘1’')).toEqual('=‘1’');
- expect(normalizeStringByLexer('=‘1')).toEqual('=‘1');
-
- expect(normalizeStringByLexer('=100%+2+w')).toEqual('=100%+2+w');
- expect(normalizeStringByLexer('=true+1')).toEqual('=TRUE+1');
- expect(normalizeStringByLexer('=true+w')).toEqual('=TRUE+w');
- expect(normalizeStringByLexer('=if')).toEqual('=if');
- expect(normalizeStringByLexer('=if(')).toEqual('=IF('); // invalid in Excel
- expect(normalizeStringByLexer('=@if(true=1," A$,"&"+-×=<>%$@&*#","false")')).toEqual('=@IF(TRUE=1," A$,"&"+-×=<>%$@&*#","false")');
- expect(normalizeStringByLexer('=if(0,1,”3“)')).toEqual('=IF(0,1,”3“)');
- expect(normalizeStringByLexer('=if(A1="*2?3",1,2)')).toEqual('=IF(A1="*2?3",1,2)');
- expect(normalizeStringByLexer('={1,2}')).toEqual('={1,2}');
-
- // normal string
- expect(normalizeStringByLexer('100%+2-×=<>%$@&*#')).toEqual('100%+2-×=<>%$@&*#');
- expect(normalizeStringByLexer('$w')).toEqual('$w');
- expect(normalizeStringByLexer('true+1')).toEqual('true+1');
-
- // sheet name
- expect(normalizeStringByLexer("='Sheet1(副本)'!F20:H29")).toEqual("='Sheet1(副本)'!F20:H29");
-
- // TODO@Dushusir: Differences from Excel, pending,
- // '=@@if@s'
- // '=@@if+@s'
- // '=SUM( "1" , 2 )'
- // '=+-if'
- // eslint-disable-next-line no-irregular-whitespace
- // '=if(1,“A”,“false ”)'
- // '=A1+B2-C3*(D4>=E5)/(F6<G7)'
- });
-
- it('test isRichText util', () => {
- const cellBody = {
- dataStream: 'qqqqqq\r\n',
- textRuns: [
- {
- ts: {
- fs: 18,
- },
- st: 0,
- ed: 8,
- },
- ],
- paragraphs: [
- { paragraphId: 'para_sheets_ui_fixture_5', startIndex: 8, paragraphStyle: {
- horizontalAlign: 0,
- } },
- ],
- customRanges: [],
- customDecorations: [],
- };
- const isRichTextRes = isRichText(cellBody);
- // textRuns acts on the entire string
- expect(isRichTextRes).toBe(false);
- const anotherCellBody = Tools.deepClone(cellBody);
- anotherCellBody.dataStream = `${anotherCellBody.dataStream}qqq`;
- // textRuns works on parts of strings
- const isRichTextRes2 = isRichText(anotherCellBody);
- expect(isRichTextRes2).toBe(true);
-
- const cellBody2 = {
- dataStream: 'true\r\n',
- textRuns: [
- {
- ts: {},
- st: 0,
- ed: 0,
- },
- ],
- paragraphs: [
- { paragraphId: 'para_sheets_ui_fixture_6', startIndex: 4, paragraphStyle: {
- horizontalAlign: 0,
- } },
- ],
- customBlocks: [],
- customRanges: [],
- };
-
- const isRichTextWithCellBody2 = isRichText(cellBody2);
- expect(isRichTextWithCellBody2).toBe(false);
- });
-
- describe('normalizeStringByLexer', () => {
- it('should convert leading . to 0.', () => {
- expect(normalizeStringByLexer('=.07/0.1')).toBe('=0.07/0.1');
- });
-
- it('should remove unnecessary trailing zeros', () => {
- expect(normalizeStringByLexer('=1.0+2.00')).toBe('=1+2');
- });
-
- it('should not modify normal cell references', () => {
- expect(normalizeStringByLexer('=A1+B2')).toBe('=A1+B2');
- expect(normalizeStringByLexer('=Sheet1!A1')).toBe('=Sheet1!A1');
- });
-
- it('should not modify function names', () => {
- expect(normalizeStringByLexer('=SUM(A1:A10)')).toBe('=SUM(A1:A10)');
- expect(normalizeStringByLexer('=IF(A1>0, "Yes", "No")')).toBe('=IF(A1>0, "Yes", "No")');
- });
-
- it('should handle negative numbers', () => {
- expect(normalizeStringByLexer('=-.5*-2.00')).toBe('=-0.5*-2');
- });
-
- it('should handle numbers with leading zeros', () => {
- expect(normalizeStringByLexer('=001.00+000.20')).toBe('=1+0.2');
- });
-
- it('should handle percentages', () => {
- expect(normalizeStringByLexer('=50% + .5')).toBe('=50% + 0.5');
- });
-
- it('should handle scientific notation', () => {
- expect(normalizeStringByLexer('=1.00E+03')).toBe('=1000');
- expect(normalizeStringByLexer('=1e3 + 2E-2')).toBe('=1000 + 0.02');
-
- expect(normalizeStringByLexer('=1e20 + 2E-2')).toBe('=100000000000000000000 + 0.02');
- // Excel =1.1E+21 + 0.02, numfmt =1.1e+21 + 0.02
- expect(normalizeStringByLexer('=11e20 + 2E-2')).toBe('=1.1e+21 + 0.02');
- // Excel =1E+21 + 0.02, numfmt =1e+21 + 0.02
- expect(normalizeStringByLexer('=1e21 + 2E-2')).toBe('=1e+21 + 0.02');
-
- expect(normalizeStringByLexer('=2e-6')).toBe('=0.000002');
- // Excel =0.0000002, numfmt =2e-7
- expect(normalizeStringByLexer('=2e-7')).toBe('=2e-7');
- // Excel =1E+21 + 0.0000000000000000002, numfmt =1e+21 + 2e-19
- expect(normalizeStringByLexer('=1E+21 + 2E-19')).toBe('=1e+21 + 2e-19');
- // Excel =1E+21 + 2E-20, numfmt =1e+21 + 2e-20
- expect(normalizeStringByLexer('=1E+21 + 0.2E-19')).toBe('=1e+21 + 2e-20');
- // Excel =1E+21 + 2E-20, numfmt =1e+21 + 2e-20
- expect(normalizeStringByLexer('=1E+21 + 2E-20')).toBe('=1e+21 + 2e-20');
- });
-
- it('should handle dates', () => {
- expect(normalizeStringByLexer('="2023-01-01"')).toBe('="2023-01-01"');
- });
-
- it('should handle complex expressions', () => {
- expect(normalizeStringByLexer('=SUM(A1:A10)/.5 - 2.00')).toBe('=SUM(A1:A10)/0.5 - 2');
- });
-
- it('should not modify logical operators', () => {
- expect(normalizeStringByLexer('=A1>=B2')).toBe('=A1>=B2');
- });
-
- it('should handle names with numbers', () => {
- expect(normalizeStringByLexer('=Rate1 + Rate2')).toBe('=Rate1 + Rate2');
- });
-
- it('should handle underscores in names', () => {
- expect(normalizeStringByLexer('=_myVar + another_var')).toBe('=_myVar + another_var');
- });
-
- it('should handle numbers adjacent to letters', () => {
- expect(normalizeStringByLexer('=A1*B2')).toBe('=A1*B2');
- expect(normalizeStringByLexer('=C3/2.0')).toBe('=C3/2');
- });
-
- it('should handle decimal numbers without leading zero', () => {
- expect(normalizeStringByLexer('=.123')).toBe('=0.123');
- });
-
- it('should handle multiple numbers in expression', () => {
- expect(normalizeStringByLexer('=.1 + .2 + .3')).toBe('=0.1 + 0.2 + 0.3');
- });
-
- it('should not modify cell ranges', () => {
- expect(normalizeStringByLexer('=SUM(A1:B2)')).toBe('=SUM(A1:B2)');
- });
-
- it('should handle complex numbers', () => {
- expect(normalizeStringByLexer('=COMPLEX(0, .5)')).toBe('=COMPLEX(0, 0.5)');
- });
-
- it('should handle percentage calculations', () => {
- expect(normalizeStringByLexer('=.5*50%')).toBe('=0.5*50%');
- });
-
- it('should handle brackets', () => {
- expect(normalizeStringByLexer('=(.5 + .25)/(.1)')).toBe('=(0.5 + 0.25)/(0.1)');
- });
-
- it('should not modify text outside of formulas', () => {
- expect(normalizeStringByLexer('Just some text.')).toBe('Just some text.');
- });
-
- it('should handle formulas starting with + or -', () => {
- expect(normalizeStringByLexer('=+1.0+-2.00')).toBe('=+1+-2'); // Follows Google Sheets' behavior
- });
-
- it('should handle numbers in logical expressions', () => {
- expect(normalizeStringByLexer('=IF(A1>.5, TRUE, FALSE)')).toBe('=IF(A1>0.5, TRUE, FALSE)');
- expect(normalizeStringByLexer('=IF("A1>.5", TRUE, FALSE)')).toBe('=IF("A1>.5", TRUE, FALSE)');
- });
-
- it('should handle exponents', () => {
- expect(normalizeStringByLexer('=2^0.0')).toBe('=2^0');
- });
-
- it('should not modify quoted numbers', () => {
- expect(normalizeStringByLexer('="The value is .5"')).toBe('="The value is .5"');
- });
-
- it('should handle numbers with only zeros', () => {
- expect(normalizeStringByLexer('=0.0 + 0.00')).toBe('=0 + 0');
- });
-
- it('should handle zero with decimal point', () => {
- expect(normalizeStringByLexer('=0. + .0')).toBe('=0 + 0');
- });
-
- it('should handle negative numbers with leading zeros', () => {
- expect(normalizeStringByLexer('=-0002.00')).toBe('=-2');
- });
-
- it('should handle positive numbers with leading zeros', () => {
- expect(normalizeStringByLexer('=+0002.50')).toBe('=+2.5'); // Follows Google Sheets' behavior
- });
-
- it('should handle escaped quotes in strings', () => {
- expect(normalizeStringByLexer('="He said, ""Hello, .5!"""')).toBe('="He said, ""Hello, .5!"""');
- });
- it('Illegal strings should not be modified', () => {
- expect(normalizeStringByLexer('=SUM(11, 2 2, 33)')).toBe('=SUM(11, 2 2, 33)');
- expect(normalizeStringByLexer('=SUM(11, 123 123, 33)')).toBe('=SUM(11, 123 123, 33)');
- });
- });
- });
-});
diff --git a/packages/sheets-ui/src/index.ts b/packages/sheets-ui/src/index.ts
index 67853d5ab7..e41d3b6768 100644
--- a/packages/sheets-ui/src/index.ts
+++ b/packages/sheets-ui/src/index.ts
@@ -18,8 +18,6 @@ import './global.css';
export { getEditorObject } from './basics/editor/get-editor-object';
export {
- type ISheetPasteByShortKeyParams,
- type ISheetPasteParams,
SheetCopyCommand,
SheetCutCommand,
SheetPasteBesidesBorderCommand,
@@ -29,6 +27,7 @@ export {
SheetPasteShortKeyCommand,
SheetPasteValueCommand,
} from './commands/commands/clipboard.command';
+export type { ISheetPasteByShortKeyParams, ISheetPasteParams } from './commands/commands/clipboard.command';
export { DeleteRangeMoveLeftConfirmCommand } from './commands/commands/delete-range-move-left-confirm.command';
export { DeleteRangeMoveUpConfirmCommand } from './commands/commands/delete-range-move-up-confirm.command';
export { SetColumnHeaderHeightCommand, SetRowHeaderWidthCommand } from './commands/commands/headersize-changed.command';
@@ -60,24 +59,50 @@ export {
} from './commands/commands/range-protection.command';
export { RemoveColConfirmCommand, RemoveRowConfirmCommand } from './commands/commands/remove-row-col-confirm.command';
export { RemoveSheetConfirmCommand } from './commands/commands/remove-sheet-confirm.command';
-export { ApplyFormatPainterCommand, SetInfiniteFormatPainterCommand, SetOnceFormatPainterCommand } from './commands/commands/set-format-painter.command';
-export { SetColumnFrozenCommand, SetFirstColumnFrozenCommand, SetFirstRowFrozenCommand, SetRowFrozenCommand, SetSelectionFrozenCommand } from './commands/commands/set-frozen.command';
export {
- type IScrollCommandParams,
- type IScrollToCellCommandParams,
- type ISetScrollRelativeCommandParams,
+ ApplyFormatPainterCommand,
+ SetInfiniteFormatPainterCommand,
+ SetOnceFormatPainterCommand,
+} from './commands/commands/set-format-painter.command';
+export {
+ SetColumnFrozenCommand,
+ SetFirstColumnFrozenCommand,
+ SetFirstRowFrozenCommand,
+ SetRowFrozenCommand,
+ SetSelectionFrozenCommand,
+} from './commands/commands/set-frozen.command';
+export {
ResetScrollCommand,
ScrollCommand,
ScrollToCellCommand,
SetScrollRelativeCommand,
} from './commands/commands/set-scroll.command';
-export { ExpandSelectionCommand, JumpOver, MoveSelectionCommand, MoveSelectionEnterAndTabCommand, SelectAllCommand } from './commands/commands/set-selection.command';
+export type {
+ IScrollCommandParams,
+ IScrollToCellCommandParams,
+ ISetScrollRelativeCommandParams,
+} from './commands/commands/set-scroll.command';
+export {
+ ExpandSelectionCommand,
+ JumpOver,
+ MoveSelectionCommand,
+ MoveSelectionEnterAndTabCommand,
+ SelectAllCommand,
+} from './commands/commands/set-selection.command';
export { SetWorksheetColAutoWidthCommand } from './commands/commands/set-worksheet-auto-col-width.command';
-export { ChangeZoomRatioCommand, type ISetZoomRatioCommandParams, SetZoomRatioCommand } from './commands/commands/set-zoom-ratio.command';
+export { ChangeZoomRatioCommand, SetZoomRatioCommand } from './commands/commands/set-zoom-ratio.command';
+export type { ISetZoomRatioCommandParams } from './commands/commands/set-zoom-ratio.command';
export { ShowMenuListCommand } from './commands/commands/unhide.command';
-export { ChangeSheetProtectionFromSheetBarCommand, DeleteWorksheetProtectionFormSheetBarCommand } from './commands/commands/worksheet-protection.command';
+export {
+ ChangeSheetProtectionFromSheetBarCommand,
+ DeleteWorksheetProtectionFormSheetBarCommand,
+} from './commands/commands/worksheet-protection.command';
export { SetActivateCellEditOperation } from './commands/operations/activate-cell-edit.operation';
-export { SetCellEditVisibleArrowOperation, SetCellEditVisibleOperation, SetCellEditVisibleWithF2Operation } from './commands/operations/cell-edit.operation';
+export {
+ SetCellEditVisibleArrowOperation,
+ SetCellEditVisibleOperation,
+ SetCellEditVisibleWithF2Operation,
+} from './commands/operations/cell-edit.operation';
export { RenameSheetOperation } from './commands/operations/rename-sheet.operation';
export { ScrollToRangeOperation } from './commands/operations/scroll-to-range.operation';
export { SetScrollOperation } from './commands/operations/scroll.operation';
@@ -100,55 +125,125 @@ export { SheetClipboardController } from './controllers/clipboard/clipboard.cont
export { DragRenderController } from './controllers/drag-render.controller';
export { EditingRenderController } from './controllers/editor/editing.render-controller';
export { FormulaEditorController } from './controllers/editor/formula-editor.controller';
-export { EMBEDDING_FORMULA_EDITOR, isEmbeddingFormulaEditor } from './controllers/editor/utils/is-embedding-formula-editor';
+export {
+ EMBEDDING_FORMULA_EDITOR,
+ isEmbeddingFormulaEditor,
+} from './controllers/editor/utils/is-embedding-formula-editor';
export { isRangeSelector, RANGE_SELECTOR_SYMBOLS } from './controllers/editor/utils/is-range-selector';
export { HoverRenderController } from './controllers/hover-render.controller';
export { SheetPermissionCheckUIController } from './controllers/permission/sheet-permission-check-ui.controller';
export { HeaderFreezeRenderController } from './controllers/render-controllers/freeze.render-controller';
export { HeaderMoveRenderController } from './controllers/render-controllers/header-move.render-controller';
export { HeaderResizeRenderController } from './controllers/render-controllers/header-resize.render-controller';
-export { HEADER_UNHIDE_RANGE_VISIBLE_CHECK, HeaderUnhideRenderController } from './controllers/render-controllers/header-unhide.render-controller';
+export {
+ HEADER_UNHIDE_RANGE_VISIBLE_CHECK,
+ HeaderUnhideRenderController,
+} from './controllers/render-controllers/header-unhide.render-controller';
export { SheetsScrollRenderController } from './controllers/render-controllers/scroll.render-controller';
-export { type ITelemetryData, SheetRenderController } from './controllers/render-controllers/sheet.render-controller';
-export { whenFormulaEditorActivated, whenSheetEditorActivated, whenSheetEditorFocused } from './controllers/shortcuts/utils';
+export { SheetRenderController } from './controllers/render-controllers/sheet.render-controller';
+export type { ITelemetryData } from './controllers/render-controllers/sheet.render-controller';
+export {
+ whenFormulaEditorActivated,
+ whenSheetEditorActivated,
+ whenSheetEditorFocused,
+} from './controllers/shortcuts/utils';
export { StatusBarController } from './controllers/status-bar.controller';
export { SheetUIController } from './controllers/ui.controller';
-export { getCoordByCell, getCoordByOffset, getSheetObject, getTransformCoord } from './controllers/utils/component-tools';
+export {
+ getCoordByCell,
+ getCoordByOffset,
+ getSheetObject,
+ getTransformCoord,
+} from './controllers/utils/component-tools';
export { virtualizeDiscreteRanges } from './controllers/utils/range-tools';
export { matchedSelectionByRowColIndex as checkInHeaderRanges } from './controllers/utils/selections-tools';
export { useHighlightRange } from './hooks/use-highlight-range';
-export { COPY_SPECIAL_MENU_ID, menuClipboardDisabledObservable, PASTE_SPECIAL_MENU_ID, SheetMenuPosition } from './menu/menu';
-export { deriveStateFromActiveSheet$, getCurrentExclusiveRangeInterest$, getCurrentRangeDisable$, getObservableWithExclusiveRange$ } from './menu/menu-util';
+export {
+ COPY_SPECIAL_MENU_ID,
+ menuClipboardDisabledObservable,
+ PASTE_SPECIAL_MENU_ID,
+ SheetMenuPosition,
+} from './menu/menu';
+export {
+ deriveStateFromActiveSheet$,
+ getCurrentExclusiveRangeInterest$,
+ getCurrentRangeDisable$,
+ getObservableWithExclusiveRange$,
+} from './menu/menu-util';
export { menuSchema as SheetsUIMenuSchema } from './menu/schema';
export { UniverSheetsMobileUIPlugin } from './mobile-plugin';
export { UniverSheetsUIPlugin } from './plugin';
-export { type ICanvasPopup, SheetCanvasPopManagerService } from './services/canvas-pop-manager.service';
-export { CellAlertManagerService, CellAlertType, type ICellAlert } from './services/cell-alert-manager.service';
-export { type IDropdownParam, ISheetCellDropdownManagerService, SheetCellDropdownManagerService } from './services/cell-dropdown-manager.service';
+export { SheetCanvasPopManagerService } from './services/canvas-pop-manager.service';
+export type { ICanvasPopup } from './services/canvas-pop-manager.service';
+export { CellAlertManagerService, CellAlertType } from './services/cell-alert-manager.service';
+export type { ICellAlert } from './services/cell-alert-manager.service';
+export {
+ ISheetCellDropdownManagerService,
+ SheetCellDropdownManagerService,
+} from './services/cell-dropdown-manager.service';
+export type { IDropdownParam } from './services/cell-dropdown-manager.service';
export { CellPopupManagerService } from './services/cell-popup-manager.service';
-export { getMatrixPlainText, ISheetClipboardService, PREDEFINED_HOOK_NAME, PREDEFINED_HOOK_NAME_COPY, PREDEFINED_HOOK_NAME_PASTE, SheetClipboardService } from './services/clipboard/clipboard.service';
+export {
+ getMatrixPlainText,
+ ISheetClipboardService,
+ PREDEFINED_HOOK_NAME,
+ PREDEFINED_HOOK_NAME_COPY,
+ PREDEFINED_HOOK_NAME_PASTE,
+ SheetClipboardService,
+} from './services/clipboard/clipboard.service';
export { COPY_TYPE } from './services/clipboard/type';
-export type { ICellDataWithSpanInfo, ICopyHookKeyType, ICopyHookValueType, ICopyPastePayload, IPasteHookKeyType, IPasteHookValueType, ISheetClipboardHook, ISheetDiscreteRangeLocation } from './services/clipboard/type';
+export type {
+ ICellDataWithSpanInfo,
+ ICopyHookKeyType,
+ ICopyHookValueType,
+ ICopyPastePayload,
+ IPasteHookKeyType,
+ IPasteHookValueType,
+ ISheetClipboardHook,
+ ISheetDiscreteRangeLocation,
+} from './services/clipboard/type';
export { getRepeatRange, mergeSetRangeValues } from './services/clipboard/utils';
-export { DragManagerService, type IDragCellPosition } from './services/drag-manager.service';
-export { EditorBridgeService, IEditorBridgeService, type IEditorBridgeServiceVisibleParam } from './services/editor-bridge.service';
+export { DragManagerService } from './services/drag-manager.service';
+export type { IDragCellPosition } from './services/drag-manager.service';
+export { EditorBridgeService, IEditorBridgeService } from './services/editor-bridge.service';
+export type { IEditorBridgeServiceVisibleParam } from './services/editor-bridge.service';
export type { IEditorBridgeServiceParam } from './services/editor-bridge.service';
export { CellEditorManagerService, ICellEditorManagerService } from './services/editor/cell-editor-manager.service';
export { SheetCellEditorResizeService } from './services/editor/cell-editor-resize.service';
export { IFormulaEditorManagerService } from './services/editor/formula-editor-manager.service';
export { FormatPainterStatus, IFormatPainterService } from './services/format-painter/format-painter.service';
-export type { IFormatPainterBeforeApplyHookParams, IFormatPainterHook } from './services/format-painter/format-painter.service';
-export { HeaderUnhideRangeAxis, HeaderUnhideRangeService, type HeaderUnhideRangeVisibleHandler, type IHeaderUnhideRangeVisibleCheck } from './services/header-unhide-range.service';
+export type {
+ IFormatPainterBeforeApplyHookParams,
+ IFormatPainterHook,
+} from './services/format-painter/format-painter.service';
+export { HeaderUnhideRangeAxis, HeaderUnhideRangeService } from './services/header-unhide-range.service';
+export type {
+ HeaderUnhideRangeVisibleHandler,
+ IHeaderUnhideRangeVisibleCheck,
+} from './services/header-unhide-range.service';
export { HoverManagerService } from './services/hover-manager.service';
-export type { ICellPosWithEvent, IHoverCellPosition, IHoverRichTextInfo, IHoverRichTextPosition } from './services/hover-manager.service';
+export type {
+ ICellPosWithEvent,
+ IHoverCellPosition,
+ IHoverRichTextInfo,
+ IHoverRichTextPosition,
+} from './services/hover-manager.service';
export { IMarkSelectionService, MarkSelectionService } from './services/mark-selection/mark-selection.service';
-export { type ProtectedRangeShadowStrategy, SheetPermissionRenderManagerService } from './services/permission/sheet-permission-render-manager.service';
+export { SheetPermissionRenderManagerService } from './services/permission/sheet-permission-render-manager.service';
+export type { ProtectedRangeShadowStrategy } from './services/permission/sheet-permission-render-manager.service';
export { SheetPermissionUserManagerService } from './services/permission/sheet-permission-user-list.service';
export { SheetPrintInterceptorService } from './services/print-interceptor.service';
-export { IRepeatLastActionService, type RepeatableCommandHandler, RepeatLastActionPermission } from './services/repeat-last-action.service';
+export { IRepeatLastActionService, RepeatLastActionPermission } from './services/repeat-last-action.service';
+export type { RepeatableCommandHandler } from './services/repeat-last-action.service';
export { SheetScrollManagerService } from './services/scroll-manager.service';
export type { IScrollState, IViewportScrollState } from './services/scroll-manager.service';
-export { BaseSelectionRenderService, genSelectionByRange, selectionDataForSelectAll as getAllSelection, getTopLeftSelectionOfCurrSheet, ISheetSelectionRenderService } from './services/selection/base-selection-render.service';
+export {
+ BaseSelectionRenderService,
+ genSelectionByRange,
+ selectionDataForSelectAll as getAllSelection,
+ getTopLeftSelectionOfCurrSheet,
+ ISheetSelectionRenderService,
+} from './services/selection/base-selection-render.service';
export { genNormalSelectionStyle } from './services/selection/const';
export { SELECTION_SHAPE_DEPTH } from './services/selection/const';
export { SelectionControl, SelectionControl as SelectionShape } from './services/selection/selection-control';
@@ -157,7 +252,11 @@ export { SelectionShapeExtension } from './services/selection/selection-shape-ex
export { SheetSkeletonManagerService } from './services/sheet-skeleton-manager.service';
export { SheetsRenderService } from './services/sheets-render.service';
export { IStatusBarService, StatusBarService } from './services/status-bar.service';
-export { calculateDocSkeletonRects, getCustomRangePosition, getEditingCustomRangePosition } from './services/utils/doc-skeleton-util';
+export {
+ calculateDocSkeletonRects,
+ getCustomRangePosition,
+ getEditingCustomRangePosition,
+} from './services/utils/doc-skeleton-util';
export { useKeyEventConfig } from './views/editor-container';
export { useActiveWorkbook, useActiveWorksheet, useWorkbooks } from './views/hook';
export type { IRangeProtectionRenderCellData } from './views/permission/extensions/range-protection.render';
diff --git a/packages/sheets-ui/src/services/clipboard/__tests__/__snapshots__/sheet-paste.spec.ts.snap b/packages/sheets-ui/src/services/clipboard/__tests__/__snapshots__/sheet-paste.spec.ts.snap
deleted file mode 100644
index 75cd6f791c..0000000000
--- a/packages/sheets-ui/src/services/clipboard/__tests__/__snapshots__/sheet-paste.spec.ts.snap
+++ /dev/null
@@ -1,5060 +0,0 @@
-// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
-
-exports[`Test clipboard > Test paste > test convert util func from excel 1`] = `
-{
- "0": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "bold",
- },
- "1": {
- "colSpan": 1,
- "p": {
- "body": {
- "dataStream": " background color
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 19,
- },
- ],
- "textRuns": [
- {
- "ed": 18,
- "st": 17,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- },
- },
- ],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 1,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": " background color ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "merge cell",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "merge cell with border & style",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "1": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 1,
- "tb": 1,
- "vt": 2,
- },
- "v": "italic",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "10": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "RichText",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 3,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "horizontal alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 28,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 28,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "11": {
- "0": {
- "colSpan": 1,
- "p": {
- "body": {
- "dataStream": " U N I V ER UP UP UP
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 29,
- },
- ],
- "textRuns": [
- {
- "ed": 2,
- "st": 1,
- "ts": {
- "cl": {
- "rgb": "rgb(166,201,236)",
- },
- "ff": "等线",
- "fs": 36,
- },
- },
- {
- "ed": 4,
- "st": 3,
- "ts": {
- "cl": {
- "rgb": "rgb(64,64,64)",
- },
- "ff": "等线",
- "fs": 36,
- },
- },
- {
- "ed": 6,
- "st": 5,
- "ts": {
- "cl": {
- "rgb": "rgb(166,166,166)",
- },
- "ff": "等线",
- "fs": 36,
- },
- },
- {
- "ed": 8,
- "st": 7,
- "ts": {
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 36,
- },
- },
- {
- "ed": 11,
- "st": 9,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 36,
- },
- },
- {
- "ed": 13,
- "st": 12,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- },
- },
- {
- "ed": 16,
- "st": 14,
- "ts": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- },
- },
- {
- "ed": 18,
- "st": 17,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- },
- },
- {
- "ed": 21,
- "st": 19,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "it": 1,
- },
- },
- {
- "ed": 23,
- "st": 22,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- },
- },
- {
- "ed": 26,
- "st": 24,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ul": {
- "s": 1,
- },
- },
- },
- {
- "ed": 28,
- "st": 27,
- "ts": {
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- },
- },
- ],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": " U N I V ER UP UP UP ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "12": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 3,
- "vt": 2,
- },
- "v": " text wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "13": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 2,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": " text wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap ",
- },
- "2": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "14": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "15": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "16": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "2": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": "underline",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "border line",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 2,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 2,
- "rowSpan": 1,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 0,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": "univer",
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 0,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "3": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "st": {
- "s": 1,
- },
- "tb": 1,
- "vt": 2,
- },
- "v": "strike through",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "4": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 20,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "font size",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 1,
- },
- "v": "vertical Alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 3,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 3,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 18,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": "univer",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "5": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "font color",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "vertical Alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 18,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "6": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "黑体",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "font family",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 3,
- },
- "v": "vertical Alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 18,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "7": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "8": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 1,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "horizontal alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": 2,
- "rowSpan": 3,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": 2,
- "rowSpan": 3,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 28,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": "univer",
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 28,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
- "9": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "horizontal alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 2,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 28,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bg": {
- "rgb": "rgb(255,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(131,226,142)",
- },
- "ff": "等线",
- "fs": 28,
- "ht": 2,
- "it": 1,
- "tb": 1,
- "ul": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "cl": {
- "rgb": "rgb(0,0,0)",
- },
- "ff": "等线",
- "fs": 12,
- "ht": 0,
- "it": 0,
- "tb": 1,
- "vt": 2,
- },
- "v": "",
- },
- },
-}
-`;
-
-exports[`Test clipboard > Test paste > test convert util func from google 1`] = `
-{
- "0": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 1,
- "vt": 3,
- },
- "v": " bold ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bg": {
- "rgb": "rgb(201,218,248)",
- },
- "vt": 3,
- },
- "v": " background color ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "merge cell",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": " merge cell with border & style ",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "numfmt",
- },
- },
- "1": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "it": 1,
- "vt": 3,
- },
- "v": " italic ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "10": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "rich text",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "ht": 3,
- "vt": 3,
- },
- "v": " horizontal Aligment ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(249,203,156)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "ht": 2,
- "it": 1,
- "st": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(249,203,156)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "ht": 2,
- "it": 1,
- "st": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "ht": 3,
- "vt": 3,
- },
- "v": " 1.11E+09 ",
- },
- },
- "11": {
- "0": {
- "colSpan": 1,
- "p": {
- "body": {
- "dataStream": " UNIVER UP UP UP
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 17,
- },
- ],
- "textRuns": [
- {
- "ed": 2,
- "st": 1,
- "ts": {
- "bl": 1,
- "ff": "Arial",
- "fs": 17,
- },
- },
- {
- "ed": 3,
- "st": 2,
- "ts": {
- "ff": "Arial",
- "fs": 17,
- },
- },
- {
- "ed": 5,
- "st": 3,
- "ts": {
- "ff": "Arial",
- "fs": 17,
- "it": 1,
- },
- },
- {
- "ed": 6,
- "st": 5,
- "ts": {
- "ff": "Arial",
- "fs": 17,
- },
- },
- {
- "ed": 7,
- "st": 6,
- "ts": {
- "cl": {
- "rgb": "rgb(74,134,232)",
- },
- "ff": "Arial",
- "fs": 17,
- },
- },
- {
- "ed": 8,
- "st": 7,
- "ts": {
- "ff": "Arial",
- "fs": 17,
- },
- },
- {
- "ed": 11,
- "st": 8,
- "ts": {
- "ff": "Arial",
- "fs": 10,
- },
- },
- {
- "ed": 13,
- "st": 11,
- "ts": {
- "ff": "Arial",
- "fs": 10,
- "ul": {
- "s": 1,
- },
- },
- },
- {
- "ed": 16,
- "st": 13,
- "ts": {
- "ff": "Arial",
- "fs": 10,
- },
- },
- ],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": " UNIVER UP UP UP ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "12": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "tb": 3,
- "vt": 3,
- },
- "v": " text wrap wrap wrap wrap wrap wrap wrap wrap wrap ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "13": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "p": {
- "body": {
- "dataStream": " text wrap wrap wrap wrap wrap wrap wrap wrap wrap
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 53,
- },
- ],
- "textRuns": [],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "transparent",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": " text wrap wrap wrap wrap wrap wrap wrap wrap wrap ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "14": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "tb": 2,
- "vt": 3,
- },
- "v": " text wrap wrap wrap wrap wrap wrap wrap wrap wrap ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "15": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "2": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "ul": {
- "s": 1,
- },
- "vt": 3,
- },
- "v": " underline ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": " border line ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 2,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 2,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(255,242,204)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(0,0,255)",
- },
- "ht": 2,
- "it": 1,
- "vt": 2,
- },
- "v": " univer ",
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(255,242,204)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(0,0,255)",
- },
- "ht": 2,
- "it": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "ht": 3,
- "vt": 3,
- },
- "v": " 2024/1/1 ",
- },
- },
- "3": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "st": {
- "s": 1,
- },
- "vt": 3,
- },
- "v": " strike through ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "4": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "fs": 17,
- "vt": 3,
- },
- "v": " font size ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 1,
- },
- "v": "vertical Alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "p": {
- "body": {
- "dataStream": "
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 4,
- },
- ],
- "textRuns": [],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 3,
- "s": {
- "vt": 3,
- },
- "v": " ",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "p": {
- "body": {
- "dataStream": " univer
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 10,
- },
- ],
- "textRuns": [
- {
- "ed": 2,
- "st": 1,
- "ts": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(74,134,232)",
- },
- "it": 1,
- },
- },
- {
- "ed": 8,
- "st": 2,
- "ts": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(74,134,232)",
- },
- "it": 1,
- },
- },
- {
- "ed": 9,
- "st": 8,
- "ts": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(74,134,232)",
- },
- "it": 1,
- },
- },
- ],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 3,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(0,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(74,134,232)",
- },
- "ht": 2,
- "it": 1,
- "vt": 2,
- },
- "v": " univer ",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "ht": 3,
- "vt": 3,
- },
- "v": " $1.00 ",
- },
- },
- "5": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "cl": {
- "rgb": "rgb(0,0,255)",
- },
- "vt": 3,
- },
- "v": " font color ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 2,
- },
- "v": "vertical Alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(0,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(74,134,232)",
- },
- "ht": 2,
- "it": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "6": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bl": 0,
- "ff": "Impact",
- "vt": 3,
- },
- "v": " font family ",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "vertical Alignment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(0,255,0)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(74,134,232)",
- },
- "ht": 2,
- "it": 1,
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "ht": 3,
- "vt": 3,
- },
- "v": " 5% ",
- },
- },
- "7": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "4": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "7": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
- "8": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "horizontal Aligment",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": 2,
- "p": {
- "body": {
- "dataStream": "
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 4,
- },
- ],
- "textRuns": [],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 3,
- "s": {
- "vt": 3,
- },
- "v": " ",
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": 2,
- "p": {
- "body": {
- "dataStream": " univer
-",
- "paragraphs": [
- {
- "paragraphId": "<paragraphId>",
- "startIndex": 10,
- },
- ],
- "textRuns": [
- {
- "ed": 2,
- "st": 1,
- "ts": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "it": 1,
- },
- },
- {
- "ed": 8,
- "st": 2,
- "ts": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "it": 1,
- },
- },
- {
- "ed": 9,
- "st": 8,
- "ts": {
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "it": 1,
- },
- },
- ],
- },
- "documentStyle": {
- "documentFlavor": 0,
- "marginBottom": 2,
- "marginLeft": 2,
- "marginRight": 2,
- "marginTop": 0,
- "pageSize": {
- "height": Infinity,
- "width": Infinity,
- },
- "paragraphLineGapDefault": 0,
- "renderConfig": {
- "cellValueType": undefined,
- "centerAngle": 0,
- "horizontalAlign": 0,
- "vertexAngle": 0,
- "verticalAlign": 0,
- "wrapStrategy": 0,
- },
- },
- "drawings": {},
- "drawingsOrder": [],
- "id": "d",
- },
- "rowSpan": 3,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(249,203,156)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "ht": 2,
- "it": 1,
- "st": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": " univer ",
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(249,203,156)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "ht": 2,
- "it": 1,
- "st": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "ht": 3,
- "vt": 3,
- },
- "v": " 32.32 ",
- },
- },
- "9": {
- "0": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "1": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "ht": 2,
- "vt": 3,
- },
- "v": " horizontal Aligment ",
- },
- "2": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "3": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "4": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "vt": 3,
- },
- "v": undefined,
- },
- "5": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "bd": {
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "vt": 3,
- },
- "v": "",
- },
- "6": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(249,203,156)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "ht": 2,
- "it": 1,
- "st": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "7": {
- "colSpan": undefined,
- "rowSpan": undefined,
- "s": {
- "bd": {
- "b": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- "r": {
- "cl": {
- "rgb": "#000000",
- },
- "s": 1,
- },
- },
- "bg": {
- "rgb": "rgb(249,203,156)",
- },
- "bl": 1,
- "cl": {
- "rgb": "rgb(17,85,204)",
- },
- "fs": 20,
- "ht": 2,
- "it": 1,
- "st": {
- "s": 1,
- },
- "vt": 2,
- },
- "v": undefined,
- },
- "8": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- "9": {
- "colSpan": 1,
- "rowSpan": 1,
- "s": {
- "vt": 3,
- },
- "v": "",
- },
- },
-}
-`;
diff --git a/packages/sheets-ui/src/services/clipboard/__tests__/sheet-paste.spec.ts b/packages/sheets-ui/src/services/clipboard/__tests__/sheet-paste.spec.ts
deleted file mode 100644
index cc6d56c430..0000000000
--- a/packages/sheets-ui/src/services/clipboard/__tests__/sheet-paste.spec.ts
+++ /dev/null
@@ -1,152 +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 type { Injector, Univer, Workbook } from '@univerjs/core';
-import { readFileSync } from 'node:fs';
-import path from 'node:path';
-import { ICommandService, IUniverInstanceService, LocaleType, RANGE_TYPE } from '@univerjs/core';
-import {
- AddWorksheetMergeMutation,
- RemoveWorksheetMergeMutation,
- SetRangeValuesMutation,
- SetSelectionsOperation,
- SetWorksheetColWidthMutation,
- SetWorksheetRowAutoHeightMutation,
- SetWorksheetRowHeightMutation,
- SheetsSelectionsService,
-} from '@univerjs/sheets';
-import { afterEach, beforeEach, describe, expect, it } from 'vitest';
-import { SheetSkeletonManagerService } from '../../sheet-skeleton-manager.service';
-import { HtmlToUSMService } from '../html-to-usm/converter';
-import { clipboardTestBed } from './clipboard-test-bed';
-
-function getHTMLString(filePath: string): string {
- return readFileSync(filePath, 'utf-8');
-}
-
-function normalizeParagraphIds(value: unknown): unknown {
- if (Array.isArray(value)) {
- return value.map((item) => normalizeParagraphIds(item));
- }
-
- if (value && typeof value === 'object') {
- return Object.fromEntries(Object.entries(value).map(([key, item]) => [
- key,
- key === 'paragraphId' ? '<paragraphId>' : normalizeParagraphIds(item),
- ]));
- }
-
- return value;
-}
-
-function normalizeSnapshotValue(value: unknown): unknown {
- return normalizeParagraphIds(typeof (value as { toJSON?: unknown }).toJSON === 'function'
- ? (value as { toJSON: () => unknown }).toJSON()
- : value);
-}
-
-describe('Test clipboard', () => {
- let univer: Univer;
- let get: Injector['get'];
- let commandService: ICommandService;
- let sheetSkeletonManagerService: SheetSkeletonManagerService;
-
- beforeEach(async () => {
- const testBed = clipboardTestBed({
- id: 'test',
- appVersion: '3.0.0-alpha',
- sheets: {
- sheet1: {
- id: 'sheet1',
- cellData: {
- 0: {
- 0: {
- v: 1,
- },
- },
- },
- },
- },
- locale: LocaleType.ZH_CN,
- name: '',
- sheetOrder: [],
- styles: {},
- });
- univer = testBed.univer;
- get = testBed.get;
-
- commandService = get(ICommandService);
- commandService.registerCommand(SetRangeValuesMutation);
- commandService.registerCommand(SetWorksheetRowHeightMutation);
- commandService.registerCommand(SetWorksheetColWidthMutation);
- commandService.registerCommand(AddWorksheetMergeMutation);
- commandService.registerCommand(RemoveWorksheetMergeMutation);
- commandService.registerCommand(SetSelectionsOperation);
- commandService.registerCommand(SetWorksheetRowAutoHeightMutation);
- sheetSkeletonManagerService = get(SheetSkeletonManagerService);
- });
-
- afterEach(() => {
- univer?.dispose();
- });
-
- describe('Test paste', () => {
- beforeEach(() => {
- const selectionManager = get(SheetsSelectionsService);
-
- const startRow = 0;
- const startColumn = 0;
- const endRow = 0;
- const endColumn = 0;
-
- selectionManager.addSelections([
- {
- range: { startRow, startColumn, endRow, endColumn, rangeType: RANGE_TYPE.NORMAL },
- primary: null,
- style: null,
- },
- ]);
-
- sheetSkeletonManagerService.setCurrent({
- sheetId: 'sheet1',
- });
- });
-
- it('test convert util func from excel', async () => {
- const worksheet = get(IUniverInstanceService).getUnit<Workbook>('test')?.getSheetBySheetId('sheet1');
- if (!worksheet) return false;
- const htmlToUSM = new HtmlToUSMService({
- getCurrentSkeleton: () => sheetSkeletonManagerService.getCurrentParam(),
- });
- const htmlPath = path.join(__dirname, 'assets', 'html', 'excel-base-sample.html');
- const html = getHTMLString(htmlPath);
- const cellMatrix = htmlToUSM.convert(html).cellMatrix;
- expect(normalizeSnapshotValue(cellMatrix)).toMatchSnapshot();
- });
-
- it('test convert util func from google', async () => {
- const worksheet = get(IUniverInstanceService).getUnit<Workbook>('test')?.getSheetBySheetId('sheet1');
- if (!worksheet) return false;
- const htmlToUSM = new HtmlToUSMService({
- getCurrentSkeleton: () => sheetSkeletonManagerService.getCurrentParam(),
- });
- const htmlPath = path.join(__dirname, 'assets', 'html', 'google-base-sample.html');
- const html = getHTMLString(htmlPath);
- const cellMatrix = htmlToUSM.convert(html).cellMatrix;
- expect(normalizeSnapshotValue(cellMatrix)).toMatchSnapshot();
- });
- });
-});
diff --git a/packages/sheets-ui/src/views/header-unhide-shape.ts b/packages/sheets-ui/src/views/header-unhide-shape.ts
index cdf6d8399c..3925368771 100644
--- a/packages/sheets-ui/src/views/header-unhide-shape.ts
+++ b/packages/sheets-ui/src/views/header-unhide-shape.ts
@@ -16,7 +16,6 @@
import type { IShapeProps, UniverRenderingContext } from '@univerjs/engine-render';
import { Rect, RegularPolygon, Shape } from '@univerjs/engine-render';
-
import { HEADER_MENU_BACKGROUND_COLOR, HEADER_MENU_SHAPE_TRIANGLE_FILL } from '../menu/header-menu-shape';
export enum HeaderUnhideShapeType {
diff --git a/packages/sheets-ui/src/views/permission/SheetPermissionDialog.tsx b/packages/sheets-ui/src/views/permission/SheetPermissionDialog.tsx
index 43efd6b3be..4cc8cfb67c 100644
--- a/packages/sheets-ui/src/views/permission/SheetPermissionDialog.tsx
+++ b/packages/sheets-ui/src/views/permission/SheetPermissionDialog.tsx
@@ -15,15 +15,29 @@
*/
import type { Workbook } from '@univerjs/core';
-
import type { ICollaborator, UnitAction } from '@univerjs/protocol';
-import { IAuthzIoService, ICommandService, IPermissionService, IUniverInstanceService, LocaleService, UniverInstanceType } from '@univerjs/core';
+import {
+ IAuthzIoService,
+ ICommandService,
+ IPermissionService,
+ IUniverInstanceService,
+ LocaleService,
+ UniverInstanceType,
+} from '@univerjs/core';
import { borderTopClassName, Button, clsx, Switch } from '@univerjs/design';
import { ObjectScope, UnitObject, UnitRole } from '@univerjs/protocol';
-import { getAllWorksheetPermissionPoint, SetWorksheetPermissionPointsCommand, WorksheetProtectionPointModel } from '@univerjs/sheets';
+import {
+ getAllWorksheetPermissionPoint,
+ SetWorksheetPermissionPointsCommand,
+ WorksheetProtectionPointModel,
+} from '@univerjs/sheets';
import { IDialogService, useDependency } from '@univerjs/ui';
import { useEffect, useState } from 'react';
-import { defaultWorksheetUnitActionList, subUnitPermissionTypeMap, UNIVER_SHEET_PERMISSION_DIALOG_ID } from '../../consts/permission';
+import {
+ defaultWorksheetUnitActionList,
+ subUnitPermissionTypeMap,
+ UNIVER_SHEET_PERMISSION_DIALOG_ID,
+} from '../../consts/permission';
import Spin from './Spin';
interface IPermissionMap {
diff --git a/packages/sheets-ui/src/views/sheet-slider/ZoomSlider.tsx b/packages/sheets-ui/src/views/sheet-slider/ZoomSlider.tsx
index 8b92892578..fe483c8798 100644
--- a/packages/sheets-ui/src/views/sheet-slider/ZoomSlider.tsx
+++ b/packages/sheets-ui/src/views/sheet-slider/ZoomSlider.tsx
@@ -24,7 +24,6 @@ import {
import { SetWorksheetActiveOperation } from '@univerjs/sheets';
import { Slider, useDependency, useObservable } from '@univerjs/ui';
import { useCallback, useEffect, useState } from 'react';
-
import { SetZoomRatioCommand } from '../../commands/commands/set-zoom-ratio.command';
import { SetZoomRatioOperation } from '../../commands/operations/set-zoom-ratio.operation';
import { SHEET_ZOOM_RANGE } from '../../common/keys';
diff --git a/packages/sheets/src/commands/commands/__tests__/range-template-command.sepc.ts b/packages/sheets/src/commands/commands/__tests__/range-template-command.sepc.ts
index 6ada3ca286..49ceb95d42 100644
--- a/packages/sheets/src/commands/commands/__tests__/range-template-command.sepc.ts
+++ b/packages/sheets/src/commands/commands/__tests__/range-template-command.sepc.ts
@@ -17,7 +17,6 @@
import type { IColorStyle, Injector, Univer, Workbook } from '@univerjs/core';
import type { RangeThemeStyle } from '../../../models/range-theme-util';
import type { ISetStyleCommandParams } from '../set-style.command';
-
import { ICommandService, IUniverInstanceService, UndoCommand, UniverInstanceType } from '@univerjs/core';
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { SheetRangeThemeModel } from '../../../models/range-theme-model';
diff --git a/packages/sheets/src/commands/commands/add-worksheet-range-theme.command.ts b/packages/sheets/src/commands/commands/add-worksheet-range-theme.command.ts
index b84a402dd9..b5856af728 100644
--- a/packages/sheets/src/commands/commands/add-worksheet-range-theme.command.ts
+++ b/packages/sheets/src/commands/commands/add-worksheet-range-theme.command.ts
@@ -15,14 +15,16 @@
*/
import type { IAccessor, ICommand } from '@univerjs/core';
-
import type { IWorksheetRangeThemeStyleMutationParams } from '../../basics/interfaces/mutation-interface';
import {
CommandType,
ICommandService,
IUndoRedoService,
} from '@univerjs/core';
-import { SetWorksheetRangeThemeStyleMutation, SetWorksheetRangeThemeStyleMutationFactory } from '../mutations/add-worksheet-range-theme.mutation';
+import {
+ SetWorksheetRangeThemeStyleMutation,
+ SetWorksheetRangeThemeStyleMutationFactory,
+} from '../mutations/add-worksheet-range-theme.mutation';
import { DeleteWorksheetRangeThemeStyleMutation } from '../mutations/delete-worksheet-range-theme.mutation';
export const SetWorksheetRangeThemeStyleCommand: ICommand = {
diff --git a/packages/sheets/src/commands/commands/delete-worksheet-range-theme.command.ts b/packages/sheets/src/commands/commands/delete-worksheet-range-theme.command.ts
index 6e99d1ade1..d55dbf2841 100644
--- a/packages/sheets/src/commands/commands/delete-worksheet-range-theme.command.ts
+++ b/packages/sheets/src/commands/commands/delete-worksheet-range-theme.command.ts
@@ -15,7 +15,6 @@
*/
import type { IAccessor, ICommand } from '@univerjs/core';
-
import type { IWorksheetRangeThemeStyleMutationParams } from '../../basics/interfaces/mutation-interface';
import {
CommandType,
@@ -23,7 +22,10 @@ import {
IUndoRedoService,
} from '@univerjs/core';
import { SetWorksheetRangeThemeStyleMutation } from '../mutations/add-worksheet-range-theme.mutation';
-import { DeleteWorksheetRangeThemeStyleMutation, DeleteWorksheetRangeThemeStyleMutationFactory } from '../mutations/delete-worksheet-range-theme.mutation';
+import {
+ DeleteWorksheetRangeThemeStyleMutation,
+ DeleteWorksheetRangeThemeStyleMutationFactory,
+} from '../mutations/delete-worksheet-range-theme.mutation';
export const DeleteWorksheetRangeThemeStyleCommand: ICommand = {
type: CommandType.COMMAND,
diff --git a/packages/sheets/src/commands/commands/insert-range-move-down.command.ts b/packages/sheets/src/commands/commands/insert-range-move-down.command.ts
index d8ed2f0c86..46ff7ff90e 100644
--- a/packages/sheets/src/commands/commands/insert-range-move-down.command.ts
+++ b/packages/sheets/src/commands/commands/insert-range-move-down.command.ts
@@ -20,7 +20,6 @@ import type {
IInsertRowMutationParams,
IRemoveRowsMutationParams,
} from '../../basics/interfaces/mutation-interface';
-
import {
BooleanNumber,
CommandType,
diff --git a/packages/sheets/src/commands/commands/move-range.command.ts b/packages/sheets/src/commands/commands/move-range.command.ts
index fc51645f44..a3a03650f7 100644
--- a/packages/sheets/src/commands/commands/move-range.command.ts
+++ b/packages/sheets/src/commands/commands/move-range.command.ts
@@ -14,9 +14,17 @@
* limitations under the License.
*/
-import type { IAccessor, ICellData, ICommand, IRange, ISelectionCell, Nullable, Workbook, Worksheet } from '@univerjs/core';
+import type {
+ IAccessor,
+ ICellData,
+ ICommand,
+ IRange,
+ ISelectionCell,
+ Nullable,
+ Workbook,
+ Worksheet,
+} from '@univerjs/core';
import type { IMoveRangeMutationParams } from '../mutations/move-range.mutation';
-
import type { ISetSelectionsOperationParams } from '../operations/selection.operation';
import {
cellToRange,
diff --git a/packages/sheets/src/commands/commands/move-rows-cols.command.ts b/packages/sheets/src/commands/commands/move-rows-cols.command.ts
index 90cae37d6e..e974456523 100644
--- a/packages/sheets/src/commands/commands/move-rows-cols.command.ts
+++ b/packages/sheets/src/commands/commands/move-rows-cols.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand, IRange, Worksheet } from '@univerjs/core';
import type { ISelectionWithStyle } from '../../basics';
-
import type { IMoveColumnsMutationParams, IMoveRowsMutationParams } from '../mutations/move-rows-cols.mutation';
import type { ISetSelectionsOperationParams } from '../operations/selection.operation';
import {
diff --git a/packages/sheets/src/commands/commands/register-range-theme.command.ts b/packages/sheets/src/commands/commands/register-range-theme.command.ts
index 139dc8762e..49722fe81f 100644
--- a/packages/sheets/src/commands/commands/register-range-theme.command.ts
+++ b/packages/sheets/src/commands/commands/register-range-theme.command.ts
@@ -17,7 +17,6 @@
import type { ICommand } from '@univerjs/core';
import type { RangeThemeStyle } from '../../models/range-theme-util';
import { CommandType, ICommandService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
-
import { RegisterWorksheetRangeThemeStyleMutation } from '../mutations/register-range-theme.mutation';
import { UnregisterWorksheetRangeThemeStyleMutation } from '../mutations/unregister-range-theme-style.mutation';
import { getSheetCommandTarget } from './utils/target-util';
diff --git a/packages/sheets/src/commands/commands/remove-sheet.command.ts b/packages/sheets/src/commands/commands/remove-sheet.command.ts
index 81aacac309..fcf336da27 100644
--- a/packages/sheets/src/commands/commands/remove-sheet.command.ts
+++ b/packages/sheets/src/commands/commands/remove-sheet.command.ts
@@ -20,7 +20,6 @@ import type {
IRemoveSheetMutationParams,
} from '../../basics/interfaces/mutation-interface';
import type { IUniverSheetsConfig } from '../../config/config';
-
import {
CommandType,
ICommandService,
diff --git a/packages/sheets/src/commands/commands/set-border.command.ts b/packages/sheets/src/commands/commands/set-border.command.ts
index 2ba1aafcd7..443f122305 100644
--- a/packages/sheets/src/commands/commands/set-border.command.ts
+++ b/packages/sheets/src/commands/commands/set-border.command.ts
@@ -24,7 +24,6 @@ import type {
IRange,
IStyleData,
} from '@univerjs/core';
-
import type { IBorderInfo } from '../../services/border-style-manager.service';
import type { ISetRangeValuesMutationParams } from '../mutations/set-range-values.mutation';
import type { IResult } from './utils/target-util';
diff --git a/packages/sheets/src/commands/commands/set-col-data.command.ts b/packages/sheets/src/commands/commands/set-col-data.command.ts
index 972fa5524b..0404cbc495 100644
--- a/packages/sheets/src/commands/commands/set-col-data.command.ts
+++ b/packages/sheets/src/commands/commands/set-col-data.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, IColumnData, ICommand, IObjectArrayPrimitiveType, Nullable } from '@univerjs/core';
import type { ISetColDataMutationParams } from '../mutations/set-col-data.mutation';
-
import type { ISheetCommandSharedParams } from '../utils/interface';
import {
CommandType,
diff --git a/packages/sheets/src/commands/commands/set-col-visible.command.ts b/packages/sheets/src/commands/commands/set-col-visible.command.ts
index 312f3aea24..5f089ddf5f 100644
--- a/packages/sheets/src/commands/commands/set-col-visible.command.ts
+++ b/packages/sheets/src/commands/commands/set-col-visible.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand, IRange, Nullable, Worksheet } from '@univerjs/core';
import type { ISetColHiddenMutationParams, ISetColVisibleMutationParams } from '../mutations/set-col-visible.mutation';
-
import type { ISetSelectionsOperationParams } from '../operations/selection.operation';
import {
CommandType,
diff --git a/packages/sheets/src/commands/commands/set-row-data.command.ts b/packages/sheets/src/commands/commands/set-row-data.command.ts
index f5b8bfb2a6..ad0a32c72b 100644
--- a/packages/sheets/src/commands/commands/set-row-data.command.ts
+++ b/packages/sheets/src/commands/commands/set-row-data.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand, IObjectArrayPrimitiveType, IRowData, Nullable } from '@univerjs/core';
import type { ISetRowDataMutationParams } from '../mutations/set-row-data.mutation';
-
import type { ISheetCommandSharedParams } from '../utils/interface';
import {
CommandType,
diff --git a/packages/sheets/src/commands/commands/set-row-visible.command.ts b/packages/sheets/src/commands/commands/set-row-visible.command.ts
index c16d344b0a..40f48cf0a9 100644
--- a/packages/sheets/src/commands/commands/set-row-visible.command.ts
+++ b/packages/sheets/src/commands/commands/set-row-visible.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand, IRange, Nullable, Worksheet } from '@univerjs/core';
import type { ISetRowHiddenMutationParams, ISetRowVisibleMutationParams } from '../mutations/set-row-visible.mutation';
-
import type { ISetSelectionsOperationParams } from '../operations/selection.operation';
import {
CommandType,
diff --git a/packages/sheets/src/commands/commands/set-style.command.ts b/packages/sheets/src/commands/commands/set-style.command.ts
index 6a5b1c48a8..175cf96b6d 100644
--- a/packages/sheets/src/commands/commands/set-style.command.ts
+++ b/packages/sheets/src/commands/commands/set-style.command.ts
@@ -28,7 +28,6 @@ import type {
WrapStrategy,
} from '@univerjs/core';
import type { ISetRangeValuesMutationParams } from '../mutations/set-range-values.mutation';
-
import type { ISheetCommandSharedParams } from '../utils/interface';
import {
BooleanNumber,
diff --git a/packages/sheets/src/commands/commands/set-worksheet-col-width.command.ts b/packages/sheets/src/commands/commands/set-worksheet-col-width.command.ts
index faa1e0c685..16e2e26b83 100644
--- a/packages/sheets/src/commands/commands/set-worksheet-col-width.command.ts
+++ b/packages/sheets/src/commands/commands/set-worksheet-col-width.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand, IRange } from '@univerjs/core';
import type { ISetWorksheetColWidthMutationParams } from '../mutations/set-worksheet-col-width.mutation';
-
import {
CommandType,
ICommandService,
diff --git a/packages/sheets/src/commands/commands/set-worksheet-default-style.command.ts b/packages/sheets/src/commands/commands/set-worksheet-default-style.command.ts
index 2e1e57649f..d8745d8c16 100644
--- a/packages/sheets/src/commands/commands/set-worksheet-default-style.command.ts
+++ b/packages/sheets/src/commands/commands/set-worksheet-default-style.command.ts
@@ -15,7 +15,6 @@
*/
import type { IAccessor, ICommand } from '@univerjs/core';
-
import type { ISetWorksheetDefaultStyleMutationParams } from '../mutations/set-worksheet-default-style.mutation';
import {
CommandType,
diff --git a/packages/sheets/src/commands/commands/set-worksheet-hide.command.ts b/packages/sheets/src/commands/commands/set-worksheet-hide.command.ts
index f0c342672b..75cf323d54 100644
--- a/packages/sheets/src/commands/commands/set-worksheet-hide.command.ts
+++ b/packages/sheets/src/commands/commands/set-worksheet-hide.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import type { ISetWorksheetHideMutationParams } from '../mutations/set-worksheet-hide.mutation';
-
import {
BooleanNumber,
CommandType,
diff --git a/packages/sheets/src/commands/commands/set-worksheet-name.command.ts b/packages/sheets/src/commands/commands/set-worksheet-name.command.ts
index f1bd7f356d..5e5238e57a 100644
--- a/packages/sheets/src/commands/commands/set-worksheet-name.command.ts
+++ b/packages/sheets/src/commands/commands/set-worksheet-name.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import type { ISetWorksheetNameMutationParams } from '../mutations/set-worksheet-name.mutation';
-
import {
CommandType,
ICommandService,
diff --git a/packages/sheets/src/commands/commands/set-worksheet-order.command.ts b/packages/sheets/src/commands/commands/set-worksheet-order.command.ts
index 2fd8d03f69..4167a33060 100644
--- a/packages/sheets/src/commands/commands/set-worksheet-order.command.ts
+++ b/packages/sheets/src/commands/commands/set-worksheet-order.command.ts
@@ -16,7 +16,6 @@
import type { IAccessor, ICommand } from '@univerjs/core';
import type { ISetWorksheetOrderMutationParams } from '../mutations/set-worksheet-order.mutation';
-
import { CommandType, ICommandService, IUndoRedoService, IUniverInstanceService } from '@univerjs/core';
import {
SetWorksheetOrderMutation,
diff --git a/packages/sheets/src/commands/commands/set-worksheet-row-height.command.ts b/packages/sheets/src/commands/commands/set-worksheet-row-height.command.ts
index 5a89843244..36f13053be 100644
--- a/packages/sheets/src/commands/commands/set-worksheet-row-height.command.ts
+++ b/packages/sheets/src/commands/commands/set-worksheet-row-height.command.ts
@@ -19,7 +19,6 @@ import type {
ISetWorksheetRowHeightMutationParams,
ISetWorksheetRowIsAutoHeightMutationParams,
} from '../mutations/set-worksheet-row-height.mutation';
-
import {
BooleanNumber,
CommandType,
diff --git a/packages/sheets/src/commands/commands/utils/selection-utils.ts b/packages/sheets/src/commands/commands/utils/selection-utils.ts
index 43a14a32c5..c548eebf85 100644
--- a/packages/sheets/src/commands/commands/utils/selection-utils.ts
+++ b/packages/sheets/src/commands/commands/utils/selection-utils.ts
@@ -14,12 +14,23 @@
* limitations under the License.
*/
-import type { ICellData, IInterceptor, IObjectMatrixPrimitiveType, IRange, ISelectionCell, Nullable, Workbook, Worksheet } from '@univerjs/core';
+import type {
+ ICellData,
+ IInterceptor,
+ IObjectMatrixPrimitiveType,
+ IRange,
+ ISelectionCell,
+ Nullable,
+ Workbook,
+ Worksheet,
+} from '@univerjs/core';
import type { ISelectionWithStyle } from '../../../basics/selection';
-
import type { ISetSelectionsOperationParams } from '../../operations/selection.operation';
import { RANGE_TYPE, Rectangle, selectionToArray, Tools } from '@univerjs/core';
-import { IgnoreRangeThemeInterceptorKey, RangeThemeInterceptorId } from '../../../services/sheet-interceptor/interceptor-const';
+import {
+ IgnoreRangeThemeInterceptorKey,
+ RangeThemeInterceptorId,
+} from '../../../services/sheet-interceptor/interceptor-const';
import { SetSelectionsOperation } from '../../operations/selection.operation';
export interface IExpandParams {
diff --git a/packages/sheets/src/index.ts b/packages/sheets/src/index.ts
index 2306a6a70c..d0ce6bcd2a 100644
--- a/packages/sheets/src/index.ts
+++ b/packages/sheets/src/index.ts
@@ -19,13 +19,12 @@ export { checkCellValueType } from './basics/cell-type';
export {
COMMAND_LISTENER_SKELETON_CHANGE,
COMMAND_LISTENER_VALUE_CHANGE,
- type CommandListenerSkeletonChange,
- type CommandListenerValueChange,
getSkeletonChangedEffectedRange,
getValueChangedEffectedRange,
SheetSkeletonChangeType,
SheetValueChangeType,
} from './basics/const/command-listener-const';
+export type { CommandListenerSkeletonChange, CommandListenerValueChange } from './basics/const/command-listener-const';
export { validateDefinedName } from './basics/defined-name-utils';
export { expandToContinuousRange } from './basics/expand-range';
export {
@@ -42,22 +41,39 @@ export {
type IRemoveWorksheetMergeMutationParams,
type IWorksheetRangeThemeStyleMutationParams,
} from './basics/interfaces';
-export { createTopMatrixFromMatrix, createTopMatrixFromRanges, findAllRectangle, rangeMerge, RangeMergeUtil } from './basics/range-merge';
+export {
+ createTopMatrixFromMatrix,
+ createTopMatrixFromRanges,
+ findAllRectangle,
+ rangeMerge,
+ RangeMergeUtil,
+} from './basics/range-merge';
export {
convertPrimaryWithCoordToPrimary,
convertSelectionDataToRange,
- type ISelectionStyle,
- type ISelectionWidgetConfig,
- type ISelectionWithCoord,
- type ISelectionWithStyle,
- type ISheetRangeLocation,
SELECTION_CONTROL_BORDER_BUFFER_COLOR,
SELECTION_CONTROL_BORDER_BUFFER_WIDTH,
} from './basics/selection';
+export type {
+ ISelectionStyle,
+ ISelectionWidgetConfig,
+ ISelectionWithCoord,
+ ISelectionWithStyle,
+ ISheetRangeLocation,
+} from './basics/selection';
export { SplitDelimiterEnum, splitRangeText } from './basics/split-range-text';
export { findFirstNonEmptyCell } from './basics/utils';
-export { deserializeListOptions, discreteRangeToRange, generateNullCell, generateNullCellValue, getVisibleRanges, rangeToDiscreteRange, serializeListOptions } from './basics/utils';
-export { AddRangeProtectionCommand, type IAddRangeProtectionCommandParams } from './commands/commands/add-range-protection.command';
+export {
+ deserializeListOptions,
+ discreteRangeToRange,
+ generateNullCell,
+ generateNullCellValue,
+ getVisibleRanges,
+ rangeToDiscreteRange,
+ serializeListOptions,
+} from './basics/utils';
+export { AddRangeProtectionCommand } from './commands/commands/add-range-protection.command';
+export type { IAddRangeProtectionCommandParams } from './commands/commands/add-range-protection.command';
export {
addMergeCellsUtil,
AddWorksheetMergeAllCommand,
@@ -66,29 +82,41 @@ export {
AddWorksheetMergeVerticalCommand,
getClearContentMutationParamForRange,
getClearContentMutationParamsForRanges,
- type IAddMergeCommandParams,
- type IMergeCellsUtilOptions,
} from './commands/commands/add-worksheet-merge.command';
+export type { IAddMergeCommandParams, IMergeCellsUtilOptions } from './commands/commands/add-worksheet-merge.command';
export { AddWorksheetProtectionCommand } from './commands/commands/add-worksheet-protection.command';
export { SetWorksheetRangeThemeStyleCommand } from './commands/commands/add-worksheet-range-theme.command';
-export { AppendRowCommand, type IAppendRowCommandParams } from './commands/commands/append-row.command';
-export { AutoClearContentCommand, AutoFillCommand, type IAutoClearContentCommand, type IAutoFillCommandParams, SheetCopyDownCommand, SheetCopyRightCommand } from './commands/commands/auto-fill.command';
-export { ClearSelectionAllCommand, type IClearSelectionAllCommandParams } from './commands/commands/clear-selection-all.command';
-export { ClearSelectionContentCommand, type IClearSelectionContentCommandParams } from './commands/commands/clear-selection-content.command';
-export { ClearSelectionFormatCommand, type IClearSelectionFormatCommandParams } from './commands/commands/clear-selection-format.command';
+export { AppendRowCommand } from './commands/commands/append-row.command';
+export type { IAppendRowCommandParams } from './commands/commands/append-row.command';
+export {
+ AutoClearContentCommand,
+ AutoFillCommand,
+ SheetCopyDownCommand,
+ SheetCopyRightCommand,
+} from './commands/commands/auto-fill.command';
+export type { IAutoClearContentCommand, IAutoFillCommandParams } from './commands/commands/auto-fill.command';
+export { ClearSelectionAllCommand } from './commands/commands/clear-selection-all.command';
+export type { IClearSelectionAllCommandParams } from './commands/commands/clear-selection-all.command';
+export { ClearSelectionContentCommand } from './commands/commands/clear-selection-content.command';
+export type { IClearSelectionContentCommandParams } from './commands/commands/clear-selection-content.command';
+export { ClearSelectionFormatCommand } from './commands/commands/clear-selection-format.command';
+export type { IClearSelectionFormatCommandParams } from './commands/commands/clear-selection-format.command';
export { CopySheetCommand } from './commands/commands/copy-worksheet.command';
export type { ICopySheetCommandParams } from './commands/commands/copy-worksheet.command';
-export { DeleteRangeMoveLeftCommand, type IDeleteRangeMoveLeftCommandParams } from './commands/commands/delete-range-move-left.command';
-export { DeleteRangeMoveUpCommand, type IDeleteRangeMoveUpCommandParams } from './commands/commands/delete-range-move-up.command';
-export { DeleteRangeProtectionCommand, type IDeleteRangeProtectionCommandParams } from './commands/commands/delete-range-protection.command';
+export { DeleteRangeMoveLeftCommand } from './commands/commands/delete-range-move-left.command';
+export type { IDeleteRangeMoveLeftCommandParams } from './commands/commands/delete-range-move-left.command';
+export { DeleteRangeMoveUpCommand } from './commands/commands/delete-range-move-up.command';
+export type { IDeleteRangeMoveUpCommandParams } from './commands/commands/delete-range-move-up.command';
+export { DeleteRangeProtectionCommand } from './commands/commands/delete-range-protection.command';
+export type { IDeleteRangeProtectionCommandParams } from './commands/commands/delete-range-protection.command';
export { DeleteWorksheetProtectionCommand } from './commands/commands/delete-worksheet-protection.command';
export { DeleteWorksheetRangeThemeStyleCommand } from './commands/commands/delete-worksheet-range-theme.command';
export { InsertDefinedNameCommand } from './commands/commands/insert-defined-name.command';
-export { type IInsertRangeMoveDownCommandParams, InsertRangeMoveDownCommand } from './commands/commands/insert-range-move-down.command';
-export { type IInsertRangeMoveRightCommandParams, InsertRangeMoveRightCommand } from './commands/commands/insert-range-move-right.command';
+export { InsertRangeMoveDownCommand } from './commands/commands/insert-range-move-down.command';
+export type { IInsertRangeMoveDownCommandParams } from './commands/commands/insert-range-move-down.command';
+export { InsertRangeMoveRightCommand } from './commands/commands/insert-range-move-right.command';
+export type { IInsertRangeMoveRightCommandParams } from './commands/commands/insert-range-move-right.command';
export {
- type IInsertColCommandParams,
- type IInsertRowCommandParams,
InsertColAfterCommand,
InsertColBeforeCommand,
InsertColByRangeCommand,
@@ -102,68 +130,88 @@ export {
InsertRowByRangeCommand,
InsertRowCommand,
} from './commands/commands/insert-row-col.command';
-export { type IInsertSheetCommandParams, InsertSheetCommand } from './commands/commands/insert-sheet.command';
-export { getMoveRangeCommandMutations, getMoveRangeUndoRedoMutations, type IMoveRangeCommandParams, MoveRangeCommand } from './commands/commands/move-range.command';
-export {
- type IMoveColsCommandParams,
- type IMoveRowsCommandParams,
- MoveColsCommand,
- MoveRowsCommand,
-} from './commands/commands/move-rows-cols.command';
-export { type IRefillCommandParams, RefillCommand } from './commands/commands/refill.command';
+export type { IInsertColCommandParams, IInsertRowCommandParams } from './commands/commands/insert-row-col.command';
+export { InsertSheetCommand } from './commands/commands/insert-sheet.command';
+export type { IInsertSheetCommandParams } from './commands/commands/insert-sheet.command';
+export {
+ getMoveRangeCommandMutations,
+ getMoveRangeUndoRedoMutations,
+ MoveRangeCommand,
+} from './commands/commands/move-range.command';
+export type { IMoveRangeCommandParams } from './commands/commands/move-range.command';
+export { MoveColsCommand, MoveRowsCommand } from './commands/commands/move-rows-cols.command';
+export type { IMoveColsCommandParams, IMoveRowsCommandParams } from './commands/commands/move-rows-cols.command';
+export { RefillCommand } from './commands/commands/refill.command';
+export type { IRefillCommandParams } from './commands/commands/refill.command';
export { RegisterWorksheetRangeThemeStyleCommand } from './commands/commands/register-range-theme.command';
export type { IRegisterWorksheetRangeThemeStyleCommandParams } from './commands/commands/register-range-theme.command';
export { RemoveDefinedNameCommand } from './commands/commands/remove-defined-name.command';
-export { type IRemoveColByRangeCommandParams, type IRemoveRowByRangeCommandParams, type IRemoveRowColCommandInterceptParams, type IRemoveRowColCommandParams, RemoveColByRangeCommand, RemoveColCommand, RemoveRowByRangeCommand, RemoveRowCommand } from './commands/commands/remove-row-col.command';
-export { type IRemoveSheetCommandParams, RemoveSheetCommand } from './commands/commands/remove-sheet.command';
-export { type IRemoveWorksheetMergeCommandParams, RemoveWorksheetMergeCommand } from './commands/commands/remove-worksheet-merge.command';
-export { type IReorderRangeCommandParams, ReorderRangeCommand } from './commands/commands/reorder-range.command';
-export {
- type ISetBorderBasicCommandParams,
- type ISetBorderColorCommandParams,
- type ISetBorderCommandParams,
- type ISetBorderPositionCommandParams,
- type ISetBorderStyleCommandParams,
+export {
+ RemoveColByRangeCommand,
+ RemoveColCommand,
+ RemoveRowByRangeCommand,
+ RemoveRowCommand,
+} from './commands/commands/remove-row-col.command';
+export type {
+ IRemoveColByRangeCommandParams,
+ IRemoveRowByRangeCommandParams,
+ IRemoveRowColCommandInterceptParams,
+ IRemoveRowColCommandParams,
+} from './commands/commands/remove-row-col.command';
+export { RemoveSheetCommand } from './commands/commands/remove-sheet.command';
+export type { IRemoveSheetCommandParams } from './commands/commands/remove-sheet.command';
+export { RemoveWorksheetMergeCommand } from './commands/commands/remove-worksheet-merge.command';
+export type { IRemoveWorksheetMergeCommandParams } from './commands/commands/remove-worksheet-merge.command';
+export { ReorderRangeCommand } from './commands/commands/reorder-range.command';
+export type { IReorderRangeCommandParams } from './commands/commands/reorder-range.command';
+export {
SetBorderBasicCommand,
SetBorderColorCommand,
SetBorderCommand,
SetBorderPositionCommand,
SetBorderStyleCommand,
} from './commands/commands/set-border.command';
-export { type ISetColDataCommandParams, SetColDataCommand } from './commands/commands/set-col-data.command';
+export type {
+ ISetBorderBasicCommandParams,
+ ISetBorderColorCommandParams,
+ ISetBorderCommandParams,
+ ISetBorderPositionCommandParams,
+ ISetBorderStyleCommandParams,
+} from './commands/commands/set-border.command';
+export { SetColDataCommand } from './commands/commands/set-col-data.command';
+export type { ISetColDataCommandParams } from './commands/commands/set-col-data.command';
export {
- type ISetColHiddenCommandParams,
- type ISetSpecificColsVisibleCommandParams,
SetColHiddenCommand,
SetSelectedColsVisibleCommand,
SetSpecificColsVisibleCommand,
} from './commands/commands/set-col-visible.command';
+export type {
+ ISetColHiddenCommandParams,
+ ISetSpecificColsVisibleCommandParams,
+} from './commands/commands/set-col-visible.command';
export { SetDefinedNameCommand } from './commands/commands/set-defined-name.command';
export { type ICancelFrozenCommandParams, type ISetFrozenCommandParams } from './commands/commands/set-frozen.command';
export { CancelFrozenCommand, SetFrozenCommand } from './commands/commands/set-frozen.command';
-export { type ISetGridlinesColorCommandParams, SetGridlinesColorCommand } from './commands/commands/set-gridlines-color.command';
+export { SetGridlinesColorCommand } from './commands/commands/set-gridlines-color.command';
+export type { ISetGridlinesColorCommandParams } from './commands/commands/set-gridlines-color.command';
export { SetProtectionCommand } from './commands/commands/set-protection.command';
-export { type ISetRangeCustomMetadataCommandParams, SetRangeCustomMetadataCommand } from './commands/commands/set-range-custom-metadata.command';
-export { type ISetRangeValuesCommandParams, SetRangeValuesCommand } from './commands/commands/set-range-values.command';
-export { type ISetRowDataCommandParams, SetRowDataCommand } from './commands/commands/set-row-data.command';
+export { SetRangeCustomMetadataCommand } from './commands/commands/set-range-custom-metadata.command';
+export type { ISetRangeCustomMetadataCommandParams } from './commands/commands/set-range-custom-metadata.command';
+export { SetRangeValuesCommand } from './commands/commands/set-range-values.command';
+export type { ISetRangeValuesCommandParams } from './commands/commands/set-range-values.command';
+export { SetRowDataCommand } from './commands/commands/set-row-data.command';
+export type { ISetRowDataCommandParams } from './commands/commands/set-row-data.command';
export {
- type ISetRowHiddenCommandParams,
- type ISetSpecificRowsVisibleCommandParams,
SetRowHiddenCommand,
SetSelectedRowsVisibleCommand,
SetSpecificRowsVisibleCommand,
} from './commands/commands/set-row-visible.command';
+export type {
+ ISetRowHiddenCommandParams,
+ ISetSpecificRowsVisibleCommandParams,
+} from './commands/commands/set-row-visible.command';
export {
AFFECT_LAYOUT_STYLES,
- type ISetColorCommandParams,
- type ISetFontFamilyCommandParams,
- type ISetFontSizeCommandParams,
- type ISetHorizontalTextAlignCommandParams,
- type ISetStyleCommandParams,
- type ISetTextRotationCommandParams,
- type ISetTextWrapCommandParams,
- type ISetVerticalTextAlignCommandParams,
- type IStyleTypeValue,
ResetBackgroundColorCommand,
ResetTextColorCommand,
SetBackgroundColorCommand,
@@ -181,11 +229,27 @@ export {
SetUnderlineCommand,
SetVerticalTextAlignCommand,
} from './commands/commands/set-style.command';
+export type {
+ ISetColorCommandParams,
+ ISetFontFamilyCommandParams,
+ ISetFontSizeCommandParams,
+ ISetHorizontalTextAlignCommandParams,
+ ISetStyleCommandParams,
+ ISetTextRotationCommandParams,
+ ISetTextWrapCommandParams,
+ ISetVerticalTextAlignCommandParams,
+ IStyleTypeValue,
+} from './commands/commands/set-style.command';
export { SetTabColorCommand } from './commands/commands/set-tab-color.command';
-export { type ISetWorkbookNameCommandParams, SetWorkbookNameCommand } from './commands/commands/set-workbook-name.command';
-export { type ISetWorksheetActivateCommandParams, SetWorksheetActivateCommand } from './commands/commands/set-worksheet-activate.command';
+export { SetWorkbookNameCommand } from './commands/commands/set-workbook-name.command';
+export type { ISetWorkbookNameCommandParams } from './commands/commands/set-workbook-name.command';
+export { SetWorksheetActivateCommand } from './commands/commands/set-worksheet-activate.command';
+export type { ISetWorksheetActivateCommandParams } from './commands/commands/set-worksheet-activate.command';
export { DeltaColumnWidthCommand, SetColWidthCommand } from './commands/commands/set-worksheet-col-width.command';
-export type { IDeltaColumnWidthCommandParams, ISetColWidthCommandParams } from './commands/commands/set-worksheet-col-width.command';
+export type {
+ IDeltaColumnWidthCommandParams,
+ ISetColWidthCommandParams,
+} from './commands/commands/set-worksheet-col-width.command';
export { SetWorksheetColumnCountCommand } from './commands/commands/set-worksheet-column-count.command';
export { SetWorksheetDefaultStyleCommand } from './commands/commands/set-worksheet-default-style.command';
export { SetWorksheetHideCommand } from './commands/commands/set-worksheet-hide.command';
@@ -196,33 +260,74 @@ export { SetWorksheetPermissionPointsCommand } from './commands/commands/set-wor
export { SetWorksheetProtectionCommand } from './commands/commands/set-worksheet-protection.command';
export { SetWorksheetRightToLeftCommand } from './commands/commands/set-worksheet-right-to-left.command';
export { SetWorksheetRowCountCommand } from './commands/commands/set-worksheet-row-count.command';
-export { DeltaRowHeightCommand, type ISetRowHeightCommandParams, SetRowHeightCommand, SetWorksheetRowIsAutoHeightCommand } from './commands/commands/set-worksheet-row-height.command';
-export type { IDeltaRowHeightCommandParams, ISetWorksheetRowIsAutoHeightCommandParams } from './commands/commands/set-worksheet-row-height.command';
+export {
+ DeltaRowHeightCommand,
+ SetRowHeightCommand,
+ SetWorksheetRowIsAutoHeightCommand,
+} from './commands/commands/set-worksheet-row-height.command';
+export type { ISetRowHeightCommandParams } from './commands/commands/set-worksheet-row-height.command';
+export type {
+ IDeltaRowHeightCommandParams,
+ ISetWorksheetRowIsAutoHeightCommandParams,
+} from './commands/commands/set-worksheet-row-height.command';
export { SetWorksheetShowCommand } from './commands/commands/set-worksheet-show.command';
export type { ISetWorksheetShowCommandParams } from './commands/commands/set-worksheet-show.command';
export { SplitTextToColumnsCommand } from './commands/commands/split-text-to-columns.command';
export type { ISplitTextToColumnsCommandParams } from './commands/commands/split-text-to-columns.command';
-export { type ITextToNumberCommandParams, TextToNumberCommand } from './commands/commands/text-to-number.command';
-export { type IToggleCellCheckboxCommandParams, ToggleCellCheckboxCommand } from './commands/commands/toggle-checkbox.command';
-export { type IToggleGridlinesCommandParams, ToggleGridlinesCommand } from './commands/commands/toggle-gridlines.command';
+export { TextToNumberCommand } from './commands/commands/text-to-number.command';
+export type { ITextToNumberCommandParams } from './commands/commands/text-to-number.command';
+export { ToggleCellCheckboxCommand } from './commands/commands/toggle-checkbox.command';
+export type { IToggleCellCheckboxCommandParams } from './commands/commands/toggle-checkbox.command';
+export { ToggleGridlinesCommand } from './commands/commands/toggle-gridlines.command';
+export type { IToggleGridlinesCommandParams } from './commands/commands/toggle-gridlines.command';
export { UnregisterWorksheetRangeThemeStyleCommand } from './commands/commands/unregister-range-theme.command';
-export type { IUnregisterWorksheetRangeThemeStyleCommandParams } from './commands/commands/unregister-range-theme.command';
+export type {
+ IUnregisterWorksheetRangeThemeStyleCommandParams,
+} from './commands/commands/unregister-range-theme.command';
export { countCells } from './commands/commands/util';
-export { alignToMergedCellsBorders, getCellAtRowCol, isSingleCellSelection, setEndForRange } from './commands/commands/utils/selection-utils';
+export {
+ alignToMergedCellsBorders,
+ getCellAtRowCol,
+ isSingleCellSelection,
+ setEndForRange,
+} from './commands/commands/utils/selection-utils';
export { followSelectionOperation, getPrimaryForRange } from './commands/commands/utils/selection-utils';
export { copyRangeStyles } from './commands/commands/utils/selection-utils';
-export { getSheetCommandTarget, getSheetCommandTargetWorkbook, getSheetMutationTarget } from './commands/commands/utils/target-util';
-export { AddRangeProtectionMutation, FactoryAddRangeProtectionMutation, type IAddRangeProtectionMutationParams } from './commands/mutations/add-range-protection.mutation';
+export {
+ getSheetCommandTarget,
+ getSheetCommandTargetWorkbook,
+ getSheetMutationTarget,
+} from './commands/commands/utils/target-util';
+export {
+ AddRangeProtectionMutation,
+ FactoryAddRangeProtectionMutation,
+} from './commands/mutations/add-range-protection.mutation';
+export type { IAddRangeProtectionMutationParams } from './commands/mutations/add-range-protection.mutation';
export { AddRangeThemeMutation } from './commands/mutations/add-range-theme.mutation';
export type { IAddRangeThemeMutationParams } from './commands/mutations/add-range-theme.mutation';
-export { AddMergeUndoMutationFactory, AddWorksheetMergeMutation } from './commands/mutations/add-worksheet-merge.mutation';
-export { AddWorksheetProtectionMutation, type IAddWorksheetProtectionParams } from './commands/mutations/add-worksheet-protection.mutation';
-export { SetWorksheetRangeThemeStyleMutation, SetWorksheetRangeThemeStyleMutationFactory } from './commands/mutations/add-worksheet-range-theme.mutation';
-export { CopyWorksheetEndMutation, type ICopyWorksheetEndMutationParams } from './commands/mutations/copy-worksheet-end.mutation';
-export { DeleteRangeProtectionMutation, FactoryDeleteRangeProtectionMutation, type IDeleteRangeProtectionMutationParams } from './commands/mutations/delete-range-protection.mutation';
+export {
+ AddMergeUndoMutationFactory,
+ AddWorksheetMergeMutation,
+} from './commands/mutations/add-worksheet-merge.mutation';
+export { AddWorksheetProtectionMutation } from './commands/mutations/add-worksheet-protection.mutation';
+export type { IAddWorksheetProtectionParams } from './commands/mutations/add-worksheet-protection.mutation';
+export {
+ SetWorksheetRangeThemeStyleMutation,
+ SetWorksheetRangeThemeStyleMutationFactory,
+} from './commands/mutations/add-worksheet-range-theme.mutation';
+export { CopyWorksheetEndMutation } from './commands/mutations/copy-worksheet-end.mutation';
+export type { ICopyWorksheetEndMutationParams } from './commands/mutations/copy-worksheet-end.mutation';
+export {
+ DeleteRangeProtectionMutation,
+ FactoryDeleteRangeProtectionMutation,
+} from './commands/mutations/delete-range-protection.mutation';
+export type { IDeleteRangeProtectionMutationParams } from './commands/mutations/delete-range-protection.mutation';
export { DeleteWorksheetProtectionMutation } from './commands/mutations/delete-worksheet-protection.mutation';
export type { IDeleteWorksheetProtectionParams } from './commands/mutations/delete-worksheet-protection.mutation';
-export { DeleteWorksheetRangeThemeStyleMutation, DeleteWorksheetRangeThemeStyleMutationFactory } from './commands/mutations/delete-worksheet-range-theme.mutation';
+export {
+ DeleteWorksheetRangeThemeStyleMutation,
+ DeleteWorksheetRangeThemeStyleMutationFactory,
+} from './commands/mutations/delete-worksheet-range-theme.mutation';
export { EmptyMutation } from './commands/mutations/empty.mutation';
export {
InsertColMutation,
@@ -231,84 +336,116 @@ export {
InsertRowMutationUndoFactory,
} from './commands/mutations/insert-row-col.mutation';
export { InsertSheetMutation, InsertSheetUndoMutationFactory } from './commands/mutations/insert-sheet.mutation';
-export { type IMarkDirtyFilterChangeMutationParams, MarkDirtyFilterChangeMutation } from './commands/mutations/mark-dirty-filter-change.mutation';
-export { type IMoveRangeMutationParams, MoveRangeMutation } from './commands/mutations/move-range.mutation';
+export { MarkDirtyFilterChangeMutation } from './commands/mutations/mark-dirty-filter-change.mutation';
+export type { IMarkDirtyFilterChangeMutationParams } from './commands/mutations/mark-dirty-filter-change.mutation';
+export { MoveRangeMutation } from './commands/mutations/move-range.mutation';
+export type { IMoveRangeMutationParams } from './commands/mutations/move-range.mutation';
export {
- type IMoveColumnsMutationParams,
- type IMoveRowsMutationParams,
MoveColsMutation,
MoveColsMutationUndoFactory,
MoveRowsMutation,
MoveRowsMutationUndoFactory,
} from './commands/mutations/move-rows-cols.mutation';
+export type { IMoveColumnsMutationParams, IMoveRowsMutationParams } from './commands/mutations/move-rows-cols.mutation';
export {
factoryRemoveNumfmtUndoMutation,
factorySetNumfmtUndoMutation,
- type IRemoveNumfmtMutationParams,
- type ISetCellsNumfmt,
- type ISetNumfmtMutationParams,
RemoveNumfmtMutation,
SetNumfmtMutation,
transformCellsToRange,
} from './commands/mutations/numfmt.mutation';
-export { type IRegisterWorksheetRangeThemeStyleMutationParams, RegisterWorksheetRangeThemeStyleMutation } from './commands/mutations/register-range-theme.mutation';
+export type {
+ IRemoveNumfmtMutationParams,
+ ISetCellsNumfmt,
+ ISetNumfmtMutationParams,
+} from './commands/mutations/numfmt.mutation';
+export { RegisterWorksheetRangeThemeStyleMutation } from './commands/mutations/register-range-theme.mutation';
+export type {
+ IRegisterWorksheetRangeThemeStyleMutationParams,
+} from './commands/mutations/register-range-theme.mutation';
export { RemoveRangeThemeMutation } from './commands/mutations/remove-range-theme.mutation';
export type { IRemoveRangeThemeMutationParams } from './commands/mutations/remove-range-theme.mutation';
export { RemoveColMutation, RemoveRowMutation } from './commands/mutations/remove-row-col.mutation';
export { RemoveSheetMutation, RemoveSheetUndoMutationFactory } from './commands/mutations/remove-sheet.mutation';
-export { RemoveMergeUndoMutationFactory, RemoveWorksheetMergeMutation } from './commands/mutations/remove-worksheet-merge.mutation';
-export { type IReorderRangeMutationParams, ReorderRangeMutation, ReorderRangeUndoMutationFactory } from './commands/mutations/reorder-range.mutation';
-export { type ISetColDataMutationParams, SetColDataMutation, SetColDataMutationFactory } from './commands/mutations/set-col-data.mutation';
-export {
- type ISetColHiddenMutationParams,
- type ISetColVisibleMutationParams,
- SetColHiddenMutation,
- SetColVisibleMutation,
+export {
+ RemoveMergeUndoMutationFactory,
+ RemoveWorksheetMergeMutation,
+} from './commands/mutations/remove-worksheet-merge.mutation';
+export { ReorderRangeMutation, ReorderRangeUndoMutationFactory } from './commands/mutations/reorder-range.mutation';
+export type { IReorderRangeMutationParams } from './commands/mutations/reorder-range.mutation';
+export { SetColDataMutation, SetColDataMutationFactory } from './commands/mutations/set-col-data.mutation';
+export type { ISetColDataMutationParams } from './commands/mutations/set-col-data.mutation';
+export { SetColHiddenMutation, SetColVisibleMutation } from './commands/mutations/set-col-visible.mutation';
+export type {
+ ISetColHiddenMutationParams,
+ ISetColVisibleMutationParams,
} from './commands/mutations/set-col-visible.mutation';
+export { SetFrozenMutation, SetFrozenMutationFactory } from './commands/mutations/set-frozen.mutation';
+export type { ISetFrozenMutationParams } from './commands/mutations/set-frozen.mutation';
+export { SetGridlinesColorMutation } from './commands/mutations/set-gridlines-color.mutation';
+export type { ISetGridlinesColorMutationParams } from './commands/mutations/set-gridlines-color.mutation';
export {
- type ISetFrozenMutationParams,
- SetFrozenMutation,
- SetFrozenMutationFactory,
-} from './commands/mutations/set-frozen.mutation';
-export { type ISetGridlinesColorMutationParams, SetGridlinesColorMutation } from './commands/mutations/set-gridlines-color.mutation';
-export { FactorySetRangeProtectionMutation, type ISetRangeProtectionMutationParams, SetRangeProtectionMutation } from './commands/mutations/set-range-protection.mutation';
+ FactorySetRangeProtectionMutation,
+ SetRangeProtectionMutation,
+} from './commands/mutations/set-range-protection.mutation';
+export type { ISetRangeProtectionMutationParams } from './commands/mutations/set-range-protection.mutation';
export { SetRangeThemeMutation } from './commands/mutations/set-range-theme.mutation';
export type { ISetRangeThemeMutationParams } from './commands/mutations/set-range-theme.mutation';
export {
- type ISetRangeValuesMutationParams,
- type ISetRangeValuesRangeMutationParams,
SetRangeValuesMutation,
SetRangeValuesUndoMutationFactory,
} from './commands/mutations/set-range-values.mutation';
-export { type ISetRowDataMutationParams, SetRowDataMutation, SetRowDataMutationFactory } from './commands/mutations/set-row-data.mutation';
-export {
- type ISetRowHiddenMutationParams,
- type ISetRowVisibleMutationParams,
- SetRowHiddenMutation,
- SetRowVisibleMutation,
+export type {
+ ISetRangeValuesMutationParams,
+ ISetRangeValuesRangeMutationParams,
+} from './commands/mutations/set-range-values.mutation';
+export { SetRowDataMutation, SetRowDataMutationFactory } from './commands/mutations/set-row-data.mutation';
+export type { ISetRowDataMutationParams } from './commands/mutations/set-row-data.mutation';
+export { SetRowHiddenMutation, SetRowVisibleMutation } from './commands/mutations/set-row-visible.mutation';
+export type {
+ ISetRowHiddenMutationParams,
+ ISetRowVisibleMutationParams,
} from './commands/mutations/set-row-visible.mutation';
-export { type ISetTabColorMutationParams, SetTabColorMutation } from './commands/mutations/set-tab-color.mutation';
-export { type ISetWorkbookNameMutationParams, SetWorkbookNameMutation } from './commands/mutations/set-workbook-name.mutation';
+export { SetTabColorMutation } from './commands/mutations/set-tab-color.mutation';
+export type { ISetTabColorMutationParams } from './commands/mutations/set-tab-color.mutation';
+export { SetWorkbookNameMutation } from './commands/mutations/set-workbook-name.mutation';
+export type { ISetWorkbookNameMutationParams } from './commands/mutations/set-workbook-name.mutation';
export {
- type ISetWorksheetColWidthMutationParams,
SetWorksheetColWidthMutation,
SetWorksheetColWidthMutationFactory,
} from './commands/mutations/set-worksheet-col-width.mutation';
-export { type ISetWorksheetColumnCountMutationParams, SetWorksheetColumnCountMutation, SetWorksheetColumnCountUndoMutationFactory } from './commands/mutations/set-worksheet-column-count.mutation';
-export { type ISetWorksheetDefaultStyleMutationParams, SetWorksheetDefaultStyleMutation, SetWorksheetDefaultStyleMutationFactory } from './commands/mutations/set-worksheet-default-style.mutation';
-export { type ISetWorksheetHideMutationParams, SetWorksheetHideMutation } from './commands/mutations/set-worksheet-hide.mutation';
-export { type ISetWorksheetNameMutationParams, SetWorksheetNameMutation } from './commands/mutations/set-worksheet-name.mutation';
-export { type ISetWorksheetOrderMutationParams, SetWorksheetOrderMutation } from './commands/mutations/set-worksheet-order.mutation';
+export type { ISetWorksheetColWidthMutationParams } from './commands/mutations/set-worksheet-col-width.mutation';
+export {
+ SetWorksheetColumnCountMutation,
+ SetWorksheetColumnCountUndoMutationFactory,
+} from './commands/mutations/set-worksheet-column-count.mutation';
+export type { ISetWorksheetColumnCountMutationParams } from './commands/mutations/set-worksheet-column-count.mutation';
+export {
+ SetWorksheetDefaultStyleMutation,
+ SetWorksheetDefaultStyleMutationFactory,
+} from './commands/mutations/set-worksheet-default-style.mutation';
+export type {
+ ISetWorksheetDefaultStyleMutationParams,
+} from './commands/mutations/set-worksheet-default-style.mutation';
+export { SetWorksheetHideMutation } from './commands/mutations/set-worksheet-hide.mutation';
+export type { ISetWorksheetHideMutationParams } from './commands/mutations/set-worksheet-hide.mutation';
+export { SetWorksheetNameMutation } from './commands/mutations/set-worksheet-name.mutation';
+export type { ISetWorksheetNameMutationParams } from './commands/mutations/set-worksheet-name.mutation';
+export { SetWorksheetOrderMutation } from './commands/mutations/set-worksheet-order.mutation';
+export type { ISetWorksheetOrderMutationParams } from './commands/mutations/set-worksheet-order.mutation';
export { SetWorksheetPermissionPointsMutation } from './commands/mutations/set-worksheet-permission-points.mutation';
-export type { ISetWorksheetPermissionPointsMutationParams } from './commands/mutations/set-worksheet-permission-points.mutation';
+export type {
+ ISetWorksheetPermissionPointsMutationParams,
+} from './commands/mutations/set-worksheet-permission-points.mutation';
export { SetWorksheetProtectionMutation } from './commands/mutations/set-worksheet-protection.mutation';
export type { ISetWorksheetProtectionParams } from './commands/mutations/set-worksheet-protection.mutation';
export { SetWorksheetRightToLeftMutation } from './commands/mutations/set-worksheet-right-to-left.mutation';
-export { type ISetWorksheetRowCountMutationParams, SetWorksheetRowCountMutation, SetWorksheetRowCountUndoMutationFactory } from './commands/mutations/set-worksheet-row-count.mutation';
export {
- type ISetWorksheetRowAutoHeightMutationParams,
- type ISetWorksheetRowHeightMutationParams,
- type ISetWorksheetRowIsAutoHeightMutationParams,
+ SetWorksheetRowCountMutation,
+ SetWorksheetRowCountUndoMutationFactory,
+} from './commands/mutations/set-worksheet-row-count.mutation';
+export type { ISetWorksheetRowCountMutationParams } from './commands/mutations/set-worksheet-row-count.mutation';
+export {
SetWorksheetRowAutoHeightMutation,
SetWorksheetRowAutoHeightMutationFactory,
SetWorksheetRowHeightMutation,
@@ -316,24 +453,45 @@ export {
SetWorksheetRowIsAutoHeightMutation,
SetWorksheetRowIsAutoHeightMutationFactory,
} from './commands/mutations/set-worksheet-row-height.mutation';
-export { type IToggleGridlinesMutationParams, ToggleGridlinesMutation } from './commands/mutations/toggle-gridlines.mutation';
-export { type IUnregisterWorksheetRangeThemeStyleMutationParams, UnregisterWorksheetRangeThemeStyleMutation } from './commands/mutations/unregister-range-theme-style.mutation';
+export type {
+ ISetWorksheetRowAutoHeightMutationParams,
+ ISetWorksheetRowHeightMutationParams,
+ ISetWorksheetRowIsAutoHeightMutationParams,
+} from './commands/mutations/set-worksheet-row-height.mutation';
+export { ToggleGridlinesMutation } from './commands/mutations/toggle-gridlines.mutation';
+export type { IToggleGridlinesMutationParams } from './commands/mutations/toggle-gridlines.mutation';
+export { UnregisterWorksheetRangeThemeStyleMutation } from './commands/mutations/unregister-range-theme-style.mutation';
+export type {
+ IUnregisterWorksheetRangeThemeStyleMutationParams,
+} from './commands/mutations/unregister-range-theme-style.mutation';
export {
CancelMarkDirtyRowAutoHeightOperation,
- type ICancelMarkDirtyRowAutoHeightOperationParams,
- type IMarkDirtyRowAutoHeightOperationParams,
MarkDirtyRowAutoHeightOperation,
} from './commands/operations/mark-dirty-auto-height.operation';
-export { type IScrollToCellOperationParams, ScrollToCellOperation } from './commands/operations/scroll-to-cell.operation';
-export { type ISelectRangeCommandParams, type ISetSelectionsOperationParams, SelectRangeCommand, SetSelectionsOperation } from './commands/operations/selection.operation';
-export { type ISetWorksheetActiveOperationParams, SetWorksheetActiveOperation } from './commands/operations/set-worksheet-active.operation';
-export { AddMergeRedoSelectionsOperationFactory, AddMergeUndoSelectionsOperationFactory } from './commands/utils/handle-merge-operation';
+export type {
+ ICancelMarkDirtyRowAutoHeightOperationParams,
+ IMarkDirtyRowAutoHeightOperationParams,
+} from './commands/operations/mark-dirty-auto-height.operation';
+export { ScrollToCellOperation } from './commands/operations/scroll-to-cell.operation';
+export type { IScrollToCellOperationParams } from './commands/operations/scroll-to-cell.operation';
+export { SelectRangeCommand, SetSelectionsOperation } from './commands/operations/selection.operation';
+export type {
+ ISelectRangeCommandParams,
+ ISetSelectionsOperationParams,
+} from './commands/operations/selection.operation';
+export { SetWorksheetActiveOperation } from './commands/operations/set-worksheet-active.operation';
+export type { ISetWorksheetActiveOperationParams } from './commands/operations/set-worksheet-active.operation';
+export {
+ AddMergeRedoSelectionsOperationFactory,
+ AddMergeUndoSelectionsOperationFactory,
+} from './commands/utils/handle-merge-operation';
export { handleDeleteRangeMutation } from './commands/utils/handle-range.mutation';
export { getInsertRangeMutations, getRemoveRangeMutations } from './commands/utils/handle-range.mutation';
export { handleInsertRangeMutation } from './commands/utils/handle-range.mutation';
export { type ISheetCommandSharedParams } from './commands/utils/interface';
export { getSelectionsService } from './commands/utils/selection-command-util';
-export { defaultLargeSheetOperationConfig, type ILargeSheetOperationConfig, type IUniverSheetsConfig, SHEETS_PLUGIN_CONFIG_KEY } from './config/config';
+export { defaultLargeSheetOperationConfig, SHEETS_PLUGIN_CONFIG_KEY } from './config/config';
+export type { ILargeSheetOperationConfig, IUniverSheetsConfig } from './config/config';
export { AutoFillController } from './controllers/auto-fill.controller';
export { CalculateResultApplyController } from './controllers/calculate-result-apply.controller';
export { MAX_CELL_PER_SHEET_KEY } from './controllers/config/config';
@@ -345,8 +503,10 @@ export { MERGE_CELL_INTERCEPTOR_CHECK, MergeCellController } from './controllers
export { SheetPermissionCheckController } from './controllers/permission/sheet-permission-check.controller';
export { SheetPermissionInitController } from './controllers/permission/sheet-permission-init.controller';
export { ZebraCrossingCacheController } from './controllers/zebar-crossing.controller';
-export { type ICellPermission, RangeProtectionRenderModel } from './models/range-protection-render.model';
-export { EditStateEnum, type IModel, type IObjectModel, type IRangeProtectionRule, RangeProtectionRuleModel, ViewStateEnum } from './models/range-protection-rule.model';
+export { RangeProtectionRenderModel } from './models/range-protection-render.model';
+export type { ICellPermission } from './models/range-protection-render.model';
+export { EditStateEnum, RangeProtectionRuleModel, ViewStateEnum } from './models/range-protection-rule.model';
+export type { IModel, IObjectModel, IRangeProtectionRule } from './models/range-protection-rule.model';
export { RangeProtectionCache } from './models/range-protection.cache';
export { SheetRangeThemeModel } from './models/range-theme-model';
export type { IRangeThemeStyleJSON } from './models/range-theme-util';
@@ -356,27 +516,30 @@ export { UniverSheetsPlugin } from './plugin';
export { AutoFillService, IAutoFillService } from './services/auto-fill/auto-fill.service';
export { default as AutoFillRules } from './services/auto-fill/rules';
export { default as AutoFillTools } from './services/auto-fill/tools';
-export {
- type AUTO_FILL_APPLY_FUNCTIONS,
- AUTO_FILL_APPLY_TYPE,
- AUTO_FILL_DATA_TYPE,
- AUTO_FILL_HOOK_TYPE,
- type IAutoFillCopyDataInType,
- type IAutoFillCopyDataInTypeIndexInfo,
- type IAutoFillCopyDataPiece,
- type IAutoFillLocation,
- type IAutoFillRule,
- type IAutoFillRuleConfirmedData,
- type ISheetAutoFillHook,
+export { AUTO_FILL_APPLY_TYPE, AUTO_FILL_DATA_TYPE, AUTO_FILL_HOOK_TYPE } from './services/auto-fill/type';
+export type {
+ AUTO_FILL_APPLY_FUNCTIONS,
+ IAutoFillCopyDataInType,
+ IAutoFillCopyDataInTypeIndexInfo,
+ IAutoFillCopyDataPiece,
+ IAutoFillLocation,
+ IAutoFillRule,
+ IAutoFillRuleConfirmedData,
+ ISheetAutoFillHook,
} from './services/auto-fill/type';
-export { BorderStyleManagerService, type IBorderInfo } from './services/border-style-manager.service';
+export { BorderStyleManagerService } from './services/border-style-manager.service';
+export type { IBorderInfo } from './services/border-style-manager.service';
export { ExclusiveRangeService, IExclusiveRangeService } from './services/exclusive-range/exclusive-range.service';
export { SheetLazyExecuteScheduleService } from './services/lazy-execute-schedule.service';
export { NumfmtService } from './services/numfmt/numfmt.service';
export type { INumfmtItem, INumfmtItemWithCache } from './services/numfmt/type';
export { INumfmtService } from './services/numfmt/type';
export type { FormatType } from './services/numfmt/type';
-export { defaultWorksheetPermissionPoint, getAllWorksheetPermissionPoint, getAllWorksheetPermissionPointByPointPanel } from './services/permission';
+export {
+ defaultWorksheetPermissionPoint,
+ getAllWorksheetPermissionPoint,
+ getAllWorksheetPermissionPointByPointPanel,
+} from './services/permission';
export * from './services/permission/permission-point';
export {
WorkbookCommentPermission,
@@ -418,23 +581,30 @@ export {
WorksheetViewPermission,
} from './services/permission/permission-point';
export { PermissionPointsDefinitions } from './services/permission/permission-point/const';
-export { RangeProtectionPermissionDeleteProtectionPoint } from './services/permission/permission-point/range/delete-protection';
+export {
+ RangeProtectionPermissionDeleteProtectionPoint,
+} from './services/permission/permission-point/range/delete-protection';
export { RangeProtectionPermissionEditPoint } from './services/permission/permission-point/range/edit';
-export { RangeProtectionPermissionManageCollaPoint } from './services/permission/permission-point/range/manage-collaborator';
+export {
+ RangeProtectionPermissionManageCollaPoint,
+} from './services/permission/permission-point/range/manage-collaborator';
export { RangeProtectionPermissionViewPoint } from './services/permission/permission-point/range/view';
export { RangeProtectionRefRangeService } from './services/permission/range-permission/range-protection.ref-range';
export { RangeProtectionService } from './services/permission/range-permission/range-protection.service';
-export {
- getAllRangePermissionPoint,
- getDefaultRangePermission,
- type IRangePermissionPoint,
-} from './services/permission/range-permission/util';
+export { getAllRangePermissionPoint, getDefaultRangePermission } from './services/permission/range-permission/util';
+export type { IRangePermissionPoint } from './services/permission/range-permission/util';
export { baseProtectionActions } from './services/permission/range-permission/util';
export type { IWorksheetProtectionRule } from './services/permission/type';
export { checkRangesEditablePermission } from './services/permission/util';
-export { defaultWorkbookPermissionPoints, getAllWorkbookPermissionPoint } from './services/permission/workbook-permission';
+export {
+ defaultWorkbookPermissionPoints,
+ getAllWorkbookPermissionPoint,
+} from './services/permission/workbook-permission';
export { WorkbookPermissionService } from './services/permission/workbook-permission/workbook-permission.service';
-export { WorksheetProtectionPointModel, WorksheetProtectionRuleModel } from './services/permission/worksheet-permission';
+export {
+ WorksheetProtectionPointModel,
+ WorksheetProtectionRuleModel,
+} from './services/permission/worksheet-permission';
export type { IWorksheetProtectionRenderCellData } from './services/permission/worksheet-permission/type';
export { WorksheetPermissionService } from './services/permission/worksheet-permission/worksheet-permission.service';
export { SheetRangeThemeService } from './services/range-theme.service';
@@ -469,9 +639,23 @@ export type { MutationsAffectRange } from './services/ref-range/util';
export * from './services/selections';
export { getNextPrimaryCell } from './services/selections/move-active-cell-util';
export { InterceptCellContentPriority, INTERCEPTOR_POINT } from './services/sheet-interceptor/interceptor-const';
-export { AFTER_CELL_EDIT, BEFORE_CELL_EDIT, type IAutoHeightContext, SheetInterceptorService, VALIDATE_CELL } from './services/sheet-interceptor/sheet-interceptor.service';
-export type { ISheetLocation, ISheetLocationBase, ISheetRowLocation } from './services/sheet-interceptor/utils/interceptor';
-export { convertPositionCellToSheetOverGrid, convertPositionSheetOverGridToAbsolute } from './skeleton/drawing-position-util';
-export { type ISheetSkeletonManagerParam, SheetSkeletonService } from './skeleton/skeleton.service';
+export {
+ AFTER_CELL_EDIT,
+ BEFORE_CELL_EDIT,
+ SheetInterceptorService,
+ VALIDATE_CELL,
+} from './services/sheet-interceptor/sheet-interceptor.service';
+export type { IAutoHeightContext } from './services/sheet-interceptor/sheet-interceptor.service';
+export type {
+ ISheetLocation,
+ ISheetLocationBase,
+ ISheetRowLocation,
+} from './services/sheet-interceptor/utils/interceptor';
+export {
+ convertPositionCellToSheetOverGrid,
+ convertPositionSheetOverGridToAbsolute,
+} from './skeleton/drawing-position-util';
+export { SheetSkeletonService } from './skeleton/skeleton.service';
+export type { ISheetSkeletonManagerParam } from './skeleton/skeleton.service';
export { attachPrimaryWithCoord, attachRangeWithCoord, attachSelectionWithCoord } from './skeleton/util';
export { UnitAction, UnitObject } from '@univerjs/protocol';
diff --git a/packages/sheets/src/services/sheet-interceptor/interceptor-const.ts b/packages/sheets/src/services/sheet-interceptor/interceptor-const.ts
index d7305f0fc9..2bc107dd88 100644
--- a/packages/sheets/src/services/sheet-interceptor/interceptor-const.ts
+++ b/packages/sheets/src/services/sheet-interceptor/interceptor-const.ts
@@ -16,7 +16,6 @@
import type { ICellData, ICellDataForSheetInterceptor, ICellInterceptor, Nullable } from '@univerjs/core';
import type { ISheetLocation, ISheetRowLocation } from './utils/interceptor';
-
import { createInterceptorKey } from '@univerjs/core';
const CELL_CONTENT = createInterceptorKey<ICellDataForSheetInterceptor, ISheetLocation & { rawData: Nullable<ICellData> }>('CELL_CONTENT') as ICellInterceptor<ICellDataForSheetInterceptor, ISheetLocation & { rawData: Nullable<ICellData> }>;
diff --git a/packages/sheets/src/services/sheet-interceptor/sheet-interceptor.service.ts b/packages/sheets/src/services/sheet-interceptor/sheet-interceptor.service.ts
index ea758908da..1b879a59e4 100644
--- a/packages/sheets/src/services/sheet-interceptor/sheet-interceptor.service.ts
+++ b/packages/sheets/src/services/sheet-interceptor/sheet-interceptor.service.ts
@@ -32,7 +32,6 @@ import type {
Worksheet,
} from '@univerjs/core';
import type { ISheetLocation, ISheetRowLocation } from './utils/interceptor';
-
import {
composeInterceptors,
createInterceptorKey,
diff --git a/packages/slides-ui/src/commands/operations/append-slide.operation.ts b/packages/slides-ui/src/commands/operations/append-slide.operation.ts
index c6d410d891..2f025be6ec 100644
--- a/packages/slides-ui/src/commands/operations/append-slide.operation.ts
+++ b/packages/slides-ui/src/commands/operations/append-slide.operation.ts
@@ -17,7 +17,6 @@
import type { IOperation } from '@univerjs/core';
import type { SlideDataModel } from '@univerjs/slides';
import { CommandType, IUniverInstanceService } from '@univerjs/core';
-
import { CanvasView } from '../../controllers/canvas-view';
export interface IAppendSlideOperationParams {
diff --git a/packages/themes/src/index.ts b/packages/themes/src/index.ts
index 6a937659be..429df26c23 100644
--- a/packages/themes/src/index.ts
+++ b/packages/themes/src/index.ts
@@ -14,7 +14,8 @@
* limitations under the License.
*/
-export { default as defaultTheme, type Theme } from './default';
+export { default as defaultTheme } from './default';
+export type { Theme } from './default';
export { default as greenTheme } from './green';
export { default as orangeTheme } from './orange';
export { default as purpleTheme } from './purple';
diff --git a/packages/thread-comment-ui/src/index.ts b/packages/thread-comment-ui/src/index.ts
index 36ba2bedc3..dee9e9b650 100644
--- a/packages/thread-comment-ui/src/index.ts
+++ b/packages/thread-comment-ui/src/index.ts
@@ -16,10 +16,12 @@
import './global.css';
-export { type ISetActiveCommentOperationParams, SetActiveCommentOperation } from './commands/operations/comment.operations';
+export { SetActiveCommentOperation } from './commands/operations/comment.operations';
+export type { ISetActiveCommentOperationParams } from './commands/operations/comment.operations';
export type { IUniverThreadCommentUIConfig } from './config/config';
export { UniverThreadCommentUIPlugin } from './plugin';
-export { type ActiveCommentInfo, ThreadCommentPanelService } from './services/thread-comment-panel.service';
+export { ThreadCommentPanelService } from './services/thread-comment-panel.service';
+export type { ActiveCommentInfo } from './services/thread-comment-panel.service';
export { ThreadCommentPanel } from './views/ThreadCommentPanel';
export type { IThreadCommentPanelProps } from './views/ThreadCommentPanel';
export { ThreadCommentTree, ThreadCommentTreeLocation } from './views/ThreadCommentTree';
diff --git a/packages/thread-comment/src/index.ts b/packages/thread-comment/src/index.ts
index 3cb225df34..0c2a3f6f5f 100644
--- a/packages/thread-comment/src/index.ts
+++ b/packages/thread-comment/src/index.ts
@@ -45,14 +45,14 @@ export type {
} from './commands/mutations/comment.mutation';
export { getDT } from './common/utils';
export type { IUniverThreadCommentConfig } from './config/config';
-export { SHEET_UNIVER_THREAD_COMMENT_PLUGIN, ThreadCommentResourceController } from './controllers/tc-resource.controller';
-export { type CommentUpdate, type IThreadInfo, ThreadCommentModel } from './models/thread-comment.model';
-export { UniverThreadCommentPlugin } from './plugin';
export {
- type IThreadCommentDataSource,
- IThreadCommentDataSourceService,
- ThreadCommentDataSourceService,
- type ThreadCommentJSON,
-} from './services/tc-datasource.service';
+ SHEET_UNIVER_THREAD_COMMENT_PLUGIN,
+ ThreadCommentResourceController,
+} from './controllers/tc-resource.controller';
+export { ThreadCommentModel } from './models/thread-comment.model';
+export type { CommentUpdate, IThreadInfo } from './models/thread-comment.model';
+export { UniverThreadCommentPlugin } from './plugin';
+export { IThreadCommentDataSourceService, ThreadCommentDataSourceService } from './services/tc-datasource.service';
+export type { IThreadCommentDataSource, ThreadCommentJSON } from './services/tc-datasource.service';
export { TC_PLUGIN_NAME } from './types/const';
export type { IBaseComment, IThreadComment, IThreadCommentMention } from './types/interfaces/i-thread-comment';
diff --git a/packages/ui-adapter-vue3/package.json b/packages/ui-adapter-vue3/package.json
index 4454c26c4a..d4e41277c1 100644
--- a/packages/ui-adapter-vue3/package.json
+++ b/packages/ui-adapter-vue3/package.json
@@ -74,6 +74,6 @@
"@univerjs-infra/shared": "workspace:*",
"typescript": "^6.0.3",
"vitest": "^4.1.9",
- "vue": "^3.5.34"
+ "vue": "^3.5.38"
}
}
diff --git a/packages/ui/src/commands/operations/toggle-shortcut-panel.operation.ts b/packages/ui/src/commands/operations/toggle-shortcut-panel.operation.ts
index 141a9f153a..e710a671f6 100644
--- a/packages/ui/src/commands/operations/toggle-shortcut-panel.operation.ts
+++ b/packages/ui/src/commands/operations/toggle-shortcut-panel.operation.ts
@@ -16,7 +16,6 @@
import type { IAccessor, IOperation } from '@univerjs/core';
import { CommandType } from '@univerjs/core';
-
import { ShortcutPanelService } from '../../services/shortcut/shortcut-panel.service';
import { ISidebarService } from '../../services/sidebar/sidebar.service';
diff --git a/packages/ui/src/controllers/error/error.controller.ts b/packages/ui/src/controllers/error/error.controller.ts
index 0c412518f8..bdfa96ebd3 100644
--- a/packages/ui/src/controllers/error/error.controller.ts
+++ b/packages/ui/src/controllers/error/error.controller.ts
@@ -16,7 +16,6 @@
import { Disposable, ErrorService, Inject } from '@univerjs/core';
import { MessageType } from '@univerjs/design';
-
import { IMessageService } from '../../services/message/message.service';
export class ErrorController extends Disposable {
diff --git a/packages/ui/src/controllers/menus/menus.ts b/packages/ui/src/controllers/menus/menus.ts
index 3a55d3b2b5..6713e9712c 100644
--- a/packages/ui/src/controllers/menus/menus.ts
+++ b/packages/ui/src/controllers/menus/menus.ts
@@ -16,8 +16,14 @@
import type { IAccessor } from '@univerjs/core';
import type { IMenuButtonItem } from '../../services/menu/menu';
-import { EDITOR_ACTIVATED, FOCUSING_FX_BAR_EDITOR, IContextService, IUndoRedoService, RedoCommand, UndoCommand } from '@univerjs/core';
-
+import {
+ EDITOR_ACTIVATED,
+ FOCUSING_FX_BAR_EDITOR,
+ IContextService,
+ IUndoRedoService,
+ RedoCommand,
+ UndoCommand,
+} from '@univerjs/core';
import { combineLatest, merge, of } from 'rxjs';
import { map } from 'rxjs/operators';
import { MenuItemType } from '../../services/menu/menu';
diff --git a/packages/ui/src/controllers/shared-shortcut.controller.ts b/packages/ui/src/controllers/shared-shortcut.controller.ts
index fcf6783d3e..3786935bb5 100644
--- a/packages/ui/src/controllers/shared-shortcut.controller.ts
+++ b/packages/ui/src/controllers/shared-shortcut.controller.ts
@@ -16,8 +16,15 @@
import type { IContextService } from '@univerjs/core';
import type { IShortcutItem } from '../services/shortcut/shortcut.service';
-
-import { Disposable, EDITOR_ACTIVATED, FOCUSING_FX_BAR_EDITOR, FOCUSING_UNIVER_EDITOR, ICommandService, RedoCommand, UndoCommand } from '@univerjs/core';
+import {
+ Disposable,
+ EDITOR_ACTIVATED,
+ FOCUSING_FX_BAR_EDITOR,
+ FOCUSING_UNIVER_EDITOR,
+ ICommandService,
+ RedoCommand,
+ UndoCommand,
+} from '@univerjs/core';
import { CopyCommand, CutCommand, PasteCommand } from '../services/clipboard/clipboard.command';
import { KeyCode, MetaKeys } from '../services/shortcut/keycode';
import { IShortcutService } from '../services/shortcut/shortcut.service';
diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts
index 2dd40be185..ed9af40ca3 100644
--- a/packages/ui/src/index.ts
+++ b/packages/ui/src/index.ts
@@ -20,7 +20,8 @@ export { ToggleShortcutPanelOperation } from './commands/operations/toggle-short
export * from './common';
export { getHeaderFooterMenuHiddenObservable, getMenuHiddenObservable } from './common/menu-hidden-observable';
export { mergeMenuConfigs } from './common/menu-merge-configs';
-export { type IUniverUIConfig, UI_PLUGIN_CONFIG_KEY } from './config/config';
+export { UI_PLUGIN_CONFIG_KEY } from './config/config';
+export type { IUniverUIConfig } from './config/config';
export { UNI_DISABLE_CHANGING_FOCUS_KEY } from './const';
export { ErrorController } from './controllers/error/error.controller';
export {
@@ -33,7 +34,8 @@ export {
export { ShortcutPanelController } from './controllers/shortcut-display/shortcut-panel.controller';
export { DesktopUIController } from './controllers/ui/ui-desktop.controller';
export { SingleUnitUIController } from './controllers/ui/ui-shared.controller';
-export { IUIController, type IWorkbenchOptions } from './controllers/ui/ui.controller';
+export { IUIController } from './controllers/ui/ui.controller';
+export type { IWorkbenchOptions } from './controllers/ui/ui.controller';
export { menuSchema as UIMenuSchema } from './menu/schema';
export { UniverMobileUIPlugin } from './mobile-plugin';
export { DISABLE_AUTO_FOCUS_KEY, UniverUIPlugin } from './plugin';
@@ -51,33 +53,43 @@ export {
PLAIN_TEXT_CLIPBOARD_MIME_TYPE,
} from './services/clipboard/clipboard-interface.service';
export { supportClipboardAPI } from './services/clipboard/clipboard-utils';
-export { CopyCommand, CutCommand, PasteCommand, SheetPasteShortKeyCommandName } from './services/clipboard/clipboard.command';
+export {
+ CopyCommand,
+ CutCommand,
+ PasteCommand,
+ SheetPasteShortKeyCommandName,
+} from './services/clipboard/clipboard.command';
export { DesktopConfirmService } from './services/confirm/desktop-confirm.service';
export { ContextMenuHostService, IContextMenuHostService } from './services/contextmenu/contextmenu-host.service';
-export { ContextMenuService, type IContextMenuHandler, IContextMenuService } from './services/contextmenu/contextmenu.service';
+export { ContextMenuService, IContextMenuService } from './services/contextmenu/contextmenu.service';
+export type { IContextMenuHandler } from './services/contextmenu/contextmenu.service';
export { DesktopDialogService } from './services/dialog/desktop-dialog.service';
export { IDialogService } from './services/dialog/dialog.service';
-export { CanvasFloatDomService, type IFloatDom, type IFloatDomLayout } from './services/dom/canvas-dom-layer.service';
-export { FontService, type IFontConfig, IFontService } from './services/font.service';
+export { CanvasFloatDomService } from './services/dom/canvas-dom-layer.service';
+export type { IFloatDom, IFloatDomLayout } from './services/dom/canvas-dom-layer.service';
+export { FontService, IFontService } from './services/font.service';
+export type { IFontConfig } from './services/font.service';
export { DesktopGalleryService } from './services/gallery/desktop-gallery.service';
export { IGalleryService } from './services/gallery/gallery.service';
export { DesktopLayoutService, ILayoutService } from './services/layout/layout.service';
export { DesktopLocalFileService } from './services/local-file/desktop-local-file.service';
-export { ILocalFileService, type IOpenFileOptions } from './services/local-file/local-file.service';
+export { ILocalFileService } from './services/local-file/local-file.service';
+export type { IOpenFileOptions } from './services/local-file/local-file.service';
export { DesktopLocalStorageService } from './services/local-storage/local-storage.service';
-export {
- type ICustomComponentProps,
- type IDisplayMenuItem,
- type IMenuButtonItem,
- type IMenuItem,
- type IMenuItemFactory,
- type IMenuSelectorItem,
- type IValueOption,
- type MenuConfig,
- type MenuItemDefaultValueType,
- MenuItemType,
+export { MenuItemType } from './services/menu/menu';
+export type {
+ ICustomComponentProps,
+ IDisplayMenuItem,
+ IMenuButtonItem,
+ IMenuItem,
+ IMenuItemFactory,
+ IMenuSelectorItem,
+ IValueOption,
+ MenuConfig,
+ MenuItemDefaultValueType,
} from './services/menu/menu';
-export { IMenuManagerService, MenuManagerService, type MenuSchemaType } from './services/menu/menu-manager.service';
+export { IMenuManagerService, MenuManagerService } from './services/menu/menu-manager.service';
+export type { MenuSchemaType } from './services/menu/menu-manager.service';
export { type IMenuSchema } from './services/menu/menu-manager.service';
export {
ContextMenuGroup,
@@ -98,21 +110,25 @@ export { DesktopNotificationService } from './services/notification/desktop-noti
export { INotificationService } from './services/notification/notification.service';
export { BuiltInUIPart, IUIPartsService, UIPartsService } from './services/parts/parts.service';
export { IPlatformService, PlatformService } from './services/platform/platform.service';
-export { CanvasPopupService, ICanvasPopupService, type IPopup } from './services/popup/canvas-popup.service';
+export { CanvasPopupService, ICanvasPopupService } from './services/popup/canvas-popup.service';
+export type { IPopup } from './services/popup/canvas-popup.service';
export { DesktopRibbonService, IRibbonService } from './services/ribbon/ribbon.service';
export { KeyCode, MetaKeys } from './services/shortcut/keycode';
export { ShortcutPanelService } from './services/shortcut/shortcut-panel.service';
-export { type IShortcutItem, IShortcutService, ShortcutService } from './services/shortcut/shortcut.service';
+export { IShortcutService, ShortcutService } from './services/shortcut/shortcut.service';
+export type { IShortcutItem } from './services/shortcut/shortcut.service';
export { DesktopSidebarService } from './services/sidebar/desktop-sidebar.service';
export { useSidebarClick } from './services/sidebar/hooks/use-sidebar-click';
export { ILeftSidebarService, ISidebarService } from './services/sidebar/sidebar.service';
export { ThemeSwitcherService } from './services/theme-switcher/theme-switcher.service';
export * from './utils';
export { COLOR_PICKER_COMPONENT } from './views/color-picker/interface';
-export { ComponentContainer, type IComponentContainerProps, useComponentsOfPart } from './views/components/ComponentContainer';
+export { ComponentContainer, useComponentsOfPart } from './views/components/ComponentContainer';
+export type { IComponentContainerProps } from './views/components/ComponentContainer';
export type { IConfirmChildrenProps } from './views/components/confirm-part/interface';
export { type IConfirmPartMethodOptions } from './views/components/confirm-part/interface';
-export { AnchoredContextMenu, type IContextMenuAnchorRect } from './views/components/context-menu/AnchoredContextMenu';
+export { AnchoredContextMenu } from './views/components/context-menu/AnchoredContextMenu';
+export type { IContextMenuAnchorRect } from './views/components/context-menu/AnchoredContextMenu';
export { DesktopContextMenu as ContextMenu } from './views/components/context-menu/ContextMenu';
export { ContextMenuPanel } from './views/components/context-menu/ContextMenuPanel';
export { MobileContextMenu } from './views/components/context-menu/MobileContextMenu';
@@ -121,15 +137,18 @@ export { FloatDomSingle } from './views/components/dom/FloatDom';
export { FloatDom } from './views/components/dom/FloatDom';
export { PrintFloatDomSingle } from './views/components/dom/Print';
export { CanvasPopup, SingleCanvasPopup } from './views/components/popup/CanvasPopup';
-export { RectPopup, type RectPopupDirection } from './views/components/popup/RectPopup';
+export { RectPopup } from './views/components/popup/RectPopup';
+export type { RectPopupDirection } from './views/components/popup/RectPopup';
export { useToolbarItemStatus } from './views/components/ribbon/hook';
export { Ribbon } from './views/components/ribbon/Ribbon';
export { ToolbarButton } from './views/components/ribbon/ToolbarButton';
export { ToolbarItem } from './views/components/ribbon/ToolbarItem';
-export { type ISidebarMethodOptions, Sidebar } from './views/components/sidebar/Sidebar';
+export { Sidebar } from './views/components/sidebar/Sidebar';
+export type { ISidebarMethodOptions } from './views/components/sidebar/Sidebar';
export { FontFamily } from './views/font-family/FontFamily';
export { FontFamilyItem } from './views/font-family/FontFamilyItem';
-export { FONT_FAMILY_COMPONENT, FONT_FAMILY_ITEM_COMPONENT, type IFontFamilyProps } from './views/font-family/interface';
+export { FONT_FAMILY_COMPONENT, FONT_FAMILY_ITEM_COMPONENT } from './views/font-family/interface';
+export type { IFontFamilyProps } from './views/font-family/interface';
export { FontSize } from './views/font-size/FontSize';
export { FONT_SIZE_COMPONENT, FONT_SIZE_LIST, HEADING_LIST } from './views/font-size/interface';
export * from './views/hooks/index';
diff --git a/packages/ui/src/services/before-close/before-close.service.ts b/packages/ui/src/services/before-close/before-close.service.ts
index 8ef7d5908d..47efadcc45 100644
--- a/packages/ui/src/services/before-close/before-close.service.ts
+++ b/packages/ui/src/services/before-close/before-close.service.ts
@@ -16,7 +16,6 @@
import type { IDisposable } from '@univerjs/core';
import { createIdentifier, Disposable } from '@univerjs/core';
-
import { INotificationService } from '../notification/notification.service';
export interface IBeforeCloseService {
diff --git a/packages/ui/src/services/dialog/desktop-dialog.service.ts b/packages/ui/src/services/dialog/desktop-dialog.service.ts
index 3eeb16371b..524fdac9b8 100644
--- a/packages/ui/src/services/dialog/desktop-dialog.service.ts
+++ b/packages/ui/src/services/dialog/desktop-dialog.service.ts
@@ -17,7 +17,6 @@
import type { IDisposable } from '@univerjs/core';
import type { IDialogPartMethodOptions } from '../../views/components/dialog-part/interface';
import type { IDialogService } from './dialog.service';
-
import { Disposable, Inject, Injector, toDisposable } from '@univerjs/core';
import { Subject } from 'rxjs';
import { connectInjector } from '../../utils/di';
diff --git a/packages/ui/src/services/dialog/dialog.service.ts b/packages/ui/src/services/dialog/dialog.service.ts
index 001ed8db0f..3dbd63b762 100644
--- a/packages/ui/src/services/dialog/dialog.service.ts
+++ b/packages/ui/src/services/dialog/dialog.service.ts
@@ -17,7 +17,6 @@
import type { IDisposable } from '@univerjs/core';
import type { Observable } from 'rxjs';
import type { IDialogPartMethodOptions } from '../../views/components/dialog-part/interface';
-
import { createIdentifier } from '@univerjs/core';
export const IDialogService = createIdentifier<IDialogService>('univer.ui.dialog-service');
diff --git a/packages/ui/src/services/message/__tests__/mock-message.service.ts b/packages/ui/src/services/message/__tests__/mock-message.service.ts
index 8d68e35e90..ea7d13971a 100644
--- a/packages/ui/src/services/message/__tests__/mock-message.service.ts
+++ b/packages/ui/src/services/message/__tests__/mock-message.service.ts
@@ -16,7 +16,6 @@
import type { IDisposable } from '@univerjs/core';
import type { IMessageProps } from '@univerjs/design';
-
import type { IMessageService } from '../message.service';
import { toDisposable } from '@univerjs/core';
diff --git a/packages/ui/src/utils/cell.ts b/packages/ui/src/utils/cell.ts
index 9acf5ff5f3..2fc4776d05 100644
--- a/packages/ui/src/utils/cell.ts
+++ b/packages/ui/src/utils/cell.ts
@@ -23,9 +23,15 @@ import type {
ITextDecoration,
ITextRun,
} from '@univerjs/core';
-import { BaselineOffset, BorderStyleTypes, ColorKit, generateRandomId, getBorderStyleType, Tools } from '@univerjs/core';
+import {
+ BaselineOffset,
+ BorderStyleTypes,
+ ColorKit,
+ generateRandomId,
+ getBorderStyleType,
+ Tools,
+} from '@univerjs/core';
import { ptToPx } from '@univerjs/engine-render';
-
import { parseHtmlDocument, parseHtmlFragment } from './html';
import { textTrim } from './util';
diff --git a/packages/ui/src/views/components/confirm-part/interface.ts b/packages/ui/src/views/components/confirm-part/interface.ts
index c2a62d5293..62691ad5a0 100644
--- a/packages/ui/src/views/components/confirm-part/interface.ts
+++ b/packages/ui/src/views/components/confirm-part/interface.ts
@@ -15,7 +15,6 @@
*/
import type { IConfirmProps } from '@univerjs/design';
-
import type { ICustomLabelProps } from '../../custom-label/CustomLabel';
export interface IConfirmChildrenProps {
diff --git a/packages/ui/src/views/components/context-menu/ContextMenu.tsx b/packages/ui/src/views/components/context-menu/ContextMenu.tsx
index c41f35857c..acfe562686 100644
--- a/packages/ui/src/views/components/context-menu/ContextMenu.tsx
+++ b/packages/ui/src/views/components/context-menu/ContextMenu.tsx
@@ -17,7 +17,6 @@
import type { IMouseEvent } from '@univerjs/engine-render';
import type { IContextMenuAnchorRect } from './AnchoredContextMenu';
import { ICommandService } from '@univerjs/core';
-
import { useEffect, useRef, useState } from 'react';
import { IContextMenuService } from '../../../services/contextmenu/contextmenu.service';
import { ILayoutService } from '../../../services/layout/layout.service';
diff --git a/packages/ui/src/views/components/dialog-part/interface.ts b/packages/ui/src/views/components/dialog-part/interface.ts
index 1fc6f7f00b..11e120085b 100644
--- a/packages/ui/src/views/components/dialog-part/interface.ts
+++ b/packages/ui/src/views/components/dialog-part/interface.ts
@@ -15,7 +15,6 @@
*/
import type { IDialogProps } from '@univerjs/design';
-
import type { ICustomLabelProps } from '../../custom-label/CustomLabel';
export type IDialogPartMethodOptions = {
diff --git a/packages/ui/src/views/custom-label/CustomLabel.tsx b/packages/ui/src/views/custom-label/CustomLabel.tsx
index 1b7e412b4b..2896d39b3d 100644
--- a/packages/ui/src/views/custom-label/CustomLabel.tsx
+++ b/packages/ui/src/views/custom-label/CustomLabel.tsx
@@ -19,7 +19,6 @@ import type { Observable } from 'rxjs';
import type { IMenuSelectorItem } from '../../services/menu/menu';
import { ColorKit, LocaleService } from '@univerjs/core';
import { useEffect, useMemo, useState } from 'react';
-
import { isObservable } from 'rxjs';
import { ComponentManager, IconManager } from '../../common';
import { useDependency } from '../../utils/di';
diff --git a/packages/ui/src/views/notification/Notification.stories.tsx b/packages/ui/src/views/notification/Notification.stories.tsx
index 190223343e..32d70b0d54 100644
--- a/packages/ui/src/views/notification/Notification.stories.tsx
+++ b/packages/ui/src/views/notification/Notification.stories.tsx
@@ -17,7 +17,6 @@
import type { Meta } from '@storybook/react';
import { Button, toast, Toaster } from '@univerjs/design';
import { useEffect } from 'react';
-
import { notification, Notification } from './Notification';
const meta: Meta<typeof Notification> = {
diff --git a/packages/ui/src/views/slider/Slider.stories.tsx b/packages/ui/src/views/slider/Slider.stories.tsx
index 9f535c06aa..eec2126ec0 100644
--- a/packages/ui/src/views/slider/Slider.stories.tsx
+++ b/packages/ui/src/views/slider/Slider.stories.tsx
@@ -16,7 +16,6 @@
import type { Meta } from '@storybook/react';
import { useState } from 'react';
-
import { Slider } from './Slider';
const meta: Meta<typeof Slider> = {
diff --git a/packages/uniscript/src/commands/operations/panel.operation.ts b/packages/uniscript/src/commands/operations/panel.operation.ts
index 48717b695d..ab5e6a9d74 100644
--- a/packages/uniscript/src/commands/operations/panel.operation.ts
+++ b/packages/uniscript/src/commands/operations/panel.operation.ts
@@ -17,7 +17,6 @@
import type { IAccessor, IOperation } from '@univerjs/core';
import { CommandType } from '@univerjs/core';
import { ISidebarService } from '@univerjs/ui';
-
import { ScriptPanelService } from '../../services/script-panel.service';
export const ScriptPanelComponentName = 'ScriptPanel';
diff --git a/packages/uniscript/src/controllers/uniscript.controller.ts b/packages/uniscript/src/controllers/uniscript.controller.ts
index 521d189617..fc12addd27 100644
--- a/packages/uniscript/src/controllers/uniscript.controller.ts
+++ b/packages/uniscript/src/controllers/uniscript.controller.ts
@@ -16,7 +16,6 @@
import { Disposable, ICommandService } from '@univerjs/core';
import { IMenuManagerService } from '@univerjs/ui';
-
import { ToggleScriptPanelOperation } from '../commands/operations/panel.operation';
import { menuSchema } from '../menu/schema';
diff --git a/packages/uniscript/src/services/script-execution.service.ts b/packages/uniscript/src/services/script-execution.service.ts
index e55599a41d..cf84d1b144 100644
--- a/packages/uniscript/src/services/script-execution.service.ts
+++ b/packages/uniscript/src/services/script-execution.service.ts
@@ -15,6 +15,7 @@
*/
import { createIdentifier, Disposable, ILogService, Inject, Injector } from '@univerjs/core';
+// eslint-disable-next-line univer/no-facade-imports-outside-facade
import { FUniver } from '@univerjs/core/facade';
export const IUniscriptExecutionService = createIdentifier<IUniscriptExecutionService>('univer.uniscript.execution-service');
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3395288083..c0e7329afe 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -17,16 +17,16 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: ^9.0.0
'@commitlint/cli':
specifier: ^21.0.2
'@commitlint/config-conventional':
specifier: ^21.0.2
version: 21.0.2
'@eslint-react/eslint-plugin':
- specifier: ^5.9.0
+ specifier: ^5.9.1
'@eslint/compat':
specifier: ^2.1.0
@@ -35,13 +35,13 @@ importers:
version: 1.57.0
'@release-it-plugins/workspaces':
specifier: ^5.0.3
'@release-it/conventional-changelog':
specifier: ^10.0.6
'@types/node':
- specifier: ^25.9.3
- version: 25.9.3
+ specifier: ^26.0.0
+ version: 26.0.0
'@types/react':
specifier: 19.2.17
version: 19.2.17
@@ -73,11 +73,11 @@ importers:
specifier: ^9.1.7
version: 9.1.7
lint-staged:
- specifier: ^17.0.7
- version: 17.0.7
+ specifier: ^17.0.8
+ version: 17.0.8
posthog-node:
- specifier: ^5.38.0
- version: 5.38.0([email protected])
+ specifier: ^5.38.2
+ version: 5.38.2([email protected])
react:
specifier: 19.2.7
version: 19.2.7
@@ -86,16 +86,13 @@ importers:
version: 19.2.7([email protected])
release-it:
specifier: ^19.2.4
- version: 19.2.4(@types/[email protected])([email protected])
+ version: 19.2.4(@types/[email protected])([email protected])
serve:
specifier: ^14.2.6
version: 14.2.6
tailwindcss:
specifier: 3.4.18
version: 3.4.18
- tsx:
- specifier: ^4.22.4
- version: 4.22.4
turbo:
specifier: ^2.9.18
version: 2.9.18
@@ -104,7 +101,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
common/debugger:
dependencies:
@@ -161,8 +158,8 @@ importers:
specifier: ^6.0.3
version: 6.0.3
vue:
- specifier: ^3.5.35
- version: 3.5.35([email protected])
+ specifier: ^3.5.38
+ version: 3.5.38([email protected])
common/mockdata:
dependencies:
@@ -312,11 +309,11 @@ importers:
common/shared:
dependencies:
'@tsdown/css':
- specifier: ^0.22.2
+ specifier: ^0.22.3
'@typescript-eslint/parser':
- specifier: ^8.60.1
+ specifier: ^8.61.1
'@vitest/coverage-istanbul':
specifier: ^4.1.9
version: 4.1.9([email protected])
@@ -324,8 +321,8 @@ importers:
specifier: ^10.5.0
version: 10.5.0([email protected])
eslint-plugin-better-tailwindcss:
- specifier: ^4.5.0
+ specifier: ^4.6.0
eslint-plugin-header:
specifier: ^3.1.1
@@ -336,14 +333,14 @@ importers:
specifier: ^0.0.1
happy-dom:
- specifier: 20.10.1
- version: 20.10.1
+ specifier: 20.10.6
+ version: 20.10.6
javascript-obfuscator:
specifier: ^5.4.3
version: 5.4.3
postcss-preset-env:
- specifier: ^11.3.0
- version: 11.3.0([email protected])
+ specifier: ^11.3.1
+ version: 11.3.1([email protected])
postcss-replace:
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -357,14 +354,14 @@ importers:
specifier: 3.4.18
version: 3.4.18
tsdown:
- specifier: ^0.22.2
+ specifier: ^0.22.3
unplugin-vue:
specifier: ^7.2.0
vitest:
specifier: ^4.1.9
devDependencies:
'@univerjs/icons':
specifier: 1.12.0
@@ -379,35 +376,35 @@ importers:
specifier: ^6.0.3
version: 6.0.3
vue-tsc:
- specifier: ^3.3.2
- version: 3.3.2([email protected])
+ specifier: ^3.3.5
+ version: 3.3.5([email protected])
common/storybook:
dependencies:
'@chromatic-com/storybook':
- specifier: ^5.1.2
+ specifier: ^5.2.1
'@storybook/addon-docs':
- specifier: ^10.3.6
+ specifier: ^10.4.6
'@storybook/addon-links':
- specifier: ^10.3.6
+ specifier: ^10.4.6
'@storybook/addon-styling-webpack':
specifier: ^3.0.2
'@storybook/addon-webpack5-compiler-swc':
specifier: ^4.0.3
'@storybook/icons':
specifier: ^2.0.2
'@storybook/react':
- specifier: ^10.3.6
+ specifier: ^10.4.6
'@storybook/react-webpack5':
- specifier: ^10.3.6
+ specifier: ^10.4.6
'@univerjs/core':
specifier: workspace:*
version: link:../../packages/core
@@ -427,8 +424,8 @@ importers:
specifier: ^8.2.1
storybook:
- specifier: ^10.3.6
+ specifier: ^10.4.6
storybook-addon-swc:
specifier: ^1.2.0
@@ -699,14 +696,14 @@ importers:
version: 19.2.7([email protected])
react-mosaic-component:
specifier: ^6.2.0
rxjs:
specifier: ^7.8.2
version: 7.8.2
devDependencies:
'@clack/prompts':
- specifier: ^1.5.1
- version: 1.5.1
+ specifier: ^1.6.0
+ version: 1.6.0
'@types/minimist':
specifier: ^1.2.5
version: 1.2.5
@@ -730,7 +727,7 @@ importers:
version: 2.1.1([email protected])
esbuild-plugin-vue3:
specifier: ^0.5.1
esbuild-style-plugin:
specifier: ^1.6.3
version: 1.6.3
@@ -791,7 +788,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/core:
dependencies:
@@ -846,7 +843,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/data-validation:
dependencies:
@@ -871,7 +868,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/design:
dependencies:
@@ -947,7 +944,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs:
dependencies:
@@ -969,7 +966,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-drawing:
dependencies:
@@ -988,7 +985,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-drawing-ui:
dependencies:
@@ -1043,7 +1040,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-hyper-link:
dependencies:
@@ -1059,7 +1056,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-hyper-link-ui:
dependencies:
@@ -1108,7 +1105,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-mention-ui:
dependencies:
@@ -1151,7 +1148,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-quick-insert-ui:
dependencies:
@@ -1209,7 +1206,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-thread-comment-ui:
dependencies:
@@ -1258,7 +1255,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/docs-ui:
dependencies:
@@ -1313,7 +1310,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/drawing:
dependencies:
@@ -1335,7 +1332,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/drawing-ui:
dependencies:
@@ -1378,7 +1375,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/engine-formula:
dependencies:
@@ -1406,16 +1403,16 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/engine-render:
dependencies:
'@floating-ui/dom':
- specifier: ^1.7.4
- version: 1.7.4
+ specifier: ^1.7.6
+ version: 1.7.6
'@floating-ui/utils':
- specifier: ^0.2.10
- version: 0.2.10
+ specifier: ^0.2.11
+ version: 0.2.11
'@univerjs/core':
specifier: workspace:*
version: link:../core
@@ -1430,8 +1427,8 @@ importers:
version: 2.0.0
devDependencies:
'@types/opentype.js':
- specifier: ^1.3.9
- version: 1.3.9
+ specifier: ^1.3.10
+ version: 1.3.10
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
@@ -1445,14 +1442,14 @@ importers:
specifier: ^7.8.2
version: 7.8.2
tsdown:
- specifier: ^0.22.2
+ specifier: ^0.22.3
typescript:
specifier: ^6.0.3
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/find-replace:
dependencies:
@@ -1492,7 +1489,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/network:
dependencies:
@@ -1511,7 +1508,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/protocol:
dependencies:
@@ -1530,7 +1527,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/rpc:
dependencies:
@@ -1549,7 +1546,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/rpc-node:
dependencies:
@@ -1571,7 +1568,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets:
dependencies:
@@ -1605,7 +1602,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-conditional-formatting:
dependencies:
@@ -1639,7 +1636,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-conditional-formatting-ui:
dependencies:
@@ -1697,7 +1694,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-crosshair-highlight:
dependencies:
@@ -1743,7 +1740,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-data-validation:
dependencies:
@@ -1777,7 +1774,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-data-validation-ui:
dependencies:
@@ -1838,7 +1835,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-drawing:
dependencies:
@@ -1863,7 +1860,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-drawing-ui:
dependencies:
@@ -1921,7 +1918,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-filter:
dependencies:
@@ -1952,7 +1949,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-filter-ui:
dependencies:
@@ -2007,7 +2004,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-find-replace:
dependencies:
@@ -2038,7 +2035,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-formula:
dependencies:
@@ -2072,7 +2069,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-formula-ui:
dependencies:
@@ -2130,7 +2127,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-hyper-link:
dependencies:
@@ -2158,7 +2155,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-hyper-link-ui:
dependencies:
@@ -2222,7 +2219,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-note:
dependencies:
@@ -2253,7 +2250,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-note-ui:
dependencies:
@@ -2302,7 +2299,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-numfmt:
dependencies:
@@ -2327,7 +2324,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-numfmt-ui:
dependencies:
@@ -2379,7 +2376,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-sort:
dependencies:
@@ -2401,7 +2398,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-sort-ui:
dependencies:
@@ -2453,7 +2450,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-table:
dependencies:
@@ -2484,7 +2481,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-table-ui:
dependencies:
@@ -2542,7 +2539,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-thread-comment:
dependencies:
@@ -2570,7 +2567,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-thread-comment-ui:
dependencies:
@@ -2625,7 +2622,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/sheets-ui:
dependencies:
@@ -2686,7 +2683,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/slides:
dependencies:
@@ -2708,7 +2705,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/slides-ui:
dependencies:
@@ -2760,7 +2757,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/telemetry:
dependencies:
@@ -2776,7 +2773,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/themes:
devDependencies:
@@ -2801,7 +2798,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/thread-comment-ui:
dependencies:
@@ -2847,7 +2844,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/ui:
dependencies:
@@ -2899,7 +2896,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/ui-adapter-vue3:
dependencies:
@@ -2918,10 +2915,10 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
vue:
- specifier: ^3.5.34
- version: 3.5.34([email protected])
+ specifier: ^3.5.38
+ version: 3.5.38([email protected])
packages/ui-adapter-web-component:
dependencies:
@@ -2940,7 +2937,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/uniscript:
dependencies:
@@ -2983,7 +2980,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages/watermark:
dependencies:
@@ -3005,7 +3002,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
presets:
dependencies:
@@ -3735,7 +3732,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
packages:
@@ -3861,8 +3858,8 @@ packages:
resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-6mIzgVK8DgEzvIapoQwhXTMnnkuE4STQmVv9H03i/tZ2ml8oev3TRvZJgTenK2Bsq0YWNtzOrFdTyNzCMFtjJQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-NT9NrVwJsbSV6Y2FSstWa71EETOnzrjkL5/wX3D2mYHtKM+qvqB1DvR4D0Setb/gDBsHzRICifwEWMO8CnTF6g==}
engines: {node: ^22.18.0 || >=24.11.0}
@@ -3909,8 +3906,8 @@ packages:
resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-BCkFy+zN6kXQed3YOT7aJl93NfDSzQc3pBfsvTVPs9gU9X3V0aefEF5kwBT0E+mDWH9QgKaZstYUQN9VdQZT4g==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6mJgmFFFIIO82vvoLt9XtRC7/TkzXfts1t/SpRX4IHSzMgqoPYCWesVu1udUPUWioAE/2fcG6WuI8zrkE1gwrg==}
engines: {node: ^22.18.0 || >=24.11.0}
@@ -3925,8 +3922,8 @@ packages:
resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-nVJ+1JcCgntv8d78rRo++o2wuODT0Irknx2BF8Np4Ft2CRgjLqIs4qzSZ8b66yGbBdMWGmZBO9WEZv1hhNiSpg==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-9Fr9QeyCAyi1BR1jKZ6uYQ24EIhQUx5ReHfQU7drOE+TPOb+w11/dsqLkMOT2U29OdCT71XajrOT8xDc1C7orA==}
engines: {node: ^22.18.0 || >=24.11.0}
@@ -3960,8 +3957,8 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
- '@babel/[email protected]':
- resolution: {integrity: sha512-rOS8IpdO7mQELkTPlCsTgPejO0bFuZdEDCGQJouYbYf9e1FLTym7Fei2pEjq8q7MWbX0ravcd7QQYKs1TxOuog==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-aLxAE+imI9bCcyaPrUDjBv3uSkWieifjLe0kuFOZF0zli0L6GCsTmsePnTr55adbIAgYz2zhN1vnFimCBUYcRQ==}
engines: {node: ^22.18.0 || >=24.11.0}
hasBin: true
@@ -4001,28 +3998,36 @@ packages:
resolution: {integrity: sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-p7/ABylAYlexb31wtRdIfH9L9A0Z2T/9H6zAqzqndkY2PLkvNNc580wGhp/gGKN4Sp9sQvSkhc6Oga8/O+wTyw==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-K8ponJDxBwDHigkeFqaqT5wLGl4bTlwMafR8k7b5CPxr6Ww+UG9ls8Yx6Tcpboxu97eeGVEEyKcHmEyOwN1vSw==}
engines: {node: ^22.18.0 || >=24.11.0}
'@bramus/[email protected]':
resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==}
hasBin: true
- '@chromatic-com/[email protected]':
- resolution: {integrity: sha512-H/hgvwC3E+OtseP2OT2QYUJH2VfnzT6wM3pWOkaNV6g7QI+VUdWJbeJ3o2jFqvEPQNqzhQKWDOlvM4lu+7is6g==}
+ '@chromatic-com/[email protected]':
+ resolution: {integrity: sha512-z6I7NJk/0VngA64y5TNYaB4Hc2X8+90n4op6lBt9PvWk5TmIlFLDqdX33rlrwbNRkkYijVgA/wO04rVYXi5Mlg==}
engines: {node: '>=20.0.0', yarn: '>=1.22.18'}
peerDependencies:
- storybook: ^0.0.0-0 || ^10.1.0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0
+ storybook: ^0.0.0-0 || ^10.1.0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0 || ^10.5.0-0 || ^10.6.0-0
resolution: {integrity: sha512-FILJa1gGKEFTGZAJE9RpVhrjKz3c3h4ar60dSv6cGuDqufQ84YEIS3GAGvZiN+H6yaLbbvTFNejjCC4tXpZEuw==}
engines: {node: '>= 20.12.0'}
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-0Ty/1Gfm+Kb07sXcuESjyKfwEhSy4Ns1AgeEisHb/bDY5fWme0tTeTkU14T1Gmcs17YIjB/teiDe4uaCghbYqQ==}
+ engines: {node: '>= 20.12.0'}
+
resolution: {integrity: sha512-zccHj2z2oCCO4yrDiRSlFOxWerGqRiysP7a5jPK6uoI9URKAquwY42Dd/iUP8JWHxEzdRe4TlbvZCo8z1/mhrw==}
engines: {node: '>= 20.12.0'}
+ '@clack/[email protected]':
+ resolution: {integrity: sha512-EYlRokl8szrP9Z25qT5aepMdBjzBvHF9ZEhzIiUBc9guz/T31EqRgvD0QSgZcpE93xiwrr+OkB4nz0BZyF6fSA==}
+ engines: {node: '>= 20.12.0'}
+
'@commitlint/[email protected]':
resolution: {integrity: sha512-YMmfLbqBg+ZRvvmPhc+cilSQFrh/AgzVgCT1U/OifmUZEwPbvCtA8rN//YNaF9d5eoZphxVMGYtmwA2QgQORgg==}
engines: {node: '>=22.12.0'}
@@ -4122,15 +4127,15 @@ packages:
'@csstools/css-parser-algorithms': ^4.0.0
'@csstools/css-tokenizer': ^4.0.0
- '@csstools/[email protected]':
- resolution: {integrity: sha512-eZ5XOtyhK+mggRafYUWzA0tvaYOFgdY8AkgQiCJF9qNAePnUo/zmsqqYubBBb3sQ8uNUaSKTY9s9klfRaAXL0g==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-DOgvIPkikIOixQRlD4YF31VN6fLLUTdrzhfRbis8vm0kMTgIbEPX0Ip/YX9fOeV9iywAS4sUUbTclpan7yYP8Q==}
engines: {node: '>=20.19.0'}
peerDependencies:
'@csstools/css-parser-algorithms': ^4.0.0
'@csstools/css-tokenizer': ^4.0.0
- '@csstools/[email protected]':
- resolution: {integrity: sha512-DOgvIPkikIOixQRlD4YF31VN6fLLUTdrzhfRbis8vm0kMTgIbEPX0Ip/YX9fOeV9iywAS4sUUbTclpan7yYP8Q==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-3chWb7PRLijpJpPIKkDxdu6IBeO5MrFACND57On0j8OPpc0wZibcGc3xAHrSEbOx/KDRyMHoIxGn0w1PhXMYHw==}
engines: {node: '>=20.19.0'}
peerDependencies:
'@csstools/css-parser-algorithms': ^4.0.0
@@ -4161,8 +4166,8 @@ packages:
'@csstools/css-parser-algorithms': ^4.0.0
'@csstools/css-tokenizer': ^4.0.0
- '@csstools/[email protected]':
- resolution: {integrity: sha512-i2lNJ6b4GdMoybHlpUM07TIk8KQRXTTe7Qf8LfctQhjDRTIgaodWTQqzWU4fpWO/nxBWNkSloDM22Lw/30NBcg==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-XaMnJJqqZv4veulLELvM+5caEMcLTsFyqTrkwGKPMF+UbiM7dlQoe4K46EnwfSJIvnm91K1ZXsZSd3OuJ04p9w==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -4173,26 +4178,26 @@ packages:
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-xrGqSFj9pu6XbJYD4NNCxYK9WFbf0KMfXFaisnJezkIRDZCwefUB2azkU4Zr0dFmLtIb9LlshrSZ0be1/QVthQ==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-YzY5qI0S/CsvqvMSiDn85ZyTCRLdnywxQn+6Fv8AU17aCE/fjcor54OSdVb/HlABBTcBq+d8NlWcLz11Bmo2mQ==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-PhUu86ppxKcNHHqrJ43ZL1mYa2uHKGRoY0KPbZA9k8iOaanL3I+1zYqbgVumxj1UgNTDw5BE3BUQ1Dono6bD6g==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-s+9fU1+sZazUNk0WyKShlfmTLC0fosxNY5x7DiD637xXbZLX2lyce23QrdRhytP3Ja1G77qUk6cRD37N1gemdQ==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-zYS78MHBuih9f9qtPFcSvVXMKg9q/lNPeFJUjyw7+/W1VHRjubvs5MlzuC363UUeahAhrOvYdo2ZZhmlxZbj6w==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-eBrrzTKudOlDl2XOJzW/pzHPIkC8tGkcGpNiFO/vmevb08U1huYEINhlxr8iz4OzSqs1GtiJx4d2v5iHFOZjNw==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-qlrABMEFPUqbCxX0aOsHcxQZo/8XgMqnEtqqtVUbdizcuTUtJyLdHike7hkoemwDspMSEotdIfRlUY4jhZaD+A==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-O4tE1hZXfEAbTP1IC2R857KjPCLNtpsFUqY2dqgycF/3M6GuFyJI20EWwkxVZzlSFvWdIcNppwRf9pxPFn0qnA==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -4209,8 +4214,8 @@ packages:
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-EiTZzUICztGqEuYg8AVCUWH9vH2jDzO6RryxMja+PWluZHP6n3/iG6i1leTt5LiDQjDUQlCRbQtMNj7V7S+b4Q==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-gfdTZ4a5ioL2zM/yN2FqExy6rql+6egkI5sDuK9MvrbfrVJMzB0OjiCkboT5UprU/P0JwfTiIutW1ZSyqK4Icw==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -4233,20 +4238,20 @@ packages:
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-2dWGsxtxypKU9Ra862F2335W8xegRwl9ohQ6hk808PiQlEahSaFtt5fqsGmKDaSiaFUx+2X8GZxVo970Ajr2vQ==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-X6XkKkR9R8KyJey9n1ryEzzfX6WpihPz/JBsyIVvxAlztQcMjMA7I9mMybWVv3ZyRMC+0+H7RlIUe85vZkasNQ==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-sC/7dqVTtQTniLjPp/NagzeUn4sGinnMTicNBLDzirKq/GNXuJaApBOnvBmgNXjV6XPizfMhNRYCk5stn3q2nQ==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-wXiZI6bLRAGcw7XuzsqqPnTVNrHFkHTkcymK2su+ynJjemfCdpCD9HdG+ICikPqtQ782r6LSZdyC3cDhSQqF3Q==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-cl0KPaaeYyAXNHO3pqK8adbpbAGmIU1cT1thyaEkmP8yvbJvmyztkpdGADGqziUUoh4dZQ0IhHxOxnKQ296T+A==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-HeJOXAMr1nYHZ7gJT1+6d899X9Y+5qJcpbLJ8WzhujQOIB4oqbzeP3769sd1xl3eH4qbasxtewxr4crs08SEQw==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -4341,8 +4346,8 @@ packages:
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-vIgrKe5ffW99it5SUIXOBczGLSiTaHBhU6afVr9KPwoZ4uq9H0E3Ehvi+xsUjmvnAyMTxOUSszNo04kEhbvYjQ==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-A+Nkzj2ODvQboM5FlqEcp0iqilyVo78f9FMx/3cHrRrEBqCymSXvf8sa1cTY54lJoUVI3Sn9XysgvYaVIAuIYg==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -4371,8 +4376,8 @@ packages:
peerDependencies:
postcss: ^8.4
- '@csstools/[email protected]':
- resolution: {integrity: sha512-reFFKD9eS602We8621e5cAroKD7hH4104duLNBBhzwawGN7dhbnL1+c/DRHqwyq6eGK35HaKMMiifEZhAztlOA==}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-kBzf+LIm824cpjsZPhNtl/2N1KK+TXnxy8Kce4y+pEAQSrxhpX6WDUg54wjdHBGx2UZUXKBnlaUOsc71sSRDvg==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -4466,18 +4471,33 @@ packages:
'@emnapi/[email protected]':
resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==}
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-l9Oo58x0HOP5znGzVhYW9U3e5wVuA4LAZU2AGezTmkhO1CgQRFDhDg4nneHsu/t3WniXg9QrG2nIXL/ZS8ln8Q==}
+
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==}
+
'@emnapi/[email protected]':
resolution: {integrity: sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==}
'@emnapi/[email protected]':
resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==}
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-55coeOFKHv1ywEcUXJtWU5f+Jr/W5tZDvZig8DLKSwUN1JpROQ4rk/SNOQiFWmaR/VKF4zuFyW1B8JduOSv6Pg==}
+
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==}
+
'@emnapi/[email protected]':
resolution: {integrity: sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==}
'@emnapi/[email protected]':
resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==}
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==}
+
'@es-joy/[email protected]':
resolution: {integrity: sha512-0xew1CxOam0gV5OMjh2KjFQZsKL2bByX1+q4j3E73MpYIdyUxcZb/xQct9ccUb+ve5KGUYbCUxyPnYB7RbuP+w==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
@@ -4490,468 +4510,156 @@ packages:
resolution: {integrity: sha512-Q9hjxWI5xBM+qW2enxfe8wDKdFWMfd0Z29k5ZJnuBqD/CasY5Zryj09aCA6owbGATWz+39p5uIdaHXpopOcG8g==}
engines: {node: '>=10'}
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [aix]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-lhRUCeuOyJQURhTxl4WkpFTjIsbDayJHih5kZC1giwE+MhIzAb7mEsQMqMf18rHLsrb5qI1tafG20mLxEWcWlA==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [aix]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [aix]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [android]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-+WzIXQOSaGs33tLEgYPYe/yQHf0WTU0X42Jca3y8NWMbUVhp7rUnw+vAsRC/QiDrdD31IszMrZy+qwPOPjd+rw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==}
engines: {node: '>=18'}
cpu: [arm64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [android]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-wqh0ByljabXLKHeWXYLqoJ5jKC4XBaw6Hk08OfMrCRd2nP2ZQ5eleDZC41XHyCNgktBGYMbqnrJKq/K/lzPMSQ==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==}
engines: {node: '>=18'}
cpu: [arm]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [android]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-+VJggoaKhk2VNNqVL7f6S189UzShHC/mR9EE8rDdSkdpN0KflSwWY/gWjDrNxxisg8Fp1ZCD9jLMo4m0OUfeUA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==}
engines: {node: '>=18'}
cpu: [x64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [darwin]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-0T+A9WZm+bZ84nZBtk1ckYsOvyA3x7e2Acj1KdVfV4/2tdG4fzUp91YHx+GArWLtwqp77pBXVCPn2We7Letr0Q==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==}
engines: {node: '>=18'}
cpu: [arm64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [darwin]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-fyzLm/DLDl/84OCfp2f/XQ4flmORsjU7VKt8HLjvIXChJoFFOIL6pLJPH4Yhd1n1gGFF9mPwtlN5Wf82DZs+LQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==}
engines: {node: '>=18'}
cpu: [x64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [freebsd]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-l9GeW5UZBT9k9brBYI+0WDffcRxgHQD8ShN2Ur4xWq/NFzUKm3k5lsH4PdaRgb2w7mI9u61nr2gI2mLI27Nh3Q==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [freebsd]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-BXoQai/A0wPO6Es3yFJ7APCiKGc1tdAEOgeTNy3SsB491S3aHn4S4r3e976eUnPdU+NbdtmBuLncYir2tMU9Nw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==}
engines: {node: '>=18'}
cpu: [x64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-RVyzfb3FWsGA55n6WY0MEIEPURL1FcbhFE6BffZEMEekfCzCIMtB5yyDcFnVbTnwk+CLAgTujmV/Lgvih56W+A==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==}
engines: {node: '>=18'}
cpu: [arm64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-CjaaREJagqJp7iTaNQjjidaNbCKYcd4IDkzbwwxtSvjI7NZm79qiHc8HqciMddQ6CKvJT6aBd8lO9kN/ZudLlw==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==}
engines: {node: '>=18'}
cpu: [arm]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-KBnSTt1kxl9x70q+ydterVdl+Cn0H18ngRMRCEQfrbqdUuntQQ0LoMZv47uB97NljZFzY6HcfqEZ2SAyIUTQBQ==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==}
engines: {node: '>=18'}
cpu: [ia32]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==}
- engines: {node: '>=18'}
- cpu: [loong64]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-zpSlUce1mnxzgBADvxKXX5sl8aYQHo2ezvMNI8I0lbblJtp8V4odlm3Yzlj7gPyt3T8ReksE6bK+pT3WD+aJRg==}
- engines: {node: '>=18'}
- cpu: [loong64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==}
engines: {node: '>=18'}
cpu: [loong64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==}
- engines: {node: '>=18'}
- cpu: [mips64el]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-2jIfP6mmjkdmeTlsX/9vmdmhBmKADrWqN7zcdtHIeNSCH1SqIoNI63cYsjQR8J+wGa4Y5izRcSHSm8K3QWmk3w==}
- engines: {node: '>=18'}
- cpu: [mips64el]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==}
engines: {node: '>=18'}
cpu: [mips64el]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-bc0FE9wWeC0WBm49IQMPSPILRocGTQt3j5KPCA8os6VprfuJ7KD+5PzESSrJ6GmPIPJK965ZJHTUlSA6GNYEhg==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==}
- engines: {node: '>=18'}
- cpu: [riscv64]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-SQPZOwoTTT/HXFXQJG/vBX8sOFagGqvZyXcgLA3NhIqcBv1BJU1d46c0rGcrij2B56Z2rNiSLaZOYW5cUk7yLQ==}
- engines: {node: '>=18'}
- cpu: [riscv64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==}
engines: {node: '>=18'}
cpu: [riscv64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==}
- engines: {node: '>=18'}
- cpu: [s390x]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-SCfR0HN8CEEjnYnySJTd2cw0k9OHB/YFzt5zgJEwa+wL/T/raGWYMBqwDNAC6dqFKmJYZoQBRfHjgwLHGSrn3Q==}
- engines: {node: '>=18'}
- cpu: [s390x]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==}
engines: {node: '>=18'}
cpu: [s390x]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [linux]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-us0dSb9iFxIi8srnpl931Nvs65it/Jd2a2K3qs7fz2WfGPHqzfzZTfec7oxZJRNPXPnNYZtanmRc4AL/JwVzHQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==}
engines: {node: '>=18'}
cpu: [x64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [netbsd]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-CR/RYotgtCKwtftMwJlUU7xCVNg3lMYZ0RzTmAHSfLCXw3NtZtNpswLEj/Kkf6kEL3Gw+BpOekRX0BYCtklhUw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [netbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [netbsd]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-nU1yhmYutL+fQ71Kxnhg8uEOdC0pwEW9entHykTgEbna2pw2dkbFSMeqjjyHZoCmt8SBkOSvV+yNmm94aUrrqw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [netbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==}
engines: {node: '>=18'}
cpu: [x64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openbsd]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-cXb5vApOsRsxsEl4mcZ1XY3D4DzcoMxR/nnc4IyqYs0rTI8ZKmW6kyyg+11Z8yvgMfAEldKzP7AdP64HnSC/6g==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [openbsd]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-8wZM2qqtv9UP3mzy7HiGYNH/zjTA355mpeuA+859TyR+e+Tc08IHYpLJuMsfpDJwoLo1ikIJI8jC3GFjnRClzA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==}
engines: {node: '>=18'}
cpu: [x64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openharmony]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-FLGfyizszcef5C3YtoyQDACyg95+dndv79i2EekILBofh5wpCa1KuBqOWKrEHZg3zrL3t5ouE5jgr94vA+Wb2w==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openharmony]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openharmony]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [sunos]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-1ZgjUoEdHZZl/YlV76TSCz9Hqj9h9YmMGAgAPYd+q4SicWNX3G5GCyx9uhQWSLcbvPW8Ni7lj4gDa1T40akdlw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [sunos]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==}
engines: {node: '>=18'}
cpu: [x64]
os: [sunos]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [win32]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-Q9StnDmQ/enxnpxCCLSg0oo4+34B9TdXpuyPeTedN/6+iXBJ4J+zwfQI28u/Jl40nOYAxGoNi7mFP40RUtkmUA==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==}
engines: {node: '>=18'}
cpu: [arm64]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [win32]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-zF3ag/gfiCe6U2iczcRzSYJKH1DCI+ByzSENHlM2FcDbEeo5Zd2C86Aq0tKUYAJJ1obRP84ymxIAksZUcdztHA==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==}
engines: {node: '>=18'}
cpu: [ia32]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [win32]
-
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-pEl1bO9mfAmIC+tW5btTmrKaujg3zGtUmWNdCw/xs70FBjwAL3o9OEKNHvNmnyylD6ubxUERiEhdsL0xBQ9efw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==}
engines: {node: '>=18'}
@@ -4974,50 +4682,50 @@ packages:
resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-D5DmbsEGYYmHOC2J68BRC2iJhYsD4K0x8mllgB08SeSQ0T/nP2BRogg/ohn5ZeRMb87ZDqN6NtGR7G7qTwgOSw==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-PEBHBKxuKGrseO828u5/HFo89TdOa946q5veEjdDR+BjxlMuxhZxIqHkPyoS93dh6E+9mkZkcDerSGY5nCsm8Q==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-GzARSlLTJT3FY9sUO9bYLoFtgiuUoNKzVv68oJkjAIembiu/6s1vyjs/I/1PEt+pEU6eu5hPjKHJXzd4boSDmQ==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-CQ7ZQCRoqaHSBxld2zzfvjPBWuH0R6Op9FvCq+Nfennv/k6gbecA7IV47SlaXC7TKVB7zxiiwD3kD8ftaL8+xA==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-BQFiLhxgYnGldiydecjjRXSIixHUsYb8YNSdlrGkoQU3ZFidW6d5R0I1Reooz8DAg/m6sjwZ17MRVRNm3Z4PyA==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-UVkd9g/NzpyoBIJb8O1OcjNLKe5BNGg+IZH5Pns/aPFdkdXqzmVHpgTtLg+w2fDNzv+hivqjUdWw99EQ7kC0fA==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-PEJPNXLjzlpdq2A4+9XlVdYziZPGq7wM+PB8jtmUzurQuZ8dqfCoBiQNuu+8TYMPGet1lUjHhijCO8MM9mEfrg==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-YJVfj1Z0+uaYI+KmdNDQpLT8KceLRjf8UH3gd/fJJ+Ye3jBuS5sXDxBBoG74OF61/mtTugrc9aBCes4hlouwBg==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-dc6hBagLgCt+CSkWSJjbyPDGGcs/J9qHTdymMQrw51bO+DIztQpuy42E42EjOdxWcaw3U0eUtu330nZEcKqGMw==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-rZVIWotHLOYdbsmBEMJCQlu2gUeHcU8dYa7EkhWPwuh3p1q1ydV+Jfn4whJwHVb/mTI8zy4957RnFbGGWVLa6g==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-Ln255YTTUSlONr+e0Lu1wi2X9fTuOlNNJNXTz6PYaNZFAwCNWdlhkzFL8HdIBgPiWPUKrt+OMuah8o0xVoHswA==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-6VBZo5KTlyUrn27aW6u6nqVvX9igWxzQX0vVNCv/ObnCA6ElOn1TBC9ENwRoK73FJ86PcT25PWyz1LJRgwnefw==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-vNz4y4eFKRYetihXiiZueGgClsyTFhR3kltMDPwoZyJaERdkyeoUylY09OnWakJFitao1+s2eBkSVuFqA8dqrA==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-s+hb4H+6CzFsL2E6Yw6/c3bzSFfNc2XNOP2Q60k4G05VCbUew30Aqcf0Ehiac5wgGmpDZ9/9wkJiNanW2M1viA==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
@@ -5080,11 +4788,11 @@ packages:
'@flatten-js/[email protected]':
resolution: {integrity: sha512-xhFWUBoHJFF77cJO1D6REjdgJEMRf2Y2Z+eKEPav8evGKcLSnj1ud5pLXQSbGuxF3VSvT1rWhMfVpXEKJLTL+A==}
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==}
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==}
'@floating-ui/[email protected]':
resolution: {integrity: sha512-4JX6rEatQEvlmgU80wZyq9RT96HZJa88q8hp0pBd+LrczeDI4o6uA2M+uvxngVHo4Ihr8uibXxH6+70zhAFrVw==}
@@ -5092,8 +4800,8 @@ packages:
react: 19.2.7
react-dom: 19.2.7
- '@floating-ui/[email protected]':
- resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==}
resolution: {integrity: sha512-Iq8QQQ/7X3Sac15oB6p0FmUg/klxQvXLeileoqrTRGJYLV+/9tubbr9ipz0GKHjmXVsgFPo/+W+2cA8eNcR+XA==}
@@ -5338,12 +5046,6 @@ packages:
'@types/react': 19.2.17
react: 19.2.7
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==}
- peerDependencies:
- '@emnapi/core': ^1.7.1
- '@emnapi/runtime': ^1.7.1
-
'@napi-rs/[email protected]':
resolution: {integrity: sha512-AWPoBRJ9tsnVhor4sjO7rkni+7p+2IAEFj6cx06UgP10jkQHqay/36uRV/bFkgrh18D9vb4cr8Q0Pthskgzy+Q==}
peerDependencies:
@@ -5424,86 +5126,319 @@ packages:
resolution: {integrity: sha512-XRO0zi2NIUKq2lUk3T1ecFSld1fMWRKE6naRFGkgkdeosx7IslyUKNv5Dcb5PJTja9tHJoFu0v/7yEpAkrkrTg==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
- '@oxc-project/[email protected]':
- resolution: {integrity: sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==}
-
- '@oxc-project/[email protected]':
- resolution: {integrity: sha512-huv1Y/LzBJkBVHt3OlC7u0zHBW9qXf1FdD7sGmc1rXc2P1mTwHssYv7jyGx5KAACSCH+9B3Bhn6Z9luHRvf7pQ==}
-
- '@oxc-project/[email protected]':
- resolution: {integrity: sha512-T0xuRRKrQFmocH8y+jGfpmSkGcheaJExY9lEihmR1Gm2aH+75B8CzgU2rABRQSzzDxLjZ15Sc0bRVLj5lVeNXQ==}
-
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-BaRKlM3DyG81y/xWTsE6gZiv89F/3pHe2BqX2H4JbiB8HNVlWWtplzgATAE5IDSdwChdeuWLDTQzJ92Lglw3ZA==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-0LC7ye4hvqbIKxAzThzvswgHLFu2AURKzYLeSVvLdu2TBOYWQDmHnTqPLeA597BcUCxiLqLsS4CJ5uoI5WYWCQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [android]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-/O+EbuAJYs6nde/anv+aID6uHsGQApyE9JtYBo/79KyU8e6RBN3DMbT0ix97y1SOnCglurmL2iZ+hlohjP2PnQ==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-b5jtVTH6AU5CJXHNdj7Jj9IEiR9yVjjnwHzPJhGyHGPdcsZSzBCkS9GBbV33niRMvKthDwQRFRJfI4a+k4PvYg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [android]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-pGqRtqlNdn9d4VrmGUWVyQjkw79ryhI6je9y2jfqNUIZCfqceob+R97YYAoG7C5TFyt8ILdLVoN+L2vw/hSFyA==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-obCE8B7ISKkJidjlhv9xRGJPOSDG2Yu6PRga9Ruaz35uintHxbp1Ki/Yc71wx4rj3Edrm0a1kzG1TAwit0wFpg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [darwin]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-8GmsDcSozTPjrCJeGpp+sCmS9+9V5yRrdEZ1p/sTWxPG5nYeAfSLuS0nuEYjXSO+CtdSbStIW6dxa+4NM58yRw==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-JL6Xb5IwPQT8rUzlpsX7E+AgfcdNklXNPFp8pjCQQ5MQOQo5rtEB2ui+3Hgg9Sn7Y9Egj6YOLLiHhLpdAe12Aw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [darwin]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-QyfKfTe0ytHpFKHAcHCGQEzN45QSqq1AHJOYYxQMgLM3KY4xu8OsXHpCnINjDsV4XGnQzczJDU9e04Zmd8XqIQ==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-SDQ/3MQFw58fqQz3Z1PhSKFF3JoCF4gmlNjziDm8X02tTahCw0qJbd7FGPDKw1i4VTBZene9JPyC3mHtSvi+wA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [freebsd]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-u+kv3JD6P3J38oOyUaiCqgY5TNESzBRZJ5lyZQ6c2czUW2v5SIN9E/KWWa9vxoc+P8AFXQFUVrdzGy1tK+nbPQ==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-Av+D1MIqzV0YMGPT9we2SIZaMKD7Cxs4CvXSx/yxaWHewZjYEjScpOf5igc8IILASViw4WTnjlwUdI1KzVtDHQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-1NiZroCiV57I7Pf8kOH4XGR366kW5zir3VfSMBU2D0V14GpYjiYmPYFAoJboZvp8ACnZKUReWyMkNKSa5ad58A==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-Cs2fdJ8cPpFdeebj6p4dag8A4+56hPvZ0AhQQzlaLswGz1tz7bXt1nETLeorrM9+AMcWFFkqxcXwDGfTVidY8g==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-7Q0Xeg7ZnW2nxnZ4R7aF6DEbCFls4skgHZg+I63XitpNvJCbVIU8MFOTZlvZGRsY9+rPgWPQGeUpLHlyx0wvMA==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-qdOfTcT6SY8gsJrrV92uyEUyjqMGPpIB5JZUG6QN5dukYd+7/j0kX6MwK1DgQj39jtUYixxPiaRUiEN1+0CXgQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-5Okqi+uhYFxwKz8hcnUftNNwdm8BCkf6GSCbcz9xJxYMm87k1E4p7PEmAAbhLTk7cjSdDre6TDL0pDzNX+Y22Q==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-EoTCZneNFU/P2qrpEM+RHmQwt+CvDkyGESG6qhr7KaegXLZwePfbrkCDfAk8/rhxbDUVGsZILX+2tqPzFtoFWA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [musl]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-9k66pbZQXM/lBJWys3Xbc5yhl4JexyfqkEf/tvtq8976VIJnLAAL3M127xHA3ifYSqxdVHfVGTg84eiBHCGcNw==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-zALjmZYgxFLHjXeudcDF0xFGNydTAtkAeXAr2EuC17ywCyFxcmQra4w0BMde0Yi/re4Bi4iwEoEXtYN7l6eBLQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ppc64]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-aUcY9ofKPtjO52idT6t0SAQvEF6ctjzUQa1lLp7GDsRpSBvuTrBQGeq0rYKz3gN8dMIQ7mtMdGD9tT4LhR8jAQ==}
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-fPP8M6zQLS7Jz7o9d5ArUSuAuSK3e+WCYVrCpdzeCOejidtZExJ9tjhDrAd3HEPqARBCPmdpqxESPFqy44vkBQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [riscv64]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-7IcC4Ao02oGpfnjt+X/oF4U2mllo2qoSkw5xxiXNKL9MCTsTiAC6616beOuehdxGcnz1bRoPC1RQ2f1GQDdN+g==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [musl]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-pbXIhiNFHoqWeqDNLiJ9JkpHz1IM9k4DXa66x+1GTWMG7iLxtkXgE53iiuKSXwmk3zIYmaPVfBvgcAhS583K4Q==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [s390x]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-MYCguB9RvBvlSd6gbuNI7QwiLoCCAlGnlRJFPrzLI6U1/9wkC/WK6LtBAUln55H1Ctqw45PWmqrobKoMhsYQzQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-5eY0B/bxf1xIUxb4NOTvOI3KWtBQfPWYyKAzgcrCt0mDibSZygVpO1Pz8bkeiSZ5Jj9+M09dkggG3H8I5d0Uyg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-Gld0ajrFTUXNtdw20fVBuTQx66FA75nIVg+//pPfR3sXkuABB4mTBhl3r9JNzrJpgW//qiwxf0nWXUWGJSL3UQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-T6KVD7rhLzFlwGRXMnxUFfkCZD8FHnb968wVXW1mXzgRFc5RNXOBY2mPPDZ77x5Ln76ltLMgtPg0cOkU1NSrEQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [wasm32]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-Ujvw4X+LD1CCGULcsQcvb4YNVoBGqt+JHgNNzGGaCImELiZLk477ifUH53gIbE7EKd933NdTi25JWEr9K2HwXw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [win32]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-0cwxKO7KHQQQfo4Uf4B2SQrhgm+cJaP9OvFFhx52Tkg4bezsacu83GB2/In5bC415Ueeym+kXdnge/57rbSfTw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [ia32]
+ os: [win32]
+
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-rOrnSQSCbhI2kowr9XxE7m9a8oQXnBHjnS6j95LxxAnEZ0+Fz20WlRXG4ondQb+ejjt2KOsa65sE6++L6kUd+w==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [win32]
+
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==}
+
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==}
+
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-huv1Y/LzBJkBVHt3OlC7u0zHBW9qXf1FdD7sGmc1rXc2P1mTwHssYv7jyGx5KAACSCH+9B3Bhn6Z9luHRvf7pQ==}
+
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-WT+Gb24i8hmvo85AIv2oEYouEXkRlKAlT9WaCa3TfLgNCN+GhrJOGZuIlMouAh38Qe4QOx26eUOVsq70qXrywA==}
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-eNU11A2WNizh04v3uyaJCootrHIaS0B9aHYXvAvVnPNk4xYSjMUjHnhQ6dewPN2MRYDskV85d1N0Aw0WNWhcyg==}
+ cpu: [arm]
+ os: [android]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-8Q+ZjTLvn2dIcWsrmhdrEihm7q+ag/k+mkry7Z+t0QbbHaVxXQfvH9AewyVMh/WrpEKhQ3DDgx9fYbqeCpeOEw==}
+ cpu: [arm64]
+ os: [android]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-wkh0qKZGHXVUDxFw3oA1TXnU2BDYY/r775oJflGeIr8uDPPoN2pk8gijQIzYRT6hoql/lg3+Tx/SaTn9e2/aGg==}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-HbNc23FAQYbuyDV2vBWMez4u4mrsm5RAkniGZAWqr6lYZ3N4beeqIb776jzwRl8qL2zRhHVXpUj97X0QgogVzg==}
+ cpu: [x64]
+ os: [darwin]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-K6xNsTUPEUdfrn0+kbMq5nOUB5w1C5pavPQngt4TM2FpN91lP0PBe2srSpamb4d69O7h86oAi/qWX/kZNRSjkw==}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-VcFmOpcpWX1zoEy8M58tR2M9YxM+Z9RuQhqAx5q0CTmrruaP7Gveejg75hzd/5sg5nk9G3aLALEa3hE2FsmmTQ==}
+ cpu: [arm]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-quVoxFLBy43hWaQbbDtQNRwAX5vX76mv7n64icAtQcJ3eNgVeblqmkupF/hAneNthdqSlnd1sTjb3aQSaDPaCQ==}
+ cpu: [arm]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-X0AqNZgcD07Q4V3RDK18/vYOj/HQT/FnmEFGYS2jTWqY7JO13ryE3TEs3eAIgUJhBnNkpEaiXqz3VK8M7qQhWQ==}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-YkaQnaKYdbuaXvRt5Qd0GpbihzVnyfR6z1SpYfIUC6RTu4NF7lDKPjVkYb+jRI2gedVO2rVpN35Y6akG6ud4Lw==}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-gB9HwhrPiFqUzDeEq+y/CgAijz1YdI6BnXz5GaH2Pa9cWdutchlkGFAiAuGb/PjVQpiK6NFKzFuztxrweoit7A==}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-zjDWBlYk8QGv0H8dsPUWqkfjYIIjG2TvspGkzXL0eImbgxtZorA/klKeHyolevoT3Kvbi+1iMr9Lhrh7jf54Og==}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-4UfsQvacV388y1zpXL7C1x1FNYaV52JtuNRiuzrfQA2z1z6ElVrsidkGsrvQ5EgeSq1Pj7kaKqrgGkvFuxJ/tw==}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [musl]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-b5uH+HKH0MP5mNBYaK75SKsJbw52URqrx2LavYdq6wb0l3ExAG5niYRP9DWUNHdKilpaBVM2bXk9HNWrH3ew7Q==}
+ cpu: [s390x]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-PjYlmilBpNRh2ntXNYAK3Am5w/nPfEpnU/96iNx7CI8EzAn12J4JRiec63wHJTH31nLoCNxBg/829pN+3CfG3Q==}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-QTBAb7JuHlZ7JUEyM8UiQi2f7m/L4swBhP2TNpYIDc9Wp/wRw1G/8sl6i13aIzQAXH7LKIm294LeOHd0lQR8zA==}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-4j1DFwjwv36ec9kds0jU/ucQ5Ha4ERO/H95BxR5JFf0kqUUAJ1kwII7XhTc1vZrkdJkvLGC9Q2MbpObpum8RBg==}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-i8oluoel5kru/j1WNrjmQSiA3GQ7wvIYVR1IwIoZtKogAhya2iub+ZKIeSIkcJOrnzQ18Tzl/F+kL3fYOxZLvA==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-M/8dw8dD6aOs+NlPJax401CZB9I7Aut84isQLgALGGwke4Afvw+/7yYhZb94yXf6t2sPLhQLmSmtSV+2FhsOWg==}
+ cpu: [arm64]
+ os: [win32]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-H7BCt/VnS9hnmMp42eGhZ99izSCRvlnWwy/N71K1/J8QoExwY4262Z8QiEkMDtduRJrztayDxETTckmUuAVL9Q==}
+ cpu: [x64]
+ os: [win32]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-BaRKlM3DyG81y/xWTsE6gZiv89F/3pHe2BqX2H4JbiB8HNVlWWtplzgATAE5IDSdwChdeuWLDTQzJ92Lglw3ZA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [android]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-/O+EbuAJYs6nde/anv+aID6uHsGQApyE9JtYBo/79KyU8e6RBN3DMbT0ix97y1SOnCglurmL2iZ+hlohjP2PnQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [android]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-pGqRtqlNdn9d4VrmGUWVyQjkw79ryhI6je9y2jfqNUIZCfqceob+R97YYAoG7C5TFyt8ILdLVoN+L2vw/hSFyA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-8GmsDcSozTPjrCJeGpp+sCmS9+9V5yRrdEZ1p/sTWxPG5nYeAfSLuS0nuEYjXSO+CtdSbStIW6dxa+4NM58yRw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [darwin]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-QyfKfTe0ytHpFKHAcHCGQEzN45QSqq1AHJOYYxQMgLM3KY4xu8OsXHpCnINjDsV4XGnQzczJDU9e04Zmd8XqIQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-u+kv3JD6P3J38oOyUaiCqgY5TNESzBRZJ5lyZQ6c2czUW2v5SIN9E/KWWa9vxoc+P8AFXQFUVrdzGy1tK+nbPQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [linux]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-1NiZroCiV57I7Pf8kOH4XGR366kW5zir3VfSMBU2D0V14GpYjiYmPYFAoJboZvp8ACnZKUReWyMkNKSa5ad58A==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [linux]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-7Q0Xeg7ZnW2nxnZ4R7aF6DEbCFls4skgHZg+I63XitpNvJCbVIU8MFOTZlvZGRsY9+rPgWPQGeUpLHlyx0wvMA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-5Okqi+uhYFxwKz8hcnUftNNwdm8BCkf6GSCbcz9xJxYMm87k1E4p7PEmAAbhLTk7cjSdDre6TDL0pDzNX+Y22Q==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-9k66pbZQXM/lBJWys3Xbc5yhl4JexyfqkEf/tvtq8976VIJnLAAL3M127xHA3ifYSqxdVHfVGTg84eiBHCGcNw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-aUcY9ofKPtjO52idT6t0SAQvEF6ctjzUQa1lLp7GDsRpSBvuTrBQGeq0rYKz3gN8dMIQ7mtMdGD9tT4LhR8jAQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [glibc]
+
+ '@oxfmt/[email protected]':
resolution: {integrity: sha512-C6yhY5Hvc2sGM+mCPek9ZLe5xRUOC/BvhAt2qIWFAeXMn4il04EYIjl3DsWiJr0xDMTJhvMOmD55xTRPlNp39w==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [riscv64]
@@ -5660,11 +5595,11 @@ packages:
engines: {node: '>=18'}
hasBin: true
- '@posthog/[email protected]':
- resolution: {integrity: sha512-hf+COAWSAG1UQHluPsfAOJDOR8tr8YY7cdf58ENGt20pEEWZ6sH3IbtvFDWkhp0ulSftA62x17w8R/f6IAwwEA==}
+ '@posthog/[email protected]':
+ resolution: {integrity: sha512-EsGPbSLl39Jgo2KZ+kI9UAxFnh5nddaN5bNm2rXvUwF+vGmam9eN1EXeNbxhRU7ulEeIiGdm7XjoU7pzavkgIQ==}
- '@posthog/[email protected]':
- resolution: {integrity: sha512-XR0B1geABbnUlSNv4RuFWvk19D870B668C/XzcKDctAZ+xCH5gmGM0oltGbA9yj+2ia9Y65nOrDYKN6Whu1oBw==}
+ '@posthog/[email protected]':
+ resolution: {integrity: sha512-WcfKz2GNn2vfDX8vXmJYbKxegPxVWHuDQ/pHdAn0HoZDXDFnEp/+x3qBQA+fEvtbPjjtjgAt2wIgJMlM7asx7g==}
'@protobufjs/[email protected]':
resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}
@@ -6050,8 +5985,8 @@ packages:
cpu: [arm64]
os: [android]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-gCYzGOSkYY6Z034suzd20euvds7lPzMEEla62DJGE/ZAlR4OMBnNbvnBSsIGUCAr52gaWMsloGxP4tVGtN5aCA==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-2cZ+7xRS+DBcuJBJKnfzsbleumJhBqSlJVpuzHC0nTqfd3QQ7Vx2/x5YR/D7cBamKSeWplwo82Fn9lqYUDEMfA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [android]
@@ -6068,8 +6003,8 @@ packages:
cpu: [arm64]
os: [darwin]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-JQBD77MNgu+4Z6RAyg69acugdrhhVoWesr3l47zohYZ2YV2fwkWMArkN/2p4l6Ei+Sno7W5q+UsKdVWq5Ens0w==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-RkPMJnygxsgOYdkfqgpwY0/Fzm8d0VQe6HGU2/B00Xa9eqdLbrII+DOKAodbJAn3ZL1AJxGHkZRPYazgGY6Ljw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [darwin]
@@ -6086,8 +6021,8 @@ packages:
cpu: [x64]
os: [darwin]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-p/8cXUTK4Sob604e+xxPhVSbDFf29E6J0l/xESM9rdCfn3aDai3nEs6TnMHUsdD5aNlFz0+gDbiGlozLKGa2YA==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-Uiczh6vFhwyfd7WNe7Q7mCA4KxAiLdz7jPE/WGizfRpIieoyFuNVMmM8HqZ9HwudTkY6/AeMQwlNJ9NJijguWw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [darwin]
@@ -6104,8 +6039,8 @@ packages:
cpu: [x64]
os: [freebsd]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-KbtOSlVv6fElujiZWMcC3aQYhEwLVVf073RcwlSmpGQvIsKZFUqc0ef4sjUuurRwfbiI6JJXji9DQn+86hawmQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-+TpdtTRgHiJFjCVFbw311SuLk3KfytPOQQn+VlAEv+gBxYPtL7E6JS9e/tk+8CwxhIZvemJKo4rTKgfWNsKkkA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [freebsd]
@@ -6122,8 +6057,8 @@ packages:
cpu: [arm]
os: [linux]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-9fZ9i0o0/MQaw7om6Z6TsT7tfCk0jtbEFtC+aPqZL5RNsGWNcHvn6EHgL3dAprjq+AZzPTAQjg2JtpJaMt+6pg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-4lv1/tkmi7ueIVHnyreaOeUpiZP26BH9rRy6hoYfR9310A2B9nUEVRDvBx69vx64Nr3eTPPRkyciqJJs+j9Jmw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
@@ -6142,8 +6077,8 @@ packages:
os: [linux]
libc: [glibc]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-+tog7T66i+yFyIuuAnjL6xmW182W/qTBOUt6BtQ6lBIM1Eikh/fSMz4HGgvuCp5uU0zuIVWng7kDYthjCMOHcg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-gBSUVO0eaWgw1JMjK3gB8BMlX2Mk148s2lTiVT3e9vjVxbl7UDfMWWY8CfIaaqiXuM9fVTMxIpUz6CAo/B6Vlw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
@@ -6163,8 +6098,8 @@ packages:
os: [linux]
libc: [musl]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-4b7yruLIIj/oZ3GpcLOvxcLCLDMraohn3IhQfN2hBP4w9UekG0DTIajWguJosRGfySf/+h/NwRUiMKoCpxCrqQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-LjQP/iZLBu8o8PjIfk4x3At0/mT6h282pvz8Z5LAyhGbu/kDezyO7ea62rF5uoqmgnIYqbN/MqJ3Si3Aymi7xQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
@@ -6184,8 +6119,8 @@ packages:
os: [linux]
libc: [glibc]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-QRDOVZd0bhQ5jLsUsCC3dUxDWdTSVY9WMznowZgCGOrZfLLgctWpelhUASEiBwsXfat/JwYnVd1EaxMhqyT+UQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-X/7bVLWelEsbyWDUSXt7zVsTniLLPIY2n1rH58qr78l9i7MNbbxBWD8gI2vRfBWf4NUXJCUuQnfZDsp32LqsfQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ppc64]
os: [linux]
@@ -6205,8 +6140,8 @@ packages:
os: [linux]
libc: [glibc]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-ypxT+Hq76NFG7woFbNbySnGEajFuYuIXeKz/jfCU+lXUoxfi3zLE6OG/ZQNeK3RpZSYJlAe2bokpsQ046CaieQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-gb6dYKW/1KDorGXyy48glEBJs/sxVSC5pcVrox/pFGV4mvwSFeg2sK5L2tRkVsVlh7kueqOgg4GEcuipJcGuKg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [s390x]
os: [linux]
@@ -6226,8 +6161,8 @@ packages:
os: [linux]
libc: [glibc]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-IdovCmfROFmpTLahdecTDFL74aLERVYN68F/mLZjfVh6LfoplPfI6deyHNMTcVujbokDV5k05XrFO22zfv+qjg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-JY4w85pU3iAiJVMh5nuk4/Mh9GjMsupe8MrIN53rwxAZW64GKrWeJBuN6SxQg9QTU5uB1cxyhDzW8jqRn1EABw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
@@ -6247,8 +6182,8 @@ packages:
os: [linux]
libc: [musl]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-pcA8xlFp2tyk9T2R6Fi/rPe3bQ1MA+sSMDNUU5Ogu80GHOatkE4P8YCreGAvZErm5Ho2YRXnyvNrWiRncfVysQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-xvpA7o5KCYLB0Rwscmuylb1/zHHSUx4g4xilm4prC5jP76pEUlzBmMbgpbh7bVDbId4NcfT96gN5i6mE6UDaiw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
@@ -6266,8 +6201,8 @@ packages:
cpu: [arm64]
os: [openharmony]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-4+fexHayrLCWpriPh4c6dNvL4an34DEZCG7zOM/FD5QNF6h8DT+bDXzyB/kfC8lDJbaFb7jKShtnjDQFXVQEjg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-p/ts6KBLjuk49Bp21XH77poQGt02iNz7ChgHep7tudPOaLinR/De/RHdxF8w8Yj4r/bF/bqXwH6PZrB2sA+Nvw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [openharmony]
@@ -6282,8 +6217,8 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [wasm32]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-SbL++MNmOw6QamrwIGDMSSfM4ceTzFr+RjbOExJSLLBinScU4WI5OdA413h1qwPw2yH7lVF1+H4svQ+6mSXKTQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-VMu/wmrZ9hJzYlRhbw7jK5PODlugyKZ5mOdX78+lS8OvuFkWNQdz1pFLrI2p3P0pjXOmUZ7B48o5VnMH9QOGtg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [wasm32]
@@ -6299,8 +6234,8 @@ packages:
cpu: [arm64]
os: [win32]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-+xTE6XC7wBgk0VKRXGG+QAnyW5S9b8vfsFpiMjf0waQTmSQSU8onsH/beyZ8X4aXVveJnotiy7VDjLOaW8bTrg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-xtUJqs8qEkuSviS0n1tsohaPuz3a1SPhZywOji4Oo+sgrJs8daEDMZ0QtqL0OS7dx8PoVpg2J/ZZycPY5I2+Zg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [win32]
@@ -6317,8 +6252,8 @@ packages:
cpu: [x64]
os: [win32]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-Ogji1TQNqH3ACLnYr+1Ns1nyrJ0CO2P585u9Hsh02pXvtFiFpgtgT2b3P4PnCOU86VVCvqtAeCN4OftMT8KU4w==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-85YiLQqjUKgSO/Zjnf9e0XIn5Ymrh1fLDWBeAkZqpuBR/3R8TpfoHXuyblqyQrftSSgWO9qpcHN8mkyKsLraoA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [win32]
@@ -6511,17 +6446,24 @@ packages:
'@standard-schema/[email protected]':
resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}
- '@storybook/[email protected]':
- resolution: {integrity: sha512-TvIdADVPtauxW0LzXIpIv7X6GxwetorhyNh+6+7MHC27XSBCWVxxRUwL63YeLlHTuXsIk0quG3b1xgwVRzWOJA==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-aWAfP5JMiT5a3zBJizwroCRzOCqZwDTJmvsYvwMD3ilIEa/kT1vhf6Xrbk4XIPhDwbh8Hpb/Gfnka1xBYEISWg==}
peerDependencies:
- storybook: ^10.3.6
+ '@types/react': 19.2.17
+ storybook: ^10.4.6
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-tv9Xd68qRGBAvEubaxNo3FuFq4GwuMiBriD+gLGuFK0+/u3cnkuA264aoR1v6YCH3sT3er3+MBimuyKM3jLDxg==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-VGfERTsGRFmfvNP3SKprFWkC6Od5kXzSutT5PSZjQ/O9NnCdHhd/RILxFDN2TzZn9ywDc7t5b4AldKmSYCv3EQ==}
peerDependencies:
+ '@types/react': 19.2.17
react: 19.2.7
- storybook: ^10.3.6
+ storybook: ^10.4.6
peerDependenciesMeta:
+ '@types/react':
+ optional: true
react:
optional: true
@@ -6537,26 +6479,26 @@ packages:
peerDependencies:
storybook: ^9.0.0 || ^10.0.0-0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0
- '@storybook/[email protected]':
- resolution: {integrity: sha512-PZ410NhxlOAMHESPDnr2y13QATCRV58VJ3yJBY+seJCk2R9gws5VbAtKASMD9EPjAhVsIfArEL866cp310rBJw==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-klJUCBlkr1mFqXxsyYc7akIBhT5VOBTRcHChSFXq6Kbh+qQYOvfmgBpY0Tv+f7ffBmzp6gxpTorg7eGxlklxeQ==}
peerDependencies:
- storybook: ^10.3.6
+ storybook: ^10.4.6
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-qgKT6+L3uoIaphxidJUsz5Jxi1HEQvaG54cb4Au49YIdV8i9eYKB8MZzAo3jUwJWnPcIuf8OQDXs32gWovHX0w==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-DDhpgaFGb1AC0lzfR2LOozCj+uT14tsr2R9551PHgcC3ru1yfhL2DNbIjdiMuQP8nVm+2HKeXWhybJGYtk9z9g==}
peerDependencies:
- storybook: ^10.3.6
+ storybook: ^10.4.6
- '@storybook/[email protected]':
- resolution: {integrity: sha512-9kBf7VRdRqTSIYo+rPtVn5yjYYyK8kP2QhEYx3oiXvfwy4RexmbJnhk/tXa/lNiTqukA1TqaWQ2+5MqF4fu6YQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-NILLxDqpA/JR/AazGWpsz+4fadJwRU4uhHephGtYpVOWnQA/DkJfKT6zpcJVq8+QA8A2zKMLX3GVKsXIrxjuDA==}
peerDependencies:
esbuild: '*'
rollup: '*'
- storybook: ^10.3.6
+ storybook: ^10.4.6
vite: '*'
webpack: '*'
peerDependenciesMeta:
@@ -6578,12 +6520,12 @@ packages:
react: 19.2.7
react-dom: 19.2.7
- '@storybook/[email protected]':
- resolution: {integrity: sha512-DpioH1j7zfztRmLCUV3K1R44rbmxhdEglzYZBfS7vYd6slME6+0W8Xx8eD+bzNEp4bk7gfmLexuXqmDghNiB8g==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-D6EjK1sknC/1GmdWQjV38HEP+tBxJ5ObNuCUWQzGsJqsiq45HaOemZbIyJqxp3dYx2/YpFd0bawn7PlOP4yNOQ==}
peerDependencies:
react: 19.2.7
react-dom: 19.2.7
- storybook: ^10.3.6
+ storybook: ^10.4.6
typescript: '*'
peerDependenciesMeta:
typescript:
@@ -6595,32 +6537,45 @@ packages:
typescript: '>= 4.x'
webpack: '>= 4'
- '@storybook/[email protected]':
- resolution: {integrity: sha512-/Tu1gPu+Fw+zOnAGmxRmOD30FX3a04LxcTAKflEtdpmtIMVR5bA3qpjy+f5YhoyDCecbXyKmL1OeIU2FIIZHqQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-iGNmKzrq9vgl2PDrYAnZKI+yvac3Ym+lJXXuQaqlFRS23zA5MNm4EBX+rAG7WulqchoK6NaZ0KQOs2mAgEpTMg==}
peerDependencies:
+ '@types/react': 19.2.17
+ '@types/react-dom': 19.2.3
react: 19.2.7
react-dom: 19.2.7
- storybook: ^10.3.6
+ storybook: ^10.4.6
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-Z4a/tw3O1I5p4mo4ibmcWYt6CUF+b2DneDKbduqRzQ3QF1d8Sw+PBVd8ddTfFxeoFxyUB4dBsFk1X4HQZ3mfNg==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-34rOHFRa4NrBnMKsQMq8QTvw65QQJUtasYfEOw1/Pa9+CFWfFQZ3kfDLRxatphUyc0rbKxmVrVE4SFEMY/eMsA==}
peerDependencies:
react: 19.2.7
react-dom: 19.2.7
- storybook: ^10.3.6
+ storybook: ^10.4.6
typescript: '>= 4.9.x'
peerDependenciesMeta:
typescript:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-oZQZ6xayWe5IdHmFUTL0TL8rX/gpNNh9gWhT2vzW5eeUvlkVG/RBKdsja6Ndrk2s1D9vcnwiI6r6CNXy3IEEmg==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-9Y7YecrVFe1/01KYjfOLxVqTg2Aq+IO6TEv6sC2U0PfD0AWCSCmQ91QqgBpN/XW4aFFWoiZNinyXMUlU8zxy2w==}
peerDependencies:
+ '@types/react': 19.2.17
+ '@types/react-dom': 19.2.3
react: 19.2.7
react-dom: 19.2.7
- storybook: ^10.3.6
+ storybook: ^10.4.6
typescript: '>= 4.9.x'
peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
typescript:
optional: true
@@ -6741,16 +6696,16 @@ packages:
'@tootallnate/[email protected]':
resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==}
- '@tsdown/[email protected]':
- resolution: {integrity: sha512-Go3Im9TaQnoX68vfU8Jv0OVzlxAkbKcAhTHBSkO0oC3ULClKcKETFqF4GN3P5Tcsu43NlyzOnob5po5zKSFNCA==}
- engines: {node: ^22.18.0 || >=24.0.0}
+ '@tsdown/[email protected]':
+ resolution: {integrity: sha512-kmb/31lcI/Pk26WeWJxQDLy8qkvoyfBkw3n9aN6bflKkoeLqnV2BRbndzfPRJY+Ziahi796gfgDVc+ftLIgWVw==}
+ engines: {node: ^22.18.0 || >=24.11.0}
peerDependencies:
postcss: ^8.4.0
postcss-import: ^16.0.0
postcss-modules: ^6.0.0
sass: '*'
sass-embedded: '*'
- tsdown: 0.22.2
+ tsdown: 0.22.3
peerDependenciesMeta:
postcss:
optional: true
@@ -6883,14 +6838,14 @@ packages:
resolution: {integrity: sha512-dyh/xO2Fh5bYrfWaaqGrRQQGkNdmYw6AmaAUvYeUMNTWQtvb796ikLdmTchRmOlOiIJ1TDXfWgVx1QkUlQ6Hew==}
- '@types/[email protected]':
- resolution: {integrity: sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-vf2YFi1iY9lHGwNJMs01biZFbKJkrZR1T6/MlzjhJLPdntOHLhTrDSnSVcdtvjihi4VQNlrFRIxLsDBlQpAipA==}
resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-KOGywvDPncA4/tTWV5xKNhjpsoSSAHIx3mHOhL5l3XX+c6Xu2dQnHvGs7mRNQsQRte1EqmQ0cPQQ8Z14lkv+yw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-F67EFyk6j02okHz5JCgata3ZRAcZi9GLnzmkHw/rzJq3OCc8/ZVdoKrxMTYjcQP6IYHGBz2cav1cpzkOkPiPCQ==}
resolution: {integrity: sha512-EULJ8LApcVEPbrfND0cRQqutIOdiIgJ1Mgrhpy755r14xMohPTEpkV/k28SJvuOs9bHRFW8x+KeDAEPiGQPB9Q==}
@@ -6962,8 +6917,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-A0M6ua6H252bVjPvvtSgl2QA4+ET9S5Mtkb2GDyTxIhH/C4qDItT7RQNO5PhMC6NXGYXOR9dIalcDDgBKT7oFA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-PJ5vePq5/ognBbrIcoC5+SHO5dfpeLPzP9FpLkzWrguoYQEeeSjlJpVwOpo1JRSTEi7dRcwNy4h4dzV70PqHcg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
@@ -6987,8 +6942,8 @@ packages:
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-DV42F7MLJO6Rax7SK1yg43tcnEfGUrurSpSxKuVX+a3RCTzBlH3fuxprrOJXKCJGAaw82xXocikJ0uQaqwXgGA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-PrC4JYGmR241lYnfhmKGTXkFqv8+ymbTFgSAY0fVXpY82/QkMw5TZPl+vGzuDDU2QYJk9fIDOBTntF+yDv9LEA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
@@ -7011,8 +6966,8 @@ packages:
resolution: {integrity: sha512-gvI5OQoptnxQnchOirukCuQ55svJSTuD/4k5+pC267xyBtYry748R9/c3tYUzb/iE6RZfllRz2lVulLCHkTm4w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-IWdXFHFSb6mlC3HPc7QsLDm5zYEbUla6trDEHf32D3/dnuUyXd87plScSNXSbm0/RxMvObpI17sv/EDTGrGZkA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-L2bdIeoQS8FlKAvONAr20w6OcLXeB+qiDKbAooS9A0Ben+iSIkBef0FxqwKWYqt5sa0i4KJtxVyVmhMylKzF5w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/[email protected]':
@@ -7033,8 +6988,8 @@ packages:
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-O5Amvdv9ztMpxpf+vmFULGG78IE6Qwdr3bCGvqwG4nwc9H2qXkOYJJnRbRHyMkQTjv1d03olqwwwzHLMqpFePQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-UN/H4di+OO7EWx2ovME+8t31YO+KVnK0RRKEHR3kOt21/Ay8BOq3M1OMvWs5vNiqcFCYGYoxK3MXPZzmMUE+yg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
@@ -7046,8 +7001,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-TuBiQYIkd97yBfInHCTKVYMbX4kvEmpOEuixIuzCU9p8BGT1SfyyO0d0IfDMbPIHcjn/hWnusUX5e8v5Xg+X8A==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-GYRicKmVK0C4fsKgaACaknOUAq9Oa2kwsjnpFhFcS/5p4Ht5IP9OVLbgIgcK4SRk92nVHFluurg1lumD9dBcLw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
@@ -7065,8 +7020,8 @@ packages:
resolution: {integrity: sha512-4h0tY8ppCkdCzcrl2YM5M3my0xsE1Tf8om3owEu5oPWmXwkKRmk0j0LGDzYBGUcAlesEbxBhazqu/K4cu3Ug7w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-9QTQpZ5Iin4CdIodfbDQFSeiSJKidgYJYug1P9CC2xWgUTvlmixViqDZNciMjwLBZyJnG4tGmPl97rVAFb1AJg==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-G+CRlPqLv7Bz1IZVs03x5K59F1veqL0EJUROAdGhKsEq8qOiRiZbI+HUojPq5l0fEGOKModD9br6lObhB8zkoA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/[email protected]':
@@ -7087,8 +7042,8 @@ packages:
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-42zatd5qSvvcV1JdDBCLxYRznvP4eIHpPoZXdkPFnAmanA4FuZ5dibSnCBggY8hQnqajPpoGjXFdZ7fIJKQnlA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-u+oQD3BqYWPc8YV9Zab4vaJElJuwOLPRc10Jm1o/qS+6Qwen14HCWwx0Seo4LnSn2wxea2Ik8DxPt2/FHmuhrg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
@@ -7107,8 +7062,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-3bzFt7ImFMW/jVYwJamDoe/dMOdFLSC6pom6rRjdh4SZJEYupyMzem8e7vKZLclLfpHjlwSAXOUxtKxGXUiLqA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-1+P/3Dj6jvtybE1q0HQ6yBt/gq+oKJyLdEv4HdnqasaEXRSYCAsD59mXEVQnM/ULNdQxbX77tdG4jPRjIS6knA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
@@ -7126,8 +7081,8 @@ packages:
resolution: {integrity: sha512-EbGRQg4FhrmwLodl+t3JNAnXHWVr9Vp+Zl1QBZVPY4ByfkzIT8cX3K6QWODHtkIZqqJVEWvhHSx3v5PDHsaQag==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-QVLZu3ZPQEE+HICQyAMZ2yLQhxf0meY/wx6Hx14YcTNj13JB3qHlX3lJ02L3fLGHgERRH71kvYDwiXIguT3AjQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-6fJ9MHWtK14C1DSkiMlHUSOmrVebL7150xZJBlJiL62jjhIA4JmOq6flwBgDxIdBKKdoiZRel+dfPD5MLfny3w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@univerjs/[email protected]':
@@ -7219,69 +7174,43 @@ packages:
resolution: {integrity: sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw==}
- resolution: {integrity: sha512-s9cLyK5mLcvZ4Agva5QgRsQyLKvts9WbU9DB6NqiZkkGEdwmcEiylj5Jbwkp680drF/NNCV8OlAJSe+yMLxaJw==}
-
resolution: {integrity: sha512-BUmHaR1J+O+CKZ9uJucdVTEr1LHsdyvv7vG3eNRhK3CczEHeMd/LtsHAuD7PbrxvI2envCY2v7HI1vC1aBRzKw==}
resolution: {integrity: sha512-s99aGxWYig9ErHbct27KXEGhrBYlRI6c4MwAgXErOAbX9xiW37/uMa+XUDO69zLz83dng8UUZ70CTOJrLrYrEQ==}
- resolution: {integrity: sha512-EbF/T++k0e2MMZlJsBhzK8Sgwt0HcIPOhzn1CTB/lv6sQcyk+OWf8YeiLxZp3ro7MbbLcAfAJ6sEvjFWuNgUCw==}
-
resolution: {integrity: sha512-k+bprkXxuqhVajgTx5mUHuir7TwQzUKOWR40ng1ncAqQRPnrLngGGgqVEEhOnTMlc8btHYVKmrP8s5Qyg0hvYA==}
resolution: {integrity: sha512-JTqp25l8aFfJYF7/KmsXZjAxJz7T+SjmTJLoXVjHtc2BrSgSiW2n9Aem/cWq1OPe68A8JL06B3eVdhlP0H4TVw==}
- resolution: {integrity: sha512-D/ihr6uZeIt6r+pVZf46RWT1fAsLFMbUP7k8G1VkiiWexriED9GrX3echHd4Abbt17zjlfiFJ8z7a3BxZOPNjg==}
-
- resolution: {integrity: sha512-G5VPMcXTSywXBgtFOZOnHKBxKSrwXUcvY1iaF5/hRcy7t0J6CH/d8ha9F4nzi00Fax1eLV0QHM7v4mQu68jydw==}
+ resolution: {integrity: sha512-DuA2GiZawSEW442iw/9+Fkol8hTgb4Ke5KkhmSry65QA7YuyMbIdy8p0XZRMvNwJdgRz307W8g1CSzdvS4nuNg==}
- resolution: {integrity: sha512-cDtTHKibkThKGHH1SP+WdccquNRYQDFH6rRjQCqT9G2ltFAfoR5pUftpab/z+aM5mW9HLLVQW7hfKKQe/1GBeQ==}
+ resolution: {integrity: sha512-7s+W5Gc42FGxZMcuwl8H5B29T8BJPMdBT7KHFE+BbAuZ/iTEdTtv7z2XiMjiaUUw4w3ZcCEdHs36RuYJ2VA7bA==}
- resolution: {integrity: sha512-rGhAeXgdM7/ffTJGXT69rCCdTmjDewnFuUZfBQQHTdcEBeWdT5HCGY60y2ytLJr9/Dsu7IntUi5z/w0h6Rjnzw==}
-
- resolution: {integrity: sha512-9OiSPQFiAAWNVnXb0d2dcTmcKnFQamhuNES6ayyISrb/mwPWVgoGdAqSfCWqKhQpa3D5gDTcYD+w7ObiheZ81g==}
-
- resolution: {integrity: sha512-CLwjSfHlPLhjd2qhuS3tTFtnOIWHXAM5u4X1DxmzlQ8j5bmOYlKCsSusOP7jCRJnlVg0mCTQtHU3vwFvopZGoQ==}
+ resolution: {integrity: sha512-UkKu5nhX89fg4VhlG/FOeI10G3cj/7radKT/cy9BT4Q9qJmJlSTAc/dP63Xqs29aypN4f39xUV6PsLNk/dcD6g==}
resolution: {integrity: sha512-y9XDjCEuBp+98k+UL5dbYkh57AHU4o6cxZedOPXw3bmrZZYLQsVHguGurq7hVrPCSrQtrnz1f9dssyFr+dMXfQ==}
- resolution: {integrity: sha512-tVc+SsHConvh/Lz64qq1pP3rYArBmK42xonovEcxY74SQtvctZodG/zhq54P5dr38cVuw25d27cPNRdlMidpGQ==}
-
- resolution: {integrity: sha512-mKeBYvu8tcMSLhypAHBmriUFfWXKTCF/23Z4jiCoYK3UtWepkliViNLuR90V9XOyD62mUxs9p1jsrpK3CCGIzw==}
-
- resolution: {integrity: sha512-A/xFNX9loIcWDygeQuNCfKuh0CoYBzxhqEMNah5TSFg9Z53DrFYEN2qi5CU9necjM1OWYegYREUTHmXTmhfXtg==}
+ resolution: {integrity: sha512-pG6LV/NDNRbKizcUjFFLAfjaL8mcv4DmR9avNcUw2gDHBzZneuS2TWCmp633ynzxz9YYKNeEPK2I8Wraqy2HUQ==}
- resolution: {integrity: sha512-e8kZzERmCwUnBRVsgSQlAfrfU2rGoy0FFKPBXSlfEjc/O3KfA7QP0t1/2ZylrbchjmIKB4dPTd07A6WPr0eOrg==}
+ resolution: {integrity: sha512-iyW8WVfF1CpCXxncZY5Ei6rSd6oZr5DgEom//fUjRBRl56AXPD+s9ATvukRt77ZFTuYlnVA1bxY+dJB94tWVYw==}
- resolution: {integrity: sha512-odrJ1C391dbGnyDRh8U+rnP7J2amIEzfmRk5vXy7xi3aZhEXofTvpi0T4HJb6jlNqQZTNPR5MPHSB3RHNkIORA==}
+ resolution: {integrity: sha512-apX2wt9sdfDshS+a2xueFZLVpt0GkRJZSoPmrW/SA4yzXTznhfcMVW59gr7h4YQeY0vJhdJkk2rsIDwgfFgC5A==}
- resolution: {integrity: sha512-nHxmJoTrKsmrkbILRhkC9gY1G3moZbJTqCzDd7DOOzG5KH9oeJ0Unqrff5f9v0pW//jES05ZkJcNtfE8JjOIew==}
+ resolution: {integrity: sha512-vue8vbf2QlV4quHqzwmJy6dWfmRhP1J8l4wtZg60CL6VoKqcPY2oe7may3+1d9qfpedjK5PRLFqd5k3Isj9mUw==}
peerDependencies:
- vue: 3.5.34
-
- resolution: {integrity: sha512-NkebSOYdB97wi8OQcO3HqzZSlymJi/aWsN/7h74OSVhRTm6qGs3Jp3e0rCXynmWwSlKeRrnlIug+ilYoHBmQDA==}
- peerDependencies:
- vue: 3.5.35
+ vue: 3.5.38
resolution: {integrity: sha512-24uqU4OIiX29ryC3MeWid/Xf2fa2EFRUVLb77nRhk+UrTVrh/XiGtFAFmJBAtBRbjwNdsPRP+jj/OL27Eg1NDA==}
@@ -7554,9 +7483,9 @@ packages:
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-trmleAnZ2PxN/loHWVhhx1qeOHSRXq4TDsBBxq3GqeJitfk3+jTQ+v/C1km/KYq9M7wKqCewMh+/NAvVH7m+bw==}
- engines: {node: '>=20.19.0'}
+ resolution: {integrity: sha512-8OG92q3R35qjC/4i6BLBMg8IB+fClWu/1PEwg2Z9Rn+BuNaiEgJzpzn+pxWOdHJWDCAwu2JP0wCDTozAM4QirQ==}
+ engines: {node: ^22.18.0 || >=24.11.0}
resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==}
@@ -7792,17 +7721,20 @@ packages:
resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==}
engines: {node: '>= 20.19.0'}
- resolution: {integrity: sha512-TR5rvyH0ESXobBB3bV8jc87AEAFQC7/n+Eb4XWhJz6hW3YNxIQPVjcbgLv+a4oKHEl1dUBueWSoIQsOVGTd+RQ==}
+ resolution: {integrity: sha512-nFsztmnu7rFiGafUJgXvLUNpqmRylz92eNvzBoJNTKKQj4EQUyxznwnfpf1dTs7hXtWD8JwcH92jADydaHA1sw==}
hasBin: true
peerDependencies:
'@chromatic-com/cypress': ^0.*.* || ^1.0.0
'@chromatic-com/playwright': ^0.*.* || ^1.0.0
+ '@chromatic-com/vitest': ^0.*.* || ^1.0.0
peerDependenciesMeta:
'@chromatic-com/cypress':
optional: true
'@chromatic-com/playwright':
optional: true
+ '@chromatic-com/vitest':
+ optional: true
resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}
@@ -8460,16 +8392,6 @@ packages:
resolution: {integrity: sha512-XPEKf4FjLjEVLv/dJH4UxDzXCrFHYpD93DBO8B+izdZARW5b7nNKQbnKv3J+7VDWJbgCU+hzfgIh2AuIZzlmXQ==}
- resolution: {integrity: sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==}
- engines: {node: '>=18'}
- hasBin: true
-
- resolution: {integrity: sha512-sNR9MHpXSUV/XB4zmsFKN+QgVG82Cc7+/aaxJ8Adi8hyOac+EXptIp45QBPaVyX3N70664wRbTcLTOemCAnyqw==}
- engines: {node: '>=18'}
- hasBin: true
-
resolution: {integrity: sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==}
engines: {node: '>=18'}
@@ -8539,8 +8461,8 @@ packages:
peerDependencies:
eslint: '*'
- resolution: {integrity: sha512-EBNTx6OJYaWv7uUxHWTy1fhiNz2rZVkoeOHZzAJFwWaEPideBf04CMshrJ7YntG0KQzadlbRhHKYr32q5aBX4w==}
+ resolution: {integrity: sha512-Xeh/6KzLeays6jXSqTKx6iCdJL1qo5ant/mAabbz7dJqADYebKUUPR2zXp1xuiqqJ3HIm+MN+Ql2m4Jp0BxkMQ==}
engines: {node: ^20.19.0 || ^22.12.0 || >=23.0.0}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0
@@ -8634,8 +8556,8 @@ packages:
peerDependencies:
eslint: ^9.0.0 || ^10.0.0
- resolution: {integrity: sha512-gBlV304swaW2S0MqVFkQhii0C+KAy2WmxFtVtho39h5GzWdjKjNIxdUdOPQvLAFd7B1/lkbJflqGQKf6sjWGTg==}
+ resolution: {integrity: sha512-e0NpfKZOOvdTkYQEDJT7qLKoTX4jAjH8/qcCuOrp8zqX1LMKPrKgPe8DXGyXG5T+Bt4b81/ZQ/s3S2zkJLFuNg==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
@@ -8647,15 +8569,15 @@ 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 || ^10.0.0
- resolution: {integrity: sha512-K/8RtAb8GDuhoIsR+Feo5Cr57Ts1N2juekocxk9TuF3azx2bCOuHiuU/rqMStMWi5oLTPrg2XqquD2LeS7x6iQ==}
+ resolution: {integrity: sha512-zzhCRbuXFiGMhvCrjpcwKsob0Gos8o7d28EnhGw28YapHXx1KYt0fzUDuWDoRZ2bhYhlDHzeU+l+jEgemPpaaw==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- resolution: {integrity: sha512-0VYdfPXZZLDiNzvp8DmgYFwZ+vO8pljU0Pcr83/Hj8PSilF4kL2rZWh4fkh+IVQv8iIpIv7HLRbBD/nU/QSh+w==}
+ resolution: {integrity: sha512-Ce1oAL4Et3RB+3akTSiFIZIYCexyG+oYrGYGKps0dky5iaRy8MUskh4EXcq4yI109IkBCVt52gtybmR3Te0lrQ==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
@@ -8666,22 +8588,22 @@ packages:
peerDependencies:
eslint: ^9 || ^10
- resolution: {integrity: sha512-hcP7lTqV5JNx8QpmMKric50IBEuFwj5mlM7cyaYB/2UWJaaQvScywHeg/CRZrDauFxkIVx9JXcORBqW+h7VGdQ==}
+ resolution: {integrity: sha512-+XNAuJeGZ6ld1jknOPOeJ8gdTINZeQjw2sbBP213+QdTmwJqZLV+CrwaAN63O+8D+EIGtdnSkfpYDBcm3jiSGg==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- resolution: {integrity: sha512-AlKMpAFHbgJ10hcTIw80NXzEPKxB1zugA98joPnMKDSuf/wScoWGwl5X6SmigVn4KChPBudYchdN0OrBUqO02g==}
+ resolution: {integrity: sha512-D9M6wKT1fPxAy70YebHbfU+gzYv8k9RUtODXjUJYLjxrXoq2Z7o5kjB1yAZ1vi31EzbLJ+UYzGKi4hw98iwPjg==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
typescript: '*'
- resolution: {integrity: sha512-urgjMTtZpUzhkFBbQqp4+vdFhQmSkgeLnpq1h/2gemnzKjiMpDa9cCbo1vhjHnYQLzU6YRbxJ1hhqVv+9nXbjw==}
+ resolution: {integrity: sha512-0GwMpLdYx3HWMbDd1vqNr9VImkq34x/lQaLch2qDQmPOmi1DULL3yndl347wFhH4SbE6OUoJV2z0KCA72qnv5g==}
engines: {node: '>=22.0.0'}
peerDependencies:
eslint: '*'
@@ -8901,10 +8823,6 @@ packages:
resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
engines: {node: '>=16.0.0'}
- resolution: {integrity: sha512-sJslQKU2uM33qH5nqewAwVB2QgR6w1aMNsYUp3aN5rMRyXEwJGmZvaWzeJFNTOXWlHQyBFCWrdj3fV/fsTOX8w==}
- engines: {node: '>= 10.4.0'}
-
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
engines: {node: '>=8'}
@@ -9121,8 +9039,8 @@ packages:
engines: {node: '>=0.4.7'}
hasBin: true
- resolution: {integrity: sha512-awPoqPjx8CgjapJllyDlgzgVHjBExcitKK5ZJkxwhQJyQpHFkyS2bEcqCm7IeW20cQvuCI0cz2Ifq79CJKqtiw==}
+ resolution: {integrity: sha512-6QD0ilzDDt93tX44y8tbmZdAcdTRYDhUP+Asgi6pC8Pp5IA3cvaZGyoVN/EGtlq9ziT65iPuBBn3ASLr6hCgVw==}
engines: {node: '>=20.0.0'}
@@ -9629,9 +9547,6 @@ packages:
resolution: {integrity: sha512-75EA7EWZExL/j+MDKQrRbdzcRI2HOkRlmUw8fZJc1ioqFEOvBsq7Rt+A6yCxOt9w/TYNpkt52gC6nm/g5tFIng==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
- resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
-
resolution: {integrity: sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==}
@@ -9745,8 +9660,8 @@ packages:
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
- resolution: {integrity: sha512-JrSobt+tW3rH8IOMi8tDZd3foorM5yPEkLD/V2NxobgHrFfHWGee4MOLVuZeScgxftEwbHrPHIFA/ZL+nUJeuA==}
+ resolution: {integrity: sha512-B2P/d+jVW0UXOQ0MVMLrB/9ydA1P+zz6jYfdrbbEd9ur3S2rcbduFWKiUCC02Sm5hbC8nrm7y24WuYMG54HfxA==}
engines: {node: '>=22.22.1'}
hasBin: true
@@ -10263,10 +10178,6 @@ packages:
resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==}
- resolution: {integrity: sha512-AWGB9WFcRXOQs48Z/udjI5ZcZMHXwX8XPByNpOydgcGsDLIzjGizhoMWJyKAWze7AVW/2W1i+/gPX4YtKe5cyg==}
- engines: {node: '>=12.20.0'}
-
resolution: {integrity: sha512-9miFgM2OFba7hB+pRgvtV84pYTBaoTHohvmIgiRt6dRIzbwEOIaNaP+dIlGs2fNFoB0SeISs0Jz5WFVRid6Xyg==}
engines: {node: '>=12.20.0'}
@@ -10327,6 +10238,13 @@ packages:
resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-bkgD4qHlN7WxLdX8bLXdaU54TtQtAIg/ZBAfm0aje/mo3MRDo3P0hZSgr4U7O3xfX+fQmR5AP04JS/TGcZLcFA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+
+ resolution: {integrity: sha512-2Mx3fKQz7+xgrBONjsxOgCGtMHOn38/HxMzW1I5efwXB5a4lRN0Vp40gYUJFBWJslcrvwoofTrqoTnLbwTd3pA==}
+
resolution: {integrity: sha512-QYeXWkP+aLt7utt5SLivNIk09glWx9QE235ODjgcEZ3sd1VMaUBSpLymh6ZRCA76gD2rMP4bXanUz/fx+nLM9Q==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -10524,8 +10442,8 @@ packages:
peerDependencies:
postcss: ^8.4.6
- resolution: {integrity: sha512-Zn3yPgBFakVXthmA2n1NUMY7gdhuFUB/DrUJ0Eug/d0rl9wahMQZykp4NVTJLGzQrDUwZ2rzjiTeW5udxFNG8A==}
+ resolution: {integrity: sha512-Cxr97Vtt2VeJCGaex0JNSU5MViqYtjKmJLHKM+jI7d+qIs0J5xgHEVG6Q2bTCaFJ1yjcFz9s9VmWCibuzk3+MA==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -10613,8 +10531,8 @@ packages:
peerDependencies:
postcss: ^8.4.21
- resolution: {integrity: sha512-dqcJSzVasdELD9xqJ1wfP95uzP57J6zFd80c7S3AWK127H9zwqR9Kbk5ZgyIfN2DiMStI7Vq8E7ablXNeTvpew==}
+ resolution: {integrity: sha512-ohQnYx1LloPkiLQhAjpt/Y9tAGCGOBOUaxgbcmO+1bDTFzUQCTfdpemOVh6oewI4V2K6q7+Vz8d3rP1glvK3uw==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -10732,8 +10650,8 @@ packages:
peerDependencies:
postcss: ^8.4
- resolution: {integrity: sha512-PpijTuY+NT35vvk7us0pw9lJVrsZZWukjONZsza2Kq1Gag8nrUXRkgdKdxyyhZPJ6R43L3/nLpspUK99TmU9xg==}
+ resolution: {integrity: sha512-ox2lu2L0fbuKXB0zRcUFCNii7koS9+fNLFqj+WOKaJ4DU/zZsYkFHOmz73lWNTKx8OHDqnV0R7Si98PIbJXLjQ==}
engines: {node: '>=20.19.0'}
peerDependencies:
postcss: ^8.4
@@ -10784,8 +10702,8 @@ packages:
resolution: {integrity: sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==}
engines: {node: ^10 || ^12 || >=14}
- resolution: {integrity: sha512-xEojUWq7ajYfsMPZIexG9xtvhewpqrPWvL/qRhnm8W3KVZi6BlXHe29tjywZJglrDwEQpqdtYKbRXyg2zF9MWw==}
+ resolution: {integrity: sha512-eiKpU+vX4hVuHbO/EosvPHsmh2AVIdoVmWss/uUOs1t4b0ViCblw2o8OIFqHxKj3mYRnSOBlX0Dw3wBvcCaYpA==}
engines: {node: ^20.20.0 || >=22.22.0}
peerDependencies:
rxjs: ^7.0.0
@@ -11124,15 +11042,15 @@ packages:
deprecated: Rimraf versions prior to v4 are no longer supported
hasBin: true
- resolution: {integrity: sha512-nMhN/R+vmR8GM45ZW1FWMSjRTSDDn/6w4GTf8RNrEFCBdl8B1kySWrU1ixPtbwzXoRlcO+R/S88VgXuJQwfdDg==}
- engines: {node: ^22.18.0 || >=24.0.0}
+ resolution: {integrity: sha512-e+kEPtUiDES0htk5iqkSeF4EzAV7R+vugGB44iPDuw1Kw9E+WyL1VG7PaV0IIjGHLiacztMBcMTyrr8ON9CT1Q==}
+ engines: {node: ^22.18.0 || >=24.11.0}
peerDependencies:
'@ts-macro/tsc': ^0.3.6
'@typescript/native-preview': '>=7.0.0-dev.20260325.1'
rolldown: ^1.0.0
typescript: ^5.0.0 || ^6.0.0
- vue-tsc: ~3.2.0
+ vue-tsc: ~3.2.0 || ~3.3.0
peerDependenciesMeta:
'@ts-macro/tsc':
optional: true
@@ -11153,8 +11071,8 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
- resolution: {integrity: sha512-zpMvlJhs5PkXRTtKc0CaLBVI9AR/VDiJFpM+kx//hgToEca7FgMlGjaRIisXBcb19T76LswgmKECSQ96hjWr5A==}
+ resolution: {integrity: sha512-x0CrQQqCXWGeI8dTvFfN/Dnv3yMKT9hv5jFjlOreKAx9wqLq9wz7VvLLHyaAXC90/CpggTu9SisSbsJJTPSjNQ==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
@@ -11258,6 +11176,11 @@ packages:
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
resolution: {integrity: sha512-CinAq1xWb0vR3twAv9evEU8cNWkXCb9kd5ePAHUKJBkOsUpR1wt/CvGdeca7vqumL1U5cSaeVQ6zZMxiJ3yWsg==}
@@ -11397,13 +11320,16 @@ packages:
webpack:
optional: true
- resolution: {integrity: sha512-vbSz7g/1rGMC1uAULqMZjALkIuLu2QABqfhRYhyr/11kzyesi+vAmwyJLukZP1FfecxGOgMwOh6GS0YsGpHAvQ==}
+ resolution: {integrity: sha512-6wkA6LxfDSSilloITsrFOJfsnw0mDUP2h8Ls+lRt8oRsudtz2RWFhLv+Toiwg6NW7hUpdTDc2hzR7DztJid6+A==}
hasBin: true
peerDependencies:
+ '@types/react': 19.2.17
prettier: ^2 || ^3
vite-plus: ^0.1.15
peerDependenciesMeta:
+ '@types/react':
+ optional: true
prettier:
optional: true
vite-plus:
@@ -11545,8 +11471,8 @@ packages:
resolution: {integrity: sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==}
engines: {node: ^14.18.0 || >=16.0.0}
- resolution: {integrity: sha512-v147gLOR+E+9H4dNaP9rBeS/S/CTQJMRItlX9jLOXjdBGfSRauLwiz7LBCViaQmn6URXIlOdN6iMzSzOaeoUUw==}
+ resolution: {integrity: sha512-je9J5UYRsTJqAjYrIBMMlge8T/rreRd44pJxgG5Zx/zeo4kAC/liUKqzztRZrGlYRJLvIf2Cb1DVJMTXSzEShA==}
engines: {node: '>=18.18'}
peerDependencies:
'@eslint/css': '>=1.0.0'
@@ -11722,14 +11648,14 @@ packages:
resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-VX9gsyKXsTnBZjnIM4jsHl9aRv+GfgkE/k1hQslilaBfZMlaw3JuGR+6yhiU0QxWBtOCDnTjwOSoXzgB7Rr50g==}
- engines: {node: ^22.18.0 || >=24.0.0}
+ resolution: {integrity: sha512-louqbfA8Qf//B9jTTL0FPtXTNpjCWv1VPkbcmQMph2pTpzs+LnB1tbe4tDDRVpo2BjF5SgUXaTZe45SxB8pWHg==}
+ engines: {node: ^22.18.0 || >=24.11.0}
hasBin: true
peerDependencies:
'@arethetypeswrong/core': ^0.18.1
- '@tsdown/css': 0.22.2
- '@tsdown/exe': 0.22.2
+ '@tsdown/css': 0.22.3
+ '@tsdown/exe': 0.22.3
'@vitejs/devtools': '*'
publint: ^0.3.8
tsx: '*'
@@ -11827,8 +11753,8 @@ packages:
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
- resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==}
+ resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==}
resolution: {integrity: sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==}
@@ -12074,28 +12000,14 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
- resolution: {integrity: sha512-27vTLJ6Q2370obOd0PFYoYoKnmXJ521uUIedrs3Zhhhg/8YG10VOCMmwt+JQslatpAMTDbnWiitLnoD5VlIvog==}
+ resolution: {integrity: sha512-Rzh/G2MmNlMSAMTiQEjDrsb4dgB/jbtEM47rVN2NtidF1dfb/q4w4QvpQBtW5+y3y5H27Hjh7deVwk+YB02fNg==}
hasBin: true
peerDependencies:
typescript: '>=5.0.0'
- resolution: {integrity: sha512-n7nQoA3YWW/eiDR8jMiv/uJvlg0uLGs+YgUrsTrf9EZaYSt3tuvMZb5V8+7Mvh/EH5pnY/hoVdgfjH+XcK+wwA==}
- hasBin: true
- peerDependencies:
- typescript: '>=5.0.0'
-
- resolution: {integrity: sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA==}
- peerDependencies:
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
-
- resolution: {integrity: sha512-cx89fnr+0kVGHiNFG6y6s0bdjypJRFNZn6x3WPstNdQR1bi1mbB7h4v5IBGTsPJU3nK1+0Iqj3Zf+hZWMieR4Q==}
+ resolution: {integrity: sha512-vAMKHfImQlYSy0C+PBue4s3ERZ2xGKfgZg5GXAsLInq1dyh2H78ILVP5sK0KPFPVW4kv+OGCIvBEondcjpZp7A==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
@@ -12234,20 +12146,8 @@ packages:
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
- resolution: {integrity: sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: '>=5.0.2'
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
-
- resolution: {integrity: sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==}
+ resolution: {integrity: sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
@@ -12345,7 +12245,7 @@ snapshots:
'@alloc/[email protected]': {}
dependencies:
'@antfu/install-pkg': 1.1.0
'@clack/prompts': 1.5.1
@@ -12363,7 +12263,7 @@ snapshots:
eslint-flat-config-utils: 3.2.0
eslint-merge-processors: 2.0.0([email protected]([email protected]))
eslint-plugin-antfu: 3.2.3([email protected]([email protected]))
eslint-plugin-import-lite: 0.6.0([email protected]([email protected]))
eslint-plugin-jsdoc: 62.9.0([email protected]([email protected]))
eslint-plugin-jsonc: 3.1.2([email protected]([email protected]))
@@ -12377,7 +12277,7 @@ snapshots:
eslint-plugin-yml: 3.4.0([email protected]([email protected]))
- eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected]([email protected]))
+ eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected]([email protected]))
globals: 17.6.0
local-pkg: 1.1.2
parse-gitignore: 2.0.0
@@ -12385,7 +12285,7 @@ snapshots:
vue-eslint-parser: 10.4.0([email protected]([email protected]))
yaml-eslint-parser: 2.0.0
optionalDependencies:
- '@eslint-react/eslint-plugin': 5.9.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint-plugin': 5.9.1([email protected]([email protected]))([email protected])
eslint-plugin-format: 2.0.1([email protected]([email protected]))
eslint-plugin-react-refresh: 0.5.3([email protected]([email protected]))
transitivePeerDependencies:
@@ -12503,10 +12403,10 @@ snapshots:
'@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
- '@babel/[email protected]':
+ '@babel/[email protected]':
dependencies:
- '@babel/parser': 8.0.0-rc.6
- '@babel/types': 8.0.0-rc.6
+ '@babel/parser': 8.0.0
+ '@babel/types': 8.0.0
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
'@types/jsesc': 2.5.1
@@ -12568,7 +12468,7 @@ snapshots:
'@babel/[email protected]': {}
- '@babel/[email protected]': {}
+ '@babel/[email protected]': {}
'@babel/[email protected]': {}
@@ -12576,7 +12476,7 @@ snapshots:
'@babel/[email protected]': {}
- '@babel/[email protected]': {}
+ '@babel/[email protected]': {}
'@babel/[email protected]': {}
@@ -12604,9 +12504,9 @@ snapshots:
dependencies:
'@babel/types': 7.29.7
- '@babel/[email protected]':
+ '@babel/[email protected]':
dependencies:
- '@babel/types': 8.0.0-rc.6
+ '@babel/types': 8.0.0
'@babel/[email protected]': {}
@@ -12660,32 +12560,37 @@ snapshots:
'@babel/helper-string-parser': 7.29.7
'@babel/helper-validator-identifier': 7.29.7
- '@babel/[email protected]':
+ '@babel/[email protected]':
dependencies:
- '@babel/helper-string-parser': 8.0.0-rc.6
- '@babel/helper-validator-identifier': 8.0.0-rc.6
+ '@babel/helper-string-parser': 8.0.0
+ '@babel/helper-validator-identifier': 8.0.2
'@bramus/[email protected]':
dependencies:
css-tree: 3.2.1
dependencies:
'@neoconfetti/react': 1.0.0
- chromatic: 13.3.4
- filesize: 10.1.6
- jsonfile: 6.2.0
+ chromatic: 16.10.0
+ jsonfile: 6.2.1
strip-ansi: 7.2.0
transitivePeerDependencies:
- '@chromatic-com/cypress'
- '@chromatic-com/playwright'
+ - '@chromatic-com/vitest'
dependencies:
fast-wrap-ansi: 0.2.2
sisteransi: 1.0.5
+ '@clack/[email protected]':
+ dependencies:
+ fast-wrap-ansi: 0.2.2
+ sisteransi: 1.0.5
+
dependencies:
'@clack/core': 1.4.1
@@ -12693,11 +12598,18 @@ snapshots:
fast-wrap-ansi: 0.2.2
sisteransi: 1.0.5
+ '@clack/[email protected]':
+ dependencies:
+ '@clack/core': 1.4.2
+ fast-string-width: 3.0.2
+ fast-wrap-ansi: 0.2.2
+ sisteransi: 1.0.5
+
dependencies:
'@commitlint/format': 21.0.1
'@commitlint/lint': 21.0.2
- '@commitlint/load': 21.0.2(@types/[email protected])([email protected])
+ '@commitlint/load': 21.0.2(@types/[email protected])([email protected])
'@commitlint/read': 21.0.2([email protected])([email protected])
'@commitlint/types': 21.0.1
tinyexec: 1.2.3
@@ -12742,14 +12654,14 @@ snapshots:
'@commitlint/rules': 21.0.2
'@commitlint/types': 21.0.1
dependencies:
'@commitlint/config-validator': 21.0.1
'@commitlint/execute-rule': 21.0.1
'@commitlint/resolve-extends': 21.0.1
'@commitlint/types': 21.0.1
cosmiconfig: 9.0.1([email protected])
- cosmiconfig-typescript-loader: 6.2.0(@types/[email protected])([email protected]([email protected]))([email protected])
+ cosmiconfig-typescript-loader: 6.2.0(@types/[email protected])([email protected]([email protected]))([email protected])
es-toolkit: 1.46.1
is-plain-obj: 4.1.0
picocolors: 1.1.1
@@ -12822,14 +12734,14 @@ snapshots:
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
- '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
dependencies:
'@csstools/color-helpers': 6.0.2
'@csstools/css-calc': 3.2.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
- '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
dependencies:
'@csstools/color-helpers': 6.0.2
'@csstools/css-calc': 3.2.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
@@ -12851,9 +12763,9 @@ snapshots:
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -12866,36 +12778,36 @@ snapshots:
postcss: 8.5.15
postcss-selector-parser: 7.1.1
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
'@csstools/utilities': 3.0.0([email protected])
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
'@csstools/utilities': 3.0.0([email protected])
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
'@csstools/utilities': 3.0.0([email protected])
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -12916,9 +12828,9 @@ snapshots:
'@csstools/utilities': 3.0.0([email protected])
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -12943,25 +12855,25 @@ snapshots:
'@csstools/utilities': 3.0.0([email protected])
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
'@csstools/utilities': 3.0.0([email protected])
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -13056,9 +12968,9 @@ snapshots:
postcss: 8.5.15
postcss-value-parser: 4.2.0
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -13087,9 +12999,9 @@ snapshots:
'@csstools/css-tokenizer': 4.0.0
postcss: 8.5.15
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -13175,6 +13087,18 @@ snapshots:
tslib: 2.8.1
optional: true
+ '@emnapi/[email protected]':
+ dependencies:
+ '@emnapi/wasi-threads': 1.2.2
+ tslib: 2.8.1
+ optional: true
+
+ '@emnapi/[email protected]':
+ dependencies:
+ '@emnapi/wasi-threads': 1.2.2
+ tslib: 2.8.1
+ optional: true
+
'@emnapi/[email protected]':
dependencies:
'@emnapi/wasi-threads': 1.2.1
@@ -13186,6 +13110,16 @@ snapshots:
tslib: 2.8.1
optional: true
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
'@emnapi/[email protected]':
dependencies:
tslib: 2.8.1
@@ -13196,6 +13130,11 @@ snapshots:
tslib: 2.8.1
optional: true
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
'@es-joy/[email protected]':
dependencies:
'@types/estree': 1.0.9
@@ -13214,237 +13153,81 @@ snapshots:
'@es-joy/[email protected]': {}
- '@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
- '@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
@@ -13461,73 +13244,73 @@ snapshots:
'@eslint-community/[email protected]': {}
dependencies:
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/typescript-estree': 8.61.0([email protected])
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/typescript-estree': 8.61.1([email protected])
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
string-ts: 2.3.1
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.61.0
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.61.1
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
ts-pattern: 5.9.0
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
- eslint-plugin-react-dom: 5.9.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-jsx: 5.9.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-naming-convention: 5.9.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-rsc: 5.9.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-web-api: 5.9.0([email protected]([email protected]))([email protected])
- eslint-plugin-react-x: 5.9.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-dom: 5.9.1([email protected]([email protected]))([email protected])
+ eslint-plugin-react-jsx: 5.9.1([email protected]([email protected]))([email protected])
+ eslint-plugin-react-naming-convention: 5.9.1([email protected]([email protected]))([email protected])
+ eslint-plugin-react-rsc: 5.9.1([email protected]([email protected]))([email protected])
+ eslint-plugin-react-web-api: 5.9.1([email protected]([email protected]))([email protected])
+ eslint-plugin-react-x: 5.9.1([email protected]([email protected]))([email protected])
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
ts-pattern: 5.9.0
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
ts-pattern: 5.9.0
typescript: 6.0.3
@@ -13535,13 +13318,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.61.0
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.61.1
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
ts-pattern: 5.9.0
typescript: 6.0.3
@@ -13611,22 +13394,22 @@ snapshots:
'@flatten-js/[email protected]': {}
- '@floating-ui/[email protected]':
+ '@floating-ui/[email protected]':
dependencies:
- '@floating-ui/utils': 0.2.10
+ '@floating-ui/utils': 0.2.11
- '@floating-ui/[email protected]':
+ '@floating-ui/[email protected]':
dependencies:
- '@floating-ui/core': 1.7.3
- '@floating-ui/utils': 0.2.10
+ '@floating-ui/core': 1.7.5
+ '@floating-ui/utils': 0.2.11
dependencies:
- '@floating-ui/dom': 1.7.4
+ '@floating-ui/dom': 1.7.6
react: 19.2.7
react-dom: 19.2.7([email protected])
- '@floating-ui/[email protected]': {}
+ '@floating-ui/[email protected]': {}
dependencies:
@@ -13658,128 +13441,128 @@ snapshots:
'@inquirer/[email protected]': {}
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
cli-width: 4.1.0
mute-stream: 2.0.0
signal-exit: 4.1.0
wrap-ansi: 6.2.0
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/external-editor': 1.0.3(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/external-editor': 1.0.3(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
chardet: 2.1.1
iconv-lite: 0.7.1
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
'@inquirer/[email protected]': {}
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
optionalDependencies:
- '@types/node': 25.9.3
-
- '@inquirer/[email protected](@types/[email protected])':
- dependencies:
- '@inquirer/checkbox': 4.3.2(@types/[email protected])
- '@inquirer/confirm': 5.1.21(@types/[email protected])
- '@inquirer/editor': 4.2.23(@types/[email protected])
- '@inquirer/expand': 4.0.23(@types/[email protected])
- '@inquirer/input': 4.3.1(@types/[email protected])
- '@inquirer/number': 3.0.23(@types/[email protected])
- '@inquirer/password': 4.0.23(@types/[email protected])
- '@inquirer/rawlist': 4.1.11(@types/[email protected])
- '@inquirer/search': 3.2.2(@types/[email protected])
- '@inquirer/select': 4.4.2(@types/[email protected])
+ '@types/node': 26.0.0
+
+ '@inquirer/[email protected](@types/[email protected])':
+ dependencies:
+ '@inquirer/checkbox': 4.3.2(@types/[email protected])
+ '@inquirer/confirm': 5.1.21(@types/[email protected])
+ '@inquirer/editor': 4.2.23(@types/[email protected])
+ '@inquirer/expand': 4.0.23(@types/[email protected])
+ '@inquirer/input': 4.3.1(@types/[email protected])
+ '@inquirer/number': 3.0.23(@types/[email protected])
+ '@inquirer/password': 4.0.23(@types/[email protected])
+ '@inquirer/rawlist': 4.1.11(@types/[email protected])
+ '@inquirer/search': 3.2.2(@types/[email protected])
+ '@inquirer/select': 4.4.2(@types/[email protected])
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
- '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
'@inquirer/figures': 1.0.15
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
yoctocolors-cjs: 2.1.3
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
- '@inquirer/[email protected](@types/[email protected])':
+ '@inquirer/[email protected](@types/[email protected])':
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
'@inversifyjs/[email protected]': {}
@@ -13813,7 +13596,7 @@ snapshots:
dependencies:
string-width: 5.1.2
string-width-cjs: [email protected]
- strip-ansi: 7.1.2
+ strip-ansi: 7.2.0
strip-ansi-cjs: [email protected]
wrap-ansi: 8.1.0
wrap-ansi-cjs: [email protected]
@@ -13878,17 +13661,24 @@ snapshots:
'@types/react': 19.2.17
react: 19.2.7
dependencies:
'@emnapi/core': 1.10.0
'@emnapi/runtime': 1.10.0
'@tybys/wasm-util': 0.10.2
optional: true
dependencies:
- '@emnapi/core': 1.10.0
- '@emnapi/runtime': 1.10.0
+ '@emnapi/core': 1.11.0
+ '@emnapi/runtime': 1.11.0
+ '@tybys/wasm-util': 0.10.2
+ optional: true
+
+ dependencies:
+ '@emnapi/core': 1.11.1
+ '@emnapi/runtime': 1.11.1
'@tybys/wasm-util': 0.10.2
optional: true
@@ -13913,80 +13703,207 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.19.1
- '@nodeutils/[email protected]':
- dependencies:
- lodash: 4.17.21
+ '@nodeutils/[email protected]':
+ dependencies:
+ lodash: 4.17.21
+
+ '@octokit/[email protected]': {}
+
+ '@octokit/[email protected]':
+ dependencies:
+ '@octokit/auth-token': 6.0.0
+ '@octokit/graphql': 9.0.3
+ '@octokit/request': 10.0.7
+ '@octokit/request-error': 7.1.0
+ '@octokit/types': 16.0.0
+ before-after-hook: 4.0.0
+ universal-user-agent: 7.0.3
+
+ '@octokit/[email protected]':
+ dependencies:
+ '@octokit/types': 16.0.0
+ universal-user-agent: 7.0.3
+
+ '@octokit/[email protected]':
+ dependencies:
+ '@octokit/request': 10.0.7
+ '@octokit/types': 16.0.0
+ universal-user-agent: 7.0.3
+
+ '@octokit/[email protected]': {}
+
+ '@octokit/[email protected](@octokit/[email protected])':
+ dependencies:
+ '@octokit/core': 7.0.6
+ '@octokit/types': 16.0.0
+
+ '@octokit/[email protected](@octokit/[email protected])':
+ dependencies:
+ '@octokit/core': 7.0.6
+
+ '@octokit/[email protected](@octokit/[email protected])':
+ dependencies:
+ '@octokit/core': 7.0.6
+ '@octokit/types': 16.0.0
+
+ '@octokit/[email protected]':
+ dependencies:
+ '@octokit/types': 16.0.0
+
+ '@octokit/[email protected]':
+ dependencies:
+ '@octokit/endpoint': 11.0.2
+ '@octokit/request-error': 7.1.0
+ '@octokit/types': 16.0.0
+ fast-content-type-parse: 3.0.0
+ universal-user-agent: 7.0.3
+
+ '@octokit/[email protected]':
+ dependencies:
+ '@octokit/core': 7.0.6
+ '@octokit/plugin-paginate-rest': 14.0.0(@octokit/[email protected])
+ '@octokit/plugin-request-log': 6.0.0(@octokit/[email protected])
+ '@octokit/plugin-rest-endpoint-methods': 17.0.0(@octokit/[email protected])
+
+ '@octokit/[email protected]':
+ dependencies:
+ '@octokit/openapi-types': 27.0.0
+
+ '@ota-meshi/[email protected]': {}
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ dependencies:
+ '@emnapi/core': 1.9.2
+ '@emnapi/runtime': 1.9.2
+ '@napi-rs/wasm-runtime': 1.1.5(@emnapi/[email protected])(@emnapi/[email protected])
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-parser/[email protected]':
+ optional: true
+
+ '@oxc-project/[email protected]':
+ optional: true
+
+ '@oxc-project/[email protected]': {}
+
+ '@oxc-project/[email protected]': {}
+
+ '@oxc-project/[email protected]': {}
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]': {}
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]':
- dependencies:
- '@octokit/auth-token': 6.0.0
- '@octokit/graphql': 9.0.3
- '@octokit/request': 10.0.7
- '@octokit/request-error': 7.1.0
- '@octokit/types': 16.0.0
- before-after-hook: 4.0.0
- universal-user-agent: 7.0.3
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]':
- dependencies:
- '@octokit/types': 16.0.0
- universal-user-agent: 7.0.3
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]':
- dependencies:
- '@octokit/request': 10.0.7
- '@octokit/types': 16.0.0
- universal-user-agent: 7.0.3
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]': {}
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected](@octokit/[email protected])':
- dependencies:
- '@octokit/core': 7.0.6
- '@octokit/types': 16.0.0
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected](@octokit/[email protected])':
- dependencies:
- '@octokit/core': 7.0.6
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected](@octokit/[email protected])':
- dependencies:
- '@octokit/core': 7.0.6
- '@octokit/types': 16.0.0
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]':
- dependencies:
- '@octokit/types': 16.0.0
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]':
- dependencies:
- '@octokit/endpoint': 11.0.2
- '@octokit/request-error': 7.1.0
- '@octokit/types': 16.0.0
- fast-content-type-parse: 3.0.0
- universal-user-agent: 7.0.3
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]':
- dependencies:
- '@octokit/core': 7.0.6
- '@octokit/plugin-paginate-rest': 14.0.0(@octokit/[email protected])
- '@octokit/plugin-request-log': 6.0.0(@octokit/[email protected])
- '@octokit/plugin-rest-endpoint-methods': 17.0.0(@octokit/[email protected])
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@octokit/[email protected]':
- dependencies:
- '@octokit/openapi-types': 27.0.0
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@ota-meshi/[email protected]': {}
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@oxc-project/[email protected]':
+ '@oxc-resolver/[email protected]':
optional: true
- '@oxc-project/[email protected]': {}
+ '@oxc-resolver/[email protected]':
+ dependencies:
+ '@emnapi/core': 1.11.0
+ '@emnapi/runtime': 1.11.0
+ '@napi-rs/wasm-runtime': 1.1.5(@emnapi/[email protected])(@emnapi/[email protected])
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
- '@oxc-project/[email protected]': {}
+ '@oxc-resolver/[email protected]':
+ optional: true
optional: true
@@ -14117,11 +14034,11 @@ snapshots:
dependencies:
playwright: 1.57.0
- '@posthog/[email protected]':
+ '@posthog/[email protected]':
dependencies:
- '@posthog/types': 1.387.0
+ '@posthog/types': 1.390.2
- '@posthog/[email protected]': {}
+ '@posthog/[email protected]': {}
'@protobufjs/[email protected]': {}
@@ -14466,19 +14383,19 @@ snapshots:
'@react-dnd/[email protected]': {}
dependencies:
detect-indent: 6.1.0
detect-newline: 3.1.0
execa: 8.0.1
- release-it: 19.2.4(@types/[email protected])([email protected])
+ release-it: 19.2.4(@types/[email protected])([email protected])
semver: 7.7.2
url-join: 4.0.1
validate-peer-dependencies: 1.2.0
walk-sync: 2.2.0
yaml: 2.8.0
dependencies:
'@conventional-changelog/git-client': 2.6.0([email protected])([email protected])
concat-stream: 2.0.0
@@ -14486,7 +14403,7 @@ snapshots:
conventional-changelog-angular: 8.3.0
conventional-changelog-conventionalcommits: 9.3.0
conventional-recommended-bump: 11.2.0
- release-it: 19.2.4(@types/[email protected])([email protected])
+ release-it: 19.2.4(@types/[email protected])([email protected])
semver: 7.7.4
transitivePeerDependencies:
- conventional-commits-filter
@@ -14498,7 +14415,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14507,7 +14424,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14516,7 +14433,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14525,7 +14442,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14534,7 +14451,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14543,7 +14460,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14552,7 +14469,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14561,7 +14478,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14570,7 +14487,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14579,7 +14496,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14588,7 +14505,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14597,7 +14514,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14614,11 +14531,11 @@ snapshots:
'@napi-rs/wasm-runtime': 1.1.5(@emnapi/[email protected])(@emnapi/[email protected])
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
dependencies:
- '@emnapi/core': 1.10.0
- '@emnapi/runtime': 1.10.0
- '@napi-rs/wasm-runtime': 1.1.4(@emnapi/[email protected])(@emnapi/[email protected])
+ '@emnapi/core': 1.11.1
+ '@emnapi/runtime': 1.11.1
+ '@napi-rs/wasm-runtime': 1.1.5(@emnapi/[email protected])(@emnapi/[email protected])
optional: true
'@rolldown/[email protected]':
@@ -14627,7 +14544,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14636,7 +14553,7 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]':
+ '@rolldown/[email protected]':
optional: true
'@rolldown/[email protected]':
@@ -14754,47 +14671,50 @@ snapshots:
'@standard-schema/[email protected]': {}
dependencies:
'@mdx-js/react': 3.1.1(@types/[email protected])([email protected])
react: 19.2.7
react-dom: 19.2.7([email protected])
ts-dedent: 2.2.0
+ optionalDependencies:
+ '@types/react': 19.2.17
transitivePeerDependencies:
- - '@types/react'
+ - '@types/react-dom'
- esbuild
- rollup
- vite
- webpack
dependencies:
'@storybook/global': 5.0.0
optionalDependencies:
+ '@types/react': 19.2.17
react: 19.2.7
dependencies:
webpack: 5.106.2(@swc/[email protected])([email protected])
dependencies:
'@swc/core': 1.13.5
transitivePeerDependencies:
- '@swc/helpers'
- webpack
dependencies:
case-sensitive-paths-webpack-plugin: 2.4.0
cjs-module-lexer: 1.4.3
@@ -14802,7 +14722,7 @@ snapshots:
fork-ts-checker-webpack-plugin: 9.1.0([email protected])([email protected](@swc/[email protected])([email protected]))
html-webpack-plugin: 5.6.7([email protected](@swc/[email protected])([email protected]))
magic-string: 0.30.21
ts-dedent: 2.2.0
@@ -14819,19 +14739,19 @@ snapshots:
- uglify-js
- webpack-cli
dependencies:
ts-dedent: 2.2.0
dependencies:
unplugin: 2.3.11
optionalDependencies:
esbuild: 0.28.1
rollup: 4.55.1
webpack: 5.106.2(@swc/[email protected])([email protected])
'@storybook/[email protected]': {}
@@ -14841,9 +14761,9 @@ snapshots:
react: 19.2.7
react-dom: 19.2.7([email protected])
dependencies:
'@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0([email protected])([email protected](@swc/[email protected])([email protected]))
'@types/semver': 7.7.1
magic-string: 0.30.21
@@ -14851,8 +14771,8 @@ snapshots:
react-docgen: 7.1.1
react-dom: 19.2.7([email protected])
resolve: 1.22.12
- semver: 7.7.4
+ semver: 7.8.5
tsconfig-paths: 4.2.0
webpack: 5.106.2(@swc/[email protected])([email protected])
optionalDependencies:
@@ -14878,40 +14798,47 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
react: 19.2.7
react-dom: 19.2.7([email protected])
+ optionalDependencies:
+ '@types/react': 19.2.17
+ '@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
react: 19.2.7
react-dom: 19.2.7([email protected])
optionalDependencies:
typescript: 6.0.3
transitivePeerDependencies:
- '@rspack/core'
- '@swc/core'
+ - '@types/react'
+ - '@types/react-dom'
- esbuild
- supports-color
- uglify-js
- webpack-cli
dependencies:
'@storybook/global': 5.0.0
react: 19.2.7
react-docgen: 8.0.3
react-docgen-typescript: 2.4.0([email protected])
react-dom: 19.2.7([email protected])
optionalDependencies:
+ '@types/react': 19.2.17
+ '@types/react-dom': 19.2.3(@types/[email protected])
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -15014,12 +14941,12 @@ snapshots:
'@tootallnate/[email protected]': {}
dependencies:
lightningcss: 1.32.0
- rolldown: 1.1.0
+ rolldown: 1.1.2
optionalDependencies:
postcss: 8.5.15
postcss-modules: 6.0.1([email protected])
@@ -15058,24 +14985,24 @@ snapshots:
dependencies:
- '@babel/parser': 7.29.3
- '@babel/types': 7.29.0
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
'@types/babel__generator': 7.27.0
'@types/babel__template': 7.4.4
'@types/babel__traverse': 7.28.0
dependencies:
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
dependencies:
- '@babel/parser': 7.29.3
- '@babel/types': 7.29.0
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
dependencies:
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
dependencies:
@@ -15142,13 +15069,13 @@ snapshots:
dependencies:
undici-types: 6.21.0
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
- undici-types: 7.24.6
+ undici-types: 8.3.0
'@types/[email protected]': {}
- '@types/[email protected]': {}
+ '@types/[email protected]': {}
dependencies:
@@ -15178,7 +15105,7 @@ snapshots:
dependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
'@types/[email protected]': {}
@@ -15190,7 +15117,7 @@ snapshots:
dependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
dependencies:
@@ -15232,12 +15159,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/scope-manager': 8.60.1
- '@typescript-eslint/types': 8.60.1
- '@typescript-eslint/typescript-estree': 8.60.1([email protected])
- '@typescript-eslint/visitor-keys': 8.60.1
+ '@typescript-eslint/scope-manager': 8.61.1
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/typescript-estree': 8.61.1([email protected])
+ '@typescript-eslint/visitor-keys': 8.61.1
debug: 4.4.3
eslint: 10.5.0([email protected])
typescript: 6.0.3
@@ -15246,8 +15173,8 @@ snapshots:
'@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/tsconfig-utils': 8.61.0([email protected])
- '@typescript-eslint/types': 8.61.0
+ '@typescript-eslint/tsconfig-utils': 8.61.1([email protected])
+ '@typescript-eslint/types': 8.61.1
debug: 4.4.3
typescript: 6.0.3
transitivePeerDependencies:
@@ -15271,10 +15198,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/tsconfig-utils': 8.61.0([email protected])
- '@typescript-eslint/types': 8.61.0
+ '@typescript-eslint/tsconfig-utils': 8.61.1([email protected])
+ '@typescript-eslint/types': 8.61.1
debug: 4.4.3
typescript: 6.0.3
transitivePeerDependencies:
@@ -15289,7 +15216,7 @@ snapshots:
eslint: 10.5.0([email protected])
json-stable-stringify-without-jsonify: 1.0.1
lodash.merge: 4.6.2
- semver: 7.8.4
+ semver: 7.8.5
transitivePeerDependencies:
- supports-color
- typescript
@@ -15309,10 +15236,10 @@ snapshots:
'@typescript-eslint/types': 8.60.1
'@typescript-eslint/visitor-keys': 8.60.1
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/visitor-keys': 8.61.0
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/visitor-keys': 8.61.1
'@typescript-eslint/[email protected]([email protected])':
dependencies:
@@ -15326,7 +15253,7 @@ snapshots:
dependencies:
typescript: 6.0.3
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
typescript: 6.0.3
@@ -15342,11 +15269,11 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/typescript-estree': 8.61.0([email protected])
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/typescript-estree': 8.61.1([email protected])
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
debug: 4.4.3
eslint: 10.5.0([email protected])
ts-api-utils: 2.5.0([email protected])
@@ -15360,7 +15287,7 @@ snapshots:
'@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
'@typescript-eslint/[email protected]([email protected])':
dependencies:
@@ -15370,7 +15297,7 @@ snapshots:
'@typescript-eslint/visitor-keys': 8.56.1
debug: 4.4.3
minimatch: 10.2.5
- semver: 7.8.4
+ semver: 7.8.5
tinyglobby: 0.2.17
ts-api-utils: 2.5.0([email protected])
typescript: 6.0.3
@@ -15407,15 +15334,15 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/project-service': 8.61.0([email protected])
- '@typescript-eslint/tsconfig-utils': 8.61.0([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/visitor-keys': 8.61.0
+ '@typescript-eslint/project-service': 8.61.1([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.61.1([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/visitor-keys': 8.61.1
debug: 4.4.3
minimatch: 10.2.5
- semver: 7.8.4
+ semver: 7.8.5
tinyglobby: 0.2.17
ts-api-utils: 2.5.0([email protected])
typescript: 6.0.3
@@ -15444,12 +15371,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
- '@typescript-eslint/scope-manager': 8.61.0
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/typescript-estree': 8.61.0([email protected])
+ '@typescript-eslint/scope-manager': 8.61.1
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/typescript-estree': 8.61.1([email protected])
eslint: 10.5.0([email protected])
typescript: 6.0.3
transitivePeerDependencies:
@@ -15470,9 +15397,9 @@ snapshots:
'@typescript-eslint/types': 8.60.1
eslint-visitor-keys: 5.0.1
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.61.0
+ '@typescript-eslint/types': 8.61.1
eslint-visitor-keys: 5.0.1
'@univerjs/[email protected]': {}
@@ -15506,7 +15433,7 @@ snapshots:
magicast: 0.5.3
obug: 2.1.3
tinyrainbow: 3.1.0
transitivePeerDependencies:
- supports-color
@@ -15518,7 +15445,7 @@ snapshots:
optionalDependencies:
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@@ -15539,13 +15466,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.9
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -15597,14 +15524,6 @@ snapshots:
path-browserify: 1.0.1
vscode-uri: 3.1.0
- dependencies:
- '@babel/parser': 7.29.3
- '@vue/shared': 3.5.34
- entities: 7.0.1
- estree-walker: 2.0.2
- source-map-js: 1.2.1
-
dependencies:
'@babel/parser': 7.29.7
@@ -15620,12 +15539,6 @@ snapshots:
entities: 7.0.1
estree-walker: 2.0.2
source-map-js: 1.2.1
- optional: true
-
- dependencies:
- '@vue/compiler-core': 3.5.34
- '@vue/shared': 3.5.34
dependencies:
@@ -15636,54 +15549,25 @@ snapshots:
dependencies:
'@vue/compiler-core': 3.5.38
'@vue/shared': 3.5.38
- optional: true
-
- dependencies:
- '@babel/parser': 7.29.3
- '@vue/compiler-core': 3.5.34
- '@vue/compiler-dom': 3.5.34
- '@vue/compiler-ssr': 3.5.34
- '@vue/shared': 3.5.34
- estree-walker: 2.0.2
- magic-string: 0.30.21
- postcss: 8.5.15
- source-map-js: 1.2.1
dependencies:
'@babel/parser': 7.29.7
- '@vue/compiler-core': 3.5.35
- '@vue/compiler-dom': 3.5.35
- '@vue/compiler-ssr': 3.5.35
- '@vue/shared': 3.5.35
+ '@vue/compiler-core': 3.5.38
+ '@vue/compiler-dom': 3.5.38
+ '@vue/compiler-ssr': 3.5.38
+ '@vue/shared': 3.5.38
estree-walker: 2.0.2
magic-string: 0.30.21
postcss: 8.5.15
source-map-js: 1.2.1
- dependencies:
- '@vue/compiler-dom': 3.5.34
- '@vue/shared': 3.5.34
-
- dependencies:
- '@vue/compiler-dom': 3.5.35
- '@vue/shared': 3.5.35
-
dependencies:
- '@volar/language-core': 2.4.28
'@vue/compiler-dom': 3.5.38
'@vue/shared': 3.5.38
- alien-signals: 3.2.1
- muggle-string: 0.4.1
- path-browserify: 1.0.1
- picomatch: 4.0.4
- optional: true
dependencies:
'@volar/language-core': 2.4.28
'@vue/compiler-dom': 3.5.35
@@ -15697,52 +15581,33 @@ snapshots:
dependencies:
'@vue/shared': 3.5.34
- dependencies:
- '@vue/shared': 3.5.35
-
- dependencies:
- '@vue/reactivity': 3.5.34
- '@vue/shared': 3.5.34
-
dependencies:
- '@vue/reactivity': 3.5.35
- '@vue/shared': 3.5.35
+ '@vue/shared': 3.5.38
dependencies:
- '@vue/reactivity': 3.5.34
- '@vue/runtime-core': 3.5.34
- '@vue/shared': 3.5.34
- csstype: 3.2.3
+ '@vue/reactivity': 3.5.38
+ '@vue/shared': 3.5.38
dependencies:
- '@vue/reactivity': 3.5.35
- '@vue/runtime-core': 3.5.35
- '@vue/shared': 3.5.35
+ '@vue/reactivity': 3.5.38
+ '@vue/runtime-core': 3.5.38
+ '@vue/shared': 3.5.38
csstype: 3.2.3
- dependencies:
- '@vue/compiler-ssr': 3.5.34
- '@vue/shared': 3.5.34
- vue: 3.5.34([email protected])
-
dependencies:
- '@vue/compiler-ssr': 3.5.35
- '@vue/shared': 3.5.35
- vue: 3.5.35([email protected])
+ '@vue/compiler-ssr': 3.5.38
+ '@vue/shared': 3.5.38
+ vue: 3.5.38([email protected])
'@vue/[email protected]': {}
'@vue/[email protected]': {}
- optional: true
+ '@vue/[email protected]': {}
'@webassemblyjs/[email protected]':
dependencies:
@@ -16021,9 +15886,9 @@ snapshots:
dependencies:
- '@babel/parser': 8.0.0-rc.6
+ '@babel/parser': 8.0.0
estree-walker: 3.0.3
pathe: 2.0.3
@@ -16128,7 +15993,7 @@ snapshots:
dependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
@@ -16259,7 +16124,9 @@ snapshots:
dependencies:
readdirp: 5.0.0
+ dependencies:
+ semver: 7.8.5
@@ -16452,9 +16319,9 @@ snapshots:
dependencies:
browserslist: 4.28.2
dependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
cosmiconfig: 9.0.1([email protected])
jiti: 2.7.0
typescript: 6.0.3
@@ -16744,7 +16611,9 @@ snapshots:
+ optionalDependencies:
+ oxc-resolver: 11.21.3
dependencies:
@@ -16922,10 +16791,10 @@ snapshots:
fs-extra: 10.1.0
globby: 11.1.0
dependencies:
typescript: 4.9.5
- vue: 3.5.35([email protected])
+ vue: 3.5.38([email protected])
optionalDependencies:
sass: 1.87.0
@@ -16938,64 +16807,6 @@ snapshots:
postcss: 8.5.15
postcss-modules: 6.0.1([email protected])
- optionalDependencies:
- '@esbuild/aix-ppc64': 0.27.7
- '@esbuild/android-arm': 0.27.7
- '@esbuild/android-arm64': 0.27.7
- '@esbuild/android-x64': 0.27.7
- '@esbuild/darwin-arm64': 0.27.7
- '@esbuild/darwin-x64': 0.27.7
- '@esbuild/freebsd-arm64': 0.27.7
- '@esbuild/freebsd-x64': 0.27.7
- '@esbuild/linux-arm': 0.27.7
- '@esbuild/linux-arm64': 0.27.7
- '@esbuild/linux-ia32': 0.27.7
- '@esbuild/linux-loong64': 0.27.7
- '@esbuild/linux-mips64el': 0.27.7
- '@esbuild/linux-ppc64': 0.27.7
- '@esbuild/linux-riscv64': 0.27.7
- '@esbuild/linux-s390x': 0.27.7
- '@esbuild/linux-x64': 0.27.7
- '@esbuild/netbsd-arm64': 0.27.7
- '@esbuild/netbsd-x64': 0.27.7
- '@esbuild/openbsd-arm64': 0.27.7
- '@esbuild/openbsd-x64': 0.27.7
- '@esbuild/openharmony-arm64': 0.27.7
- '@esbuild/sunos-x64': 0.27.7
- '@esbuild/win32-arm64': 0.27.7
- '@esbuild/win32-ia32': 0.27.7
- '@esbuild/win32-x64': 0.27.7
-
- optionalDependencies:
- '@esbuild/aix-ppc64': 0.28.0
- '@esbuild/android-arm': 0.28.0
- '@esbuild/android-arm64': 0.28.0
- '@esbuild/android-x64': 0.28.0
- '@esbuild/darwin-arm64': 0.28.0
- '@esbuild/darwin-x64': 0.28.0
- '@esbuild/freebsd-arm64': 0.28.0
- '@esbuild/freebsd-x64': 0.28.0
- '@esbuild/linux-arm': 0.28.0
- '@esbuild/linux-arm64': 0.28.0
- '@esbuild/linux-ia32': 0.28.0
- '@esbuild/linux-loong64': 0.28.0
- '@esbuild/linux-mips64el': 0.28.0
- '@esbuild/linux-ppc64': 0.28.0
- '@esbuild/linux-riscv64': 0.28.0
- '@esbuild/linux-s390x': 0.28.0
- '@esbuild/linux-x64': 0.28.0
- '@esbuild/netbsd-arm64': 0.28.0
- '@esbuild/netbsd-x64': 0.28.0
- '@esbuild/openbsd-arm64': 0.28.0
- '@esbuild/openbsd-x64': 0.28.0
- '@esbuild/openharmony-arm64': 0.28.0
- '@esbuild/sunos-x64': 0.28.0
- '@esbuild/win32-arm64': 0.28.0
- '@esbuild/win32-ia32': 0.28.0
- '@esbuild/win32-x64': 0.28.0
-
optionalDependencies:
'@esbuild/aix-ppc64': 0.28.1
@@ -17077,14 +16888,14 @@ snapshots:
dependencies:
eslint: 10.5.0([email protected])
dependencies:
'@eslint/css-tree': 4.0.3
'@valibot/to-json-schema': 1.7.0([email protected]([email protected]))
enhanced-resolve: 5.21.0
jiti: 2.7.0
synckit: 0.11.12
- tailwind-csstree: 0.3.1
+ tailwind-csstree: 0.3.3
tailwindcss: 3.4.18
tsconfig-paths-webpack-plugin: 4.2.0
valibot: 1.4.0([email protected])
@@ -17094,12 +16905,12 @@ snapshots:
- '@eslint/css'
- typescript
dependencies:
'@es-joy/jsdoccomment': 0.84.0
'@typescript-eslint/rule-tester': 8.56.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/typescript-estree': 8.61.0([email protected])
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/typescript-estree': 8.61.1([email protected])
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
@@ -17212,14 +17023,14 @@ snapshots:
yaml: 2.9.0
yaml-eslint-parser: 2.0.0
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
eslint: 10.5.0([email protected])
typescript: 6.0.3
@@ -17237,28 +17048,28 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
ts-pattern: 5.9.0
typescript: 6.0.3
@@ -17269,29 +17080,29 @@ snapshots:
dependencies:
eslint: 10.5.0([email protected])
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
eslint: 10.5.0([email protected])
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
birecord: 0.1.1
eslint: 10.5.0([email protected])
ts-pattern: 5.9.0
@@ -17299,19 +17110,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/eslint': 5.9.0([email protected]([email protected]))([email protected])
- '@eslint-react/shared': 5.9.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.61.0
- '@typescript-eslint/type-utils': 8.61.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.61.0
- '@typescript-eslint/typescript-estree': 8.61.0([email protected])
- '@typescript-eslint/utils': 8.61.0([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/eslint': 5.9.1([email protected]([email protected]))([email protected])
+ '@eslint-react/shared': 5.9.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.61.1
+ '@typescript-eslint/type-utils': 8.61.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.61.1
+ '@typescript-eslint/typescript-estree': 8.61.1([email protected])
+ '@typescript-eslint/utils': 8.61.1([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
eslint: 10.5.0([email protected])
string-ts: 2.3.1
@@ -17416,9 +17227,9 @@ snapshots:
natural-compare: 1.4.0
yaml-eslint-parser: 2.0.0
dependencies:
- '@vue/compiler-sfc': 3.5.35
+ '@vue/compiler-sfc': 3.5.38
eslint: 10.5.0([email protected])
@@ -17605,8 +17416,6 @@ snapshots:
dependencies:
flat-cache: 4.0.1
-
dependencies:
to-regex-range: 5.0.1
@@ -17653,7 +17462,7 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
+ '@babel/code-frame': 7.29.7
chalk: 4.1.2
chokidar: 4.0.3
cosmiconfig: 8.3.6([email protected])
@@ -17663,7 +17472,7 @@ snapshots:
minimatch: 3.1.5
node-abort-controller: 3.1.1
schema-utils: 3.3.0
- semver: 7.7.4
+ semver: 7.8.5
tapable: 2.3.3
typescript: 6.0.3
webpack: 5.106.2(@swc/[email protected])([email protected])
@@ -17858,9 +17667,9 @@ snapshots:
optionalDependencies:
uglify-js: 3.19.3
dependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
'@types/whatwg-mimetype': 3.0.2
'@types/ws': 8.18.1
buffer-image-size: 0.6.4
@@ -18012,17 +17821,17 @@ snapshots:
dependencies:
'@inquirer/ansi': 1.0.2
- '@inquirer/core': 10.3.2(@types/[email protected])
- '@inquirer/prompts': 7.10.1(@types/[email protected])
- '@inquirer/type': 3.0.10(@types/[email protected])
+ '@inquirer/core': 10.3.2(@types/[email protected])
+ '@inquirer/prompts': 7.10.1(@types/[email protected])
+ '@inquirer/type': 3.0.10(@types/[email protected])
mute-stream: 2.0.0
run-async: 4.0.6
rxjs: 7.8.2
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
dependencies:
@@ -18304,7 +18113,7 @@ snapshots:
dependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
merge-stream: 2.0.0
supports-color: 8.1.1
@@ -18376,12 +18185,6 @@ snapshots:
eslint-visitor-keys: 5.0.1
semver: 7.8.1
- dependencies:
- universalify: 2.0.1
- optionalDependencies:
- graceful-fs: 4.2.11
-
dependencies:
universalify: 2.0.1
@@ -18472,7 +18275,7 @@ snapshots:
dependencies:
listr2: 10.2.1
picomatch: 4.0.4
@@ -19172,8 +18975,6 @@ snapshots:
-
@@ -19254,6 +19055,53 @@ snapshots:
object-keys: 1.1.1
safe-push-apply: 1.0.0
+ dependencies:
+ '@oxc-project/types': 0.127.0
+ optionalDependencies:
+ '@oxc-parser/binding-android-arm-eabi': 0.127.0
+ '@oxc-parser/binding-android-arm64': 0.127.0
+ '@oxc-parser/binding-darwin-arm64': 0.127.0
+ '@oxc-parser/binding-darwin-x64': 0.127.0
+ '@oxc-parser/binding-freebsd-x64': 0.127.0
+ '@oxc-parser/binding-linux-arm-gnueabihf': 0.127.0
+ '@oxc-parser/binding-linux-arm-musleabihf': 0.127.0
+ '@oxc-parser/binding-linux-arm64-gnu': 0.127.0
+ '@oxc-parser/binding-linux-arm64-musl': 0.127.0
+ '@oxc-parser/binding-linux-ppc64-gnu': 0.127.0
+ '@oxc-parser/binding-linux-riscv64-gnu': 0.127.0
+ '@oxc-parser/binding-linux-riscv64-musl': 0.127.0
+ '@oxc-parser/binding-linux-s390x-gnu': 0.127.0
+ '@oxc-parser/binding-linux-x64-gnu': 0.127.0
+ '@oxc-parser/binding-linux-x64-musl': 0.127.0
+ '@oxc-parser/binding-openharmony-arm64': 0.127.0
+ '@oxc-parser/binding-wasm32-wasi': 0.127.0
+ '@oxc-parser/binding-win32-arm64-msvc': 0.127.0
+ '@oxc-parser/binding-win32-ia32-msvc': 0.127.0
+ '@oxc-parser/binding-win32-x64-msvc': 0.127.0
+
+ optionalDependencies:
+ '@oxc-resolver/binding-android-arm-eabi': 11.21.3
+ '@oxc-resolver/binding-android-arm64': 11.21.3
+ '@oxc-resolver/binding-darwin-arm64': 11.21.3
+ '@oxc-resolver/binding-darwin-x64': 11.21.3
+ '@oxc-resolver/binding-freebsd-x64': 11.21.3
+ '@oxc-resolver/binding-linux-arm-gnueabihf': 11.21.3
+ '@oxc-resolver/binding-linux-arm-musleabihf': 11.21.3
+ '@oxc-resolver/binding-linux-arm64-gnu': 11.21.3
+ '@oxc-resolver/binding-linux-arm64-musl': 11.21.3
+ '@oxc-resolver/binding-linux-ppc64-gnu': 11.21.3
+ '@oxc-resolver/binding-linux-riscv64-gnu': 11.21.3
+ '@oxc-resolver/binding-linux-riscv64-musl': 11.21.3
+ '@oxc-resolver/binding-linux-s390x-gnu': 11.21.3
+ '@oxc-resolver/binding-linux-x64-gnu': 11.21.3
+ '@oxc-resolver/binding-linux-x64-musl': 11.21.3
+ '@oxc-resolver/binding-openharmony-arm64': 11.21.3
+ '@oxc-resolver/binding-wasm32-wasi': 11.21.3
+ '@oxc-resolver/binding-win32-arm64-msvc': 11.21.3
+ '@oxc-resolver/binding-win32-x64-msvc': 11.21.3
+
dependencies:
tinypool: 2.1.0
@@ -19453,9 +19301,9 @@ snapshots:
postcss: 8.5.15
postcss-value-parser: 4.2.0
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -19547,9 +19395,9 @@ snapshots:
camelcase-css: 2.0.1
postcss: 8.5.14
dependencies:
- '@csstools/css-color-parser': 4.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.1.8(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
'@csstools/css-tokenizer': 4.0.0
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
@@ -19651,23 +19499,23 @@ snapshots:
postcss: 8.5.15
postcss-value-parser: 4.2.0
dependencies:
- '@csstools/postcss-alpha-function': 2.0.5([email protected])
+ '@csstools/postcss-alpha-function': 2.0.6([email protected])
'@csstools/postcss-cascade-layers': 6.0.0([email protected])
- '@csstools/postcss-color-function': 5.0.4([email protected])
- '@csstools/postcss-color-function-display-p3-linear': 2.0.4([email protected])
- '@csstools/postcss-color-mix-function': 4.0.4([email protected])
- '@csstools/postcss-color-mix-variadic-function-arguments': 2.0.4([email protected])
+ '@csstools/postcss-color-function': 5.0.5([email protected])
+ '@csstools/postcss-color-function-display-p3-linear': 2.0.5([email protected])
+ '@csstools/postcss-color-mix-function': 4.0.5([email protected])
+ '@csstools/postcss-color-mix-variadic-function-arguments': 2.0.5([email protected])
'@csstools/postcss-container-rule-prelude-list': 1.0.1([email protected])
'@csstools/postcss-content-alt-text': 3.0.1([email protected])
- '@csstools/postcss-contrast-color-function': 3.0.4([email protected])
+ '@csstools/postcss-contrast-color-function': 3.0.5([email protected])
'@csstools/postcss-exponential-functions': 3.0.3([email protected])
'@csstools/postcss-font-format-keywords': 5.0.0([email protected])
'@csstools/postcss-font-width-property': 1.0.0([email protected])
- '@csstools/postcss-gamut-mapping': 3.0.4([email protected])
- '@csstools/postcss-gradients-interpolation-method': 6.0.4([email protected])
- '@csstools/postcss-hwb-function': 5.0.4([email protected])
+ '@csstools/postcss-gamut-mapping': 3.0.5([email protected])
+ '@csstools/postcss-gradients-interpolation-method': 6.0.5([email protected])
+ '@csstools/postcss-hwb-function': 5.0.5([email protected])
'@csstools/postcss-ic-unit': 5.0.1([email protected])
'@csstools/postcss-image-function': 1.0.0([email protected])
'@csstools/postcss-initial': 3.0.0([email protected])
@@ -19683,12 +19531,12 @@ snapshots:
'@csstools/postcss-mixins': 1.0.0([email protected])
'@csstools/postcss-nested-calc': 5.0.0([email protected])
'@csstools/postcss-normalize-display-values': 5.0.1([email protected])
- '@csstools/postcss-oklab-function': 5.0.4([email protected])
+ '@csstools/postcss-oklab-function': 5.0.5([email protected])
'@csstools/postcss-position-area-property': 2.0.0([email protected])
'@csstools/postcss-progressive-custom-properties': 5.1.0([email protected])
'@csstools/postcss-property-rule-prelude-list': 2.0.0([email protected])
'@csstools/postcss-random-function': 3.0.3([email protected])
- '@csstools/postcss-relative-color-syntax': 4.0.4([email protected])
+ '@csstools/postcss-relative-color-syntax': 4.0.5([email protected])
'@csstools/postcss-scope-pseudo-class': 5.0.0([email protected])
'@csstools/postcss-sign-functions': 2.0.3([email protected])
'@csstools/postcss-stepped-value-functions': 5.0.3([email protected])
@@ -19706,7 +19554,7 @@ snapshots:
postcss: 8.5.15
postcss-attribute-case-insensitive: 8.0.0([email protected])
postcss-clamp: 4.1.0([email protected])
- postcss-color-functional-notation: 8.0.4([email protected])
+ postcss-color-functional-notation: 8.0.5([email protected])
postcss-color-hex-alpha: 11.0.0([email protected])
postcss-color-rebeccapurple: 11.0.0([email protected])
postcss-custom-media: 12.0.1([email protected])
@@ -19719,7 +19567,7 @@ snapshots:
postcss-font-variant: 5.0.0([email protected])
postcss-gap-properties: 7.0.0([email protected])
postcss-image-set-function: 8.0.0([email protected])
- postcss-lab-function: 8.0.4([email protected])
+ postcss-lab-function: 8.0.5([email protected])
postcss-logical: 9.0.0([email protected])
postcss-nesting: 14.0.0([email protected])
postcss-opacity-percentage: 3.0.0([email protected])
@@ -19779,9 +19627,9 @@ snapshots:
picocolors: 1.1.1
source-map-js: 1.2.1
dependencies:
- '@posthog/core': 1.34.0
+ '@posthog/core': 1.35.3
optionalDependencies:
rxjs: 7.8.2
@@ -19826,7 +19674,7 @@ snapshots:
'@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
long: 5.3.2
@@ -19888,26 +19736,26 @@ snapshots:
dependencies:
dnd-core: 16.0.1
dependencies:
dnd-core: 16.0.1
dnd-multi-backend: 8.1.2([email protected])
react: 19.2.7
- react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
+ react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
react-dom: 19.2.7([email protected])
dependencies:
react: 19.2.7
- react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
+ react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
dependencies:
'@react-dnd/invariant': 4.0.2
dnd-core: 16.0.1
dependencies:
'@react-dnd/invariant': 4.0.2
'@react-dnd/shallowequal': 4.0.2
@@ -19916,7 +19764,7 @@ snapshots:
hoist-non-react-statics: 3.3.2
react: 19.2.7
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
'@types/react': 19.2.17
@@ -19925,9 +19773,9 @@ snapshots:
dependencies:
- '@babel/core': 7.29.0
- '@babel/traverse': 7.29.0
- '@babel/types': 7.29.0
+ '@babel/core': 7.29.7
+ '@babel/traverse': 7.29.7
+ '@babel/types': 7.29.7
'@types/babel__core': 7.20.5
'@types/babel__traverse': 7.28.0
'@types/doctrine': 0.0.9
@@ -19940,9 +19788,9 @@ snapshots:
dependencies:
- '@babel/core': 7.29.0
- '@babel/traverse': 7.29.0
- '@babel/types': 7.29.0
+ '@babel/core': 7.29.7
+ '@babel/traverse': 7.29.7
+ '@babel/types': 7.29.7
'@types/babel__core': 7.20.5
'@types/babel__traverse': 7.28.0
'@types/doctrine': 0.0.9
@@ -19962,7 +19810,7 @@ snapshots:
dependencies:
classnames: 2.5.1
immutability-helper: 3.1.1
@@ -19970,9 +19818,9 @@ snapshots:
prop-types: 15.8.1
rdndmb-html5-to-touch: 8.1.2([email protected])
react: 19.2.7
- react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
+ react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
react-dnd-html5-backend: 16.0.1
react-dnd-touch-backend: 16.0.1
uuid: 9.0.1
transitivePeerDependencies:
@@ -20105,7 +19953,7 @@ snapshots:
dependencies:
'@nodeutils/defaults-deep': 1.1.0
'@octokit/rest': 22.0.1
@@ -20115,7 +19963,7 @@ snapshots:
ci-info: 4.3.1
eta: 4.5.0
git-url-parse: 16.1.0
- inquirer: 12.11.1(@types/[email protected])
+ inquirer: 12.11.1(@types/[email protected])
issue-parser: 7.0.1
lodash.merge: 4.6.2
mime-types: 3.0.2
@@ -20196,37 +20044,20 @@ snapshots:
dependencies:
glob: 7.2.3
- dependencies:
- '@babel/generator': 8.0.0-rc.6
- '@babel/helper-validator-identifier': 8.0.0-rc.6
- '@babel/parser': 8.0.0-rc.6
- ast-kit: 3.0.0-beta.1
- birpc: 4.0.0
- dts-resolver: 3.0.0
- get-tsconfig: 5.0.0-beta.5
- obug: 2.1.2
- rolldown: 1.1.0
- optionalDependencies:
- typescript: 6.0.3
- vue-tsc: 3.2.8([email protected])
- transitivePeerDependencies:
- - oxc-resolver
-
dependencies:
- '@babel/generator': 8.0.0-rc.6
- '@babel/helper-validator-identifier': 8.0.0-rc.6
- '@babel/parser': 8.0.0-rc.6
- ast-kit: 3.0.0-beta.1
+ '@babel/generator': 8.0.0
+ '@babel/helper-validator-identifier': 8.0.2
+ '@babel/parser': 8.0.0
+ ast-kit: 3.0.0
birpc: 4.0.0
- dts-resolver: 3.0.0
+ dts-resolver: 3.0.0([email protected])
get-tsconfig: 5.0.0-beta.5
- obug: 2.1.2
- rolldown: 1.1.0
+ obug: 2.1.3
+ rolldown: 1.1.2
optionalDependencies:
typescript: 6.0.3
- vue-tsc: 3.3.2([email protected])
+ vue-tsc: 3.3.5([email protected])
transitivePeerDependencies:
- oxc-resolver
@@ -20273,26 +20104,26 @@ snapshots:
'@rolldown/binding-win32-arm64-msvc': 1.0.0-rc.18
'@rolldown/binding-win32-x64-msvc': 1.0.0-rc.18
dependencies:
- '@oxc-project/types': 0.134.0
+ '@oxc-project/types': 0.137.0
'@rolldown/pluginutils': 1.0.1
optionalDependencies:
- '@rolldown/binding-android-arm64': 1.1.0
- '@rolldown/binding-darwin-arm64': 1.1.0
- '@rolldown/binding-darwin-x64': 1.1.0
- '@rolldown/binding-freebsd-x64': 1.1.0
- '@rolldown/binding-linux-arm-gnueabihf': 1.1.0
- '@rolldown/binding-linux-arm64-gnu': 1.1.0
- '@rolldown/binding-linux-arm64-musl': 1.1.0
- '@rolldown/binding-linux-ppc64-gnu': 1.1.0
- '@rolldown/binding-linux-s390x-gnu': 1.1.0
- '@rolldown/binding-linux-x64-gnu': 1.1.0
- '@rolldown/binding-linux-x64-musl': 1.1.0
- '@rolldown/binding-openharmony-arm64': 1.1.0
- '@rolldown/binding-wasm32-wasi': 1.1.0
- '@rolldown/binding-win32-arm64-msvc': 1.1.0
- '@rolldown/binding-win32-x64-msvc': 1.1.0
+ '@rolldown/binding-android-arm64': 1.1.2
+ '@rolldown/binding-darwin-arm64': 1.1.2
+ '@rolldown/binding-darwin-x64': 1.1.2
+ '@rolldown/binding-freebsd-x64': 1.1.2
+ '@rolldown/binding-linux-arm-gnueabihf': 1.1.2
+ '@rolldown/binding-linux-arm64-gnu': 1.1.2
+ '@rolldown/binding-linux-arm64-musl': 1.1.2
+ '@rolldown/binding-linux-ppc64-gnu': 1.1.2
+ '@rolldown/binding-linux-s390x-gnu': 1.1.2
+ '@rolldown/binding-linux-x64-gnu': 1.1.2
+ '@rolldown/binding-linux-x64-musl': 1.1.2
+ '@rolldown/binding-openharmony-arm64': 1.1.2
+ '@rolldown/binding-wasm32-wasi': 1.1.2
+ '@rolldown/binding-win32-arm64-msvc': 1.1.2
+ '@rolldown/binding-win32-x64-msvc': 1.1.2
dependencies:
@@ -20412,6 +20243,8 @@ snapshots:
+
dependencies:
bytes: 3.0.0
@@ -20582,7 +20415,7 @@ snapshots:
webpack: 5.106.2(@swc/[email protected])([email protected])
dependencies:
'@storybook/global': 5.0.0
@@ -20591,13 +20424,16 @@ snapshots:
'@vitest/expect': 3.2.4
'@vitest/spy': 3.2.4
'@webcontainer/env': 1.1.1
- esbuild: 0.27.7
+ esbuild: 0.28.1
open: 10.2.0
+ oxc-parser: 0.127.0
+ oxc-resolver: 11.21.3
recast: 0.23.11
- semver: 7.7.4
+ semver: 7.8.5
use-sync-external-store: 1.6.0([email protected])
- ws: 8.20.0
+ ws: 8.21.0
optionalDependencies:
+ '@types/react': 19.2.17
prettier: 3.8.1
transitivePeerDependencies:
- '@testing-library/dom'
@@ -20761,7 +20597,7 @@ snapshots:
dependencies:
'@pkgr/core': 0.2.9
@@ -20928,35 +20764,7 @@ snapshots:
minimist: 1.2.8
strip-bom: 3.0.0
- dependencies:
- ansis: 4.3.1
- cac: 7.0.0
- defu: 6.1.7
- empathic: 2.0.1
- hookable: 6.1.1
- import-without-cache: 0.4.0
- obug: 2.1.2
- picomatch: 4.0.4
- rolldown: 1.1.0
- semver: 7.8.2
- tinyexec: 1.2.4
- tinyglobby: 0.2.17
- tree-kill: 1.2.2
- unconfig-core: 7.5.0
- optionalDependencies:
- tsx: 4.22.4
- typescript: 6.0.3
- unrun: 0.2.35([email protected])
- transitivePeerDependencies:
- - '@ts-macro/tsc'
- - '@typescript/native-preview'
- - oxc-resolver
- - vue-tsc
-
dependencies:
ansis: 4.3.1
cac: 7.0.0
@@ -20964,17 +20772,17 @@ snapshots:
empathic: 2.0.1
hookable: 6.1.1
import-without-cache: 0.4.0
- obug: 2.1.2
+ obug: 2.1.3
picomatch: 4.0.4
- rolldown: 1.1.0
- semver: 7.8.2
+ rolldown: 1.1.2
+ semver: 7.8.5
tinyexec: 1.2.4
tinyglobby: 0.2.17
tree-kill: 1.2.2
unconfig-core: 7.5.0
optionalDependencies:
tsx: 4.22.4
typescript: 6.0.3
unrun: 0.2.35([email protected])
@@ -20988,9 +20796,10 @@ snapshots:
dependencies:
- esbuild: 0.28.0
+ esbuild: 0.28.1
optionalDependencies:
fsevents: 2.3.3
+ optional: true
optionalDependencies:
@@ -21069,7 +20878,7 @@ snapshots:
@@ -21111,15 +20920,15 @@ snapshots:
dependencies:
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
'@vue/reactivity': 3.5.34
obug: 2.1.1
unplugin: 3.0.0
- vue: 3.5.35([email protected])
+ vue: 3.5.38([email protected])
transitivePeerDependencies:
- '@types/node'
- '@vitejs/devtools'
@@ -21230,7 +21039,7 @@ snapshots:
dependencies:
lightningcss: 1.32.0
picomatch: 4.0.4
@@ -21238,7 +21047,7 @@ snapshots:
rolldown: 1.0.0-rc.18
tinyglobby: 0.2.17
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
esbuild: 0.28.1
fsevents: 2.3.3
jiti: 2.7.0
@@ -21247,10 +21056,10 @@ snapshots:
tsx: 4.22.4
yaml: 2.9.0
dependencies:
'@vitest/expect': 4.1.9
'@vitest/pretty-format': 4.1.9
'@vitest/runner': 4.1.9
'@vitest/snapshot': 4.1.9
@@ -21267,12 +21076,12 @@ snapshots:
tinyexec: 1.2.4
tinyglobby: 0.2.17
tinyrainbow: 3.1.0
why-is-node-running: 2.3.0
optionalDependencies:
- '@types/node': 25.9.3
+ '@types/node': 26.0.0
'@vitest/coverage-istanbul': 4.1.9([email protected])
- happy-dom: 20.10.1
+ happy-dom: 20.10.6
jsdom: 29.1.1
transitivePeerDependencies:
- msw
@@ -21291,36 +21100,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@volar/typescript': 2.4.28
- '@vue/language-core': 3.2.8
- typescript: 6.0.3
- optional: true
-
dependencies:
'@volar/typescript': 2.4.28
- '@vue/language-core': 3.3.2
- typescript: 6.0.3
-
- dependencies:
- '@vue/compiler-dom': 3.5.34
- '@vue/compiler-sfc': 3.5.34
- '@vue/runtime-dom': 3.5.34
- '@vue/server-renderer': 3.5.34([email protected]([email protected]))
- '@vue/shared': 3.5.34
- optionalDependencies:
+ '@vue/language-core': 3.3.5
typescript: 6.0.3
dependencies:
- '@vue/compiler-dom': 3.5.35
- '@vue/compiler-sfc': 3.5.35
- '@vue/runtime-dom': 3.5.35
- '@vue/server-renderer': 3.5.35([email protected]([email protected]))
- '@vue/shared': 3.5.35
+ '@vue/compiler-dom': 3.5.38
+ '@vue/compiler-sfc': 3.5.38
+ '@vue/runtime-dom': 3.5.38
+ '@vue/server-renderer': 3.5.38([email protected]([email protected]))
+ '@vue/shared': 3.5.38
optionalDependencies:
typescript: 6.0.3
@@ -21513,8 +21305,6 @@ snapshots:
-
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 496db567c9..130d6b893e 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -8,9 +8,8 @@ packages:
- tests/*
publicHoistPattern:
- '@storybook/react'
- - tsx
overrides:
- '@types/react': 19.2.16
+ '@types/react': 19.2.17
'@types/react-dom': 19.2.3
basic-ftp: 5.2.0
react: 19.2.7
diff --git a/scripts/build-analysis.ts b/scripts/build-analysis.mts
similarity index 94%
rename from scripts/build-analysis.ts
rename to scripts/build-analysis.mts
index d944a85fed..83da0e90e9 100644
--- a/scripts/build-analysis.ts
+++ b/scripts/build-analysis.mts
@@ -1,21 +1,3 @@
-/**
- * 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.
- */
-
-/* eslint-disable max-lines-per-function */
-
import fs from 'node:fs';
import path from 'node:path';
import process from 'node:process';
diff --git a/scripts/react-version-manager.ts b/scripts/react-version-manager.mts
similarity index 54%
rename from scripts/react-version-manager.ts
rename to scripts/react-version-manager.mts
index d1dc7d2a2e..de75bff491 100644
--- a/scripts/react-version-manager.ts
+++ b/scripts/react-version-manager.mts
@@ -1,19 +1,3 @@
-/**
- * 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 { execSync } from 'node:child_process';
import fs from 'node:fs';
import path from 'node:path';
diff --git a/tests/formula-integration/src/__testing__/test-formula-move.ts b/tests/formula-integration/src/__testing__/test-formula-move.ts
index b57ccc9b86..6d35c1b8f2 100644
--- a/tests/formula-integration/src/__testing__/test-formula-move.ts
+++ b/tests/formula-integration/src/__testing__/test-formula-move.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import fs from 'node:fs';
import path from 'node:path';
diff --git a/tests/formula-integration/src/__testing__/test-remove-rows-of-filter-rows.ts b/tests/formula-integration/src/__testing__/test-remove-rows-of-filter-rows.ts
index 4947eca55a..7f7bdd47b7 100644
--- a/tests/formula-integration/src/__testing__/test-remove-rows-of-filter-rows.ts
+++ b/tests/formula-integration/src/__testing__/test-remove-rows-of-filter-rows.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import fs from 'node:fs';
import path from 'node:path';
diff --git a/tests/formula-integration/src/__testing__/univer.ts b/tests/formula-integration/src/__testing__/univer.ts
index a46106eebb..0b25db0961 100644
--- a/tests/formula-integration/src/__testing__/univer.ts
+++ b/tests/formula-integration/src/__testing__/univer.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { FUniver } from '@univerjs/core/facade';
import { createUniverOnNode } from 'univer-examples/node/index.ts';
diff --git a/tests/formula-integration/src/__testing__/util.ts b/tests/formula-integration/src/__testing__/util.ts
index f69626202a..bdee847b34 100644
--- a/tests/formula-integration/src/__testing__/util.ts
+++ b/tests/formula-integration/src/__testing__/util.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { IWorkbookData } from '@univerjs/core';
import fs from 'node:fs';
import path from 'node:path';
diff --git a/tests/formula-integration/src/__tests__/formua-correctness.spec.ts b/tests/formula-integration/src/__tests__/formua-correctness.spec.ts
index fdc5ced091..6dc8706cdf 100644
--- a/tests/formula-integration/src/__tests__/formua-correctness.spec.ts
+++ b/tests/formula-integration/src/__tests__/formua-correctness.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { describe, it } from 'vitest';
import { expectCalculationResultMatchesSnapshot } from '../__testing__/util';
diff --git a/tests/formula-integration/src/__tests__/test-formula-move.spec.ts b/tests/formula-integration/src/__tests__/test-formula-move.spec.ts
index dadc1dec24..2745ad2936 100644
--- a/tests/formula-integration/src/__tests__/test-formula-move.spec.ts
+++ b/tests/formula-integration/src/__tests__/test-formula-move.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { describe, it } from 'vitest';
import {
expectMoveFormulaCellResultMatchesSnapshot,
diff --git a/tests/formula-integration/src/__tests__/test-remove-rows-of-filter-rows.spec.ts b/tests/formula-integration/src/__tests__/test-remove-rows-of-filter-rows.spec.ts
index 2016bc2191..7a806da9ce 100644
--- a/tests/formula-integration/src/__tests__/test-remove-rows-of-filter-rows.spec.ts
+++ b/tests/formula-integration/src/__tests__/test-remove-rows-of-filter-rows.spec.ts
@@ -1,19 +1,3 @@
-/**
- * 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 { describe, it } from 'vitest';
import { expectRemoveRowsOfFilterRowsResultMatchesSnapshot } from '../__testing__/test-remove-rows-of-filter-rows';
diff --git a/tests/formula-integration/src/index.ts b/tests/formula-integration/src/index.ts
index 4044dcc165..366b235c98 100644
--- a/tests/formula-integration/src/index.ts
+++ b/tests/formula-integration/src/index.ts
@@ -1,17 +1 @@
-/**
- * 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 { expectCalculationResultMatchesSnapshot } from './__testing__/util';