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(sheets-conditional-formatting): fix dependencies

白熱893b81068bfc
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index 9346a2bc63..9161c4f378 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -101,6 +101,7 @@
"@univerjs/shared": "workspace:*",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-formula": "workspace:*",
+ "@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
"@wendellhu/redi": "^0.13.0",
"clsx": "^2.1.0",
diff --git a/packages/sheets-conditional-formatting/src/models/conditional-formatting-view-model.ts b/packages/sheets-conditional-formatting/src/models/conditional-formatting-view-model.ts
index 8d6a3c6b87..2b9234fb1e 100644
--- a/packages/sheets-conditional-formatting/src/models/conditional-formatting-view-model.ts
+++ b/packages/sheets-conditional-formatting/src/models/conditional-formatting-view-model.ts
@@ -14,22 +14,6 @@
* limitations under the License.
*/
-/**
- * Copyright 2023-present DreamNum Inc.
- *
- * 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 { ObjectMatrix, Range } from '@univerjs/core';
import { Subject } from 'rxjs';
import type { IDataBarRenderParams } from '../render/type';
diff --git a/packages/sheets-conditional-formatting/src/plugin.ts b/packages/sheets-conditional-formatting/src/plugin.ts
index 61d7205998..63a8767a3a 100644
--- a/packages/sheets-conditional-formatting/src/plugin.ts
+++ b/packages/sheets-conditional-formatting/src/plugin.ts
@@ -54,7 +54,8 @@ import { ConditionalFormattingClearController } from './controllers/cf.clear.con
export class SheetsConditionalFormattingPlugin extends Plugin {
static override type = PluginType.Sheet;
- static commandList = [DddAverageCfCommand,
+ static commandList = [
+ DddAverageCfCommand,
AddColorScaleConditionalRuleCommand,
AddDataBarConditionalRuleCommand,
AddDuplicateValuesCfCommand,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cb2803b14e..67ff76a8d0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -775,9 +775,6 @@ importers:
'@univerjs/icons':
specifier: ^0.1.42
- '@univerjs/sheets-ui':
- specifier: workspace:*
- version: link:../sheets-ui
dayjs:
specifier: ^1.11.10
version: 1.11.10
@@ -830,6 +827,9 @@ importers:
'@univerjs/sheets-formula':
specifier: workspace:*
version: link:../sheets-formula
+ '@univerjs/sheets-ui':
+ specifier: workspace:*
+ version: link:../sheets-ui
'@univerjs/ui':
specifier: workspace:*
version: link:../ui