@univerjs/core 0.1.0-alpha.1 → 0.1.0-alpha.3
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/LICENSE.txt +178 -0
- package/README.md +1 -1
- package/lib/cjs/index.js +11 -15323
- package/lib/es/index.js +7453 -0
- package/lib/types/basics/index.d.ts +15 -1
- package/lib/types/basics/plugin-holder.d.ts +30 -0
- package/lib/types/basics/registry.d.ts +12 -4
- package/lib/types/basics/univer-doc.d.ts +22 -12
- package/lib/types/basics/univer-sheet.d.ts +22 -22
- package/lib/types/basics/univer-slide.d.ts +21 -20
- package/lib/types/basics/univer.d.ts +30 -11
- package/lib/types/common/array.d.ts +13 -5
- package/lib/types/common/const.d.ts +15 -1
- package/lib/types/common/interceptor.d.ts +15 -1
- package/lib/types/common/memory-cursor.d.ts +16 -1
- package/lib/types/common/request-immediate-macro-task.d.ts +16 -0
- package/lib/types/common/sequence.d.ts +15 -1
- package/lib/types/common/shims.d.ts +16 -0
- package/lib/types/common/type-utils.d.ts +13 -2
- package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts +15 -1
- package/lib/types/docs/data-model/apply-utils/common.d.ts +15 -1
- package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts +15 -1
- package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts +15 -1
- package/lib/types/docs/data-model/apply-utils/update-apply.d.ts +15 -1
- package/lib/types/docs/data-model/document-data-model.d.ts +15 -1
- package/lib/types/docs/data-model/index.d.ts +16 -1
- package/lib/types/docs/data-model/mutation-types.d.ts +15 -1
- package/lib/types/docs/data-model/preset-list-type.d.ts +50 -0
- package/lib/types/docs/data-model/types.d.ts +15 -1
- package/lib/types/docs/index.d.ts +15 -1
- package/lib/types/index.d.ts +19 -3
- package/lib/types/observer/index.d.ts +15 -1
- package/lib/types/observer/observable-hooks.d.ts +15 -1
- package/lib/types/observer/observable.d.ts +15 -1
- package/lib/types/plugin/plugin.d.ts +19 -4
- package/lib/types/services/auth/auth.service.d.ts +15 -1
- package/lib/types/services/command/command.service.d.ts +32 -5
- package/lib/types/services/command/command.service.spec.d.ts +15 -1
- package/lib/types/services/config/config.service.d.ts +15 -1
- package/lib/types/services/context/context.d.ts +15 -1
- package/lib/types/services/context/context.service.d.ts +15 -1
- package/lib/types/services/error/error.service.d.ts +15 -1
- package/lib/types/services/floating-object/floating-object-interfaces.d.ts +15 -1
- package/lib/types/services/floating-object/floating-object-manager.service.d.ts +15 -1
- package/lib/types/services/instance/instance.service.d.ts +15 -1
- package/lib/types/services/lifecycle/lifecycle.d.ts +15 -1
- package/lib/types/services/lifecycle/lifecycle.service.d.ts +15 -1
- package/lib/types/services/local-storage/local-storage.service.d.ts +15 -1
- package/lib/types/services/locale/locale.service.d.ts +15 -1
- package/lib/types/services/log/log.service.d.ts +32 -12
- package/lib/types/services/permission/index.d.ts +15 -1
- package/lib/types/services/permission/permission-point.d.ts +15 -1
- package/lib/types/services/permission/permission.service.d.ts +15 -1
- package/lib/types/services/permission/univer.permission.service.d.ts +15 -1
- package/lib/types/services/resource-manager/resource-manager.service.d.ts +15 -1
- package/lib/types/services/resource-manager/type.d.ts +21 -1
- package/lib/types/services/theme/theme.service.d.ts +15 -1
- package/lib/types/services/undoredo/undoredo.service.d.ts +15 -1
- package/lib/types/shared/__test__/object-matrix.spec.d.ts +15 -1
- package/lib/types/shared/__test__/ref-alias.spec.d.ts +15 -1
- package/lib/types/shared/array-search.d.ts +15 -1
- package/lib/types/shared/blob.d.ts +16 -0
- package/lib/types/shared/color/color-kit.d.ts +64 -0
- package/lib/types/shared/color/color.d.ts +32 -4
- package/lib/types/shared/command-enum.d.ts +15 -1
- package/lib/types/shared/common.d.ts +16 -4
- package/lib/types/shared/compare.d.ts +15 -1
- package/lib/types/shared/doc-tool.d.ts +15 -1
- package/lib/types/shared/gen-name.d.ts +15 -1
- package/lib/types/shared/generate.d.ts +15 -1
- package/lib/types/shared/hash-algorithm.d.ts +15 -1
- package/lib/types/shared/index.d.ts +17 -14
- package/lib/types/shared/lifecycle.d.ts +15 -1
- package/lib/types/shared/locale.d.ts +16 -5
- package/lib/types/shared/lru/index.d.ts +15 -1
- package/lib/types/shared/lru/lru-helper.d.ts +15 -1
- package/lib/types/shared/lru/lru-map.d.ts +15 -1
- package/lib/types/shared/object-matrix.d.ts +67 -30
- package/lib/types/shared/permission/index.d.ts +15 -1
- package/lib/types/shared/props-from.d.ts +15 -1
- package/lib/types/shared/rectangle.d.ts +16 -1
- package/lib/types/shared/ref-alias.d.ts +13 -9
- package/lib/types/shared/row-col-iter.d.ts +15 -1
- package/lib/types/shared/sequence.d.ts +13 -4
- package/lib/types/shared/sort-rules.d.ts +17 -3
- package/lib/types/shared/tools.d.ts +15 -6
- package/lib/types/shared/types.d.ts +13 -2
- package/lib/types/sheets/__tests__/create-core-test-bed.d.ts +15 -1
- package/lib/types/sheets/__tests__/styles.spec.d.ts +15 -1
- package/lib/types/sheets/column-manager.d.ts +22 -16
- package/lib/types/sheets/range.d.ts +19 -19
- package/lib/types/sheets/reference.d.ts +15 -1
- package/lib/types/sheets/row-manager.d.ts +22 -8
- package/lib/types/sheets/styles.d.ts +21 -9
- package/lib/types/sheets/view-model.d.ts +19 -5
- package/lib/types/sheets/workbook.d.ts +22 -4
- package/lib/types/sheets/worksheet.d.ts +23 -4
- package/lib/types/slides/domain/index.d.ts +15 -1
- package/lib/types/slides/domain/slide-model.d.ts +15 -1
- package/lib/types/types/const/action-names.d.ts +15 -1
- package/lib/types/types/const/const.d.ts +15 -1
- package/lib/types/types/const/doc-action-names.d.ts +15 -1
- package/lib/types/types/const/extension-names.d.ts +13 -2
- package/lib/types/types/const/index.d.ts +15 -1
- package/lib/types/types/const/theme-color-map.d.ts +15 -1
- package/lib/types/types/enum/auto-fill-series.d.ts +11 -5
- package/lib/types/types/enum/border-style-types.d.ts +13 -2
- package/lib/types/types/enum/color-type.d.ts +13 -2
- package/lib/types/types/enum/common-hide-types.d.ts +13 -2
- package/lib/types/types/enum/condition-type.d.ts +13 -2
- package/lib/types/types/enum/copy-paste-type.d.ts +12 -4
- package/lib/types/types/enum/developer-metadata-visibility.d.ts +13 -2
- package/lib/types/types/enum/dimension.d.ts +12 -3
- package/lib/types/types/enum/direction.d.ts +15 -1
- package/lib/types/types/enum/format-type.d.ts +13 -2
- package/lib/types/types/enum/group-control-toggle-position.d.ts +13 -2
- package/lib/types/types/enum/index.d.ts +15 -1
- package/lib/types/types/enum/interpolation-point-type.d.ts +13 -2
- package/lib/types/types/enum/locale-type.d.ts +12 -3
- package/lib/types/types/enum/place-holder-type.d.ts +15 -1
- package/lib/types/types/enum/protection-type.d.ts +13 -2
- package/lib/types/types/enum/relative-date.d.ts +13 -2
- package/lib/types/types/enum/shape-type.d.ts +15 -1
- package/lib/types/types/enum/sheet-types.d.ts +13 -2
- package/lib/types/types/enum/text-style.d.ts +16 -5
- package/lib/types/types/enum/theme-color-type.d.ts +10 -19
- package/lib/types/types/interfaces/i-cell-data.d.ts +25 -9
- package/lib/types/types/interfaces/i-column-data.d.ts +15 -1
- package/lib/types/types/interfaces/i-document-data.d.ts +18 -3
- package/lib/types/types/interfaces/i-extra-model-data.d.ts +15 -1
- package/lib/types/types/interfaces/i-freeze.d.ts +13 -3
- package/lib/types/types/interfaces/i-image-properties.d.ts +13 -2
- package/lib/types/types/interfaces/i-placeholder.d.ts +15 -1
- package/lib/types/types/interfaces/i-range.d.ts +28 -12
- package/lib/types/types/interfaces/i-row-data.d.ts +15 -1
- package/lib/types/types/interfaces/i-selection-data.d.ts +15 -1
- package/lib/types/types/interfaces/i-service-data.d.ts +13 -2
- package/lib/types/types/interfaces/i-shape-properties.d.ts +15 -1
- package/lib/types/types/interfaces/i-slide-data.d.ts +15 -1
- package/lib/types/types/interfaces/i-style-data.d.ts +15 -1
- package/lib/types/types/interfaces/i-univer-data.d.ts +17 -1
- package/lib/types/types/interfaces/i-workbook-data.d.ts +15 -1
- package/lib/types/types/interfaces/i-worksheet-data.d.ts +23 -6
- package/lib/types/types/interfaces/i-worksheet-order-data.d.ts +13 -2
- package/lib/types/types/interfaces/index.d.ts +15 -1
- package/lib/umd/index.js +11 -0
- package/package.json +20 -15
- package/LICENSE +0 -21
- package/lib/esm/index.js +0 -14601
- package/lib/types/basics/index.d.ts.map +0 -1
- package/lib/types/basics/registry.d.ts.map +0 -1
- package/lib/types/basics/univer-doc.d.ts.map +0 -1
- package/lib/types/basics/univer-sheet.d.ts.map +0 -1
- package/lib/types/basics/univer-slide.d.ts.map +0 -1
- package/lib/types/basics/univer.d.ts.map +0 -1
- package/lib/types/common/array.d.ts.map +0 -1
- package/lib/types/common/color/color-builder.d.ts +0 -1
- package/lib/types/common/color/color-builder.d.ts.map +0 -1
- package/lib/types/common/const.d.ts.map +0 -1
- package/lib/types/common/interceptor.d.ts.map +0 -1
- package/lib/types/common/memory-cursor.d.ts.map +0 -1
- package/lib/types/common/sequence.d.ts.map +0 -1
- package/lib/types/common/type-utils.d.ts.map +0 -1
- package/lib/types/docs/data-model/__tests__/apply-utils.spec.d.ts.map +0 -1
- package/lib/types/docs/data-model/apply-utils/common.d.ts.map +0 -1
- package/lib/types/docs/data-model/apply-utils/delete-apply.d.ts.map +0 -1
- package/lib/types/docs/data-model/apply-utils/insert-apply.d.ts.map +0 -1
- package/lib/types/docs/data-model/apply-utils/update-apply.d.ts.map +0 -1
- package/lib/types/docs/data-model/document-data-model.d.ts.map +0 -1
- package/lib/types/docs/data-model/index.d.ts.map +0 -1
- package/lib/types/docs/data-model/mutation-types.d.ts.map +0 -1
- package/lib/types/docs/data-model/types.d.ts.map +0 -1
- package/lib/types/docs/index.d.ts.map +0 -1
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/observer/index.d.ts.map +0 -1
- package/lib/types/observer/observable-hooks.d.ts.map +0 -1
- package/lib/types/observer/observable.d.ts.map +0 -1
- package/lib/types/plugin/plugin.d.ts.map +0 -1
- package/lib/types/services/auth/auth.service.d.ts.map +0 -1
- package/lib/types/services/command/command.service.d.ts.map +0 -1
- package/lib/types/services/command/command.service.spec.d.ts.map +0 -1
- package/lib/types/services/config/config.service.d.ts.map +0 -1
- package/lib/types/services/context/context.d.ts.map +0 -1
- package/lib/types/services/context/context.service.d.ts.map +0 -1
- package/lib/types/services/error/error.service.d.ts.map +0 -1
- package/lib/types/services/floating-object/floating-object-interfaces.d.ts.map +0 -1
- package/lib/types/services/floating-object/floating-object-manager.service.d.ts.map +0 -1
- package/lib/types/services/instance/instance.service.d.ts.map +0 -1
- package/lib/types/services/lifecycle/lifecycle.d.ts.map +0 -1
- package/lib/types/services/lifecycle/lifecycle.service.d.ts.map +0 -1
- package/lib/types/services/local-storage/local-storage.service.d.ts.map +0 -1
- package/lib/types/services/locale/locale.service.d.ts.map +0 -1
- package/lib/types/services/log/log.service.d.ts.map +0 -1
- package/lib/types/services/permission/index.d.ts.map +0 -1
- package/lib/types/services/permission/permission-point.d.ts.map +0 -1
- package/lib/types/services/permission/permission.service.d.ts.map +0 -1
- package/lib/types/services/permission/univer.permission.service.d.ts.map +0 -1
- package/lib/types/services/resource-manager/resource-manager.service.d.ts.map +0 -1
- package/lib/types/services/resource-manager/type.d.ts.map +0 -1
- package/lib/types/services/theme/theme.service.d.ts.map +0 -1
- package/lib/types/services/undoredo/undoredo.service.d.ts.map +0 -1
- package/lib/types/shared/__test__/object-matrix.spec.d.ts.map +0 -1
- package/lib/types/shared/__test__/ref-alias.spec.d.ts.map +0 -1
- package/lib/types/shared/array-search.d.ts.map +0 -1
- package/lib/types/shared/color/color-builder.d.ts +0 -21
- package/lib/types/shared/color/color-builder.d.ts.map +0 -1
- package/lib/types/shared/color/color.d.ts.map +0 -1
- package/lib/types/shared/color-builder.d.ts +0 -1
- package/lib/types/shared/color-builder.d.ts.map +0 -1
- package/lib/types/shared/command-enum.d.ts.map +0 -1
- package/lib/types/shared/common.d.ts.map +0 -1
- package/lib/types/shared/compare.d.ts.map +0 -1
- package/lib/types/shared/date-time.d.ts +0 -6
- package/lib/types/shared/date-time.d.ts.map +0 -1
- package/lib/types/shared/doc-tool.d.ts.map +0 -1
- package/lib/types/shared/drop-cell.d.ts +0 -1
- package/lib/types/shared/drop-cell.d.ts.map +0 -1
- package/lib/types/shared/excel-date-time.d.ts +0 -6
- package/lib/types/shared/excel-date-time.d.ts.map +0 -1
- package/lib/types/shared/gen-name.d.ts.map +0 -1
- package/lib/types/shared/generate.d.ts.map +0 -1
- package/lib/types/shared/group-model.d.ts +0 -4
- package/lib/types/shared/group-model.d.ts.map +0 -1
- package/lib/types/shared/hash-algorithm.d.ts.map +0 -1
- package/lib/types/shared/index.d.ts.map +0 -1
- package/lib/types/shared/io-http.d.ts +0 -84
- package/lib/types/shared/io-http.d.ts.map +0 -1
- package/lib/types/shared/io-socket.d.ts +0 -48
- package/lib/types/shared/io-socket.d.ts.map +0 -1
- package/lib/types/shared/lifecycle.d.ts.map +0 -1
- package/lib/types/shared/locale.d.ts.map +0 -1
- package/lib/types/shared/logger.d.ts +0 -12
- package/lib/types/shared/logger.d.ts.map +0 -1
- package/lib/types/shared/lru/index.d.ts.map +0 -1
- package/lib/types/shared/lru/lru-helper.d.ts.map +0 -1
- package/lib/types/shared/lru/lru-map.d.ts.map +0 -1
- package/lib/types/shared/migrate/border.d.ts +0 -3
- package/lib/types/shared/migrate/border.d.ts.map +0 -1
- package/lib/types/shared/migrate/index.d.ts +0 -2
- package/lib/types/shared/migrate/index.d.ts.map +0 -1
- package/lib/types/shared/migrate/migrate.d.ts +0 -3
- package/lib/types/shared/migrate/migrate.d.ts.map +0 -1
- package/lib/types/shared/object-array.d.ts +0 -96
- package/lib/types/shared/object-array.d.ts.map +0 -1
- package/lib/types/shared/object-matrix.d.ts.map +0 -1
- package/lib/types/shared/permission/index.d.ts.map +0 -1
- package/lib/types/shared/props-from.d.ts.map +0 -1
- package/lib/types/shared/random.d.ts +0 -7
- package/lib/types/shared/random.d.ts.map +0 -1
- package/lib/types/shared/rect-tree/border-tree.d.ts +0 -30
- package/lib/types/shared/rect-tree/border-tree.d.ts.map +0 -1
- package/lib/types/shared/rect-tree/es-rect-tree.d.ts +0 -9
- package/lib/types/shared/rect-tree/es-rect-tree.d.ts.map +0 -1
- package/lib/types/shared/rect-tree/merge-tree.d.ts +0 -1
- package/lib/types/shared/rect-tree/merge-tree.d.ts.map +0 -1
- package/lib/types/shared/rect-tree/quick-select.d.ts +0 -3
- package/lib/types/shared/rect-tree/quick-select.d.ts.map +0 -1
- package/lib/types/shared/rect-tree/rect-tree.d.ts +0 -60
- package/lib/types/shared/rect-tree/rect-tree.d.ts.map +0 -1
- package/lib/types/shared/rect-tree/styles-tree.d.ts +0 -1
- package/lib/types/shared/rect-tree/styles-tree.d.ts.map +0 -1
- package/lib/types/shared/rectangle.d.ts.map +0 -1
- package/lib/types/shared/ref-alias.d.ts.map +0 -1
- package/lib/types/shared/row-col-iter.d.ts.map +0 -1
- package/lib/types/shared/sequence.d.ts.map +0 -1
- package/lib/types/shared/serialize/index.d.ts +0 -5
- package/lib/types/shared/serialize/index.d.ts.map +0 -1
- package/lib/types/shared/serialize/sequence.d.ts +0 -4
- package/lib/types/shared/serialize/sequence.d.ts.map +0 -1
- package/lib/types/shared/serialize/serialize-manager.d.ts +0 -17
- package/lib/types/shared/serialize/serialize-manager.d.ts.map +0 -1
- package/lib/types/shared/serialize/serialize.d.ts +0 -8
- package/lib/types/shared/serialize/serialize.d.ts.map +0 -1
- package/lib/types/shared/serialize/serializer.d.ts +0 -14
- package/lib/types/shared/serialize/serializer.d.ts.map +0 -1
- package/lib/types/shared/sort-rules.d.ts.map +0 -1
- package/lib/types/shared/tools.d.ts.map +0 -1
- package/lib/types/shared/tuples.d.ts +0 -12
- package/lib/types/shared/tuples.d.ts.map +0 -1
- package/lib/types/shared/type-store.d.ts +0 -10
- package/lib/types/shared/type-store.d.ts.map +0 -1
- package/lib/types/shared/types.d.ts.map +0 -1
- package/lib/types/sheets/__tests__/create-core-test-bed.d.ts.map +0 -1
- package/lib/types/sheets/__tests__/styles.spec.d.ts.map +0 -1
- package/lib/types/sheets/column-manager.d.ts.map +0 -1
- package/lib/types/sheets/range.d.ts.map +0 -1
- package/lib/types/sheets/reference.d.ts.map +0 -1
- package/lib/types/sheets/row-manager.d.ts.map +0 -1
- package/lib/types/sheets/styles.d.ts.map +0 -1
- package/lib/types/sheets/view-model.d.ts.map +0 -1
- package/lib/types/sheets/workbook.d.ts.map +0 -1
- package/lib/types/sheets/worksheet.d.ts.map +0 -1
- package/lib/types/slides/domain/index.d.ts.map +0 -1
- package/lib/types/slides/domain/slide-model.d.ts.map +0 -1
- package/lib/types/types/const/action-names.d.ts.map +0 -1
- package/lib/types/types/const/const.d.ts.map +0 -1
- package/lib/types/types/const/doc-action-names.d.ts.map +0 -1
- package/lib/types/types/const/extension-names.d.ts.map +0 -1
- package/lib/types/types/const/index.d.ts.map +0 -1
- package/lib/types/types/const/theme-color-map.d.ts.map +0 -1
- package/lib/types/types/enum/auto-fill-series.d.ts.map +0 -1
- package/lib/types/types/enum/border-style-types.d.ts.map +0 -1
- package/lib/types/types/enum/color-type.d.ts.map +0 -1
- package/lib/types/types/enum/common-hide-types.d.ts.map +0 -1
- package/lib/types/types/enum/condition-type.d.ts.map +0 -1
- package/lib/types/types/enum/copy-paste-type.d.ts.map +0 -1
- package/lib/types/types/enum/developer-metadata-visibility.d.ts.map +0 -1
- package/lib/types/types/enum/dimension.d.ts.map +0 -1
- package/lib/types/types/enum/direction.d.ts.map +0 -1
- package/lib/types/types/enum/format-type.d.ts.map +0 -1
- package/lib/types/types/enum/group-control-toggle-position.d.ts.map +0 -1
- package/lib/types/types/enum/index.d.ts.map +0 -1
- package/lib/types/types/enum/interpolation-point-type.d.ts.map +0 -1
- package/lib/types/types/enum/locale-type.d.ts.map +0 -1
- package/lib/types/types/enum/place-holder-type.d.ts.map +0 -1
- package/lib/types/types/enum/protection-type.d.ts.map +0 -1
- package/lib/types/types/enum/relative-date.d.ts.map +0 -1
- package/lib/types/types/enum/shape-type.d.ts.map +0 -1
- package/lib/types/types/enum/sheet-types.d.ts.map +0 -1
- package/lib/types/types/enum/text-style.d.ts.map +0 -1
- package/lib/types/types/enum/theme-color-type.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-cell-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-column-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-document-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-extra-model-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-freeze.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-image-properties.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-placeholder.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-range.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-row-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-selection-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-service-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-shape-properties.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-slide-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-style-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-univer-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-workbook-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-worksheet-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/i-worksheet-order-data.d.ts.map +0 -1
- package/lib/types/types/interfaces/index.d.ts.map +0 -1
|
@@ -1,7 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 type { PlaceholderType } from '../enum/place-holder-type';
|
|
2
17
|
export interface IPlaceholder {
|
|
3
18
|
type: PlaceholderType;
|
|
4
19
|
index: number;
|
|
5
20
|
parentObjectId: string;
|
|
6
21
|
}
|
|
7
|
-
//# sourceMappingURL=i-placeholder.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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
|
export declare enum RANGE_TYPE {
|
|
2
17
|
NORMAL = 0,
|
|
3
18
|
ROW = 1,
|
|
@@ -16,6 +31,18 @@ export declare enum AbsoluteRefType {
|
|
|
16
31
|
COLUMN = 2,
|
|
17
32
|
ALL = 3
|
|
18
33
|
}
|
|
34
|
+
export interface IRowRange {
|
|
35
|
+
/**
|
|
36
|
+
* The start row (inclusive) of the range
|
|
37
|
+
* startRow
|
|
38
|
+
*/
|
|
39
|
+
startRow: number;
|
|
40
|
+
/**
|
|
41
|
+
* The end row (exclusive) of the range
|
|
42
|
+
* endRow
|
|
43
|
+
*/
|
|
44
|
+
endRow: number;
|
|
45
|
+
}
|
|
19
46
|
/**
|
|
20
47
|
* Range data structure
|
|
21
48
|
*
|
|
@@ -31,22 +58,12 @@ export declare enum AbsoluteRefType {
|
|
|
31
58
|
*
|
|
32
59
|
* means "A1:B2"
|
|
33
60
|
*/
|
|
34
|
-
export interface IRange {
|
|
35
|
-
/**
|
|
36
|
-
* The start row (inclusive) of the range
|
|
37
|
-
* startRow
|
|
38
|
-
*/
|
|
39
|
-
startRow: number;
|
|
61
|
+
export interface IRange extends IRowRange {
|
|
40
62
|
/**
|
|
41
63
|
* The start column (inclusive) of the range
|
|
42
64
|
* startColumn
|
|
43
65
|
*/
|
|
44
66
|
startColumn: number;
|
|
45
|
-
/**
|
|
46
|
-
* The end row (exclusive) of the range
|
|
47
|
-
* endRow
|
|
48
|
-
*/
|
|
49
|
-
endRow: number;
|
|
50
67
|
/**
|
|
51
68
|
* The end column (exclusive) of the range
|
|
52
69
|
* endColumn
|
|
@@ -158,4 +175,3 @@ export interface IOptionData {
|
|
|
158
175
|
*/
|
|
159
176
|
export interface ICopyToOptionsData extends IOptionData {
|
|
160
177
|
}
|
|
161
|
-
//# sourceMappingURL=i-range.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 type { BooleanNumber } from '../enum';
|
|
2
17
|
/**
|
|
3
18
|
* Properties of row data
|
|
@@ -20,4 +35,3 @@ export interface IRowData {
|
|
|
20
35
|
*/
|
|
21
36
|
hd: BooleanNumber;
|
|
22
37
|
}
|
|
23
|
-
//# sourceMappingURL=i-row-data.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 type { Nullable } from '../../shared/types';
|
|
2
17
|
import type { IRange } from './i-range';
|
|
3
18
|
/**
|
|
@@ -40,4 +55,3 @@ export interface ITextRange extends ITextRangeStart {
|
|
|
40
55
|
export interface ITextRangeParam extends ITextRange {
|
|
41
56
|
segmentId?: string;
|
|
42
57
|
}
|
|
43
|
-
//# sourceMappingURL=i-selection-data.d.ts.map
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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.
|
|
3
15
|
*/
|
|
4
16
|
export interface IServiceData {
|
|
5
17
|
}
|
|
6
|
-
//# sourceMappingURL=i-service-data.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 type { BorderStyleTypes } from '../enum/border-style-types';
|
|
2
17
|
import type { IColorStyle } from './i-style-data';
|
|
3
18
|
/**
|
|
@@ -13,4 +28,3 @@ export interface IOutline {
|
|
|
13
28
|
weight: number;
|
|
14
29
|
dashStyle?: BorderStyleTypes;
|
|
15
30
|
}
|
|
16
|
-
//# sourceMappingURL=i-shape-properties.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 type { ISize, ITransformState } from '../../services/floating-object/floating-object-interfaces';
|
|
2
17
|
import type { IKeyType, Nullable } from '../../shared/types';
|
|
3
18
|
import type { LocaleType, ThemeColorType } from '../enum';
|
|
@@ -146,4 +161,3 @@ export declare enum RelativeSlideLink {
|
|
|
146
161
|
LAST_SLIDE = 4
|
|
147
162
|
}
|
|
148
163
|
export {};
|
|
149
|
-
//# sourceMappingURL=i-slide-data.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 type { Nullable } from '../../shared/types';
|
|
2
17
|
import type { BorderStyleTypes } from '../enum/border-style-types';
|
|
3
18
|
import type { BaselineOffset, BooleanNumber, HorizontalAlign, TextDecoration, TextDirection, VerticalAlign, WrapStrategy } from '../enum/text-style';
|
|
@@ -147,4 +162,3 @@ export interface IStyleData extends IStyleBase {
|
|
|
147
162
|
*/
|
|
148
163
|
pd?: Nullable<IPaddingData>;
|
|
149
164
|
}
|
|
150
|
-
//# sourceMappingURL=i-style-data.d.ts.map
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 { LogLevel } from '../../services/log/log.service';
|
|
1
17
|
import type { IStyleSheet } from '../../services/theme/theme.service';
|
|
2
18
|
import type { ILocales } from '../../shared/locale';
|
|
3
19
|
import type { LocaleType } from '../enum';
|
|
@@ -5,6 +21,7 @@ export interface IUniverData {
|
|
|
5
21
|
theme: IStyleSheet;
|
|
6
22
|
locale: LocaleType;
|
|
7
23
|
locales: ILocales;
|
|
24
|
+
logLevel: LogLevel;
|
|
8
25
|
id: string;
|
|
9
26
|
}
|
|
10
27
|
/**
|
|
@@ -20,4 +37,3 @@ export interface UIObserver<T = string> {
|
|
|
20
37
|
*/
|
|
21
38
|
value?: T;
|
|
22
39
|
}
|
|
23
|
-
//# sourceMappingURL=i-univer-data.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 type { IKeyType, Nullable } from '../../shared/types';
|
|
2
17
|
import type { LocaleType } from '../enum';
|
|
3
18
|
import type { IExtraModelData } from './i-extra-model-data';
|
|
@@ -27,4 +42,3 @@ export interface IWorkbookData extends IExtraModelData {
|
|
|
27
42
|
data: string;
|
|
28
43
|
}>;
|
|
29
44
|
}
|
|
30
|
-
//# sourceMappingURL=i-workbook-data.d.ts.map
|
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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 { IObjectArrayPrimitiveType, IObjectMatrixPrimitiveType } from '../../shared/object-matrix';
|
|
3
17
|
import type { IKeyValue } from '../../shared/types';
|
|
4
18
|
import type { BooleanNumber, SheetTypes } from '../enum';
|
|
5
19
|
import type { ICellData } from './i-cell-data';
|
|
@@ -42,10 +56,14 @@ export interface IWorksheetData {
|
|
|
42
56
|
mergeData: IRange[];
|
|
43
57
|
hideRow: [];
|
|
44
58
|
hideColumn: [];
|
|
59
|
+
/**
|
|
60
|
+
* If the worksheet is the active one.
|
|
61
|
+
* @deprecated this should be removed
|
|
62
|
+
*/
|
|
45
63
|
status: BooleanNumber;
|
|
46
|
-
cellData:
|
|
47
|
-
rowData:
|
|
48
|
-
columnData:
|
|
64
|
+
cellData: IObjectMatrixPrimitiveType<ICellData>;
|
|
65
|
+
rowData: IObjectArrayPrimitiveType<Partial<IRowData>>;
|
|
66
|
+
columnData: IObjectArrayPrimitiveType<Partial<IColumnData>>;
|
|
49
67
|
showGridlines: BooleanNumber;
|
|
50
68
|
rowHeader: {
|
|
51
69
|
width: number;
|
|
@@ -59,4 +77,3 @@ export interface IWorksheetData {
|
|
|
59
77
|
rightToLeft: BooleanNumber;
|
|
60
78
|
pluginMeta: IKeyValue;
|
|
61
79
|
}
|
|
62
|
-
//# sourceMappingURL=i-worksheet-data.d.ts.map
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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.
|
|
3
15
|
*/
|
|
4
16
|
export interface IWorksheetOrderData {
|
|
5
17
|
}
|
|
6
|
-
//# sourceMappingURL=i-worksheet-order-data.d.ts.map
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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
|
export * from './i-cell-data';
|
|
2
17
|
export * from './i-column-data';
|
|
3
18
|
export * from './i-document-data';
|
|
@@ -15,4 +30,3 @@ export * from './i-univer-data';
|
|
|
15
30
|
export * from './i-workbook-data';
|
|
16
31
|
export * from './i-worksheet-data';
|
|
17
32
|
export * from './i-worksheet-order-data';
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|