@univerjs/sheets 0.4.1 → 0.4.2-nightly.202410301606
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/add-worksheet-merge.command-0cuLfO_2.mjs +5939 -0
- package/lib/es/facade.js +1818 -0
- package/lib/es/index.js +1800 -7245
- package/lib/locale/en-US.js +17 -0
- package/lib/locale/fa-IR.js +17 -0
- package/lib/locale/ru-RU.js +17 -0
- package/lib/locale/vi-VN.js +17 -0
- package/lib/locale/zh-CN.js +17 -0
- package/lib/locale/zh-TW.js +17 -0
- package/lib/types/basics/row-column-value.d.ts +14 -0
- package/lib/types/commands/commands/__tests__/set-col-data.command.spec.d.ts +16 -0
- package/lib/types/commands/commands/__tests__/set-row-data.command.spec.d.ts +16 -0
- package/lib/types/commands/commands/__tests__/set-worksheet-default-style.command.spec.d.ts +16 -0
- package/lib/types/commands/commands/set-col-data.command.d.ts +7 -0
- package/lib/types/commands/commands/set-frozen.command.d.ts +13 -0
- package/lib/types/commands/commands/set-row-data.command.d.ts +7 -0
- package/lib/types/commands/commands/set-style.command.d.ts +1 -1
- package/lib/types/commands/commands/set-worksheet-col-width.command.d.ts +6 -0
- package/lib/types/commands/commands/set-worksheet-default-style.command.d.ts +2 -0
- package/lib/types/commands/commands/toggle-gridlines.command.d.ts +7 -0
- package/lib/types/commands/mutations/add-range-protection.mutation.d.ts +2 -2
- package/lib/types/commands/mutations/delete-range-protection.mutation.d.ts +3 -3
- package/lib/types/commands/mutations/set-col-data.mutation.d.ts +8 -0
- package/lib/types/commands/mutations/set-frozen.mutation.d.ts +8 -0
- package/lib/types/commands/mutations/set-row-data.mutation.d.ts +8 -0
- package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts +3 -0
- package/lib/types/commands/mutations/set-worksheet-default-style.mutation.d.ts +12 -0
- package/lib/types/commands/mutations/toggle-gridlines.mutation.d.ts +7 -0
- package/lib/types/controllers/config.schema.d.ts +4 -0
- package/lib/types/facade/__tests__/utils.spec.d.ts +16 -0
- package/lib/types/facade/f-permission.d.ts +106 -0
- package/lib/types/facade/f-range.d.ts +193 -0
- package/lib/types/facade/f-selection.d.ts +11 -0
- package/lib/types/facade/f-univer.d.ts +36 -0
- package/lib/types/facade/f-workbook.d.ts +105 -0
- package/lib/types/facade/f-worksheet.d.ts +408 -0
- package/lib/types/facade/index.d.ts +6 -0
- package/lib/types/facade/utils.d.ts +24 -0
- package/lib/types/index.d.ts +19 -7
- package/lib/types/model/range-protection.cache.d.ts +5 -2
- package/lib/types/services/border-style-manager.service.d.ts +2 -2
- package/lib/types/services/permission/permission-point/index.d.ts +2 -0
- package/lib/types/services/permission/permission-point/range/delete-protection.d.ts +13 -0
- package/lib/types/services/permission/permission-point/range/manage-collaborator.d.ts +13 -0
- package/lib/types/services/permission/permission-point/workbook/create-permission.d.ts +11 -0
- package/lib/types/services/permission/permission-point/worksheet/delete-protection.d.ts +12 -0
- package/lib/types/services/permission/range-permission/range-protection.ref-range.d.ts +3 -3
- package/lib/types/services/permission/range-permission/range-protection.service.d.ts +3 -2
- package/lib/types/services/permission/range-permission/util.d.ts +1 -0
- package/lib/types/services/permission/type.d.ts +1 -1
- package/lib/types/services/permission/workbook-permission/workbook-permission.service.d.ts +4 -1
- package/lib/types/services/permission/worksheet-permission/utils.d.ts +2 -2
- package/lib/types/services/selections/selection-manager.service.d.ts +2 -2
- package/lib/types/services/sheet-interceptor/sheet-interceptor.service.d.ts +38 -7
- package/lib/umd/facade.js +3 -0
- package/lib/umd/index.js +3 -3
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +21 -18
- package/LICENSE +0 -176
- package/lib/cjs/index.js +0 -3
- package/lib/locale/en-US.json +0 -14
- package/lib/locale/fa-IR.json +0 -14
- package/lib/locale/ru-RU.json +0 -14
- package/lib/locale/vi-VN.json +0 -14
- package/lib/locale/zh-CN.json +0 -14
- package/lib/locale/zh-TW.json +0 -14
- package/lib/types/basics/cell-custom.d.ts +0 -12
- package/lib/types/commands/commands/set-frozen-cancel.command.d.ts +0 -2
- package/lib/types/commands/commands/set-hide-gridlines.command.d.ts +0 -7
- package/lib/types/commands/mutations/set-hide-gridlines.mutatiom.d.ts +0 -8
- /package/lib/types/basics/__tests__/{cell-custom.spec.d.ts → row-column-value.spec.d.ts} +0 -0
package/lib/locale/en-US.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sheets": {
|
|
3
|
-
"tabs": {
|
|
4
|
-
"sheetCopy": "(Copy{0})",
|
|
5
|
-
"sheet": "Sheet"
|
|
6
|
-
},
|
|
7
|
-
"info": {
|
|
8
|
-
"overlappingSelections": "Cannot use that command on overlapping selections",
|
|
9
|
-
"acrossMergedCell": "Across a merged cell",
|
|
10
|
-
"partOfCell": "Only part of a merged cell is selected",
|
|
11
|
-
"hideSheet": "No visible sheet after you hide this"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
package/lib/locale/fa-IR.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sheets": {
|
|
3
|
-
"tabs": {
|
|
4
|
-
"sheetCopy": "(کپی{0})",
|
|
5
|
-
"sheet": "برگ"
|
|
6
|
-
},
|
|
7
|
-
"info": {
|
|
8
|
-
"overlappingSelections": "نمیتوان از این دستور روی انتخابهای همپوشانی استفاده کرد",
|
|
9
|
-
"acrossMergedCell": "در سراسر سلول ادغام شده",
|
|
10
|
-
"partOfCell": "فقط بخشی از سلول ادغام شده انتخاب شده است",
|
|
11
|
-
"hideSheet": "پس از پنهان کردن این برگ، هیچ برگی قابل مشاهده نخواهد بود"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
package/lib/locale/ru-RU.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sheets": {
|
|
3
|
-
"tabs": {
|
|
4
|
-
"sheetCopy": "(Копия{0})",
|
|
5
|
-
"sheet": "Лист"
|
|
6
|
-
},
|
|
7
|
-
"info": {
|
|
8
|
-
"overlappingSelections": "Невозможно использовать эту команду на пересекающихся выделениях",
|
|
9
|
-
"acrossMergedCell": "Через объединенную ячейку",
|
|
10
|
-
"partOfCell": "Выделена только часть объединенной ячейки",
|
|
11
|
-
"hideSheet": "После скрытия этого листа не будет видно ни одного листа"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
package/lib/locale/vi-VN.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"sheets": {
|
|
3
|
-
"tabs": {
|
|
4
|
-
"sheetCopy": "(Bản sao {0})",
|
|
5
|
-
"sheet": "Bảng tính"
|
|
6
|
-
},
|
|
7
|
-
"info": {
|
|
8
|
-
"overlappingSelections": "Không thể sử dụng lệnh này trên các vùng chọn chồng chéo nhau",
|
|
9
|
-
"acrossMergedCell": "Không thể vượt qua các ô đã hợp nhất",
|
|
10
|
-
"partOfCell": "Chỉ chọn một phần của ô đã hợp nhất",
|
|
11
|
-
"hideSheet": "Không có bảng tính nào hiển thị sau khi ẩn"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
package/lib/locale/zh-CN.json
DELETED
package/lib/locale/zh-TW.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ICellData, Nullable } from '@univerjs/core';
|
|
2
|
-
/**
|
|
3
|
-
* Update custom object by old and new value
|
|
4
|
-
* @param oldVal
|
|
5
|
-
* @param newVal
|
|
6
|
-
*/
|
|
7
|
-
export declare function handleCustom(oldVal: ICellData, newVal: ICellData): void;
|
|
8
|
-
/**
|
|
9
|
-
* Convert old custom normal key for storage
|
|
10
|
-
* @param style
|
|
11
|
-
*/
|
|
12
|
-
export declare function transformCustom(oldCustom: Nullable<Record<string, any>>, newCustom: Nullable<Record<string, any>>): Nullable<Record<string, any>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BooleanNumber, IAccessor, IMutation } from '@univerjs/core';
|
|
2
|
-
export interface ISetHideGridlinesMutationParams {
|
|
3
|
-
hideGridlines: BooleanNumber;
|
|
4
|
-
unitId: string;
|
|
5
|
-
subUnitId: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const SetHideGridlinesUndoMutationFactory: (accessor: IAccessor, params: ISetHideGridlinesMutationParams) => ISetHideGridlinesMutationParams;
|
|
8
|
-
export declare const SetHideGridlinesMutation: IMutation<ISetHideGridlinesMutationParams>;
|
|
File without changes
|