@univerjs/sheets 0.17.0 → 0.18.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/facade.js +1 -1
- package/lib/cjs/index.js +2 -3
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -8762
- package/lib/es/index.js +2 -15285
- package/lib/es/locale/ca-ES.js +1 -17
- package/lib/es/locale/en-US.js +1 -17
- package/lib/es/locale/es-ES.js +1 -17
- package/lib/es/locale/fa-IR.js +1 -17
- package/lib/es/locale/fr-FR.js +1 -17
- package/lib/es/locale/ja-JP.js +1 -17
- package/lib/es/locale/ko-KR.js +1 -17
- package/lib/es/locale/ru-RU.js +1 -17
- package/lib/es/locale/sk-SK.js +1 -17
- package/lib/es/locale/vi-VN.js +1 -17
- package/lib/es/locale/zh-CN.js +1 -17
- package/lib/es/locale/zh-TW.js +1 -17
- package/lib/facade.js +1 -8762
- package/lib/index.js +2 -15285
- package/lib/locale/ca-ES.js +1 -17
- package/lib/locale/en-US.js +1 -17
- package/lib/locale/es-ES.js +1 -17
- package/lib/locale/fa-IR.js +1 -17
- package/lib/locale/fr-FR.js +1 -17
- package/lib/locale/ja-JP.js +1 -17
- package/lib/locale/ko-KR.js +1 -17
- package/lib/locale/ru-RU.js +1 -17
- package/lib/locale/sk-SK.js +1 -17
- package/lib/locale/vi-VN.js +1 -17
- package/lib/locale/zh-CN.js +1 -17
- package/lib/locale/zh-TW.js +1 -17
- package/lib/types/basics/cell-style.d.ts +16 -1
- package/lib/types/basics/cell-type.d.ts +17 -1
- package/lib/types/basics/cell-value.d.ts +18 -2
- package/lib/types/basics/const/command-listener-const.d.ts +31 -16
- package/lib/types/basics/const/default-spreadsheet-plugin-data.d.ts +16 -1
- package/lib/types/basics/expand-range.d.ts +16 -1
- package/lib/types/basics/interfaces/i-ruler-manager.d.ts +16 -1
- package/lib/types/basics/interfaces/mutation-interface.d.ts +16 -1
- package/lib/types/basics/interfaces/selection-config.d.ts +16 -1
- package/lib/types/basics/interfaces/spreadsheet-config.d.ts +16 -1
- package/lib/types/basics/range-merge.d.ts +17 -1
- package/lib/types/basics/row-column-value.d.ts +16 -1
- package/lib/types/basics/selection.d.ts +16 -1
- package/lib/types/basics/sheet-header.d.ts +16 -1
- package/lib/types/basics/split-range-text.d.ts +16 -1
- package/lib/types/basics/utils.d.ts +17 -2
- package/lib/types/commands/commands/add-range-protection.command.d.ts +17 -2
- package/lib/types/commands/commands/add-worksheet-merge.command.d.ts +18 -2
- package/lib/types/commands/commands/add-worksheet-protection.command.d.ts +17 -2
- package/lib/types/commands/commands/add-worksheet-range-theme.command.d.ts +16 -1
- package/lib/types/commands/commands/append-row.command.d.ts +16 -1
- package/lib/types/commands/commands/auto-fill.command.d.ts +18 -1
- package/lib/types/commands/commands/clear-selection-all.command.d.ts +16 -1
- package/lib/types/commands/commands/clear-selection-content.command.d.ts +16 -1
- package/lib/types/commands/commands/clear-selection-format.command.d.ts +16 -1
- package/lib/types/commands/commands/copy-worksheet.command.d.ts +17 -1
- package/lib/types/commands/commands/delete-range-move-left.command.d.ts +16 -1
- package/lib/types/commands/commands/delete-range-move-up.command.d.ts +16 -1
- package/lib/types/commands/commands/delete-range-protection.command.d.ts +17 -2
- package/lib/types/commands/commands/delete-worksheet-protection.command.d.ts +17 -2
- package/lib/types/commands/commands/delete-worksheet-range-theme.command.d.ts +16 -1
- package/lib/types/commands/commands/insert-defined-name.command.d.ts +16 -1
- package/lib/types/commands/commands/insert-range-move-down.command.d.ts +16 -1
- package/lib/types/commands/commands/insert-range-move-right.command.d.ts +16 -1
- package/lib/types/commands/commands/insert-row-col.command.d.ts +17 -1
- package/lib/types/commands/commands/insert-sheet.command.d.ts +16 -1
- package/lib/types/commands/commands/move-range.command.d.ts +16 -1
- package/lib/types/commands/commands/move-rows-cols.command.d.ts +16 -1
- package/lib/types/commands/commands/refill.command.d.ts +17 -2
- package/lib/types/commands/commands/register-range-theme.command.d.ts +17 -2
- package/lib/types/commands/commands/remove-defined-name.command.d.ts +16 -1
- package/lib/types/commands/commands/remove-row-col.command.d.ts +16 -1
- package/lib/types/commands/commands/remove-sheet.command.d.ts +16 -1
- package/lib/types/commands/commands/remove-worksheet-merge.command.d.ts +16 -1
- package/lib/types/commands/commands/reorder-range.command.d.ts +17 -2
- package/lib/types/commands/commands/set-border-command.d.ts +18 -2
- package/lib/types/commands/commands/set-col-data.command.d.ts +17 -2
- package/lib/types/commands/commands/set-col-visible.command.d.ts +16 -1
- package/lib/types/commands/commands/set-defined-name.command.d.ts +16 -1
- package/lib/types/commands/commands/set-frozen.command.d.ts +16 -1
- package/lib/types/commands/commands/set-gridlines-color.command.d.ts +16 -1
- package/lib/types/commands/commands/set-protection.command.d.ts +18 -3
- package/lib/types/commands/commands/set-range-custom-metadata.command.d.ts +17 -2
- package/lib/types/commands/commands/set-range-values.command.d.ts +17 -2
- package/lib/types/commands/commands/set-row-data.command.d.ts +17 -2
- package/lib/types/commands/commands/set-row-visible.command.d.ts +16 -1
- package/lib/types/commands/commands/set-style.command.d.ts +17 -2
- package/lib/types/commands/commands/set-tab-color.command.d.ts +17 -2
- package/lib/types/commands/commands/set-workbook-name.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-activate.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-col-width.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-column-count.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-default-style.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-hide.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-name.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-order.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-permission-points.command.d.ts +17 -2
- package/lib/types/commands/commands/set-worksheet-protection.command.d.ts +17 -2
- package/lib/types/commands/commands/set-worksheet-right-to-left.command.d.ts +17 -1
- package/lib/types/commands/commands/set-worksheet-row-count.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-row-height.command.d.ts +16 -1
- package/lib/types/commands/commands/set-worksheet-show.command.d.ts +16 -1
- package/lib/types/commands/commands/split-text-to-columns.command.d.ts +18 -2
- package/lib/types/commands/commands/text-to-number.command.d.ts +17 -2
- package/lib/types/commands/commands/toggle-checkbox.command.d.ts +16 -1
- package/lib/types/commands/commands/toggle-gridlines.command.d.ts +17 -1
- package/lib/types/commands/commands/unregister-range-theme.command.d.ts +16 -1
- package/lib/types/commands/commands/util.d.ts +17 -1
- package/lib/types/commands/commands/utils/selection-utils.d.ts +18 -3
- package/lib/types/commands/commands/utils/target-util.d.ts +16 -1
- package/lib/types/commands/mutations/add-range-protection.mutation.d.ts +18 -3
- package/lib/types/commands/mutations/add-range-theme.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/add-worksheet-merge.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/add-worksheet-protection.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/add-worksheet-range-theme.mutation.d.ts +18 -3
- package/lib/types/commands/mutations/copy-worksheet-end.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/delete-range-protection.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/delete-worksheet-protection.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/delete-worksheet-range-theme.mutation.d.ts +18 -3
- package/lib/types/commands/mutations/empty.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/insert-row-col.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/insert-sheet.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/mark-dirty-auto-height.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/move-range.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/move-rows-cols.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/numfmt-mutation.d.ts +16 -1
- package/lib/types/commands/mutations/register-range-theme.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/remove-range-theme.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/remove-row-col.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/remove-sheet.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/remove-worksheet-merge.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/reorder-range.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-col-data.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-col-visible.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-frozen.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-gridlines-color.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-range-protection.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-range-theme.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-range-values.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-row-data.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-row-visible.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-tab-color.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-workbook-name.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-col-width.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-column-count.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-default-style.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-hide.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-name.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-order.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-permission-points.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-worksheet-protection.mutation.d.ts +17 -2
- package/lib/types/commands/mutations/set-worksheet-right-to-left.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-row-count.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/set-worksheet-row-height.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/toggle-gridlines.mutation.d.ts +16 -1
- package/lib/types/commands/mutations/unregister-range-theme-style.mutation.d.ts +16 -1
- package/lib/types/commands/operations/scroll-to-cell.operation.d.ts +16 -1
- package/lib/types/commands/operations/selection.operation.d.ts +18 -3
- package/lib/types/commands/operations/set-worksheet-active.operation.d.ts +16 -1
- package/lib/types/commands/utils/handle-merge-operation.d.ts +18 -3
- package/lib/types/commands/utils/handle-range-mutation.d.ts +18 -2
- package/lib/types/commands/utils/selection-command-util.d.ts +16 -1
- package/lib/types/config/config.d.ts +16 -1
- package/lib/types/controllers/active-worksheet.controller.d.ts +15 -0
- package/lib/types/controllers/auto-fill.controller.d.ts +15 -0
- package/lib/types/controllers/basic-worksheet.controller.d.ts +17 -1
- package/lib/types/controllers/calculate-result-apply.controller.d.ts +15 -0
- package/lib/types/controllers/defined-name-data.controller.d.ts +15 -0
- package/lib/types/controllers/freeze-sync.controller.d.ts +15 -0
- package/lib/types/controllers/merge-cell.controller.d.ts +21 -5
- package/lib/types/controllers/number-cell.controller.d.ts +15 -0
- package/lib/types/controllers/permission/sheet-permission-check.controller.d.ts +18 -2
- package/lib/types/controllers/permission/sheet-permission-init.controller.d.ts +15 -0
- package/lib/types/controllers/permission/sheet-permission-view-model.controller.d.ts +15 -0
- package/lib/types/controllers/zebar-crossing.controller.d.ts +15 -0
- package/lib/types/facade/f-defined-name.d.ts +18 -2
- package/lib/types/facade/f-enum.d.ts +15 -0
- package/lib/types/facade/f-event.d.ts +21 -6
- package/lib/types/facade/f-permission.d.ts +55 -39
- package/lib/types/facade/f-range.d.ts +20 -4
- package/lib/types/facade/f-selection.d.ts +18 -2
- package/lib/types/facade/f-sheet-hooks.d.ts +15 -0
- package/lib/types/facade/f-univer.d.ts +17 -2
- package/lib/types/facade/f-workbook.d.ts +23 -4
- package/lib/types/facade/f-worksheet.d.ts +19 -3
- package/lib/types/facade/permission/f-range-permission.d.ts +20 -4
- package/lib/types/facade/permission/f-range-protection-rule.d.ts +17 -2
- package/lib/types/facade/permission/f-workbook-permission.d.ts +19 -3
- package/lib/types/facade/permission/f-worksheet-permission.d.ts +20 -4
- package/lib/types/facade/permission/permission-point-map.d.ts +16 -1
- package/lib/types/facade/permission/permission-types.d.ts +17 -2
- package/lib/types/facade/utils.d.ts +17 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/locale/ca-ES.d.ts +16 -1
- package/lib/types/locale/es-ES.d.ts +16 -1
- package/lib/types/locale/fa-IR.d.ts +16 -1
- package/lib/types/locale/fr-FR.d.ts +16 -1
- package/lib/types/locale/ja-JP.d.ts +16 -1
- package/lib/types/locale/ko-KR.d.ts +16 -1
- package/lib/types/locale/ru-RU.d.ts +16 -1
- package/lib/types/locale/sk-SK.d.ts +16 -1
- package/lib/types/locale/vi-VN.d.ts +16 -1
- package/lib/types/locale/zh-CN.d.ts +16 -1
- package/lib/types/locale/zh-TW.d.ts +16 -1
- package/lib/types/model/range-protection-render.model.d.ts +18 -2
- package/lib/types/model/range-protection-rule.model.d.ts +20 -5
- package/lib/types/model/range-protection.cache.d.ts +17 -1
- package/lib/types/model/range-theme-model.d.ts +20 -3
- package/lib/types/model/range-theme-util.d.ts +16 -1
- package/lib/types/model/range-themes/build-in-theme.factory.d.ts +15 -0
- package/lib/types/model/range-themes/default.d.ts +15 -0
- package/lib/types/model/zebra-crossing-cache.d.ts +16 -1
- package/lib/types/plugin.d.ts +16 -1
- package/lib/types/services/auto-fill/auto-fill.service.d.ts +21 -4
- package/lib/types/services/auto-fill/rules.d.ts +16 -1
- package/lib/types/services/auto-fill/tools.d.ts +24 -8
- package/lib/types/services/auto-fill/type.d.ts +17 -2
- package/lib/types/services/border-style-manager.service.d.ts +18 -2
- package/lib/types/services/exclusive-range/exclusive-range-service.d.ts +20 -4
- package/lib/types/services/lazy-execute-schedule.service.d.ts +18 -2
- package/lib/types/services/numfmt/numfmt.service.d.ts +18 -2
- package/lib/types/services/numfmt/type.d.ts +17 -2
- package/lib/types/services/permission/permission-point/const.d.ts +15 -0
- package/lib/types/services/permission/permission-point/range/delete-protection.d.ts +17 -1
- package/lib/types/services/permission/permission-point/range/edit.d.ts +17 -1
- package/lib/types/services/permission/permission-point/range/manage-collaborator.d.ts +17 -1
- package/lib/types/services/permission/permission-point/range/view.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/comment.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/copy-sheet.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/copy.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/create-permission.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/create-sheet.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/delete-column.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/delete-row.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/delete-sheet.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/duplicate.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/editable.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/export.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/hide-sheet.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/history.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/insert-column.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/insert-row.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/manage-collaborator.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/move-sheet.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/print.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/recover-history.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/rename-sheet.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/share.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/view-history.d.ts +17 -1
- package/lib/types/services/permission/permission-point/workbook/view.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/copy.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/delete-column.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/delete-protection.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/delete-row.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/edit-extra-object.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/edit.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/filter.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/insert-column.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/insert-hyperlink.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/insert-row.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/manage-collaborator.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/pivot-table.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/select-protected-cells.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/select-un-protected-cells.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/set-cell-style.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/set-cell-value.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/set-column-style.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/set-row-style.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/sort.d.ts +17 -1
- package/lib/types/services/permission/permission-point/worksheet/view.d.ts +17 -1
- package/lib/types/services/permission/range-permission/range-protection.ref-range.d.ts +21 -5
- package/lib/types/services/permission/range-permission/range-protection.service.d.ts +15 -0
- package/lib/types/services/permission/range-permission/util.d.ts +15 -0
- package/lib/types/services/permission/type.d.ts +17 -2
- package/lib/types/services/permission/util.d.ts +16 -1
- package/lib/types/services/permission/workbook-permission/util.d.ts +15 -0
- package/lib/types/services/permission/workbook-permission/workbook-permission.service.d.ts +16 -1
- package/lib/types/services/permission/worksheet-permission/type.d.ts +16 -1
- package/lib/types/services/permission/worksheet-permission/utils.d.ts +15 -0
- package/lib/types/services/permission/worksheet-permission/worksheet-permission-point.model.d.ts +17 -2
- package/lib/types/services/permission/worksheet-permission/worksheet-permission-rule.model.d.ts +20 -5
- package/lib/types/services/permission/worksheet-permission/worksheet-permission.service.d.ts +15 -0
- package/lib/types/services/range-theme-service.d.ts +18 -2
- package/lib/types/services/ref-range/ref-range.service.d.ts +20 -4
- package/lib/types/services/ref-range/type.d.ts +34 -10
- package/lib/types/services/ref-range/util.d.ts +31 -15
- package/lib/types/services/selections/move-active-cell-util.d.ts +18 -2
- package/lib/types/services/selections/ref-selections.service.d.ts +16 -1
- package/lib/types/services/selections/selection-data-model.d.ts +20 -3
- package/lib/types/services/selections/selection.service.d.ts +21 -4
- package/lib/types/services/sheet-interceptor/interceptor-const.d.ts +18 -3
- package/lib/types/services/sheet-interceptor/sheet-interceptor.service.d.ts +18 -2
- package/lib/types/services/sheet-interceptor/utils/interceptor.d.ts +16 -1
- package/lib/types/skeleton/skeleton.service.d.ts +17 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -3
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +11 -10
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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
|
+
import type { IOperation } from '@univerjs/core';
|
|
2
17
|
export interface ISetWorksheetActiveOperationParams {
|
|
3
18
|
unitId: string;
|
|
4
19
|
subUnitId: string;
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import type { IAccessor, IRange } from '@univerjs/core';
|
|
17
|
+
import type { IAddMergeCommandParams } from '../commands/add-worksheet-merge.command';
|
|
18
|
+
import type { ISetSelectionsOperationParams } from '../operations/selection.operation';
|
|
4
19
|
export declare const AddMergeRedoSelectionsOperationFactory: (accessor: IAccessor, params: IAddMergeCommandParams, ranges: IRange[]) => {
|
|
5
20
|
id: string;
|
|
6
21
|
params: ISetSelectionsOperationParams;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import type { IAccessor, IMutationInfo, IObjectMatrixPrimitiveType, IRange, Nullable } from '@univerjs/core';
|
|
17
|
+
import type { IDeleteRangeMutationParams, IInsertRangeMutationParams } from '../../basics/interfaces/mutation-interface';
|
|
18
|
+
import { Dimension, ObjectMatrix } from '@univerjs/core';
|
|
3
19
|
/**
|
|
4
20
|
* Generate undo mutation of a `InsertRangeMutation`
|
|
5
21
|
*
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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
|
+
import type { IAccessor } from '@univerjs/core';
|
|
2
17
|
import { SheetsSelectionsService } from '../../services/selections/selection.service';
|
|
3
18
|
export declare function getSelectionsService(accessor: IAccessor, fromCurrentSelection?: boolean): SheetsSelectionsService;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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
|
+
import type { DependencyOverride } from '@univerjs/core';
|
|
2
17
|
export declare const SHEETS_PLUGIN_CONFIG_KEY = "sheets.config";
|
|
3
18
|
export declare const configSymbol: unique symbol;
|
|
4
19
|
export interface ILargeSheetOperationConfig {
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
/**
|
|
3
18
|
* This controller is responsible for changing the active worksheet when
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { IAutoFillService } from '../services/auto-fill/auto-fill.service';
|
|
3
18
|
export declare class AutoFillController extends Disposable {
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import type { IDisposable, IStyleData } from '@univerjs/core';
|
|
17
|
+
import { Disposable, ICommandService, IConfigService } from '@univerjs/core';
|
|
2
18
|
import { DataSyncPrimaryController } from '@univerjs/rpc';
|
|
3
19
|
export interface IStyleTypeValue<T> {
|
|
4
20
|
type: keyof IStyleData;
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
export declare class CalculateResultApplyController extends Disposable {
|
|
3
18
|
private _univerInstanceService;
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, IResourceManagerService } from '@univerjs/core';
|
|
2
17
|
import { IDefinedNamesService } from '@univerjs/engine-formula';
|
|
3
18
|
export declare const SCOPE_WORKBOOK_VALUE_DEFINED_NAME = "AllDefaultWorkbook";
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IConfigService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
export declare class SheetsFreezeSyncController extends Disposable {
|
|
3
18
|
private readonly _univerInstanceService;
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import type { IRange } from '@univerjs/core';
|
|
17
|
+
import type { IRemoveWorksheetMergeMutationParams } from '../basics/interfaces/mutation-interface';
|
|
18
|
+
import type { EffectRefRangeParams } from '../services/ref-range/type';
|
|
19
|
+
import { Dimension, Disposable, DisposableCollection, ICommandService, Injector, InterceptorManager, IUniverInstanceService } from '@univerjs/core';
|
|
4
20
|
import { RefRangeService } from '../services/ref-range/ref-range.service';
|
|
5
21
|
import { SheetsSelectionsService } from '../services/selections/selection.service';
|
|
6
22
|
import { SheetInterceptorService } from '../services/sheet-interceptor/sheet-interceptor.service';
|
|
@@ -11,7 +27,7 @@ import { SheetInterceptorService } from '../services/sheet-interceptor/sheet-int
|
|
|
11
27
|
* @return {*}
|
|
12
28
|
*/
|
|
13
29
|
export declare function getAddMergeMutationRangeByType(selection: IRange[], type?: Dimension): IRange[];
|
|
14
|
-
export declare const MERGE_CELL_INTERCEPTOR_CHECK: import(
|
|
30
|
+
export declare const MERGE_CELL_INTERCEPTOR_CHECK: import("@univerjs/core").IInterceptor<boolean, IRange[]>;
|
|
15
31
|
export declare class MergeCellController extends Disposable {
|
|
16
32
|
private readonly _commandService;
|
|
17
33
|
private readonly _refRangeService;
|
|
@@ -21,7 +37,7 @@ export declare class MergeCellController extends Disposable {
|
|
|
21
37
|
private _selectionManagerService;
|
|
22
38
|
disposableCollection: DisposableCollection;
|
|
23
39
|
readonly interceptor: InterceptorManager<{
|
|
24
|
-
MERGE_CELL_INTERCEPTOR_CHECK: import(
|
|
40
|
+
MERGE_CELL_INTERCEPTOR_CHECK: import("@univerjs/core").IInterceptor<boolean, IRange[]>;
|
|
25
41
|
}>;
|
|
26
42
|
constructor(_commandService: ICommandService, _refRangeService: RefRangeService, _univerInstanceService: IUniverInstanceService, _injector: Injector, _sheetInterceptorService: SheetInterceptorService, _selectionManagerService: SheetsSelectionsService);
|
|
27
43
|
private _initCommandInterceptor;
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable } from '@univerjs/core';
|
|
2
17
|
import { SheetInterceptorService } from '../services/sheet-interceptor/sheet-interceptor.service';
|
|
3
18
|
export declare class NumberCellDisplayController extends Disposable {
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import type { IPermissionTypes, IRange } from '@univerjs/core';
|
|
17
|
+
import { Disposable, DisposableCollection, ICommandService, IContextService, IPermissionService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
2
18
|
import { IDefinedNamesService, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
19
|
import { RangeProtectionRuleModel } from '../../model/range-protection-rule.model';
|
|
4
20
|
import { WorksheetProtectionRuleModel } from '../../services/permission/worksheet-permission';
|
|
@@ -16,7 +32,7 @@ export declare class SheetPermissionCheckController extends Disposable {
|
|
|
16
32
|
private readonly _definedNamesService;
|
|
17
33
|
disposableCollection: DisposableCollection;
|
|
18
34
|
private _triggerPermissionUIEvent$;
|
|
19
|
-
triggerPermissionUIEvent$: import(
|
|
35
|
+
triggerPermissionUIEvent$: import("rxjs").Observable<string>;
|
|
20
36
|
constructor(_commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _permissionService: IPermissionService, _selectionManagerService: SheetsSelectionsService, _rangeProtectionRuleModel: RangeProtectionRuleModel, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel, _localeService: LocaleService, _lexerTreeBuilder: LexerTreeBuilder, _contextService: IContextService, _definedNamesService: IDefinedNamesService);
|
|
21
37
|
blockExecuteWithoutPermission(errorMsg: string): void;
|
|
22
38
|
private _getPermissionCheck;
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, IAuthzIoService, ICommandService, IPermissionService, IUndoRedoService, IUniverInstanceService, UserManagerService } from '@univerjs/core';
|
|
2
17
|
import { RangeProtectionRuleModel } from '../../model/range-protection-rule.model';
|
|
3
18
|
import { WorkbookPermissionService } from '../../services/permission/workbook-permission/workbook-permission.service';
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, IPermissionService } from '@univerjs/core';
|
|
2
17
|
import { RangeProtectionCache } from '../../model/range-protection.cache';
|
|
3
18
|
import { WorksheetProtectionRuleModel } from '../../services/permission/worksheet-permission';
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { SheetRangeThemeModel } from '../model/range-theme-model';
|
|
3
18
|
export declare class ZebraCrossingCacheController extends Disposable {
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import type { ISetDefinedNameMutationParam } from '@univerjs/engine-formula';
|
|
17
|
+
import type { FWorksheet } from './f-worksheet';
|
|
3
18
|
import { IAuthzIoService, ICommandService, Injector, IPermissionService, LocaleService } from '@univerjs/core';
|
|
4
19
|
import { FBase } from '@univerjs/core/facade';
|
|
20
|
+
import { IDefinedNamesService } from '@univerjs/engine-formula';
|
|
5
21
|
import { RangeProtectionRuleModel, WorksheetProtectionPointModel, WorksheetProtectionRuleModel } from '@univerjs/sheets';
|
|
6
22
|
/**
|
|
7
23
|
* @hideconstructor
|
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
*/
|
|
1
16
|
import { SheetSkeletonChangeType, SheetValueChangeType, SplitDelimiterEnum } from '@univerjs/sheets';
|
|
2
17
|
import { RangePermissionPoint, UnitRole, WorkbookPermissionPoint, WorksheetPermissionPoint } from './permission';
|
|
3
18
|
/**
|
|
@@ -1,9 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
+
import type { IWorkbookData, IWorksheetData, UniverInstanceType } from '@univerjs/core';
|
|
17
|
+
import type { IEventBase } from '@univerjs/core/facade';
|
|
18
|
+
import type { CommandListenerValueChange } from '@univerjs/sheets';
|
|
19
|
+
import type { FRange } from './f-range';
|
|
20
|
+
import type { FWorkbook } from './f-workbook';
|
|
21
|
+
import type { FWorksheet } from './f-worksheet';
|
|
7
22
|
/**
|
|
8
23
|
* Interface for sheet-related events
|
|
9
24
|
* Provides event names for sheet creation, workbook creation, and gridline changes
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
+
import type { RangePermissionPointConstructor, WorkbookPermissionPointConstructor, WorkSheetPermissionPointConstructor } from '@univerjs/core';
|
|
17
|
+
import type { Observable } from 'rxjs';
|
|
18
|
+
import type { FRange } from './f-range';
|
|
19
|
+
import type { IRangeProtectionOptions, IWorksheetProtectionOptions } from './permission/permission-types';
|
|
20
|
+
import { IAuthzIoService, ICommandService, Injector, IPermissionService } from '@univerjs/core';
|
|
5
21
|
import { FBase } from '@univerjs/core/facade';
|
|
6
22
|
import { RangeProtectionRuleModel, WorkbookEditablePermission, WorkbookPermissionService, WorksheetEditPermission, WorksheetProtectionPointModel, WorksheetProtectionRuleModel, WorksheetViewPermission } from '@univerjs/sheets';
|
|
7
23
|
/**
|
|
@@ -44,44 +60,44 @@ export declare class FPermission extends FBase {
|
|
|
44
60
|
* Permission point definition, can read the point constructor want to modify from here
|
|
45
61
|
*/
|
|
46
62
|
permissionPointsDefinition: {
|
|
47
|
-
WorkbookCommentPermission: typeof import(
|
|
48
|
-
WorkbookCopyPermission: typeof import(
|
|
49
|
-
WorkbookCreateProtectPermission: typeof import(
|
|
50
|
-
WorkbookCreateSheetPermission: typeof import(
|
|
51
|
-
WorkbookDeleteSheetPermission: typeof import(
|
|
52
|
-
WorkbookDuplicatePermission: typeof import(
|
|
63
|
+
WorkbookCommentPermission: typeof import("@univerjs/sheets").WorkbookCommentPermission;
|
|
64
|
+
WorkbookCopyPermission: typeof import("@univerjs/sheets").WorkbookCopyPermission;
|
|
65
|
+
WorkbookCreateProtectPermission: typeof import("@univerjs/sheets").WorkbookCreateProtectPermission;
|
|
66
|
+
WorkbookCreateSheetPermission: typeof import("@univerjs/sheets").WorkbookCreateSheetPermission;
|
|
67
|
+
WorkbookDeleteSheetPermission: typeof import("@univerjs/sheets").WorkbookDeleteSheetPermission;
|
|
68
|
+
WorkbookDuplicatePermission: typeof import("@univerjs/sheets").WorkbookDuplicatePermission;
|
|
53
69
|
WorkbookEditablePermission: typeof WorkbookEditablePermission;
|
|
54
|
-
WorkbookExportPermission: typeof import(
|
|
55
|
-
WorkbookHideSheetPermission: typeof import(
|
|
56
|
-
WorkbookHistoryPermission: typeof import(
|
|
57
|
-
WorkbookManageCollaboratorPermission: typeof import(
|
|
58
|
-
WorkbookMoveSheetPermission: typeof import(
|
|
59
|
-
WorkbookPrintPermission: typeof import(
|
|
60
|
-
WorkbookRecoverHistoryPermission: typeof import(
|
|
61
|
-
WorkbookRenameSheetPermission: typeof import(
|
|
62
|
-
WorkbookSharePermission: typeof import(
|
|
63
|
-
WorkbookViewHistoryPermission: typeof import(
|
|
64
|
-
WorkbookViewPermission: typeof import(
|
|
65
|
-
WorksheetCopyPermission: typeof import(
|
|
66
|
-
WorksheetDeleteColumnPermission: typeof import(
|
|
67
|
-
WorksheetDeleteProtectionPermission: typeof import(
|
|
68
|
-
WorksheetDeleteRowPermission: typeof import(
|
|
69
|
-
WorksheetEditExtraObjectPermission: typeof import(
|
|
70
|
+
WorkbookExportPermission: typeof import("@univerjs/sheets").WorkbookExportPermission;
|
|
71
|
+
WorkbookHideSheetPermission: typeof import("@univerjs/sheets").WorkbookHideSheetPermission;
|
|
72
|
+
WorkbookHistoryPermission: typeof import("@univerjs/sheets").WorkbookHistoryPermission;
|
|
73
|
+
WorkbookManageCollaboratorPermission: typeof import("@univerjs/sheets").WorkbookManageCollaboratorPermission;
|
|
74
|
+
WorkbookMoveSheetPermission: typeof import("@univerjs/sheets").WorkbookMoveSheetPermission;
|
|
75
|
+
WorkbookPrintPermission: typeof import("@univerjs/sheets").WorkbookPrintPermission;
|
|
76
|
+
WorkbookRecoverHistoryPermission: typeof import("@univerjs/sheets").WorkbookRecoverHistoryPermission;
|
|
77
|
+
WorkbookRenameSheetPermission: typeof import("@univerjs/sheets").WorkbookRenameSheetPermission;
|
|
78
|
+
WorkbookSharePermission: typeof import("@univerjs/sheets").WorkbookSharePermission;
|
|
79
|
+
WorkbookViewHistoryPermission: typeof import("@univerjs/sheets").WorkbookViewHistoryPermission;
|
|
80
|
+
WorkbookViewPermission: typeof import("@univerjs/sheets").WorkbookViewPermission;
|
|
81
|
+
WorksheetCopyPermission: typeof import("@univerjs/sheets").WorksheetCopyPermission;
|
|
82
|
+
WorksheetDeleteColumnPermission: typeof import("@univerjs/sheets").WorksheetDeleteColumnPermission;
|
|
83
|
+
WorksheetDeleteProtectionPermission: typeof import("@univerjs/sheets").WorksheetDeleteProtectionPermission;
|
|
84
|
+
WorksheetDeleteRowPermission: typeof import("@univerjs/sheets").WorksheetDeleteRowPermission;
|
|
85
|
+
WorksheetEditExtraObjectPermission: typeof import("@univerjs/sheets").WorksheetEditExtraObjectPermission;
|
|
70
86
|
WorksheetEditPermission: typeof WorksheetEditPermission;
|
|
71
|
-
WorksheetFilterPermission: typeof import(
|
|
72
|
-
WorksheetInsertColumnPermission: typeof import(
|
|
73
|
-
WorksheetInsertHyperlinkPermission: typeof import(
|
|
74
|
-
WorksheetInsertRowPermission: typeof import(
|
|
75
|
-
WorksheetManageCollaboratorPermission: typeof import(
|
|
76
|
-
WorksheetPivotTablePermission: typeof import(
|
|
77
|
-
WorksheetSetCellStylePermission: typeof import(
|
|
78
|
-
WorksheetSetCellValuePermission: typeof import(
|
|
79
|
-
WorksheetSetColumnStylePermission: typeof import(
|
|
80
|
-
WorksheetSetRowStylePermission: typeof import(
|
|
81
|
-
WorksheetSortPermission: typeof import(
|
|
87
|
+
WorksheetFilterPermission: typeof import("@univerjs/sheets").WorksheetFilterPermission;
|
|
88
|
+
WorksheetInsertColumnPermission: typeof import("@univerjs/sheets").WorksheetInsertColumnPermission;
|
|
89
|
+
WorksheetInsertHyperlinkPermission: typeof import("@univerjs/sheets").WorksheetInsertHyperlinkPermission;
|
|
90
|
+
WorksheetInsertRowPermission: typeof import("@univerjs/sheets").WorksheetInsertRowPermission;
|
|
91
|
+
WorksheetManageCollaboratorPermission: typeof import("@univerjs/sheets").WorksheetManageCollaboratorPermission;
|
|
92
|
+
WorksheetPivotTablePermission: typeof import("@univerjs/sheets").WorksheetPivotTablePermission;
|
|
93
|
+
WorksheetSetCellStylePermission: typeof import("@univerjs/sheets").WorksheetSetCellStylePermission;
|
|
94
|
+
WorksheetSetCellValuePermission: typeof import("@univerjs/sheets").WorksheetSetCellValuePermission;
|
|
95
|
+
WorksheetSetColumnStylePermission: typeof import("@univerjs/sheets").WorksheetSetColumnStylePermission;
|
|
96
|
+
WorksheetSetRowStylePermission: typeof import("@univerjs/sheets").WorksheetSetRowStylePermission;
|
|
97
|
+
WorksheetSortPermission: typeof import("@univerjs/sheets").WorksheetSortPermission;
|
|
82
98
|
WorksheetViewPermission: typeof WorksheetViewPermission;
|
|
83
|
-
RangeProtectionPermissionEditPoint: typeof import(
|
|
84
|
-
RangeProtectionPermissionViewPoint: typeof import(
|
|
99
|
+
RangeProtectionPermissionEditPoint: typeof import("@univerjs/sheets").RangeProtectionPermissionEditPoint;
|
|
100
|
+
RangeProtectionPermissionViewPoint: typeof import("@univerjs/sheets").RangeProtectionPermissionViewPoint;
|
|
85
101
|
};
|
|
86
102
|
/**
|
|
87
103
|
* An observable object used to monitor permission change events within a range, thereby triggering corresponding subsequent processing.
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
+
import type { AbsoluteRefType, BorderStyleTypes, BorderType, CellValue, CustomData, ICellData, IDocumentData, IObjectMatrixPrimitiveType, IRange, IStyleData, Nullable, Workbook, Worksheet } from '@univerjs/core';
|
|
17
|
+
import type { AUTO_FILL_APPLY_TYPE, IMergeCellsUtilOptions, SplitDelimiterEnum } from '@univerjs/sheets';
|
|
18
|
+
import type { IFacadeClearOptions } from './f-worksheet';
|
|
19
|
+
import type { FHorizontalAlignment, FVerticalAlignment } from './utils';
|
|
20
|
+
import { Dimension, ICommandService, Injector, RichTextValue, TextStyleValue, WrapStrategy } from '@univerjs/core';
|
|
5
21
|
import { FBaseInitialable } from '@univerjs/core/facade';
|
|
6
22
|
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
7
23
|
import { FRangePermission } from './permission/f-range-permission';
|