@univerjs/sheets-filter-ui 0.23.0 → 0.24.0-insiders.20260528-29f582d
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 +50 -55
- 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 +50 -55
- 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 +50 -55
- 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 +12 -12
- package/LICENSE +0 -176
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,
|
|
@@ -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,
|
|
@@ -785,10 +785,9 @@ function generateFilterTreeBySort(tree) {
|
|
|
785
785
|
return yearItem;
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
|
-
const isNumeric = (str) => !Number.isNaN(Number(str)) && !Number.isNaN(Number.parseFloat(str));
|
|
789
788
|
function compare(strA, strB) {
|
|
790
|
-
const aIsNumeric = isNumeric(strA);
|
|
791
|
-
const bIsNumeric = isNumeric(strB);
|
|
789
|
+
const aIsNumeric = (0, _univerjs_core.isNumeric)(strA);
|
|
790
|
+
const bIsNumeric = (0, _univerjs_core.isNumeric)(strB);
|
|
792
791
|
if (aIsNumeric && bIsNumeric) return Number.parseFloat(strA) - Number.parseFloat(strB);
|
|
793
792
|
else if (aIsNumeric && !bIsNumeric) return -1;
|
|
794
793
|
else if (!aIsNumeric && bIsNumeric) return 1;
|
|
@@ -1516,7 +1515,7 @@ const ChangeFilterByOperation = {
|
|
|
1516
1515
|
//#endregion
|
|
1517
1516
|
//#region package.json
|
|
1518
1517
|
var name = "@univerjs/sheets-filter-ui";
|
|
1519
|
-
var version = "0.
|
|
1518
|
+
var version = "0.24.0-insiders.20260528-29f582d";
|
|
1520
1519
|
|
|
1521
1520
|
//#endregion
|
|
1522
1521
|
//#region src/config/config.ts
|
|
@@ -1570,7 +1569,7 @@ let SheetsFilterPermissionController = class SheetsFilterPermissionController ex
|
|
|
1570
1569
|
worksheetTypes: [_univerjs_sheets.WorksheetViewPermission, _univerjs_sheets.WorksheetFilterPermission]
|
|
1571
1570
|
});
|
|
1572
1571
|
}
|
|
1573
|
-
if (!permission) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
1572
|
+
if (!permission) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("sheets-filter-ui.permission.filterErr"));
|
|
1574
1573
|
}
|
|
1575
1574
|
if (command.id === OpenFilterPanelOperation.id) {
|
|
1576
1575
|
var _this$_sheetsFilterSe2;
|
|
@@ -1584,7 +1583,7 @@ let SheetsFilterPermissionController = class SheetsFilterPermissionController ex
|
|
|
1584
1583
|
if (!this._sheetPermissionCheckPermission.permissionCheckWithRanges({
|
|
1585
1584
|
rangeTypes: [_univerjs_sheets.RangeProtectionPermissionViewPoint],
|
|
1586
1585
|
worksheetTypes: [_univerjs_sheets.WorksheetFilterPermission, _univerjs_sheets.WorksheetViewPermission]
|
|
1587
|
-
}, [colRange], unitId, subUnitId)) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("permission.
|
|
1586
|
+
}, [colRange], unitId, subUnitId)) this._sheetPermissionCheckPermission.blockExecuteWithoutPermission(this._localeService.t("sheets-filter-ui.permission.filterErr"));
|
|
1588
1587
|
}
|
|
1589
1588
|
}
|
|
1590
1589
|
}));
|
|
@@ -1931,7 +1930,7 @@ function SmartToggleFilterMenuItemFactory(accessor) {
|
|
|
1931
1930
|
id: _univerjs_sheets_filter.SmartToggleSheetsFilterCommand.id,
|
|
1932
1931
|
type: _univerjs_ui.MenuItemType.BUTTON_SELECTOR,
|
|
1933
1932
|
icon: "FilterIcon",
|
|
1934
|
-
tooltip: "sheets-filter.toolbar.smart-toggle-filter-tooltip",
|
|
1933
|
+
tooltip: "sheets-filter-ui.toolbar.smart-toggle-filter-tooltip",
|
|
1935
1934
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
1936
1935
|
activated$: sheetsFilterService.activeFilterModel$.pipe((0, rxjs.map)((model) => !!model)),
|
|
1937
1936
|
disabled$: (0, _univerjs_sheets_ui.getObservableWithExclusiveRange$)(accessor, (0, _univerjs_sheets_ui.getCurrentRangeDisable$)(accessor, {
|
|
@@ -1945,7 +1944,7 @@ function ClearFilterCriteriaMenuItemFactory(accessor) {
|
|
|
1945
1944
|
return {
|
|
1946
1945
|
id: _univerjs_sheets_filter.ClearSheetsFilterCriteriaCommand.id,
|
|
1947
1946
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
1948
|
-
title: "sheets-filter.toolbar.clear-filter-criteria",
|
|
1947
|
+
title: "sheets-filter-ui.toolbar.clear-filter-criteria",
|
|
1949
1948
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
1950
1949
|
disabled$: sheetsFilterService.activeFilterModel$.pipe((0, rxjs.switchMap)((model) => {
|
|
1951
1950
|
var _model$hasCriteria$$p;
|
|
@@ -1958,7 +1957,7 @@ function ReCalcFilterMenuItemFactory(accessor) {
|
|
|
1958
1957
|
return {
|
|
1959
1958
|
id: _univerjs_sheets_filter.ReCalcSheetsFilterCommand.id,
|
|
1960
1959
|
type: _univerjs_ui.MenuItemType.BUTTON,
|
|
1961
|
-
title: "sheets-filter.toolbar.re-calc-filter-conditions",
|
|
1960
|
+
title: "sheets-filter-ui.toolbar.re-calc-filter-conditions",
|
|
1962
1961
|
hidden$: (0, _univerjs_ui.getMenuHiddenObservable)(accessor, _univerjs_core.UniverInstanceType.UNIVER_SHEET),
|
|
1963
1962
|
disabled$: sheetsFilterService.activeFilterModel$.pipe((0, rxjs.switchMap)((model) => {
|
|
1964
1963
|
var _model$hasCriteria$$p2;
|
|
@@ -2007,7 +2006,7 @@ function FilterByColor(props) {
|
|
|
2007
2006
|
children: [
|
|
2008
2007
|
cellFillColors.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2009
2008
|
className: "univer-mb-2 univer-text-sm univer-text-gray-900 dark:!univer-text-white",
|
|
2010
|
-
children: localeService.t("sheets-filter.panel.filter-by-cell-fill-color")
|
|
2009
|
+
children: localeService.t("sheets-filter-ui.panel.filter-by-cell-fill-color")
|
|
2011
2010
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2012
2011
|
className: "univer-grid univer-grid-cols-8 univer-items-center univer-justify-start univer-gap-2",
|
|
2013
2012
|
children: cellFillColors.map((color, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -2022,7 +2021,7 @@ function FilterByColor(props) {
|
|
|
2022
2021
|
})] }),
|
|
2023
2022
|
cellTextColors.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2024
2023
|
className: "univer-mb-2 univer-text-sm univer-text-gray-900 dark:!univer-text-white",
|
|
2025
|
-
children: localeService.t("sheets-filter.panel.filter-by-cell-text-color")
|
|
2024
|
+
children: localeService.t("sheets-filter-ui.panel.filter-by-cell-text-color")
|
|
2026
2025
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2027
2026
|
className: "univer-grid univer-grid-cols-8 univer-items-center univer-justify-start univer-gap-2",
|
|
2028
2027
|
children: cellTextColors.map((color, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -2036,7 +2035,7 @@ function FilterByColor(props) {
|
|
|
2036
2035
|
})] }),
|
|
2037
2036
|
cellFillColors.length <= 1 && cellTextColors.length <= 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2038
2037
|
className: "univer-flex univer-size-full univer-items-center univer-justify-center univer-text-sm univer-text-gray-900 dark:!univer-text-gray-200",
|
|
2039
|
-
children: localeService.t("sheets-filter.panel.filter-by-color-none")
|
|
2038
|
+
children: localeService.t("sheets-filter-ui.panel.filter-by-color-none")
|
|
2040
2039
|
})
|
|
2041
2040
|
]
|
|
2042
2041
|
})
|
|
@@ -2072,7 +2071,7 @@ function FilterByCondition(props) {
|
|
|
2072
2071
|
const onFormParamsChange = (0, react.useCallback)((diffParams) => {
|
|
2073
2072
|
model.onConditionFormChange(diffParams);
|
|
2074
2073
|
}, [model]);
|
|
2075
|
-
const placeholder = localeService.t("sheets-filter.panel.input-values-placeholder");
|
|
2074
|
+
const placeholder = localeService.t("sheets-filter-ui.panel.input-values-placeholder");
|
|
2076
2075
|
function renderSecondaryCondition(operator, val, name) {
|
|
2077
2076
|
const shouldRenderInput = FilterConditionItems.getItemByOperator(operator).numOfParameters === 1;
|
|
2078
2077
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
@@ -2081,10 +2080,10 @@ function FilterByCondition(props) {
|
|
|
2081
2080
|
onChange: onRadioChange,
|
|
2082
2081
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
|
|
2083
2082
|
value: "AND",
|
|
2084
|
-
children: localeService.t("sheets-filter.panel.and")
|
|
2083
|
+
children: localeService.t("sheets-filter-ui.panel.and")
|
|
2085
2084
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Radio, {
|
|
2086
2085
|
value: "OR",
|
|
2087
|
-
children: localeService.t("sheets-filter.panel.or")
|
|
2086
|
+
children: localeService.t("sheets-filter-ui.panel.or")
|
|
2088
2087
|
})]
|
|
2089
2088
|
}),
|
|
2090
2089
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Select, {
|
|
@@ -2117,9 +2116,9 @@ function FilterByCondition(props) {
|
|
|
2117
2116
|
"data-u-comp": "sheets-filter-panel-conditions-desc",
|
|
2118
2117
|
className: "univer-mt-2 univer-text-xs univer-text-gray-500",
|
|
2119
2118
|
children: [
|
|
2120
|
-
localeService.t("sheets-filter.panel.?"),
|
|
2119
|
+
localeService.t("sheets-filter-ui.panel.?"),
|
|
2121
2120
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("br", {}),
|
|
2122
|
-
localeService.t("sheets-filter.panel.*")
|
|
2121
|
+
localeService.t("sheets-filter-ui.panel.*")
|
|
2123
2122
|
]
|
|
2124
2123
|
})
|
|
2125
2124
|
]
|
|
@@ -2218,7 +2217,7 @@ function FilterByValue(props) {
|
|
|
2218
2217
|
const localeService = (0, _univerjs_ui.useDependency)(_univerjs_core.LocaleService);
|
|
2219
2218
|
const searchText = (0, _univerjs_ui.useObservable)(model.searchString$, "", true);
|
|
2220
2219
|
const items = (0, _univerjs_ui.useObservable)(model.filterItems$, void 0, true);
|
|
2221
|
-
const filterOnly = localeService.t("sheets-filter.panel.filter-only");
|
|
2220
|
+
const filterOnly = localeService.t("sheets-filter-ui.panel.filter-only");
|
|
2222
2221
|
const stat = statisticFilterByValueItems(items);
|
|
2223
2222
|
const allChecked = stat.checked > 0 && stat.unchecked === 0;
|
|
2224
2223
|
const indeterminate = stat.checked > 0 && stat.unchecked > 0;
|
|
@@ -2243,7 +2242,7 @@ function FilterByValue(props) {
|
|
|
2243
2242
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Input, {
|
|
2244
2243
|
autoFocus: true,
|
|
2245
2244
|
value: searchText,
|
|
2246
|
-
placeholder: localeService.t("sheets-filter.panel.search-placeholder"),
|
|
2245
|
+
placeholder: localeService.t("sheets-filter-ui.panel.search-placeholder"),
|
|
2247
2246
|
onChange: onSearchValueChange
|
|
2248
2247
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2249
2248
|
"data-u-comp": "sheets-filter-panel",
|
|
@@ -2264,7 +2263,7 @@ function FilterByValue(props) {
|
|
|
2264
2263
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2265
2264
|
"data-u-comp": "sheets-filter-panel-values-item-text",
|
|
2266
2265
|
className: "univer-mx-1 univer-inline-block univer-flex-shrink univer-truncate univer-text-gray-900 dark:!univer-text-white",
|
|
2267
|
-
children: `${localeService.t("sheets-filter.panel.select-all")}`
|
|
2266
|
+
children: `${localeService.t("sheets-filter-ui.panel.select-all")}`
|
|
2268
2267
|
}),
|
|
2269
2268
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2270
2269
|
"data-u-comp": "sheets-filter-panel-values-item-count",
|
|
@@ -2347,15 +2346,15 @@ function FilterSyncSwitch() {
|
|
|
2347
2346
|
className: "univer-mt-2 univer-flex univer-items-center univer-justify-between univer-text-sm univer-text-gray-900 dark:!univer-text-gray-200",
|
|
2348
2347
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2349
2348
|
className: "univer-flex univer-items-center univer-gap-1",
|
|
2350
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: localeService.t("sheets-filter.sync.title") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Tooltip, {
|
|
2351
|
-
title: enabled ? localeService.t("sheets-filter.sync.statusTips.off") : localeService.t("sheets-filter.sync.statusTips.on"),
|
|
2349
|
+
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, {
|
|
2350
|
+
title: enabled ? localeService.t("sheets-filter-ui.sync.statusTips.off") : localeService.t("sheets-filter-ui.sync.statusTips.on"),
|
|
2352
2351
|
asChild: true,
|
|
2353
2352
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.InfoIcon, { className: "univer-block" })
|
|
2354
2353
|
})]
|
|
2355
2354
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Switch, {
|
|
2356
2355
|
defaultChecked: enabled,
|
|
2357
2356
|
onChange: (checked) => {
|
|
2358
|
-
const message = checked ? localeService.t("sheets-filter.sync.switchTips.on") : localeService.t("sheets-filter.sync.switchTips.off");
|
|
2357
|
+
const message = checked ? localeService.t("sheets-filter-ui.sync.switchTips.on") : localeService.t("sheets-filter-ui.sync.switchTips.off");
|
|
2359
2358
|
sheetsFilterSyncController.setEnabled(checked);
|
|
2360
2359
|
messageService.show({
|
|
2361
2360
|
content: message,
|
|
@@ -2433,18 +2432,18 @@ function FilterPanel() {
|
|
|
2433
2432
|
variant: "link",
|
|
2434
2433
|
onClick: onClearCriteria,
|
|
2435
2434
|
disabled: clearFilterDisabled,
|
|
2436
|
-
children: localeService.t("sheets-filter.panel.clear-filter")
|
|
2435
|
+
children: localeService.t("sheets-filter-ui.panel.clear-filter")
|
|
2437
2436
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
2438
2437
|
className: "univer-flex univer-gap-2",
|
|
2439
2438
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
|
|
2440
2439
|
variant: "default",
|
|
2441
2440
|
onClick: onCancel,
|
|
2442
|
-
children: localeService.t("sheets-filter.panel.cancel")
|
|
2441
|
+
children: localeService.t("sheets-filter-ui.panel.cancel")
|
|
2443
2442
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
|
|
2444
2443
|
disabled: !canApply,
|
|
2445
2444
|
variant: "primary",
|
|
2446
2445
|
onClick: onApply,
|
|
2447
|
-
children: localeService.t("sheets-filter.panel.confirm")
|
|
2446
|
+
children: localeService.t("sheets-filter-ui.panel.confirm")
|
|
2448
2447
|
})]
|
|
2449
2448
|
})]
|
|
2450
2449
|
})
|
|
@@ -2454,15 +2453,15 @@ function FilterPanel() {
|
|
|
2454
2453
|
function useFilterByOptions(localeService) {
|
|
2455
2454
|
return (0, react.useMemo)(() => [
|
|
2456
2455
|
{
|
|
2457
|
-
label: localeService.t("sheets-filter.panel.by-values"),
|
|
2456
|
+
label: localeService.t("sheets-filter-ui.panel.by-values"),
|
|
2458
2457
|
value: _univerjs_sheets_filter.FilterBy.VALUES
|
|
2459
2458
|
},
|
|
2460
2459
|
{
|
|
2461
|
-
label: localeService.t("sheets-filter.panel.by-colors"),
|
|
2460
|
+
label: localeService.t("sheets-filter-ui.panel.by-colors"),
|
|
2462
2461
|
value: _univerjs_sheets_filter.FilterBy.COLORS
|
|
2463
2462
|
},
|
|
2464
2463
|
{
|
|
2465
|
-
label: localeService.t("sheets-filter.panel.by-conditions"),
|
|
2464
|
+
label: localeService.t("sheets-filter-ui.panel.by-conditions"),
|
|
2466
2465
|
value: _univerjs_sheets_filter.FilterBy.CONDITIONS
|
|
2467
2466
|
}
|
|
2468
2467
|
], [localeService.getCurrentLocale(), localeService]);
|
|
@@ -2473,9 +2472,10 @@ function useFilterByOptions(localeService) {
|
|
|
2473
2472
|
const SmartToggleFilterShortcut = {
|
|
2474
2473
|
id: _univerjs_sheets_filter.SmartToggleSheetsFilterCommand.id,
|
|
2475
2474
|
binding: _univerjs_ui.KeyCode.L | _univerjs_ui.MetaKeys.CTRL_COMMAND | _univerjs_ui.MetaKeys.SHIFT,
|
|
2476
|
-
description: "sheets-filter.shortcut.smart-toggle-filter",
|
|
2475
|
+
description: "sheets-filter-ui.shortcut.smart-toggle-filter",
|
|
2477
2476
|
preconditions: _univerjs_sheets_ui.whenSheetEditorFocused,
|
|
2478
|
-
group: "4_sheet-edit"
|
|
2477
|
+
group: "4_sheet-edit",
|
|
2478
|
+
groupTitle: "sheets-ui.shortcut.sheet-edit"
|
|
2479
2479
|
};
|
|
2480
2480
|
|
|
2481
2481
|
//#endregion
|
|
@@ -2513,11 +2513,6 @@ let SheetsFilterUIDesktopController = class SheetsFilterUIDesktopController exte
|
|
|
2513
2513
|
_initCommands() {
|
|
2514
2514
|
[
|
|
2515
2515
|
_univerjs_sheets_filter.SmartToggleSheetsFilterCommand,
|
|
2516
|
-
_univerjs_sheets_filter.RemoveSheetFilterCommand,
|
|
2517
|
-
_univerjs_sheets_filter.SetSheetFilterRangeCommand,
|
|
2518
|
-
_univerjs_sheets_filter.SetSheetsFilterCriteriaCommand,
|
|
2519
|
-
_univerjs_sheets_filter.ClearSheetsFilterCriteriaCommand,
|
|
2520
|
-
_univerjs_sheets_filter.ReCalcSheetsFilterCommand,
|
|
2521
2516
|
ChangeFilterByOperation,
|
|
2522
2517
|
OpenFilterPanelOperation,
|
|
2523
2518
|
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",
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fa-IR.ts
|
|
3
|
-
const locale = { "sheets-filter": {
|
|
3
|
+
const locale = { "sheets-filter-ui": {
|
|
4
4
|
toolbar: {
|
|
5
5
|
"smart-toggle-filter-tooltip": "تغییر حالت فیلتر",
|
|
6
6
|
"clear-filter-criteria": "پاک کردن شرایط فیلتر",
|
|
7
7
|
"re-calc-filter-conditions": "بازمحاسبه شرایط فیلتر"
|
|
8
8
|
},
|
|
9
|
-
command: { "not-valid-filter-range": "محدوده انتخاب شده فقط یک ردیف دارد و برای فیلتر معتبر نیست." },
|
|
10
9
|
shortcut: { "smart-toggle-filter": "تغییر حالت فیلتر" },
|
|
11
10
|
panel: {
|
|
12
11
|
"clear-filter": "پاک کردن فیلتر",
|
|
@@ -47,7 +46,6 @@ const locale = { "sheets-filter": {
|
|
|
47
46
|
"not-between": "بین نیست",
|
|
48
47
|
custom: "سفارشی"
|
|
49
48
|
},
|
|
50
|
-
msg: { "filter-header-forbidden": "شما نمیتوانید ردیف هدر یک فیلتر را جابهجا کنید." },
|
|
51
49
|
date: {
|
|
52
50
|
1: "ژانویه",
|
|
53
51
|
2: "فوریه",
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
//#region src/locale/fr-FR.ts
|
|
3
|
-
const locale = { "sheets-filter": {
|
|
3
|
+
const locale = { "sheets-filter-ui": {
|
|
4
4
|
toolbar: {
|
|
5
5
|
"smart-toggle-filter-tooltip": "Inverser le filtre",
|
|
6
6
|
"clear-filter-criteria": "Effacer les conditions de filtre",
|
|
7
7
|
"re-calc-filter-conditions": "Recalculer les conditions de filtre"
|
|
8
8
|
},
|
|
9
|
-
command: { "not-valid-filter-range": "La plage sélectionnée n'a qu'une seule ligne et n'est pas valide pour le filtre." },
|
|
10
9
|
shortcut: { "smart-toggle-filter": "Inverser le filtre" },
|
|
11
10
|
panel: {
|
|
12
11
|
"clear-filter": "Effacer le filtre",
|
|
@@ -47,7 +46,6 @@ const locale = { "sheets-filter": {
|
|
|
47
46
|
"not-between": "Pas entre",
|
|
48
47
|
custom: "Personnalisé"
|
|
49
48
|
},
|
|
50
|
-
msg: { "filter-header-forbidden": "Vous ne pouvez pas déplacer la ligne d'en-tête d'un filtre." },
|
|
51
49
|
date: {
|
|
52
50
|
1: "Jan",
|
|
53
51
|
2: "Fév",
|