ino-cesium 0.0.22 → 0.0.23-beta.1
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/ino-cesium.d.ts +2 -2
- package/package.json +8 -8
- package/vite/index.d.ts +6 -0
- package/vite/index.js +3 -2
package/dist/ino-cesium.d.ts
CHANGED
|
@@ -2526,7 +2526,7 @@ declare class RadereScanPrimitive extends BasePrimitive<any> {
|
|
|
2526
2526
|
private options;
|
|
2527
2527
|
constructor(options: IRaderScanPrimitiveOptions);
|
|
2528
2528
|
getGeometry(): Cesium.CircleGeometry;
|
|
2529
|
-
getPrimitive(): Cesium.
|
|
2529
|
+
getPrimitive(): Cesium.Primitive | Cesium.GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection | Cesium.PrimitiveCollection | undefined;
|
|
2530
2530
|
setAppearance(appearance?: Cesium.Appearance): void;
|
|
2531
2531
|
}
|
|
2532
2532
|
|
|
@@ -2656,7 +2656,7 @@ declare class CircleAperturePrimitive extends BasePrimitive<any> {
|
|
|
2656
2656
|
private options;
|
|
2657
2657
|
constructor(options: ICircleAperturePrimitiveOptions);
|
|
2658
2658
|
getGeometry(): Cesium.CircleGeometry;
|
|
2659
|
-
getPrimitive(): Cesium.
|
|
2659
|
+
getPrimitive(): Cesium.Primitive | Cesium.GroundPrimitive | Cesium.PointPrimitiveCollection | Cesium.GroundPolylinePrimitive | Cesium.LabelCollection | Cesium.PrimitiveCollection | undefined;
|
|
2660
2660
|
setAppearance(appearance?: Cesium.Appearance): void;
|
|
2661
2661
|
}
|
|
2662
2662
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ino-cesium",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.23-beta.1",
|
|
5
5
|
"author": "koino",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cesium",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"vite-plugin-static-copy": "^3.1.0",
|
|
31
|
-
"@ino-cesium/
|
|
32
|
-
"@ino-cesium/
|
|
33
|
-
"@ino-cesium/
|
|
34
|
-
"@ino-cesium/
|
|
35
|
-
"@ino-cesium/layers": "0.0.
|
|
36
|
-
"@ino-cesium/primitive": "0.0.
|
|
37
|
-
"@ino-cesium/draw": "0.0.
|
|
31
|
+
"@ino-cesium/effects": "0.0.23-beta.1",
|
|
32
|
+
"@ino-cesium/analysis": "0.0.23-beta.1",
|
|
33
|
+
"@ino-cesium/material": "0.0.23-beta.1",
|
|
34
|
+
"@ino-cesium/common": "0.0.23-beta.1",
|
|
35
|
+
"@ino-cesium/layers": "0.0.23-beta.1",
|
|
36
|
+
"@ino-cesium/primitive": "0.0.23-beta.1",
|
|
37
|
+
"@ino-cesium/draw": "0.0.23-beta.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"cesium": "1.134.0"
|
package/vite/index.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ declare function inoCesiumVitePlugin(options?: {
|
|
|
5
5
|
* 打包时是否复制js和dts等, 默认值只复制assets静态资源
|
|
6
6
|
*/
|
|
7
7
|
copyJs?: boolean
|
|
8
|
+
/**
|
|
9
|
+
* 静态资源打包输出目录
|
|
10
|
+
* 默认值 '' 项目打包根目录
|
|
11
|
+
* 上级目录outDir: '../build/',
|
|
12
|
+
*/
|
|
13
|
+
outDir?: string
|
|
8
14
|
}): (vite.Plugin<any> | vite.Plugin<any>[])[]
|
|
9
15
|
|
|
10
16
|
export {
|
package/vite/index.js
CHANGED
|
@@ -39,11 +39,12 @@ const inoCesiumBaseUrl = () => {
|
|
|
39
39
|
|
|
40
40
|
const inoCesiumStatic = (options) => {
|
|
41
41
|
let targets = []
|
|
42
|
+
const outDir = options.outDir || ''
|
|
42
43
|
if (options.copyJs) {
|
|
43
44
|
targets = [
|
|
44
45
|
{
|
|
45
46
|
src: `node_modules/ino-cesium/dist/*`,
|
|
46
|
-
dest:
|
|
47
|
+
dest: `${outDir}ino-cesium/`,
|
|
47
48
|
},
|
|
48
49
|
]
|
|
49
50
|
}
|
|
@@ -51,7 +52,7 @@ const inoCesiumStatic = (options) => {
|
|
|
51
52
|
targets = [
|
|
52
53
|
{
|
|
53
54
|
src: `node_modules/ino-cesium/dist/assets/*`,
|
|
54
|
-
dest:
|
|
55
|
+
dest: `${outDir}ino-cesium/assets/`,
|
|
55
56
|
},
|
|
56
57
|
]
|
|
57
58
|
}
|