@univerjs/engine-render 0.6.2 → 0.6.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/lib/es/index.js CHANGED
@@ -6142,31 +6142,14 @@ function T2(r, t, e, a, s, n, i = O1.Normal, o) {
6142
6142
  s,
6143
6143
  n
6144
6144
  );
6145
- T2(
6146
- r,
6147
- t,
6148
- e,
6149
- a,
6150
- s,
6151
- n,
6152
- i
6153
- );
6145
+ T2(r, t, e, a, s, n, i);
6154
6146
  return;
6155
6147
  }
6156
6148
  }
6157
6149
  Se(g, t, f), Te(g, { breakType: i });
6158
6150
  }
6159
6151
  } else
6160
- oe(
6161
- r,
6162
- t,
6163
- e,
6164
- a,
6165
- s,
6166
- n,
6167
- i,
6168
- o
6169
- );
6152
+ oe(r, t, e, a, s, n, i, o);
6170
6153
  }
6171
6154
  function oe(r, t, e, a, s, n, i = O1.Normal, o) {
6172
6155
  var a2, b2, u2, Q2, L2, y3, U3;
@@ -6502,38 +6485,11 @@ function yv(r, t) {
6502
6485
  }
6503
6486
  function Y7(r, t, e, a, s, n, i = O1.Normal, o) {
6504
6487
  const l = O3(e);
6505
- Av(l) === !0 ? V7(
6506
- r,
6507
- t,
6508
- e,
6509
- a,
6510
- s,
6511
- n,
6512
- i,
6513
- o
6514
- ) : oe(
6515
- r,
6516
- t,
6517
- e,
6518
- a,
6519
- s,
6520
- n,
6521
- i,
6522
- o
6523
- );
6488
+ Av(l) === !0 ? V7(r, t, e, a, s, n, i, o) : oe(r, t, e, a, s, n, i, o);
6524
6489
  }
6525
6490
  function V7(r, t, e, a, s, n, i = O1.Normal, o) {
6526
6491
  const l = O3(e), { skeHeaders: u, skeFooters: d } = s;
6527
- e.push(m3(r, a, { skeHeaders: u, skeFooters: d }, (l == null ? void 0 : l.pageNumber) + 1)), Y7(
6528
- r,
6529
- t,
6530
- e,
6531
- a,
6532
- s,
6533
- n,
6534
- i,
6535
- o
6536
- );
6492
+ e.push(m3(r, a, { skeHeaders: u, skeFooters: d }, (l == null ? void 0 : l.pageNumber) + 1)), Y7(r, t, e, a, s, n, i, o);
6537
6493
  }
6538
6494
  function zv(r, t, e, a, s, n = !1) {
6539
6495
  const i = E3(r, s), o = E3(t, s), l = E3(e, s), u = E3(a, s);
@@ -29871,7 +29827,7 @@ class Ox extends E2 {
29871
29827
  setSelectedControl(e) {
29872
29828
  e = this._findGroupObject(e), this._selectedObjectMap.set(e.oKey, e), this._createControl(e);
29873
29829
  }
29874
- // eslint-disable-next-line complexity
29830
+ // eslint-disable-next-line max-lines-per-function, complexity
29875
29831
  _getConfig(e) {
29876
29832
  var M, P, N, U, H, V, a1, u1, d1, n1, l1, c1, k1, _1, v1, w1, M1, z1, E1, I1, Z1, M2, I2, H1, B1, L1, R1, a2, b2;
29877
29833
  const a = e.transformerConfig;
@@ -1,6 +1,6 @@
1
1
  import { Nullable } from '@univerjs/core';
2
- import { Break } from './break';
3
2
  import { ILineBreakRule } from './rule';
3
+ import { Break } from './break';
4
4
  interface ILineBreakExtension {
5
5
  (breaker: LineBreaker): void;
6
6
  }
@@ -6,7 +6,7 @@ export declare class CustomObject extends BaseObject {
6
6
  private _isHitCustom?;
7
7
  constructor(key?: string, _render?: (mainCtx: UniverRenderingContext) => void, _isHitCustom?: ((coord: Vector2) => boolean) | undefined);
8
8
  toJson(): {
9
- [x: string]: any;
9
+ [key: string]: any;
10
10
  };
11
11
  render(mainCtx: UniverRenderingContext, bounds?: IViewportInfo): this;
12
12
  isHit(coord: Vector2): boolean;
@@ -1,8 +1,8 @@
1
1
  import { Nullable, Disposable } from '@univerjs/core';
2
+ import { BaseObject } from './base-object';
2
3
  import { IMouseEvent, IPointerEvent } from './basics/i-events';
3
4
  import { ITransformerConfig } from './basics/transformer-config';
4
5
  import { Scene } from './scene';
5
- import { BaseObject } from './base-object';
6
6
  import { Group } from './group';
7
7
  declare enum MoveObserverType {
8
8
  MOVE_START = 0,
@@ -1,6 +1,6 @@
1
1
  import { UniverRenderingContext } from '../context';
2
- import { ObjectType } from '../base-object';
3
2
  import { IShapeProps, Shape } from './shape';
3
+ import { ObjectType } from '../base-object';
4
4
  export interface ICircleProps extends IShapeProps {
5
5
  radius: number;
6
6
  }
@@ -1,8 +1,8 @@
1
1
  import { ISrcRect, Nullable, PresetGeometryType } from '@univerjs/core';
2
- import { UniverRenderingContext } from '../context';
3
2
  import { IObjectFullState, IViewportInfo, RENDER_CLASS_TYPE } from '../basics';
4
- import { ObjectType } from '../base-object';
3
+ import { UniverRenderingContext } from '../context';
5
4
  import { IShapeProps, Shape } from './shape';
5
+ import { ObjectType } from '../base-object';
6
6
  export interface IImageProps extends IShapeProps {
7
7
  image?: HTMLImageElement;
8
8
  url?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/engine-render",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "private": false,
5
5
  "description": "UniverSheet normal base-render",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -53,15 +53,15 @@
53
53
  "cjk-regex": "^3.1.0",
54
54
  "franc-min": "^6.2.0",
55
55
  "opentype.js": "^1.3.4",
56
- "@univerjs/core": "0.6.2"
56
+ "@univerjs/core": "0.6.3"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/opentype.js": "^1.3.8",
60
60
  "rxjs": "^7.8.1",
61
- "typescript": "^5.7.3",
61
+ "typescript": "^5.8.2",
62
62
  "vite": "^6.2.0",
63
63
  "vitest": "^3.0.7",
64
- "@univerjs-infra/shared": "0.6.2"
64
+ "@univerjs-infra/shared": "0.6.3"
65
65
  },
66
66
  "browser": {
67
67
  "fs": false