@kq_npm/client3d_webgl_vue 3.7.7-beta → 3.9.2-beta
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/adddata/index.js +134 -110
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +22 -3
- package/baseterraingallery/index.js +24 -6
- package/boxclip/index.js +22 -3
- package/clientPrint/index.js +308 -257
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +29 -4
- package/compass/index.js +25 -8
- package/excavatefillanalysis/index.js +22 -3
- package/fixedzoomin/index.js +24 -12
- package/fixedzoomout/index.js +24 -12
- package/flight/index.js +22 -3
- package/floodanalysis/index.js +24 -17
- package/gpuspatialquery/index.js +22 -3
- package/index.js +1110 -605
- package/isolineanalysis/index.js +22 -3
- package/measure/index.js +28 -11
- package/modelselect/index.js +30 -17
- package/package.json +1 -1
- package/particleeffect/index.js +22 -3
- package/planeclip/index.js +22 -3
- package/profileanalysis/index.js +29 -3
- package/resetview/index.js +24 -12
- package/roller/index.js +22 -3
- package/scenceview/index.js +1199 -633
- package/screenshot/index.js +22 -3
- package/shadowanalysis/index.js +23 -5
- package/sightlineanalysis/index.js +22 -3
- package/skylineanalysis/index.js +110 -14
- package/slopeanalysis/index.js +22 -3
- package/statusbar/index.js +102 -8
- package/style.css +1 -1
- package/terrainoperation/index.js +22 -3
- package/underground/index.js +20 -5
- package/viewshedanalysis/index.js +166 -108
- package/weathereffect/index.js +22 -3
package/index.js
CHANGED
|
@@ -90,7 +90,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".coord{background:rgba(42,42,42,.8);bo
|
|
|
90
90
|
|
|
91
91
|
/***/ }),
|
|
92
92
|
|
|
93
|
-
/***/
|
|
93
|
+
/***/ 854:
|
|
94
94
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
95
95
|
|
|
96
96
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
|
|
@@ -813,7 +813,7 @@ class DrawManager {
|
|
|
813
813
|
options.is3D = true;
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
-
if (type
|
|
816
|
+
if (type !== "marker" && type !== "text") {
|
|
817
817
|
//标记组件使用
|
|
818
818
|
if (unionOptions.hasOwnProperty("weight")) {
|
|
819
819
|
unionOptions.width = unionOptions.weight;
|
|
@@ -1717,8 +1717,6 @@ class LayerManager {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
}
|
|
1719
1719
|
}, this);
|
|
1720
|
-
|
|
1721
|
-
this.recordImageryLayerOriginIndex();
|
|
1722
1720
|
});
|
|
1723
1721
|
});
|
|
1724
1722
|
}
|
|
@@ -2278,6 +2276,21 @@ class LayerManager {
|
|
|
2278
2276
|
|
|
2279
2277
|
break;
|
|
2280
2278
|
|
|
2279
|
+
case "tile":
|
|
2280
|
+
layerData.visible = isAdd;
|
|
2281
|
+
layerData.serverType = "imagerylayer";
|
|
2282
|
+
|
|
2283
|
+
if (isAdd) {
|
|
2284
|
+
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.UrlTemplateImageryProvider({
|
|
2285
|
+
name: name,
|
|
2286
|
+
url: url,
|
|
2287
|
+
...params
|
|
2288
|
+
}));
|
|
2289
|
+
layer._guid = layerData.guid;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
break;
|
|
2293
|
+
|
|
2281
2294
|
default:
|
|
2282
2295
|
break;
|
|
2283
2296
|
}
|
|
@@ -2366,7 +2379,6 @@ class LayerManager {
|
|
|
2366
2379
|
that._viewer.imageryLayers.add(imageryLayer);
|
|
2367
2380
|
}
|
|
2368
2381
|
});
|
|
2369
|
-
that.recordImageryLayerOriginIndex();
|
|
2370
2382
|
|
|
2371
2383
|
if (rect) {
|
|
2372
2384
|
that._viewer.camera.flyTo({
|
|
@@ -2437,8 +2449,6 @@ class LayerManager {
|
|
|
2437
2449
|
} else if (visible) {
|
|
2438
2450
|
//如果不存在该图层则添加
|
|
2439
2451
|
if (this._layerListData[i].serverType === "kqserver") {
|
|
2440
|
-
//添加图层之前重置图层顺序
|
|
2441
|
-
this.resetLayerIndex();
|
|
2442
2452
|
var imageryProvider = new Cesium.Kq3dKQGISMapServerImageryProviderExt({
|
|
2443
2453
|
url: this._layerListData[i].url,
|
|
2444
2454
|
ua_token: this._layerListData[i].accessToken,
|
|
@@ -2453,8 +2463,6 @@ class LayerManager {
|
|
|
2453
2463
|
} else {
|
|
2454
2464
|
this._viewer.imageryLayers.add(imageryLayer);
|
|
2455
2465
|
}
|
|
2456
|
-
|
|
2457
|
-
this.recordImageryLayerOriginIndex();
|
|
2458
2466
|
} else if (this._layerListData[i].sourceType) {
|
|
2459
2467
|
var promise = this.addLayerData(this._layerListData[i]);
|
|
2460
2468
|
|
|
@@ -2550,13 +2558,6 @@ class LayerManager {
|
|
|
2550
2558
|
}
|
|
2551
2559
|
|
|
2552
2560
|
return layerAddIndex;
|
|
2553
|
-
} //记录ImageryLayer原始index
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
recordImageryLayerOriginIndex() {
|
|
2557
|
-
this._viewer.imageryLayers._layers.forEach(layer => {
|
|
2558
|
-
layer._originIndex = layer._layerIndex;
|
|
2559
|
-
});
|
|
2560
2561
|
} //通过guid获取图层对象
|
|
2561
2562
|
|
|
2562
2563
|
|
|
@@ -2637,7 +2638,7 @@ class LayerManager {
|
|
|
2637
2638
|
|
|
2638
2639
|
|
|
2639
2640
|
getLayerTreeData() {
|
|
2640
|
-
return
|
|
2641
|
+
return [...this._layerTreeData];
|
|
2641
2642
|
} //是否包含值
|
|
2642
2643
|
|
|
2643
2644
|
|
|
@@ -2846,6 +2847,32 @@ class LayerManager {
|
|
|
2846
2847
|
this._viewer.imageryLayers.lower(layer);
|
|
2847
2848
|
}
|
|
2848
2849
|
}
|
|
2850
|
+
}
|
|
2851
|
+
/**
|
|
2852
|
+
* 根据传入的guid数组 给imageryLayer图层重新排序
|
|
2853
|
+
* 图层树拖动树节点功能需求实现
|
|
2854
|
+
* @param {array} guids guid数组
|
|
2855
|
+
*/
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
sortLayerZIndexByGuids(guids) {
|
|
2859
|
+
let layerListDataNew = [];
|
|
2860
|
+
|
|
2861
|
+
for (let i = guids.length - 1; i >= 0; i--) {
|
|
2862
|
+
let layer = this.getLayerByGuid(guids[i]);
|
|
2863
|
+
|
|
2864
|
+
if (layer && layer instanceof Cesium.ImageryLayer) {
|
|
2865
|
+
this._viewer.imageryLayers.raiseToTop(layer);
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
var layerData = this._layerListData.find(item => {
|
|
2869
|
+
return item.guid === guids[i];
|
|
2870
|
+
});
|
|
2871
|
+
|
|
2872
|
+
if (layerData) layerListDataNew.push(layerData);
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
this._layerListData = layerListDataNew;
|
|
2849
2876
|
} //重置图层顺序
|
|
2850
2877
|
|
|
2851
2878
|
|
|
@@ -2922,12 +2949,6 @@ class LayerManager {
|
|
|
2922
2949
|
}
|
|
2923
2950
|
}
|
|
2924
2951
|
|
|
2925
|
-
if (layer.serverType === "imagerylayer") {
|
|
2926
|
-
this._viewer.imageryLayers._layers.forEach(layer => {
|
|
2927
|
-
if (!layer._originIndex) layer._originIndex = layer._layerIndex;
|
|
2928
|
-
});
|
|
2929
|
-
}
|
|
2930
|
-
|
|
2931
2952
|
this._scenceView.fire("resetLayerDatas");
|
|
2932
2953
|
} //设置地形
|
|
2933
2954
|
|
|
@@ -3144,14 +3165,14 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
3144
3165
|
//绘制管理对象
|
|
3145
3166
|
//图层管理对象
|
|
3146
3167
|
//底图集合
|
|
3147
|
-
constructor(props,
|
|
3168
|
+
constructor(props, lang) {
|
|
3148
3169
|
super();
|
|
3149
3170
|
|
|
3150
3171
|
_defineProperty(this, "_viewerId", "");
|
|
3151
3172
|
|
|
3152
3173
|
_defineProperty(this, "_viewer", null);
|
|
3153
3174
|
|
|
3154
|
-
_defineProperty(this, "
|
|
3175
|
+
_defineProperty(this, "_lang", null);
|
|
3155
3176
|
|
|
3156
3177
|
_defineProperty(this, "_drawManager", null);
|
|
3157
3178
|
|
|
@@ -3165,7 +3186,8 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
3165
3186
|
|
|
3166
3187
|
this._viewerId = props.target;
|
|
3167
3188
|
this._props = props;
|
|
3168
|
-
this.
|
|
3189
|
+
this._lang = lang;
|
|
3190
|
+
this._language = lang.language;
|
|
3169
3191
|
} //初始化三维球
|
|
3170
3192
|
|
|
3171
3193
|
|
|
@@ -3184,7 +3206,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
3184
3206
|
navigation: false,
|
|
3185
3207
|
sceneModePicker: false,
|
|
3186
3208
|
infoBox: false,
|
|
3187
|
-
|
|
3209
|
+
languageStyle: this._lang.type == 'zh' ? 'zh-CN' : 'en',
|
|
3188
3210
|
navigationHelpButton: false
|
|
3189
3211
|
};
|
|
3190
3212
|
|
|
@@ -3222,7 +3244,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
3222
3244
|
|
|
3223
3245
|
initManagerClass() {
|
|
3224
3246
|
if (this._viewer) {
|
|
3225
|
-
this._drawManager = new DrawManager(this._viewer, this.
|
|
3247
|
+
this._drawManager = new DrawManager(this._viewer, this._lang.language);
|
|
3226
3248
|
this._layerManager = new LayerManager(this);
|
|
3227
3249
|
}
|
|
3228
3250
|
} //销毁
|
|
@@ -3331,7 +3353,6 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
3331
3353
|
break;
|
|
3332
3354
|
|
|
3333
3355
|
case "tile":
|
|
3334
|
-
//console.log("tile,123");
|
|
3335
3356
|
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.UrlTemplateImageryProvider({
|
|
3336
3357
|
url: layerConfig.url,
|
|
3337
3358
|
minimumLevel: layerConfig.minZoom,
|
|
@@ -3690,9 +3711,13 @@ const __default__ = {
|
|
|
3690
3711
|
|
|
3691
3712
|
let _lang = proxy.$i18n.locale;
|
|
3692
3713
|
let _language = proxy.$i18n.messages[_lang]["webgl"];
|
|
3693
|
-
language.value = _language;
|
|
3714
|
+
language.value = _language;
|
|
3715
|
+
let lang = {
|
|
3716
|
+
type: _lang,
|
|
3717
|
+
language: _language
|
|
3718
|
+
}; //初始化逻辑类
|
|
3694
3719
|
|
|
3695
|
-
viewModel = new ScenceViewViewModel(props,
|
|
3720
|
+
viewModel = new ScenceViewViewModel(props, lang);
|
|
3696
3721
|
viewModel.initViewer();
|
|
3697
3722
|
});
|
|
3698
3723
|
/**
|
|
@@ -3841,11 +3866,14 @@ class FixedZoomout3dViewModel {
|
|
|
3841
3866
|
}
|
|
3842
3867
|
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
3843
3868
|
var gis_utils_namespaceObject = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
3869
|
+
;// CONCATENATED MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
3870
|
+
var vue_i18n_cjs_js_namespaceObject = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
3844
3871
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
|
|
3845
3872
|
|
|
3846
3873
|
|
|
3847
3874
|
|
|
3848
3875
|
|
|
3876
|
+
|
|
3849
3877
|
// 获取组件传参
|
|
3850
3878
|
|
|
3851
3879
|
const FixedZoomoutvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -3855,15 +3883,10 @@ const FixedZoomoutvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3855
3883
|
props: {
|
|
3856
3884
|
// 指定组件绑定的scence对象的div的id
|
|
3857
3885
|
mapTarget: String,
|
|
3858
|
-
//
|
|
3859
|
-
|
|
3886
|
+
// 组件大小
|
|
3887
|
+
size: {
|
|
3860
3888
|
type: Number,
|
|
3861
|
-
default:
|
|
3862
|
-
},
|
|
3863
|
-
// 按钮大小
|
|
3864
|
-
buttonSize: {
|
|
3865
|
-
type: String,
|
|
3866
|
-
default: "32px"
|
|
3889
|
+
default: 32
|
|
3867
3890
|
},
|
|
3868
3891
|
showShadow: {
|
|
3869
3892
|
type: Boolean,
|
|
@@ -3875,11 +3898,18 @@ const FixedZoomoutvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3875
3898
|
const props = __props;
|
|
3876
3899
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
3877
3900
|
let viewModel = null;
|
|
3878
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
3901
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 国际化
|
|
3902
|
+
|
|
3903
|
+
let {
|
|
3904
|
+
locale,
|
|
3905
|
+
messages
|
|
3906
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
3907
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
3908
|
+
language.value = messages.value[newVal]["webgl"];
|
|
3909
|
+
});
|
|
3879
3910
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
3880
3911
|
gis_utils_namespaceObject.utils.getWebMap(props.mapTarget, scenceView => {
|
|
3881
3912
|
if (scenceView) {
|
|
3882
|
-
language.value = scenceView._language;
|
|
3883
3913
|
viewModel = new FixedZoomout3dViewModel(scenceView._viewer);
|
|
3884
3914
|
}
|
|
3885
3915
|
});
|
|
@@ -3903,10 +3933,10 @@ const FixedZoomoutvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3903
3933
|
ref_key: "btn",
|
|
3904
3934
|
ref: btn,
|
|
3905
3935
|
onClick: btnClick,
|
|
3906
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('width:' + __props.
|
|
3936
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
3907
3937
|
}, {
|
|
3908
3938
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
|
|
3909
|
-
size: __props.
|
|
3939
|
+
size: __props.size / 2
|
|
3910
3940
|
}, {
|
|
3911
3941
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Plus))]),
|
|
3912
3942
|
_: 1
|
|
@@ -4017,6 +4047,7 @@ class FixedZoomin3dViewModel {
|
|
|
4017
4047
|
|
|
4018
4048
|
|
|
4019
4049
|
|
|
4050
|
+
|
|
4020
4051
|
// 获取组件传参
|
|
4021
4052
|
|
|
4022
4053
|
const FixedZoominvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -4026,15 +4057,10 @@ const FixedZoominvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4026
4057
|
props: {
|
|
4027
4058
|
// 指定组件绑定的scence对象的div的id
|
|
4028
4059
|
mapTarget: String,
|
|
4029
|
-
//
|
|
4030
|
-
|
|
4060
|
+
// 组件大小
|
|
4061
|
+
size: {
|
|
4031
4062
|
type: Number,
|
|
4032
|
-
default:
|
|
4033
|
-
},
|
|
4034
|
-
// 按钮大小
|
|
4035
|
-
buttonSize: {
|
|
4036
|
-
type: String,
|
|
4037
|
-
default: "32px"
|
|
4063
|
+
default: 32
|
|
4038
4064
|
},
|
|
4039
4065
|
showShadow: {
|
|
4040
4066
|
type: Boolean,
|
|
@@ -4046,11 +4072,18 @@ const FixedZoominvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4046
4072
|
const props = __props;
|
|
4047
4073
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
4048
4074
|
let viewModel = null;
|
|
4049
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
4075
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 国际化
|
|
4076
|
+
|
|
4077
|
+
let {
|
|
4078
|
+
locale,
|
|
4079
|
+
messages
|
|
4080
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
4081
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
4082
|
+
language.value = messages.value[newVal]["webgl"];
|
|
4083
|
+
});
|
|
4050
4084
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
4051
4085
|
gis_utils_namespaceObject.utils.getWebMap(props.mapTarget, scenceView => {
|
|
4052
4086
|
if (scenceView) {
|
|
4053
|
-
language.value = scenceView._language;
|
|
4054
4087
|
viewModel = new FixedZoomin3dViewModel(scenceView._viewer);
|
|
4055
4088
|
}
|
|
4056
4089
|
});
|
|
@@ -4074,10 +4107,10 @@ const FixedZoominvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4074
4107
|
ref_key: "btn",
|
|
4075
4108
|
ref: btn,
|
|
4076
4109
|
onClick: btnClick,
|
|
4077
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('width:' + __props.
|
|
4110
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
4078
4111
|
}, {
|
|
4079
4112
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
|
|
4080
|
-
size: __props.
|
|
4113
|
+
size: __props.size / 2
|
|
4081
4114
|
}, {
|
|
4082
4115
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Minus))]),
|
|
4083
4116
|
_: 1
|
|
@@ -4138,6 +4171,7 @@ class ResetViewViewModel {
|
|
|
4138
4171
|
|
|
4139
4172
|
|
|
4140
4173
|
|
|
4174
|
+
|
|
4141
4175
|
// 获取组件传参
|
|
4142
4176
|
|
|
4143
4177
|
const ResetViewvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -4147,15 +4181,10 @@ const ResetViewvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4147
4181
|
props: {
|
|
4148
4182
|
// 指定组件绑定的scence对象的div的id
|
|
4149
4183
|
mapTarget: String,
|
|
4150
|
-
//
|
|
4151
|
-
|
|
4184
|
+
// 组件大小
|
|
4185
|
+
size: {
|
|
4152
4186
|
type: Number,
|
|
4153
|
-
default:
|
|
4154
|
-
},
|
|
4155
|
-
// 按钮大小
|
|
4156
|
-
buttonSize: {
|
|
4157
|
-
type: String,
|
|
4158
|
-
default: "32px"
|
|
4187
|
+
default: 32
|
|
4159
4188
|
},
|
|
4160
4189
|
showShadow: {
|
|
4161
4190
|
type: Boolean,
|
|
@@ -4167,11 +4196,18 @@ const ResetViewvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4167
4196
|
const props = __props;
|
|
4168
4197
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
4169
4198
|
let viewModel = null;
|
|
4170
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
4199
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 国际化
|
|
4200
|
+
|
|
4201
|
+
let {
|
|
4202
|
+
locale,
|
|
4203
|
+
messages
|
|
4204
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
4205
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
4206
|
+
language.value = messages.value[newVal]["webgl"];
|
|
4207
|
+
});
|
|
4171
4208
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
4172
4209
|
gis_utils_namespaceObject.utils.getWebMap(props.mapTarget, scenceView => {
|
|
4173
4210
|
if (scenceView) {
|
|
4174
|
-
language.value = scenceView._language;
|
|
4175
4211
|
viewModel = new ResetViewViewModel(scenceView._viewer);
|
|
4176
4212
|
}
|
|
4177
4213
|
});
|
|
@@ -4195,10 +4231,10 @@ const ResetViewvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4195
4231
|
}]),
|
|
4196
4232
|
onClick: btnClick,
|
|
4197
4233
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).resetView,
|
|
4198
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('width:' + __props.
|
|
4234
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
4199
4235
|
}, {
|
|
4200
4236
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
|
|
4201
|
-
size: __props.
|
|
4237
|
+
size: __props.size / 2
|
|
4202
4238
|
}, {
|
|
4203
4239
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.RefreshLeft))]),
|
|
4204
4240
|
_: 1
|
|
@@ -4304,6 +4340,7 @@ class CompassViewModel {
|
|
|
4304
4340
|
|
|
4305
4341
|
|
|
4306
4342
|
|
|
4343
|
+
|
|
4307
4344
|
// 获取组件传参
|
|
4308
4345
|
|
|
4309
4346
|
const Compassvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -4318,10 +4355,10 @@ const Compassvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4318
4355
|
type: Number,
|
|
4319
4356
|
default: 16
|
|
4320
4357
|
},
|
|
4321
|
-
//
|
|
4322
|
-
|
|
4323
|
-
type:
|
|
4324
|
-
default:
|
|
4358
|
+
// 组件大小
|
|
4359
|
+
size: {
|
|
4360
|
+
type: Number,
|
|
4361
|
+
default: 32
|
|
4325
4362
|
},
|
|
4326
4363
|
showShadow: {
|
|
4327
4364
|
type: Boolean,
|
|
@@ -4333,11 +4370,18 @@ const Compassvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4333
4370
|
const props = __props;
|
|
4334
4371
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
4335
4372
|
let viewModel = null;
|
|
4336
|
-
let heading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(0);
|
|
4373
|
+
let heading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(0); // 国际化
|
|
4374
|
+
|
|
4375
|
+
let {
|
|
4376
|
+
locale,
|
|
4377
|
+
messages
|
|
4378
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
4379
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
4380
|
+
language.value = messages.value[newVal]["webgl"];
|
|
4381
|
+
});
|
|
4337
4382
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
4338
4383
|
gis_utils_namespaceObject.utils.getWebMap(props.mapTarget, scenceView => {
|
|
4339
4384
|
if (scenceView) {
|
|
4340
|
-
language.value = scenceView._language;
|
|
4341
4385
|
viewModel = new CompassViewModel(scenceView._viewer); //绑定指南针事件
|
|
4342
4386
|
|
|
4343
4387
|
viewModel.bindCompassEvent(heading);
|
|
@@ -4364,10 +4408,10 @@ const Compassvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4364
4408
|
'kq-light-shadow': __props.showShadow
|
|
4365
4409
|
}]),
|
|
4366
4410
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).resetOrientation,
|
|
4367
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('clip-path: circle(50%);width:' + __props.
|
|
4411
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('clip-path: circle(50%);width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
4368
4412
|
}, {
|
|
4369
4413
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
|
|
4370
|
-
size: __props.
|
|
4414
|
+
size: __props.size / 2,
|
|
4371
4415
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(heading) + 'rad);-webkit-transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(heading) + 'rad)')
|
|
4372
4416
|
}, {
|
|
4373
4417
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(client_icons_vue_namespaceObject.IconCompass3D))]),
|
|
@@ -4423,25 +4467,15 @@ const ClientPrintvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
4423
4467
|
const ClientPrintvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
4424
4468
|
class: "setting-box-btn"
|
|
4425
4469
|
};
|
|
4426
|
-
|
|
4427
|
-
const ClientPrintvue_type_script_setup_true_lang_js_hoisted_3 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", {
|
|
4470
|
+
const ClientPrintvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
4428
4471
|
class: "title"
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
|
-
);
|
|
4432
|
-
|
|
4433
|
-
const ClientPrintvue_type_script_setup_true_lang_js_hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", {
|
|
4472
|
+
};
|
|
4473
|
+
const ClientPrintvue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
4434
4474
|
class: "title"
|
|
4435
|
-
}
|
|
4436
|
-
|
|
4437
|
-
);
|
|
4438
|
-
|
|
4439
|
-
const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", {
|
|
4475
|
+
};
|
|
4476
|
+
const _hoisted_5 = {
|
|
4440
4477
|
class: "title"
|
|
4441
|
-
}
|
|
4442
|
-
/* HOISTED */
|
|
4443
|
-
);
|
|
4444
|
-
|
|
4478
|
+
};
|
|
4445
4479
|
const _hoisted_6 = {
|
|
4446
4480
|
class: "select-content-inner"
|
|
4447
4481
|
};
|
|
@@ -4450,23 +4484,15 @@ const _hoisted_7 = {
|
|
|
4450
4484
|
"text-align": "right"
|
|
4451
4485
|
}
|
|
4452
4486
|
};
|
|
4453
|
-
|
|
4454
|
-
const _hoisted_8 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", {
|
|
4487
|
+
const _hoisted_8 = {
|
|
4455
4488
|
class: "title"
|
|
4456
|
-
}
|
|
4457
|
-
/* HOISTED */
|
|
4458
|
-
);
|
|
4459
|
-
|
|
4489
|
+
};
|
|
4460
4490
|
const _hoisted_9 = {
|
|
4461
4491
|
class: "select-layer-content"
|
|
4462
4492
|
};
|
|
4463
|
-
|
|
4464
|
-
const _hoisted_10 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", {
|
|
4493
|
+
const _hoisted_10 = {
|
|
4465
4494
|
class: "title"
|
|
4466
|
-
}
|
|
4467
|
-
/* HOISTED */
|
|
4468
|
-
);
|
|
4469
|
-
|
|
4495
|
+
};
|
|
4470
4496
|
const _hoisted_11 = {
|
|
4471
4497
|
class: "select-content-inner"
|
|
4472
4498
|
};
|
|
@@ -4478,43 +4504,41 @@ const _hoisted_12 = {
|
|
|
4478
4504
|
const _hoisted_13 = {
|
|
4479
4505
|
class: "clientprint-title"
|
|
4480
4506
|
};
|
|
4481
|
-
|
|
4482
|
-
const _hoisted_14 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", {
|
|
4507
|
+
const _hoisted_14 = {
|
|
4483
4508
|
class: "title"
|
|
4484
|
-
}
|
|
4485
|
-
/* HOISTED */
|
|
4486
|
-
);
|
|
4487
|
-
|
|
4509
|
+
};
|
|
4488
4510
|
const _hoisted_15 = {
|
|
4489
4511
|
class: "select-content-inner"
|
|
4490
4512
|
};
|
|
4491
|
-
const _hoisted_16 =
|
|
4513
|
+
const _hoisted_16 = ["placeholder"];
|
|
4514
|
+
const _hoisted_17 = {
|
|
4492
4515
|
class: "btn"
|
|
4493
4516
|
};
|
|
4494
|
-
const
|
|
4517
|
+
const _hoisted_18 = {
|
|
4495
4518
|
class: "show-right-box-btn"
|
|
4496
4519
|
};
|
|
4497
|
-
const
|
|
4520
|
+
const _hoisted_19 = {
|
|
4498
4521
|
class: "btn-group"
|
|
4499
4522
|
};
|
|
4500
|
-
const
|
|
4523
|
+
const _hoisted_20 = {
|
|
4501
4524
|
class: "kq3d-client-print-titleContainerDiv"
|
|
4502
4525
|
};
|
|
4503
|
-
const
|
|
4526
|
+
const _hoisted_21 = {
|
|
4504
4527
|
class: "baseImage"
|
|
4505
4528
|
};
|
|
4506
|
-
const
|
|
4507
|
-
const
|
|
4508
|
-
const
|
|
4509
|
-
const _hoisted_24 = {
|
|
4510
|
-
class: "kq3d-client-print-infomationContainer"
|
|
4511
|
-
};
|
|
4529
|
+
const _hoisted_22 = ["src"];
|
|
4530
|
+
const _hoisted_23 = ["id"];
|
|
4531
|
+
const _hoisted_24 = ["onClick"];
|
|
4512
4532
|
const _hoisted_25 = {
|
|
4513
|
-
class: "kq3d-client-print-
|
|
4533
|
+
class: "kq3d-client-print-infomationContainer"
|
|
4514
4534
|
};
|
|
4515
4535
|
const _hoisted_26 = {
|
|
4516
4536
|
class: "kq3d-client-print-companyName"
|
|
4517
4537
|
};
|
|
4538
|
+
const _hoisted_27 = {
|
|
4539
|
+
class: "kq3d-client-print-systemTime"
|
|
4540
|
+
};
|
|
4541
|
+
|
|
4518
4542
|
|
|
4519
4543
|
|
|
4520
4544
|
|
|
@@ -4529,13 +4553,11 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4529
4553
|
mapTarget: String,
|
|
4530
4554
|
//打印标题
|
|
4531
4555
|
printTitle: {
|
|
4532
|
-
type: String
|
|
4533
|
-
default: "XXXX一张图"
|
|
4556
|
+
type: String
|
|
4534
4557
|
},
|
|
4535
4558
|
//打印显示的公司名
|
|
4536
4559
|
companyName: {
|
|
4537
|
-
type: String
|
|
4538
|
-
default: "苍穹数码技术股份有限公司"
|
|
4560
|
+
type: String
|
|
4539
4561
|
},
|
|
4540
4562
|
// 是否显示阴影
|
|
4541
4563
|
showShadow: {
|
|
@@ -4584,28 +4606,29 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4584
4606
|
setup(__props, {
|
|
4585
4607
|
expose
|
|
4586
4608
|
}) {
|
|
4587
|
-
const props = __props;
|
|
4588
|
-
|
|
4609
|
+
const props = __props;
|
|
4610
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
4611
|
+
let {
|
|
4612
|
+
locale,
|
|
4613
|
+
messages
|
|
4614
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)(); //国际化
|
|
4615
|
+
|
|
4616
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
4617
|
+
language.value = messages.value[newVal]["webgl"];
|
|
4618
|
+
companyName.value = props.companyName || language.value.comapanyname;
|
|
4619
|
+
systemTime.value = newVal == 'zh' ? getSystemIime() : getSystemEnTime();
|
|
4620
|
+
printObj.value.popTitle = language.value.print;
|
|
4621
|
+
});
|
|
4589
4622
|
let setTitleDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({
|
|
4590
4623
|
style: {
|
|
4591
4624
|
fontSize: "18px",
|
|
4592
|
-
fontFamily: "
|
|
4625
|
+
fontFamily: "Microsoft YaHei",
|
|
4593
4626
|
color: "rgba(0, 0, 0)",
|
|
4594
4627
|
textarea: "",
|
|
4595
4628
|
backgroundColor: "",
|
|
4596
4629
|
padding: "5px",
|
|
4597
4630
|
borderRadius: "3px",
|
|
4598
|
-
shadowShowBg: "red"
|
|
4599
|
-
fontFamilys: [{
|
|
4600
|
-
value: "微软雅黑",
|
|
4601
|
-
label: "微软雅黑"
|
|
4602
|
-
}, {
|
|
4603
|
-
value: "新宋体",
|
|
4604
|
-
label: "新宋体"
|
|
4605
|
-
}, {
|
|
4606
|
-
value: "楷体",
|
|
4607
|
-
label: "楷体"
|
|
4608
|
-
}]
|
|
4631
|
+
shadowShowBg: "red"
|
|
4609
4632
|
},
|
|
4610
4633
|
data: {
|
|
4611
4634
|
title: "",
|
|
@@ -4617,22 +4640,12 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4617
4640
|
let setLabelDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({
|
|
4618
4641
|
style: {
|
|
4619
4642
|
fontSize: "18px",
|
|
4620
|
-
fontFamily: "
|
|
4643
|
+
fontFamily: "Microsoft YaHei",
|
|
4621
4644
|
color: "#000000",
|
|
4622
4645
|
width: "100%",
|
|
4623
4646
|
resize: "none",
|
|
4624
4647
|
height: "96px",
|
|
4625
|
-
border: "solid 1px #dcdee2"
|
|
4626
|
-
fontFamilys: [{
|
|
4627
|
-
value: "微软雅黑",
|
|
4628
|
-
label: "微软雅黑"
|
|
4629
|
-
}, {
|
|
4630
|
-
value: "新宋体",
|
|
4631
|
-
label: "新宋体"
|
|
4632
|
-
}, {
|
|
4633
|
-
value: "楷体",
|
|
4634
|
-
label: "楷体"
|
|
4635
|
-
}]
|
|
4648
|
+
border: "solid 1px #dcdee2"
|
|
4636
4649
|
},
|
|
4637
4650
|
data: {
|
|
4638
4651
|
labelValue: ""
|
|
@@ -4664,55 +4677,38 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4664
4677
|
|
|
4665
4678
|
let isShowText = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(false); // 边框样式
|
|
4666
4679
|
|
|
4667
|
-
let borderStyleValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(
|
|
4668
|
-
|
|
4669
|
-
let borderStyleData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)([{
|
|
4670
|
-
value: "printborder1",
|
|
4671
|
-
label: "模板一"
|
|
4672
|
-
}, {
|
|
4673
|
-
value: "printborder2",
|
|
4674
|
-
label: "模板二"
|
|
4675
|
-
}, {
|
|
4676
|
-
value: "printborder3",
|
|
4677
|
-
label: "模板三"
|
|
4678
|
-
}, {
|
|
4679
|
-
value: "printborder4",
|
|
4680
|
-
label: "模板四"
|
|
4681
|
-
}, {
|
|
4682
|
-
value: "printborder5",
|
|
4683
|
-
label: "模板五"
|
|
4684
|
-
}]); // 纸张设置
|
|
4680
|
+
let borderStyleValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 纸张设置
|
|
4685
4681
|
|
|
4686
4682
|
let sizeData = [[{
|
|
4687
4683
|
f: "A2",
|
|
4688
|
-
a: "
|
|
4684
|
+
a: "portrait"
|
|
4689
4685
|
}, "a2VSize"], [{
|
|
4690
4686
|
f: "A3",
|
|
4691
|
-
a: "
|
|
4687
|
+
a: "portrait"
|
|
4692
4688
|
}, "a3VSize"], [{
|
|
4693
4689
|
f: "A4",
|
|
4694
|
-
a: "
|
|
4690
|
+
a: "portrait"
|
|
4695
4691
|
}, "a4VSize"], [{
|
|
4696
4692
|
f: "A5",
|
|
4697
|
-
a: "
|
|
4693
|
+
a: "portrait"
|
|
4698
4694
|
}, "a5VSize"], [{
|
|
4699
4695
|
f: "A6",
|
|
4700
|
-
a: "
|
|
4696
|
+
a: "portrait"
|
|
4701
4697
|
}, "a6VSize"], [{
|
|
4702
4698
|
f: "A2",
|
|
4703
|
-
a: "
|
|
4699
|
+
a: "landscape"
|
|
4704
4700
|
}, "a2HSize"], [{
|
|
4705
4701
|
f: "A3",
|
|
4706
|
-
a: "
|
|
4702
|
+
a: "landscape"
|
|
4707
4703
|
}, "a3HSize"], [{
|
|
4708
4704
|
f: "A4",
|
|
4709
|
-
a: "
|
|
4705
|
+
a: "landscape"
|
|
4710
4706
|
}, "a4HSize"], [{
|
|
4711
4707
|
f: "A5",
|
|
4712
|
-
a: "
|
|
4708
|
+
a: "landscape"
|
|
4713
4709
|
}, "a5HSize"], [{
|
|
4714
4710
|
f: "A6",
|
|
4715
|
-
a: "
|
|
4711
|
+
a: "landscape"
|
|
4716
4712
|
}, "a6HSize"]]; // 字体大小
|
|
4717
4713
|
|
|
4718
4714
|
let sizelist = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)([]); // 纸张类型
|
|
@@ -4720,7 +4716,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4720
4716
|
let papForm = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("A4"); // 默认
|
|
4721
4717
|
// 纸张方向
|
|
4722
4718
|
|
|
4723
|
-
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(
|
|
4719
|
+
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 默认
|
|
4724
4720
|
// 图片格式
|
|
4725
4721
|
|
|
4726
4722
|
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("png"); //图例对象
|
|
@@ -4750,7 +4746,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4750
4746
|
|
|
4751
4747
|
let printObj = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({
|
|
4752
4748
|
id: "printMap",
|
|
4753
|
-
popTitle: "
|
|
4749
|
+
popTitle: "",
|
|
4754
4750
|
|
|
4755
4751
|
beforeOpenCallback() {
|
|
4756
4752
|
printState.value = true;
|
|
@@ -4769,8 +4765,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4769
4765
|
|
|
4770
4766
|
global_event_default().setDefaultMapInfo("scencePrint", "cesium", null);
|
|
4771
4767
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
4772
|
-
setTitleDataform.value.data.title = props.printTitle;
|
|
4773
|
-
|
|
4768
|
+
setTitleDataform.value.data.title = props.printTitle || language.value.oneimage;
|
|
4769
|
+
papAnchor.value = "portrait";
|
|
4770
|
+
borderStyleValue.value = "printborder1";
|
|
4774
4771
|
sizelist.value = [];
|
|
4775
4772
|
|
|
4776
4773
|
for (let i = 15; i <= 32; i++) {
|
|
@@ -4778,9 +4775,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4778
4775
|
sizelist.value.push(i);
|
|
4779
4776
|
}
|
|
4780
4777
|
|
|
4781
|
-
setLabelData.value = [];
|
|
4782
|
-
|
|
4783
|
-
systemTime.value = getSystemIime();
|
|
4778
|
+
setLabelData.value = [];
|
|
4784
4779
|
initControl();
|
|
4785
4780
|
global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
|
|
4786
4781
|
if (scenceView && scenceView._viewer) {
|
|
@@ -4848,6 +4843,32 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4848
4843
|
|
|
4849
4844
|
return yearCNStr + nonthCNStr + dayCNStr;
|
|
4850
4845
|
}
|
|
4846
|
+
/**
|
|
4847
|
+
* 获取当前时间(英文)
|
|
4848
|
+
* @returns {string}
|
|
4849
|
+
*/
|
|
4850
|
+
|
|
4851
|
+
|
|
4852
|
+
function getSystemEnTime() {
|
|
4853
|
+
var dt = new Date();
|
|
4854
|
+
var m = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Spt", "Oct", "Nov", "Dec");
|
|
4855
|
+
var d = new Array("st", "nd", "rd", "th");
|
|
4856
|
+
var mn = dt.getMonth();
|
|
4857
|
+
var dn = dt.getDate();
|
|
4858
|
+
var dns;
|
|
4859
|
+
|
|
4860
|
+
if (dn % 10 < 1 || dn % 10 > 3) {
|
|
4861
|
+
dns = d[3];
|
|
4862
|
+
} else {
|
|
4863
|
+
dns = d[dn % 10 - 1];
|
|
4864
|
+
|
|
4865
|
+
if (dn == 11 || dn == 12) {
|
|
4866
|
+
dns = d[3];
|
|
4867
|
+
}
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4870
|
+
return m[mn] + " " + dn + dns + "," + dt.getFullYear();
|
|
4871
|
+
}
|
|
4851
4872
|
|
|
4852
4873
|
function changStatusBar() {
|
|
4853
4874
|
if (printViewer) printViewer.statusBar.show = scalesShow.value;
|
|
@@ -5337,23 +5358,13 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5337
5358
|
// 标题的数据
|
|
5338
5359
|
style: {
|
|
5339
5360
|
fontSize: "18px",
|
|
5340
|
-
fontFamily: "
|
|
5361
|
+
fontFamily: "Microsoft YaHei",
|
|
5341
5362
|
color: "rgba(0, 0, 0)",
|
|
5342
5363
|
textarea: "",
|
|
5343
5364
|
backgroundColor: "",
|
|
5344
5365
|
padding: "5px",
|
|
5345
5366
|
borderRadius: "3px",
|
|
5346
|
-
shadowShowBg: "red"
|
|
5347
|
-
fontFamilys: [{
|
|
5348
|
-
value: "微软雅黑",
|
|
5349
|
-
label: "微软雅黑"
|
|
5350
|
-
}, {
|
|
5351
|
-
value: "新宋体",
|
|
5352
|
-
label: "新宋体"
|
|
5353
|
-
}, {
|
|
5354
|
-
value: "楷体",
|
|
5355
|
-
label: "楷体"
|
|
5356
|
-
}]
|
|
5367
|
+
shadowShowBg: "red"
|
|
5357
5368
|
},
|
|
5358
5369
|
data: {
|
|
5359
5370
|
title: "",
|
|
@@ -5365,22 +5376,12 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5365
5376
|
// 文本的数据
|
|
5366
5377
|
style: {
|
|
5367
5378
|
fontSize: "18px",
|
|
5368
|
-
fontFamily: "
|
|
5379
|
+
fontFamily: "Microsoft YaHei",
|
|
5369
5380
|
color: "#000000",
|
|
5370
5381
|
width: "216px",
|
|
5371
5382
|
resize: "none",
|
|
5372
5383
|
height: "96px",
|
|
5373
|
-
border: "solid 1px #dcdee2"
|
|
5374
|
-
fontFamilys: [{
|
|
5375
|
-
value: "微软雅黑",
|
|
5376
|
-
label: "微软雅黑"
|
|
5377
|
-
}, {
|
|
5378
|
-
value: "新宋体",
|
|
5379
|
-
label: "新宋体"
|
|
5380
|
-
}, {
|
|
5381
|
-
value: "楷体",
|
|
5382
|
-
label: "楷体"
|
|
5383
|
-
}]
|
|
5384
|
+
border: "solid 1px #dcdee2"
|
|
5384
5385
|
},
|
|
5385
5386
|
data: {
|
|
5386
5387
|
labelValue: ""
|
|
@@ -5483,7 +5484,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5483
5484
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" 图层选择-bar "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
|
|
5484
5485
|
class: "select-layer-bar bar",
|
|
5485
5486
|
onClick: _cache[2] || (_cache[2] = $event => setShowChange('layer'))
|
|
5486
|
-
}, [ClientPrintvue_type_script_setup_true_lang_js_hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.
|
|
5487
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", ClientPrintvue_type_script_setup_true_lang_js_hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).layerSelect), 1
|
|
5488
|
+
/* TEXT */
|
|
5489
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, null, {
|
|
5487
5490
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.ArrowRight))]),
|
|
5488
5491
|
_: 1
|
|
5489
5492
|
/* STABLE */
|
|
@@ -5491,7 +5494,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5491
5494
|
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
|
|
5492
5495
|
class: "select-layer-bar bar select-layer-margin",
|
|
5493
5496
|
onClick: _cache[3] || (_cache[3] = $event => setShowChange('title'))
|
|
5494
|
-
}, [ClientPrintvue_type_script_setup_true_lang_js_hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.
|
|
5497
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", ClientPrintvue_type_script_setup_true_lang_js_hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).titlesetting), 1
|
|
5498
|
+
/* TEXT */
|
|
5499
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, null, {
|
|
5495
5500
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.ArrowRight))]),
|
|
5496
5501
|
_: 1
|
|
5497
5502
|
/* STABLE */
|
|
@@ -5499,7 +5504,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5499
5504
|
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
|
|
5500
5505
|
class: "select-layer-bar bar select-layer-margin",
|
|
5501
5506
|
onClick: _cache[4] || (_cache[4] = $event => setShowChange('text'))
|
|
5502
|
-
}, [_hoisted_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.
|
|
5507
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", _hoisted_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).addtext), 1
|
|
5508
|
+
/* TEXT */
|
|
5509
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, null, {
|
|
5503
5510
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.ArrowRight))]),
|
|
5504
5511
|
_: 1
|
|
5505
5512
|
/* STABLE */
|
|
@@ -5512,7 +5519,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5512
5519
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_collapse_item, {
|
|
5513
5520
|
name: "1"
|
|
5514
5521
|
}, {
|
|
5515
|
-
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
5522
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).pageetting) + " ", 1
|
|
5523
|
+
/* TEXT */
|
|
5524
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
|
|
5516
5525
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeClass)(["header-icon", activeNames.value.includes('1') ? 'is-active' : null])
|
|
5517
5526
|
}, {
|
|
5518
5527
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.CaretRight))]),
|
|
@@ -5532,7 +5541,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5532
5541
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.isRef)(legendShow) ? legendShow.value = $event : legendShow = $event),
|
|
5533
5542
|
onChange: showLegend
|
|
5534
5543
|
}, {
|
|
5535
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
5544
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printlegend), 1
|
|
5545
|
+
/* TEXT */
|
|
5546
|
+
)]),
|
|
5536
5547
|
_: 1
|
|
5537
5548
|
/* STABLE */
|
|
5538
5549
|
|
|
@@ -5550,7 +5561,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5550
5561
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(compassShow),
|
|
5551
5562
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.isRef)(compassShow) ? compassShow.value = $event : compassShow = $event)
|
|
5552
5563
|
}, {
|
|
5553
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
5564
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printcompass), 1
|
|
5565
|
+
/* TEXT */
|
|
5566
|
+
)]),
|
|
5554
5567
|
_: 1
|
|
5555
5568
|
/* STABLE */
|
|
5556
5569
|
|
|
@@ -5569,7 +5582,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5569
5582
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.isRef)(scalesShow) ? scalesShow.value = $event : scalesShow = $event),
|
|
5570
5583
|
onChange: changStatusBar
|
|
5571
5584
|
}, {
|
|
5572
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
5585
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printstatusbar), 1
|
|
5586
|
+
/* TEXT */
|
|
5587
|
+
)]),
|
|
5573
5588
|
_: 1
|
|
5574
5589
|
/* STABLE */
|
|
5575
5590
|
|
|
@@ -5591,24 +5606,39 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5591
5606
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
5592
5607
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, null, {
|
|
5593
5608
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5594
|
-
label:
|
|
5609
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printlace
|
|
5595
5610
|
}, {
|
|
5596
5611
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
5597
5612
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(borderStyleValue),
|
|
5598
5613
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.isRef)(borderStyleValue) ? borderStyleValue.value = $event : borderStyleValue = $event),
|
|
5599
5614
|
onChange: changeBorderStyleData
|
|
5600
5615
|
}, {
|
|
5601
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
}
|
|
5610
|
-
/*
|
|
5611
|
-
|
|
5616
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5617
|
+
value: "printborder1",
|
|
5618
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).Template1
|
|
5619
|
+
}, null, 8
|
|
5620
|
+
/* PROPS */
|
|
5621
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5622
|
+
value: "printborder2",
|
|
5623
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).Template2
|
|
5624
|
+
}, null, 8
|
|
5625
|
+
/* PROPS */
|
|
5626
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5627
|
+
value: "printborder3",
|
|
5628
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).Template3
|
|
5629
|
+
}, null, 8
|
|
5630
|
+
/* PROPS */
|
|
5631
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5632
|
+
value: "printborder4",
|
|
5633
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).Template4
|
|
5634
|
+
}, null, 8
|
|
5635
|
+
/* PROPS */
|
|
5636
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5637
|
+
value: "printborder5",
|
|
5638
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).Template5
|
|
5639
|
+
}, null, 8
|
|
5640
|
+
/* PROPS */
|
|
5641
|
+
, ["label"])]),
|
|
5612
5642
|
_: 1
|
|
5613
5643
|
/* STABLE */
|
|
5614
5644
|
|
|
@@ -5618,7 +5648,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5618
5648
|
_: 1
|
|
5619
5649
|
/* STABLE */
|
|
5620
5650
|
|
|
5621
|
-
}
|
|
5651
|
+
}, 8
|
|
5652
|
+
/* PROPS */
|
|
5653
|
+
, ["label"])]),
|
|
5622
5654
|
_: 1
|
|
5623
5655
|
/* STABLE */
|
|
5624
5656
|
|
|
@@ -5629,7 +5661,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5629
5661
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
5630
5662
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, null, {
|
|
5631
5663
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5632
|
-
label:
|
|
5664
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).paperType
|
|
5633
5665
|
}, {
|
|
5634
5666
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
5635
5667
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(papForm),
|
|
@@ -5681,7 +5713,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5681
5713
|
_: 1
|
|
5682
5714
|
/* STABLE */
|
|
5683
5715
|
|
|
5684
|
-
}
|
|
5716
|
+
}, 8
|
|
5717
|
+
/* PROPS */
|
|
5718
|
+
, ["label"])]),
|
|
5685
5719
|
_: 1
|
|
5686
5720
|
/* STABLE */
|
|
5687
5721
|
|
|
@@ -5692,7 +5726,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5692
5726
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
5693
5727
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, null, {
|
|
5694
5728
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5695
|
-
label:
|
|
5729
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).paperDirection
|
|
5696
5730
|
}, {
|
|
5697
5731
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
5698
5732
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(papAnchor),
|
|
@@ -5700,20 +5734,16 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5700
5734
|
onChange: changeMapContainerSize
|
|
5701
5735
|
}, {
|
|
5702
5736
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5703
|
-
value: "
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
_: 1
|
|
5714
|
-
/* STABLE */
|
|
5715
|
-
|
|
5716
|
-
})]),
|
|
5737
|
+
value: "portrait",
|
|
5738
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).portrait
|
|
5739
|
+
}, null, 8
|
|
5740
|
+
/* PROPS */
|
|
5741
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5742
|
+
value: "landscape",
|
|
5743
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).landscape
|
|
5744
|
+
}, null, 8
|
|
5745
|
+
/* PROPS */
|
|
5746
|
+
, ["label"])]),
|
|
5717
5747
|
_: 1
|
|
5718
5748
|
/* STABLE */
|
|
5719
5749
|
|
|
@@ -5723,7 +5753,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5723
5753
|
_: 1
|
|
5724
5754
|
/* STABLE */
|
|
5725
5755
|
|
|
5726
|
-
}
|
|
5756
|
+
}, 8
|
|
5757
|
+
/* PROPS */
|
|
5758
|
+
, ["label"])]),
|
|
5727
5759
|
_: 1
|
|
5728
5760
|
/* STABLE */
|
|
5729
5761
|
|
|
@@ -5734,7 +5766,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5734
5766
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
5735
5767
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, null, {
|
|
5736
5768
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5737
|
-
label:
|
|
5769
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).imageFormat
|
|
5738
5770
|
}, {
|
|
5739
5771
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
5740
5772
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(imageType),
|
|
@@ -5764,7 +5796,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5764
5796
|
_: 1
|
|
5765
5797
|
/* STABLE */
|
|
5766
5798
|
|
|
5767
|
-
}
|
|
5799
|
+
}, 8
|
|
5800
|
+
/* PROPS */
|
|
5801
|
+
, ["label"])]),
|
|
5768
5802
|
_: 1
|
|
5769
5803
|
/* STABLE */
|
|
5770
5804
|
|
|
@@ -5783,7 +5817,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5783
5817
|
onClick: _cache[12] || (_cache[12] = $event => getPic()),
|
|
5784
5818
|
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(loadState)
|
|
5785
5819
|
}, {
|
|
5786
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
5820
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).savePicture), 1
|
|
5821
|
+
/* TEXT */
|
|
5822
|
+
)]),
|
|
5787
5823
|
_: 1
|
|
5788
5824
|
/* STABLE */
|
|
5789
5825
|
|
|
@@ -5794,7 +5830,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5794
5830
|
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(printState),
|
|
5795
5831
|
onClick: _cache[13] || (_cache[13] = $event => canvasToImage())
|
|
5796
5832
|
}, {
|
|
5797
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
5833
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).sendprinter), 1
|
|
5834
|
+
/* TEXT */
|
|
5835
|
+
)]),
|
|
5798
5836
|
_: 1
|
|
5799
5837
|
/* STABLE */
|
|
5800
5838
|
|
|
@@ -5825,7 +5863,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5825
5863
|
_: 1
|
|
5826
5864
|
/* STABLE */
|
|
5827
5865
|
|
|
5828
|
-
}),
|
|
5866
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", _hoisted_8, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).layerSelect), 1
|
|
5867
|
+
/* TEXT */
|
|
5868
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_layer_tree, {
|
|
5829
5869
|
showShadow: false,
|
|
5830
5870
|
"map-target": 'scencePrint'
|
|
5831
5871
|
})])], 512
|
|
@@ -5842,7 +5882,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5842
5882
|
_: 1
|
|
5843
5883
|
/* STABLE */
|
|
5844
5884
|
|
|
5845
|
-
}),
|
|
5885
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", _hoisted_10, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).titlesetting), 1
|
|
5886
|
+
/* TEXT */
|
|
5887
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form, {
|
|
5846
5888
|
model: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform),
|
|
5847
5889
|
"label-width": "70px",
|
|
5848
5890
|
"label-position": "left"
|
|
@@ -5852,7 +5894,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5852
5894
|
span: 24
|
|
5853
5895
|
}, {
|
|
5854
5896
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5855
|
-
label:
|
|
5897
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printtitle
|
|
5856
5898
|
}, {
|
|
5857
5899
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_input, {
|
|
5858
5900
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).data.title,
|
|
@@ -5863,7 +5905,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5863
5905
|
_: 1
|
|
5864
5906
|
/* STABLE */
|
|
5865
5907
|
|
|
5866
|
-
}
|
|
5908
|
+
}, 8
|
|
5909
|
+
/* PROPS */
|
|
5910
|
+
, ["label"])]),
|
|
5867
5911
|
_: 1
|
|
5868
5912
|
/* STABLE */
|
|
5869
5913
|
|
|
@@ -5876,37 +5920,44 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5876
5920
|
span: 24
|
|
5877
5921
|
}, {
|
|
5878
5922
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5879
|
-
label:
|
|
5923
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).font
|
|
5880
5924
|
}, {
|
|
5881
5925
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
5882
5926
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).style.fontFamily,
|
|
5883
5927
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).style.fontFamily = $event),
|
|
5884
|
-
placeholder:
|
|
5928
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).pleaseselect,
|
|
5885
5929
|
style: {
|
|
5886
5930
|
"width": "100%"
|
|
5887
5931
|
}
|
|
5888
5932
|
}, {
|
|
5889
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
}
|
|
5898
|
-
/*
|
|
5899
|
-
|
|
5933
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5934
|
+
value: "Microsoft YaHei",
|
|
5935
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).yahei
|
|
5936
|
+
}, null, 8
|
|
5937
|
+
/* PROPS */
|
|
5938
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5939
|
+
value: "NSimSun",
|
|
5940
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).NSimSun
|
|
5941
|
+
}, null, 8
|
|
5942
|
+
/* PROPS */
|
|
5943
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
5944
|
+
value: "KaiTi",
|
|
5945
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).KaiTi
|
|
5946
|
+
}, null, 8
|
|
5947
|
+
/* PROPS */
|
|
5948
|
+
, ["label"])]),
|
|
5900
5949
|
_: 1
|
|
5901
5950
|
/* STABLE */
|
|
5902
5951
|
|
|
5903
5952
|
}, 8
|
|
5904
5953
|
/* PROPS */
|
|
5905
|
-
, ["modelValue"])]),
|
|
5954
|
+
, ["modelValue", "placeholder"])]),
|
|
5906
5955
|
_: 1
|
|
5907
5956
|
/* STABLE */
|
|
5908
5957
|
|
|
5909
|
-
}
|
|
5958
|
+
}, 8
|
|
5959
|
+
/* PROPS */
|
|
5960
|
+
, ["label"])]),
|
|
5910
5961
|
_: 1
|
|
5911
5962
|
/* STABLE */
|
|
5912
5963
|
|
|
@@ -5919,12 +5970,12 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5919
5970
|
span: 16
|
|
5920
5971
|
}, {
|
|
5921
5972
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5922
|
-
label:
|
|
5973
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).fontsize
|
|
5923
5974
|
}, {
|
|
5924
5975
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
5925
5976
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).style.fontSize,
|
|
5926
5977
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).style.fontSize = $event),
|
|
5927
|
-
placeholder:
|
|
5978
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).fontsize
|
|
5928
5979
|
}, {
|
|
5929
5980
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(sizelist).value, size => {
|
|
5930
5981
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_option, {
|
|
@@ -5948,11 +5999,13 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5948
5999
|
|
|
5949
6000
|
}, 8
|
|
5950
6001
|
/* PROPS */
|
|
5951
|
-
, ["modelValue"])]),
|
|
6002
|
+
, ["modelValue", "placeholder"])]),
|
|
5952
6003
|
_: 1
|
|
5953
6004
|
/* STABLE */
|
|
5954
6005
|
|
|
5955
|
-
}
|
|
6006
|
+
}, 8
|
|
6007
|
+
/* PROPS */
|
|
6008
|
+
, ["label"])]),
|
|
5956
6009
|
_: 1
|
|
5957
6010
|
/* STABLE */
|
|
5958
6011
|
|
|
@@ -5967,7 +6020,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5967
6020
|
span: 6
|
|
5968
6021
|
}, {
|
|
5969
6022
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5970
|
-
label:
|
|
6023
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).fontcolor
|
|
5971
6024
|
}, {
|
|
5972
6025
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_color_picker, {
|
|
5973
6026
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).style.color,
|
|
@@ -5979,7 +6032,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5979
6032
|
_: 1
|
|
5980
6033
|
/* STABLE */
|
|
5981
6034
|
|
|
5982
|
-
}
|
|
6035
|
+
}, 8
|
|
6036
|
+
/* PROPS */
|
|
6037
|
+
, ["label"])]),
|
|
5983
6038
|
_: 1
|
|
5984
6039
|
/* STABLE */
|
|
5985
6040
|
|
|
@@ -5992,7 +6047,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5992
6047
|
span: 8
|
|
5993
6048
|
}, {
|
|
5994
6049
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
5995
|
-
label:
|
|
6050
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).backgroundColor
|
|
5996
6051
|
}, {
|
|
5997
6052
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_color_picker, {
|
|
5998
6053
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).style.backgroundColor,
|
|
@@ -6004,7 +6059,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6004
6059
|
_: 1
|
|
6005
6060
|
/* STABLE */
|
|
6006
6061
|
|
|
6007
|
-
}
|
|
6062
|
+
}, 8
|
|
6063
|
+
/* PROPS */
|
|
6064
|
+
, ["label"])]),
|
|
6008
6065
|
_: 1
|
|
6009
6066
|
/* STABLE */
|
|
6010
6067
|
|
|
@@ -6012,7 +6069,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6012
6069
|
span: 8
|
|
6013
6070
|
}, {
|
|
6014
6071
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
6015
|
-
label:
|
|
6072
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).shadowcolor
|
|
6016
6073
|
}, {
|
|
6017
6074
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_color_picker, {
|
|
6018
6075
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).style.shadowShowBg,
|
|
@@ -6024,7 +6081,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6024
6081
|
_: 1
|
|
6025
6082
|
/* STABLE */
|
|
6026
6083
|
|
|
6027
|
-
}
|
|
6084
|
+
}, 8
|
|
6085
|
+
/* PROPS */
|
|
6086
|
+
, ["label"])]),
|
|
6028
6087
|
_: 1
|
|
6029
6088
|
/* STABLE */
|
|
6030
6089
|
|
|
@@ -6035,7 +6094,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6035
6094
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).data.shadowShow,
|
|
6036
6095
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).data.shadowShow = $event)
|
|
6037
6096
|
}, {
|
|
6038
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
6097
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).backgroundShadow), 1
|
|
6098
|
+
/* TEXT */
|
|
6099
|
+
)]),
|
|
6039
6100
|
_: 1
|
|
6040
6101
|
/* STABLE */
|
|
6041
6102
|
|
|
@@ -6053,7 +6114,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6053
6114
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).data.titleShow,
|
|
6054
6115
|
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setTitleDataform).data.titleShow = $event)
|
|
6055
6116
|
}, {
|
|
6056
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
6117
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).displaytitle), 1
|
|
6118
|
+
/* TEXT */
|
|
6119
|
+
)]),
|
|
6057
6120
|
_: 1
|
|
6058
6121
|
/* STABLE */
|
|
6059
6122
|
|
|
@@ -6079,53 +6142,62 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6079
6142
|
_: 1
|
|
6080
6143
|
/* STABLE */
|
|
6081
6144
|
|
|
6082
|
-
}),
|
|
6145
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("h4", _hoisted_14, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).addtext), 1
|
|
6146
|
+
/* TEXT */
|
|
6147
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_15, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form, {
|
|
6083
6148
|
model: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform),
|
|
6084
6149
|
"label-width": "70px",
|
|
6085
6150
|
"label-position": "left"
|
|
6086
6151
|
}, {
|
|
6087
6152
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
6088
|
-
label:
|
|
6153
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).font
|
|
6089
6154
|
}, {
|
|
6090
6155
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
6091
6156
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).style.fontFamily,
|
|
6092
6157
|
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).style.fontFamily = $event),
|
|
6093
|
-
placeholder:
|
|
6158
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).pleaseselect,
|
|
6094
6159
|
style: {
|
|
6095
6160
|
"width": "100%"
|
|
6096
6161
|
}
|
|
6097
6162
|
}, {
|
|
6098
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
}
|
|
6107
|
-
/*
|
|
6108
|
-
|
|
6163
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
6164
|
+
value: "Microsoft YaHei",
|
|
6165
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).yahei
|
|
6166
|
+
}, null, 8
|
|
6167
|
+
/* PROPS */
|
|
6168
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
6169
|
+
value: "NSimSun",
|
|
6170
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).NSimSun
|
|
6171
|
+
}, null, 8
|
|
6172
|
+
/* PROPS */
|
|
6173
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
|
|
6174
|
+
value: "KaiTi",
|
|
6175
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).KaiTi
|
|
6176
|
+
}, null, 8
|
|
6177
|
+
/* PROPS */
|
|
6178
|
+
, ["label"])]),
|
|
6109
6179
|
_: 1
|
|
6110
6180
|
/* STABLE */
|
|
6111
6181
|
|
|
6112
6182
|
}, 8
|
|
6113
6183
|
/* PROPS */
|
|
6114
|
-
, ["modelValue"])]),
|
|
6184
|
+
, ["modelValue", "placeholder"])]),
|
|
6115
6185
|
_: 1
|
|
6116
6186
|
/* STABLE */
|
|
6117
6187
|
|
|
6118
|
-
}
|
|
6188
|
+
}, 8
|
|
6189
|
+
/* PROPS */
|
|
6190
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
6119
6191
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
6120
6192
|
span: 16
|
|
6121
6193
|
}, {
|
|
6122
6194
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
6123
|
-
label:
|
|
6195
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).fontsize
|
|
6124
6196
|
}, {
|
|
6125
6197
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
|
|
6126
6198
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).style.fontSize,
|
|
6127
6199
|
"onUpdate:modelValue": _cache[24] || (_cache[24] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).style.fontSize = $event),
|
|
6128
|
-
placeholder:
|
|
6200
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).fontsize
|
|
6129
6201
|
}, {
|
|
6130
6202
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(sizelist).value, size => {
|
|
6131
6203
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_option, {
|
|
@@ -6149,11 +6221,13 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6149
6221
|
|
|
6150
6222
|
}, 8
|
|
6151
6223
|
/* PROPS */
|
|
6152
|
-
, ["modelValue"])]),
|
|
6224
|
+
, ["modelValue", "placeholder"])]),
|
|
6153
6225
|
_: 1
|
|
6154
6226
|
/* STABLE */
|
|
6155
6227
|
|
|
6156
|
-
}
|
|
6228
|
+
}, 8
|
|
6229
|
+
/* PROPS */
|
|
6230
|
+
, ["label"])]),
|
|
6157
6231
|
_: 1
|
|
6158
6232
|
/* STABLE */
|
|
6159
6233
|
|
|
@@ -6168,7 +6242,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6168
6242
|
span: 6
|
|
6169
6243
|
}, {
|
|
6170
6244
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
6171
|
-
label:
|
|
6245
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).fontcolor
|
|
6172
6246
|
}, {
|
|
6173
6247
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", null, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_color_picker, {
|
|
6174
6248
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).style.color,
|
|
@@ -6180,7 +6254,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6180
6254
|
_: 1
|
|
6181
6255
|
/* STABLE */
|
|
6182
6256
|
|
|
6183
|
-
}
|
|
6257
|
+
}, 8
|
|
6258
|
+
/* PROPS */
|
|
6259
|
+
, ["label"])]),
|
|
6184
6260
|
_: 1
|
|
6185
6261
|
/* STABLE */
|
|
6186
6262
|
|
|
@@ -6190,32 +6266,36 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6190
6266
|
|
|
6191
6267
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
6192
6268
|
class: "textarea",
|
|
6193
|
-
label:
|
|
6269
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printtext
|
|
6194
6270
|
}, {
|
|
6195
6271
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("textarea", {
|
|
6196
6272
|
class: "textcontent",
|
|
6197
6273
|
rows: "12",
|
|
6198
|
-
placeholder:
|
|
6274
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).pleaseentercontent,
|
|
6199
6275
|
spellcheck: "false",
|
|
6200
6276
|
"onUpdate:modelValue": _cache[26] || (_cache[26] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).data.labelValue = $event),
|
|
6201
6277
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).style)
|
|
6202
|
-
}, null,
|
|
6203
|
-
/* STYLE */
|
|
6204
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vModelText, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).data.labelValue]])]),
|
|
6278
|
+
}, null, 12
|
|
6279
|
+
/* STYLE, PROPS */
|
|
6280
|
+
, _hoisted_16), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vModelText, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelDataform).data.labelValue]])]),
|
|
6205
6281
|
_: 1
|
|
6206
6282
|
/* STABLE */
|
|
6207
6283
|
|
|
6208
|
-
}
|
|
6284
|
+
}, 8
|
|
6285
|
+
/* PROPS */
|
|
6286
|
+
, ["label"])]),
|
|
6209
6287
|
_: 1
|
|
6210
6288
|
/* STABLE */
|
|
6211
6289
|
|
|
6212
6290
|
}, 8
|
|
6213
6291
|
/* PROPS */
|
|
6214
|
-
, ["model"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
6292
|
+
, ["model"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_17, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6215
6293
|
type: "primary",
|
|
6216
6294
|
onClick: addLabel
|
|
6217
6295
|
}, {
|
|
6218
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
6296
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printadd), 1
|
|
6297
|
+
/* TEXT */
|
|
6298
|
+
)]),
|
|
6219
6299
|
_: 1
|
|
6220
6300
|
/* STABLE */
|
|
6221
6301
|
|
|
@@ -6223,7 +6303,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6223
6303
|
type: "plain",
|
|
6224
6304
|
onClick: clearLabel
|
|
6225
6305
|
}, {
|
|
6226
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)(
|
|
6306
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printclear), 1
|
|
6307
|
+
/* TEXT */
|
|
6308
|
+
)]),
|
|
6227
6309
|
_: 1
|
|
6228
6310
|
/* STABLE */
|
|
6229
6311
|
|
|
@@ -6235,9 +6317,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6235
6317
|
/* CLASS */
|
|
6236
6318
|
)], 4
|
|
6237
6319
|
/* STYLE */
|
|
6238
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
6320
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_18, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_19, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6239
6321
|
onClick: Enlarge,
|
|
6240
|
-
title:
|
|
6322
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).equalscalezoom,
|
|
6241
6323
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(isActive) === 1 ? 'clickborder' : '')
|
|
6242
6324
|
}, {
|
|
6243
6325
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, null, {
|
|
@@ -6251,9 +6333,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6251
6333
|
|
|
6252
6334
|
}, 8
|
|
6253
6335
|
/* PROPS */
|
|
6254
|
-
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6336
|
+
, ["title", "class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6255
6337
|
onClick: Narrow,
|
|
6256
|
-
title:
|
|
6338
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).scaleddown,
|
|
6257
6339
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(isActive) === 2 ? 'clickborder' : '')
|
|
6258
6340
|
}, {
|
|
6259
6341
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, null, {
|
|
@@ -6267,9 +6349,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6267
6349
|
|
|
6268
6350
|
}, 8
|
|
6269
6351
|
/* PROPS */
|
|
6270
|
-
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6352
|
+
, ["title", "class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6271
6353
|
onClick: MovePrint,
|
|
6272
|
-
title:
|
|
6354
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printdrag,
|
|
6273
6355
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(isActive) === 3 ? 'clickborder' : '')
|
|
6274
6356
|
}, {
|
|
6275
6357
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, null, {
|
|
@@ -6283,9 +6365,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6283
6365
|
|
|
6284
6366
|
}, 8
|
|
6285
6367
|
/* PROPS */
|
|
6286
|
-
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6368
|
+
, ["title", "class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
6287
6369
|
onClick: RefreshStatus,
|
|
6288
|
-
title:
|
|
6370
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).restore
|
|
6289
6371
|
}, {
|
|
6290
6372
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, null, {
|
|
6291
6373
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Refresh))]),
|
|
@@ -6296,7 +6378,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6296
6378
|
_: 1
|
|
6297
6379
|
/* STABLE */
|
|
6298
6380
|
|
|
6299
|
-
}
|
|
6381
|
+
}, 8
|
|
6382
|
+
/* PROPS */
|
|
6383
|
+
, ["title"])])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
|
|
6300
6384
|
ref_key: "printDiv",
|
|
6301
6385
|
ref: printDiv,
|
|
6302
6386
|
class: "kq3d-client-print-printDiv"
|
|
@@ -6307,7 +6391,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6307
6391
|
class: "kq3d-client-print-mapContainerDiv kq3d-client-print-a4VSize",
|
|
6308
6392
|
onselectstart: "return false",
|
|
6309
6393
|
id: "printMap"
|
|
6310
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
6394
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_20, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
|
|
6311
6395
|
ref_key: "titleRef",
|
|
6312
6396
|
ref: titleRef,
|
|
6313
6397
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)({
|
|
@@ -6324,11 +6408,11 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6324
6408
|
class: "kq3d-client-print-printContentDiv kq3d-client-print-printborder1",
|
|
6325
6409
|
ref_key: "printContentDiv",
|
|
6326
6410
|
ref: printContentDiv
|
|
6327
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
6411
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_21, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("img", {
|
|
6328
6412
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(scenceImageUrl)
|
|
6329
6413
|
}, null, 8
|
|
6330
6414
|
/* PROPS */
|
|
6331
|
-
,
|
|
6415
|
+
, _hoisted_22)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_scence_view, {
|
|
6332
6416
|
target: 'scencePrint',
|
|
6333
6417
|
options: __props.options,
|
|
6334
6418
|
service: __props.service,
|
|
@@ -6390,17 +6474,19 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6390
6474
|
"cursor": "Pointer",
|
|
6391
6475
|
"color": "#da0000"
|
|
6392
6476
|
},
|
|
6393
|
-
title:
|
|
6477
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printclose
|
|
6394
6478
|
}, {
|
|
6395
6479
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Close))]),
|
|
6396
6480
|
_: 1
|
|
6397
6481
|
/* STABLE */
|
|
6398
6482
|
|
|
6399
|
-
}
|
|
6483
|
+
}, 8
|
|
6484
|
+
/* PROPS */
|
|
6485
|
+
, ["title"])], 8
|
|
6400
6486
|
/* PROPS */
|
|
6401
|
-
,
|
|
6487
|
+
, _hoisted_24)], 40
|
|
6402
6488
|
/* PROPS, HYDRATE_EVENTS */
|
|
6403
|
-
,
|
|
6489
|
+
, _hoisted_23)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, item.data.isShow]]);
|
|
6404
6490
|
}), 128
|
|
6405
6491
|
/* KEYED_FRAGMENT */
|
|
6406
6492
|
))]),
|
|
@@ -6411,9 +6497,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6411
6497
|
/* PROPS */
|
|
6412
6498
|
, ["options", "service", "scenceInfo", "showToolButtons", "defaultShowLayerNames", "toolButtonsPosition", "showLogo"])], 512
|
|
6413
6499
|
/* NEED_PATCH */
|
|
6414
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
6500
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_25, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_26, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printcompany) + ":" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(companyName)), 1
|
|
6415
6501
|
/* TEXT */
|
|
6416
|
-
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
6502
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_27, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).printdate) + ":" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(systemTime)), 1
|
|
6417
6503
|
/* TEXT */
|
|
6418
6504
|
)])])], 512
|
|
6419
6505
|
/* NEED_PATCH */
|
|
@@ -6451,7 +6537,7 @@ ClientPrint.install = (Vue, opts) => {
|
|
|
6451
6537
|
|
|
6452
6538
|
;// CONCATENATED MODULE: ./src/webgl/baseterraingallery/BaseterrainGalleryViewModel.js
|
|
6453
6539
|
|
|
6454
|
-
|
|
6540
|
+
//在线地形逻辑类
|
|
6455
6541
|
class BaseterrainGalleryViewModel {
|
|
6456
6542
|
//基本地形对象
|
|
6457
6543
|
constructor(viewer) {
|
|
@@ -6554,6 +6640,7 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_hoisted_10 = {
|
|
|
6554
6640
|
|
|
6555
6641
|
|
|
6556
6642
|
|
|
6643
|
+
|
|
6557
6644
|
const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
6558
6645
|
name: "Kq3dBaseterrainGallery"
|
|
6559
6646
|
};
|
|
@@ -6584,8 +6671,7 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6584
6671
|
},
|
|
6585
6672
|
// HeaderTemp标题
|
|
6586
6673
|
headerTempTitle: {
|
|
6587
|
-
type: String
|
|
6588
|
-
default: "在线地形"
|
|
6674
|
+
type: String
|
|
6589
6675
|
},
|
|
6590
6676
|
// HeaderTemp图标
|
|
6591
6677
|
headerTempIcon: {
|
|
@@ -6614,7 +6700,17 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6614
6700
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
6615
6701
|
|
|
6616
6702
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
6617
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
6703
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
6704
|
+
|
|
6705
|
+
let {
|
|
6706
|
+
locale,
|
|
6707
|
+
messages
|
|
6708
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
6709
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
6710
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
6711
|
+
language.value = messages.value[newVal]["webgl"];
|
|
6712
|
+
headerTempTitle.value = language.value.onlineTerrain;
|
|
6713
|
+
});
|
|
6618
6714
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
6619
6715
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
6620
6716
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -6624,7 +6720,6 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6624
6720
|
currentIndex.value = props.selectIndex;
|
|
6625
6721
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
6626
6722
|
if (scenceView) {
|
|
6627
|
-
language.value = scenceView._language;
|
|
6628
6723
|
changSelectTerrain();
|
|
6629
6724
|
viewModel = new BaseterrainGalleryViewModel(scenceView._viewer);
|
|
6630
6725
|
viewModel.setTerrainType(currentIndex.value);
|
|
@@ -6638,7 +6733,7 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6638
6733
|
const watchCreateHeaderTemp = () => {
|
|
6639
6734
|
if (props.showHeaderTemp) {
|
|
6640
6735
|
// 生成headerTemp
|
|
6641
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
6736
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
6642
6737
|
}
|
|
6643
6738
|
};
|
|
6644
6739
|
|
|
@@ -7035,7 +7130,7 @@ const Measurevue_type_script_setup_true_lang_js_hoisted_25 = {
|
|
|
7035
7130
|
const Measurevue_type_script_setup_true_lang_js_hoisted_26 = {
|
|
7036
7131
|
class: "res"
|
|
7037
7132
|
};
|
|
7038
|
-
const
|
|
7133
|
+
const Measurevue_type_script_setup_true_lang_js_hoisted_27 = {
|
|
7039
7134
|
class: "tit"
|
|
7040
7135
|
};
|
|
7041
7136
|
const _hoisted_28 = {
|
|
@@ -7064,6 +7159,7 @@ const _hoisted_33 = {
|
|
|
7064
7159
|
|
|
7065
7160
|
|
|
7066
7161
|
|
|
7162
|
+
|
|
7067
7163
|
const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
7068
7164
|
name: "Kq3dMeasure"
|
|
7069
7165
|
};
|
|
@@ -7118,8 +7214,19 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
7118
7214
|
let result = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("0");
|
|
7119
7215
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
7120
7216
|
let mode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("space");
|
|
7121
|
-
let modeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.
|
|
7122
|
-
let viewModel = null; //
|
|
7217
|
+
let modeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)([]);
|
|
7218
|
+
let viewModel = null; // 国际化
|
|
7219
|
+
|
|
7220
|
+
let {
|
|
7221
|
+
locale,
|
|
7222
|
+
messages
|
|
7223
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
7224
|
+
let measureTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
7225
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
7226
|
+
language.value = messages.value[newVal]["webgl"];
|
|
7227
|
+
measureTitle.value = language.value.measure;
|
|
7228
|
+
modeList.value = loadModeData();
|
|
7229
|
+
}); // 距离测量单位
|
|
7123
7230
|
|
|
7124
7231
|
let distanceUnits = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)([{
|
|
7125
7232
|
label: "m",
|
|
@@ -7155,8 +7262,6 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
7155
7262
|
});
|
|
7156
7263
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
7157
7264
|
if (scenceView) {
|
|
7158
|
-
language.value = scenceView._language;
|
|
7159
|
-
loadModeData();
|
|
7160
7265
|
viewModel = new MeasureViewModel(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
7161
7266
|
|
|
7162
7267
|
viewModel.measureEvent.addEventListener(function (res) {
|
|
@@ -7210,24 +7315,22 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
7210
7315
|
const watchCreateHeaderTemp = () => {
|
|
7211
7316
|
if (props.showHeaderTemp) {
|
|
7212
7317
|
// 生成headerTemp
|
|
7213
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
7318
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, measureTitle);
|
|
7214
7319
|
}
|
|
7215
7320
|
}; //加载测量模式数据
|
|
7216
7321
|
|
|
7217
7322
|
|
|
7218
7323
|
function loadModeData() {
|
|
7219
|
-
|
|
7324
|
+
return [{
|
|
7220
7325
|
label: language.value.spaceMeasure,
|
|
7221
7326
|
value: "space"
|
|
7222
|
-
}
|
|
7223
|
-
modeList.push({
|
|
7327
|
+
}, {
|
|
7224
7328
|
label: language.value.groundMeasure,
|
|
7225
7329
|
value: "ground"
|
|
7226
|
-
}
|
|
7227
|
-
modeList.push({
|
|
7330
|
+
}, {
|
|
7228
7331
|
label: language.value.modelMeasure,
|
|
7229
7332
|
value: "model"
|
|
7230
|
-
}
|
|
7333
|
+
}];
|
|
7231
7334
|
}
|
|
7232
7335
|
|
|
7233
7336
|
function formatDistance(dis) {
|
|
@@ -7556,7 +7659,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
7556
7659
|
/* TEXT */
|
|
7557
7660
|
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p", Measurevue_type_script_setup_true_lang_js_hoisted_26, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(result).longitude) + "°", 1
|
|
7558
7661
|
/* TEXT */
|
|
7559
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p",
|
|
7662
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p", Measurevue_type_script_setup_true_lang_js_hoisted_27, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).latitude), 1
|
|
7560
7663
|
/* TEXT */
|
|
7561
7664
|
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p", _hoisted_28, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(result).latitude) + "°", 1
|
|
7562
7665
|
/* TEXT */
|
|
@@ -7739,6 +7842,7 @@ const Flightvue_type_script_setup_true_lang_js_hoisted_9 = {
|
|
|
7739
7842
|
|
|
7740
7843
|
|
|
7741
7844
|
|
|
7845
|
+
|
|
7742
7846
|
const Flightvue_type_script_setup_true_lang_js_default_ = {
|
|
7743
7847
|
name: "Kq3dFlight"
|
|
7744
7848
|
};
|
|
@@ -7822,7 +7926,17 @@ const Flightvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7822
7926
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
7823
7927
|
|
|
7824
7928
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
7825
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
7929
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
7930
|
+
|
|
7931
|
+
let {
|
|
7932
|
+
locale,
|
|
7933
|
+
messages
|
|
7934
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
7935
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
7936
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
7937
|
+
language.value = messages.value[newVal]["webgl"];
|
|
7938
|
+
headerTempTitle.value = language.value.flight;
|
|
7939
|
+
});
|
|
7826
7940
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
7827
7941
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
7828
7942
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -7834,7 +7948,6 @@ const Flightvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7834
7948
|
});
|
|
7835
7949
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
7836
7950
|
if (scenceView) {
|
|
7837
|
-
language.value = scenceView._language;
|
|
7838
7951
|
viewer = scenceView._viewer;
|
|
7839
7952
|
viewModel = new FlightViewModel(viewer);
|
|
7840
7953
|
viewModel.stopEvent.addEventListener(function () {
|
|
@@ -7869,7 +7982,7 @@ const Flightvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7869
7982
|
const watchCreateHeaderTemp = () => {
|
|
7870
7983
|
if (props.showHeaderTemp) {
|
|
7871
7984
|
// 生成headerTemp
|
|
7872
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
7985
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
7873
7986
|
}
|
|
7874
7987
|
}; //新建路径
|
|
7875
7988
|
|
|
@@ -8950,6 +9063,7 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
8950
9063
|
|
|
8951
9064
|
|
|
8952
9065
|
|
|
9066
|
+
|
|
8953
9067
|
const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
8954
9068
|
name: "Kq3dGPUSpatialQuery"
|
|
8955
9069
|
};
|
|
@@ -9059,7 +9173,17 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9059
9173
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
9060
9174
|
|
|
9061
9175
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
9062
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
9176
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
9177
|
+
|
|
9178
|
+
let {
|
|
9179
|
+
locale,
|
|
9180
|
+
messages
|
|
9181
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
9182
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
9183
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
9184
|
+
language.value = messages.value[newVal]["webgl"];
|
|
9185
|
+
headerTempTitle.value = language.value.spatialQuery;
|
|
9186
|
+
});
|
|
9063
9187
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
9064
9188
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
9065
9189
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -9071,7 +9195,6 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9071
9195
|
});
|
|
9072
9196
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
9073
9197
|
if (scenceView) {
|
|
9074
|
-
language.value = scenceView._language;
|
|
9075
9198
|
viewModel = new GPUSpatialQueryViewModel(scenceView, {
|
|
9076
9199
|
volumeType: formItem.volumeType,
|
|
9077
9200
|
positionMode: formItem.positionMode,
|
|
@@ -9090,7 +9213,7 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9090
9213
|
const watchCreateHeaderTemp = () => {
|
|
9091
9214
|
if (props.showHeaderTemp) {
|
|
9092
9215
|
// 生成headerTemp
|
|
9093
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
9216
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
9094
9217
|
}
|
|
9095
9218
|
}; // 参数切换
|
|
9096
9219
|
|
|
@@ -9625,14 +9748,12 @@ class ModelSelectViewModel {
|
|
|
9625
9748
|
|
|
9626
9749
|
this._handler.setInputAction(function (movement) {
|
|
9627
9750
|
if (that._isPick) {
|
|
9628
|
-
let pickedObject = that._viewer.scene.pick(movement.position);
|
|
9751
|
+
let pickedObject = that._viewer.scene.pick(movement.position); // console.log(pickedObject);
|
|
9629
9752
|
|
|
9630
|
-
console.log(pickedObject);
|
|
9631
9753
|
|
|
9632
9754
|
if (pickedObject) {
|
|
9633
9755
|
if (pickedObject instanceof Cesium.Cesium3DTileFeature) {
|
|
9634
|
-
let properties = pickedObject.getPropertyNames() || [];
|
|
9635
|
-
console.log(properties);
|
|
9756
|
+
let properties = pickedObject.getPropertyNames() || []; // console.log(properties);
|
|
9636
9757
|
|
|
9637
9758
|
if (that._modeFiledArray && that._modeFiledArray.length && that._modeFiledArray.length > 0) {
|
|
9638
9759
|
for (let val in that._modeFiledArray) {
|
|
@@ -9716,18 +9837,14 @@ class ModelSelectViewModel {
|
|
|
9716
9837
|
const ModelSelectvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
9717
9838
|
class: "title"
|
|
9718
9839
|
};
|
|
9719
|
-
|
|
9720
|
-
const ModelSelectvue_type_script_setup_true_lang_js_hoisted_2 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", null, "所属图层名称:", -1
|
|
9721
|
-
/* HOISTED */
|
|
9722
|
-
);
|
|
9723
|
-
|
|
9724
|
-
const ModelSelectvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
9840
|
+
const ModelSelectvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
9725
9841
|
class: "footer-buttons"
|
|
9726
9842
|
};
|
|
9727
9843
|
|
|
9728
9844
|
|
|
9729
9845
|
|
|
9730
9846
|
|
|
9847
|
+
|
|
9731
9848
|
// tree数据源
|
|
9732
9849
|
|
|
9733
9850
|
const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -9814,7 +9931,17 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9814
9931
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
9815
9932
|
|
|
9816
9933
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
9817
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
9934
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
9935
|
+
|
|
9936
|
+
let {
|
|
9937
|
+
locale,
|
|
9938
|
+
messages
|
|
9939
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
9940
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
9941
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
9942
|
+
language.value = messages.value[newVal]["webgl"];
|
|
9943
|
+
headerTempTitle.value = language.value.modelPick;
|
|
9944
|
+
});
|
|
9818
9945
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
9819
9946
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
9820
9947
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -9827,7 +9954,6 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9827
9954
|
|
|
9828
9955
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
9829
9956
|
if (scenceView) {
|
|
9830
|
-
language.value = scenceView._language;
|
|
9831
9957
|
viewModel = new ModelSelectViewModel(scenceView, pickCallFunc);
|
|
9832
9958
|
viewModel._highlightColor = props.highlightColor;
|
|
9833
9959
|
viewModel._modeFiledArray = props.modeFiledArray;
|
|
@@ -9841,7 +9967,7 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9841
9967
|
const watchCreateHeaderTemp = () => {
|
|
9842
9968
|
if (props.showHeaderTemp) {
|
|
9843
9969
|
// 生成headerTemp
|
|
9844
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
9970
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
9845
9971
|
}
|
|
9846
9972
|
};
|
|
9847
9973
|
|
|
@@ -9861,8 +9987,7 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9861
9987
|
}
|
|
9862
9988
|
|
|
9863
9989
|
props.aliasNameReflection(arrKeys, item => {
|
|
9864
|
-
console.log(item);
|
|
9865
|
-
|
|
9990
|
+
// console.log(item);
|
|
9866
9991
|
for (let key in properties) {
|
|
9867
9992
|
propertiesData.push({
|
|
9868
9993
|
field: item[key] ? item[key] : key,
|
|
@@ -9923,7 +10048,9 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9923
10048
|
ref_key: "ref_box",
|
|
9924
10049
|
ref: ref_box
|
|
9925
10050
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
9926
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", ModelSelectvue_type_script_setup_true_lang_js_hoisted_1, [
|
|
10051
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", ModelSelectvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).modelLayerName) + " : ", 1
|
|
10052
|
+
/* TEXT */
|
|
10053
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(layerNameTitle)), 1
|
|
9927
10054
|
/* TEXT */
|
|
9928
10055
|
)])]),
|
|
9929
10056
|
_: 1
|
|
@@ -9970,7 +10097,7 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9970
10097
|
|
|
9971
10098
|
}, 8
|
|
9972
10099
|
/* PROPS */
|
|
9973
|
-
, ["style"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
10100
|
+
, ["style"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", ModelSelectvue_type_script_setup_true_lang_js_hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
9974
10101
|
onClick: _cache[0] || (_cache[0] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)($event => pick(), ["stop"])),
|
|
9975
10102
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).pick,
|
|
9976
10103
|
type: "primary"
|
|
@@ -10347,6 +10474,7 @@ const SightlineAnalysisvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
10347
10474
|
|
|
10348
10475
|
|
|
10349
10476
|
|
|
10477
|
+
|
|
10350
10478
|
const SightlineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
10351
10479
|
name: "Kq3dSightlineAnalysis"
|
|
10352
10480
|
};
|
|
@@ -10413,7 +10541,17 @@ const SightlineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10413
10541
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
10414
10542
|
|
|
10415
10543
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
10416
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
10544
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
10545
|
+
|
|
10546
|
+
let {
|
|
10547
|
+
locale,
|
|
10548
|
+
messages
|
|
10549
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
10550
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
10551
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
10552
|
+
language.value = messages.value[newVal]["webgl"];
|
|
10553
|
+
headerTempTitle.value = language.value.sightlineAnalysis;
|
|
10554
|
+
});
|
|
10417
10555
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
10418
10556
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
10419
10557
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -10426,7 +10564,6 @@ const SightlineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10426
10564
|
|
|
10427
10565
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
10428
10566
|
if (scenceView) {
|
|
10429
|
-
language.value = scenceView._language;
|
|
10430
10567
|
let options = {
|
|
10431
10568
|
lineWidth: formItem.lineWidth,
|
|
10432
10569
|
visibleColor: formItem.visibleColor,
|
|
@@ -10445,7 +10582,7 @@ const SightlineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10445
10582
|
const watchCreateHeaderTemp = () => {
|
|
10446
10583
|
if (props.showHeaderTemp) {
|
|
10447
10584
|
// 生成headerTemp
|
|
10448
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
10585
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
10449
10586
|
}
|
|
10450
10587
|
};
|
|
10451
10588
|
|
|
@@ -10710,18 +10847,28 @@ SightlineAnalysis.install = (Vue, opts) => {
|
|
|
10710
10847
|
|
|
10711
10848
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
|
|
10712
10849
|
|
|
10713
|
-
//可视域分析逻辑类
|
|
10850
|
+
//可视域分析逻辑类
|
|
10851
|
+
|
|
10714
10852
|
class ViewshedAnalysisViewModel {
|
|
10715
10853
|
//可视域分析三维对象
|
|
10716
10854
|
//三维场景对象
|
|
10717
10855
|
//可视域分析存储参数对象
|
|
10856
|
+
//可视域分析初始点图标
|
|
10857
|
+
//可视域分析初始点坐标
|
|
10718
10858
|
constructor(scenceView, options) {
|
|
10719
10859
|
_defineProperty(this, "_viewshedAnalysis", null);
|
|
10720
10860
|
|
|
10861
|
+
_defineProperty(this, "_viewer", null);
|
|
10862
|
+
|
|
10721
10863
|
_defineProperty(this, "_scene", null);
|
|
10722
10864
|
|
|
10723
10865
|
_defineProperty(this, "_options", null);
|
|
10724
10866
|
|
|
10867
|
+
_defineProperty(this, "_marker", null);
|
|
10868
|
+
|
|
10869
|
+
_defineProperty(this, "_position", null);
|
|
10870
|
+
|
|
10871
|
+
this._viewer = scenceView._viewer;
|
|
10725
10872
|
this._scene = scenceView._viewer.scene;
|
|
10726
10873
|
this._scene.globe.depthTestAgainstTerrain = true;
|
|
10727
10874
|
this._options = options;
|
|
@@ -10733,19 +10880,36 @@ class ViewshedAnalysisViewModel {
|
|
|
10733
10880
|
if (this._options.visibleColor) {
|
|
10734
10881
|
this._options.invisibleColor = Cesium.Color.fromCssColorString(this._options.invisibleColor);
|
|
10735
10882
|
}
|
|
10736
|
-
|
|
10737
|
-
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
10738
10883
|
} //开始分析
|
|
10739
10884
|
|
|
10740
10885
|
|
|
10741
10886
|
start() {
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
10887
|
+
this.clear();
|
|
10888
|
+
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
10889
|
+
let that = this;
|
|
10746
10890
|
|
|
10747
|
-
|
|
10748
|
-
|
|
10891
|
+
this._viewshedAnalysis.event.addEventListener((p1, p2) => {
|
|
10892
|
+
if (p1 && p2 == undefined) {
|
|
10893
|
+
that._position = p1;
|
|
10894
|
+
let cartographic = Cesium.Cartographic.fromCartesian(p1);
|
|
10895
|
+
let newPos = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + that._options.offsetHeight);
|
|
10896
|
+
|
|
10897
|
+
if (that._marker) {
|
|
10898
|
+
that._marker.position = newPos;
|
|
10899
|
+
} else {
|
|
10900
|
+
that._marker = that._viewer.entities.add({
|
|
10901
|
+
position: newPos,
|
|
10902
|
+
billboard: {
|
|
10903
|
+
image: const_image_namespaceObject.OBSERVATION_POINT,
|
|
10904
|
+
verticalOrigin: Cesium.VerticalOrigin.CENTER,
|
|
10905
|
+
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
|
10906
|
+
}
|
|
10907
|
+
});
|
|
10908
|
+
}
|
|
10909
|
+
}
|
|
10910
|
+
});
|
|
10911
|
+
|
|
10912
|
+
this._viewshedAnalysis.start(); // if (!this._viewshedAnalysis.isRunning()) {
|
|
10749
10913
|
// // 绘制完成后,需要释放绘制事件
|
|
10750
10914
|
// }
|
|
10751
10915
|
|
|
@@ -10753,55 +10917,67 @@ class ViewshedAnalysisViewModel {
|
|
|
10753
10917
|
|
|
10754
10918
|
|
|
10755
10919
|
clear() {
|
|
10756
|
-
this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
10757
|
-
this.
|
|
10758
|
-
this._viewshedAnalysis = null;
|
|
10920
|
+
// this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
10921
|
+
this.destroy();
|
|
10759
10922
|
} //销毁
|
|
10760
10923
|
|
|
10761
10924
|
|
|
10762
10925
|
destroy() {
|
|
10763
10926
|
this._viewshedAnalysis && this._viewshedAnalysis.destroy();
|
|
10764
10927
|
this._viewshedAnalysis = null;
|
|
10928
|
+
|
|
10929
|
+
if (this._marker) {
|
|
10930
|
+
this._viewer.entities.remove(this._marker);
|
|
10931
|
+
|
|
10932
|
+
this._marker = null;
|
|
10933
|
+
}
|
|
10765
10934
|
} //设置偏移高度
|
|
10766
10935
|
|
|
10767
10936
|
|
|
10768
10937
|
setOffsetHeight(offsetHeight) {
|
|
10769
|
-
this._options.offsetHeight = offsetHeight;
|
|
10770
|
-
this._viewshedAnalysis.attachedViewshed.offsetHeight =
|
|
10938
|
+
this._options.offsetHeight = Number(offsetHeight);
|
|
10939
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.offsetHeight = this._options.offsetHeight;
|
|
10940
|
+
|
|
10941
|
+
if (this._marker) {
|
|
10942
|
+
let cartographic = Cesium.Cartographic.fromCartesian(this._position);
|
|
10943
|
+
this._marker.position = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + this._options.offsetHeight);
|
|
10944
|
+
}
|
|
10771
10945
|
} //设置水平角
|
|
10772
10946
|
|
|
10773
10947
|
|
|
10774
10948
|
setFovH(fovH) {
|
|
10775
|
-
this._options.fovH = fovH;
|
|
10776
|
-
this._viewshedAnalysis.attachedViewshed.fovH =
|
|
10949
|
+
this._options.fovH = Number(fovH);
|
|
10950
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovH = this._options.fovH;
|
|
10777
10951
|
} //设置竖直角
|
|
10778
10952
|
|
|
10779
10953
|
|
|
10780
10954
|
setFovV(fovV) {
|
|
10781
|
-
this._options.fovV = fovV;
|
|
10782
|
-
this._viewshedAnalysis.attachedViewshed.fovV =
|
|
10955
|
+
this._options.fovV = Number(fovV);
|
|
10956
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovV = this._options.fovV;
|
|
10783
10957
|
} //设置可视颜色
|
|
10784
10958
|
|
|
10785
10959
|
|
|
10786
10960
|
setVisibleColor(visibleColor) {
|
|
10787
|
-
this._options.visibleColor = visibleColor;
|
|
10788
|
-
this._viewshedAnalysis.attachedViewshed.visibleColor =
|
|
10961
|
+
this._options.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
10962
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.visibleColor = this._options.visibleColor;
|
|
10789
10963
|
} //设置不可视颜色
|
|
10790
10964
|
|
|
10791
10965
|
|
|
10792
10966
|
setInvisibleColor(invisibleColor) {
|
|
10793
|
-
this._options.invisibleColor = invisibleColor;
|
|
10794
|
-
this._viewshedAnalysis.attachedViewshed.invisibleColor =
|
|
10967
|
+
this._options.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
10968
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.invisibleColor = this._options.invisibleColor;
|
|
10795
10969
|
} //设置网格线颜色
|
|
10796
10970
|
|
|
10797
10971
|
|
|
10798
10972
|
setLineColor(lineColor) {
|
|
10799
|
-
this.
|
|
10973
|
+
this._options.lineColor = lineColor;
|
|
10974
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.lineColor = Cesium.Color.fromCssColorString(lineColor);
|
|
10800
10975
|
} //显示/隐藏网格线
|
|
10801
10976
|
|
|
10802
10977
|
|
|
10803
10978
|
setShowGridLine(showGridLine) {
|
|
10804
|
-
this.
|
|
10979
|
+
this._options.showGridLine = showGridLine;
|
|
10980
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.showGridLine = showGridLine;
|
|
10805
10981
|
}
|
|
10806
10982
|
|
|
10807
10983
|
}
|
|
@@ -10818,6 +10994,7 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
10818
10994
|
|
|
10819
10995
|
|
|
10820
10996
|
|
|
10997
|
+
|
|
10821
10998
|
const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
10822
10999
|
name: "Kq3dViewshedAnalysis"
|
|
10823
11000
|
};
|
|
@@ -10904,7 +11081,17 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10904
11081
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
10905
11082
|
|
|
10906
11083
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
10907
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
11084
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
11085
|
+
|
|
11086
|
+
let {
|
|
11087
|
+
locale,
|
|
11088
|
+
messages
|
|
11089
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
11090
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
11091
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
11092
|
+
language.value = messages.value[newVal]["webgl"];
|
|
11093
|
+
headerTempTitle.value = language.value.viewshedAnalysis;
|
|
11094
|
+
});
|
|
10908
11095
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
10909
11096
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
10910
11097
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -10918,7 +11105,6 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10918
11105
|
|
|
10919
11106
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
10920
11107
|
if (scenceView) {
|
|
10921
|
-
language.value = scenceView._language;
|
|
10922
11108
|
viewModel = new ViewshedAnalysisViewModel(scenceView, {
|
|
10923
11109
|
offsetHeight: formItem.offsetHeight,
|
|
10924
11110
|
fovV: formItem.fovV,
|
|
@@ -10937,7 +11123,7 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10937
11123
|
const watchCreateHeaderTemp = () => {
|
|
10938
11124
|
if (props.showHeaderTemp) {
|
|
10939
11125
|
// 生成headerTemp
|
|
10940
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
11126
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
10941
11127
|
}
|
|
10942
11128
|
};
|
|
10943
11129
|
|
|
@@ -11586,6 +11772,7 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_hoisted_7 = {
|
|
|
11586
11772
|
|
|
11587
11773
|
|
|
11588
11774
|
|
|
11775
|
+
|
|
11589
11776
|
const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
11590
11777
|
name: "Kq3dShadowAnalysis"
|
|
11591
11778
|
};
|
|
@@ -11723,7 +11910,18 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11723
11910
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
11724
11911
|
|
|
11725
11912
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
11726
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
11913
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
11914
|
+
|
|
11915
|
+
let {
|
|
11916
|
+
locale,
|
|
11917
|
+
messages
|
|
11918
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
11919
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
11920
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
11921
|
+
language.value = messages.value[newVal]["webgl"];
|
|
11922
|
+
headerTempTitle.value = language.value.shadowAnalysis;
|
|
11923
|
+
currentLang.value = newVal;
|
|
11924
|
+
});
|
|
11727
11925
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
11728
11926
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
11729
11927
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -11734,11 +11932,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11734
11932
|
watchCreateHeaderTemp();
|
|
11735
11933
|
});
|
|
11736
11934
|
time.value = [formItem.startTime, formItem.endTime];
|
|
11737
|
-
currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
|
|
11738
|
-
|
|
11739
11935
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
11740
11936
|
if (scenceView) {
|
|
11741
|
-
language.value = scenceView._language;
|
|
11742
11937
|
viewModel = new ShadowAnalysisViewModel(scenceView, {
|
|
11743
11938
|
showVoxel: formItem.showBuilding,
|
|
11744
11939
|
// 显示体素
|
|
@@ -11772,7 +11967,7 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11772
11967
|
const watchCreateHeaderTemp = () => {
|
|
11773
11968
|
if (props.showHeaderTemp) {
|
|
11774
11969
|
// 生成headerTemp
|
|
11775
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
11970
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
11776
11971
|
}
|
|
11777
11972
|
}; // 获取当前日期
|
|
11778
11973
|
|
|
@@ -12668,6 +12863,12 @@ class ProfileAnalysisViewModel {
|
|
|
12668
12863
|
setCameraHeight(val) {
|
|
12669
12864
|
this._globaOptions.viewModel.cameraHeight = val;
|
|
12670
12865
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
12866
|
+
} // 切换语言
|
|
12867
|
+
|
|
12868
|
+
|
|
12869
|
+
changeLanguage(lang) {
|
|
12870
|
+
this._language = lang;
|
|
12871
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
12671
12872
|
} // 清理剖面分析
|
|
12672
12873
|
|
|
12673
12874
|
|
|
@@ -12716,6 +12917,7 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
|
12716
12917
|
|
|
12717
12918
|
|
|
12718
12919
|
|
|
12920
|
+
|
|
12719
12921
|
const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
12720
12922
|
name: "Kq3dProfileAnalysis"
|
|
12721
12923
|
};
|
|
@@ -12805,7 +13007,18 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12805
13007
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
12806
13008
|
|
|
12807
13009
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
12808
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
13010
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
13011
|
+
|
|
13012
|
+
let {
|
|
13013
|
+
locale,
|
|
13014
|
+
messages
|
|
13015
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
13016
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
13017
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
13018
|
+
language.value = messages.value[newVal]["webgl"];
|
|
13019
|
+
headerTempTitle.value = language.value.profileAnalysis;
|
|
13020
|
+
viewModel && viewModel.changeLanguage(language.value);
|
|
13021
|
+
});
|
|
12809
13022
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
12810
13023
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
12811
13024
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -12817,7 +13030,6 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12817
13030
|
});
|
|
12818
13031
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
12819
13032
|
if (scenceView) {
|
|
12820
|
-
language.value = scenceView._language;
|
|
12821
13033
|
viewModel = new ProfileAnalysisViewModel(scenceView, {
|
|
12822
13034
|
perspectiveAngle: formItem.perspectiveAngle,
|
|
12823
13035
|
// 透视角度
|
|
@@ -12842,7 +13054,7 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12842
13054
|
const watchCreateHeaderTemp = () => {
|
|
12843
13055
|
if (props.showHeaderTemp) {
|
|
12844
13056
|
// 生成headerTemp
|
|
12845
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
13057
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
12846
13058
|
}
|
|
12847
13059
|
}; // 开始分析
|
|
12848
13060
|
|
|
@@ -13274,7 +13486,7 @@ class SkylineAnalysisViewModel {
|
|
|
13274
13486
|
* @param {*} viewer 三维对象
|
|
13275
13487
|
* @param {*} option 天际线分析参数对象
|
|
13276
13488
|
*/
|
|
13277
|
-
constructor(viewer, option) {
|
|
13489
|
+
constructor(viewer, option, chartStyle) {
|
|
13278
13490
|
_defineProperty(this, "_skylineAnalysis", null);
|
|
13279
13491
|
|
|
13280
13492
|
_defineProperty(this, "_skylineAnalysisChart", null);
|
|
@@ -13285,6 +13497,9 @@ class SkylineAnalysisViewModel {
|
|
|
13285
13497
|
|
|
13286
13498
|
_defineProperty(this, "_showLimitHeightBody", null);
|
|
13287
13499
|
|
|
13500
|
+
_defineProperty(this, "_chartStyle", null);
|
|
13501
|
+
|
|
13502
|
+
this._chartStyle = chartStyle;
|
|
13288
13503
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
13289
13504
|
|
|
13290
13505
|
viewer.scene.postProcessStages._fxaa.enabled = true; // 创建分析参数对象
|
|
@@ -13384,16 +13599,25 @@ class SkylineAnalysisViewModel {
|
|
|
13384
13599
|
|
|
13385
13600
|
|
|
13386
13601
|
setSkyline2D() {
|
|
13602
|
+
let chartStyle = this._chartStyle;
|
|
13387
13603
|
if (!this._skylineAnalysis) return;
|
|
13388
13604
|
|
|
13389
13605
|
var data = this._skylineAnalysis.updateBuffer();
|
|
13390
13606
|
|
|
13391
13607
|
var option = {
|
|
13392
13608
|
title: {
|
|
13393
|
-
text: this._skylineAnalysisChartTitle
|
|
13609
|
+
text: this._skylineAnalysisChartTitle,
|
|
13610
|
+
textStyle: {
|
|
13611
|
+
color: chartStyle.textColor
|
|
13612
|
+
}
|
|
13394
13613
|
},
|
|
13395
13614
|
tooltip: {
|
|
13396
|
-
trigger: "axis"
|
|
13615
|
+
trigger: "axis",
|
|
13616
|
+
backgroundColor: chartStyle.backgroundColor,
|
|
13617
|
+
borderWidth: 0,
|
|
13618
|
+
textStyle: {
|
|
13619
|
+
color: chartStyle.textColor
|
|
13620
|
+
}
|
|
13397
13621
|
},
|
|
13398
13622
|
grid: {
|
|
13399
13623
|
containLabel: true,
|
|
@@ -13412,7 +13636,10 @@ class SkylineAnalysisViewModel {
|
|
|
13412
13636
|
yAxis: [{
|
|
13413
13637
|
type: "value",
|
|
13414
13638
|
min: 0,
|
|
13415
|
-
max: 1
|
|
13639
|
+
max: 1,
|
|
13640
|
+
axisLabel: {
|
|
13641
|
+
color: chartStyle.textColor
|
|
13642
|
+
}
|
|
13416
13643
|
}],
|
|
13417
13644
|
series: [{
|
|
13418
13645
|
name: "",
|
|
@@ -13422,6 +13649,37 @@ class SkylineAnalysisViewModel {
|
|
|
13422
13649
|
};
|
|
13423
13650
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
13424
13651
|
}
|
|
13652
|
+
/**
|
|
13653
|
+
* 设置echarts图表样式
|
|
13654
|
+
*/
|
|
13655
|
+
|
|
13656
|
+
|
|
13657
|
+
setChartStyle(style) {
|
|
13658
|
+
this._chartStyle = style;
|
|
13659
|
+
|
|
13660
|
+
if (this._skylineAnalysisChart) {
|
|
13661
|
+
let option = this._skylineAnalysisChart.getOption();
|
|
13662
|
+
|
|
13663
|
+
option.title[0].textStyle.color = style.textColor;
|
|
13664
|
+
option.tooltip[0].backgroundColor = style.backgroundColor;
|
|
13665
|
+
option.tooltip[0].textStyle.color = style.textColor;
|
|
13666
|
+
option.yAxis[0].axisLabel.color = style.textColor;
|
|
13667
|
+
|
|
13668
|
+
this._skylineAnalysisChart.setOption(option);
|
|
13669
|
+
}
|
|
13670
|
+
}
|
|
13671
|
+
|
|
13672
|
+
setChartTitle(title) {
|
|
13673
|
+
this._skylineAnalysisChartTitle = title;
|
|
13674
|
+
|
|
13675
|
+
if (this._skylineAnalysisChart) {
|
|
13676
|
+
let option = this._skylineAnalysisChart.getOption();
|
|
13677
|
+
|
|
13678
|
+
option.title[0].text = title;
|
|
13679
|
+
|
|
13680
|
+
this._skylineAnalysisChart.setOption(option);
|
|
13681
|
+
}
|
|
13682
|
+
}
|
|
13425
13683
|
/**
|
|
13426
13684
|
* 清除限高体
|
|
13427
13685
|
*/
|
|
@@ -13433,9 +13691,8 @@ class SkylineAnalysisViewModel {
|
|
|
13433
13691
|
if (this._skylineAnalysis && !this._skylineAnalysis.isDestroyed()) {
|
|
13434
13692
|
this._skylineAnalysis.removeAlllimitHeights();
|
|
13435
13693
|
|
|
13436
|
-
this._skylineAnalysis.removeAllFaces();
|
|
13694
|
+
this._skylineAnalysis.removeAllFaces(); // this._skylineAnalysis.removeGeoJsonDataSource();
|
|
13437
13695
|
|
|
13438
|
-
this._skylineAnalysis.removeGeoJsonDataSource();
|
|
13439
13696
|
|
|
13440
13697
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
13441
13698
|
}
|
|
@@ -13516,7 +13773,7 @@ class SkylineAnalysisViewModel {
|
|
|
13516
13773
|
}
|
|
13517
13774
|
}
|
|
13518
13775
|
/**
|
|
13519
|
-
*
|
|
13776
|
+
* 销毁
|
|
13520
13777
|
*/
|
|
13521
13778
|
|
|
13522
13779
|
|
|
@@ -13554,6 +13811,7 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
|
13554
13811
|
|
|
13555
13812
|
|
|
13556
13813
|
|
|
13814
|
+
|
|
13557
13815
|
// 语言
|
|
13558
13816
|
|
|
13559
13817
|
const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -13637,7 +13895,18 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
13637
13895
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
13638
13896
|
|
|
13639
13897
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
13640
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
13898
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
13899
|
+
|
|
13900
|
+
let {
|
|
13901
|
+
locale,
|
|
13902
|
+
messages
|
|
13903
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
13904
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
13905
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
13906
|
+
language.value = messages.value[newVal]["webgl"];
|
|
13907
|
+
headerTempTitle.value = language.value.skylineAnalysis;
|
|
13908
|
+
viewModel && viewModel.setChartTitle(language.value["skylineAnalysisChartTitle"]);
|
|
13909
|
+
});
|
|
13641
13910
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
13642
13911
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
13643
13912
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -13649,26 +13918,56 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
13649
13918
|
});
|
|
13650
13919
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
13651
13920
|
if (scenceView) {
|
|
13652
|
-
language.value = scenceView._language;
|
|
13653
13921
|
viewModel = new SkylineAnalysisViewModel(scenceView._viewer, {
|
|
13654
13922
|
skylineColor: formItem.skylineColor || "#E6A23C",
|
|
13655
|
-
skylineRadius: formItem.skylineRadius ||
|
|
13923
|
+
skylineRadius: formItem.skylineRadius || 2000,
|
|
13656
13924
|
limitHeightBodyColor: formItem.limitHeightBodyColor || "#67C23A",
|
|
13657
13925
|
limitHeightBodyAlpha: formItem.limitHeightBodyAlpha || 0.7,
|
|
13658
13926
|
skylineWidth: formItem.skylineWidth || 2
|
|
13659
|
-
},
|
|
13660
|
-
viewModel._skylineAnalysisChartTitle =
|
|
13927
|
+
}, setEchartsColor());
|
|
13928
|
+
viewModel._skylineAnalysisChartTitle = scenceView._language["skylineAnalysisChartTitle"];
|
|
13661
13929
|
}
|
|
13662
13930
|
});
|
|
13663
|
-
});
|
|
13931
|
+
}); // 监听主题变化,重置Echarts
|
|
13932
|
+
|
|
13933
|
+
const observer = new MutationObserver(mutationsList => {
|
|
13934
|
+
for (let mutation of mutationsList) {
|
|
13935
|
+
if (mutation.type === "attributes" && mutation.attributeName === "class") {
|
|
13936
|
+
let style = setEchartsColor();
|
|
13937
|
+
viewModel.setChartStyle(style);
|
|
13938
|
+
}
|
|
13939
|
+
}
|
|
13940
|
+
}); // 配置要观察的目标节点及其属性
|
|
13941
|
+
|
|
13942
|
+
const targetNode = document.querySelector("html");
|
|
13943
|
+
const config = {
|
|
13944
|
+
attributes: true
|
|
13945
|
+
};
|
|
13946
|
+
observer.observe(targetNode, config);
|
|
13947
|
+
|
|
13948
|
+
const setEchartsColor = () => {
|
|
13949
|
+
let style = {};
|
|
13950
|
+
let themeStyle = window.getComputedStyle(document.documentElement).getPropertyValue("color-scheme");
|
|
13951
|
+
|
|
13952
|
+
if (themeStyle === "dark") {
|
|
13953
|
+
style.textColor = "#fff";
|
|
13954
|
+
style.backgroundColor = "#2A2A2A";
|
|
13955
|
+
} else {
|
|
13956
|
+
style.textColor = "#333";
|
|
13957
|
+
style.backgroundColor = "#ffffff";
|
|
13958
|
+
}
|
|
13959
|
+
|
|
13960
|
+
return style;
|
|
13961
|
+
};
|
|
13664
13962
|
/**
|
|
13665
13963
|
* @description 监听header生成
|
|
13666
13964
|
*/
|
|
13667
13965
|
|
|
13966
|
+
|
|
13668
13967
|
const watchCreateHeaderTemp = () => {
|
|
13669
13968
|
if (props.showHeaderTemp) {
|
|
13670
13969
|
// 生成headerTemp
|
|
13671
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
13970
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
13672
13971
|
}
|
|
13673
13972
|
}; // 提取天际线
|
|
13674
13973
|
|
|
@@ -14296,6 +14595,7 @@ const TerrainOperationvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
|
14296
14595
|
|
|
14297
14596
|
|
|
14298
14597
|
|
|
14598
|
+
|
|
14299
14599
|
const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
14300
14600
|
name: "Kq3dTerrainOperation"
|
|
14301
14601
|
};
|
|
@@ -14371,7 +14671,17 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14371
14671
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
14372
14672
|
|
|
14373
14673
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
14374
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
14674
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
14675
|
+
|
|
14676
|
+
let {
|
|
14677
|
+
locale,
|
|
14678
|
+
messages
|
|
14679
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
14680
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
14681
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
14682
|
+
language.value = messages.value[newVal]["webgl"];
|
|
14683
|
+
headerTempTitle.value = language.value.terrainOperation;
|
|
14684
|
+
});
|
|
14375
14685
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
14376
14686
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
14377
14687
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -14389,7 +14699,6 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14389
14699
|
formItem.terrainStyle = props.operationMode;
|
|
14390
14700
|
}
|
|
14391
14701
|
|
|
14392
|
-
language.value = scenceView._language;
|
|
14393
14702
|
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
14394
14703
|
terrainStyle: formItem.terrainStyle,
|
|
14395
14704
|
excavationDepth: formItem.excavationDepth
|
|
@@ -14404,7 +14713,7 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14404
14713
|
const watchCreateHeaderTemp = () => {
|
|
14405
14714
|
if (props.showHeaderTemp) {
|
|
14406
14715
|
// 生成headerTemp
|
|
14407
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
14716
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
14408
14717
|
}
|
|
14409
14718
|
}; // 改变样式
|
|
14410
14719
|
|
|
@@ -14770,6 +15079,7 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_hoisted_6 = {
|
|
|
14770
15079
|
|
|
14771
15080
|
|
|
14772
15081
|
|
|
15082
|
+
|
|
14773
15083
|
const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
14774
15084
|
name: "Kq3dExcavateFillAnalysis"
|
|
14775
15085
|
};
|
|
@@ -14848,7 +15158,17 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14848
15158
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
14849
15159
|
|
|
14850
15160
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
14851
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
15161
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
15162
|
+
|
|
15163
|
+
let {
|
|
15164
|
+
locale,
|
|
15165
|
+
messages
|
|
15166
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
15167
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
15168
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
15169
|
+
language.value = messages.value[newVal]["webgl"];
|
|
15170
|
+
headerTempTitle.value = language.value.excavateFillAnalysis;
|
|
15171
|
+
});
|
|
14852
15172
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
14853
15173
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
14854
15174
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -14862,7 +15182,6 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14862
15182
|
|
|
14863
15183
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
14864
15184
|
if (scenceView) {
|
|
14865
|
-
language.value = scenceView._language;
|
|
14866
15185
|
var options = {
|
|
14867
15186
|
referenceHeight: formItem.altitudeHeight,
|
|
14868
15187
|
cutColor: formItem.excavateColor,
|
|
@@ -14898,7 +15217,7 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14898
15217
|
const watchCreateHeaderTemp = () => {
|
|
14899
15218
|
if (props.showHeaderTemp) {
|
|
14900
15219
|
// 生成headerTemp
|
|
14901
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
15220
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
14902
15221
|
}
|
|
14903
15222
|
}; //开始分析
|
|
14904
15223
|
|
|
@@ -15486,6 +15805,7 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
|
15486
15805
|
|
|
15487
15806
|
|
|
15488
15807
|
|
|
15808
|
+
|
|
15489
15809
|
const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
15490
15810
|
name: "Kq3dFloodAnalysis"
|
|
15491
15811
|
};
|
|
@@ -15524,8 +15844,7 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
15524
15844
|
},
|
|
15525
15845
|
// HeaderTemp标题
|
|
15526
15846
|
headerTempTitle: {
|
|
15527
|
-
type: String
|
|
15528
|
-
default: "淹没分析"
|
|
15847
|
+
type: String
|
|
15529
15848
|
},
|
|
15530
15849
|
// HeaderTemp图标
|
|
15531
15850
|
headerTempIcon: {
|
|
@@ -15596,7 +15915,17 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
15596
15915
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
15597
15916
|
|
|
15598
15917
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
15599
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
15918
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
15919
|
+
|
|
15920
|
+
let {
|
|
15921
|
+
locale,
|
|
15922
|
+
messages
|
|
15923
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
15924
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
15925
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
15926
|
+
language.value = messages.value[newVal]["webgl"];
|
|
15927
|
+
headerTempTitle.value = (formItem.floodMode == 0 ? language.value.floodTerrain : language.value.floodModel) + language.value.floodAnalysis1;
|
|
15928
|
+
});
|
|
15600
15929
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
15601
15930
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
15602
15931
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -15608,7 +15937,6 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
15608
15937
|
});
|
|
15609
15938
|
gis_utils_namespaceObject.utils.getWebMap(props.target, scenceView => {
|
|
15610
15939
|
if (scenceView) {
|
|
15611
|
-
language.value = scenceView._language;
|
|
15612
15940
|
viewModel = new FloodAnalysisViewModel(scenceView, {
|
|
15613
15941
|
mode: formItem.floodMode,
|
|
15614
15942
|
moveMode: formItem.floodDirection,
|
|
@@ -15617,18 +15945,7 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
15617
15945
|
minHeight: formItem.floodMinHeight,
|
|
15618
15946
|
maxHeight: formItem.floodMaxHeight,
|
|
15619
15947
|
colorImage: formItem.floodColorImage
|
|
15620
|
-
});
|
|
15621
|
-
// if (!props.headerTempTitle) {
|
|
15622
|
-
// if (props.isShowMode) {
|
|
15623
|
-
// props.headerTempTitle = scenceView._language.floodAnalysis;
|
|
15624
|
-
// } else {
|
|
15625
|
-
// if (formItem.floodMode === 0) {
|
|
15626
|
-
// props.headerTempTitle = scenceView._language.floodTerrain + scenceView._language.floodAnalysis1;
|
|
15627
|
-
// } else if (formItem.floodMode === 1) {
|
|
15628
|
-
// props.headerTempTitle = scenceView._language.floodModel + scenceView._language.floodAnalysis1;
|
|
15629
|
-
// }
|
|
15630
|
-
// }
|
|
15631
|
-
// }
|
|
15948
|
+
});
|
|
15632
15949
|
}
|
|
15633
15950
|
});
|
|
15634
15951
|
});
|
|
@@ -15639,7 +15956,7 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
15639
15956
|
const watchCreateHeaderTemp = () => {
|
|
15640
15957
|
if (props.showHeaderTemp) {
|
|
15641
15958
|
// 生成headerTemp
|
|
15642
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
15959
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
15643
15960
|
}
|
|
15644
15961
|
}; //获取图片路径
|
|
15645
15962
|
|
|
@@ -16488,6 +16805,7 @@ const SlopeAnalysisvue_type_script_setup_true_lang_js_hoisted_10 = {
|
|
|
16488
16805
|
|
|
16489
16806
|
|
|
16490
16807
|
|
|
16808
|
+
|
|
16491
16809
|
const SlopeAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
16492
16810
|
name: "Kq3dSlopeAnalysis"
|
|
16493
16811
|
};
|
|
@@ -16591,7 +16909,17 @@ const SlopeAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
16591
16909
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
16592
16910
|
|
|
16593
16911
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
16594
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
16912
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
16913
|
+
|
|
16914
|
+
let {
|
|
16915
|
+
locale,
|
|
16916
|
+
messages
|
|
16917
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
16918
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
16919
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
16920
|
+
language.value = messages.value[newVal]["webgl"];
|
|
16921
|
+
headerTempTitle.value = language.value.slopeAnalysis;
|
|
16922
|
+
});
|
|
16595
16923
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
16596
16924
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
16597
16925
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -16605,7 +16933,6 @@ const SlopeAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
16605
16933
|
|
|
16606
16934
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
16607
16935
|
if (scenceView) {
|
|
16608
|
-
language.value = scenceView._language;
|
|
16609
16936
|
refactorArr();
|
|
16610
16937
|
viewModel = new SlopeAnalysisViewModel(scenceView, formItem); // var imageUrl = getImagePath(formItem.colorImage);
|
|
16611
16938
|
// viewModel.setColorImage(imageUrl);
|
|
@@ -16619,7 +16946,7 @@ const SlopeAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
16619
16946
|
const watchCreateHeaderTemp = () => {
|
|
16620
16947
|
if (props.showHeaderTemp) {
|
|
16621
16948
|
// 生成headerTemp
|
|
16622
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
16949
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
16623
16950
|
}
|
|
16624
16951
|
}; // 刷新自定义样式数组
|
|
16625
16952
|
|
|
@@ -17374,6 +17701,7 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
17374
17701
|
|
|
17375
17702
|
|
|
17376
17703
|
|
|
17704
|
+
|
|
17377
17705
|
const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
17378
17706
|
name: "Kq3dAspectAnalysis"
|
|
17379
17707
|
};
|
|
@@ -17452,7 +17780,17 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
17452
17780
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
17453
17781
|
|
|
17454
17782
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
17455
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
17783
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
17784
|
+
|
|
17785
|
+
let {
|
|
17786
|
+
locale,
|
|
17787
|
+
messages
|
|
17788
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
17789
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
17790
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
17791
|
+
language.value = messages.value[newVal]["webgl"];
|
|
17792
|
+
headerTempTitle.value = language.value.aspectAnalysis;
|
|
17793
|
+
});
|
|
17456
17794
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
17457
17795
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
17458
17796
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -17466,7 +17804,6 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
17466
17804
|
|
|
17467
17805
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
17468
17806
|
if (scenceView) {
|
|
17469
|
-
language.value = scenceView._language;
|
|
17470
17807
|
viewModel = new AspectAnalysisViewModel(scenceView, {
|
|
17471
17808
|
interval: formItem.interval,
|
|
17472
17809
|
// 采样间隔
|
|
@@ -17485,7 +17822,7 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
17485
17822
|
const watchCreateHeaderTemp = () => {
|
|
17486
17823
|
if (props.showHeaderTemp) {
|
|
17487
17824
|
// 生成headerTemp
|
|
17488
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
17825
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
17489
17826
|
}
|
|
17490
17827
|
}; // 参数改变
|
|
17491
17828
|
|
|
@@ -18203,6 +18540,7 @@ const IsolineAnalysisvue_type_script_setup_true_lang_js_hoisted_17 = {
|
|
|
18203
18540
|
|
|
18204
18541
|
|
|
18205
18542
|
|
|
18543
|
+
|
|
18206
18544
|
const IsolineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
18207
18545
|
name: "Kq3dIsolineAnalysis"
|
|
18208
18546
|
};
|
|
@@ -18350,7 +18688,17 @@ const IsolineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
18350
18688
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
18351
18689
|
|
|
18352
18690
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
18353
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
18691
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
18692
|
+
|
|
18693
|
+
let {
|
|
18694
|
+
locale,
|
|
18695
|
+
messages
|
|
18696
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
18697
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
18698
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
18699
|
+
language.value = messages.value[newVal]["webgl"];
|
|
18700
|
+
headerTempTitle.value = language.value.isolineAnalysis;
|
|
18701
|
+
});
|
|
18354
18702
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
18355
18703
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
18356
18704
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -18364,7 +18712,6 @@ const IsolineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
18364
18712
|
|
|
18365
18713
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
18366
18714
|
if (scenceView) {
|
|
18367
|
-
language.value = scenceView._language;
|
|
18368
18715
|
var options = {
|
|
18369
18716
|
minHeight: formItem.minHeight,
|
|
18370
18717
|
maxHeight: formItem.maxHeight,
|
|
@@ -18408,7 +18755,7 @@ const IsolineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
18408
18755
|
const watchCreateHeaderTemp = () => {
|
|
18409
18756
|
if (props.showHeaderTemp) {
|
|
18410
18757
|
// 生成headerTemp
|
|
18411
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
18758
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
18412
18759
|
}
|
|
18413
18760
|
}; // 刷新自定义样式数组
|
|
18414
18761
|
|
|
@@ -20613,6 +20960,7 @@ const BoxClipvue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
|
20613
20960
|
|
|
20614
20961
|
|
|
20615
20962
|
|
|
20963
|
+
|
|
20616
20964
|
const BoxClipvue_type_script_setup_true_lang_js_default_ = {
|
|
20617
20965
|
name: "Kq3dBoxClip"
|
|
20618
20966
|
};
|
|
@@ -20688,7 +21036,17 @@ const BoxClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
20688
21036
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
20689
21037
|
|
|
20690
21038
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
20691
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
21039
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
21040
|
+
|
|
21041
|
+
let {
|
|
21042
|
+
locale,
|
|
21043
|
+
messages
|
|
21044
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
21045
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
21046
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
21047
|
+
language.value = messages.value[newVal]["webgl"];
|
|
21048
|
+
headerTempTitle.value = language.value.boxClip;
|
|
21049
|
+
});
|
|
20692
21050
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
20693
21051
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
20694
21052
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -20703,7 +21061,6 @@ const BoxClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
20703
21061
|
|
|
20704
21062
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
20705
21063
|
if (scenceView) {
|
|
20706
|
-
language.value = scenceView._language;
|
|
20707
21064
|
let options = {
|
|
20708
21065
|
tileset: formItem.tileset,
|
|
20709
21066
|
unionClippingRegions: formItem.unionClippingRegions,
|
|
@@ -20738,7 +21095,7 @@ const BoxClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
20738
21095
|
const watchCreateHeaderTemp = () => {
|
|
20739
21096
|
if (props.showHeaderTemp) {
|
|
20740
21097
|
// 生成headerTemp
|
|
20741
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
21098
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
20742
21099
|
}
|
|
20743
21100
|
}; // 参数改变
|
|
20744
21101
|
|
|
@@ -21696,6 +22053,7 @@ const PlaneClipvue_type_script_setup_true_lang_js_hoisted_5 = {
|
|
|
21696
22053
|
|
|
21697
22054
|
|
|
21698
22055
|
|
|
22056
|
+
|
|
21699
22057
|
const PlaneClipvue_type_script_setup_true_lang_js_default_ = {
|
|
21700
22058
|
name: "Kq3dPlaneClip"
|
|
21701
22059
|
};
|
|
@@ -21766,7 +22124,17 @@ const PlaneClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
21766
22124
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
21767
22125
|
|
|
21768
22126
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
21769
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
22127
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
22128
|
+
|
|
22129
|
+
let {
|
|
22130
|
+
locale,
|
|
22131
|
+
messages
|
|
22132
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
22133
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
22134
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
22135
|
+
language.value = messages.value[newVal]["webgl"];
|
|
22136
|
+
headerTempTitle.value = language.value.planeClip;
|
|
22137
|
+
});
|
|
21770
22138
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
21771
22139
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
21772
22140
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -21781,7 +22149,6 @@ const PlaneClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
21781
22149
|
|
|
21782
22150
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
21783
22151
|
if (scenceView) {
|
|
21784
|
-
language.value = scenceView._language;
|
|
21785
22152
|
let options = {
|
|
21786
22153
|
tileset: formItem.tileset,
|
|
21787
22154
|
clipType: formItem.clipDirection,
|
|
@@ -21811,7 +22178,7 @@ const PlaneClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
21811
22178
|
const watchCreateHeaderTemp = () => {
|
|
21812
22179
|
if (props.showHeaderTemp) {
|
|
21813
22180
|
// 生成headerTemp
|
|
21814
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
22181
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
21815
22182
|
}
|
|
21816
22183
|
}; // 参数改变
|
|
21817
22184
|
|
|
@@ -23286,6 +23653,7 @@ const AddDatavue_type_script_setup_true_lang_js_hoisted_12 = {
|
|
|
23286
23653
|
|
|
23287
23654
|
|
|
23288
23655
|
|
|
23656
|
+
|
|
23289
23657
|
//accept=".zip,.geojson,.topojson,.json,.kml,.kmz,.czml,.csv,.xls,.xlsx,.txt"
|
|
23290
23658
|
|
|
23291
23659
|
const AddDatavue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -23393,7 +23761,129 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
|
|
|
23393
23761
|
|
|
23394
23762
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
23395
23763
|
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
23396
|
-
let viewModel = null;
|
|
23764
|
+
let viewModel = null; // 国际化
|
|
23765
|
+
|
|
23766
|
+
let {
|
|
23767
|
+
locale,
|
|
23768
|
+
messages
|
|
23769
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
23770
|
+
let addDataTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
23771
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
23772
|
+
language.value = messages.value[newVal]["webgl"];
|
|
23773
|
+
addDataTitle.value = language.value.addData;
|
|
23774
|
+
dataSourceTypeList.value = setDataSourceType();
|
|
23775
|
+
dataSourceType.value = dataSourceTypeList.value[selectTypeIndex.value];
|
|
23776
|
+
});
|
|
23777
|
+
|
|
23778
|
+
function setDataSourceType() {
|
|
23779
|
+
return [// {
|
|
23780
|
+
// type: 'kq3dimageryfile',
|
|
23781
|
+
// name: language.value.ImagertyTileFile,
|
|
23782
|
+
// namePlaceholder: language.value.unnamedLayer,
|
|
23783
|
+
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
23784
|
+
// description: language.value.imagertyTileFiledescription
|
|
23785
|
+
// }, {
|
|
23786
|
+
// type: 'obterrain',
|
|
23787
|
+
// name: language.value.ObTerrainTileFile,
|
|
23788
|
+
// namePlaceholder: language.value.unnamedLayer,
|
|
23789
|
+
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
23790
|
+
// description: language.value.imagertyObTerrainTileFiledescription
|
|
23791
|
+
// },
|
|
23792
|
+
{
|
|
23793
|
+
type: "kqgis3dserver",
|
|
23794
|
+
name: language.value.KQGIS3DServer,
|
|
23795
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23796
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/realspace",
|
|
23797
|
+
description: language.value.imagerty3DServerdescription
|
|
23798
|
+
}, {
|
|
23799
|
+
type: "kqgismapserver",
|
|
23800
|
+
name: language.value.KQGISMapServer,
|
|
23801
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23802
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map",
|
|
23803
|
+
description: language.value.imagertyMapServerdescription
|
|
23804
|
+
}, {
|
|
23805
|
+
type: "kqgisimageserver",
|
|
23806
|
+
name: language.value.KQGISImageServer,
|
|
23807
|
+
namePlaceholder: language.value.imageCollectionName,
|
|
23808
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/image",
|
|
23809
|
+
description: language.value.imagertyImageServerdescription
|
|
23810
|
+
}, {
|
|
23811
|
+
type: "kqgisdataflowserver",
|
|
23812
|
+
name: language.value.KQGISDataflowServer,
|
|
23813
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23814
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/streaming/rest/services/<servername>/dataflow",
|
|
23815
|
+
description: language.value.imagertyDataflowServerdescription
|
|
23816
|
+
}, {
|
|
23817
|
+
type: "kqgistileserver",
|
|
23818
|
+
name: language.value.KQGISTileServer,
|
|
23819
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23820
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/tile/wmts",
|
|
23821
|
+
description: language.value.imagertyTileServerdescription
|
|
23822
|
+
}, {
|
|
23823
|
+
type: "arcgismapserver",
|
|
23824
|
+
name: language.value.ArcGISMapServer,
|
|
23825
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23826
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/ArcGIS/rest/services/<servername>/MapServer",
|
|
23827
|
+
description: language.value.imagertyArcGISMapServerdescription
|
|
23828
|
+
}, {
|
|
23829
|
+
type: "wms",
|
|
23830
|
+
name: language.value.OGCWMS,
|
|
23831
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23832
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wms",
|
|
23833
|
+
description: language.value.imagertyOGCWMSdescription
|
|
23834
|
+
}, {
|
|
23835
|
+
type: "wmts",
|
|
23836
|
+
name: language.value.OGCWMTS,
|
|
23837
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23838
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wmts",
|
|
23839
|
+
description: language.value.imagertyOGCWMTSdescription
|
|
23840
|
+
}, {
|
|
23841
|
+
type: "3dtiles",
|
|
23842
|
+
name: language.value.Cesium3DTilesFile,
|
|
23843
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23844
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/tileset.json",
|
|
23845
|
+
description: language.value.imagerty3DTilesFiledescription
|
|
23846
|
+
}, {
|
|
23847
|
+
type: "stkterrain",
|
|
23848
|
+
name: language.value.StkTerrainTileFile,
|
|
23849
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23850
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx/<foldername>/",
|
|
23851
|
+
description: language.value.imagertyStkTerrainTileFiledescription
|
|
23852
|
+
}, {
|
|
23853
|
+
type: "geojson",
|
|
23854
|
+
name: language.value.GeoJson,
|
|
23855
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23856
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx.geojson",
|
|
23857
|
+
description: language.value.imagertyGeoJsondescription
|
|
23858
|
+
}, {
|
|
23859
|
+
type: "mvt",
|
|
23860
|
+
name: language.value.MVT,
|
|
23861
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23862
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/mvt/style.json",
|
|
23863
|
+
description: language.value.imagertyMVTdescription
|
|
23864
|
+
}
|
|
23865
|
+
/*, {
|
|
23866
|
+
type: 'wfs',
|
|
23867
|
+
name: language.value.OGCWFS,
|
|
23868
|
+
namePlaceholder: language.value.wfsLayer,
|
|
23869
|
+
urlPlaceholder: language.value.format +':http://<host>:<port>/ArcGIS/rest/services/<servername>/wfs',
|
|
23870
|
+
description: language.value.imagertyOGCWFSdescription
|
|
23871
|
+
}, {
|
|
23872
|
+
type: 'kml',
|
|
23873
|
+
name: language.value.KML,
|
|
23874
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23875
|
+
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.kml',
|
|
23876
|
+
description: language.value.imagertyKMLdescription
|
|
23877
|
+
}, {
|
|
23878
|
+
type: 'czml',
|
|
23879
|
+
name: language.value.CZML,
|
|
23880
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
23881
|
+
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.czml',
|
|
23882
|
+
description: language.value.imagertyCZMLdescription
|
|
23883
|
+
}*/
|
|
23884
|
+
];
|
|
23885
|
+
}
|
|
23886
|
+
|
|
23397
23887
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
23398
23888
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
23399
23889
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -23405,114 +23895,6 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
|
|
|
23405
23895
|
});
|
|
23406
23896
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
23407
23897
|
if (scenceView) {
|
|
23408
|
-
language.value = scenceView._language;
|
|
23409
|
-
dataSourceTypeList.value = [// {
|
|
23410
|
-
// type: 'kq3dimageryfile',
|
|
23411
|
-
// name: language.value.ImagertyTileFile,
|
|
23412
|
-
// namePlaceholder: language.value.unnamedLayer,
|
|
23413
|
-
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
23414
|
-
// description: language.value.imagertyTileFiledescription
|
|
23415
|
-
// }, {
|
|
23416
|
-
// type: 'obterrain',
|
|
23417
|
-
// name: language.value.ObTerrainTileFile,
|
|
23418
|
-
// namePlaceholder: language.value.unnamedLayer,
|
|
23419
|
-
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
23420
|
-
// description: language.value.imagertyObTerrainTileFiledescription
|
|
23421
|
-
// },
|
|
23422
|
-
{
|
|
23423
|
-
type: "kqgis3dserver",
|
|
23424
|
-
name: language.value.KQGIS3DServer,
|
|
23425
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23426
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/realspace",
|
|
23427
|
-
description: language.value.imagerty3DServerdescription
|
|
23428
|
-
}, {
|
|
23429
|
-
type: "kqgismapserver",
|
|
23430
|
-
name: language.value.KQGISMapServer,
|
|
23431
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23432
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map",
|
|
23433
|
-
description: language.value.imagertyMapServerdescription
|
|
23434
|
-
}, {
|
|
23435
|
-
type: "kqgisimageserver",
|
|
23436
|
-
name: language.value.KQGISImageServer,
|
|
23437
|
-
namePlaceholder: language.value.imageCollectionName,
|
|
23438
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/image",
|
|
23439
|
-
description: language.value.imagertyImageServerdescription
|
|
23440
|
-
}, {
|
|
23441
|
-
type: "kqgisdataflowserver",
|
|
23442
|
-
name: language.value.KQGISDataflowServer,
|
|
23443
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23444
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/streaming/rest/services/<servername>/dataflow",
|
|
23445
|
-
description: language.value.imagertyDataflowServerdescription
|
|
23446
|
-
}, {
|
|
23447
|
-
type: "kqgistileserver",
|
|
23448
|
-
name: language.value.KQGISTileServer,
|
|
23449
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23450
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/tile/wmts",
|
|
23451
|
-
description: language.value.imagertyTileServerdescription
|
|
23452
|
-
}, {
|
|
23453
|
-
type: "arcgismapserver",
|
|
23454
|
-
name: language.value.ArcGISMapServer,
|
|
23455
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23456
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/ArcGIS/rest/services/<servername>/MapServer",
|
|
23457
|
-
description: language.value.imagertyArcGISMapServerdescription
|
|
23458
|
-
}, {
|
|
23459
|
-
type: "wms",
|
|
23460
|
-
name: language.value.OGCWMS,
|
|
23461
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23462
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wms",
|
|
23463
|
-
description: language.value.imagertyOGCWMSdescription
|
|
23464
|
-
}, {
|
|
23465
|
-
type: "wmts",
|
|
23466
|
-
name: language.value.OGCWMTS,
|
|
23467
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23468
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wmts",
|
|
23469
|
-
description: language.value.imagertyOGCWMTSdescription
|
|
23470
|
-
}, {
|
|
23471
|
-
type: "3dtiles",
|
|
23472
|
-
name: language.value.Cesium3DTilesFile,
|
|
23473
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23474
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/tileset.json",
|
|
23475
|
-
description: language.value.imagerty3DTilesFiledescription
|
|
23476
|
-
}, {
|
|
23477
|
-
type: "stkterrain",
|
|
23478
|
-
name: language.value.StkTerrainTileFile,
|
|
23479
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23480
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx/<foldername>/",
|
|
23481
|
-
description: language.value.imagertyStkTerrainTileFiledescription
|
|
23482
|
-
}, {
|
|
23483
|
-
type: "geojson",
|
|
23484
|
-
name: language.value.GeoJson,
|
|
23485
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23486
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx.geojson",
|
|
23487
|
-
description: language.value.imagertyGeoJsondescription
|
|
23488
|
-
}, {
|
|
23489
|
-
type: "mvt",
|
|
23490
|
-
name: language.value.MVT,
|
|
23491
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23492
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/mvt/style.json",
|
|
23493
|
-
description: language.value.imagertyMVTdescription
|
|
23494
|
-
}
|
|
23495
|
-
/*, {
|
|
23496
|
-
type: 'wfs',
|
|
23497
|
-
name: language.value.OGCWFS,
|
|
23498
|
-
namePlaceholder: language.value.wfsLayer,
|
|
23499
|
-
urlPlaceholder: language.value.format +':http://<host>:<port>/ArcGIS/rest/services/<servername>/wfs',
|
|
23500
|
-
description: language.value.imagertyOGCWFSdescription
|
|
23501
|
-
}, {
|
|
23502
|
-
type: 'kml',
|
|
23503
|
-
name: language.value.KML,
|
|
23504
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23505
|
-
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.kml',
|
|
23506
|
-
description: language.value.imagertyKMLdescription
|
|
23507
|
-
}, {
|
|
23508
|
-
type: 'czml',
|
|
23509
|
-
name: language.value.CZML,
|
|
23510
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
23511
|
-
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.czml',
|
|
23512
|
-
description: language.value.imagertyCZMLdescription
|
|
23513
|
-
}*/
|
|
23514
|
-
];
|
|
23515
|
-
dataSourceType.value = dataSourceTypeList.value[0];
|
|
23516
23898
|
let options = {
|
|
23517
23899
|
geometryServerUrl: props.geometryServerUrl,
|
|
23518
23900
|
geometryServerToken: props.geometryServerToken
|
|
@@ -23528,7 +23910,7 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
|
|
|
23528
23910
|
const watchCreateHeaderTemp = () => {
|
|
23529
23911
|
if (props.showHeaderTemp) {
|
|
23530
23912
|
// 生成headerTemp
|
|
23531
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
23913
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, addDataTitle);
|
|
23532
23914
|
}
|
|
23533
23915
|
}; // 切换tab页
|
|
23534
23916
|
|
|
@@ -24186,6 +24568,7 @@ const ParticleEffectvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
24186
24568
|
|
|
24187
24569
|
|
|
24188
24570
|
|
|
24571
|
+
|
|
24189
24572
|
const ParticleEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
24190
24573
|
name: "Kq3dParticleEffect"
|
|
24191
24574
|
};
|
|
@@ -24259,7 +24642,17 @@ const ParticleEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
24259
24642
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
24260
24643
|
|
|
24261
24644
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
24262
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
24645
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
24646
|
+
|
|
24647
|
+
let {
|
|
24648
|
+
locale,
|
|
24649
|
+
messages
|
|
24650
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
24651
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
24652
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
24653
|
+
language.value = messages.value[newVal]["webgl"];
|
|
24654
|
+
headerTempTitle.value = language.value.particleEffect;
|
|
24655
|
+
});
|
|
24263
24656
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
24264
24657
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
24265
24658
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -24273,7 +24666,6 @@ const ParticleEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
24273
24666
|
|
|
24274
24667
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
24275
24668
|
if (scenceView) {
|
|
24276
|
-
language.value = scenceView._language;
|
|
24277
24669
|
viewModel = new ParticleEffectViewModel(scenceView);
|
|
24278
24670
|
}
|
|
24279
24671
|
});
|
|
@@ -24285,7 +24677,7 @@ const ParticleEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
24285
24677
|
const watchCreateHeaderTemp = () => {
|
|
24286
24678
|
if (props.showHeaderTemp) {
|
|
24287
24679
|
// 生成headerTemp
|
|
24288
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
24680
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
24289
24681
|
}
|
|
24290
24682
|
};
|
|
24291
24683
|
|
|
@@ -25210,6 +25602,7 @@ const WeatherEffectvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
25210
25602
|
|
|
25211
25603
|
|
|
25212
25604
|
|
|
25605
|
+
|
|
25213
25606
|
const WeatherEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
25214
25607
|
name: "Kq3dWeatherEffect"
|
|
25215
25608
|
};
|
|
@@ -25281,7 +25674,17 @@ const WeatherEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
25281
25674
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
25282
25675
|
|
|
25283
25676
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
25284
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
25677
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
25678
|
+
|
|
25679
|
+
let {
|
|
25680
|
+
locale,
|
|
25681
|
+
messages
|
|
25682
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
25683
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
25684
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
25685
|
+
language.value = messages.value[newVal]["webgl"];
|
|
25686
|
+
headerTempTitle.value = language.value.weatherEffect;
|
|
25687
|
+
});
|
|
25285
25688
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
25286
25689
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
25287
25690
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -25295,7 +25698,6 @@ const WeatherEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
25295
25698
|
|
|
25296
25699
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
25297
25700
|
if (scenceView) {
|
|
25298
|
-
language.value = scenceView._language;
|
|
25299
25701
|
viewModel = new WeatherEffectViewModel(scenceView);
|
|
25300
25702
|
}
|
|
25301
25703
|
});
|
|
@@ -25307,7 +25709,7 @@ const WeatherEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
25307
25709
|
const watchCreateHeaderTemp = () => {
|
|
25308
25710
|
if (props.showHeaderTemp) {
|
|
25309
25711
|
// 生成headerTemp
|
|
25310
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
25712
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
25311
25713
|
}
|
|
25312
25714
|
}; //切换雨雪天气特效
|
|
25313
25715
|
|
|
@@ -25982,6 +26384,7 @@ const CompareMapTreevue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
25982
26384
|
};
|
|
25983
26385
|
|
|
25984
26386
|
|
|
26387
|
+
|
|
25985
26388
|
const CompareMapTreevue_type_script_setup_true_lang_js_default_ = {
|
|
25986
26389
|
name: "Kq3dCompareMapTree"
|
|
25987
26390
|
};
|
|
@@ -26027,13 +26430,20 @@ const CompareMapTreevue_type_script_setup_true_lang_js_default_ = {
|
|
|
26027
26430
|
}
|
|
26028
26431
|
|
|
26029
26432
|
preCheckedKeys.value = values;
|
|
26030
|
-
}
|
|
26433
|
+
} // 国际化
|
|
26031
26434
|
|
|
26435
|
+
|
|
26436
|
+
let {
|
|
26437
|
+
locale,
|
|
26438
|
+
messages
|
|
26439
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
26440
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
26441
|
+
language.value = messages.value[newVal]["webgl"];
|
|
26442
|
+
});
|
|
26032
26443
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
26033
26444
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.nextTick)(() => {
|
|
26034
26445
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
26035
26446
|
if (scenceView) {
|
|
26036
|
-
language.value = scenceView._language;
|
|
26037
26447
|
layerTreeData.value = gis_utils_namespaceObject.mapLayerUtils.getLayerCheckedList();
|
|
26038
26448
|
selectedLayers.value = gis_utils_namespaceObject.mapLayerUtils.getLayerCheckedListKey();
|
|
26039
26449
|
preCheckedKeys.value = selectedLayers.value;
|
|
@@ -26100,6 +26510,7 @@ const CompareMapvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
26100
26510
|
|
|
26101
26511
|
|
|
26102
26512
|
|
|
26513
|
+
|
|
26103
26514
|
const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
26104
26515
|
name: "Kq3dCompareMap"
|
|
26105
26516
|
};
|
|
@@ -26137,12 +26548,19 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
26137
26548
|
let tree1Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(0);
|
|
26138
26549
|
let tree2Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(1);
|
|
26139
26550
|
let tree3Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(2);
|
|
26140
|
-
let tree4Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(3);
|
|
26551
|
+
let tree4Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(3); // 国际化
|
|
26552
|
+
|
|
26553
|
+
let {
|
|
26554
|
+
locale,
|
|
26555
|
+
messages
|
|
26556
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
26557
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
26558
|
+
language.value = messages.value[newVal]["webgl"];
|
|
26559
|
+
});
|
|
26141
26560
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
26142
26561
|
offsetTop.value = props.offsetTop;
|
|
26143
26562
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
26144
26563
|
if (scenceView) {
|
|
26145
|
-
language.value = scenceView._language;
|
|
26146
26564
|
viewModel = new CompareMapViewModel(scenceView);
|
|
26147
26565
|
}
|
|
26148
26566
|
});
|
|
@@ -26448,6 +26866,7 @@ const Screenshotvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
26448
26866
|
|
|
26449
26867
|
|
|
26450
26868
|
|
|
26869
|
+
|
|
26451
26870
|
// 场景宽度
|
|
26452
26871
|
|
|
26453
26872
|
const Screenshotvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -26529,7 +26948,17 @@ const Screenshotvue_type_script_setup_true_lang_js_default_ = {
|
|
|
26529
26948
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
26530
26949
|
|
|
26531
26950
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
26532
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
26951
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
26952
|
+
|
|
26953
|
+
let {
|
|
26954
|
+
locale,
|
|
26955
|
+
messages
|
|
26956
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
26957
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
26958
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
26959
|
+
language.value = messages.value[newVal]["webgl"];
|
|
26960
|
+
headerTempTitle.value = language.value.screenshot;
|
|
26961
|
+
});
|
|
26533
26962
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
26534
26963
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
26535
26964
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -26541,7 +26970,6 @@ const Screenshotvue_type_script_setup_true_lang_js_default_ = {
|
|
|
26541
26970
|
});
|
|
26542
26971
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
26543
26972
|
if (scenceView) {
|
|
26544
|
-
language.value = scenceView._language;
|
|
26545
26973
|
var canvas = scenceView._viewer.scene.canvas;
|
|
26546
26974
|
imgWidthMax.value = canvas.width;
|
|
26547
26975
|
imgHeightMax.value = canvas.height;
|
|
@@ -26558,7 +26986,7 @@ const Screenshotvue_type_script_setup_true_lang_js_default_ = {
|
|
|
26558
26986
|
const watchCreateHeaderTemp = () => {
|
|
26559
26987
|
if (props.showHeaderTemp) {
|
|
26560
26988
|
// 生成headerTemp
|
|
26561
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
26989
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
26562
26990
|
}
|
|
26563
26991
|
}; // 场景出图
|
|
26564
26992
|
|
|
@@ -27205,6 +27633,7 @@ const Rollervue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
|
27205
27633
|
|
|
27206
27634
|
|
|
27207
27635
|
|
|
27636
|
+
|
|
27208
27637
|
const Rollervue_type_script_setup_true_lang_js_default_ = {
|
|
27209
27638
|
name: "Kq3dRoller"
|
|
27210
27639
|
};
|
|
@@ -27269,7 +27698,17 @@ const Rollervue_type_script_setup_true_lang_js_default_ = {
|
|
|
27269
27698
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 生成组件默认header
|
|
27270
27699
|
|
|
27271
27700
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
27272
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)();
|
|
27701
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 国际化
|
|
27702
|
+
|
|
27703
|
+
let {
|
|
27704
|
+
locale,
|
|
27705
|
+
messages
|
|
27706
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
27707
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
27708
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
27709
|
+
language.value = messages.value[newVal]["webgl"];
|
|
27710
|
+
headerTempTitle.value = language.value.roller;
|
|
27711
|
+
});
|
|
27273
27712
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
27274
27713
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
27275
27714
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -27281,7 +27720,6 @@ const Rollervue_type_script_setup_true_lang_js_default_ = {
|
|
|
27281
27720
|
});
|
|
27282
27721
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
27283
27722
|
if (scenceView) {
|
|
27284
|
-
language.value = scenceView._language;
|
|
27285
27723
|
let options = {
|
|
27286
27724
|
layers: layers
|
|
27287
27725
|
};
|
|
@@ -27296,7 +27734,7 @@ const Rollervue_type_script_setup_true_lang_js_default_ = {
|
|
|
27296
27734
|
const watchCreateHeaderTemp = () => {
|
|
27297
27735
|
if (props.showHeaderTemp) {
|
|
27298
27736
|
// 生成headerTemp
|
|
27299
|
-
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef);
|
|
27737
|
+
headerTemp.value = (0,util_namespaceObject.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toRefs)(props), headerTempRef, headerTempTitle);
|
|
27300
27738
|
}
|
|
27301
27739
|
}; // 切换模式
|
|
27302
27740
|
|
|
@@ -27620,6 +28058,7 @@ const Undergroundvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
27620
28058
|
|
|
27621
28059
|
|
|
27622
28060
|
|
|
28061
|
+
|
|
27623
28062
|
const Undergroundvue_type_script_setup_true_lang_js_default_ = {
|
|
27624
28063
|
name: "kq3dUnderground"
|
|
27625
28064
|
};
|
|
@@ -27643,10 +28082,17 @@ const Undergroundvue_type_script_setup_true_lang_js_default_ = {
|
|
|
27643
28082
|
|
|
27644
28083
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
27645
28084
|
let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(false);
|
|
27646
|
-
let viewer = null;
|
|
27647
28085
|
let viewModel = null; // 组件容器Ref
|
|
27648
28086
|
|
|
27649
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null);
|
|
28087
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 国际化
|
|
28088
|
+
|
|
28089
|
+
let {
|
|
28090
|
+
locale,
|
|
28091
|
+
messages
|
|
28092
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
28093
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
28094
|
+
language.value = messages.value[newVal]["webgl"];
|
|
28095
|
+
});
|
|
27650
28096
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
27651
28097
|
(0,util_namespaceObject.updatePosition)(boxRef.value, props);
|
|
27652
28098
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -27654,9 +28100,7 @@ const Undergroundvue_type_script_setup_true_lang_js_default_ = {
|
|
|
27654
28100
|
});
|
|
27655
28101
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
27656
28102
|
if (scenceView) {
|
|
27657
|
-
|
|
27658
|
-
language.value = scenceView._language;
|
|
27659
|
-
viewModel = new UndergroundViewModel(viewer);
|
|
28103
|
+
viewModel = new UndergroundViewModel(scenceView._viewer);
|
|
27660
28104
|
}
|
|
27661
28105
|
});
|
|
27662
28106
|
}); // 地下模式点击事件
|
|
@@ -27734,9 +28178,12 @@ Underground.install = (Vue, opts) => {
|
|
|
27734
28178
|
|
|
27735
28179
|
|
|
27736
28180
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
|
|
28181
|
+
|
|
27737
28182
|
// 地图状态栏逻辑类
|
|
27738
28183
|
class StatusBarViewModel {
|
|
27739
28184
|
constructor(viewer, options) {
|
|
28185
|
+
_defineProperty(this, "_viewer", null);
|
|
28186
|
+
|
|
27740
28187
|
viewer.statusBar.show = true;
|
|
27741
28188
|
viewer.statusBar.readyPromise.then(() => {
|
|
27742
28189
|
// viewer.statusBar.container.style.bottom = "16px";
|
|
@@ -27766,6 +28213,56 @@ class StatusBarViewModel {
|
|
|
27766
28213
|
viewer.statusBar.setCopyrightText(options.copyrightText);
|
|
27767
28214
|
}
|
|
27768
28215
|
});
|
|
28216
|
+
this._viewer = viewer;
|
|
28217
|
+
}
|
|
28218
|
+
|
|
28219
|
+
changeLanguage(lang) {
|
|
28220
|
+
var that = this;
|
|
28221
|
+
|
|
28222
|
+
if (that._viewer.statusBar._ready) {
|
|
28223
|
+
var originLanguage = that._viewer.statusBar._curLanguage;
|
|
28224
|
+
var language = new Cesium.Languages({
|
|
28225
|
+
languageStyle: lang == 'zh' ? 'zh-cn' : 'en'
|
|
28226
|
+
});
|
|
28227
|
+
language.readyPromise.then(function () {
|
|
28228
|
+
//loaded success
|
|
28229
|
+
that._viewer._language = language;
|
|
28230
|
+
var langContent = language.content;
|
|
28231
|
+
|
|
28232
|
+
if (langContent) {
|
|
28233
|
+
that._viewer.statusBar._curLanguage = {
|
|
28234
|
+
mUnit: langContent.mUnit,
|
|
28235
|
+
kmUnit: langContent.kmUnit,
|
|
28236
|
+
sqkmUnit: langContent.sqkmUnit,
|
|
28237
|
+
sqmUnit: langContent.sqmUnit,
|
|
28238
|
+
N: langContent.N,
|
|
28239
|
+
S: langContent.S,
|
|
28240
|
+
E: langContent.E,
|
|
28241
|
+
W: langContent.W,
|
|
28242
|
+
du: langContent.du,
|
|
28243
|
+
fen: langContent.fen,
|
|
28244
|
+
miao: langContent.miao,
|
|
28245
|
+
elevation: langContent.elevation,
|
|
28246
|
+
eyeAltitude: langContent.eyeAltitude,
|
|
28247
|
+
copyright: langContent.copyright,
|
|
28248
|
+
scale: langContent.scale
|
|
28249
|
+
};
|
|
28250
|
+
var id = that._viewer.statusBar._id; // 比例尺控件
|
|
28251
|
+
|
|
28252
|
+
html = document.getElementById(id + '_ScaleBarTxt').innerHTML;
|
|
28253
|
+
document.getElementById(id + '_ScaleBarTxt').innerHTML = html.replace(originLanguage.scale, langContent.scale); // 比例尺
|
|
28254
|
+
|
|
28255
|
+
html = document.getElementById(id + '_ScaleTxt').innerHTML;
|
|
28256
|
+
document.getElementById(id + '_ScaleTxt').innerHTMLhtml = html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit); // 视点高
|
|
28257
|
+
|
|
28258
|
+
html = document.getElementById(id + '_CoordEyeAlt').innerHTML;
|
|
28259
|
+
document.getElementById(id + '_CoordEyeAlt').innerHTML = html.replace(originLanguage.eyeAltitude, langContent.eyeAltitude).replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit); // 高度
|
|
28260
|
+
|
|
28261
|
+
var html = document.getElementById(id + '_CoordHeight').innerHTML;
|
|
28262
|
+
document.getElementById(id + '_CoordHeight').innerHTML = html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit);
|
|
28263
|
+
}
|
|
28264
|
+
});
|
|
28265
|
+
}
|
|
27769
28266
|
}
|
|
27770
28267
|
|
|
27771
28268
|
}
|
|
@@ -27773,6 +28270,7 @@ class StatusBarViewModel {
|
|
|
27773
28270
|
|
|
27774
28271
|
|
|
27775
28272
|
|
|
28273
|
+
|
|
27776
28274
|
/**
|
|
27777
28275
|
* 支持传入属性:
|
|
27778
28276
|
* hideResolution - 隐藏分辨率
|
|
@@ -27807,7 +28305,14 @@ const StatusBarvue_type_script_setup_true_lang_js_default_ = {
|
|
|
27807
28305
|
|
|
27808
28306
|
setup(__props) {
|
|
27809
28307
|
const props = __props;
|
|
27810
|
-
let viewModel = null;
|
|
28308
|
+
let viewModel = null; // 国际化
|
|
28309
|
+
|
|
28310
|
+
let {
|
|
28311
|
+
locale
|
|
28312
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
28313
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => locale.value, (newVal, oldVal) => {
|
|
28314
|
+
viewModel && viewModel.changeLanguage(newVal);
|
|
28315
|
+
});
|
|
27811
28316
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
27812
28317
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
27813
28318
|
if (scenceView) {
|
|
@@ -27823,23 +28328,23 @@ const StatusBarvue_type_script_setup_true_lang_js_default_ = {
|
|
|
27823
28328
|
}));
|
|
27824
28329
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
|
|
27825
28330
|
|
|
27826
|
-
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
27827
|
-
var
|
|
27828
|
-
;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
28331
|
+
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=f2dabb7e&lang=scss
|
|
28332
|
+
var StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss = __webpack_require__(854);
|
|
28333
|
+
;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=f2dabb7e&lang=scss
|
|
27829
28334
|
|
|
27830
28335
|
|
|
27831
28336
|
|
|
27832
|
-
var
|
|
28337
|
+
var StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss_options = {};
|
|
27833
28338
|
|
|
27834
|
-
|
|
27835
|
-
|
|
28339
|
+
StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss_options.insert = "head";
|
|
28340
|
+
StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss_options.singleton = false;
|
|
27836
28341
|
|
|
27837
|
-
var
|
|
28342
|
+
var StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss_update = injectStylesIntoStyleTag_default()(StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss/* default */.Z, StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss_options);
|
|
27838
28343
|
|
|
27839
28344
|
|
|
27840
28345
|
|
|
27841
|
-
/* harmony default export */ var
|
|
27842
|
-
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
28346
|
+
/* harmony default export */ var statusbar_StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss = (StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss/* default.locals */.Z.locals || {});
|
|
28347
|
+
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=f2dabb7e&lang=scss
|
|
27843
28348
|
|
|
27844
28349
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue
|
|
27845
28350
|
|