@univerjs/sheets-conditional-formatting 0.6.5 → 0.6.6
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.
|
@@ -13,7 +13,7 @@ export interface IFRangeConditionalFormattingMixin {
|
|
|
13
13
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
14
14
|
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
15
15
|
*
|
|
16
|
-
* // Create a conditional formatting rule that
|
|
16
|
+
* // Create a conditional formatting rule that sets the cell format to italic, red background, and green font color when the cell is not empty.
|
|
17
17
|
* const fRange = fWorksheet.getRange('A1:T100');
|
|
18
18
|
* const rule = fWorksheet.newConditionalFormattingRule()
|
|
19
19
|
* .whenCellNotEmpty()
|
|
@@ -39,7 +39,7 @@ export interface IFRangeConditionalFormattingMixin {
|
|
|
39
39
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
40
40
|
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
41
41
|
*
|
|
42
|
-
* // Create a conditional formatting rule that
|
|
42
|
+
* // Create a conditional formatting rule that sets the cell format to italic, red background, and green font color when the cell is not empty.
|
|
43
43
|
* const fRange = fWorksheet.getRange('A1:T100');
|
|
44
44
|
* const rule = fRange.createConditionalFormattingRule()
|
|
45
45
|
* .whenCellNotEmpty()
|
|
@@ -34,7 +34,7 @@ export interface IFWorksheetConditionalFormattingMixin {
|
|
|
34
34
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
35
35
|
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
36
36
|
*
|
|
37
|
-
* // Create a conditional formatting rule that
|
|
37
|
+
* // Create a conditional formatting rule that sets the cell format to italic, red background, and green font color when the cell is not empty.
|
|
38
38
|
* const fRange = fWorksheet.getRange('A1:T100');
|
|
39
39
|
* const rule = fWorksheet.newConditionalFormattingRule()
|
|
40
40
|
* .whenCellNotEmpty()
|
|
@@ -57,7 +57,7 @@ export interface IFWorksheetConditionalFormattingMixin {
|
|
|
57
57
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
58
58
|
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
59
59
|
*
|
|
60
|
-
* // Create a conditional formatting rule that
|
|
60
|
+
* // Create a conditional formatting rule that sets the cell format to italic, red background, and green font color when the cell is not empty.
|
|
61
61
|
* const fRange = fWorksheet.getRange('A1:T100');
|
|
62
62
|
* const rule = fWorksheet.newConditionalFormattingRule()
|
|
63
63
|
* .whenCellNotEmpty()
|
|
@@ -116,6 +116,8 @@ export interface IFWorksheetConditionalFormattingMixin {
|
|
|
116
116
|
* ```ts
|
|
117
117
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
118
118
|
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
119
|
+
*
|
|
120
|
+
* // Create a conditional formatting rule that sets the cell format to italic, red background, and green font color when the cell is not empty.
|
|
119
121
|
* const fRange = fWorksheet.getRange('A1:T100');
|
|
120
122
|
* const rule = fWorksheet.newConditionalFormattingRule()
|
|
121
123
|
* .whenCellNotEmpty()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-conditional-formatting",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Conditional formatting plugin for Univer Sheets",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"rxjs": ">=7.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@univerjs/core": "0.6.
|
|
57
|
-
"@univerjs/engine-formula": "0.6.
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
56
|
+
"@univerjs/core": "0.6.6",
|
|
57
|
+
"@univerjs/engine-formula": "0.6.6",
|
|
58
|
+
"@univerjs/sheets": "0.6.6",
|
|
59
|
+
"@univerjs/engine-render": "0.6.6"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@univerjs/icons-svg": "^0.2.21",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"typescript": "^5.8.2",
|
|
65
65
|
"vite": "^6.2.1",
|
|
66
66
|
"vitest": "^3.0.8",
|
|
67
|
-
"@univerjs-infra/shared": "0.6.
|
|
67
|
+
"@univerjs-infra/shared": "0.6.6"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"test": "vitest run",
|