@operato/scene-basic 1.3.14 → 1.4.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.4.0](https://github.com/things-scene/operato-scene/compare/v1.3.29...v1.4.0) (2025-01-11)
7
+
8
+ **Note:** Version bump only for package @operato/scene-basic
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.3.14](https://github.com/things-scene/operato-scene/compare/v1.3.13...v1.3.14) (2024-02-14)
7
15
 
8
16
  **Note:** Version bump only for package @operato/scene-basic
package/dist/donut.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Component, ComponentNature } from '@hatiolab/things-scene';
1
+ import { Component, ComponentNature, POSITION } from '@hatiolab/things-scene';
2
2
  import Ellipse from './ellipse';
3
3
  export default class Donut extends Ellipse {
4
4
  is3dish(): boolean;
@@ -8,7 +8,7 @@ export default class Donut extends Ellipse {
8
8
  x: any;
9
9
  y: any;
10
10
  handler: {
11
- ondragmove: (point: import("@hatiolab/things-scene").POINT, index: number, component: Component) => void;
11
+ ondragmove: (point: POSITION, index: number, component: Component) => void;
12
12
  };
13
13
  }[];
14
14
  get nature(): ComponentNature;
package/dist/polygon.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Component, ComponentNature, POINT, Shape } from '@hatiolab/things-scene';
1
+ import { Component, ComponentNature, POSITION, Shape } from '@hatiolab/things-scene';
2
2
  export default class Polygon extends Shape {
3
3
  is3dish(): boolean;
4
4
  get mutable(): boolean;
@@ -10,9 +10,9 @@ export default class Polygon extends Shape {
10
10
  x: number;
11
11
  y: number;
12
12
  handler: {
13
- ondragstart: (point: POINT, index: number, component: Component) => void;
14
- ondragmove: (point: POINT, index: number, component: Component) => void;
15
- ondragend: (point: POINT, index: number, component: Component) => void;
13
+ ondragstart: (point: POSITION, index: number, component: Component) => void;
14
+ ondragmove: (point: POSITION, index: number, component: Component) => void;
15
+ ondragend: (point: POSITION, index: number, component: Component) => void;
16
16
  };
17
17
  }[];
18
18
  get nature(): ComponentNature;
@@ -1,4 +1,4 @@
1
- import { Component, ComponentNature, Line } from '@hatiolab/things-scene';
1
+ import { Component, ComponentNature, Line, POSITION } from '@hatiolab/things-scene';
2
2
  export default class Polyline extends Line {
3
3
  _fromEnd: any;
4
4
  _toEnd: any;
@@ -9,9 +9,9 @@ export default class Polyline extends Line {
9
9
  x: any;
10
10
  y: any;
11
11
  handler: {
12
- ondragstart: (point: import("@hatiolab/things-scene").POINT, index: number, component: Component) => void;
13
- ondragmove: (point: import("@hatiolab/things-scene").POINT, index: number, component: Component) => void;
14
- ondragend: (point: import("@hatiolab/things-scene").POINT, index: number, component: Component) => void;
12
+ ondragstart: (point: POSITION, index: number, component: Component) => void;
13
+ ondragmove: (point: POSITION, index: number, component: Component) => void;
14
+ ondragend: (point: POSITION, index: number, component: Component) => void;
15
15
  };
16
16
  }[];
17
17
  get nature(): ComponentNature;
package/dist/rect.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Component, ComponentNature, Shape } from '@hatiolab/things-scene';
1
+ import { Component, ComponentNature, POSITION, Shape } from '@hatiolab/things-scene';
2
2
  declare const Rect_base: (new (...args: any[]) => {
3
3
  findOutletLines(anchorName: string): import("@hatiolab/things-scene").Line[];
4
4
  findOutletEnds(anchorName: string): Component[];
@@ -11,7 +11,7 @@ export default class Rect extends Rect_base {
11
11
  x: any;
12
12
  y: any;
13
13
  handler: {
14
- ondragmove: (point: import("@hatiolab/things-scene").POINT, index: number, component: Component) => void;
14
+ ondragmove: (point: POSITION, index: number, component: Component) => void;
15
15
  };
16
16
  }[];
17
17
  get nature(): ComponentNature;
package/dist/star.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Component, ComponentNature, Ellipse } from '@hatiolab/things-scene';
1
+ import { Component, ComponentNature, Ellipse, POSITION } from '@hatiolab/things-scene';
2
2
  export default class Star extends Ellipse {
3
3
  is3dish(): boolean;
4
4
  render(ctx: CanvasRenderingContext2D): void;
@@ -6,7 +6,7 @@ export default class Star extends Ellipse {
6
6
  x: any;
7
7
  y: number;
8
8
  handler: {
9
- ondragmove: (point: import("@hatiolab/things-scene").POINT, index: number, component: Component) => void;
9
+ ondragmove: (point: POSITION, index: number, component: Component) => void;
10
10
  };
11
11
  }[];
12
12
  get nature(): ComponentNature;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/scene-basic",
3
3
  "description": "basic component for things-scene",
4
4
  "author": "heartyoh",
5
- "version": "1.3.14",
5
+ "version": "1.4.0",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
8
8
  "license": "MIT",
@@ -58,5 +58,5 @@
58
58
  "prettier --write"
59
59
  ]
60
60
  },
61
- "gitHead": "4bcb3cf4efb2f99d89d9219246be65055c78b4c3"
61
+ "gitHead": "2644777dcc5096929f04c2fa0ded9185b1fc32cc"
62
62
  }