@univerjs/sheets-conditional-formatting 1.3.1 → 1.4.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.
- package/lib/cjs/facade.js +8 -16
- package/lib/cjs/index.js +54 -95
- package/lib/cjs/locale/ar-SA.js +1 -2
- package/lib/cjs/locale/ca-ES.js +1 -2
- package/lib/cjs/locale/de-DE.js +1 -2
- package/lib/cjs/locale/en-US.js +1 -2
- package/lib/cjs/locale/es-ES.js +1 -2
- package/lib/cjs/locale/fa-IR.js +1 -2
- package/lib/cjs/locale/fr-FR.js +1 -2
- package/lib/cjs/locale/id-ID.js +1 -2
- package/lib/cjs/locale/it-IT.js +1 -2
- package/lib/cjs/locale/ja-JP.js +1 -2
- package/lib/cjs/locale/ko-KR.js +1 -2
- package/lib/cjs/locale/pl-PL.js +1 -2
- package/lib/cjs/locale/pt-BR.js +1 -2
- package/lib/cjs/locale/ru-RU.js +1 -2
- package/lib/cjs/locale/sk-SK.js +1 -2
- package/lib/cjs/locale/vi-VN.js +1 -2
- package/lib/cjs/locale/zh-CN.js +1 -2
- package/lib/cjs/locale/zh-HK.js +1 -2
- package/lib/cjs/locale/zh-TW.js +1 -2
- package/lib/es/facade.js +8 -16
- package/lib/es/index.js +54 -95
- package/lib/es/locale/ar-SA.js +1 -2
- package/lib/es/locale/ca-ES.js +1 -2
- package/lib/es/locale/de-DE.js +1 -2
- package/lib/es/locale/en-US.js +1 -2
- package/lib/es/locale/es-ES.js +1 -2
- package/lib/es/locale/fa-IR.js +1 -2
- package/lib/es/locale/fr-FR.js +1 -2
- package/lib/es/locale/id-ID.js +1 -2
- package/lib/es/locale/it-IT.js +1 -2
- package/lib/es/locale/ja-JP.js +1 -2
- package/lib/es/locale/ko-KR.js +1 -2
- package/lib/es/locale/pl-PL.js +1 -2
- package/lib/es/locale/pt-BR.js +1 -2
- package/lib/es/locale/ru-RU.js +1 -2
- package/lib/es/locale/sk-SK.js +1 -2
- package/lib/es/locale/vi-VN.js +1 -2
- package/lib/es/locale/zh-CN.js +1 -2
- package/lib/es/locale/zh-HK.js +1 -2
- package/lib/es/locale/zh-TW.js +1 -2
- package/lib/facade.js +8 -16
- package/lib/index.js +54 -95
- package/lib/locale/ar-SA.js +1 -2
- package/lib/locale/ca-ES.js +1 -2
- package/lib/locale/de-DE.js +1 -2
- package/lib/locale/en-US.js +1 -2
- package/lib/locale/es-ES.js +1 -2
- package/lib/locale/fa-IR.js +1 -2
- package/lib/locale/fr-FR.js +1 -2
- package/lib/locale/id-ID.js +1 -2
- package/lib/locale/it-IT.js +1 -2
- package/lib/locale/ja-JP.js +1 -2
- package/lib/locale/ko-KR.js +1 -2
- package/lib/locale/pl-PL.js +1 -2
- package/lib/locale/pt-BR.js +1 -2
- package/lib/locale/ru-RU.js +1 -2
- package/lib/locale/sk-SK.js +1 -2
- package/lib/locale/vi-VN.js +1 -2
- package/lib/locale/zh-CN.js +1 -2
- package/lib/locale/zh-HK.js +1 -2
- package/lib/locale/zh-TW.js +1 -2
- package/lib/types/base/const.d.ts +1 -1
- package/lib/types/models/calculate-unit-v2/utils.d.ts +1 -1
- package/lib/types/services/conditional-formatting-formula.service.d.ts +3 -3
- package/lib/types/services/conditional-formatting.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +12 -12
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/es-ES.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Dirección",
|
|
4
4
|
shape: "Forma",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Rango"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/fa-IR.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "جهت",
|
|
4
4
|
shape: "شکل",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "رتبه"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/fr-FR.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Direction",
|
|
4
4
|
shape: "Forme",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Rang"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/id-ID.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Arah",
|
|
4
4
|
shape: "Bentuk",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Peringkat"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/it-IT.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Direzione",
|
|
4
4
|
shape: "Forma",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Grado"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ja-JP.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "方向",
|
|
4
4
|
shape: "図形",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "評価"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ko-KR.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "방향",
|
|
4
4
|
shape: "모양",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "순위"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/pl-PL.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Kierunek",
|
|
4
4
|
shape: "Kształt",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Ranga"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/pt-BR.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Direção",
|
|
4
4
|
shape: "Forma",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Classificação"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ru-RU.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Направление",
|
|
4
4
|
shape: "Форма",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Ранг"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/sk-SK.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Smer",
|
|
4
4
|
shape: "Tvar",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Poradie"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/vi-VN.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "Hướng",
|
|
4
4
|
shape: "Hình dạng",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "Hạng"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/zh-CN.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "方向",
|
|
4
4
|
shape: "形状",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "等级"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/zh-HK.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "方向",
|
|
4
4
|
shape: "形狀",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "等級"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/zh-TW.ts
|
|
2
2
|
const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
3
3
|
direction: "方向",
|
|
4
4
|
shape: "形狀",
|
|
@@ -6,5 +6,4 @@ const locale = { "sheets-conditional-formatting": { iconSet: {
|
|
|
6
6
|
rank: "等級"
|
|
7
7
|
} } };
|
|
8
8
|
|
|
9
|
-
//#endregion
|
|
10
9
|
module.exports = locale;
|
package/lib/es/facade.js
CHANGED
|
@@ -3,7 +3,7 @@ import { AddCfCommand, CFNumberOperator, CFRuleType, CFSubRuleType, CFTextOperat
|
|
|
3
3
|
import { FRange, FWorksheet } from "@univerjs/sheets/facade";
|
|
4
4
|
import { FEnum } from "@univerjs/core/facade";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
7
7
|
function _typeof(o) {
|
|
8
8
|
"@babel/helpers - typeof";
|
|
9
9
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -13,8 +13,7 @@ function _typeof(o) {
|
|
|
13
13
|
}, _typeof(o);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
16
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
18
17
|
function toPrimitive(t, r) {
|
|
19
18
|
if ("object" != _typeof(t) || !t) return t;
|
|
20
19
|
var e = t[Symbol.toPrimitive];
|
|
@@ -26,15 +25,13 @@ function toPrimitive(t, r) {
|
|
|
26
25
|
return ("string" === r ? String : Number)(t);
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
28
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
31
29
|
function toPropertyKey(t) {
|
|
32
30
|
var i = toPrimitive(t, "string");
|
|
33
31
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
|
|
37
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
34
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
38
35
|
function _defineProperty(e, r, t) {
|
|
39
36
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
40
37
|
value: t,
|
|
@@ -44,8 +41,7 @@ function _defineProperty(e, r, t) {
|
|
|
44
41
|
}) : e[r] = t, e;
|
|
45
42
|
}
|
|
46
43
|
|
|
47
|
-
|
|
48
|
-
//#region src/facade/f-conditional-formatting-builder.ts
|
|
44
|
+
// src/facade/f-conditional-formatting-builder.ts
|
|
49
45
|
/**
|
|
50
46
|
* @ignore
|
|
51
47
|
* @hideconstructor
|
|
@@ -2108,8 +2104,7 @@ var FConditionalFormattingBuilder = class {
|
|
|
2108
2104
|
}
|
|
2109
2105
|
};
|
|
2110
2106
|
|
|
2111
|
-
|
|
2112
|
-
//#region src/facade/f-range.ts
|
|
2107
|
+
// src/facade/f-range.ts
|
|
2113
2108
|
var FRangeSheetsConditionalFormattingMixin = class extends FRange {
|
|
2114
2109
|
_getConditionalFormattingRuleModel() {
|
|
2115
2110
|
return this._injector.get(ConditionalFormattingRuleModel);
|
|
@@ -2132,8 +2127,7 @@ var FRangeSheetsConditionalFormattingMixin = class extends FRange {
|
|
|
2132
2127
|
};
|
|
2133
2128
|
FRange.extend(FRangeSheetsConditionalFormattingMixin);
|
|
2134
2129
|
|
|
2135
|
-
|
|
2136
|
-
//#region src/facade/f-worksheet.ts
|
|
2130
|
+
// src/facade/f-worksheet.ts
|
|
2137
2131
|
var FWorksheetConditionalFormattingMixin = class extends FWorksheet {
|
|
2138
2132
|
_getConditionalFormattingRuleModel() {
|
|
2139
2133
|
return this._injector.get(ConditionalFormattingRuleModel);
|
|
@@ -2199,8 +2193,7 @@ var FWorksheetConditionalFormattingMixin = class extends FWorksheet {
|
|
|
2199
2193
|
};
|
|
2200
2194
|
FWorksheet.extend(FWorksheetConditionalFormattingMixin);
|
|
2201
2195
|
|
|
2202
|
-
|
|
2203
|
-
//#region src/facade/f-enum.ts
|
|
2196
|
+
// src/facade/f-enum.ts
|
|
2204
2197
|
/**
|
|
2205
2198
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2206
2199
|
*
|
|
@@ -2232,5 +2225,4 @@ var FSheetsConditionalFormattingEnumMixin = class extends FEnum {
|
|
|
2232
2225
|
};
|
|
2233
2226
|
FEnum.extend(FSheetsConditionalFormattingEnumMixin);
|
|
2234
2227
|
|
|
2235
|
-
//#endregion
|
|
2236
2228
|
export { FConditionalFormattingBuilder };
|