@univerjs/sheets-data-validation-ui 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +60 -114
- package/lib/cjs/locale/ar-SA.js +1 -2
- package/lib/cjs/locale/ca-ES.js +1 -2
- package/lib/cjs/locale/de-DE.js +1 -2
- package/lib/cjs/locale/en-US.js +1 -2
- package/lib/cjs/locale/es-ES.js +1 -2
- package/lib/cjs/locale/fa-IR.js +1 -2
- package/lib/cjs/locale/fr-FR.js +1 -2
- package/lib/cjs/locale/id-ID.js +1 -2
- package/lib/cjs/locale/it-IT.js +1 -2
- package/lib/cjs/locale/ja-JP.js +1 -2
- package/lib/cjs/locale/ko-KR.js +1 -2
- package/lib/cjs/locale/pl-PL.js +1 -2
- package/lib/cjs/locale/pt-BR.js +1 -2
- package/lib/cjs/locale/ru-RU.js +1 -2
- package/lib/cjs/locale/sk-SK.js +1 -2
- package/lib/cjs/locale/vi-VN.js +1 -2
- package/lib/cjs/locale/zh-CN.js +1 -2
- package/lib/cjs/locale/zh-HK.js +1 -2
- package/lib/cjs/locale/zh-TW.js +1 -2
- package/lib/es/index.js +61 -115
- package/lib/es/locale/ar-SA.js +1 -2
- package/lib/es/locale/ca-ES.js +1 -2
- package/lib/es/locale/de-DE.js +1 -2
- package/lib/es/locale/en-US.js +1 -2
- package/lib/es/locale/es-ES.js +1 -2
- package/lib/es/locale/fa-IR.js +1 -2
- package/lib/es/locale/fr-FR.js +1 -2
- package/lib/es/locale/id-ID.js +1 -2
- package/lib/es/locale/it-IT.js +1 -2
- package/lib/es/locale/ja-JP.js +1 -2
- package/lib/es/locale/ko-KR.js +1 -2
- package/lib/es/locale/pl-PL.js +1 -2
- package/lib/es/locale/pt-BR.js +1 -2
- package/lib/es/locale/ru-RU.js +1 -2
- package/lib/es/locale/sk-SK.js +1 -2
- package/lib/es/locale/vi-VN.js +1 -2
- package/lib/es/locale/zh-CN.js +1 -2
- package/lib/es/locale/zh-HK.js +1 -2
- package/lib/es/locale/zh-TW.js +1 -2
- package/lib/index.js +61 -115
- package/lib/locale/ar-SA.js +1 -2
- package/lib/locale/ca-ES.js +1 -2
- package/lib/locale/de-DE.js +1 -2
- package/lib/locale/en-US.js +1 -2
- package/lib/locale/es-ES.js +1 -2
- package/lib/locale/fa-IR.js +1 -2
- package/lib/locale/fr-FR.js +1 -2
- package/lib/locale/id-ID.js +1 -2
- package/lib/locale/it-IT.js +1 -2
- package/lib/locale/ja-JP.js +1 -2
- package/lib/locale/ko-KR.js +1 -2
- package/lib/locale/pl-PL.js +1 -2
- package/lib/locale/pt-BR.js +1 -2
- package/lib/locale/ru-RU.js +1 -2
- package/lib/locale/sk-SK.js +1 -2
- package/lib/locale/vi-VN.js +1 -2
- package/lib/locale/zh-CN.js +1 -2
- package/lib/locale/zh-HK.js +1 -2
- package/lib/locale/zh-TW.js +1 -2
- package/lib/types/menu/dv.menu.d.ts +1 -1
- package/lib/types/views/components/DateShowTimeOption.d.ts +3 -1
- package/lib/types/views/components/ListRenderModeInput.d.ts +3 -1
- package/lib/umd/index.js +1 -1
- package/package.json +21 -21
package/lib/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { CanceledError, CellValueType, ColorKit, CommandType, DEFAULT_STYLES, Da
|
|
|
2
2
|
import { DataValidationModel, DataValidatorDropdownType, DataValidatorRegistryScope, DataValidatorRegistryService, TWO_FORMULA_OPERATOR_COUNT, UniverDataValidationPlugin, getRuleOptions, getRuleSetting } from "@univerjs/data-validation";
|
|
3
3
|
import { AUTO_FILL_APPLY_TYPE, AutoFillTools, IAutoFillService, INTERCEPTOR_POINT, InterceptCellContentPriority, RangeProtectionPermissionEditPoint, SetRangeValuesCommand, SetWorksheetActiveOperation, SheetInterceptorService, SheetPermissionCheckController, SheetsSelectionsService, UniverSheetsPlugin, VALIDATE_CELL, WorkbookEditablePermission, WorksheetEditPermission, WorksheetSetCellStylePermission, checkRangesEditablePermission, deserializeListOptions, getSheetCommandTarget, rangeToDiscreteRange, serializeListOptions } from "@univerjs/sheets";
|
|
4
4
|
import { ComponentManager, IDialogService, IMenuManagerService, ISidebarService, IconManager, KeyCode, MenuItemType, RibbonDataGroup, RibbonInsertGroup, UniverMobileUIPlugin, getMenuHiddenObservable, useDependency, useEvent, useObservable, useSidebarClick } from "@univerjs/ui";
|
|
5
|
-
import { BehaviorSubject, Subject, auditTime, bufferTime, debounceTime, distinctUntilChanged, filter, map, noop, of, startWith, switchMap, takeUntil, tap } from "rxjs";
|
|
5
|
+
import { BehaviorSubject, Subject, auditTime, bufferTime, debounceTime, defer, distinctUntilChanged, filter, map, noop, of, startWith, switchMap, takeUntil, tap } from "rxjs";
|
|
6
6
|
import { CURSOR_TYPE, CheckboxShape, DeviceInputEventType, DocSimpleSkeleton, FontCache, IRenderManagerService, Rect, Shape, Text, Transform, UniverRenderEnginePlugin, fixLineWidthByScale, getCurrentTypeOfRenderer, getFontStyleString } from "@univerjs/engine-render";
|
|
7
7
|
import { AddSheetDataValidationCommand, BASE_FORMULA_INPUT_NAME, CHECKBOX_FORMULA_1, CHECKBOX_FORMULA_2, CHECKBOX_FORMULA_INPUT_NAME, CUSTOM_FORMULA_INPUT_NAME, ClearRangeDataValidationCommand, DATA_VALIDATION_PLUGIN_NAME, DataValidationCacheService, DataValidationFormulaController, DataValidationFormulaService, LIST_FORMULA_INPUT_NAME, RemoveSheetAllDataValidationCommand, RemoveSheetDataValidationCommand, SheetDataValidationModel, SheetsDataValidationValidatorService, UniverSheetsDataValidationPlugin, UpdateSheetDataValidationOptionsCommand, UpdateSheetDataValidationRangeCommand, UpdateSheetDataValidationSettingCommand, createDefaultNewRule, getCellValueOrigin, getDataValidationCellValue, getDataValidationDiffMutations, getFormulaResult, isLegalFormulaResult, transformCheckboxValue } from "@univerjs/sheets-data-validation";
|
|
8
8
|
import { getPatternType } from "@univerjs/sheets-numfmt";
|
|
@@ -14,7 +14,7 @@ import { CheckboxIcon, DataValidationIcon, DatePickerIcon, DeleteIcon, DropdownL
|
|
|
14
14
|
import { deserializeRangeWithSheet, serializeRange } from "@univerjs/engine-formula";
|
|
15
15
|
import { FormulaEditor, RangeSelector } from "@univerjs/sheets-formula-ui";
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
18
18
|
function _typeof(o) {
|
|
19
19
|
"@babel/helpers - typeof";
|
|
20
20
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -24,8 +24,7 @@ function _typeof(o) {
|
|
|
24
24
|
}, _typeof(o);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
27
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
29
28
|
function toPrimitive(t, r) {
|
|
30
29
|
if ("object" != _typeof(t) || !t) return t;
|
|
31
30
|
var e = t[Symbol.toPrimitive];
|
|
@@ -37,15 +36,13 @@ function toPrimitive(t, r) {
|
|
|
37
36
|
return ("string" === r ? String : Number)(t);
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
|
|
41
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
39
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
42
40
|
function toPropertyKey(t) {
|
|
43
41
|
var i = toPrimitive(t, "string");
|
|
44
42
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
45
43
|
}
|
|
46
44
|
|
|
47
|
-
|
|
48
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
45
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
49
46
|
function _defineProperty(e, r, t) {
|
|
50
47
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
51
48
|
value: t,
|
|
@@ -55,16 +52,14 @@ function _defineProperty(e, r, t) {
|
|
|
55
52
|
}) : e[r] = t, e;
|
|
56
53
|
}
|
|
57
54
|
|
|
58
|
-
|
|
59
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
|
|
55
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorateParam.js
|
|
60
56
|
function __decorateParam(paramIndex, decorator) {
|
|
61
57
|
return function(target, key) {
|
|
62
58
|
decorator(target, key, paramIndex);
|
|
63
59
|
};
|
|
64
60
|
}
|
|
65
61
|
|
|
66
|
-
|
|
67
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
62
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorate.js
|
|
68
63
|
function __decorate(decorators, target, key, desc) {
|
|
69
64
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
70
65
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -72,8 +67,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
72
67
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
73
68
|
}
|
|
74
69
|
|
|
75
|
-
|
|
76
|
-
//#region src/services/data-validation-panel.service.ts
|
|
70
|
+
// src/services/data-validation-panel.service.ts
|
|
77
71
|
let DataValidationPanelService = class DataValidationPanelService extends Disposable {
|
|
78
72
|
get activeRule() {
|
|
79
73
|
return this._activeRule;
|
|
@@ -138,14 +132,12 @@ let DataValidationPanelService = class DataValidationPanelService extends Dispos
|
|
|
138
132
|
};
|
|
139
133
|
DataValidationPanelService = __decorate([__decorateParam(0, IUniverInstanceService), __decorateParam(1, ISidebarService)], DataValidationPanelService);
|
|
140
134
|
|
|
141
|
-
|
|
142
|
-
//#region src/config/config.ts
|
|
135
|
+
// src/config/config.ts
|
|
143
136
|
const SHEETS_DATA_VALIDATION_UI_PLUGIN_CONFIG_KEY = "sheets-data-validation-ui.config";
|
|
144
137
|
const configSymbol = Symbol(SHEETS_DATA_VALIDATION_UI_PLUGIN_CONFIG_KEY);
|
|
145
138
|
const defaultPluginConfig = {};
|
|
146
139
|
|
|
147
|
-
|
|
148
|
-
//#region src/const.ts
|
|
140
|
+
// src/const.ts
|
|
149
141
|
/**
|
|
150
142
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
151
143
|
*
|
|
@@ -164,8 +156,7 @@ const defaultPluginConfig = {};
|
|
|
164
156
|
const DROP_DOWN_DEFAULT_COLOR = "gray.100";
|
|
165
157
|
const DROP_DOWN_ICON_COLOR = "gray.600";
|
|
166
158
|
|
|
167
|
-
|
|
168
|
-
//#region src/controllers/dv-reject-input.controller.ts
|
|
159
|
+
// src/controllers/dv-reject-input.controller.ts
|
|
169
160
|
let DataValidationRejectInputController = class DataValidationRejectInputController extends Disposable {
|
|
170
161
|
constructor(_sheetInterceptorService, _dataValidationModel, _dataValidatorRegistryService, _dialogService, _localeService, _sheetsDataValidationValidatorService) {
|
|
171
162
|
super();
|
|
@@ -234,8 +225,7 @@ DataValidationRejectInputController = __decorate([
|
|
|
234
225
|
__decorateParam(5, Inject(SheetsDataValidationValidatorService))
|
|
235
226
|
], DataValidationRejectInputController);
|
|
236
227
|
|
|
237
|
-
|
|
238
|
-
//#region src/services/dropdown-manager.service.ts
|
|
228
|
+
// src/services/dropdown-manager.service.ts
|
|
239
229
|
function getExceptionalDateLabel(parts, patternType) {
|
|
240
230
|
if (!parts || parts.day !== 0 && !(parts.year === 1900 && parts.month === 2 && parts.day === 29)) return;
|
|
241
231
|
const date = `${String(parts.year).padStart(4, "0")}-${String(parts.month).padStart(2, "0")}-${String(parts.day).padStart(2, "0")}`;
|
|
@@ -679,8 +669,7 @@ DataValidationDropdownManagerService = __decorate([
|
|
|
679
669
|
__decorateParam(9, IConfigService)
|
|
680
670
|
], DataValidationDropdownManagerService);
|
|
681
671
|
|
|
682
|
-
|
|
683
|
-
//#region src/commands/operations/data-validation.operation.ts
|
|
672
|
+
// src/commands/operations/data-validation.operation.ts
|
|
684
673
|
const DATA_VALIDATION_PANEL = "DataValidationPanel";
|
|
685
674
|
const OpenValidationPanelOperation = {
|
|
686
675
|
id: "data-validation.operation.open-validation-panel",
|
|
@@ -757,8 +746,7 @@ const HideDataValidationDropdown = {
|
|
|
757
746
|
}
|
|
758
747
|
};
|
|
759
748
|
|
|
760
|
-
|
|
761
|
-
//#region src/commands/commands/data-validation-ui.command.ts
|
|
749
|
+
// src/commands/commands/data-validation-ui.command.ts
|
|
762
750
|
function createRule(accessor, rule) {
|
|
763
751
|
const defaultRule = createDefaultNewRule(accessor);
|
|
764
752
|
return {
|
|
@@ -826,8 +814,7 @@ const AddSheetDataValidationAndOpenCommand = {
|
|
|
826
814
|
}
|
|
827
815
|
};
|
|
828
816
|
|
|
829
|
-
|
|
830
|
-
//#region src/views/components/DropdownPresets.tsx
|
|
817
|
+
// src/views/components/DropdownPresets.tsx
|
|
831
818
|
const DROPDOWN_PRESETS_COMPONENT = "SHEETS_DATA_VALIDATION_DROPDOWN_PRESETS";
|
|
832
819
|
function DropdownPresets({ onChange }) {
|
|
833
820
|
const localeService = useDependency(LocaleService);
|
|
@@ -869,8 +856,7 @@ function DropdownPresets({ onChange }) {
|
|
|
869
856
|
});
|
|
870
857
|
}
|
|
871
858
|
|
|
872
|
-
|
|
873
|
-
//#region src/menu/dv.menu.ts
|
|
859
|
+
// src/menu/dv.menu.ts
|
|
874
860
|
const DATA_VALIDATION_MENU_ID = "sheet.menu.data-validation";
|
|
875
861
|
const QUICK_DROPDOWN_MENU_ID = "sheet.menu.quick-dropdown";
|
|
876
862
|
const QUICK_DATE_MENU_ID = "sheet.menu.quick-date";
|
|
@@ -1017,8 +1003,10 @@ function quickDateMenuFactory(accessor) {
|
|
|
1017
1003
|
...getQuickDataValidationMenuState(accessor)
|
|
1018
1004
|
};
|
|
1019
1005
|
}
|
|
1020
|
-
function openDataValidationMenuFactory() {
|
|
1006
|
+
function openDataValidationMenuFactory(accessor) {
|
|
1007
|
+
const sidebarService = accessor.get(ISidebarService);
|
|
1021
1008
|
return {
|
|
1009
|
+
activated$: defer(() => sidebarService.sidebarOptions$.pipe(startWith(sidebarService.options), map((options) => options.visible === true && options.id === "DataValidationPanel"), distinctUntilChanged())),
|
|
1022
1010
|
id: OpenValidationPanelOperation.id,
|
|
1023
1011
|
title: "sheets-data-validation-ui.panel.title",
|
|
1024
1012
|
type: MenuItemType.BUTTON,
|
|
@@ -1033,8 +1021,7 @@ function addDataValidationMenuFactory() {
|
|
|
1033
1021
|
};
|
|
1034
1022
|
}
|
|
1035
1023
|
|
|
1036
|
-
|
|
1037
|
-
//#region src/menu/schema.ts
|
|
1024
|
+
// src/menu/schema.ts
|
|
1038
1025
|
const menuSchema = {
|
|
1039
1026
|
[RibbonInsertGroup.CELL]: {
|
|
1040
1027
|
[InsertQuickSheetDataValidationCommand.id]: {
|
|
@@ -1068,13 +1055,11 @@ const menuSchema = {
|
|
|
1068
1055
|
} }
|
|
1069
1056
|
};
|
|
1070
1057
|
|
|
1071
|
-
|
|
1072
|
-
//#region package.json
|
|
1058
|
+
// package.json
|
|
1073
1059
|
var name = "@univerjs/sheets-data-validation-ui";
|
|
1074
|
-
var version = "1.
|
|
1060
|
+
var version = "1.4.0";
|
|
1075
1061
|
|
|
1076
|
-
|
|
1077
|
-
//#region src/controllers/dv-alert.controller.ts
|
|
1062
|
+
// src/controllers/dv-alert.controller.ts
|
|
1078
1063
|
const ALERT_KEY = "SHEET_DATA_VALIDATION_ALERT";
|
|
1079
1064
|
let DataValidationAlertController = class DataValidationAlertController extends Disposable {
|
|
1080
1065
|
constructor(_hoverManagerService, _cellAlertManagerService, _univerInstanceService, _localeService, _dataValidationModel, _dataValidationCacheService) {
|
|
@@ -1199,8 +1184,7 @@ DataValidationAlertController = __decorate([
|
|
|
1199
1184
|
__decorateParam(5, Inject(DataValidationCacheService))
|
|
1200
1185
|
], DataValidationAlertController);
|
|
1201
1186
|
|
|
1202
|
-
|
|
1203
|
-
//#region src/controllers/dv-auto-fill.controller.ts
|
|
1187
|
+
// src/controllers/dv-auto-fill.controller.ts
|
|
1204
1188
|
let DataValidationAutoFillController = class DataValidationAutoFillController extends Disposable {
|
|
1205
1189
|
constructor(_autoFillService, _sheetDataValidationModel, _injector) {
|
|
1206
1190
|
super();
|
|
@@ -1280,8 +1264,7 @@ DataValidationAutoFillController = __decorate([
|
|
|
1280
1264
|
__decorateParam(2, Inject(Injector))
|
|
1281
1265
|
], DataValidationAutoFillController);
|
|
1282
1266
|
|
|
1283
|
-
|
|
1284
|
-
//#region src/controllers/dv-copy-paste.controller.ts
|
|
1267
|
+
// src/controllers/dv-copy-paste.controller.ts
|
|
1285
1268
|
const specialPastes = [
|
|
1286
1269
|
PREDEFINED_HOOK_NAME_PASTE.SPECIAL_PASTE_COL_WIDTH,
|
|
1287
1270
|
PREDEFINED_HOOK_NAME_PASTE.SPECIAL_PASTE_VALUE,
|
|
@@ -1420,8 +1403,7 @@ DataValidationCopyPasteController = __decorate([
|
|
|
1420
1403
|
__decorateParam(3, Inject(IUniverInstanceService))
|
|
1421
1404
|
], DataValidationCopyPasteController);
|
|
1422
1405
|
|
|
1423
|
-
|
|
1424
|
-
//#region src/controllers/dv-permission.controller.ts
|
|
1406
|
+
// src/controllers/dv-permission.controller.ts
|
|
1425
1407
|
let DataValidationPermissionController = class DataValidationPermissionController extends Disposable {
|
|
1426
1408
|
constructor(_localeService, _commandService, _sheetPermissionCheckController) {
|
|
1427
1409
|
super();
|
|
@@ -1457,8 +1439,7 @@ DataValidationPermissionController = __decorate([
|
|
|
1457
1439
|
__decorateParam(2, Inject(SheetPermissionCheckController))
|
|
1458
1440
|
], DataValidationPermissionController);
|
|
1459
1441
|
|
|
1460
|
-
|
|
1461
|
-
//#region src/controllers/dv-rerender.controller.ts
|
|
1442
|
+
// src/controllers/dv-rerender.controller.ts
|
|
1462
1443
|
let SheetsDataValidationReRenderController = class SheetsDataValidationReRenderController extends Disposable {
|
|
1463
1444
|
constructor(_context, _sheetDataValidationModel, _sheetSkeletonManagerService) {
|
|
1464
1445
|
super();
|
|
@@ -1486,8 +1467,7 @@ let SheetsDataValidationReRenderController = class SheetsDataValidationReRenderC
|
|
|
1486
1467
|
};
|
|
1487
1468
|
SheetsDataValidationReRenderController = __decorate([__decorateParam(1, Inject(SheetDataValidationModel)), __decorateParam(2, Inject(SheetSkeletonManagerService))], SheetsDataValidationReRenderController);
|
|
1488
1469
|
|
|
1489
|
-
|
|
1490
|
-
//#region src/controllers/mobile/components.controller.ts
|
|
1470
|
+
// src/controllers/mobile/components.controller.ts
|
|
1491
1471
|
/**
|
|
1492
1472
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
1493
1473
|
*
|
|
@@ -1517,8 +1497,7 @@ let MobileComponentsController = class MobileComponentsController extends Dispos
|
|
|
1517
1497
|
};
|
|
1518
1498
|
MobileComponentsController = __decorate([__decorateParam(0, Inject(ComponentManager)), __decorateParam(1, Inject(IconManager))], MobileComponentsController);
|
|
1519
1499
|
|
|
1520
|
-
|
|
1521
|
-
//#region src/controllers/dv-render.controller.ts
|
|
1500
|
+
// src/controllers/dv-render.controller.ts
|
|
1522
1501
|
const INVALID_MARK$1 = { tr: {
|
|
1523
1502
|
size: 6,
|
|
1524
1503
|
color: "#fe4b4b"
|
|
@@ -1717,8 +1696,7 @@ function recalculateAutoHeight(infos, autoHeightController, commandService) {
|
|
|
1717
1696
|
}
|
|
1718
1697
|
}
|
|
1719
1698
|
|
|
1720
|
-
|
|
1721
|
-
//#region src/controllers/mobile/dv-render.controller.ts
|
|
1699
|
+
// src/controllers/mobile/dv-render.controller.ts
|
|
1722
1700
|
const INVALID_MARK = { tr: {
|
|
1723
1701
|
size: 6,
|
|
1724
1702
|
color: "#fe4b4b"
|
|
@@ -1826,8 +1804,7 @@ SheetsDataValidationMobileRenderController = __decorate([
|
|
|
1826
1804
|
__decorateParam(6, Inject(DataValidationCacheService))
|
|
1827
1805
|
], SheetsDataValidationMobileRenderController);
|
|
1828
1806
|
|
|
1829
|
-
|
|
1830
|
-
//#region src/views/widgets/checkbox-widget.ts
|
|
1807
|
+
// src/views/widgets/checkbox-widget.ts
|
|
1831
1808
|
const MARGIN_H$2 = 6;
|
|
1832
1809
|
let CheckboxRender = class CheckboxRender {
|
|
1833
1810
|
_calc(cellInfo, style) {
|
|
@@ -2000,8 +1977,7 @@ CheckboxRender = __decorate([
|
|
|
2000
1977
|
__decorateParam(5, Inject(SheetDataValidationModel))
|
|
2001
1978
|
], CheckboxRender);
|
|
2002
1979
|
|
|
2003
|
-
|
|
2004
|
-
//#region src/views/validator-views/sheet-validator-view.ts
|
|
1980
|
+
// src/views/validator-views/sheet-validator-view.ts
|
|
2005
1981
|
let BaseSheetDataValidatorView = class BaseSheetDataValidatorView {
|
|
2006
1982
|
constructor(injector) {
|
|
2007
1983
|
this.injector = injector;
|
|
@@ -2013,8 +1989,7 @@ let BaseSheetDataValidatorView = class BaseSheetDataValidatorView {
|
|
|
2013
1989
|
};
|
|
2014
1990
|
BaseSheetDataValidatorView = __decorate([__decorateParam(0, Inject(Injector))], BaseSheetDataValidatorView);
|
|
2015
1991
|
|
|
2016
|
-
|
|
2017
|
-
//#region src/views/validator-views/checkbox-validator-view.ts
|
|
1992
|
+
// src/views/validator-views/checkbox-validator-view.ts
|
|
2018
1993
|
/**
|
|
2019
1994
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2020
1995
|
*
|
|
@@ -2039,8 +2014,7 @@ var CheckboxValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2039
2014
|
}
|
|
2040
2015
|
};
|
|
2041
2016
|
|
|
2042
|
-
|
|
2043
|
-
//#region src/views/validator-views/custom-validator-view.ts
|
|
2017
|
+
// src/views/validator-views/custom-validator-view.ts
|
|
2044
2018
|
/**
|
|
2045
2019
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2046
2020
|
*
|
|
@@ -2064,8 +2038,7 @@ var CustomFormulaValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2064
2038
|
}
|
|
2065
2039
|
};
|
|
2066
2040
|
|
|
2067
|
-
|
|
2068
|
-
//#region src/views/components/DateShowTimeOption.tsx
|
|
2041
|
+
// src/views/components/DateShowTimeOption.tsx
|
|
2069
2042
|
const DATE_SHOW_TIME_OPTION = "DATE_SHOW_TIME_OPTION";
|
|
2070
2043
|
function DateShowTimeOption(props) {
|
|
2071
2044
|
var _value$bizInfo;
|
|
@@ -2087,8 +2060,7 @@ function DateShowTimeOption(props) {
|
|
|
2087
2060
|
}
|
|
2088
2061
|
DateShowTimeOption.componentKey = DATE_SHOW_TIME_OPTION;
|
|
2089
2062
|
|
|
2090
|
-
|
|
2091
|
-
//#region src/views/validator-views/date-validator-view.ts
|
|
2063
|
+
// src/views/validator-views/date-validator-view.ts
|
|
2092
2064
|
/**
|
|
2093
2065
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2094
2066
|
*
|
|
@@ -2114,8 +2086,7 @@ var DateValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2114
2086
|
}
|
|
2115
2087
|
};
|
|
2116
2088
|
|
|
2117
|
-
|
|
2118
|
-
//#region src/views/validator-views/decimal-validator-view.ts
|
|
2089
|
+
// src/views/validator-views/decimal-validator-view.ts
|
|
2119
2090
|
/**
|
|
2120
2091
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2121
2092
|
*
|
|
@@ -2139,8 +2110,7 @@ var DecimalValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2139
2110
|
}
|
|
2140
2111
|
};
|
|
2141
2112
|
|
|
2142
|
-
|
|
2143
|
-
//#region src/views/widgets/shape/layout.ts
|
|
2113
|
+
// src/views/widgets/shape/layout.ts
|
|
2144
2114
|
const MARGIN_H$1 = 4;
|
|
2145
2115
|
const MARGIN_V$1 = 4;
|
|
2146
2116
|
function getDropdownItemSize(text, fontStyle) {
|
|
@@ -2201,8 +2171,7 @@ function layoutDropdowns(items, fontStyle, cellWidth, cellHeight) {
|
|
|
2201
2171
|
};
|
|
2202
2172
|
}
|
|
2203
2173
|
|
|
2204
|
-
|
|
2205
|
-
//#region src/views/widgets/shape/dropdown.ts
|
|
2174
|
+
// src/views/widgets/shape/dropdown.ts
|
|
2206
2175
|
const RADIUS = 8;
|
|
2207
2176
|
var Dropdown$1 = class extends Shape {
|
|
2208
2177
|
static drawWith(ctx, props) {
|
|
@@ -2223,8 +2192,7 @@ var Dropdown$1 = class extends Shape {
|
|
|
2223
2192
|
}
|
|
2224
2193
|
};
|
|
2225
2194
|
|
|
2226
|
-
|
|
2227
|
-
//#region src/views/widgets/dropdown-multiple-widget.ts
|
|
2195
|
+
// src/views/widgets/dropdown-multiple-widget.ts
|
|
2228
2196
|
const downPath$1 = new Path2D("M3.32201 4.84556C3.14417 5.05148 2.85583 5.05148 2.67799 4.84556L0.134292 1.90016C-0.152586 1.56798 0.0505937 1 0.456301 1L5.5437 1C5.94941 1 6.15259 1.56798 5.86571 1.90016L3.32201 4.84556Z");
|
|
2229
2197
|
let DropdownMultipleWidget = class DropdownMultipleWidget {
|
|
2230
2198
|
constructor(_commandService, _univerInstanceService, _renderManagerService, _dataValidationModel) {
|
|
@@ -2413,8 +2381,7 @@ DropdownMultipleWidget = __decorate([
|
|
|
2413
2381
|
__decorateParam(3, Inject(SheetDataValidationModel))
|
|
2414
2382
|
], DropdownMultipleWidget);
|
|
2415
2383
|
|
|
2416
|
-
|
|
2417
|
-
//#region src/views/validator-views/list-multiple-view.ts
|
|
2384
|
+
// src/views/validator-views/list-multiple-view.ts
|
|
2418
2385
|
/**
|
|
2419
2386
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2420
2387
|
*
|
|
@@ -2439,8 +2406,7 @@ var ListMultipleValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2439
2406
|
}
|
|
2440
2407
|
};
|
|
2441
2408
|
|
|
2442
|
-
|
|
2443
|
-
//#region src/views/components/ListRenderModeInput.tsx
|
|
2409
|
+
// src/views/components/ListRenderModeInput.tsx
|
|
2444
2410
|
const LIST_RENDER_MODE_OPTION_INPUT = "LIST_RENDER_MODE_OPTION_INPUT";
|
|
2445
2411
|
function ListRenderModeInput(props) {
|
|
2446
2412
|
const { value, onChange } = props;
|
|
@@ -2472,8 +2438,7 @@ function ListRenderModeInput(props) {
|
|
|
2472
2438
|
}
|
|
2473
2439
|
ListRenderModeInput.componentKey = LIST_RENDER_MODE_OPTION_INPUT;
|
|
2474
2440
|
|
|
2475
|
-
|
|
2476
|
-
//#region src/views/widgets/dropdown-widget.ts
|
|
2441
|
+
// src/views/widgets/dropdown-widget.ts
|
|
2477
2442
|
/**
|
|
2478
2443
|
* padding in Capsule
|
|
2479
2444
|
*/
|
|
@@ -2780,8 +2745,7 @@ DropdownWidget = __decorate([
|
|
|
2780
2745
|
__decorateParam(4, Inject(SheetDataValidationModel))
|
|
2781
2746
|
], DropdownWidget);
|
|
2782
2747
|
|
|
2783
|
-
|
|
2784
|
-
//#region src/views/validator-views/list-validator-view.ts
|
|
2748
|
+
// src/views/validator-views/list-validator-view.ts
|
|
2785
2749
|
var ListValidatorView = class extends BaseSheetDataValidatorView {
|
|
2786
2750
|
constructor(..._args) {
|
|
2787
2751
|
super(..._args);
|
|
@@ -2793,8 +2757,7 @@ var ListValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2793
2757
|
}
|
|
2794
2758
|
};
|
|
2795
2759
|
|
|
2796
|
-
|
|
2797
|
-
//#region src/views/validator-views/text-length-validator.view.ts
|
|
2760
|
+
// src/views/validator-views/text-length-validator.view.ts
|
|
2798
2761
|
/**
|
|
2799
2762
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2800
2763
|
*
|
|
@@ -2818,8 +2781,7 @@ var TextLengthValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2818
2781
|
}
|
|
2819
2782
|
};
|
|
2820
2783
|
|
|
2821
|
-
|
|
2822
|
-
//#region src/views/validator-views/whole-validator-view.ts
|
|
2784
|
+
// src/views/validator-views/whole-validator-view.ts
|
|
2823
2785
|
/**
|
|
2824
2786
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
2825
2787
|
*
|
|
@@ -2843,8 +2805,7 @@ var WholeValidatorView = class extends BaseSheetDataValidatorView {
|
|
|
2843
2805
|
}
|
|
2844
2806
|
};
|
|
2845
2807
|
|
|
2846
|
-
|
|
2847
|
-
//#region src/controllers/ui.controller.ts
|
|
2808
|
+
// src/controllers/ui.controller.ts
|
|
2848
2809
|
let SheetsDataValidationUIController = class SheetsDataValidationUIController extends RxDisposable {
|
|
2849
2810
|
constructor(_injector, _dataValidatorRegistryService) {
|
|
2850
2811
|
super();
|
|
@@ -2876,8 +2837,7 @@ let SheetsDataValidationUIController = class SheetsDataValidationUIController ex
|
|
|
2876
2837
|
};
|
|
2877
2838
|
SheetsDataValidationUIController = __decorate([__decorateParam(0, Inject(Injector)), __decorateParam(1, Inject(DataValidatorRegistryService))], SheetsDataValidationUIController);
|
|
2878
2839
|
|
|
2879
|
-
|
|
2880
|
-
//#region src/mobile-plugin.ts
|
|
2840
|
+
// src/mobile-plugin.ts
|
|
2881
2841
|
let UniverSheetsDataValidationMobileUIPlugin = class UniverSheetsDataValidationMobileUIPlugin extends Plugin {
|
|
2882
2842
|
constructor(_config = defaultPluginConfig, _injector, _commandService, _configService) {
|
|
2883
2843
|
super();
|
|
@@ -2936,8 +2896,7 @@ UniverSheetsDataValidationMobileUIPlugin = __decorate([
|
|
|
2936
2896
|
__decorateParam(3, IConfigService)
|
|
2937
2897
|
], UniverSheetsDataValidationMobileUIPlugin);
|
|
2938
2898
|
|
|
2939
|
-
|
|
2940
|
-
//#region src/views/components/DataValidationOptions.tsx
|
|
2899
|
+
// src/views/components/DataValidationOptions.tsx
|
|
2941
2900
|
function DataValidationOptions(props) {
|
|
2942
2901
|
const localeService = useDependency(LocaleService);
|
|
2943
2902
|
const componentManager = useDependency(ComponentManager);
|
|
@@ -2991,8 +2950,7 @@ function DataValidationOptions(props) {
|
|
|
2991
2950
|
] })] });
|
|
2992
2951
|
}
|
|
2993
2952
|
|
|
2994
|
-
|
|
2995
|
-
//#region src/views/components/DataValidationDetail.tsx
|
|
2953
|
+
// src/views/components/DataValidationDetail.tsx
|
|
2996
2954
|
const debounceExecuteFactory = (commandService) => debounce(async (id, params, options, callback) => {
|
|
2997
2955
|
const res = await commandService.executeCommand(id, params, options);
|
|
2998
2956
|
callback === null || callback === void 0 || callback(res);
|
|
@@ -3305,8 +3263,7 @@ function DataValidationDetailInner(props) {
|
|
|
3305
3263
|
});
|
|
3306
3264
|
}
|
|
3307
3265
|
|
|
3308
|
-
|
|
3309
|
-
//#region src/views/components/DataValidationItem.tsx
|
|
3266
|
+
// src/views/components/DataValidationItem.tsx
|
|
3310
3267
|
const DataValidationItem = (props) => {
|
|
3311
3268
|
const { rule, onClick, unitId, subUnitId, disable } = props;
|
|
3312
3269
|
const validatorRegistry = useDependency(DataValidatorRegistryService);
|
|
@@ -3386,8 +3343,7 @@ const DataValidationItem = (props) => {
|
|
|
3386
3343
|
});
|
|
3387
3344
|
};
|
|
3388
3345
|
|
|
3389
|
-
|
|
3390
|
-
//#region src/views/components/DataValidationList.tsx
|
|
3346
|
+
// src/views/components/DataValidationList.tsx
|
|
3391
3347
|
function DataValidationList(props) {
|
|
3392
3348
|
const sheetDataValidationModel = useDependency(SheetDataValidationModel);
|
|
3393
3349
|
const univerInstanceService = useDependency(IUniverInstanceService);
|
|
@@ -3468,8 +3424,7 @@ function DataValidationList(props) {
|
|
|
3468
3424
|
});
|
|
3469
3425
|
}
|
|
3470
3426
|
|
|
3471
|
-
|
|
3472
|
-
//#region src/views/components/DataValidationPanel.tsx
|
|
3427
|
+
// src/views/components/DataValidationPanel.tsx
|
|
3473
3428
|
const DataValidationPanel = () => {
|
|
3474
3429
|
const dataValidationPanelService = useDependency(DataValidationPanelService);
|
|
3475
3430
|
const activeRule = useObservable(dataValidationPanelService.activeRule$, dataValidationPanelService.activeRule);
|
|
@@ -3480,8 +3435,7 @@ const DataValidationPanel = () => {
|
|
|
3480
3435
|
return activeRule && (activeRule.subUnitId === worksheet.getSheetId() || activeRule.subUnitId === dataValidationPanelService.getFocusFormulaEditorActiveRuleSubUnitId()) ? /* @__PURE__ */ jsx(DataValidationDetail, {}, activeRule.rule.uid) : /* @__PURE__ */ jsx(DataValidationList, { workbook });
|
|
3481
3436
|
};
|
|
3482
3437
|
|
|
3483
|
-
|
|
3484
|
-
//#region src/views/components/formula-input/BaseFormulaInput.tsx
|
|
3438
|
+
// src/views/components/formula-input/BaseFormulaInput.tsx
|
|
3485
3439
|
const BaseFormulaInput = (props) => {
|
|
3486
3440
|
const { isTwoFormula = false, value, onChange, showError, validResult } = props;
|
|
3487
3441
|
const localeService = useDependency(LocaleService);
|
|
@@ -3534,8 +3488,7 @@ const BaseFormulaInput = (props) => {
|
|
|
3534
3488
|
});
|
|
3535
3489
|
};
|
|
3536
3490
|
|
|
3537
|
-
|
|
3538
|
-
//#region src/views/components/formula-input/CheckboxFormulaInput.tsx
|
|
3491
|
+
// src/views/components/formula-input/CheckboxFormulaInput.tsx
|
|
3539
3492
|
function CheckboxFormulaInput(props) {
|
|
3540
3493
|
const { value, onChange, showError, validResult } = props;
|
|
3541
3494
|
const localeService = useDependency(LocaleService);
|
|
@@ -3591,8 +3544,7 @@ function CheckboxFormulaInput(props) {
|
|
|
3591
3544
|
] });
|
|
3592
3545
|
}
|
|
3593
3546
|
|
|
3594
|
-
|
|
3595
|
-
//#region src/views/components/formula-input/CustomFormulaInput.tsx
|
|
3547
|
+
// src/views/components/formula-input/CustomFormulaInput.tsx
|
|
3596
3548
|
function CustomFormulaInput(props) {
|
|
3597
3549
|
const { unitId, subUnitId, value, onChange, showError, validResult } = props;
|
|
3598
3550
|
const formula1Res = showError ? validResult === null || validResult === void 0 ? void 0 : validResult.formula1 : void 0;
|
|
@@ -3625,8 +3577,7 @@ function CustomFormulaInput(props) {
|
|
|
3625
3577
|
});
|
|
3626
3578
|
}
|
|
3627
3579
|
|
|
3628
|
-
|
|
3629
|
-
//#region src/views/components/formula-input/utils.ts
|
|
3580
|
+
// src/views/components/formula-input/utils.ts
|
|
3630
3581
|
/**
|
|
3631
3582
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3632
3583
|
*
|
|
@@ -3656,8 +3607,7 @@ function buildCustomListFormulaPayload(items, defaultColor) {
|
|
|
3656
3607
|
};
|
|
3657
3608
|
}
|
|
3658
3609
|
|
|
3659
|
-
|
|
3660
|
-
//#region src/views/components/formula-input/ListFormulaInput.tsx
|
|
3610
|
+
// src/views/components/formula-input/ListFormulaInput.tsx
|
|
3661
3611
|
const DEFAULT_COLOR_PRESET = [
|
|
3662
3612
|
"#FFFFFF",
|
|
3663
3613
|
"#FEE7E7",
|
|
@@ -3953,8 +3903,7 @@ function ListFormulaInput(props) {
|
|
|
3953
3903
|
})] });
|
|
3954
3904
|
}
|
|
3955
3905
|
|
|
3956
|
-
|
|
3957
|
-
//#region src/views/components/formula-input/index.ts
|
|
3906
|
+
// src/views/components/formula-input/index.ts
|
|
3958
3907
|
const FORMULA_INPUTS = [
|
|
3959
3908
|
[CUSTOM_FORMULA_INPUT_NAME, CustomFormulaInput],
|
|
3960
3909
|
[BASE_FORMULA_INPUT_NAME, BaseFormulaInput],
|
|
@@ -3962,8 +3911,7 @@ const FORMULA_INPUTS = [
|
|
|
3962
3911
|
[CHECKBOX_FORMULA_INPUT_NAME, CheckboxFormulaInput]
|
|
3963
3912
|
];
|
|
3964
3913
|
|
|
3965
|
-
|
|
3966
|
-
//#region src/controllers/components.controller.ts
|
|
3914
|
+
// src/controllers/components.controller.ts
|
|
3967
3915
|
/**
|
|
3968
3916
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3969
3917
|
*
|
|
@@ -4009,8 +3957,7 @@ let ComponentsController = class ComponentsController extends Disposable {
|
|
|
4009
3957
|
};
|
|
4010
3958
|
ComponentsController = __decorate([__decorateParam(0, Inject(ComponentManager)), __decorateParam(1, Inject(IconManager))], ComponentsController);
|
|
4011
3959
|
|
|
4012
|
-
|
|
4013
|
-
//#region src/plugin.ts
|
|
3960
|
+
// src/plugin.ts
|
|
4014
3961
|
let UniverSheetsDataValidationUIPlugin = class UniverSheetsDataValidationUIPlugin extends Plugin {
|
|
4015
3962
|
constructor(_config = defaultPluginConfig, _injector, _commandService, _configService) {
|
|
4016
3963
|
super();
|
|
@@ -4077,5 +4024,4 @@ UniverSheetsDataValidationUIPlugin = __decorate([
|
|
|
4077
4024
|
__decorateParam(3, IConfigService)
|
|
4078
4025
|
], UniverSheetsDataValidationUIPlugin);
|
|
4079
4026
|
|
|
4080
|
-
//#endregion
|
|
4081
4027
|
export { DATA_VALIDATION_PANEL, DataValidationPanelService, menuSchema as SheetsDataValidationUIMenuSchema, UniverSheetsDataValidationMobileUIPlugin, UniverSheetsDataValidationUIPlugin };
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ar-SA.ts
|
|
2
2
|
const locale = { "sheets-data-validation-ui": {
|
|
3
3
|
title: "التحقق من صحة البيانات",
|
|
4
4
|
ribbon: {
|
|
@@ -72,5 +72,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
72
72
|
permission: { dialog: { setStyleErr: "النطاق محمي، وليس لديك الإذن بتعيين الأنماط. لتعيين الأنماط، يُرجى التواصل مع المنشئ." } }
|
|
73
73
|
} };
|
|
74
74
|
|
|
75
|
-
//#endregion
|
|
76
75
|
export { locale as default };
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/ca-ES.ts
|
|
2
2
|
const locale = { "sheets-data-validation-ui": {
|
|
3
3
|
title: "Validació de dades",
|
|
4
4
|
ribbon: {
|
|
@@ -72,5 +72,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
72
72
|
permission: { dialog: { setStyleErr: "L'interval està protegit i no teniu permís per establir estils. Per establir estils, contacteu amb el creador." } }
|
|
73
73
|
} };
|
|
74
74
|
|
|
75
|
-
//#endregion
|
|
76
75
|
export { locale as default };
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/de-DE.ts
|
|
2
2
|
const locale = { "sheets-data-validation-ui": {
|
|
3
3
|
title: "Datenüberprüfung",
|
|
4
4
|
ribbon: {
|
|
@@ -72,5 +72,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
72
72
|
permission: { dialog: { setStyleErr: "Der Bereich ist geschützt und Sie haben keine Berechtigung, Stile festzulegen. Um Stile festzulegen, wenden Sie sich bitte an den Ersteller." } }
|
|
73
73
|
} };
|
|
74
74
|
|
|
75
|
-
//#endregion
|
|
76
75
|
export { locale as default };
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/en-US.ts
|
|
2
2
|
/**
|
|
3
3
|
* Copyright 2023-present DreamNum Co., Ltd.
|
|
4
4
|
*
|
|
@@ -87,5 +87,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
87
87
|
permission: { dialog: { setStyleErr: "The range is protected, and you do not have permission to set styles. To set styles, please contact the creator." } }
|
|
88
88
|
} };
|
|
89
89
|
|
|
90
|
-
//#endregion
|
|
91
90
|
export { locale as default };
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/es-ES.ts
|
|
2
2
|
const locale = { "sheets-data-validation-ui": {
|
|
3
3
|
title: "Validación de datos",
|
|
4
4
|
ribbon: {
|
|
@@ -72,5 +72,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
72
72
|
permission: { dialog: { setStyleErr: "El rango está protegido y no tienes permiso para establecer estilos. Para establecer estilos, contacta al creador." } }
|
|
73
73
|
} };
|
|
74
74
|
|
|
75
|
-
//#endregion
|
|
76
75
|
export { locale as default };
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/fa-IR.ts
|
|
2
2
|
const locale = { "sheets-data-validation-ui": {
|
|
3
3
|
title: "اعتبارسنجی داده",
|
|
4
4
|
ribbon: {
|
|
@@ -72,5 +72,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
72
72
|
permission: { dialog: { setStyleErr: "محدوده محافظت شده است و شما مجوز تنظیم سبکها را ندارید. برای تنظیم سبکها، لطفا با سازنده تماس بگیرید." } }
|
|
73
73
|
} };
|
|
74
74
|
|
|
75
|
-
//#endregion
|
|
76
75
|
export { locale as default };
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/fr-FR.ts
|
|
2
2
|
const locale = { "sheets-data-validation-ui": {
|
|
3
3
|
title: "Validation des données",
|
|
4
4
|
ribbon: {
|
|
@@ -72,5 +72,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
72
72
|
permission: { dialog: { setStyleErr: "La plage est protégée, et vous n'avez pas la permission de définir les styles. Pour définir les styles, veuillez contacter le créateur." } }
|
|
73
73
|
} };
|
|
74
74
|
|
|
75
|
-
//#endregion
|
|
76
75
|
export { locale as default };
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/locale/id-ID.ts
|
|
2
2
|
const locale = { "sheets-data-validation-ui": {
|
|
3
3
|
title: "Validasi data",
|
|
4
4
|
ribbon: {
|
|
@@ -72,5 +72,4 @@ const locale = { "sheets-data-validation-ui": {
|
|
|
72
72
|
permission: { dialog: { setStyleErr: "Rentang ini dilindungi, dan Anda tidak memiliki izin untuk mengatur gaya. Untuk mengatur gaya, silakan hubungi pembuatnya." } }
|
|
73
73
|
} };
|
|
74
74
|
|
|
75
|
-
//#endregion
|
|
76
75
|
export { locale as default };
|