@univerjs/sheets-data-validation-ui 1.6.1 → 1.6.2

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.
Files changed (86) hide show
  1. package/lib/cjs/index.js +2 -42
  2. package/lib/cjs/locale/ar-SA.js +1 -2
  3. package/lib/cjs/locale/ca-ES.js +1 -2
  4. package/lib/cjs/locale/de-DE.js +1 -2
  5. package/lib/cjs/locale/en-US.js +1 -2
  6. package/lib/cjs/locale/es-ES.js +1 -2
  7. package/lib/cjs/locale/fa-IR.js +1 -2
  8. package/lib/cjs/locale/fr-FR.js +1 -2
  9. package/lib/cjs/locale/id-ID.js +1 -2
  10. package/lib/cjs/locale/it-IT.js +1 -2
  11. package/lib/cjs/locale/ja-JP.js +1 -2
  12. package/lib/cjs/locale/ko-KR.js +1 -2
  13. package/lib/cjs/locale/pl-PL.js +1 -2
  14. package/lib/cjs/locale/pt-BR.js +1 -2
  15. package/lib/cjs/locale/ru-RU.js +1 -2
  16. package/lib/cjs/locale/sk-SK.js +1 -2
  17. package/lib/cjs/locale/vi-VN.js +1 -2
  18. package/lib/cjs/locale/zh-CN.js +1 -2
  19. package/lib/cjs/locale/zh-HK.js +1 -2
  20. package/lib/cjs/locale/zh-TW.js +1 -2
  21. package/lib/es/index.js +3 -43
  22. package/lib/es/locale/ar-SA.js +1 -2
  23. package/lib/es/locale/ca-ES.js +1 -2
  24. package/lib/es/locale/de-DE.js +1 -2
  25. package/lib/es/locale/en-US.js +1 -2
  26. package/lib/es/locale/es-ES.js +1 -2
  27. package/lib/es/locale/fa-IR.js +1 -2
  28. package/lib/es/locale/fr-FR.js +1 -2
  29. package/lib/es/locale/id-ID.js +1 -2
  30. package/lib/es/locale/it-IT.js +1 -2
  31. package/lib/es/locale/ja-JP.js +1 -2
  32. package/lib/es/locale/ko-KR.js +1 -2
  33. package/lib/es/locale/pl-PL.js +1 -2
  34. package/lib/es/locale/pt-BR.js +1 -2
  35. package/lib/es/locale/ru-RU.js +1 -2
  36. package/lib/es/locale/sk-SK.js +1 -2
  37. package/lib/es/locale/vi-VN.js +1 -2
  38. package/lib/es/locale/zh-CN.js +1 -2
  39. package/lib/es/locale/zh-HK.js +1 -2
  40. package/lib/es/locale/zh-TW.js +1 -2
  41. package/lib/index.css +2 -2
  42. package/lib/index.js +3 -43
  43. package/lib/locale/ar-SA.js +1 -2
  44. package/lib/locale/ca-ES.js +1 -2
  45. package/lib/locale/de-DE.js +1 -2
  46. package/lib/locale/en-US.js +1 -2
  47. package/lib/locale/es-ES.js +1 -2
  48. package/lib/locale/fa-IR.js +1 -2
  49. package/lib/locale/fr-FR.js +1 -2
  50. package/lib/locale/id-ID.js +1 -2
  51. package/lib/locale/it-IT.js +1 -2
  52. package/lib/locale/ja-JP.js +1 -2
  53. package/lib/locale/ko-KR.js +1 -2
  54. package/lib/locale/pl-PL.js +1 -2
  55. package/lib/locale/pt-BR.js +1 -2
  56. package/lib/locale/ru-RU.js +1 -2
  57. package/lib/locale/sk-SK.js +1 -2
  58. package/lib/locale/vi-VN.js +1 -2
  59. package/lib/locale/zh-CN.js +1 -2
  60. package/lib/locale/zh-HK.js +1 -2
  61. package/lib/locale/zh-TW.js +1 -2
  62. package/lib/types/locale/en-US.d.ts +0 -5
  63. package/lib/types/mobile-plugin.d.ts +1 -1
  64. package/lib/types/plugin.d.ts +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +15 -15
  86. package/lib/types/controllers/dv-permission.controller.d.ts +0 -24
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CanceledError, CellValueType, ColorKit, CommandType, DEFAULT_STYLES, DataValidationErrorStyle, DataValidationRenderMode, DataValidationStatus, DataValidationType, DateSystem, DependentOn, Disposable, DisposableCollection, HorizontalAlign, ICommandService, IConfigService, IUniverInstanceService, Inject, Injector, InterceptorEffectEnum, LocaleService, Optional, Plugin, Rectangle, RedoCommand, RxDisposable, ThemeService, UndoCommand, UniverInstanceType, VerticalAlign, WrapStrategy, bufferDebounceTime, dateKit, debounce, excelDateTimePartsToSerial, excelSerialToDateTimeParts, generateRandomId, getIntersectRange, isFormulaString, isUnitRangesEqual, merge, numfmt, sequenceExecute, shallowEqual, toDisposable } from "@univerjs/core";
2
2
  import { DataValidationModel, DataValidatorDropdownType, DataValidatorRegistryScope, DataValidatorRegistryService, TWO_FORMULA_OPERATOR_COUNT, UniverDataValidationPlugin, getRuleOptions, getRuleSetting } from "@univerjs/data-validation";
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";
3
+ import { AUTO_FILL_APPLY_TYPE, AutoFillTools, IAutoFillService, INTERCEPTOR_POINT, InterceptCellContentPriority, RangeProtectionPermissionEditPoint, SetRangeValuesCommand, SetWorksheetActiveOperation, SheetInterceptorService, 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
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";
@@ -1064,7 +1064,7 @@ const menuSchema = {
1064
1064
 
1065
1065
  // package.json
1066
1066
  var name = "@univerjs/sheets-data-validation-ui";
1067
- var version = "1.6.1";
1067
+ var version = "1.6.2";
1068
1068
 
1069
1069
  // src/controllers/dv-alert.controller.ts
1070
1070
  const ALERT_KEY = "SHEET_DATA_VALIDATION_ALERT";
@@ -1410,42 +1410,6 @@ DataValidationCopyPasteController = __decorate([
1410
1410
  __decorateParam(3, Inject(IUniverInstanceService))
1411
1411
  ], DataValidationCopyPasteController);
1412
1412
 
1413
- // src/controllers/dv-permission.controller.ts
1414
- let DataValidationPermissionController = class DataValidationPermissionController extends Disposable {
1415
- constructor(_localeService, _commandService, _sheetPermissionCheckController) {
1416
- super();
1417
- this._localeService = _localeService;
1418
- this._commandService = _commandService;
1419
- this._sheetPermissionCheckController = _sheetPermissionCheckController;
1420
- this._commandExecutedListener();
1421
- }
1422
- _commandExecutedListener() {
1423
- this.disposeWithMe(this._commandService.beforeCommandExecuted((command) => {
1424
- if (command.id === AddSheetDataValidationCommand.id) {
1425
- const { unitId, subUnitId, rule: { ranges } } = command.params;
1426
- if (!this._sheetPermissionCheckController.permissionCheckWithRanges({
1427
- workbookTypes: [WorkbookEditablePermission],
1428
- rangeTypes: [RangeProtectionPermissionEditPoint],
1429
- worksheetTypes: [WorksheetEditPermission, WorksheetSetCellStylePermission]
1430
- }, ranges, unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-data-validation-ui.permission.dialog.setStyleErr"));
1431
- }
1432
- if (command.id === UpdateSheetDataValidationRangeCommand.id) {
1433
- const { unitId, subUnitId, ranges } = command.params;
1434
- if (!this._sheetPermissionCheckController.permissionCheckWithRanges({
1435
- workbookTypes: [WorkbookEditablePermission],
1436
- rangeTypes: [RangeProtectionPermissionEditPoint],
1437
- worksheetTypes: [WorksheetEditPermission, WorksheetSetCellStylePermission]
1438
- }, ranges, unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-data-validation-ui.permission.dialog.setStyleErr"));
1439
- }
1440
- }));
1441
- }
1442
- };
1443
- DataValidationPermissionController = __decorate([
1444
- __decorateParam(0, Inject(LocaleService)),
1445
- __decorateParam(1, ICommandService),
1446
- __decorateParam(2, Inject(SheetPermissionCheckController))
1447
- ], DataValidationPermissionController);
1448
-
1449
1413
  // src/controllers/dv-rerender.controller.ts
1450
1414
  let SheetsDataValidationReRenderController = class SheetsDataValidationReRenderController extends Disposable {
1451
1415
  constructor(_context, _sheetDataValidationModel, _sheetSkeletonManagerService) {
@@ -2824,7 +2788,6 @@ let UniverSheetsDataValidationMobileUIPlugin = class UniverSheetsDataValidationM
2824
2788
  [DataValidationAlertController],
2825
2789
  [DataValidationAutoFillController],
2826
2790
  [SheetsDataValidationMobileRenderController],
2827
- [DataValidationPermissionController],
2828
2791
  [DataValidationCopyPasteController],
2829
2792
  [SheetsDataValidationUIController]
2830
2793
  ].forEach((dep) => {
@@ -2841,7 +2804,6 @@ let UniverSheetsDataValidationMobileUIPlugin = class UniverSheetsDataValidationM
2841
2804
  }
2842
2805
  onReady() {
2843
2806
  this._injector.get(DataValidationCopyPasteController);
2844
- this._injector.get(DataValidationPermissionController);
2845
2807
  this._injector.get(IRenderManagerService).registerRenderModule(UniverInstanceType.UNIVER_SHEET, [SheetsDataValidationReRenderController]);
2846
2808
  }
2847
2809
  onRendered() {
@@ -3863,7 +3825,7 @@ function ListFormulaInput(props) {
3863
3825
  }, item.id),
3864
3826
  idKey: "id"
3865
3827
  }), /* @__PURE__ */ jsxs("a", {
3866
- className: "univer-flex univer-w-fit univer-cursor-pointer univer-flex-row univer-items-center univer-rounded univer-p-1 univer-px-2 univer-text-sm univer-text-primary-600 hover:univer-bg-primary-50 dark:!univer-text-primary-500 dark:hover:!univer-bg-gray-800",
3828
+ className: "univer-flex univer-w-fit univer-cursor-pointer univer-flex-row univer-items-center univer-rounded univer-p-1 univer-px-2 univer-text-sm univer-text-primary-600 hover:univer-bg-primary-50 dark:!univer-text-primary-100 dark:hover:!univer-bg-gray-800",
3867
3829
  onClick: handleAdd,
3868
3830
  children: [/* @__PURE__ */ jsx(IncreaseIcon, { className: "univer-mr-1" }), localeService.t("sheets-data-validation-ui.list.add")]
3869
3831
  })] })
@@ -3945,7 +3907,6 @@ let UniverSheetsDataValidationUIPlugin = class UniverSheetsDataValidationUIPlugi
3945
3907
  [DataValidationAlertController],
3946
3908
  [DataValidationAutoFillController],
3947
3909
  [SheetsDataValidationRenderController],
3948
- [DataValidationPermissionController],
3949
3910
  [DataValidationCopyPasteController],
3950
3911
  [DataValidationRejectInputController],
3951
3912
  [SheetsDataValidationUIController]
@@ -3967,7 +3928,6 @@ let UniverSheetsDataValidationUIPlugin = class UniverSheetsDataValidationUIPlugi
3967
3928
  }
3968
3929
  onReady() {
3969
3930
  this._injector.get(DataValidationCopyPasteController);
3970
- this._injector.get(DataValidationPermissionController);
3971
3931
  this._injector.get(DataValidationRejectInputController);
3972
3932
  this._injector.get(DataValidationAlertController);
3973
3933
  this._injector.get(IRenderManagerService).registerRenderModule(UniverInstanceType.UNIVER_SHEET, [SheetsDataValidationReRenderController]);
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "نص عادي",
69
69
  label: "نمط العرض"
70
70
  },
71
- showTime: { label: "إظهار منتقي الوقت" },
72
- permission: { dialog: { setStyleErr: "النطاق محمي، وليس لديك الإذن بتعيين الأنماط. لتعيين الأنماط، يُرجى التواصل مع المنشئ." } }
71
+ showTime: { label: "إظهار منتقي الوقت" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Text pla",
69
69
  label: "Estil de visualització"
70
70
  },
71
- showTime: { label: "Mostra el selector d’hora" },
72
- permission: { dialog: { setStyleErr: "L'interval està protegit i no teniu permís per establir estils. Per establir estils, contacteu amb el creador." } }
71
+ showTime: { label: "Mostra el selector d’hora" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Reiner Text",
69
69
  label: "Anzeigestil"
70
70
  },
71
- showTime: { label: "Zeitauswahl anzeigen" },
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." } }
71
+ showTime: { label: "Zeitauswahl anzeigen" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -83,8 +83,7 @@ const locale = { "sheets-data-validation-ui": {
83
83
  text: "Plain text",
84
84
  label: "Display style"
85
85
  },
86
- showTime: { label: "Show TimePicker" },
87
- permission: { dialog: { setStyleErr: "The range is protected, and you do not have permission to set styles. To set styles, please contact the creator." } }
86
+ showTime: { label: "Show TimePicker" }
88
87
  } };
89
88
 
90
89
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Texto plano",
69
69
  label: "Estilo de visualización"
70
70
  },
71
- showTime: { label: "Mostrar selector de hora" },
72
- permission: { dialog: { setStyleErr: "El rango está protegido y no tienes permiso para establecer estilos. Para establecer estilos, contacta al creador." } }
71
+ showTime: { label: "Mostrar selector de hora" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "متن ساده",
69
69
  label: "سبک نمایش"
70
70
  },
71
- showTime: { label: "نمایش انتخاب زمان" },
72
- permission: { dialog: { setStyleErr: "محدوده محافظت شده است و شما مجوز تنظیم سبک‌ها را ندارید. برای تنظیم سبک‌ها، لطفا با سازنده تماس بگیرید." } }
71
+ showTime: { label: "نمایش انتخاب زمان" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Texte brut",
69
69
  label: "Style d'affichage"
70
70
  },
71
- showTime: { label: "Afficher le sélecteur de temps" },
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." } }
71
+ showTime: { label: "Afficher le sélecteur de temps" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Teks biasa",
69
69
  label: "Gaya tampilan"
70
70
  },
71
- showTime: { label: "Tampilkan TimePicker" },
72
- permission: { dialog: { setStyleErr: "Rentang ini dilindungi, dan Anda tidak memiliki izin untuk mengatur gaya. Untuk mengatur gaya, silakan hubungi pembuatnya." } }
71
+ showTime: { label: "Tampilkan TimePicker" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Testo semplice",
69
69
  label: "Stile di visualizzazione"
70
70
  },
71
- showTime: { label: "Mostra TimePicker" },
72
- permission: { dialog: { setStyleErr: "L'intervallo è protetto e non hai l'autorizzazione per impostare gli stili. Per impostare gli stili, contatta il creatore." } }
71
+ showTime: { label: "Mostra TimePicker" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "プレーンテキスト",
69
69
  label: "表示スタイル"
70
70
  },
71
- showTime: { label: "時間セレクターを表示" },
72
- permission: { dialog: { setStyleErr: "この範囲は保護されており、スタイルを変更する権限がありません。変更するには作成者に連絡してください。" } }
71
+ showTime: { label: "時間セレクターを表示" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "일반 텍스트",
69
69
  label: "표시 스타일"
70
70
  },
71
- showTime: { label: "시간 선택기 표시" },
72
- permission: { dialog: { setStyleErr: "해당 범위는 보호되어 있어 스타일 지정 권한이 없습니다. 스타일을 변경하려면 작성자에게 문의하세요." } }
71
+ showTime: { label: "시간 선택기 표시" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Zwykły tekst",
69
69
  label: "Styl wyświetlania"
70
70
  },
71
- showTime: { label: "Pokaż selektor czasu" },
72
- permission: { dialog: { setStyleErr: "Zakres jest chroniony i nie masz uprawnień do ustawiania stylów. Aby ustawić style, skontaktuj się z twórcą." } }
71
+ showTime: { label: "Pokaż selektor czasu" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Texto simples",
69
69
  label: "Estilo de exibição"
70
70
  },
71
- showTime: { label: "Mostrar seletor de hora" },
72
- permission: { dialog: { setStyleErr: "O intervalo está protegido e você não tem permissão para definir estilos. Para definir estilos, entre em contato com o criador." } }
71
+ showTime: { label: "Mostrar seletor de hora" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Обычный текст",
69
69
  label: "Стиль отображения"
70
70
  },
71
- showTime: { label: "Показать выбор времени" },
72
- permission: { dialog: { setStyleErr: "Диапазон защищен, и у вас нет разрешения на установку стилей. Для установки стилей свяжитесь с создателем." } }
71
+ showTime: { label: "Показать выбор времени" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Čistý text",
69
69
  label: "Štýl zobrazenia"
70
70
  },
71
- showTime: { label: "Zobraziť výber času" },
72
- permission: { dialog: { setStyleErr: "Rozsah je chránený a nemáte oprávnenie nastavovať štýly. Ak chcete nastavovať štýly, kontaktujte autora." } }
71
+ showTime: { label: "Zobraziť výber času" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "Văn bản thuần túy",
69
69
  label: "Hiển thị kiểu"
70
70
  },
71
- showTime: { label: "Hiển thị lựa chọn thởi gian" },
72
- permission: { dialog: { setStyleErr: "Phạm vi này đã được bảo vệ, hiện không có quyền thiết lập kiểu. Nếu cần thiết lập kiểu, vui lòng liên hệ với người tạo." } }
71
+ showTime: { label: "Hiển thị lựa chọn thởi gian" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "纯文本",
69
69
  label: "显示样式"
70
70
  },
71
- showTime: { label: "展示时间选择" },
72
- permission: { dialog: { setStyleErr: "该范围已被保护,目前无设置样式权限。如需设置样式,请联系创建者。" } }
71
+ showTime: { label: "展示时间选择" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "純文字",
69
69
  label: "顯示樣式"
70
70
  },
71
- showTime: { label: "展示時間選擇" },
72
- permission: { dialog: { setStyleErr: "該範圍已被保護,目前無設定樣式權限。如需設定樣式,請聯絡建立者。 " } }
71
+ showTime: { label: "展示時間選擇" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -68,8 +68,7 @@ const locale = { "sheets-data-validation-ui": {
68
68
  text: "純文字",
69
69
  label: "顯示樣式"
70
70
  },
71
- showTime: { label: "展示時間選擇" },
72
- permission: { dialog: { setStyleErr: "該範圍已被保護,目前無設定樣式權限。如需設定樣式,請聯絡建立者。 " } }
71
+ showTime: { label: "展示時間選擇" }
73
72
  } };
74
73
 
75
74
  export { locale as default };
@@ -94,11 +94,6 @@ declare const locale: {
94
94
  showTime: {
95
95
  label: string;
96
96
  };
97
- permission: {
98
- dialog: {
99
- setStyleErr: string;
100
- };
101
- };
102
97
  };
103
98
  };
104
99
  export default locale;
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { IUniverSheetsDataValidationUIConfig } from './config/config';
17
16
  import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
17
+ import type { IUniverSheetsDataValidationUIConfig } from './config/config';
18
18
  export declare class UniverSheetsDataValidationMobileUIPlugin extends Plugin {
19
19
  private readonly _config;
20
20
  protected readonly _injector: Injector;
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { IUniverSheetsDataValidationUIConfig } from './config/config';
17
16
  import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
17
+ import type { IUniverSheetsDataValidationUIConfig } from './config/config';
18
18
  export declare class UniverSheetsDataValidationUIPlugin extends Plugin {
19
19
  private readonly _config;
20
20
  protected readonly _injector: Injector;