@vesium/parser 1.0.1-beta.54 → 1.0.1-beta.57

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.cjs CHANGED
@@ -1,34 +1,7 @@
1
- //#region rolldown:runtime
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
- key = keys[i];
11
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
- get: ((k) => from[k]).bind(null, key),
13
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
- });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
- value: mod,
20
- enumerable: true
21
- }) : target, mod));
22
-
23
- //#endregion
24
1
  let cesium = require("cesium");
25
- cesium = __toESM(cesium);
26
2
  let zod = require("zod");
27
- zod = __toESM(zod);
28
3
  let vesium = require("vesium");
29
- vesium = __toESM(vesium);
30
4
  let __vueuse_core = require("@vueuse/core");
31
- __vueuse_core = __toESM(__vueuse_core);
32
5
 
33
6
  //#region src/ArcType.ts
34
7
  const strings$10 = [
@@ -500,7 +473,7 @@ function BillboardGraphicsToJSON(instance, time, omit) {
500
473
  return {
501
474
  parser: "BillboardGraphics",
502
475
  value: {
503
- show: omit?.includes("show") ? void 0 : omit.includes("show") ? void 0 : (0, vesium.toPropertyValue)(instance.show, time),
476
+ show: omit?.includes("show") ? void 0 : (0, vesium.toPropertyValue)(instance.show, time),
504
477
  image: omit?.includes("image") ? void 0 : (0, vesium.toPropertyValue)(instance.image, time),
505
478
  scale: omit?.includes("scale") ? void 0 : (0, vesium.toPropertyValue)(instance.scale, time),
506
479
  pixelOffset: omit?.includes("pixelOffset") ? void 0 : Cartesian2ToJSON((0, vesium.toPropertyValue)(instance.pixelOffset, time)),
@@ -533,7 +506,7 @@ function BillboardGraphicsFromJSON(json, result, omit) {
533
506
  if (!json) return;
534
507
  json = BillboardGraphicsZodSchema().parse(json);
535
508
  const instance = new cesium.BillboardGraphics({
536
- show: omit?.includes("show") ? void 0 : omit?.includes("show") ? void 0 : json.value.show,
509
+ show: omit?.includes("show") ? void 0 : json.value.show,
537
510
  image: omit?.includes("image") ? void 0 : json.value.image,
538
511
  scale: omit?.includes("scale") ? void 0 : json.value.scale,
539
512
  pixelOffset: omit?.includes("pixelOffset") ? void 0 : Cartesian2FromJSON(json.value.pixelOffset),