earthsdk3 3.6.0-beta.1 → 3.6.0-beta.2
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/earthsdk3.iife.js +20 -20
- package/dist/earthsdk3.js +42 -22
- package/dist/earthsdk3.umd.cjs +3 -3
- package/dist/types/ESObjects/general/ESRtsFeatureEditing/index.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESRtsTileset/index.d.ts +4 -0
- package/dist/types/ESObjects/general/ESRtsTileset/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/earthsdk3.js
CHANGED
|
@@ -41,7 +41,7 @@ function ld(r) {
|
|
|
41
41
|
}
|
|
42
42
|
let Za;
|
|
43
43
|
try {
|
|
44
|
-
const r = "earthsdk3", e = "3.6.0-beta.
|
|
44
|
+
const r = "earthsdk3", e = "3.6.0-beta.2", t = "2025-11-03T03:44:11.000Z", n = "北京西部世界科技有限公司", i = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", s = "a185aeaa266bf4afbe1ddaf870b577819df95253", a = ((Date.now() - 1762141451e3) / 36e5).toFixed(1), u = `%c🌏 ${r}%c ${e}.${s.slice(0, 8)}.${t} (距今${a}个小时)
|
|
45
45
|
%c${i ? i + `
|
|
46
46
|
` : ""}当前网站正在使用${r},此软件版权归${n}所有
|
|
47
47
|
`;
|
|
@@ -55,7 +55,7 @@ try {
|
|
|
55
55
|
},
|
|
56
56
|
// @ts-ignore
|
|
57
57
|
get gituri() {
|
|
58
|
-
return GITURI_ && GITURI_.replace("${commitId}", "
|
|
58
|
+
return GITURI_ && GITURI_.replace("${commitId}", "a185aeaa266bf4afbe1ddaf870b577819df95253");
|
|
59
59
|
},
|
|
60
60
|
// @ts-ignore
|
|
61
61
|
get info() {
|
|
@@ -63,7 +63,7 @@ try {
|
|
|
63
63
|
},
|
|
64
64
|
// @ts-ignore
|
|
65
65
|
get date() {
|
|
66
|
-
return "2025-
|
|
66
|
+
return "2025-11-03T03:44:11.000Z";
|
|
67
67
|
},
|
|
68
68
|
// @ts-ignore
|
|
69
69
|
get author() {
|
|
@@ -71,7 +71,7 @@ try {
|
|
|
71
71
|
},
|
|
72
72
|
// @ts-ignore
|
|
73
73
|
get version() {
|
|
74
|
-
return "3.6.0-beta.
|
|
74
|
+
return "3.6.0-beta.2";
|
|
75
75
|
},
|
|
76
76
|
// @ts-ignore
|
|
77
77
|
get name() {
|
|
@@ -79,7 +79,7 @@ try {
|
|
|
79
79
|
},
|
|
80
80
|
// @ts-ignore
|
|
81
81
|
get commitId() {
|
|
82
|
-
return "
|
|
82
|
+
return "a185aeaa266bf4afbe1ddaf870b577819df95253";
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
85
|
* 打印版权信息到控制台
|
|
@@ -35945,6 +35945,8 @@ const nd = {
|
|
|
35945
35945
|
d(this, "_earthdstoken", this.dv(k("")));
|
|
35946
35946
|
// 要素拾取的要素id数组
|
|
35947
35947
|
d(this, "_visJson", this.disposeVar(k({})));
|
|
35948
|
+
// 实时服务跟数据服务端口号是否相同
|
|
35949
|
+
d(this, "_isSameIP", this.disposeVar(k(!1)));
|
|
35948
35950
|
/**
|
|
35949
35951
|
* 内部 3D Tileset 高亮事件。
|
|
35950
35952
|
*/
|
|
@@ -36072,6 +36074,15 @@ const nd = {
|
|
|
36072
36074
|
get visJsonChanged() {
|
|
36073
36075
|
return this._visJson.changed;
|
|
36074
36076
|
}
|
|
36077
|
+
get isSameIP() {
|
|
36078
|
+
return this._isSameIP.value;
|
|
36079
|
+
}
|
|
36080
|
+
set isSameIP(t) {
|
|
36081
|
+
this._isSameIP.value = t;
|
|
36082
|
+
}
|
|
36083
|
+
get isSameIPChanged() {
|
|
36084
|
+
return this._isSameIP.changed;
|
|
36085
|
+
}
|
|
36075
36086
|
setFeatureVisable(t, n) {
|
|
36076
36087
|
var i;
|
|
36077
36088
|
if ((i = this.layerConfig) != null && i.length) {
|
|
@@ -36198,12 +36209,15 @@ const nd = {
|
|
|
36198
36209
|
* 刷新图层。
|
|
36199
36210
|
*/
|
|
36200
36211
|
async refresh() {
|
|
36201
|
-
var
|
|
36212
|
+
var n;
|
|
36202
36213
|
if (!this.url || typeof this.url != "string") return;
|
|
36203
|
-
const t =
|
|
36204
|
-
if (
|
|
36205
|
-
const
|
|
36206
|
-
|
|
36214
|
+
const t = +/* @__PURE__ */ new Date();
|
|
36215
|
+
if (this.isSameIP) {
|
|
36216
|
+
const i = (n = this.url.match(/^(https?:\/\/[^\/]+)/)) == null ? void 0 : n[0];
|
|
36217
|
+
this._es3DTileset.url = `${i}/ts/tiles/${this.tileServiceName}/tileset.json?t=${t}`;
|
|
36218
|
+
} else {
|
|
36219
|
+
const i = this.tileServiceIp, s = await this.getport();
|
|
36220
|
+
await this.getLayerConfig(), this._es3DTileset.url = `${i}:${s}/tiles/tileset.json?t=${t}`;
|
|
36207
36221
|
}
|
|
36208
36222
|
console.log("3dtileset url:", this._es3DTileset.url);
|
|
36209
36223
|
}
|
|
@@ -36306,23 +36320,29 @@ const ua = class ua extends Gr {
|
|
|
36306
36320
|
* @param featureId - 要素的 ID。
|
|
36307
36321
|
*/
|
|
36308
36322
|
async init(e, t) {
|
|
36323
|
+
var i;
|
|
36309
36324
|
this.featureId = t;
|
|
36310
36325
|
const n = await e.getFeatureProperty(t);
|
|
36311
|
-
this.uiShowprops = n.allFields.map((
|
|
36312
|
-
featureClassName:
|
|
36313
|
-
fields:
|
|
36314
|
-
key:
|
|
36315
|
-
type:
|
|
36316
|
-
value:
|
|
36326
|
+
if (this.uiShowprops = n.allFields.map((s) => ({
|
|
36327
|
+
featureClassName: s.featureClassName,
|
|
36328
|
+
fields: s.fields.map((o) => ({
|
|
36329
|
+
key: o.name,
|
|
36330
|
+
type: o.type,
|
|
36331
|
+
value: o.type != "Double" ? o.value : ME(o.value) ? Number(o.value.toFixed(3)) : ""
|
|
36317
36332
|
}))
|
|
36318
36333
|
})), this.datasetName = n.datasetName, e.setFeatureVisable("id", [{ value: this.featureId, visable: !1 }]), this.d(() => {
|
|
36319
36334
|
e.setFeatureVisable("id", [{ value: this.featureId, visable: !0 }]);
|
|
36320
|
-
})
|
|
36321
|
-
|
|
36322
|
-
|
|
36323
|
-
|
|
36324
|
-
|
|
36325
|
-
|
|
36335
|
+
}), e.isSameIP) {
|
|
36336
|
+
const s = (i = e.url.match(/^(https?:\/\/[^\/]+)/)) == null ? void 0 : i[0], o = e.tileServiceName;
|
|
36337
|
+
this.url = `${s}/ts/featuretiles/${o}/${this.featureId}/tileset.json`;
|
|
36338
|
+
} else {
|
|
36339
|
+
const s = e.tileServiceIp, o = e.tilesetServePort;
|
|
36340
|
+
if (!o)
|
|
36341
|
+
throw new Error("ESRtsFeatureEditing2: port is not defined");
|
|
36342
|
+
this.url = `${s}:${o}/featuretiles/${this.featureId}/tileset.json`;
|
|
36343
|
+
}
|
|
36344
|
+
this.allowPicking = !0, this.d(this.pickedEvent.don((s) => {
|
|
36345
|
+
s.assign({ sceneObject: e }), e.pickedEvent.emit(s);
|
|
36326
36346
|
})), this.d(() => {
|
|
36327
36347
|
this.editing = !1, e.removeHighlightDSFeature(this);
|
|
36328
36348
|
});
|
package/dist/earthsdk3.umd.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
(function(g,Gn){typeof exports=="object"&&typeof module<"u"?Gn(exports,require("js-binary-schema-parser"),require("proj4"),require("@turf/turf")):typeof define=="function"&&define.amd?define(["exports","js-binary-schema-parser","proj4","@turf/turf"],Gn):(g=typeof globalThis<"u"?globalThis:g||self,Gn(g.EarthSDK3={},g.jsBinarySchemaParser,g.proj4,g.turf))})(this,function(g,Gn,Js,jy){"use strict";var Ib=Object.defineProperty;var xb=(g,Gn,Js)=>Gn in g?Ib(g,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Js}):g[Gn]=Js;var d=(g,Gn,Js)=>xb(g,typeof Gn!="symbol"?Gn+"":Gn,Js);var ei;function zy(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const Ke=zy(jy);function Uy(){var n;const r=((n=globalThis==null?void 0:globalThis.navigator)==null?void 0:n.userAgent)??"unknown";let e="Unknown";/Windows/.test(r)?e="Windows":/Macintosh/.test(r)?e="MacOS":/Linux/.test(r)?e="Linux":/Android/.test(r)?e="Android":/iOS|iPhone|iPad|iPod/.test(r)&&(e="iOS");let t="Unknown";return/x64|x86_64|Win64|WOW64/.test(r)?t="x64":/x86|i686|Win32/.test(r)?t="x86":/arm64|aarch64/.test(r)?t="arm64":/arm/.test(r)&&(t="arm"),{os:e.toLocaleLowerCase(),arch:t.toLocaleLowerCase()}}const Gy=Date.now();function lp(r){var a;const{os:e,arch:t}=Uy(),n={version:r.version,commitdate:r.date,commitId:r.commitId,runningTime:(Date.now()-Gy)/1e3/60|0,date:new Date().toLocaleString(),href:((a=globalThis==null?void 0:globalThis.location)==null?void 0:a.href)??"unknown",os:e,arch:t},s={method:"GET",headers:new Headers,redirect:"follow"},o=globalThis.encodeURIComponent(JSON.stringify(n));fetch(`https://account.bjxbsj.cn/api/product/record?product=EarthSDKJS&content=${o}`,s).then(u=>u.text()).then(u=>console.log(u)).catch(u=>console.log("error",u))}g.copyright=void 0;try{const r="earthsdk3",e="3.6.0-beta.
|
|
1
|
+
(function(g,Gn){typeof exports=="object"&&typeof module<"u"?Gn(exports,require("js-binary-schema-parser"),require("proj4"),require("@turf/turf")):typeof define=="function"&&define.amd?define(["exports","js-binary-schema-parser","proj4","@turf/turf"],Gn):(g=typeof globalThis<"u"?globalThis:g||self,Gn(g.EarthSDK3={},g.jsBinarySchemaParser,g.proj4,g.turf))})(this,function(g,Gn,Js,jy){"use strict";var Ib=Object.defineProperty;var xb=(g,Gn,Js)=>Gn in g?Ib(g,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Js}):g[Gn]=Js;var d=(g,Gn,Js)=>xb(g,typeof Gn!="symbol"?Gn+"":Gn,Js);var ei;function zy(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const Ke=zy(jy);function Uy(){var n;const r=((n=globalThis==null?void 0:globalThis.navigator)==null?void 0:n.userAgent)??"unknown";let e="Unknown";/Windows/.test(r)?e="Windows":/Macintosh/.test(r)?e="MacOS":/Linux/.test(r)?e="Linux":/Android/.test(r)?e="Android":/iOS|iPhone|iPad|iPod/.test(r)&&(e="iOS");let t="Unknown";return/x64|x86_64|Win64|WOW64/.test(r)?t="x64":/x86|i686|Win32/.test(r)?t="x86":/arm64|aarch64/.test(r)?t="arm64":/arm/.test(r)&&(t="arm"),{os:e.toLocaleLowerCase(),arch:t.toLocaleLowerCase()}}const Gy=Date.now();function lp(r){var a;const{os:e,arch:t}=Uy(),n={version:r.version,commitdate:r.date,commitId:r.commitId,runningTime:(Date.now()-Gy)/1e3/60|0,date:new Date().toLocaleString(),href:((a=globalThis==null?void 0:globalThis.location)==null?void 0:a.href)??"unknown",os:e,arch:t},s={method:"GET",headers:new Headers,redirect:"follow"},o=globalThis.encodeURIComponent(JSON.stringify(n));fetch(`https://account.bjxbsj.cn/api/product/record?product=EarthSDKJS&content=${o}`,s).then(u=>u.text()).then(u=>console.log(u)).catch(u=>console.log("error",u))}g.copyright=void 0;try{const r="earthsdk3",e="3.6.0-beta.2",t="2025-11-03T03:44:11.000Z",n="北京西部世界科技有限公司",i="地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn",s="a185aeaa266bf4afbe1ddaf870b577819df95253",a=((Date.now()-1762141451e3)/36e5).toFixed(1),u=`%c🌏 ${r}%c ${e}.${s.slice(0,8)}.${t} (距今${a}个小时)
|
|
2
2
|
%c${i?i+`
|
|
3
3
|
`:""}当前网站正在使用${r},此软件版权归${n}所有
|
|
4
|
-
`;g.copyright=Object.freeze({get owner(){return"北京西部世界科技有限公司"},get ownerlink(){},get gituri(){return GITURI_&&GITURI_.replace("${commitId}","
|
|
4
|
+
`;g.copyright=Object.freeze({get owner(){return"北京西部世界科技有限公司"},get ownerlink(){},get gituri(){return GITURI_&&GITURI_.replace("${commitId}","a185aeaa266bf4afbe1ddaf870b577819df95253")},get info(){return u},get date(){return"2025-11-03T03:44:11.000Z"},get author(){return"suplyang"},get version(){return"3.6.0-beta.2"},get name(){return"earthsdk3"},get commitId(){return"a185aeaa266bf4afbe1ddaf870b577819df95253"},print(){console.info(this.info,`
|
|
5
5
|
font-size: 18px;
|
|
6
6
|
font-weight: 1000;
|
|
7
7
|
line-height: 1;
|
|
@@ -351,7 +351,7 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
351
351
|
\`\`\`
|
|
352
352
|
${dy}
|
|
353
353
|
\`\`\`
|
|
354
|
-
`,wS="${earthsdk3-assets-script-dir}/assets/misc/2.geojson",bt=class bt extends Wt{constructor(t){super(t);d(this,"_flyToFeatureEvent",this.dv(new N));d(this,"_flyToFeatureIndexEvent",this.dv(new N));d(this,"_features",this.disposeVar(Zt(void 0)));d(this,"pickedInfoType","FeatureCollection");d(this,"abortController");this._updateUrl(),this.ad(this.urlChanged.don(()=>{this._updateUrl()})),this.ad(this.editingChanged.don(()=>{console.warn("ESGeoJson暂不支持编辑!")}))}get flyToFeatureEvent(){return this._flyToFeatureEvent}flyToFeature(t,n,i){this._flyToFeatureEvent.emit(t,n,i)}get flyToFeatureIndexEvent(){return this._flyToFeatureIndexEvent}flyToFeatureIndex(t,n){this._flyToFeatureIndexEvent.emit(t,n)}get features(){return this._features.value}set features(t){this._features.value=t}get featuresChanged(){return this._features.changed}getFeatures(){if(this.features)return this.features;console.log("数据未加载完成,请稍后调用此方法getFeatures()")}async _updateUrl(){var n;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const t=this.abortController.signal;if(!this.url){this.features=void 0;return}typeof this.url=="object"?this.features=this.url:jh(this.url)?this.features=JSON.parse(this.url):await fetch(et.context.getStrFromEnv(this.url),{signal:t}).then(i=>i.json()).then(i=>{this.features=i}).catch(i=>{i.name!="AbortError"&&console.warn("ESGeoJson数据加载失败",i)}),this.pickedInfoType=((n=this.features)==null?void 0:n.type)??"FeatureCollection"}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"style",dataSource:[...t.dataSource,new it([this,"url"],"服务地址",bt.defaults.url),new R([this,"minFeatureVisibleDistance"],"要素最小可视距离",bt.defaults.minFeatureVisibleDistance),new R([this,"maxFeatureVisibleDistance"],"要素最大可视距离",bt.defaults.maxFeatureVisibleDistance),new St([this,"heightReference"],[["NONE","NONE"],["CLAMP_TO_GROUND","CLAMP_TO_GROUND"],["RELATIVE_TO_GROUND","RELATIVE_TO_GROUND"]],"高度参考"),new St([this,"classificationType"],bt.classificationTypes,"贴地附着目标",bt.defaults.classificationType),new R([this,"zIndex"],"层级排序",bt.defaults.zIndex)],style:[...t.style,new ut([],"点样式集合"),new X([this,"textShow"],"是否显示",bt.defaults.textShow),new Fe([this,"textAnchor"],"锚点",bt.defaults.anchor),new pt([this,"textProperty"],"标注显示属性",bt.defaults.textStyle.textProperty),new pt([this,"textDefaultText"],"默认文本",bt.defaults.textStyle.defaultText),new Ot([this,"textColor"],"文本颜色",bt.defaults.textStyle.color),new Ot([this,"textBackgroundColor"],"文本背景颜色",bt.defaults.textStyle.backgroundColor),new pt([this,"textFontStyle"],"字体样式",bt.defaults.textStyle.fontStyle),new pt([this,"textFontWeight"],"字体粗细",bt.defaults.textStyle.fontWeight),new R([this,"textFontSize"],"字体大小",bt.defaults.textStyle.fontSize),new Fe([this,"textOffset"],"像素偏移",bt.defaults.textStyle.offset),new ut([],"点图片样式集合"),new X([this,"imageShow"],"是否显示",bt.defaults.imageShow),new Fe([this,"imageAnchor"],"锚点",bt.defaults.imageStyle.anchor),new it([this,"imageUrl"],"图片地址",bt.defaults.imageStyle.url),new Fe([this,"imageSize"],"图片大小",bt.defaults.imageStyle.size),new Fe([this,"imageOffset"],"像素偏移",bt.defaults.imageStyle.offset),new ut([],"线样式集合"),new X([this,"stroked"],"是否显示",bt.defaults.stroked),new X([this,"strokeGround"],"贴地",bt.defaults.strokeStyle.ground),new R([this,"strokeWidth"],"线宽",bt.defaults.strokeStyle.width),new St([this,"strokeWidthType"],bt.strokeStyleWidthTypes,"线宽类型"),new Ot([this,"strokeColor"],"线颜色",bt.defaults.strokeStyle.color),new pt([this,"strokeMaterial"],"线材质",bt.defaults.strokeStyle.material),new it([this,"strokeMaterialParams"],"线材质参数",bt.defaults.strokeStyle.materialParams),new ut([],"面样式集合"),new X([this,"filled"],"是否显示",bt.defaults.filled),new X([this,"fillGround"],"贴地",bt.defaults.fillStyle.ground),new Ot([this,"fillColor"],"填充颜色",bt.defaults.fillStyle.color),new pt([this,"fillMaterial"],"填充材质",bt.defaults.fillStyle.material),new it([this,"fillMaterialParams"],"填充材质参数",bt.defaults.fillStyle.materialParams)],more:[...t.more,new ut([],"标注文本样式"),new pt([this,"textFontFamily"],"字体",bt.defaults.textStyle.fontFamily),new ut([],"通用"),new ys([this,"loadFuncStr"],"loadFnStr",dy,_S,!0)]}}get strokeWidth(){return this.strokeStyle.width}set strokeWidth(t){this.strokeStyle={...this.strokeStyle,width:t}}get strokeWidthChanged(){return this.strokeStyleChanged}get strokeWidthType(){return this.strokeStyle.widthType}set strokeWidthType(t){this.strokeStyle={...this.strokeStyle,widthType:t}}get strokeWidthTypeChanged(){return this.strokeStyleChanged}get strokeColor(){return this.strokeStyle.color}set strokeColor(t){this.strokeStyle={...this.strokeStyle,color:[...t]}}get strokeColorChanged(){return this.strokeStyleChanged}get strokeMaterial(){return this.strokeStyle.material}set strokeMaterial(t){this.strokeStyle={...this.strokeStyle,material:t}}get strokeMaterialChanged(){return this.strokeStyleChanged}get strokeMaterialParams(){return this.strokeStyle.materialParams}set strokeMaterialParams(t){this.strokeStyle={...this.strokeStyle,materialParams:t}}get strokeMaterialParamsChanged(){return this.strokeStyleChanged}get strokeGround(){return this.strokeStyle.ground}set strokeGround(t){this.strokeStyle={...this.strokeStyle,ground:t}}get strokeGroundChanged(){return this.strokeStyleChanged}get fillColor(){return this.fillStyle.color}set fillColor(t){this.fillStyle={...this.fillStyle,color:[...t]}}get fillColorChanged(){return this.fillStyleChanged}get fillMaterial(){return this.fillStyle.material}set fillMaterial(t){this.fillStyle={...this.fillStyle,material:t}}get fillMaterialChanged(){return this.fillStyleChanged}get fillMaterialParams(){return this.fillStyle.materialParams}set fillMaterialParams(t){this.fillStyle={...this.fillStyle,materialParams:t}}get fillMaterialParamsChanged(){return this.fillStyleChanged}get fillGround(){return this.fillStyle.ground}set fillGround(t){this.fillStyle={...this.fillStyle,ground:t}}get fillGroundChanged(){return this.fillStyleChanged}get textProperty(){return this.textStyle.textProperty}set textProperty(t){this.textStyle={...this.textStyle,textProperty:t}}get textPropertyChanged(){return this.textStyleChanged}get textDefaultText(){return this.textStyle.defaultText}set textDefaultText(t){this.textStyle={...this.textStyle,defaultText:t}}get textDefaultTextChanged(){return this.textStyleChanged}get textColor(){return this.textStyle.color}set textColor(t){this.textStyle={...this.textStyle,color:t}}get textColorChanged(){return this.textStyleChanged}get textBackgroundColor(){return this.textStyle.backgroundColor}set textBackgroundColor(t){this.textStyle={...this.textStyle,backgroundColor:t}}get textBackgroundColorChanged(){return this.textStyleChanged}get textFontFamily(){return this.textStyle.fontFamily}set textFontFamily(t){this.textStyle={...this.textStyle,fontFamily:t}}get textFontFamilyChanged(){return this.textStyleChanged}get textFontStyle(){return this.textStyle.fontStyle}set textFontStyle(t){this.textStyle={...this.textStyle,fontStyle:t}}get textFontStyleChanged(){return this.textStyleChanged}get textFontWeight(){return this.textStyle.fontWeight}set textFontWeight(t){this.textStyle={...this.textStyle,fontWeight:t}}get textFontWeightChanged(){return this.textStyleChanged}get textFontSize(){return this.textStyle.fontSize}set textFontSize(t){this.textStyle={...this.textStyle,fontSize:t}}get textFontSizeChanged(){return this.textStyleChanged}get textAnchor(){return this.textStyle.anchor}set textAnchor(t){this.textStyle={...this.textStyle,anchor:t}}get textAnchorChanged(){return this.textStyleChanged}get textOffset(){return this.textStyle.offset}set textOffset(t){this.textStyle={...this.textStyle,offset:t}}get textOffsetChanged(){return this.textStyleChanged}get imageUrl(){return this.imageStyle.url}set imageUrl(t){this.imageStyle={...this.imageStyle,url:t}}get imageUrlChanged(){return this.imageStyleChanged}get imageSize(){return this.imageStyle.size}set imageSize(t){this.imageStyle={...this.imageStyle,size:t}}get imageSizeChanged(){return this.imageStyleChanged}get imageAnchor(){return this.imageStyle.anchor}set imageAnchor(t){this.imageStyle={...this.imageStyle,anchor:t}}get imageAnchorChanged(){return this.imageStyleChanged}get imageOffset(){return this.imageStyle.offset}set imageOffset(t){this.imageStyle={...this.imageStyle,offset:t}}get imageOffsetChanged(){return this.imageStyleChanged}};d(bt,"createDefaultProps",()=>({...Wt.createDefaultProps(),show:!0,allowPicking:!0,loadFuncStr:void 0,url:wS,stroked:!0,strokeStyle:_t({width:1,widthType:"world",color:[.79,.91,.06,1],material:"",materialParams:{},ground:!1}),filled:!0,fillStyle:_t({color:[.79,.91,.06,.2],material:"",materialParams:{},ground:!1}),imageShow:!0,imageStyle:_t({url:"${earthsdk3-assets-script-dir}/assets/img/location.png",size:[32,32],anchor:[.5,1],offset:[0,0]}),textShow:!0,textStyle:_t({textProperty:"",defaultText:"默认标注",color:[1,1,1,1],backgroundColor:void 0,fontFamily:"Arial",fontSize:16,fontStyle:"normal",fontWeight:"normal",anchor:[0,1],offset:[16,-8]}),minFeatureVisibleDistance:0,maxFeatureVisibleDistance:0,heightReference:"NONE",classificationType:"TERRAIN",zIndex:0})),d(bt,"type",bt.register("ESGeoJson",bt,{chsName:"ESGeoJson",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"GeoJson数据加载"})),d(bt,"strokeStyleWidthTypes",[["screen","screen"],["world","world"]]),d(bt,"classificationTypes",[["TERRAIN","TERRAIN"],["CESIUM_3D_TILE","CESIUM_3D_TILE"],["BOTH","BOTH"]]);let fl=bt;const Ao=class Ao extends Dt{constructor(t){super(t);d(this,"editingBindMode","doublePoints");d(this,"_height",this.disposeVar(V(0)));{const n=()=>{this.height=this.points&&this.points.length>=2?this.points[1][2]-this.points[0][2]:0};n(),this.ad(this.pointsChanged.don(n))}}get height(){return this._height.value}set height(t){this._height.value=t}get heightChanged(){return this._height.changed}};d(Ao,"createDefaultProps",()=>({...Dt.createDefaultProps(),stroked:!0,strokeStyle:_t({width:2,widthType:"screen",color:[1,1,1,1],material:"",materialParams:{},ground:!1})})),d(Ao,"type",Ao.register("ESHeightMeasurement",Ao,{chsName:"高度测量",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"高度测量"})),d(Ao,"supportEditingModes",[...Dt.supportEditingModes,nt.DoublePointsAppend,nt.DoublePointsModify]);let Ef=Ao;const Qa=class Qa extends rs{constructor(t){super(t);d(this,"_area",this.dv(V(0)));d(this,"_perimeter",this.dv(V(0)));d(this,"editingBindMode","doublePoints");const n=()=>{this._area.value=Math.PI*this.radius*this.radius,this._perimeter.value=2*Math.PI*this.radius};n(),this.d(this.radiusChanged.don(n))}get area(){return this._area.value}get areaChanged(){return this._area.changed}get perimeter(){return this._perimeter.value}get perimeterChanged(){return this._perimeter.changed}toPolygon(t=10,n){return Gv([...this.position],this.radius,t,n)[0].map(s=>[...s,this.position?this.position[2]:0])}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"style",basic:[...t.basic,new R([this,"radius"],"圆半径",1,!0)],coordinate:[...t.coordinate,new X([this,"editing"],"是否编辑"),new ta([this,"position"],"三维坐标",[0,0,0],!0),new R([this,"area"],"面积",0,!1,!0),new R([this,"perimeter"],"周长",0,!1,!0)]}}};d(Qa,"createDefaultProps",()=>({...rs.createDefaultProps(),radius:1,filled:!0,collision:!1,fillStyle:_t({color:[1,1,1,.5],material:"",materialParams:{},ground:!1})})),d(Qa,"type",Qa.register("ESLocalCircle",Qa,{chsName:"局部坐标圆形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalCircle"}));let Cf=Qa;const tu=class tu extends rs{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,coordinate:[...e.coordinate,new Eg([this,"points"],"坐标",[])]}}};d(tu,"createDefaultProps",()=>({...rs.createDefaultProps(),points:jd([]),filled:!0})),d(tu,"type",tu.register("ESLocalPolygon",tu,{chsName:"局部2D坐标多边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalPolygon"}));let pl=tu;const eu=class eu extends La{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,coordinate:[...e.coordinate,new kh([this,"points"],"本地位置数组")]}}};d(eu,"createDefaultProps",()=>({...La.createDefaultProps(),points:Il(void 0),filled:!0})),d(eu,"type",eu.register("ESLocalPolygonZ",eu,{chsName:"局部坐标多边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalPolygonZ"}));let Sf=eu;const nu=class nu extends rs{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"width"],"宽度"),new R([this,"height"],"高度")]}}};d(nu,"createDefaultProps",()=>({...rs.createDefaultProps(),width:5e5,height:3e5,filled:!0})),d(nu,"type",nu.register("ESLocalRectangle",nu,{chsName:"局部坐标四边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalRectangle"}));let bf=nu;const Di=class Di extends Dt{constructor(t){super(t);d(this,"editingBindMode","lineString");d(this,"_distance",this.dv(V(0)));d(this,"_deprecated",[{materialMode:{blue:"multipleArrows",purple:"singleArrow"}},"show"]);d(this,"_deprecatedWarningFunc",(()=>{this._deprecatedWarning()})());const n=()=>{if(this.points&&this.points.length>=2){const i=ll(this.points,"GEODESIC"),s=i[i.length-1];this._distance.value=s}else this._distance.value=0};n(),this.d(this.pointsChanged.don(n))}get distance(){return this._distance.value}get distanceChanged(){return this._distance.changed}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"basic",basic:[...t.basic,new R([this,"height"],"高度",10),new R([this,"width"],"宽度",10),new St([this,"materialMode"],Di.materialModes,"模式",Di.defaults.materialMode)],coordinate:[...t.coordinate,new R([this,"distance"],"距离",0,!1,!0)]}}};d(Di,"createDefaultProps",()=>({...Dt.createDefaultProps(),height:10,width:10,materialMode:"singleArrow",filled:!0,stroked:!0,fillStyle:_t({color:[1,0,.73,1],material:"",materialParams:{},ground:!1})})),d(Di,"type",Di.register("ESPipeFence",Di,{chsName:"管道电子围栏",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"管道电子围栏"})),d(Di,"materialModes",[["单箭头","singleArrow"],["多箭头","multipleArrows"],["纯色","color"]]),d(Di,"supportEditingModes",[...Dt.supportEditingModes,nt.LineStringAppend,nt.LineStringInsert]);let zc=Di;const as=class as extends Pr{constructor(t){super(t);d(this,"_setLayerVisibleEvent",this.dv(new N));d(this,"_setLayerColorEvent",this.dv(new N))}get setLayerVisibleEvent(){return this._setLayerVisibleEvent}setLayerVisible(t,n){this._setLayerVisibleEvent.emit(t,n)}get setLayerColorEvent(){return this._setLayerColorEvent}setLayerColor(t,n){this._setLayerColorEvent.emit(t,n)}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"ESPipeserTileset"),new lt(["string","string"],(n,i)=>this.setLayerVisible(n,i),["",""],"setLayerVisible"),new lt(["string","string"],(n,i)=>this.setLayerColor(n,i),["",""],"setLayerColor"),new St([this,"colorMode"],as.colorModes,"colorMode",as.defaults.colorMode,!0)]}}};d(as,"createDefaultProps",()=>({...Pr.createDefaultProps(),colorMode:"default"})),d(as,"type",as.register("ESPipeserTileset",as,{chsName:"PipeSer图层",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"PipeSer图层"})),d(as,"colorModes",[["default","default"],["color","color"],["blend","blend"]]);let Pf=as;const us=class us extends Dt{constructor(t){super(t);d(this,"editingBindMode","circular")}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"basic",coordinate:[...t.coordinate,new R([this,"area"],"面积",0,!1,!0),new R([this,"perimeter"],"周长",0,!1,!0)],basic:[...t.basic,new R([this,"height"],"高度",10),new St([this,"materialMode"],us.materialModes,"模式","danger")]}}};d(us,"createDefaultProps",()=>({...Dt.createDefaultProps(),height:10,materialMode:"danger",filled:!0,collision:!1})),d(us,"type",us.register("ESPolygonFence",us,{chsName:"多边形电子围栏",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"多边形电子围栏"})),d(us,"materialModes",[["模式一","danger"],["模式二","checkerboard"],["模式三","warning"],["模式四","cord"],["模式五","scanline"],["模式六","honeycomb"],["模式七","gradientColor"]]),d(us,"supportEditingModes",[...Dt.supportEditingModes,nt.CircularAppend,nt.CircularInsert,nt.HeightModify]);let Uc=us;const Ws=class Ws extends Dt{constructor(t){super(t);d(this,"_deprecated",["ground"]);d(this,"_deprecatedWarningFunc",(()=>{this._deprecatedWarning()})());d(this,"editingBindMode","doublePoints")}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"通用","通用"),new X([this,"ground"],"是否贴地"),new X([this,"outlineTranslucent"],"轮廓线半透明"),new R([this,"height"],"高度"),new R([this,"extrudedHeight"],"拉伸高度"),new Rr([this,"rectangle"],"范围",Ws.defaults.rectangle,!0),new R([this,"stRotation"],"纹理旋转角度"),new R([this,"rotation"],"旋转角度"),new X([this,"pointEditing"],"是否单点编辑")]}}};d(Ws,"createDefaultProps",()=>({...Dt.createDefaultProps(),ground:!1,outlineTranslucent:!0,height:0,extrudedHeight:0,rectangle:ne(void 0),rotation:0,stRotation:0,pointEditing:!1,filled:!0})),d(Ws,"type",Ws.register("ESRectangle",Ws,{chsName:"矩形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"矩形"})),d(Ws,"supportEditingModes",[...Dt.supportEditingModes,nt.DoublePointsAppend,nt.DoublePointsModify]);let If=Ws;const ru=class ru extends qt{getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new it([this,"innerRings"],"裁切多边形数组",[],void 0,!0)]}}};d(ru,"createDefaultProps",()=>({...qt.createDefaultProps(),innerRings:mp([])})),d(ru,"type",ru.register("ESPolygonWithHole",ru,{chsName:"内部裁切多边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"带洞多边形"}));let xf=ru;const Hs=class Hs extends qt{constructor(t){super(t);d(this,"_startEvent",this.disposeVar(new N));d(this,"_stopEvent",this.dv(new N));d(this,"_surfaceArea",this.disposeVar(V(0)))}get startEvent(){return this._startEvent}start(){this._startEvent.emit()}get stopEvent(){return this._stopEvent}stop(){this._stopEvent.emit()}get surfaceArea(){return this._surfaceArea.value}set surfaceArea(t){this._surfaceArea.value=t}get surfaceChanged(){return this._surfaceArea.changed}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"表面积测量","表面积测量"),new lt([],()=>this.start(),[],"开始计算"),new R([this,"interpolation"],"插值距离",Hs.defaults.interpolation),new R([this,"offsetHeight"],"偏移高度",Hs.defaults.offsetHeight)]}}};d(Hs,"createDefaultProps",()=>({...qt.createDefaultProps(),interpolation:.5,offsetHeight:0,units:dt(["SquareMeter_SquareKilometer","MU_Hectare"]),fillStyle:_t({color:[1,1,1,.5],material:"",materialParams:{},ground:!0})})),d(Hs,"type",Hs.register("ESSurfaceAreaMeasurement",Hs,{chsName:"表面积测量",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"表面积测量"}));let Tf=Hs;const qs=class qs extends st{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"downloadProgress"],"下载进度",qs.defaults.downloadProgress,!0,!0),new it([this,"importOptions"],"导入参数",qs.defaults.importOptions,void 0,!0)],dataSource:[...e.dataSource,new it([this,"url"],"路径")]}}};d(qs,"createDefaultProps",()=>({...st.createDefaultProps(),url:"",importOptions:Zt({buildCollisions:"QueryAndPhysics",buildHierarchy:"Simplified",collisionType:"CTF_UseComplexAsSimple",bImportMetaData:!0}),downloadProgress:0})),d(qs,"type",qs.register("ESDatasmithRuntimeModel",qs,{chsName:"Datasmith Model",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"Datasmith Model"}));let Nf=qs;const _n=class _n extends pl{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new St([this,"waterType"],[["river","river"],["ocean","ocean"],["lake","lake"],["custom","custom"]],"水域类型",_n.defaults.waterType),new R([this,"frequency"],"频率",_n.defaults.frequency),new ze([this,"amplitude"],.01,[0,1],"振幅",_n.defaults.amplitude),new ze([this,"flowDirection"],1,[0,360],"流向",_n.defaults.flowDirection),new ze([this,"waveVelocity"],.01,[0,1],"波动频率",_n.defaults.waveVelocity),new ze([this,"specularIntensity"],.01,[0,1],"镜面反射强度",_n.defaults.specularIntensity),new ze([this,"murkiness"],.1,[0,10],"水体浑浊度",_n.defaults.murkiness),new R([this,"flowSpeed"],"水流速度",_n.defaults.flowSpeed),new Ot([this,"waterColor"],"水的底色",_n.defaults.waterColor),new it([this,"waterImage"],"水的图片",_n.defaults.waterImage)]}}};d(_n,"createDefaultProps",()=>({...pl.createDefaultProps(),allowPicking:!0,waterImage:Zt(void 0),waterColor:[.1497,.165,.0031,1],frequency:1e3,waveVelocity:.5,amplitude:.1,specularIntensity:.8,waterType:"river",flowDirection:0,flowSpeed:0,murkiness:5,stroked:!1,filled:!0})),d(_n,"type",_n.register("ESDynamicWater",_n,{chsName:"动态水面",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"局部多边形水面"}));let Of=_n;const wn=class wn extends qt{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,defaultMenu:"basic",basic:[...e.basic,new St([this,"waterType"],[["river","river"],["ocean","ocean"],["lake","lake"],["custom","custom"]],"水域类型",wn.defaults.waterType),new R([this,"frequency"],"频率",wn.defaults.frequency),new ze([this,"amplitude"],.01,[0,1],"振幅",wn.defaults.amplitude),new ze([this,"flowDirection"],1,[0,360],"流向",wn.defaults.flowDirection),new ze([this,"waveVelocity"],.01,[0,1],"波动频率",wn.defaults.waveVelocity),new ze([this,"specularIntensity"],.01,[0,1],"镜面反射强度",wn.defaults.specularIntensity),new ze([this,"murkiness"],.1,[0,10],"水体浑浊度",wn.defaults.murkiness),new R([this,"flowSpeed"],"水流速度",wn.defaults.flowSpeed),new Ot([this,"waterColor"],"水的底色",wn.defaults.waterColor),new it([this,"waterImage"],"水的图片",wn.defaults.waterImage)]}}};d(wn,"createDefaultProps",()=>({...qt.createDefaultProps(),allowPicking:!0,waterImage:Zt({}),waterColor:[.1497,.165,.0031,1],frequency:1e3,waveVelocity:.5,amplitude:.1,specularIntensity:.8,waterType:"river",flowDirection:0,flowSpeed:0,murkiness:5})),d(wn,"type",wn.register("ESGeoWater",wn,{chsName:"地理水面",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"地理动态水面"}));let Df=wn;const ko=class ko extends st{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"downloadProgress"],"下载进度",ko.defaults.downloadProgress,!0,!0),new pt([this,"levelName"],"levelName",""),new R([this,"levelLoadDistance"],"levelLoadDistance",1e3),new un([this,"levelOffset"],"levelOffset",[0,0,0])],dataSource:[...e.dataSource,new it([this,"url"],"url","")]}}};d(ko,"createDefaultProps",()=>({...st.createDefaultProps(),url:"",downloadProgress:0,levelName:"",levelOffset:dt([0,0,0]),levelLoadDistance:1e3})),d(ko,"type",ko.register("ESLevelRuntimeModel",ko,{chsName:"关卡包模型",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"关卡包模型"}));let Mf=ko;const sr=class sr extends is{constructor(t){super(t);d(this,"_deprecated",[{materialMode:{blue:"multipleArrows",purple:"singleArrow"}},"show"]);d(this,"_deprecatedWarningFunc",(()=>{this._deprecatedWarning()})())}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"basic",basic:[...t.basic,new R([this,"radius"],"半径",sr.defaults.radius),new R([this,"sides"],"圆边数",sr.defaults.sides),new R([this,"speed"],"材质速度",sr.defaults.speed),new St([this,"materialMode"],sr.materialModes,"材质模式",sr.defaults.materialMode),new it([this,"materialImage"],"材质图片和重复度",sr.defaults.materialImage)]}}};d(sr,"createDefaultProps",()=>({...is.createDefaultProps(),radius:10,sides:10,materialMode:"singleArrow",materialImage:_t({url:"",uDis:50,vDis:10}),speed:1,filled:!0,stroked:!1,fillStyle:_t({color:[1,0,.73,1],material:"",materialParams:{},ground:!1})})),d(sr,"type",sr.register("ESPipeline",sr,{chsName:"管线",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESPipeline"})),d(sr,"materialModes",[["单箭头","singleArrow"],["多箭头","multipleArrows"]]);let Rf=sr;const Mi=class Mi extends Dt{constructor(t){super(t);d(this,"editingBindMode","visibility")}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new Ot([this,"visibleColor"],"可视区域颜色",Mi.defaults.visibleColor),new Ot([this,"invisibleColor"],"遮挡区域颜色",Mi.defaults.invisibleColor),new R([this,"heightOffset"],"视点高度偏移",Mi.defaults.heightOffset)]}}};d(Mi,"createDefaultProps",()=>({...Dt.createDefaultProps(),visibleColor:dt([0,1,0,1]),invisibleColor:dt([1,0,0,1]),heightOffset:0})),d(Mi,"type",Mi.register("ESVisibilityAnalysis",Mi,{chsName:"通视分析,视线分析",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"通视分析,视线分析"})),d(Mi,"supportEditingModes",[...Dt.supportEditingModes,nt.VisibilityAppend,nt.VisibilityModify]);let Lf=Mi;const iu=class iu extends qt{constructor(t){super(t);d(this,"_startEvent",this.dv(new N));d(this,"_clearEvent",this.dv(new N));d(this,"_volume",this.disposeVar(V(0)))}get startEvent(){return this._startEvent}start(){this._startEvent.emit()}get clearEvent(){return this._clearEvent}clear(){this._clearEvent.emit()}get volume(){return this._volume.value}set volume(t){this._volume.value=t}get volumeChanged(){return this._volume.changed}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"通用","通用"),new R([this,"planeHeight"],"基准面高程",void 0,!0),new R([this,"gridWidth"],"采样间距 m"),new R([this,"cutVolume"],"挖方",0,!1,!0),new R([this,"fillVolume"],"填方",0,!1,!0),new R([this,"cutAndFillVolume"],"挖填方",0,!1,!0),new R([this,"progress"],"计算进度",0,!1,!0),new lt([],()=>this.start(),[],"开始分析"),new lt([],()=>this.clear(),[],"清空分析结果"),new X([this,"depthTest"],"是否开启深度检测")]}}};d(iu,"createDefaultProps",()=>({...qt.createDefaultProps(),planeHeight:V(void 0),gridWidth:1,cutVolume:0,fillVolume:0,cutAndFillVolume:0,progress:0,depthTest:!1,filled:!1,stroked:!0,strokeStyle:_t({width:2,widthType:"screen",color:[1,1,1,1],material:"",materialParams:{},ground:!1})})),d(iu,"type",iu.register("ESVolumeMeasurement",iu,{chsName:"体积测量",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"体积测量"}));let Ff=iu;const su=class su extends So{constructor(t){super(t);d(this,"_human",this.dv(new So));d(this,"_poi",this.dv(new dl));this.d(this.components.disposableAdd(this._human,!0)),this.d(this.components.disposableAdd(this._poi));{const{_human:n,_poi:i}=this;this.d(z([n,"show"],[this,"show"])),this.d(z([i,"show"],[this,"show"])),this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([i,"allowPicking"],[this,"allowPicking"])),this.d(rt([n,"scale"],[this,"scale"])),this.d(rt([i,"scale"],[this,"scale"])),this.d(z([n,"collision"],[this,"collision"])),this.d(z([i,"collision"],[this,"collision"])),this.d(rt([n,"flyInParam"],[this,"flyInParam"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(z([n,"animation"],[this,"animation"])),this.d(z([n,"mode"],[this,"mode"])),this.d(z([n,"minVisibleDistance"],[this,"minVisibleDistance"])),this.d(z([n,"maxVisibleDistance"],[this,"maxVisibleDistance"])),this.d(z([i,"name"],[this,"name"])),this.d(z([i,"mode"],[this,"poiMode"])),this.d(z([i,"autoAnchor"],[this,"autoAnchor"])),this.d(z([i,"screenRender"],[this,"screenRender"])),this.d(z([i,"size"],[this,"size"])),this.d(z([i,"anchor"],[this,"anchor"])),this.d(z([i,"sizeByContent"],[this,"sizeByContent"])),this.d(z([i,"renderMode"],[this,"renderMode"])),this.d(z([i,"rotationType"],[this,"rotationType"])),this.d(z([i,"zOrder"],[this,"zOrder"])),this.d(z([i,"minVisibleDistance"],[this,"minVisibleDistance"])),this.d(z([i,"maxVisibleDistance"],[this,"maxVisibleDistance"])),this.d(rt([n,"position"],[this,"position"])),this.d(rt([n,"rotation"],[this,"rotation"])),this.d(this.flyInEvent.don(s=>{n.flyIn(s)})),this.d(this.flyToEvent.don(s=>{n.flyTo(s)})),this.d(this.calcFlyToParamEvent.don(()=>{n.calcFlyToParam()})),this.d(this.calcFlyInParamEvent.don(()=>{n.calcFlyInParam()})),this.d(this.smoothMoveEvent.don((s,o)=>{n.smoothMove(s,o)})),this.d(this.smoothMoveWithRotationEvent.don((s,o,a)=>{n.smoothMoveWithRotation(s,o,a)})),this.d(this.smoothMoveOnGroundEvent.don((s,o,a,u)=>{n.smoothMoveOnGround(s,o,a,u)})),this.d(this.smoothMoveWithRotationOnGroundEvent.don((s,o,a,u,l)=>{n.smoothMoveWithRotationOnGround(s,o,a,u,l)})),this.d(this.automaticLandingEvent.don(()=>{n.automaticLanding()})),this.d(this._human.readyEvent.don(s=>{this.readyEvent.emit(s)}))}}get human(){return this._human}get poi(){return this._poi}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new St([this,"poiMode"],dl.modes,"poi模式","SquareH01"),new R([this,"poiOffsetHeight"],"poi高度偏移",1.8)]}}};d(su,"createDefaultProps",()=>({poiOffsetHeight:1.8,poiMode:"SquareH01",style:_t({}),autoAnchor:!0,screenRender:!0,size:dt([100,100]),anchor:dt([.5,1]),sizeByContent:!0,renderMode:0,rotationType:1,zOrder:0,...So.createDefaultProps()})),d(su,"type",su.register("ESHumanPoi",su,{chsName:"人员poi",tags:["ESObjects"],description:"ESHuman + ESPoi2D组合对象"}));let Af=su;const ai=class ai extends qt{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"depth"],"深度",ai.defaults.depth),new R([this,"interpolation"],"插值",ai.defaults.interpolation),new R([this,"opacity"],"透明度",ai.defaults.opacity),new it([this,"sideImage"],"侧面图片",ai.defaults.sideImage),new it([this,"bottomImage"],"底面图片",ai.defaults.bottomImage)]}}};d(ai,"createDefaultProps",()=>({...qt.createDefaultProps(),depth:100,sideImage:_t({url:et.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/img/ESPit/side.jpg"),uDis:50,vDis:50}),bottomImage:_t({url:et.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/img/ESPit/bottom.jpg"),uDis:50,vDis:50}),opacity:1,interpolation:50,collision:!1,allowPicking:!1,filled:!0})),d(ai,"type",ai.register("ESPit",ai,{chsName:"坑",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"坑"}));let Aa=ai;const ou=class ou extends Aa{constructor(t){super(t);d(this,"_excavate",this.dv(new hl));d(this,"_pit",this.dv(new Aa));this.d(this.components.disposableAdd(this._excavate)),this.d(this.components.disposableAdd(this._pit,!0));{const{_excavate:n,_pit:i}=this;this.d(z([n,"show"],[this,"show"])),this.d(z([i,"show"],[this,"show"])),this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([i,"allowPicking"],[this,"allowPicking"])),this.d(z([n,"collision"],[this,"collision"])),this.d(z([i,"collision"],[this,"collision"])),this.d(rt([i,"points"],[this,"points"])),this.d(z([n,"points"],[this,"points"])),this.d(z([i,"pointed"],[this,"pointed"])),this.d(z([n,"pointed"],[this,"pointed"])),this.d(z([i,"pointStyle"],[this,"pointStyle"])),this.d(z([n,"pointStyle"],[this,"pointStyle"])),this.d(z([i,"stroked"],[this,"stroked"])),this.d(z([n,"stroked"],[this,"stroked"])),this.d(z([i,"strokeStyle"],[this,"strokeStyle"])),this.d(z([n,"strokeStyle"],[this,"strokeStyle"])),this.d(z([i,"filled"],[this,"filled"])),this.d(z([i,"fillStyle"],[this,"fillStyle"])),this.d(z([n,"fillStyle"],[this,"fillStyle"])),this.d(z([n,"mode"],[this,"mode"])),this.d(z([n,"targetID"],[this,"targetID"])),this.d(z([i,"depth"],[this,"depth"])),this.d(z([i,"sideImage"],[this,"sideImage"])),this.d(z([i,"bottomImage"],[this,"bottomImage"])),this.d(z([i,"opacity"],[this,"opacity"])),this.d(z([i,"interpolation"],[this,"interpolation"])),this.d(rt([i,"flyInParam"],[this,"flyInParam"])),this.d(rt([i,"flyToParam"],[this,"flyToParam"])),this.d(this.flyInEvent.don(s=>{i.flyIn(s)})),this.d(this.flyToEvent.don(s=>{i.flyTo(s)})),this.d(this.calcFlyToParamEvent.don(()=>{i.calcFlyToParam()})),this.d(this.calcFlyInParamEvent.don(()=>{i.calcFlyInParam()}))}}get excavate(){return this._excavate}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new St([this,"mode"],hl.modes,"模式","in"),new pt([this,"targetID"],"瓦片图层","")]}}};d(ou,"createDefaultProps",()=>({...Aa.createDefaultProps(),mode:"in",targetID:""})),d(ou,"type",ou.register("ESHole",ou,{chsName:"挖坑(带材质+深度)",tags:["ESObjects"],description:"挖坑"}));let kf=ou;const Vf={layerconfigfind:"/ts/layer/config/get",layerconfigsave:"/ts/layer/config/put",featureproperty:"/ts/editor/property",featureeditormuti:"/ts/editor/update",getts:"/ts/info"},ES=async(r,e,t,n)=>{try{const i=globalThis.localStorage.getItem("Authorization");let s=r+`${Vf.layerconfigfind}?tileServiceName=${e}`;t&&(s+=`&earthdstoken=${encodeURIComponent(n)}`);const o={headers:{...!t&&i?{Authorization:i}:{}},mode:"cors"},u=await(await fetch(s,o)).text();return JSON.parse(u)}catch(i){console.error(i)}},CS=async(r,e,t,n,i)=>{try{const s=globalThis.localStorage.getItem("Authorization");let o=r+Vf.layerconfigsave;const a=i??{};t&&(o+=`?earthdstoken=${encodeURIComponent(n)}`);const u={method:"POST",headers:{"Content-Type":"application/json",...!t&&s?{Authorization:s}:{}},mode:"cors",body:JSON.stringify({tileServiceName:e,layerConfig:JSON.stringify(a)})},c=await(await fetch(o,u)).text();return JSON.parse(c)}catch(s){console.error(s)}},SS=async(r,e,t)=>{try{const n=globalThis.localStorage.getItem("Authorization");let i=r;e&&(i+=`?earthdstoken=${encodeURIComponent(t)}`);const s={headers:{...!e&&n?{Authorization:n}:{}},mode:"cors"},a=await(await fetch(i,s)).text(),u=JSON.parse(a);if(u.status=="ok")return u.data.port;console.error(u.status);return}catch(n){console.error(n)}},bS=async(r,e,t,n,i)=>{try{const s={tileServiceName:e,featureId:t},o=globalThis.localStorage.getItem("Authorization");let a=r+Vf.featureproperty;n&&(a+=`?earthdstoken=${encodeURIComponent(i)}`);const l=await(await fetch(a,{method:"post",headers:{"Content-Type":"application/json",...!n&&o?{Authorization:o}:{}},body:JSON.stringify(s),mode:"cors"})).text(),c=JSON.parse(l);if(c.status=="ok")return c.data;console.error(c.data.status);return}catch(s){console.error(s)}},au=class au extends Pr{constructor(t){super(t);d(this,"_es3DTileset",this.dv(new Pr));d(this,"_ids",this.dv(_t([])));d(this,"_useEarthDSToken",this.dv(V(!1)));d(this,"_earthdstoken",this.dv(V("")));d(this,"_visJson",this.disposeVar(V({})));d(this,"_highlightInner3DtilesetEvent",this.dv(new N));d(this,"_removeHighlightInner3DtilesetEvent",this.dv(new N));d(this,"_tilesetServePort",this.dv(V("")));{const n=async()=>{if(typeof this.url!="string"){console.error("服务地址不合法, Init Error! 示例: http://localhost:9009/ts/info/ts01");return}this.url?this.refresh():this._es3DTileset.url=""};this.d(this.urlChanged.don(()=>{n()}))}{this.d(this.components.disposableAdd(this._es3DTileset,!0));const n=this._es3DTileset;this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([n,"collision"],[this,"collision"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(z([n,"actorTag"],[this,"actorTag"])),this.d(z([n,"materialMode"],[this,"materialMode"])),this.d(z([n,"highlight"],[this,"highlight"])),this.d(z([n,"maximumScreenSpaceError"],[this,"maximumScreenSpaceError"])),this.d(z([n,"highlightID"],[this,"highlightID"])),this.d(z([n,"highlightColor"],[this,"highlightColor"])),this.d(rt([n,"offset"],[this,"offset"])),this.d(rt([n,"rotation"],[this,"rotation"])),this.d(z([n,"czmImageBasedLightingFactor"],[this,"czmImageBasedLightingFactor"])),this.d(z([n,"czmLuminanceAtZenith"],[this,"czmLuminanceAtZenith"])),this.d(z([n,"czmMaximumMemoryUsage"],[this,"czmMaximumMemoryUsage"])),this.d(z([n,"czmClassificationType"],[this,"czmClassificationType"])),this.d(z([n,"czmStyleJson"],[this,"czmStyleJson"])),this.d(z([n,"czmBackFaceCulling"],[this,"czmBackFaceCulling"])),this.d(z([n,"czmDebugShowBoundingVolume"],[this,"czmDebugShowBoundingVolume"])),this.d(z([n,"czmDebugShowContentBoundingVolume"],[this,"czmDebugShowContentBoundingVolume"])),this.d(z([n,"czmSkipLevelOfDetail"],[this,"czmSkipLevelOfDetail"])),this.d(z([n,"colorBlendMode"],[this,"colorBlendMode"])),this.d(z([n,"cacheBytes"],[this,"cacheBytes"])),this.d(z([n,"clippingPlaneEnabled"],[this,"clippingPlaneEnabled"])),this.d(z([n,"unionClippingRegions"],[this,"unionClippingRegions"])),this.d(z([n,"clippingPlaneEdgeColor"],[this,"clippingPlaneEdgeColor"])),this.d(z([n,"clippingPlaneEdgeWidth"],[this,"clippingPlaneEdgeWidth"])),this.d(z([n,"materialParams"],[this,"materialParams"])),this.d(rt([n,"supportEdit"],[this,"supportEdit"])),this.d(rt([n,"clippingPlanesId"],[this,"clippingPlanesId"])),this.d(rt([n,"clippingPlaneIds"],[this,"clippingPlaneIds"])),this.d(rt([n,"flattenedPlaneId"],[this,"flattenedPlaneId"])),this.d(rt([n,"flattenedPlaneEnabled"],[this,"flattenedPlaneEnabled"])),this.d(rt([n,"clippingPlaneId"],[this,"clippingPlaneId"])),this.d(rt([n,"excavateId"],[this,"excavateId"]))}{const n=this._es3DTileset;this.d(this.refreshTilesetEvent.don(()=>{n.refreshTileset()})),this.d(this.highlightFeatureEvent.don((...i)=>{n.highlightFeature(...i)})),this.d(this.highlightFeatureAndFlyToEvent.don((...i)=>{n.highlightFeatureAndFlyTo(...i)})),this.d(this.setFeatureColorEvent.don((...i)=>{n.setFeatureColor(...i)})),this.d(this.setFeatureVisableEvent.don((...i)=>{n.setFeatureVisable(...i)})),this.d(this.resetFeatureStyleEvent.don((...i)=>{n.resetFeatureStyle(...i)})),this.d(this.setFeatureStyleEvent.don((...i)=>{n.setFeatureStyle(...i)})),this.d(this.flyInEvent.don((...i)=>{n.flyIn(i[0])})),this.d(this.flyToEvent.don((...i)=>{n.flyTo(i[0])})),this.d(this.calcFlyToParamEvent.don((...i)=>{n.calcFlyToParam(...i)})),this.d(this.calcFlyInParamEvent.don((...i)=>{n.calcFlyInParam(...i)}))}{const n=this._es3DTileset;this.d(n.tilesetReady.don(i=>{this.tilesetReady.emit(i)})),this.d(n.pickedEvent.don(i=>{i.assign({sceneObject:this}),this.pickedEvent.emit(i)}))}{const n=()=>{this.es3DTileset.show=this.show};n(),this.d(this.showChanged.don(()=>{n()}))}}get es3DTileset(){return this._es3DTileset}get ids(){return this._ids.value}get idsChanged(){return this._ids.changed}set ids(t){this._ids.value=t}get useEarthDSToken(){return this._useEarthDSToken.value}get useEarthDSTokenChanged(){return this._useEarthDSToken.changed}set useEarthDSToken(t){this._useEarthDSToken.value=t}get earthdstoken(){return this._earthdstoken.value}get earthdstokenChanged(){return this._earthdstoken.changed}set earthdstoken(t){this._earthdstoken.value=t}get visJson(){return this._visJson.value}set visJson(t){this._visJson.value=t}get visJsonChanged(){return this._visJson.changed}setFeatureVisable(t,n){var i;if((i=this.layerConfig)!=null&&i.length){const s={};s[n[0].value]=n[0].visable,this.visJson={...this.visJson,...s}}else this.setFeatureVisableEvent.emit(t,typeof n=="string"?JSON.parse(n):n)}async getFeatureProperty(t){return await bS(this.baseUrl,this.tileServiceName,t,this.useEarthDSToken,this.earthdstoken)}async getLayerConfig(){const t=await ES(this.baseUrl,this.tileServiceName,this.useEarthDSToken,this.earthdstoken);return!t||!Array.isArray(t)?this.layerConfig=[]:this.layerConfig=t,this.layerConfig}async saveLayerConfig(){const t=this.layerConfig;return await CS(this.baseUrl,this.tileServiceName,this.useEarthDSToken,this.earthdstoken,t)}get highlightInner3DtilesetEvent(){return this._highlightInner3DtilesetEvent}_highlightInner3Dtileset(t){this._highlightInner3DtilesetEvent.emit(t)}async highlightDSFeature(t){this._highlightInner3Dtileset(t)}get removeHighlightInner3DtilesetEvent(){return this._removeHighlightInner3DtilesetEvent}_removeHighlightInner3Dtileset(t){this._removeHighlightInner3DtilesetEvent.emit(t)}async removeHighlightDSFeature(t){this._removeHighlightInner3Dtileset(t)}async pickFeature(t,n){var a,u,l;const i=await t.pick(n),s=i.sceneObject;return!s||s.id!==this.id&&s.typeName!="ESRtsFeatureEditing"?void 0:s.typeName!="ESRtsFeatureEditing"?(this.ids=[...this.ids,(a=i==null?void 0:i.tilesetPickInfo)==null?void 0:a.id],{featureId:(u=i==null?void 0:i.tilesetPickInfo)==null?void 0:u.id,pickInnerFields:i==null?void 0:i.tilesetPickInfo}):{featureId:(l=i==null?void 0:i.sceneObject)==null?void 0:l.id,pickInnerFields:i==null?void 0:i.tilesetPickInfo}}get tilesetServePort(){return this._tilesetServePort.value}get tilesetServePortChanged(){return this._tilesetServePort.changed}set tilesetServePort(t){this._tilesetServePort.value=t}async getport(){const t=await SS(this.url,this.useEarthDSToken,this.earthdstoken);if(t)return this.tilesetServePort=t,t;throw new Error("服务地址port获取失败!")}async refresh(){var i;if(!this.url||typeof this.url!="string")return;const t=(i=this.url.match(/\/ts\/info\/(.*)/))==null?void 0:i[1],n=+new Date;if(t){const s=this.tileServiceIp,o=await this.getport();await this.getLayerConfig(),this._es3DTileset.url=`${s}:${o}/tiles/tileset.json?t=${n}`}console.log("3dtileset url:",this._es3DTileset.url)}get baseUrl(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^\/]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ts01");return n}else throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ts01")}get tileServiceName(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/\/ts\/info\/(.*)/))==null?void 0:t[1];if(!n)throw console.log(this.url),new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01,");return n}else throw new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01")}get tileServiceIp(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^:]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ts01");return n}else throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ts01")}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new it([this,"layerConfig"],"图层配置",[],void 0,!0)]}}};d(au,"createDefaultProps",()=>({...Pr.createDefaultProps(),layerConfig:Zt([])})),d(au,"type",au.register("ESRtsTileset",au,{chsName:"CIMRTS实时3DTileset图层",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"实时3DTileset图层"}));let Bf=au;function PS(r){return typeof r=="number"&&!isNaN(r)}const uu=class uu extends Pr{get json(){return{...this._innerGetJson(),show:this.show,materials:this.materials,changeMaterial:this.changeMaterial,props:this.props,rotation:this.rotation,offset:this.offset}}set json(e){this._innerSetJson(e)}async init(e,t){this.featureId=t;const n=await e.getFeatureProperty(t);this.uiShowprops=n.allFields.map(o=>({featureClassName:o.featureClassName,fields:o.fields.map(a=>({key:a.name,type:a.type,value:a.type!="Double"?a.value:PS(a.value)?Number(a.value.toFixed(3)):""}))})),this.datasetName=n.datasetName,e.setFeatureVisable("id",[{value:this.featureId,visable:!1}]),this.d(()=>{e.setFeatureVisable("id",[{value:this.featureId,visable:!0}])});const i=e.tileServiceIp,s=e.tilesetServePort;if(!s)throw new Error("ESRtsFeatureEditing: port is not defined");this.url=`${i}:${s}/featuretiles/${this.featureId}/tileset.json`,this.allowPicking=!0,this.d(this.pickedEvent.don(o=>{o.assign({sceneObject:e}),e.pickedEvent.emit(o)})),this.d(()=>{this.editing=!1,e.removeHighlightDSFeature(this)})}constructor(e){super(e)}};d(uu,"createDefaultProps",()=>({...Pr.createDefaultProps(),datasetName:void 0,featureId:void 0,materials:_t({}),changeMaterial:Zt(void 0),uiShowprops:_t({}),props:_t({})})),d(uu,"type",uu.register("ESRtsFeatureEditing",uu,{chsName:"ESRtsFeatureEditing",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"实时3DTileset图层"}));let jf=uu;const IS=async(r,e,t)=>{try{const n=globalThis.localStorage.getItem("Authorization");let i=r;e&&(i+=`?earthdstoken=${encodeURIComponent(t)}`);const s={headers:{...!e&&n?{Authorization:n}:{}},mode:"cors"},a=await(await fetch(i,s)).text(),u=JSON.parse(a);if(u.status=="ok")return u.data.port;console.error(u.status);return}catch(n){console.error(n)}},Cl=class Cl extends Pr{constructor(t){super(t);d(this,"_es3DTileset",this.dv(new Pr));d(this,"_tilesetServePort",this.dv(V("")));d(this,"_useEarthDSToken",this.dv(V(!1)));d(this,"_earthdstoken",this.dv(V("")));{const n=async()=>{if(typeof this.url!="string"){console.error("服务地址不合法, Init Error! 示例: http://localhost:9009/ts/info/ms01");return}this.url?this.refresh():this._es3DTileset.url=""};this.d(this.urlChanged.don(()=>{n()}))}{this.d(this.components.disposableAdd(this._es3DTileset,!0));const n=this._es3DTileset;this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([n,"collision"],[this,"collision"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(z([n,"actorTag"],[this,"actorTag"])),this.d(z([n,"materialMode"],[this,"materialMode"])),this.d(z([n,"highlight"],[this,"highlight"])),this.d(z([n,"maximumScreenSpaceError"],[this,"maximumScreenSpaceError"])),this.d(z([n,"highlightID"],[this,"highlightID"])),this.d(z([n,"highlightColor"],[this,"highlightColor"])),this.d(rt([n,"offset"],[this,"offset"])),this.d(rt([n,"rotation"],[this,"rotation"])),this.d(z([n,"czmImageBasedLightingFactor"],[this,"czmImageBasedLightingFactor"])),this.d(z([n,"czmLuminanceAtZenith"],[this,"czmLuminanceAtZenith"])),this.d(z([n,"czmMaximumMemoryUsage"],[this,"czmMaximumMemoryUsage"])),this.d(z([n,"czmClassificationType"],[this,"czmClassificationType"])),this.d(z([n,"czmStyleJson"],[this,"czmStyleJson"])),this.d(z([n,"czmBackFaceCulling"],[this,"czmBackFaceCulling"])),this.d(z([n,"czmDebugShowBoundingVolume"],[this,"czmDebugShowBoundingVolume"])),this.d(z([n,"czmDebugShowContentBoundingVolume"],[this,"czmDebugShowContentBoundingVolume"])),this.d(z([n,"czmSkipLevelOfDetail"],[this,"czmSkipLevelOfDetail"])),this.d(z([n,"colorBlendMode"],[this,"colorBlendMode"])),this.d(z([n,"cacheBytes"],[this,"cacheBytes"])),this.d(z([n,"clippingPlaneEnabled"],[this,"clippingPlaneEnabled"])),this.d(z([n,"unionClippingRegions"],[this,"unionClippingRegions"])),this.d(z([n,"clippingPlaneEdgeColor"],[this,"clippingPlaneEdgeColor"])),this.d(z([n,"clippingPlaneEdgeWidth"],[this,"clippingPlaneEdgeWidth"])),this.d(z([n,"materialParams"],[this,"materialParams"])),this.d(rt([n,"supportEdit"],[this,"supportEdit"])),this.d(rt([n,"clippingPlanesId"],[this,"clippingPlanesId"])),this.d(rt([n,"clippingPlaneIds"],[this,"clippingPlaneIds"])),this.d(rt([n,"flattenedPlaneId"],[this,"flattenedPlaneId"])),this.d(rt([n,"flattenedPlaneEnabled"],[this,"flattenedPlaneEnabled"])),this.d(rt([n,"clippingPlaneId"],[this,"clippingPlaneId"])),this.d(rt([n,"excavateId"],[this,"excavateId"]))}{const n=this._es3DTileset;this.d(this.refreshTilesetEvent.don(()=>{n.refreshTileset()})),this.d(this.highlightFeatureEvent.don((...i)=>{n.highlightFeature(...i)})),this.d(this.highlightFeatureAndFlyToEvent.don((...i)=>{n.highlightFeatureAndFlyTo(...i)})),this.d(this.setFeatureColorEvent.don((...i)=>{n.setFeatureColor(...i)})),this.d(this.setFeatureVisableEvent.don((...i)=>{n.setFeatureVisable(...i)})),this.d(this.resetFeatureStyleEvent.don((...i)=>{n.resetFeatureStyle(...i)})),this.d(this.flyInEvent.don((...i)=>{n.flyIn(i[0])})),this.d(this.flyToEvent.don((...i)=>{n.flyTo(i[0])})),this.d(this.calcFlyToParamEvent.don((...i)=>{n.calcFlyToParam(...i)})),this.d(this.calcFlyInParamEvent.don((...i)=>{n.calcFlyInParam(...i)}))}{const n=this._es3DTileset;this.d(n.tilesetReady.don(i=>{this.tilesetReady.emit(i)})),this.d(n.pickedEvent.don(i=>{i.assign({sceneObject:this}),this.pickedEvent.emit(i)}))}{const n=()=>{this.es3DTileset.show=this.show};n(),this.d(this.showChanged.don(()=>{n()}))}}get es3DTileset(){return this._es3DTileset}get tilesetServePort(){return this._tilesetServePort.value}get tilesetServePortChanged(){return this._tilesetServePort.changed}set tilesetServePort(t){this._tilesetServePort.value=t}get useEarthDSToken(){return this._useEarthDSToken.value}get useEarthDSTokenChanged(){return this._useEarthDSToken.changed}set useEarthDSToken(t){this._useEarthDSToken.value=t}get earthdstoken(){return this._earthdstoken.value}get earthdstokenChanged(){return this._earthdstoken.changed}set earthdstoken(t){this._earthdstoken.value=t}async getport(){const t=await IS(this.url,this.useEarthDSToken,this.earthdstoken);if(t)return this.tilesetServePort=t,t;throw new Error("服务地址port获取失败!")}async refresh(){var i;if(!this.url||typeof this.url!="string")return;const t=(i=this.url.match(/\/ts\/info\/(.*)/))==null?void 0:i[1],n=+new Date;if(t){const s=this.tileServiceIp,o=await this.getport();this._es3DTileset.url=`${s}:${o}/tiles/tileset.json?t=${n}`}console.log("3dtileset url:",this._es3DTileset.url)}get baseUrl(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^\/]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ms01");return n}else throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ms01")}get tileServiceIp(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^:]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ms01");return n}else throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ms01")}get tileServiceName(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/\/ts\/info\/(.*)/))==null?void 0:t[1];if(!n)throw console.log(this.url),new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01,");return n}else throw new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01")}};d(Cl,"type",Cl.register("ESMsTileset",Cl,{chsName:"Modelser实时3DTileset图层",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"实时3DTileset图层"}));let zf=Cl;const fy={defaultValue:[{type:"2",widget:"WidgetBlueprint'/ESFoliage/PoiSheng.PoiSheng'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"3",widget:"WidgetBlueprint'/ESFoliage/PoiShi.PoiShi'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"4",widget:"WidgetBlueprint'/ESFoliage/PoiShi.PoiShi'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"5",widget:"WidgetBlueprint'/ESFoliage/PoiXiang.PoiXiang'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"6",widget:"WidgetBlueprint'/ESFoliage/PoiCun.PoiCun'",povit:[.5,1],worldScale:.1,hiddenDistance:40}],sampleValue:`
|
|
354
|
+
`,wS="${earthsdk3-assets-script-dir}/assets/misc/2.geojson",bt=class bt extends Wt{constructor(t){super(t);d(this,"_flyToFeatureEvent",this.dv(new N));d(this,"_flyToFeatureIndexEvent",this.dv(new N));d(this,"_features",this.disposeVar(Zt(void 0)));d(this,"pickedInfoType","FeatureCollection");d(this,"abortController");this._updateUrl(),this.ad(this.urlChanged.don(()=>{this._updateUrl()})),this.ad(this.editingChanged.don(()=>{console.warn("ESGeoJson暂不支持编辑!")}))}get flyToFeatureEvent(){return this._flyToFeatureEvent}flyToFeature(t,n,i){this._flyToFeatureEvent.emit(t,n,i)}get flyToFeatureIndexEvent(){return this._flyToFeatureIndexEvent}flyToFeatureIndex(t,n){this._flyToFeatureIndexEvent.emit(t,n)}get features(){return this._features.value}set features(t){this._features.value=t}get featuresChanged(){return this._features.changed}getFeatures(){if(this.features)return this.features;console.log("数据未加载完成,请稍后调用此方法getFeatures()")}async _updateUrl(){var n;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const t=this.abortController.signal;if(!this.url){this.features=void 0;return}typeof this.url=="object"?this.features=this.url:jh(this.url)?this.features=JSON.parse(this.url):await fetch(et.context.getStrFromEnv(this.url),{signal:t}).then(i=>i.json()).then(i=>{this.features=i}).catch(i=>{i.name!="AbortError"&&console.warn("ESGeoJson数据加载失败",i)}),this.pickedInfoType=((n=this.features)==null?void 0:n.type)??"FeatureCollection"}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"style",dataSource:[...t.dataSource,new it([this,"url"],"服务地址",bt.defaults.url),new R([this,"minFeatureVisibleDistance"],"要素最小可视距离",bt.defaults.minFeatureVisibleDistance),new R([this,"maxFeatureVisibleDistance"],"要素最大可视距离",bt.defaults.maxFeatureVisibleDistance),new St([this,"heightReference"],[["NONE","NONE"],["CLAMP_TO_GROUND","CLAMP_TO_GROUND"],["RELATIVE_TO_GROUND","RELATIVE_TO_GROUND"]],"高度参考"),new St([this,"classificationType"],bt.classificationTypes,"贴地附着目标",bt.defaults.classificationType),new R([this,"zIndex"],"层级排序",bt.defaults.zIndex)],style:[...t.style,new ut([],"点样式集合"),new X([this,"textShow"],"是否显示",bt.defaults.textShow),new Fe([this,"textAnchor"],"锚点",bt.defaults.anchor),new pt([this,"textProperty"],"标注显示属性",bt.defaults.textStyle.textProperty),new pt([this,"textDefaultText"],"默认文本",bt.defaults.textStyle.defaultText),new Ot([this,"textColor"],"文本颜色",bt.defaults.textStyle.color),new Ot([this,"textBackgroundColor"],"文本背景颜色",bt.defaults.textStyle.backgroundColor),new pt([this,"textFontStyle"],"字体样式",bt.defaults.textStyle.fontStyle),new pt([this,"textFontWeight"],"字体粗细",bt.defaults.textStyle.fontWeight),new R([this,"textFontSize"],"字体大小",bt.defaults.textStyle.fontSize),new Fe([this,"textOffset"],"像素偏移",bt.defaults.textStyle.offset),new ut([],"点图片样式集合"),new X([this,"imageShow"],"是否显示",bt.defaults.imageShow),new Fe([this,"imageAnchor"],"锚点",bt.defaults.imageStyle.anchor),new it([this,"imageUrl"],"图片地址",bt.defaults.imageStyle.url),new Fe([this,"imageSize"],"图片大小",bt.defaults.imageStyle.size),new Fe([this,"imageOffset"],"像素偏移",bt.defaults.imageStyle.offset),new ut([],"线样式集合"),new X([this,"stroked"],"是否显示",bt.defaults.stroked),new X([this,"strokeGround"],"贴地",bt.defaults.strokeStyle.ground),new R([this,"strokeWidth"],"线宽",bt.defaults.strokeStyle.width),new St([this,"strokeWidthType"],bt.strokeStyleWidthTypes,"线宽类型"),new Ot([this,"strokeColor"],"线颜色",bt.defaults.strokeStyle.color),new pt([this,"strokeMaterial"],"线材质",bt.defaults.strokeStyle.material),new it([this,"strokeMaterialParams"],"线材质参数",bt.defaults.strokeStyle.materialParams),new ut([],"面样式集合"),new X([this,"filled"],"是否显示",bt.defaults.filled),new X([this,"fillGround"],"贴地",bt.defaults.fillStyle.ground),new Ot([this,"fillColor"],"填充颜色",bt.defaults.fillStyle.color),new pt([this,"fillMaterial"],"填充材质",bt.defaults.fillStyle.material),new it([this,"fillMaterialParams"],"填充材质参数",bt.defaults.fillStyle.materialParams)],more:[...t.more,new ut([],"标注文本样式"),new pt([this,"textFontFamily"],"字体",bt.defaults.textStyle.fontFamily),new ut([],"通用"),new ys([this,"loadFuncStr"],"loadFnStr",dy,_S,!0)]}}get strokeWidth(){return this.strokeStyle.width}set strokeWidth(t){this.strokeStyle={...this.strokeStyle,width:t}}get strokeWidthChanged(){return this.strokeStyleChanged}get strokeWidthType(){return this.strokeStyle.widthType}set strokeWidthType(t){this.strokeStyle={...this.strokeStyle,widthType:t}}get strokeWidthTypeChanged(){return this.strokeStyleChanged}get strokeColor(){return this.strokeStyle.color}set strokeColor(t){this.strokeStyle={...this.strokeStyle,color:[...t]}}get strokeColorChanged(){return this.strokeStyleChanged}get strokeMaterial(){return this.strokeStyle.material}set strokeMaterial(t){this.strokeStyle={...this.strokeStyle,material:t}}get strokeMaterialChanged(){return this.strokeStyleChanged}get strokeMaterialParams(){return this.strokeStyle.materialParams}set strokeMaterialParams(t){this.strokeStyle={...this.strokeStyle,materialParams:t}}get strokeMaterialParamsChanged(){return this.strokeStyleChanged}get strokeGround(){return this.strokeStyle.ground}set strokeGround(t){this.strokeStyle={...this.strokeStyle,ground:t}}get strokeGroundChanged(){return this.strokeStyleChanged}get fillColor(){return this.fillStyle.color}set fillColor(t){this.fillStyle={...this.fillStyle,color:[...t]}}get fillColorChanged(){return this.fillStyleChanged}get fillMaterial(){return this.fillStyle.material}set fillMaterial(t){this.fillStyle={...this.fillStyle,material:t}}get fillMaterialChanged(){return this.fillStyleChanged}get fillMaterialParams(){return this.fillStyle.materialParams}set fillMaterialParams(t){this.fillStyle={...this.fillStyle,materialParams:t}}get fillMaterialParamsChanged(){return this.fillStyleChanged}get fillGround(){return this.fillStyle.ground}set fillGround(t){this.fillStyle={...this.fillStyle,ground:t}}get fillGroundChanged(){return this.fillStyleChanged}get textProperty(){return this.textStyle.textProperty}set textProperty(t){this.textStyle={...this.textStyle,textProperty:t}}get textPropertyChanged(){return this.textStyleChanged}get textDefaultText(){return this.textStyle.defaultText}set textDefaultText(t){this.textStyle={...this.textStyle,defaultText:t}}get textDefaultTextChanged(){return this.textStyleChanged}get textColor(){return this.textStyle.color}set textColor(t){this.textStyle={...this.textStyle,color:t}}get textColorChanged(){return this.textStyleChanged}get textBackgroundColor(){return this.textStyle.backgroundColor}set textBackgroundColor(t){this.textStyle={...this.textStyle,backgroundColor:t}}get textBackgroundColorChanged(){return this.textStyleChanged}get textFontFamily(){return this.textStyle.fontFamily}set textFontFamily(t){this.textStyle={...this.textStyle,fontFamily:t}}get textFontFamilyChanged(){return this.textStyleChanged}get textFontStyle(){return this.textStyle.fontStyle}set textFontStyle(t){this.textStyle={...this.textStyle,fontStyle:t}}get textFontStyleChanged(){return this.textStyleChanged}get textFontWeight(){return this.textStyle.fontWeight}set textFontWeight(t){this.textStyle={...this.textStyle,fontWeight:t}}get textFontWeightChanged(){return this.textStyleChanged}get textFontSize(){return this.textStyle.fontSize}set textFontSize(t){this.textStyle={...this.textStyle,fontSize:t}}get textFontSizeChanged(){return this.textStyleChanged}get textAnchor(){return this.textStyle.anchor}set textAnchor(t){this.textStyle={...this.textStyle,anchor:t}}get textAnchorChanged(){return this.textStyleChanged}get textOffset(){return this.textStyle.offset}set textOffset(t){this.textStyle={...this.textStyle,offset:t}}get textOffsetChanged(){return this.textStyleChanged}get imageUrl(){return this.imageStyle.url}set imageUrl(t){this.imageStyle={...this.imageStyle,url:t}}get imageUrlChanged(){return this.imageStyleChanged}get imageSize(){return this.imageStyle.size}set imageSize(t){this.imageStyle={...this.imageStyle,size:t}}get imageSizeChanged(){return this.imageStyleChanged}get imageAnchor(){return this.imageStyle.anchor}set imageAnchor(t){this.imageStyle={...this.imageStyle,anchor:t}}get imageAnchorChanged(){return this.imageStyleChanged}get imageOffset(){return this.imageStyle.offset}set imageOffset(t){this.imageStyle={...this.imageStyle,offset:t}}get imageOffsetChanged(){return this.imageStyleChanged}};d(bt,"createDefaultProps",()=>({...Wt.createDefaultProps(),show:!0,allowPicking:!0,loadFuncStr:void 0,url:wS,stroked:!0,strokeStyle:_t({width:1,widthType:"world",color:[.79,.91,.06,1],material:"",materialParams:{},ground:!1}),filled:!0,fillStyle:_t({color:[.79,.91,.06,.2],material:"",materialParams:{},ground:!1}),imageShow:!0,imageStyle:_t({url:"${earthsdk3-assets-script-dir}/assets/img/location.png",size:[32,32],anchor:[.5,1],offset:[0,0]}),textShow:!0,textStyle:_t({textProperty:"",defaultText:"默认标注",color:[1,1,1,1],backgroundColor:void 0,fontFamily:"Arial",fontSize:16,fontStyle:"normal",fontWeight:"normal",anchor:[0,1],offset:[16,-8]}),minFeatureVisibleDistance:0,maxFeatureVisibleDistance:0,heightReference:"NONE",classificationType:"TERRAIN",zIndex:0})),d(bt,"type",bt.register("ESGeoJson",bt,{chsName:"ESGeoJson",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"GeoJson数据加载"})),d(bt,"strokeStyleWidthTypes",[["screen","screen"],["world","world"]]),d(bt,"classificationTypes",[["TERRAIN","TERRAIN"],["CESIUM_3D_TILE","CESIUM_3D_TILE"],["BOTH","BOTH"]]);let fl=bt;const Ao=class Ao extends Dt{constructor(t){super(t);d(this,"editingBindMode","doublePoints");d(this,"_height",this.disposeVar(V(0)));{const n=()=>{this.height=this.points&&this.points.length>=2?this.points[1][2]-this.points[0][2]:0};n(),this.ad(this.pointsChanged.don(n))}}get height(){return this._height.value}set height(t){this._height.value=t}get heightChanged(){return this._height.changed}};d(Ao,"createDefaultProps",()=>({...Dt.createDefaultProps(),stroked:!0,strokeStyle:_t({width:2,widthType:"screen",color:[1,1,1,1],material:"",materialParams:{},ground:!1})})),d(Ao,"type",Ao.register("ESHeightMeasurement",Ao,{chsName:"高度测量",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"高度测量"})),d(Ao,"supportEditingModes",[...Dt.supportEditingModes,nt.DoublePointsAppend,nt.DoublePointsModify]);let Ef=Ao;const Qa=class Qa extends rs{constructor(t){super(t);d(this,"_area",this.dv(V(0)));d(this,"_perimeter",this.dv(V(0)));d(this,"editingBindMode","doublePoints");const n=()=>{this._area.value=Math.PI*this.radius*this.radius,this._perimeter.value=2*Math.PI*this.radius};n(),this.d(this.radiusChanged.don(n))}get area(){return this._area.value}get areaChanged(){return this._area.changed}get perimeter(){return this._perimeter.value}get perimeterChanged(){return this._perimeter.changed}toPolygon(t=10,n){return Gv([...this.position],this.radius,t,n)[0].map(s=>[...s,this.position?this.position[2]:0])}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"style",basic:[...t.basic,new R([this,"radius"],"圆半径",1,!0)],coordinate:[...t.coordinate,new X([this,"editing"],"是否编辑"),new ta([this,"position"],"三维坐标",[0,0,0],!0),new R([this,"area"],"面积",0,!1,!0),new R([this,"perimeter"],"周长",0,!1,!0)]}}};d(Qa,"createDefaultProps",()=>({...rs.createDefaultProps(),radius:1,filled:!0,collision:!1,fillStyle:_t({color:[1,1,1,.5],material:"",materialParams:{},ground:!1})})),d(Qa,"type",Qa.register("ESLocalCircle",Qa,{chsName:"局部坐标圆形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalCircle"}));let Cf=Qa;const tu=class tu extends rs{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,coordinate:[...e.coordinate,new Eg([this,"points"],"坐标",[])]}}};d(tu,"createDefaultProps",()=>({...rs.createDefaultProps(),points:jd([]),filled:!0})),d(tu,"type",tu.register("ESLocalPolygon",tu,{chsName:"局部2D坐标多边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalPolygon"}));let pl=tu;const eu=class eu extends La{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,coordinate:[...e.coordinate,new kh([this,"points"],"本地位置数组")]}}};d(eu,"createDefaultProps",()=>({...La.createDefaultProps(),points:Il(void 0),filled:!0})),d(eu,"type",eu.register("ESLocalPolygonZ",eu,{chsName:"局部坐标多边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalPolygonZ"}));let Sf=eu;const nu=class nu extends rs{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"width"],"宽度"),new R([this,"height"],"高度")]}}};d(nu,"createDefaultProps",()=>({...rs.createDefaultProps(),width:5e5,height:3e5,filled:!0})),d(nu,"type",nu.register("ESLocalRectangle",nu,{chsName:"局部坐标四边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESLocalRectangle"}));let bf=nu;const Di=class Di extends Dt{constructor(t){super(t);d(this,"editingBindMode","lineString");d(this,"_distance",this.dv(V(0)));d(this,"_deprecated",[{materialMode:{blue:"multipleArrows",purple:"singleArrow"}},"show"]);d(this,"_deprecatedWarningFunc",(()=>{this._deprecatedWarning()})());const n=()=>{if(this.points&&this.points.length>=2){const i=ll(this.points,"GEODESIC"),s=i[i.length-1];this._distance.value=s}else this._distance.value=0};n(),this.d(this.pointsChanged.don(n))}get distance(){return this._distance.value}get distanceChanged(){return this._distance.changed}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"basic",basic:[...t.basic,new R([this,"height"],"高度",10),new R([this,"width"],"宽度",10),new St([this,"materialMode"],Di.materialModes,"模式",Di.defaults.materialMode)],coordinate:[...t.coordinate,new R([this,"distance"],"距离",0,!1,!0)]}}};d(Di,"createDefaultProps",()=>({...Dt.createDefaultProps(),height:10,width:10,materialMode:"singleArrow",filled:!0,stroked:!0,fillStyle:_t({color:[1,0,.73,1],material:"",materialParams:{},ground:!1})})),d(Di,"type",Di.register("ESPipeFence",Di,{chsName:"管道电子围栏",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"管道电子围栏"})),d(Di,"materialModes",[["单箭头","singleArrow"],["多箭头","multipleArrows"],["纯色","color"]]),d(Di,"supportEditingModes",[...Dt.supportEditingModes,nt.LineStringAppend,nt.LineStringInsert]);let zc=Di;const as=class as extends Pr{constructor(t){super(t);d(this,"_setLayerVisibleEvent",this.dv(new N));d(this,"_setLayerColorEvent",this.dv(new N))}get setLayerVisibleEvent(){return this._setLayerVisibleEvent}setLayerVisible(t,n){this._setLayerVisibleEvent.emit(t,n)}get setLayerColorEvent(){return this._setLayerColorEvent}setLayerColor(t,n){this._setLayerColorEvent.emit(t,n)}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"ESPipeserTileset"),new lt(["string","string"],(n,i)=>this.setLayerVisible(n,i),["",""],"setLayerVisible"),new lt(["string","string"],(n,i)=>this.setLayerColor(n,i),["",""],"setLayerColor"),new St([this,"colorMode"],as.colorModes,"colorMode",as.defaults.colorMode,!0)]}}};d(as,"createDefaultProps",()=>({...Pr.createDefaultProps(),colorMode:"default"})),d(as,"type",as.register("ESPipeserTileset",as,{chsName:"PipeSer图层",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"PipeSer图层"})),d(as,"colorModes",[["default","default"],["color","color"],["blend","blend"]]);let Pf=as;const us=class us extends Dt{constructor(t){super(t);d(this,"editingBindMode","circular")}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"basic",coordinate:[...t.coordinate,new R([this,"area"],"面积",0,!1,!0),new R([this,"perimeter"],"周长",0,!1,!0)],basic:[...t.basic,new R([this,"height"],"高度",10),new St([this,"materialMode"],us.materialModes,"模式","danger")]}}};d(us,"createDefaultProps",()=>({...Dt.createDefaultProps(),height:10,materialMode:"danger",filled:!0,collision:!1})),d(us,"type",us.register("ESPolygonFence",us,{chsName:"多边形电子围栏",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"多边形电子围栏"})),d(us,"materialModes",[["模式一","danger"],["模式二","checkerboard"],["模式三","warning"],["模式四","cord"],["模式五","scanline"],["模式六","honeycomb"],["模式七","gradientColor"]]),d(us,"supportEditingModes",[...Dt.supportEditingModes,nt.CircularAppend,nt.CircularInsert,nt.HeightModify]);let Uc=us;const Ws=class Ws extends Dt{constructor(t){super(t);d(this,"_deprecated",["ground"]);d(this,"_deprecatedWarningFunc",(()=>{this._deprecatedWarning()})());d(this,"editingBindMode","doublePoints")}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"通用","通用"),new X([this,"ground"],"是否贴地"),new X([this,"outlineTranslucent"],"轮廓线半透明"),new R([this,"height"],"高度"),new R([this,"extrudedHeight"],"拉伸高度"),new Rr([this,"rectangle"],"范围",Ws.defaults.rectangle,!0),new R([this,"stRotation"],"纹理旋转角度"),new R([this,"rotation"],"旋转角度"),new X([this,"pointEditing"],"是否单点编辑")]}}};d(Ws,"createDefaultProps",()=>({...Dt.createDefaultProps(),ground:!1,outlineTranslucent:!0,height:0,extrudedHeight:0,rectangle:ne(void 0),rotation:0,stRotation:0,pointEditing:!1,filled:!0})),d(Ws,"type",Ws.register("ESRectangle",Ws,{chsName:"矩形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"矩形"})),d(Ws,"supportEditingModes",[...Dt.supportEditingModes,nt.DoublePointsAppend,nt.DoublePointsModify]);let If=Ws;const ru=class ru extends qt{getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new it([this,"innerRings"],"裁切多边形数组",[],void 0,!0)]}}};d(ru,"createDefaultProps",()=>({...qt.createDefaultProps(),innerRings:mp([])})),d(ru,"type",ru.register("ESPolygonWithHole",ru,{chsName:"内部裁切多边形",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"带洞多边形"}));let xf=ru;const Hs=class Hs extends qt{constructor(t){super(t);d(this,"_startEvent",this.disposeVar(new N));d(this,"_stopEvent",this.dv(new N));d(this,"_surfaceArea",this.disposeVar(V(0)))}get startEvent(){return this._startEvent}start(){this._startEvent.emit()}get stopEvent(){return this._stopEvent}stop(){this._stopEvent.emit()}get surfaceArea(){return this._surfaceArea.value}set surfaceArea(t){this._surfaceArea.value=t}get surfaceChanged(){return this._surfaceArea.changed}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"表面积测量","表面积测量"),new lt([],()=>this.start(),[],"开始计算"),new R([this,"interpolation"],"插值距离",Hs.defaults.interpolation),new R([this,"offsetHeight"],"偏移高度",Hs.defaults.offsetHeight)]}}};d(Hs,"createDefaultProps",()=>({...qt.createDefaultProps(),interpolation:.5,offsetHeight:0,units:dt(["SquareMeter_SquareKilometer","MU_Hectare"]),fillStyle:_t({color:[1,1,1,.5],material:"",materialParams:{},ground:!0})})),d(Hs,"type",Hs.register("ESSurfaceAreaMeasurement",Hs,{chsName:"表面积测量",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"表面积测量"}));let Tf=Hs;const qs=class qs extends st{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"downloadProgress"],"下载进度",qs.defaults.downloadProgress,!0,!0),new it([this,"importOptions"],"导入参数",qs.defaults.importOptions,void 0,!0)],dataSource:[...e.dataSource,new it([this,"url"],"路径")]}}};d(qs,"createDefaultProps",()=>({...st.createDefaultProps(),url:"",importOptions:Zt({buildCollisions:"QueryAndPhysics",buildHierarchy:"Simplified",collisionType:"CTF_UseComplexAsSimple",bImportMetaData:!0}),downloadProgress:0})),d(qs,"type",qs.register("ESDatasmithRuntimeModel",qs,{chsName:"Datasmith Model",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"Datasmith Model"}));let Nf=qs;const _n=class _n extends pl{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new St([this,"waterType"],[["river","river"],["ocean","ocean"],["lake","lake"],["custom","custom"]],"水域类型",_n.defaults.waterType),new R([this,"frequency"],"频率",_n.defaults.frequency),new ze([this,"amplitude"],.01,[0,1],"振幅",_n.defaults.amplitude),new ze([this,"flowDirection"],1,[0,360],"流向",_n.defaults.flowDirection),new ze([this,"waveVelocity"],.01,[0,1],"波动频率",_n.defaults.waveVelocity),new ze([this,"specularIntensity"],.01,[0,1],"镜面反射强度",_n.defaults.specularIntensity),new ze([this,"murkiness"],.1,[0,10],"水体浑浊度",_n.defaults.murkiness),new R([this,"flowSpeed"],"水流速度",_n.defaults.flowSpeed),new Ot([this,"waterColor"],"水的底色",_n.defaults.waterColor),new it([this,"waterImage"],"水的图片",_n.defaults.waterImage)]}}};d(_n,"createDefaultProps",()=>({...pl.createDefaultProps(),allowPicking:!0,waterImage:Zt(void 0),waterColor:[.1497,.165,.0031,1],frequency:1e3,waveVelocity:.5,amplitude:.1,specularIntensity:.8,waterType:"river",flowDirection:0,flowSpeed:0,murkiness:5,stroked:!1,filled:!0})),d(_n,"type",_n.register("ESDynamicWater",_n,{chsName:"动态水面",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"局部多边形水面"}));let Of=_n;const wn=class wn extends qt{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,defaultMenu:"basic",basic:[...e.basic,new St([this,"waterType"],[["river","river"],["ocean","ocean"],["lake","lake"],["custom","custom"]],"水域类型",wn.defaults.waterType),new R([this,"frequency"],"频率",wn.defaults.frequency),new ze([this,"amplitude"],.01,[0,1],"振幅",wn.defaults.amplitude),new ze([this,"flowDirection"],1,[0,360],"流向",wn.defaults.flowDirection),new ze([this,"waveVelocity"],.01,[0,1],"波动频率",wn.defaults.waveVelocity),new ze([this,"specularIntensity"],.01,[0,1],"镜面反射强度",wn.defaults.specularIntensity),new ze([this,"murkiness"],.1,[0,10],"水体浑浊度",wn.defaults.murkiness),new R([this,"flowSpeed"],"水流速度",wn.defaults.flowSpeed),new Ot([this,"waterColor"],"水的底色",wn.defaults.waterColor),new it([this,"waterImage"],"水的图片",wn.defaults.waterImage)]}}};d(wn,"createDefaultProps",()=>({...qt.createDefaultProps(),allowPicking:!0,waterImage:Zt({}),waterColor:[.1497,.165,.0031,1],frequency:1e3,waveVelocity:.5,amplitude:.1,specularIntensity:.8,waterType:"river",flowDirection:0,flowSpeed:0,murkiness:5})),d(wn,"type",wn.register("ESGeoWater",wn,{chsName:"地理水面",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"地理动态水面"}));let Df=wn;const ko=class ko extends st{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"downloadProgress"],"下载进度",ko.defaults.downloadProgress,!0,!0),new pt([this,"levelName"],"levelName",""),new R([this,"levelLoadDistance"],"levelLoadDistance",1e3),new un([this,"levelOffset"],"levelOffset",[0,0,0])],dataSource:[...e.dataSource,new it([this,"url"],"url","")]}}};d(ko,"createDefaultProps",()=>({...st.createDefaultProps(),url:"",downloadProgress:0,levelName:"",levelOffset:dt([0,0,0]),levelLoadDistance:1e3})),d(ko,"type",ko.register("ESLevelRuntimeModel",ko,{chsName:"关卡包模型",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"关卡包模型"}));let Mf=ko;const sr=class sr extends is{constructor(t){super(t);d(this,"_deprecated",[{materialMode:{blue:"multipleArrows",purple:"singleArrow"}},"show"]);d(this,"_deprecatedWarningFunc",(()=>{this._deprecatedWarning()})())}getESProperties(){const t={...super.getESProperties()};return{...t,defaultMenu:"basic",basic:[...t.basic,new R([this,"radius"],"半径",sr.defaults.radius),new R([this,"sides"],"圆边数",sr.defaults.sides),new R([this,"speed"],"材质速度",sr.defaults.speed),new St([this,"materialMode"],sr.materialModes,"材质模式",sr.defaults.materialMode),new it([this,"materialImage"],"材质图片和重复度",sr.defaults.materialImage)]}}};d(sr,"createDefaultProps",()=>({...is.createDefaultProps(),radius:10,sides:10,materialMode:"singleArrow",materialImage:_t({url:"",uDis:50,vDis:10}),speed:1,filled:!0,stroked:!1,fillStyle:_t({color:[1,0,.73,1],material:"",materialParams:{},ground:!1})})),d(sr,"type",sr.register("ESPipeline",sr,{chsName:"管线",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"ESPipeline"})),d(sr,"materialModes",[["单箭头","singleArrow"],["多箭头","multipleArrows"]]);let Rf=sr;const Mi=class Mi extends Dt{constructor(t){super(t);d(this,"editingBindMode","visibility")}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new Ot([this,"visibleColor"],"可视区域颜色",Mi.defaults.visibleColor),new Ot([this,"invisibleColor"],"遮挡区域颜色",Mi.defaults.invisibleColor),new R([this,"heightOffset"],"视点高度偏移",Mi.defaults.heightOffset)]}}};d(Mi,"createDefaultProps",()=>({...Dt.createDefaultProps(),visibleColor:dt([0,1,0,1]),invisibleColor:dt([1,0,0,1]),heightOffset:0})),d(Mi,"type",Mi.register("ESVisibilityAnalysis",Mi,{chsName:"通视分析,视线分析",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"通视分析,视线分析"})),d(Mi,"supportEditingModes",[...Dt.supportEditingModes,nt.VisibilityAppend,nt.VisibilityModify]);let Lf=Mi;const iu=class iu extends qt{constructor(t){super(t);d(this,"_startEvent",this.dv(new N));d(this,"_clearEvent",this.dv(new N));d(this,"_volume",this.disposeVar(V(0)))}get startEvent(){return this._startEvent}start(){this._startEvent.emit()}get clearEvent(){return this._clearEvent}clear(){this._clearEvent.emit()}get volume(){return this._volume.value}set volume(t){this._volume.value=t}get volumeChanged(){return this._volume.changed}getESProperties(){const t={...super.getESProperties()};return{...t,more:[...t.more,new ut([],"通用","通用"),new R([this,"planeHeight"],"基准面高程",void 0,!0),new R([this,"gridWidth"],"采样间距 m"),new R([this,"cutVolume"],"挖方",0,!1,!0),new R([this,"fillVolume"],"填方",0,!1,!0),new R([this,"cutAndFillVolume"],"挖填方",0,!1,!0),new R([this,"progress"],"计算进度",0,!1,!0),new lt([],()=>this.start(),[],"开始分析"),new lt([],()=>this.clear(),[],"清空分析结果"),new X([this,"depthTest"],"是否开启深度检测")]}}};d(iu,"createDefaultProps",()=>({...qt.createDefaultProps(),planeHeight:V(void 0),gridWidth:1,cutVolume:0,fillVolume:0,cutAndFillVolume:0,progress:0,depthTest:!1,filled:!1,stroked:!0,strokeStyle:_t({width:2,widthType:"screen",color:[1,1,1,1],material:"",materialParams:{},ground:!1})})),d(iu,"type",iu.register("ESVolumeMeasurement",iu,{chsName:"体积测量",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"体积测量"}));let Ff=iu;const su=class su extends So{constructor(t){super(t);d(this,"_human",this.dv(new So));d(this,"_poi",this.dv(new dl));this.d(this.components.disposableAdd(this._human,!0)),this.d(this.components.disposableAdd(this._poi));{const{_human:n,_poi:i}=this;this.d(z([n,"show"],[this,"show"])),this.d(z([i,"show"],[this,"show"])),this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([i,"allowPicking"],[this,"allowPicking"])),this.d(rt([n,"scale"],[this,"scale"])),this.d(rt([i,"scale"],[this,"scale"])),this.d(z([n,"collision"],[this,"collision"])),this.d(z([i,"collision"],[this,"collision"])),this.d(rt([n,"flyInParam"],[this,"flyInParam"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(z([n,"animation"],[this,"animation"])),this.d(z([n,"mode"],[this,"mode"])),this.d(z([n,"minVisibleDistance"],[this,"minVisibleDistance"])),this.d(z([n,"maxVisibleDistance"],[this,"maxVisibleDistance"])),this.d(z([i,"name"],[this,"name"])),this.d(z([i,"mode"],[this,"poiMode"])),this.d(z([i,"autoAnchor"],[this,"autoAnchor"])),this.d(z([i,"screenRender"],[this,"screenRender"])),this.d(z([i,"size"],[this,"size"])),this.d(z([i,"anchor"],[this,"anchor"])),this.d(z([i,"sizeByContent"],[this,"sizeByContent"])),this.d(z([i,"renderMode"],[this,"renderMode"])),this.d(z([i,"rotationType"],[this,"rotationType"])),this.d(z([i,"zOrder"],[this,"zOrder"])),this.d(z([i,"minVisibleDistance"],[this,"minVisibleDistance"])),this.d(z([i,"maxVisibleDistance"],[this,"maxVisibleDistance"])),this.d(rt([n,"position"],[this,"position"])),this.d(rt([n,"rotation"],[this,"rotation"])),this.d(this.flyInEvent.don(s=>{n.flyIn(s)})),this.d(this.flyToEvent.don(s=>{n.flyTo(s)})),this.d(this.calcFlyToParamEvent.don(()=>{n.calcFlyToParam()})),this.d(this.calcFlyInParamEvent.don(()=>{n.calcFlyInParam()})),this.d(this.smoothMoveEvent.don((s,o)=>{n.smoothMove(s,o)})),this.d(this.smoothMoveWithRotationEvent.don((s,o,a)=>{n.smoothMoveWithRotation(s,o,a)})),this.d(this.smoothMoveOnGroundEvent.don((s,o,a,u)=>{n.smoothMoveOnGround(s,o,a,u)})),this.d(this.smoothMoveWithRotationOnGroundEvent.don((s,o,a,u,l)=>{n.smoothMoveWithRotationOnGround(s,o,a,u,l)})),this.d(this.automaticLandingEvent.don(()=>{n.automaticLanding()})),this.d(this._human.readyEvent.don(s=>{this.readyEvent.emit(s)}))}}get human(){return this._human}get poi(){return this._poi}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new St([this,"poiMode"],dl.modes,"poi模式","SquareH01"),new R([this,"poiOffsetHeight"],"poi高度偏移",1.8)]}}};d(su,"createDefaultProps",()=>({poiOffsetHeight:1.8,poiMode:"SquareH01",style:_t({}),autoAnchor:!0,screenRender:!0,size:dt([100,100]),anchor:dt([.5,1]),sizeByContent:!0,renderMode:0,rotationType:1,zOrder:0,...So.createDefaultProps()})),d(su,"type",su.register("ESHumanPoi",su,{chsName:"人员poi",tags:["ESObjects"],description:"ESHuman + ESPoi2D组合对象"}));let Af=su;const ai=class ai extends qt{constructor(e){super(e)}getESProperties(){const e={...super.getESProperties()};return{...e,basic:[...e.basic,new R([this,"depth"],"深度",ai.defaults.depth),new R([this,"interpolation"],"插值",ai.defaults.interpolation),new R([this,"opacity"],"透明度",ai.defaults.opacity),new it([this,"sideImage"],"侧面图片",ai.defaults.sideImage),new it([this,"bottomImage"],"底面图片",ai.defaults.bottomImage)]}}};d(ai,"createDefaultProps",()=>({...qt.createDefaultProps(),depth:100,sideImage:_t({url:et.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/img/ESPit/side.jpg"),uDis:50,vDis:50}),bottomImage:_t({url:et.context.getStrFromEnv("${earthsdk3-assets-script-dir}/assets/img/ESPit/bottom.jpg"),uDis:50,vDis:50}),opacity:1,interpolation:50,collision:!1,allowPicking:!1,filled:!0})),d(ai,"type",ai.register("ESPit",ai,{chsName:"坑",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"坑"}));let Aa=ai;const ou=class ou extends Aa{constructor(t){super(t);d(this,"_excavate",this.dv(new hl));d(this,"_pit",this.dv(new Aa));this.d(this.components.disposableAdd(this._excavate)),this.d(this.components.disposableAdd(this._pit,!0));{const{_excavate:n,_pit:i}=this;this.d(z([n,"show"],[this,"show"])),this.d(z([i,"show"],[this,"show"])),this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([i,"allowPicking"],[this,"allowPicking"])),this.d(z([n,"collision"],[this,"collision"])),this.d(z([i,"collision"],[this,"collision"])),this.d(rt([i,"points"],[this,"points"])),this.d(z([n,"points"],[this,"points"])),this.d(z([i,"pointed"],[this,"pointed"])),this.d(z([n,"pointed"],[this,"pointed"])),this.d(z([i,"pointStyle"],[this,"pointStyle"])),this.d(z([n,"pointStyle"],[this,"pointStyle"])),this.d(z([i,"stroked"],[this,"stroked"])),this.d(z([n,"stroked"],[this,"stroked"])),this.d(z([i,"strokeStyle"],[this,"strokeStyle"])),this.d(z([n,"strokeStyle"],[this,"strokeStyle"])),this.d(z([i,"filled"],[this,"filled"])),this.d(z([i,"fillStyle"],[this,"fillStyle"])),this.d(z([n,"fillStyle"],[this,"fillStyle"])),this.d(z([n,"mode"],[this,"mode"])),this.d(z([n,"targetID"],[this,"targetID"])),this.d(z([i,"depth"],[this,"depth"])),this.d(z([i,"sideImage"],[this,"sideImage"])),this.d(z([i,"bottomImage"],[this,"bottomImage"])),this.d(z([i,"opacity"],[this,"opacity"])),this.d(z([i,"interpolation"],[this,"interpolation"])),this.d(rt([i,"flyInParam"],[this,"flyInParam"])),this.d(rt([i,"flyToParam"],[this,"flyToParam"])),this.d(this.flyInEvent.don(s=>{i.flyIn(s)})),this.d(this.flyToEvent.don(s=>{i.flyTo(s)})),this.d(this.calcFlyToParamEvent.don(()=>{i.calcFlyToParam()})),this.d(this.calcFlyInParamEvent.don(()=>{i.calcFlyInParam()}))}}get excavate(){return this._excavate}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new St([this,"mode"],hl.modes,"模式","in"),new pt([this,"targetID"],"瓦片图层","")]}}};d(ou,"createDefaultProps",()=>({...Aa.createDefaultProps(),mode:"in",targetID:""})),d(ou,"type",ou.register("ESHole",ou,{chsName:"挖坑(带材质+深度)",tags:["ESObjects"],description:"挖坑"}));let kf=ou;const Vf={layerconfigfind:"/ts/layer/config/get",layerconfigsave:"/ts/layer/config/put",featureproperty:"/ts/editor/property",featureeditormuti:"/ts/editor/update",getts:"/ts/info"},ES=async(r,e,t,n)=>{try{const i=globalThis.localStorage.getItem("Authorization");let s=r+`${Vf.layerconfigfind}?tileServiceName=${e}`;t&&(s+=`&earthdstoken=${encodeURIComponent(n)}`);const o={headers:{...!t&&i?{Authorization:i}:{}},mode:"cors"},u=await(await fetch(s,o)).text();return JSON.parse(u)}catch(i){console.error(i)}},CS=async(r,e,t,n,i)=>{try{const s=globalThis.localStorage.getItem("Authorization");let o=r+Vf.layerconfigsave;const a=i??{};t&&(o+=`?earthdstoken=${encodeURIComponent(n)}`);const u={method:"POST",headers:{"Content-Type":"application/json",...!t&&s?{Authorization:s}:{}},mode:"cors",body:JSON.stringify({tileServiceName:e,layerConfig:JSON.stringify(a)})},c=await(await fetch(o,u)).text();return JSON.parse(c)}catch(s){console.error(s)}},SS=async(r,e,t)=>{try{const n=globalThis.localStorage.getItem("Authorization");let i=r;e&&(i+=`?earthdstoken=${encodeURIComponent(t)}`);const s={headers:{...!e&&n?{Authorization:n}:{}},mode:"cors"},a=await(await fetch(i,s)).text(),u=JSON.parse(a);if(u.status=="ok")return u.data.port;console.error(u.status);return}catch(n){console.error(n)}},bS=async(r,e,t,n,i)=>{try{const s={tileServiceName:e,featureId:t},o=globalThis.localStorage.getItem("Authorization");let a=r+Vf.featureproperty;n&&(a+=`?earthdstoken=${encodeURIComponent(i)}`);const l=await(await fetch(a,{method:"post",headers:{"Content-Type":"application/json",...!n&&o?{Authorization:o}:{}},body:JSON.stringify(s),mode:"cors"})).text(),c=JSON.parse(l);if(c.status=="ok")return c.data;console.error(c.data.status);return}catch(s){console.error(s)}},au=class au extends Pr{constructor(t){super(t);d(this,"_es3DTileset",this.dv(new Pr));d(this,"_ids",this.dv(_t([])));d(this,"_useEarthDSToken",this.dv(V(!1)));d(this,"_earthdstoken",this.dv(V("")));d(this,"_visJson",this.disposeVar(V({})));d(this,"_isSameIP",this.disposeVar(V(!1)));d(this,"_highlightInner3DtilesetEvent",this.dv(new N));d(this,"_removeHighlightInner3DtilesetEvent",this.dv(new N));d(this,"_tilesetServePort",this.dv(V("")));{const n=async()=>{if(typeof this.url!="string"){console.error("服务地址不合法, Init Error! 示例: http://localhost:9009/ts/info/ts01");return}this.url?this.refresh():this._es3DTileset.url=""};this.d(this.urlChanged.don(()=>{n()}))}{this.d(this.components.disposableAdd(this._es3DTileset,!0));const n=this._es3DTileset;this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([n,"collision"],[this,"collision"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(z([n,"actorTag"],[this,"actorTag"])),this.d(z([n,"materialMode"],[this,"materialMode"])),this.d(z([n,"highlight"],[this,"highlight"])),this.d(z([n,"maximumScreenSpaceError"],[this,"maximumScreenSpaceError"])),this.d(z([n,"highlightID"],[this,"highlightID"])),this.d(z([n,"highlightColor"],[this,"highlightColor"])),this.d(rt([n,"offset"],[this,"offset"])),this.d(rt([n,"rotation"],[this,"rotation"])),this.d(z([n,"czmImageBasedLightingFactor"],[this,"czmImageBasedLightingFactor"])),this.d(z([n,"czmLuminanceAtZenith"],[this,"czmLuminanceAtZenith"])),this.d(z([n,"czmMaximumMemoryUsage"],[this,"czmMaximumMemoryUsage"])),this.d(z([n,"czmClassificationType"],[this,"czmClassificationType"])),this.d(z([n,"czmStyleJson"],[this,"czmStyleJson"])),this.d(z([n,"czmBackFaceCulling"],[this,"czmBackFaceCulling"])),this.d(z([n,"czmDebugShowBoundingVolume"],[this,"czmDebugShowBoundingVolume"])),this.d(z([n,"czmDebugShowContentBoundingVolume"],[this,"czmDebugShowContentBoundingVolume"])),this.d(z([n,"czmSkipLevelOfDetail"],[this,"czmSkipLevelOfDetail"])),this.d(z([n,"colorBlendMode"],[this,"colorBlendMode"])),this.d(z([n,"cacheBytes"],[this,"cacheBytes"])),this.d(z([n,"clippingPlaneEnabled"],[this,"clippingPlaneEnabled"])),this.d(z([n,"unionClippingRegions"],[this,"unionClippingRegions"])),this.d(z([n,"clippingPlaneEdgeColor"],[this,"clippingPlaneEdgeColor"])),this.d(z([n,"clippingPlaneEdgeWidth"],[this,"clippingPlaneEdgeWidth"])),this.d(z([n,"materialParams"],[this,"materialParams"])),this.d(rt([n,"supportEdit"],[this,"supportEdit"])),this.d(rt([n,"clippingPlanesId"],[this,"clippingPlanesId"])),this.d(rt([n,"clippingPlaneIds"],[this,"clippingPlaneIds"])),this.d(rt([n,"flattenedPlaneId"],[this,"flattenedPlaneId"])),this.d(rt([n,"flattenedPlaneEnabled"],[this,"flattenedPlaneEnabled"])),this.d(rt([n,"clippingPlaneId"],[this,"clippingPlaneId"])),this.d(rt([n,"excavateId"],[this,"excavateId"]))}{const n=this._es3DTileset;this.d(this.refreshTilesetEvent.don(()=>{n.refreshTileset()})),this.d(this.highlightFeatureEvent.don((...i)=>{n.highlightFeature(...i)})),this.d(this.highlightFeatureAndFlyToEvent.don((...i)=>{n.highlightFeatureAndFlyTo(...i)})),this.d(this.setFeatureColorEvent.don((...i)=>{n.setFeatureColor(...i)})),this.d(this.setFeatureVisableEvent.don((...i)=>{n.setFeatureVisable(...i)})),this.d(this.resetFeatureStyleEvent.don((...i)=>{n.resetFeatureStyle(...i)})),this.d(this.setFeatureStyleEvent.don((...i)=>{n.setFeatureStyle(...i)})),this.d(this.flyInEvent.don((...i)=>{n.flyIn(i[0])})),this.d(this.flyToEvent.don((...i)=>{n.flyTo(i[0])})),this.d(this.calcFlyToParamEvent.don((...i)=>{n.calcFlyToParam(...i)})),this.d(this.calcFlyInParamEvent.don((...i)=>{n.calcFlyInParam(...i)}))}{const n=this._es3DTileset;this.d(n.tilesetReady.don(i=>{this.tilesetReady.emit(i)})),this.d(n.pickedEvent.don(i=>{i.assign({sceneObject:this}),this.pickedEvent.emit(i)}))}{const n=()=>{this.es3DTileset.show=this.show};n(),this.d(this.showChanged.don(()=>{n()}))}}get es3DTileset(){return this._es3DTileset}get ids(){return this._ids.value}get idsChanged(){return this._ids.changed}set ids(t){this._ids.value=t}get useEarthDSToken(){return this._useEarthDSToken.value}get useEarthDSTokenChanged(){return this._useEarthDSToken.changed}set useEarthDSToken(t){this._useEarthDSToken.value=t}get earthdstoken(){return this._earthdstoken.value}get earthdstokenChanged(){return this._earthdstoken.changed}set earthdstoken(t){this._earthdstoken.value=t}get visJson(){return this._visJson.value}set visJson(t){this._visJson.value=t}get visJsonChanged(){return this._visJson.changed}get isSameIP(){return this._isSameIP.value}set isSameIP(t){this._isSameIP.value=t}get isSameIPChanged(){return this._isSameIP.changed}setFeatureVisable(t,n){var i;if((i=this.layerConfig)!=null&&i.length){const s={};s[n[0].value]=n[0].visable,this.visJson={...this.visJson,...s}}else this.setFeatureVisableEvent.emit(t,typeof n=="string"?JSON.parse(n):n)}async getFeatureProperty(t){return await bS(this.baseUrl,this.tileServiceName,t,this.useEarthDSToken,this.earthdstoken)}async getLayerConfig(){const t=await ES(this.baseUrl,this.tileServiceName,this.useEarthDSToken,this.earthdstoken);return!t||!Array.isArray(t)?this.layerConfig=[]:this.layerConfig=t,this.layerConfig}async saveLayerConfig(){const t=this.layerConfig;return await CS(this.baseUrl,this.tileServiceName,this.useEarthDSToken,this.earthdstoken,t)}get highlightInner3DtilesetEvent(){return this._highlightInner3DtilesetEvent}_highlightInner3Dtileset(t){this._highlightInner3DtilesetEvent.emit(t)}async highlightDSFeature(t){this._highlightInner3Dtileset(t)}get removeHighlightInner3DtilesetEvent(){return this._removeHighlightInner3DtilesetEvent}_removeHighlightInner3Dtileset(t){this._removeHighlightInner3DtilesetEvent.emit(t)}async removeHighlightDSFeature(t){this._removeHighlightInner3Dtileset(t)}async pickFeature(t,n){var a,u,l;const i=await t.pick(n),s=i.sceneObject;return!s||s.id!==this.id&&s.typeName!="ESRtsFeatureEditing"?void 0:s.typeName!="ESRtsFeatureEditing"?(this.ids=[...this.ids,(a=i==null?void 0:i.tilesetPickInfo)==null?void 0:a.id],{featureId:(u=i==null?void 0:i.tilesetPickInfo)==null?void 0:u.id,pickInnerFields:i==null?void 0:i.tilesetPickInfo}):{featureId:(l=i==null?void 0:i.sceneObject)==null?void 0:l.id,pickInnerFields:i==null?void 0:i.tilesetPickInfo}}get tilesetServePort(){return this._tilesetServePort.value}get tilesetServePortChanged(){return this._tilesetServePort.changed}set tilesetServePort(t){this._tilesetServePort.value=t}async getport(){const t=await SS(this.url,this.useEarthDSToken,this.earthdstoken);if(t)return this.tilesetServePort=t,t;throw new Error("服务地址port获取失败!")}async refresh(){var n;if(!this.url||typeof this.url!="string")return;const t=+new Date;if(this.isSameIP){const i=(n=this.url.match(/^(https?:\/\/[^\/]+)/))==null?void 0:n[0];this._es3DTileset.url=`${i}/ts/tiles/${this.tileServiceName}/tileset.json?t=${t}`}else{const i=this.tileServiceIp,s=await this.getport();await this.getLayerConfig(),this._es3DTileset.url=`${i}:${s}/tiles/tileset.json?t=${t}`}console.log("3dtileset url:",this._es3DTileset.url)}get baseUrl(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^\/]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ts01");return n}else throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ts01")}get tileServiceName(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/\/ts\/info\/(.*)/))==null?void 0:t[1];if(!n)throw console.log(this.url),new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01,");return n}else throw new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01")}get tileServiceIp(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^:]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ts01");return n}else throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ts01")}getESProperties(){const t={...super.getESProperties()};return{...t,basic:[...t.basic,new it([this,"layerConfig"],"图层配置",[],void 0,!0)]}}};d(au,"createDefaultProps",()=>({...Pr.createDefaultProps(),layerConfig:Zt([])})),d(au,"type",au.register("ESRtsTileset",au,{chsName:"CIMRTS实时3DTileset图层",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"实时3DTileset图层"}));let Bf=au;function PS(r){return typeof r=="number"&&!isNaN(r)}const uu=class uu extends Pr{get json(){return{...this._innerGetJson(),show:this.show,materials:this.materials,changeMaterial:this.changeMaterial,props:this.props,rotation:this.rotation,offset:this.offset}}set json(e){this._innerSetJson(e)}async init(e,t){var i;this.featureId=t;const n=await e.getFeatureProperty(t);if(this.uiShowprops=n.allFields.map(s=>({featureClassName:s.featureClassName,fields:s.fields.map(o=>({key:o.name,type:o.type,value:o.type!="Double"?o.value:PS(o.value)?Number(o.value.toFixed(3)):""}))})),this.datasetName=n.datasetName,e.setFeatureVisable("id",[{value:this.featureId,visable:!1}]),this.d(()=>{e.setFeatureVisable("id",[{value:this.featureId,visable:!0}])}),e.isSameIP){const s=(i=e.url.match(/^(https?:\/\/[^\/]+)/))==null?void 0:i[0],o=e.tileServiceName;this.url=`${s}/ts/featuretiles/${o}/${this.featureId}/tileset.json`}else{const s=e.tileServiceIp,o=e.tilesetServePort;if(!o)throw new Error("ESRtsFeatureEditing2: port is not defined");this.url=`${s}:${o}/featuretiles/${this.featureId}/tileset.json`}this.allowPicking=!0,this.d(this.pickedEvent.don(s=>{s.assign({sceneObject:e}),e.pickedEvent.emit(s)})),this.d(()=>{this.editing=!1,e.removeHighlightDSFeature(this)})}constructor(e){super(e)}};d(uu,"createDefaultProps",()=>({...Pr.createDefaultProps(),datasetName:void 0,featureId:void 0,materials:_t({}),changeMaterial:Zt(void 0),uiShowprops:_t({}),props:_t({})})),d(uu,"type",uu.register("ESRtsFeatureEditing",uu,{chsName:"ESRtsFeatureEditing",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"实时3DTileset图层"}));let jf=uu;const IS=async(r,e,t)=>{try{const n=globalThis.localStorage.getItem("Authorization");let i=r;e&&(i+=`?earthdstoken=${encodeURIComponent(t)}`);const s={headers:{...!e&&n?{Authorization:n}:{}},mode:"cors"},a=await(await fetch(i,s)).text(),u=JSON.parse(a);if(u.status=="ok")return u.data.port;console.error(u.status);return}catch(n){console.error(n)}},Cl=class Cl extends Pr{constructor(t){super(t);d(this,"_es3DTileset",this.dv(new Pr));d(this,"_tilesetServePort",this.dv(V("")));d(this,"_useEarthDSToken",this.dv(V(!1)));d(this,"_earthdstoken",this.dv(V("")));{const n=async()=>{if(typeof this.url!="string"){console.error("服务地址不合法, Init Error! 示例: http://localhost:9009/ts/info/ms01");return}this.url?this.refresh():this._es3DTileset.url=""};this.d(this.urlChanged.don(()=>{n()}))}{this.d(this.components.disposableAdd(this._es3DTileset,!0));const n=this._es3DTileset;this.d(z([n,"allowPicking"],[this,"allowPicking"])),this.d(z([n,"collision"],[this,"collision"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(rt([n,"flyToParam"],[this,"flyToParam"])),this.d(z([n,"actorTag"],[this,"actorTag"])),this.d(z([n,"materialMode"],[this,"materialMode"])),this.d(z([n,"highlight"],[this,"highlight"])),this.d(z([n,"maximumScreenSpaceError"],[this,"maximumScreenSpaceError"])),this.d(z([n,"highlightID"],[this,"highlightID"])),this.d(z([n,"highlightColor"],[this,"highlightColor"])),this.d(rt([n,"offset"],[this,"offset"])),this.d(rt([n,"rotation"],[this,"rotation"])),this.d(z([n,"czmImageBasedLightingFactor"],[this,"czmImageBasedLightingFactor"])),this.d(z([n,"czmLuminanceAtZenith"],[this,"czmLuminanceAtZenith"])),this.d(z([n,"czmMaximumMemoryUsage"],[this,"czmMaximumMemoryUsage"])),this.d(z([n,"czmClassificationType"],[this,"czmClassificationType"])),this.d(z([n,"czmStyleJson"],[this,"czmStyleJson"])),this.d(z([n,"czmBackFaceCulling"],[this,"czmBackFaceCulling"])),this.d(z([n,"czmDebugShowBoundingVolume"],[this,"czmDebugShowBoundingVolume"])),this.d(z([n,"czmDebugShowContentBoundingVolume"],[this,"czmDebugShowContentBoundingVolume"])),this.d(z([n,"czmSkipLevelOfDetail"],[this,"czmSkipLevelOfDetail"])),this.d(z([n,"colorBlendMode"],[this,"colorBlendMode"])),this.d(z([n,"cacheBytes"],[this,"cacheBytes"])),this.d(z([n,"clippingPlaneEnabled"],[this,"clippingPlaneEnabled"])),this.d(z([n,"unionClippingRegions"],[this,"unionClippingRegions"])),this.d(z([n,"clippingPlaneEdgeColor"],[this,"clippingPlaneEdgeColor"])),this.d(z([n,"clippingPlaneEdgeWidth"],[this,"clippingPlaneEdgeWidth"])),this.d(z([n,"materialParams"],[this,"materialParams"])),this.d(rt([n,"supportEdit"],[this,"supportEdit"])),this.d(rt([n,"clippingPlanesId"],[this,"clippingPlanesId"])),this.d(rt([n,"clippingPlaneIds"],[this,"clippingPlaneIds"])),this.d(rt([n,"flattenedPlaneId"],[this,"flattenedPlaneId"])),this.d(rt([n,"flattenedPlaneEnabled"],[this,"flattenedPlaneEnabled"])),this.d(rt([n,"clippingPlaneId"],[this,"clippingPlaneId"])),this.d(rt([n,"excavateId"],[this,"excavateId"]))}{const n=this._es3DTileset;this.d(this.refreshTilesetEvent.don(()=>{n.refreshTileset()})),this.d(this.highlightFeatureEvent.don((...i)=>{n.highlightFeature(...i)})),this.d(this.highlightFeatureAndFlyToEvent.don((...i)=>{n.highlightFeatureAndFlyTo(...i)})),this.d(this.setFeatureColorEvent.don((...i)=>{n.setFeatureColor(...i)})),this.d(this.setFeatureVisableEvent.don((...i)=>{n.setFeatureVisable(...i)})),this.d(this.resetFeatureStyleEvent.don((...i)=>{n.resetFeatureStyle(...i)})),this.d(this.flyInEvent.don((...i)=>{n.flyIn(i[0])})),this.d(this.flyToEvent.don((...i)=>{n.flyTo(i[0])})),this.d(this.calcFlyToParamEvent.don((...i)=>{n.calcFlyToParam(...i)})),this.d(this.calcFlyInParamEvent.don((...i)=>{n.calcFlyInParam(...i)}))}{const n=this._es3DTileset;this.d(n.tilesetReady.don(i=>{this.tilesetReady.emit(i)})),this.d(n.pickedEvent.don(i=>{i.assign({sceneObject:this}),this.pickedEvent.emit(i)}))}{const n=()=>{this.es3DTileset.show=this.show};n(),this.d(this.showChanged.don(()=>{n()}))}}get es3DTileset(){return this._es3DTileset}get tilesetServePort(){return this._tilesetServePort.value}get tilesetServePortChanged(){return this._tilesetServePort.changed}set tilesetServePort(t){this._tilesetServePort.value=t}get useEarthDSToken(){return this._useEarthDSToken.value}get useEarthDSTokenChanged(){return this._useEarthDSToken.changed}set useEarthDSToken(t){this._useEarthDSToken.value=t}get earthdstoken(){return this._earthdstoken.value}get earthdstokenChanged(){return this._earthdstoken.changed}set earthdstoken(t){this._earthdstoken.value=t}async getport(){const t=await IS(this.url,this.useEarthDSToken,this.earthdstoken);if(t)return this.tilesetServePort=t,t;throw new Error("服务地址port获取失败!")}async refresh(){var i;if(!this.url||typeof this.url!="string")return;const t=(i=this.url.match(/\/ts\/info\/(.*)/))==null?void 0:i[1],n=+new Date;if(t){const s=this.tileServiceIp,o=await this.getport();this._es3DTileset.url=`${s}:${o}/tiles/tileset.json?t=${n}`}console.log("3dtileset url:",this._es3DTileset.url)}get baseUrl(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^\/]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ms01");return n}else throw new Error("服务地址不合法,baseUrl is not found! 示例: http://localhost:9009/ts/info/ms01")}get tileServiceIp(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/^(https?:\/\/[^:]+)/))==null?void 0:t[1];if(!n)throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ms01");return n}else throw new Error("服务地址不合法,ip is not found! 示例: http://localhost:9009/ts/info/ms01")}get tileServiceName(){var t;if(this.url&&typeof this.url=="string"){const n=(t=this.url.match(/\/ts\/info\/(.*)/))==null?void 0:t[1];if(!n)throw console.log(this.url),new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01,");return n}else throw new Error("服务地址不合法,tileServiceName is not found! 示例: http://localhost:9009/ts/info/ms01")}};d(Cl,"type",Cl.register("ESMsTileset",Cl,{chsName:"Modelser实时3DTileset图层",tags:["ESObjects","_ES_Impl_Cesium","_ES_Impl_UE"],description:"实时3DTileset图层"}));let zf=Cl;const fy={defaultValue:[{type:"2",widget:"WidgetBlueprint'/ESFoliage/PoiSheng.PoiSheng'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"3",widget:"WidgetBlueprint'/ESFoliage/PoiShi.PoiShi'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"4",widget:"WidgetBlueprint'/ESFoliage/PoiShi.PoiShi'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"5",widget:"WidgetBlueprint'/ESFoliage/PoiXiang.PoiXiang'",povit:[.5,1],worldScale:.1,hiddenDistance:40},{type:"6",widget:"WidgetBlueprint'/ESFoliage/PoiCun.PoiCun'",povit:[.5,1],worldScale:.1,hiddenDistance:40}],sampleValue:`
|
|
355
355
|
## 参数类型为 ESPoiType[]
|
|
356
356
|
\`\`\`js
|
|
357
357
|
type Vector2D = [number, number]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ESObjects/general/ESRtsFeatureEditing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqC,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAU/C;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;IAChD,gBAAyB,kBAAkB;QAEvC,WAAW;qBACe,MAAM,GAAG,SAAS;QAC5C,gBAAgB;mBACQ,MAAM,GAAG,SAAS;QAC1C,QAAQ;;QAER,YAAY;;2BAC4C,MAAM;2BAAiB,MAAM;;QACrF,cAAc;;QAGd,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEX;IACH;;OAEG;IACH,gBAAyB,IAAI,EAAE,MAAM,CAAuK;IAC5M;;;OAGG;IACH,IAAa,IAAI,IAiBQ,SAAS,CANjC;IAED;;;OAGG;IACH,IAAa,IAAI,CAAC,KAAK,EAAE,SAAS,EAAgC;IAElE;;;;OAIG;IACG,IAAI,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ESObjects/general/ESRtsFeatureEditing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqC,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAU/C;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;IAChD,gBAAyB,kBAAkB;QAEvC,WAAW;qBACe,MAAM,GAAG,SAAS;QAC5C,gBAAgB;mBACQ,MAAM,GAAG,SAAS;QAC1C,QAAQ;;QAER,YAAY;;2BAC4C,MAAM;2BAAiB,MAAM;;QACrF,cAAc;;QAGd,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEX;IACH;;OAEG;IACH,gBAAyB,IAAI,EAAE,MAAM,CAAuK;IAC5M;;;OAGG;IACH,IAAa,IAAI,IAiBQ,SAAS,CANjC;IAED;;;OAGG;IACH,IAAa,IAAI,CAAC,KAAK,EAAE,SAAS,EAAgC;IAElE;;;;OAIG;IACG,IAAI,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM;IAkDxD;;;OAGG;gBACS,EAAE,CAAC,EAAE,MAAM;CAG1B;AACD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,YAAY,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;CAAI"}
|
|
@@ -114,6 +114,10 @@ export declare class ESRtsTileset extends ES3DTileset {
|
|
|
114
114
|
get visJson(): any;
|
|
115
115
|
set visJson(value: any);
|
|
116
116
|
get visJsonChanged(): import("../../../xbsj-base").Listener<[any, any]>;
|
|
117
|
+
private _isSameIP;
|
|
118
|
+
get isSameIP(): boolean;
|
|
119
|
+
set isSameIP(value: boolean);
|
|
120
|
+
get isSameIPChanged(): import("../../../xbsj-base").Listener<[boolean, boolean]>;
|
|
117
121
|
setFeatureVisable(featureName: string, json: FeatureVisableJsonType[]): void;
|
|
118
122
|
/**
|
|
119
123
|
* 获取要素属性。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ESObjects/general/ESRtsTileset/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAA4C,cAAc,EAAS,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEpI,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,YAAa,SAAQ,WAAW;IACzC,gBAAyB,kBAAkB;QAEvC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEX;IACH;;OAEG;IACH,gBAAyB,IAAI,EAAE,MAAM,CAAgK;IAErM;;OAEG;IACH,OAAO,CAAC,YAAY,CAA8B;IAElD;;;OAGG;IACH,IAAI,WAAW,gBAAgC;IAE/C;;OAEG;IACH,OAAO,CAAC,IAAI,CAAoC;IAEhD;;;OAGG;IACH,IAAI,GAAG,IAYQ,MAAM,EAAE,CAZc;IAErC;;;OAGG;IACH,IAAI,UAAU,gEAAgC;IAE9C;;;OAGG;IACH,IAAI,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAA8B;IAGrD,OAAO,CAAC,gBAAgB,CAAkC;IAC1D,IAAI,eAAe,IAEQ,OAAO,CAF2B;IAC7D,IAAI,sBAAsB,8DAA4C;IACtE,IAAI,eAAe,CAAC,KAAK,EAAE,OAAO,EAA0C;IAE5E,OAAO,CAAC,aAAa,CAA8B;IACnD,IAAI,YAAY,IAEQ,MAAM,CAFyB;IACvD,IAAI,mBAAmB,4DAAyC;IAChE,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAAuC;IAGrE,OAAO,CAAC,QAAQ,CAAmC;IACnD,IAAI,OAAO,IACQ,GAAG,CADuB;IAC7C,IAAI,OAAO,CAAC,KAAK,EAAE,GAAG,EAAkC;IACxD,IAAI,cAAc,sDAAoC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ESObjects/general/ESRtsTileset/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAA4C,cAAc,EAAS,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEpI,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,YAAa,SAAQ,WAAW;IACzC,gBAAyB,kBAAkB;QAEvC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEX;IACH;;OAEG;IACH,gBAAyB,IAAI,EAAE,MAAM,CAAgK;IAErM;;OAEG;IACH,OAAO,CAAC,YAAY,CAA8B;IAElD;;;OAGG;IACH,IAAI,WAAW,gBAAgC;IAE/C;;OAEG;IACH,OAAO,CAAC,IAAI,CAAoC;IAEhD;;;OAGG;IACH,IAAI,GAAG,IAYQ,MAAM,EAAE,CAZc;IAErC;;;OAGG;IACH,IAAI,UAAU,gEAAgC;IAE9C;;;OAGG;IACH,IAAI,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAA8B;IAGrD,OAAO,CAAC,gBAAgB,CAAkC;IAC1D,IAAI,eAAe,IAEQ,OAAO,CAF2B;IAC7D,IAAI,sBAAsB,8DAA4C;IACtE,IAAI,eAAe,CAAC,KAAK,EAAE,OAAO,EAA0C;IAE5E,OAAO,CAAC,aAAa,CAA8B;IACnD,IAAI,YAAY,IAEQ,MAAM,CAFyB;IACvD,IAAI,mBAAmB,4DAAyC;IAChE,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAAuC;IAGrE,OAAO,CAAC,QAAQ,CAAmC;IACnD,IAAI,OAAO,IACQ,GAAG,CADuB;IAC7C,IAAI,OAAO,CAAC,KAAK,EAAE,GAAG,EAAkC;IACxD,IAAI,cAAc,sDAAoC;IAGtD,OAAO,CAAC,SAAS,CAA0C;IAC3D,IAAI,QAAQ,IACQ,OAAO,CADoB;IAC/C,IAAI,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAmC;IAC9D,IAAI,eAAe,8DAAqC;IAE/C,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE;IAU9E;;;;OAIG;IACG,kBAAkB,CAAC,SAAS,EAAE,MAAM;;;IAK1C;;;OAGG;IACG,cAAc;IAUpB;;;OAGG;IACG,eAAe;IAMrB;;OAEG;IACH,OAAO,CAAC,6BAA6B,CAA4D;IAEjG;;;OAGG;IACH,IAAI,4BAA4B,8CAAiD;IAEjF;;;OAGG;IACH,wBAAwB,CAAC,WAAW,EAAE,mBAAmB;IAEzD;;;OAGG;IACG,kBAAkB,CAAC,WAAW,EAAE,mBAAmB;IAIzD;;OAEG;IACH,OAAO,CAAC,mCAAmC,CAA4D;IAEvG;;;OAGG;IACH,IAAI,kCAAkC,8CAAuD;IAE7F;;;OAGG;IACH,8BAA8B,CAAC,WAAW,EAAE,mBAAmB;IAE/D;;;OAGG;IACG,wBAAwB,CAAC,WAAW,EAAE,mBAAmB;IAI/D;;;;;OAKG;IACG,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;;;;IA0B/D;;OAEG;IACH,OAAO,CAAC,iBAAiB,CAA8B;IAEvD;;;OAGG;IACH,IAAI,gBAAgB,IAYQ,MAAM,CAZ6B;IAE/D;;;OAGG;IACH,IAAI,uBAAuB,4DAA6C;IAExE;;;OAGG;IACH,IAAI,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAA2C;IAE7E;;;OAGG;IACG,OAAO;IAUb;;OAEG;IACG,OAAO;IAiBb;;;OAGG;IACH,IAAI,OAAO,WAUV;IAED;;;OAGG;IACH,IAAI,eAAe,WAWlB;IAED;;;OAGG;IACH,IAAI,aAAa,WAUhB;IAED;;;OAGG;gBACS,EAAE,CAAC,EAAE,cAAc;IAkG/B;;;OAGG;IACM,eAAe;;;;;;;;;;CAU3B;AACD;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,YAAY,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,kBAAkB,CAAC,CAAC;CAAI"}
|