vis-core 0.30.0-beta.71 → 0.30.0-beta.72

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/index.d.ts CHANGED
@@ -1721,7 +1721,7 @@ declare class Tube extends BaseObject {
1721
1721
 
1722
1722
  export { TWEEN }
1723
1723
 
1724
- export declare const VERSION = "0.30.0-beta.71";
1724
+ export declare const VERSION = "0.30.0-beta.72";
1725
1725
 
1726
1726
  declare class Viewport {
1727
1727
  editor: Editor;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import { continentsCountriesIso2 as y9 } from "geojson-cn";
13
13
  Array.prototype.at || (Array.prototype.at = function(r) {
14
14
  return r < 0 && (r = this.length + r), this[r];
15
15
  });
16
- const O2 = "0.30.0-beta.71";
16
+ const O2 = "0.30.0-beta.72";
17
17
  var Ci = Object.freeze({
18
18
  Linear: Object.freeze({
19
19
  None: function(r) {
@@ -41117,9 +41117,8 @@ const Lx = {
41117
41117
  SphereShadow: Px,
41118
41118
  Countries: j7
41119
41119
  }, Ix = (r) => {
41120
- r.loaderAdd = function() {
41121
- const { loader: e } = this;
41122
- e.add(["/image/earth2/basic.jpg", "/image/earth2/NormalMap.jpg"]);
41120
+ r.loaderAdd = () => {
41121
+ r.pencil.loader.add(["/image/earth2/basic.jpg", "/image/earth2/NormalMap.jpg"]);
41123
41122
  }, r.initMaterial = async function() {
41124
41123
  const e = r.pencil.loader, t = e.getAsset("/image/earth2/basic.jpg"), i = e.getAsset("/image/earth2/NormalMap.jpg"), n = new Tt({
41125
41124
  name: "地球材质",
@@ -41153,9 +41152,8 @@ const Lx = {
41153
41152
  otherMapDepth: () => r.options.otherMapDepth,
41154
41153
  copyChinaPlane: r.options.copyChinaPlane,
41155
41154
  mergeSide: () => r.options.mergeSide
41156
- }, r.loaderAdd = function() {
41157
- const { loader: e } = this;
41158
- e.add([
41155
+ }, r.loaderAdd = () => {
41156
+ r.pencil.loader.add([
41159
41157
  "/image/earth/basic.webp",
41160
41158
  "/image/earth/chinaBorder.png",
41161
41159
  "/image/earth/flyline.png",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.30.0-beta.71",
3
+ "version": "0.30.0-beta.72",
4
4
  "scripts": {
5
- "start": "npm run version && vite preview",
5
+ "start": "npm run version && vite",
6
6
  "build:site": "npm run version && vite build",
7
7
  "build:lib": "npm run version && BUILD_MODE=lib vite build",
8
8
  "version": "node ./scripts/generate-version",