vis-core 0.28.18 → 0.28.20
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/dist/editor/command/CopyObject.d.ts +2 -1
- package/dist/editor/command/SetGeometry.d.ts +2 -2
- package/dist/editor/index.d.ts +12 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +515 -515
- package/dist/index.module.js +18114 -18009
- package/dist/version.d.ts +1 -1
- package/dist/vis/base/index.d.ts +7 -8
- package/dist/vis/city/objects/plane/Water2.d.ts +1 -1
- package/package.json +6 -8
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.28.
|
|
1
|
+
declare const _default: "0.28.20";
|
|
2
2
|
export default _default;
|
package/dist/vis/base/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import Pencil, { BaseObject, Lead } from 'gl-draw';
|
|
2
1
|
import leadObjs from "../all/objects";
|
|
3
|
-
import { Wk } from 'gl-draw/dist/plugins';
|
|
4
|
-
import type { PickFunctionsItem } from 'gl-draw/dist/core/Lead/Pick';
|
|
5
|
-
import { Node } from 'gl-draw/dist/objects';
|
|
6
2
|
import Arc from "../all/objects/Arc";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import Pencil, { BaseObject, Lead } from 'gl-draw';
|
|
4
|
+
import type { PickFunctionsItem } from 'gl-draw/dist/core/Lead/Pick';
|
|
5
|
+
import { Line, Node } from 'gl-draw/dist/objects';
|
|
6
|
+
import { Wk } from 'gl-draw/dist/plugins';
|
|
9
7
|
import * as THREE from 'three';
|
|
10
|
-
import
|
|
8
|
+
import { RoomEnvironment } from 'three/examples/jsm/environments/RoomEnvironment';
|
|
11
9
|
import Editor from "../../editor";
|
|
10
|
+
import Camera from "./camera";
|
|
12
11
|
export interface BaseOptions {
|
|
13
12
|
container: HTMLElement;
|
|
14
13
|
assetsPrefix?: string;
|
|
@@ -85,7 +84,7 @@ export default class Base extends Camera {
|
|
|
85
84
|
(key: `sprite${string}`): import("../all/objects/Sprite").default;
|
|
86
85
|
(key: string): BaseObject;
|
|
87
86
|
};
|
|
88
|
-
get objectByUuid(): (key: string) => THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[], THREE.Object3DEventMap> | undefined;
|
|
87
|
+
get objectByUuid(): (key: string) => THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap> | undefined;
|
|
89
88
|
get getDataURL(): () => string;
|
|
90
89
|
loaderAdd(...args: any): void;
|
|
91
90
|
initMaterial(...args: any): Promise<void>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* http://graphicsrunner.blogspot.de/2010/08/water-using-flow-maps.html
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
export class Water extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
7
|
+
export class Water extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes, import("three").BufferGeometryEventMap>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
|
8
8
|
constructor(geometry: any, options?: {});
|
|
9
9
|
isWater: boolean;
|
|
10
10
|
type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vis-core",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "npm run version && PORT=5173 bundler-dev",
|
|
6
6
|
"build:site": "npm run version && PUBLIC_EXCLUDE=true bundler",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@ant-design/icons-vue": "^7.0.1",
|
|
35
|
+
"@biomejs/biome": "^2.0.6",
|
|
35
36
|
"@tailwindcss/typography": "^0.5.10",
|
|
36
37
|
"@tweenjs/tween.js": "^23.1.2",
|
|
37
38
|
"@types/events": "^3.0.0",
|
|
@@ -42,16 +43,13 @@
|
|
|
42
43
|
"ant-design-vue": "^4.2.6",
|
|
43
44
|
"archiver": "^7.0.1",
|
|
44
45
|
"dayjs": "^1.11.12",
|
|
45
|
-
"eslint-config-bundler": "^0.4.2",
|
|
46
46
|
"esus": "^0.4.40",
|
|
47
47
|
"fs-extra": "^11.1.1",
|
|
48
|
-
"jszip": "^3.10.1",
|
|
49
48
|
"idb-keyval": "^6.2.1",
|
|
49
|
+
"jszip": "^3.10.1",
|
|
50
50
|
"pinia": "^2.2.4",
|
|
51
|
-
"prettier-config-bundler": "^0.4.3",
|
|
52
|
-
"stylelint-config-bundler": "^0.4.5",
|
|
53
51
|
"tailwind-config-bundler": "^0.4.6",
|
|
54
|
-
"three": "^0.
|
|
52
|
+
"three": "^0.178.0",
|
|
55
53
|
"vite-plugin-javascript-obfuscator": "^3.1.0",
|
|
56
54
|
"vite-plugin-markdown": "^2.2.0",
|
|
57
55
|
"vite-plugin-static-copy": "^2.2.0",
|
|
@@ -63,12 +61,12 @@
|
|
|
63
61
|
"dependencies": {
|
|
64
62
|
"@turf/turf": "^6.5.0",
|
|
65
63
|
"@types/crypto-js": "^4.2.2",
|
|
66
|
-
"@types/three": "^0.
|
|
64
|
+
"@types/three": "^0.178.0",
|
|
67
65
|
"crypto-js": "^4.2.0",
|
|
68
66
|
"esus-lite": "^0.2.8",
|
|
69
67
|
"events": "^3.3.0",
|
|
70
68
|
"geojson-cn": "^0.2.5",
|
|
71
|
-
"gl-draw": "0.15.
|
|
69
|
+
"gl-draw": "0.15.19",
|
|
72
70
|
"jsrsasign": "^11.1.0",
|
|
73
71
|
"lodash-es": "^4.17.21"
|
|
74
72
|
},
|