@univerjs/sheets-ui 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505231607

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.
@@ -1,465 +1,3 @@
1
- /**
2
- * Copyright 2023-present DreamNum Co., Ltd.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- declare const locale: {
17
- spreadsheetLabel: string;
18
- spreadsheetRightLabel: string;
19
- toolbar: {
20
- undo: string;
21
- redo: string;
22
- formatPainter: string;
23
- font: string;
24
- fontSize: string;
25
- bold: string;
26
- italic: string;
27
- strikethrough: string;
28
- subscript: string;
29
- superscript: string;
30
- underline: string;
31
- textColor: {
32
- main: string;
33
- right: string;
34
- };
35
- resetColor: string;
36
- fillColor: {
37
- main: string;
38
- right: string;
39
- };
40
- border: {
41
- main: string;
42
- right: string;
43
- };
44
- mergeCell: {
45
- main: string;
46
- right: string;
47
- };
48
- horizontalAlignMode: {
49
- main: string;
50
- right: string;
51
- };
52
- verticalAlignMode: {
53
- main: string;
54
- right: string;
55
- };
56
- textWrapMode: {
57
- main: string;
58
- right: string;
59
- };
60
- textRotateMode: {
61
- main: string;
62
- right: string;
63
- };
64
- more: string;
65
- toggleGridlines: string;
66
- };
67
- align: {
68
- left: string;
69
- center: string;
70
- right: string;
71
- top: string;
72
- middle: string;
73
- bottom: string;
74
- };
75
- button: {
76
- confirm: string;
77
- cancel: string;
78
- close: string;
79
- update: string;
80
- delete: string;
81
- insert: string;
82
- prevPage: string;
83
- nextPage: string;
84
- total: string;
85
- };
86
- punctuation: {
87
- tab: string;
88
- semicolon: string;
89
- comma: string;
90
- space: string;
91
- };
92
- colorPicker: {
93
- collapse: string;
94
- customColor: string;
95
- change: string;
96
- confirmColor: string;
97
- cancelColor: string;
98
- };
99
- borderLine: {
100
- borderTop: string;
101
- borderBottom: string;
102
- borderLeft: string;
103
- borderRight: string;
104
- borderNone: string;
105
- borderAll: string;
106
- borderOutside: string;
107
- borderInside: string;
108
- borderHorizontal: string;
109
- borderVertical: string;
110
- borderColor: string;
111
- borderSize: string;
112
- borderType: string;
113
- };
114
- merge: {
115
- all: string;
116
- vertical: string;
117
- horizontal: string;
118
- cancel: string;
119
- overlappingError: string;
120
- partiallyError: string;
121
- confirm: {
122
- title: string;
123
- cancel: string;
124
- confirm: string;
125
- waring: string;
126
- dismantleMergeCellWaring: string;
127
- };
128
- };
129
- filter: {
130
- confirm: {
131
- error: string;
132
- notAllowedToInsertRange: string;
133
- };
134
- };
135
- textWrap: {
136
- overflow: string;
137
- wrap: string;
138
- clip: string;
139
- };
140
- textRotate: {
141
- none: string;
142
- angleUp: string;
143
- angleDown: string;
144
- vertical: string;
145
- rotationUp: string;
146
- rotationDown: string;
147
- };
148
- sheetConfig: {
149
- delete: string;
150
- copy: string;
151
- rename: string;
152
- changeColor: string;
153
- hide: string;
154
- unhide: string;
155
- moveLeft: string;
156
- moveRight: string;
157
- resetColor: string;
158
- cancelText: string;
159
- chooseText: string;
160
- tipNameRepeat: string;
161
- noMoreSheet: string;
162
- confirmDelete: string;
163
- redoDelete: string;
164
- noHide: string;
165
- chartEditNoOpt: string;
166
- sheetNameErrorTitle: string;
167
- sheetNameSpecCharError: string;
168
- sheetNameCannotIsEmptyError: string;
169
- sheetNameAlreadyExistsError: string;
170
- deleteSheet: string;
171
- deleteSheetContent: string;
172
- addProtectSheet: string;
173
- removeProtectSheet: string;
174
- changeSheetPermission: string;
175
- viewAllProtectArea: string;
176
- };
177
- rightClick: {
178
- copy: string;
179
- cut: string;
180
- paste: string;
181
- pasteSpecial: string;
182
- pasteValue: string;
183
- pasteFormat: string;
184
- pasteColWidth: string;
185
- pasteBesidesBorder: string;
186
- insert: string;
187
- delete: string;
188
- insertRow: string;
189
- insertRowBefore: string;
190
- insertRowsAbove: string;
191
- insertRowsAfter: string;
192
- insertRowsAfterSuffix: string;
193
- insertRowsAboveSuffix: string;
194
- insertColumn: string;
195
- insertColumnBefore: string;
196
- insertColsLeft: string;
197
- insertColsRight: string;
198
- insertColsLeftSuffix: string;
199
- insertColsRightSuffix: string;
200
- deleteCell: string;
201
- insertCell: string;
202
- deleteSelected: string;
203
- hide: string;
204
- hideSelected: string;
205
- showHide: string;
206
- toTopAdd: string;
207
- toBottomAdd: string;
208
- toLeftAdd: string;
209
- toRightAdd: string;
210
- deleteSelectedRow: string;
211
- deleteSelectedColumn: string;
212
- hideSelectedRow: string;
213
- showHideRow: string;
214
- rowHeight: string;
215
- hideSelectedColumn: string;
216
- showHideColumn: string;
217
- columnWidth: string;
218
- moveLeft: string;
219
- moveUp: string;
220
- moveRight: string;
221
- moveDown: string;
222
- add: string;
223
- row: string;
224
- column: string;
225
- confirm: string;
226
- clearSelection: string;
227
- clearContent: string;
228
- clearFormat: string;
229
- clearAll: string;
230
- root: string;
231
- log: string;
232
- delete0: string;
233
- removeDuplicate: string;
234
- byRow: string;
235
- byCol: string;
236
- generateNewMatrix: string;
237
- fitContent: string;
238
- freeze: string;
239
- freezeCol: string;
240
- freezeRow: string;
241
- cancelFreeze: string;
242
- deleteAllRowsAlert: string;
243
- deleteAllColumnsAlert: string;
244
- hideAllRowsAlert: string;
245
- hideAllColumnsAlert: string;
246
- protectRange: string;
247
- editProtectRange: string;
248
- removeProtectRange: string;
249
- turnOnProtectRange: string;
250
- viewAllProtectArea: string;
251
- };
252
- info: {
253
- tooltip: string;
254
- error: string;
255
- notChangeMerge: string;
256
- detailUpdate: string;
257
- detailSave: string;
258
- row: string;
259
- column: string;
260
- loading: string;
261
- copy: string;
262
- return: string;
263
- rename: string;
264
- tips: string;
265
- noName: string;
266
- wait: string;
267
- add: string;
268
- addLast: string;
269
- backTop: string;
270
- pageInfo: string;
271
- nextPage: string;
272
- tipInputNumber: string;
273
- tipInputNumberLimit: string;
274
- tipRowHeightLimit: string;
275
- tipColumnWidthLimit: string;
276
- pageInfoFull: string;
277
- problem: string;
278
- forceStringInfo: string;
279
- };
280
- clipboard: {
281
- paste: {
282
- exceedMaxCells: string;
283
- overlappingMergedCells: string;
284
- };
285
- shortCutNotify: {
286
- title: string;
287
- useShortCutInstead: string;
288
- };
289
- };
290
- statusbar: {
291
- sum: string;
292
- average: string;
293
- min: string;
294
- max: string;
295
- count: string;
296
- countA: string;
297
- clickToCopy: string;
298
- copied: string;
299
- };
300
- autoFill: {
301
- copy: string;
302
- series: string;
303
- formatOnly: string;
304
- noFormat: string;
305
- };
306
- rangeSelector: {
307
- placeholder: string;
308
- tooltip: string;
309
- };
310
- shortcut: {
311
- sheet: {
312
- 'zoom-in': string;
313
- 'zoom-out': string;
314
- 'reset-zoom': string;
315
- 'select-below-cell': string;
316
- 'select-up-cell': string;
317
- 'select-left-cell': string;
318
- 'select-right-cell': string;
319
- 'select-next-cell': string;
320
- 'select-previous-cell': string;
321
- 'select-up-value-cell': string;
322
- 'select-below-value-cell': string;
323
- 'select-left-value-cell': string;
324
- 'select-right-value-cell': string;
325
- 'expand-selection-down': string;
326
- 'expand-selection-up': string;
327
- 'expand-selection-left': string;
328
- 'expand-selection-right': string;
329
- 'expand-selection-to-left-gap': string;
330
- 'expand-selection-to-below-gap': string;
331
- 'expand-selection-to-right-gap': string;
332
- 'expand-selection-to-up-gap': string;
333
- 'select-all': string;
334
- 'toggle-editing': string;
335
- 'delete-and-start-editing': string;
336
- 'abort-editing': string;
337
- 'break-line': string;
338
- 'set-bold': string;
339
- 'set-italic': string;
340
- 'set-underline': string;
341
- 'set-strike-through': string;
342
- 'start-editing': string;
343
- };
344
- };
345
- 'sheet-view': string;
346
- 'sheet-edit': string;
347
- definedName: {
348
- managerTitle: string;
349
- managerDescription: string;
350
- addButton: string;
351
- featureTitle: string;
352
- ratioRange: string;
353
- ratioFormula: string;
354
- confirm: string;
355
- cancel: string;
356
- scopeWorkbook: string;
357
- inputNamePlaceholder: string;
358
- inputCommentPlaceholder: string;
359
- inputRangePlaceholder: string;
360
- inputFormulaPlaceholder: string;
361
- nameEmpty: string;
362
- nameDuplicate: string;
363
- formulaOrRefStringEmpty: string;
364
- formulaOrRefStringInvalid: string;
365
- defaultName: string;
366
- updateButton: string;
367
- deleteButton: string;
368
- deleteConfirmText: string;
369
- nameConflict: string;
370
- nameInvalid: string;
371
- nameSheetConflict: string;
372
- };
373
- uploadLoading: {
374
- loading: string;
375
- error: string;
376
- };
377
- permission: {
378
- toolbarMenu: string;
379
- panel: {
380
- title: string;
381
- name: string;
382
- protectedRange: string;
383
- permissionDirection: string;
384
- permissionDirectionPlaceholder: string;
385
- editPermission: string;
386
- onlyICanEdit: string;
387
- designedUserCanEdit: string;
388
- viewPermission: string;
389
- othersCanView: string;
390
- noOneElseCanView: string;
391
- designedPerson: string;
392
- addPerson: string;
393
- canEdit: string;
394
- canView: string;
395
- delete: string;
396
- currentSheet: string;
397
- allSheet: string;
398
- edit: string;
399
- Print: string;
400
- Comment: string;
401
- Copy: string;
402
- SetCellStyle: string;
403
- SetCellValue: string;
404
- SetHyperLink: string;
405
- Sort: string;
406
- Filter: string;
407
- PivotTable: string;
408
- FloatImage: string;
409
- RowHeightColWidth: string;
410
- RowHeightColWidthReadonly: string;
411
- FilterReadonly: string;
412
- nameError: string;
413
- created: string;
414
- iCanEdit: string;
415
- iCanNotEdit: string;
416
- iCanView: string;
417
- iCanNotView: string;
418
- emptyRangeError: string;
419
- rangeOverlapError: string;
420
- rangeOverlapOverPermissionError: string;
421
- InsertHyperlink: string;
422
- SetRowStyle: string;
423
- SetColumnStyle: string;
424
- InsertColumn: string;
425
- InsertRow: string;
426
- DeleteRow: string;
427
- DeleteColumn: string;
428
- EditExtraObject: string;
429
- };
430
- dialog: {
431
- allowUserToEdit: string;
432
- allowedPermissionType: string;
433
- setCellValue: string;
434
- setCellStyle: string;
435
- copy: string;
436
- alert: string;
437
- search: string;
438
- alertContent: string;
439
- userEmpty: string;
440
- listEmpty: string;
441
- commonErr: string;
442
- editErr: string;
443
- pasteErr: string;
444
- setStyleErr: string;
445
- copyErr: string;
446
- workbookCopyErr: string;
447
- setRowColStyleErr: string;
448
- moveRowColErr: string;
449
- moveRangeErr: string;
450
- autoFillErr: string;
451
- filterErr: string;
452
- operatorSheetErr: string;
453
- insertOrDeleteMoveRangeErr: string;
454
- printErr: string;
455
- formulaErr: string;
456
- hyperLinkErr: string;
457
- };
458
- button: {
459
- confirm: string;
460
- cancel: string;
461
- addNewPermission: string;
462
- };
463
- };
464
- };
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
465
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as zhCN } from './zh-CN';
2
- declare const locale: typeof zhCN;
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,13 +1,14 @@
1
1
  import { BooleanNumber } from '@univerjs/core';
2
- import { default as React } from 'react';
2
+ import { CSSProperties, ReactNode } from 'react';
3
3
  export interface IBaseSheetBarProps {
4
- label?: React.ReactNode;
4
+ label?: ReactNode;
5
5
  children?: any[];
6
6
  index?: number;
7
7
  color?: string;
8
8
  sheetId?: string;
9
- style?: React.CSSProperties;
9
+ style?: CSSProperties;
10
10
  hidden?: BooleanNumber;
11
11
  selected?: boolean;
12
+ menuOverlay?: ReactNode;
12
13
  }
13
14
  export declare function SheetBarItem(props: IBaseSheetBarProps): import("react/jsx-runtime").JSX.Element;