@univerjs/sheets-data-validation-ui 1.6.0 → 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.
- package/lib/cjs/index.js +2 -42
- 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 +3 -43
- 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.css +2 -2
- package/lib/index.js +3 -43
- 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/locale/en-US.d.ts +0 -5
- package/lib/types/mobile-plugin.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- 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 -1
- package/lib/umd/locale/it-IT.js +1 -1
- 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 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- 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 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
- package/lib/types/controllers/dv-permission.controller.d.ts +0 -24
package/lib/cjs/index.js
CHANGED
|
@@ -1065,7 +1065,7 @@ const menuSchema = {
|
|
|
1065
1065
|
|
|
1066
1066
|
// package.json
|
|
1067
1067
|
var name = "@univerjs/sheets-data-validation-ui";
|
|
1068
|
-
var version = "1.6.
|
|
1068
|
+
var version = "1.6.2";
|
|
1069
1069
|
|
|
1070
1070
|
// src/controllers/dv-alert.controller.ts
|
|
1071
1071
|
const ALERT_KEY = "SHEET_DATA_VALIDATION_ALERT";
|
|
@@ -1411,42 +1411,6 @@ DataValidationCopyPasteController = __decorate([
|
|
|
1411
1411
|
__decorateParam(3, (0, _univerjs_core.Inject)(_univerjs_core.IUniverInstanceService))
|
|
1412
1412
|
], DataValidationCopyPasteController);
|
|
1413
1413
|
|
|
1414
|
-
// src/controllers/dv-permission.controller.ts
|
|
1415
|
-
let DataValidationPermissionController = class DataValidationPermissionController extends _univerjs_core.Disposable {
|
|
1416
|
-
constructor(_localeService, _commandService, _sheetPermissionCheckController) {
|
|
1417
|
-
super();
|
|
1418
|
-
this._localeService = _localeService;
|
|
1419
|
-
this._commandService = _commandService;
|
|
1420
|
-
this._sheetPermissionCheckController = _sheetPermissionCheckController;
|
|
1421
|
-
this._commandExecutedListener();
|
|
1422
|
-
}
|
|
1423
|
-
_commandExecutedListener() {
|
|
1424
|
-
this.disposeWithMe(this._commandService.beforeCommandExecuted((command) => {
|
|
1425
|
-
if (command.id === _univerjs_sheets_data_validation.AddSheetDataValidationCommand.id) {
|
|
1426
|
-
const { unitId, subUnitId, rule: { ranges } } = command.params;
|
|
1427
|
-
if (!this._sheetPermissionCheckController.permissionCheckWithRanges({
|
|
1428
|
-
workbookTypes: [_univerjs_sheets.WorkbookEditablePermission],
|
|
1429
|
-
rangeTypes: [_univerjs_sheets.RangeProtectionPermissionEditPoint],
|
|
1430
|
-
worksheetTypes: [_univerjs_sheets.WorksheetEditPermission, _univerjs_sheets.WorksheetSetCellStylePermission]
|
|
1431
|
-
}, ranges, unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-data-validation-ui.permission.dialog.setStyleErr"));
|
|
1432
|
-
}
|
|
1433
|
-
if (command.id === _univerjs_sheets_data_validation.UpdateSheetDataValidationRangeCommand.id) {
|
|
1434
|
-
const { unitId, subUnitId, ranges } = command.params;
|
|
1435
|
-
if (!this._sheetPermissionCheckController.permissionCheckWithRanges({
|
|
1436
|
-
workbookTypes: [_univerjs_sheets.WorkbookEditablePermission],
|
|
1437
|
-
rangeTypes: [_univerjs_sheets.RangeProtectionPermissionEditPoint],
|
|
1438
|
-
worksheetTypes: [_univerjs_sheets.WorksheetEditPermission, _univerjs_sheets.WorksheetSetCellStylePermission]
|
|
1439
|
-
}, ranges, unitId, subUnitId)) this._sheetPermissionCheckController.blockExecuteWithoutPermission(this._localeService.t("sheets-data-validation-ui.permission.dialog.setStyleErr"));
|
|
1440
|
-
}
|
|
1441
|
-
}));
|
|
1442
|
-
}
|
|
1443
|
-
};
|
|
1444
|
-
DataValidationPermissionController = __decorate([
|
|
1445
|
-
__decorateParam(0, (0, _univerjs_core.Inject)(_univerjs_core.LocaleService)),
|
|
1446
|
-
__decorateParam(1, _univerjs_core.ICommandService),
|
|
1447
|
-
__decorateParam(2, (0, _univerjs_core.Inject)(_univerjs_sheets.SheetPermissionCheckController))
|
|
1448
|
-
], DataValidationPermissionController);
|
|
1449
|
-
|
|
1450
1414
|
// src/controllers/dv-rerender.controller.ts
|
|
1451
1415
|
let SheetsDataValidationReRenderController = class SheetsDataValidationReRenderController extends _univerjs_core.Disposable {
|
|
1452
1416
|
constructor(_context, _sheetDataValidationModel, _sheetSkeletonManagerService) {
|
|
@@ -2825,7 +2789,6 @@ let UniverSheetsDataValidationMobileUIPlugin = class UniverSheetsDataValidationM
|
|
|
2825
2789
|
[DataValidationAlertController],
|
|
2826
2790
|
[DataValidationAutoFillController],
|
|
2827
2791
|
[SheetsDataValidationMobileRenderController],
|
|
2828
|
-
[DataValidationPermissionController],
|
|
2829
2792
|
[DataValidationCopyPasteController],
|
|
2830
2793
|
[SheetsDataValidationUIController]
|
|
2831
2794
|
].forEach((dep) => {
|
|
@@ -2842,7 +2805,6 @@ let UniverSheetsDataValidationMobileUIPlugin = class UniverSheetsDataValidationM
|
|
|
2842
2805
|
}
|
|
2843
2806
|
onReady() {
|
|
2844
2807
|
this._injector.get(DataValidationCopyPasteController);
|
|
2845
|
-
this._injector.get(DataValidationPermissionController);
|
|
2846
2808
|
this._injector.get(_univerjs_engine_render.IRenderManagerService).registerRenderModule(_univerjs_core.UniverInstanceType.UNIVER_SHEET, [SheetsDataValidationReRenderController]);
|
|
2847
2809
|
}
|
|
2848
2810
|
onRendered() {
|
|
@@ -3864,7 +3826,7 @@ function ListFormulaInput(props) {
|
|
|
3864
3826
|
}, item.id),
|
|
3865
3827
|
idKey: "id"
|
|
3866
3828
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("a", {
|
|
3867
|
-
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-
|
|
3829
|
+
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",
|
|
3868
3830
|
onClick: handleAdd,
|
|
3869
3831
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_icons.IncreaseIcon, { className: "univer-mr-1" }), localeService.t("sheets-data-validation-ui.list.add")]
|
|
3870
3832
|
})] })
|
|
@@ -3946,7 +3908,6 @@ let UniverSheetsDataValidationUIPlugin = class UniverSheetsDataValidationUIPlugi
|
|
|
3946
3908
|
[DataValidationAlertController],
|
|
3947
3909
|
[DataValidationAutoFillController],
|
|
3948
3910
|
[SheetsDataValidationRenderController],
|
|
3949
|
-
[DataValidationPermissionController],
|
|
3950
3911
|
[DataValidationCopyPasteController],
|
|
3951
3912
|
[DataValidationRejectInputController],
|
|
3952
3913
|
[SheetsDataValidationUIController]
|
|
@@ -3968,7 +3929,6 @@ let UniverSheetsDataValidationUIPlugin = class UniverSheetsDataValidationUIPlugi
|
|
|
3968
3929
|
}
|
|
3969
3930
|
onReady() {
|
|
3970
3931
|
this._injector.get(DataValidationCopyPasteController);
|
|
3971
|
-
this._injector.get(DataValidationPermissionController);
|
|
3972
3932
|
this._injector.get(DataValidationRejectInputController);
|
|
3973
3933
|
this._injector.get(DataValidationAlertController);
|
|
3974
3934
|
this._injector.get(_univerjs_engine_render.IRenderManagerService).registerRenderModule(_univerjs_core.UniverInstanceType.UNIVER_SHEET, [SheetsDataValidationReRenderController]);
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -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
|
module.exports = locale;
|
package/lib/es/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,
|
|
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.
|
|
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-
|
|
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]);
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/pl-PL.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/pt-BR.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/zh-HK.js
CHANGED
|
@@ -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 };
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -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 };
|
package/lib/index.css
CHANGED
|
@@ -401,8 +401,8 @@
|
|
|
401
401
|
color: var(--univer-gray-300) !important;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
.dark\:\!univer-text-primary-
|
|
405
|
-
color: var(--univer-primary-
|
|
404
|
+
.dark\:\!univer-text-primary-100:where(.univer-dark, .univer-dark *) {
|
|
405
|
+
color: var(--univer-primary-100) !important;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
@media (hover: hover) and (pointer: fine) {
|