@univerjs/sheets 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/facade.js +462 -235
- package/lib/cjs/index.js +68 -56
- package/lib/cjs/locale/ar-SA.js +52 -0
- package/lib/cjs/locale/ca-ES.js +36 -1
- package/lib/cjs/locale/de-DE.js +52 -0
- package/lib/cjs/locale/en-US.js +36 -1
- package/lib/cjs/locale/es-ES.js +36 -1
- package/lib/cjs/locale/fa-IR.js +36 -1
- package/lib/cjs/locale/fr-FR.js +36 -1
- package/lib/cjs/locale/id-ID.js +52 -0
- package/lib/cjs/locale/it-IT.js +52 -0
- package/lib/cjs/locale/ja-JP.js +36 -1
- package/lib/cjs/locale/ko-KR.js +36 -1
- package/lib/cjs/locale/pl-PL.js +52 -0
- package/lib/cjs/locale/pt-BR.js +52 -0
- package/lib/cjs/locale/ru-RU.js +36 -1
- package/lib/cjs/locale/sk-SK.js +36 -1
- package/lib/cjs/locale/vi-VN.js +36 -1
- package/lib/cjs/locale/zh-CN.js +36 -1
- package/lib/cjs/locale/zh-HK.js +52 -0
- package/lib/cjs/locale/zh-TW.js +36 -1
- package/lib/es/facade.js +462 -235
- package/lib/es/index.js +67 -57
- package/lib/es/locale/ar-SA.js +51 -0
- package/lib/es/locale/ca-ES.js +36 -1
- package/lib/es/locale/de-DE.js +51 -0
- package/lib/es/locale/en-US.js +36 -1
- package/lib/es/locale/es-ES.js +36 -1
- package/lib/es/locale/fa-IR.js +36 -1
- package/lib/es/locale/fr-FR.js +36 -1
- package/lib/es/locale/id-ID.js +51 -0
- package/lib/es/locale/it-IT.js +51 -0
- package/lib/es/locale/ja-JP.js +36 -1
- package/lib/es/locale/ko-KR.js +36 -1
- package/lib/es/locale/pl-PL.js +51 -0
- package/lib/es/locale/pt-BR.js +51 -0
- package/lib/es/locale/ru-RU.js +36 -1
- package/lib/es/locale/sk-SK.js +36 -1
- package/lib/es/locale/vi-VN.js +36 -1
- package/lib/es/locale/zh-CN.js +36 -1
- package/lib/es/locale/zh-HK.js +51 -0
- package/lib/es/locale/zh-TW.js +36 -1
- package/lib/facade.js +462 -235
- package/lib/index.js +67 -57
- package/lib/locale/ar-SA.js +51 -0
- package/lib/locale/ca-ES.js +36 -1
- package/lib/locale/de-DE.js +51 -0
- package/lib/locale/en-US.js +36 -1
- package/lib/locale/es-ES.js +36 -1
- package/lib/locale/fa-IR.js +36 -1
- package/lib/locale/fr-FR.js +36 -1
- package/lib/locale/id-ID.js +51 -0
- package/lib/locale/it-IT.js +51 -0
- package/lib/locale/ja-JP.js +36 -1
- package/lib/locale/ko-KR.js +36 -1
- package/lib/locale/pl-PL.js +51 -0
- package/lib/locale/pt-BR.js +51 -0
- package/lib/locale/ru-RU.js +36 -1
- package/lib/locale/sk-SK.js +36 -1
- package/lib/locale/vi-VN.js +36 -1
- package/lib/locale/zh-CN.js +36 -1
- package/lib/locale/zh-HK.js +51 -0
- package/lib/locale/zh-TW.js +36 -1
- package/lib/types/basics/utils.d.ts +2 -0
- package/lib/types/facade/f-range.d.ts +184 -92
- package/lib/types/facade/f-selection.d.ts +15 -8
- package/lib/types/facade/f-workbook.d.ts +12 -5
- package/lib/types/facade/f-worksheet.d.ts +202 -101
- package/lib/types/facade/permission/f-range-permission.d.ts +8 -4
- package/lib/types/facade/permission/f-range-protection-rule.d.ts +18 -9
- package/lib/types/facade/permission/f-worksheet-permission.d.ts +36 -18
- package/lib/types/index.d.ts +1 -1
- 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 +39 -0
- 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/facade.js +1 -1
- 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 +9 -9
package/lib/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AUTO_HEIGHT_FOR_MERGED_CELLS, BORDER_KEYS, BORDER_STYLE_KEYS, BooleanNumber, BorderStyleTypes, BorderType, BuildTextUtils, COLOR_STYLE_KEYS, CellModeEnum, CellValueType, CommandType, CustomCommandExecutionError, DependentOn, Dimension, Direction, Disposable, DisposableCollection, DocumentDataModel, ErrorService, FontItalic, FontWeight, HorizontalAlign, IAuthzIoService, ICommandService, IConfigService, IConfirmService, IContextService, ILogService, IPermissionService, IResourceManagerService, IS_ROW_STYLE_PRECEDE_COLUMN_STYLE, IUndoRedoService, IUniverInstanceService, Inject, Injector, InterceptorEffectEnum, InterceptorManager, LRUMap, LocaleService, MAX_COLUMN_COUNT, MAX_ROW_COUNT, ObjectMatrix, Optional, PADDING_KEYS, PermissionStatus, Plugin, RANGE_TYPE, RTree, Range, Rectangle, RxDisposable, STYLE_KEYS, TEXT_DECORATION_KEYS, TEXT_ROTATION_KEYS, TextX, Tools, UniverInstanceType, UserManagerService, cellToRange, cloneWorksheetData, composeInterceptors, concatMatrixArray, createIdentifier, createInterceptorKey, createRowColIter, generateRandomId, getArrayLength, isBooleanString, isDefaultFormat, isFormulaId, isFormulaString, isICellData, isRealNum, isSafeNumeric, isTextFormat, mapObjectMatrix, merge, mergeIntervals, mergeOverrideWithDependencies, mergeWorksheetSnapshotWithDefault, moveMatrixArray, normalizeTextRuns, numfmt, queryObjectMatrix, registerDependencies, remove, selectionToArray, sequenceExecute, sliceMatrixArray, spliceArray, throttle, toDisposable, touchDependencies, willLoseNumericPrecision } from "@univerjs/core";
|
|
1
|
+
import { AUTO_HEIGHT_FOR_MERGED_CELLS, BORDER_KEYS, BORDER_STYLE_KEYS, BooleanNumber, BorderStyleTypes, BorderType, BuildTextUtils, COLOR_STYLE_KEYS, CellModeEnum, CellValueType, CommandType, CustomCommandExecutionError, DependentOn, Dimension, Direction, Disposable, DisposableCollection, DocumentDataModel, ErrorService, FontItalic, FontWeight, HorizontalAlign, IAuthzIoService, ICommandService, IConfigService, IConfirmService, IContextService, ILogService, IPermissionService, IResourceManagerService, IS_ROW_STYLE_PRECEDE_COLUMN_STYLE, IUndoRedoService, IUniverInstanceService, Inject, Injector, InterceptorEffectEnum, InterceptorManager, LRUMap, LocaleService, MAX_COLUMN_COUNT, MAX_ROW_COUNT, ObjectMatrix, Optional, PADDING_KEYS, PermissionStatus, Plugin, RANGE_TYPE, RTree, Range, Rectangle, RxDisposable, STYLE_KEYS, TEXT_DECORATION_KEYS, TEXT_ROTATION_KEYS, TextX, Tools, UniverInstanceType, UserManagerService, cellToRange, cloneWorksheetData, composeInterceptors, concatMatrixArray, createIdentifier, createInterceptorKey, createRowColIter, escapeRegExp, generateRandomId, getArrayLength, isBooleanString, isDefaultFormat, isFormulaId, isFormulaString, isICellData, isRealNum, isSafeNumeric, isTextFormat, mapObjectMatrix, merge, mergeIntervals, mergeOverrideWithDependencies, mergeWorksheetSnapshotWithDefault, moveMatrixArray, normalizeTextRuns, numfmt, queryObjectMatrix, registerDependencies, remove, selectionToArray, sequenceExecute, sliceMatrixArray, spliceArray, throttle, toDisposable, touchDependencies, willLoseNumericPrecision } from "@univerjs/core";
|
|
2
2
|
import { BehaviorSubject, Subject, distinctUntilChanged, filter, first, map, merge as merge$1, of, share, shareReplay, skip, switchMap, takeUntil } from "rxjs";
|
|
3
3
|
import { IDefinedNamesService, LexerTreeBuilder, RemoveDefinedNameMutation, SetDefinedNameMutation, SetDefinedNameMutationFactory, SetFormulaCalculationResultMutation, UniverFormulaEnginePlugin, deserializeRangeWithSheet, deserializeRangeWithSheetWithCache, handleNumfmtInCell, isReferenceStringWithEffectiveColumn, operatorToken, sequenceNodeType, stripErrorMargin } from "@univerjs/engine-formula";
|
|
4
4
|
import { SpreadsheetSkeleton, hasCJKText, precisionTo } from "@univerjs/engine-render";
|
|
@@ -158,7 +158,7 @@ const RangeThemeInterceptorId = "sheet.interceptor.range-theme-id";
|
|
|
158
158
|
const IgnoreRangeThemeInterceptorKey = "sheet.interceptor.ignore-range-theme";
|
|
159
159
|
|
|
160
160
|
//#endregion
|
|
161
|
-
//#region \0@oxc-project+runtime@0.
|
|
161
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
162
162
|
function _typeof(o) {
|
|
163
163
|
"@babel/helpers - typeof";
|
|
164
164
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -169,7 +169,7 @@ function _typeof(o) {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
//#endregion
|
|
172
|
-
//#region \0@oxc-project+runtime@0.
|
|
172
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
173
173
|
function toPrimitive(t, r) {
|
|
174
174
|
if ("object" != _typeof(t) || !t) return t;
|
|
175
175
|
var e = t[Symbol.toPrimitive];
|
|
@@ -182,14 +182,14 @@ function toPrimitive(t, r) {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
//#endregion
|
|
185
|
-
//#region \0@oxc-project+runtime@0.
|
|
185
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
186
186
|
function toPropertyKey(t) {
|
|
187
187
|
var i = toPrimitive(t, "string");
|
|
188
188
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
//#endregion
|
|
192
|
-
//#region \0@oxc-project+runtime@0.
|
|
192
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
193
193
|
function _defineProperty(e, r, t) {
|
|
194
194
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
195
195
|
value: t,
|
|
@@ -200,7 +200,7 @@ function _defineProperty(e, r, t) {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
//#endregion
|
|
203
|
-
//#region \0@oxc-project+runtime@0.
|
|
203
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
|
|
204
204
|
function __decorateParam(paramIndex, decorator) {
|
|
205
205
|
return function(target, key) {
|
|
206
206
|
decorator(target, key, paramIndex);
|
|
@@ -208,7 +208,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
//#endregion
|
|
211
|
-
//#region \0@oxc-project+runtime@0.
|
|
211
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
212
212
|
function __decorate(decorators, target, key, desc) {
|
|
213
213
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
214
214
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3077,21 +3077,21 @@ function getSkeletonChangedEffectedRange(commandInfo, columnCount) {
|
|
|
3077
3077
|
//#endregion
|
|
3078
3078
|
//#region src/basics/defined-name-utils.ts
|
|
3079
3079
|
function validateDefinedName(name, options) {
|
|
3080
|
-
if (name.length === 0) return "definedName.nameEmpty";
|
|
3080
|
+
if (name.length === 0) return "sheets.definedName.nameEmpty";
|
|
3081
3081
|
const { unitId, formulaOrRefString, univerInstanceService, definedNamesService, superTableService, functionService, id } = options;
|
|
3082
3082
|
/**
|
|
3083
3083
|
* The defined name can't be duplicate with existing defined names.
|
|
3084
3084
|
* If id is provided, it means we are updating an existing defined name. We should allow the name to be the same as itself.
|
|
3085
3085
|
*/
|
|
3086
3086
|
const existingDefinedName = definedNamesService.getValueByName(unitId, name);
|
|
3087
|
-
if (existingDefinedName && (id === null || id === void 0 || id.length === 0 || existingDefinedName.id !== id)) return "definedName.nameDuplicate";
|
|
3088
|
-
if (superTableService.hasTable(unitId, name)) return "definedName.nameDuplicate";
|
|
3089
|
-
if (!Tools.isValidParameter(name) || isReferenceStringWithEffectiveColumn(name) || !Tools.isStartValidPosition(name) && !hasCJKText(name.substring(0, 1))) return "definedName.nameInvalid";
|
|
3087
|
+
if (existingDefinedName && (id === null || id === void 0 || id.length === 0 || existingDefinedName.id !== id)) return "sheets.definedName.nameDuplicate";
|
|
3088
|
+
if (superTableService.hasTable(unitId, name)) return "sheets.definedName.nameDuplicate";
|
|
3089
|
+
if (!Tools.isValidParameter(name) || isReferenceStringWithEffectiveColumn(name) || !Tools.isStartValidPosition(name) && !hasCJKText(name.substring(0, 1))) return "sheets.definedName.nameInvalid";
|
|
3090
3090
|
const workbook = univerInstanceService.getUnit(unitId, UniverInstanceType.UNIVER_SHEET);
|
|
3091
3091
|
if (!workbook) throw new Error(`Workbook not found for unitId: ${unitId}`);
|
|
3092
|
-
if (workbook.getSheets().some((sheet) => sheet.getName() === name)) return "definedName.nameSheetConflict";
|
|
3093
|
-
if (formulaOrRefString.length === 0) return "definedName.formulaOrRefStringEmpty";
|
|
3094
|
-
if (functionService.hasExecutor(name.toUpperCase())) return "definedName.nameConflict";
|
|
3092
|
+
if (workbook.getSheets().some((sheet) => sheet.getName() === name)) return "sheets.definedName.nameSheetConflict";
|
|
3093
|
+
if (formulaOrRefString.length === 0) return "sheets.definedName.formulaOrRefStringEmpty";
|
|
3094
|
+
if (functionService.hasExecutor(name.toUpperCase())) return "sheets.definedName.nameConflict";
|
|
3095
3095
|
return true;
|
|
3096
3096
|
}
|
|
3097
3097
|
|
|
@@ -3693,9 +3693,6 @@ function getDelimiterRegexItem(delimiter, treatMultipleDelimitersAsOne, customDe
|
|
|
3693
3693
|
if (treatMultipleDelimitersAsOne) allStr += "+";
|
|
3694
3694
|
return new RegExp(allStr);
|
|
3695
3695
|
}
|
|
3696
|
-
function escapeRegExp(str) {
|
|
3697
|
-
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
3698
|
-
}
|
|
3699
3696
|
const getStringFromDataStream = (data) => {
|
|
3700
3697
|
var _data$body;
|
|
3701
3698
|
return ((_data$body = data.body) === null || _data$body === void 0 ? void 0 : _data$body.dataStream.replace(/\r\n$/, "")) || "";
|
|
@@ -3888,6 +3885,16 @@ function getVisibleRanges(ranges, accessor, unitId, subUnitId) {
|
|
|
3888
3885
|
}
|
|
3889
3886
|
return visibleRanges;
|
|
3890
3887
|
}
|
|
3888
|
+
function serializeListOptions(options) {
|
|
3889
|
+
return JSON.stringify(options.filter(Boolean));
|
|
3890
|
+
}
|
|
3891
|
+
function deserializeListOptions(optionsStr) {
|
|
3892
|
+
try {
|
|
3893
|
+
const options = JSON.parse(optionsStr);
|
|
3894
|
+
if (Array.isArray(options) && options.every((option) => typeof option === "string")) return options.filter(Boolean);
|
|
3895
|
+
} catch {}
|
|
3896
|
+
return optionsStr.split(",").filter(Boolean);
|
|
3897
|
+
}
|
|
3891
3898
|
|
|
3892
3899
|
//#endregion
|
|
3893
3900
|
//#region src/model/range-protection-rule.model.ts
|
|
@@ -4324,7 +4331,10 @@ let SheetsSelectionsService = class SheetsSelectionsService extends RxDisposable
|
|
|
4324
4331
|
this._init();
|
|
4325
4332
|
}
|
|
4326
4333
|
_init() {
|
|
4327
|
-
const c$ = this._instanceSrv.getCurrentTypeOfUnit$(UniverInstanceType.UNIVER_SHEET).pipe(shareReplay(
|
|
4334
|
+
const c$ = this._instanceSrv.getCurrentTypeOfUnit$(UniverInstanceType.UNIVER_SHEET).pipe(shareReplay({
|
|
4335
|
+
bufferSize: 1,
|
|
4336
|
+
refCount: true
|
|
4337
|
+
}), takeUntil(this.dispose$));
|
|
4328
4338
|
this.selectionMoveStart$ = c$.pipe(switchMap((workbook) => !workbook ? of() : this._ensureWorkbookSelection(workbook.getUnitId()).selectionMoveStart$), takeUntil(this.dispose$));
|
|
4329
4339
|
this.selectionMoving$ = c$.pipe(switchMap((workbook) => !workbook ? of() : this._ensureWorkbookSelection(workbook.getUnitId()).selectionMoving$), takeUntil(this.dispose$));
|
|
4330
4340
|
this.selectionMoveEnd$ = c$.pipe(switchMap((workbook) => !workbook ? of([]) : this._ensureWorkbookSelection(workbook.getUnitId()).selectionMoveEnd$), takeUntil(this.dispose$));
|
|
@@ -9805,10 +9815,10 @@ const AddWorksheetMergeCommand = {
|
|
|
9805
9815
|
const localeService = accessor.get(LocaleService);
|
|
9806
9816
|
if (!await confirmService.confirm({
|
|
9807
9817
|
id: "merge.confirm.add-worksheet-merge",
|
|
9808
|
-
title: { title: "merge.confirm.warning" },
|
|
9809
|
-
children: { title: "merge.confirm.title" },
|
|
9810
|
-
cancelText: localeService.t("merge.confirm.cancel"),
|
|
9811
|
-
confirmText: localeService.t("merge.confirm.confirm")
|
|
9818
|
+
title: { title: "sheets.merge.confirm.warning" },
|
|
9819
|
+
children: { title: "sheets.merge.confirm.title" },
|
|
9820
|
+
cancelText: localeService.t("sheets.merge.confirm.cancel"),
|
|
9821
|
+
confirmText: localeService.t("sheets.merge.confirm.confirm")
|
|
9812
9822
|
})) return false;
|
|
9813
9823
|
}
|
|
9814
9824
|
const redoMutations = [];
|
|
@@ -11745,22 +11755,22 @@ let AutoFillService = class AutoFillService extends Disposable {
|
|
|
11745
11755
|
_defineProperty(this, "applyType$", this._applyType$.asObservable());
|
|
11746
11756
|
_defineProperty(this, "_menu$", new BehaviorSubject([
|
|
11747
11757
|
{
|
|
11748
|
-
label: "autoFill.copy",
|
|
11758
|
+
label: "sheets.autoFill.copy",
|
|
11749
11759
|
value: "COPY",
|
|
11750
11760
|
disable: false
|
|
11751
11761
|
},
|
|
11752
11762
|
{
|
|
11753
|
-
label: "autoFill.series",
|
|
11763
|
+
label: "sheets.autoFill.series",
|
|
11754
11764
|
value: "SERIES",
|
|
11755
11765
|
disable: false
|
|
11756
11766
|
},
|
|
11757
11767
|
{
|
|
11758
|
-
label: "autoFill.formatOnly",
|
|
11768
|
+
label: "sheets.autoFill.formatOnly",
|
|
11759
11769
|
value: "ONLY_FORMAT",
|
|
11760
11770
|
disable: false
|
|
11761
11771
|
},
|
|
11762
11772
|
{
|
|
11763
|
-
label: "autoFill.noFormat",
|
|
11773
|
+
label: "sheets.autoFill.noFormat",
|
|
11764
11774
|
value: "NO_FORMAT",
|
|
11765
11775
|
disable: false
|
|
11766
11776
|
}
|
|
@@ -17885,14 +17895,14 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17885
17895
|
params = commandInfo.params;
|
|
17886
17896
|
if (isICellData(params.value) && params.value.f) {
|
|
17887
17897
|
permission = this._permissionCheckWithFormula(params);
|
|
17888
|
-
errorMsg = this._localeService.t("permission.dialog.formulaErr");
|
|
17898
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.formulaErr");
|
|
17889
17899
|
} else {
|
|
17890
17900
|
permission = this._permissionCheckBySetRangeValue({
|
|
17891
17901
|
workbookTypes: [WorkbookEditablePermission],
|
|
17892
17902
|
worksheetTypes: [WorksheetSetCellValuePermission, WorksheetEditPermission],
|
|
17893
17903
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17894
17904
|
}, params);
|
|
17895
|
-
errorMsg = this._localeService.t("permission.dialog.editErr");
|
|
17905
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.editErr");
|
|
17896
17906
|
}
|
|
17897
17907
|
break;
|
|
17898
17908
|
case SetStyleCommand.id:
|
|
@@ -17902,7 +17912,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17902
17912
|
worksheetTypes: [WorksheetSetCellStylePermission, WorksheetEditPermission],
|
|
17903
17913
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17904
17914
|
}, params.range ? [params.range] : void 0, params.unitId, params.subUnitId);
|
|
17905
|
-
errorMsg = this._localeService.t("permission.dialog.setStyleErr");
|
|
17915
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setStyleErr");
|
|
17906
17916
|
break;
|
|
17907
17917
|
case SetBorderCommand.id:
|
|
17908
17918
|
params = commandInfo.params;
|
|
@@ -17911,7 +17921,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17911
17921
|
worksheetTypes: [WorksheetSetCellStylePermission, WorksheetEditPermission],
|
|
17912
17922
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17913
17923
|
}, params === null || params === void 0 ? void 0 : params.ranges, params === null || params === void 0 ? void 0 : params.unitId, params === null || params === void 0 ? void 0 : params.subUnitId);
|
|
17914
|
-
errorMsg = this._localeService.t("permission.dialog.setStyleErr");
|
|
17924
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setStyleErr");
|
|
17915
17925
|
break;
|
|
17916
17926
|
case ClearSelectionAllCommand.id:
|
|
17917
17927
|
params = commandInfo.params;
|
|
@@ -17924,7 +17934,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17924
17934
|
],
|
|
17925
17935
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17926
17936
|
}, params === null || params === void 0 ? void 0 : params.ranges, params === null || params === void 0 ? void 0 : params.unitId, params === null || params === void 0 ? void 0 : params.subUnitId);
|
|
17927
|
-
errorMsg = this._localeService.t("permission.dialog.editErr");
|
|
17937
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.editErr");
|
|
17928
17938
|
break;
|
|
17929
17939
|
case ClearSelectionContentCommand.id:
|
|
17930
17940
|
params = commandInfo.params;
|
|
@@ -17933,7 +17943,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17933
17943
|
worksheetTypes: [WorksheetSetCellValuePermission, WorksheetEditPermission],
|
|
17934
17944
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17935
17945
|
}, params === null || params === void 0 ? void 0 : params.ranges, params === null || params === void 0 ? void 0 : params.unitId, params === null || params === void 0 ? void 0 : params.subUnitId);
|
|
17936
|
-
errorMsg = this._localeService.t("permission.dialog.editErr");
|
|
17946
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.editErr");
|
|
17937
17947
|
break;
|
|
17938
17948
|
case ClearSelectionFormatCommand.id:
|
|
17939
17949
|
params = commandInfo.params;
|
|
@@ -17942,43 +17952,43 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17942
17952
|
worksheetTypes: [WorksheetSetCellStylePermission, WorksheetEditPermission],
|
|
17943
17953
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17944
17954
|
}, params === null || params === void 0 ? void 0 : params.ranges, params === null || params === void 0 ? void 0 : params.unitId, params === null || params === void 0 ? void 0 : params.subUnitId);
|
|
17945
|
-
errorMsg = this._localeService.t("permission.dialog.setStyleErr");
|
|
17955
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setStyleErr");
|
|
17946
17956
|
break;
|
|
17947
17957
|
case DeltaColumnWidthCommand.id:
|
|
17948
17958
|
permission = this.permissionCheckWithoutRange({ worksheetTypes: [WorksheetSetColumnStylePermission] });
|
|
17949
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
17959
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
17950
17960
|
break;
|
|
17951
17961
|
case SetColWidthCommand.id:
|
|
17952
17962
|
params = commandInfo.params;
|
|
17953
17963
|
permission = this.permissionCheckWithoutRange({ worksheetTypes: [WorksheetSetColumnStylePermission] }, params.unitId, params.subUnitId);
|
|
17954
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
17964
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
17955
17965
|
break;
|
|
17956
17966
|
case DeltaRowHeightCommand.id:
|
|
17957
17967
|
permission = this.permissionCheckWithoutRange({ worksheetTypes: [WorksheetSetRowStylePermission] });
|
|
17958
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
17968
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
17959
17969
|
break;
|
|
17960
17970
|
case SetRowHeightCommand.id:
|
|
17961
17971
|
case SetWorksheetRowIsAutoHeightCommand.id:
|
|
17962
17972
|
params = commandInfo.params;
|
|
17963
17973
|
permission = this.permissionCheckWithoutRange({ worksheetTypes: [WorksheetSetRowStylePermission] }, params.unitId, params.subUnitId);
|
|
17964
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
17974
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
17965
17975
|
break;
|
|
17966
17976
|
case MoveRowsCommand.id:
|
|
17967
17977
|
case MoveColsCommand.id:
|
|
17968
17978
|
params = commandInfo.params;
|
|
17969
17979
|
permission = this._permissionCheckByMoveRowsColsCommand(params);
|
|
17970
|
-
errorMsg = this._localeService.t("permission.dialog.moveRowColErr");
|
|
17980
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.moveRowColErr");
|
|
17971
17981
|
break;
|
|
17972
17982
|
case MoveRangeCommand.id:
|
|
17973
17983
|
params = commandInfo.params;
|
|
17974
17984
|
permission = this._permissionCheckByMoveRangeCommand(params);
|
|
17975
|
-
errorMsg = this._localeService.t("permission.dialog.moveRangeErr");
|
|
17985
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.moveRangeErr");
|
|
17976
17986
|
break;
|
|
17977
17987
|
case InsertRowByRangeCommand.id:
|
|
17978
17988
|
case InsertColByRangeCommand.id:
|
|
17979
17989
|
params = commandInfo.params;
|
|
17980
17990
|
permission = this._permissionCheckByInsertRowColCommand(params);
|
|
17981
|
-
errorMsg = this._localeService.t("permission.dialog.insertRowColErr");
|
|
17991
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.insertRowColErr");
|
|
17982
17992
|
break;
|
|
17983
17993
|
case RemoveRowByRangeCommand.id:
|
|
17984
17994
|
params = commandInfo.params;
|
|
@@ -17987,7 +17997,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17987
17997
|
worksheetTypes: [WorksheetEditPermission, WorksheetDeleteRowPermission],
|
|
17988
17998
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17989
17999
|
}, [params.range], params.unitId, params.subUnitId);
|
|
17990
|
-
errorMsg = this._localeService.t("permission.dialog.removeRowColErr");
|
|
18000
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.removeRowColErr");
|
|
17991
18001
|
break;
|
|
17992
18002
|
case RemoveColByRangeCommand.id:
|
|
17993
18003
|
params = commandInfo.params;
|
|
@@ -17996,22 +18006,22 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
17996
18006
|
worksheetTypes: [WorksheetEditPermission, WorksheetDeleteColumnPermission],
|
|
17997
18007
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
17998
18008
|
}, [params.range], params.unitId, params.subUnitId);
|
|
17999
|
-
errorMsg = this._localeService.t("permission.dialog.removeRowColErr");
|
|
18009
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.removeRowColErr");
|
|
18000
18010
|
break;
|
|
18001
18011
|
case SetWorksheetOrderCommand.id:
|
|
18002
18012
|
params = commandInfo.params;
|
|
18003
18013
|
permission = this._permissionCheckByWorksheetCommand([WorkbookEditablePermission, WorkbookMoveSheetPermission], params);
|
|
18004
|
-
errorMsg = this._localeService.t("permission.dialog.operatorSheetErr");
|
|
18014
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.operatorSheetErr");
|
|
18005
18015
|
break;
|
|
18006
18016
|
case SetWorksheetNameCommand.id:
|
|
18007
18017
|
params = commandInfo.params;
|
|
18008
18018
|
permission = this._permissionCheckByWorksheetCommand([WorkbookEditablePermission, WorkbookRenameSheetPermission], params);
|
|
18009
|
-
errorMsg = this._localeService.t("permission.dialog.operatorSheetErr");
|
|
18019
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.operatorSheetErr");
|
|
18010
18020
|
break;
|
|
18011
18021
|
case SetWorksheetShowCommand.id:
|
|
18012
18022
|
params = commandInfo.params;
|
|
18013
18023
|
permission = this._permissionCheckByWorksheetCommand([WorkbookEditablePermission, WorkbookHideSheetPermission], params);
|
|
18014
|
-
errorMsg = this._localeService.t("permission.dialog.operatorSheetErr");
|
|
18024
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.operatorSheetErr");
|
|
18015
18025
|
break;
|
|
18016
18026
|
case SetSpecificColsVisibleCommand.id:
|
|
18017
18027
|
params = commandInfo.params;
|
|
@@ -18020,7 +18030,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
18020
18030
|
worksheetTypes: [WorksheetEditPermission, WorksheetSetColumnStylePermission],
|
|
18021
18031
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
18022
18032
|
}, params.ranges, params.unitId, params.subUnitId);
|
|
18023
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
18033
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
18024
18034
|
break;
|
|
18025
18035
|
case SetSpecificRowsVisibleCommand.id:
|
|
18026
18036
|
params = commandInfo.params;
|
|
@@ -18029,7 +18039,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
18029
18039
|
worksheetTypes: [WorksheetEditPermission, WorksheetSetRowStylePermission],
|
|
18030
18040
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
18031
18041
|
}, params.ranges, params.unitId, params.subUnitId);
|
|
18032
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
18042
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
18033
18043
|
break;
|
|
18034
18044
|
case SetSelectedColsVisibleCommand.id:
|
|
18035
18045
|
permission = this.permissionCheckWithRanges({
|
|
@@ -18037,7 +18047,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
18037
18047
|
worksheetTypes: [WorksheetEditPermission, WorksheetSetColumnStylePermission],
|
|
18038
18048
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
18039
18049
|
});
|
|
18040
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
18050
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
18041
18051
|
break;
|
|
18042
18052
|
case SetSelectedRowsVisibleCommand.id:
|
|
18043
18053
|
permission = this.permissionCheckWithRanges({
|
|
@@ -18045,27 +18055,27 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
18045
18055
|
worksheetTypes: [WorksheetEditPermission, WorksheetSetRowStylePermission],
|
|
18046
18056
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
18047
18057
|
});
|
|
18048
|
-
errorMsg = this._localeService.t("permission.dialog.setRowColStyleErr");
|
|
18058
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.setRowColStyleErr");
|
|
18049
18059
|
break;
|
|
18050
18060
|
case InsertRangeMoveRightCommand.id:
|
|
18051
18061
|
params = commandInfo.params;
|
|
18052
18062
|
permission = this._permissionCheckWithInsertOrDeleteMoveRange("right", params);
|
|
18053
|
-
errorMsg = this._localeService.t("permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18063
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18054
18064
|
break;
|
|
18055
18065
|
case InsertRangeMoveDownCommand.id:
|
|
18056
18066
|
params = commandInfo.params;
|
|
18057
18067
|
permission = this._permissionCheckWithInsertOrDeleteMoveRange("down", params);
|
|
18058
|
-
errorMsg = this._localeService.t("permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18068
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18059
18069
|
break;
|
|
18060
18070
|
case DeleteRangeMoveLeftCommand.id:
|
|
18061
18071
|
params = commandInfo.params;
|
|
18062
18072
|
permission = this._permissionCheckWithInsertOrDeleteMoveRange("left", params);
|
|
18063
|
-
errorMsg = this._localeService.t("permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18073
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18064
18074
|
break;
|
|
18065
18075
|
case DeleteRangeMoveUpCommand.id:
|
|
18066
18076
|
params = commandInfo.params;
|
|
18067
18077
|
permission = this._permissionCheckWithInsertOrDeleteMoveRange("up", params);
|
|
18068
|
-
errorMsg = this._localeService.t("permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18078
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.insertOrDeleteMoveRangeErr");
|
|
18069
18079
|
break;
|
|
18070
18080
|
case AutoFillCommand.id:
|
|
18071
18081
|
params = commandInfo.params;
|
|
@@ -18074,7 +18084,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
18074
18084
|
worksheetTypes: [WorksheetSetCellValuePermission, WorksheetEditPermission],
|
|
18075
18085
|
rangeTypes: [RangeProtectionPermissionEditPoint]
|
|
18076
18086
|
}, [params.targetRange], params.unitId, params.subUnitId);
|
|
18077
|
-
errorMsg = this._localeService.t("permission.dialog.autoFillErr");
|
|
18087
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.autoFillErr");
|
|
18078
18088
|
break;
|
|
18079
18089
|
case InsertDefinedNameCommand.id:
|
|
18080
18090
|
case SetDefinedNameCommand.id:
|
|
@@ -18085,7 +18095,7 @@ let SheetPermissionCheckController = class SheetPermissionCheckController extend
|
|
|
18085
18095
|
workbookTypes: [WorkbookEditablePermission],
|
|
18086
18096
|
worksheetTypes: [WorksheetEditPermission]
|
|
18087
18097
|
}, params.unitId, params.localSheetId);
|
|
18088
|
-
errorMsg = this._localeService.t("permission.dialog.editErr");
|
|
18098
|
+
errorMsg = this._localeService.t("sheets.permission.dialog.editErr");
|
|
18089
18099
|
break;
|
|
18090
18100
|
default: break;
|
|
18091
18101
|
}
|
|
@@ -19222,7 +19232,7 @@ RangeProtectionCache = __decorate([
|
|
|
19222
19232
|
//#endregion
|
|
19223
19233
|
//#region package.json
|
|
19224
19234
|
var name = "@univerjs/sheets";
|
|
19225
|
-
var version = "0.
|
|
19235
|
+
var version = "0.25.0";
|
|
19226
19236
|
|
|
19227
19237
|
//#endregion
|
|
19228
19238
|
//#region src/controllers/active-worksheet.controller.ts
|
|
@@ -21216,4 +21226,4 @@ function convertPositionCellToSheetOverGrid(unitId, subUnitId, cellOverGridPosit
|
|
|
21216
21226
|
}
|
|
21217
21227
|
|
|
21218
21228
|
//#endregion
|
|
21219
|
-
export { AFFECT_LAYOUT_STYLES, AFTER_CELL_EDIT, AUTO_FILL_APPLY_TYPE, AUTO_FILL_DATA_TYPE, AUTO_FILL_HOOK_TYPE, AddMergeRedoSelectionsOperationFactory, AddMergeUndoMutationFactory, AddMergeUndoSelectionsOperationFactory, AddRangeProtectionCommand, AddRangeProtectionMutation, AddRangeThemeMutation, AddWorksheetMergeAllCommand, AddWorksheetMergeCommand, AddWorksheetMergeHorizontalCommand, AddWorksheetMergeMutation, AddWorksheetMergeVerticalCommand, AddWorksheetProtectionCommand, AddWorksheetProtectionMutation, AppendRowCommand, AutoClearContentCommand, AutoFillCommand, AutoFillController, AutoFillRules, AutoFillService, AutoFillTools, BEFORE_CELL_EDIT, BorderStyleManagerService, COMMAND_LISTENER_SKELETON_CHANGE, COMMAND_LISTENER_VALUE_CHANGE, CancelFrozenCommand, CancelMarkDirtyRowAutoHeightOperation, ClearSelectionAllCommand, ClearSelectionContentCommand, ClearSelectionFormatCommand, CopySheetCommand, CopyWorksheetEndMutation, DISABLE_NORMAL_SELECTIONS, DefinedNameDataController, DeleteRangeMoveLeftCommand, DeleteRangeMoveUpCommand, DeleteRangeProtectionCommand, DeleteRangeProtectionMutation, DeleteWorksheetProtectionCommand, DeleteWorksheetProtectionMutation, DeleteWorksheetRangeThemeStyleCommand, DeleteWorksheetRangeThemeStyleMutation, DeleteWorksheetRangeThemeStyleMutationFactory, DeltaColumnWidthCommand, DeltaRowHeightCommand, EditStateEnum, EffectRefRangId, EmptyMutation, ExclusiveRangeService, FactoryAddRangeProtectionMutation, FactoryDeleteRangeProtectionMutation, FactorySetRangeProtectionMutation, IAutoFillService, IExclusiveRangeService, INTERCEPTOR_POINT, INumfmtService, IRefSelectionsService, InsertColAfterCommand, InsertColBeforeCommand, InsertColByRangeCommand, InsertColCommand, InsertColMutation, InsertColMutationUndoFactory, InsertDefinedNameCommand, InsertMultiColsLeftCommand, InsertMultiColsRightCommand, InsertMultiRowsAboveCommand, InsertMultiRowsAfterCommand, InsertRangeMoveDownCommand, InsertRangeMoveRightCommand, InsertRowAfterCommand, InsertRowBeforeCommand, InsertRowByRangeCommand, InsertRowCommand, InsertRowMutation, InsertRowMutationUndoFactory, InsertSheetCommand, InsertSheetMutation, InsertSheetUndoMutationFactory, InterceptCellContentPriority, MAX_CELL_PER_SHEET_KEY, MERGE_CELL_INTERCEPTOR_CHECK, MarkDirtyFilterChangeMutation, MarkDirtyRowAutoHeightOperation, MergeCellController, MoveColsCommand, MoveColsMutation, MoveColsMutationUndoFactory, MoveRangeCommand, MoveRangeMutation, MoveRowsCommand, MoveRowsMutation, MoveRowsMutationUndoFactory, NumfmtService, OperatorType, PermissionPointsDefinitions, REF_SELECTIONS_ENABLED, RangeMergeUtil, RangeProtectionCache, RangeProtectionPermissionDeleteProtectionPoint, RangeProtectionPermissionEditPoint, RangeProtectionPermissionManageCollaPoint, RangeProtectionPermissionViewPoint, RangeProtectionRefRangeService, RangeProtectionRenderModel, RangeProtectionRuleModel, RangeProtectionService, RangeThemeStyle, RefRangeService, RefSelectionsService, RefillCommand, RegisterWorksheetRangeThemeStyleCommand, RegisterWorksheetRangeThemeStyleMutation, RemoveColByRangeCommand, RemoveColCommand, RemoveColMutation, RemoveDefinedNameCommand, RemoveMergeUndoMutationFactory, RemoveNumfmtMutation, RemoveRangeThemeMutation, RemoveRowByRangeCommand, RemoveRowCommand, RemoveRowMutation, RemoveSheetCommand, RemoveSheetMutation, RemoveSheetUndoMutationFactory, RemoveWorksheetMergeCommand, RemoveWorksheetMergeMutation, ReorderRangeCommand, ReorderRangeMutation, ReorderRangeUndoMutationFactory, ResetBackgroundColorCommand, ResetTextColorCommand, SCOPE_WORKBOOK_VALUE_DEFINED_NAME, SELECTIONS_ENABLED, SELECTION_CONTROL_BORDER_BUFFER_COLOR, SELECTION_CONTROL_BORDER_BUFFER_WIDTH, SHEETS_PLUGIN_CONFIG_KEY, ScrollToCellOperation, SelectRangeCommand, SelectionMoveType, SetBackgroundColorCommand, SetBoldCommand, SetBorderBasicCommand, SetBorderColorCommand, SetBorderCommand, SetBorderPositionCommand, SetBorderStyleCommand, SetColDataCommand, SetColDataMutation, SetColDataMutationFactory, SetColHiddenCommand, SetColHiddenMutation, SetColVisibleMutation, SetColWidthCommand, SetDefinedNameCommand, SetFontFamilyCommand, SetFontSizeCommand, SetFrozenCommand, SetFrozenMutation, SetFrozenMutationFactory, SetGridlinesColorCommand, SetGridlinesColorMutation, SetHorizontalTextAlignCommand, SetItalicCommand, SetNumfmtMutation, SetOverlineCommand, SetProtectionCommand, SetRangeCustomMetadataCommand, SetRangeProtectionMutation, SetRangeThemeMutation, SetRangeValuesCommand, SetRangeValuesMutation, SetRangeValuesUndoMutationFactory, SetRowDataCommand, SetRowDataMutation, SetRowDataMutationFactory, SetRowHeightCommand, SetRowHiddenCommand, SetRowHiddenMutation, SetRowVisibleMutation, SetSelectedColsVisibleCommand, SetSelectedRowsVisibleCommand, SetSelectionsOperation, SetSpecificColsVisibleCommand, SetSpecificRowsVisibleCommand, SetStrikeThroughCommand, SetStyleCommand, SetTabColorCommand, SetTabColorMutation, SetTextColorCommand, SetTextRotationCommand, SetTextWrapCommand, SetUnderlineCommand, SetVerticalTextAlignCommand, SetWorkbookNameCommand, SetWorkbookNameMutation, SetWorksheetActivateCommand, SetWorksheetActiveOperation, SetWorksheetColWidthMutation, SetWorksheetColWidthMutationFactory, SetWorksheetColumnCountCommand, SetWorksheetColumnCountMutation, SetWorksheetColumnCountUndoMutationFactory, SetWorksheetDefaultStyleCommand, SetWorksheetDefaultStyleMutation, SetWorksheetDefaultStyleMutationFactory, SetWorksheetHideCommand, SetWorksheetHideMutation, SetWorksheetNameCommand, SetWorksheetNameMutation, SetWorksheetOrderCommand, SetWorksheetOrderMutation, SetWorksheetPermissionPointsCommand, SetWorksheetPermissionPointsMutation, SetWorksheetProtectionCommand, SetWorksheetProtectionMutation, SetWorksheetRangeThemeStyleCommand, SetWorksheetRangeThemeStyleMutation, SetWorksheetRangeThemeStyleMutationFactory, SetWorksheetRightToLeftCommand, SetWorksheetRightToLeftMutation, SetWorksheetRowAutoHeightMutation, SetWorksheetRowAutoHeightMutationFactory, SetWorksheetRowCountCommand, SetWorksheetRowCountMutation, SetWorksheetRowCountUndoMutationFactory, SetWorksheetRowHeightMutation, SetWorksheetRowHeightMutationFactory, SetWorksheetRowIsAutoHeightCommand, SetWorksheetRowIsAutoHeightMutation, SetWorksheetRowIsAutoHeightMutationFactory, SetWorksheetShowCommand, SheetCopyDownCommand, SheetCopyRightCommand, SheetInterceptorService, SheetLazyExecuteScheduleService, SheetPermissionCheckController, SheetPermissionInitController, SheetRangeThemeModel, SheetRangeThemeService, SheetSkeletonChangeType, SheetSkeletonService, SheetValueChangeType, SheetsFreezeSyncController, SheetsSelectionsService, SplitDelimiterEnum, SplitTextToColumnsCommand, TextToNumberCommand, ToggleCellCheckboxCommand, ToggleGridlinesCommand, ToggleGridlinesMutation, UnitAction, UnitObject, UniverSheetsPlugin, UnregisterWorksheetRangeThemeStyleCommand, UnregisterWorksheetRangeThemeStyleMutation, VALIDATE_CELL, ViewStateEnum, WorkbookCommentPermission, WorkbookCopyPermission, WorkbookCopySheetPermission, WorkbookCreateProtectPermission, WorkbookCreateSheetPermission, WorkbookDeleteColumnPermission, WorkbookDeleteRowPermission, WorkbookDeleteSheetPermission, WorkbookDuplicatePermission, WorkbookEditablePermission, WorkbookExportPermission, WorkbookHideSheetPermission, WorkbookInsertColumnPermission, WorkbookInsertRowPermission, WorkbookManageCollaboratorPermission, WorkbookMoveSheetPermission, WorkbookPermissionService, WorkbookPrintPermission, WorkbookRecoverHistoryPermission, WorkbookRenameSheetPermission, WorkbookSelectionModel, WorkbookSharePermission, WorkbookViewHistoryPermission, WorkbookViewPermission, WorksheetCopyPermission, WorksheetDeleteColumnPermission, WorksheetDeleteProtectionPermission, WorksheetDeleteRowPermission, WorksheetEditExtraObjectPermission, WorksheetEditPermission, WorksheetFilterPermission, WorksheetInsertColumnPermission, WorksheetInsertHyperlinkPermission, WorksheetInsertRowPermission, WorksheetManageCollaboratorPermission, WorksheetPermissionService, WorksheetPivotTablePermission, WorksheetProtectionPointModel, WorksheetProtectionRuleModel, WorksheetSelectProtectedCellsPermission, WorksheetSelectUnProtectedCellsPermission, WorksheetSetCellStylePermission, WorksheetSetCellValuePermission, WorksheetSetColumnStylePermission, WorksheetSetRowStylePermission, WorksheetSortPermission, WorksheetViewPermission, ZebraCrossingCacheController, addMergeCellsUtil, adjustRangeOnMutation, alignToMergedCellsBorders, attachPrimaryWithCoord, attachRangeWithCoord, attachSelectionWithCoord, baseProtectionActions, checkCellValueType, checkRangesEditablePermission, convertPositionCellToSheetOverGrid, convertPositionSheetOverGridToAbsolute, convertPrimaryWithCoordToPrimary, convertSelectionDataToRange, copyRangeStyles, countCells, createTopMatrixFromMatrix, createTopMatrixFromRanges, defaultLargeSheetOperationConfig, defaultWorkbookPermissionPoints, defaultWorksheetPermissionPoint, discreteRangeToRange, expandToContinuousRange, factoryRemoveNumfmtUndoMutation, factorySetNumfmtUndoMutation, findAllRectangle, findFirstNonEmptyCell, followSelectionOperation, generateNullCell, generateNullCellValue, getAddMergeMutationRangeByType, getAllRangePermissionPoint, getAllWorkbookPermissionPoint, getAllWorksheetPermissionPoint, getAllWorksheetPermissionPointByPointPanel, getCellAtRowCol, getClearContentMutationParamForRange, getClearContentMutationParamsForRanges, getDefaultRangePermission, getInsertRangeMutations, getMoveRangeCommandMutations, getMoveRangeUndoRedoMutations, getNextPrimaryCell, getPrimaryForRange, getRemoveRangeMutations, getSelectionsService, getSeparateEffectedRangesOnCommand, getSheetCommandTarget, getSheetCommandTargetWorkbook, getSheetMutationTarget, getSkeletonChangedEffectedRange, getValueChangedEffectedRange, getVisibleRanges, handleBaseInsertRange, handleBaseMoveRowsCols, handleBaseRemoveRange, handleCommonDefaultRangeChangeWithEffectRefCommands, handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests, handleDefaultRangeChangeWithEffectRefCommands, handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests, handleDeleteRangeMoveLeft, handleDeleteRangeMoveUp, handleDeleteRangeMutation, handleIRemoveCol, handleIRemoveRow, handleInsertCol, handleInsertRangeMoveDown, handleInsertRangeMoveRight, handleInsertRangeMutation, handleInsertRow, handleMoveCols, handleMoveRange, handleMoveRows, isSingleCellSelection, rangeMerge, rangeToDiscreteRange, rotateRange, runRefRangeMutations, setEndForRange, splitRangeText, transformCellsToRange, validateDefinedName };
|
|
21229
|
+
export { AFFECT_LAYOUT_STYLES, AFTER_CELL_EDIT, AUTO_FILL_APPLY_TYPE, AUTO_FILL_DATA_TYPE, AUTO_FILL_HOOK_TYPE, AddMergeRedoSelectionsOperationFactory, AddMergeUndoMutationFactory, AddMergeUndoSelectionsOperationFactory, AddRangeProtectionCommand, AddRangeProtectionMutation, AddRangeThemeMutation, AddWorksheetMergeAllCommand, AddWorksheetMergeCommand, AddWorksheetMergeHorizontalCommand, AddWorksheetMergeMutation, AddWorksheetMergeVerticalCommand, AddWorksheetProtectionCommand, AddWorksheetProtectionMutation, AppendRowCommand, AutoClearContentCommand, AutoFillCommand, AutoFillController, AutoFillRules, AutoFillService, AutoFillTools, BEFORE_CELL_EDIT, BorderStyleManagerService, COMMAND_LISTENER_SKELETON_CHANGE, COMMAND_LISTENER_VALUE_CHANGE, CancelFrozenCommand, CancelMarkDirtyRowAutoHeightOperation, ClearSelectionAllCommand, ClearSelectionContentCommand, ClearSelectionFormatCommand, CopySheetCommand, CopyWorksheetEndMutation, DISABLE_NORMAL_SELECTIONS, DefinedNameDataController, DeleteRangeMoveLeftCommand, DeleteRangeMoveUpCommand, DeleteRangeProtectionCommand, DeleteRangeProtectionMutation, DeleteWorksheetProtectionCommand, DeleteWorksheetProtectionMutation, DeleteWorksheetRangeThemeStyleCommand, DeleteWorksheetRangeThemeStyleMutation, DeleteWorksheetRangeThemeStyleMutationFactory, DeltaColumnWidthCommand, DeltaRowHeightCommand, EditStateEnum, EffectRefRangId, EmptyMutation, ExclusiveRangeService, FactoryAddRangeProtectionMutation, FactoryDeleteRangeProtectionMutation, FactorySetRangeProtectionMutation, IAutoFillService, IExclusiveRangeService, INTERCEPTOR_POINT, INumfmtService, IRefSelectionsService, InsertColAfterCommand, InsertColBeforeCommand, InsertColByRangeCommand, InsertColCommand, InsertColMutation, InsertColMutationUndoFactory, InsertDefinedNameCommand, InsertMultiColsLeftCommand, InsertMultiColsRightCommand, InsertMultiRowsAboveCommand, InsertMultiRowsAfterCommand, InsertRangeMoveDownCommand, InsertRangeMoveRightCommand, InsertRowAfterCommand, InsertRowBeforeCommand, InsertRowByRangeCommand, InsertRowCommand, InsertRowMutation, InsertRowMutationUndoFactory, InsertSheetCommand, InsertSheetMutation, InsertSheetUndoMutationFactory, InterceptCellContentPriority, MAX_CELL_PER_SHEET_KEY, MERGE_CELL_INTERCEPTOR_CHECK, MarkDirtyFilterChangeMutation, MarkDirtyRowAutoHeightOperation, MergeCellController, MoveColsCommand, MoveColsMutation, MoveColsMutationUndoFactory, MoveRangeCommand, MoveRangeMutation, MoveRowsCommand, MoveRowsMutation, MoveRowsMutationUndoFactory, NumfmtService, OperatorType, PermissionPointsDefinitions, REF_SELECTIONS_ENABLED, RangeMergeUtil, RangeProtectionCache, RangeProtectionPermissionDeleteProtectionPoint, RangeProtectionPermissionEditPoint, RangeProtectionPermissionManageCollaPoint, RangeProtectionPermissionViewPoint, RangeProtectionRefRangeService, RangeProtectionRenderModel, RangeProtectionRuleModel, RangeProtectionService, RangeThemeStyle, RefRangeService, RefSelectionsService, RefillCommand, RegisterWorksheetRangeThemeStyleCommand, RegisterWorksheetRangeThemeStyleMutation, RemoveColByRangeCommand, RemoveColCommand, RemoveColMutation, RemoveDefinedNameCommand, RemoveMergeUndoMutationFactory, RemoveNumfmtMutation, RemoveRangeThemeMutation, RemoveRowByRangeCommand, RemoveRowCommand, RemoveRowMutation, RemoveSheetCommand, RemoveSheetMutation, RemoveSheetUndoMutationFactory, RemoveWorksheetMergeCommand, RemoveWorksheetMergeMutation, ReorderRangeCommand, ReorderRangeMutation, ReorderRangeUndoMutationFactory, ResetBackgroundColorCommand, ResetTextColorCommand, SCOPE_WORKBOOK_VALUE_DEFINED_NAME, SELECTIONS_ENABLED, SELECTION_CONTROL_BORDER_BUFFER_COLOR, SELECTION_CONTROL_BORDER_BUFFER_WIDTH, SHEETS_PLUGIN_CONFIG_KEY, ScrollToCellOperation, SelectRangeCommand, SelectionMoveType, SetBackgroundColorCommand, SetBoldCommand, SetBorderBasicCommand, SetBorderColorCommand, SetBorderCommand, SetBorderPositionCommand, SetBorderStyleCommand, SetColDataCommand, SetColDataMutation, SetColDataMutationFactory, SetColHiddenCommand, SetColHiddenMutation, SetColVisibleMutation, SetColWidthCommand, SetDefinedNameCommand, SetFontFamilyCommand, SetFontSizeCommand, SetFrozenCommand, SetFrozenMutation, SetFrozenMutationFactory, SetGridlinesColorCommand, SetGridlinesColorMutation, SetHorizontalTextAlignCommand, SetItalicCommand, SetNumfmtMutation, SetOverlineCommand, SetProtectionCommand, SetRangeCustomMetadataCommand, SetRangeProtectionMutation, SetRangeThemeMutation, SetRangeValuesCommand, SetRangeValuesMutation, SetRangeValuesUndoMutationFactory, SetRowDataCommand, SetRowDataMutation, SetRowDataMutationFactory, SetRowHeightCommand, SetRowHiddenCommand, SetRowHiddenMutation, SetRowVisibleMutation, SetSelectedColsVisibleCommand, SetSelectedRowsVisibleCommand, SetSelectionsOperation, SetSpecificColsVisibleCommand, SetSpecificRowsVisibleCommand, SetStrikeThroughCommand, SetStyleCommand, SetTabColorCommand, SetTabColorMutation, SetTextColorCommand, SetTextRotationCommand, SetTextWrapCommand, SetUnderlineCommand, SetVerticalTextAlignCommand, SetWorkbookNameCommand, SetWorkbookNameMutation, SetWorksheetActivateCommand, SetWorksheetActiveOperation, SetWorksheetColWidthMutation, SetWorksheetColWidthMutationFactory, SetWorksheetColumnCountCommand, SetWorksheetColumnCountMutation, SetWorksheetColumnCountUndoMutationFactory, SetWorksheetDefaultStyleCommand, SetWorksheetDefaultStyleMutation, SetWorksheetDefaultStyleMutationFactory, SetWorksheetHideCommand, SetWorksheetHideMutation, SetWorksheetNameCommand, SetWorksheetNameMutation, SetWorksheetOrderCommand, SetWorksheetOrderMutation, SetWorksheetPermissionPointsCommand, SetWorksheetPermissionPointsMutation, SetWorksheetProtectionCommand, SetWorksheetProtectionMutation, SetWorksheetRangeThemeStyleCommand, SetWorksheetRangeThemeStyleMutation, SetWorksheetRangeThemeStyleMutationFactory, SetWorksheetRightToLeftCommand, SetWorksheetRightToLeftMutation, SetWorksheetRowAutoHeightMutation, SetWorksheetRowAutoHeightMutationFactory, SetWorksheetRowCountCommand, SetWorksheetRowCountMutation, SetWorksheetRowCountUndoMutationFactory, SetWorksheetRowHeightMutation, SetWorksheetRowHeightMutationFactory, SetWorksheetRowIsAutoHeightCommand, SetWorksheetRowIsAutoHeightMutation, SetWorksheetRowIsAutoHeightMutationFactory, SetWorksheetShowCommand, SheetCopyDownCommand, SheetCopyRightCommand, SheetInterceptorService, SheetLazyExecuteScheduleService, SheetPermissionCheckController, SheetPermissionInitController, SheetRangeThemeModel, SheetRangeThemeService, SheetSkeletonChangeType, SheetSkeletonService, SheetValueChangeType, SheetsFreezeSyncController, SheetsSelectionsService, SplitDelimiterEnum, SplitTextToColumnsCommand, TextToNumberCommand, ToggleCellCheckboxCommand, ToggleGridlinesCommand, ToggleGridlinesMutation, UnitAction, UnitObject, UniverSheetsPlugin, UnregisterWorksheetRangeThemeStyleCommand, UnregisterWorksheetRangeThemeStyleMutation, VALIDATE_CELL, ViewStateEnum, WorkbookCommentPermission, WorkbookCopyPermission, WorkbookCopySheetPermission, WorkbookCreateProtectPermission, WorkbookCreateSheetPermission, WorkbookDeleteColumnPermission, WorkbookDeleteRowPermission, WorkbookDeleteSheetPermission, WorkbookDuplicatePermission, WorkbookEditablePermission, WorkbookExportPermission, WorkbookHideSheetPermission, WorkbookInsertColumnPermission, WorkbookInsertRowPermission, WorkbookManageCollaboratorPermission, WorkbookMoveSheetPermission, WorkbookPermissionService, WorkbookPrintPermission, WorkbookRecoverHistoryPermission, WorkbookRenameSheetPermission, WorkbookSelectionModel, WorkbookSharePermission, WorkbookViewHistoryPermission, WorkbookViewPermission, WorksheetCopyPermission, WorksheetDeleteColumnPermission, WorksheetDeleteProtectionPermission, WorksheetDeleteRowPermission, WorksheetEditExtraObjectPermission, WorksheetEditPermission, WorksheetFilterPermission, WorksheetInsertColumnPermission, WorksheetInsertHyperlinkPermission, WorksheetInsertRowPermission, WorksheetManageCollaboratorPermission, WorksheetPermissionService, WorksheetPivotTablePermission, WorksheetProtectionPointModel, WorksheetProtectionRuleModel, WorksheetSelectProtectedCellsPermission, WorksheetSelectUnProtectedCellsPermission, WorksheetSetCellStylePermission, WorksheetSetCellValuePermission, WorksheetSetColumnStylePermission, WorksheetSetRowStylePermission, WorksheetSortPermission, WorksheetViewPermission, ZebraCrossingCacheController, addMergeCellsUtil, adjustRangeOnMutation, alignToMergedCellsBorders, attachPrimaryWithCoord, attachRangeWithCoord, attachSelectionWithCoord, baseProtectionActions, checkCellValueType, checkRangesEditablePermission, convertPositionCellToSheetOverGrid, convertPositionSheetOverGridToAbsolute, convertPrimaryWithCoordToPrimary, convertSelectionDataToRange, copyRangeStyles, countCells, createTopMatrixFromMatrix, createTopMatrixFromRanges, defaultLargeSheetOperationConfig, defaultWorkbookPermissionPoints, defaultWorksheetPermissionPoint, deserializeListOptions, discreteRangeToRange, expandToContinuousRange, factoryRemoveNumfmtUndoMutation, factorySetNumfmtUndoMutation, findAllRectangle, findFirstNonEmptyCell, followSelectionOperation, generateNullCell, generateNullCellValue, getAddMergeMutationRangeByType, getAllRangePermissionPoint, getAllWorkbookPermissionPoint, getAllWorksheetPermissionPoint, getAllWorksheetPermissionPointByPointPanel, getCellAtRowCol, getClearContentMutationParamForRange, getClearContentMutationParamsForRanges, getDefaultRangePermission, getInsertRangeMutations, getMoveRangeCommandMutations, getMoveRangeUndoRedoMutations, getNextPrimaryCell, getPrimaryForRange, getRemoveRangeMutations, getSelectionsService, getSeparateEffectedRangesOnCommand, getSheetCommandTarget, getSheetCommandTargetWorkbook, getSheetMutationTarget, getSkeletonChangedEffectedRange, getValueChangedEffectedRange, getVisibleRanges, handleBaseInsertRange, handleBaseMoveRowsCols, handleBaseRemoveRange, handleCommonDefaultRangeChangeWithEffectRefCommands, handleCommonRangeChangeWithEffectRefCommandsSkipNoInterests, handleDefaultRangeChangeWithEffectRefCommands, handleDefaultRangeChangeWithEffectRefCommandsSkipNoInterests, handleDeleteRangeMoveLeft, handleDeleteRangeMoveUp, handleDeleteRangeMutation, handleIRemoveCol, handleIRemoveRow, handleInsertCol, handleInsertRangeMoveDown, handleInsertRangeMoveRight, handleInsertRangeMutation, handleInsertRow, handleMoveCols, handleMoveRange, handleMoveRows, isSingleCellSelection, rangeMerge, rangeToDiscreteRange, rotateRange, runRefRangeMutations, serializeListOptions, setEndForRange, splitRangeText, transformCellsToRange, validateDefinedName };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region src/locale/ar-SA.ts
|
|
2
|
+
const locale = { sheets: {
|
|
3
|
+
tabs: {
|
|
4
|
+
sheetCopy: "(نسخ{0})",
|
|
5
|
+
sheet: "ورقة"
|
|
6
|
+
},
|
|
7
|
+
info: {
|
|
8
|
+
overlappingSelections: "لا يمكن استخدام هذا الأمر على التحديدات المتداخلة",
|
|
9
|
+
acrossMergedCell: "عبر خلية مدمجة",
|
|
10
|
+
partOfCell: "تم تحديد جزء فقط من خلية مدمجة",
|
|
11
|
+
hideSheet: "لا توجد ورقة مرئية بعد إخفاء هذه الورقة"
|
|
12
|
+
},
|
|
13
|
+
definedName: {
|
|
14
|
+
nameEmpty: "لا يمكن أن يكون الاسم فارغًا",
|
|
15
|
+
nameDuplicate: "الاسم موجود بالفعل",
|
|
16
|
+
nameInvalid: "الاسم غير صالح",
|
|
17
|
+
nameSheetConflict: "يتعارض الاسم مع اسم الورقة",
|
|
18
|
+
formulaOrRefStringEmpty: "لا يمكن أن تكون الصيغة أو سلسلة المرجع فارغة",
|
|
19
|
+
nameConflict: "يتعارض الاسم مع اسم الدالة",
|
|
20
|
+
defaultName: "اسم معرّف"
|
|
21
|
+
},
|
|
22
|
+
permission: { dialog: {
|
|
23
|
+
autoFillErr: "النطاق محمي، وليس لديك إذن للتعبئة التلقائية. لاستخدام التعبئة التلقائية، يرجى الاتصال بالمنشئ.",
|
|
24
|
+
editErr: "النطاق محمي، وليس لديك إذن التحرير. للتحرير، يرجى الاتصال بالمنشئ.",
|
|
25
|
+
formulaErr: "النطاق أو النطاق المُشار إليه محمي، وليس لديك إذن التحرير. للتحرير، يرجى الاتصال بالمنشئ.",
|
|
26
|
+
insertOrDeleteMoveRangeErr: "يتقاطع النطاق المدرج أو المحذوف مع النطاق المحمي، وهذه العملية غير مدعومة حاليًا.",
|
|
27
|
+
insertRowColErr: "النطاق محمي، وليس لديك إذن لإدراج صفوف وأعمدة. لإدراج صفوف وأعمدة، يرجى الاتصال بالمنشئ.",
|
|
28
|
+
moveRangeErr: "النطاق محمي، وليس لديك إذن لنقل التحديد. لنقل التحديد، يرجى الاتصال بالمنشئ.",
|
|
29
|
+
moveRowColErr: "النطاق محمي، وليس لديك إذن لنقل الصفوف والأعمدة. لنقل الصفوف والأعمدة، يرجى الاتصال بالمنشئ.",
|
|
30
|
+
operatorSheetErr: "ورقة العمل محمية، وليس لديك إذن لتشغيل ورقة العمل. لتشغيل ورقة العمل، يرجى الاتصال بالمنشئ.",
|
|
31
|
+
removeRowColErr: "النطاق محمي، وليس لديك إذن لحذف الصفوف والأعمدة. لحذف الصفوف والأعمدة، يرجى الاتصال بالمنشئ.",
|
|
32
|
+
setRowColStyleErr: "النطاق محمي، وليس لديك إذن لتعيين أنماط الصفوف والأعمدة. لتعيين أنماط الصفوف والأعمدة، يرجى الاتصال بالمنشئ.",
|
|
33
|
+
setStyleErr: "النطاق محمي، وليس لديك إذن لتعيين الأنماط. لتعيين الأنماط، يرجى الاتصال بالمنشئ."
|
|
34
|
+
} },
|
|
35
|
+
autoFill: {
|
|
36
|
+
copy: "نسخ الخلية",
|
|
37
|
+
series: "تعبئة السلسلة",
|
|
38
|
+
formatOnly: "التنسيق فقط",
|
|
39
|
+
noFormat: "بدون تنسيق"
|
|
40
|
+
},
|
|
41
|
+
merge: { confirm: {
|
|
42
|
+
title: "سيؤدي الاستمرار في الدمج إلى الاحتفاظ بقيمة الخلية العلوية اليسرى فقط، وسيتم تجاهل القيم الأخرى. هل أنت متأكد من الاستمرار؟",
|
|
43
|
+
cancel: "إلغاء الدمج",
|
|
44
|
+
confirm: "الاستمرار في الدمج",
|
|
45
|
+
warning: "تحذير",
|
|
46
|
+
dismantleMergeCellWarning: "سيؤدي هذا إلى تقسيم بعض الخلايا المدمجة. هل تريد الاستمرار؟"
|
|
47
|
+
} }
|
|
48
|
+
} };
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
export { locale as default };
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -9,7 +9,42 @@ const locale = { sheets: {
|
|
|
9
9
|
acrossMergedCell: "A través d'una cel·la combinada",
|
|
10
10
|
partOfCell: "Només una part d'una cel·la combinada està seleccionada",
|
|
11
11
|
hideSheet: "No hi ha fulls visibles després d'ocultar aquest"
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
|
+
definedName: {
|
|
14
|
+
nameEmpty: "名称不能为空",
|
|
15
|
+
nameDuplicate: "名称已存在",
|
|
16
|
+
nameInvalid: "名称无效",
|
|
17
|
+
nameSheetConflict: "名称与工作表名称冲突",
|
|
18
|
+
formulaOrRefStringEmpty: "公式或引用字符串不能为空",
|
|
19
|
+
nameConflict: "名称与函数名称冲突",
|
|
20
|
+
defaultName: "NomDefinit"
|
|
21
|
+
},
|
|
22
|
+
permission: { dialog: {
|
|
23
|
+
autoFillErr: "L'interval està protegit i no teniu permís per a l'emplenament automàtic. Per utilitzar l'emplenament automàtic, contacteu amb el creador.",
|
|
24
|
+
editErr: "L'interval està protegit i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
25
|
+
formulaErr: "L'interval o l'interval referenciat està protegit, i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
26
|
+
insertOrDeleteMoveRangeErr: "L'interval inserit o suprimit s'interseca amb l'interval protegit, i aquesta operació no és compatible per ara.",
|
|
27
|
+
insertRowColErr: "L'interval está protegido y no tienes permiso para insertar filas y columnas. Para insertar filas y columnas, contacta con el creador.",
|
|
28
|
+
moveRangeErr: "L'interval està protegit i no teniu permís per moure la selecció. Per moure la selecció, contacteu amb el creador.",
|
|
29
|
+
moveRowColErr: "L'interval està protegit i no teniu permís per moure files i columnes. Per moure files i columnes, contacteu amb el creador.",
|
|
30
|
+
operatorSheetErr: "El full de càlcul està protegit i no teniu permís per operar-hi. Per operar al full de càlcul, contacteu amb el creador.",
|
|
31
|
+
removeRowColErr: "L'interval está protegido y no tienes permiso para eliminar filas y columnas. Para eliminar filas y columnas, contacta con el creador.",
|
|
32
|
+
setRowColStyleErr: "L'interval està protegit i no teniu permís per establir estils de fila i columna. Per establir estils de fila i columna, contacteu amb el creador.",
|
|
33
|
+
setStyleErr: "L'interval està protegit i no teniu permís per establir estils. Per establir estils, contacteu amb el creador."
|
|
34
|
+
} },
|
|
35
|
+
autoFill: {
|
|
36
|
+
copy: "复制单元格",
|
|
37
|
+
series: "填充序列",
|
|
38
|
+
formatOnly: "仅格式",
|
|
39
|
+
noFormat: "无格式"
|
|
40
|
+
},
|
|
41
|
+
merge: { confirm: {
|
|
42
|
+
title: "Continuar la fusió només conservarà el valor de la cel·la superior esquerra, descartant els altres valors. Estàs segur de continuar?",
|
|
43
|
+
cancel: "Cancel·lar fusió",
|
|
44
|
+
confirm: "Continuar fusió",
|
|
45
|
+
warning: "Avís",
|
|
46
|
+
dismantleMergeCellWarning: "Això dividirà algunes cel·les fusionades. Vols continuar?"
|
|
47
|
+
} }
|
|
13
48
|
} };
|
|
14
49
|
|
|
15
50
|
//#endregion
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { sheets: {
|
|
3
|
+
tabs: {
|
|
4
|
+
sheetCopy: "(Kopie{0})",
|
|
5
|
+
sheet: "Blatt"
|
|
6
|
+
},
|
|
7
|
+
info: {
|
|
8
|
+
overlappingSelections: "Dieser Befehl kann nicht für überlappende Auswahlen verwendet werden",
|
|
9
|
+
acrossMergedCell: "Über eine verbundene Zelle",
|
|
10
|
+
partOfCell: "Es ist nur ein Teil einer verbundenen Zelle ausgewählt",
|
|
11
|
+
hideSheet: "Nach dem Ausblenden ist kein Blatt mehr sichtbar"
|
|
12
|
+
},
|
|
13
|
+
definedName: {
|
|
14
|
+
nameEmpty: "Name darf nicht leer sein",
|
|
15
|
+
nameDuplicate: "Name existiert bereits",
|
|
16
|
+
nameInvalid: "Der Name ist ungültig",
|
|
17
|
+
nameSheetConflict: "Der Name steht im Konflikt mit dem Blattnamen",
|
|
18
|
+
formulaOrRefStringEmpty: "Formel oder Referenzzeichenfolge darf nicht leer sein",
|
|
19
|
+
nameConflict: "Der Name steht im Konflikt mit dem Funktionsnamen",
|
|
20
|
+
defaultName: "Definierter Name"
|
|
21
|
+
},
|
|
22
|
+
permission: { dialog: {
|
|
23
|
+
autoFillErr: "Der Bereich ist geschützt, und Sie haben keine Berechtigung für das automatische Ausfüllen. Um das automatische Ausfüllen zu verwenden, wenden Sie sich bitte an den Ersteller.",
|
|
24
|
+
editErr: "Der Bereich ist geschützt, und Sie haben keine Bearbeitungsberechtigung. Um zu bearbeiten, wenden Sie sich bitte an den Ersteller.",
|
|
25
|
+
formulaErr: "Der Bereich oder der referenzierte Bereich ist geschützt, und Sie haben keine Bearbeitungsberechtigung. Um zu bearbeiten, wenden Sie sich bitte an den Ersteller.",
|
|
26
|
+
insertOrDeleteMoveRangeErr: "Der eingefügte oder gelöschte Bereich überschneidet sich mit dem geschützten Bereich, und dieser Vorgang wird derzeit nicht unterstützt.",
|
|
27
|
+
insertRowColErr: "Der Bereich ist geschützt, und Sie haben keine Berechtigung, Zeilen und Spalten einzufügen. Um Zeilen und Spalten einzufügen, wenden Sie sich bitte an den Ersteller.",
|
|
28
|
+
moveRangeErr: "Der Bereich ist geschützt, und Sie haben keine Berechtigung, die Auswahl zu verschieben. Um die Auswahl zu verschieben, wenden Sie sich bitte an den Ersteller.",
|
|
29
|
+
moveRowColErr: "Der Bereich ist geschützt, und Sie haben keine Berechtigung, Zeilen und Spalten zu verschieben. Um Zeilen und Spalten zu verschieben, wenden Sie sich bitte an den Ersteller.",
|
|
30
|
+
operatorSheetErr: "Das Arbeitsblatt ist geschützt, und Sie haben keine Berechtigung, das Arbeitsblatt zu bearbeiten. Um das Arbeitsblatt zu bearbeiten, wenden Sie sich bitte an den Ersteller.",
|
|
31
|
+
removeRowColErr: "Der Bereich ist geschützt, und Sie haben keine Berechtigung, Zeilen und Spalten zu löschen. Um Zeilen und Spalten zu löschen, wenden Sie sich bitte an den Ersteller.",
|
|
32
|
+
setRowColStyleErr: "Der Bereich ist geschützt, und Sie haben keine Berechtigung, Zeilen- und Spaltenstile festzulegen. Um Zeilen- und Spaltenstile festzulegen, wenden Sie sich bitte an den Ersteller.",
|
|
33
|
+
setStyleErr: "Der Bereich ist geschützt, und Sie haben keine Berechtigung, Stile festzulegen. Um Stile festzulegen, wenden Sie sich bitte an den Ersteller."
|
|
34
|
+
} },
|
|
35
|
+
autoFill: {
|
|
36
|
+
copy: "Zelle kopieren",
|
|
37
|
+
series: "Reihe ausfüllen",
|
|
38
|
+
formatOnly: "Nur Format",
|
|
39
|
+
noFormat: "Kein Format"
|
|
40
|
+
},
|
|
41
|
+
merge: { confirm: {
|
|
42
|
+
title: "Beim Fortfahren mit dem Zusammenführen bleibt nur der Wert der oberen linken Zelle erhalten, andere Werte werden verworfen. Möchten Sie wirklich fortfahren?",
|
|
43
|
+
cancel: "Zusammenführen abbrechen",
|
|
44
|
+
confirm: "Zusammenführen fortsetzen",
|
|
45
|
+
warning: "Warnung",
|
|
46
|
+
dismantleMergeCellWarning: "Dadurch werden einige verbundene Zellen aufgeteilt. Möchten Sie fortfahren?"
|
|
47
|
+
} }
|
|
48
|
+
} };
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
export { locale as default };
|