@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,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { IObjectMatrixPrimitiveType, Nullable } from '../shared';
|
|
2
17
|
import { ObjectMatrix } from '../shared';
|
|
3
18
|
import type { HorizontalAlign, VerticalAlign, WrapStrategy } from '../types/enum';
|
|
4
19
|
import { BooleanNumber, FontItalic, FontWeight } from '../types/enum';
|
|
@@ -64,27 +79,13 @@ export declare class Range {
|
|
|
64
79
|
*
|
|
65
80
|
* @returns range matrix
|
|
66
81
|
*/
|
|
67
|
-
getMatrix(): ObjectMatrix<ICellData
|
|
82
|
+
getMatrix(): ObjectMatrix<Nullable<ICellData>>;
|
|
68
83
|
/**
|
|
69
84
|
* get range matrix object
|
|
70
85
|
*
|
|
71
86
|
* @returns range matrix object
|
|
72
87
|
*/
|
|
73
88
|
getMatrixObject(): ObjectMatrix<ICellData>;
|
|
74
|
-
/**
|
|
75
|
-
* Returns the displayed value of the top-left cell in the range. The value is a String. The displayed value takes into account date, time and currency formatting formatting, including formats applied automatically by the spreadsheet's Locale setting. Empty cells return an empty string.
|
|
76
|
-
*
|
|
77
|
-
* @returns The displayed value in this cell.
|
|
78
|
-
*/
|
|
79
|
-
getDisplayValue(): string | IDocumentData;
|
|
80
|
-
/**
|
|
81
|
-
* Returns the rectangular grid of values for this range.
|
|
82
|
-
*
|
|
83
|
-
* Returns a two-dimensional array of displayed values, indexed by row, then by column. The values are String objects. The displayed value takes into account date, time and currency formatting, including formats applied automatically by the spreadsheet's Locale setting. Empty cells are represented by an empty string in the array. Remember that while a range index starts at 0, 0, same as the JavaScript array is indexed from [0][0].
|
|
84
|
-
*
|
|
85
|
-
* @returns — A two-dimensional array of values.
|
|
86
|
-
*/
|
|
87
|
-
getDisplayValues(): Array<Array<string | IDocumentData>>;
|
|
88
89
|
/**
|
|
89
90
|
* Returns a string description of the range, in A1 notation.
|
|
90
91
|
*
|
|
@@ -120,14 +121,14 @@ export declare class Range {
|
|
|
120
121
|
/**
|
|
121
122
|
* Returns the data of the object structure, and can set whether to bring styles
|
|
122
123
|
*/
|
|
123
|
-
getObjectValue(options?: IValueOptionsType): ICellData
|
|
124
|
+
getObjectValue(options?: IValueOptionsType): Nullable<ICellData>;
|
|
124
125
|
/**
|
|
125
126
|
* Returns the data of the object structure, and can set whether to bring styles
|
|
126
127
|
*
|
|
127
128
|
* @param options set whether to include style
|
|
128
129
|
* @returns Returns a value in object format
|
|
129
130
|
*/
|
|
130
|
-
getObjectValues(options?: IValueOptionsType):
|
|
131
|
+
getObjectValues(options?: IValueOptionsType): IObjectMatrixPrimitiveType<Nullable<ICellData>>;
|
|
131
132
|
/**
|
|
132
133
|
* Returns the font color of the cell in the top-left corner of the range, in CSS notation
|
|
133
134
|
*/
|
|
@@ -309,4 +310,3 @@ export declare class Range {
|
|
|
309
310
|
private _getStyles;
|
|
310
311
|
}
|
|
311
312
|
export {};
|
|
312
|
-
//# sourceMappingURL=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 { IRange } from '../types/interfaces/i-range';
|
|
2
17
|
import { AbsoluteRefType } from '../types/interfaces/i-range';
|
|
3
18
|
export interface IGridRangeName {
|
|
@@ -43,4 +58,3 @@ export declare function serializeRangeWithSheet(sheetName: string, range: IRange
|
|
|
43
58
|
export declare function serializeRangeWithSpreadsheet(unit: string, sheetName: string, range: IRange): string;
|
|
44
59
|
export declare function serializeRangeToRefString(gridRangeName: IGridRangeName): string;
|
|
45
60
|
export declare function deserializeRangeWithSheet(refString: string): IGridRangeName;
|
|
46
|
-
//# sourceMappingURL=reference.d.ts.map
|
|
@@ -1,5 +1,20 @@
|
|
|
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 } from '../shared/object-matrix';
|
|
17
|
+
import type { Nullable } from '../shared/types';
|
|
3
18
|
import type { IRange, IRowData, IWorksheetData } from '../types/interfaces';
|
|
4
19
|
/**
|
|
5
20
|
* Manage configuration information of all rows, get row height, row length, set row height, etc.
|
|
@@ -9,13 +24,13 @@ import type { IRange, IRowData, IWorksheetData } from '../types/interfaces';
|
|
|
9
24
|
export declare class RowManager {
|
|
10
25
|
private readonly _config;
|
|
11
26
|
private _rowData;
|
|
12
|
-
constructor(_config: IWorksheetData, data:
|
|
27
|
+
constructor(_config: IWorksheetData, data: IObjectArrayPrimitiveType<Partial<IRowData>>);
|
|
13
28
|
/**
|
|
14
29
|
* Get height and hidden status of columns in the sheet
|
|
15
30
|
* @returns
|
|
16
31
|
*/
|
|
17
|
-
getRowData():
|
|
18
|
-
getRowDatas(rowPos: number, numRows: number):
|
|
32
|
+
getRowData(): IObjectArrayPrimitiveType<Partial<IRowData>>;
|
|
33
|
+
getRowDatas(rowPos: number, numRows: number): IObjectArrayPrimitiveType<Partial<IRowData>>;
|
|
19
34
|
getRowHeight(rowPos: number): number;
|
|
20
35
|
getRowHeight(rowPos: number, count: number): number;
|
|
21
36
|
/**
|
|
@@ -23,13 +38,13 @@ export declare class RowManager {
|
|
|
23
38
|
* @param rowPos row index
|
|
24
39
|
* @returns
|
|
25
40
|
*/
|
|
26
|
-
getRow(rowPos: number): Nullable<IRowData
|
|
41
|
+
getRow(rowPos: number): Nullable<Partial<IRowData>>;
|
|
27
42
|
/**
|
|
28
43
|
* Get given row data or create a row data when it's null
|
|
29
44
|
* @param rowPos row index
|
|
30
45
|
* @returns
|
|
31
46
|
*/
|
|
32
|
-
getRowOrCreate(rowPos: number): IRowData
|
|
47
|
+
getRowOrCreate(rowPos: number): Partial<IRowData>;
|
|
33
48
|
getHiddenRows(start?: number, end?: number): IRange[];
|
|
34
49
|
getRowVisible(rowPos: number): boolean;
|
|
35
50
|
/**
|
|
@@ -38,4 +53,3 @@ export declare class RowManager {
|
|
|
38
53
|
*/
|
|
39
54
|
getSize(): number;
|
|
40
55
|
}
|
|
41
|
-
//# sourceMappingURL=row-manager.d.ts.map
|
|
@@ -1,23 +1,35 @@
|
|
|
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';
|
|
2
|
-
import type {
|
|
17
|
+
import type { ICellDataForSheetInterceptor, IStyleData } from '../types/interfaces';
|
|
3
18
|
/**
|
|
4
19
|
* Styles in a workbook, cells locate styles based on style IDs
|
|
5
20
|
*
|
|
6
|
-
* TODO@Dushusir: Cachemap needs to follow style to clear cleared following styles
|
|
7
21
|
*/
|
|
8
22
|
export declare class Styles {
|
|
9
23
|
private _styles;
|
|
10
24
|
private _cacheMap;
|
|
11
|
-
|
|
12
|
-
constructor(styles?: IKeyType<Nullable<IStyleData>>, maxCacheSize?: number);
|
|
25
|
+
constructor(styles?: IKeyType<Nullable<IStyleData>>);
|
|
13
26
|
each(callback: (value: [string, Nullable<IStyleData>], index: number, array: Array<[string, Nullable<IStyleData>]>) => void): this;
|
|
14
|
-
search(data: IStyleData): string;
|
|
27
|
+
search(data: IStyleData, styleObject: string): string;
|
|
15
28
|
get(id: string | Nullable<IStyleData>): Nullable<IStyleData>;
|
|
16
|
-
add(data: IStyleData): string;
|
|
29
|
+
add(data: IStyleData, styleObject: string): string;
|
|
17
30
|
setValue(data: Nullable<IStyleData>): Nullable<string>;
|
|
18
31
|
toJSON(): IKeyType<Nullable<IStyleData>>;
|
|
19
|
-
getStyleByCell(cell: Nullable<
|
|
32
|
+
getStyleByCell(cell: Nullable<ICellDataForSheetInterceptor>): Nullable<IStyleData>;
|
|
20
33
|
private _generateCacheMap;
|
|
21
|
-
private
|
|
34
|
+
private _getExistingStyleId;
|
|
22
35
|
}
|
|
23
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,9 +1,24 @@
|
|
|
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 { IDisposable } from '@wendellhu/redi';
|
|
2
17
|
import type { Nullable } from '../common/type-utils';
|
|
3
18
|
import { Disposable } from '../shared/lifecycle';
|
|
4
|
-
import type {
|
|
19
|
+
import type { ICellDataForSheetInterceptor } from '../types/interfaces/i-cell-data';
|
|
5
20
|
export interface ICellContentInterceptor {
|
|
6
|
-
getCell(row: number, col: number): Nullable<
|
|
21
|
+
getCell(row: number, col: number): Nullable<ICellDataForSheetInterceptor>;
|
|
7
22
|
}
|
|
8
23
|
export interface IRowFilteredInterceptor {
|
|
9
24
|
}
|
|
@@ -16,7 +31,7 @@ export interface ISheetViewModel {
|
|
|
16
31
|
registerRowFilteredInterceptor(interceptor: IRowFilteredInterceptor): IDisposable;
|
|
17
32
|
registerRowVisibleInterceptor(interceptor: IRowVisibleInterceptor): IDisposable;
|
|
18
33
|
registerColVisibleInterceptor(interceptor: IColVisibleInterceptor): IDisposable;
|
|
19
|
-
getCell(row: number, col: number): Nullable<
|
|
34
|
+
getCell(row: number, col: number): Nullable<ICellDataForSheetInterceptor>;
|
|
20
35
|
}
|
|
21
36
|
/**
|
|
22
37
|
* SheetViewModel
|
|
@@ -27,10 +42,9 @@ export declare class SheetViewModel extends Disposable implements ISheetViewMode
|
|
|
27
42
|
private readonly _rowVisibleInterceptors;
|
|
28
43
|
private readonly _colVisibleInterceptors;
|
|
29
44
|
dispose(): void;
|
|
30
|
-
getCell(row: number, col: number): Nullable<
|
|
45
|
+
getCell(row: number, col: number): Nullable<ICellDataForSheetInterceptor>;
|
|
31
46
|
registerCellContentInterceptor(interceptor: ICellContentInterceptor): IDisposable;
|
|
32
47
|
registerRowFilteredInterceptor(interceptor: IRowFilteredInterceptor): IDisposable;
|
|
33
48
|
registerRowVisibleInterceptor(interceptor: IRowVisibleInterceptor): IDisposable;
|
|
34
49
|
registerColVisibleInterceptor(interceptor: IColVisibleInterceptor): IDisposable;
|
|
35
50
|
}
|
|
36
|
-
//# sourceMappingURL=view-model.d.ts.map
|
|
@@ -1,6 +1,20 @@
|
|
|
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 { Injector } from '@wendellhu/redi';
|
|
2
17
|
import type { Nullable } from '../shared';
|
|
3
|
-
import { GenName } from '../shared';
|
|
4
18
|
import { Disposable } from '../shared/lifecycle';
|
|
5
19
|
import type { IGridRange, IRangeType, IWorkbookData, IWorksheetData } from '../types/interfaces';
|
|
6
20
|
import { Styles } from './styles';
|
|
@@ -10,12 +24,14 @@ export declare function getWorksheetUID(workbook: Workbook, worksheet: Worksheet
|
|
|
10
24
|
* Access and create Univer Sheets files
|
|
11
25
|
*/
|
|
12
26
|
export declare class Workbook extends Disposable {
|
|
13
|
-
private readonly _genName;
|
|
14
27
|
readonly _injector: Injector;
|
|
15
28
|
private readonly _sheetCreated$;
|
|
16
29
|
readonly sheetCreated$: import("rxjs").Observable<Worksheet>;
|
|
17
30
|
private readonly _sheetDisposed$;
|
|
18
31
|
readonly sheetDisposed$: import("rxjs").Observable<Worksheet>;
|
|
32
|
+
private readonly _genName;
|
|
33
|
+
private readonly _activeSheet$;
|
|
34
|
+
readonly activeSheet$: import("rxjs").Observable<Nullable<Worksheet>>;
|
|
19
35
|
/**
|
|
20
36
|
* sheets list
|
|
21
37
|
* @private
|
|
@@ -32,7 +48,7 @@ export declare class Workbook extends Disposable {
|
|
|
32
48
|
*/
|
|
33
49
|
private _snapshot;
|
|
34
50
|
private _unitId;
|
|
35
|
-
constructor(workbookData: Partial<IWorkbookData> | undefined,
|
|
51
|
+
constructor(workbookData: Partial<IWorkbookData> | undefined, _injector: Injector);
|
|
36
52
|
dispose(): void;
|
|
37
53
|
save(): IWorkbookData;
|
|
38
54
|
static isIRangeType(range: IRangeType | IRangeType[]): Boolean;
|
|
@@ -52,7 +68,9 @@ export declare class Workbook extends Disposable {
|
|
|
52
68
|
getStyles(): Styles;
|
|
53
69
|
getConfig(): IWorkbookData;
|
|
54
70
|
getIndexBySheetId(sheetId: string): number;
|
|
71
|
+
getRawActiveSheet(): Nullable<string>;
|
|
55
72
|
getActiveSheet(): Worksheet;
|
|
73
|
+
__setActiveSheet(worksheet: Worksheet): void;
|
|
56
74
|
getActiveSheetIndex(): number;
|
|
57
75
|
getSheetSize(): number;
|
|
58
76
|
/**
|
|
@@ -65,6 +83,7 @@ export declare class Workbook extends Disposable {
|
|
|
65
83
|
getSheetIndex(sheet: Worksheet): number;
|
|
66
84
|
getSheetBySheetName(name: string): Nullable<Worksheet>;
|
|
67
85
|
getSheetBySheetId(sheetId: string): Nullable<Worksheet>;
|
|
86
|
+
getSheetByIndex(index: number): Nullable<Worksheet>;
|
|
68
87
|
getHiddenWorksheets(): string[];
|
|
69
88
|
/**
|
|
70
89
|
* Creates a builder for a conditional formatting rule.
|
|
@@ -127,4 +146,3 @@ export declare class Workbook extends Disposable {
|
|
|
127
146
|
*/
|
|
128
147
|
private _getDefaultWorkSheet;
|
|
129
148
|
}
|
|
130
|
-
//# sourceMappingURL=workbook.d.ts.map
|
|
@@ -1,8 +1,23 @@
|
|
|
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';
|
|
2
17
|
import { ObjectMatrix } from '../shared';
|
|
3
18
|
import type { SheetTypes } from '../types/enum';
|
|
4
19
|
import { BooleanNumber } from '../types/enum';
|
|
5
|
-
import type { ICellData, IFreeze, IRange, IWorksheetData } from '../types/interfaces';
|
|
20
|
+
import type { ICellData, ICellDataForSheetInterceptor, IFreeze, IRange, IWorksheetData } from '../types/interfaces';
|
|
6
21
|
import { ColumnManager } from './column-manager';
|
|
7
22
|
import { Range } from './range';
|
|
8
23
|
import { RowManager } from './row-manager';
|
|
@@ -26,11 +41,12 @@ export declare class Worksheet {
|
|
|
26
41
|
* @param callback
|
|
27
42
|
*/
|
|
28
43
|
__interceptViewModel(callback: (viewModel: SheetViewModel) => void): void;
|
|
44
|
+
getSnapshot(): IWorksheetData;
|
|
29
45
|
/**
|
|
30
46
|
* Returns WorkSheet Cell Data Matrix
|
|
31
47
|
* @returns
|
|
32
48
|
*/
|
|
33
|
-
getCellMatrix(): ObjectMatrix<ICellData
|
|
49
|
+
getCellMatrix(): ObjectMatrix<Nullable<ICellData>>;
|
|
34
50
|
/**
|
|
35
51
|
* Returns Row Manager
|
|
36
52
|
* @returns Row Manager
|
|
@@ -66,10 +82,13 @@ export declare class Worksheet {
|
|
|
66
82
|
*/
|
|
67
83
|
getMergedCells(row: number, col: number): Nullable<IRange[]>;
|
|
68
84
|
getMergedCell(row: number, col: number): Nullable<IRange>;
|
|
69
|
-
getCell(row: number, col: number): Nullable<
|
|
85
|
+
getCell(row: number, col: number): Nullable<ICellDataForSheetInterceptor>;
|
|
70
86
|
getCellRaw(row: number, col: number): Nullable<ICellData>;
|
|
71
87
|
/**
|
|
72
88
|
* Get cell matrix from a given range and pick out non-first cells of merged cells.
|
|
89
|
+
*
|
|
90
|
+
* Notice that `ICellData` here is not after copying. In another word, the object matrix here should be
|
|
91
|
+
* considered as a slice of the original worksheet data matrix.
|
|
73
92
|
*/
|
|
74
93
|
getMatrixWithMergedCells(row: number, col: number, endRow: number, endCol: number): ObjectMatrix<ICellData & {
|
|
75
94
|
rowSpan?: number;
|
|
@@ -176,5 +195,5 @@ export declare class Worksheet {
|
|
|
176
195
|
* @returns the position of the last column that has content.
|
|
177
196
|
*/
|
|
178
197
|
getLastColumnWithContent(): number;
|
|
198
|
+
cellHasValue(value: ICellData): boolean;
|
|
179
199
|
}
|
|
180
|
-
//# sourceMappingURL=worksheet.d.ts.map
|
|
@@ -1,2 +1,16 @@
|
|
|
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 './slide-model';
|
|
2
|
-
//# sourceMappingURL=index.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 { ISlideData, ISlidePage } from '../../types/interfaces';
|
|
2
17
|
export declare class Slide {
|
|
3
18
|
private _snapshot;
|
|
@@ -17,4 +32,3 @@ export declare class Slide {
|
|
|
17
32
|
getPageSize(): import("../..").ISize;
|
|
18
33
|
addPage(): ISlidePage;
|
|
19
34
|
}
|
|
20
|
-
//# sourceMappingURL=slide-model.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
|
/**
|
|
2
17
|
* Name set of all action
|
|
3
18
|
*/
|
|
@@ -48,4 +63,3 @@ export declare enum ACTION_NAMES {
|
|
|
48
63
|
SET_FROZEN_COLUMNS_ACTION = "SetFrozenColumnsAction",
|
|
49
64
|
SET_FROZEN_ROWS_ACTION = "SetFrozenRowsAction"
|
|
50
65
|
}
|
|
51
|
-
//# sourceMappingURL=action-names.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 { BooleanNumber, HorizontalAlign, TextDirection, VerticalAlign, WrapStrategy } from '../enum';
|
|
2
17
|
import type { IWorkbookData, IWorksheetData } from '../interfaces';
|
|
3
18
|
/**
|
|
@@ -150,4 +165,3 @@ export declare const DEFAULT_SLIDE: {
|
|
|
150
165
|
height: number;
|
|
151
166
|
};
|
|
152
167
|
};
|
|
153
|
-
//# sourceMappingURL=const.d.ts.map
|
|
@@ -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
|
export declare enum DOC_ACTION_NAMES {
|
|
2
17
|
INSERT_ACTION_NAME = "InsertAction",
|
|
3
18
|
DELETE_ACTION_NAME = "DeleteAction",
|
|
4
19
|
RETAIN_ACTION_NAME = "RetainAction",
|
|
5
20
|
UPDATE_DOCUMENT_ACTION_NAME = "UpdateDocumentAction"
|
|
6
21
|
}
|
|
7
|
-
//# sourceMappingURL=doc-action-names.d.ts.map
|
|
@@ -1,8 +1,19 @@
|
|
|
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 declare enum EXTENSION_NAMES {
|
|
5
17
|
ARRAY_CONVERTOR = "ARRAY_CONVERTOR",
|
|
6
18
|
MATRIX_CONVERTOR = "MATRIX_CONVERTOR"
|
|
7
19
|
}
|
|
8
|
-
//# sourceMappingURL=extension-names.d.ts.map
|
|
@@ -1,5 +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
|
+
*/
|
|
1
16
|
export * from './action-names';
|
|
2
17
|
export * from './const';
|
|
3
18
|
export * from './extension-names';
|
|
4
19
|
export * from './theme-color-map';
|
|
5
|
-
//# sourceMappingURL=index.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
|
interface IThemeColors {
|
|
2
17
|
[key: string]: {
|
|
3
18
|
[key: number]: string;
|
|
@@ -5,4 +20,3 @@ interface IThemeColors {
|
|
|
5
20
|
}
|
|
6
21
|
export declare const THEME_COLORS: IThemeColors;
|
|
7
22
|
export {};
|
|
8
|
-
//# sourceMappingURL=theme-color-map.d.ts.map
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
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
|
|
6
7
|
*
|
|
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.
|
|
8
15
|
*/
|
|
9
16
|
export declare enum AutoFillSeries {
|
|
10
17
|
/**
|
|
@@ -16,4 +23,3 @@ export declare enum AutoFillSeries {
|
|
|
16
23
|
*/
|
|
17
24
|
ALTERNATE_SERIES = 1
|
|
18
25
|
}
|
|
19
|
-
//# sourceMappingURL=auto-fill-series.d.ts.map
|
|
@@ -1,5 +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 declare enum BorderStyleTypes {
|
|
5
17
|
NONE = 0,
|
|
@@ -29,4 +41,3 @@ export declare enum BorderType {
|
|
|
29
41
|
HORIZONTAL = "horizontal",
|
|
30
42
|
VERTICAL = "vertical"
|
|
31
43
|
}
|
|
32
|
-
//# sourceMappingURL=border-style-types.d.ts.map
|
|
@@ -1,5 +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 declare enum ColorType {
|
|
5
17
|
UNSUPPORTED = 0,
|
|
@@ -7,4 +19,3 @@ export declare enum ColorType {
|
|
|
7
19
|
HEX = 2,
|
|
8
20
|
THEME = 3
|
|
9
21
|
}
|
|
10
|
-
//# sourceMappingURL=color-type.d.ts.map
|
|
@@ -1,8 +1,19 @@
|
|
|
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 declare enum CommonHideTypes {
|
|
5
17
|
ON = 0,
|
|
6
18
|
OFF = 1
|
|
7
19
|
}
|
|
8
|
-
//# sourceMappingURL=common-hide-types.d.ts.map
|