vesium 1.0.1-beta.25 → 1.0.1-beta.27

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Xiankq <https://github.com/xiankq>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ <p align="center">
2
+ <img src="./assets/logo.svg" align="center" width="15%" />
3
+ </p>
4
+
5
+ <h1 align="center">Vesium</h1>
6
+
7
+ <p align="center">Vue component and composition-api library for Cesium.</p>
8
+
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/package/@vesium/core" target="__blank"><img src="https://img.shields.io/npm/v/@vesium/core?color=a1b858&label=" alt="NPM version"></a>
11
+ <a href="https://www.npmjs.com/package/@vesium/core" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@vesium/core?color=50a36f&label="></a>
12
+ <a href="https://github.com/GeoVueJS/vesium" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/GeoVueJS/vesium?style=social"></a>
13
+ </p>
14
+
15
+ > 🚧 This project is under development, and the API may change frequently.
16
+
17
+ ## Features
18
+
19
+ - 🎯 **Intuitive** - VueUse-style API design, familiar to Vue developers
20
+ - 💪 **Type Strong** - Written in TypeScript, with full TS support
21
+ - 🏪 **Modular** - Tree-shakeable ESM modules
22
+ - 🌐 **Full Featured** - Comprehensive Cesium functionality support
23
+ - 🎮 **Interactive** - Rich interactive capabilities with map elements
24
+ - ⚡️ **Lightweight** - No bloated dependencies
25
+
26
+ ## Install
27
+
28
+ ```bash
29
+ # npm
30
+ npm i cesium @vueuse/core vesium
31
+
32
+ # yarn
33
+ yarn add cesium @vueuse/core vesium
34
+
35
+ # pnpm
36
+ pnpm add cesium @vueuse/core vesium
37
+ ```
38
+
39
+ <template>
40
+ <div ref="cesiumContainer" style="width: 100%; height: 100%" />
41
+ </template>
42
+ ```
43
+
44
+ ## 🌸 Credits
45
+
46
+ - [VueUse](https://github.com/vueuse/vueuse) - Collection of Vue Composition Utilities
47
+ - [Cesium](https://github.com/CesiumGS/cesium) - An open-source JavaScript library for world-class 3D globes and maps
48
+
49
+ ## 📄 License
50
+
51
+ [MIT](./LICENSE) License © 2025 [GeoVueJS](https://github.com/GeoVueJS)
@@ -15,4 +15,4 @@ var Vesium = function(exports, core, shared) {
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
16
16
  return exports;
17
17
  }({}, VesiumCore, VesiumShared);
18
- //# sourceMappingURL=index.js.map
18
+ //# sourceMappingURL=index.iife.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.iife.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
1
  var Vesium=function(t,r,u){"use strict";return Object.keys(r).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:()=>r[e]})}),Object.keys(u).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:()=>u[e]})}),Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t}({},VesiumCore,VesiumShared);
2
- //# sourceMappingURL=index.min.js.map
2
+ //# sourceMappingURL=index.iife.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.iife.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,22 +1,41 @@
1
1
  {
2
2
  "name": "vesium",
3
- "version": "1.0.1-beta.25",
3
+ "type": "module",
4
+ "version": "1.0.1-beta.27",
4
5
  "buildInfo": {
5
6
  "name": "Vesium",
6
7
  "bundle": true
7
8
  },
8
- "description": "",
9
+ "description": "Vue component and composition-api library for Cesium.",
10
+ "license": "MIT",
11
+ "homepage": "https://github.com/GeoVueJS/vesium",
9
12
  "repository": {
10
13
  "url": "https://github.com/GeoVueJS/vesium"
11
14
  },
15
+ "bugs": {
16
+ "url": "https://github.com/GeoVueJS/vesium/issues"
17
+ },
18
+ "keywords": [
19
+ "vue",
20
+ "cesium",
21
+ "vueuse",
22
+ "hooks",
23
+ "composition-api"
24
+ ],
12
25
  "main": "./dist/index.cjs",
13
26
  "module": "./dist/index.mjs",
14
27
  "files": [
28
+ "LICENSE",
29
+ "README.md",
15
30
  "dist/*"
16
31
  ],
32
+ "publishConfig": {
33
+ "jsdelivr": "./dist/index.iife.min.js"
34
+ },
17
35
  "dependencies": {
18
- "@vesium/core": "1.0.1-beta.25",
19
- "@vesium/shared": "1.0.1-beta.25"
36
+ "@vesium/core": "1.0.1-beta.27",
37
+ "@vesium/shared": "1.0.1-beta.27"
20
38
  },
21
- "types": "./dist/index.d.ts"
39
+ "types": "./dist/index.d.ts",
40
+ "unpkg": "./dist/index.iife.min.js"
22
41
  }
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}