@univerjs/sheets-conditional-formatting 0.5.5 → 0.6.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { IRange } from '@univerjs/core';
|
|
2
2
|
import { CFTimePeriodOperator, IAverageHighlightCell, IColorScale, IConditionalFormattingRuleConfig, IConditionFormattingRule, IIconSet, IValueConfig, CFRuleType } from '@univerjs/sheets-conditional-formatting';
|
|
3
|
+
/**
|
|
4
|
+
* @ignore
|
|
5
|
+
* @hideconstructor
|
|
6
|
+
*/
|
|
3
7
|
declare class ConditionalFormatRuleBaseBuilder {
|
|
4
8
|
protected _rule: Partial<IConditionFormattingRule>;
|
|
5
9
|
protected get _ruleConfig(): IConditionalFormattingRuleConfig | null;
|
|
@@ -37,6 +41,9 @@ declare class ConditionalFormatRuleBaseBuilder {
|
|
|
37
41
|
*/
|
|
38
42
|
setRanges(ranges: IRange[]): this;
|
|
39
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* @hideconstructor
|
|
46
|
+
*/
|
|
40
47
|
declare class ConditionalFormatHighlightRuleBuilder extends ConditionalFormatRuleBaseBuilder {
|
|
41
48
|
constructor(initConfig?: Partial<IConditionFormattingRule>);
|
|
42
49
|
copy(): ConditionalFormatHighlightRuleBuilder;
|
|
@@ -268,6 +275,9 @@ declare class ConditionalFormatIconSetRuleBuilder extends ConditionalFormatRuleB
|
|
|
268
275
|
isShowValue: boolean;
|
|
269
276
|
}): this;
|
|
270
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* @hideconstructor
|
|
280
|
+
*/
|
|
271
281
|
export declare class FConditionalFormattingBuilder {
|
|
272
282
|
private _initConfig;
|
|
273
283
|
constructor(_initConfig?: {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IAnchor, IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
|
|
2
2
|
import { FRange } from '@univerjs/sheets/facade';
|
|
3
3
|
import { FConditionalFormattingBuilder } from './conditional-formatting-builder';
|
|
4
|
+
/**
|
|
5
|
+
* @ignore
|
|
6
|
+
*/
|
|
4
7
|
export interface IFRangeConditionalFormattingMixin {
|
|
5
8
|
/**
|
|
6
9
|
* Gets all the conditional formatting for the current range
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IAnchor, IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
|
|
2
2
|
import { FWorksheet } from '@univerjs/sheets/facade';
|
|
3
3
|
import { FConditionalFormattingBuilder } from './conditional-formatting-builder';
|
|
4
|
+
/**
|
|
5
|
+
* @ignore
|
|
6
|
+
*/
|
|
4
7
|
export interface IFWorksheetConditionalFormattingMixin {
|
|
5
8
|
/**
|
|
6
9
|
* Gets all the conditional formatting for the current sheet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-conditional-formatting",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Conditional formatting plugin for Univer Sheets",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -53,18 +53,18 @@
|
|
|
53
53
|
"rxjs": ">=7.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@univerjs/
|
|
57
|
-
"@univerjs/
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
56
|
+
"@univerjs/engine-formula": "0.6.0-alpha.0",
|
|
57
|
+
"@univerjs/engine-render": "0.6.0-alpha.0",
|
|
58
|
+
"@univerjs/sheets": "0.6.0-alpha.0",
|
|
59
|
+
"@univerjs/core": "0.6.0-alpha.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@univerjs/icons-svg": "^0.2.
|
|
62
|
+
"@univerjs/icons-svg": "^0.2.14",
|
|
63
63
|
"rxjs": "^7.8.1",
|
|
64
|
-
"typescript": "^5.7.
|
|
64
|
+
"typescript": "^5.7.3",
|
|
65
65
|
"vite": "^6.0.7",
|
|
66
66
|
"vitest": "^2.1.8",
|
|
67
|
-
"@univerjs-infra/shared": "0.
|
|
67
|
+
"@univerjs-infra/shared": "0.6.0-alpha.0"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"test": "vitest run",
|