@univerjs/sheets-filter-ui 0.24.0 → 0.25.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/index.js +58 -59
- package/lib/cjs/locale/ar-SA.js +77 -0
- package/lib/cjs/locale/ca-ES.js +1 -3
- package/lib/cjs/locale/de-DE.js +77 -0
- package/lib/cjs/locale/en-US.js +1 -3
- package/lib/cjs/locale/es-ES.js +1 -3
- package/lib/cjs/locale/fa-IR.js +1 -3
- package/lib/cjs/locale/fr-FR.js +1 -3
- package/lib/cjs/locale/id-ID.js +77 -0
- package/lib/cjs/locale/it-IT.js +77 -0
- package/lib/cjs/locale/ja-JP.js +1 -3
- package/lib/cjs/locale/ko-KR.js +1 -3
- package/lib/cjs/locale/pl-PL.js +77 -0
- package/lib/cjs/locale/pt-BR.js +77 -0
- package/lib/cjs/locale/ru-RU.js +1 -3
- package/lib/cjs/locale/sk-SK.js +1 -3
- package/lib/cjs/locale/vi-VN.js +1 -3
- package/lib/cjs/locale/zh-CN.js +1 -3
- package/lib/cjs/locale/zh-HK.js +77 -0
- package/lib/cjs/locale/zh-TW.js +1 -3
- package/lib/es/index.js +59 -60
- package/lib/es/locale/ar-SA.js +76 -0
- package/lib/es/locale/ca-ES.js +1 -3
- package/lib/es/locale/de-DE.js +76 -0
- package/lib/es/locale/en-US.js +1 -3
- package/lib/es/locale/es-ES.js +1 -3
- package/lib/es/locale/fa-IR.js +1 -3
- package/lib/es/locale/fr-FR.js +1 -3
- package/lib/es/locale/id-ID.js +76 -0
- package/lib/es/locale/it-IT.js +76 -0
- package/lib/es/locale/ja-JP.js +1 -3
- package/lib/es/locale/ko-KR.js +1 -3
- package/lib/es/locale/pl-PL.js +76 -0
- package/lib/es/locale/pt-BR.js +76 -0
- package/lib/es/locale/ru-RU.js +1 -3
- package/lib/es/locale/sk-SK.js +1 -3
- package/lib/es/locale/vi-VN.js +1 -3
- package/lib/es/locale/zh-CN.js +1 -3
- package/lib/es/locale/zh-HK.js +76 -0
- package/lib/es/locale/zh-TW.js +1 -3
- package/lib/index.js +59 -60
- package/lib/locale/ar-SA.js +76 -0
- package/lib/locale/ca-ES.js +1 -3
- package/lib/locale/de-DE.js +76 -0
- package/lib/locale/en-US.js +1 -3
- package/lib/locale/es-ES.js +1 -3
- package/lib/locale/fa-IR.js +1 -3
- package/lib/locale/fr-FR.js +1 -3
- package/lib/locale/id-ID.js +76 -0
- package/lib/locale/it-IT.js +76 -0
- package/lib/locale/ja-JP.js +1 -3
- package/lib/locale/ko-KR.js +1 -3
- package/lib/locale/pl-PL.js +76 -0
- package/lib/locale/pt-BR.js +76 -0
- package/lib/locale/ru-RU.js +1 -3
- package/lib/locale/sk-SK.js +1 -3
- package/lib/locale/vi-VN.js +1 -3
- package/lib/locale/zh-CN.js +1 -3
- package/lib/locale/zh-HK.js +76 -0
- package/lib/locale/zh-TW.js +1 -3
- package/lib/types/locale/ar-SA.d.ts +18 -0
- package/lib/types/locale/de-DE.d.ts +18 -0
- package/lib/types/locale/en-US.d.ts +1 -7
- package/lib/types/locale/id-ID.d.ts +18 -0
- package/lib/types/locale/it-IT.d.ts +18 -0
- package/lib/types/locale/pl-PL.d.ts +18 -0
- package/lib/types/locale/pt-BR.d.ts +18 -0
- package/lib/types/locale/zh-HK.d.ts +18 -0
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -13
package/lib/cjs/index.js
CHANGED
|
@@ -16,7 +16,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
16
16
|
let FilterConditionItems;
|
|
17
17
|
(function(_FilterConditionItems) {
|
|
18
18
|
const NONE = _FilterConditionItems.NONE = {
|
|
19
|
-
label: "sheets-filter.conditions.none",
|
|
19
|
+
label: "sheets-filter-ui.conditions.none",
|
|
20
20
|
operator: "none",
|
|
21
21
|
order: 1,
|
|
22
22
|
numOfParameters: 0,
|
|
@@ -35,7 +35,7 @@ let FilterConditionItems;
|
|
|
35
35
|
const ALL_CONDITIONS = _FilterConditionItems.ALL_CONDITIONS = [
|
|
36
36
|
NONE,
|
|
37
37
|
_FilterConditionItems.EMPTY = {
|
|
38
|
-
label: "sheets-filter.conditions.empty",
|
|
38
|
+
label: "sheets-filter-ui.conditions.empty",
|
|
39
39
|
operator: "empty",
|
|
40
40
|
order: 1,
|
|
41
41
|
numOfParameters: 0,
|
|
@@ -53,7 +53,7 @@ let FilterConditionItems;
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
_FilterConditionItems.NOT_EMPTY = {
|
|
56
|
-
label: "sheets-filter.conditions.not-empty",
|
|
56
|
+
label: "sheets-filter-ui.conditions.not-empty",
|
|
57
57
|
operator: "notEmpty",
|
|
58
58
|
order: 1,
|
|
59
59
|
numOfParameters: 0,
|
|
@@ -74,7 +74,7 @@ let FilterConditionItems;
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
_FilterConditionItems.TEXT_CONTAINS = {
|
|
77
|
-
label: "sheets-filter.conditions.text-contains",
|
|
77
|
+
label: "sheets-filter-ui.conditions.text-contains",
|
|
78
78
|
operator: "contains",
|
|
79
79
|
order: 0,
|
|
80
80
|
numOfParameters: 1,
|
|
@@ -104,7 +104,7 @@ let FilterConditionItems;
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
_FilterConditionItems.DOES_NOT_CONTAIN = {
|
|
107
|
-
label: "sheets-filter.conditions.does-not-contain",
|
|
107
|
+
label: "sheets-filter-ui.conditions.does-not-contain",
|
|
108
108
|
operator: "doesNotContain",
|
|
109
109
|
order: 0,
|
|
110
110
|
numOfParameters: 1,
|
|
@@ -133,7 +133,7 @@ let FilterConditionItems;
|
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
135
|
_FilterConditionItems.STARTS_WITH = {
|
|
136
|
-
label: "sheets-filter.conditions.starts-with",
|
|
136
|
+
label: "sheets-filter-ui.conditions.starts-with",
|
|
137
137
|
operator: "startsWith",
|
|
138
138
|
order: 0,
|
|
139
139
|
numOfParameters: 1,
|
|
@@ -159,7 +159,7 @@ let FilterConditionItems;
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
_FilterConditionItems.ENDS_WITH = {
|
|
162
|
-
label: "sheets-filter.conditions.ends-with",
|
|
162
|
+
label: "sheets-filter-ui.conditions.ends-with",
|
|
163
163
|
operator: "endsWith",
|
|
164
164
|
order: 0,
|
|
165
165
|
numOfParameters: 1,
|
|
@@ -185,7 +185,7 @@ let FilterConditionItems;
|
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
_FilterConditionItems.EQUALS = {
|
|
188
|
-
label: "sheets-filter.conditions.equals",
|
|
188
|
+
label: "sheets-filter-ui.conditions.equals",
|
|
189
189
|
operator: "equals",
|
|
190
190
|
order: 0,
|
|
191
191
|
numOfParameters: 1,
|
|
@@ -216,7 +216,7 @@ let FilterConditionItems;
|
|
|
216
216
|
}
|
|
217
217
|
},
|
|
218
218
|
_FilterConditionItems.GREATER_THAN = {
|
|
219
|
-
label: "sheets-filter.conditions.greater-than",
|
|
219
|
+
label: "sheets-filter-ui.conditions.greater-than",
|
|
220
220
|
operator: _univerjs_sheets_filter.CustomFilterOperator.GREATER_THAN,
|
|
221
221
|
numOfParameters: 1,
|
|
222
222
|
order: 0,
|
|
@@ -244,7 +244,7 @@ let FilterConditionItems;
|
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
_FilterConditionItems.GREATER_THAN_OR_EQUAL = {
|
|
247
|
-
label: "sheets-filter.conditions.greater-than-or-equal",
|
|
247
|
+
label: "sheets-filter-ui.conditions.greater-than-or-equal",
|
|
248
248
|
operator: _univerjs_sheets_filter.CustomFilterOperator.GREATER_THAN_OR_EQUAL,
|
|
249
249
|
numOfParameters: 1,
|
|
250
250
|
order: 0,
|
|
@@ -272,7 +272,7 @@ let FilterConditionItems;
|
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
_FilterConditionItems.LESS_THAN = {
|
|
275
|
-
label: "sheets-filter.conditions.less-than",
|
|
275
|
+
label: "sheets-filter-ui.conditions.less-than",
|
|
276
276
|
operator: _univerjs_sheets_filter.CustomFilterOperator.LESS_THAN,
|
|
277
277
|
numOfParameters: 1,
|
|
278
278
|
order: 0,
|
|
@@ -300,7 +300,7 @@ let FilterConditionItems;
|
|
|
300
300
|
}
|
|
301
301
|
},
|
|
302
302
|
_FilterConditionItems.LESS_THAN_OR_EQUAL = {
|
|
303
|
-
label: "sheets-filter.conditions.less-than-or-equal",
|
|
303
|
+
label: "sheets-filter-ui.conditions.less-than-or-equal",
|
|
304
304
|
operator: _univerjs_sheets_filter.CustomFilterOperator.LESS_THAN_OR_EQUAL,
|
|
305
305
|
numOfParameters: 1,
|
|
306
306
|
order: 0,
|
|
@@ -328,7 +328,7 @@ let FilterConditionItems;
|
|
|
328
328
|
}
|
|
329
329
|
},
|
|
330
330
|
_FilterConditionItems.EQUAL = {
|
|
331
|
-
label: "sheets-filter.conditions.equal",
|
|
331
|
+
label: "sheets-filter-ui.conditions.equal",
|
|
332
332
|
operator: _univerjs_sheets_filter.CustomFilterOperator.EQUAL,
|
|
333
333
|
numOfParameters: 1,
|
|
334
334
|
order: 0,
|
|
@@ -356,7 +356,7 @@ let FilterConditionItems;
|
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
358
|
_FilterConditionItems.NOT_EQUAL = {
|
|
359
|
-
label: "sheets-filter.conditions.not-equal",
|
|
359
|
+
label: "sheets-filter-ui.conditions.not-equal",
|
|
360
360
|
operator: _univerjs_sheets_filter.CustomFilterOperator.NOT_EQUALS,
|
|
361
361
|
numOfParameters: 1,
|
|
362
362
|
order: 0,
|
|
@@ -384,7 +384,7 @@ let FilterConditionItems;
|
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
386
|
_FilterConditionItems.BETWEEN = {
|
|
387
|
-
label: "sheets-filter.conditions.between",
|
|
387
|
+
label: "sheets-filter-ui.conditions.between",
|
|
388
388
|
operator: "between",
|
|
389
389
|
order: 1,
|
|
390
390
|
numOfParameters: 2,
|
|
@@ -437,7 +437,7 @@ let FilterConditionItems;
|
|
|
437
437
|
}
|
|
438
438
|
},
|
|
439
439
|
_FilterConditionItems.NOT_BETWEEN = {
|
|
440
|
-
label: "sheets-filter.conditions.not-between",
|
|
440
|
+
label: "sheets-filter-ui.conditions.not-between",
|
|
441
441
|
operator: "notBetween",
|
|
442
442
|
order: 1,
|
|
443
443
|
numOfParameters: 2,
|
|
@@ -484,7 +484,7 @@ let FilterConditionItems;
|
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
_FilterConditionItems.CUSTOM = {
|
|
487
|
-
label: "sheets-filter.conditions.custom",
|
|
487
|
+
label: "sheets-filter-ui.conditions.custom",
|
|
488
488
|
operator: "custom",
|
|
489
489
|
order: 1,
|
|
490
490
|
numOfParameters: 2,
|
|
@@ -599,7 +599,7 @@ function statisticFilterByValueItems(items) {
|
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
//#endregion
|
|
602
|
-
//#region \0@oxc-project+runtime@0.
|
|
602
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
|
|
603
603
|
function __decorateParam(paramIndex, decorator) {
|
|
604
604
|
return function(target, key) {
|
|
605
605
|
decorator(target, key, paramIndex);
|
|
@@ -607,7 +607,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
//#endregion
|
|
610
|
-
//#region \0@oxc-project+runtime@0.
|
|
610
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
611
611
|
function __decorate(decorators, target, key, desc) {
|
|
612
612
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
613
613
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -700,7 +700,7 @@ function getFilterTreeByValueItems(filters, localeService, iterateRange, workshe
|
|
|
700
700
|
if (!monthItem) {
|
|
701
701
|
var _yearItem$children2;
|
|
702
702
|
monthItem = {
|
|
703
|
-
title: localeService.t(`sheets-filter.date.${month}`),
|
|
703
|
+
title: localeService.t(`sheets-filter-ui.date.${month}`),
|
|
704
704
|
key: `${year}-${month}`,
|
|
705
705
|
children: [],
|
|
706
706
|
count: 0,
|
|
@@ -755,7 +755,7 @@ function getFilterTreeByValueItems(filters, localeService, iterateRange, workshe
|
|
|
755
755
|
const initialBlankChecked = isNeedClearCheckedStatus ? false : filters ? blankChecked : true;
|
|
756
756
|
if (emptyCount > 0) {
|
|
757
757
|
const item = {
|
|
758
|
-
title: localeService.t("sheets-filter.panel.empty"),
|
|
758
|
+
title: localeService.t("sheets-filter-ui.panel.empty"),
|
|
759
759
|
count: emptyCount,
|
|
760
760
|
leaf: true,
|
|
761
761
|
checked: initialBlankChecked,
|
|
@@ -837,7 +837,7 @@ function searchTree(items, searchKeywords) {
|
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
//#endregion
|
|
840
|
-
//#region \0@oxc-project+runtime@0.
|
|
840
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
841
841
|
function _typeof(o) {
|
|
842
842
|
"@babel/helpers - typeof";
|
|
843
843
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -848,7 +848,7 @@ function _typeof(o) {
|
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
//#endregion
|
|
851
|
-
//#region \0@oxc-project+runtime@0.
|
|
851
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
852
852
|
function toPrimitive(t, r) {
|
|
853
853
|
if ("object" != _typeof(t) || !t) return t;
|
|
854
854
|
var e = t[Symbol.toPrimitive];
|
|
@@ -861,14 +861,14 @@ function toPrimitive(t, r) {
|
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
//#endregion
|
|
864
|
-
//#region \0@oxc-project+runtime@0.
|
|
864
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
865
865
|
function toPropertyKey(t) {
|
|
866
866
|
var i = toPrimitive(t, "string");
|
|
867
867
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
//#endregion
|
|
871
|
-
//#region \0@oxc-project+runtime@0.
|
|
871
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
872
872
|
function _defineProperty(e, r, t) {
|
|
873
873
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
874
874
|
value: t,
|
|
@@ -1220,7 +1220,10 @@ let ByValuesModel = _ByValuesModel = class ByValuesModel extends _univerjs_core.
|
|
|
1220
1220
|
}), (0, rxjs.startWith)(void 0)), this._rawFilterItems$]).pipe((0, rxjs.map)(([searchString, items]) => {
|
|
1221
1221
|
if (!searchString) return items;
|
|
1222
1222
|
return searchTree(items, searchString.toLowerCase().split(/\s+/).filter((s) => !!s));
|
|
1223
|
-
})), this._manuallyUpdateFilterItems$).pipe((0, rxjs.shareReplay)(
|
|
1223
|
+
})), this._manuallyUpdateFilterItems$).pipe((0, rxjs.shareReplay)({
|
|
1224
|
+
bufferSize: 1,
|
|
1225
|
+
refCount: true
|
|
1226
|
+
}));
|
|
1224
1227
|
this.canApply$ = this.filterItems$.pipe((0, rxjs.map)((items) => {
|
|
1225
1228
|
return statisticFilterByValueItems(items).checked > 0;
|
|
1226
1229
|
}));
|
|
@@ -1515,7 +1518,7 @@ const ChangeFilterByOperation = {
|
|
|
1515
1518
|
//#endregion
|
|
1516
1519
|
//#region package.json
|
|
1517
1520
|
var name = "@univerjs/sheets-filter-ui";
|
|
1518
|
-
var version = "0.
|
|
1521
|
+
var version = "0.25.0";
|
|
1519
1522
|
|
|
1520
1523
|
//#endregion
|
|
1521
1524
|
//#region src/config/config.ts
|
|
@@ -1569,7 +1572,7 @@ let SheetsFilterPermissionController = class SheetsFilterPermissionController ex
|
|
|
1569
1572
|
worksheetTypes: [_univerjs_sheets.WorksheetViewPermission, _univerjs_sheets.WorksheetFilterPermission]
|
|
1570
1573
|
});
|
|
1571
1574
|
}
|
|
1572
|
-
if (!permission) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
1575
|
+
if (!permission) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("sheets-filter-ui.permission.filterErr"));
|
|
1573
1576
|
}
|
|
1574
1577
|
if (command.id === OpenFilterPanelOperation.id) {
|
|
1575
1578
|
var _this$_sheetsFilterSe2;
|
|
@@ -1583,7 +1586,7 @@ let SheetsFilterPermissionController = class SheetsFilterPermissionController ex
|
|
|
1583
1586
|
if (!this._sheetPermissionCheckPermission.permissionCheckWithRanges({
|
|
1584
1587
|
rangeTypes: [_univerjs_sheets.RangeProtectionPermissionViewPoint],
|
|
1585
1588
|
worksheetTypes: [_univerjs_sheets.WorksheetFilterPermission, _univerjs_sheets.WorksheetViewPermission]
|
|
1586
|
-
}, [colRange], unitId, subUnitId)) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
1589
|
+
}, [colRange], unitId, subUnitId)) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("sheets-filter-ui.permission.filterErr"));
|
|
1587
1590
|
}
|
|
1588
1591
|
}
|
|
1589
1592
|
}));
|
|
@@ -1930,7 +1933,7 @@ function SmartToggleFilterMenuItemFactory(accessor) {
|
|
|
1930
1933
|
id: _univerjs_sheets_filter.SmartToggleSheetsFilterCommand.id,
|
|
1931
1934
|
type: _univerjs_ui.MenuItemType.BUTTON_SELECTOR,
|
|
1932
1935
|
icon: "FilterIcon",
|
|
1933
|
-
tooltip: "sheets-filter.toolbar.smart-toggle-filter-tooltip",
|
|
1936
|
+
tooltip: "sheets-filter-ui.toolbar.smart-toggle-filter-tooltip",
|
|
1934
1937
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
1935
1938
|
activated$: sheetsFilterService.activeFilterModel$.pipe((0, rxjs.map)((model) => !!model)),
|
|
1936
1939
|
disabled$: (0, _univerjs_sheets_ui.getObservableWithExclusiveRange$)(accessor, (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
|
|
@@ -1944,7 +1947,7 @@ function ClearFilterCriteriaMenuItemFactory(accessor) {
|
|
|
1944
1947
|
return {
|
|
1945
1948
|
id: _univerjs_sheets_filter.ClearSheetsFilterCriteriaCommand.id,
|
|
1946
1949
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
1947
|
-
title: "sheets-filter.toolbar.clear-filter-criteria",
|
|
1950
|
+
title: "sheets-filter-ui.toolbar.clear-filter-criteria",
|
|
1948
1951
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
1949
1952
|
disabled$: sheetsFilterService.activeFilterModel$.pipe((0, rxjs.switchMap)((model) => {
|
|
1950
1953
|
var _model$hasCriteria$$p;
|
|
@@ -1957,7 +1960,7 @@ function ReCalcFilterMenuItemFactory(accessor) {
|
|
|
1957
1960
|
return {
|
|
1958
1961
|
id: _univerjs_sheets_filter.ReCalcSheetsFilterCommand.id,
|
|
1959
1962
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
1960
|
-
title: "sheets-filter.toolbar.re-calc-filter-conditions",
|
|
1963
|
+
title: "sheets-filter-ui.toolbar.re-calc-filter-conditions",
|
|
1961
1964
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
1962
1965
|
disabled$: sheetsFilterService.activeFilterModel$.pipe((0, rxjs.switchMap)((model) => {
|
|
1963
1966
|
var _model$hasCriteria$$p2;
|
|
@@ -2006,7 +2009,7 @@ function FilterByColor(props) {
|
|
|
2006
2009
|
children: [
|
|
2007
2010
|
cellFillColors.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2008
2011
|
className: "univer-mb-2 univer-text-sm univer-text-gray-900 dark:!univer-text-white",
|
|
2009
|
-
children: localeService.t("sheets-filter.panel.filter-by-cell-fill-color")
|
|
2012
|
+
children: localeService.t("sheets-filter-ui.panel.filter-by-cell-fill-color")
|
|
2010
2013
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2011
2014
|
className: "univer-grid univer-grid-cols-8 univer-items-center univer-justify-start univer-gap-2",
|
|
2012
2015
|
children: cellFillColors.map((color, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -2021,7 +2024,7 @@ function FilterByColor(props) {
|
|
|
2021
2024
|
})] }),
|
|
2022
2025
|
cellTextColors.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2023
2026
|
className: "univer-mb-2 univer-text-sm univer-text-gray-900 dark:!univer-text-white",
|
|
2024
|
-
children: localeService.t("sheets-filter.panel.filter-by-cell-text-color")
|
|
2027
|
+
children: localeService.t("sheets-filter-ui.panel.filter-by-cell-text-color")
|
|
2025
2028
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2026
2029
|
className: "univer-grid univer-grid-cols-8 univer-items-center univer-justify-start univer-gap-2",
|
|
2027
2030
|
children: cellTextColors.map((color, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -2035,7 +2038,7 @@ function FilterByColor(props) {
|
|
|
2035
2038
|
})] }),
|
|
2036
2039
|
cellFillColors.length <= 1 && cellTextColors.length <= 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2037
2040
|
className: "univer-flex univer-size-full univer-items-center univer-justify-center univer-text-sm univer-text-gray-900 dark:!univer-text-gray-200",
|
|
2038
|
-
children: localeService.t("sheets-filter.panel.filter-by-color-none")
|
|
2041
|
+
children: localeService.t("sheets-filter-ui.panel.filter-by-color-none")
|
|
2039
2042
|
})
|
|
2040
2043
|
]
|
|
2041
2044
|
})
|
|
@@ -2071,7 +2074,7 @@ function FilterByCondition(props) {
|
|
|
2071
2074
|
const onFormParamsChange = (0, react.useCallback)((diffParams) => {
|
|
2072
2075
|
model.onConditionFormChange(diffParams);
|
|
2073
2076
|
}, [model]);
|
|
2074
|
-
const placeholder = localeService.t("sheets-filter.panel.input-values-placeholder");
|
|
2077
|
+
const placeholder = localeService.t("sheets-filter-ui.panel.input-values-placeholder");
|
|
2075
2078
|
function renderSecondaryCondition(operator, val, name) {
|
|
2076
2079
|
const shouldRenderInput = FilterConditionItems.getItemByOperator(operator).numOfParameters === 1;
|
|
2077
2080
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
@@ -2080,10 +2083,10 @@ function FilterByCondition(props) {
|
|
|
2080
2083
|
onChange: onRadioChange,
|
|
2081
2084
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
|
|
2082
2085
|
value: "AND",
|
|
2083
|
-
children: localeService.t("sheets-filter.panel.and")
|
|
2086
|
+
children: localeService.t("sheets-filter-ui.panel.and")
|
|
2084
2087
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
|
|
2085
2088
|
value: "OR",
|
|
2086
|
-
children: localeService.t("sheets-filter.panel.or")
|
|
2089
|
+
children: localeService.t("sheets-filter-ui.panel.or")
|
|
2087
2090
|
})]
|
|
2088
2091
|
}),
|
|
2089
2092
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Select, {
|
|
@@ -2116,9 +2119,9 @@ function FilterByCondition(props) {
|
|
|
2116
2119
|
"data-u-comp": "sheets-filter-panel-conditions-desc",
|
|
2117
2120
|
className: "univer-mt-2 univer-text-xs univer-text-gray-500",
|
|
2118
2121
|
children: [
|
|
2119
|
-
localeService.t("sheets-filter.panel.?"),
|
|
2122
|
+
localeService.t("sheets-filter-ui.panel.?"),
|
|
2120
2123
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("br", {}),
|
|
2121
|
-
localeService.t("sheets-filter.panel.*")
|
|
2124
|
+
localeService.t("sheets-filter-ui.panel.*")
|
|
2122
2125
|
]
|
|
2123
2126
|
})
|
|
2124
2127
|
]
|
|
@@ -2217,7 +2220,7 @@ function FilterByValue(props) {
|
|
|
2217
2220
|
const localeService = (0, _univerjs_ui.useDependency)(_univerjs_core.LocaleService);
|
|
2218
2221
|
const searchText = (0, _univerjs_ui.useObservable)(model.searchString$, "", true);
|
|
2219
2222
|
const items = (0, _univerjs_ui.useObservable)(model.filterItems$, void 0, true);
|
|
2220
|
-
const filterOnly = localeService.t("sheets-filter.panel.filter-only");
|
|
2223
|
+
const filterOnly = localeService.t("sheets-filter-ui.panel.filter-only");
|
|
2221
2224
|
const stat = statisticFilterByValueItems(items);
|
|
2222
2225
|
const allChecked = stat.checked > 0 && stat.unchecked === 0;
|
|
2223
2226
|
const indeterminate = stat.checked > 0 && stat.unchecked > 0;
|
|
@@ -2242,7 +2245,7 @@ function FilterByValue(props) {
|
|
|
2242
2245
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Input, {
|
|
2243
2246
|
autoFocus: true,
|
|
2244
2247
|
value: searchText,
|
|
2245
|
-
placeholder: localeService.t("sheets-filter.panel.search-placeholder"),
|
|
2248
|
+
placeholder: localeService.t("sheets-filter-ui.panel.search-placeholder"),
|
|
2246
2249
|
onChange: onSearchValueChange
|
|
2247
2250
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2248
2251
|
"data-u-comp": "sheets-filter-panel",
|
|
@@ -2263,7 +2266,7 @@ function FilterByValue(props) {
|
|
|
2263
2266
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2264
2267
|
"data-u-comp": "sheets-filter-panel-values-item-text",
|
|
2265
2268
|
className: "univer-mx-1 univer-inline-block univer-flex-shrink univer-truncate univer-text-gray-900 dark:!univer-text-white",
|
|
2266
|
-
children: `${localeService.t("sheets-filter.panel.select-all")}`
|
|
2269
|
+
children: `${localeService.t("sheets-filter-ui.panel.select-all")}`
|
|
2267
2270
|
}),
|
|
2268
2271
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2269
2272
|
"data-u-comp": "sheets-filter-panel-values-item-count",
|
|
@@ -2346,15 +2349,15 @@ function FilterSyncSwitch() {
|
|
|
2346
2349
|
className: "univer-mt-2 univer-flex univer-items-center univer-justify-between univer-text-sm univer-text-gray-900 dark:!univer-text-gray-200",
|
|
2347
2350
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2348
2351
|
className: "univer-flex univer-items-center univer-gap-1",
|
|
2349
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("sheets-filter.sync.title") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
|
|
2350
|
-
title: enabled ? localeService.t("sheets-filter.sync.statusTips.off") : localeService.t("sheets-filter.sync.statusTips.on"),
|
|
2352
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("sheets-filter-ui.sync.title") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
|
|
2353
|
+
title: enabled ? localeService.t("sheets-filter-ui.sync.statusTips.off") : localeService.t("sheets-filter-ui.sync.statusTips.on"),
|
|
2351
2354
|
asChild: true,
|
|
2352
2355
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.InfoIcon, { className: "univer-block" })
|
|
2353
2356
|
})]
|
|
2354
2357
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Switch, {
|
|
2355
2358
|
defaultChecked: enabled,
|
|
2356
2359
|
onChange: (checked) => {
|
|
2357
|
-
const message = checked ? localeService.t("sheets-filter.sync.switchTips.on") : localeService.t("sheets-filter.sync.switchTips.off");
|
|
2360
|
+
const message = checked ? localeService.t("sheets-filter-ui.sync.switchTips.on") : localeService.t("sheets-filter-ui.sync.switchTips.off");
|
|
2358
2361
|
sheetsFilterSyncController.setEnabled(checked);
|
|
2359
2362
|
messageService.show({
|
|
2360
2363
|
content: message,
|
|
@@ -2432,18 +2435,18 @@ function FilterPanel() {
|
|
|
2432
2435
|
variant: "link",
|
|
2433
2436
|
onClick: onClearCriteria,
|
|
2434
2437
|
disabled: clearFilterDisabled,
|
|
2435
|
-
children: localeService.t("sheets-filter.panel.clear-filter")
|
|
2438
|
+
children: localeService.t("sheets-filter-ui.panel.clear-filter")
|
|
2436
2439
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
2437
2440
|
className: "univer-flex univer-gap-2",
|
|
2438
2441
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
|
|
2439
2442
|
variant: "default",
|
|
2440
2443
|
onClick: onCancel,
|
|
2441
|
-
children: localeService.t("sheets-filter.panel.cancel")
|
|
2444
|
+
children: localeService.t("sheets-filter-ui.panel.cancel")
|
|
2442
2445
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
|
|
2443
2446
|
disabled: !canApply,
|
|
2444
2447
|
variant: "primary",
|
|
2445
2448
|
onClick: onApply,
|
|
2446
|
-
children: localeService.t("sheets-filter.panel.confirm")
|
|
2449
|
+
children: localeService.t("sheets-filter-ui.panel.confirm")
|
|
2447
2450
|
})]
|
|
2448
2451
|
})]
|
|
2449
2452
|
})
|
|
@@ -2453,15 +2456,15 @@ function FilterPanel() {
|
|
|
2453
2456
|
function useFilterByOptions(localeService) {
|
|
2454
2457
|
return (0, react.useMemo)(() => [
|
|
2455
2458
|
{
|
|
2456
|
-
label: localeService.t("sheets-filter.panel.by-values"),
|
|
2459
|
+
label: localeService.t("sheets-filter-ui.panel.by-values"),
|
|
2457
2460
|
value: _univerjs_sheets_filter.FilterBy.VALUES
|
|
2458
2461
|
},
|
|
2459
2462
|
{
|
|
2460
|
-
label: localeService.t("sheets-filter.panel.by-colors"),
|
|
2463
|
+
label: localeService.t("sheets-filter-ui.panel.by-colors"),
|
|
2461
2464
|
value: _univerjs_sheets_filter.FilterBy.COLORS
|
|
2462
2465
|
},
|
|
2463
2466
|
{
|
|
2464
|
-
label: localeService.t("sheets-filter.panel.by-conditions"),
|
|
2467
|
+
label: localeService.t("sheets-filter-ui.panel.by-conditions"),
|
|
2465
2468
|
value: _univerjs_sheets_filter.FilterBy.CONDITIONS
|
|
2466
2469
|
}
|
|
2467
2470
|
], [localeService.getCurrentLocale(), localeService]);
|
|
@@ -2472,9 +2475,10 @@ function useFilterByOptions(localeService) {
|
|
|
2472
2475
|
const SmartToggleFilterShortcut = {
|
|
2473
2476
|
id: _univerjs_sheets_filter.SmartToggleSheetsFilterCommand.id,
|
|
2474
2477
|
binding: _univerjs_ui.KeyCode.L | _univerjs_ui.MetaKeys.CTRL_COMMAND | _univerjs_ui.MetaKeys.SHIFT,
|
|
2475
|
-
description: "sheets-filter.shortcut.smart-toggle-filter",
|
|
2478
|
+
description: "sheets-filter-ui.shortcut.smart-toggle-filter",
|
|
2476
2479
|
preconditions: _univerjs_sheets_ui.whenSheetEditorFocused,
|
|
2477
|
-
group: "4_sheet-edit"
|
|
2480
|
+
group: "4_sheet-edit",
|
|
2481
|
+
groupTitle: "sheets-ui.shortcut.sheet-edit"
|
|
2478
2482
|
};
|
|
2479
2483
|
|
|
2480
2484
|
//#endregion
|
|
@@ -2512,11 +2516,6 @@ let SheetsFilterUIDesktopController = class SheetsFilterUIDesktopController exte
|
|
|
2512
2516
|
_initCommands() {
|
|
2513
2517
|
[
|
|
2514
2518
|
_univerjs_sheets_filter.SmartToggleSheetsFilterCommand,
|
|
2515
|
-
_univerjs_sheets_filter.RemoveSheetFilterCommand,
|
|
2516
|
-
_univerjs_sheets_filter.SetSheetFilterRangeCommand,
|
|
2517
|
-
_univerjs_sheets_filter.SetSheetsFilterCriteriaCommand,
|
|
2518
|
-
_univerjs_sheets_filter.ClearSheetsFilterCriteriaCommand,
|
|
2519
|
-
_univerjs_sheets_filter.ReCalcSheetsFilterCommand,
|
|
2520
2519
|
ChangeFilterByOperation,
|
|
2521
2520
|
OpenFilterPanelOperation,
|
|
2522
2521
|
CloseFilterPanelOperation
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/ar-SA.ts
|
|
3
|
+
const locale = { "sheets-filter-ui": {
|
|
4
|
+
toolbar: {
|
|
5
|
+
"smart-toggle-filter-tooltip": "تبديل التصفية",
|
|
6
|
+
"clear-filter-criteria": "مسح شروط التصفية",
|
|
7
|
+
"re-calc-filter-conditions": "إعادة حساب شروط التصفية"
|
|
8
|
+
},
|
|
9
|
+
shortcut: { "smart-toggle-filter": "تبديل التصفية" },
|
|
10
|
+
panel: {
|
|
11
|
+
"clear-filter": "مسح التصفية",
|
|
12
|
+
cancel: "إلغاء",
|
|
13
|
+
confirm: "تأكيد",
|
|
14
|
+
"by-values": "حسب القيم",
|
|
15
|
+
"by-colors": "حسب الألوان",
|
|
16
|
+
"filter-by-cell-fill-color": "تصفية حسب لون تعبئة الخلية",
|
|
17
|
+
"filter-by-cell-text-color": "تصفية حسب لون نص الخلية",
|
|
18
|
+
"filter-by-color-none": "يحتوي العمود على لون واحد فقط",
|
|
19
|
+
"by-conditions": "حسب الشروط",
|
|
20
|
+
"filter-only": "تصفية فقط",
|
|
21
|
+
"search-placeholder": "استخدم المسافة لفصل الكلمات المفتاحية",
|
|
22
|
+
"select-all": "تحديد الكل",
|
|
23
|
+
"input-values-placeholder": "إدخال القيم",
|
|
24
|
+
and: "و",
|
|
25
|
+
or: "أو",
|
|
26
|
+
empty: "(فارغ)",
|
|
27
|
+
"?": "استخدم \"؟\" لتمثيل حرف واحد.",
|
|
28
|
+
"*": "استخدم \"*\" لتمثيل عدة أحرف."
|
|
29
|
+
},
|
|
30
|
+
conditions: {
|
|
31
|
+
none: "لا شيء",
|
|
32
|
+
empty: "فارغ",
|
|
33
|
+
"not-empty": "غير فارغ",
|
|
34
|
+
"text-contains": "النص يحتوي على",
|
|
35
|
+
"does-not-contain": "النص لا يحتوي على",
|
|
36
|
+
"starts-with": "النص يبدأ بـ",
|
|
37
|
+
"ends-with": "النص ينتهي بـ",
|
|
38
|
+
equals: "النص يساوي",
|
|
39
|
+
"greater-than": "أكبر من",
|
|
40
|
+
"greater-than-or-equal": "أكبر من أو يساوي",
|
|
41
|
+
"less-than": "أقل من",
|
|
42
|
+
"less-than-or-equal": "أقل من أو يساوي",
|
|
43
|
+
equal: "يساوي",
|
|
44
|
+
"not-equal": "لا يساوي",
|
|
45
|
+
between: "بين",
|
|
46
|
+
"not-between": "ليس بين",
|
|
47
|
+
custom: "مخصص"
|
|
48
|
+
},
|
|
49
|
+
date: {
|
|
50
|
+
1: "يناير",
|
|
51
|
+
2: "فبراير",
|
|
52
|
+
3: "مارس",
|
|
53
|
+
4: "أبريل",
|
|
54
|
+
5: "مايو",
|
|
55
|
+
6: "يونيو",
|
|
56
|
+
7: "يوليو",
|
|
57
|
+
8: "أغسطس",
|
|
58
|
+
9: "سبتمبر",
|
|
59
|
+
10: "أكتوبر",
|
|
60
|
+
11: "نوفمبر",
|
|
61
|
+
12: "ديسمبر"
|
|
62
|
+
},
|
|
63
|
+
sync: {
|
|
64
|
+
title: "التصفية مرئية للجميع",
|
|
65
|
+
statusTips: {
|
|
66
|
+
on: "عند التفعيل، سيرى جميع المتعاونين نتائج التصفية",
|
|
67
|
+
off: "عند الإيقاف، سترى نتائج التصفية أنت فقط"
|
|
68
|
+
},
|
|
69
|
+
switchTips: {
|
|
70
|
+
on: "\"التصفية مرئية للجميع\" مفعّلة، سيرى جميع المتعاونين نتائج التصفية",
|
|
71
|
+
off: "\"التصفية مرئية للجميع\" غير مفعّلة، سترى نتائج التصفية أنت فقط"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
} };
|
|
75
|
+
|
|
76
|
+
//#endregion
|
|
77
|
+
module.exports = locale;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/ca-ES.ts
|
|
3
|
-
const locale = { "sheets-filter": {
|
|
3
|
+
const locale = { "sheets-filter-ui": {
|
|
4
4
|
toolbar: {
|
|
5
5
|
"smart-toggle-filter-tooltip": "Alterna el filtre",
|
|
6
6
|
"clear-filter-criteria": "Neteja les condicions del filtre",
|
|
7
7
|
"re-calc-filter-conditions": "Recalcula les condicions del filtre"
|
|
8
8
|
},
|
|
9
|
-
command: { "not-valid-filter-range": "L’interval seleccionat només té una fila i no és vàlid per filtrar." },
|
|
10
9
|
shortcut: { "smart-toggle-filter": "Alterna el filtre" },
|
|
11
10
|
panel: {
|
|
12
11
|
"clear-filter": "Neteja el filtre",
|
|
@@ -47,7 +46,6 @@ const locale = { "sheets-filter": {
|
|
|
47
46
|
"not-between": "No entre",
|
|
48
47
|
custom: "Personalitzat"
|
|
49
48
|
},
|
|
50
|
-
msg: { "filter-header-forbidden": "No pots moure la fila de capçalera d’un filtre." },
|
|
51
49
|
date: {
|
|
52
50
|
1: "Gener",
|
|
53
51
|
2: "Febrer",
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/locale/de-DE.ts
|
|
3
|
+
const locale = { "sheets-filter-ui": {
|
|
4
|
+
toolbar: {
|
|
5
|
+
"smart-toggle-filter-tooltip": "Filter ein-/ausschalten",
|
|
6
|
+
"clear-filter-criteria": "Filterbedingungen löschen",
|
|
7
|
+
"re-calc-filter-conditions": "Filterbedingungen neu berechnen"
|
|
8
|
+
},
|
|
9
|
+
shortcut: { "smart-toggle-filter": "Filter ein-/ausschalten" },
|
|
10
|
+
panel: {
|
|
11
|
+
"clear-filter": "Filter löschen",
|
|
12
|
+
cancel: "Abbrechen",
|
|
13
|
+
confirm: "Bestätigen",
|
|
14
|
+
"by-values": "Nach Werten",
|
|
15
|
+
"by-colors": "Nach Farben",
|
|
16
|
+
"filter-by-cell-fill-color": "Nach Zellenfüllfarbe filtern",
|
|
17
|
+
"filter-by-cell-text-color": "Nach Zellentextfarbe filtern",
|
|
18
|
+
"filter-by-color-none": "Die Spalte enthält nur eine Farbe",
|
|
19
|
+
"by-conditions": "Nach Bedingungen",
|
|
20
|
+
"filter-only": "Nur filtern",
|
|
21
|
+
"search-placeholder": "Verwenden Sie Leerzeichen, um Schlüsselwörter zu trennen",
|
|
22
|
+
"select-all": "Alle auswählen",
|
|
23
|
+
"input-values-placeholder": "Werte eingeben",
|
|
24
|
+
and: "UND",
|
|
25
|
+
or: "ODER",
|
|
26
|
+
empty: "(leer)",
|
|
27
|
+
"?": "Verwenden Sie \"?\" für ein einzelnes Zeichen.",
|
|
28
|
+
"*": "Verwenden Sie \"*\" für mehrere Zeichen."
|
|
29
|
+
},
|
|
30
|
+
conditions: {
|
|
31
|
+
none: "Keine",
|
|
32
|
+
empty: "Ist leer",
|
|
33
|
+
"not-empty": "Ist nicht leer",
|
|
34
|
+
"text-contains": "Text enthält",
|
|
35
|
+
"does-not-contain": "Text enthält nicht",
|
|
36
|
+
"starts-with": "Text beginnt mit",
|
|
37
|
+
"ends-with": "Text endet mit",
|
|
38
|
+
equals: "Text ist gleich",
|
|
39
|
+
"greater-than": "Größer als",
|
|
40
|
+
"greater-than-or-equal": "Größer als oder gleich",
|
|
41
|
+
"less-than": "Kleiner als",
|
|
42
|
+
"less-than-or-equal": "Kleiner als oder gleich",
|
|
43
|
+
equal: "Gleich",
|
|
44
|
+
"not-equal": "Ungleich",
|
|
45
|
+
between: "Zwischen",
|
|
46
|
+
"not-between": "Nicht zwischen",
|
|
47
|
+
custom: "Benutzerdefiniert"
|
|
48
|
+
},
|
|
49
|
+
date: {
|
|
50
|
+
1: "Januar",
|
|
51
|
+
2: "Februar",
|
|
52
|
+
3: "März",
|
|
53
|
+
4: "April",
|
|
54
|
+
5: "Mai",
|
|
55
|
+
6: "Juni",
|
|
56
|
+
7: "Juli",
|
|
57
|
+
8: "August",
|
|
58
|
+
9: "September",
|
|
59
|
+
10: "Oktober",
|
|
60
|
+
11: "November",
|
|
61
|
+
12: "Dezember"
|
|
62
|
+
},
|
|
63
|
+
sync: {
|
|
64
|
+
title: "Filter ist für alle sichtbar",
|
|
65
|
+
statusTips: {
|
|
66
|
+
on: "Wenn eingeschaltet, sehen alle Bearbeiter die Filterergebnisse",
|
|
67
|
+
off: "Wenn ausgeschaltet, sehen nur Sie die Filterergebnisse"
|
|
68
|
+
},
|
|
69
|
+
switchTips: {
|
|
70
|
+
on: "\"Filter ist für alle sichtbar\" ist eingeschaltet, alle Bearbeiter sehen die Filterergebnisse",
|
|
71
|
+
off: "\"Filter ist für alle sichtbar\" ist ausgeschaltet, nur Sie sehen die Filterergebnisse"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
} };
|
|
75
|
+
|
|
76
|
+
//#endregion
|
|
77
|
+
module.exports = locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -15,13 +15,12 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
const locale = { "sheets-filter": {
|
|
18
|
+
const locale = { "sheets-filter-ui": {
|
|
19
19
|
toolbar: {
|
|
20
20
|
"smart-toggle-filter-tooltip": "Toggle Filter",
|
|
21
21
|
"clear-filter-criteria": "Clear Filter Conditions",
|
|
22
22
|
"re-calc-filter-conditions": "Re-calc Filter Conditions"
|
|
23
23
|
},
|
|
24
|
-
command: { "not-valid-filter-range": "The selected range only has one row and not valid for filter." },
|
|
25
24
|
shortcut: { "smart-toggle-filter": "Toggle Filter" },
|
|
26
25
|
panel: {
|
|
27
26
|
"clear-filter": "Clear Filter",
|
|
@@ -62,7 +61,6 @@ const locale = { "sheets-filter": {
|
|
|
62
61
|
"not-between": "Not Between",
|
|
63
62
|
custom: "Custom"
|
|
64
63
|
},
|
|
65
|
-
msg: { "filter-header-forbidden": "You can't move the header row of a filter." },
|
|
66
64
|
date: {
|
|
67
65
|
1: "January",
|
|
68
66
|
2: "February",
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/es-ES.ts
|
|
3
|
-
const locale = { "sheets-filter": {
|
|
3
|
+
const locale = { "sheets-filter-ui": {
|
|
4
4
|
toolbar: {
|
|
5
5
|
"smart-toggle-filter-tooltip": "Alternar filtro",
|
|
6
6
|
"clear-filter-criteria": "Borrar condiciones de filtro",
|
|
7
7
|
"re-calc-filter-conditions": "Recalcular condiciones de filtro"
|
|
8
8
|
},
|
|
9
|
-
command: { "not-valid-filter-range": "El rango seleccionado solo tiene una fila y no es válido para filtrar." },
|
|
10
9
|
shortcut: { "smart-toggle-filter": "Alternar filtro" },
|
|
11
10
|
panel: {
|
|
12
11
|
"clear-filter": "Borrar filtro",
|
|
@@ -47,7 +46,6 @@ const locale = { "sheets-filter": {
|
|
|
47
46
|
"not-between": "No entre",
|
|
48
47
|
custom: "Personalizado"
|
|
49
48
|
},
|
|
50
|
-
msg: { "filter-header-forbidden": "No puedes mover la fila de encabezado de un filtro." },
|
|
51
49
|
date: {
|
|
52
50
|
1: "Enero",
|
|
53
51
|
2: "Febrero",
|