@kq_npm/client3d_webgl_vue 3.7.7-beta → 3.9.1-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 +19 -2
- package/excavatefillanalysis/index.js +22 -3
- package/fixedzoomin/index.js +19 -2
- package/fixedzoomout/index.js +19 -2
- package/flight/index.js +22 -3
- package/floodanalysis/index.js +24 -17
- package/gpuspatialquery/index.js +22 -3
- package/index.js +1089 -569
- 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 +19 -2
- package/roller/index.js +22 -3
- package/scenceview/index.js +1178 -597
- 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
|
|
6008
|
+
/* PROPS */
|
|
6009
|
+
, ["title"])], 8
|
|
5914
6010
|
/* PROPS */
|
|
5915
|
-
,
|
|
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
|
+
} // 国际化
|
|
6156
6255
|
|
|
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__ = {
|
|
@@ -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);
|
|
@@ -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__ = {
|
|
@@ -7395,11 +7534,18 @@ const __default__ = {
|
|
|
7395
7534
|
const props = __props;
|
|
7396
7535
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
7397
7536
|
let viewModel = null;
|
|
7398
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
7537
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
7538
|
+
|
|
7539
|
+
let {
|
|
7540
|
+
locale,
|
|
7541
|
+
messages
|
|
7542
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
7543
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
7544
|
+
language.value = messages.value[newVal]["webgl"];
|
|
7545
|
+
});
|
|
7399
7546
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7400
7547
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
7401
7548
|
if (scenceView) {
|
|
7402
|
-
language.value = scenceView._language;
|
|
7403
7549
|
viewModel = new FixedZoominViewModel/* default */.Z(scenceView._viewer);
|
|
7404
7550
|
}
|
|
7405
7551
|
});
|
|
@@ -7566,11 +7712,14 @@ var icons_vue_ = __webpack_require__(8422);
|
|
|
7566
7712
|
var FixedZoomoutViewModel = __webpack_require__(8800);
|
|
7567
7713
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
7568
7714
|
var gis_utils_ = __webpack_require__(826);
|
|
7715
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
7716
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
7569
7717
|
;// 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
7718
|
|
|
7571
7719
|
|
|
7572
7720
|
|
|
7573
7721
|
|
|
7722
|
+
|
|
7574
7723
|
// 获取组件传参
|
|
7575
7724
|
|
|
7576
7725
|
const __default__ = {
|
|
@@ -7600,11 +7749,18 @@ const __default__ = {
|
|
|
7600
7749
|
const props = __props;
|
|
7601
7750
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
7602
7751
|
let viewModel = null;
|
|
7603
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
7752
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
7753
|
+
|
|
7754
|
+
let {
|
|
7755
|
+
locale,
|
|
7756
|
+
messages
|
|
7757
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
7758
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
7759
|
+
language.value = messages.value[newVal]["webgl"];
|
|
7760
|
+
});
|
|
7604
7761
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7605
7762
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
7606
7763
|
if (scenceView) {
|
|
7607
|
-
language.value = scenceView._language;
|
|
7608
7764
|
viewModel = new FixedZoomoutViewModel/* default */.Z(scenceView._viewer);
|
|
7609
7765
|
}
|
|
7610
7766
|
});
|
|
@@ -7816,6 +7972,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
7816
7972
|
var FlightViewModel = __webpack_require__(5372);
|
|
7817
7973
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
7818
7974
|
var util_ = __webpack_require__(9519);
|
|
7975
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
7976
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
7819
7977
|
;// 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
7978
|
|
|
7821
7979
|
const _hoisted_1 = {
|
|
@@ -7854,6 +8012,7 @@ const _hoisted_9 = {
|
|
|
7854
8012
|
|
|
7855
8013
|
|
|
7856
8014
|
|
|
8015
|
+
|
|
7857
8016
|
const __default__ = {
|
|
7858
8017
|
name: "Kq3dFlight"
|
|
7859
8018
|
};
|
|
@@ -7937,7 +8096,17 @@ const __default__ = {
|
|
|
7937
8096
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
7938
8097
|
|
|
7939
8098
|
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)();
|
|
8099
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
8100
|
+
|
|
8101
|
+
let {
|
|
8102
|
+
locale,
|
|
8103
|
+
messages
|
|
8104
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
8105
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
8106
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
8107
|
+
language.value = messages.value[newVal]["webgl"];
|
|
8108
|
+
headerTempTitle.value = language.value.flight;
|
|
8109
|
+
});
|
|
7941
8110
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7942
8111
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
7943
8112
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -7949,7 +8118,6 @@ const __default__ = {
|
|
|
7949
8118
|
});
|
|
7950
8119
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
7951
8120
|
if (scenceView) {
|
|
7952
|
-
language.value = scenceView._language;
|
|
7953
8121
|
viewer = scenceView._viewer;
|
|
7954
8122
|
viewModel = new FlightViewModel/* default */.Z(viewer);
|
|
7955
8123
|
viewModel.stopEvent.addEventListener(function () {
|
|
@@ -7984,7 +8152,7 @@ const __default__ = {
|
|
|
7984
8152
|
const watchCreateHeaderTemp = () => {
|
|
7985
8153
|
if (props.showHeaderTemp) {
|
|
7986
8154
|
// 生成headerTemp
|
|
7987
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
8155
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
7988
8156
|
}
|
|
7989
8157
|
}; //新建路径
|
|
7990
8158
|
|
|
@@ -9022,6 +9190,8 @@ class FloodAnalysisViewModel {
|
|
|
9022
9190
|
var client_icons_vue_ = __webpack_require__(348);
|
|
9023
9191
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
9024
9192
|
var util_ = __webpack_require__(9519);
|
|
9193
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
9194
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
9025
9195
|
;// 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
9196
|
|
|
9027
9197
|
const _hoisted_1 = {
|
|
@@ -9037,6 +9207,7 @@ const _hoisted_3 = {
|
|
|
9037
9207
|
|
|
9038
9208
|
|
|
9039
9209
|
|
|
9210
|
+
|
|
9040
9211
|
const __default__ = {
|
|
9041
9212
|
name: "Kq3dFloodAnalysis"
|
|
9042
9213
|
};
|
|
@@ -9075,8 +9246,7 @@ const __default__ = {
|
|
|
9075
9246
|
},
|
|
9076
9247
|
// HeaderTemp标题
|
|
9077
9248
|
headerTempTitle: {
|
|
9078
|
-
type: String
|
|
9079
|
-
default: "淹没分析"
|
|
9249
|
+
type: String
|
|
9080
9250
|
},
|
|
9081
9251
|
// HeaderTemp图标
|
|
9082
9252
|
headerTempIcon: {
|
|
@@ -9147,7 +9317,17 @@ const __default__ = {
|
|
|
9147
9317
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
9148
9318
|
|
|
9149
9319
|
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)();
|
|
9320
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
9321
|
+
|
|
9322
|
+
let {
|
|
9323
|
+
locale,
|
|
9324
|
+
messages
|
|
9325
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
9326
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
9327
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
9328
|
+
language.value = messages.value[newVal]["webgl"];
|
|
9329
|
+
headerTempTitle.value = (formItem.floodMode == 0 ? language.value.floodTerrain : language.value.floodModel) + language.value.floodAnalysis1;
|
|
9330
|
+
});
|
|
9151
9331
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
9152
9332
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
9153
9333
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -9159,7 +9339,6 @@ const __default__ = {
|
|
|
9159
9339
|
});
|
|
9160
9340
|
gis_utils_.utils.getWebMap(props.target, scenceView => {
|
|
9161
9341
|
if (scenceView) {
|
|
9162
|
-
language.value = scenceView._language;
|
|
9163
9342
|
viewModel = new FloodAnalysisViewModel(scenceView, {
|
|
9164
9343
|
mode: formItem.floodMode,
|
|
9165
9344
|
moveMode: formItem.floodDirection,
|
|
@@ -9168,18 +9347,7 @@ const __default__ = {
|
|
|
9168
9347
|
minHeight: formItem.floodMinHeight,
|
|
9169
9348
|
maxHeight: formItem.floodMaxHeight,
|
|
9170
9349
|
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
|
-
// }
|
|
9350
|
+
});
|
|
9183
9351
|
}
|
|
9184
9352
|
});
|
|
9185
9353
|
});
|
|
@@ -9190,7 +9358,7 @@ const __default__ = {
|
|
|
9190
9358
|
const watchCreateHeaderTemp = () => {
|
|
9191
9359
|
if (props.showHeaderTemp) {
|
|
9192
9360
|
// 生成headerTemp
|
|
9193
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
9361
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
9194
9362
|
}
|
|
9195
9363
|
}; //获取图片路径
|
|
9196
9364
|
|
|
@@ -10060,6 +10228,8 @@ class GPUSpatialQueryViewModel {
|
|
|
10060
10228
|
}
|
|
10061
10229
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
10062
10230
|
var util_ = __webpack_require__(9519);
|
|
10231
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
10232
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
10063
10233
|
;// 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
10234
|
|
|
10065
10235
|
const _hoisted_1 = {
|
|
@@ -10074,6 +10244,7 @@ const _hoisted_2 = {
|
|
|
10074
10244
|
|
|
10075
10245
|
|
|
10076
10246
|
|
|
10247
|
+
|
|
10077
10248
|
const __default__ = {
|
|
10078
10249
|
name: "Kq3dGPUSpatialQuery"
|
|
10079
10250
|
};
|
|
@@ -10183,7 +10354,17 @@ const __default__ = {
|
|
|
10183
10354
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
10184
10355
|
|
|
10185
10356
|
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)();
|
|
10357
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
10358
|
+
|
|
10359
|
+
let {
|
|
10360
|
+
locale,
|
|
10361
|
+
messages
|
|
10362
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
10363
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
10364
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
10365
|
+
language.value = messages.value[newVal]["webgl"];
|
|
10366
|
+
headerTempTitle.value = language.value.spatialQuery;
|
|
10367
|
+
});
|
|
10187
10368
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
10188
10369
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
10189
10370
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -10195,7 +10376,6 @@ const __default__ = {
|
|
|
10195
10376
|
});
|
|
10196
10377
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
10197
10378
|
if (scenceView) {
|
|
10198
|
-
language.value = scenceView._language;
|
|
10199
10379
|
viewModel = new GPUSpatialQueryViewModel(scenceView, {
|
|
10200
10380
|
volumeType: formItem.volumeType,
|
|
10201
10381
|
positionMode: formItem.positionMode,
|
|
@@ -10214,7 +10394,7 @@ const __default__ = {
|
|
|
10214
10394
|
const watchCreateHeaderTemp = () => {
|
|
10215
10395
|
if (props.showHeaderTemp) {
|
|
10216
10396
|
// 生成headerTemp
|
|
10217
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
10397
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
10218
10398
|
}
|
|
10219
10399
|
}; // 参数切换
|
|
10220
10400
|
|
|
@@ -11278,6 +11458,8 @@ class IsolineAnalysisViewModel {
|
|
|
11278
11458
|
var client_icons_vue_ = __webpack_require__(348);
|
|
11279
11459
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
11280
11460
|
var util_ = __webpack_require__(9519);
|
|
11461
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
11462
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
11281
11463
|
;// 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
11464
|
|
|
11283
11465
|
const _hoisted_1 = {
|
|
@@ -11353,6 +11535,7 @@ const _hoisted_17 = {
|
|
|
11353
11535
|
|
|
11354
11536
|
|
|
11355
11537
|
|
|
11538
|
+
|
|
11356
11539
|
const __default__ = {
|
|
11357
11540
|
name: "Kq3dIsolineAnalysis"
|
|
11358
11541
|
};
|
|
@@ -11500,7 +11683,17 @@ const __default__ = {
|
|
|
11500
11683
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
11501
11684
|
|
|
11502
11685
|
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)();
|
|
11686
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
11687
|
+
|
|
11688
|
+
let {
|
|
11689
|
+
locale,
|
|
11690
|
+
messages
|
|
11691
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
11692
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
11693
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
11694
|
+
language.value = messages.value[newVal]["webgl"];
|
|
11695
|
+
headerTempTitle.value = language.value.isolineAnalysis;
|
|
11696
|
+
});
|
|
11504
11697
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
11505
11698
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
11506
11699
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -11514,7 +11707,6 @@ const __default__ = {
|
|
|
11514
11707
|
|
|
11515
11708
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
11516
11709
|
if (scenceView) {
|
|
11517
|
-
language.value = scenceView._language;
|
|
11518
11710
|
var options = {
|
|
11519
11711
|
minHeight: formItem.minHeight,
|
|
11520
11712
|
maxHeight: formItem.maxHeight,
|
|
@@ -11558,7 +11750,7 @@ const __default__ = {
|
|
|
11558
11750
|
const watchCreateHeaderTemp = () => {
|
|
11559
11751
|
if (props.showHeaderTemp) {
|
|
11560
11752
|
// 生成headerTemp
|
|
11561
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
11753
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
11562
11754
|
}
|
|
11563
11755
|
}; // 刷新自定义样式数组
|
|
11564
11756
|
|
|
@@ -13730,6 +13922,8 @@ var MeasureViewModel = __webpack_require__(193);
|
|
|
13730
13922
|
var util_ = __webpack_require__(9519);
|
|
13731
13923
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
13732
13924
|
var message = __webpack_require__(909);
|
|
13925
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
13926
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
13733
13927
|
;// 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
13928
|
|
|
13735
13929
|
const _hoisted_1 = {
|
|
@@ -13847,6 +14041,7 @@ const _hoisted_33 = {
|
|
|
13847
14041
|
|
|
13848
14042
|
|
|
13849
14043
|
|
|
14044
|
+
|
|
13850
14045
|
const __default__ = {
|
|
13851
14046
|
name: "Kq3dMeasure"
|
|
13852
14047
|
};
|
|
@@ -13901,8 +14096,19 @@ const __default__ = {
|
|
|
13901
14096
|
let result = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("0");
|
|
13902
14097
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
13903
14098
|
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; //
|
|
14099
|
+
let modeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
14100
|
+
let viewModel = null; // 国际化
|
|
14101
|
+
|
|
14102
|
+
let {
|
|
14103
|
+
locale,
|
|
14104
|
+
messages
|
|
14105
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
14106
|
+
let measureTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
14107
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
14108
|
+
language.value = messages.value[newVal]["webgl"];
|
|
14109
|
+
measureTitle.value = language.value.measure;
|
|
14110
|
+
modeList.value = loadModeData();
|
|
14111
|
+
}); // 距离测量单位
|
|
13906
14112
|
|
|
13907
14113
|
let distanceUnits = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
13908
14114
|
label: "m",
|
|
@@ -13938,8 +14144,6 @@ const __default__ = {
|
|
|
13938
14144
|
});
|
|
13939
14145
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
13940
14146
|
if (scenceView) {
|
|
13941
|
-
language.value = scenceView._language;
|
|
13942
|
-
loadModeData();
|
|
13943
14147
|
viewModel = new MeasureViewModel/* default */.Z(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
13944
14148
|
|
|
13945
14149
|
viewModel.measureEvent.addEventListener(function (res) {
|
|
@@ -13993,24 +14197,22 @@ const __default__ = {
|
|
|
13993
14197
|
const watchCreateHeaderTemp = () => {
|
|
13994
14198
|
if (props.showHeaderTemp) {
|
|
13995
14199
|
// 生成headerTemp
|
|
13996
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
14200
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, measureTitle);
|
|
13997
14201
|
}
|
|
13998
14202
|
}; //加载测量模式数据
|
|
13999
14203
|
|
|
14000
14204
|
|
|
14001
14205
|
function loadModeData() {
|
|
14002
|
-
|
|
14206
|
+
return [{
|
|
14003
14207
|
label: language.value.spaceMeasure,
|
|
14004
14208
|
value: "space"
|
|
14005
|
-
}
|
|
14006
|
-
modeList.push({
|
|
14209
|
+
}, {
|
|
14007
14210
|
label: language.value.groundMeasure,
|
|
14008
14211
|
value: "ground"
|
|
14009
|
-
}
|
|
14010
|
-
modeList.push({
|
|
14212
|
+
}, {
|
|
14011
14213
|
label: language.value.modelMeasure,
|
|
14012
14214
|
value: "model"
|
|
14013
|
-
}
|
|
14215
|
+
}];
|
|
14014
14216
|
}
|
|
14015
14217
|
|
|
14016
14218
|
function formatDistance(dis) {
|
|
@@ -14437,14 +14639,12 @@ class ModelSelectViewModel {
|
|
|
14437
14639
|
|
|
14438
14640
|
this._handler.setInputAction(function (movement) {
|
|
14439
14641
|
if (that._isPick) {
|
|
14440
|
-
let pickedObject = that._viewer.scene.pick(movement.position);
|
|
14642
|
+
let pickedObject = that._viewer.scene.pick(movement.position); // console.log(pickedObject);
|
|
14441
14643
|
|
|
14442
|
-
console.log(pickedObject);
|
|
14443
14644
|
|
|
14444
14645
|
if (pickedObject) {
|
|
14445
14646
|
if (pickedObject instanceof Cesium.Cesium3DTileFeature) {
|
|
14446
|
-
let properties = pickedObject.getPropertyNames() || [];
|
|
14447
|
-
console.log(properties);
|
|
14647
|
+
let properties = pickedObject.getPropertyNames() || []; // console.log(properties);
|
|
14448
14648
|
|
|
14449
14649
|
if (that._modeFiledArray && that._modeFiledArray.length && that._modeFiledArray.length > 0) {
|
|
14450
14650
|
for (let val in that._modeFiledArray) {
|
|
@@ -14527,23 +14727,21 @@ class ModelSelectViewModel {
|
|
|
14527
14727
|
var client_icons_vue_ = __webpack_require__(348);
|
|
14528
14728
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
14529
14729
|
var util_ = __webpack_require__(9519);
|
|
14730
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
14731
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
14530
14732
|
;// 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
14733
|
|
|
14532
14734
|
const _hoisted_1 = {
|
|
14533
14735
|
class: "title"
|
|
14534
14736
|
};
|
|
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 = {
|
|
14737
|
+
const _hoisted_2 = {
|
|
14541
14738
|
class: "footer-buttons"
|
|
14542
14739
|
};
|
|
14543
14740
|
|
|
14544
14741
|
|
|
14545
14742
|
|
|
14546
14743
|
|
|
14744
|
+
|
|
14547
14745
|
// tree数据源
|
|
14548
14746
|
|
|
14549
14747
|
const __default__ = {
|
|
@@ -14630,7 +14828,17 @@ const __default__ = {
|
|
|
14630
14828
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
14631
14829
|
|
|
14632
14830
|
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)();
|
|
14831
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
14832
|
+
|
|
14833
|
+
let {
|
|
14834
|
+
locale,
|
|
14835
|
+
messages
|
|
14836
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
14837
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
14838
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
14839
|
+
language.value = messages.value[newVal]["webgl"];
|
|
14840
|
+
headerTempTitle.value = language.value.modelPick;
|
|
14841
|
+
});
|
|
14634
14842
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
14635
14843
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
14636
14844
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -14643,7 +14851,6 @@ const __default__ = {
|
|
|
14643
14851
|
|
|
14644
14852
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
14645
14853
|
if (scenceView) {
|
|
14646
|
-
language.value = scenceView._language;
|
|
14647
14854
|
viewModel = new ModelSelectViewModel(scenceView, pickCallFunc);
|
|
14648
14855
|
viewModel._highlightColor = props.highlightColor;
|
|
14649
14856
|
viewModel._modeFiledArray = props.modeFiledArray;
|
|
@@ -14657,7 +14864,7 @@ const __default__ = {
|
|
|
14657
14864
|
const watchCreateHeaderTemp = () => {
|
|
14658
14865
|
if (props.showHeaderTemp) {
|
|
14659
14866
|
// 生成headerTemp
|
|
14660
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
14867
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
14661
14868
|
}
|
|
14662
14869
|
};
|
|
14663
14870
|
|
|
@@ -14677,8 +14884,7 @@ const __default__ = {
|
|
|
14677
14884
|
}
|
|
14678
14885
|
|
|
14679
14886
|
props.aliasNameReflection(arrKeys, item => {
|
|
14680
|
-
console.log(item);
|
|
14681
|
-
|
|
14887
|
+
// console.log(item);
|
|
14682
14888
|
for (let key in properties) {
|
|
14683
14889
|
propertiesData.push({
|
|
14684
14890
|
field: item[key] ? item[key] : key,
|
|
@@ -14739,7 +14945,9 @@ const __default__ = {
|
|
|
14739
14945
|
ref_key: "ref_box",
|
|
14740
14946
|
ref: ref_box
|
|
14741
14947
|
}, [(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, [
|
|
14948
|
+
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
|
|
14949
|
+
/* TEXT */
|
|
14950
|
+
), (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
14951
|
/* TEXT */
|
|
14744
14952
|
)])]),
|
|
14745
14953
|
_: 1
|
|
@@ -14786,7 +14994,7 @@ const __default__ = {
|
|
|
14786
14994
|
|
|
14787
14995
|
}, 8
|
|
14788
14996
|
/* PROPS */
|
|
14789
|
-
, ["style"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
14997
|
+
, ["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
14998
|
onClick: _cache[0] || (_cache[0] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => pick(), ["stop"])),
|
|
14791
14999
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pick,
|
|
14792
15000
|
type: "primary"
|
|
@@ -15097,6 +15305,8 @@ class ParticleEffectViewModel {
|
|
|
15097
15305
|
}
|
|
15098
15306
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
15099
15307
|
var util_ = __webpack_require__(9519);
|
|
15308
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
15309
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
15100
15310
|
;// 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
15311
|
|
|
15102
15312
|
const _hoisted_1 = {
|
|
@@ -15110,6 +15320,7 @@ const _hoisted_2 = {
|
|
|
15110
15320
|
|
|
15111
15321
|
|
|
15112
15322
|
|
|
15323
|
+
|
|
15113
15324
|
const __default__ = {
|
|
15114
15325
|
name: "Kq3dParticleEffect"
|
|
15115
15326
|
};
|
|
@@ -15183,7 +15394,17 @@ const __default__ = {
|
|
|
15183
15394
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
15184
15395
|
|
|
15185
15396
|
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)();
|
|
15397
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
15398
|
+
|
|
15399
|
+
let {
|
|
15400
|
+
locale,
|
|
15401
|
+
messages
|
|
15402
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
15403
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
15404
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
15405
|
+
language.value = messages.value[newVal]["webgl"];
|
|
15406
|
+
headerTempTitle.value = language.value.particleEffect;
|
|
15407
|
+
});
|
|
15187
15408
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
15188
15409
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
15189
15410
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -15197,7 +15418,6 @@ const __default__ = {
|
|
|
15197
15418
|
|
|
15198
15419
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
15199
15420
|
if (scenceView) {
|
|
15200
|
-
language.value = scenceView._language;
|
|
15201
15421
|
viewModel = new ParticleEffectViewModel(scenceView);
|
|
15202
15422
|
}
|
|
15203
15423
|
});
|
|
@@ -15209,7 +15429,7 @@ const __default__ = {
|
|
|
15209
15429
|
const watchCreateHeaderTemp = () => {
|
|
15210
15430
|
if (props.showHeaderTemp) {
|
|
15211
15431
|
// 生成headerTemp
|
|
15212
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
15432
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
15213
15433
|
}
|
|
15214
15434
|
};
|
|
15215
15435
|
|
|
@@ -16160,6 +16380,8 @@ class PlaneClipViewModel {
|
|
|
16160
16380
|
var client_icons_vue_ = __webpack_require__(348);
|
|
16161
16381
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
16162
16382
|
var util_ = __webpack_require__(9519);
|
|
16383
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
16384
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
16163
16385
|
;// 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
16386
|
|
|
16165
16387
|
const _hoisted_1 = {
|
|
@@ -16182,6 +16404,7 @@ const _hoisted_5 = {
|
|
|
16182
16404
|
|
|
16183
16405
|
|
|
16184
16406
|
|
|
16407
|
+
|
|
16185
16408
|
const __default__ = {
|
|
16186
16409
|
name: "Kq3dPlaneClip"
|
|
16187
16410
|
};
|
|
@@ -16252,7 +16475,17 @@ const __default__ = {
|
|
|
16252
16475
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
16253
16476
|
|
|
16254
16477
|
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)();
|
|
16478
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
16479
|
+
|
|
16480
|
+
let {
|
|
16481
|
+
locale,
|
|
16482
|
+
messages
|
|
16483
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
16484
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
16485
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
16486
|
+
language.value = messages.value[newVal]["webgl"];
|
|
16487
|
+
headerTempTitle.value = language.value.planeClip;
|
|
16488
|
+
});
|
|
16256
16489
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
16257
16490
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
16258
16491
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -16267,7 +16500,6 @@ const __default__ = {
|
|
|
16267
16500
|
|
|
16268
16501
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
16269
16502
|
if (scenceView) {
|
|
16270
|
-
language.value = scenceView._language;
|
|
16271
16503
|
let options = {
|
|
16272
16504
|
tileset: formItem.tileset,
|
|
16273
16505
|
clipType: formItem.clipDirection,
|
|
@@ -16297,7 +16529,7 @@ const __default__ = {
|
|
|
16297
16529
|
const watchCreateHeaderTemp = () => {
|
|
16298
16530
|
if (props.showHeaderTemp) {
|
|
16299
16531
|
// 生成headerTemp
|
|
16300
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
16532
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
16301
16533
|
}
|
|
16302
16534
|
}; // 参数改变
|
|
16303
16535
|
|
|
@@ -16978,6 +17210,12 @@ class ProfileAnalysisViewModel {
|
|
|
16978
17210
|
setCameraHeight(val) {
|
|
16979
17211
|
this._globaOptions.viewModel.cameraHeight = val;
|
|
16980
17212
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
17213
|
+
} // 切换语言
|
|
17214
|
+
|
|
17215
|
+
|
|
17216
|
+
changeLanguage(lang) {
|
|
17217
|
+
this._language = lang;
|
|
17218
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
16981
17219
|
} // 清理剖面分析
|
|
16982
17220
|
|
|
16983
17221
|
|
|
@@ -17030,6 +17268,8 @@ var ProfileAnalysisViewModel = __webpack_require__(6132);
|
|
|
17030
17268
|
var client_icons_vue_ = __webpack_require__(348);
|
|
17031
17269
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
17032
17270
|
var util_ = __webpack_require__(9519);
|
|
17271
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
17272
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
17033
17273
|
;// 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
17274
|
|
|
17035
17275
|
const _hoisted_1 = {
|
|
@@ -17050,6 +17290,7 @@ const _hoisted_4 = {
|
|
|
17050
17290
|
|
|
17051
17291
|
|
|
17052
17292
|
|
|
17293
|
+
|
|
17053
17294
|
const __default__ = {
|
|
17054
17295
|
name: "Kq3dProfileAnalysis"
|
|
17055
17296
|
};
|
|
@@ -17139,7 +17380,18 @@ const __default__ = {
|
|
|
17139
17380
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
17140
17381
|
|
|
17141
17382
|
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)();
|
|
17383
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
17384
|
+
|
|
17385
|
+
let {
|
|
17386
|
+
locale,
|
|
17387
|
+
messages
|
|
17388
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
17389
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
17390
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
17391
|
+
language.value = messages.value[newVal]["webgl"];
|
|
17392
|
+
headerTempTitle.value = language.value.profileAnalysis;
|
|
17393
|
+
viewModel && viewModel.changeLanguage(language.value);
|
|
17394
|
+
});
|
|
17143
17395
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
17144
17396
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
17145
17397
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -17151,7 +17403,6 @@ const __default__ = {
|
|
|
17151
17403
|
});
|
|
17152
17404
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
17153
17405
|
if (scenceView) {
|
|
17154
|
-
language.value = scenceView._language;
|
|
17155
17406
|
viewModel = new ProfileAnalysisViewModel/* default */.Z(scenceView, {
|
|
17156
17407
|
perspectiveAngle: formItem.perspectiveAngle,
|
|
17157
17408
|
// 透视角度
|
|
@@ -17176,7 +17427,7 @@ const __default__ = {
|
|
|
17176
17427
|
const watchCreateHeaderTemp = () => {
|
|
17177
17428
|
if (props.showHeaderTemp) {
|
|
17178
17429
|
// 生成headerTemp
|
|
17179
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
17430
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
17180
17431
|
}
|
|
17181
17432
|
}; // 开始分析
|
|
17182
17433
|
|
|
@@ -17640,11 +17891,14 @@ var icons_vue_ = __webpack_require__(8422);
|
|
|
17640
17891
|
var ResetViewViewModel = __webpack_require__(2242);
|
|
17641
17892
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
17642
17893
|
var gis_utils_ = __webpack_require__(826);
|
|
17894
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
17895
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
17643
17896
|
;// 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
17897
|
|
|
17645
17898
|
|
|
17646
17899
|
|
|
17647
17900
|
|
|
17901
|
+
|
|
17648
17902
|
// 获取组件传参
|
|
17649
17903
|
|
|
17650
17904
|
const __default__ = {
|
|
@@ -17674,11 +17928,18 @@ const __default__ = {
|
|
|
17674
17928
|
const props = __props;
|
|
17675
17929
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
17676
17930
|
let viewModel = null;
|
|
17677
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
17931
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
17932
|
+
|
|
17933
|
+
let {
|
|
17934
|
+
locale,
|
|
17935
|
+
messages
|
|
17936
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
17937
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
17938
|
+
language.value = messages.value[newVal]["webgl"];
|
|
17939
|
+
});
|
|
17678
17940
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
17679
17941
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
17680
17942
|
if (scenceView) {
|
|
17681
|
-
language.value = scenceView._language;
|
|
17682
17943
|
viewModel = new ResetViewViewModel/* default */.Z(scenceView._viewer);
|
|
17683
17944
|
}
|
|
17684
17945
|
});
|
|
@@ -17983,6 +18244,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
17983
18244
|
var RollerViewModel = __webpack_require__(6561);
|
|
17984
18245
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
17985
18246
|
var util_ = __webpack_require__(9519);
|
|
18247
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
18248
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
17986
18249
|
;// 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
18250
|
|
|
17988
18251
|
const _hoisted_1 = {
|
|
@@ -17996,6 +18259,7 @@ const _hoisted_2 = {
|
|
|
17996
18259
|
|
|
17997
18260
|
|
|
17998
18261
|
|
|
18262
|
+
|
|
17999
18263
|
const __default__ = {
|
|
18000
18264
|
name: "Kq3dRoller"
|
|
18001
18265
|
};
|
|
@@ -18060,7 +18324,17 @@ const __default__ = {
|
|
|
18060
18324
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
18061
18325
|
|
|
18062
18326
|
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)();
|
|
18327
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
18328
|
+
|
|
18329
|
+
let {
|
|
18330
|
+
locale,
|
|
18331
|
+
messages
|
|
18332
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
18333
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
18334
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
18335
|
+
language.value = messages.value[newVal]["webgl"];
|
|
18336
|
+
headerTempTitle.value = language.value.roller;
|
|
18337
|
+
});
|
|
18064
18338
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
18065
18339
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
18066
18340
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -18072,7 +18346,6 @@ const __default__ = {
|
|
|
18072
18346
|
});
|
|
18073
18347
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
18074
18348
|
if (scenceView) {
|
|
18075
|
-
language.value = scenceView._language;
|
|
18076
18349
|
let options = {
|
|
18077
18350
|
layers: layers
|
|
18078
18351
|
};
|
|
@@ -18087,7 +18360,7 @@ const __default__ = {
|
|
|
18087
18360
|
const watchCreateHeaderTemp = () => {
|
|
18088
18361
|
if (props.showHeaderTemp) {
|
|
18089
18362
|
// 生成headerTemp
|
|
18090
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
18363
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
18091
18364
|
}
|
|
18092
18365
|
}; // 切换模式
|
|
18093
18366
|
|
|
@@ -18529,6 +18802,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
18529
18802
|
var ScreenshotViewModel = __webpack_require__(1248);
|
|
18530
18803
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
18531
18804
|
var util_ = __webpack_require__(9519);
|
|
18805
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
18806
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
18532
18807
|
;// 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
18808
|
|
|
18534
18809
|
const _hoisted_1 = {
|
|
@@ -18541,6 +18816,7 @@ const _hoisted_2 = {
|
|
|
18541
18816
|
|
|
18542
18817
|
|
|
18543
18818
|
|
|
18819
|
+
|
|
18544
18820
|
// 场景宽度
|
|
18545
18821
|
|
|
18546
18822
|
const __default__ = {
|
|
@@ -18622,7 +18898,17 @@ const __default__ = {
|
|
|
18622
18898
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
18623
18899
|
|
|
18624
18900
|
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)();
|
|
18901
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
18902
|
+
|
|
18903
|
+
let {
|
|
18904
|
+
locale,
|
|
18905
|
+
messages
|
|
18906
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
18907
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
18908
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
18909
|
+
language.value = messages.value[newVal]["webgl"];
|
|
18910
|
+
headerTempTitle.value = language.value.screenshot;
|
|
18911
|
+
});
|
|
18626
18912
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
18627
18913
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
18628
18914
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -18634,7 +18920,6 @@ const __default__ = {
|
|
|
18634
18920
|
});
|
|
18635
18921
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
18636
18922
|
if (scenceView) {
|
|
18637
|
-
language.value = scenceView._language;
|
|
18638
18923
|
var canvas = scenceView._viewer.scene.canvas;
|
|
18639
18924
|
imgWidthMax.value = canvas.width;
|
|
18640
18925
|
imgHeightMax.value = canvas.height;
|
|
@@ -18651,7 +18936,7 @@ const __default__ = {
|
|
|
18651
18936
|
const watchCreateHeaderTemp = () => {
|
|
18652
18937
|
if (props.showHeaderTemp) {
|
|
18653
18938
|
// 生成headerTemp
|
|
18654
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
18939
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
18655
18940
|
}
|
|
18656
18941
|
}; // 场景出图
|
|
18657
18942
|
|
|
@@ -19188,6 +19473,8 @@ var const_image_ = __webpack_require__(9702);
|
|
|
19188
19473
|
var client_icons_vue_ = __webpack_require__(348);
|
|
19189
19474
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
19190
19475
|
var util_ = __webpack_require__(9519);
|
|
19476
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
19477
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
19191
19478
|
;// 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
19479
|
|
|
19193
19480
|
const _hoisted_1 = {
|
|
@@ -19219,6 +19506,7 @@ const _hoisted_7 = {
|
|
|
19219
19506
|
|
|
19220
19507
|
|
|
19221
19508
|
|
|
19509
|
+
|
|
19222
19510
|
const __default__ = {
|
|
19223
19511
|
name: "Kq3dShadowAnalysis"
|
|
19224
19512
|
};
|
|
@@ -19356,7 +19644,18 @@ const __default__ = {
|
|
|
19356
19644
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
19357
19645
|
|
|
19358
19646
|
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)();
|
|
19647
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
19648
|
+
|
|
19649
|
+
let {
|
|
19650
|
+
locale,
|
|
19651
|
+
messages
|
|
19652
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
19653
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
19654
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
19655
|
+
language.value = messages.value[newVal]["webgl"];
|
|
19656
|
+
headerTempTitle.value = language.value.shadowAnalysis;
|
|
19657
|
+
currentLang.value = newVal;
|
|
19658
|
+
});
|
|
19360
19659
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
19361
19660
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
19362
19661
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -19367,11 +19666,8 @@ const __default__ = {
|
|
|
19367
19666
|
watchCreateHeaderTemp();
|
|
19368
19667
|
});
|
|
19369
19668
|
time.value = [formItem.startTime, formItem.endTime];
|
|
19370
|
-
currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
|
|
19371
|
-
|
|
19372
19669
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
19373
19670
|
if (scenceView) {
|
|
19374
|
-
language.value = scenceView._language;
|
|
19375
19671
|
viewModel = new ShadowAnalysisViewModel(scenceView, {
|
|
19376
19672
|
showVoxel: formItem.showBuilding,
|
|
19377
19673
|
// 显示体素
|
|
@@ -19405,7 +19701,7 @@ const __default__ = {
|
|
|
19405
19701
|
const watchCreateHeaderTemp = () => {
|
|
19406
19702
|
if (props.showHeaderTemp) {
|
|
19407
19703
|
// 生成headerTemp
|
|
19408
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
19704
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
19409
19705
|
}
|
|
19410
19706
|
}; // 获取当前日期
|
|
19411
19707
|
|
|
@@ -20414,6 +20710,8 @@ class SightlineAnalysisViewModel {
|
|
|
20414
20710
|
var client_icons_vue_ = __webpack_require__(348);
|
|
20415
20711
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
20416
20712
|
var util_ = __webpack_require__(9519);
|
|
20713
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
20714
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
20417
20715
|
;// 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
20716
|
|
|
20419
20717
|
const _hoisted_1 = {
|
|
@@ -20427,6 +20725,7 @@ const _hoisted_2 = {
|
|
|
20427
20725
|
|
|
20428
20726
|
|
|
20429
20727
|
|
|
20728
|
+
|
|
20430
20729
|
const __default__ = {
|
|
20431
20730
|
name: "Kq3dSightlineAnalysis"
|
|
20432
20731
|
};
|
|
@@ -20493,7 +20792,17 @@ const __default__ = {
|
|
|
20493
20792
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
20494
20793
|
|
|
20495
20794
|
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)();
|
|
20795
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
20796
|
+
|
|
20797
|
+
let {
|
|
20798
|
+
locale,
|
|
20799
|
+
messages
|
|
20800
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
20801
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
20802
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
20803
|
+
language.value = messages.value[newVal]["webgl"];
|
|
20804
|
+
headerTempTitle.value = language.value.sightlineAnalysis;
|
|
20805
|
+
});
|
|
20497
20806
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
20498
20807
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
20499
20808
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -20506,7 +20815,6 @@ const __default__ = {
|
|
|
20506
20815
|
|
|
20507
20816
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
20508
20817
|
if (scenceView) {
|
|
20509
|
-
language.value = scenceView._language;
|
|
20510
20818
|
let options = {
|
|
20511
20819
|
lineWidth: formItem.lineWidth,
|
|
20512
20820
|
visibleColor: formItem.visibleColor,
|
|
@@ -20525,7 +20833,7 @@ const __default__ = {
|
|
|
20525
20833
|
const watchCreateHeaderTemp = () => {
|
|
20526
20834
|
if (props.showHeaderTemp) {
|
|
20527
20835
|
// 生成headerTemp
|
|
20528
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
20836
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
20529
20837
|
}
|
|
20530
20838
|
};
|
|
20531
20839
|
|
|
@@ -20832,7 +21140,7 @@ class SkylineAnalysisViewModel {
|
|
|
20832
21140
|
* @param {*} viewer 三维对象
|
|
20833
21141
|
* @param {*} option 天际线分析参数对象
|
|
20834
21142
|
*/
|
|
20835
|
-
constructor(viewer, option) {
|
|
21143
|
+
constructor(viewer, option, chartStyle) {
|
|
20836
21144
|
(0,defineProperty/* default */.Z)(this, "_skylineAnalysis", null);
|
|
20837
21145
|
|
|
20838
21146
|
(0,defineProperty/* default */.Z)(this, "_skylineAnalysisChart", null);
|
|
@@ -20843,6 +21151,9 @@ class SkylineAnalysisViewModel {
|
|
|
20843
21151
|
|
|
20844
21152
|
(0,defineProperty/* default */.Z)(this, "_showLimitHeightBody", null);
|
|
20845
21153
|
|
|
21154
|
+
(0,defineProperty/* default */.Z)(this, "_chartStyle", null);
|
|
21155
|
+
|
|
21156
|
+
this._chartStyle = chartStyle;
|
|
20846
21157
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
20847
21158
|
|
|
20848
21159
|
viewer.scene.postProcessStages._fxaa.enabled = true; // 创建分析参数对象
|
|
@@ -20942,16 +21253,25 @@ class SkylineAnalysisViewModel {
|
|
|
20942
21253
|
|
|
20943
21254
|
|
|
20944
21255
|
setSkyline2D() {
|
|
21256
|
+
let chartStyle = this._chartStyle;
|
|
20945
21257
|
if (!this._skylineAnalysis) return;
|
|
20946
21258
|
|
|
20947
21259
|
var data = this._skylineAnalysis.updateBuffer();
|
|
20948
21260
|
|
|
20949
21261
|
var option = {
|
|
20950
21262
|
title: {
|
|
20951
|
-
text: this._skylineAnalysisChartTitle
|
|
21263
|
+
text: this._skylineAnalysisChartTitle,
|
|
21264
|
+
textStyle: {
|
|
21265
|
+
color: chartStyle.textColor
|
|
21266
|
+
}
|
|
20952
21267
|
},
|
|
20953
21268
|
tooltip: {
|
|
20954
|
-
trigger: "axis"
|
|
21269
|
+
trigger: "axis",
|
|
21270
|
+
backgroundColor: chartStyle.backgroundColor,
|
|
21271
|
+
borderWidth: 0,
|
|
21272
|
+
textStyle: {
|
|
21273
|
+
color: chartStyle.textColor
|
|
21274
|
+
}
|
|
20955
21275
|
},
|
|
20956
21276
|
grid: {
|
|
20957
21277
|
containLabel: true,
|
|
@@ -20970,7 +21290,10 @@ class SkylineAnalysisViewModel {
|
|
|
20970
21290
|
yAxis: [{
|
|
20971
21291
|
type: "value",
|
|
20972
21292
|
min: 0,
|
|
20973
|
-
max: 1
|
|
21293
|
+
max: 1,
|
|
21294
|
+
axisLabel: {
|
|
21295
|
+
color: chartStyle.textColor
|
|
21296
|
+
}
|
|
20974
21297
|
}],
|
|
20975
21298
|
series: [{
|
|
20976
21299
|
name: "",
|
|
@@ -20980,6 +21303,37 @@ class SkylineAnalysisViewModel {
|
|
|
20980
21303
|
};
|
|
20981
21304
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
20982
21305
|
}
|
|
21306
|
+
/**
|
|
21307
|
+
* 设置echarts图表样式
|
|
21308
|
+
*/
|
|
21309
|
+
|
|
21310
|
+
|
|
21311
|
+
setChartStyle(style) {
|
|
21312
|
+
this._chartStyle = style;
|
|
21313
|
+
|
|
21314
|
+
if (this._skylineAnalysisChart) {
|
|
21315
|
+
let option = this._skylineAnalysisChart.getOption();
|
|
21316
|
+
|
|
21317
|
+
option.title[0].textStyle.color = style.textColor;
|
|
21318
|
+
option.tooltip[0].backgroundColor = style.backgroundColor;
|
|
21319
|
+
option.tooltip[0].textStyle.color = style.textColor;
|
|
21320
|
+
option.yAxis[0].axisLabel.color = style.textColor;
|
|
21321
|
+
|
|
21322
|
+
this._skylineAnalysisChart.setOption(option);
|
|
21323
|
+
}
|
|
21324
|
+
}
|
|
21325
|
+
|
|
21326
|
+
setChartTitle(title) {
|
|
21327
|
+
this._skylineAnalysisChartTitle = title;
|
|
21328
|
+
|
|
21329
|
+
if (this._skylineAnalysisChart) {
|
|
21330
|
+
let option = this._skylineAnalysisChart.getOption();
|
|
21331
|
+
|
|
21332
|
+
option.title[0].text = title;
|
|
21333
|
+
|
|
21334
|
+
this._skylineAnalysisChart.setOption(option);
|
|
21335
|
+
}
|
|
21336
|
+
}
|
|
20983
21337
|
/**
|
|
20984
21338
|
* 清除限高体
|
|
20985
21339
|
*/
|
|
@@ -20991,9 +21345,8 @@ class SkylineAnalysisViewModel {
|
|
|
20991
21345
|
if (this._skylineAnalysis && !this._skylineAnalysis.isDestroyed()) {
|
|
20992
21346
|
this._skylineAnalysis.removeAlllimitHeights();
|
|
20993
21347
|
|
|
20994
|
-
this._skylineAnalysis.removeAllFaces();
|
|
21348
|
+
this._skylineAnalysis.removeAllFaces(); // this._skylineAnalysis.removeGeoJsonDataSource();
|
|
20995
21349
|
|
|
20996
|
-
this._skylineAnalysis.removeGeoJsonDataSource();
|
|
20997
21350
|
|
|
20998
21351
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
20999
21352
|
}
|
|
@@ -21074,7 +21427,7 @@ class SkylineAnalysisViewModel {
|
|
|
21074
21427
|
}
|
|
21075
21428
|
}
|
|
21076
21429
|
/**
|
|
21077
|
-
*
|
|
21430
|
+
* 销毁
|
|
21078
21431
|
*/
|
|
21079
21432
|
|
|
21080
21433
|
|
|
@@ -21093,6 +21446,8 @@ class SkylineAnalysisViewModel {
|
|
|
21093
21446
|
var client_icons_vue_ = __webpack_require__(348);
|
|
21094
21447
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
21095
21448
|
var util_ = __webpack_require__(9519);
|
|
21449
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
21450
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
21096
21451
|
;// CONCATENATED MODULE: external "echarts"
|
|
21097
21452
|
var external_echarts_namespaceObject = require("echarts");
|
|
21098
21453
|
;// 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 +21471,7 @@ const _hoisted_4 = {
|
|
|
21116
21471
|
|
|
21117
21472
|
|
|
21118
21473
|
|
|
21474
|
+
|
|
21119
21475
|
// 语言
|
|
21120
21476
|
|
|
21121
21477
|
const __default__ = {
|
|
@@ -21199,7 +21555,18 @@ const __default__ = {
|
|
|
21199
21555
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
21200
21556
|
|
|
21201
21557
|
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)();
|
|
21558
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
21559
|
+
|
|
21560
|
+
let {
|
|
21561
|
+
locale,
|
|
21562
|
+
messages
|
|
21563
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
21564
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
21565
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
21566
|
+
language.value = messages.value[newVal]["webgl"];
|
|
21567
|
+
headerTempTitle.value = language.value.skylineAnalysis;
|
|
21568
|
+
viewModel && viewModel.setChartTitle(language.value["skylineAnalysisChartTitle"]);
|
|
21569
|
+
});
|
|
21203
21570
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
21204
21571
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
21205
21572
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -21211,26 +21578,56 @@ const __default__ = {
|
|
|
21211
21578
|
});
|
|
21212
21579
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
21213
21580
|
if (scenceView) {
|
|
21214
|
-
language.value = scenceView._language;
|
|
21215
21581
|
viewModel = new SkylineAnalysisViewModel(scenceView._viewer, {
|
|
21216
21582
|
skylineColor: formItem.skylineColor || "#E6A23C",
|
|
21217
|
-
skylineRadius: formItem.skylineRadius ||
|
|
21583
|
+
skylineRadius: formItem.skylineRadius || 2000,
|
|
21218
21584
|
limitHeightBodyColor: formItem.limitHeightBodyColor || "#67C23A",
|
|
21219
21585
|
limitHeightBodyAlpha: formItem.limitHeightBodyAlpha || 0.7,
|
|
21220
21586
|
skylineWidth: formItem.skylineWidth || 2
|
|
21221
|
-
},
|
|
21222
|
-
viewModel._skylineAnalysisChartTitle =
|
|
21587
|
+
}, setEchartsColor());
|
|
21588
|
+
viewModel._skylineAnalysisChartTitle = scenceView._language["skylineAnalysisChartTitle"];
|
|
21223
21589
|
}
|
|
21224
21590
|
});
|
|
21225
|
-
});
|
|
21591
|
+
}); // 监听主题变化,重置Echarts
|
|
21592
|
+
|
|
21593
|
+
const observer = new MutationObserver(mutationsList => {
|
|
21594
|
+
for (let mutation of mutationsList) {
|
|
21595
|
+
if (mutation.type === "attributes" && mutation.attributeName === "class") {
|
|
21596
|
+
let style = setEchartsColor();
|
|
21597
|
+
viewModel.setChartStyle(style);
|
|
21598
|
+
}
|
|
21599
|
+
}
|
|
21600
|
+
}); // 配置要观察的目标节点及其属性
|
|
21601
|
+
|
|
21602
|
+
const targetNode = document.querySelector("html");
|
|
21603
|
+
const config = {
|
|
21604
|
+
attributes: true
|
|
21605
|
+
};
|
|
21606
|
+
observer.observe(targetNode, config);
|
|
21607
|
+
|
|
21608
|
+
const setEchartsColor = () => {
|
|
21609
|
+
let style = {};
|
|
21610
|
+
let themeStyle = window.getComputedStyle(document.documentElement).getPropertyValue("color-scheme");
|
|
21611
|
+
|
|
21612
|
+
if (themeStyle === "dark") {
|
|
21613
|
+
style.textColor = "#fff";
|
|
21614
|
+
style.backgroundColor = "#2A2A2A";
|
|
21615
|
+
} else {
|
|
21616
|
+
style.textColor = "#333";
|
|
21617
|
+
style.backgroundColor = "#ffffff";
|
|
21618
|
+
}
|
|
21619
|
+
|
|
21620
|
+
return style;
|
|
21621
|
+
};
|
|
21226
21622
|
/**
|
|
21227
21623
|
* @description 监听header生成
|
|
21228
21624
|
*/
|
|
21229
21625
|
|
|
21626
|
+
|
|
21230
21627
|
const watchCreateHeaderTemp = () => {
|
|
21231
21628
|
if (props.showHeaderTemp) {
|
|
21232
21629
|
// 生成headerTemp
|
|
21233
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
21630
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
21234
21631
|
}
|
|
21235
21632
|
}; // 提取天际线
|
|
21236
21633
|
|
|
@@ -21921,6 +22318,8 @@ class SlopeAnalysisViewModel {
|
|
|
21921
22318
|
var client_icons_vue_ = __webpack_require__(348);
|
|
21922
22319
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
21923
22320
|
var util_ = __webpack_require__(9519);
|
|
22321
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
22322
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
21924
22323
|
;// 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
22324
|
|
|
21926
22325
|
const _hoisted_1 = {
|
|
@@ -21963,6 +22362,7 @@ const _hoisted_10 = {
|
|
|
21963
22362
|
|
|
21964
22363
|
|
|
21965
22364
|
|
|
22365
|
+
|
|
21966
22366
|
const __default__ = {
|
|
21967
22367
|
name: "Kq3dSlopeAnalysis"
|
|
21968
22368
|
};
|
|
@@ -22066,7 +22466,17 @@ const __default__ = {
|
|
|
22066
22466
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
22067
22467
|
|
|
22068
22468
|
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)();
|
|
22469
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
22470
|
+
|
|
22471
|
+
let {
|
|
22472
|
+
locale,
|
|
22473
|
+
messages
|
|
22474
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
22475
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
22476
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
22477
|
+
language.value = messages.value[newVal]["webgl"];
|
|
22478
|
+
headerTempTitle.value = language.value.slopeAnalysis;
|
|
22479
|
+
});
|
|
22070
22480
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
22071
22481
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
22072
22482
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -22080,7 +22490,6 @@ const __default__ = {
|
|
|
22080
22490
|
|
|
22081
22491
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
22082
22492
|
if (scenceView) {
|
|
22083
|
-
language.value = scenceView._language;
|
|
22084
22493
|
refactorArr();
|
|
22085
22494
|
viewModel = new SlopeAnalysisViewModel(scenceView, formItem); // var imageUrl = getImagePath(formItem.colorImage);
|
|
22086
22495
|
// viewModel.setColorImage(imageUrl);
|
|
@@ -22094,7 +22503,7 @@ const __default__ = {
|
|
|
22094
22503
|
const watchCreateHeaderTemp = () => {
|
|
22095
22504
|
if (props.showHeaderTemp) {
|
|
22096
22505
|
// 生成headerTemp
|
|
22097
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
22506
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
22098
22507
|
}
|
|
22099
22508
|
}; // 刷新自定义样式数组
|
|
22100
22509
|
|
|
@@ -22748,9 +23157,13 @@ SlopeAnalysis.install = (Vue, opts) => {
|
|
|
22748
23157
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22749
23158
|
/* harmony export */ "Z": function() { return /* binding */ StatusBarViewModel; }
|
|
22750
23159
|
/* harmony export */ });
|
|
23160
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
23161
|
+
|
|
22751
23162
|
// 地图状态栏逻辑类
|
|
22752
23163
|
class StatusBarViewModel {
|
|
22753
23164
|
constructor(viewer, options) {
|
|
23165
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
23166
|
+
|
|
22754
23167
|
viewer.statusBar.show = true;
|
|
22755
23168
|
viewer.statusBar.readyPromise.then(() => {
|
|
22756
23169
|
// viewer.statusBar.container.style.bottom = "16px";
|
|
@@ -22780,13 +23193,63 @@ class StatusBarViewModel {
|
|
|
22780
23193
|
viewer.statusBar.setCopyrightText(options.copyrightText);
|
|
22781
23194
|
}
|
|
22782
23195
|
});
|
|
23196
|
+
this._viewer = viewer;
|
|
23197
|
+
}
|
|
23198
|
+
|
|
23199
|
+
changeLanguage(lang) {
|
|
23200
|
+
var that = this;
|
|
23201
|
+
|
|
23202
|
+
if (that._viewer.statusBar._ready) {
|
|
23203
|
+
var originLanguage = that._viewer.statusBar._curLanguage;
|
|
23204
|
+
var language = new Cesium.Languages({
|
|
23205
|
+
languageStyle: lang == 'zh' ? 'zh-cn' : 'en'
|
|
23206
|
+
});
|
|
23207
|
+
language.readyPromise.then(function () {
|
|
23208
|
+
//loaded success
|
|
23209
|
+
that._viewer._language = language;
|
|
23210
|
+
var langContent = language.content;
|
|
23211
|
+
|
|
23212
|
+
if (langContent) {
|
|
23213
|
+
that._viewer.statusBar._curLanguage = {
|
|
23214
|
+
mUnit: langContent.mUnit,
|
|
23215
|
+
kmUnit: langContent.kmUnit,
|
|
23216
|
+
sqkmUnit: langContent.sqkmUnit,
|
|
23217
|
+
sqmUnit: langContent.sqmUnit,
|
|
23218
|
+
N: langContent.N,
|
|
23219
|
+
S: langContent.S,
|
|
23220
|
+
E: langContent.E,
|
|
23221
|
+
W: langContent.W,
|
|
23222
|
+
du: langContent.du,
|
|
23223
|
+
fen: langContent.fen,
|
|
23224
|
+
miao: langContent.miao,
|
|
23225
|
+
elevation: langContent.elevation,
|
|
23226
|
+
eyeAltitude: langContent.eyeAltitude,
|
|
23227
|
+
copyright: langContent.copyright,
|
|
23228
|
+
scale: langContent.scale
|
|
23229
|
+
};
|
|
23230
|
+
var id = that._viewer.statusBar._id; // 比例尺控件
|
|
23231
|
+
|
|
23232
|
+
html = document.getElementById(id + '_ScaleBarTxt').innerHTML;
|
|
23233
|
+
document.getElementById(id + '_ScaleBarTxt').innerHTML = html.replace(originLanguage.scale, langContent.scale); // 比例尺
|
|
23234
|
+
|
|
23235
|
+
html = document.getElementById(id + '_ScaleTxt').innerHTML;
|
|
23236
|
+
document.getElementById(id + '_ScaleTxt').innerHTMLhtml = html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit); // 视点高
|
|
23237
|
+
|
|
23238
|
+
html = document.getElementById(id + '_CoordEyeAlt').innerHTML;
|
|
23239
|
+
document.getElementById(id + '_CoordEyeAlt').innerHTML = html.replace(originLanguage.eyeAltitude, langContent.eyeAltitude).replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit); // 高度
|
|
23240
|
+
|
|
23241
|
+
var html = document.getElementById(id + '_CoordHeight').innerHTML;
|
|
23242
|
+
document.getElementById(id + '_CoordHeight').innerHTML = html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit);
|
|
23243
|
+
}
|
|
23244
|
+
});
|
|
23245
|
+
}
|
|
22783
23246
|
}
|
|
22784
23247
|
|
|
22785
23248
|
}
|
|
22786
23249
|
|
|
22787
23250
|
/***/ }),
|
|
22788
23251
|
|
|
22789
|
-
/***/
|
|
23252
|
+
/***/ 4388:
|
|
22790
23253
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
22791
23254
|
|
|
22792
23255
|
|
|
@@ -22803,10 +23266,13 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
22803
23266
|
var gis_utils_ = __webpack_require__(826);
|
|
22804
23267
|
// EXTERNAL MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
|
|
22805
23268
|
var StatusBarViewModel = __webpack_require__(6311);
|
|
23269
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
23270
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
22806
23271
|
;// 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
23272
|
|
|
22808
23273
|
|
|
22809
23274
|
|
|
23275
|
+
|
|
22810
23276
|
/**
|
|
22811
23277
|
* 支持传入属性:
|
|
22812
23278
|
* hideResolution - 隐藏分辨率
|
|
@@ -22841,7 +23307,14 @@ const __default__ = {
|
|
|
22841
23307
|
|
|
22842
23308
|
setup(__props) {
|
|
22843
23309
|
const props = __props;
|
|
22844
|
-
let viewModel = null;
|
|
23310
|
+
let viewModel = null; // 国际化
|
|
23311
|
+
|
|
23312
|
+
let {
|
|
23313
|
+
locale
|
|
23314
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
23315
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
23316
|
+
viewModel && viewModel.changeLanguage(newVal);
|
|
23317
|
+
});
|
|
22845
23318
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
22846
23319
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
22847
23320
|
if (scenceView) {
|
|
@@ -22860,9 +23333,9 @@ const __default__ = {
|
|
|
22860
23333
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
22861
23334
|
var injectStylesIntoStyleTag = __webpack_require__(3379);
|
|
22862
23335
|
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=
|
|
23336
|
+
// 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
|
|
23337
|
+
var StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss = __webpack_require__(6854);
|
|
23338
|
+
;// 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
23339
|
|
|
22867
23340
|
|
|
22868
23341
|
|
|
@@ -22871,12 +23344,12 @@ var options = {};
|
|
|
22871
23344
|
options.insert = "head";
|
|
22872
23345
|
options.singleton = false;
|
|
22873
23346
|
|
|
22874
|
-
var update = injectStylesIntoStyleTag_default()(
|
|
23347
|
+
var update = injectStylesIntoStyleTag_default()(StatusBarvue_type_style_index_0_id_f2dabb7e_lang_scss/* default */.Z, options);
|
|
22875
23348
|
|
|
22876
23349
|
|
|
22877
23350
|
|
|
22878
|
-
/* harmony default export */ var
|
|
22879
|
-
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
23351
|
+
/* 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 || {});
|
|
23352
|
+
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=f2dabb7e&lang=scss
|
|
22880
23353
|
|
|
22881
23354
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue
|
|
22882
23355
|
|
|
@@ -23144,6 +23617,8 @@ class TerrainOperationViewModel {
|
|
|
23144
23617
|
var client_icons_vue_ = __webpack_require__(348);
|
|
23145
23618
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
23146
23619
|
var util_ = __webpack_require__(9519);
|
|
23620
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
23621
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
23147
23622
|
;// 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
23623
|
|
|
23149
23624
|
const _hoisted_1 = {
|
|
@@ -23160,6 +23635,7 @@ const _hoisted_3 = {
|
|
|
23160
23635
|
|
|
23161
23636
|
|
|
23162
23637
|
|
|
23638
|
+
|
|
23163
23639
|
const __default__ = {
|
|
23164
23640
|
name: "Kq3dTerrainOperation"
|
|
23165
23641
|
};
|
|
@@ -23235,7 +23711,17 @@ const __default__ = {
|
|
|
23235
23711
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
23236
23712
|
|
|
23237
23713
|
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)();
|
|
23714
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
23715
|
+
|
|
23716
|
+
let {
|
|
23717
|
+
locale,
|
|
23718
|
+
messages
|
|
23719
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
23720
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
23721
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
23722
|
+
language.value = messages.value[newVal]["webgl"];
|
|
23723
|
+
headerTempTitle.value = language.value.terrainOperation;
|
|
23724
|
+
});
|
|
23239
23725
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23240
23726
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
23241
23727
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -23253,7 +23739,6 @@ const __default__ = {
|
|
|
23253
23739
|
formItem.terrainStyle = props.operationMode;
|
|
23254
23740
|
}
|
|
23255
23741
|
|
|
23256
|
-
language.value = scenceView._language;
|
|
23257
23742
|
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
23258
23743
|
terrainStyle: formItem.terrainStyle,
|
|
23259
23744
|
excavationDepth: formItem.excavationDepth
|
|
@@ -23268,7 +23753,7 @@ const __default__ = {
|
|
|
23268
23753
|
const watchCreateHeaderTemp = () => {
|
|
23269
23754
|
if (props.showHeaderTemp) {
|
|
23270
23755
|
// 生成headerTemp
|
|
23271
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
23756
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
23272
23757
|
}
|
|
23273
23758
|
}; // 改变样式
|
|
23274
23759
|
|
|
@@ -23571,6 +24056,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
23571
24056
|
var UndergroundViewModel = __webpack_require__(7656);
|
|
23572
24057
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
23573
24058
|
var util_ = __webpack_require__(9519);
|
|
24059
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
24060
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
23574
24061
|
;// 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
24062
|
|
|
23576
24063
|
const _hoisted_1 = {
|
|
@@ -23580,6 +24067,7 @@ const _hoisted_1 = {
|
|
|
23580
24067
|
|
|
23581
24068
|
|
|
23582
24069
|
|
|
24070
|
+
|
|
23583
24071
|
const __default__ = {
|
|
23584
24072
|
name: "kq3dUnderground"
|
|
23585
24073
|
};
|
|
@@ -23603,10 +24091,17 @@ const __default__ = {
|
|
|
23603
24091
|
|
|
23604
24092
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
23605
24093
|
let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
23606
|
-
let viewer = null;
|
|
23607
24094
|
let viewModel = null; // 组件容器Ref
|
|
23608
24095
|
|
|
23609
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
24096
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
24097
|
+
|
|
24098
|
+
let {
|
|
24099
|
+
locale,
|
|
24100
|
+
messages
|
|
24101
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
24102
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
24103
|
+
language.value = messages.value[newVal]["webgl"];
|
|
24104
|
+
});
|
|
23610
24105
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23611
24106
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
23612
24107
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -23614,9 +24109,7 @@ const __default__ = {
|
|
|
23614
24109
|
});
|
|
23615
24110
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
23616
24111
|
if (scenceView) {
|
|
23617
|
-
|
|
23618
|
-
language.value = scenceView._language;
|
|
23619
|
-
viewModel = new UndergroundViewModel/* default */.Z(viewer);
|
|
24112
|
+
viewModel = new UndergroundViewModel/* default */.Z(scenceView._viewer);
|
|
23620
24113
|
}
|
|
23621
24114
|
});
|
|
23622
24115
|
}); // 地下模式点击事件
|
|
@@ -23699,26 +24192,49 @@ Underground.install = (Vue, opts) => {
|
|
|
23699
24192
|
|
|
23700
24193
|
/***/ }),
|
|
23701
24194
|
|
|
23702
|
-
/***/
|
|
24195
|
+
/***/ 2612:
|
|
23703
24196
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
23704
24197
|
|
|
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
24198
|
|
|
23710
|
-
|
|
24199
|
+
// EXPORTS
|
|
24200
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
24201
|
+
"default": function() { return /* reexport */ ViewshedAnalysis; }
|
|
24202
|
+
});
|
|
24203
|
+
|
|
24204
|
+
// UNUSED EXPORTS: ViewshedAnalysisViewModel
|
|
24205
|
+
|
|
24206
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
24207
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
24208
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
24209
|
+
var gis_utils_ = __webpack_require__(826);
|
|
24210
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
24211
|
+
var defineProperty = __webpack_require__(8270);
|
|
24212
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
24213
|
+
var const_image_ = __webpack_require__(9702);
|
|
24214
|
+
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
|
|
24215
|
+
|
|
24216
|
+
//可视域分析逻辑类
|
|
24217
|
+
|
|
23711
24218
|
class ViewshedAnalysisViewModel {
|
|
23712
24219
|
//可视域分析三维对象
|
|
23713
24220
|
//三维场景对象
|
|
23714
24221
|
//可视域分析存储参数对象
|
|
24222
|
+
//可视域分析初始点图标
|
|
24223
|
+
//可视域分析初始点坐标
|
|
23715
24224
|
constructor(scenceView, options) {
|
|
23716
|
-
(0,
|
|
24225
|
+
(0,defineProperty/* default */.Z)(this, "_viewshedAnalysis", null);
|
|
23717
24226
|
|
|
23718
|
-
(0,
|
|
24227
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
23719
24228
|
|
|
23720
|
-
(0,
|
|
24229
|
+
(0,defineProperty/* default */.Z)(this, "_scene", null);
|
|
24230
|
+
|
|
24231
|
+
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
24232
|
+
|
|
24233
|
+
(0,defineProperty/* default */.Z)(this, "_marker", null);
|
|
23721
24234
|
|
|
24235
|
+
(0,defineProperty/* default */.Z)(this, "_position", null);
|
|
24236
|
+
|
|
24237
|
+
this._viewer = scenceView._viewer;
|
|
23722
24238
|
this._scene = scenceView._viewer.scene;
|
|
23723
24239
|
this._scene.globe.depthTestAgainstTerrain = true;
|
|
23724
24240
|
this._options = options;
|
|
@@ -23730,19 +24246,36 @@ class ViewshedAnalysisViewModel {
|
|
|
23730
24246
|
if (this._options.visibleColor) {
|
|
23731
24247
|
this._options.invisibleColor = Cesium.Color.fromCssColorString(this._options.invisibleColor);
|
|
23732
24248
|
}
|
|
23733
|
-
|
|
23734
|
-
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
23735
24249
|
} //开始分析
|
|
23736
24250
|
|
|
23737
24251
|
|
|
23738
24252
|
start() {
|
|
23739
|
-
|
|
23740
|
-
|
|
23741
|
-
|
|
23742
|
-
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
24253
|
+
this.clear();
|
|
24254
|
+
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
24255
|
+
let that = this;
|
|
23743
24256
|
|
|
23744
|
-
|
|
23745
|
-
|
|
24257
|
+
this._viewshedAnalysis.event.addEventListener((p1, p2) => {
|
|
24258
|
+
if (p1 && p2 == undefined) {
|
|
24259
|
+
that._position = p1;
|
|
24260
|
+
let cartographic = Cesium.Cartographic.fromCartesian(p1);
|
|
24261
|
+
let newPos = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + that._options.offsetHeight);
|
|
24262
|
+
|
|
24263
|
+
if (that._marker) {
|
|
24264
|
+
that._marker.position = newPos;
|
|
24265
|
+
} else {
|
|
24266
|
+
that._marker = that._viewer.entities.add({
|
|
24267
|
+
position: newPos,
|
|
24268
|
+
billboard: {
|
|
24269
|
+
image: const_image_.OBSERVATION_POINT,
|
|
24270
|
+
verticalOrigin: Cesium.VerticalOrigin.CENTER,
|
|
24271
|
+
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
|
24272
|
+
}
|
|
24273
|
+
});
|
|
24274
|
+
}
|
|
24275
|
+
}
|
|
24276
|
+
});
|
|
24277
|
+
|
|
24278
|
+
this._viewshedAnalysis.start(); // if (!this._viewshedAnalysis.isRunning()) {
|
|
23746
24279
|
// // 绘制完成后,需要释放绘制事件
|
|
23747
24280
|
// }
|
|
23748
24281
|
|
|
@@ -23750,82 +24283,76 @@ class ViewshedAnalysisViewModel {
|
|
|
23750
24283
|
|
|
23751
24284
|
|
|
23752
24285
|
clear() {
|
|
23753
|
-
this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
23754
|
-
this.
|
|
23755
|
-
this._viewshedAnalysis = null;
|
|
24286
|
+
// this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
24287
|
+
this.destroy();
|
|
23756
24288
|
} //销毁
|
|
23757
24289
|
|
|
23758
24290
|
|
|
23759
24291
|
destroy() {
|
|
23760
24292
|
this._viewshedAnalysis && this._viewshedAnalysis.destroy();
|
|
23761
24293
|
this._viewshedAnalysis = null;
|
|
24294
|
+
|
|
24295
|
+
if (this._marker) {
|
|
24296
|
+
this._viewer.entities.remove(this._marker);
|
|
24297
|
+
|
|
24298
|
+
this._marker = null;
|
|
24299
|
+
}
|
|
23762
24300
|
} //设置偏移高度
|
|
23763
24301
|
|
|
23764
24302
|
|
|
23765
24303
|
setOffsetHeight(offsetHeight) {
|
|
23766
|
-
this._options.offsetHeight = offsetHeight;
|
|
23767
|
-
this._viewshedAnalysis.attachedViewshed.offsetHeight =
|
|
24304
|
+
this._options.offsetHeight = Number(offsetHeight);
|
|
24305
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.offsetHeight = this._options.offsetHeight;
|
|
24306
|
+
|
|
24307
|
+
if (this._marker) {
|
|
24308
|
+
let cartographic = Cesium.Cartographic.fromCartesian(this._position);
|
|
24309
|
+
this._marker.position = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + this._options.offsetHeight);
|
|
24310
|
+
}
|
|
23768
24311
|
} //设置水平角
|
|
23769
24312
|
|
|
23770
24313
|
|
|
23771
24314
|
setFovH(fovH) {
|
|
23772
|
-
this._options.fovH = fovH;
|
|
23773
|
-
this._viewshedAnalysis.attachedViewshed.fovH =
|
|
24315
|
+
this._options.fovH = Number(fovH);
|
|
24316
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovH = this._options.fovH;
|
|
23774
24317
|
} //设置竖直角
|
|
23775
24318
|
|
|
23776
24319
|
|
|
23777
24320
|
setFovV(fovV) {
|
|
23778
|
-
this._options.fovV = fovV;
|
|
23779
|
-
this._viewshedAnalysis.attachedViewshed.fovV =
|
|
24321
|
+
this._options.fovV = Number(fovV);
|
|
24322
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovV = this._options.fovV;
|
|
23780
24323
|
} //设置可视颜色
|
|
23781
24324
|
|
|
23782
24325
|
|
|
23783
24326
|
setVisibleColor(visibleColor) {
|
|
23784
|
-
this._options.visibleColor = visibleColor;
|
|
23785
|
-
this._viewshedAnalysis.attachedViewshed.visibleColor =
|
|
24327
|
+
this._options.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
24328
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.visibleColor = this._options.visibleColor;
|
|
23786
24329
|
} //设置不可视颜色
|
|
23787
24330
|
|
|
23788
24331
|
|
|
23789
24332
|
setInvisibleColor(invisibleColor) {
|
|
23790
|
-
this._options.invisibleColor = invisibleColor;
|
|
23791
|
-
this._viewshedAnalysis.attachedViewshed.invisibleColor =
|
|
24333
|
+
this._options.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
24334
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.invisibleColor = this._options.invisibleColor;
|
|
23792
24335
|
} //设置网格线颜色
|
|
23793
24336
|
|
|
23794
24337
|
|
|
23795
24338
|
setLineColor(lineColor) {
|
|
23796
|
-
this.
|
|
24339
|
+
this._options.lineColor = lineColor;
|
|
24340
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.lineColor = Cesium.Color.fromCssColorString(lineColor);
|
|
23797
24341
|
} //显示/隐藏网格线
|
|
23798
24342
|
|
|
23799
24343
|
|
|
23800
24344
|
setShowGridLine(showGridLine) {
|
|
23801
|
-
this.
|
|
24345
|
+
this._options.showGridLine = showGridLine;
|
|
24346
|
+
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.showGridLine = showGridLine;
|
|
23802
24347
|
}
|
|
23803
24348
|
|
|
23804
24349
|
}
|
|
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
24350
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
23826
24351
|
var client_icons_vue_ = __webpack_require__(348);
|
|
23827
24352
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
23828
24353
|
var util_ = __webpack_require__(9519);
|
|
24354
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
24355
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
23829
24356
|
;// 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
24357
|
|
|
23831
24358
|
const _hoisted_1 = {
|
|
@@ -23839,6 +24366,7 @@ const _hoisted_2 = {
|
|
|
23839
24366
|
|
|
23840
24367
|
|
|
23841
24368
|
|
|
24369
|
+
|
|
23842
24370
|
const __default__ = {
|
|
23843
24371
|
name: "Kq3dViewshedAnalysis"
|
|
23844
24372
|
};
|
|
@@ -23925,7 +24453,17 @@ const __default__ = {
|
|
|
23925
24453
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
23926
24454
|
|
|
23927
24455
|
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)();
|
|
24456
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
24457
|
+
|
|
24458
|
+
let {
|
|
24459
|
+
locale,
|
|
24460
|
+
messages
|
|
24461
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
24462
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
24463
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
24464
|
+
language.value = messages.value[newVal]["webgl"];
|
|
24465
|
+
headerTempTitle.value = language.value.viewshedAnalysis;
|
|
24466
|
+
});
|
|
23929
24467
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23930
24468
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
23931
24469
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -23939,8 +24477,7 @@ const __default__ = {
|
|
|
23939
24477
|
|
|
23940
24478
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
23941
24479
|
if (scenceView) {
|
|
23942
|
-
|
|
23943
|
-
viewModel = new ViewshedAnalysisViewModel/* default */.Z(scenceView, {
|
|
24480
|
+
viewModel = new ViewshedAnalysisViewModel(scenceView, {
|
|
23944
24481
|
offsetHeight: formItem.offsetHeight,
|
|
23945
24482
|
fovV: formItem.fovV,
|
|
23946
24483
|
fovH: formItem.fovH,
|
|
@@ -23958,7 +24495,7 @@ const __default__ = {
|
|
|
23958
24495
|
const watchCreateHeaderTemp = () => {
|
|
23959
24496
|
if (props.showHeaderTemp) {
|
|
23960
24497
|
// 生成headerTemp
|
|
23961
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
24498
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
23962
24499
|
}
|
|
23963
24500
|
};
|
|
23964
24501
|
|
|
@@ -24542,6 +25079,8 @@ class WeatherEffectViewModel {
|
|
|
24542
25079
|
}
|
|
24543
25080
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
24544
25081
|
var util_ = __webpack_require__(9519);
|
|
25082
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
25083
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
24545
25084
|
;// 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
25085
|
|
|
24547
25086
|
const _hoisted_1 = {
|
|
@@ -24555,6 +25094,7 @@ const _hoisted_2 = {
|
|
|
24555
25094
|
|
|
24556
25095
|
|
|
24557
25096
|
|
|
25097
|
+
|
|
24558
25098
|
const __default__ = {
|
|
24559
25099
|
name: "Kq3dWeatherEffect"
|
|
24560
25100
|
};
|
|
@@ -24626,7 +25166,17 @@ const __default__ = {
|
|
|
24626
25166
|
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
24627
25167
|
|
|
24628
25168
|
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)();
|
|
25169
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
25170
|
+
|
|
25171
|
+
let {
|
|
25172
|
+
locale,
|
|
25173
|
+
messages
|
|
25174
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
25175
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
25176
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
25177
|
+
language.value = messages.value[newVal]["webgl"];
|
|
25178
|
+
headerTempTitle.value = language.value.weatherEffect;
|
|
25179
|
+
});
|
|
24630
25180
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
24631
25181
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
24632
25182
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -24640,7 +25190,6 @@ const __default__ = {
|
|
|
24640
25190
|
|
|
24641
25191
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
24642
25192
|
if (scenceView) {
|
|
24643
|
-
language.value = scenceView._language;
|
|
24644
25193
|
viewModel = new WeatherEffectViewModel(scenceView);
|
|
24645
25194
|
}
|
|
24646
25195
|
});
|
|
@@ -24652,7 +25201,7 @@ const __default__ = {
|
|
|
24652
25201
|
const watchCreateHeaderTemp = () => {
|
|
24653
25202
|
if (props.showHeaderTemp) {
|
|
24654
25203
|
// 生成headerTemp
|
|
24655
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
25204
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
24656
25205
|
}
|
|
24657
25206
|
}; //切换雨雪天气特效
|
|
24658
25207
|
|
|
@@ -25241,7 +25790,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".coord{background:rgba(42,42,42,.8);bo
|
|
|
25241
25790
|
|
|
25242
25791
|
/***/ }),
|
|
25243
25792
|
|
|
25244
|
-
/***/
|
|
25793
|
+
/***/ 6854:
|
|
25245
25794
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25246
25795
|
|
|
25247
25796
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
|
|
@@ -25553,6 +26102,13 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
25553
26102
|
|
|
25554
26103
|
/***/ }),
|
|
25555
26104
|
|
|
26105
|
+
/***/ 7080:
|
|
26106
|
+
/***/ (function(module) {
|
|
26107
|
+
|
|
26108
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
26109
|
+
|
|
26110
|
+
/***/ }),
|
|
26111
|
+
|
|
25556
26112
|
/***/ 1088:
|
|
25557
26113
|
/***/ (function(module) {
|
|
25558
26114
|
|
|
@@ -25734,8 +26290,8 @@ var gpuspatialquery = __webpack_require__(7719);
|
|
|
25734
26290
|
var modelselect = __webpack_require__(9089);
|
|
25735
26291
|
// EXTERNAL MODULE: ./src/webgl/sightlineanalysis/index.js + 5 modules
|
|
25736
26292
|
var sightlineanalysis = __webpack_require__(6031);
|
|
25737
|
-
// EXTERNAL MODULE: ./src/webgl/viewshedanalysis/index.js +
|
|
25738
|
-
var viewshedanalysis = __webpack_require__(
|
|
26293
|
+
// EXTERNAL MODULE: ./src/webgl/viewshedanalysis/index.js + 4 modules
|
|
26294
|
+
var viewshedanalysis = __webpack_require__(2612);
|
|
25739
26295
|
// EXTERNAL MODULE: ./src/webgl/shadowanalysis/index.js + 4 modules
|
|
25740
26296
|
var shadowanalysis = __webpack_require__(8449);
|
|
25741
26297
|
// EXTERNAL MODULE: ./src/webgl/profileanalysis/index.js + 3 modules
|
|
@@ -25775,7 +26331,7 @@ var roller = __webpack_require__(1871);
|
|
|
25775
26331
|
// EXTERNAL MODULE: ./src/webgl/underground/index.js + 3 modules
|
|
25776
26332
|
var underground = __webpack_require__(8521);
|
|
25777
26333
|
// EXTERNAL MODULE: ./src/webgl/statusbar/index.js + 5 modules
|
|
25778
|
-
var statusbar = __webpack_require__(
|
|
26334
|
+
var statusbar = __webpack_require__(4388);
|
|
25779
26335
|
;// CONCATENATED MODULE: ./src/webgl/components.js
|
|
25780
26336
|
/**
|
|
25781
26337
|
* Author: 朱鹏超
|
|
@@ -26168,7 +26724,7 @@ class DrawManager {
|
|
|
26168
26724
|
options.is3D = true;
|
|
26169
26725
|
}
|
|
26170
26726
|
|
|
26171
|
-
if (type
|
|
26727
|
+
if (type !== "marker" && type !== "text") {
|
|
26172
26728
|
//标记组件使用
|
|
26173
26729
|
if (unionOptions.hasOwnProperty("weight")) {
|
|
26174
26730
|
unionOptions.width = unionOptions.weight;
|
|
@@ -27059,8 +27615,6 @@ class LayerManager {
|
|
|
27059
27615
|
}
|
|
27060
27616
|
}
|
|
27061
27617
|
}, this);
|
|
27062
|
-
|
|
27063
|
-
this.recordImageryLayerOriginIndex();
|
|
27064
27618
|
});
|
|
27065
27619
|
});
|
|
27066
27620
|
}
|
|
@@ -27620,6 +28174,21 @@ class LayerManager {
|
|
|
27620
28174
|
|
|
27621
28175
|
break;
|
|
27622
28176
|
|
|
28177
|
+
case "tile":
|
|
28178
|
+
layerData.visible = isAdd;
|
|
28179
|
+
layerData.serverType = "imagerylayer";
|
|
28180
|
+
|
|
28181
|
+
if (isAdd) {
|
|
28182
|
+
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.UrlTemplateImageryProvider({
|
|
28183
|
+
name: name,
|
|
28184
|
+
url: url,
|
|
28185
|
+
...params
|
|
28186
|
+
}));
|
|
28187
|
+
layer._guid = layerData.guid;
|
|
28188
|
+
}
|
|
28189
|
+
|
|
28190
|
+
break;
|
|
28191
|
+
|
|
27623
28192
|
default:
|
|
27624
28193
|
break;
|
|
27625
28194
|
}
|
|
@@ -27708,7 +28277,6 @@ class LayerManager {
|
|
|
27708
28277
|
that._viewer.imageryLayers.add(imageryLayer);
|
|
27709
28278
|
}
|
|
27710
28279
|
});
|
|
27711
|
-
that.recordImageryLayerOriginIndex();
|
|
27712
28280
|
|
|
27713
28281
|
if (rect) {
|
|
27714
28282
|
that._viewer.camera.flyTo({
|
|
@@ -27779,8 +28347,6 @@ class LayerManager {
|
|
|
27779
28347
|
} else if (visible) {
|
|
27780
28348
|
//如果不存在该图层则添加
|
|
27781
28349
|
if (this._layerListData[i].serverType === "kqserver") {
|
|
27782
|
-
//添加图层之前重置图层顺序
|
|
27783
|
-
this.resetLayerIndex();
|
|
27784
28350
|
var imageryProvider = new Cesium.Kq3dKQGISMapServerImageryProviderExt({
|
|
27785
28351
|
url: this._layerListData[i].url,
|
|
27786
28352
|
ua_token: this._layerListData[i].accessToken,
|
|
@@ -27795,8 +28361,6 @@ class LayerManager {
|
|
|
27795
28361
|
} else {
|
|
27796
28362
|
this._viewer.imageryLayers.add(imageryLayer);
|
|
27797
28363
|
}
|
|
27798
|
-
|
|
27799
|
-
this.recordImageryLayerOriginIndex();
|
|
27800
28364
|
} else if (this._layerListData[i].sourceType) {
|
|
27801
28365
|
var promise = this.addLayerData(this._layerListData[i]);
|
|
27802
28366
|
|
|
@@ -27892,13 +28456,6 @@ class LayerManager {
|
|
|
27892
28456
|
}
|
|
27893
28457
|
|
|
27894
28458
|
return layerAddIndex;
|
|
27895
|
-
} //记录ImageryLayer原始index
|
|
27896
|
-
|
|
27897
|
-
|
|
27898
|
-
recordImageryLayerOriginIndex() {
|
|
27899
|
-
this._viewer.imageryLayers._layers.forEach(layer => {
|
|
27900
|
-
layer._originIndex = layer._layerIndex;
|
|
27901
|
-
});
|
|
27902
28459
|
} //通过guid获取图层对象
|
|
27903
28460
|
|
|
27904
28461
|
|
|
@@ -27979,7 +28536,7 @@ class LayerManager {
|
|
|
27979
28536
|
|
|
27980
28537
|
|
|
27981
28538
|
getLayerTreeData() {
|
|
27982
|
-
return
|
|
28539
|
+
return [...this._layerTreeData];
|
|
27983
28540
|
} //是否包含值
|
|
27984
28541
|
|
|
27985
28542
|
|
|
@@ -28188,6 +28745,32 @@ class LayerManager {
|
|
|
28188
28745
|
this._viewer.imageryLayers.lower(layer);
|
|
28189
28746
|
}
|
|
28190
28747
|
}
|
|
28748
|
+
}
|
|
28749
|
+
/**
|
|
28750
|
+
* 根据传入的guid数组 给imageryLayer图层重新排序
|
|
28751
|
+
* 图层树拖动树节点功能需求实现
|
|
28752
|
+
* @param {array} guids guid数组
|
|
28753
|
+
*/
|
|
28754
|
+
|
|
28755
|
+
|
|
28756
|
+
sortLayerZIndexByGuids(guids) {
|
|
28757
|
+
let layerListDataNew = [];
|
|
28758
|
+
|
|
28759
|
+
for (let i = guids.length - 1; i >= 0; i--) {
|
|
28760
|
+
let layer = this.getLayerByGuid(guids[i]);
|
|
28761
|
+
|
|
28762
|
+
if (layer && layer instanceof Cesium.ImageryLayer) {
|
|
28763
|
+
this._viewer.imageryLayers.raiseToTop(layer);
|
|
28764
|
+
}
|
|
28765
|
+
|
|
28766
|
+
var layerData = this._layerListData.find(item => {
|
|
28767
|
+
return item.guid === guids[i];
|
|
28768
|
+
});
|
|
28769
|
+
|
|
28770
|
+
if (layerData) layerListDataNew.push(layerData);
|
|
28771
|
+
}
|
|
28772
|
+
|
|
28773
|
+
this._layerListData = layerListDataNew;
|
|
28191
28774
|
} //重置图层顺序
|
|
28192
28775
|
|
|
28193
28776
|
|
|
@@ -28264,12 +28847,6 @@ class LayerManager {
|
|
|
28264
28847
|
}
|
|
28265
28848
|
}
|
|
28266
28849
|
|
|
28267
|
-
if (layer.serverType === "imagerylayer") {
|
|
28268
|
-
this._viewer.imageryLayers._layers.forEach(layer => {
|
|
28269
|
-
if (!layer._originIndex) layer._originIndex = layer._layerIndex;
|
|
28270
|
-
});
|
|
28271
|
-
}
|
|
28272
|
-
|
|
28273
28850
|
this._scenceView.fire("resetLayerDatas");
|
|
28274
28851
|
} //设置地形
|
|
28275
28852
|
|
|
@@ -28486,14 +29063,14 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28486
29063
|
//绘制管理对象
|
|
28487
29064
|
//图层管理对象
|
|
28488
29065
|
//底图集合
|
|
28489
|
-
constructor(props,
|
|
29066
|
+
constructor(props, lang) {
|
|
28490
29067
|
super();
|
|
28491
29068
|
|
|
28492
29069
|
(0,defineProperty/* default */.Z)(this, "_viewerId", "");
|
|
28493
29070
|
|
|
28494
29071
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
28495
29072
|
|
|
28496
|
-
(0,defineProperty/* default */.Z)(this, "
|
|
29073
|
+
(0,defineProperty/* default */.Z)(this, "_lang", null);
|
|
28497
29074
|
|
|
28498
29075
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
28499
29076
|
|
|
@@ -28507,7 +29084,8 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28507
29084
|
|
|
28508
29085
|
this._viewerId = props.target;
|
|
28509
29086
|
this._props = props;
|
|
28510
|
-
this.
|
|
29087
|
+
this._lang = lang;
|
|
29088
|
+
this._language = lang.language;
|
|
28511
29089
|
} //初始化三维球
|
|
28512
29090
|
|
|
28513
29091
|
|
|
@@ -28526,7 +29104,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28526
29104
|
navigation: false,
|
|
28527
29105
|
sceneModePicker: false,
|
|
28528
29106
|
infoBox: false,
|
|
28529
|
-
|
|
29107
|
+
languageStyle: this._lang.type == 'zh' ? 'zh-CN' : 'en',
|
|
28530
29108
|
navigationHelpButton: false
|
|
28531
29109
|
};
|
|
28532
29110
|
|
|
@@ -28564,7 +29142,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28564
29142
|
|
|
28565
29143
|
initManagerClass() {
|
|
28566
29144
|
if (this._viewer) {
|
|
28567
|
-
this._drawManager = new DrawManager(this._viewer, this.
|
|
29145
|
+
this._drawManager = new DrawManager(this._viewer, this._lang.language);
|
|
28568
29146
|
this._layerManager = new LayerManager(this);
|
|
28569
29147
|
}
|
|
28570
29148
|
} //销毁
|
|
@@ -28673,7 +29251,6 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
28673
29251
|
break;
|
|
28674
29252
|
|
|
28675
29253
|
case "tile":
|
|
28676
|
-
//console.log("tile,123");
|
|
28677
29254
|
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.UrlTemplateImageryProvider({
|
|
28678
29255
|
url: layerConfig.url,
|
|
28679
29256
|
minimumLevel: layerConfig.minZoom,
|
|
@@ -29032,9 +29609,13 @@ const __default__ = {
|
|
|
29032
29609
|
|
|
29033
29610
|
let _lang = proxy.$i18n.locale;
|
|
29034
29611
|
let _language = proxy.$i18n.messages[_lang]["webgl"];
|
|
29035
|
-
language.value = _language;
|
|
29612
|
+
language.value = _language;
|
|
29613
|
+
let lang = {
|
|
29614
|
+
type: _lang,
|
|
29615
|
+
language: _language
|
|
29616
|
+
}; //初始化逻辑类
|
|
29036
29617
|
|
|
29037
|
-
viewModel = new ScenceViewViewModel(props,
|
|
29618
|
+
viewModel = new ScenceViewViewModel(props, lang);
|
|
29038
29619
|
viewModel.initViewer();
|
|
29039
29620
|
});
|
|
29040
29621
|
/**
|