@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/scenceview/index.js
CHANGED
|
@@ -1124,6 +1124,8 @@ function setChildrenAddType(nodeList, addType) {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
1126
|
}
|
|
1127
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
1128
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
1127
1129
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
|
|
1128
1130
|
|
|
1129
1131
|
const _hoisted_1 = {
|
|
@@ -1165,6 +1167,7 @@ const _hoisted_12 = {
|
|
|
1165
1167
|
|
|
1166
1168
|
|
|
1167
1169
|
|
|
1170
|
+
|
|
1168
1171
|
//accept=".zip,.geojson,.topojson,.json,.kml,.kmz,.czml,.csv,.xls,.xlsx,.txt"
|
|
1169
1172
|
|
|
1170
1173
|
const __default__ = {
|
|
@@ -1272,7 +1275,129 @@ const __default__ = {
|
|
|
1272
1275
|
|
|
1273
1276
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1274
1277
|
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1275
|
-
let viewModel = null;
|
|
1278
|
+
let viewModel = null; // 国际化
|
|
1279
|
+
|
|
1280
|
+
let {
|
|
1281
|
+
locale,
|
|
1282
|
+
messages
|
|
1283
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
1284
|
+
let addDataTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
1285
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
1286
|
+
language.value = messages.value[newVal]["webgl"];
|
|
1287
|
+
addDataTitle.value = language.value.addData;
|
|
1288
|
+
dataSourceTypeList.value = setDataSourceType();
|
|
1289
|
+
dataSourceType.value = dataSourceTypeList.value[selectTypeIndex.value];
|
|
1290
|
+
});
|
|
1291
|
+
|
|
1292
|
+
function setDataSourceType() {
|
|
1293
|
+
return [// {
|
|
1294
|
+
// type: 'kq3dimageryfile',
|
|
1295
|
+
// name: language.value.ImagertyTileFile,
|
|
1296
|
+
// namePlaceholder: language.value.unnamedLayer,
|
|
1297
|
+
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
1298
|
+
// description: language.value.imagertyTileFiledescription
|
|
1299
|
+
// }, {
|
|
1300
|
+
// type: 'obterrain',
|
|
1301
|
+
// name: language.value.ObTerrainTileFile,
|
|
1302
|
+
// namePlaceholder: language.value.unnamedLayer,
|
|
1303
|
+
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
1304
|
+
// description: language.value.imagertyObTerrainTileFiledescription
|
|
1305
|
+
// },
|
|
1306
|
+
{
|
|
1307
|
+
type: "kqgis3dserver",
|
|
1308
|
+
name: language.value.KQGIS3DServer,
|
|
1309
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1310
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/realspace",
|
|
1311
|
+
description: language.value.imagerty3DServerdescription
|
|
1312
|
+
}, {
|
|
1313
|
+
type: "kqgismapserver",
|
|
1314
|
+
name: language.value.KQGISMapServer,
|
|
1315
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1316
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map",
|
|
1317
|
+
description: language.value.imagertyMapServerdescription
|
|
1318
|
+
}, {
|
|
1319
|
+
type: "kqgisimageserver",
|
|
1320
|
+
name: language.value.KQGISImageServer,
|
|
1321
|
+
namePlaceholder: language.value.imageCollectionName,
|
|
1322
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/image",
|
|
1323
|
+
description: language.value.imagertyImageServerdescription
|
|
1324
|
+
}, {
|
|
1325
|
+
type: "kqgisdataflowserver",
|
|
1326
|
+
name: language.value.KQGISDataflowServer,
|
|
1327
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1328
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/streaming/rest/services/<servername>/dataflow",
|
|
1329
|
+
description: language.value.imagertyDataflowServerdescription
|
|
1330
|
+
}, {
|
|
1331
|
+
type: "kqgistileserver",
|
|
1332
|
+
name: language.value.KQGISTileServer,
|
|
1333
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1334
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/tile/wmts",
|
|
1335
|
+
description: language.value.imagertyTileServerdescription
|
|
1336
|
+
}, {
|
|
1337
|
+
type: "arcgismapserver",
|
|
1338
|
+
name: language.value.ArcGISMapServer,
|
|
1339
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1340
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/ArcGIS/rest/services/<servername>/MapServer",
|
|
1341
|
+
description: language.value.imagertyArcGISMapServerdescription
|
|
1342
|
+
}, {
|
|
1343
|
+
type: "wms",
|
|
1344
|
+
name: language.value.OGCWMS,
|
|
1345
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1346
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wms",
|
|
1347
|
+
description: language.value.imagertyOGCWMSdescription
|
|
1348
|
+
}, {
|
|
1349
|
+
type: "wmts",
|
|
1350
|
+
name: language.value.OGCWMTS,
|
|
1351
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1352
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wmts",
|
|
1353
|
+
description: language.value.imagertyOGCWMTSdescription
|
|
1354
|
+
}, {
|
|
1355
|
+
type: "3dtiles",
|
|
1356
|
+
name: language.value.Cesium3DTilesFile,
|
|
1357
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1358
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/tileset.json",
|
|
1359
|
+
description: language.value.imagerty3DTilesFiledescription
|
|
1360
|
+
}, {
|
|
1361
|
+
type: "stkterrain",
|
|
1362
|
+
name: language.value.StkTerrainTileFile,
|
|
1363
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1364
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx/<foldername>/",
|
|
1365
|
+
description: language.value.imagertyStkTerrainTileFiledescription
|
|
1366
|
+
}, {
|
|
1367
|
+
type: "geojson",
|
|
1368
|
+
name: language.value.GeoJson,
|
|
1369
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1370
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx.geojson",
|
|
1371
|
+
description: language.value.imagertyGeoJsondescription
|
|
1372
|
+
}, {
|
|
1373
|
+
type: "mvt",
|
|
1374
|
+
name: language.value.MVT,
|
|
1375
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1376
|
+
urlPlaceholder: language.value.format + ":http://<host>:<port>/mvt/style.json",
|
|
1377
|
+
description: language.value.imagertyMVTdescription
|
|
1378
|
+
}
|
|
1379
|
+
/*, {
|
|
1380
|
+
type: 'wfs',
|
|
1381
|
+
name: language.value.OGCWFS,
|
|
1382
|
+
namePlaceholder: language.value.wfsLayer,
|
|
1383
|
+
urlPlaceholder: language.value.format +':http://<host>:<port>/ArcGIS/rest/services/<servername>/wfs',
|
|
1384
|
+
description: language.value.imagertyOGCWFSdescription
|
|
1385
|
+
}, {
|
|
1386
|
+
type: 'kml',
|
|
1387
|
+
name: language.value.KML,
|
|
1388
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1389
|
+
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.kml',
|
|
1390
|
+
description: language.value.imagertyKMLdescription
|
|
1391
|
+
}, {
|
|
1392
|
+
type: 'czml',
|
|
1393
|
+
name: language.value.CZML,
|
|
1394
|
+
namePlaceholder: language.value.unnamedLayer,
|
|
1395
|
+
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.czml',
|
|
1396
|
+
description: language.value.imagertyCZMLdescription
|
|
1397
|
+
}*/
|
|
1398
|
+
];
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1276
1401
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
1277
1402
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
1278
1403
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -1284,114 +1409,6 @@ const __default__ = {
|
|
|
1284
1409
|
});
|
|
1285
1410
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
1286
1411
|
if (scenceView) {
|
|
1287
|
-
language.value = scenceView._language;
|
|
1288
|
-
dataSourceTypeList.value = [// {
|
|
1289
|
-
// type: 'kq3dimageryfile',
|
|
1290
|
-
// name: language.value.ImagertyTileFile,
|
|
1291
|
-
// namePlaceholder: language.value.unnamedLayer,
|
|
1292
|
-
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
1293
|
-
// description: language.value.imagertyTileFiledescription
|
|
1294
|
-
// }, {
|
|
1295
|
-
// type: 'obterrain',
|
|
1296
|
-
// name: language.value.ObTerrainTileFile,
|
|
1297
|
-
// namePlaceholder: language.value.unnamedLayer,
|
|
1298
|
-
// urlPlaceholder: language.value.format +':http://<host>:<port>/xxx/<servername>/info.xml',
|
|
1299
|
-
// description: language.value.imagertyObTerrainTileFiledescription
|
|
1300
|
-
// },
|
|
1301
|
-
{
|
|
1302
|
-
type: "kqgis3dserver",
|
|
1303
|
-
name: language.value.KQGIS3DServer,
|
|
1304
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1305
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/realspace",
|
|
1306
|
-
description: language.value.imagerty3DServerdescription
|
|
1307
|
-
}, {
|
|
1308
|
-
type: "kqgismapserver",
|
|
1309
|
-
name: language.value.KQGISMapServer,
|
|
1310
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1311
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map",
|
|
1312
|
-
description: language.value.imagertyMapServerdescription
|
|
1313
|
-
}, {
|
|
1314
|
-
type: "kqgisimageserver",
|
|
1315
|
-
name: language.value.KQGISImageServer,
|
|
1316
|
-
namePlaceholder: language.value.imageCollectionName,
|
|
1317
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/image",
|
|
1318
|
-
description: language.value.imagertyImageServerdescription
|
|
1319
|
-
}, {
|
|
1320
|
-
type: "kqgisdataflowserver",
|
|
1321
|
-
name: language.value.KQGISDataflowServer,
|
|
1322
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1323
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/streaming/rest/services/<servername>/dataflow",
|
|
1324
|
-
description: language.value.imagertyDataflowServerdescription
|
|
1325
|
-
}, {
|
|
1326
|
-
type: "kqgistileserver",
|
|
1327
|
-
name: language.value.KQGISTileServer,
|
|
1328
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1329
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/tile/wmts",
|
|
1330
|
-
description: language.value.imagertyTileServerdescription
|
|
1331
|
-
}, {
|
|
1332
|
-
type: "arcgismapserver",
|
|
1333
|
-
name: language.value.ArcGISMapServer,
|
|
1334
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1335
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/ArcGIS/rest/services/<servername>/MapServer",
|
|
1336
|
-
description: language.value.imagertyArcGISMapServerdescription
|
|
1337
|
-
}, {
|
|
1338
|
-
type: "wms",
|
|
1339
|
-
name: language.value.OGCWMS,
|
|
1340
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1341
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wms",
|
|
1342
|
-
description: language.value.imagertyOGCWMSdescription
|
|
1343
|
-
}, {
|
|
1344
|
-
type: "wmts",
|
|
1345
|
-
name: language.value.OGCWMTS,
|
|
1346
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1347
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map/wmts",
|
|
1348
|
-
description: language.value.imagertyOGCWMTSdescription
|
|
1349
|
-
}, {
|
|
1350
|
-
type: "3dtiles",
|
|
1351
|
-
name: language.value.Cesium3DTilesFile,
|
|
1352
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1353
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/tileset.json",
|
|
1354
|
-
description: language.value.imagerty3DTilesFiledescription
|
|
1355
|
-
}, {
|
|
1356
|
-
type: "stkterrain",
|
|
1357
|
-
name: language.value.StkTerrainTileFile,
|
|
1358
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1359
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx/<foldername>/",
|
|
1360
|
-
description: language.value.imagertyStkTerrainTileFiledescription
|
|
1361
|
-
}, {
|
|
1362
|
-
type: "geojson",
|
|
1363
|
-
name: language.value.GeoJson,
|
|
1364
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1365
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/xxx.geojson",
|
|
1366
|
-
description: language.value.imagertyGeoJsondescription
|
|
1367
|
-
}, {
|
|
1368
|
-
type: "mvt",
|
|
1369
|
-
name: language.value.MVT,
|
|
1370
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1371
|
-
urlPlaceholder: language.value.format + ":http://<host>:<port>/mvt/style.json",
|
|
1372
|
-
description: language.value.imagertyMVTdescription
|
|
1373
|
-
}
|
|
1374
|
-
/*, {
|
|
1375
|
-
type: 'wfs',
|
|
1376
|
-
name: language.value.OGCWFS,
|
|
1377
|
-
namePlaceholder: language.value.wfsLayer,
|
|
1378
|
-
urlPlaceholder: language.value.format +':http://<host>:<port>/ArcGIS/rest/services/<servername>/wfs',
|
|
1379
|
-
description: language.value.imagertyOGCWFSdescription
|
|
1380
|
-
}, {
|
|
1381
|
-
type: 'kml',
|
|
1382
|
-
name: language.value.KML,
|
|
1383
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1384
|
-
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.kml',
|
|
1385
|
-
description: language.value.imagertyKMLdescription
|
|
1386
|
-
}, {
|
|
1387
|
-
type: 'czml',
|
|
1388
|
-
name: language.value.CZML,
|
|
1389
|
-
namePlaceholder: language.value.unnamedLayer,
|
|
1390
|
-
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.czml',
|
|
1391
|
-
description: language.value.imagertyCZMLdescription
|
|
1392
|
-
}*/
|
|
1393
|
-
];
|
|
1394
|
-
dataSourceType.value = dataSourceTypeList.value[0];
|
|
1395
1412
|
let options = {
|
|
1396
1413
|
geometryServerUrl: props.geometryServerUrl,
|
|
1397
1414
|
geometryServerToken: props.geometryServerToken
|
|
@@ -1407,7 +1424,7 @@ const __default__ = {
|
|
|
1407
1424
|
const watchCreateHeaderTemp = () => {
|
|
1408
1425
|
if (props.showHeaderTemp) {
|
|
1409
1426
|
// 生成headerTemp
|
|
1410
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
1427
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, addDataTitle);
|
|
1411
1428
|
}
|
|
1412
1429
|
}; // 切换tab页
|
|
1413
1430
|
|
|
@@ -1953,6 +1970,8 @@ class AspectAnalysisViewModel {
|
|
|
1953
1970
|
var client_icons_vue_ = __webpack_require__(348);
|
|
1954
1971
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
1955
1972
|
var util_ = __webpack_require__(9519);
|
|
1973
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
1974
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
1956
1975
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1957
1976
|
|
|
1958
1977
|
const _hoisted_1 = {
|
|
@@ -1966,6 +1985,7 @@ const _hoisted_2 = {
|
|
|
1966
1985
|
|
|
1967
1986
|
|
|
1968
1987
|
|
|
1988
|
+
|
|
1969
1989
|
const __default__ = {
|
|
1970
1990
|
name: "Kq3dAspectAnalysis"
|
|
1971
1991
|
};
|
|
@@ -2044,7 +2064,17 @@ const __default__ = {
|
|
|
2044
2064
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
2045
2065
|
|
|
2046
2066
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2047
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2067
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
2068
|
+
|
|
2069
|
+
let {
|
|
2070
|
+
locale,
|
|
2071
|
+
messages
|
|
2072
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
2073
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
2074
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
2075
|
+
language.value = messages.value[newVal]["webgl"];
|
|
2076
|
+
headerTempTitle.value = language.value.aspectAnalysis;
|
|
2077
|
+
});
|
|
2048
2078
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
2049
2079
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
2050
2080
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -2058,7 +2088,6 @@ const __default__ = {
|
|
|
2058
2088
|
|
|
2059
2089
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
2060
2090
|
if (scenceView) {
|
|
2061
|
-
language.value = scenceView._language;
|
|
2062
2091
|
viewModel = new AspectAnalysisViewModel(scenceView, {
|
|
2063
2092
|
interval: formItem.interval,
|
|
2064
2093
|
// 采样间隔
|
|
@@ -2077,7 +2106,7 @@ const __default__ = {
|
|
|
2077
2106
|
const watchCreateHeaderTemp = () => {
|
|
2078
2107
|
if (props.showHeaderTemp) {
|
|
2079
2108
|
// 生成headerTemp
|
|
2080
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
2109
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
2081
2110
|
}
|
|
2082
2111
|
}; // 参数改变
|
|
2083
2112
|
|
|
@@ -2392,7 +2421,7 @@ AspectAnalysis.install = (Vue, opts) => {
|
|
|
2392
2421
|
/* harmony export */ });
|
|
2393
2422
|
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
2394
2423
|
|
|
2395
|
-
|
|
2424
|
+
//在线地形逻辑类
|
|
2396
2425
|
class BaseterrainGalleryViewModel {
|
|
2397
2426
|
//基本地形对象
|
|
2398
2427
|
constructor(viewer) {
|
|
@@ -2487,6 +2516,8 @@ var const_image_ = __webpack_require__(9702);
|
|
|
2487
2516
|
var client_icons_vue_ = __webpack_require__(348);
|
|
2488
2517
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
2489
2518
|
var util_ = __webpack_require__(9519);
|
|
2519
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
2520
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
2490
2521
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
2491
2522
|
|
|
2492
2523
|
const _hoisted_1 = {
|
|
@@ -2521,6 +2552,7 @@ const _hoisted_10 = {
|
|
|
2521
2552
|
|
|
2522
2553
|
|
|
2523
2554
|
|
|
2555
|
+
|
|
2524
2556
|
const __default__ = {
|
|
2525
2557
|
name: "Kq3dBaseterrainGallery"
|
|
2526
2558
|
};
|
|
@@ -2551,8 +2583,7 @@ const __default__ = {
|
|
|
2551
2583
|
},
|
|
2552
2584
|
// HeaderTemp标题
|
|
2553
2585
|
headerTempTitle: {
|
|
2554
|
-
type: String
|
|
2555
|
-
default: "在线地形"
|
|
2586
|
+
type: String
|
|
2556
2587
|
},
|
|
2557
2588
|
// HeaderTemp图标
|
|
2558
2589
|
headerTempIcon: {
|
|
@@ -2581,7 +2612,17 @@ const __default__ = {
|
|
|
2581
2612
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
2582
2613
|
|
|
2583
2614
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2584
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2615
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
2616
|
+
|
|
2617
|
+
let {
|
|
2618
|
+
locale,
|
|
2619
|
+
messages
|
|
2620
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
2621
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
2622
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
2623
|
+
language.value = messages.value[newVal]["webgl"];
|
|
2624
|
+
headerTempTitle.value = language.value.onlineTerrain;
|
|
2625
|
+
});
|
|
2585
2626
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
2586
2627
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
2587
2628
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -2591,7 +2632,6 @@ const __default__ = {
|
|
|
2591
2632
|
currentIndex.value = props.selectIndex;
|
|
2592
2633
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
2593
2634
|
if (scenceView) {
|
|
2594
|
-
language.value = scenceView._language;
|
|
2595
2635
|
changSelectTerrain();
|
|
2596
2636
|
viewModel = new BaseterrainGalleryViewModel/* default */.Z(scenceView._viewer);
|
|
2597
2637
|
viewModel.setTerrainType(currentIndex.value);
|
|
@@ -2605,7 +2645,7 @@ const __default__ = {
|
|
|
2605
2645
|
const watchCreateHeaderTemp = () => {
|
|
2606
2646
|
if (props.showHeaderTemp) {
|
|
2607
2647
|
// 生成headerTemp
|
|
2608
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
2648
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
2609
2649
|
}
|
|
2610
2650
|
};
|
|
2611
2651
|
|
|
@@ -2997,6 +3037,8 @@ class BoxClipViewModel {
|
|
|
2997
3037
|
var client_icons_vue_ = __webpack_require__(348);
|
|
2998
3038
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
2999
3039
|
var util_ = __webpack_require__(9519);
|
|
3040
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
3041
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
3000
3042
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
|
|
3001
3043
|
|
|
3002
3044
|
const _hoisted_1 = {
|
|
@@ -3016,6 +3058,7 @@ const _hoisted_4 = {
|
|
|
3016
3058
|
|
|
3017
3059
|
|
|
3018
3060
|
|
|
3061
|
+
|
|
3019
3062
|
const __default__ = {
|
|
3020
3063
|
name: "Kq3dBoxClip"
|
|
3021
3064
|
};
|
|
@@ -3091,7 +3134,17 @@ const __default__ = {
|
|
|
3091
3134
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
3092
3135
|
|
|
3093
3136
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
3094
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
3137
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
3138
|
+
|
|
3139
|
+
let {
|
|
3140
|
+
locale,
|
|
3141
|
+
messages
|
|
3142
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
3143
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
3144
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
3145
|
+
language.value = messages.value[newVal]["webgl"];
|
|
3146
|
+
headerTempTitle.value = language.value.boxClip;
|
|
3147
|
+
});
|
|
3095
3148
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
3096
3149
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
3097
3150
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -3106,7 +3159,6 @@ const __default__ = {
|
|
|
3106
3159
|
|
|
3107
3160
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
3108
3161
|
if (scenceView) {
|
|
3109
|
-
language.value = scenceView._language;
|
|
3110
3162
|
let options = {
|
|
3111
3163
|
tileset: formItem.tileset,
|
|
3112
3164
|
unionClippingRegions: formItem.unionClippingRegions,
|
|
@@ -3141,7 +3193,7 @@ const __default__ = {
|
|
|
3141
3193
|
const watchCreateHeaderTemp = () => {
|
|
3142
3194
|
if (props.showHeaderTemp) {
|
|
3143
3195
|
// 生成headerTemp
|
|
3144
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
3196
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
3145
3197
|
}
|
|
3146
3198
|
}; // 参数改变
|
|
3147
3199
|
|
|
@@ -3927,6 +3979,8 @@ var external_vue3_print_nb_default = /*#__PURE__*/__webpack_require__.n(external
|
|
|
3927
3979
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_types/global-event"
|
|
3928
3980
|
var global_event_ = __webpack_require__(1088);
|
|
3929
3981
|
var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_);
|
|
3982
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
3983
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
3930
3984
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/clientPrint/ClientPrint.vue?vue&type=script&setup=true&lang=js
|
|
3931
3985
|
|
|
3932
3986
|
|
|
@@ -3937,25 +3991,15 @@ const _hoisted_1 = {
|
|
|
3937
3991
|
const _hoisted_2 = {
|
|
3938
3992
|
class: "setting-box-btn"
|
|
3939
3993
|
};
|
|
3940
|
-
|
|
3941
|
-
const _hoisted_3 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
3994
|
+
const _hoisted_3 = {
|
|
3942
3995
|
class: "title"
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3945
|
-
);
|
|
3946
|
-
|
|
3947
|
-
const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
3996
|
+
};
|
|
3997
|
+
const _hoisted_4 = {
|
|
3948
3998
|
class: "title"
|
|
3949
|
-
}
|
|
3950
|
-
|
|
3951
|
-
);
|
|
3952
|
-
|
|
3953
|
-
const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
3999
|
+
};
|
|
4000
|
+
const _hoisted_5 = {
|
|
3954
4001
|
class: "title"
|
|
3955
|
-
}
|
|
3956
|
-
/* HOISTED */
|
|
3957
|
-
);
|
|
3958
|
-
|
|
4002
|
+
};
|
|
3959
4003
|
const _hoisted_6 = {
|
|
3960
4004
|
class: "select-content-inner"
|
|
3961
4005
|
};
|
|
@@ -3964,23 +4008,15 @@ const _hoisted_7 = {
|
|
|
3964
4008
|
"text-align": "right"
|
|
3965
4009
|
}
|
|
3966
4010
|
};
|
|
3967
|
-
|
|
3968
|
-
const _hoisted_8 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
4011
|
+
const _hoisted_8 = {
|
|
3969
4012
|
class: "title"
|
|
3970
|
-
}
|
|
3971
|
-
/* HOISTED */
|
|
3972
|
-
);
|
|
3973
|
-
|
|
4013
|
+
};
|
|
3974
4014
|
const _hoisted_9 = {
|
|
3975
4015
|
class: "select-layer-content"
|
|
3976
4016
|
};
|
|
3977
|
-
|
|
3978
|
-
const _hoisted_10 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
4017
|
+
const _hoisted_10 = {
|
|
3979
4018
|
class: "title"
|
|
3980
|
-
}
|
|
3981
|
-
/* HOISTED */
|
|
3982
|
-
);
|
|
3983
|
-
|
|
4019
|
+
};
|
|
3984
4020
|
const _hoisted_11 = {
|
|
3985
4021
|
class: "select-content-inner"
|
|
3986
4022
|
};
|
|
@@ -3992,43 +4028,41 @@ const _hoisted_12 = {
|
|
|
3992
4028
|
const _hoisted_13 = {
|
|
3993
4029
|
class: "clientprint-title"
|
|
3994
4030
|
};
|
|
3995
|
-
|
|
3996
|
-
const _hoisted_14 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
4031
|
+
const _hoisted_14 = {
|
|
3997
4032
|
class: "title"
|
|
3998
|
-
}
|
|
3999
|
-
/* HOISTED */
|
|
4000
|
-
);
|
|
4001
|
-
|
|
4033
|
+
};
|
|
4002
4034
|
const _hoisted_15 = {
|
|
4003
4035
|
class: "select-content-inner"
|
|
4004
4036
|
};
|
|
4005
|
-
const _hoisted_16 =
|
|
4037
|
+
const _hoisted_16 = ["placeholder"];
|
|
4038
|
+
const _hoisted_17 = {
|
|
4006
4039
|
class: "btn"
|
|
4007
4040
|
};
|
|
4008
|
-
const
|
|
4041
|
+
const _hoisted_18 = {
|
|
4009
4042
|
class: "show-right-box-btn"
|
|
4010
4043
|
};
|
|
4011
|
-
const
|
|
4044
|
+
const _hoisted_19 = {
|
|
4012
4045
|
class: "btn-group"
|
|
4013
4046
|
};
|
|
4014
|
-
const
|
|
4047
|
+
const _hoisted_20 = {
|
|
4015
4048
|
class: "kq3d-client-print-titleContainerDiv"
|
|
4016
4049
|
};
|
|
4017
|
-
const
|
|
4050
|
+
const _hoisted_21 = {
|
|
4018
4051
|
class: "baseImage"
|
|
4019
4052
|
};
|
|
4020
|
-
const
|
|
4021
|
-
const
|
|
4022
|
-
const
|
|
4023
|
-
const _hoisted_24 = {
|
|
4024
|
-
class: "kq3d-client-print-infomationContainer"
|
|
4025
|
-
};
|
|
4053
|
+
const _hoisted_22 = ["src"];
|
|
4054
|
+
const _hoisted_23 = ["id"];
|
|
4055
|
+
const _hoisted_24 = ["onClick"];
|
|
4026
4056
|
const _hoisted_25 = {
|
|
4027
|
-
class: "kq3d-client-print-
|
|
4057
|
+
class: "kq3d-client-print-infomationContainer"
|
|
4028
4058
|
};
|
|
4029
4059
|
const _hoisted_26 = {
|
|
4030
4060
|
class: "kq3d-client-print-companyName"
|
|
4031
4061
|
};
|
|
4062
|
+
const _hoisted_27 = {
|
|
4063
|
+
class: "kq3d-client-print-systemTime"
|
|
4064
|
+
};
|
|
4065
|
+
|
|
4032
4066
|
|
|
4033
4067
|
|
|
4034
4068
|
|
|
@@ -4043,13 +4077,11 @@ const __default__ = {
|
|
|
4043
4077
|
mapTarget: String,
|
|
4044
4078
|
//打印标题
|
|
4045
4079
|
printTitle: {
|
|
4046
|
-
type: String
|
|
4047
|
-
default: "XXXX一张图"
|
|
4080
|
+
type: String
|
|
4048
4081
|
},
|
|
4049
4082
|
//打印显示的公司名
|
|
4050
4083
|
companyName: {
|
|
4051
|
-
type: String
|
|
4052
|
-
default: "苍穹数码技术股份有限公司"
|
|
4084
|
+
type: String
|
|
4053
4085
|
},
|
|
4054
4086
|
// 是否显示阴影
|
|
4055
4087
|
showShadow: {
|
|
@@ -4098,28 +4130,29 @@ const __default__ = {
|
|
|
4098
4130
|
setup(__props, {
|
|
4099
4131
|
expose
|
|
4100
4132
|
}) {
|
|
4101
|
-
const props = __props;
|
|
4102
|
-
|
|
4133
|
+
const props = __props;
|
|
4134
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
4135
|
+
let {
|
|
4136
|
+
locale,
|
|
4137
|
+
messages
|
|
4138
|
+
} = (0,vue_i18n_cjs_js_.useI18n)(); //国际化
|
|
4139
|
+
|
|
4140
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
4141
|
+
language.value = messages.value[newVal]["webgl"];
|
|
4142
|
+
companyName.value = props.companyName || language.value.comapanyname;
|
|
4143
|
+
systemTime.value = newVal == 'zh' ? getSystemIime() : getSystemEnTime();
|
|
4144
|
+
printObj.value.popTitle = language.value.print;
|
|
4145
|
+
});
|
|
4103
4146
|
let setTitleDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
4104
4147
|
style: {
|
|
4105
4148
|
fontSize: "18px",
|
|
4106
|
-
fontFamily: "
|
|
4149
|
+
fontFamily: "Microsoft YaHei",
|
|
4107
4150
|
color: "rgba(0, 0, 0)",
|
|
4108
4151
|
textarea: "",
|
|
4109
4152
|
backgroundColor: "",
|
|
4110
4153
|
padding: "5px",
|
|
4111
4154
|
borderRadius: "3px",
|
|
4112
|
-
shadowShowBg: "red"
|
|
4113
|
-
fontFamilys: [{
|
|
4114
|
-
value: "微软雅黑",
|
|
4115
|
-
label: "微软雅黑"
|
|
4116
|
-
}, {
|
|
4117
|
-
value: "新宋体",
|
|
4118
|
-
label: "新宋体"
|
|
4119
|
-
}, {
|
|
4120
|
-
value: "楷体",
|
|
4121
|
-
label: "楷体"
|
|
4122
|
-
}]
|
|
4155
|
+
shadowShowBg: "red"
|
|
4123
4156
|
},
|
|
4124
4157
|
data: {
|
|
4125
4158
|
title: "",
|
|
@@ -4131,22 +4164,12 @@ const __default__ = {
|
|
|
4131
4164
|
let setLabelDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
4132
4165
|
style: {
|
|
4133
4166
|
fontSize: "18px",
|
|
4134
|
-
fontFamily: "
|
|
4167
|
+
fontFamily: "Microsoft YaHei",
|
|
4135
4168
|
color: "#000000",
|
|
4136
4169
|
width: "100%",
|
|
4137
4170
|
resize: "none",
|
|
4138
4171
|
height: "96px",
|
|
4139
|
-
border: "solid 1px #dcdee2"
|
|
4140
|
-
fontFamilys: [{
|
|
4141
|
-
value: "微软雅黑",
|
|
4142
|
-
label: "微软雅黑"
|
|
4143
|
-
}, {
|
|
4144
|
-
value: "新宋体",
|
|
4145
|
-
label: "新宋体"
|
|
4146
|
-
}, {
|
|
4147
|
-
value: "楷体",
|
|
4148
|
-
label: "楷体"
|
|
4149
|
-
}]
|
|
4172
|
+
border: "solid 1px #dcdee2"
|
|
4150
4173
|
},
|
|
4151
4174
|
data: {
|
|
4152
4175
|
labelValue: ""
|
|
@@ -4178,55 +4201,38 @@ const __default__ = {
|
|
|
4178
4201
|
|
|
4179
4202
|
let isShowText = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 边框样式
|
|
4180
4203
|
|
|
4181
|
-
let borderStyleValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(
|
|
4182
|
-
|
|
4183
|
-
let borderStyleData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([{
|
|
4184
|
-
value: "printborder1",
|
|
4185
|
-
label: "模板一"
|
|
4186
|
-
}, {
|
|
4187
|
-
value: "printborder2",
|
|
4188
|
-
label: "模板二"
|
|
4189
|
-
}, {
|
|
4190
|
-
value: "printborder3",
|
|
4191
|
-
label: "模板三"
|
|
4192
|
-
}, {
|
|
4193
|
-
value: "printborder4",
|
|
4194
|
-
label: "模板四"
|
|
4195
|
-
}, {
|
|
4196
|
-
value: "printborder5",
|
|
4197
|
-
label: "模板五"
|
|
4198
|
-
}]); // 纸张设置
|
|
4204
|
+
let borderStyleValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 纸张设置
|
|
4199
4205
|
|
|
4200
4206
|
let sizeData = [[{
|
|
4201
4207
|
f: "A2",
|
|
4202
|
-
a: "
|
|
4208
|
+
a: "portrait"
|
|
4203
4209
|
}, "a2VSize"], [{
|
|
4204
4210
|
f: "A3",
|
|
4205
|
-
a: "
|
|
4211
|
+
a: "portrait"
|
|
4206
4212
|
}, "a3VSize"], [{
|
|
4207
4213
|
f: "A4",
|
|
4208
|
-
a: "
|
|
4214
|
+
a: "portrait"
|
|
4209
4215
|
}, "a4VSize"], [{
|
|
4210
4216
|
f: "A5",
|
|
4211
|
-
a: "
|
|
4217
|
+
a: "portrait"
|
|
4212
4218
|
}, "a5VSize"], [{
|
|
4213
4219
|
f: "A6",
|
|
4214
|
-
a: "
|
|
4220
|
+
a: "portrait"
|
|
4215
4221
|
}, "a6VSize"], [{
|
|
4216
4222
|
f: "A2",
|
|
4217
|
-
a: "
|
|
4223
|
+
a: "landscape"
|
|
4218
4224
|
}, "a2HSize"], [{
|
|
4219
4225
|
f: "A3",
|
|
4220
|
-
a: "
|
|
4226
|
+
a: "landscape"
|
|
4221
4227
|
}, "a3HSize"], [{
|
|
4222
4228
|
f: "A4",
|
|
4223
|
-
a: "
|
|
4229
|
+
a: "landscape"
|
|
4224
4230
|
}, "a4HSize"], [{
|
|
4225
4231
|
f: "A5",
|
|
4226
|
-
a: "
|
|
4232
|
+
a: "landscape"
|
|
4227
4233
|
}, "a5HSize"], [{
|
|
4228
4234
|
f: "A6",
|
|
4229
|
-
a: "
|
|
4235
|
+
a: "landscape"
|
|
4230
4236
|
}, "a6HSize"]]; // 字体大小
|
|
4231
4237
|
|
|
4232
4238
|
let sizelist = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([]); // 纸张类型
|
|
@@ -4234,7 +4240,7 @@ const __default__ = {
|
|
|
4234
4240
|
let papForm = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("A4"); // 默认
|
|
4235
4241
|
// 纸张方向
|
|
4236
4242
|
|
|
4237
|
-
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(
|
|
4243
|
+
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 默认
|
|
4238
4244
|
// 图片格式
|
|
4239
4245
|
|
|
4240
4246
|
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png"); //图例对象
|
|
@@ -4264,7 +4270,7 @@ const __default__ = {
|
|
|
4264
4270
|
|
|
4265
4271
|
let printObj = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
4266
4272
|
id: "printMap",
|
|
4267
|
-
popTitle: "
|
|
4273
|
+
popTitle: "",
|
|
4268
4274
|
|
|
4269
4275
|
beforeOpenCallback() {
|
|
4270
4276
|
printState.value = true;
|
|
@@ -4283,8 +4289,9 @@ const __default__ = {
|
|
|
4283
4289
|
|
|
4284
4290
|
global_event_default().setDefaultMapInfo("scencePrint", "cesium", null);
|
|
4285
4291
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
4286
|
-
setTitleDataform.value.data.title = props.printTitle;
|
|
4287
|
-
|
|
4292
|
+
setTitleDataform.value.data.title = props.printTitle || language.value.oneimage;
|
|
4293
|
+
papAnchor.value = "portrait";
|
|
4294
|
+
borderStyleValue.value = "printborder1";
|
|
4288
4295
|
sizelist.value = [];
|
|
4289
4296
|
|
|
4290
4297
|
for (let i = 15; i <= 32; i++) {
|
|
@@ -4292,9 +4299,7 @@ const __default__ = {
|
|
|
4292
4299
|
sizelist.value.push(i);
|
|
4293
4300
|
}
|
|
4294
4301
|
|
|
4295
|
-
setLabelData.value = [];
|
|
4296
|
-
|
|
4297
|
-
systemTime.value = getSystemIime();
|
|
4302
|
+
setLabelData.value = [];
|
|
4298
4303
|
initControl();
|
|
4299
4304
|
global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
|
|
4300
4305
|
if (scenceView && scenceView._viewer) {
|
|
@@ -4362,6 +4367,32 @@ const __default__ = {
|
|
|
4362
4367
|
|
|
4363
4368
|
return yearCNStr + nonthCNStr + dayCNStr;
|
|
4364
4369
|
}
|
|
4370
|
+
/**
|
|
4371
|
+
* 获取当前时间(英文)
|
|
4372
|
+
* @returns {string}
|
|
4373
|
+
*/
|
|
4374
|
+
|
|
4375
|
+
|
|
4376
|
+
function getSystemEnTime() {
|
|
4377
|
+
var dt = new Date();
|
|
4378
|
+
var m = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Spt", "Oct", "Nov", "Dec");
|
|
4379
|
+
var d = new Array("st", "nd", "rd", "th");
|
|
4380
|
+
var mn = dt.getMonth();
|
|
4381
|
+
var dn = dt.getDate();
|
|
4382
|
+
var dns;
|
|
4383
|
+
|
|
4384
|
+
if (dn % 10 < 1 || dn % 10 > 3) {
|
|
4385
|
+
dns = d[3];
|
|
4386
|
+
} else {
|
|
4387
|
+
dns = d[dn % 10 - 1];
|
|
4388
|
+
|
|
4389
|
+
if (dn == 11 || dn == 12) {
|
|
4390
|
+
dns = d[3];
|
|
4391
|
+
}
|
|
4392
|
+
}
|
|
4393
|
+
|
|
4394
|
+
return m[mn] + " " + dn + dns + "," + dt.getFullYear();
|
|
4395
|
+
}
|
|
4365
4396
|
|
|
4366
4397
|
function changStatusBar() {
|
|
4367
4398
|
if (printViewer) printViewer.statusBar.show = scalesShow.value;
|
|
@@ -4851,23 +4882,13 @@ const __default__ = {
|
|
|
4851
4882
|
// 标题的数据
|
|
4852
4883
|
style: {
|
|
4853
4884
|
fontSize: "18px",
|
|
4854
|
-
fontFamily: "
|
|
4885
|
+
fontFamily: "Microsoft YaHei",
|
|
4855
4886
|
color: "rgba(0, 0, 0)",
|
|
4856
4887
|
textarea: "",
|
|
4857
4888
|
backgroundColor: "",
|
|
4858
4889
|
padding: "5px",
|
|
4859
4890
|
borderRadius: "3px",
|
|
4860
|
-
shadowShowBg: "red"
|
|
4861
|
-
fontFamilys: [{
|
|
4862
|
-
value: "微软雅黑",
|
|
4863
|
-
label: "微软雅黑"
|
|
4864
|
-
}, {
|
|
4865
|
-
value: "新宋体",
|
|
4866
|
-
label: "新宋体"
|
|
4867
|
-
}, {
|
|
4868
|
-
value: "楷体",
|
|
4869
|
-
label: "楷体"
|
|
4870
|
-
}]
|
|
4891
|
+
shadowShowBg: "red"
|
|
4871
4892
|
},
|
|
4872
4893
|
data: {
|
|
4873
4894
|
title: "",
|
|
@@ -4879,22 +4900,12 @@ const __default__ = {
|
|
|
4879
4900
|
// 文本的数据
|
|
4880
4901
|
style: {
|
|
4881
4902
|
fontSize: "18px",
|
|
4882
|
-
fontFamily: "
|
|
4903
|
+
fontFamily: "Microsoft YaHei",
|
|
4883
4904
|
color: "#000000",
|
|
4884
4905
|
width: "216px",
|
|
4885
4906
|
resize: "none",
|
|
4886
4907
|
height: "96px",
|
|
4887
|
-
border: "solid 1px #dcdee2"
|
|
4888
|
-
fontFamilys: [{
|
|
4889
|
-
value: "微软雅黑",
|
|
4890
|
-
label: "微软雅黑"
|
|
4891
|
-
}, {
|
|
4892
|
-
value: "新宋体",
|
|
4893
|
-
label: "新宋体"
|
|
4894
|
-
}, {
|
|
4895
|
-
value: "楷体",
|
|
4896
|
-
label: "楷体"
|
|
4897
|
-
}]
|
|
4908
|
+
border: "solid 1px #dcdee2"
|
|
4898
4909
|
},
|
|
4899
4910
|
data: {
|
|
4900
4911
|
labelValue: ""
|
|
@@ -4997,7 +5008,9 @@ const __default__ = {
|
|
|
4997
5008
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 图层选择-bar "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
4998
5009
|
class: "select-layer-bar bar",
|
|
4999
5010
|
onClick: _cache[2] || (_cache[2] = $event => setShowChange('layer'))
|
|
5000
|
-
}, [_hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.
|
|
5011
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).layerSelect), 1
|
|
5012
|
+
/* TEXT */
|
|
5013
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
5001
5014
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowRight))]),
|
|
5002
5015
|
_: 1
|
|
5003
5016
|
/* STABLE */
|
|
@@ -5005,7 +5018,9 @@ const __default__ = {
|
|
|
5005
5018
|
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
5006
5019
|
class: "select-layer-bar bar select-layer-margin",
|
|
5007
5020
|
onClick: _cache[3] || (_cache[3] = $event => setShowChange('title'))
|
|
5008
|
-
}, [_hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.
|
|
5021
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).titlesetting), 1
|
|
5022
|
+
/* TEXT */
|
|
5023
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
5009
5024
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowRight))]),
|
|
5010
5025
|
_: 1
|
|
5011
5026
|
/* STABLE */
|
|
@@ -5013,7 +5028,9 @@ const __default__ = {
|
|
|
5013
5028
|
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
5014
5029
|
class: "select-layer-bar bar select-layer-margin",
|
|
5015
5030
|
onClick: _cache[4] || (_cache[4] = $event => setShowChange('text'))
|
|
5016
|
-
}, [_hoisted_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.
|
|
5031
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).addtext), 1
|
|
5032
|
+
/* TEXT */
|
|
5033
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
5017
5034
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowRight))]),
|
|
5018
5035
|
_: 1
|
|
5019
5036
|
/* STABLE */
|
|
@@ -5026,7 +5043,9 @@ const __default__ = {
|
|
|
5026
5043
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
5027
5044
|
name: "1"
|
|
5028
5045
|
}, {
|
|
5029
|
-
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5046
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pageetting) + " ", 1
|
|
5047
|
+
/* TEXT */
|
|
5048
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
5030
5049
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["header-icon", activeNames.value.includes('1') ? 'is-active' : null])
|
|
5031
5050
|
}, {
|
|
5032
5051
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.CaretRight))]),
|
|
@@ -5046,7 +5065,9 @@ const __default__ = {
|
|
|
5046
5065
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(legendShow) ? legendShow.value = $event : legendShow = $event),
|
|
5047
5066
|
onChange: showLegend
|
|
5048
5067
|
}, {
|
|
5049
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5068
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printlegend), 1
|
|
5069
|
+
/* TEXT */
|
|
5070
|
+
)]),
|
|
5050
5071
|
_: 1
|
|
5051
5072
|
/* STABLE */
|
|
5052
5073
|
|
|
@@ -5064,7 +5085,9 @@ const __default__ = {
|
|
|
5064
5085
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(compassShow),
|
|
5065
5086
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(compassShow) ? compassShow.value = $event : compassShow = $event)
|
|
5066
5087
|
}, {
|
|
5067
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5088
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printcompass), 1
|
|
5089
|
+
/* TEXT */
|
|
5090
|
+
)]),
|
|
5068
5091
|
_: 1
|
|
5069
5092
|
/* STABLE */
|
|
5070
5093
|
|
|
@@ -5083,7 +5106,9 @@ const __default__ = {
|
|
|
5083
5106
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(scalesShow) ? scalesShow.value = $event : scalesShow = $event),
|
|
5084
5107
|
onChange: changStatusBar
|
|
5085
5108
|
}, {
|
|
5086
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5109
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printstatusbar), 1
|
|
5110
|
+
/* TEXT */
|
|
5111
|
+
)]),
|
|
5087
5112
|
_: 1
|
|
5088
5113
|
/* STABLE */
|
|
5089
5114
|
|
|
@@ -5105,24 +5130,39 @@ const __default__ = {
|
|
|
5105
5130
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
5106
5131
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, null, {
|
|
5107
5132
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5108
|
-
label:
|
|
5133
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printlace
|
|
5109
5134
|
}, {
|
|
5110
5135
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5111
5136
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(borderStyleValue),
|
|
5112
5137
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(borderStyleValue) ? borderStyleValue.value = $event : borderStyleValue = $event),
|
|
5113
5138
|
onChange: changeBorderStyleData
|
|
5114
5139
|
}, {
|
|
5115
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
}
|
|
5124
|
-
/*
|
|
5125
|
-
|
|
5140
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5141
|
+
value: "printborder1",
|
|
5142
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).Template1
|
|
5143
|
+
}, null, 8
|
|
5144
|
+
/* PROPS */
|
|
5145
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5146
|
+
value: "printborder2",
|
|
5147
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).Template2
|
|
5148
|
+
}, null, 8
|
|
5149
|
+
/* PROPS */
|
|
5150
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5151
|
+
value: "printborder3",
|
|
5152
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).Template3
|
|
5153
|
+
}, null, 8
|
|
5154
|
+
/* PROPS */
|
|
5155
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5156
|
+
value: "printborder4",
|
|
5157
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).Template4
|
|
5158
|
+
}, null, 8
|
|
5159
|
+
/* PROPS */
|
|
5160
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5161
|
+
value: "printborder5",
|
|
5162
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).Template5
|
|
5163
|
+
}, null, 8
|
|
5164
|
+
/* PROPS */
|
|
5165
|
+
, ["label"])]),
|
|
5126
5166
|
_: 1
|
|
5127
5167
|
/* STABLE */
|
|
5128
5168
|
|
|
@@ -5132,7 +5172,9 @@ const __default__ = {
|
|
|
5132
5172
|
_: 1
|
|
5133
5173
|
/* STABLE */
|
|
5134
5174
|
|
|
5135
|
-
}
|
|
5175
|
+
}, 8
|
|
5176
|
+
/* PROPS */
|
|
5177
|
+
, ["label"])]),
|
|
5136
5178
|
_: 1
|
|
5137
5179
|
/* STABLE */
|
|
5138
5180
|
|
|
@@ -5143,7 +5185,7 @@ const __default__ = {
|
|
|
5143
5185
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
5144
5186
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, null, {
|
|
5145
5187
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5146
|
-
label:
|
|
5188
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).paperType
|
|
5147
5189
|
}, {
|
|
5148
5190
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5149
5191
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(papForm),
|
|
@@ -5195,7 +5237,9 @@ const __default__ = {
|
|
|
5195
5237
|
_: 1
|
|
5196
5238
|
/* STABLE */
|
|
5197
5239
|
|
|
5198
|
-
}
|
|
5240
|
+
}, 8
|
|
5241
|
+
/* PROPS */
|
|
5242
|
+
, ["label"])]),
|
|
5199
5243
|
_: 1
|
|
5200
5244
|
/* STABLE */
|
|
5201
5245
|
|
|
@@ -5206,7 +5250,7 @@ const __default__ = {
|
|
|
5206
5250
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
5207
5251
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, null, {
|
|
5208
5252
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5209
|
-
label:
|
|
5253
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).paperDirection
|
|
5210
5254
|
}, {
|
|
5211
5255
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5212
5256
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(papAnchor),
|
|
@@ -5214,20 +5258,16 @@ const __default__ = {
|
|
|
5214
5258
|
onChange: changeMapContainerSize
|
|
5215
5259
|
}, {
|
|
5216
5260
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5217
|
-
value: "
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
_: 1
|
|
5228
|
-
/* STABLE */
|
|
5229
|
-
|
|
5230
|
-
})]),
|
|
5261
|
+
value: "portrait",
|
|
5262
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).portrait
|
|
5263
|
+
}, null, 8
|
|
5264
|
+
/* PROPS */
|
|
5265
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5266
|
+
value: "landscape",
|
|
5267
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).landscape
|
|
5268
|
+
}, null, 8
|
|
5269
|
+
/* PROPS */
|
|
5270
|
+
, ["label"])]),
|
|
5231
5271
|
_: 1
|
|
5232
5272
|
/* STABLE */
|
|
5233
5273
|
|
|
@@ -5237,7 +5277,9 @@ const __default__ = {
|
|
|
5237
5277
|
_: 1
|
|
5238
5278
|
/* STABLE */
|
|
5239
5279
|
|
|
5240
|
-
}
|
|
5280
|
+
}, 8
|
|
5281
|
+
/* PROPS */
|
|
5282
|
+
, ["label"])]),
|
|
5241
5283
|
_: 1
|
|
5242
5284
|
/* STABLE */
|
|
5243
5285
|
|
|
@@ -5248,7 +5290,7 @@ const __default__ = {
|
|
|
5248
5290
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
5249
5291
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, null, {
|
|
5250
5292
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5251
|
-
label:
|
|
5293
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imageFormat
|
|
5252
5294
|
}, {
|
|
5253
5295
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5254
5296
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(imageType),
|
|
@@ -5278,7 +5320,9 @@ const __default__ = {
|
|
|
5278
5320
|
_: 1
|
|
5279
5321
|
/* STABLE */
|
|
5280
5322
|
|
|
5281
|
-
}
|
|
5323
|
+
}, 8
|
|
5324
|
+
/* PROPS */
|
|
5325
|
+
, ["label"])]),
|
|
5282
5326
|
_: 1
|
|
5283
5327
|
/* STABLE */
|
|
5284
5328
|
|
|
@@ -5297,7 +5341,9 @@ const __default__ = {
|
|
|
5297
5341
|
onClick: _cache[12] || (_cache[12] = $event => getPic()),
|
|
5298
5342
|
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loadState)
|
|
5299
5343
|
}, {
|
|
5300
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5344
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).savePicture), 1
|
|
5345
|
+
/* TEXT */
|
|
5346
|
+
)]),
|
|
5301
5347
|
_: 1
|
|
5302
5348
|
/* STABLE */
|
|
5303
5349
|
|
|
@@ -5308,7 +5354,9 @@ const __default__ = {
|
|
|
5308
5354
|
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(printState),
|
|
5309
5355
|
onClick: _cache[13] || (_cache[13] = $event => canvasToImage())
|
|
5310
5356
|
}, {
|
|
5311
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5357
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sendprinter), 1
|
|
5358
|
+
/* TEXT */
|
|
5359
|
+
)]),
|
|
5312
5360
|
_: 1
|
|
5313
5361
|
/* STABLE */
|
|
5314
5362
|
|
|
@@ -5339,7 +5387,9 @@ const __default__ = {
|
|
|
5339
5387
|
_: 1
|
|
5340
5388
|
/* STABLE */
|
|
5341
5389
|
|
|
5342
|
-
}),
|
|
5390
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_8, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).layerSelect), 1
|
|
5391
|
+
/* TEXT */
|
|
5392
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_layer_tree, {
|
|
5343
5393
|
showShadow: false,
|
|
5344
5394
|
"map-target": 'scencePrint'
|
|
5345
5395
|
})])], 512
|
|
@@ -5356,7 +5406,9 @@ const __default__ = {
|
|
|
5356
5406
|
_: 1
|
|
5357
5407
|
/* STABLE */
|
|
5358
5408
|
|
|
5359
|
-
}),
|
|
5409
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_10, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).titlesetting), 1
|
|
5410
|
+
/* TEXT */
|
|
5411
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
5360
5412
|
model: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform),
|
|
5361
5413
|
"label-width": "70px",
|
|
5362
5414
|
"label-position": "left"
|
|
@@ -5366,7 +5418,7 @@ const __default__ = {
|
|
|
5366
5418
|
span: 24
|
|
5367
5419
|
}, {
|
|
5368
5420
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5369
|
-
label:
|
|
5421
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printtitle
|
|
5370
5422
|
}, {
|
|
5371
5423
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input, {
|
|
5372
5424
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.title,
|
|
@@ -5377,7 +5429,9 @@ const __default__ = {
|
|
|
5377
5429
|
_: 1
|
|
5378
5430
|
/* STABLE */
|
|
5379
5431
|
|
|
5380
|
-
}
|
|
5432
|
+
}, 8
|
|
5433
|
+
/* PROPS */
|
|
5434
|
+
, ["label"])]),
|
|
5381
5435
|
_: 1
|
|
5382
5436
|
/* STABLE */
|
|
5383
5437
|
|
|
@@ -5390,37 +5444,44 @@ const __default__ = {
|
|
|
5390
5444
|
span: 24
|
|
5391
5445
|
}, {
|
|
5392
5446
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5393
|
-
label:
|
|
5447
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).font
|
|
5394
5448
|
}, {
|
|
5395
5449
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5396
5450
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontFamily,
|
|
5397
5451
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontFamily = $event),
|
|
5398
|
-
placeholder:
|
|
5452
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pleaseselect,
|
|
5399
5453
|
style: {
|
|
5400
5454
|
"width": "100%"
|
|
5401
5455
|
}
|
|
5402
5456
|
}, {
|
|
5403
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
}
|
|
5412
|
-
/*
|
|
5413
|
-
|
|
5457
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5458
|
+
value: "Microsoft YaHei",
|
|
5459
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yahei
|
|
5460
|
+
}, null, 8
|
|
5461
|
+
/* PROPS */
|
|
5462
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5463
|
+
value: "NSimSun",
|
|
5464
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).NSimSun
|
|
5465
|
+
}, null, 8
|
|
5466
|
+
/* PROPS */
|
|
5467
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5468
|
+
value: "KaiTi",
|
|
5469
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).KaiTi
|
|
5470
|
+
}, null, 8
|
|
5471
|
+
/* PROPS */
|
|
5472
|
+
, ["label"])]),
|
|
5414
5473
|
_: 1
|
|
5415
5474
|
/* STABLE */
|
|
5416
5475
|
|
|
5417
5476
|
}, 8
|
|
5418
5477
|
/* PROPS */
|
|
5419
|
-
, ["modelValue"])]),
|
|
5478
|
+
, ["modelValue", "placeholder"])]),
|
|
5420
5479
|
_: 1
|
|
5421
5480
|
/* STABLE */
|
|
5422
5481
|
|
|
5423
|
-
}
|
|
5482
|
+
}, 8
|
|
5483
|
+
/* PROPS */
|
|
5484
|
+
, ["label"])]),
|
|
5424
5485
|
_: 1
|
|
5425
5486
|
/* STABLE */
|
|
5426
5487
|
|
|
@@ -5433,12 +5494,12 @@ const __default__ = {
|
|
|
5433
5494
|
span: 16
|
|
5434
5495
|
}, {
|
|
5435
5496
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5436
|
-
label:
|
|
5497
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fontsize
|
|
5437
5498
|
}, {
|
|
5438
5499
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5439
5500
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontSize,
|
|
5440
5501
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontSize = $event),
|
|
5441
|
-
placeholder:
|
|
5502
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fontsize
|
|
5442
5503
|
}, {
|
|
5443
5504
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(sizelist).value, size => {
|
|
5444
5505
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
@@ -5462,11 +5523,13 @@ const __default__ = {
|
|
|
5462
5523
|
|
|
5463
5524
|
}, 8
|
|
5464
5525
|
/* PROPS */
|
|
5465
|
-
, ["modelValue"])]),
|
|
5526
|
+
, ["modelValue", "placeholder"])]),
|
|
5466
5527
|
_: 1
|
|
5467
5528
|
/* STABLE */
|
|
5468
5529
|
|
|
5469
|
-
}
|
|
5530
|
+
}, 8
|
|
5531
|
+
/* PROPS */
|
|
5532
|
+
, ["label"])]),
|
|
5470
5533
|
_: 1
|
|
5471
5534
|
/* STABLE */
|
|
5472
5535
|
|
|
@@ -5481,7 +5544,7 @@ const __default__ = {
|
|
|
5481
5544
|
span: 6
|
|
5482
5545
|
}, {
|
|
5483
5546
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5484
|
-
label:
|
|
5547
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fontcolor
|
|
5485
5548
|
}, {
|
|
5486
5549
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
5487
5550
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.color,
|
|
@@ -5493,7 +5556,9 @@ const __default__ = {
|
|
|
5493
5556
|
_: 1
|
|
5494
5557
|
/* STABLE */
|
|
5495
5558
|
|
|
5496
|
-
}
|
|
5559
|
+
}, 8
|
|
5560
|
+
/* PROPS */
|
|
5561
|
+
, ["label"])]),
|
|
5497
5562
|
_: 1
|
|
5498
5563
|
/* STABLE */
|
|
5499
5564
|
|
|
@@ -5506,7 +5571,7 @@ const __default__ = {
|
|
|
5506
5571
|
span: 8
|
|
5507
5572
|
}, {
|
|
5508
5573
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5509
|
-
label:
|
|
5574
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).backgroundColor
|
|
5510
5575
|
}, {
|
|
5511
5576
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
5512
5577
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.backgroundColor,
|
|
@@ -5518,7 +5583,9 @@ const __default__ = {
|
|
|
5518
5583
|
_: 1
|
|
5519
5584
|
/* STABLE */
|
|
5520
5585
|
|
|
5521
|
-
}
|
|
5586
|
+
}, 8
|
|
5587
|
+
/* PROPS */
|
|
5588
|
+
, ["label"])]),
|
|
5522
5589
|
_: 1
|
|
5523
5590
|
/* STABLE */
|
|
5524
5591
|
|
|
@@ -5526,7 +5593,7 @@ const __default__ = {
|
|
|
5526
5593
|
span: 8
|
|
5527
5594
|
}, {
|
|
5528
5595
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5529
|
-
label:
|
|
5596
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).shadowcolor
|
|
5530
5597
|
}, {
|
|
5531
5598
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
5532
5599
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.shadowShowBg,
|
|
@@ -5538,7 +5605,9 @@ const __default__ = {
|
|
|
5538
5605
|
_: 1
|
|
5539
5606
|
/* STABLE */
|
|
5540
5607
|
|
|
5541
|
-
}
|
|
5608
|
+
}, 8
|
|
5609
|
+
/* PROPS */
|
|
5610
|
+
, ["label"])]),
|
|
5542
5611
|
_: 1
|
|
5543
5612
|
/* STABLE */
|
|
5544
5613
|
|
|
@@ -5549,7 +5618,9 @@ const __default__ = {
|
|
|
5549
5618
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.shadowShow,
|
|
5550
5619
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.shadowShow = $event)
|
|
5551
5620
|
}, {
|
|
5552
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5621
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).backgroundShadow), 1
|
|
5622
|
+
/* TEXT */
|
|
5623
|
+
)]),
|
|
5553
5624
|
_: 1
|
|
5554
5625
|
/* STABLE */
|
|
5555
5626
|
|
|
@@ -5567,7 +5638,9 @@ const __default__ = {
|
|
|
5567
5638
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.titleShow,
|
|
5568
5639
|
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.titleShow = $event)
|
|
5569
5640
|
}, {
|
|
5570
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5641
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).displaytitle), 1
|
|
5642
|
+
/* TEXT */
|
|
5643
|
+
)]),
|
|
5571
5644
|
_: 1
|
|
5572
5645
|
/* STABLE */
|
|
5573
5646
|
|
|
@@ -5593,53 +5666,62 @@ const __default__ = {
|
|
|
5593
5666
|
_: 1
|
|
5594
5667
|
/* STABLE */
|
|
5595
5668
|
|
|
5596
|
-
}),
|
|
5669
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_14, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).addtext), 1
|
|
5670
|
+
/* TEXT */
|
|
5671
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_15, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
5597
5672
|
model: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform),
|
|
5598
5673
|
"label-width": "70px",
|
|
5599
5674
|
"label-position": "left"
|
|
5600
5675
|
}, {
|
|
5601
5676
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5602
|
-
label:
|
|
5677
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).font
|
|
5603
5678
|
}, {
|
|
5604
5679
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5605
5680
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontFamily,
|
|
5606
5681
|
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontFamily = $event),
|
|
5607
|
-
placeholder:
|
|
5682
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pleaseselect,
|
|
5608
5683
|
style: {
|
|
5609
5684
|
"width": "100%"
|
|
5610
5685
|
}
|
|
5611
5686
|
}, {
|
|
5612
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
}
|
|
5621
|
-
/*
|
|
5622
|
-
|
|
5687
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5688
|
+
value: "Microsoft YaHei",
|
|
5689
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yahei
|
|
5690
|
+
}, null, 8
|
|
5691
|
+
/* PROPS */
|
|
5692
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5693
|
+
value: "NSimSun",
|
|
5694
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).NSimSun
|
|
5695
|
+
}, null, 8
|
|
5696
|
+
/* PROPS */
|
|
5697
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
5698
|
+
value: "KaiTi",
|
|
5699
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).KaiTi
|
|
5700
|
+
}, null, 8
|
|
5701
|
+
/* PROPS */
|
|
5702
|
+
, ["label"])]),
|
|
5623
5703
|
_: 1
|
|
5624
5704
|
/* STABLE */
|
|
5625
5705
|
|
|
5626
5706
|
}, 8
|
|
5627
5707
|
/* PROPS */
|
|
5628
|
-
, ["modelValue"])]),
|
|
5708
|
+
, ["modelValue", "placeholder"])]),
|
|
5629
5709
|
_: 1
|
|
5630
5710
|
/* STABLE */
|
|
5631
5711
|
|
|
5632
|
-
}
|
|
5712
|
+
}, 8
|
|
5713
|
+
/* PROPS */
|
|
5714
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
5633
5715
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
5634
5716
|
span: 16
|
|
5635
5717
|
}, {
|
|
5636
5718
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5637
|
-
label:
|
|
5719
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fontsize
|
|
5638
5720
|
}, {
|
|
5639
5721
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
5640
5722
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontSize,
|
|
5641
5723
|
"onUpdate:modelValue": _cache[24] || (_cache[24] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontSize = $event),
|
|
5642
|
-
placeholder:
|
|
5724
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fontsize
|
|
5643
5725
|
}, {
|
|
5644
5726
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(sizelist).value, size => {
|
|
5645
5727
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
@@ -5663,11 +5745,13 @@ const __default__ = {
|
|
|
5663
5745
|
|
|
5664
5746
|
}, 8
|
|
5665
5747
|
/* PROPS */
|
|
5666
|
-
, ["modelValue"])]),
|
|
5748
|
+
, ["modelValue", "placeholder"])]),
|
|
5667
5749
|
_: 1
|
|
5668
5750
|
/* STABLE */
|
|
5669
5751
|
|
|
5670
|
-
}
|
|
5752
|
+
}, 8
|
|
5753
|
+
/* PROPS */
|
|
5754
|
+
, ["label"])]),
|
|
5671
5755
|
_: 1
|
|
5672
5756
|
/* STABLE */
|
|
5673
5757
|
|
|
@@ -5682,7 +5766,7 @@ const __default__ = {
|
|
|
5682
5766
|
span: 6
|
|
5683
5767
|
}, {
|
|
5684
5768
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5685
|
-
label:
|
|
5769
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fontcolor
|
|
5686
5770
|
}, {
|
|
5687
5771
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
5688
5772
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.color,
|
|
@@ -5694,7 +5778,9 @@ const __default__ = {
|
|
|
5694
5778
|
_: 1
|
|
5695
5779
|
/* STABLE */
|
|
5696
5780
|
|
|
5697
|
-
}
|
|
5781
|
+
}, 8
|
|
5782
|
+
/* PROPS */
|
|
5783
|
+
, ["label"])]),
|
|
5698
5784
|
_: 1
|
|
5699
5785
|
/* STABLE */
|
|
5700
5786
|
|
|
@@ -5704,32 +5790,36 @@ const __default__ = {
|
|
|
5704
5790
|
|
|
5705
5791
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
5706
5792
|
class: "textarea",
|
|
5707
|
-
label:
|
|
5793
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printtext
|
|
5708
5794
|
}, {
|
|
5709
5795
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("textarea", {
|
|
5710
5796
|
class: "textcontent",
|
|
5711
5797
|
rows: "12",
|
|
5712
|
-
placeholder:
|
|
5798
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pleaseentercontent,
|
|
5713
5799
|
spellcheck: "false",
|
|
5714
5800
|
"onUpdate:modelValue": _cache[26] || (_cache[26] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).data.labelValue = $event),
|
|
5715
5801
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style)
|
|
5716
|
-
}, null,
|
|
5717
|
-
/* STYLE */
|
|
5718
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vModelText, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).data.labelValue]])]),
|
|
5802
|
+
}, null, 12
|
|
5803
|
+
/* STYLE, PROPS */
|
|
5804
|
+
, _hoisted_16), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vModelText, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).data.labelValue]])]),
|
|
5719
5805
|
_: 1
|
|
5720
5806
|
/* STABLE */
|
|
5721
5807
|
|
|
5722
|
-
}
|
|
5808
|
+
}, 8
|
|
5809
|
+
/* PROPS */
|
|
5810
|
+
, ["label"])]),
|
|
5723
5811
|
_: 1
|
|
5724
5812
|
/* STABLE */
|
|
5725
5813
|
|
|
5726
5814
|
}, 8
|
|
5727
5815
|
/* PROPS */
|
|
5728
|
-
, ["model"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
5816
|
+
, ["model"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_17, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5729
5817
|
type: "primary",
|
|
5730
5818
|
onClick: addLabel
|
|
5731
5819
|
}, {
|
|
5732
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5820
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printadd), 1
|
|
5821
|
+
/* TEXT */
|
|
5822
|
+
)]),
|
|
5733
5823
|
_: 1
|
|
5734
5824
|
/* STABLE */
|
|
5735
5825
|
|
|
@@ -5737,7 +5827,9 @@ const __default__ = {
|
|
|
5737
5827
|
type: "plain",
|
|
5738
5828
|
onClick: clearLabel
|
|
5739
5829
|
}, {
|
|
5740
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
5830
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printclear), 1
|
|
5831
|
+
/* TEXT */
|
|
5832
|
+
)]),
|
|
5741
5833
|
_: 1
|
|
5742
5834
|
/* STABLE */
|
|
5743
5835
|
|
|
@@ -5749,9 +5841,9 @@ const __default__ = {
|
|
|
5749
5841
|
/* CLASS */
|
|
5750
5842
|
)], 4
|
|
5751
5843
|
/* STYLE */
|
|
5752
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
5844
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_18, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_19, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5753
5845
|
onClick: Enlarge,
|
|
5754
|
-
title:
|
|
5846
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).equalscalezoom,
|
|
5755
5847
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) === 1 ? 'clickborder' : '')
|
|
5756
5848
|
}, {
|
|
5757
5849
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
@@ -5765,9 +5857,9 @@ const __default__ = {
|
|
|
5765
5857
|
|
|
5766
5858
|
}, 8
|
|
5767
5859
|
/* PROPS */
|
|
5768
|
-
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5860
|
+
, ["title", "class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5769
5861
|
onClick: Narrow,
|
|
5770
|
-
title:
|
|
5862
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).scaleddown,
|
|
5771
5863
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) === 2 ? 'clickborder' : '')
|
|
5772
5864
|
}, {
|
|
5773
5865
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
@@ -5781,9 +5873,9 @@ const __default__ = {
|
|
|
5781
5873
|
|
|
5782
5874
|
}, 8
|
|
5783
5875
|
/* PROPS */
|
|
5784
|
-
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5876
|
+
, ["title", "class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5785
5877
|
onClick: MovePrint,
|
|
5786
|
-
title:
|
|
5878
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printdrag,
|
|
5787
5879
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) === 3 ? 'clickborder' : '')
|
|
5788
5880
|
}, {
|
|
5789
5881
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
@@ -5797,9 +5889,9 @@ const __default__ = {
|
|
|
5797
5889
|
|
|
5798
5890
|
}, 8
|
|
5799
5891
|
/* PROPS */
|
|
5800
|
-
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5892
|
+
, ["title", "class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5801
5893
|
onClick: RefreshStatus,
|
|
5802
|
-
title:
|
|
5894
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).restore
|
|
5803
5895
|
}, {
|
|
5804
5896
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
5805
5897
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Refresh))]),
|
|
@@ -5810,7 +5902,9 @@ const __default__ = {
|
|
|
5810
5902
|
_: 1
|
|
5811
5903
|
/* STABLE */
|
|
5812
5904
|
|
|
5813
|
-
}
|
|
5905
|
+
}, 8
|
|
5906
|
+
/* PROPS */
|
|
5907
|
+
, ["title"])])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
5814
5908
|
ref_key: "printDiv",
|
|
5815
5909
|
ref: printDiv,
|
|
5816
5910
|
class: "kq3d-client-print-printDiv"
|
|
@@ -5821,7 +5915,7 @@ const __default__ = {
|
|
|
5821
5915
|
class: "kq3d-client-print-mapContainerDiv kq3d-client-print-a4VSize",
|
|
5822
5916
|
onselectstart: "return false",
|
|
5823
5917
|
id: "printMap"
|
|
5824
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
5918
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_20, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
5825
5919
|
ref_key: "titleRef",
|
|
5826
5920
|
ref: titleRef,
|
|
5827
5921
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
@@ -5838,11 +5932,11 @@ const __default__ = {
|
|
|
5838
5932
|
class: "kq3d-client-print-printContentDiv kq3d-client-print-printborder1",
|
|
5839
5933
|
ref_key: "printContentDiv",
|
|
5840
5934
|
ref: printContentDiv
|
|
5841
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
5935
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_21, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
5842
5936
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(scenceImageUrl)
|
|
5843
5937
|
}, null, 8
|
|
5844
5938
|
/* PROPS */
|
|
5845
|
-
,
|
|
5939
|
+
, _hoisted_22)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_scence_view, {
|
|
5846
5940
|
target: 'scencePrint',
|
|
5847
5941
|
options: __props.options,
|
|
5848
5942
|
service: __props.service,
|
|
@@ -5904,17 +5998,19 @@ const __default__ = {
|
|
|
5904
5998
|
"cursor": "Pointer",
|
|
5905
5999
|
"color": "#da0000"
|
|
5906
6000
|
},
|
|
5907
|
-
title:
|
|
6001
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printclose
|
|
5908
6002
|
}, {
|
|
5909
6003
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Close))]),
|
|
5910
6004
|
_: 1
|
|
5911
6005
|
/* STABLE */
|
|
5912
6006
|
|
|
5913
|
-
}
|
|
6007
|
+
}, 8
|
|
5914
6008
|
/* PROPS */
|
|
5915
|
-
,
|
|
6009
|
+
, ["title"])], 8
|
|
6010
|
+
/* PROPS */
|
|
6011
|
+
, _hoisted_24)], 40
|
|
5916
6012
|
/* PROPS, HYDRATE_EVENTS */
|
|
5917
|
-
,
|
|
6013
|
+
, _hoisted_23)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, item.data.isShow]]);
|
|
5918
6014
|
}), 128
|
|
5919
6015
|
/* KEYED_FRAGMENT */
|
|
5920
6016
|
))]),
|
|
@@ -5925,9 +6021,9 @@ const __default__ = {
|
|
|
5925
6021
|
/* PROPS */
|
|
5926
6022
|
, ["options", "service", "scenceInfo", "showToolButtons", "defaultShowLayerNames", "toolButtonsPosition", "showLogo"])], 512
|
|
5927
6023
|
/* NEED_PATCH */
|
|
5928
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
6024
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_25, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_26, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printcompany) + ":" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(companyName)), 1
|
|
5929
6025
|
/* TEXT */
|
|
5930
|
-
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
6026
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_27, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printdate) + ":" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(systemTime)), 1
|
|
5931
6027
|
/* TEXT */
|
|
5932
6028
|
)])])], 512
|
|
5933
6029
|
/* NEED_PATCH */
|
|
@@ -6099,6 +6195,8 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
6099
6195
|
var CompareMapViewModel = __webpack_require__(6938);
|
|
6100
6196
|
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
6101
6197
|
var es_array_includes_js_ = __webpack_require__(3600);
|
|
6198
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
6199
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
6102
6200
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
|
|
6103
6201
|
|
|
6104
6202
|
|
|
@@ -6107,6 +6205,7 @@ const _hoisted_1 = {
|
|
|
6107
6205
|
};
|
|
6108
6206
|
|
|
6109
6207
|
|
|
6208
|
+
|
|
6110
6209
|
const __default__ = {
|
|
6111
6210
|
name: "Kq3dCompareMapTree"
|
|
6112
6211
|
};
|
|
@@ -6152,13 +6251,20 @@ const __default__ = {
|
|
|
6152
6251
|
}
|
|
6153
6252
|
|
|
6154
6253
|
preCheckedKeys.value = values;
|
|
6155
|
-
}
|
|
6254
|
+
} // 国际化
|
|
6255
|
+
|
|
6156
6256
|
|
|
6257
|
+
let {
|
|
6258
|
+
locale,
|
|
6259
|
+
messages
|
|
6260
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
6261
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
6262
|
+
language.value = messages.value[newVal]["webgl"];
|
|
6263
|
+
});
|
|
6157
6264
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
6158
6265
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
6159
6266
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
6160
6267
|
if (scenceView) {
|
|
6161
|
-
language.value = scenceView._language;
|
|
6162
6268
|
layerTreeData.value = gis_utils_.mapLayerUtils.getLayerCheckedList();
|
|
6163
6269
|
selectedLayers.value = gis_utils_.mapLayerUtils.getLayerCheckedListKey();
|
|
6164
6270
|
preCheckedKeys.value = selectedLayers.value;
|
|
@@ -6225,6 +6331,7 @@ const CompareMapvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
6225
6331
|
|
|
6226
6332
|
|
|
6227
6333
|
|
|
6334
|
+
|
|
6228
6335
|
const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
6229
6336
|
name: "Kq3dCompareMap"
|
|
6230
6337
|
};
|
|
@@ -6262,12 +6369,19 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6262
6369
|
let tree1Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
|
|
6263
6370
|
let tree2Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(1);
|
|
6264
6371
|
let tree3Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(2);
|
|
6265
|
-
let tree4Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(3);
|
|
6372
|
+
let tree4Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(3); // 国际化
|
|
6373
|
+
|
|
6374
|
+
let {
|
|
6375
|
+
locale,
|
|
6376
|
+
messages
|
|
6377
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
6378
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
6379
|
+
language.value = messages.value[newVal]["webgl"];
|
|
6380
|
+
});
|
|
6266
6381
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
6267
6382
|
offsetTop.value = props.offsetTop;
|
|
6268
6383
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
6269
6384
|
if (scenceView) {
|
|
6270
|
-
language.value = scenceView._language;
|
|
6271
6385
|
viewModel = new CompareMapViewModel/* default */.Z(scenceView);
|
|
6272
6386
|
}
|
|
6273
6387
|
});
|
|
@@ -6508,11 +6622,14 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
6508
6622
|
var CompassViewModel = __webpack_require__(9520);
|
|
6509
6623
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
6510
6624
|
var gis_utils_ = __webpack_require__(826);
|
|
6625
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
6626
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
6511
6627
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
|
|
6512
6628
|
|
|
6513
6629
|
|
|
6514
6630
|
|
|
6515
6631
|
|
|
6632
|
+
|
|
6516
6633
|
// 获取组件传参
|
|
6517
6634
|
|
|
6518
6635
|
const __default__ = {
|
|
@@ -6527,10 +6644,10 @@ const __default__ = {
|
|
|
6527
6644
|
type: Number,
|
|
6528
6645
|
default: 16
|
|
6529
6646
|
},
|
|
6530
|
-
//
|
|
6531
|
-
|
|
6532
|
-
type:
|
|
6533
|
-
default:
|
|
6647
|
+
// 组件大小
|
|
6648
|
+
size: {
|
|
6649
|
+
type: Number,
|
|
6650
|
+
default: 32
|
|
6534
6651
|
},
|
|
6535
6652
|
showShadow: {
|
|
6536
6653
|
type: Boolean,
|
|
@@ -6542,11 +6659,18 @@ const __default__ = {
|
|
|
6542
6659
|
const props = __props;
|
|
6543
6660
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
6544
6661
|
let viewModel = null;
|
|
6545
|
-
let heading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
|
|
6662
|
+
let heading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0); // 国际化
|
|
6663
|
+
|
|
6664
|
+
let {
|
|
6665
|
+
locale,
|
|
6666
|
+
messages
|
|
6667
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
6668
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
6669
|
+
language.value = messages.value[newVal]["webgl"];
|
|
6670
|
+
});
|
|
6546
6671
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
6547
6672
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
6548
6673
|
if (scenceView) {
|
|
6549
|
-
language.value = scenceView._language;
|
|
6550
6674
|
viewModel = new CompassViewModel/* default */.Z(scenceView._viewer); //绑定指南针事件
|
|
6551
6675
|
|
|
6552
6676
|
viewModel.bindCompassEvent(heading);
|
|
@@ -6573,10 +6697,10 @@ const __default__ = {
|
|
|
6573
6697
|
'kq-light-shadow': __props.showShadow
|
|
6574
6698
|
}]),
|
|
6575
6699
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).resetOrientation,
|
|
6576
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('clip-path: circle(50%);width:' + __props.
|
|
6700
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('clip-path: circle(50%);width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
6577
6701
|
}, {
|
|
6578
6702
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
6579
|
-
size: __props.
|
|
6703
|
+
size: __props.size / 2,
|
|
6580
6704
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(heading) + 'rad);-webkit-transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(heading) + 'rad)')
|
|
6581
6705
|
}, {
|
|
6582
6706
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconCompass3D))]),
|
|
@@ -6772,6 +6896,8 @@ class ExcavateFillAnalysisViewModel {
|
|
|
6772
6896
|
var client_icons_vue_ = __webpack_require__(348);
|
|
6773
6897
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
6774
6898
|
var util_ = __webpack_require__(9519);
|
|
6899
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
6900
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
6775
6901
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/excavatefillanalysis/ExcavateFillAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
6776
6902
|
|
|
6777
6903
|
const _hoisted_1 = {
|
|
@@ -6798,6 +6924,7 @@ const _hoisted_6 = {
|
|
|
6798
6924
|
|
|
6799
6925
|
|
|
6800
6926
|
|
|
6927
|
+
|
|
6801
6928
|
const __default__ = {
|
|
6802
6929
|
name: "Kq3dExcavateFillAnalysis"
|
|
6803
6930
|
};
|
|
@@ -6876,7 +7003,17 @@ const __default__ = {
|
|
|
6876
7003
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
6877
7004
|
|
|
6878
7005
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
6879
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
7006
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
7007
|
+
|
|
7008
|
+
let {
|
|
7009
|
+
locale,
|
|
7010
|
+
messages
|
|
7011
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
7012
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
7013
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
7014
|
+
language.value = messages.value[newVal]["webgl"];
|
|
7015
|
+
headerTempTitle.value = language.value.excavateFillAnalysis;
|
|
7016
|
+
});
|
|
6880
7017
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
6881
7018
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
6882
7019
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -6890,7 +7027,6 @@ const __default__ = {
|
|
|
6890
7027
|
|
|
6891
7028
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
6892
7029
|
if (scenceView) {
|
|
6893
|
-
language.value = scenceView._language;
|
|
6894
7030
|
var options = {
|
|
6895
7031
|
referenceHeight: formItem.altitudeHeight,
|
|
6896
7032
|
cutColor: formItem.excavateColor,
|
|
@@ -6926,7 +7062,7 @@ const __default__ = {
|
|
|
6926
7062
|
const watchCreateHeaderTemp = () => {
|
|
6927
7063
|
if (props.showHeaderTemp) {
|
|
6928
7064
|
// 生成headerTemp
|
|
6929
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
7065
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
6930
7066
|
}
|
|
6931
7067
|
}; //开始分析
|
|
6932
7068
|
|
|
@@ -7361,11 +7497,14 @@ var icons_vue_ = __webpack_require__(8422);
|
|
|
7361
7497
|
var FixedZoominViewModel = __webpack_require__(7216);
|
|
7362
7498
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
7363
7499
|
var gis_utils_ = __webpack_require__(826);
|
|
7500
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
7501
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
7364
7502
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
|
|
7365
7503
|
|
|
7366
7504
|
|
|
7367
7505
|
|
|
7368
7506
|
|
|
7507
|
+
|
|
7369
7508
|
// 获取组件传参
|
|
7370
7509
|
|
|
7371
7510
|
const __default__ = {
|
|
@@ -7375,15 +7514,10 @@ const __default__ = {
|
|
|
7375
7514
|
props: {
|
|
7376
7515
|
// 指定组件绑定的scence对象的div的id
|
|
7377
7516
|
mapTarget: String,
|
|
7378
|
-
//
|
|
7379
|
-
|
|
7517
|
+
// 组件大小
|
|
7518
|
+
size: {
|
|
7380
7519
|
type: Number,
|
|
7381
|
-
default:
|
|
7382
|
-
},
|
|
7383
|
-
// 按钮大小
|
|
7384
|
-
buttonSize: {
|
|
7385
|
-
type: String,
|
|
7386
|
-
default: "32px"
|
|
7520
|
+
default: 32
|
|
7387
7521
|
},
|
|
7388
7522
|
showShadow: {
|
|
7389
7523
|
type: Boolean,
|
|
@@ -7395,11 +7529,18 @@ const __default__ = {
|
|
|
7395
7529
|
const props = __props;
|
|
7396
7530
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
7397
7531
|
let viewModel = null;
|
|
7398
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
7532
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
7533
|
+
|
|
7534
|
+
let {
|
|
7535
|
+
locale,
|
|
7536
|
+
messages
|
|
7537
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
7538
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
7539
|
+
language.value = messages.value[newVal]["webgl"];
|
|
7540
|
+
});
|
|
7399
7541
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7400
7542
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
7401
7543
|
if (scenceView) {
|
|
7402
|
-
language.value = scenceView._language;
|
|
7403
7544
|
viewModel = new FixedZoominViewModel/* default */.Z(scenceView._viewer);
|
|
7404
7545
|
}
|
|
7405
7546
|
});
|
|
@@ -7423,10 +7564,10 @@ const __default__ = {
|
|
|
7423
7564
|
ref_key: "btn",
|
|
7424
7565
|
ref: btn,
|
|
7425
7566
|
onClick: btnClick,
|
|
7426
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.
|
|
7567
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
7427
7568
|
}, {
|
|
7428
7569
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
7429
|
-
size: __props.
|
|
7570
|
+
size: __props.size / 2
|
|
7430
7571
|
}, {
|
|
7431
7572
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Minus))]),
|
|
7432
7573
|
_: 1
|
|
@@ -7566,11 +7707,14 @@ var icons_vue_ = __webpack_require__(8422);
|
|
|
7566
7707
|
var FixedZoomoutViewModel = __webpack_require__(8800);
|
|
7567
7708
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
7568
7709
|
var gis_utils_ = __webpack_require__(826);
|
|
7710
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
7711
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
7569
7712
|
;// 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
|
|
7570
7713
|
|
|
7571
7714
|
|
|
7572
7715
|
|
|
7573
7716
|
|
|
7717
|
+
|
|
7574
7718
|
// 获取组件传参
|
|
7575
7719
|
|
|
7576
7720
|
const __default__ = {
|
|
@@ -7580,15 +7724,10 @@ const __default__ = {
|
|
|
7580
7724
|
props: {
|
|
7581
7725
|
// 指定组件绑定的scence对象的div的id
|
|
7582
7726
|
mapTarget: String,
|
|
7583
|
-
//
|
|
7584
|
-
|
|
7727
|
+
// 组件大小
|
|
7728
|
+
size: {
|
|
7585
7729
|
type: Number,
|
|
7586
|
-
default:
|
|
7587
|
-
},
|
|
7588
|
-
// 按钮大小
|
|
7589
|
-
buttonSize: {
|
|
7590
|
-
type: String,
|
|
7591
|
-
default: "32px"
|
|
7730
|
+
default: 32
|
|
7592
7731
|
},
|
|
7593
7732
|
showShadow: {
|
|
7594
7733
|
type: Boolean,
|
|
@@ -7600,11 +7739,18 @@ const __default__ = {
|
|
|
7600
7739
|
const props = __props;
|
|
7601
7740
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
7602
7741
|
let viewModel = null;
|
|
7603
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
7742
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
7743
|
+
|
|
7744
|
+
let {
|
|
7745
|
+
locale,
|
|
7746
|
+
messages
|
|
7747
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
7748
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
7749
|
+
language.value = messages.value[newVal]["webgl"];
|
|
7750
|
+
});
|
|
7604
7751
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7605
7752
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
7606
7753
|
if (scenceView) {
|
|
7607
|
-
language.value = scenceView._language;
|
|
7608
7754
|
viewModel = new FixedZoomoutViewModel/* default */.Z(scenceView._viewer);
|
|
7609
7755
|
}
|
|
7610
7756
|
});
|
|
@@ -7628,10 +7774,10 @@ const __default__ = {
|
|
|
7628
7774
|
ref_key: "btn",
|
|
7629
7775
|
ref: btn,
|
|
7630
7776
|
onClick: btnClick,
|
|
7631
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.
|
|
7777
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
7632
7778
|
}, {
|
|
7633
7779
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
7634
|
-
size: __props.
|
|
7780
|
+
size: __props.size / 2
|
|
7635
7781
|
}, {
|
|
7636
7782
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Plus))]),
|
|
7637
7783
|
_: 1
|
|
@@ -7816,6 +7962,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
7816
7962
|
var FlightViewModel = __webpack_require__(5372);
|
|
7817
7963
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
7818
7964
|
var util_ = __webpack_require__(9519);
|
|
7965
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
7966
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
7819
7967
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/flight/Flight.vue?vue&type=script&setup=true&lang=js
|
|
7820
7968
|
|
|
7821
7969
|
const _hoisted_1 = {
|
|
@@ -7854,6 +8002,7 @@ const _hoisted_9 = {
|
|
|
7854
8002
|
|
|
7855
8003
|
|
|
7856
8004
|
|
|
8005
|
+
|
|
7857
8006
|
const __default__ = {
|
|
7858
8007
|
name: "Kq3dFlight"
|
|
7859
8008
|
};
|
|
@@ -7937,7 +8086,17 @@ const __default__ = {
|
|
|
7937
8086
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
7938
8087
|
|
|
7939
8088
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
7940
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
8089
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
8090
|
+
|
|
8091
|
+
let {
|
|
8092
|
+
locale,
|
|
8093
|
+
messages
|
|
8094
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
8095
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
8096
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
8097
|
+
language.value = messages.value[newVal]["webgl"];
|
|
8098
|
+
headerTempTitle.value = language.value.flight;
|
|
8099
|
+
});
|
|
7941
8100
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7942
8101
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
7943
8102
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -7949,7 +8108,6 @@ const __default__ = {
|
|
|
7949
8108
|
});
|
|
7950
8109
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
7951
8110
|
if (scenceView) {
|
|
7952
|
-
language.value = scenceView._language;
|
|
7953
8111
|
viewer = scenceView._viewer;
|
|
7954
8112
|
viewModel = new FlightViewModel/* default */.Z(viewer);
|
|
7955
8113
|
viewModel.stopEvent.addEventListener(function () {
|
|
@@ -7984,7 +8142,7 @@ const __default__ = {
|
|
|
7984
8142
|
const watchCreateHeaderTemp = () => {
|
|
7985
8143
|
if (props.showHeaderTemp) {
|
|
7986
8144
|
// 生成headerTemp
|
|
7987
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
8145
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
7988
8146
|
}
|
|
7989
8147
|
}; //新建路径
|
|
7990
8148
|
|
|
@@ -9022,6 +9180,8 @@ class FloodAnalysisViewModel {
|
|
|
9022
9180
|
var client_icons_vue_ = __webpack_require__(348);
|
|
9023
9181
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
9024
9182
|
var util_ = __webpack_require__(9519);
|
|
9183
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
9184
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
9025
9185
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/floodanalysis/FloodAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
9026
9186
|
|
|
9027
9187
|
const _hoisted_1 = {
|
|
@@ -9037,6 +9197,7 @@ const _hoisted_3 = {
|
|
|
9037
9197
|
|
|
9038
9198
|
|
|
9039
9199
|
|
|
9200
|
+
|
|
9040
9201
|
const __default__ = {
|
|
9041
9202
|
name: "Kq3dFloodAnalysis"
|
|
9042
9203
|
};
|
|
@@ -9075,8 +9236,7 @@ const __default__ = {
|
|
|
9075
9236
|
},
|
|
9076
9237
|
// HeaderTemp标题
|
|
9077
9238
|
headerTempTitle: {
|
|
9078
|
-
type: String
|
|
9079
|
-
default: "淹没分析"
|
|
9239
|
+
type: String
|
|
9080
9240
|
},
|
|
9081
9241
|
// HeaderTemp图标
|
|
9082
9242
|
headerTempIcon: {
|
|
@@ -9147,7 +9307,17 @@ const __default__ = {
|
|
|
9147
9307
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
9148
9308
|
|
|
9149
9309
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
9150
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
9310
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
9311
|
+
|
|
9312
|
+
let {
|
|
9313
|
+
locale,
|
|
9314
|
+
messages
|
|
9315
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
9316
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
9317
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
9318
|
+
language.value = messages.value[newVal]["webgl"];
|
|
9319
|
+
headerTempTitle.value = (formItem.floodMode == 0 ? language.value.floodTerrain : language.value.floodModel) + language.value.floodAnalysis1;
|
|
9320
|
+
});
|
|
9151
9321
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
9152
9322
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
9153
9323
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -9159,7 +9329,6 @@ const __default__ = {
|
|
|
9159
9329
|
});
|
|
9160
9330
|
gis_utils_.utils.getWebMap(props.target, scenceView => {
|
|
9161
9331
|
if (scenceView) {
|
|
9162
|
-
language.value = scenceView._language;
|
|
9163
9332
|
viewModel = new FloodAnalysisViewModel(scenceView, {
|
|
9164
9333
|
mode: formItem.floodMode,
|
|
9165
9334
|
moveMode: formItem.floodDirection,
|
|
@@ -9168,18 +9337,7 @@ const __default__ = {
|
|
|
9168
9337
|
minHeight: formItem.floodMinHeight,
|
|
9169
9338
|
maxHeight: formItem.floodMaxHeight,
|
|
9170
9339
|
colorImage: formItem.floodColorImage
|
|
9171
|
-
});
|
|
9172
|
-
// if (!props.headerTempTitle) {
|
|
9173
|
-
// if (props.isShowMode) {
|
|
9174
|
-
// props.headerTempTitle = scenceView._language.floodAnalysis;
|
|
9175
|
-
// } else {
|
|
9176
|
-
// if (formItem.floodMode === 0) {
|
|
9177
|
-
// props.headerTempTitle = scenceView._language.floodTerrain + scenceView._language.floodAnalysis1;
|
|
9178
|
-
// } else if (formItem.floodMode === 1) {
|
|
9179
|
-
// props.headerTempTitle = scenceView._language.floodModel + scenceView._language.floodAnalysis1;
|
|
9180
|
-
// }
|
|
9181
|
-
// }
|
|
9182
|
-
// }
|
|
9340
|
+
});
|
|
9183
9341
|
}
|
|
9184
9342
|
});
|
|
9185
9343
|
});
|
|
@@ -9190,7 +9348,7 @@ const __default__ = {
|
|
|
9190
9348
|
const watchCreateHeaderTemp = () => {
|
|
9191
9349
|
if (props.showHeaderTemp) {
|
|
9192
9350
|
// 生成headerTemp
|
|
9193
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
9351
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
9194
9352
|
}
|
|
9195
9353
|
}; //获取图片路径
|
|
9196
9354
|
|
|
@@ -10060,6 +10218,8 @@ class GPUSpatialQueryViewModel {
|
|
|
10060
10218
|
}
|
|
10061
10219
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
10062
10220
|
var util_ = __webpack_require__(9519);
|
|
10221
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
10222
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
10063
10223
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/gpuspatialquery/GPUSpatialQuery.vue?vue&type=script&setup=true&lang=js
|
|
10064
10224
|
|
|
10065
10225
|
const _hoisted_1 = {
|
|
@@ -10074,6 +10234,7 @@ const _hoisted_2 = {
|
|
|
10074
10234
|
|
|
10075
10235
|
|
|
10076
10236
|
|
|
10237
|
+
|
|
10077
10238
|
const __default__ = {
|
|
10078
10239
|
name: "Kq3dGPUSpatialQuery"
|
|
10079
10240
|
};
|
|
@@ -10183,7 +10344,17 @@ const __default__ = {
|
|
|
10183
10344
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
10184
10345
|
|
|
10185
10346
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
10186
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
10347
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
10348
|
+
|
|
10349
|
+
let {
|
|
10350
|
+
locale,
|
|
10351
|
+
messages
|
|
10352
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
10353
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
10354
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
10355
|
+
language.value = messages.value[newVal]["webgl"];
|
|
10356
|
+
headerTempTitle.value = language.value.spatialQuery;
|
|
10357
|
+
});
|
|
10187
10358
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
10188
10359
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
10189
10360
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -10195,7 +10366,6 @@ const __default__ = {
|
|
|
10195
10366
|
});
|
|
10196
10367
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
10197
10368
|
if (scenceView) {
|
|
10198
|
-
language.value = scenceView._language;
|
|
10199
10369
|
viewModel = new GPUSpatialQueryViewModel(scenceView, {
|
|
10200
10370
|
volumeType: formItem.volumeType,
|
|
10201
10371
|
positionMode: formItem.positionMode,
|
|
@@ -10214,7 +10384,7 @@ const __default__ = {
|
|
|
10214
10384
|
const watchCreateHeaderTemp = () => {
|
|
10215
10385
|
if (props.showHeaderTemp) {
|
|
10216
10386
|
// 生成headerTemp
|
|
10217
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
10387
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
10218
10388
|
}
|
|
10219
10389
|
}; // 参数切换
|
|
10220
10390
|
|
|
@@ -11278,6 +11448,8 @@ class IsolineAnalysisViewModel {
|
|
|
11278
11448
|
var client_icons_vue_ = __webpack_require__(348);
|
|
11279
11449
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
11280
11450
|
var util_ = __webpack_require__(9519);
|
|
11451
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
11452
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
11281
11453
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/isolineanalysis/IsolineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
11282
11454
|
|
|
11283
11455
|
const _hoisted_1 = {
|
|
@@ -11353,6 +11525,7 @@ const _hoisted_17 = {
|
|
|
11353
11525
|
|
|
11354
11526
|
|
|
11355
11527
|
|
|
11528
|
+
|
|
11356
11529
|
const __default__ = {
|
|
11357
11530
|
name: "Kq3dIsolineAnalysis"
|
|
11358
11531
|
};
|
|
@@ -11500,7 +11673,17 @@ const __default__ = {
|
|
|
11500
11673
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
11501
11674
|
|
|
11502
11675
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
11503
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
11676
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
11677
|
+
|
|
11678
|
+
let {
|
|
11679
|
+
locale,
|
|
11680
|
+
messages
|
|
11681
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
11682
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
11683
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
11684
|
+
language.value = messages.value[newVal]["webgl"];
|
|
11685
|
+
headerTempTitle.value = language.value.isolineAnalysis;
|
|
11686
|
+
});
|
|
11504
11687
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
11505
11688
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
11506
11689
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -11514,7 +11697,6 @@ const __default__ = {
|
|
|
11514
11697
|
|
|
11515
11698
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
11516
11699
|
if (scenceView) {
|
|
11517
|
-
language.value = scenceView._language;
|
|
11518
11700
|
var options = {
|
|
11519
11701
|
minHeight: formItem.minHeight,
|
|
11520
11702
|
maxHeight: formItem.maxHeight,
|
|
@@ -11558,7 +11740,7 @@ const __default__ = {
|
|
|
11558
11740
|
const watchCreateHeaderTemp = () => {
|
|
11559
11741
|
if (props.showHeaderTemp) {
|
|
11560
11742
|
// 生成headerTemp
|
|
11561
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
11743
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
11562
11744
|
}
|
|
11563
11745
|
}; // 刷新自定义样式数组
|
|
11564
11746
|
|
|
@@ -13730,6 +13912,8 @@ var MeasureViewModel = __webpack_require__(193);
|
|
|
13730
13912
|
var util_ = __webpack_require__(9519);
|
|
13731
13913
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
13732
13914
|
var message = __webpack_require__(909);
|
|
13915
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
13916
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
13733
13917
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
13734
13918
|
|
|
13735
13919
|
const _hoisted_1 = {
|
|
@@ -13847,6 +14031,7 @@ const _hoisted_33 = {
|
|
|
13847
14031
|
|
|
13848
14032
|
|
|
13849
14033
|
|
|
14034
|
+
|
|
13850
14035
|
const __default__ = {
|
|
13851
14036
|
name: "Kq3dMeasure"
|
|
13852
14037
|
};
|
|
@@ -13901,8 +14086,19 @@ const __default__ = {
|
|
|
13901
14086
|
let result = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("0");
|
|
13902
14087
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
13903
14088
|
let mode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("space");
|
|
13904
|
-
let modeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.
|
|
13905
|
-
let viewModel = null; //
|
|
14089
|
+
let modeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
14090
|
+
let viewModel = null; // 国际化
|
|
14091
|
+
|
|
14092
|
+
let {
|
|
14093
|
+
locale,
|
|
14094
|
+
messages
|
|
14095
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
14096
|
+
let measureTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
14097
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
14098
|
+
language.value = messages.value[newVal]["webgl"];
|
|
14099
|
+
measureTitle.value = language.value.measure;
|
|
14100
|
+
modeList.value = loadModeData();
|
|
14101
|
+
}); // 距离测量单位
|
|
13906
14102
|
|
|
13907
14103
|
let distanceUnits = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
13908
14104
|
label: "m",
|
|
@@ -13938,8 +14134,6 @@ const __default__ = {
|
|
|
13938
14134
|
});
|
|
13939
14135
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
13940
14136
|
if (scenceView) {
|
|
13941
|
-
language.value = scenceView._language;
|
|
13942
|
-
loadModeData();
|
|
13943
14137
|
viewModel = new MeasureViewModel/* default */.Z(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
13944
14138
|
|
|
13945
14139
|
viewModel.measureEvent.addEventListener(function (res) {
|
|
@@ -13993,24 +14187,22 @@ const __default__ = {
|
|
|
13993
14187
|
const watchCreateHeaderTemp = () => {
|
|
13994
14188
|
if (props.showHeaderTemp) {
|
|
13995
14189
|
// 生成headerTemp
|
|
13996
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
14190
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, measureTitle);
|
|
13997
14191
|
}
|
|
13998
14192
|
}; //加载测量模式数据
|
|
13999
14193
|
|
|
14000
14194
|
|
|
14001
14195
|
function loadModeData() {
|
|
14002
|
-
|
|
14196
|
+
return [{
|
|
14003
14197
|
label: language.value.spaceMeasure,
|
|
14004
14198
|
value: "space"
|
|
14005
|
-
}
|
|
14006
|
-
modeList.push({
|
|
14199
|
+
}, {
|
|
14007
14200
|
label: language.value.groundMeasure,
|
|
14008
14201
|
value: "ground"
|
|
14009
|
-
}
|
|
14010
|
-
modeList.push({
|
|
14202
|
+
}, {
|
|
14011
14203
|
label: language.value.modelMeasure,
|
|
14012
14204
|
value: "model"
|
|
14013
|
-
}
|
|
14205
|
+
}];
|
|
14014
14206
|
}
|
|
14015
14207
|
|
|
14016
14208
|
function formatDistance(dis) {
|
|
@@ -14437,14 +14629,12 @@ class ModelSelectViewModel {
|
|
|
14437
14629
|
|
|
14438
14630
|
this._handler.setInputAction(function (movement) {
|
|
14439
14631
|
if (that._isPick) {
|
|
14440
|
-
let pickedObject = that._viewer.scene.pick(movement.position);
|
|
14632
|
+
let pickedObject = that._viewer.scene.pick(movement.position); // console.log(pickedObject);
|
|
14441
14633
|
|
|
14442
|
-
console.log(pickedObject);
|
|
14443
14634
|
|
|
14444
14635
|
if (pickedObject) {
|
|
14445
14636
|
if (pickedObject instanceof Cesium.Cesium3DTileFeature) {
|
|
14446
|
-
let properties = pickedObject.getPropertyNames() || [];
|
|
14447
|
-
console.log(properties);
|
|
14637
|
+
let properties = pickedObject.getPropertyNames() || []; // console.log(properties);
|
|
14448
14638
|
|
|
14449
14639
|
if (that._modeFiledArray && that._modeFiledArray.length && that._modeFiledArray.length > 0) {
|
|
14450
14640
|
for (let val in that._modeFiledArray) {
|
|
@@ -14527,23 +14717,21 @@ class ModelSelectViewModel {
|
|
|
14527
14717
|
var client_icons_vue_ = __webpack_require__(348);
|
|
14528
14718
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
14529
14719
|
var util_ = __webpack_require__(9519);
|
|
14720
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
14721
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
14530
14722
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
|
|
14531
14723
|
|
|
14532
14724
|
const _hoisted_1 = {
|
|
14533
14725
|
class: "title"
|
|
14534
14726
|
};
|
|
14535
|
-
|
|
14536
|
-
const _hoisted_2 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "所属图层名称:", -1
|
|
14537
|
-
/* HOISTED */
|
|
14538
|
-
);
|
|
14539
|
-
|
|
14540
|
-
const _hoisted_3 = {
|
|
14727
|
+
const _hoisted_2 = {
|
|
14541
14728
|
class: "footer-buttons"
|
|
14542
14729
|
};
|
|
14543
14730
|
|
|
14544
14731
|
|
|
14545
14732
|
|
|
14546
14733
|
|
|
14734
|
+
|
|
14547
14735
|
// tree数据源
|
|
14548
14736
|
|
|
14549
14737
|
const __default__ = {
|
|
@@ -14630,7 +14818,17 @@ const __default__ = {
|
|
|
14630
14818
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
14631
14819
|
|
|
14632
14820
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
14633
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
14821
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
14822
|
+
|
|
14823
|
+
let {
|
|
14824
|
+
locale,
|
|
14825
|
+
messages
|
|
14826
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
14827
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
14828
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
14829
|
+
language.value = messages.value[newVal]["webgl"];
|
|
14830
|
+
headerTempTitle.value = language.value.modelPick;
|
|
14831
|
+
});
|
|
14634
14832
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
14635
14833
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
14636
14834
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -14643,7 +14841,6 @@ const __default__ = {
|
|
|
14643
14841
|
|
|
14644
14842
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
14645
14843
|
if (scenceView) {
|
|
14646
|
-
language.value = scenceView._language;
|
|
14647
14844
|
viewModel = new ModelSelectViewModel(scenceView, pickCallFunc);
|
|
14648
14845
|
viewModel._highlightColor = props.highlightColor;
|
|
14649
14846
|
viewModel._modeFiledArray = props.modeFiledArray;
|
|
@@ -14657,7 +14854,7 @@ const __default__ = {
|
|
|
14657
14854
|
const watchCreateHeaderTemp = () => {
|
|
14658
14855
|
if (props.showHeaderTemp) {
|
|
14659
14856
|
// 生成headerTemp
|
|
14660
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
14857
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
14661
14858
|
}
|
|
14662
14859
|
};
|
|
14663
14860
|
|
|
@@ -14677,8 +14874,7 @@ const __default__ = {
|
|
|
14677
14874
|
}
|
|
14678
14875
|
|
|
14679
14876
|
props.aliasNameReflection(arrKeys, item => {
|
|
14680
|
-
console.log(item);
|
|
14681
|
-
|
|
14877
|
+
// console.log(item);
|
|
14682
14878
|
for (let key in properties) {
|
|
14683
14879
|
propertiesData.push({
|
|
14684
14880
|
field: item[key] ? item[key] : key,
|
|
@@ -14739,7 +14935,9 @@ const __default__ = {
|
|
|
14739
14935
|
ref_key: "ref_box",
|
|
14740
14936
|
ref: ref_box
|
|
14741
14937
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
14742
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [
|
|
14938
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modelLayerName) + " : ", 1
|
|
14939
|
+
/* TEXT */
|
|
14940
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(layerNameTitle)), 1
|
|
14743
14941
|
/* TEXT */
|
|
14744
14942
|
)])]),
|
|
14745
14943
|
_: 1
|
|
@@ -14786,7 +14984,7 @@ const __default__ = {
|
|
|
14786
14984
|
|
|
14787
14985
|
}, 8
|
|
14788
14986
|
/* PROPS */
|
|
14789
|
-
, ["style"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
14987
|
+
, ["style"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
14790
14988
|
onClick: _cache[0] || (_cache[0] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => pick(), ["stop"])),
|
|
14791
14989
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pick,
|
|
14792
14990
|
type: "primary"
|
|
@@ -15097,6 +15295,8 @@ class ParticleEffectViewModel {
|
|
|
15097
15295
|
}
|
|
15098
15296
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
15099
15297
|
var util_ = __webpack_require__(9519);
|
|
15298
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
15299
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
15100
15300
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
|
|
15101
15301
|
|
|
15102
15302
|
const _hoisted_1 = {
|
|
@@ -15110,6 +15310,7 @@ const _hoisted_2 = {
|
|
|
15110
15310
|
|
|
15111
15311
|
|
|
15112
15312
|
|
|
15313
|
+
|
|
15113
15314
|
const __default__ = {
|
|
15114
15315
|
name: "Kq3dParticleEffect"
|
|
15115
15316
|
};
|
|
@@ -15183,7 +15384,17 @@ const __default__ = {
|
|
|
15183
15384
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
15184
15385
|
|
|
15185
15386
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
15186
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
15387
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
15388
|
+
|
|
15389
|
+
let {
|
|
15390
|
+
locale,
|
|
15391
|
+
messages
|
|
15392
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
15393
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
15394
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
15395
|
+
language.value = messages.value[newVal]["webgl"];
|
|
15396
|
+
headerTempTitle.value = language.value.particleEffect;
|
|
15397
|
+
});
|
|
15187
15398
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
15188
15399
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
15189
15400
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -15197,7 +15408,6 @@ const __default__ = {
|
|
|
15197
15408
|
|
|
15198
15409
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
15199
15410
|
if (scenceView) {
|
|
15200
|
-
language.value = scenceView._language;
|
|
15201
15411
|
viewModel = new ParticleEffectViewModel(scenceView);
|
|
15202
15412
|
}
|
|
15203
15413
|
});
|
|
@@ -15209,7 +15419,7 @@ const __default__ = {
|
|
|
15209
15419
|
const watchCreateHeaderTemp = () => {
|
|
15210
15420
|
if (props.showHeaderTemp) {
|
|
15211
15421
|
// 生成headerTemp
|
|
15212
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
15422
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
15213
15423
|
}
|
|
15214
15424
|
};
|
|
15215
15425
|
|
|
@@ -16160,6 +16370,8 @@ class PlaneClipViewModel {
|
|
|
16160
16370
|
var client_icons_vue_ = __webpack_require__(348);
|
|
16161
16371
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
16162
16372
|
var util_ = __webpack_require__(9519);
|
|
16373
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
16374
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
16163
16375
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
16164
16376
|
|
|
16165
16377
|
const _hoisted_1 = {
|
|
@@ -16182,6 +16394,7 @@ const _hoisted_5 = {
|
|
|
16182
16394
|
|
|
16183
16395
|
|
|
16184
16396
|
|
|
16397
|
+
|
|
16185
16398
|
const __default__ = {
|
|
16186
16399
|
name: "Kq3dPlaneClip"
|
|
16187
16400
|
};
|
|
@@ -16252,7 +16465,17 @@ const __default__ = {
|
|
|
16252
16465
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
16253
16466
|
|
|
16254
16467
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
16255
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
16468
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
16469
|
+
|
|
16470
|
+
let {
|
|
16471
|
+
locale,
|
|
16472
|
+
messages
|
|
16473
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
16474
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
16475
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
16476
|
+
language.value = messages.value[newVal]["webgl"];
|
|
16477
|
+
headerTempTitle.value = language.value.planeClip;
|
|
16478
|
+
});
|
|
16256
16479
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
16257
16480
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
16258
16481
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -16267,7 +16490,6 @@ const __default__ = {
|
|
|
16267
16490
|
|
|
16268
16491
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
16269
16492
|
if (scenceView) {
|
|
16270
|
-
language.value = scenceView._language;
|
|
16271
16493
|
let options = {
|
|
16272
16494
|
tileset: formItem.tileset,
|
|
16273
16495
|
clipType: formItem.clipDirection,
|
|
@@ -16297,7 +16519,7 @@ const __default__ = {
|
|
|
16297
16519
|
const watchCreateHeaderTemp = () => {
|
|
16298
16520
|
if (props.showHeaderTemp) {
|
|
16299
16521
|
// 生成headerTemp
|
|
16300
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
16522
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
16301
16523
|
}
|
|
16302
16524
|
}; // 参数改变
|
|
16303
16525
|
|
|
@@ -16978,6 +17200,12 @@ class ProfileAnalysisViewModel {
|
|
|
16978
17200
|
setCameraHeight(val) {
|
|
16979
17201
|
this._globaOptions.viewModel.cameraHeight = val;
|
|
16980
17202
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
17203
|
+
} // 切换语言
|
|
17204
|
+
|
|
17205
|
+
|
|
17206
|
+
changeLanguage(lang) {
|
|
17207
|
+
this._language = lang;
|
|
17208
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
16981
17209
|
} // 清理剖面分析
|
|
16982
17210
|
|
|
16983
17211
|
|
|
@@ -17030,6 +17258,8 @@ var ProfileAnalysisViewModel = __webpack_require__(6132);
|
|
|
17030
17258
|
var client_icons_vue_ = __webpack_require__(348);
|
|
17031
17259
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
17032
17260
|
var util_ = __webpack_require__(9519);
|
|
17261
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
17262
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
17033
17263
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/profileanalysis/ProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
17034
17264
|
|
|
17035
17265
|
const _hoisted_1 = {
|
|
@@ -17050,6 +17280,7 @@ const _hoisted_4 = {
|
|
|
17050
17280
|
|
|
17051
17281
|
|
|
17052
17282
|
|
|
17283
|
+
|
|
17053
17284
|
const __default__ = {
|
|
17054
17285
|
name: "Kq3dProfileAnalysis"
|
|
17055
17286
|
};
|
|
@@ -17139,7 +17370,18 @@ const __default__ = {
|
|
|
17139
17370
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
17140
17371
|
|
|
17141
17372
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
17142
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
17373
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
17374
|
+
|
|
17375
|
+
let {
|
|
17376
|
+
locale,
|
|
17377
|
+
messages
|
|
17378
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
17379
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
17380
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
17381
|
+
language.value = messages.value[newVal]["webgl"];
|
|
17382
|
+
headerTempTitle.value = language.value.profileAnalysis;
|
|
17383
|
+
viewModel && viewModel.changeLanguage(language.value);
|
|
17384
|
+
});
|
|
17143
17385
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
17144
17386
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
17145
17387
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -17151,7 +17393,6 @@ const __default__ = {
|
|
|
17151
17393
|
});
|
|
17152
17394
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
17153
17395
|
if (scenceView) {
|
|
17154
|
-
language.value = scenceView._language;
|
|
17155
17396
|
viewModel = new ProfileAnalysisViewModel/* default */.Z(scenceView, {
|
|
17156
17397
|
perspectiveAngle: formItem.perspectiveAngle,
|
|
17157
17398
|
// 透视角度
|
|
@@ -17176,7 +17417,7 @@ const __default__ = {
|
|
|
17176
17417
|
const watchCreateHeaderTemp = () => {
|
|
17177
17418
|
if (props.showHeaderTemp) {
|
|
17178
17419
|
// 生成headerTemp
|
|
17179
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
17420
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
17180
17421
|
}
|
|
17181
17422
|
}; // 开始分析
|
|
17182
17423
|
|
|
@@ -17640,11 +17881,14 @@ var icons_vue_ = __webpack_require__(8422);
|
|
|
17640
17881
|
var ResetViewViewModel = __webpack_require__(2242);
|
|
17641
17882
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
17642
17883
|
var gis_utils_ = __webpack_require__(826);
|
|
17884
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
17885
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
17643
17886
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
17644
17887
|
|
|
17645
17888
|
|
|
17646
17889
|
|
|
17647
17890
|
|
|
17891
|
+
|
|
17648
17892
|
// 获取组件传参
|
|
17649
17893
|
|
|
17650
17894
|
const __default__ = {
|
|
@@ -17654,15 +17898,10 @@ const __default__ = {
|
|
|
17654
17898
|
props: {
|
|
17655
17899
|
// 指定组件绑定的scence对象的div的id
|
|
17656
17900
|
mapTarget: String,
|
|
17657
|
-
//
|
|
17658
|
-
|
|
17901
|
+
// 组件大小
|
|
17902
|
+
size: {
|
|
17659
17903
|
type: Number,
|
|
17660
|
-
default:
|
|
17661
|
-
},
|
|
17662
|
-
// 按钮大小
|
|
17663
|
-
buttonSize: {
|
|
17664
|
-
type: String,
|
|
17665
|
-
default: "32px"
|
|
17904
|
+
default: 32
|
|
17666
17905
|
},
|
|
17667
17906
|
showShadow: {
|
|
17668
17907
|
type: Boolean,
|
|
@@ -17674,11 +17913,18 @@ const __default__ = {
|
|
|
17674
17913
|
const props = __props;
|
|
17675
17914
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
17676
17915
|
let viewModel = null;
|
|
17677
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
17916
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
17917
|
+
|
|
17918
|
+
let {
|
|
17919
|
+
locale,
|
|
17920
|
+
messages
|
|
17921
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
17922
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
17923
|
+
language.value = messages.value[newVal]["webgl"];
|
|
17924
|
+
});
|
|
17678
17925
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
17679
17926
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
17680
17927
|
if (scenceView) {
|
|
17681
|
-
language.value = scenceView._language;
|
|
17682
17928
|
viewModel = new ResetViewViewModel/* default */.Z(scenceView._viewer);
|
|
17683
17929
|
}
|
|
17684
17930
|
});
|
|
@@ -17702,10 +17948,10 @@ const __default__ = {
|
|
|
17702
17948
|
}]),
|
|
17703
17949
|
onClick: btnClick,
|
|
17704
17950
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).resetView,
|
|
17705
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.
|
|
17951
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.size + 'px;height:' + __props.size + 'px;')
|
|
17706
17952
|
}, {
|
|
17707
17953
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
17708
|
-
size: __props.
|
|
17954
|
+
size: __props.size / 2
|
|
17709
17955
|
}, {
|
|
17710
17956
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.RefreshLeft))]),
|
|
17711
17957
|
_: 1
|
|
@@ -17983,6 +18229,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
17983
18229
|
var RollerViewModel = __webpack_require__(6561);
|
|
17984
18230
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
17985
18231
|
var util_ = __webpack_require__(9519);
|
|
18232
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
18233
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
17986
18234
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
|
|
17987
18235
|
|
|
17988
18236
|
const _hoisted_1 = {
|
|
@@ -17996,6 +18244,7 @@ const _hoisted_2 = {
|
|
|
17996
18244
|
|
|
17997
18245
|
|
|
17998
18246
|
|
|
18247
|
+
|
|
17999
18248
|
const __default__ = {
|
|
18000
18249
|
name: "Kq3dRoller"
|
|
18001
18250
|
};
|
|
@@ -18060,7 +18309,17 @@ const __default__ = {
|
|
|
18060
18309
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
18061
18310
|
|
|
18062
18311
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
18063
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
18312
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
18313
|
+
|
|
18314
|
+
let {
|
|
18315
|
+
locale,
|
|
18316
|
+
messages
|
|
18317
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
18318
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
18319
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
18320
|
+
language.value = messages.value[newVal]["webgl"];
|
|
18321
|
+
headerTempTitle.value = language.value.roller;
|
|
18322
|
+
});
|
|
18064
18323
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
18065
18324
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
18066
18325
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -18072,7 +18331,6 @@ const __default__ = {
|
|
|
18072
18331
|
});
|
|
18073
18332
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
18074
18333
|
if (scenceView) {
|
|
18075
|
-
language.value = scenceView._language;
|
|
18076
18334
|
let options = {
|
|
18077
18335
|
layers: layers
|
|
18078
18336
|
};
|
|
@@ -18087,7 +18345,7 @@ const __default__ = {
|
|
|
18087
18345
|
const watchCreateHeaderTemp = () => {
|
|
18088
18346
|
if (props.showHeaderTemp) {
|
|
18089
18347
|
// 生成headerTemp
|
|
18090
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
18348
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
18091
18349
|
}
|
|
18092
18350
|
}; // 切换模式
|
|
18093
18351
|
|
|
@@ -18529,6 +18787,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
18529
18787
|
var ScreenshotViewModel = __webpack_require__(1248);
|
|
18530
18788
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
18531
18789
|
var util_ = __webpack_require__(9519);
|
|
18790
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
18791
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
18532
18792
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
|
|
18533
18793
|
|
|
18534
18794
|
const _hoisted_1 = {
|
|
@@ -18541,6 +18801,7 @@ const _hoisted_2 = {
|
|
|
18541
18801
|
|
|
18542
18802
|
|
|
18543
18803
|
|
|
18804
|
+
|
|
18544
18805
|
// 场景宽度
|
|
18545
18806
|
|
|
18546
18807
|
const __default__ = {
|
|
@@ -18622,7 +18883,17 @@ const __default__ = {
|
|
|
18622
18883
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
18623
18884
|
|
|
18624
18885
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
18625
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
18886
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
18887
|
+
|
|
18888
|
+
let {
|
|
18889
|
+
locale,
|
|
18890
|
+
messages
|
|
18891
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
18892
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
18893
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
18894
|
+
language.value = messages.value[newVal]["webgl"];
|
|
18895
|
+
headerTempTitle.value = language.value.screenshot;
|
|
18896
|
+
});
|
|
18626
18897
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
18627
18898
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
18628
18899
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -18634,7 +18905,6 @@ const __default__ = {
|
|
|
18634
18905
|
});
|
|
18635
18906
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
18636
18907
|
if (scenceView) {
|
|
18637
|
-
language.value = scenceView._language;
|
|
18638
18908
|
var canvas = scenceView._viewer.scene.canvas;
|
|
18639
18909
|
imgWidthMax.value = canvas.width;
|
|
18640
18910
|
imgHeightMax.value = canvas.height;
|
|
@@ -18651,7 +18921,7 @@ const __default__ = {
|
|
|
18651
18921
|
const watchCreateHeaderTemp = () => {
|
|
18652
18922
|
if (props.showHeaderTemp) {
|
|
18653
18923
|
// 生成headerTemp
|
|
18654
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
18924
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
18655
18925
|
}
|
|
18656
18926
|
}; // 场景出图
|
|
18657
18927
|
|
|
@@ -19188,6 +19458,8 @@ var const_image_ = __webpack_require__(9702);
|
|
|
19188
19458
|
var client_icons_vue_ = __webpack_require__(348);
|
|
19189
19459
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
19190
19460
|
var util_ = __webpack_require__(9519);
|
|
19461
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
19462
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
19191
19463
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
19192
19464
|
|
|
19193
19465
|
const _hoisted_1 = {
|
|
@@ -19219,6 +19491,7 @@ const _hoisted_7 = {
|
|
|
19219
19491
|
|
|
19220
19492
|
|
|
19221
19493
|
|
|
19494
|
+
|
|
19222
19495
|
const __default__ = {
|
|
19223
19496
|
name: "Kq3dShadowAnalysis"
|
|
19224
19497
|
};
|
|
@@ -19356,7 +19629,18 @@ const __default__ = {
|
|
|
19356
19629
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
19357
19630
|
|
|
19358
19631
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
19359
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
19632
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
19633
|
+
|
|
19634
|
+
let {
|
|
19635
|
+
locale,
|
|
19636
|
+
messages
|
|
19637
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
19638
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
19639
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
19640
|
+
language.value = messages.value[newVal]["webgl"];
|
|
19641
|
+
headerTempTitle.value = language.value.shadowAnalysis;
|
|
19642
|
+
currentLang.value = newVal;
|
|
19643
|
+
});
|
|
19360
19644
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
19361
19645
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
19362
19646
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -19367,11 +19651,8 @@ const __default__ = {
|
|
|
19367
19651
|
watchCreateHeaderTemp();
|
|
19368
19652
|
});
|
|
19369
19653
|
time.value = [formItem.startTime, formItem.endTime];
|
|
19370
|
-
currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
|
|
19371
|
-
|
|
19372
19654
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
19373
19655
|
if (scenceView) {
|
|
19374
|
-
language.value = scenceView._language;
|
|
19375
19656
|
viewModel = new ShadowAnalysisViewModel(scenceView, {
|
|
19376
19657
|
showVoxel: formItem.showBuilding,
|
|
19377
19658
|
// 显示体素
|
|
@@ -19405,7 +19686,7 @@ const __default__ = {
|
|
|
19405
19686
|
const watchCreateHeaderTemp = () => {
|
|
19406
19687
|
if (props.showHeaderTemp) {
|
|
19407
19688
|
// 生成headerTemp
|
|
19408
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
19689
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
19409
19690
|
}
|
|
19410
19691
|
}; // 获取当前日期
|
|
19411
19692
|
|
|
@@ -20414,6 +20695,8 @@ class SightlineAnalysisViewModel {
|
|
|
20414
20695
|
var client_icons_vue_ = __webpack_require__(348);
|
|
20415
20696
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
20416
20697
|
var util_ = __webpack_require__(9519);
|
|
20698
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
20699
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
20417
20700
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
20418
20701
|
|
|
20419
20702
|
const _hoisted_1 = {
|
|
@@ -20427,6 +20710,7 @@ const _hoisted_2 = {
|
|
|
20427
20710
|
|
|
20428
20711
|
|
|
20429
20712
|
|
|
20713
|
+
|
|
20430
20714
|
const __default__ = {
|
|
20431
20715
|
name: "Kq3dSightlineAnalysis"
|
|
20432
20716
|
};
|
|
@@ -20493,7 +20777,17 @@ const __default__ = {
|
|
|
20493
20777
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
20494
20778
|
|
|
20495
20779
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
20496
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
20780
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
20781
|
+
|
|
20782
|
+
let {
|
|
20783
|
+
locale,
|
|
20784
|
+
messages
|
|
20785
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
20786
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
20787
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
20788
|
+
language.value = messages.value[newVal]["webgl"];
|
|
20789
|
+
headerTempTitle.value = language.value.sightlineAnalysis;
|
|
20790
|
+
});
|
|
20497
20791
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
20498
20792
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
20499
20793
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -20506,7 +20800,6 @@ const __default__ = {
|
|
|
20506
20800
|
|
|
20507
20801
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
20508
20802
|
if (scenceView) {
|
|
20509
|
-
language.value = scenceView._language;
|
|
20510
20803
|
let options = {
|
|
20511
20804
|
lineWidth: formItem.lineWidth,
|
|
20512
20805
|
visibleColor: formItem.visibleColor,
|
|
@@ -20525,7 +20818,7 @@ const __default__ = {
|
|
|
20525
20818
|
const watchCreateHeaderTemp = () => {
|
|
20526
20819
|
if (props.showHeaderTemp) {
|
|
20527
20820
|
// 生成headerTemp
|
|
20528
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
20821
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
20529
20822
|
}
|
|
20530
20823
|
};
|
|
20531
20824
|
|
|
@@ -20832,7 +21125,7 @@ class SkylineAnalysisViewModel {
|
|
|
20832
21125
|
* @param {*} viewer 三维对象
|
|
20833
21126
|
* @param {*} option 天际线分析参数对象
|
|
20834
21127
|
*/
|
|
20835
|
-
constructor(viewer, option) {
|
|
21128
|
+
constructor(viewer, option, chartStyle) {
|
|
20836
21129
|
(0,defineProperty/* default */.Z)(this, "_skylineAnalysis", null);
|
|
20837
21130
|
|
|
20838
21131
|
(0,defineProperty/* default */.Z)(this, "_skylineAnalysisChart", null);
|
|
@@ -20843,6 +21136,9 @@ class SkylineAnalysisViewModel {
|
|
|
20843
21136
|
|
|
20844
21137
|
(0,defineProperty/* default */.Z)(this, "_showLimitHeightBody", null);
|
|
20845
21138
|
|
|
21139
|
+
(0,defineProperty/* default */.Z)(this, "_chartStyle", null);
|
|
21140
|
+
|
|
21141
|
+
this._chartStyle = chartStyle;
|
|
20846
21142
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
20847
21143
|
|
|
20848
21144
|
viewer.scene.postProcessStages._fxaa.enabled = true; // 创建分析参数对象
|
|
@@ -20942,16 +21238,25 @@ class SkylineAnalysisViewModel {
|
|
|
20942
21238
|
|
|
20943
21239
|
|
|
20944
21240
|
setSkyline2D() {
|
|
21241
|
+
let chartStyle = this._chartStyle;
|
|
20945
21242
|
if (!this._skylineAnalysis) return;
|
|
20946
21243
|
|
|
20947
21244
|
var data = this._skylineAnalysis.updateBuffer();
|
|
20948
21245
|
|
|
20949
21246
|
var option = {
|
|
20950
21247
|
title: {
|
|
20951
|
-
text: this._skylineAnalysisChartTitle
|
|
21248
|
+
text: this._skylineAnalysisChartTitle,
|
|
21249
|
+
textStyle: {
|
|
21250
|
+
color: chartStyle.textColor
|
|
21251
|
+
}
|
|
20952
21252
|
},
|
|
20953
21253
|
tooltip: {
|
|
20954
|
-
trigger: "axis"
|
|
21254
|
+
trigger: "axis",
|
|
21255
|
+
backgroundColor: chartStyle.backgroundColor,
|
|
21256
|
+
borderWidth: 0,
|
|
21257
|
+
textStyle: {
|
|
21258
|
+
color: chartStyle.textColor
|
|
21259
|
+
}
|
|
20955
21260
|
},
|
|
20956
21261
|
grid: {
|
|
20957
21262
|
containLabel: true,
|
|
@@ -20970,7 +21275,10 @@ class SkylineAnalysisViewModel {
|
|
|
20970
21275
|
yAxis: [{
|
|
20971
21276
|
type: "value",
|
|
20972
21277
|
min: 0,
|
|
20973
|
-
max: 1
|
|
21278
|
+
max: 1,
|
|
21279
|
+
axisLabel: {
|
|
21280
|
+
color: chartStyle.textColor
|
|
21281
|
+
}
|
|
20974
21282
|
}],
|
|
20975
21283
|
series: [{
|
|
20976
21284
|
name: "",
|
|
@@ -20980,6 +21288,37 @@ class SkylineAnalysisViewModel {
|
|
|
20980
21288
|
};
|
|
20981
21289
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
20982
21290
|
}
|
|
21291
|
+
/**
|
|
21292
|
+
* 设置echarts图表样式
|
|
21293
|
+
*/
|
|
21294
|
+
|
|
21295
|
+
|
|
21296
|
+
setChartStyle(style) {
|
|
21297
|
+
this._chartStyle = style;
|
|
21298
|
+
|
|
21299
|
+
if (this._skylineAnalysisChart) {
|
|
21300
|
+
let option = this._skylineAnalysisChart.getOption();
|
|
21301
|
+
|
|
21302
|
+
option.title[0].textStyle.color = style.textColor;
|
|
21303
|
+
option.tooltip[0].backgroundColor = style.backgroundColor;
|
|
21304
|
+
option.tooltip[0].textStyle.color = style.textColor;
|
|
21305
|
+
option.yAxis[0].axisLabel.color = style.textColor;
|
|
21306
|
+
|
|
21307
|
+
this._skylineAnalysisChart.setOption(option);
|
|
21308
|
+
}
|
|
21309
|
+
}
|
|
21310
|
+
|
|
21311
|
+
setChartTitle(title) {
|
|
21312
|
+
this._skylineAnalysisChartTitle = title;
|
|
21313
|
+
|
|
21314
|
+
if (this._skylineAnalysisChart) {
|
|
21315
|
+
let option = this._skylineAnalysisChart.getOption();
|
|
21316
|
+
|
|
21317
|
+
option.title[0].text = title;
|
|
21318
|
+
|
|
21319
|
+
this._skylineAnalysisChart.setOption(option);
|
|
21320
|
+
}
|
|
21321
|
+
}
|
|
20983
21322
|
/**
|
|
20984
21323
|
* 清除限高体
|
|
20985
21324
|
*/
|
|
@@ -20991,9 +21330,8 @@ class SkylineAnalysisViewModel {
|
|
|
20991
21330
|
if (this._skylineAnalysis && !this._skylineAnalysis.isDestroyed()) {
|
|
20992
21331
|
this._skylineAnalysis.removeAlllimitHeights();
|
|
20993
21332
|
|
|
20994
|
-
this._skylineAnalysis.removeAllFaces();
|
|
21333
|
+
this._skylineAnalysis.removeAllFaces(); // this._skylineAnalysis.removeGeoJsonDataSource();
|
|
20995
21334
|
|
|
20996
|
-
this._skylineAnalysis.removeGeoJsonDataSource();
|
|
20997
21335
|
|
|
20998
21336
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
20999
21337
|
}
|
|
@@ -21074,7 +21412,7 @@ class SkylineAnalysisViewModel {
|
|
|
21074
21412
|
}
|
|
21075
21413
|
}
|
|
21076
21414
|
/**
|
|
21077
|
-
*
|
|
21415
|
+
* 销毁
|
|
21078
21416
|
*/
|
|
21079
21417
|
|
|
21080
21418
|
|
|
@@ -21093,6 +21431,8 @@ class SkylineAnalysisViewModel {
|
|
|
21093
21431
|
var client_icons_vue_ = __webpack_require__(348);
|
|
21094
21432
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
21095
21433
|
var util_ = __webpack_require__(9519);
|
|
21434
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
21435
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
21096
21436
|
;// CONCATENATED MODULE: external "echarts"
|
|
21097
21437
|
var external_echarts_namespaceObject = require("echarts");
|
|
21098
21438
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
@@ -21116,6 +21456,7 @@ const _hoisted_4 = {
|
|
|
21116
21456
|
|
|
21117
21457
|
|
|
21118
21458
|
|
|
21459
|
+
|
|
21119
21460
|
// 语言
|
|
21120
21461
|
|
|
21121
21462
|
const __default__ = {
|
|
@@ -21199,7 +21540,18 @@ const __default__ = {
|
|
|
21199
21540
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
21200
21541
|
|
|
21201
21542
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
21202
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
21543
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
21544
|
+
|
|
21545
|
+
let {
|
|
21546
|
+
locale,
|
|
21547
|
+
messages
|
|
21548
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
21549
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
21550
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
21551
|
+
language.value = messages.value[newVal]["webgl"];
|
|
21552
|
+
headerTempTitle.value = language.value.skylineAnalysis;
|
|
21553
|
+
viewModel && viewModel.setChartTitle(language.value["skylineAnalysisChartTitle"]);
|
|
21554
|
+
});
|
|
21203
21555
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
21204
21556
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
21205
21557
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -21211,26 +21563,56 @@ const __default__ = {
|
|
|
21211
21563
|
});
|
|
21212
21564
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
21213
21565
|
if (scenceView) {
|
|
21214
|
-
language.value = scenceView._language;
|
|
21215
21566
|
viewModel = new SkylineAnalysisViewModel(scenceView._viewer, {
|
|
21216
21567
|
skylineColor: formItem.skylineColor || "#E6A23C",
|
|
21217
|
-
skylineRadius: formItem.skylineRadius ||
|
|
21568
|
+
skylineRadius: formItem.skylineRadius || 2000,
|
|
21218
21569
|
limitHeightBodyColor: formItem.limitHeightBodyColor || "#67C23A",
|
|
21219
21570
|
limitHeightBodyAlpha: formItem.limitHeightBodyAlpha || 0.7,
|
|
21220
21571
|
skylineWidth: formItem.skylineWidth || 2
|
|
21221
|
-
},
|
|
21222
|
-
viewModel._skylineAnalysisChartTitle =
|
|
21572
|
+
}, setEchartsColor());
|
|
21573
|
+
viewModel._skylineAnalysisChartTitle = scenceView._language["skylineAnalysisChartTitle"];
|
|
21223
21574
|
}
|
|
21224
21575
|
});
|
|
21225
|
-
});
|
|
21576
|
+
}); // 监听主题变化,重置Echarts
|
|
21577
|
+
|
|
21578
|
+
const observer = new MutationObserver(mutationsList => {
|
|
21579
|
+
for (let mutation of mutationsList) {
|
|
21580
|
+
if (mutation.type === "attributes" && mutation.attributeName === "class") {
|
|
21581
|
+
let style = setEchartsColor();
|
|
21582
|
+
viewModel.setChartStyle(style);
|
|
21583
|
+
}
|
|
21584
|
+
}
|
|
21585
|
+
}); // 配置要观察的目标节点及其属性
|
|
21586
|
+
|
|
21587
|
+
const targetNode = document.querySelector("html");
|
|
21588
|
+
const config = {
|
|
21589
|
+
attributes: true
|
|
21590
|
+
};
|
|
21591
|
+
observer.observe(targetNode, config);
|
|
21592
|
+
|
|
21593
|
+
const setEchartsColor = () => {
|
|
21594
|
+
let style = {};
|
|
21595
|
+
let themeStyle = window.getComputedStyle(document.documentElement).getPropertyValue("color-scheme");
|
|
21596
|
+
|
|
21597
|
+
if (themeStyle === "dark") {
|
|
21598
|
+
style.textColor = "#fff";
|
|
21599
|
+
style.backgroundColor = "#2A2A2A";
|
|
21600
|
+
} else {
|
|
21601
|
+
style.textColor = "#333";
|
|
21602
|
+
style.backgroundColor = "#ffffff";
|
|
21603
|
+
}
|
|
21604
|
+
|
|
21605
|
+
return style;
|
|
21606
|
+
};
|
|
21226
21607
|
/**
|
|
21227
21608
|
* @description 监听header生成
|
|
21228
21609
|
*/
|
|
21229
21610
|
|
|
21611
|
+
|
|
21230
21612
|
const watchCreateHeaderTemp = () => {
|
|
21231
21613
|
if (props.showHeaderTemp) {
|
|
21232
21614
|
// 生成headerTemp
|
|
21233
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
21615
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
21234
21616
|
}
|
|
21235
21617
|
}; // 提取天际线
|
|
21236
21618
|
|
|
@@ -21921,6 +22303,8 @@ class SlopeAnalysisViewModel {
|
|
|
21921
22303
|
var client_icons_vue_ = __webpack_require__(348);
|
|
21922
22304
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
21923
22305
|
var util_ = __webpack_require__(9519);
|
|
22306
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
22307
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
21924
22308
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
21925
22309
|
|
|
21926
22310
|
const _hoisted_1 = {
|
|
@@ -21963,6 +22347,7 @@ const _hoisted_10 = {
|
|
|
21963
22347
|
|
|
21964
22348
|
|
|
21965
22349
|
|
|
22350
|
+
|
|
21966
22351
|
const __default__ = {
|
|
21967
22352
|
name: "Kq3dSlopeAnalysis"
|
|
21968
22353
|
};
|
|
@@ -22066,7 +22451,17 @@ const __default__ = {
|
|
|
22066
22451
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
22067
22452
|
|
|
22068
22453
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
22069
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
22454
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
22455
|
+
|
|
22456
|
+
let {
|
|
22457
|
+
locale,
|
|
22458
|
+
messages
|
|
22459
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
22460
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
22461
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
22462
|
+
language.value = messages.value[newVal]["webgl"];
|
|
22463
|
+
headerTempTitle.value = language.value.slopeAnalysis;
|
|
22464
|
+
});
|
|
22070
22465
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
22071
22466
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
22072
22467
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -22080,7 +22475,6 @@ const __default__ = {
|
|
|
22080
22475
|
|
|
22081
22476
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
22082
22477
|
if (scenceView) {
|
|
22083
|
-
language.value = scenceView._language;
|
|
22084
22478
|
refactorArr();
|
|
22085
22479
|
viewModel = new SlopeAnalysisViewModel(scenceView, formItem); // var imageUrl = getImagePath(formItem.colorImage);
|
|
22086
22480
|
// viewModel.setColorImage(imageUrl);
|
|
@@ -22094,7 +22488,7 @@ const __default__ = {
|
|
|
22094
22488
|
const watchCreateHeaderTemp = () => {
|
|
22095
22489
|
if (props.showHeaderTemp) {
|
|
22096
22490
|
// 生成headerTemp
|
|
22097
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
22491
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
22098
22492
|
}
|
|
22099
22493
|
}; // 刷新自定义样式数组
|
|
22100
22494
|
|
|
@@ -22748,9 +23142,13 @@ SlopeAnalysis.install = (Vue, opts) => {
|
|
|
22748
23142
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22749
23143
|
/* harmony export */ "Z": function() { return /* binding */ StatusBarViewModel; }
|
|
22750
23144
|
/* harmony export */ });
|
|
23145
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
23146
|
+
|
|
22751
23147
|
// 地图状态栏逻辑类
|
|
22752
23148
|
class StatusBarViewModel {
|
|
22753
23149
|
constructor(viewer, options) {
|
|
23150
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
23151
|
+
|
|
22754
23152
|
viewer.statusBar.show = true;
|
|
22755
23153
|
viewer.statusBar.readyPromise.then(() => {
|
|
22756
23154
|
// viewer.statusBar.container.style.bottom = "16px";
|
|
@@ -22780,13 +23178,63 @@ class StatusBarViewModel {
|
|
|
22780
23178
|
viewer.statusBar.setCopyrightText(options.copyrightText);
|
|
22781
23179
|
}
|
|
22782
23180
|
});
|
|
23181
|
+
this._viewer = viewer;
|
|
23182
|
+
}
|
|
23183
|
+
|
|
23184
|
+
changeLanguage(lang) {
|
|
23185
|
+
var that = this;
|
|
23186
|
+
|
|
23187
|
+
if (that._viewer.statusBar._ready) {
|
|
23188
|
+
var originLanguage = that._viewer.statusBar._curLanguage;
|
|
23189
|
+
var language = new Cesium.Languages({
|
|
23190
|
+
languageStyle: lang == 'zh' ? 'zh-cn' : 'en'
|
|
23191
|
+
});
|
|
23192
|
+
language.readyPromise.then(function () {
|
|
23193
|
+
//loaded success
|
|
23194
|
+
that._viewer._language = language;
|
|
23195
|
+
var langContent = language.content;
|
|
23196
|
+
|
|
23197
|
+
if (langContent) {
|
|
23198
|
+
that._viewer.statusBar._curLanguage = {
|
|
23199
|
+
mUnit: langContent.mUnit,
|
|
23200
|
+
kmUnit: langContent.kmUnit,
|
|
23201
|
+
sqkmUnit: langContent.sqkmUnit,
|
|
23202
|
+
sqmUnit: langContent.sqmUnit,
|
|
23203
|
+
N: langContent.N,
|
|
23204
|
+
S: langContent.S,
|
|
23205
|
+
E: langContent.E,
|
|
23206
|
+
W: langContent.W,
|
|
23207
|
+
du: langContent.du,
|
|
23208
|
+
fen: langContent.fen,
|
|
23209
|
+
miao: langContent.miao,
|
|
23210
|
+
elevation: langContent.elevation,
|
|
23211
|
+
eyeAltitude: langContent.eyeAltitude,
|
|
23212
|
+
copyright: langContent.copyright,
|
|
23213
|
+
scale: langContent.scale
|
|
23214
|
+
};
|
|
23215
|
+
var id = that._viewer.statusBar._id; // 比例尺控件
|
|
23216
|
+
|
|
23217
|
+
html = document.getElementById(id + '_ScaleBarTxt').innerHTML;
|
|
23218
|
+
document.getElementById(id + '_ScaleBarTxt').innerHTML = html.replace(originLanguage.scale, langContent.scale); // 比例尺
|
|
23219
|
+
|
|
23220
|
+
html = document.getElementById(id + '_ScaleTxt').innerHTML;
|
|
23221
|
+
document.getElementById(id + '_ScaleTxt').innerHTMLhtml = html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit); // 视点高
|
|
23222
|
+
|
|
23223
|
+
html = document.getElementById(id + '_CoordEyeAlt').innerHTML;
|
|
23224
|
+
document.getElementById(id + '_CoordEyeAlt').innerHTML = html.replace(originLanguage.eyeAltitude, langContent.eyeAltitude).replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit); // 高度
|
|
23225
|
+
|
|
23226
|
+
var html = document.getElementById(id + '_CoordHeight').innerHTML;
|
|
23227
|
+
document.getElementById(id + '_CoordHeight').innerHTML = html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit);
|
|
23228
|
+
}
|
|
23229
|
+
});
|
|
23230
|
+
}
|
|
22783
23231
|
}
|
|
22784
23232
|
|
|
22785
23233
|
}
|
|
22786
23234
|
|
|
22787
23235
|
/***/ }),
|
|
22788
23236
|
|
|
22789
|
-
/***/
|
|
23237
|
+
/***/ 4388:
|
|
22790
23238
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
22791
23239
|
|
|
22792
23240
|
|
|
@@ -22803,10 +23251,13 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
22803
23251
|
var gis_utils_ = __webpack_require__(826);
|
|
22804
23252
|
// EXTERNAL MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
|
|
22805
23253
|
var StatusBarViewModel = __webpack_require__(6311);
|
|
23254
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
23255
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
22806
23256
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
|
|
22807
23257
|
|
|
22808
23258
|
|
|
22809
23259
|
|
|
23260
|
+
|
|
22810
23261
|
/**
|
|
22811
23262
|
* 支持传入属性:
|
|
22812
23263
|
* hideResolution - 隐藏分辨率
|
|
@@ -22841,7 +23292,14 @@ const __default__ = {
|
|
|
22841
23292
|
|
|
22842
23293
|
setup(__props) {
|
|
22843
23294
|
const props = __props;
|
|
22844
|
-
let viewModel = null;
|
|
23295
|
+
let viewModel = null; // 国际化
|
|
23296
|
+
|
|
23297
|
+
let {
|
|
23298
|
+
locale
|
|
23299
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
23300
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
23301
|
+
viewModel && viewModel.changeLanguage(newVal);
|
|
23302
|
+
});
|
|
22845
23303
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
22846
23304
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
22847
23305
|
if (scenceView) {
|
|
@@ -22860,9 +23318,9 @@ const __default__ = {
|
|
|
22860
23318
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
22861
23319
|
var injectStylesIntoStyleTag = __webpack_require__(3379);
|
|
22862
23320
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
22863
|
-
// 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=
|
|
22864
|
-
var
|
|
22865
|
-
;// 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=
|
|
23321
|
+
// 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
|
|
23322
|
+
var StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss = __webpack_require__(6854);
|
|
23323
|
+
;// 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
|
|
22866
23324
|
|
|
22867
23325
|
|
|
22868
23326
|
|
|
@@ -22871,12 +23329,12 @@ var options = {};
|
|
|
22871
23329
|
options.insert = "head";
|
|
22872
23330
|
options.singleton = false;
|
|
22873
23331
|
|
|
22874
|
-
var update = injectStylesIntoStyleTag_default()(
|
|
23332
|
+
var update = injectStylesIntoStyleTag_default()(StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss/* default */.Z, options);
|
|
22875
23333
|
|
|
22876
23334
|
|
|
22877
23335
|
|
|
22878
|
-
/* harmony default export */ var
|
|
22879
|
-
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
23336
|
+
/* 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 || {});
|
|
23337
|
+
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=f2dabb7e&lang=scss
|
|
22880
23338
|
|
|
22881
23339
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue
|
|
22882
23340
|
|
|
@@ -23144,6 +23602,8 @@ class TerrainOperationViewModel {
|
|
|
23144
23602
|
var client_icons_vue_ = __webpack_require__(348);
|
|
23145
23603
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
23146
23604
|
var util_ = __webpack_require__(9519);
|
|
23605
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
23606
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
23147
23607
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
23148
23608
|
|
|
23149
23609
|
const _hoisted_1 = {
|
|
@@ -23160,6 +23620,7 @@ const _hoisted_3 = {
|
|
|
23160
23620
|
|
|
23161
23621
|
|
|
23162
23622
|
|
|
23623
|
+
|
|
23163
23624
|
const __default__ = {
|
|
23164
23625
|
name: "Kq3dTerrainOperation"
|
|
23165
23626
|
};
|
|
@@ -23235,7 +23696,17 @@ const __default__ = {
|
|
|
23235
23696
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
23236
23697
|
|
|
23237
23698
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
23238
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
23699
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
23700
|
+
|
|
23701
|
+
let {
|
|
23702
|
+
locale,
|
|
23703
|
+
messages
|
|
23704
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
23705
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
23706
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
23707
|
+
language.value = messages.value[newVal]["webgl"];
|
|
23708
|
+
headerTempTitle.value = language.value.terrainOperation;
|
|
23709
|
+
});
|
|
23239
23710
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23240
23711
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
23241
23712
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -23253,7 +23724,6 @@ const __default__ = {
|
|
|
23253
23724
|
formItem.terrainStyle = props.operationMode;
|
|
23254
23725
|
}
|
|
23255
23726
|
|
|
23256
|
-
language.value = scenceView._language;
|
|
23257
23727
|
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
23258
23728
|
terrainStyle: formItem.terrainStyle,
|
|
23259
23729
|
excavationDepth: formItem.excavationDepth
|
|
@@ -23268,7 +23738,7 @@ const __default__ = {
|
|
|
23268
23738
|
const watchCreateHeaderTemp = () => {
|
|
23269
23739
|
if (props.showHeaderTemp) {
|
|
23270
23740
|
// 生成headerTemp
|
|
23271
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
23741
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
23272
23742
|
}
|
|
23273
23743
|
}; // 改变样式
|
|
23274
23744
|
|
|
@@ -23571,6 +24041,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
23571
24041
|
var UndergroundViewModel = __webpack_require__(7656);
|
|
23572
24042
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
23573
24043
|
var util_ = __webpack_require__(9519);
|
|
24044
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
24045
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
23574
24046
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
|
|
23575
24047
|
|
|
23576
24048
|
const _hoisted_1 = {
|
|
@@ -23580,6 +24052,7 @@ const _hoisted_1 = {
|
|
|
23580
24052
|
|
|
23581
24053
|
|
|
23582
24054
|
|
|
24055
|
+
|
|
23583
24056
|
const __default__ = {
|
|
23584
24057
|
name: "kq3dUnderground"
|
|
23585
24058
|
};
|
|
@@ -23603,10 +24076,17 @@ const __default__ = {
|
|
|
23603
24076
|
|
|
23604
24077
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
23605
24078
|
let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
23606
|
-
let viewer = null;
|
|
23607
24079
|
let viewModel = null; // 组件容器Ref
|
|
23608
24080
|
|
|
23609
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
24081
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
24082
|
+
|
|
24083
|
+
let {
|
|
24084
|
+
locale,
|
|
24085
|
+
messages
|
|
24086
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
24087
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
24088
|
+
language.value = messages.value[newVal]["webgl"];
|
|
24089
|
+
});
|
|
23610
24090
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23611
24091
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
23612
24092
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -23614,9 +24094,7 @@ const __default__ = {
|
|
|
23614
24094
|
});
|
|
23615
24095
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
23616
24096
|
if (scenceView) {
|
|
23617
|
-
|
|
23618
|
-
language.value = scenceView._language;
|
|
23619
|
-
viewModel = new UndergroundViewModel/* default */.Z(viewer);
|
|
24097
|
+
viewModel = new UndergroundViewModel/* default */.Z(scenceView._viewer);
|
|
23620
24098
|
}
|
|
23621
24099
|
});
|
|
23622
24100
|
}); // 地下模式点击事件
|
|
@@ -23699,26 +24177,49 @@ Underground.install = (Vue, opts) => {
|
|
|
23699
24177
|
|
|
23700
24178
|
/***/ }),
|
|
23701
24179
|
|
|
23702
|
-
/***/
|
|
24180
|
+
/***/ 2612:
|
|
23703
24181
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
23704
24182
|
|
|
23705
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23706
|
-
/* harmony export */ "Z": function() { return /* binding */ ViewshedAnalysisViewModel; }
|
|
23707
|
-
/* harmony export */ });
|
|
23708
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
23709
24183
|
|
|
23710
|
-
|
|
24184
|
+
// EXPORTS
|
|
24185
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
24186
|
+
"default": function() { return /* reexport */ ViewshedAnalysis; }
|
|
24187
|
+
});
|
|
24188
|
+
|
|
24189
|
+
// UNUSED EXPORTS: ViewshedAnalysisViewModel
|
|
24190
|
+
|
|
24191
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
24192
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
24193
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
24194
|
+
var gis_utils_ = __webpack_require__(826);
|
|
24195
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
24196
|
+
var defineProperty = __webpack_require__(8270);
|
|
24197
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
24198
|
+
var const_image_ = __webpack_require__(9702);
|
|
24199
|
+
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
|
|
24200
|
+
|
|
24201
|
+
//可视域分析逻辑类
|
|
24202
|
+
|
|
23711
24203
|
class ViewshedAnalysisViewModel {
|
|
23712
24204
|
//可视域分析三维对象
|
|
23713
24205
|
//三维场景对象
|
|
23714
24206
|
//可视域分析存储参数对象
|
|
24207
|
+
//可视域分析初始点图标
|
|
24208
|
+
//可视域分析初始点坐标
|
|
23715
24209
|
constructor(scenceView, options) {
|
|
23716
|
-
(0,
|
|
24210
|
+
(0,defineProperty/* default */.Z)(this, "_viewshedAnalysis", null);
|
|
23717
24211
|
|
|
23718
|
-
(0,
|
|
24212
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
23719
24213
|
|
|
23720
|
-
(0,
|
|
24214
|
+
(0,defineProperty/* default */.Z)(this, "_scene", null);
|
|
24215
|
+
|
|
24216
|
+
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
24217
|
+
|
|
24218
|
+
(0,defineProperty/* default */.Z)(this, "_marker", null);
|
|
23721
24219
|
|
|
24220
|
+
(0,defineProperty/* default */.Z)(this, "_position", null);
|
|
24221
|
+
|
|
24222
|
+
this._viewer = scenceView._viewer;
|
|
23722
24223
|
this._scene = scenceView._viewer.scene;
|
|
23723
24224
|
this._scene.globe.depthTestAgainstTerrain = true;
|
|
23724
24225
|
this._options = options;
|
|
@@ -23730,19 +24231,36 @@ class ViewshedAnalysisViewModel {
|
|
|
23730
24231
|
if (this._options.visibleColor) {
|
|
23731
24232
|
this._options.invisibleColor = Cesium.Color.fromCssColorString(this._options.invisibleColor);
|
|
23732
24233
|
}
|
|
23733
|
-
|
|
23734
|
-
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
23735
24234
|
} //开始分析
|
|
23736
24235
|
|
|
23737
24236
|
|
|
23738
24237
|
start() {
|
|
23739
|
-
|
|
23740
|
-
|
|
23741
|
-
|
|
23742
|
-
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
24238
|
+
this.clear();
|
|
24239
|
+
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
24240
|
+
let that = this;
|
|
23743
24241
|
|
|
23744
|
-
|
|
23745
|
-
|
|
24242
|
+
this._viewshedAnalysis.event.addEventListener((p1, p2) => {
|
|
24243
|
+
if (p1 && p2 == undefined) {
|
|
24244
|
+
that._position = p1;
|
|
24245
|
+
let cartographic = Cesium.Cartographic.fromCartesian(p1);
|
|
24246
|
+
let newPos = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + that._options.offsetHeight);
|
|
24247
|
+
|
|
24248
|
+
if (that._marker) {
|
|
24249
|
+
that._marker.position = newPos;
|
|
24250
|
+
} else {
|
|
24251
|
+
that._marker = that._viewer.entities.add({
|
|
24252
|
+
position: newPos,
|
|
24253
|
+
billboard: {
|
|
24254
|
+
image: const_image_.OBSERVATION_POINT,
|
|
24255
|
+
verticalOrigin: Cesium.VerticalOrigin.CENTER,
|
|
24256
|
+
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
|
24257
|
+
}
|
|
24258
|
+
});
|
|
24259
|
+
}
|
|
24260
|
+
}
|
|
24261
|
+
});
|
|
24262
|
+
|
|
24263
|
+
this._viewshedAnalysis.start(); // if (!this._viewshedAnalysis.isRunning()) {
|
|
23746
24264
|
// // 绘制完成后,需要释放绘制事件
|
|
23747
24265
|
// }
|
|
23748
24266
|
|
|
@@ -23750,82 +24268,76 @@ class ViewshedAnalysisViewModel {
|
|
|
23750
24268
|
|
|
23751
24269
|
|
|
23752
24270
|
clear() {
|
|
23753
|
-
this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
23754
|
-
this.
|
|
23755
|
-
this._viewshedAnalysis = null;
|
|
24271
|
+
// this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
24272
|
+
this.destroy();
|
|
23756
24273
|
} //销毁
|
|
23757
24274
|
|
|
23758
24275
|
|
|
23759
24276
|
destroy() {
|
|
23760
24277
|
this._viewshedAnalysis && this._viewshedAnalysis.destroy();
|
|
23761
24278
|
this._viewshedAnalysis = null;
|
|
24279
|
+
|
|
24280
|
+
if (this._marker) {
|
|
24281
|
+
this._viewer.entities.remove(this._marker);
|
|
24282
|
+
|
|
24283
|
+
this._marker = null;
|
|
24284
|
+
}
|
|
23762
24285
|
} //设置偏移高度
|
|
23763
24286
|
|
|
23764
24287
|
|
|
23765
24288
|
setOffsetHeight(offsetHeight) {
|
|
23766
|
-
this._options.offsetHeight = offsetHeight;
|
|
23767
|
-
this._viewshedAnalysis.attachedViewshed.offsetHeight =
|
|
24289
|
+
this._options.offsetHeight = Number(offsetHeight);
|
|
24290
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.offsetHeight = this._options.offsetHeight;
|
|
24291
|
+
|
|
24292
|
+
if (this._marker) {
|
|
24293
|
+
let cartographic = Cesium.Cartographic.fromCartesian(this._position);
|
|
24294
|
+
this._marker.position = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + this._options.offsetHeight);
|
|
24295
|
+
}
|
|
23768
24296
|
} //设置水平角
|
|
23769
24297
|
|
|
23770
24298
|
|
|
23771
24299
|
setFovH(fovH) {
|
|
23772
|
-
this._options.fovH = fovH;
|
|
23773
|
-
this._viewshedAnalysis.attachedViewshed.fovH =
|
|
24300
|
+
this._options.fovH = Number(fovH);
|
|
24301
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovH = this._options.fovH;
|
|
23774
24302
|
} //设置竖直角
|
|
23775
24303
|
|
|
23776
24304
|
|
|
23777
24305
|
setFovV(fovV) {
|
|
23778
|
-
this._options.fovV = fovV;
|
|
23779
|
-
this._viewshedAnalysis.attachedViewshed.fovV =
|
|
24306
|
+
this._options.fovV = Number(fovV);
|
|
24307
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovV = this._options.fovV;
|
|
23780
24308
|
} //设置可视颜色
|
|
23781
24309
|
|
|
23782
24310
|
|
|
23783
24311
|
setVisibleColor(visibleColor) {
|
|
23784
|
-
this._options.visibleColor = visibleColor;
|
|
23785
|
-
this._viewshedAnalysis.attachedViewshed.visibleColor =
|
|
24312
|
+
this._options.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
24313
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.visibleColor = this._options.visibleColor;
|
|
23786
24314
|
} //设置不可视颜色
|
|
23787
24315
|
|
|
23788
24316
|
|
|
23789
24317
|
setInvisibleColor(invisibleColor) {
|
|
23790
|
-
this._options.invisibleColor = invisibleColor;
|
|
23791
|
-
this._viewshedAnalysis.attachedViewshed.invisibleColor =
|
|
24318
|
+
this._options.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
24319
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.invisibleColor = this._options.invisibleColor;
|
|
23792
24320
|
} //设置网格线颜色
|
|
23793
24321
|
|
|
23794
24322
|
|
|
23795
24323
|
setLineColor(lineColor) {
|
|
23796
|
-
this.
|
|
24324
|
+
this._options.lineColor = lineColor;
|
|
24325
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.lineColor = Cesium.Color.fromCssColorString(lineColor);
|
|
23797
24326
|
} //显示/隐藏网格线
|
|
23798
24327
|
|
|
23799
24328
|
|
|
23800
24329
|
setShowGridLine(showGridLine) {
|
|
23801
|
-
this.
|
|
24330
|
+
this._options.showGridLine = showGridLine;
|
|
24331
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.showGridLine = showGridLine;
|
|
23802
24332
|
}
|
|
23803
24333
|
|
|
23804
24334
|
}
|
|
23805
|
-
|
|
23806
|
-
/***/ }),
|
|
23807
|
-
|
|
23808
|
-
/***/ 3063:
|
|
23809
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
23810
|
-
|
|
23811
|
-
|
|
23812
|
-
// EXPORTS
|
|
23813
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
23814
|
-
"default": function() { return /* reexport */ ViewshedAnalysis; }
|
|
23815
|
-
});
|
|
23816
|
-
|
|
23817
|
-
// UNUSED EXPORTS: ViewshedAnalysisViewModel
|
|
23818
|
-
|
|
23819
|
-
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
23820
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
23821
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
23822
|
-
var gis_utils_ = __webpack_require__(826);
|
|
23823
|
-
// EXTERNAL MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
|
|
23824
|
-
var ViewshedAnalysisViewModel = __webpack_require__(9721);
|
|
23825
24335
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
23826
24336
|
var client_icons_vue_ = __webpack_require__(348);
|
|
23827
24337
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
23828
24338
|
var util_ = __webpack_require__(9519);
|
|
24339
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
24340
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
23829
24341
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
23830
24342
|
|
|
23831
24343
|
const _hoisted_1 = {
|
|
@@ -23839,6 +24351,7 @@ const _hoisted_2 = {
|
|
|
23839
24351
|
|
|
23840
24352
|
|
|
23841
24353
|
|
|
24354
|
+
|
|
23842
24355
|
const __default__ = {
|
|
23843
24356
|
name: "Kq3dViewshedAnalysis"
|
|
23844
24357
|
};
|
|
@@ -23925,7 +24438,17 @@ const __default__ = {
|
|
|
23925
24438
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
23926
24439
|
|
|
23927
24440
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
23928
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
24441
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
24442
|
+
|
|
24443
|
+
let {
|
|
24444
|
+
locale,
|
|
24445
|
+
messages
|
|
24446
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
24447
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
24448
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
24449
|
+
language.value = messages.value[newVal]["webgl"];
|
|
24450
|
+
headerTempTitle.value = language.value.viewshedAnalysis;
|
|
24451
|
+
});
|
|
23929
24452
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23930
24453
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
23931
24454
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -23939,8 +24462,7 @@ const __default__ = {
|
|
|
23939
24462
|
|
|
23940
24463
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
23941
24464
|
if (scenceView) {
|
|
23942
|
-
|
|
23943
|
-
viewModel = new ViewshedAnalysisViewModel/* default */.Z(scenceView, {
|
|
24465
|
+
viewModel = new ViewshedAnalysisViewModel(scenceView, {
|
|
23944
24466
|
offsetHeight: formItem.offsetHeight,
|
|
23945
24467
|
fovV: formItem.fovV,
|
|
23946
24468
|
fovH: formItem.fovH,
|
|
@@ -23958,7 +24480,7 @@ const __default__ = {
|
|
|
23958
24480
|
const watchCreateHeaderTemp = () => {
|
|
23959
24481
|
if (props.showHeaderTemp) {
|
|
23960
24482
|
// 生成headerTemp
|
|
23961
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
24483
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
23962
24484
|
}
|
|
23963
24485
|
};
|
|
23964
24486
|
|
|
@@ -24542,6 +25064,8 @@ class WeatherEffectViewModel {
|
|
|
24542
25064
|
}
|
|
24543
25065
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
24544
25066
|
var util_ = __webpack_require__(9519);
|
|
25067
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
25068
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
24545
25069
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
24546
25070
|
|
|
24547
25071
|
const _hoisted_1 = {
|
|
@@ -24555,6 +25079,7 @@ const _hoisted_2 = {
|
|
|
24555
25079
|
|
|
24556
25080
|
|
|
24557
25081
|
|
|
25082
|
+
|
|
24558
25083
|
const __default__ = {
|
|
24559
25084
|
name: "Kq3dWeatherEffect"
|
|
24560
25085
|
};
|
|
@@ -24626,7 +25151,17 @@ const __default__ = {
|
|
|
24626
25151
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
24627
25152
|
|
|
24628
25153
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
24629
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
25154
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
25155
|
+
|
|
25156
|
+
let {
|
|
25157
|
+
locale,
|
|
25158
|
+
messages
|
|
25159
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
25160
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
25161
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
25162
|
+
language.value = messages.value[newVal]["webgl"];
|
|
25163
|
+
headerTempTitle.value = language.value.weatherEffect;
|
|
25164
|
+
});
|
|
24630
25165
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
24631
25166
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
24632
25167
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -24640,7 +25175,6 @@ const __default__ = {
|
|
|
24640
25175
|
|
|
24641
25176
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
24642
25177
|
if (scenceView) {
|
|
24643
|
-
language.value = scenceView._language;
|
|
24644
25178
|
viewModel = new WeatherEffectViewModel(scenceView);
|
|
24645
25179
|
}
|
|
24646
25180
|
});
|
|
@@ -24652,7 +25186,7 @@ const __default__ = {
|
|
|
24652
25186
|
const watchCreateHeaderTemp = () => {
|
|
24653
25187
|
if (props.showHeaderTemp) {
|
|
24654
25188
|
// 生成headerTemp
|
|
24655
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
25189
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
24656
25190
|
}
|
|
24657
25191
|
}; //切换雨雪天气特效
|
|
24658
25192
|
|
|
@@ -25241,7 +25775,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".coord{background:rgba(42,42,42,.8);bo
|
|
|
25241
25775
|
|
|
25242
25776
|
/***/ }),
|
|
25243
25777
|
|
|
25244
|
-
/***/
|
|
25778
|
+
/***/ 6854:
|
|
25245
25779
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25246
25780
|
|
|
25247
25781
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
|
|
@@ -25553,6 +26087,13 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
25553
26087
|
|
|
25554
26088
|
/***/ }),
|
|
25555
26089
|
|
|
26090
|
+
/***/ 7080:
|
|
26091
|
+
/***/ (function(module) {
|
|
26092
|
+
|
|
26093
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
26094
|
+
|
|
26095
|
+
/***/ }),
|
|
26096
|
+
|
|
25556
26097
|
/***/ 1088:
|
|
25557
26098
|
/***/ (function(module) {
|
|
25558
26099
|
|
|
@@ -25734,8 +26275,8 @@ var gpuspatialquery = __webpack_require__(7719);
|
|
|
25734
26275
|
var modelselect = __webpack_require__(9089);
|
|
25735
26276
|
// EXTERNAL MODULE: ./src/webgl/sightlineanalysis/index.js + 5 modules
|
|
25736
26277
|
var sightlineanalysis = __webpack_require__(6031);
|
|
25737
|
-
// EXTERNAL MODULE: ./src/webgl/viewshedanalysis/index.js +
|
|
25738
|
-
var viewshedanalysis = __webpack_require__(
|
|
26278
|
+
// EXTERNAL MODULE: ./src/webgl/viewshedanalysis/index.js + 4 modules
|
|
26279
|
+
var viewshedanalysis = __webpack_require__(2612);
|
|
25739
26280
|
// EXTERNAL MODULE: ./src/webgl/shadowanalysis/index.js + 4 modules
|
|
25740
26281
|
var shadowanalysis = __webpack_require__(8449);
|
|
25741
26282
|
// EXTERNAL MODULE: ./src/webgl/profileanalysis/index.js + 3 modules
|
|
@@ -25775,7 +26316,7 @@ var roller = __webpack_require__(1871);
|
|
|
25775
26316
|
// EXTERNAL MODULE: ./src/webgl/underground/index.js + 3 modules
|
|
25776
26317
|
var underground = __webpack_require__(8521);
|
|
25777
26318
|
// EXTERNAL MODULE: ./src/webgl/statusbar/index.js + 5 modules
|
|
25778
|
-
var statusbar = __webpack_require__(
|
|
26319
|
+
var statusbar = __webpack_require__(4388);
|
|
25779
26320
|
;// CONCATENATED MODULE: ./src/webgl/components.js
|
|
25780
26321
|
/**
|
|
25781
26322
|
* Author: 朱鹏超
|
|
@@ -26168,7 +26709,7 @@ class DrawManager {
|
|
|
26168
26709
|
options.is3D = true;
|
|
26169
26710
|
}
|
|
26170
26711
|
|
|
26171
|
-
if (type
|
|
26712
|
+
if (type !== "marker" && type !== "text") {
|
|
26172
26713
|
//标记组件使用
|
|
26173
26714
|
if (unionOptions.hasOwnProperty("weight")) {
|
|
26174
26715
|
unionOptions.width = unionOptions.weight;
|
|
@@ -27059,8 +27600,6 @@ class LayerManager {
|
|
|
27059
27600
|
}
|
|
27060
27601
|
}
|
|
27061
27602
|
}, this);
|
|
27062
|
-
|
|
27063
|
-
this.recordImageryLayerOriginIndex();
|
|
27064
27603
|
});
|
|
27065
27604
|
});
|
|
27066
27605
|
}
|
|
@@ -27620,6 +28159,21 @@ class LayerManager {
|
|
|
27620
28159
|
|
|
27621
28160
|
break;
|
|
27622
28161
|
|
|
28162
|
+
case "tile":
|
|
28163
|
+
layerData.visible = isAdd;
|
|
28164
|
+
layerData.serverType = "imagerylayer";
|
|
28165
|
+
|
|
28166
|
+
if (isAdd) {
|
|
28167
|
+
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.UrlTemplateImageryProvider({
|
|
28168
|
+
name: name,
|
|
28169
|
+
url: url,
|
|
28170
|
+
...params
|
|
28171
|
+
}));
|
|
28172
|
+
layer._guid = layerData.guid;
|
|
28173
|
+
}
|
|
28174
|
+
|
|
28175
|
+
break;
|
|
28176
|
+
|
|
27623
28177
|
default:
|
|
27624
28178
|
break;
|
|
27625
28179
|
}
|
|
@@ -27708,7 +28262,6 @@ class LayerManager {
|
|
|
27708
28262
|
that._viewer.imageryLayers.add(imageryLayer);
|
|
27709
28263
|
}
|
|
27710
28264
|
});
|
|
27711
|
-
that.recordImageryLayerOriginIndex();
|
|
27712
28265
|
|
|
27713
28266
|
if (rect) {
|
|
27714
28267
|
that._viewer.camera.flyTo({
|
|
@@ -27779,8 +28332,6 @@ class LayerManager {
|
|
|
27779
28332
|
} else if (visible) {
|
|
27780
28333
|
//如果不存在该图层则添加
|
|
27781
28334
|
if (this._layerListData[i].serverType === "kqserver") {
|
|
27782
|
-
//添加图层之前重置图层顺序
|
|
27783
|
-
this.resetLayerIndex();
|
|
27784
28335
|
var imageryProvider = new Cesium.Kq3dKQGISMapServerImageryProviderExt({
|
|
27785
28336
|
url: this._layerListData[i].url,
|
|
27786
28337
|
ua_token: this._layerListData[i].accessToken,
|
|
@@ -27795,8 +28346,6 @@ class LayerManager {
|
|
|
27795
28346
|
} else {
|
|
27796
28347
|
this._viewer.imageryLayers.add(imageryLayer);
|
|
27797
28348
|
}
|
|
27798
|
-
|
|
27799
|
-
this.recordImageryLayerOriginIndex();
|
|
27800
28349
|
} else if (this._layerListData[i].sourceType) {
|
|
27801
28350
|
var promise = this.addLayerData(this._layerListData[i]);
|
|
27802
28351
|
|
|
@@ -27892,13 +28441,6 @@ class LayerManager {
|
|
|
27892
28441
|
}
|
|
27893
28442
|
|
|
27894
28443
|
return layerAddIndex;
|
|
27895
|
-
} //记录ImageryLayer原始index
|
|
27896
|
-
|
|
27897
|
-
|
|
27898
|
-
recordImageryLayerOriginIndex() {
|
|
27899
|
-
this._viewer.imageryLayers._layers.forEach(layer => {
|
|
27900
|
-
layer._originIndex = layer._layerIndex;
|
|
27901
|
-
});
|
|
27902
28444
|
} //通过guid获取图层对象
|
|
27903
28445
|
|
|
27904
28446
|
|
|
@@ -27979,7 +28521,7 @@ class LayerManager {
|
|
|
27979
28521
|
|
|
27980
28522
|
|
|
27981
28523
|
getLayerTreeData() {
|
|
27982
|
-
return
|
|
28524
|
+
return [...this._layerTreeData];
|
|
27983
28525
|
} //是否包含值
|
|
27984
28526
|
|
|
27985
28527
|
|
|
@@ -28188,6 +28730,32 @@ class LayerManager {
|
|
|
28188
28730
|
this._viewer.imageryLayers.lower(layer);
|
|
28189
28731
|
}
|
|
28190
28732
|
}
|
|
28733
|
+
}
|
|
28734
|
+
/**
|
|
28735
|
+
* 根据传入的guid数组 给imageryLayer图层重新排序
|
|
28736
|
+
* 图层树拖动树节点功能需求实现
|
|
28737
|
+
* @param {array} guids guid数组
|
|
28738
|
+
*/
|
|
28739
|
+
|
|
28740
|
+
|
|
28741
|
+
sortLayerZIndexByGuids(guids) {
|
|
28742
|
+
let layerListDataNew = [];
|
|
28743
|
+
|
|
28744
|
+
for (let i = guids.length - 1; i >= 0; i--) {
|
|
28745
|
+
let layer = this.getLayerByGuid(guids[i]);
|
|
28746
|
+
|
|
28747
|
+
if (layer && layer instanceof Cesium.ImageryLayer) {
|
|
28748
|
+
this._viewer.imageryLayers.raiseToTop(layer);
|
|
28749
|
+
}
|
|
28750
|
+
|
|
28751
|
+
var layerData = this._layerListData.find(item => {
|
|
28752
|
+
return item.guid === guids[i];
|
|
28753
|
+
});
|
|
28754
|
+
|
|
28755
|
+
if (layerData) layerListDataNew.push(layerData);
|
|
28756
|
+
}
|
|
28757
|
+
|
|
28758
|
+
this._layerListData = layerListDataNew;
|
|
28191
28759
|
} //重置图层顺序
|
|
28192
28760
|
|
|
28193
28761
|
|
|
@@ -28264,12 +28832,6 @@ class LayerManager {
|
|
|
28264
28832
|
}
|
|
28265
28833
|
}
|
|
28266
28834
|
|
|
28267
|
-
if (layer.serverType === "imagerylayer") {
|
|
28268
|
-
this._viewer.imageryLayers._layers.forEach(layer => {
|
|
28269
|
-
if (!layer._originIndex) layer._originIndex = layer._layerIndex;
|
|
28270
|
-
});
|
|
28271
|
-
}
|
|
28272
|
-
|
|
28273
28835
|
this._scenceView.fire("resetLayerDatas");
|
|
28274
28836
|
} //设置地形
|
|
28275
28837
|
|
|
@@ -28486,14 +29048,14 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28486
29048
|
//绘制管理对象
|
|
28487
29049
|
//图层管理对象
|
|
28488
29050
|
//底图集合
|
|
28489
|
-
constructor(props,
|
|
29051
|
+
constructor(props, lang) {
|
|
28490
29052
|
super();
|
|
28491
29053
|
|
|
28492
29054
|
(0,defineProperty/* default */.Z)(this, "_viewerId", "");
|
|
28493
29055
|
|
|
28494
29056
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
28495
29057
|
|
|
28496
|
-
(0,defineProperty/* default */.Z)(this, "
|
|
29058
|
+
(0,defineProperty/* default */.Z)(this, "_lang", null);
|
|
28497
29059
|
|
|
28498
29060
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
28499
29061
|
|
|
@@ -28507,7 +29069,8 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28507
29069
|
|
|
28508
29070
|
this._viewerId = props.target;
|
|
28509
29071
|
this._props = props;
|
|
28510
|
-
this.
|
|
29072
|
+
this._lang = lang;
|
|
29073
|
+
this._language = lang.language;
|
|
28511
29074
|
} //初始化三维球
|
|
28512
29075
|
|
|
28513
29076
|
|
|
@@ -28526,7 +29089,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28526
29089
|
navigation: false,
|
|
28527
29090
|
sceneModePicker: false,
|
|
28528
29091
|
infoBox: false,
|
|
28529
|
-
|
|
29092
|
+
languageStyle: this._lang.type == 'zh' ? 'zh-CN' : 'en',
|
|
28530
29093
|
navigationHelpButton: false
|
|
28531
29094
|
};
|
|
28532
29095
|
|
|
@@ -28564,7 +29127,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28564
29127
|
|
|
28565
29128
|
initManagerClass() {
|
|
28566
29129
|
if (this._viewer) {
|
|
28567
|
-
this._drawManager = new DrawManager(this._viewer, this.
|
|
29130
|
+
this._drawManager = new DrawManager(this._viewer, this._lang.language);
|
|
28568
29131
|
this._layerManager = new LayerManager(this);
|
|
28569
29132
|
}
|
|
28570
29133
|
} //销毁
|
|
@@ -28673,7 +29236,6 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28673
29236
|
break;
|
|
28674
29237
|
|
|
28675
29238
|
case "tile":
|
|
28676
|
-
//console.log("tile,123");
|
|
28677
29239
|
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.UrlTemplateImageryProvider({
|
|
28678
29240
|
url: layerConfig.url,
|
|
28679
29241
|
minimumLevel: layerConfig.minZoom,
|
|
@@ -29032,9 +29594,13 @@ const __default__ = {
|
|
|
29032
29594
|
|
|
29033
29595
|
let _lang = proxy.$i18n.locale;
|
|
29034
29596
|
let _language = proxy.$i18n.messages[_lang]["webgl"];
|
|
29035
|
-
language.value = _language;
|
|
29597
|
+
language.value = _language;
|
|
29598
|
+
let lang = {
|
|
29599
|
+
type: _lang,
|
|
29600
|
+
language: _language
|
|
29601
|
+
}; //初始化逻辑类
|
|
29036
29602
|
|
|
29037
|
-
viewModel = new ScenceViewViewModel(props,
|
|
29603
|
+
viewModel = new ScenceViewViewModel(props, lang);
|
|
29038
29604
|
viewModel.initViewer();
|
|
29039
29605
|
});
|
|
29040
29606
|
/**
|