@univerjs/core 0.2.7 → 0.2.8
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/index.js +7 -7
- package/lib/es/index.js +850 -41
- package/lib/types/common/equal.d.ts +0 -1
- package/lib/types/common/interceptor.d.ts +0 -1
- package/lib/types/common/unit.d.ts +0 -1
- package/lib/types/docs/data-model/document-data-model.d.ts +0 -1
- package/lib/types/docs/data-model/empty-snapshot.d.ts +0 -1
- package/lib/types/docs/data-model/json-x/json-x.d.ts +0 -1
- package/lib/types/docs/data-model/preset-list-type.d.ts +0 -1
- package/lib/types/docs/data-model/replacement.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/action-iterator.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/action-types.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/apply-utils/common.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/apply-utils/delete-apply.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/apply-utils/insert-apply.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/apply-utils/update-apply.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/apply.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/text-x.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/transform-utils.d.ts +0 -1
- package/lib/types/docs/data-model/text-x/utils.d.ts +0 -1
- package/lib/types/observer/observable.d.ts +0 -1
- package/lib/types/services/__tests__/index.d.ts +0 -1
- package/lib/types/services/authz-io/authz-io-local.service.d.ts +2 -3
- package/lib/types/services/authz-io/type.d.ts +0 -1
- package/lib/types/services/command/command.service.d.ts +0 -1
- package/lib/types/services/config/config.service.d.ts +0 -1
- package/lib/types/services/context/context.service.d.ts +0 -1
- package/lib/types/services/error/error.service.d.ts +0 -1
- package/lib/types/services/instance/instance.service.d.ts +0 -1
- package/lib/types/services/lifecycle/lifecycle.d.ts +0 -1
- package/lib/types/services/lifecycle/lifecycle.service.d.ts +0 -1
- package/lib/types/services/locale/locale.service.d.ts +0 -1
- package/lib/types/services/log/log.service.d.ts +0 -1
- package/lib/types/services/permission/permission.service.d.ts +0 -1
- package/lib/types/services/permission/type.d.ts +0 -1
- package/lib/types/services/plugin/plugin-override.d.ts +0 -1
- package/lib/types/services/plugin/plugin.d.ts +0 -1
- package/lib/types/services/plugin/plugin.service.d.ts +0 -1
- package/lib/types/services/resource-loader/resource-loader.service.d.ts +0 -1
- package/lib/types/services/resource-loader/type.d.ts +0 -1
- package/lib/types/services/resource-manager/resource-manager.service.d.ts +0 -1
- package/lib/types/services/resource-manager/type.d.ts +0 -1
- package/lib/types/services/snapshot/__tests__/snapshot-mock.d.ts +0 -1
- package/lib/types/services/snapshot/snapshot-server.service.d.ts +0 -1
- package/lib/types/services/snapshot/snapshot-transform.d.ts +0 -1
- package/lib/types/services/snapshot/snapshot-utils.d.ts +0 -1
- package/lib/types/services/theme/theme.service.d.ts +0 -1
- package/lib/types/services/undoredo/undoredo.service.d.ts +0 -1
- package/lib/types/services/user-manager/const.d.ts +0 -1
- package/lib/types/shared/after-init-apply.d.ts +0 -1
- package/lib/types/shared/check-if-move.d.ts +0 -1
- package/lib/types/shared/clipboard.d.ts +0 -1
- package/lib/types/shared/color/color.d.ts +0 -1
- package/lib/types/shared/common.d.ts +0 -1
- package/lib/types/shared/compare.d.ts +0 -1
- package/lib/types/shared/doc-tool.d.ts +0 -1
- package/lib/types/shared/index.d.ts +1 -0
- package/lib/types/shared/lifecycle.d.ts +0 -1
- package/lib/types/shared/lru/lru-map.d.ts +0 -1
- package/lib/types/shared/numfmt.d.ts +2 -0
- package/lib/types/shared/object-matrix-query.d.ts +0 -1
- package/lib/types/shared/object-matrix.d.ts +6 -1
- package/lib/types/shared/range.d.ts +0 -1
- package/lib/types/shared/rectangle.d.ts +0 -1
- package/lib/types/shared/rxjs.d.ts +0 -1
- package/lib/types/shared/tools.d.ts +0 -1
- package/lib/types/sheets/__tests__/create-core-test-bed.d.ts +0 -1
- package/lib/types/sheets/column-manager.d.ts +0 -1
- package/lib/types/sheets/empty-snapshot.d.ts +0 -1
- package/lib/types/sheets/range.d.ts +0 -1
- package/lib/types/sheets/row-manager.d.ts +0 -1
- package/lib/types/sheets/sheet-snapshot-utils.d.ts +0 -1
- package/lib/types/sheets/styles.d.ts +0 -1
- package/lib/types/sheets/view-model.d.ts +0 -1
- package/lib/types/sheets/workbook.d.ts +0 -1
- package/lib/types/sheets/worksheet.d.ts +0 -1
- package/lib/types/slides/slide-model.d.ts +0 -1
- package/lib/types/types/const/const.d.ts +1 -1
- package/lib/types/types/interfaces/i-cell-custom-render.d.ts +0 -1
- package/lib/types/types/interfaces/i-cell-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-cell-validation-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-column-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-data-validation.d.ts +0 -1
- package/lib/types/types/interfaces/i-document-data-interceptor.d.ts +0 -1
- package/lib/types/types/interfaces/i-document-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-placeholder.d.ts +0 -1
- package/lib/types/types/interfaces/i-row-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-selection-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-shape-properties.d.ts +0 -1
- package/lib/types/types/interfaces/i-slide-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-style-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-univer-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-workbook-data.d.ts +0 -1
- package/lib/types/types/interfaces/i-worksheet-data.d.ts +0 -1
- package/lib/types/univer.d.ts +0 -1
- package/lib/umd/index.js +7 -7
- package/package.json +7 -6
|
@@ -2,7 +2,6 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { UnitModel, UniverInstanceType } from '../common/unit';
|
|
3
3
|
import { Nullable } from '../shared';
|
|
4
4
|
import { ISlideData, ISlidePage, PageType } from '../types/interfaces';
|
|
5
|
-
|
|
6
5
|
export declare class SlideDataModel extends UnitModel<ISlideData, UniverInstanceType.UNIVER_SLIDE> {
|
|
7
6
|
type: UniverInstanceType.UNIVER_SLIDE;
|
|
8
7
|
private readonly _activePage$;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BooleanNumber, HorizontalAlign, TextDirection, VerticalAlign, WrapStrategy } from '../enum';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Used as an illegal range array return value
|
|
5
4
|
*/
|
|
@@ -127,6 +126,7 @@ export declare const DEFAULT_STYLES: {
|
|
|
127
126
|
b: number;
|
|
128
127
|
l: number;
|
|
129
128
|
};
|
|
129
|
+
n: null;
|
|
130
130
|
};
|
|
131
131
|
export declare const DEFAULT_SLIDE: {
|
|
132
132
|
id: string;
|
|
@@ -4,7 +4,6 @@ import { Workbook } from '../../sheets/workbook';
|
|
|
4
4
|
import { ISelectionCellWithMergeInfo } from './i-selection-data';
|
|
5
5
|
import { IStyleData } from './i-style-data';
|
|
6
6
|
import { ICellDataForSheetInterceptor } from './i-cell-data';
|
|
7
|
-
|
|
8
7
|
export interface ICellRenderContext {
|
|
9
8
|
data: ICellDataForSheetInterceptor;
|
|
10
9
|
style: Nullable<IStyleData>;
|
|
@@ -4,7 +4,6 @@ import { DataValidationImeMode } from '../enum/data-validation-ime-mode';
|
|
|
4
4
|
import { DataValidationErrorStyle } from '../enum/data-validation-error-style';
|
|
5
5
|
import { DataValidationRenderMode } from '../enum/data-validation-render-mode';
|
|
6
6
|
import { IRange } from './i-range';
|
|
7
|
-
|
|
8
7
|
export interface IDataValidationRuleBase {
|
|
9
8
|
type: DataValidationType;
|
|
10
9
|
allowBlank?: boolean;
|
|
@@ -3,7 +3,6 @@ import { IAbsoluteTransform, ISize } from '../../shared/shape';
|
|
|
3
3
|
import { BooleanNumber, CellValueType, HorizontalAlign, LocaleType, TextDirection, VerticalAlign, WrapStrategy } from '../enum';
|
|
4
4
|
import { IExtraModelData } from './i-extra-model-data';
|
|
5
5
|
import { IColorStyle, IStyleBase } from './i-style-data';
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* Properties of document
|
|
9
8
|
*/
|
|
@@ -9,7 +9,6 @@ import { IPlaceholder } from './i-placeholder';
|
|
|
9
9
|
import { IShapeProperties } from './i-shape-properties';
|
|
10
10
|
import { IColorStyle, IStyleBase, IStyleData } from './i-style-data';
|
|
11
11
|
import { IWorksheetData } from './i-worksheet-data';
|
|
12
|
-
|
|
13
12
|
export interface ISlideData extends IReferenceSource, IExtraModelData {
|
|
14
13
|
id: string;
|
|
15
14
|
locale?: LocaleType;
|
|
@@ -2,7 +2,6 @@ import { Nullable } from '../../shared/types';
|
|
|
2
2
|
import { BorderStyleTypes } from '../enum/border-style-types';
|
|
3
3
|
import { BaselineOffset, BooleanNumber, HorizontalAlign, TextDecoration, TextDirection, VerticalAlign, WrapStrategy } from '../enum/text-style';
|
|
4
4
|
import { ThemeColorType } from '../enum/theme-color-type';
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Properties of text decoration
|
|
8
7
|
*/
|
|
@@ -3,7 +3,6 @@ import { DependencyOverride } from '../../services/plugin/plugin-override';
|
|
|
3
3
|
import { IStyleSheet } from '../../services/theme/theme.service';
|
|
4
4
|
import { ILocales } from '../../shared/locale';
|
|
5
5
|
import { LocaleType } from '../enum';
|
|
6
|
-
|
|
7
6
|
export interface IUniverData {
|
|
8
7
|
theme: IStyleSheet;
|
|
9
8
|
locale: LocaleType;
|
package/lib/types/univer.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { LocaleType } from './types/enum/locale-type';
|
|
|
6
6
|
import { IDocumentData, ISlideData, IUniverData, IWorkbookData } from './types/interfaces';
|
|
7
7
|
import { UnitModel, UnitType } from './common/unit';
|
|
8
8
|
import { Plugin, PluginCtor } from './services/plugin/plugin';
|
|
9
|
-
|
|
10
9
|
export declare class Univer {
|
|
11
10
|
private _startedTypes;
|
|
12
11
|
private _injector;
|