@kq_npm/client3d_webgl_vue 3.0.7-beta → 3.0.9-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 +290 -319
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +47 -179
- package/aspectanalysis/style/aspectanalysis.css +1 -1
- package/baseterraingallery/index.js +39 -177
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +50 -182
- package/boxclip/style/boxclip.css +1 -1
- package/excavatefillanalysis/index.js +57 -189
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -1
- package/flight/index.js +42 -177
- package/floodanalysis/index.js +64 -199
- package/floodanalysis/style/floodanalysis.css +1 -1
- package/gpuspatialquery/index.js +47 -179
- package/gpuspatialquery/style/gpuspatialquery.css +1 -1
- package/headertemp/index.js +34 -83
- package/index.js +1378 -733
- package/isolineanalysis/index.js +75 -207
- package/isolineanalysis/style/isolineanalysis.css +1 -1
- package/measure/index.js +42 -177
- package/modelselect/index.js +49 -182
- package/modelselect/style/modelselect.css +1 -1
- package/package.json +1 -1
- package/particleeffect/index.js +45 -178
- package/particleeffect/style/particleeffect.css +1 -1
- package/planeclip/index.js +51 -183
- package/planeclip/style/planeclip.css +1 -1
- package/profileanalysis/index.js +50 -182
- package/profileanalysis/style/profileanalysis.css +1 -1
- package/roller/index.js +43 -188
- package/scenceview/index.js +1477 -851
- package/screenshot/index.js +47 -179
- package/screenshot/style/screenshot.css +1 -1
- package/shadowanalysis/index.js +58 -190
- package/shadowanalysis/style/shadowanalysis.css +1 -1
- package/sightlineanalysis/index.js +46 -179
- package/sightlineanalysis/style/sightlineanalysis.css +1 -1
- package/skylineanalysis/index.js +49 -181
- package/skylineanalysis/style/skylineanalysis.css +1 -1
- package/slopeanalysis/index.js +62 -194
- package/slopeanalysis/style/slopeanalysis.css +1 -1
- package/style.css +1 -1
- package/terrainoperation/index.js +53 -185
- package/terrainoperation/style/terrainoperation.css +1 -1
- package/underground/index.js +32 -20
- package/viewshedanalysis/index.js +45 -178
- package/viewshedanalysis/style/viewshedanalysis.css +1 -1
- package/weathereffect/index.js +48 -180
- package/weathereffect/style/weathereffect.css +1 -1
package/scenceview/index.js
CHANGED
|
@@ -184,183 +184,271 @@ class AddDataViewModel {
|
|
|
184
184
|
this._layerManager = scenceView._layerManager;
|
|
185
185
|
this._geojsonStyle.billboard.image = options.billboardImage;
|
|
186
186
|
this._language = scenceView._language;
|
|
187
|
+
this._geometryServerUrl = options.geometryServerUrl;
|
|
188
|
+
this._geometryServerToken = options.geometryServerToken;
|
|
187
189
|
} //解析文件
|
|
188
190
|
|
|
189
191
|
|
|
190
|
-
parseFile(file,
|
|
191
|
-
var reader = new FileReader();
|
|
192
|
-
reader.readAsText(file); //文本
|
|
193
|
-
//readAsDataURL(file); //base64 图片
|
|
194
|
-
//readAsArrayBuffer(file); //原始二进制数据
|
|
195
|
-
//readAsBinaryString(file);//二进制字符串
|
|
196
|
-
//reader.readAsBinaryString(file);
|
|
197
|
-
|
|
192
|
+
parseFile(file, cb) {
|
|
198
193
|
var that = this;
|
|
199
|
-
|
|
200
|
-
reader.onload = function (event) {
|
|
201
|
-
var ret = event.target.result;
|
|
194
|
+
return new Promise((resolve, reject) => {
|
|
202
195
|
var ext = file.name.replace(/.+\./, "").toLowerCase(); //文件扩展名
|
|
203
196
|
|
|
204
197
|
var name = file.name.replace(/(.*\/)*([^.]+).*/gi, "$2"); //文件名
|
|
205
198
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
199
|
+
if (ext === "zip") {
|
|
200
|
+
(0,util_.uploadSHP)(that._geometryServerUrl, file, that._geometryServerToken, null, function (res) {
|
|
201
|
+
if (res) {
|
|
202
|
+
if (res.srs) {
|
|
203
|
+
//返回的geojson数据已经做了处理,返回数据坐标系为4326
|
|
204
|
+
delete res.srs;
|
|
205
|
+
}
|
|
212
206
|
|
|
213
|
-
|
|
214
|
-
|
|
207
|
+
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
208
|
+
ds.load(res, that._geojsonStyle).then(ds => {
|
|
209
|
+
ds.entities.values.forEach(entity => {
|
|
210
|
+
if (entity.polygon) {
|
|
211
|
+
entity.polyline = {
|
|
212
|
+
positions: entity.polygon.hierarchy._value.positions,
|
|
213
|
+
width: that._geojsonStyle.polygon.outlineWidth,
|
|
214
|
+
material: that._geojsonStyle.polygon.outlineColor
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
});
|
|
215
218
|
|
|
216
|
-
|
|
217
|
-
ret = data;
|
|
218
|
-
}
|
|
219
|
-
} catch (e) {}
|
|
219
|
+
that._viewer.dataSources.add(ds);
|
|
220
220
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
221
|
+
ds.autoAvoid(that._viewer);
|
|
222
|
+
|
|
223
|
+
that._viewer.flyTo(ds);
|
|
224
|
+
|
|
225
|
+
resolve("success");
|
|
226
|
+
var layer = {
|
|
227
|
+
guid: ds.guid,
|
|
228
|
+
name: name,
|
|
229
|
+
visible: true,
|
|
230
|
+
serverType: "datasource",
|
|
231
|
+
lsType: "ls"
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
that._layerManager.addTempLayerNode(layer);
|
|
235
|
+
|
|
236
|
+
cb && cb(layer);
|
|
231
237
|
});
|
|
238
|
+
} else {
|
|
239
|
+
reject(file.name + " service parse error.");
|
|
240
|
+
cb && cb("error");
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
} else if (ext === "txt") {
|
|
244
|
+
let dataUrl = that._geometryServerUrl + (that._geometryServerToken ? "?ua_token=" + that._geometryServerToken : "");
|
|
245
|
+
(0,util_.readTxT)(file, dataUrl, "4326", res => {
|
|
246
|
+
if (res) {
|
|
247
|
+
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
248
|
+
ds.load(res, that._geojsonStyle).then(ds => {
|
|
249
|
+
ds.entities.values.forEach(entity => {
|
|
250
|
+
if (entity.polygon) {
|
|
251
|
+
entity.polyline = {
|
|
252
|
+
positions: entity.polygon.hierarchy._value.positions,
|
|
253
|
+
width: that._geojsonStyle.polygon.outlineWidth,
|
|
254
|
+
material: that._geojsonStyle.polygon.outlineColor
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
});
|
|
232
258
|
|
|
233
|
-
|
|
259
|
+
that._viewer.dataSources.add(ds);
|
|
234
260
|
|
|
235
|
-
|
|
261
|
+
ds.autoAvoid(that._viewer);
|
|
236
262
|
|
|
237
|
-
|
|
263
|
+
that._viewer.flyTo(ds);
|
|
238
264
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
265
|
+
resolve("success");
|
|
266
|
+
var layer = {
|
|
267
|
+
guid: ds.guid,
|
|
268
|
+
name: name,
|
|
269
|
+
visible: true,
|
|
270
|
+
serverType: "datasource",
|
|
271
|
+
lsType: "ls"
|
|
272
|
+
};
|
|
246
273
|
|
|
247
|
-
|
|
274
|
+
that._layerManager.addTempLayerNode(layer);
|
|
248
275
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
276
|
+
cb && cb(layer);
|
|
277
|
+
});
|
|
278
|
+
} else {
|
|
279
|
+
reject(file.name + " service parse error.");
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
} else {
|
|
283
|
+
var reader = new FileReader();
|
|
284
|
+
reader.readAsText(file); //文本
|
|
285
|
+
//readAsDataURL(file); //base64 图片
|
|
286
|
+
//readAsArrayBuffer(file); //原始二进制数据
|
|
287
|
+
//readAsBinaryString(file);//二进制字符串
|
|
288
|
+
//reader.readAsBinaryString(file);
|
|
289
|
+
|
|
290
|
+
reader.onload = function (event) {
|
|
291
|
+
var ret = event.target.result;
|
|
292
|
+
|
|
293
|
+
switch (ext) {
|
|
294
|
+
case "json":
|
|
295
|
+
case "geojson":
|
|
296
|
+
case "topojson":
|
|
297
|
+
ret = ret.replace(/(^\s*)|(\s*$)/, "");
|
|
298
|
+
ret = ret.substring(ret.indexOf("{"));
|
|
299
|
+
|
|
300
|
+
try {
|
|
301
|
+
var data = JSON.parse(ret);
|
|
302
|
+
|
|
303
|
+
if (typeof data == "object" && data) {
|
|
304
|
+
ret = data;
|
|
305
|
+
}
|
|
306
|
+
} catch (e) {}
|
|
307
|
+
|
|
308
|
+
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
309
|
+
ds.load(ret, that._geojsonStyle).then(ds => {
|
|
310
|
+
ds.entities.values.forEach(entity => {
|
|
311
|
+
if (entity.polygon) {
|
|
312
|
+
entity.polyline = {
|
|
313
|
+
positions: entity.polygon.hierarchy._value.positions,
|
|
314
|
+
width: that._geojsonStyle.polygon.outlineWidth,
|
|
315
|
+
material: that._geojsonStyle.polygon.outlineColor
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
});
|
|
252
319
|
|
|
253
|
-
|
|
254
|
-
ret = ret.replace(/(^\s*)|(\s*$)/, "");
|
|
255
|
-
var options = {
|
|
256
|
-
name: name,
|
|
257
|
-
camera: that._viewer.scene.camera,
|
|
258
|
-
canvas: that._viewer.scene.canvas
|
|
259
|
-
};
|
|
260
|
-
var ds = new Cesium.KmlDataSource(options);
|
|
261
|
-
var data = new Blob([ret], {
|
|
262
|
-
type: "text/xml"
|
|
263
|
-
});
|
|
264
|
-
ds.load(data).then(ds => {
|
|
265
|
-
that._viewer.dataSources.add(ds);
|
|
320
|
+
that._viewer.dataSources.add(ds);
|
|
266
321
|
|
|
267
|
-
|
|
322
|
+
ds.autoAvoid(that._viewer);
|
|
268
323
|
|
|
269
|
-
|
|
270
|
-
guid: ds.guid,
|
|
271
|
-
name: name,
|
|
272
|
-
visible: true,
|
|
273
|
-
serverType: "datasource",
|
|
274
|
-
lsType: "ls"
|
|
275
|
-
};
|
|
324
|
+
that._viewer.flyTo(ds);
|
|
276
325
|
|
|
277
|
-
|
|
326
|
+
resolve("success");
|
|
327
|
+
var layer = {
|
|
328
|
+
guid: ds.guid,
|
|
329
|
+
name: name,
|
|
330
|
+
visible: true,
|
|
331
|
+
serverType: "datasource",
|
|
332
|
+
lsType: "ls"
|
|
333
|
+
};
|
|
278
334
|
|
|
279
|
-
|
|
280
|
-
});
|
|
281
|
-
break;
|
|
335
|
+
that._layerManager.addTempLayerNode(layer);
|
|
282
336
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
camera: that._viewer.scene.camera,
|
|
287
|
-
canvas: that._viewer.scene.canvas
|
|
288
|
-
};
|
|
289
|
-
var ds = new Cesium.KmlDataSource(options);
|
|
290
|
-
ds.load(file).then(ds => {
|
|
291
|
-
that._viewer.dataSources.add(ds);
|
|
337
|
+
cb && cb(layer);
|
|
338
|
+
});
|
|
339
|
+
break;
|
|
292
340
|
|
|
293
|
-
|
|
341
|
+
case "kml":
|
|
342
|
+
ret = ret.replace(/(^\s*)|(\s*$)/, "");
|
|
343
|
+
var options = {
|
|
344
|
+
name: name,
|
|
345
|
+
camera: that._viewer.scene.camera,
|
|
346
|
+
canvas: that._viewer.scene.canvas
|
|
347
|
+
};
|
|
348
|
+
var ds = new Cesium.KmlDataSource(options);
|
|
349
|
+
var data = new Blob([ret], {
|
|
350
|
+
type: "text/xml"
|
|
351
|
+
});
|
|
352
|
+
ds.load(data).then(ds => {
|
|
353
|
+
that._viewer.dataSources.add(ds);
|
|
294
354
|
|
|
295
|
-
|
|
296
|
-
guid: ds.guid,
|
|
297
|
-
name: name,
|
|
298
|
-
visible: true,
|
|
299
|
-
serverType: "datasource",
|
|
300
|
-
lsType: "ls"
|
|
301
|
-
};
|
|
355
|
+
that._viewer.flyTo(ds);
|
|
302
356
|
|
|
303
|
-
|
|
357
|
+
resolve("success");
|
|
358
|
+
var layer = {
|
|
359
|
+
guid: ds.guid,
|
|
360
|
+
name: name,
|
|
361
|
+
visible: true,
|
|
362
|
+
serverType: "datasource",
|
|
363
|
+
lsType: "ls"
|
|
364
|
+
};
|
|
304
365
|
|
|
305
|
-
|
|
306
|
-
});
|
|
307
|
-
break;
|
|
366
|
+
that._layerManager.addTempLayerNode(layer);
|
|
308
367
|
|
|
309
|
-
|
|
310
|
-
|
|
368
|
+
cb && cb(layer);
|
|
369
|
+
});
|
|
370
|
+
break;
|
|
311
371
|
|
|
312
|
-
|
|
313
|
-
|
|
372
|
+
case "kmz":
|
|
373
|
+
var options = {
|
|
374
|
+
name: name,
|
|
375
|
+
camera: that._viewer.scene.camera,
|
|
376
|
+
canvas: that._viewer.scene.canvas
|
|
377
|
+
};
|
|
378
|
+
var ds = new Cesium.KmlDataSource(options);
|
|
379
|
+
ds.load(file).then(ds => {
|
|
380
|
+
that._viewer.dataSources.add(ds);
|
|
314
381
|
|
|
315
|
-
|
|
316
|
-
ret = data;
|
|
317
|
-
}
|
|
318
|
-
} catch (e) {}
|
|
382
|
+
that._viewer.flyTo(ds);
|
|
319
383
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
384
|
+
resolve("success");
|
|
385
|
+
var layer = {
|
|
386
|
+
guid: ds.guid,
|
|
387
|
+
name: name,
|
|
388
|
+
visible: true,
|
|
389
|
+
serverType: "datasource",
|
|
390
|
+
lsType: "ls"
|
|
391
|
+
};
|
|
324
392
|
|
|
325
|
-
|
|
326
|
-
guid: ds.guid,
|
|
327
|
-
name: name,
|
|
328
|
-
visible: true,
|
|
329
|
-
serverType: "datasource",
|
|
330
|
-
lsType: "ls"
|
|
331
|
-
};
|
|
393
|
+
that._layerManager.addTempLayerNode(layer);
|
|
332
394
|
|
|
333
|
-
|
|
395
|
+
cb && cb(layer);
|
|
396
|
+
});
|
|
397
|
+
break;
|
|
334
398
|
|
|
335
|
-
|
|
336
|
-
|
|
399
|
+
case "czml":
|
|
400
|
+
ret = ret.replace(/(^\s*)|(\s*$)/, "");
|
|
337
401
|
|
|
338
|
-
|
|
402
|
+
try {
|
|
403
|
+
var data = JSON.parse(ret);
|
|
339
404
|
|
|
340
|
-
|
|
341
|
-
|
|
405
|
+
if (typeof data == "object" && data) {
|
|
406
|
+
ret = data;
|
|
407
|
+
}
|
|
408
|
+
} catch (e) {}
|
|
342
409
|
|
|
343
|
-
|
|
344
|
-
|
|
410
|
+
that._viewer.dataSources.add(Cesium.CzmlDataSource.load(ret, {
|
|
411
|
+
name: name
|
|
412
|
+
})).then(ds => {
|
|
413
|
+
that._viewer.flyTo(ds);
|
|
345
414
|
|
|
346
|
-
|
|
347
|
-
|
|
415
|
+
resolve("success");
|
|
416
|
+
var layer = {
|
|
417
|
+
guid: ds.guid,
|
|
418
|
+
name: name,
|
|
419
|
+
visible: true,
|
|
420
|
+
serverType: "datasource",
|
|
421
|
+
lsType: "ls"
|
|
422
|
+
};
|
|
348
423
|
|
|
349
|
-
|
|
350
|
-
case "xlsx":
|
|
351
|
-
break;
|
|
424
|
+
that._layerManager.addTempLayerNode(layer);
|
|
352
425
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
426
|
+
cb && cb(layer);
|
|
427
|
+
});
|
|
356
428
|
|
|
357
|
-
|
|
358
|
-
};
|
|
429
|
+
break;
|
|
359
430
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
431
|
+
case "txt":
|
|
432
|
+
break;
|
|
433
|
+
|
|
434
|
+
case "csv":
|
|
435
|
+
break;
|
|
436
|
+
|
|
437
|
+
case "xls":
|
|
438
|
+
case "xlsx":
|
|
439
|
+
break;
|
|
440
|
+
|
|
441
|
+
default:
|
|
442
|
+
break;
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
reader.onerror = function () {
|
|
447
|
+
console.log(file.name + " read error.");
|
|
448
|
+
reject(file.name + " read error.");
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
});
|
|
364
452
|
} //解析数据源
|
|
365
453
|
|
|
366
454
|
|
|
@@ -905,8 +993,6 @@ class AddDataViewModel {
|
|
|
905
993
|
}
|
|
906
994
|
|
|
907
995
|
}
|
|
908
|
-
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
909
|
-
var headertemp = __webpack_require__(519);
|
|
910
996
|
;// 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
|
|
911
997
|
|
|
912
998
|
const _hoisted_1 = {
|
|
@@ -961,6 +1047,21 @@ const __default__ = {
|
|
|
961
1047
|
type: Boolean,
|
|
962
1048
|
default: true
|
|
963
1049
|
},
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
1053
|
+
*/
|
|
1054
|
+
position: [String, Object],
|
|
1055
|
+
// 几何服务地址前缀,例:http://support.kqgeo.com:29800/geometry-proxy/kqgis/rest/services/geometry
|
|
1056
|
+
geometryServerUrl: {
|
|
1057
|
+
type: String,
|
|
1058
|
+
required: true
|
|
1059
|
+
},
|
|
1060
|
+
// 几何服务token,例:eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJob3N0IiwiY3JlYXRlZCI6MTY1NTk2MzU1NzUyMywiZXhwIjoxNzY3MTEwNDAwfQ.BiNOr6vL6liHzlMK89XSvqmFY9fuWiYqDEwYmWxk-6vFKBgLeMC8FloBXyKcxOCl9Rd28y_pX4PhVRYP5cZTwA
|
|
1061
|
+
geometryServerToken: {
|
|
1062
|
+
type: String,
|
|
1063
|
+
required: true
|
|
1064
|
+
},
|
|
964
1065
|
// 当前展示的tab标签页
|
|
965
1066
|
activeName: {
|
|
966
1067
|
type: String,
|
|
@@ -1013,7 +1114,8 @@ const __default__ = {
|
|
|
1013
1114
|
});
|
|
1014
1115
|
let upload_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
1015
1116
|
let upload_btn_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
1016
|
-
let fileList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
1117
|
+
let fileList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
1118
|
+
let loadingFile = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 获取组件传参
|
|
1017
1119
|
|
|
1018
1120
|
let operatorArray = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)(() => {
|
|
1019
1121
|
let array = [];
|
|
@@ -1034,9 +1136,22 @@ const __default__ = {
|
|
|
1034
1136
|
}
|
|
1035
1137
|
|
|
1036
1138
|
return flag;
|
|
1037
|
-
});
|
|
1139
|
+
}); // 组件容器Ref
|
|
1140
|
+
|
|
1141
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
1142
|
+
|
|
1143
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1144
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1038
1145
|
let viewModel = null;
|
|
1039
1146
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
1147
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
1148
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
1149
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
1150
|
+
});
|
|
1151
|
+
watchCreateHeaderTemp();
|
|
1152
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
1153
|
+
watchCreateHeaderTemp();
|
|
1154
|
+
});
|
|
1040
1155
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
1041
1156
|
if (scenceView) {
|
|
1042
1157
|
language.value = scenceView._language;
|
|
@@ -1148,12 +1263,25 @@ const __default__ = {
|
|
|
1148
1263
|
];
|
|
1149
1264
|
dataSourceType.value = dataSourceTypeList.value[0];
|
|
1150
1265
|
let options = {
|
|
1151
|
-
billboardImage: const_image_.BILLBOARD_IMAGE_URL
|
|
1266
|
+
billboardImage: const_image_.BILLBOARD_IMAGE_URL,
|
|
1267
|
+
geometryServerUrl: props.geometryServerUrl,
|
|
1268
|
+
geometryServerToken: props.geometryServerToken
|
|
1152
1269
|
};
|
|
1153
1270
|
viewModel = new AddDataViewModel(scenceView, options);
|
|
1154
1271
|
}
|
|
1155
1272
|
});
|
|
1156
|
-
});
|
|
1273
|
+
});
|
|
1274
|
+
/**
|
|
1275
|
+
* @description 监听header生成
|
|
1276
|
+
*/
|
|
1277
|
+
|
|
1278
|
+
const watchCreateHeaderTemp = () => {
|
|
1279
|
+
if (props.showHeaderTemp) {
|
|
1280
|
+
// 生成headerTemp
|
|
1281
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
1282
|
+
}
|
|
1283
|
+
}; // 切换tab页
|
|
1284
|
+
|
|
1157
1285
|
|
|
1158
1286
|
function handleChange(pane) {} // 切换类型
|
|
1159
1287
|
|
|
@@ -1187,8 +1315,14 @@ const __default__ = {
|
|
|
1187
1315
|
|
|
1188
1316
|
|
|
1189
1317
|
function loadFiles() {
|
|
1318
|
+
loadingFile.value = true;
|
|
1319
|
+
let promiseList = [];
|
|
1190
1320
|
fileList.value.forEach(file => {
|
|
1191
|
-
viewModel.parseFile(file.raw,
|
|
1321
|
+
promiseList.push(viewModel.parseFile(file.raw, props.loadCallback));
|
|
1322
|
+
});
|
|
1323
|
+
Promise.all(promiseList).then(() => {
|
|
1324
|
+
removeFiles();
|
|
1325
|
+
loadingFile.value = false;
|
|
1192
1326
|
});
|
|
1193
1327
|
} //加载URL
|
|
1194
1328
|
|
|
@@ -1238,17 +1372,16 @@ const __default__ = {
|
|
|
1238
1372
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
1239
1373
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-add-data", {
|
|
1240
1374
|
'kq-box-shadow': __props.showShadow
|
|
1241
|
-
}])
|
|
1242
|
-
|
|
1375
|
+
}]),
|
|
1376
|
+
ref_key: "boxRef",
|
|
1377
|
+
ref: boxRef
|
|
1378
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
1243
1379
|
key: 0,
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
}, null, 8
|
|
1250
|
-
/* PROPS */
|
|
1251
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_tabs, {
|
|
1380
|
+
ref_key: "headerTempRef",
|
|
1381
|
+
ref: headerTempRef
|
|
1382
|
+
}, null, 512
|
|
1383
|
+
/* NEED_PATCH */
|
|
1384
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_tabs, {
|
|
1252
1385
|
modelValue: props.activeName,
|
|
1253
1386
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => props.activeName = $event),
|
|
1254
1387
|
onTabChange: handleChange
|
|
@@ -1258,7 +1391,7 @@ const __default__ = {
|
|
|
1258
1391
|
name: "upload"
|
|
1259
1392
|
}, {
|
|
1260
1393
|
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_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1261
|
-
class: ""
|
|
1394
|
+
class: "kq3d-add-data-title"
|
|
1262
1395
|
}, {
|
|
1263
1396
|
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).fileFormatDescription), 1
|
|
1264
1397
|
/* TEXT */
|
|
@@ -1282,7 +1415,7 @@ const __default__ = {
|
|
|
1282
1415
|
"auto-upload": false,
|
|
1283
1416
|
"file-list": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList),
|
|
1284
1417
|
"onUpdate:file-list": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(fileList) ? fileList.value = $event : fileList = $event),
|
|
1285
|
-
accept: ".geojson,.topojson,.json,.kml,.kmz,.czml",
|
|
1418
|
+
accept: ".zip,.geojson,.topojson,.json,.kml,.kmz,.czml,.txt",
|
|
1286
1419
|
"on-change": changeFile,
|
|
1287
1420
|
ref_key: "upload_ref",
|
|
1288
1421
|
ref: upload_ref
|
|
@@ -1350,7 +1483,7 @@ const __default__ = {
|
|
|
1350
1483
|
action: "",
|
|
1351
1484
|
"show-file-list": false,
|
|
1352
1485
|
"auto-upload": false,
|
|
1353
|
-
accept: ".geojson,.topojson,.json,.kml,.kmz,.czml",
|
|
1486
|
+
accept: ".zip,.geojson,.topojson,.json,.kml,.kmz,.czml,.txt",
|
|
1354
1487
|
ref_key: "upload_btn_ref",
|
|
1355
1488
|
ref: upload_btn_ref,
|
|
1356
1489
|
class: "kq3d-add-data-footer-upload",
|
|
@@ -1391,7 +1524,8 @@ const __default__ = {
|
|
|
1391
1524
|
onClick: _cache[2] || (_cache[2] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => loadFiles(), ["stop"])),
|
|
1392
1525
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles,
|
|
1393
1526
|
type: "primary",
|
|
1394
|
-
disabled: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(disabled)
|
|
1527
|
+
disabled: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(disabled),
|
|
1528
|
+
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loadingFile)
|
|
1395
1529
|
}, {
|
|
1396
1530
|
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).loadFiles), 1
|
|
1397
1531
|
/* TEXT */
|
|
@@ -1401,7 +1535,7 @@ const __default__ = {
|
|
|
1401
1535
|
|
|
1402
1536
|
}, 8
|
|
1403
1537
|
/* PROPS */
|
|
1404
|
-
, ["title", "disabled"])])])]),
|
|
1538
|
+
, ["title", "disabled", "loading"])])])]),
|
|
1405
1539
|
_: 3
|
|
1406
1540
|
/* FORWARDED */
|
|
1407
1541
|
|
|
@@ -1684,11 +1818,14 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
1684
1818
|
var AspectAnalysisViewModel = __webpack_require__(8132);
|
|
1685
1819
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
1686
1820
|
var client_icons_vue_ = __webpack_require__(348);
|
|
1687
|
-
// EXTERNAL MODULE:
|
|
1688
|
-
var
|
|
1821
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
1822
|
+
var util_ = __webpack_require__(9519);
|
|
1689
1823
|
;// 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
|
|
1690
1824
|
|
|
1691
1825
|
const _hoisted_1 = {
|
|
1826
|
+
class: "kq3d-aspect-analysis-box"
|
|
1827
|
+
};
|
|
1828
|
+
const _hoisted_2 = {
|
|
1692
1829
|
class: "kq3d-aspect-analysis-footer"
|
|
1693
1830
|
};
|
|
1694
1831
|
|
|
@@ -1710,6 +1847,11 @@ const __default__ = {
|
|
|
1710
1847
|
type: Boolean,
|
|
1711
1848
|
default: true
|
|
1712
1849
|
},
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
1853
|
+
*/
|
|
1854
|
+
position: [String, Object],
|
|
1713
1855
|
// 是否生成HeaderTemp
|
|
1714
1856
|
showHeaderTemp: {
|
|
1715
1857
|
type: Boolean,
|
|
@@ -1764,8 +1906,21 @@ const __default__ = {
|
|
|
1764
1906
|
// 箭头宽度最大值
|
|
1765
1907
|
arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00" // 箭头颜色
|
|
1766
1908
|
|
|
1767
|
-
});
|
|
1909
|
+
}); // 组件容器Ref
|
|
1910
|
+
|
|
1911
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
1912
|
+
|
|
1913
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1914
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1768
1915
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
1916
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
1917
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
1918
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
1919
|
+
});
|
|
1920
|
+
watchCreateHeaderTemp();
|
|
1921
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
1922
|
+
watchCreateHeaderTemp();
|
|
1923
|
+
});
|
|
1769
1924
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
1770
1925
|
|
|
1771
1926
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -1781,7 +1936,18 @@ const __default__ = {
|
|
|
1781
1936
|
});
|
|
1782
1937
|
}
|
|
1783
1938
|
});
|
|
1784
|
-
});
|
|
1939
|
+
});
|
|
1940
|
+
/**
|
|
1941
|
+
* @description 监听header生成
|
|
1942
|
+
*/
|
|
1943
|
+
|
|
1944
|
+
const watchCreateHeaderTemp = () => {
|
|
1945
|
+
if (props.showHeaderTemp) {
|
|
1946
|
+
// 生成headerTemp
|
|
1947
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
1948
|
+
}
|
|
1949
|
+
}; // 参数改变
|
|
1950
|
+
|
|
1785
1951
|
|
|
1786
1952
|
function paramsChanged(key) {
|
|
1787
1953
|
switch (key) {
|
|
@@ -1848,17 +2014,16 @@ const __default__ = {
|
|
|
1848
2014
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
1849
2015
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-aspect-analysis", {
|
|
1850
2016
|
'kq-box-shadow': __props.showShadow
|
|
1851
|
-
}])
|
|
1852
|
-
|
|
2017
|
+
}]),
|
|
2018
|
+
ref_key: "boxRef",
|
|
2019
|
+
ref: boxRef
|
|
2020
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
1853
2021
|
key: 0,
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
}, null, 8
|
|
1860
|
-
/* PROPS */
|
|
1861
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2022
|
+
ref_key: "headerTempRef",
|
|
2023
|
+
ref: headerTempRef
|
|
2024
|
+
}, null, 512
|
|
2025
|
+
/* NEED_PATCH */
|
|
2026
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1862
2027
|
class: "kq3d-aspect-analysis-tip"
|
|
1863
2028
|
}, {
|
|
1864
2029
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1
|
|
@@ -2028,7 +2193,7 @@ const __default__ = {
|
|
|
2028
2193
|
|
|
2029
2194
|
}, 8
|
|
2030
2195
|
/* PROPS */
|
|
2031
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
2196
|
+
, ["model-value"]), (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, {
|
|
2032
2197
|
onClick: _cache[10] || (_cache[10] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
2033
2198
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
2034
2199
|
type: "primary"
|
|
@@ -2053,7 +2218,7 @@ const __default__ = {
|
|
|
2053
2218
|
|
|
2054
2219
|
}, 8
|
|
2055
2220
|
/* PROPS */
|
|
2056
|
-
, ["title"])])], 2
|
|
2221
|
+
, ["title"])])])], 2
|
|
2057
2222
|
/* CLASS */
|
|
2058
2223
|
);
|
|
2059
2224
|
};
|
|
@@ -2187,8 +2352,8 @@ var BaseterrainGalleryViewModel = __webpack_require__(2109);
|
|
|
2187
2352
|
var const_image_ = __webpack_require__(9702);
|
|
2188
2353
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
2189
2354
|
var client_icons_vue_ = __webpack_require__(348);
|
|
2190
|
-
// EXTERNAL MODULE:
|
|
2191
|
-
var
|
|
2355
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
2356
|
+
var util_ = __webpack_require__(9519);
|
|
2192
2357
|
;// 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
|
|
2193
2358
|
|
|
2194
2359
|
const _hoisted_1 = {
|
|
@@ -2236,6 +2401,11 @@ const __default__ = {
|
|
|
2236
2401
|
type: Boolean,
|
|
2237
2402
|
default: true
|
|
2238
2403
|
},
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
2407
|
+
*/
|
|
2408
|
+
position: [String, Object],
|
|
2239
2409
|
// 是否生成HeaderTemp
|
|
2240
2410
|
showHeaderTemp: {
|
|
2241
2411
|
type: Boolean,
|
|
@@ -2248,7 +2418,8 @@ const __default__ = {
|
|
|
2248
2418
|
},
|
|
2249
2419
|
// HeaderTemp标题
|
|
2250
2420
|
headerTempTitle: {
|
|
2251
|
-
type: String
|
|
2421
|
+
type: String,
|
|
2422
|
+
default: "在线地形"
|
|
2252
2423
|
},
|
|
2253
2424
|
// HeaderTemp图标
|
|
2254
2425
|
headerTempIcon: {
|
|
@@ -2272,8 +2443,18 @@ const __default__ = {
|
|
|
2272
2443
|
let currentIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(2);
|
|
2273
2444
|
let currentTerrain = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); //逻辑类对象
|
|
2274
2445
|
|
|
2275
|
-
let viewModel = null;
|
|
2446
|
+
let viewModel = null; // 组件容器Ref
|
|
2447
|
+
|
|
2448
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
2449
|
+
|
|
2450
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2451
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2276
2452
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
2453
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
2454
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
2455
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
2456
|
+
});
|
|
2457
|
+
watchCreateHeaderTemp();
|
|
2277
2458
|
currentIndex.value = props.selectIndex;
|
|
2278
2459
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
2279
2460
|
if (scenceView) {
|
|
@@ -2284,6 +2465,16 @@ const __default__ = {
|
|
|
2284
2465
|
}
|
|
2285
2466
|
});
|
|
2286
2467
|
});
|
|
2468
|
+
/**
|
|
2469
|
+
* @description 监听header生成
|
|
2470
|
+
*/
|
|
2471
|
+
|
|
2472
|
+
const watchCreateHeaderTemp = () => {
|
|
2473
|
+
if (props.showHeaderTemp) {
|
|
2474
|
+
// 生成headerTemp
|
|
2475
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
2476
|
+
}
|
|
2477
|
+
};
|
|
2287
2478
|
|
|
2288
2479
|
function changSelectTerrain() {
|
|
2289
2480
|
switch (currentIndex.value) {
|
|
@@ -2339,17 +2530,16 @@ const __default__ = {
|
|
|
2339
2530
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
2340
2531
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-baseterrain-gallery", {
|
|
2341
2532
|
'kq-box-shadow': __props.showShadow
|
|
2342
|
-
}])
|
|
2343
|
-
|
|
2533
|
+
}]),
|
|
2534
|
+
ref_key: "boxRef",
|
|
2535
|
+
ref: boxRef
|
|
2536
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
2344
2537
|
key: 0,
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
}, null, 8
|
|
2351
|
-
/* PROPS */
|
|
2352
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2538
|
+
ref_key: "headerTempRef",
|
|
2539
|
+
ref: headerTempRef
|
|
2540
|
+
}, null, 512
|
|
2541
|
+
/* NEED_PATCH */
|
|
2542
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2353
2543
|
style: {
|
|
2354
2544
|
"line-height": "48px",
|
|
2355
2545
|
"height": "48px"
|
|
@@ -2675,17 +2865,20 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
2675
2865
|
var BoxClipViewModel = __webpack_require__(219);
|
|
2676
2866
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
2677
2867
|
var client_icons_vue_ = __webpack_require__(348);
|
|
2678
|
-
// EXTERNAL MODULE:
|
|
2679
|
-
var
|
|
2868
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
2869
|
+
var util_ = __webpack_require__(9519);
|
|
2680
2870
|
;// 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
|
|
2681
2871
|
|
|
2682
2872
|
const _hoisted_1 = {
|
|
2683
|
-
class: "kq3d-box-clip-
|
|
2873
|
+
class: "kq3d-box-clip-box"
|
|
2684
2874
|
};
|
|
2685
2875
|
const _hoisted_2 = {
|
|
2686
2876
|
class: "kq3d-box-clip-span"
|
|
2687
2877
|
};
|
|
2688
2878
|
const _hoisted_3 = {
|
|
2879
|
+
class: "kq3d-box-clip-span"
|
|
2880
|
+
};
|
|
2881
|
+
const _hoisted_4 = {
|
|
2689
2882
|
class: "kq3d-box-clip-footer"
|
|
2690
2883
|
};
|
|
2691
2884
|
|
|
@@ -2707,6 +2900,11 @@ const __default__ = {
|
|
|
2707
2900
|
type: Boolean,
|
|
2708
2901
|
default: true
|
|
2709
2902
|
},
|
|
2903
|
+
|
|
2904
|
+
/**
|
|
2905
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
2906
|
+
*/
|
|
2907
|
+
position: [String, Object],
|
|
2710
2908
|
// 是否生成HeaderTemp
|
|
2711
2909
|
showHeaderTemp: {
|
|
2712
2910
|
type: Boolean,
|
|
@@ -2758,8 +2956,21 @@ const __default__ = {
|
|
|
2758
2956
|
clipHeight: props.settingParams && props.settingParams.clipHeight || 4.7,
|
|
2759
2957
|
clipRotation: props.settingParams && props.settingParams.clipRotation || 90
|
|
2760
2958
|
});
|
|
2761
|
-
let viewModel = null;
|
|
2959
|
+
let viewModel = null; // 组件容器Ref
|
|
2960
|
+
|
|
2961
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
2962
|
+
|
|
2963
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2964
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
2762
2965
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
2966
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
2967
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
2968
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
2969
|
+
});
|
|
2970
|
+
watchCreateHeaderTemp();
|
|
2971
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
2972
|
+
watchCreateHeaderTemp();
|
|
2973
|
+
});
|
|
2763
2974
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
2764
2975
|
//父组 件ScenceView初始化完成后执行
|
|
2765
2976
|
|
|
@@ -2792,7 +3003,18 @@ const __default__ = {
|
|
|
2792
3003
|
}
|
|
2793
3004
|
}
|
|
2794
3005
|
}, 1000);
|
|
2795
|
-
});
|
|
3006
|
+
});
|
|
3007
|
+
/**
|
|
3008
|
+
* @description 监听header生成
|
|
3009
|
+
*/
|
|
3010
|
+
|
|
3011
|
+
const watchCreateHeaderTemp = () => {
|
|
3012
|
+
if (props.showHeaderTemp) {
|
|
3013
|
+
// 生成headerTemp
|
|
3014
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
3015
|
+
}
|
|
3016
|
+
}; // 参数改变
|
|
3017
|
+
|
|
2796
3018
|
|
|
2797
3019
|
function paramsChanged(key) {
|
|
2798
3020
|
switch (key) {
|
|
@@ -2894,17 +3116,16 @@ const __default__ = {
|
|
|
2894
3116
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
2895
3117
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-box-clip", {
|
|
2896
3118
|
'kq-box-shadow': __props.showShadow
|
|
2897
|
-
}])
|
|
2898
|
-
|
|
3119
|
+
}]),
|
|
3120
|
+
ref_key: "boxRef",
|
|
3121
|
+
ref: boxRef
|
|
3122
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
2899
3123
|
key: 0,
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
}, null, 8
|
|
2906
|
-
/* PROPS */
|
|
2907
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
3124
|
+
ref_key: "headerTempRef",
|
|
3125
|
+
ref: headerTempRef
|
|
3126
|
+
}, null, 512
|
|
3127
|
+
/* NEED_PATCH */
|
|
3128
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2908
3129
|
gutter: 20,
|
|
2909
3130
|
class: "rowClass"
|
|
2910
3131
|
}, {
|
|
@@ -2912,7 +3133,7 @@ const __default__ = {
|
|
|
2912
3133
|
span: 6,
|
|
2913
3134
|
class: "colClass"
|
|
2914
3135
|
}, {
|
|
2915
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
3136
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipObj), 1
|
|
2916
3137
|
/* TEXT */
|
|
2917
3138
|
)]),
|
|
2918
3139
|
_: 1
|
|
@@ -2965,7 +3186,7 @@ const __default__ = {
|
|
|
2965
3186
|
span: 6,
|
|
2966
3187
|
class: "colClass"
|
|
2967
3188
|
}, {
|
|
2968
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
3189
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _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).clipPattern), 1
|
|
2969
3190
|
/* TEXT */
|
|
2970
3191
|
)]),
|
|
2971
3192
|
_: 1
|
|
@@ -3494,7 +3715,7 @@ const __default__ = {
|
|
|
3494
3715
|
|
|
3495
3716
|
}, 8
|
|
3496
3717
|
/* PROPS */
|
|
3497
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
3718
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
3498
3719
|
onClick: _cache[38] || (_cache[38] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
3499
3720
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
3500
3721
|
type: "primary"
|
|
@@ -3519,7 +3740,7 @@ const __default__ = {
|
|
|
3519
3740
|
|
|
3520
3741
|
}, 8
|
|
3521
3742
|
/* PROPS */
|
|
3522
|
-
, ["title"])])], 2
|
|
3743
|
+
, ["title"])])])], 2
|
|
3523
3744
|
/* CLASS */
|
|
3524
3745
|
);
|
|
3525
3746
|
};
|
|
@@ -4333,24 +4554,27 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
4333
4554
|
var ExcavateFillAnalysisViewModel = __webpack_require__(5183);
|
|
4334
4555
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
4335
4556
|
var client_icons_vue_ = __webpack_require__(348);
|
|
4336
|
-
// EXTERNAL MODULE:
|
|
4337
|
-
var
|
|
4557
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
4558
|
+
var util_ = __webpack_require__(9519);
|
|
4338
4559
|
;// 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
|
|
4339
4560
|
|
|
4340
4561
|
const _hoisted_1 = {
|
|
4341
|
-
class: "kq3d-excavate-fill-analysis-
|
|
4562
|
+
class: "kq3d-excavate-fill-analysis-box"
|
|
4342
4563
|
};
|
|
4343
4564
|
const _hoisted_2 = {
|
|
4344
|
-
class: "kq3d-excavate-fill-analysis-
|
|
4565
|
+
class: "kq3d-excavate-fill-analysis-content"
|
|
4345
4566
|
};
|
|
4346
4567
|
const _hoisted_3 = {
|
|
4347
|
-
|
|
4348
|
-
class: "kq3d-excavate-fill-analysis-result"
|
|
4568
|
+
class: "kq3d-excavate-fill-analysis-footer"
|
|
4349
4569
|
};
|
|
4350
4570
|
const _hoisted_4 = {
|
|
4351
|
-
|
|
4571
|
+
key: 0,
|
|
4572
|
+
class: "kq3d-excavate-fill-analysis-result"
|
|
4352
4573
|
};
|
|
4353
4574
|
const _hoisted_5 = {
|
|
4575
|
+
class: "kq3d-excavate-fill-analysis-result-div"
|
|
4576
|
+
};
|
|
4577
|
+
const _hoisted_6 = {
|
|
4354
4578
|
class: "title"
|
|
4355
4579
|
};
|
|
4356
4580
|
|
|
@@ -4372,6 +4596,11 @@ const __default__ = {
|
|
|
4372
4596
|
type: Boolean,
|
|
4373
4597
|
default: true
|
|
4374
4598
|
},
|
|
4599
|
+
|
|
4600
|
+
/**
|
|
4601
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
4602
|
+
*/
|
|
4603
|
+
position: [String, Object],
|
|
4375
4604
|
// 是否生成HeaderTemp
|
|
4376
4605
|
showHeaderTemp: {
|
|
4377
4606
|
type: Boolean,
|
|
@@ -4426,8 +4655,21 @@ const __default__ = {
|
|
|
4426
4655
|
fillColor: props.settingParams && props.settingParams.fillColor || "#E6A23C" // // 填方颜色
|
|
4427
4656
|
|
|
4428
4657
|
});
|
|
4429
|
-
let viewModel = null;
|
|
4658
|
+
let viewModel = null; // 组件容器Ref
|
|
4659
|
+
|
|
4660
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
4661
|
+
|
|
4662
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
4663
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
4430
4664
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
4665
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
4666
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
4667
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
4668
|
+
});
|
|
4669
|
+
watchCreateHeaderTemp();
|
|
4670
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
4671
|
+
watchCreateHeaderTemp();
|
|
4672
|
+
});
|
|
4431
4673
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
4432
4674
|
|
|
4433
4675
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -4460,7 +4702,18 @@ const __default__ = {
|
|
|
4460
4702
|
});
|
|
4461
4703
|
}
|
|
4462
4704
|
});
|
|
4463
|
-
});
|
|
4705
|
+
});
|
|
4706
|
+
/**
|
|
4707
|
+
* @description 监听header生成
|
|
4708
|
+
*/
|
|
4709
|
+
|
|
4710
|
+
const watchCreateHeaderTemp = () => {
|
|
4711
|
+
if (props.showHeaderTemp) {
|
|
4712
|
+
// 生成headerTemp
|
|
4713
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
4714
|
+
}
|
|
4715
|
+
}; //开始分析
|
|
4716
|
+
|
|
4464
4717
|
|
|
4465
4718
|
function startAnalysis() {
|
|
4466
4719
|
// this.clearResult();
|
|
@@ -4550,17 +4803,16 @@ const __default__ = {
|
|
|
4550
4803
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
4551
4804
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-excavate-fill-analysis", {
|
|
4552
4805
|
'kq-box-shadow': __props.showShadow
|
|
4553
|
-
}])
|
|
4554
|
-
|
|
4806
|
+
}]),
|
|
4807
|
+
ref_key: "boxRef",
|
|
4808
|
+
ref: boxRef
|
|
4809
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
4555
4810
|
key: 0,
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
}, null, 8
|
|
4562
|
-
/* PROPS */
|
|
4563
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
4811
|
+
ref_key: "headerTempRef",
|
|
4812
|
+
ref: headerTempRef
|
|
4813
|
+
}, null, 512
|
|
4814
|
+
/* NEED_PATCH */
|
|
4815
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
4564
4816
|
style: {
|
|
4565
4817
|
"display": "flex"
|
|
4566
4818
|
}
|
|
@@ -4568,11 +4820,11 @@ const __default__ = {
|
|
|
4568
4820
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
4569
4821
|
class: "kq3d-excavate-fill-analysis-label",
|
|
4570
4822
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
4571
|
-
width: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '
|
|
4823
|
+
width: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '100px' : '130px'
|
|
4572
4824
|
})
|
|
4573
4825
|
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).altitudeHeight), 5
|
|
4574
4826
|
/* TEXT, STYLE */
|
|
4575
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
4827
|
+
), (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_row, {
|
|
4576
4828
|
style: {
|
|
4577
4829
|
"display": "flex"
|
|
4578
4830
|
}
|
|
@@ -4710,7 +4962,7 @@ const __default__ = {
|
|
|
4710
4962
|
|
|
4711
4963
|
}, 8
|
|
4712
4964
|
/* PROPS */
|
|
4713
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
4965
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
4714
4966
|
onClick: _cache[8] || (_cache[8] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
4715
4967
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
4716
4968
|
type: "primary"
|
|
@@ -4735,19 +4987,19 @@ const __default__ = {
|
|
|
4735
4987
|
|
|
4736
4988
|
}, 8
|
|
4737
4989
|
/* PROPS */
|
|
4738
|
-
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showResult) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
4990
|
+
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showResult) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
4739
4991
|
class: "kq3d-excavate-fill-analysis-result-title"
|
|
4740
4992
|
}, {
|
|
4741
4993
|
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, {
|
|
4742
4994
|
span: 18
|
|
4743
4995
|
}, {
|
|
4744
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
4996
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analysisResult), 1
|
|
4745
4997
|
/* TEXT */
|
|
4746
4998
|
)]),
|
|
4747
4999
|
_: 1
|
|
4748
5000
|
/* STABLE */
|
|
4749
5001
|
|
|
4750
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-col :span=\"6\" class=\"btn\">\r\n
|
|
5002
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-col :span=\"6\" class=\"btn\">\r\n <kq-icon @click=\"closeBtn()\">\r\n <Close />\r\n </kq-icon>\r\n </kq-col> ")]),
|
|
4751
5003
|
_: 1
|
|
4752
5004
|
/* STABLE */
|
|
4753
5005
|
|
|
@@ -4765,7 +5017,7 @@ const __default__ = {
|
|
|
4765
5017
|
_: 1
|
|
4766
5018
|
/* STABLE */
|
|
4767
5019
|
|
|
4768
|
-
})])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)], 2
|
|
5020
|
+
})])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)])], 2
|
|
4769
5021
|
/* CLASS */
|
|
4770
5022
|
);
|
|
4771
5023
|
};
|
|
@@ -5346,8 +5598,8 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
5346
5598
|
var gis_utils_ = __webpack_require__(826);
|
|
5347
5599
|
// EXTERNAL MODULE: ./src/webgl/flight/FlightViewModel.js
|
|
5348
5600
|
var FlightViewModel = __webpack_require__(5372);
|
|
5349
|
-
// EXTERNAL MODULE:
|
|
5350
|
-
var
|
|
5601
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
5602
|
+
var util_ = __webpack_require__(9519);
|
|
5351
5603
|
;// 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
|
|
5352
5604
|
|
|
5353
5605
|
const _hoisted_1 = {
|
|
@@ -5408,6 +5660,11 @@ const __default__ = {
|
|
|
5408
5660
|
deleteFlightPath: {
|
|
5409
5661
|
type: Function
|
|
5410
5662
|
},
|
|
5663
|
+
|
|
5664
|
+
/**
|
|
5665
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
5666
|
+
*/
|
|
5667
|
+
position: [String, Object],
|
|
5411
5668
|
// 是否生成HeaderTemp
|
|
5412
5669
|
showHeaderTemp: {
|
|
5413
5670
|
type: Boolean,
|
|
@@ -5458,9 +5715,22 @@ const __default__ = {
|
|
|
5458
5715
|
color: "var(--kq-color-info)",
|
|
5459
5716
|
"font-size": "14px"
|
|
5460
5717
|
};
|
|
5461
|
-
};
|
|
5718
|
+
}; // 组件容器Ref
|
|
5719
|
+
|
|
5462
5720
|
|
|
5721
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
5722
|
+
|
|
5723
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
5724
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
5463
5725
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
5726
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
5727
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
5728
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
5729
|
+
});
|
|
5730
|
+
watchCreateHeaderTemp();
|
|
5731
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
5732
|
+
watchCreateHeaderTemp();
|
|
5733
|
+
});
|
|
5464
5734
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
5465
5735
|
if (scenceView) {
|
|
5466
5736
|
language.value = scenceView._language;
|
|
@@ -5489,7 +5759,18 @@ const __default__ = {
|
|
|
5489
5759
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
5490
5760
|
viewModel.stop();
|
|
5491
5761
|
document.removeEventListener("click", hideDropDownMenu);
|
|
5492
|
-
});
|
|
5762
|
+
});
|
|
5763
|
+
/**
|
|
5764
|
+
* @description 监听header生成
|
|
5765
|
+
*/
|
|
5766
|
+
|
|
5767
|
+
const watchCreateHeaderTemp = () => {
|
|
5768
|
+
if (props.showHeaderTemp) {
|
|
5769
|
+
// 生成headerTemp
|
|
5770
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
5771
|
+
}
|
|
5772
|
+
}; //新建路径
|
|
5773
|
+
|
|
5493
5774
|
|
|
5494
5775
|
function addPath() {
|
|
5495
5776
|
pathList.forEach(path => {
|
|
@@ -5810,17 +6091,16 @@ const __default__ = {
|
|
|
5810
6091
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
5811
6092
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq-flight3d", {
|
|
5812
6093
|
'kq-box-shadow': __props.showShadow
|
|
5813
|
-
}])
|
|
5814
|
-
|
|
6094
|
+
}]),
|
|
6095
|
+
ref_key: "boxRef",
|
|
6096
|
+
ref: boxRef
|
|
6097
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
5815
6098
|
key: 0,
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
}, null, 8
|
|
5822
|
-
/* PROPS */
|
|
5823
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [!(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isAdd) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
6099
|
+
ref_key: "headerTempRef",
|
|
6100
|
+
ref: headerTempRef
|
|
6101
|
+
}, null, 512
|
|
6102
|
+
/* NEED_PATCH */
|
|
6103
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [!(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isAdd) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
5824
6104
|
onClick: addPath,
|
|
5825
6105
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).addPath
|
|
5826
6106
|
}, {
|
|
@@ -6481,12 +6761,15 @@ class FloodAnalysisViewModel {
|
|
|
6481
6761
|
}
|
|
6482
6762
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
6483
6763
|
var client_icons_vue_ = __webpack_require__(348);
|
|
6484
|
-
// EXTERNAL MODULE:
|
|
6485
|
-
var
|
|
6764
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
6765
|
+
var util_ = __webpack_require__(9519);
|
|
6486
6766
|
;// 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
|
|
6487
6767
|
|
|
6488
|
-
const _hoisted_1 =
|
|
6489
|
-
|
|
6768
|
+
const _hoisted_1 = {
|
|
6769
|
+
class: "kq3d-flood-analysis-box"
|
|
6770
|
+
};
|
|
6771
|
+
const _hoisted_2 = ["src"];
|
|
6772
|
+
const _hoisted_3 = {
|
|
6490
6773
|
class: "kq3d-flood-analysis-footer"
|
|
6491
6774
|
};
|
|
6492
6775
|
|
|
@@ -6516,6 +6799,11 @@ const __default__ = {
|
|
|
6516
6799
|
type: Boolean,
|
|
6517
6800
|
default: true
|
|
6518
6801
|
},
|
|
6802
|
+
|
|
6803
|
+
/**
|
|
6804
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
6805
|
+
*/
|
|
6806
|
+
position: [String, Object],
|
|
6519
6807
|
// 是否生成HeaderTemp
|
|
6520
6808
|
showHeaderTemp: {
|
|
6521
6809
|
type: Boolean,
|
|
@@ -6528,7 +6816,8 @@ const __default__ = {
|
|
|
6528
6816
|
},
|
|
6529
6817
|
// HeaderTemp标题
|
|
6530
6818
|
headerTempTitle: {
|
|
6531
|
-
type: String
|
|
6819
|
+
type: String,
|
|
6820
|
+
default: "淹没分析"
|
|
6532
6821
|
},
|
|
6533
6822
|
// HeaderTemp图标
|
|
6534
6823
|
headerTempIcon: {
|
|
@@ -6547,8 +6836,7 @@ const __default__ = {
|
|
|
6547
6836
|
}) {
|
|
6548
6837
|
const props = __props;
|
|
6549
6838
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
6550
|
-
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
6551
|
-
let headerTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 淹没色调图片
|
|
6839
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 淹没色调图片
|
|
6552
6840
|
|
|
6553
6841
|
const colorImages = [{
|
|
6554
6842
|
value: "0",
|
|
@@ -6595,8 +6883,21 @@ const __default__ = {
|
|
|
6595
6883
|
floodColorImage: props.settingParams && props.settingParams.floodColorImage || "0" // 淹没纹理色带值
|
|
6596
6884
|
|
|
6597
6885
|
});
|
|
6598
|
-
let viewModel = null;
|
|
6886
|
+
let viewModel = null; // 组件容器Ref
|
|
6887
|
+
|
|
6888
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
6889
|
+
|
|
6890
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
6891
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
6599
6892
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
6893
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
6894
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
6895
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
6896
|
+
});
|
|
6897
|
+
watchCreateHeaderTemp();
|
|
6898
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
6899
|
+
watchCreateHeaderTemp();
|
|
6900
|
+
});
|
|
6600
6901
|
gis_utils_.utils.getWebMap(props.target, scenceView => {
|
|
6601
6902
|
if (scenceView) {
|
|
6602
6903
|
language.value = scenceView._language;
|
|
@@ -6609,23 +6910,31 @@ const __default__ = {
|
|
|
6609
6910
|
maxHeight: formItem.floodMaxHeight,
|
|
6610
6911
|
colorImage: formItem.floodColorImage
|
|
6611
6912
|
}); //设置HeaderTemp标题
|
|
6612
|
-
|
|
6613
|
-
if (props.
|
|
6614
|
-
|
|
6615
|
-
} else {
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
}
|
|
6624
|
-
}
|
|
6625
|
-
}
|
|
6913
|
+
// if (!props.headerTempTitle) {
|
|
6914
|
+
// if (props.isShowMode) {
|
|
6915
|
+
// props.headerTempTitle = scenceView._language.floodAnalysis;
|
|
6916
|
+
// } else {
|
|
6917
|
+
// if (formItem.floodMode === 0) {
|
|
6918
|
+
// props.headerTempTitle = scenceView._language.floodTerrain + scenceView._language.floodAnalysis1;
|
|
6919
|
+
// } else if (formItem.floodMode === 1) {
|
|
6920
|
+
// props.headerTempTitle = scenceView._language.floodModel + scenceView._language.floodAnalysis1;
|
|
6921
|
+
// }
|
|
6922
|
+
// }
|
|
6923
|
+
// }
|
|
6626
6924
|
}
|
|
6627
6925
|
});
|
|
6628
|
-
});
|
|
6926
|
+
});
|
|
6927
|
+
/**
|
|
6928
|
+
* @description 监听header生成
|
|
6929
|
+
*/
|
|
6930
|
+
|
|
6931
|
+
const watchCreateHeaderTemp = () => {
|
|
6932
|
+
if (props.showHeaderTemp) {
|
|
6933
|
+
// 生成headerTemp
|
|
6934
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
6935
|
+
}
|
|
6936
|
+
}; //获取图片路径
|
|
6937
|
+
|
|
6629
6938
|
|
|
6630
6939
|
function getImagePath(value) {
|
|
6631
6940
|
var imagePath = "";
|
|
@@ -6727,17 +7036,16 @@ const __default__ = {
|
|
|
6727
7036
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
6728
7037
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-flood-analysis", {
|
|
6729
7038
|
'kq-box-shadow': __props.showShadow
|
|
6730
|
-
}])
|
|
6731
|
-
|
|
7039
|
+
}]),
|
|
7040
|
+
ref_key: "boxRef",
|
|
7041
|
+
ref: boxRef
|
|
7042
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
6732
7043
|
key: 0,
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
}, null, 8
|
|
6739
|
-
/* PROPS */
|
|
6740
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
7044
|
+
ref_key: "headerTempRef",
|
|
7045
|
+
ref: headerTempRef
|
|
7046
|
+
}, null, 512
|
|
7047
|
+
/* NEED_PATCH */
|
|
7048
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
6741
7049
|
class: "kq3d-flood-analysis-tip"
|
|
6742
7050
|
}, {
|
|
6743
7051
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodTips), 1
|
|
@@ -7072,7 +7380,7 @@ const __default__ = {
|
|
|
7072
7380
|
alt: ""
|
|
7073
7381
|
}, null, 8
|
|
7074
7382
|
/* PROPS */
|
|
7075
|
-
,
|
|
7383
|
+
, _hoisted_2)]),
|
|
7076
7384
|
_: 2
|
|
7077
7385
|
/* DYNAMIC */
|
|
7078
7386
|
|
|
@@ -7113,7 +7421,7 @@ const __default__ = {
|
|
|
7113
7421
|
|
|
7114
7422
|
}, 8
|
|
7115
7423
|
/* PROPS */
|
|
7116
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
7424
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
7117
7425
|
onClick: _cache[22] || (_cache[22] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
7118
7426
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
7119
7427
|
type: "primary"
|
|
@@ -7138,7 +7446,7 @@ const __default__ = {
|
|
|
7138
7446
|
|
|
7139
7447
|
}, 8
|
|
7140
7448
|
/* PROPS */
|
|
7141
|
-
, ["title"])])], 2
|
|
7449
|
+
, ["title"])])])], 2
|
|
7142
7450
|
/* CLASS */
|
|
7143
7451
|
);
|
|
7144
7452
|
};
|
|
@@ -7491,11 +7799,14 @@ var external_xe_utils_namespaceObject = require("xe-utils");
|
|
|
7491
7799
|
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
|
|
7492
7800
|
// EXTERNAL MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
|
|
7493
7801
|
var GPUSpatialQueryViewModel = __webpack_require__(7775);
|
|
7494
|
-
// EXTERNAL MODULE:
|
|
7495
|
-
var
|
|
7802
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
7803
|
+
var util_ = __webpack_require__(9519);
|
|
7496
7804
|
;// 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
|
|
7497
7805
|
|
|
7498
7806
|
const _hoisted_1 = {
|
|
7807
|
+
class: "kq3d-gpu-spatial-query-box"
|
|
7808
|
+
};
|
|
7809
|
+
const _hoisted_2 = {
|
|
7499
7810
|
class: "kq3d-gpu-spatial-query-footer"
|
|
7500
7811
|
};
|
|
7501
7812
|
|
|
@@ -7540,6 +7851,11 @@ const __default__ = {
|
|
|
7540
7851
|
type: Boolean,
|
|
7541
7852
|
default: true
|
|
7542
7853
|
},
|
|
7854
|
+
|
|
7855
|
+
/**
|
|
7856
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
7857
|
+
*/
|
|
7858
|
+
position: [String, Object],
|
|
7543
7859
|
// 是否生成HeaderTemp
|
|
7544
7860
|
showHeaderTemp: {
|
|
7545
7861
|
type: Boolean,
|
|
@@ -7603,8 +7919,21 @@ const __default__ = {
|
|
|
7603
7919
|
maxZRotate: props.settingParams && props.settingParams.maxZRotate || 90 // 绕Z轴旋转最大值
|
|
7604
7920
|
|
|
7605
7921
|
});
|
|
7606
|
-
let viewModel = null;
|
|
7922
|
+
let viewModel = null; // 组件容器Ref
|
|
7923
|
+
|
|
7924
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
7925
|
+
|
|
7926
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
7927
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
7607
7928
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7929
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
7930
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
7931
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
7932
|
+
});
|
|
7933
|
+
watchCreateHeaderTemp();
|
|
7934
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
7935
|
+
watchCreateHeaderTemp();
|
|
7936
|
+
});
|
|
7608
7937
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
7609
7938
|
if (scenceView) {
|
|
7610
7939
|
language.value = scenceView._language;
|
|
@@ -7618,7 +7947,18 @@ const __default__ = {
|
|
|
7618
7947
|
});
|
|
7619
7948
|
}
|
|
7620
7949
|
});
|
|
7621
|
-
});
|
|
7950
|
+
});
|
|
7951
|
+
/**
|
|
7952
|
+
* @description 监听header生成
|
|
7953
|
+
*/
|
|
7954
|
+
|
|
7955
|
+
const watchCreateHeaderTemp = () => {
|
|
7956
|
+
if (props.showHeaderTemp) {
|
|
7957
|
+
// 生成headerTemp
|
|
7958
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
7959
|
+
}
|
|
7960
|
+
}; // 参数切换
|
|
7961
|
+
|
|
7622
7962
|
|
|
7623
7963
|
function paramsChanged(key) {
|
|
7624
7964
|
switch (key) {
|
|
@@ -7696,17 +8036,16 @@ const __default__ = {
|
|
|
7696
8036
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
7697
8037
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-gpu-spatial-query", {
|
|
7698
8038
|
'kq-box-shadow': __props.showShadow
|
|
7699
|
-
}])
|
|
7700
|
-
|
|
8039
|
+
}]),
|
|
8040
|
+
ref_key: "boxRef",
|
|
8041
|
+
ref: boxRef
|
|
8042
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
7701
8043
|
key: 0,
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
}, null, 8
|
|
7708
|
-
/* PROPS */
|
|
7709
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
8044
|
+
ref_key: "headerTempRef",
|
|
8045
|
+
ref: headerTempRef
|
|
8046
|
+
}, null, 512
|
|
8047
|
+
/* NEED_PATCH */
|
|
8048
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
7710
8049
|
"label-width": "100px",
|
|
7711
8050
|
"label-position": "left"
|
|
7712
8051
|
}, {
|
|
@@ -8065,7 +8404,7 @@ const __default__ = {
|
|
|
8065
8404
|
|
|
8066
8405
|
}, 8
|
|
8067
8406
|
/* PROPS */
|
|
8068
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
8407
|
+
, ["model-value"]), (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, {
|
|
8069
8408
|
onClick: _cache[20] || (_cache[20] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => query(), ["stop"])),
|
|
8070
8409
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gpuQuery,
|
|
8071
8410
|
type: "primary"
|
|
@@ -8090,7 +8429,7 @@ const __default__ = {
|
|
|
8090
8429
|
|
|
8091
8430
|
}, 8
|
|
8092
8431
|
/* PROPS */
|
|
8093
|
-
, ["title"])])], 2
|
|
8432
|
+
, ["title"])])])], 2
|
|
8094
8433
|
/* CLASS */
|
|
8095
8434
|
);
|
|
8096
8435
|
};
|
|
@@ -8219,257 +8558,94 @@ const __default__ = {
|
|
|
8219
8558
|
default: 200
|
|
8220
8559
|
},
|
|
8221
8560
|
top: Number,
|
|
8222
|
-
left: Number,
|
|
8223
|
-
bottom: {
|
|
8224
|
-
type: Number,
|
|
8225
|
-
default: 16
|
|
8226
|
-
},
|
|
8227
|
-
right: {
|
|
8228
|
-
type: Number,
|
|
8229
|
-
default: 16
|
|
8230
|
-
},
|
|
8231
|
-
centerColor: {
|
|
8232
|
-
type: String,
|
|
8233
|
-
default: "#0000ff"
|
|
8234
|
-
},
|
|
8235
|
-
centerColorAlpha: {
|
|
8236
|
-
type: Number,
|
|
8237
|
-
default: 0.5
|
|
8238
|
-
},
|
|
8239
|
-
layers: Array
|
|
8240
|
-
},
|
|
8241
|
-
|
|
8242
|
-
setup(__props, {
|
|
8243
|
-
expose
|
|
8244
|
-
}) {
|
|
8245
|
-
const props = __props;
|
|
8246
|
-
let viewModel = null; // 获取组件传参
|
|
8247
|
-
|
|
8248
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
8249
|
-
//父组件ScenceView初始化完成后执行
|
|
8250
|
-
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
8251
|
-
if (scenceView) {
|
|
8252
|
-
let options = {
|
|
8253
|
-
show: props.show,
|
|
8254
|
-
width: props.width,
|
|
8255
|
-
height: props.height,
|
|
8256
|
-
bottom: props.bottom,
|
|
8257
|
-
right: props.right,
|
|
8258
|
-
zIndex: 9999,
|
|
8259
|
-
centerColor: props.centerColor,
|
|
8260
|
-
centerColorAlpha: props.centerColorAlpha,
|
|
8261
|
-
layers: props.layers
|
|
8262
|
-
};
|
|
8263
|
-
viewModel = new HawkeyeViewModel/* default */.Z(scenceView, options);
|
|
8264
|
-
}
|
|
8265
|
-
});
|
|
8266
|
-
});
|
|
8267
|
-
|
|
8268
|
-
function show() {
|
|
8269
|
-
viewModel && viewModel.show();
|
|
8270
|
-
}
|
|
8271
|
-
|
|
8272
|
-
function hide() {
|
|
8273
|
-
viewModel && viewModel.hide();
|
|
8274
|
-
} // 销毁
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
8278
|
-
viewModel && viewModel.destroy();
|
|
8279
|
-
});
|
|
8280
|
-
expose({
|
|
8281
|
-
show,
|
|
8282
|
-
hide
|
|
8283
|
-
});
|
|
8284
|
-
return (_ctx, _cache) => {
|
|
8285
|
-
return null;
|
|
8286
|
-
};
|
|
8287
|
-
}
|
|
8288
|
-
|
|
8289
|
-
}));
|
|
8290
|
-
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
8291
|
-
|
|
8292
|
-
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
const __exports__ = Hawkeyevue_type_script_setup_true_lang_js;
|
|
8297
|
-
|
|
8298
|
-
/* harmony default export */ var Hawkeye = (__exports__);
|
|
8299
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
8300
|
-
var init_js_ = __webpack_require__(5406);
|
|
8301
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
8302
|
-
;// CONCATENATED MODULE: ./src/webgl/hawkeye/index.js
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
Hawkeye.install = (Vue, opts) => {
|
|
8308
|
-
init_js_default()(Vue, opts);
|
|
8309
|
-
Vue.component(Hawkeye.name, Hawkeye);
|
|
8310
|
-
};
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
/***/ }),
|
|
8315
|
-
|
|
8316
|
-
/***/ 519:
|
|
8317
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
// EXPORTS
|
|
8321
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
8322
|
-
"default": function() { return /* reexport */ HeaderTemp; }
|
|
8323
|
-
});
|
|
8324
|
-
|
|
8325
|
-
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
8326
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
8327
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
8328
|
-
var util_ = __webpack_require__(9519);
|
|
8329
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
8330
|
-
|
|
8331
|
-
const _hoisted_1 = {
|
|
8332
|
-
class: "kq-control-header-temp"
|
|
8333
|
-
};
|
|
8334
|
-
const _hoisted_2 = {
|
|
8335
|
-
class: "_title"
|
|
8336
|
-
};
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
const __default__ = {
|
|
8340
|
-
name: "Kq3dHeaderTemp"
|
|
8341
|
-
};
|
|
8342
|
-
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
8343
|
-
props: {
|
|
8344
|
-
// 是否显示阴影效果
|
|
8345
|
-
showShadow: {
|
|
8346
|
-
type: Boolean,
|
|
8347
|
-
default: true
|
|
8561
|
+
left: Number,
|
|
8562
|
+
bottom: {
|
|
8563
|
+
type: Number,
|
|
8564
|
+
default: 16
|
|
8348
8565
|
},
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
default: ""
|
|
8566
|
+
right: {
|
|
8567
|
+
type: Number,
|
|
8568
|
+
default: 16
|
|
8353
8569
|
},
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8570
|
+
centerColor: {
|
|
8571
|
+
type: String,
|
|
8572
|
+
default: "#0000ff"
|
|
8357
8573
|
},
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
default: false
|
|
8574
|
+
centerColorAlpha: {
|
|
8575
|
+
type: Number,
|
|
8576
|
+
default: 0.5
|
|
8362
8577
|
},
|
|
8363
|
-
|
|
8364
|
-
isRight: {
|
|
8365
|
-
type: Boolean,
|
|
8366
|
-
default: true
|
|
8367
|
-
}
|
|
8578
|
+
layers: Array
|
|
8368
8579
|
},
|
|
8369
8580
|
|
|
8370
8581
|
setup(__props, {
|
|
8371
8582
|
expose
|
|
8372
8583
|
}) {
|
|
8373
8584
|
const props = __props;
|
|
8374
|
-
|
|
8375
|
-
// 图标组件
|
|
8585
|
+
let viewModel = null; // 获取组件传参
|
|
8376
8586
|
|
|
8377
|
-
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
8378
|
-
let isCollapse = props.isCollapse;
|
|
8379
8587
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
} else {
|
|
8396
|
-
if (props.showShadow) {
|
|
8397
|
-
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
8398
|
-
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
8399
|
-
} else {
|
|
8400
|
-
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
8401
|
-
(0,util_.addClass)(dom, "kq-is-show");
|
|
8588
|
+
//父组件ScenceView初始化完成后执行
|
|
8589
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
8590
|
+
if (scenceView) {
|
|
8591
|
+
let options = {
|
|
8592
|
+
show: props.show,
|
|
8593
|
+
width: props.width,
|
|
8594
|
+
height: props.height,
|
|
8595
|
+
bottom: props.bottom,
|
|
8596
|
+
right: props.right,
|
|
8597
|
+
zIndex: 9999,
|
|
8598
|
+
centerColor: props.centerColor,
|
|
8599
|
+
centerColorAlpha: props.centerColorAlpha,
|
|
8600
|
+
layers: props.layers
|
|
8601
|
+
};
|
|
8602
|
+
viewModel = new HawkeyeViewModel/* default */.Z(scenceView, options);
|
|
8402
8603
|
}
|
|
8403
|
-
}
|
|
8404
|
-
});
|
|
8604
|
+
});
|
|
8605
|
+
});
|
|
8405
8606
|
|
|
8406
|
-
function
|
|
8407
|
-
|
|
8408
|
-
let dom = proxy.parent.vnode.el;
|
|
8409
|
-
|
|
8410
|
-
if (isCollapse) {
|
|
8411
|
-
// 折叠
|
|
8412
|
-
if (props.showShadow) {
|
|
8413
|
-
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
8414
|
-
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
8415
|
-
} else {
|
|
8416
|
-
(0,util_.addClass)(dom, "kq-is-hide");
|
|
8417
|
-
(0,util_.removeClass)(dom, "kq-is-show");
|
|
8418
|
-
}
|
|
8419
|
-
} else {
|
|
8420
|
-
// 展开
|
|
8421
|
-
if (props.showShadow) {
|
|
8422
|
-
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
8423
|
-
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
8424
|
-
} else {
|
|
8425
|
-
(0,util_.addClass)(dom, "kq-is-show");
|
|
8426
|
-
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
8427
|
-
}
|
|
8428
|
-
}
|
|
8607
|
+
function show() {
|
|
8608
|
+
viewModel && viewModel.show();
|
|
8429
8609
|
}
|
|
8430
8610
|
|
|
8611
|
+
function hide() {
|
|
8612
|
+
viewModel && viewModel.hide();
|
|
8613
|
+
} // 销毁
|
|
8614
|
+
|
|
8615
|
+
|
|
8616
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
8617
|
+
viewModel && viewModel.destroy();
|
|
8618
|
+
});
|
|
8431
8619
|
expose({
|
|
8432
|
-
|
|
8620
|
+
show,
|
|
8621
|
+
hide
|
|
8433
8622
|
});
|
|
8434
8623
|
return (_ctx, _cache) => {
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(__props.headerTempTitle), 1
|
|
8438
|
-
/* TEXT */
|
|
8439
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
8440
|
-
class: "_btn kq-control-header-temp_btn",
|
|
8441
|
-
onClick: btnClick
|
|
8442
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
8443
|
-
size: 16
|
|
8444
|
-
}, {
|
|
8445
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(iconBtn))))]),
|
|
8446
|
-
_: 1
|
|
8447
|
-
/* STABLE */
|
|
8448
|
-
|
|
8449
|
-
})])]);
|
|
8624
|
+
return null;
|
|
8450
8625
|
};
|
|
8451
8626
|
}
|
|
8452
8627
|
|
|
8453
8628
|
}));
|
|
8454
|
-
;// CONCATENATED MODULE: ./src/webgl/
|
|
8629
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
8455
8630
|
|
|
8456
|
-
;// CONCATENATED MODULE: ./src/webgl/
|
|
8631
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue
|
|
8457
8632
|
|
|
8458
8633
|
|
|
8459
8634
|
|
|
8460
|
-
const __exports__ =
|
|
8635
|
+
const __exports__ = Hawkeyevue_type_script_setup_true_lang_js;
|
|
8461
8636
|
|
|
8462
|
-
/* harmony default export */ var
|
|
8637
|
+
/* harmony default export */ var Hawkeye = (__exports__);
|
|
8463
8638
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
8464
8639
|
var init_js_ = __webpack_require__(5406);
|
|
8465
8640
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
8466
|
-
;// CONCATENATED MODULE: ./src/webgl/
|
|
8641
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/index.js
|
|
8642
|
+
|
|
8467
8643
|
|
|
8468
8644
|
|
|
8469
8645
|
|
|
8470
|
-
|
|
8646
|
+
Hawkeye.install = (Vue, opts) => {
|
|
8471
8647
|
init_js_default()(Vue, opts);
|
|
8472
|
-
Vue.component(
|
|
8648
|
+
Vue.component(Hawkeye.name, Hawkeye);
|
|
8473
8649
|
};
|
|
8474
8650
|
|
|
8475
8651
|
|
|
@@ -8835,72 +9011,75 @@ class IsolineAnalysisViewModel {
|
|
|
8835
9011
|
}
|
|
8836
9012
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
8837
9013
|
var client_icons_vue_ = __webpack_require__(348);
|
|
8838
|
-
// EXTERNAL MODULE:
|
|
8839
|
-
var
|
|
9014
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
9015
|
+
var util_ = __webpack_require__(9519);
|
|
8840
9016
|
;// 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
|
|
8841
9017
|
|
|
8842
9018
|
const _hoisted_1 = {
|
|
8843
|
-
class: "kq3d-isoline-analysis-
|
|
9019
|
+
class: "kq3d-isoline-analysis-box"
|
|
8844
9020
|
};
|
|
8845
9021
|
const _hoisted_2 = {
|
|
8846
|
-
|
|
9022
|
+
class: "kq3d-isoline-analysis-span"
|
|
8847
9023
|
};
|
|
8848
9024
|
const _hoisted_3 = {
|
|
8849
|
-
|
|
9025
|
+
key: 0
|
|
8850
9026
|
};
|
|
8851
9027
|
const _hoisted_4 = {
|
|
8852
|
-
|
|
9028
|
+
class: "kq3d-isoline-analysis-heightspan"
|
|
8853
9029
|
};
|
|
8854
9030
|
const _hoisted_5 = {
|
|
9031
|
+
key: 1
|
|
9032
|
+
};
|
|
9033
|
+
const _hoisted_6 = {
|
|
8855
9034
|
style: {
|
|
8856
9035
|
"width": "15%",
|
|
8857
9036
|
"text-align": "left"
|
|
8858
9037
|
}
|
|
8859
9038
|
};
|
|
8860
9039
|
|
|
8861
|
-
const
|
|
9040
|
+
const _hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
8862
9041
|
class: "kq3d-isoline-analysis-line"
|
|
8863
9042
|
}, null, -1
|
|
8864
9043
|
/* HOISTED */
|
|
8865
9044
|
);
|
|
8866
9045
|
|
|
8867
|
-
const
|
|
9046
|
+
const _hoisted_8 = {
|
|
8868
9047
|
style: {
|
|
8869
9048
|
"width": "15%",
|
|
8870
9049
|
"text-align": "right"
|
|
8871
9050
|
}
|
|
8872
9051
|
};
|
|
8873
|
-
const
|
|
8874
|
-
const
|
|
9052
|
+
const _hoisted_9 = ["src"];
|
|
9053
|
+
const _hoisted_10 = {
|
|
8875
9054
|
key: 0
|
|
8876
9055
|
};
|
|
8877
|
-
const
|
|
9056
|
+
const _hoisted_11 = {
|
|
8878
9057
|
class: "kq3d-isoline-analysis-heightspan"
|
|
8879
9058
|
};
|
|
8880
|
-
const
|
|
9059
|
+
const _hoisted_12 = {
|
|
8881
9060
|
key: 1
|
|
8882
9061
|
};
|
|
8883
|
-
const
|
|
9062
|
+
const _hoisted_13 = {
|
|
8884
9063
|
style: {
|
|
8885
9064
|
"width": "15%",
|
|
8886
9065
|
"text-align": "left"
|
|
8887
9066
|
}
|
|
8888
9067
|
};
|
|
8889
9068
|
|
|
8890
|
-
const
|
|
9069
|
+
const _hoisted_14 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
8891
9070
|
class: "kq3d-isoline-analysis-line"
|
|
8892
9071
|
}, null, -1
|
|
8893
9072
|
/* HOISTED */
|
|
8894
9073
|
);
|
|
8895
9074
|
|
|
8896
|
-
const
|
|
9075
|
+
const _hoisted_15 = {
|
|
8897
9076
|
style: {
|
|
8898
9077
|
"width": "15%",
|
|
8899
9078
|
"text-align": "right"
|
|
8900
9079
|
}
|
|
8901
9080
|
};
|
|
8902
|
-
const
|
|
8903
|
-
const
|
|
9081
|
+
const _hoisted_16 = ["src"];
|
|
9082
|
+
const _hoisted_17 = {
|
|
8904
9083
|
class: "kq3d-isoline-analysis-footer"
|
|
8905
9084
|
};
|
|
8906
9085
|
|
|
@@ -8923,6 +9102,11 @@ const __default__ = {
|
|
|
8923
9102
|
type: Boolean,
|
|
8924
9103
|
default: true
|
|
8925
9104
|
},
|
|
9105
|
+
|
|
9106
|
+
/**
|
|
9107
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
9108
|
+
*/
|
|
9109
|
+
position: [String, Object],
|
|
8926
9110
|
// 是否生成HeaderTemp
|
|
8927
9111
|
showHeaderTemp: {
|
|
8928
9112
|
type: Boolean,
|
|
@@ -9046,8 +9230,21 @@ const __default__ = {
|
|
|
9046
9230
|
surfaceAlpha: props.settingParams && props.settingParams.surfaceAlpha || 0.6 // 面透明度
|
|
9047
9231
|
|
|
9048
9232
|
});
|
|
9049
|
-
let viewModel = null;
|
|
9233
|
+
let viewModel = null; // 组件容器Ref
|
|
9234
|
+
|
|
9235
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
9236
|
+
|
|
9237
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
9238
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
9050
9239
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
9240
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
9241
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
9242
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
9243
|
+
});
|
|
9244
|
+
watchCreateHeaderTemp();
|
|
9245
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
9246
|
+
watchCreateHeaderTemp();
|
|
9247
|
+
});
|
|
9051
9248
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
9052
9249
|
|
|
9053
9250
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -9088,7 +9285,18 @@ const __default__ = {
|
|
|
9088
9285
|
viewModel = new IsolineAnalysisViewModel(scenceView, options);
|
|
9089
9286
|
}
|
|
9090
9287
|
});
|
|
9091
|
-
});
|
|
9288
|
+
});
|
|
9289
|
+
/**
|
|
9290
|
+
* @description 监听header生成
|
|
9291
|
+
*/
|
|
9292
|
+
|
|
9293
|
+
const watchCreateHeaderTemp = () => {
|
|
9294
|
+
if (props.showHeaderTemp) {
|
|
9295
|
+
// 生成headerTemp
|
|
9296
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
9297
|
+
}
|
|
9298
|
+
}; // 刷新自定义样式数组
|
|
9299
|
+
|
|
9092
9300
|
|
|
9093
9301
|
function refactorArr(type) {
|
|
9094
9302
|
if (!dataList || !dataList.length) return;
|
|
@@ -9279,23 +9487,22 @@ const __default__ = {
|
|
|
9279
9487
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
9280
9488
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-isoline-analysis", {
|
|
9281
9489
|
'kq-box-shadow': __props.showShadow
|
|
9282
|
-
}])
|
|
9283
|
-
|
|
9490
|
+
}]),
|
|
9491
|
+
ref_key: "boxRef",
|
|
9492
|
+
ref: boxRef
|
|
9493
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
9284
9494
|
key: 0,
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
}, null, 8
|
|
9291
|
-
/* PROPS */
|
|
9292
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
9495
|
+
ref_key: "headerTempRef",
|
|
9496
|
+
ref: headerTempRef
|
|
9497
|
+
}, null, 512
|
|
9498
|
+
/* NEED_PATCH */
|
|
9499
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
9293
9500
|
gutter: 20
|
|
9294
9501
|
}, {
|
|
9295
9502
|
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, {
|
|
9296
9503
|
span: 6
|
|
9297
9504
|
}, {
|
|
9298
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
9505
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fillType), 1
|
|
9299
9506
|
/* TEXT */
|
|
9300
9507
|
)]),
|
|
9301
9508
|
_: 1
|
|
@@ -9996,7 +10203,7 @@ const __default__ = {
|
|
|
9996
10203
|
_: 1
|
|
9997
10204
|
/* STABLE */
|
|
9998
10205
|
|
|
9999
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
10206
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
10000
10207
|
style: {
|
|
10001
10208
|
"display": "flex"
|
|
10002
10209
|
}
|
|
@@ -10054,7 +10261,7 @@ const __default__ = {
|
|
|
10054
10261
|
"controls-position": "right"
|
|
10055
10262
|
}, null, 8
|
|
10056
10263
|
/* PROPS */
|
|
10057
|
-
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
10264
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _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).to), 1
|
|
10058
10265
|
/* TEXT */
|
|
10059
10266
|
), index > 0 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
10060
10267
|
key: 2,
|
|
@@ -10109,7 +10316,7 @@ const __default__ = {
|
|
|
10109
10316
|
);
|
|
10110
10317
|
}), 128
|
|
10111
10318
|
/* KEYED_FRAGMENT */
|
|
10112
|
-
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
10319
|
+
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
10113
10320
|
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, {
|
|
10114
10321
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientColor
|
|
10115
10322
|
}, {
|
|
@@ -10118,9 +10325,9 @@ const __default__ = {
|
|
|
10118
10325
|
"display": "flex"
|
|
10119
10326
|
}
|
|
10120
10327
|
}, {
|
|
10121
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
10328
|
+
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_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeight) + "m", 1
|
|
10122
10329
|
/* TEXT */
|
|
10123
|
-
),
|
|
10330
|
+
), _hoisted_7, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_8, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeight) + "m", 1
|
|
10124
10331
|
/* TEXT */
|
|
10125
10332
|
)]),
|
|
10126
10333
|
_: 1
|
|
@@ -10142,7 +10349,7 @@ const __default__ = {
|
|
|
10142
10349
|
alt: "无"
|
|
10143
10350
|
}, null, 8
|
|
10144
10351
|
/* PROPS */
|
|
10145
|
-
,
|
|
10352
|
+
, _hoisted_9)]),
|
|
10146
10353
|
_: 2
|
|
10147
10354
|
/* DYNAMIC */
|
|
10148
10355
|
|
|
@@ -10824,7 +11031,7 @@ const __default__ = {
|
|
|
10824
11031
|
_: 1
|
|
10825
11032
|
/* STABLE */
|
|
10826
11033
|
|
|
10827
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
11034
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
10828
11035
|
style: {
|
|
10829
11036
|
"display": "flex"
|
|
10830
11037
|
}
|
|
@@ -10882,7 +11089,7 @@ const __default__ = {
|
|
|
10882
11089
|
"controls-position": "right"
|
|
10883
11090
|
}, null, 8
|
|
10884
11091
|
/* PROPS */
|
|
10885
|
-
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
11092
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_11, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).to), 1
|
|
10886
11093
|
/* TEXT */
|
|
10887
11094
|
), index > 0 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
10888
11095
|
key: 2,
|
|
@@ -10937,7 +11144,7 @@ const __default__ = {
|
|
|
10937
11144
|
);
|
|
10938
11145
|
}), 128
|
|
10939
11146
|
/* KEYED_FRAGMENT */
|
|
10940
|
-
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
11147
|
+
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_12, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
10941
11148
|
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, {
|
|
10942
11149
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientColor
|
|
10943
11150
|
}, {
|
|
@@ -10946,9 +11153,9 @@ const __default__ = {
|
|
|
10946
11153
|
"display": "flex"
|
|
10947
11154
|
}
|
|
10948
11155
|
}, {
|
|
10949
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
11156
|
+
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_13, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeight) + "m", 1
|
|
10950
11157
|
/* TEXT */
|
|
10951
|
-
),
|
|
11158
|
+
), _hoisted_14, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_15, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeight) + "m", 1
|
|
10952
11159
|
/* TEXT */
|
|
10953
11160
|
)]),
|
|
10954
11161
|
_: 1
|
|
@@ -10970,7 +11177,7 @@ const __default__ = {
|
|
|
10970
11177
|
alt: ""
|
|
10971
11178
|
}, null, 8
|
|
10972
11179
|
/* PROPS */
|
|
10973
|
-
,
|
|
11180
|
+
, _hoisted_16)]),
|
|
10974
11181
|
_: 2
|
|
10975
11182
|
/* DYNAMIC */
|
|
10976
11183
|
|
|
@@ -11023,7 +11230,7 @@ const __default__ = {
|
|
|
11023
11230
|
|
|
11024
11231
|
}, 8
|
|
11025
11232
|
/* PROPS */
|
|
11026
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
11233
|
+
, ["model-value"]), (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, {
|
|
11027
11234
|
onClick: _cache[110] || (_cache[110] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
11028
11235
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
11029
11236
|
type: "primary"
|
|
@@ -11048,7 +11255,7 @@ const __default__ = {
|
|
|
11048
11255
|
|
|
11049
11256
|
}, 8
|
|
11050
11257
|
/* PROPS */
|
|
11051
|
-
, ["title"])])], 2
|
|
11258
|
+
, ["title"])])])], 2
|
|
11052
11259
|
/* CLASS */
|
|
11053
11260
|
);
|
|
11054
11261
|
};
|
|
@@ -11233,8 +11440,8 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
11233
11440
|
var gis_utils_ = __webpack_require__(826);
|
|
11234
11441
|
// EXTERNAL MODULE: ./src/webgl/measure/MeasureViewModel.js
|
|
11235
11442
|
var MeasureViewModel = __webpack_require__(193);
|
|
11236
|
-
// EXTERNAL MODULE:
|
|
11237
|
-
var
|
|
11443
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
11444
|
+
var util_ = __webpack_require__(9519);
|
|
11238
11445
|
;// 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
|
|
11239
11446
|
|
|
11240
11447
|
const _hoisted_1 = {
|
|
@@ -11361,6 +11568,11 @@ const __default__ = {
|
|
|
11361
11568
|
type: Boolean,
|
|
11362
11569
|
default: true
|
|
11363
11570
|
},
|
|
11571
|
+
|
|
11572
|
+
/**
|
|
11573
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
11574
|
+
*/
|
|
11575
|
+
position: [String, Object],
|
|
11364
11576
|
// 是否生成HeaderTemp
|
|
11365
11577
|
showHeaderTemp: {
|
|
11366
11578
|
type: Boolean,
|
|
@@ -11420,8 +11632,21 @@ const __default__ = {
|
|
|
11420
11632
|
}, {
|
|
11421
11633
|
label: "km²",
|
|
11422
11634
|
value: "km²"
|
|
11423
|
-
}]);
|
|
11635
|
+
}]); // 组件容器Ref
|
|
11636
|
+
|
|
11637
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
11638
|
+
|
|
11639
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
11640
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
11424
11641
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
11642
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
11643
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
11644
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
11645
|
+
});
|
|
11646
|
+
watchCreateHeaderTemp();
|
|
11647
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
11648
|
+
watchCreateHeaderTemp();
|
|
11649
|
+
});
|
|
11425
11650
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
11426
11651
|
if (scenceView) {
|
|
11427
11652
|
language.value = scenceView._language;
|
|
@@ -11465,7 +11690,18 @@ const __default__ = {
|
|
|
11465
11690
|
});
|
|
11466
11691
|
}
|
|
11467
11692
|
});
|
|
11468
|
-
});
|
|
11693
|
+
});
|
|
11694
|
+
/**
|
|
11695
|
+
* @description 监听header生成
|
|
11696
|
+
*/
|
|
11697
|
+
|
|
11698
|
+
const watchCreateHeaderTemp = () => {
|
|
11699
|
+
if (props.showHeaderTemp) {
|
|
11700
|
+
// 生成headerTemp
|
|
11701
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
11702
|
+
}
|
|
11703
|
+
}; //加载测量模式数据
|
|
11704
|
+
|
|
11469
11705
|
|
|
11470
11706
|
function loadModeData() {
|
|
11471
11707
|
modeList.push({
|
|
@@ -11615,17 +11851,16 @@ const __default__ = {
|
|
|
11615
11851
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
11616
11852
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq-measure3d", {
|
|
11617
11853
|
'kq-box-shadow': __props.showShadow
|
|
11618
|
-
}])
|
|
11619
|
-
|
|
11854
|
+
}]),
|
|
11855
|
+
ref_key: "boxRef",
|
|
11856
|
+
ref: boxRef
|
|
11857
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
11620
11858
|
key: 0,
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
}, null, 8
|
|
11627
|
-
/* PROPS */
|
|
11628
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (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)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _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).mode), 1
|
|
11859
|
+
ref_key: "headerTempRef",
|
|
11860
|
+
ref: headerTempRef
|
|
11861
|
+
}, null, 512
|
|
11862
|
+
/* NEED_PATCH */
|
|
11863
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (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)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _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).mode), 1
|
|
11629
11864
|
/* TEXT */
|
|
11630
11865
|
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
11631
11866
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(mode),
|
|
@@ -11959,14 +12194,17 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
11959
12194
|
var ModelSelectViewModel = __webpack_require__(5394);
|
|
11960
12195
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
11961
12196
|
var client_icons_vue_ = __webpack_require__(348);
|
|
11962
|
-
// EXTERNAL MODULE:
|
|
11963
|
-
var
|
|
12197
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
12198
|
+
var util_ = __webpack_require__(9519);
|
|
11964
12199
|
;// 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
|
|
11965
12200
|
|
|
11966
12201
|
const _hoisted_1 = {
|
|
11967
|
-
class: "
|
|
12202
|
+
class: "kq3d-model-select-box"
|
|
11968
12203
|
};
|
|
11969
12204
|
const _hoisted_2 = {
|
|
12205
|
+
class: "modelTree"
|
|
12206
|
+
};
|
|
12207
|
+
const _hoisted_3 = {
|
|
11970
12208
|
class: "footer-buttons"
|
|
11971
12209
|
};
|
|
11972
12210
|
|
|
@@ -11983,7 +12221,7 @@ const __default__ = {
|
|
|
11983
12221
|
//指定组件绑定的viewer对象的div的id
|
|
11984
12222
|
mapTarget: String,
|
|
11985
12223
|
modeFiled: {
|
|
11986
|
-
default:
|
|
12224
|
+
default: "id",
|
|
11987
12225
|
type: String
|
|
11988
12226
|
},
|
|
11989
12227
|
// 外部字段别名映射
|
|
@@ -11995,6 +12233,11 @@ const __default__ = {
|
|
|
11995
12233
|
type: Boolean,
|
|
11996
12234
|
default: true
|
|
11997
12235
|
},
|
|
12236
|
+
|
|
12237
|
+
/**
|
|
12238
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
12239
|
+
*/
|
|
12240
|
+
position: [String, Object],
|
|
11998
12241
|
// 是否生成HeaderTemp
|
|
11999
12242
|
showHeaderTemp: {
|
|
12000
12243
|
type: Boolean,
|
|
@@ -12044,10 +12287,23 @@ const __default__ = {
|
|
|
12044
12287
|
color: "var(--kq-color-info)",
|
|
12045
12288
|
"font-size": "14px"
|
|
12046
12289
|
};
|
|
12047
|
-
};
|
|
12290
|
+
}; // 组件容器Ref
|
|
12291
|
+
|
|
12292
|
+
|
|
12293
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
12048
12294
|
|
|
12295
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
12296
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
12049
12297
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
12050
|
-
|
|
12298
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
12299
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
12300
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
12301
|
+
});
|
|
12302
|
+
watchCreateHeaderTemp();
|
|
12303
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
12304
|
+
watchCreateHeaderTemp();
|
|
12305
|
+
}); //父组件ScenceView初始化完成后执行
|
|
12306
|
+
|
|
12051
12307
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
12052
12308
|
if (scenceView) {
|
|
12053
12309
|
language.value = scenceView._language;
|
|
@@ -12055,6 +12311,16 @@ const __default__ = {
|
|
|
12055
12311
|
}
|
|
12056
12312
|
});
|
|
12057
12313
|
});
|
|
12314
|
+
/**
|
|
12315
|
+
* @description 监听header生成
|
|
12316
|
+
*/
|
|
12317
|
+
|
|
12318
|
+
const watchCreateHeaderTemp = () => {
|
|
12319
|
+
if (props.showHeaderTemp) {
|
|
12320
|
+
// 生成headerTemp
|
|
12321
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
12322
|
+
}
|
|
12323
|
+
};
|
|
12058
12324
|
|
|
12059
12325
|
function setModeFiled(val) {
|
|
12060
12326
|
viewModel._modeFiled = val;
|
|
@@ -12118,21 +12384,20 @@ const __default__ = {
|
|
|
12118
12384
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
12119
12385
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-select", {
|
|
12120
12386
|
'kq-box-shadow': __props.showShadow
|
|
12121
|
-
}])
|
|
12122
|
-
|
|
12387
|
+
}]),
|
|
12388
|
+
ref_key: "boxRef",
|
|
12389
|
+
ref: boxRef
|
|
12390
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
12123
12391
|
key: 0,
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
}, null, 8
|
|
12130
|
-
/* PROPS */
|
|
12131
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
12392
|
+
ref_key: "headerTempRef",
|
|
12393
|
+
ref: headerTempRef
|
|
12394
|
+
}, null, 512
|
|
12395
|
+
/* NEED_PATCH */
|
|
12396
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
12132
12397
|
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, {
|
|
12133
12398
|
span: 8
|
|
12134
12399
|
}, {
|
|
12135
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
12400
|
+
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_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_scrollbar, {
|
|
12136
12401
|
class: "scrollbarClass"
|
|
12137
12402
|
}, {
|
|
12138
12403
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_KqTree, {
|
|
@@ -12194,7 +12459,7 @@ const __default__ = {
|
|
|
12194
12459
|
_: 1
|
|
12195
12460
|
/* STABLE */
|
|
12196
12461
|
|
|
12197
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
12462
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
12198
12463
|
onClick: _cache[0] || (_cache[0] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => pick(), ["stop"])),
|
|
12199
12464
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pick,
|
|
12200
12465
|
type: "primary"
|
|
@@ -12219,7 +12484,7 @@ const __default__ = {
|
|
|
12219
12484
|
|
|
12220
12485
|
}, 8
|
|
12221
12486
|
/* PROPS */
|
|
12222
|
-
, ["title"])])], 2
|
|
12487
|
+
, ["title"])])])], 2
|
|
12223
12488
|
/* CLASS */
|
|
12224
12489
|
);
|
|
12225
12490
|
};
|
|
@@ -12493,11 +12758,14 @@ class ParticleEffectViewModel {
|
|
|
12493
12758
|
}
|
|
12494
12759
|
|
|
12495
12760
|
}
|
|
12496
|
-
// EXTERNAL MODULE:
|
|
12497
|
-
var
|
|
12761
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
12762
|
+
var util_ = __webpack_require__(9519);
|
|
12498
12763
|
;// 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
|
|
12499
12764
|
|
|
12500
12765
|
const _hoisted_1 = {
|
|
12766
|
+
class: "kq3d-particle-effect-box"
|
|
12767
|
+
};
|
|
12768
|
+
const _hoisted_2 = {
|
|
12501
12769
|
class: "kq3d-particle-effect-footer"
|
|
12502
12770
|
};
|
|
12503
12771
|
|
|
@@ -12519,6 +12787,11 @@ const __default__ = {
|
|
|
12519
12787
|
type: Boolean,
|
|
12520
12788
|
default: true
|
|
12521
12789
|
},
|
|
12790
|
+
|
|
12791
|
+
/**
|
|
12792
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
12793
|
+
*/
|
|
12794
|
+
position: [String, Object],
|
|
12522
12795
|
// 是否生成HeaderTemp
|
|
12523
12796
|
showHeaderTemp: {
|
|
12524
12797
|
type: Boolean,
|
|
@@ -12568,8 +12841,21 @@ const __default__ = {
|
|
|
12568
12841
|
endScale: props.settingParams && props.settingParams.endScale || 1.0,
|
|
12569
12842
|
gravity: props.settingParams && props.settingParams.gravity || 0.0
|
|
12570
12843
|
});
|
|
12571
|
-
let viewModel = null;
|
|
12844
|
+
let viewModel = null; // 组件容器Ref
|
|
12845
|
+
|
|
12846
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
12847
|
+
|
|
12848
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
12849
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
12572
12850
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
12851
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
12852
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
12853
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
12854
|
+
});
|
|
12855
|
+
watchCreateHeaderTemp();
|
|
12856
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
12857
|
+
watchCreateHeaderTemp();
|
|
12858
|
+
});
|
|
12573
12859
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
12574
12860
|
|
|
12575
12861
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -12579,6 +12865,16 @@ const __default__ = {
|
|
|
12579
12865
|
}
|
|
12580
12866
|
});
|
|
12581
12867
|
});
|
|
12868
|
+
/**
|
|
12869
|
+
* @description 监听header生成
|
|
12870
|
+
*/
|
|
12871
|
+
|
|
12872
|
+
const watchCreateHeaderTemp = () => {
|
|
12873
|
+
if (props.showHeaderTemp) {
|
|
12874
|
+
// 生成headerTemp
|
|
12875
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
12876
|
+
}
|
|
12877
|
+
};
|
|
12582
12878
|
|
|
12583
12879
|
function changeMode(mode) {
|
|
12584
12880
|
if (formItem.mode !== mode) {
|
|
@@ -12692,17 +12988,16 @@ const __default__ = {
|
|
|
12692
12988
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
12693
12989
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-particle-effect", {
|
|
12694
12990
|
'kq-box-shadow': __props.showShadow
|
|
12695
|
-
}])
|
|
12696
|
-
|
|
12991
|
+
}]),
|
|
12992
|
+
ref_key: "boxRef",
|
|
12993
|
+
ref: boxRef
|
|
12994
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
12697
12995
|
key: 0,
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
}, null, 8
|
|
12704
|
-
/* PROPS */
|
|
12705
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
12996
|
+
ref_key: "headerTempRef",
|
|
12997
|
+
ref: headerTempRef
|
|
12998
|
+
}, null, 512
|
|
12999
|
+
/* NEED_PATCH */
|
|
13000
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
12706
13001
|
gutter: 20,
|
|
12707
13002
|
class: "rowclass"
|
|
12708
13003
|
}, {
|
|
@@ -13267,7 +13562,7 @@ const __default__ = {
|
|
|
13267
13562
|
|
|
13268
13563
|
}, 8
|
|
13269
13564
|
/* PROPS */
|
|
13270
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
13565
|
+
, ["model-value"]), (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, {
|
|
13271
13566
|
onClick: _cache[38] || (_cache[38] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
|
|
13272
13567
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
|
|
13273
13568
|
type: "primary"
|
|
@@ -13292,7 +13587,7 @@ const __default__ = {
|
|
|
13292
13587
|
|
|
13293
13588
|
}, 8
|
|
13294
13589
|
/* PROPS */
|
|
13295
|
-
, ["title"])])], 2
|
|
13590
|
+
, ["title"])])])], 2
|
|
13296
13591
|
/* CLASS */
|
|
13297
13592
|
);
|
|
13298
13593
|
};
|
|
@@ -13529,12 +13824,12 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
13529
13824
|
var PlaneClipViewModel = __webpack_require__(5673);
|
|
13530
13825
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
13531
13826
|
var client_icons_vue_ = __webpack_require__(348);
|
|
13532
|
-
// EXTERNAL MODULE:
|
|
13533
|
-
var
|
|
13827
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
13828
|
+
var util_ = __webpack_require__(9519);
|
|
13534
13829
|
;// 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
|
|
13535
13830
|
|
|
13536
13831
|
const _hoisted_1 = {
|
|
13537
|
-
class: "kq3d-plane-clip-
|
|
13832
|
+
class: "kq3d-plane-clip-box"
|
|
13538
13833
|
};
|
|
13539
13834
|
const _hoisted_2 = {
|
|
13540
13835
|
class: "kq3d-plane-clip-span"
|
|
@@ -13543,6 +13838,9 @@ const _hoisted_3 = {
|
|
|
13543
13838
|
class: "kq3d-plane-clip-span"
|
|
13544
13839
|
};
|
|
13545
13840
|
const _hoisted_4 = {
|
|
13841
|
+
class: "kq3d-plane-clip-span"
|
|
13842
|
+
};
|
|
13843
|
+
const _hoisted_5 = {
|
|
13546
13844
|
class: "kq3d-plane-clip-footer"
|
|
13547
13845
|
};
|
|
13548
13846
|
|
|
@@ -13564,6 +13862,11 @@ const __default__ = {
|
|
|
13564
13862
|
type: Boolean,
|
|
13565
13863
|
default: true
|
|
13566
13864
|
},
|
|
13865
|
+
|
|
13866
|
+
/**
|
|
13867
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
13868
|
+
*/
|
|
13869
|
+
position: [String, Object],
|
|
13567
13870
|
// 是否生成HeaderTemp
|
|
13568
13871
|
showHeaderTemp: {
|
|
13569
13872
|
type: Boolean,
|
|
@@ -13610,8 +13913,21 @@ const __default__ = {
|
|
|
13610
13913
|
boxEnable: props.settingParams && props.settingParams.boxEnable !== undefined || false,
|
|
13611
13914
|
clipDistance: props.settingParams && props.settingParams.clipDistance || 0
|
|
13612
13915
|
});
|
|
13613
|
-
let viewModel = null;
|
|
13916
|
+
let viewModel = null; // 组件容器Ref
|
|
13917
|
+
|
|
13918
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
13919
|
+
|
|
13920
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
13921
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
13614
13922
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
13923
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
13924
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
13925
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
13926
|
+
});
|
|
13927
|
+
watchCreateHeaderTemp();
|
|
13928
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
13929
|
+
watchCreateHeaderTemp();
|
|
13930
|
+
});
|
|
13615
13931
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
13616
13932
|
//父组 件ScenceView初始化完成后执行
|
|
13617
13933
|
|
|
@@ -13639,7 +13955,18 @@ const __default__ = {
|
|
|
13639
13955
|
}
|
|
13640
13956
|
}
|
|
13641
13957
|
}, 1000);
|
|
13642
|
-
});
|
|
13958
|
+
});
|
|
13959
|
+
/**
|
|
13960
|
+
* @description 监听header生成
|
|
13961
|
+
*/
|
|
13962
|
+
|
|
13963
|
+
const watchCreateHeaderTemp = () => {
|
|
13964
|
+
if (props.showHeaderTemp) {
|
|
13965
|
+
// 生成headerTemp
|
|
13966
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
13967
|
+
}
|
|
13968
|
+
}; // 参数改变
|
|
13969
|
+
|
|
13643
13970
|
|
|
13644
13971
|
function paramsChanged(key) {
|
|
13645
13972
|
switch (key) {
|
|
@@ -13719,17 +14046,16 @@ const __default__ = {
|
|
|
13719
14046
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
13720
14047
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-plane-clip", {
|
|
13721
14048
|
'kq-box-shadow': __props.showShadow
|
|
13722
|
-
}])
|
|
13723
|
-
|
|
14049
|
+
}]),
|
|
14050
|
+
ref_key: "boxRef",
|
|
14051
|
+
ref: boxRef
|
|
14052
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
13724
14053
|
key: 0,
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13728
|
-
|
|
13729
|
-
|
|
13730
|
-
}, null, 8
|
|
13731
|
-
/* PROPS */
|
|
13732
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
14054
|
+
ref_key: "headerTempRef",
|
|
14055
|
+
ref: headerTempRef
|
|
14056
|
+
}, null, 512
|
|
14057
|
+
/* NEED_PATCH */
|
|
14058
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
13733
14059
|
gutter: 20,
|
|
13734
14060
|
class: "rowClass"
|
|
13735
14061
|
}, {
|
|
@@ -13737,7 +14063,7 @@ const __default__ = {
|
|
|
13737
14063
|
span: 6,
|
|
13738
14064
|
class: "colClass"
|
|
13739
14065
|
}, {
|
|
13740
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
14066
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipObj), 1
|
|
13741
14067
|
/* TEXT */
|
|
13742
14068
|
)]),
|
|
13743
14069
|
_: 1
|
|
@@ -13791,7 +14117,7 @@ const __default__ = {
|
|
|
13791
14117
|
span: 6,
|
|
13792
14118
|
class: "colClass"
|
|
13793
14119
|
}, {
|
|
13794
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
14120
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _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).clipStyle), 1
|
|
13795
14121
|
/* TEXT */
|
|
13796
14122
|
)]),
|
|
13797
14123
|
_: 1
|
|
@@ -13843,7 +14169,7 @@ const __default__ = {
|
|
|
13843
14169
|
span: 6,
|
|
13844
14170
|
class: "colClass"
|
|
13845
14171
|
}, {
|
|
13846
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
14172
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _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).clipPattern), 1
|
|
13847
14173
|
/* TEXT */
|
|
13848
14174
|
)]),
|
|
13849
14175
|
_: 1
|
|
@@ -14026,7 +14352,7 @@ const __default__ = {
|
|
|
14026
14352
|
|
|
14027
14353
|
}, 8
|
|
14028
14354
|
/* PROPS */
|
|
14029
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
14355
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
14030
14356
|
onClick: _cache[14] || (_cache[14] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
14031
14357
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
14032
14358
|
type: "primary"
|
|
@@ -14051,7 +14377,7 @@ const __default__ = {
|
|
|
14051
14377
|
|
|
14052
14378
|
}, 8
|
|
14053
14379
|
/* PROPS */
|
|
14054
|
-
, ["title"])])], 2
|
|
14380
|
+
, ["title"])])])], 2
|
|
14055
14381
|
/* CLASS */
|
|
14056
14382
|
);
|
|
14057
14383
|
};
|
|
@@ -14365,17 +14691,20 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
14365
14691
|
var ProfileAnalysisViewModel = __webpack_require__(6132);
|
|
14366
14692
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
14367
14693
|
var client_icons_vue_ = __webpack_require__(348);
|
|
14368
|
-
// EXTERNAL MODULE:
|
|
14369
|
-
var
|
|
14694
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
14695
|
+
var util_ = __webpack_require__(9519);
|
|
14370
14696
|
;// 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
|
|
14371
14697
|
|
|
14372
14698
|
const _hoisted_1 = {
|
|
14373
|
-
class: "kq3d-profile-analysis-
|
|
14699
|
+
class: "kq3d-profile-analysis-box"
|
|
14374
14700
|
};
|
|
14375
14701
|
const _hoisted_2 = {
|
|
14376
|
-
class: "kq3d-profile-analysis-
|
|
14702
|
+
class: "kq3d-profile-analysis-footer"
|
|
14377
14703
|
};
|
|
14378
14704
|
const _hoisted_3 = {
|
|
14705
|
+
class: "kq3d-profile-analysis-result"
|
|
14706
|
+
};
|
|
14707
|
+
const _hoisted_4 = {
|
|
14379
14708
|
id: "resultCahrt",
|
|
14380
14709
|
class: "resultCahrt"
|
|
14381
14710
|
};
|
|
@@ -14398,6 +14727,11 @@ const __default__ = {
|
|
|
14398
14727
|
type: Boolean,
|
|
14399
14728
|
default: true
|
|
14400
14729
|
},
|
|
14730
|
+
|
|
14731
|
+
/**
|
|
14732
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
14733
|
+
*/
|
|
14734
|
+
position: [String, Object],
|
|
14401
14735
|
// 是否生成HeaderTemp
|
|
14402
14736
|
showHeaderTemp: {
|
|
14403
14737
|
type: Boolean,
|
|
@@ -14463,8 +14797,21 @@ const __default__ = {
|
|
|
14463
14797
|
// 相机高度范围最大值
|
|
14464
14798
|
enablePerspective: props.settingParams && props.settingParams.isLabel !== undefined || true // 是否透视
|
|
14465
14799
|
|
|
14466
|
-
});
|
|
14800
|
+
}); // 组件容器Ref
|
|
14801
|
+
|
|
14802
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
14803
|
+
|
|
14804
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
14805
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
14467
14806
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
14807
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
14808
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
14809
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
14810
|
+
});
|
|
14811
|
+
watchCreateHeaderTemp();
|
|
14812
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
14813
|
+
watchCreateHeaderTemp();
|
|
14814
|
+
});
|
|
14468
14815
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
14469
14816
|
if (scenceView) {
|
|
14470
14817
|
language.value = scenceView._language;
|
|
@@ -14484,7 +14831,18 @@ const __default__ = {
|
|
|
14484
14831
|
resultCahrtVis.value = false;
|
|
14485
14832
|
}
|
|
14486
14833
|
});
|
|
14487
|
-
});
|
|
14834
|
+
});
|
|
14835
|
+
/**
|
|
14836
|
+
* @description 监听header生成
|
|
14837
|
+
*/
|
|
14838
|
+
|
|
14839
|
+
const watchCreateHeaderTemp = () => {
|
|
14840
|
+
if (props.showHeaderTemp) {
|
|
14841
|
+
// 生成headerTemp
|
|
14842
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
14843
|
+
}
|
|
14844
|
+
}; // 开始分析
|
|
14845
|
+
|
|
14488
14846
|
|
|
14489
14847
|
function startAnalysis() {
|
|
14490
14848
|
viewModel && viewModel.start();
|
|
@@ -14557,17 +14915,16 @@ const __default__ = {
|
|
|
14557
14915
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
14558
14916
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-profile-analysis", {
|
|
14559
14917
|
'kq-box-shadow': __props.showShadow
|
|
14560
|
-
}])
|
|
14561
|
-
|
|
14918
|
+
}]),
|
|
14919
|
+
ref_key: "boxRef",
|
|
14920
|
+
ref: boxRef
|
|
14921
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
14562
14922
|
key: 0,
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
}, null, 8
|
|
14569
|
-
/* PROPS */
|
|
14570
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
14923
|
+
ref_key: "headerTempRef",
|
|
14924
|
+
ref: headerTempRef
|
|
14925
|
+
}, null, 512
|
|
14926
|
+
/* NEED_PATCH */
|
|
14927
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
14571
14928
|
class: "kq3d-profile-analysis-tip"
|
|
14572
14929
|
}, {
|
|
14573
14930
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).profileTips), 1
|
|
@@ -14841,7 +15198,7 @@ const __default__ = {
|
|
|
14841
15198
|
|
|
14842
15199
|
}, 8
|
|
14843
15200
|
/* PROPS */
|
|
14844
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
15201
|
+
, ["model-value"]), (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, {
|
|
14845
15202
|
onClick: _cache[9] || (_cache[9] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
14846
15203
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
14847
15204
|
type: "primary"
|
|
@@ -14866,9 +15223,9 @@ const __default__ = {
|
|
|
14866
15223
|
|
|
14867
15224
|
}, 8
|
|
14868
15225
|
/* PROPS */
|
|
14869
|
-
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
15226
|
+
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, null, 512
|
|
14870
15227
|
/* NEED_PATCH */
|
|
14871
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultCahrtVis)]])])], 2
|
|
15228
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultCahrtVis)]])])])], 2
|
|
14872
15229
|
/* CLASS */
|
|
14873
15230
|
);
|
|
14874
15231
|
};
|
|
@@ -15287,8 +15644,8 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
15287
15644
|
var gis_utils_ = __webpack_require__(826);
|
|
15288
15645
|
// EXTERNAL MODULE: ./src/webgl/roller/RollerViewModel.js
|
|
15289
15646
|
var RollerViewModel = __webpack_require__(6561);
|
|
15290
|
-
// EXTERNAL MODULE:
|
|
15291
|
-
var
|
|
15647
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
15648
|
+
var util_ = __webpack_require__(9519);
|
|
15292
15649
|
;// 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
|
|
15293
15650
|
|
|
15294
15651
|
const _hoisted_1 = {
|
|
@@ -15307,19 +15664,15 @@ const __default__ = {
|
|
|
15307
15664
|
};
|
|
15308
15665
|
/* harmony default export */ var Rollervue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
15309
15666
|
props: {
|
|
15310
|
-
//设置参数
|
|
15311
|
-
top: {
|
|
15312
|
-
type: Number,
|
|
15313
|
-
default: 16
|
|
15314
|
-
},
|
|
15315
|
-
right: {
|
|
15316
|
-
type: Number,
|
|
15317
|
-
default: 16
|
|
15318
|
-
},
|
|
15319
15667
|
showShadow: {
|
|
15320
15668
|
type: Boolean,
|
|
15321
15669
|
default: true
|
|
15322
15670
|
},
|
|
15671
|
+
|
|
15672
|
+
/**
|
|
15673
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
15674
|
+
*/
|
|
15675
|
+
position: [String, Object],
|
|
15323
15676
|
// 是否生成HeaderTemp
|
|
15324
15677
|
showHeaderTemp: {
|
|
15325
15678
|
type: Boolean,
|
|
@@ -15365,8 +15718,21 @@ const __default__ = {
|
|
|
15365
15718
|
mode: props.settingParams && props.settingParams.mode || null
|
|
15366
15719
|
});
|
|
15367
15720
|
let layers = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([]);
|
|
15368
|
-
let viewModel = null;
|
|
15721
|
+
let viewModel = null; // 组件容器Ref
|
|
15722
|
+
|
|
15723
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
15724
|
+
|
|
15725
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
15726
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
15369
15727
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
15728
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
15729
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
15730
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
15731
|
+
});
|
|
15732
|
+
watchCreateHeaderTemp();
|
|
15733
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
15734
|
+
watchCreateHeaderTemp();
|
|
15735
|
+
});
|
|
15370
15736
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
15371
15737
|
if (scenceView) {
|
|
15372
15738
|
language.value = scenceView._language;
|
|
@@ -15376,7 +15742,18 @@ const __default__ = {
|
|
|
15376
15742
|
viewModel = new RollerViewModel/* default */.Z(scenceView, options);
|
|
15377
15743
|
}
|
|
15378
15744
|
});
|
|
15379
|
-
});
|
|
15745
|
+
});
|
|
15746
|
+
/**
|
|
15747
|
+
* @description 监听header生成
|
|
15748
|
+
*/
|
|
15749
|
+
|
|
15750
|
+
const watchCreateHeaderTemp = () => {
|
|
15751
|
+
if (props.showHeaderTemp) {
|
|
15752
|
+
// 生成headerTemp
|
|
15753
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
15754
|
+
}
|
|
15755
|
+
}; // 切换模式
|
|
15756
|
+
|
|
15380
15757
|
|
|
15381
15758
|
function changeMode() {
|
|
15382
15759
|
let mode = formItem.mode;
|
|
@@ -15424,17 +15801,15 @@ const __default__ = {
|
|
|
15424
15801
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-roller", {
|
|
15425
15802
|
'kq-box-shadow': __props.showShadow
|
|
15426
15803
|
}]),
|
|
15427
|
-
|
|
15428
|
-
|
|
15804
|
+
ref_key: "boxRef",
|
|
15805
|
+
ref: boxRef
|
|
15806
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
15429
15807
|
key: 0,
|
|
15430
|
-
|
|
15431
|
-
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15435
|
-
}, null, 8
|
|
15436
|
-
/* PROPS */
|
|
15437
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
15808
|
+
ref_key: "headerTempRef",
|
|
15809
|
+
ref: headerTempRef
|
|
15810
|
+
}, null, 512
|
|
15811
|
+
/* NEED_PATCH */
|
|
15812
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
15438
15813
|
style: {
|
|
15439
15814
|
"margin-bottom": "8px"
|
|
15440
15815
|
}
|
|
@@ -15607,8 +15982,8 @@ const __default__ = {
|
|
|
15607
15982
|
|
|
15608
15983
|
}, 512
|
|
15609
15984
|
/* NEED_PATCH */
|
|
15610
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode !== null]])])],
|
|
15611
|
-
/* CLASS
|
|
15985
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode !== null]])])], 2
|
|
15986
|
+
/* CLASS */
|
|
15612
15987
|
);
|
|
15613
15988
|
};
|
|
15614
15989
|
}
|
|
@@ -15815,11 +16190,14 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
15815
16190
|
var gis_utils_ = __webpack_require__(826);
|
|
15816
16191
|
// EXTERNAL MODULE: ./src/webgl/screenshot/ScreenshotViewModel.js
|
|
15817
16192
|
var ScreenshotViewModel = __webpack_require__(1248);
|
|
15818
|
-
// EXTERNAL MODULE:
|
|
15819
|
-
var
|
|
16193
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
16194
|
+
var util_ = __webpack_require__(9519);
|
|
15820
16195
|
;// 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
|
|
15821
16196
|
|
|
15822
16197
|
const _hoisted_1 = {
|
|
16198
|
+
class: "kq3d-screenshot-box"
|
|
16199
|
+
};
|
|
16200
|
+
const _hoisted_2 = {
|
|
15823
16201
|
class: "kq3d-screenshot-footer"
|
|
15824
16202
|
};
|
|
15825
16203
|
|
|
@@ -15841,6 +16219,11 @@ const __default__ = {
|
|
|
15841
16219
|
type: Boolean,
|
|
15842
16220
|
default: true
|
|
15843
16221
|
},
|
|
16222
|
+
|
|
16223
|
+
/**
|
|
16224
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
16225
|
+
*/
|
|
16226
|
+
position: [String, Object],
|
|
15844
16227
|
// 是否生成HeaderTemp
|
|
15845
16228
|
showHeaderTemp: {
|
|
15846
16229
|
type: Boolean,
|
|
@@ -15897,8 +16280,21 @@ const __default__ = {
|
|
|
15897
16280
|
//倾斜摄影名称
|
|
15898
16281
|
tilesetStyle: props.settingParams && props.settingParams.tilesetStyle || style // 倾斜摄影样式
|
|
15899
16282
|
|
|
15900
|
-
});
|
|
16283
|
+
}); // 组件容器Ref
|
|
16284
|
+
|
|
16285
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
16286
|
+
|
|
16287
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
16288
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
15901
16289
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
16290
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
16291
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
16292
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
16293
|
+
});
|
|
16294
|
+
watchCreateHeaderTemp();
|
|
16295
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
16296
|
+
watchCreateHeaderTemp();
|
|
16297
|
+
});
|
|
15902
16298
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
15903
16299
|
if (scenceView) {
|
|
15904
16300
|
language.value = scenceView._language;
|
|
@@ -15910,7 +16306,18 @@ const __default__ = {
|
|
|
15910
16306
|
viewModel = new ScreenshotViewModel/* default */.Z(scenceView._viewer, formItem);
|
|
15911
16307
|
}
|
|
15912
16308
|
});
|
|
15913
|
-
});
|
|
16309
|
+
});
|
|
16310
|
+
/**
|
|
16311
|
+
* @description 监听header生成
|
|
16312
|
+
*/
|
|
16313
|
+
|
|
16314
|
+
const watchCreateHeaderTemp = () => {
|
|
16315
|
+
if (props.showHeaderTemp) {
|
|
16316
|
+
// 生成headerTemp
|
|
16317
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
16318
|
+
}
|
|
16319
|
+
}; // 场景出图
|
|
16320
|
+
|
|
15914
16321
|
|
|
15915
16322
|
function sceneFigure() {
|
|
15916
16323
|
viewModel && viewModel.sceneFigure();
|
|
@@ -15976,17 +16383,16 @@ const __default__ = {
|
|
|
15976
16383
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
15977
16384
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-screenshot", {
|
|
15978
16385
|
'kq-box-shadow': __props.showShadow
|
|
15979
|
-
}])
|
|
15980
|
-
|
|
16386
|
+
}]),
|
|
16387
|
+
ref_key: "boxRef",
|
|
16388
|
+
ref: boxRef
|
|
16389
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
15981
16390
|
key: 0,
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
}, null, 8
|
|
15988
|
-
/* PROPS */
|
|
15989
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
16391
|
+
ref_key: "headerTempRef",
|
|
16392
|
+
ref: headerTempRef
|
|
16393
|
+
}, null, 512
|
|
16394
|
+
/* NEED_PATCH */
|
|
16395
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
15990
16396
|
"label-width": "120px",
|
|
15991
16397
|
"label-position": "left"
|
|
15992
16398
|
}, {
|
|
@@ -16141,7 +16547,7 @@ const __default__ = {
|
|
|
16141
16547
|
_: 1
|
|
16142
16548
|
/* STABLE */
|
|
16143
16549
|
|
|
16144
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
16550
|
+
}), (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, {
|
|
16145
16551
|
onClick: _cache[8] || (_cache[8] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => sceneFigure(), ["stop"])),
|
|
16146
16552
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).screenshotTips,
|
|
16147
16553
|
type: "primary"
|
|
@@ -16154,7 +16560,7 @@ const __default__ = {
|
|
|
16154
16560
|
|
|
16155
16561
|
}, 8
|
|
16156
16562
|
/* PROPS */
|
|
16157
|
-
, ["title"])])], 2
|
|
16563
|
+
, ["title"])])])], 2
|
|
16158
16564
|
/* CLASS */
|
|
16159
16565
|
);
|
|
16160
16566
|
};
|
|
@@ -16446,28 +16852,31 @@ var ShadowAnalysisViewModel = __webpack_require__(4167);
|
|
|
16446
16852
|
var const_image_ = __webpack_require__(9702);
|
|
16447
16853
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
16448
16854
|
var client_icons_vue_ = __webpack_require__(348);
|
|
16449
|
-
// EXTERNAL MODULE:
|
|
16450
|
-
var
|
|
16855
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
16856
|
+
var util_ = __webpack_require__(9519);
|
|
16451
16857
|
;// 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
|
|
16452
16858
|
|
|
16453
16859
|
const _hoisted_1 = {
|
|
16454
|
-
class: "kq3d-shadow-analysis-
|
|
16860
|
+
class: "kq3d-shadow-analysis-box"
|
|
16455
16861
|
};
|
|
16456
16862
|
const _hoisted_2 = {
|
|
16457
16863
|
class: "kq3d-shadow-analysis-span"
|
|
16458
16864
|
};
|
|
16865
|
+
const _hoisted_3 = {
|
|
16866
|
+
class: "kq3d-shadow-analysis-span"
|
|
16867
|
+
};
|
|
16459
16868
|
|
|
16460
|
-
const
|
|
16869
|
+
const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "0.0", -1
|
|
16461
16870
|
/* HOISTED */
|
|
16462
16871
|
);
|
|
16463
16872
|
|
|
16464
|
-
const
|
|
16873
|
+
const _hoisted_5 = ["src"];
|
|
16465
16874
|
|
|
16466
|
-
const
|
|
16875
|
+
const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "1.0", -1
|
|
16467
16876
|
/* HOISTED */
|
|
16468
16877
|
);
|
|
16469
16878
|
|
|
16470
|
-
const
|
|
16879
|
+
const _hoisted_7 = {
|
|
16471
16880
|
class: "kq3d-shadow-analysis-footer"
|
|
16472
16881
|
};
|
|
16473
16882
|
|
|
@@ -16490,6 +16899,11 @@ const __default__ = {
|
|
|
16490
16899
|
type: Boolean,
|
|
16491
16900
|
default: true
|
|
16492
16901
|
},
|
|
16902
|
+
|
|
16903
|
+
/**
|
|
16904
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
16905
|
+
*/
|
|
16906
|
+
position: [String, Object],
|
|
16493
16907
|
// 是否生成HeaderTemp
|
|
16494
16908
|
showHeaderTemp: {
|
|
16495
16909
|
type: Boolean,
|
|
@@ -16603,8 +17017,21 @@ const __default__ = {
|
|
|
16603
17017
|
// 透明缩放范围最小值
|
|
16604
17018
|
maxAlphaScale: props.settingParams && props.settingParams.alphaScale || 1 // 透明缩放范围最大值
|
|
16605
17019
|
|
|
16606
|
-
});
|
|
17020
|
+
}); // 组件容器Ref
|
|
17021
|
+
|
|
17022
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
17023
|
+
|
|
17024
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
17025
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
16607
17026
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
17027
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
17028
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
17029
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
17030
|
+
});
|
|
17031
|
+
watchCreateHeaderTemp();
|
|
17032
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
17033
|
+
watchCreateHeaderTemp();
|
|
17034
|
+
});
|
|
16608
17035
|
time.value = [formItem.startTime, formItem.endTime];
|
|
16609
17036
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
|
|
16610
17037
|
|
|
@@ -16636,7 +17063,18 @@ const __default__ = {
|
|
|
16636
17063
|
});
|
|
16637
17064
|
}
|
|
16638
17065
|
});
|
|
16639
|
-
});
|
|
17066
|
+
});
|
|
17067
|
+
/**
|
|
17068
|
+
* @description 监听header生成
|
|
17069
|
+
*/
|
|
17070
|
+
|
|
17071
|
+
const watchCreateHeaderTemp = () => {
|
|
17072
|
+
if (props.showHeaderTemp) {
|
|
17073
|
+
// 生成headerTemp
|
|
17074
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
17075
|
+
}
|
|
17076
|
+
}; // 获取当前日期
|
|
17077
|
+
|
|
16640
17078
|
|
|
16641
17079
|
function GetDateStr() {
|
|
16642
17080
|
var dd = new Date();
|
|
@@ -16759,24 +17197,23 @@ const __default__ = {
|
|
|
16759
17197
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
16760
17198
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-shadow-analysis", {
|
|
16761
17199
|
'kq-box-shadow': __props.showShadow
|
|
16762
|
-
}])
|
|
16763
|
-
|
|
17200
|
+
}]),
|
|
17201
|
+
ref_key: "boxRef",
|
|
17202
|
+
ref: boxRef
|
|
17203
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
16764
17204
|
key: 0,
|
|
16765
|
-
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
}, null, 8
|
|
16771
|
-
/* PROPS */
|
|
16772
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
17205
|
+
ref_key: "headerTempRef",
|
|
17206
|
+
ref: headerTempRef
|
|
17207
|
+
}, null, 512
|
|
17208
|
+
/* NEED_PATCH */
|
|
17209
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
16773
17210
|
class: "kq3d-shadow-analysis-datetime"
|
|
16774
17211
|
}, {
|
|
16775
17212
|
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, {
|
|
16776
17213
|
span: 4,
|
|
16777
17214
|
class: "colDate"
|
|
16778
17215
|
}, {
|
|
16779
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
17216
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analyseDate), 1
|
|
16780
17217
|
/* TEXT */
|
|
16781
17218
|
)]),
|
|
16782
17219
|
_: 1
|
|
@@ -16810,7 +17247,7 @@ const __default__ = {
|
|
|
16810
17247
|
span: 4,
|
|
16811
17248
|
class: "colTime"
|
|
16812
17249
|
}, {
|
|
16813
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
17250
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _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).time), 1
|
|
16814
17251
|
/* TEXT */
|
|
16815
17252
|
)]),
|
|
16816
17253
|
_: 1
|
|
@@ -16840,7 +17277,7 @@ const __default__ = {
|
|
|
16840
17277
|
_: 1
|
|
16841
17278
|
/* STABLE */
|
|
16842
17279
|
|
|
16843
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row class=\"kq3d-shadow-analysis-datetime\">\r\n
|
|
17280
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row class=\"kq3d-shadow-analysis-datetime\">\r\n <kq-col :span=\"6\">\r\n <span class=\"kq3d-shadow-analysis-span\">{{ language.analysisYear }}</span>\r\n </kq-col>\r\n <kq-col :span=\"18\">\r\n <kq-date-picker v-model=\"year\" align=\"right\" type=\"year\" format=\"YYYY年\"></kq-date-picker>\r\n <kq-row :gutter=\"20\">\r\n <kq-col :span=\"20\">\r\n <kq-slider\r\n v-model=\"month\"\r\n :step=\"1\"\r\n :min=\"formItem.1\"\r\n :max=\"formItem.12\"\r\n range\r\n :show-tooltip=\"false\"\r\n @change=\"changeMonth\"\r\n :marks=\"monthMarks\"></kq-slider>\r\n </kq-col>\r\n <kq-col :span=\"4\" class=\"kq3d-shadow-analysis-timeline\">\r\n <kq-icon @click=\"playOrPauseMonth\">\r\n <IconVideoPlay v-if=\"!playMonth\" />\r\n <IconVideoPause v-else />\r\n </kq-icon>\r\n </kq-col>\r\n </kq-row>\r\n </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
16844
17281
|
class: "kq3d-shadow-analysis-tip"
|
|
16845
17282
|
}, {
|
|
16846
17283
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).shadowTips), 1
|
|
@@ -17206,12 +17643,12 @@ const __default__ = {
|
|
|
17206
17643
|
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, {
|
|
17207
17644
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).shadowRateLegend
|
|
17208
17645
|
}, {
|
|
17209
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
17646
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
17210
17647
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.SHADOW_LEGEND_URL),
|
|
17211
17648
|
alt: ""
|
|
17212
17649
|
}, null, 8
|
|
17213
17650
|
/* PROPS */
|
|
17214
|
-
,
|
|
17651
|
+
, _hoisted_5), _hoisted_6]),
|
|
17215
17652
|
_: 1
|
|
17216
17653
|
/* STABLE */
|
|
17217
17654
|
|
|
@@ -17221,7 +17658,7 @@ const __default__ = {
|
|
|
17221
17658
|
_: 1
|
|
17222
17659
|
/* STABLE */
|
|
17223
17660
|
|
|
17224
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row :gutter=\"20\" style=\"display: flex\">\r\n
|
|
17661
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row :gutter=\"20\" style=\"display: flex\">\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.showBuilding\">{{ language.showBuilding }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.showVoxel\">{{ language.showVoxel }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> ")]),
|
|
17225
17662
|
_: 1
|
|
17226
17663
|
/* STABLE */
|
|
17227
17664
|
|
|
@@ -17237,7 +17674,7 @@ const __default__ = {
|
|
|
17237
17674
|
|
|
17238
17675
|
}, 8
|
|
17239
17676
|
/* PROPS */
|
|
17240
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
17677
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
17241
17678
|
onClick: _cache[33] || (_cache[33] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
17242
17679
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
17243
17680
|
type: "primary"
|
|
@@ -17275,7 +17712,7 @@ const __default__ = {
|
|
|
17275
17712
|
|
|
17276
17713
|
}, 8
|
|
17277
17714
|
/* PROPS */
|
|
17278
|
-
, ["title"])])], 2
|
|
17715
|
+
, ["title"])])])], 2
|
|
17279
17716
|
/* CLASS */
|
|
17280
17717
|
);
|
|
17281
17718
|
};
|
|
@@ -17599,11 +18036,14 @@ class SightlineAnalysisViewModel {
|
|
|
17599
18036
|
}
|
|
17600
18037
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
17601
18038
|
var client_icons_vue_ = __webpack_require__(348);
|
|
17602
|
-
// EXTERNAL MODULE:
|
|
17603
|
-
var
|
|
18039
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
18040
|
+
var util_ = __webpack_require__(9519);
|
|
17604
18041
|
;// 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
|
|
17605
18042
|
|
|
17606
18043
|
const _hoisted_1 = {
|
|
18044
|
+
class: "kq3d-sightline-analysis-box"
|
|
18045
|
+
};
|
|
18046
|
+
const _hoisted_2 = {
|
|
17607
18047
|
class: "kq3d-sightline-analysis-footer"
|
|
17608
18048
|
};
|
|
17609
18049
|
|
|
@@ -17625,6 +18065,11 @@ const __default__ = {
|
|
|
17625
18065
|
type: Boolean,
|
|
17626
18066
|
default: true
|
|
17627
18067
|
},
|
|
18068
|
+
|
|
18069
|
+
/**
|
|
18070
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
18071
|
+
*/
|
|
18072
|
+
position: [String, Object],
|
|
17628
18073
|
// 是否生成HeaderTemp
|
|
17629
18074
|
showHeaderTemp: {
|
|
17630
18075
|
type: Boolean,
|
|
@@ -17667,9 +18112,22 @@ const __default__ = {
|
|
|
17667
18112
|
highlightObstacle: props.settingParams && props.settingParams.highlightObstacle !== undefined || false,
|
|
17668
18113
|
isLabel: props.settingParams && props.settingParams.isLabel !== undefined || true
|
|
17669
18114
|
});
|
|
17670
|
-
let viewModel = null;
|
|
18115
|
+
let viewModel = null; // 组件容器Ref
|
|
18116
|
+
|
|
18117
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
18118
|
+
|
|
18119
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
18120
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
17671
18121
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
17672
|
-
|
|
18122
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
18123
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
18124
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
18125
|
+
});
|
|
18126
|
+
watchCreateHeaderTemp();
|
|
18127
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
18128
|
+
watchCreateHeaderTemp();
|
|
18129
|
+
}); //父组件ScenceView初始化完成后执行
|
|
18130
|
+
|
|
17673
18131
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
17674
18132
|
if (scenceView) {
|
|
17675
18133
|
language.value = scenceView._language;
|
|
@@ -17684,6 +18142,16 @@ const __default__ = {
|
|
|
17684
18142
|
}
|
|
17685
18143
|
});
|
|
17686
18144
|
});
|
|
18145
|
+
/**
|
|
18146
|
+
* @description 监听header生成
|
|
18147
|
+
*/
|
|
18148
|
+
|
|
18149
|
+
const watchCreateHeaderTemp = () => {
|
|
18150
|
+
if (props.showHeaderTemp) {
|
|
18151
|
+
// 生成headerTemp
|
|
18152
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
18153
|
+
}
|
|
18154
|
+
};
|
|
17687
18155
|
|
|
17688
18156
|
function paramsChanged(key) {
|
|
17689
18157
|
switch (key) {
|
|
@@ -17756,17 +18224,16 @@ const __default__ = {
|
|
|
17756
18224
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
17757
18225
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-sightline-analysis", {
|
|
17758
18226
|
'kq-box-shadow': __props.showShadow
|
|
17759
|
-
}])
|
|
17760
|
-
|
|
18227
|
+
}]),
|
|
18228
|
+
ref_key: "boxRef",
|
|
18229
|
+
ref: boxRef
|
|
18230
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
17761
18231
|
key: 0,
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
|
|
17765
|
-
|
|
17766
|
-
|
|
17767
|
-
}, null, 8
|
|
17768
|
-
/* PROPS */
|
|
17769
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
18232
|
+
ref_key: "headerTempRef",
|
|
18233
|
+
ref: headerTempRef
|
|
18234
|
+
}, null, 512
|
|
18235
|
+
/* NEED_PATCH */
|
|
18236
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
17770
18237
|
class: "kq3d-sightline-analysis-tip"
|
|
17771
18238
|
}, {
|
|
17772
18239
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sightTips), 1
|
|
@@ -17880,7 +18347,7 @@ const __default__ = {
|
|
|
17880
18347
|
|
|
17881
18348
|
}, 8
|
|
17882
18349
|
/* PROPS */
|
|
17883
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
18350
|
+
, ["model-value"]), (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, {
|
|
17884
18351
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(addSeePoint, ["stop"]),
|
|
17885
18352
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).seePoint,
|
|
17886
18353
|
type: "primary"
|
|
@@ -17918,7 +18385,7 @@ const __default__ = {
|
|
|
17918
18385
|
|
|
17919
18386
|
}, 8
|
|
17920
18387
|
/* PROPS */
|
|
17921
|
-
, ["onClick", "title"])])], 2
|
|
18388
|
+
, ["onClick", "title"])])])], 2
|
|
17922
18389
|
/* CLASS */
|
|
17923
18390
|
);
|
|
17924
18391
|
};
|
|
@@ -18247,19 +18714,22 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
18247
18714
|
var SkylineAnalysisViewModel = __webpack_require__(3084);
|
|
18248
18715
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
18249
18716
|
var client_icons_vue_ = __webpack_require__(348);
|
|
18250
|
-
// EXTERNAL MODULE:
|
|
18251
|
-
var
|
|
18717
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
18718
|
+
var util_ = __webpack_require__(9519);
|
|
18252
18719
|
;// CONCATENATED MODULE: external "echarts"
|
|
18253
18720
|
var external_echarts_namespaceObject = require("echarts");
|
|
18254
18721
|
;// 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
|
|
18255
18722
|
|
|
18256
18723
|
const _hoisted_1 = {
|
|
18257
|
-
class: "kq3d-skyline-analysis-
|
|
18724
|
+
class: "kq3d-skyline-analysis-box"
|
|
18258
18725
|
};
|
|
18259
18726
|
const _hoisted_2 = {
|
|
18260
|
-
class: "kq3d-skyline-analysis-
|
|
18727
|
+
class: "kq3d-skyline-analysis-footer"
|
|
18261
18728
|
};
|
|
18262
18729
|
const _hoisted_3 = {
|
|
18730
|
+
class: "kq3d-skyline-analysis-result"
|
|
18731
|
+
};
|
|
18732
|
+
const _hoisted_4 = {
|
|
18263
18733
|
key: 0,
|
|
18264
18734
|
id: "resultEcahrt",
|
|
18265
18735
|
class: "resultEcahrt"
|
|
@@ -18285,6 +18755,11 @@ const __default__ = {
|
|
|
18285
18755
|
type: Boolean,
|
|
18286
18756
|
default: true
|
|
18287
18757
|
},
|
|
18758
|
+
|
|
18759
|
+
/**
|
|
18760
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
18761
|
+
*/
|
|
18762
|
+
position: [String, Object],
|
|
18288
18763
|
// 是否生成HeaderTemp
|
|
18289
18764
|
showHeaderTemp: {
|
|
18290
18765
|
type: Boolean,
|
|
@@ -18342,8 +18817,21 @@ const __default__ = {
|
|
|
18342
18817
|
// 限高体透明度范围最大值
|
|
18343
18818
|
skylineWidth: 2 // 天际线宽度
|
|
18344
18819
|
|
|
18345
|
-
});
|
|
18820
|
+
}); // 组件容器Ref
|
|
18821
|
+
|
|
18822
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
18823
|
+
|
|
18824
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
18825
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
18346
18826
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
18827
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
18828
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
18829
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
18830
|
+
});
|
|
18831
|
+
watchCreateHeaderTemp();
|
|
18832
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
18833
|
+
watchCreateHeaderTemp();
|
|
18834
|
+
});
|
|
18347
18835
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
18348
18836
|
if (scenceView) {
|
|
18349
18837
|
language.value = scenceView._language;
|
|
@@ -18357,7 +18845,18 @@ const __default__ = {
|
|
|
18357
18845
|
viewModel._skylineAnalysisChartTitle = language.value["skylineAnalysisChartTitle"];
|
|
18358
18846
|
}
|
|
18359
18847
|
});
|
|
18360
|
-
});
|
|
18848
|
+
});
|
|
18849
|
+
/**
|
|
18850
|
+
* @description 监听header生成
|
|
18851
|
+
*/
|
|
18852
|
+
|
|
18853
|
+
const watchCreateHeaderTemp = () => {
|
|
18854
|
+
if (props.showHeaderTemp) {
|
|
18855
|
+
// 生成headerTemp
|
|
18856
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
18857
|
+
}
|
|
18858
|
+
}; // 提取天际线
|
|
18859
|
+
|
|
18361
18860
|
|
|
18362
18861
|
function pickSkyLine() {
|
|
18363
18862
|
resultEcahrtVis.value = true;
|
|
@@ -18442,17 +18941,16 @@ const __default__ = {
|
|
|
18442
18941
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
18443
18942
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-skyline-analysis", {
|
|
18444
18943
|
'kq-box-shadow': __props.showShadow
|
|
18445
|
-
}])
|
|
18446
|
-
|
|
18944
|
+
}]),
|
|
18945
|
+
ref_key: "boxRef",
|
|
18946
|
+
ref: boxRef
|
|
18947
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
18447
18948
|
key: 0,
|
|
18448
|
-
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
}, null, 8
|
|
18454
|
-
/* PROPS */
|
|
18455
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
18949
|
+
ref_key: "headerTempRef",
|
|
18950
|
+
ref: headerTempRef
|
|
18951
|
+
}, null, 512
|
|
18952
|
+
/* NEED_PATCH */
|
|
18953
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
18456
18954
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
18457
18955
|
class: "kq3d-skyline-analysis-collapse"
|
|
18458
18956
|
}, {
|
|
@@ -18630,7 +19128,7 @@ const __default__ = {
|
|
|
18630
19128
|
|
|
18631
19129
|
}, 8
|
|
18632
19130
|
/* PROPS */
|
|
18633
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
19131
|
+
, ["model-value"]), (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_row, {
|
|
18634
19132
|
gutter: 20,
|
|
18635
19133
|
class: "btnClass"
|
|
18636
19134
|
}, {
|
|
@@ -18723,7 +19221,7 @@ const __default__ = {
|
|
|
18723
19221
|
_: 1
|
|
18724
19222
|
/* STABLE */
|
|
18725
19223
|
|
|
18726
|
-
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
19224
|
+
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultEcahrtVis) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)])])], 2
|
|
18727
19225
|
/* CLASS */
|
|
18728
19226
|
);
|
|
18729
19227
|
};
|
|
@@ -19034,39 +19532,42 @@ class SlopeAnalysisViewModel {
|
|
|
19034
19532
|
}
|
|
19035
19533
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
19036
19534
|
var client_icons_vue_ = __webpack_require__(348);
|
|
19037
|
-
// EXTERNAL MODULE:
|
|
19038
|
-
var
|
|
19535
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
19536
|
+
var util_ = __webpack_require__(9519);
|
|
19039
19537
|
;// 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
|
|
19040
19538
|
|
|
19041
19539
|
const _hoisted_1 = {
|
|
19042
|
-
|
|
19540
|
+
class: "kq3d-slope-analysis-box"
|
|
19043
19541
|
};
|
|
19044
19542
|
const _hoisted_2 = {
|
|
19045
|
-
|
|
19543
|
+
key: 0
|
|
19046
19544
|
};
|
|
19047
19545
|
const _hoisted_3 = {
|
|
19546
|
+
class: "kq3d-slope-analysis-span"
|
|
19547
|
+
};
|
|
19548
|
+
const _hoisted_4 = {
|
|
19048
19549
|
key: 1
|
|
19049
19550
|
};
|
|
19050
19551
|
|
|
19051
|
-
const
|
|
19552
|
+
const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "0°", -1
|
|
19052
19553
|
/* HOISTED */
|
|
19053
19554
|
);
|
|
19054
19555
|
|
|
19055
|
-
const
|
|
19556
|
+
const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
19056
19557
|
class: "kq3d-slope-analysis-line"
|
|
19057
19558
|
}, null, -1
|
|
19058
19559
|
/* HOISTED */
|
|
19059
19560
|
);
|
|
19060
19561
|
|
|
19061
|
-
const
|
|
19562
|
+
const _hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "90°", -1
|
|
19062
19563
|
/* HOISTED */
|
|
19063
19564
|
);
|
|
19064
19565
|
|
|
19065
|
-
const
|
|
19066
|
-
const
|
|
19566
|
+
const _hoisted_8 = ["src"];
|
|
19567
|
+
const _hoisted_9 = {
|
|
19067
19568
|
key: 2
|
|
19068
19569
|
};
|
|
19069
|
-
const
|
|
19570
|
+
const _hoisted_10 = {
|
|
19070
19571
|
class: "kq3d-slope-analysis-footer"
|
|
19071
19572
|
};
|
|
19072
19573
|
|
|
@@ -19089,6 +19590,11 @@ const __default__ = {
|
|
|
19089
19590
|
type: Boolean,
|
|
19090
19591
|
default: true
|
|
19091
19592
|
},
|
|
19593
|
+
|
|
19594
|
+
/**
|
|
19595
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
19596
|
+
*/
|
|
19597
|
+
position: [String, Object],
|
|
19092
19598
|
// 是否生成HeaderTemp
|
|
19093
19599
|
showHeaderTemp: {
|
|
19094
19600
|
type: Boolean,
|
|
@@ -19168,8 +19674,21 @@ const __default__ = {
|
|
|
19168
19674
|
maxSlope: props.settingParams && props.settingParams.maxSlope || 60,
|
|
19169
19675
|
slopeColorAlpha: props.settingParams && props.settingParams.slopeColorAlpha || 0.3,
|
|
19170
19676
|
slopeColorText: props.settingParams && props.settingParams.slopeColorText || "#FF0000"
|
|
19171
|
-
});
|
|
19677
|
+
}); // 组件容器Ref
|
|
19678
|
+
|
|
19679
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
19680
|
+
|
|
19681
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
19682
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
19172
19683
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
19684
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
19685
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
19686
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
19687
|
+
});
|
|
19688
|
+
watchCreateHeaderTemp();
|
|
19689
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
19690
|
+
watchCreateHeaderTemp();
|
|
19691
|
+
});
|
|
19173
19692
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
19174
19693
|
|
|
19175
19694
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -19180,7 +19699,18 @@ const __default__ = {
|
|
|
19180
19699
|
// viewModel.setColorImage(imageUrl);
|
|
19181
19700
|
}
|
|
19182
19701
|
});
|
|
19183
|
-
});
|
|
19702
|
+
});
|
|
19703
|
+
/**
|
|
19704
|
+
* @description 监听header生成
|
|
19705
|
+
*/
|
|
19706
|
+
|
|
19707
|
+
const watchCreateHeaderTemp = () => {
|
|
19708
|
+
if (props.showHeaderTemp) {
|
|
19709
|
+
// 生成headerTemp
|
|
19710
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
19711
|
+
}
|
|
19712
|
+
}; // 刷新自定义样式数组
|
|
19713
|
+
|
|
19184
19714
|
|
|
19185
19715
|
function refactorArr(type) {
|
|
19186
19716
|
if (!dataList || !dataList.length) return;
|
|
@@ -19315,18 +19845,17 @@ const __default__ = {
|
|
|
19315
19845
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
19316
19846
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-slope-analysis", {
|
|
19317
19847
|
'kq-box-shadow': __props.showShadow
|
|
19318
|
-
}])
|
|
19319
|
-
|
|
19848
|
+
}]),
|
|
19849
|
+
ref_key: "boxRef",
|
|
19850
|
+
ref: boxRef
|
|
19851
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
19852
|
+
key: 0,
|
|
19853
|
+
ref_key: "headerTempRef",
|
|
19854
|
+
ref: headerTempRef
|
|
19855
|
+
}, null, 512
|
|
19856
|
+
/* NEED_PATCH */
|
|
19857
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle !== 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
19320
19858
|
key: 0,
|
|
19321
|
-
showShadow: __props.showShadow,
|
|
19322
|
-
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slopeAnalysis,
|
|
19323
|
-
headerTempIcon: __props.headerTempIcon,
|
|
19324
|
-
isCollapse: __props.isCollapseHeaderTemp,
|
|
19325
|
-
isRight: __props.isRight
|
|
19326
|
-
}, null, 8
|
|
19327
|
-
/* PROPS */
|
|
19328
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle !== 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
19329
|
-
key: 1,
|
|
19330
19859
|
class: "kq3d-slope-analysis-tip"
|
|
19331
19860
|
}, {
|
|
19332
19861
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1
|
|
@@ -19390,7 +19919,7 @@ const __default__ = {
|
|
|
19390
19919
|
_: 1
|
|
19391
19920
|
/* STABLE */
|
|
19392
19921
|
|
|
19393
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'tableColor' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
19922
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'tableColor' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
19394
19923
|
style: {
|
|
19395
19924
|
"display": "flex"
|
|
19396
19925
|
}
|
|
@@ -19449,7 +19978,7 @@ const __default__ = {
|
|
|
19449
19978
|
"controls-position": "right"
|
|
19450
19979
|
}, null, 8
|
|
19451
19980
|
/* PROPS */
|
|
19452
|
-
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
19981
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _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).to), 1
|
|
19453
19982
|
/* TEXT */
|
|
19454
19983
|
), index > 0 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
19455
19984
|
key: 2,
|
|
@@ -19504,7 +20033,7 @@ const __default__ = {
|
|
|
19504
20033
|
);
|
|
19505
20034
|
}), 128
|
|
19506
20035
|
/* KEYED_FRAGMENT */
|
|
19507
|
-
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'colorImage' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
20036
|
+
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'colorImage' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
19508
20037
|
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, {
|
|
19509
20038
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientColor
|
|
19510
20039
|
}, {
|
|
@@ -19513,7 +20042,7 @@ const __default__ = {
|
|
|
19513
20042
|
"display": "flex"
|
|
19514
20043
|
}
|
|
19515
20044
|
}, {
|
|
19516
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
20045
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_5, _hoisted_6, _hoisted_7]),
|
|
19517
20046
|
_: 1
|
|
19518
20047
|
/* STABLE */
|
|
19519
20048
|
|
|
@@ -19533,7 +20062,7 @@ const __default__ = {
|
|
|
19533
20062
|
alt: ""
|
|
19534
20063
|
}, null, 8
|
|
19535
20064
|
/* PROPS */
|
|
19536
|
-
,
|
|
20065
|
+
, _hoisted_8)]),
|
|
19537
20066
|
_: 2
|
|
19538
20067
|
/* DYNAMIC */
|
|
19539
20068
|
|
|
@@ -19558,7 +20087,7 @@ const __default__ = {
|
|
|
19558
20087
|
_: 1
|
|
19559
20088
|
/* STABLE */
|
|
19560
20089
|
|
|
19561
|
-
})])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
20090
|
+
})])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
19562
20091
|
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, {
|
|
19563
20092
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).minSlope
|
|
19564
20093
|
}, {
|
|
@@ -19768,7 +20297,7 @@ const __default__ = {
|
|
|
19768
20297
|
|
|
19769
20298
|
}, 8
|
|
19770
20299
|
/* PROPS */
|
|
19771
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
20300
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
19772
20301
|
onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
19773
20302
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
19774
20303
|
type: "primary"
|
|
@@ -19793,7 +20322,7 @@ const __default__ = {
|
|
|
19793
20322
|
|
|
19794
20323
|
}, 8
|
|
19795
20324
|
/* PROPS */
|
|
19796
|
-
, ["title"])])], 2
|
|
20325
|
+
, ["title"])])])], 2
|
|
19797
20326
|
/* CLASS */
|
|
19798
20327
|
);
|
|
19799
20328
|
};
|
|
@@ -20222,17 +20751,20 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
20222
20751
|
var TerrainOperationViewModel = __webpack_require__(5925);
|
|
20223
20752
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
20224
20753
|
var client_icons_vue_ = __webpack_require__(348);
|
|
20225
|
-
// EXTERNAL MODULE:
|
|
20226
|
-
var
|
|
20754
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
20755
|
+
var util_ = __webpack_require__(9519);
|
|
20227
20756
|
;// 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
|
|
20228
20757
|
|
|
20229
20758
|
const _hoisted_1 = {
|
|
20230
|
-
class: "kq3d-terrain-operation-analysis-
|
|
20759
|
+
class: "kq3d-terrain-operation-analysis-box"
|
|
20231
20760
|
};
|
|
20232
20761
|
const _hoisted_2 = {
|
|
20233
|
-
|
|
20762
|
+
class: "kq3d-terrain-operation-analysis-span"
|
|
20234
20763
|
};
|
|
20235
20764
|
const _hoisted_3 = {
|
|
20765
|
+
key: 0
|
|
20766
|
+
};
|
|
20767
|
+
const _hoisted_4 = {
|
|
20236
20768
|
class: "kq3d-terrain-operation-analysis-footer"
|
|
20237
20769
|
};
|
|
20238
20770
|
|
|
@@ -20259,6 +20791,11 @@ const __default__ = {
|
|
|
20259
20791
|
type: Boolean,
|
|
20260
20792
|
default: true
|
|
20261
20793
|
},
|
|
20794
|
+
|
|
20795
|
+
/**
|
|
20796
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
20797
|
+
*/
|
|
20798
|
+
position: [String, Object],
|
|
20262
20799
|
// 是否生成HeaderTemp
|
|
20263
20800
|
showHeaderTemp: {
|
|
20264
20801
|
type: Boolean,
|
|
@@ -20305,8 +20842,21 @@ const __default__ = {
|
|
|
20305
20842
|
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 5000 // 地形开挖深度范围最大值
|
|
20306
20843
|
|
|
20307
20844
|
});
|
|
20308
|
-
let viewModel = null;
|
|
20845
|
+
let viewModel = null; // 组件容器Ref
|
|
20846
|
+
|
|
20847
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
20848
|
+
|
|
20849
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
20850
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
20309
20851
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
20852
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
20853
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
20854
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
20855
|
+
});
|
|
20856
|
+
watchCreateHeaderTemp();
|
|
20857
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
20858
|
+
watchCreateHeaderTemp();
|
|
20859
|
+
});
|
|
20310
20860
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
20311
20861
|
|
|
20312
20862
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -20322,7 +20872,18 @@ const __default__ = {
|
|
|
20322
20872
|
});
|
|
20323
20873
|
}
|
|
20324
20874
|
});
|
|
20325
|
-
});
|
|
20875
|
+
});
|
|
20876
|
+
/**
|
|
20877
|
+
* @description 监听header生成
|
|
20878
|
+
*/
|
|
20879
|
+
|
|
20880
|
+
const watchCreateHeaderTemp = () => {
|
|
20881
|
+
if (props.showHeaderTemp) {
|
|
20882
|
+
// 生成headerTemp
|
|
20883
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
20884
|
+
}
|
|
20885
|
+
}; // 改变样式
|
|
20886
|
+
|
|
20326
20887
|
|
|
20327
20888
|
function changeStyle() {
|
|
20328
20889
|
viewModel && viewModel.setTerrainStyle(formItem.terrainStyle);
|
|
@@ -20369,18 +20930,17 @@ const __default__ = {
|
|
|
20369
20930
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
20370
20931
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
|
|
20371
20932
|
'kq-box-shadow': __props.showShadow
|
|
20372
|
-
}])
|
|
20373
|
-
|
|
20933
|
+
}]),
|
|
20934
|
+
ref_key: "boxRef",
|
|
20935
|
+
ref: boxRef
|
|
20936
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
20374
20937
|
key: 0,
|
|
20375
|
-
|
|
20376
|
-
|
|
20377
|
-
|
|
20378
|
-
|
|
20379
|
-
|
|
20380
|
-
|
|
20381
|
-
/* PROPS */
|
|
20382
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), __props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
20383
|
-
key: 1
|
|
20938
|
+
ref_key: "headerTempRef",
|
|
20939
|
+
ref: headerTempRef
|
|
20940
|
+
}, null, 512
|
|
20941
|
+
/* NEED_PATCH */
|
|
20942
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [__props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
20943
|
+
key: 0
|
|
20384
20944
|
}, {
|
|
20385
20945
|
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_radio, {
|
|
20386
20946
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
|
|
@@ -20415,13 +20975,13 @@ const __default__ = {
|
|
|
20415
20975
|
/* STABLE */
|
|
20416
20976
|
|
|
20417
20977
|
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
20418
|
-
key:
|
|
20978
|
+
key: 1,
|
|
20419
20979
|
gutter: 10
|
|
20420
20980
|
}, {
|
|
20421
20981
|
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, {
|
|
20422
20982
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
20423
20983
|
}, {
|
|
20424
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
20984
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1
|
|
20425
20985
|
/* TEXT */
|
|
20426
20986
|
)]),
|
|
20427
20987
|
_: 1
|
|
@@ -20477,13 +21037,13 @@ const __default__ = {
|
|
|
20477
21037
|
}, {
|
|
20478
21038
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1
|
|
20479
21039
|
/* TEXT */
|
|
20480
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 2 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p",
|
|
21040
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 2 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", _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).reverseDrawPolygon + ")"), 1
|
|
20481
21041
|
/* TEXT */
|
|
20482
21042
|
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
20483
21043
|
_: 1
|
|
20484
21044
|
/* STABLE */
|
|
20485
21045
|
|
|
20486
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
21046
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
20487
21047
|
onClick: _cache[7] || (_cache[7] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
20488
21048
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
20489
21049
|
type: "primary"
|
|
@@ -20508,7 +21068,7 @@ const __default__ = {
|
|
|
20508
21068
|
|
|
20509
21069
|
}, 8
|
|
20510
21070
|
/* PROPS */
|
|
20511
|
-
, ["title"])])], 2
|
|
21071
|
+
, ["title"])])])], 2
|
|
20512
21072
|
/* CLASS */
|
|
20513
21073
|
);
|
|
20514
21074
|
};
|
|
@@ -20623,28 +21183,26 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
20623
21183
|
var gis_utils_ = __webpack_require__(826);
|
|
20624
21184
|
// EXTERNAL MODULE: ./src/webgl/underground/UndergroundViewModel.js
|
|
20625
21185
|
var UndergroundViewModel = __webpack_require__(7656);
|
|
21186
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
21187
|
+
var util_ = __webpack_require__(9519);
|
|
20626
21188
|
;// 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
|
|
20627
21189
|
|
|
20628
21190
|
const _hoisted_1 = {
|
|
20629
|
-
class: "kq3d-underground"
|
|
21191
|
+
class: "kq3d-underground-switch"
|
|
20630
21192
|
};
|
|
20631
21193
|
|
|
20632
21194
|
|
|
20633
21195
|
|
|
21196
|
+
|
|
20634
21197
|
const __default__ = {
|
|
20635
21198
|
name: "kq3dUnderground"
|
|
20636
21199
|
};
|
|
20637
21200
|
/* harmony default export */ var Undergroundvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
20638
21201
|
props: {
|
|
20639
|
-
|
|
20640
|
-
|
|
20641
|
-
|
|
20642
|
-
|
|
20643
|
-
},
|
|
20644
|
-
right: {
|
|
20645
|
-
type: Number,
|
|
20646
|
-
default: 20
|
|
20647
|
-
}
|
|
21202
|
+
/**
|
|
21203
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
21204
|
+
*/
|
|
21205
|
+
position: [String, Object]
|
|
20648
21206
|
},
|
|
20649
21207
|
emits: ["undergroundChange"],
|
|
20650
21208
|
|
|
@@ -20660,8 +21218,14 @@ const __default__ = {
|
|
|
20660
21218
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
20661
21219
|
let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
20662
21220
|
let viewer = null;
|
|
20663
|
-
let viewModel = null;
|
|
21221
|
+
let viewModel = null; // 组件容器Ref
|
|
21222
|
+
|
|
21223
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
20664
21224
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
21225
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
21226
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
21227
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
21228
|
+
});
|
|
20665
21229
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
20666
21230
|
if (scenceView) {
|
|
20667
21231
|
viewer = scenceView._viewer;
|
|
@@ -20693,14 +21257,15 @@ const __default__ = {
|
|
|
20693
21257
|
|
|
20694
21258
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
20695
21259
|
|
|
20696
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
21260
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
21261
|
+
class: "kq3d-underground",
|
|
21262
|
+
ref_key: "boxRef",
|
|
21263
|
+
ref: boxRef
|
|
21264
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
20697
21265
|
"label-width": "120px",
|
|
20698
21266
|
"label-position": "left"
|
|
20699
21267
|
}, {
|
|
20700
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
20701
|
-
class: "kq3d-underground-switch",
|
|
20702
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('top: ' + props.top + 'px; right: ' + props.right + 'px;')
|
|
20703
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
21268
|
+
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_.createVNode)(_component_kq_switch, {
|
|
20704
21269
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isUndergroundMode),
|
|
20705
21270
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(isUndergroundMode) ? isUndergroundMode.value = $event : isUndergroundMode = $event),
|
|
20706
21271
|
onChange: undergroundChange,
|
|
@@ -20713,13 +21278,13 @@ const __default__ = {
|
|
|
20713
21278
|
}
|
|
20714
21279
|
}, null, 8
|
|
20715
21280
|
/* PROPS */
|
|
20716
|
-
, ["modelValue", "active-text"])],
|
|
20717
|
-
/* STYLE */
|
|
20718
|
-
)]),
|
|
21281
|
+
, ["modelValue", "active-text"])])]),
|
|
20719
21282
|
_: 1
|
|
20720
21283
|
/* STABLE */
|
|
20721
21284
|
|
|
20722
|
-
})]
|
|
21285
|
+
})], 512
|
|
21286
|
+
/* NEED_PATCH */
|
|
21287
|
+
);
|
|
20723
21288
|
};
|
|
20724
21289
|
}
|
|
20725
21290
|
|
|
@@ -20875,11 +21440,14 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
20875
21440
|
var ViewshedAnalysisViewModel = __webpack_require__(9721);
|
|
20876
21441
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
20877
21442
|
var client_icons_vue_ = __webpack_require__(348);
|
|
20878
|
-
// EXTERNAL MODULE:
|
|
20879
|
-
var
|
|
21443
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
21444
|
+
var util_ = __webpack_require__(9519);
|
|
20880
21445
|
;// 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
|
|
20881
21446
|
|
|
20882
21447
|
const _hoisted_1 = {
|
|
21448
|
+
class: "kq3d-viewshed-analysis-box"
|
|
21449
|
+
};
|
|
21450
|
+
const _hoisted_2 = {
|
|
20883
21451
|
class: "kq3d-viewshed-analysis-footer"
|
|
20884
21452
|
};
|
|
20885
21453
|
|
|
@@ -20901,6 +21469,11 @@ const __default__ = {
|
|
|
20901
21469
|
type: Boolean,
|
|
20902
21470
|
default: true
|
|
20903
21471
|
},
|
|
21472
|
+
|
|
21473
|
+
/**
|
|
21474
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
21475
|
+
*/
|
|
21476
|
+
position: [String, Object],
|
|
20904
21477
|
// 是否生成HeaderTemp
|
|
20905
21478
|
showHeaderTemp: {
|
|
20906
21479
|
type: Boolean,
|
|
@@ -20963,8 +21536,21 @@ const __default__ = {
|
|
|
20963
21536
|
// 不可见颜色
|
|
20964
21537
|
lineColor: props.settingParams && props.settingParams.lineColor || "#E6A23C"
|
|
20965
21538
|
});
|
|
20966
|
-
let viewModel = null;
|
|
21539
|
+
let viewModel = null; // 组件容器Ref
|
|
21540
|
+
|
|
21541
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
21542
|
+
|
|
21543
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
21544
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
20967
21545
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
21546
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
21547
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
21548
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
21549
|
+
});
|
|
21550
|
+
watchCreateHeaderTemp();
|
|
21551
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
21552
|
+
watchCreateHeaderTemp();
|
|
21553
|
+
});
|
|
20968
21554
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
|
|
20969
21555
|
|
|
20970
21556
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -20981,6 +21567,16 @@ const __default__ = {
|
|
|
20981
21567
|
}
|
|
20982
21568
|
});
|
|
20983
21569
|
});
|
|
21570
|
+
/**
|
|
21571
|
+
* @description 监听header生成
|
|
21572
|
+
*/
|
|
21573
|
+
|
|
21574
|
+
const watchCreateHeaderTemp = () => {
|
|
21575
|
+
if (props.showHeaderTemp) {
|
|
21576
|
+
// 生成headerTemp
|
|
21577
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
21578
|
+
}
|
|
21579
|
+
};
|
|
20984
21580
|
|
|
20985
21581
|
function paramsChanged(key) {
|
|
20986
21582
|
switch (key) {
|
|
@@ -21056,17 +21652,16 @@ const __default__ = {
|
|
|
21056
21652
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
21057
21653
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-viewshed-analysis", {
|
|
21058
21654
|
'kq-box-shadow': __props.showShadow
|
|
21059
|
-
}])
|
|
21060
|
-
|
|
21655
|
+
}]),
|
|
21656
|
+
ref_key: "boxRef",
|
|
21657
|
+
ref: boxRef
|
|
21658
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
21061
21659
|
key: 0,
|
|
21062
|
-
|
|
21063
|
-
|
|
21064
|
-
|
|
21065
|
-
|
|
21066
|
-
|
|
21067
|
-
}, null, 8
|
|
21068
|
-
/* PROPS */
|
|
21069
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
21660
|
+
ref_key: "headerTempRef",
|
|
21661
|
+
ref: headerTempRef
|
|
21662
|
+
}, null, 512
|
|
21663
|
+
/* NEED_PATCH */
|
|
21664
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
21070
21665
|
class: "kq3d-viewshed-analysis-tip"
|
|
21071
21666
|
}, {
|
|
21072
21667
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).viewshedTips), 1
|
|
@@ -21312,7 +21907,7 @@ const __default__ = {
|
|
|
21312
21907
|
|
|
21313
21908
|
}, 8
|
|
21314
21909
|
/* PROPS */
|
|
21315
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
21910
|
+
, ["model-value"]), (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, {
|
|
21316
21911
|
onClick: _cache[16] || (_cache[16] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
21317
21912
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
21318
21913
|
type: "primary"
|
|
@@ -21337,7 +21932,7 @@ const __default__ = {
|
|
|
21337
21932
|
|
|
21338
21933
|
}, 8
|
|
21339
21934
|
/* PROPS */
|
|
21340
|
-
, ["title"])])], 2
|
|
21935
|
+
, ["title"])])])], 2
|
|
21341
21936
|
/* CLASS */
|
|
21342
21937
|
);
|
|
21343
21938
|
};
|
|
@@ -21559,11 +22154,14 @@ class WeatherEffectViewModel {
|
|
|
21559
22154
|
}
|
|
21560
22155
|
|
|
21561
22156
|
}
|
|
21562
|
-
// EXTERNAL MODULE:
|
|
21563
|
-
var
|
|
22157
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
22158
|
+
var util_ = __webpack_require__(9519);
|
|
21564
22159
|
;// 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
|
|
21565
22160
|
|
|
21566
22161
|
const _hoisted_1 = {
|
|
22162
|
+
class: "kq3d-weather-effect-box"
|
|
22163
|
+
};
|
|
22164
|
+
const _hoisted_2 = {
|
|
21567
22165
|
class: "kq3d-weather-effect-footer"
|
|
21568
22166
|
};
|
|
21569
22167
|
|
|
@@ -21585,6 +22183,11 @@ const __default__ = {
|
|
|
21585
22183
|
type: Boolean,
|
|
21586
22184
|
default: true
|
|
21587
22185
|
},
|
|
22186
|
+
|
|
22187
|
+
/**
|
|
22188
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
22189
|
+
*/
|
|
22190
|
+
position: [String, Object],
|
|
21588
22191
|
// 是否生成HeaderTemp
|
|
21589
22192
|
showHeaderTemp: {
|
|
21590
22193
|
type: Boolean,
|
|
@@ -21632,8 +22235,21 @@ const __default__ = {
|
|
|
21632
22235
|
endScale: props.settingParams && props.settingParams.endScale || 1.3,
|
|
21633
22236
|
gravity: props.settingParams && props.settingParams.gravity || 1
|
|
21634
22237
|
});
|
|
21635
|
-
let viewModel = null;
|
|
22238
|
+
let viewModel = null; // 组件容器Ref
|
|
22239
|
+
|
|
22240
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
22241
|
+
|
|
22242
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
22243
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
21636
22244
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
22245
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
22246
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
22247
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
22248
|
+
});
|
|
22249
|
+
watchCreateHeaderTemp();
|
|
22250
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
22251
|
+
watchCreateHeaderTemp();
|
|
22252
|
+
});
|
|
21637
22253
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
21638
22254
|
|
|
21639
22255
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -21642,7 +22258,18 @@ const __default__ = {
|
|
|
21642
22258
|
viewModel = new WeatherEffectViewModel(scenceView);
|
|
21643
22259
|
}
|
|
21644
22260
|
});
|
|
21645
|
-
});
|
|
22261
|
+
});
|
|
22262
|
+
/**
|
|
22263
|
+
* @description 监听header生成
|
|
22264
|
+
*/
|
|
22265
|
+
|
|
22266
|
+
const watchCreateHeaderTemp = () => {
|
|
22267
|
+
if (props.showHeaderTemp) {
|
|
22268
|
+
// 生成headerTemp
|
|
22269
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
22270
|
+
}
|
|
22271
|
+
}; //切换雨雪天气特效
|
|
22272
|
+
|
|
21646
22273
|
|
|
21647
22274
|
function changeMode(mode) {
|
|
21648
22275
|
if (formItem.mode !== mode) {
|
|
@@ -21736,17 +22363,16 @@ const __default__ = {
|
|
|
21736
22363
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
21737
22364
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-weather-effect", {
|
|
21738
22365
|
'kq-box-shadow': __props.showShadow
|
|
21739
|
-
}])
|
|
21740
|
-
|
|
22366
|
+
}]),
|
|
22367
|
+
ref_key: "boxRef",
|
|
22368
|
+
ref: boxRef
|
|
22369
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
21741
22370
|
key: 0,
|
|
21742
|
-
|
|
21743
|
-
|
|
21744
|
-
|
|
21745
|
-
|
|
21746
|
-
|
|
21747
|
-
}, null, 8
|
|
21748
|
-
/* PROPS */
|
|
21749
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
22371
|
+
ref_key: "headerTempRef",
|
|
22372
|
+
ref: headerTempRef
|
|
22373
|
+
}, null, 512
|
|
22374
|
+
/* NEED_PATCH */
|
|
22375
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
21750
22376
|
gutter: 20,
|
|
21751
22377
|
class: "rowclass"
|
|
21752
22378
|
}, {
|
|
@@ -21963,7 +22589,7 @@ const __default__ = {
|
|
|
21963
22589
|
_: 1
|
|
21964
22590
|
/* STABLE */
|
|
21965
22591
|
|
|
21966
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row>\r\n
|
|
22592
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row>\r\n <kq-form-item :label=\"language.lifeCycle\">\r\n <kq-row style=\"display: flex\">\r\n <kq-col :span=\"16\">\r\n <kq-slider v-model=\"formItem.lifeCycle\" :step=\"1\" :min=\"1\" :max=\"50\" @input=\"paramsChanged('lifeCycle')\"></kq-slider>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-input-number\r\n v-model=\"formItem.lifeCycle\"\r\n :step=\"1\"\r\n :min=\"1\"\r\n :max=\"50\"\r\n controls-position=\"right\"\r\n @input=\"paramsChanged('lifeCycle')\">\r\n </kq-input-number>\r\n </kq-col>\r\n </kq-row>\r\n </kq-form-item>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
21967
22593
|
class: "rowclass"
|
|
21968
22594
|
}, {
|
|
21969
22595
|
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, {
|
|
@@ -22155,7 +22781,7 @@ const __default__ = {
|
|
|
22155
22781
|
|
|
22156
22782
|
}, 8
|
|
22157
22783
|
/* PROPS */
|
|
22158
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
22784
|
+
, ["model-value"]), (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, {
|
|
22159
22785
|
onClick: _cache[26] || (_cache[26] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
|
|
22160
22786
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
|
|
22161
22787
|
type: "primary"
|
|
@@ -22180,7 +22806,7 @@ const __default__ = {
|
|
|
22180
22806
|
|
|
22181
22807
|
}, 8
|
|
22182
22808
|
/* PROPS */
|
|
22183
|
-
, ["title"])])], 2
|
|
22809
|
+
, ["title"])])])], 2
|
|
22184
22810
|
/* CLASS */
|
|
22185
22811
|
);
|
|
22186
22812
|
};
|