@sepveneto/dao 0.1.0 → 0.1.2

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.
@@ -9,6 +9,8 @@ export interface RuntimeData {
9
9
  }
10
10
  export declare abstract class ViewContainer<RUNTIME_DATA extends RuntimeData = any> extends Container {
11
11
  _runtimeData: Record<number, RUNTIME_DATA>;
12
+ /** @internal */
13
+ _resolution: number;
12
14
  _roundPixels: 0 | 1;
13
15
  protected _bounds: Bounds;
14
16
  get bounds(): Bounds;
@@ -59,6 +59,8 @@ export declare class Container<C extends ContainerChild = ContainerChild> extend
59
59
  /** @private */
60
60
  didChange: boolean;
61
61
  /** @private */
62
+ didViewUpdate: boolean;
63
+ /** @private */
62
64
  isSimple: boolean;
63
65
  /** @private */
64
66
  measurable: boolean;
@@ -1,6 +1,7 @@
1
1
  import { Matrix } from '../../maths';
2
2
  import { Container } from './Container';
3
3
  import { InstructionSet } from '../../renderer/InstructionSet';
4
+ import { ViewContainer } from '../ViewContainer';
4
5
  export declare class RenderGroup {
5
6
  worldTransform: Matrix;
6
7
  localTransform: Matrix;
@@ -13,12 +14,18 @@ export declare class RenderGroup {
13
14
  list: Container[];
14
15
  index: number;
15
16
  }>;
17
+ readonly childrenRenderablesToUpdate: {
18
+ list: Container[];
19
+ index: number;
20
+ };
16
21
  constructor(root: Container);
17
22
  init(root: Container): void;
18
23
  addChild(child: Container): void;
19
24
  removeChild(child: Container): void;
20
25
  removeChildren(children: Container[]): void;
21
26
  private _removeRenderGroupChild;
27
+ onChildViewUpdate(child: Container): void;
22
28
  onChildUpdate(child: Container): void;
29
+ updateRenderable(renderable: ViewContainer): void;
23
30
  destroy(): void;
24
31
  }
@@ -0,0 +1,2 @@
1
+ import { RenderGroup } from '../RenderGroup';
2
+ export declare function validateRenderables(renderGroup: RenderGroup, renderPipes: any): boolean;
@@ -9,6 +9,7 @@ export declare class TextPipe {
9
9
  private _renderer;
10
10
  constructor(renderer: CanvasRenderer);
11
11
  addRenderable(text: Text, instructionSet: InstructionSet): void;
12
+ validateRenderable(text: Text): boolean;
12
13
  initCacheText(text: Text): {
13
14
  currentKey: string;
14
15
  transform: import('../../main').Matrix;
@@ -598,7 +598,7 @@ export declare class TextStyle {
598
598
  private _align;
599
599
  private _wordWrap;
600
600
  private _fill;
601
- _tick: 0;
601
+ _tick: number;
602
602
  constructor(style: Partial<TextStyleOptions>);
603
603
  get styleKey(): string;
604
604
  get fontSize(): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sepveneto/dao",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "docs:dev": "vitepress dev docs",