@kq_npm/client3d_webgl_vue 4.5.30 → 4.5.32

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.
Files changed (55) hide show
  1. package/adddata/index.js +227 -496
  2. package/aspectanalysis/index.js +71 -182
  3. package/baseterraingallery/index.js +40 -102
  4. package/boxclip/index.js +197 -423
  5. package/clientPrint/index.js +7324 -17727
  6. package/comparemap/index.js +165 -216
  7. package/compass/index.js +20 -47
  8. package/excavatefillanalysis/index.js +101 -206
  9. package/fixedzoomin/index.js +20 -43
  10. package/fixedzoomout/index.js +18 -42
  11. package/flight/index.js +206 -353
  12. package/floodanalysis/index.js +145 -328
  13. package/geologicalbodyanalysis/index.js +114 -241
  14. package/gpuspatialquery/index.js +146 -340
  15. package/hawkeye/index.js +78 -80
  16. package/headertemp/index.js +8 -19
  17. package/heatmap3d/index.js +304 -645
  18. package/index.js +6896 -17544
  19. package/isolineanalysis/index.js +451 -1183
  20. package/light/index.js +308 -486
  21. package/limitheightanalysis/index.js +107 -204
  22. package/measure/index.js +145 -331
  23. package/modelFlat/index.js +114 -183
  24. package/modelexcavate/index.js +78 -172
  25. package/modelfilter/index.js +127 -252
  26. package/modelprofileanalysis/index.js +154 -297
  27. package/modelselect/index.js +90 -128
  28. package/package.json +1 -1
  29. package/particleeffect/index.js +170 -381
  30. package/planeclip/index.js +146 -281
  31. package/resetview/index.js +12 -31
  32. package/roller/index.js +252 -353
  33. package/scaneffect/index.js +178 -518
  34. package/sceneadvancedtoimage/index.js +152 -337
  35. package/sceneapp/index.js +7324 -17727
  36. package/sceneset/index.js +299 -838
  37. package/scenetohdimage/index.js +105 -276
  38. package/sceneview/index.js +7324 -17727
  39. package/screenshot/index.js +204 -281
  40. package/shadowanalysis/index.js +175 -386
  41. package/sightlineanalysis/index.js +135 -245
  42. package/skylineanalysis/index.js +108 -289
  43. package/slopeanalysis/index.js +174 -378
  44. package/slopeaspectanalysis/index.js +206 -466
  45. package/statusbar/index.js +37 -39
  46. package/terrainoperation/index.js +124 -218
  47. package/terrainprofileanalysis/index.js +66 -118
  48. package/typhoontrac/index.js +208 -330
  49. package/underground/index.js +16 -40
  50. package/videofusion/index.js +214 -470
  51. package/videoproject/index.js +220 -472
  52. package/viewshedanalysis/index.js +93 -230
  53. package/weathereffect/index.js +111 -295
  54. package/windyslicing/index.js +545 -727
  55. package/wireframesketch/index.js +49 -106
@@ -19,18 +19,16 @@ return /******/ (function() { // webpackBootstrap
19
19
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
20
  /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
21
  /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
22
- /*
23
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
- * All rights reserved.
22
+ /*
23
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
+ * All rights reserved.
25
25
  */
26
26
 
27
27
 
28
-
29
28
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
30
29
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
31
30
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
32
31
  };
33
-
34
32
  /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (KqMessage)));
35
33
 
36
34
  /***/ }),
@@ -42,6 +40,41 @@ module.exports = require("@kq_npm/client_icons_vue");
42
40
 
43
41
  /***/ }),
44
42
 
43
+ /***/ 8470:
44
+ /***/ (function(module) {
45
+
46
+ module.exports = require("core-js/modules/esnext.iterator.constructor.js");
47
+
48
+ /***/ }),
49
+
50
+ /***/ 1058:
51
+ /***/ (function(module) {
52
+
53
+ module.exports = require("core-js/modules/esnext.iterator.for-each.js");
54
+
55
+ /***/ }),
56
+
57
+ /***/ 4360:
58
+ /***/ (function(module) {
59
+
60
+ module.exports = require("core-js/modules/web.url-search-params.delete.js");
61
+
62
+ /***/ }),
63
+
64
+ /***/ 8824:
65
+ /***/ (function(module) {
66
+
67
+ module.exports = require("core-js/modules/web.url-search-params.has.js");
68
+
69
+ /***/ }),
70
+
71
+ /***/ 2936:
72
+ /***/ (function(module) {
73
+
74
+ module.exports = require("core-js/modules/web.url-search-params.size.js");
75
+
76
+ /***/ }),
77
+
45
78
  /***/ 9389:
46
79
  /***/ (function(module) {
47
80
 
@@ -101,7 +134,6 @@ function _defineProperty(obj, key, value) {
101
134
  } else {
102
135
  obj[key] = value;
103
136
  }
104
-
105
137
  return obj;
106
138
  }
107
139
 
@@ -187,79 +219,74 @@ __webpack_require__.d(__webpack_exports__, {
187
219
  "default": function() { return /* reexport */ TyphoonTrac; }
188
220
  });
189
221
 
222
+ // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.delete.js"
223
+ var web_url_search_params_delete_js_ = __webpack_require__(4360);
224
+ // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.has.js"
225
+ var web_url_search_params_has_js_ = __webpack_require__(8824);
226
+ // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.size.js"
227
+ var web_url_search_params_size_js_ = __webpack_require__(2936);
190
228
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
191
229
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
192
230
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
193
231
  var gis_utils_ = __webpack_require__(7135);
194
232
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
195
233
  var defineProperty = __webpack_require__(8270);
234
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
235
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
236
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
237
+ var esnext_iterator_for_each_js_ = __webpack_require__(1058);
238
+ ;// CONCATENATED MODULE: external "core-js/modules/esnext.iterator.reduce.js"
239
+ var esnext_iterator_reduce_js_namespaceObject = require("core-js/modules/esnext.iterator.reduce.js");
196
240
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
197
241
  var message = __webpack_require__(1349);
198
242
  ;// CONCATENATED MODULE: ./src/webgl/typhoontrac/TyphoonTracViewModel.js
199
243
 
200
244
 
245
+
246
+
201
247
  /*
202
248
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
203
249
  * All rights reserved.
204
250
  */
205
251
 
206
252
  class TyphoonTracViewModel {
207
- // 三维viewer对象
208
253
  constructor(scenceView) {
209
254
  (0,defineProperty/* default */.Z)(this, "_viewer", null);
210
-
255
+ // 三维viewer对象
211
256
  (0,defineProperty/* default */.Z)(this, "_language", null);
212
-
213
257
  (0,defineProperty/* default */.Z)(this, "_curTyphoon", []);
214
-
215
258
  (0,defineProperty/* default */.Z)(this, "currentRow", null);
216
-
217
259
  (0,defineProperty/* default */.Z)(this, "divPoint", null);
218
-
219
- (0,defineProperty/* default */.Z)(this, "warningLine_24", null);
220
-
221
- (0,defineProperty/* default */.Z)(this, "warningLine_48", null);
222
-
223
260
  (0,defineProperty/* default */.Z)(this, "eventListener", null);
224
-
225
261
  (0,defineProperty/* default */.Z)(this, "eventListener2", null);
226
-
227
262
  this._viewer = scenceView._viewer;
228
263
  this._language = scenceView._language;
229
- this._viewer.postProcessStages.fxaa.enabled = true; // 开启深度检测
230
-
264
+ this._viewer.postProcessStages.fxaa.enabled = true;
265
+ // 开启深度检测
231
266
  this._viewer.scene.globe.depthTestAgainstTerrain = true;
232
- } // 更新语言
233
-
234
-
267
+ }
268
+ // 更新语言
235
269
  changeLanguage(val) {
236
270
  this._language = val;
237
- } // 控制台风显示
238
-
239
-
271
+ }
272
+ // 控制台风显示
240
273
  createTyphoonPath(row, play = false) {
241
274
  let that = this;
242
-
243
275
  if (this._curTyphoon[row.tfid]) {
244
276
  this._curTyphoon[row.tfid].setVisible(row.show);
245
-
246
277
  row.show && this._curTyphoon[row.tfid].flyTo();
247
278
  } else {
248
279
  let res = Object.assign({}, row);
249
280
  this._curTyphoon[row.tfid] = new Cesium.Kq3dTyphoon(this._viewer, {
250
281
  data: res
251
282
  });
252
-
253
283
  this._curTyphoon[row.tfid].flyTo();
254
-
255
284
  this.eventListener = function (res) {
256
285
  if (res && res.data) {
257
286
  if (that._curTyphoon[row.tfid].divPoint) {
258
287
  that._curTyphoon[row.tfid].divPoint.destroy();
259
-
260
288
  that._curTyphoon[row.tfid].divPoint = null;
261
289
  }
262
-
263
290
  that.createInfoDivPoint(that.getDivPointData(res.data));
264
291
  } else {
265
292
  //清除信息
@@ -269,7 +296,6 @@ class TyphoonTracViewModel {
269
296
  }
270
297
  }
271
298
  };
272
-
273
299
  this.eventListener2 = function (res) {
274
300
  if (res && res.data) {
275
301
  if (that._curTyphoon[row.tfid] && !that._curTyphoon[row.tfid].isPlaying) {
@@ -278,57 +304,44 @@ class TyphoonTracViewModel {
278
304
  } else {
279
305
  if (that._curTyphoon[row.tfid].divPoint) {
280
306
  that._curTyphoon[row.tfid].divPoint.destroy();
281
-
282
307
  that._curTyphoon[row.tfid].divPoint = null;
283
308
  }
284
309
  }
285
310
  }
286
311
  };
287
-
288
312
  let hoverEvent = this._curTyphoon[row.tfid].getHoverEvent();
289
-
290
313
  let playEvent = this._curTyphoon[row.tfid].getPlayEvent();
291
-
292
314
  if (hoverEvent) {
293
315
  hoverEvent.addEventListener(this.eventListener);
294
316
  }
295
-
296
317
  if (playEvent) {
297
318
  playEvent.addEventListener(this.eventListener2);
298
319
  }
299
320
  }
300
-
301
321
  if (row.show) {
302
322
  if (play) {
303
323
  if (this.currentRow && this.currentRow.tfid && this._curTyphoon[this.currentRow.tfid] && this._curTyphoon[this.currentRow.tfid].stop) {
304
324
  this._curTyphoon[this.currentRow.tfid].stop();
305
325
  }
306
-
307
326
  this._curTyphoon[row.tfid].start();
308
327
  }
309
328
  }
310
-
311
329
  this.currentRow = row;
312
- } // 获取
313
-
314
-
330
+ }
331
+ // 获取
315
332
  getDivPointData(pointInfo) {
316
333
  if (pointInfo.radius7) pointInfo.radius7Arr = pointInfo.radius7.split('|');
317
334
  if (pointInfo.radius10) pointInfo.radius10Arr = pointInfo.radius10.split('|');
318
335
  if (pointInfo.radius12) pointInfo.radius12Arr = pointInfo.radius12.split('|');
319
336
  return pointInfo;
320
337
  }
321
-
322
338
  // 创建台风属性弹框
323
339
  createInfoPlayDivPoint(data) {
324
340
  data = Object.assign(data, this.currentRow);
325
-
326
341
  if (this._curTyphoon[data.tfid].divPoint) {
327
342
  this._curTyphoon[data.tfid].divPoint.destroy();
328
-
329
343
  this._curTyphoon[data.tfid].divPoint = null;
330
344
  }
331
-
332
345
  let htmlObj = this.createHtml(data);
333
346
  this._curTyphoon[data.tfid].divPoint = new Cesium.Kq3dHtmlTag(this._viewer, {
334
347
  html: htmlObj.html,
@@ -337,30 +350,24 @@ class TyphoonTracViewModel {
337
350
  noEvent: false
338
351
  });
339
352
  }
340
-
341
353
  //点击展示详细信息
342
354
  rowClickPath(index, row) {
343
355
  if (!this._curTyphoon[row.tfid]) {
344
356
  row.show = true;
345
357
  this.createTyphoonPath(row);
346
358
  }
347
-
348
359
  setTimeout(() => {
349
360
  this._curTyphoon[row.tfid].showPoint(index);
350
-
351
361
  this._curTyphoon[row.tfid].flyToPoint(index);
352
-
353
362
  this.createInfoDivPoint(this.getDivPointData(this._curTyphoon[row.tfid].positions[index]));
354
363
  }, 500);
355
364
  }
356
-
357
365
  // 创建浮动弹框属性
358
366
  createInfoDivPoint(data) {
359
367
  if (this.divPoint) {
360
368
  this.divPoint.destroy();
361
369
  this.divPoint = null;
362
370
  }
363
-
364
371
  this._curTyphoon.forEach(element => {
365
372
  if (element._data && data.name === element._data.name) {
366
373
  data = Object.assign(data, {
@@ -369,7 +376,6 @@ class TyphoonTracViewModel {
369
376
  return;
370
377
  }
371
378
  });
372
-
373
379
  if (!data.fLongitude || !data.fLatitude) return;
374
380
  let htmlObj = this.createHtml(data);
375
381
  this.divPoint = new Cesium.Kq3dHtmlTag(this._viewer, {
@@ -378,7 +384,6 @@ class TyphoonTracViewModel {
378
384
  anchor: [-140, htmlObj.anchorY]
379
385
  });
380
386
  }
381
-
382
387
  // 创建html弹框内容
383
388
  createHtml(data) {
384
389
  let anchorY = -215;
@@ -401,7 +406,6 @@ class TyphoonTracViewModel {
401
406
  <th class='head'>${this._language.southwest}</th>
402
407
  <th class='head'>${this._language.northwest}</th>
403
408
  </tr>`;
404
-
405
409
  if (data.radius7Arr) {
406
410
  html += `<tr>
407
411
  <th>${this._language.sevenLevels}</th>
@@ -412,7 +416,6 @@ class TyphoonTracViewModel {
412
416
  </tr>`;
413
417
  anchorY -= 23;
414
418
  }
415
-
416
419
  if (data.radius10Arr) {
417
420
  html += `<tr>
418
421
  <th>${this._language.tenLevels}</th>
@@ -423,7 +426,6 @@ class TyphoonTracViewModel {
423
426
  </tr>`;
424
427
  anchorY -= 23;
425
428
  }
426
-
427
429
  if (data.radius12Arr) {
428
430
  html += `<tr>
429
431
  <th>${this._language.twelveLevels}</th>
@@ -434,32 +436,27 @@ class TyphoonTracViewModel {
434
436
  </tr>`;
435
437
  anchorY -= 32;
436
438
  }
437
-
438
439
  html += `</table></ul><div class='triangle'><div></div></div></div>`;
439
440
  return {
440
441
  html: this.sanitize(html),
441
442
  anchorY: anchorY
442
443
  };
443
- } // 动态插入时进行字符过滤
444
-
445
-
444
+ }
445
+ // 动态插入时进行字符过滤
446
446
  sanitize(text) {
447
447
  return text.replace(/[\u200B-\u200D\uFEFF]/g, "") // 清除零宽字符
448
448
  .replace(/[“”]/g, ""); // 主动过滤引号
449
- } // 日期矫正
450
-
451
-
449
+ }
450
+ // 日期矫正
452
451
  formatDate(date = new Date(), format = 'datetime', isPad = true) {
453
452
  if (!(date instanceof Date)) {
454
453
  date = new Date(date);
455
454
  }
456
-
457
455
  if (format === 'date') {
458
456
  format = 'YYYY-MM-DD';
459
457
  } else if (format === 'datetime') {
460
458
  format = 'YYYY-MM-DD hh:mm:ss';
461
459
  }
462
-
463
460
  const weeks = ['日', '一', '二', '三', '四', '五', '六'];
464
461
  const dateFormats = {
465
462
  YYYY: date.getFullYear(),
@@ -472,29 +469,24 @@ class TyphoonTracViewModel {
472
469
  };
473
470
  return Object.keys(dateFormats).reduce((result, item) => result.replaceAll(item, dateFormats[item]), format);
474
471
  }
475
-
476
472
  // 停止播放
477
473
  stopPlayTyphoonTrac(row) {
478
474
  if (this._curTyphoon[row.tfid]) this._curTyphoon[row.tfid].stop();
479
- } // 暂停播放
480
-
481
-
475
+ }
476
+ // 暂停播放
482
477
  pausePlayTyphoonTrac(val) {
483
478
  if (this._curTyphoon[this.currentRow.tfid]) this._curTyphoon[this.currentRow.tfid].flyTo();
484
-
485
479
  if (val) {
486
480
  this._viewer.clock.shouldAnimate = true;
487
481
  } else {
488
482
  this._viewer.clock.shouldAnimate = false;
489
483
  }
490
- } // 设置时间流速
491
-
492
-
484
+ }
485
+ // 设置时间流速
493
486
  setMultiplier(val) {
494
487
  window.viewer.clock.multiplier = val || 1;
495
- } //警戒线
496
-
497
-
488
+ }
489
+ //警戒线
498
490
  createWarningLine() {
499
491
  //24小时警戒线
500
492
  this.warningLine_24 = this._viewer.entities.add({
@@ -515,8 +507,27 @@ class TyphoonTracViewModel {
515
507
  heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
516
508
  disableDepthTestDistance: Number.POSITIVE_INFINITY
517
509
  }
518
- }); // 48小时警戒线
519
-
510
+ });
511
+ this.warningText_24 = this._viewer.entities.add({
512
+ rectangle: {
513
+ coordinates: Cesium.Rectangle.fromDegrees(124.81268223770111, 28.97726827231024, 129.27365416588438, 29.506550516414443),
514
+ classificationType: Cesium.ClassificationType.BOTH,
515
+ material: new Cesium.Kq3dTextMaterial({
516
+ text: '24小时警戒线',
517
+ textStyles: {
518
+ font: "80px sans-serif",
519
+ fill: true,
520
+ fillColor: Cesium.Color.fromCssColorString('#828314'),
521
+ stroke: false,
522
+ backgroundColor: new Cesium.Color(0, 0, 0, 0),
523
+ padding: 5
524
+ }
525
+ }),
526
+ rotation: Cesium.Math.toRadians(90),
527
+ stRotation: Cesium.Math.toRadians(90)
528
+ }
529
+ });
530
+ // 48小时警戒线
520
531
  this.warningLine_48 = this._viewer.entities.add({
521
532
  polyline: {
522
533
  positions: Cesium.Cartesian3.fromDegreesArray([132, 34, 132, 22, 119, 0, 105, 0]),
@@ -530,72 +541,75 @@ class TyphoonTracViewModel {
530
541
  clampToGround: true
531
542
  }
532
543
  });
544
+ this.warningText_48 = this._viewer.entities.add({
545
+ rectangle: {
546
+ coordinates: Cesium.Rectangle.fromDegrees(130.11221856757763, 29.95719074491648, 134.07046985436628, 30.639828156283777),
547
+ classificationType: Cesium.ClassificationType.BOTH,
548
+ material: new Cesium.Kq3dTextMaterial({
549
+ text: '48小时警戒线',
550
+ textStyles: {
551
+ font: "60px sans-serif",
552
+ fill: true,
553
+ fillColor: Cesium.Color.fromCssColorString('#4dba3d'),
554
+ stroke: false,
555
+ backgroundColor: new Cesium.Color(0, 0, 0, 0),
556
+ padding: 5
557
+ }
558
+ }),
559
+ rotation: Cesium.Math.toRadians(90),
560
+ stRotation: Cesium.Math.toRadians(90)
561
+ }
562
+ });
533
563
  }
534
-
535
564
  remove(tfid) {
536
565
  if (this._curTyphoon[tfid] && this._curTyphoon[tfid].getHoverEvent) {
537
566
  let hishoverEvent = this._curTyphoon[tfid].getHoverEvent();
538
-
539
567
  hishoverEvent && hishoverEvent.removeEventListener(this.eventListener);
540
568
  }
541
-
542
569
  if (this._curTyphoon[tfid] && this._curTyphoon[tfid].getPlayEvent) {
543
570
  let hisplayEvent = this._curTyphoon[tfid].getPlayEvent();
544
-
545
571
  hisplayEvent && hisplayEvent.removeEventListener(this.eventListener2);
546
572
  }
547
-
548
573
  if (this._curTyphoon[tfid] && this._curTyphoon[tfid].divPoint) {
549
574
  this._curTyphoon[tfid].divPoint.destroy();
550
-
551
575
  this._curTyphoon[tfid].divPoint = null;
552
576
  }
553
-
554
577
  if (this._curTyphoon[tfid] && this._curTyphoon[tfid].stop) {
555
578
  this._curTyphoon[tfid].stop();
556
579
  }
557
-
558
580
  if (this._curTyphoon[tfid] && this._curTyphoon[tfid].destroy) {
559
581
  this._curTyphoon[tfid].destroy();
560
582
  }
561
-
562
583
  this._curTyphoon[tfid] = null;
563
584
  }
564
-
565
585
  clearDivPoint(tfid) {
566
586
  if (this._curTyphoon[tfid] && this._curTyphoon[tfid].divPoint) {
567
587
  this._curTyphoon[tfid].divPoint.destroy();
568
-
569
588
  this._curTyphoon[tfid].divPoint = null;
570
589
  }
571
-
572
590
  if (this.divPoint) {
573
591
  this.divPoint.destroy();
574
592
  this.divPoint = null;
575
593
  }
576
- } //清除
577
-
578
-
594
+ }
595
+ //清除
579
596
  clear() {
580
597
  if (this.divPoint) {
581
598
  this.divPoint.destroy();
582
599
  this.divPoint = null;
583
600
  }
584
-
585
601
  for (let tfid in this._curTyphoon) {
586
602
  this.remove(tfid);
587
603
  }
588
- } //销毁
589
-
590
-
604
+ }
605
+ //销毁
591
606
  destroy() {
592
- this._viewer.entities.remove(this.warningLine_48);
593
-
594
- this._viewer.entities.remove(this.warningLine_24);
595
-
607
+ this.warningLine_48 && this._viewer.entities.remove(this.warningLine_48);
608
+ this.warningText_48 && this._viewer.entities.remove(this.warningText_48);
609
+ this.warningLine_24 && this._viewer.entities.remove(this.warningLine_24);
610
+ this.warningText_24 && this._viewer.entities.remove(this.warningText_24);
596
611
  this.clear();
597
612
  }
598
-
599
613
  }
600
614
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
601
615
  var client_icons_vue_ = __webpack_require__(348);
@@ -605,6 +619,9 @@ var util_ = __webpack_require__(3458);
605
619
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
606
620
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/typhoontrac/TyphoonTrac.vue?vue&type=script&setup=true&lang=js
607
621
 
622
+
623
+
624
+
608
625
  const _hoisted_1 = {
609
626
  class: "kq3d-typhoon-trac-box"
610
627
  };
@@ -644,7 +661,6 @@ const __default__ = {
644
661
  type: Boolean,
645
662
  default: true
646
663
  },
647
-
648
664
  /**
649
665
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
650
666
  */
@@ -674,15 +690,14 @@ const __default__ = {
674
690
  default: true
675
691
  }
676
692
  },
677
-
678
693
  setup(__props, {
679
694
  expose: __expose
680
695
  }) {
681
696
  const props = __props;
682
697
  const {
683
698
  proxy
684
- } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); //语言
685
-
699
+ } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
700
+ //语言
686
701
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
687
702
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
688
703
  let viewModel = null;
@@ -690,18 +705,20 @@ const __default__ = {
690
705
  let currentRow = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
691
706
  let currentPlay = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
692
707
  let showInfo = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
693
- let loading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 获取组件传参
694
- // 组件容器Ref
708
+ let loading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
709
+ // 获取组件传参
695
710
 
696
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
711
+ // 组件容器Ref
712
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
697
713
 
714
+ // 生成组件默认header
698
715
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
699
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 属性值
700
-
701
- let tableData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 路径信息
702
-
703
- let typhoonTracData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 表格头样式
704
-
716
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
717
+ // 属性值
718
+ let tableData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
719
+ // 路径信息
720
+ let typhoonTracData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
721
+ // 表格头样式
705
722
  let headClass = args => {
706
723
  return {
707
724
  "background-color": "var(--kq-fill-color-light)",
@@ -709,7 +726,6 @@ const __default__ = {
709
726
  "font-size": "14px"
710
727
  };
711
728
  };
712
-
713
729
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
714
730
  collapseValue: props.settingParams?.collapseValue ?? "list",
715
731
  // 折叠组件是否折叠,list:台风列表
@@ -718,7 +734,6 @@ const __default__ = {
718
734
  typhoonTracPath: props.settingParams?.typhoonTracPath ?? "",
719
735
  // 离线数据文件路径
720
736
  showWarningLine: props.settingParams?.showWarningLine ?? true //
721
-
722
737
  });
723
738
  const strongType = [{
724
739
  name: language.value.tropicalPressure,
@@ -754,8 +769,8 @@ const __default__ = {
754
769
  }, {
755
770
  name: language.value.japanTitle,
756
771
  color: "#24bc00"
757
- }]; // 国际化
758
-
772
+ }];
773
+ // 国际化
759
774
  let {
760
775
  locale,
761
776
  messages
@@ -780,15 +795,12 @@ const __default__ = {
780
795
  });
781
796
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
782
797
  //父组件ScenceView初始化完成后执行
783
-
784
798
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
785
799
  gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
786
800
  if (scenceView) {
787
801
  viewModel = new TyphoonTracViewModel(scenceView);
788
802
  viewModel._language = language.value;
789
- formItem.showWarningLine && viewModel && viewModel.createWarningLine();
790
803
  formItem.typhoonTracPath && getDataByPath();
791
-
792
804
  if (props.getTyphoonTracListByApi) {
793
805
  loading.value = true;
794
806
  props.getTyphoonTracListByApi(data => {
@@ -801,23 +813,21 @@ const __default__ = {
801
813
  });
802
814
  });
803
815
  });
816
+
804
817
  /**
805
818
  * @description 监听header生成
806
819
  */
807
-
808
820
  const watchCreateHeaderTemp = () => {
809
821
  if (props.showHeaderTemp) {
810
822
  // 生成headerTemp
811
823
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
812
824
  }
813
- }; // 输入地址
814
-
815
-
825
+ };
826
+ // 输入地址
816
827
  function selectTyphoonTracPath() {
817
828
  getDataByPath();
818
- } // 选择文件
819
-
820
-
829
+ }
830
+ // 选择文件
821
831
  function selectData(file) {
822
832
  let url = URL.createObjectURL(file.raw);
823
833
  formItem.typhoonTracPath = url;
@@ -826,29 +836,24 @@ const __default__ = {
826
836
  currentPlay.value = {};
827
837
  formItem.collapseValue = "list";
828
838
  }
829
-
830
839
  function formatterFun(row) {
831
840
  return formatDate(row.time);
832
- } // 显示台风
833
-
834
-
841
+ }
842
+ // 显示台风
835
843
  async function showTyphoon(index, row) {
836
844
  try {
837
845
  await getDataInfoByApi(row); // 等待回调完成
838
-
839
846
  row.show = !row.show;
840
-
841
847
  if (!row.show) {
842
848
  viewModel && viewModel.clearDivPoint(row.tfid);
843
849
  setTracStop(index, row);
844
850
  }
845
-
846
851
  viewModel && viewModel.createTyphoonPath(row, false);
847
852
  } catch (error) {
848
- console.log("Failed to set data info:", error); // 可以添加错误处理逻辑,例如显示错误提示
853
+ console.log("Failed to set data info:", error);
854
+ // 可以添加错误处理逻辑,例如显示错误提示
849
855
  }
850
856
  }
851
-
852
857
  async function setDatainfo(index, row) {
853
858
  try {
854
859
  await getDataInfoByApi(row);
@@ -857,18 +862,16 @@ const __default__ = {
857
862
  currentRow.value = row;
858
863
  typhoonTracData.value = row.points || [];
859
864
  } catch (error) {
860
- console.log("Failed to set data info:", error); // 可以添加错误处理逻辑,例如显示错误提示
865
+ console.log("Failed to set data info:", error);
866
+ // 可以添加错误处理逻辑,例如显示错误提示
861
867
  }
862
868
  }
863
-
864
869
  async function getDataInfoByApi(row) {
865
870
  // 条件判断提前返回
866
871
  if (!props.getDataInfoByApi || row.getInfoVis) {
867
872
  return;
868
873
  }
869
-
870
874
  loading.value = true;
871
-
872
875
  try {
873
876
  // 将回调函数转换为 Promise
874
877
  await new Promise((resolve, reject) => {
@@ -893,19 +896,15 @@ const __default__ = {
893
896
  * @param {boolean} isPad 是否填补 0
894
897
  * @example
895
898
  */
896
-
897
-
898
899
  function formatDate(date = new Date(), format = "datetime", isPad = true) {
899
900
  if (!(date instanceof Date)) {
900
901
  date = new Date(date);
901
902
  }
902
-
903
903
  if (format === "date") {
904
904
  format = "YYYY-MM-DD";
905
905
  } else if (format === "datetime") {
906
906
  format = "YYYY-MM-DD hh:mm:ss";
907
907
  }
908
-
909
908
  const dateFormats = {
910
909
  MM: (date.getMonth() + 1).toString().padStart(isPad && 2, "0"),
911
910
  DD: date.getDate().toString().padStart(isPad && 2, "0"),
@@ -915,7 +914,6 @@ const __default__ = {
915
914
  };
916
915
  return dateFormats.MM + "-" + dateFormats.DD + " " + dateFormats.hh + "时";
917
916
  }
918
-
919
917
  function tableCellClassName({
920
918
  row,
921
919
  column,
@@ -927,35 +925,31 @@ const __default__ = {
927
925
  row.index = rowIndex;
928
926
  column.index = columnIndex;
929
927
  }
930
-
931
928
  function rowClickPath(row) {
932
929
  viewModel && viewModel.clearDivPoint(currentRow.value.tfid);
933
930
  if (!currentRow.value.show) currentRow.value.show = true;
934
931
  if (currentRow.value.showPlayVis) setTracStop(row.index, currentRow.value);
935
932
  viewModel && viewModel.rowClickPath(row.index, currentRow.value);
936
- } // 播放
937
-
938
-
933
+ }
934
+ // 播放
939
935
  async function setTracPlay(index, row) {
940
936
  try {
941
937
  await getDataInfoByApi(row); // 等待回调完成
942
-
943
938
  row.showPlayVis = true;
944
939
  row.show = true;
945
940
  currentPlay.value = row;
946
941
  viewModel && viewModel.createTyphoonPath(row, true);
947
942
  } catch (error) {
948
- console.log("Failed to set data info:", error); // 可以添加错误处理逻辑,例如显示错误提示
943
+ console.log("Failed to set data info:", error);
944
+ // 可以添加错误处理逻辑,例如显示错误提示
949
945
  }
950
- } // 停止播放
951
-
952
-
946
+ }
947
+ // 停止播放
953
948
  function setTracStop(index, row) {
954
949
  row.showPlayVis = false;
955
950
  viewModel && viewModel.stopPlayTyphoonTrac(row);
956
- } // 获取路径数据
957
-
958
-
951
+ }
952
+ // 获取路径数据
959
953
  function getDataByPath() {
960
954
  if (formItem && formItem.typhoonTracPath) {
961
955
  Cesium.Resource.fetchJson(formItem.typhoonTracPath).then(res => {
@@ -968,8 +962,8 @@ const __default__ = {
968
962
  });
969
963
  return;
970
964
  }
971
-
972
965
  tableData.value = res;
966
+ formItem.showWarningLine && viewModel && viewModel.createWarningLine();
973
967
  clear();
974
968
  }
975
969
  });
@@ -981,53 +975,38 @@ const __default__ = {
981
975
  });
982
976
  return;
983
977
  }
984
- } // 更新台风数据
985
-
986
-
978
+ }
979
+ // 更新台风数据
987
980
  function setTyphoonTracData(data) {
988
981
  if (data && data.length && data.length > 0) {
989
982
  clear();
990
983
  tableData.value = data;
991
984
  }
992
985
  }
993
-
994
986
  function clear() {
995
987
  viewModel && viewModel.clear();
996
- } // 销毁
997
-
988
+ }
998
989
 
990
+ // 销毁
999
991
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
1000
992
  viewModel && viewModel.destroy();
1001
993
  });
1002
-
1003
994
  __expose({
1004
995
  getDataByPath,
1005
996
  setTyphoonTracData
1006
997
  });
1007
-
1008
998
  return (_ctx, _cache) => {
1009
999
  const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
1010
-
1011
1000
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
1012
-
1013
1001
  const _component_kq_upload = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-upload");
1014
-
1015
1002
  const _component_kq_input = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input");
1016
-
1017
1003
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
1018
-
1019
1004
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
1020
-
1021
1005
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
1022
-
1023
1006
  const _component_kq_table_column = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table-column");
1024
-
1025
1007
  const _component_kq_table = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table");
1026
-
1027
1008
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
1028
-
1029
1009
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
1030
-
1031
1010
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
1032
1011
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-typhoon-trac", {
1033
1012
  'kq-box-shadow': __props.showShadow
@@ -1038,9 +1017,7 @@ const __default__ = {
1038
1017
  key: 0,
1039
1018
  ref_key: "headerTempRef",
1040
1019
  ref: headerTempRef
1041
- }, null, 512
1042
- /* NEED_PATCH */
1043
- )) : (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).showUpload ? ((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, {
1020
+ }, null, 512 /* NEED_PATCH */)) : (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).showUpload ? ((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, {
1044
1021
  key: 0
1045
1022
  }, {
1046
1023
  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, {
@@ -1073,47 +1050,23 @@ const __default__ = {
1073
1050
  size: 16
1074
1051
  }, {
1075
1052
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconFolder2))]),
1076
- _: 1
1077
- /* STABLE */
1078
-
1053
+ _: 1 /* STABLE */
1079
1054
  })]),
1080
- _: 1
1081
- /* STABLE */
1082
-
1055
+ _: 1 /* STABLE */
1083
1056
  })]),
1084
- _: 1
1085
- /* STABLE */
1086
-
1057
+ _: 1 /* STABLE */
1087
1058
  })]),
1088
- _: 1
1089
- /* STABLE */
1090
-
1091
- }, 8
1092
- /* PROPS */
1093
- , ["modelValue", "placeholder"])]),
1094
- _: 1
1095
- /* STABLE */
1096
-
1059
+ _: 1 /* STABLE */
1060
+ }, 8 /* PROPS */, ["modelValue", "placeholder"])]),
1061
+ _: 1 /* STABLE */
1097
1062
  })]),
1098
- _: 1
1099
- /* STABLE */
1100
-
1101
- }, 8
1102
- /* PROPS */
1103
- , ["label"])]),
1104
- _: 1
1105
- /* STABLE */
1106
-
1063
+ _: 1 /* STABLE */
1064
+ }, 8 /* PROPS */, ["label"])]),
1065
+ _: 1 /* STABLE */
1107
1066
  })]),
1108
- _: 1
1109
- /* STABLE */
1110
-
1111
- }, 8
1112
- /* PROPS */
1113
- , ["label-width"])]),
1114
- _: 1
1115
- /* STABLE */
1116
-
1067
+ _: 1 /* STABLE */
1068
+ }, 8 /* PROPS */, ["label-width"])]),
1069
+ _: 1 /* STABLE */
1117
1070
  })) : (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, {
1118
1071
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
1119
1072
  }, {
@@ -1135,21 +1088,15 @@ const __default__ = {
1135
1088
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNumber,
1136
1089
  prop: "tfid",
1137
1090
  align: "center"
1138
- }, null, 8
1139
- /* PROPS */
1140
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1091
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1141
1092
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNameZh,
1142
1093
  prop: "name",
1143
1094
  align: "center"
1144
- }, null, 8
1145
- /* PROPS */
1146
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1095
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1147
1096
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNameEn,
1148
1097
  prop: "enname",
1149
1098
  align: "center"
1150
- }, null, 8
1151
- /* PROPS */
1152
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1099
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1153
1100
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).operation,
1154
1101
  align: "center"
1155
1102
  }, {
@@ -1162,12 +1109,8 @@ const __default__ = {
1162
1109
  loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loading)
1163
1110
  }, {
1164
1111
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconLocation))]),
1165
- _: 2
1166
- /* DYNAMIC */
1167
-
1168
- }, 1032
1169
- /* PROPS, DYNAMIC_SLOTS */
1170
- , ["onClick", "title", "style", "loading"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
1112
+ _: 2 /* DYNAMIC */
1113
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title", "style", "loading"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
1171
1114
  size: 16,
1172
1115
  onClick: $event => setDatainfo(scope.$index, scope.row),
1173
1116
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonDetails,
@@ -1176,12 +1119,8 @@ const __default__ = {
1176
1119
  loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loading)
1177
1120
  }, {
1178
1121
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconDetails))]),
1179
- _: 2
1180
- /* DYNAMIC */
1181
-
1182
- }, 1032
1183
- /* PROPS, DYNAMIC_SLOTS */
1184
- , ["onClick", "title", "style", "loading"]), !(scope.row.tfid === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentPlay).tfid && scope.row.showPlayVis) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_icon, {
1122
+ _: 2 /* DYNAMIC */
1123
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title", "style", "loading"]), !(scope.row.tfid === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentPlay).tfid && scope.row.showPlayVis) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_icon, {
1185
1124
  key: 0,
1186
1125
  size: 16,
1187
1126
  onClick: $event => setTracPlay(scope.$index, scope.row),
@@ -1190,12 +1129,8 @@ const __default__ = {
1190
1129
  loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loading)
1191
1130
  }, {
1192
1131
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconVideoPlay))]),
1193
- _: 2
1194
- /* DYNAMIC */
1195
-
1196
- }, 1032
1197
- /* PROPS, DYNAMIC_SLOTS */
1198
- , ["onClick", "title", "loading"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), scope.row.tfid === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentPlay).tfid && scope.row.showPlayVis ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_icon, {
1132
+ _: 2 /* DYNAMIC */
1133
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title", "loading"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), scope.row.tfid === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentPlay).tfid && scope.row.showPlayVis ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_icon, {
1199
1134
  key: 1,
1200
1135
  size: 16,
1201
1136
  onClick: $event => setTracStop(scope.$index, scope.row),
@@ -1206,30 +1141,14 @@ const __default__ = {
1206
1141
  class: "iconClass"
1207
1142
  }, {
1208
1143
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconVideoPause))]),
1209
- _: 2
1210
- /* DYNAMIC */
1211
-
1212
- }, 1032
1213
- /* PROPS, DYNAMIC_SLOTS */
1214
- , ["onClick", "title"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
1215
- _: 1
1216
- /* STABLE */
1217
-
1218
- }, 8
1219
- /* PROPS */
1220
- , ["label"])]),
1221
- _: 1
1222
- /* STABLE */
1223
-
1224
- }, 8
1225
- /* PROPS */
1226
- , ["data", "style", "header-cell-style"])]),
1227
- _: 1
1228
- /* STABLE */
1229
-
1230
- }, 8
1231
- /* PROPS */
1232
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentRow).showInfo ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_collapse_item, {
1144
+ _: 2 /* DYNAMIC */
1145
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
1146
+ _: 1 /* STABLE */
1147
+ }, 8 /* PROPS */, ["label"])]),
1148
+ _: 1 /* STABLE */
1149
+ }, 8 /* PROPS */, ["data", "style", "header-cell-style"])]),
1150
+ _: 1 /* STABLE */
1151
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentRow).showInfo ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_collapse_item, {
1233
1152
  key: 0,
1234
1153
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentRow).tfid + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentRow).name + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonPath,
1235
1154
  name: "info",
@@ -1254,45 +1173,25 @@ const __default__ = {
1254
1173
  prop: "time",
1255
1174
  align: "center",
1256
1175
  formatter: formatterFun
1257
- }, null, 8
1258
- /* PROPS */
1259
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1176
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1260
1177
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).windSpeed,
1261
1178
  prop: "speed",
1262
1179
  align: "center"
1263
- }, null, 8
1264
- /* PROPS */
1265
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1180
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1266
1181
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).movingDirection,
1267
1182
  prop: "movedirection",
1268
1183
  align: "center"
1269
- }, null, 8
1270
- /* PROPS */
1271
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1184
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
1272
1185
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).strength,
1273
1186
  prop: "strong",
1274
1187
  align: "center"
1275
- }, null, 8
1276
- /* PROPS */
1277
- , ["label"])]),
1278
- _: 1
1279
- /* STABLE */
1280
-
1281
- }, 8
1282
- /* PROPS */
1283
- , ["data", "style", "header-cell-style"])]),
1284
- _: 1
1285
- /* STABLE */
1286
-
1287
- }, 8
1288
- /* PROPS */
1289
- , ["title"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
1290
- _: 1
1291
- /* STABLE */
1292
-
1293
- }, 8
1294
- /* PROPS */
1295
- , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1188
+ }, null, 8 /* PROPS */, ["label"])]),
1189
+ _: 1 /* STABLE */
1190
+ }, 8 /* PROPS */, ["data", "style", "header-cell-style"])]),
1191
+ _: 1 /* STABLE */
1192
+ }, 8 /* PROPS */, ["title"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
1193
+ _: 1 /* STABLE */
1194
+ }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1296
1195
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("ul", _hoisted_2, [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)(lineList, item => {
1297
1196
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("li", {
1298
1197
  key: item.name,
@@ -1300,17 +1199,9 @@ const __default__ = {
1300
1199
  }, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1301
1200
  class: "card mr-1",
1302
1201
  style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)(`border-top: 2px dashed ${item.color}`)
1303
- }, null, 4
1304
- /* STYLE */
1305
- ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(item.name), 1
1306
- /* TEXT */
1307
- )]);
1308
- }), 64
1309
- /* STABLE_FRAGMENT */
1310
- ))])]),
1311
- _: 1
1312
- /* STABLE */
1313
-
1202
+ }, null, 4 /* STYLE */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(item.name), 1 /* TEXT */)]);
1203
+ }), 64 /* STABLE_FRAGMENT */))])]),
1204
+ _: 1 /* STABLE */
1314
1205
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1315
1206
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("ul", _hoisted_3, [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)(strongType, item => {
1316
1207
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("li", {
@@ -1319,23 +1210,12 @@ const __default__ = {
1319
1210
  }, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1320
1211
  class: "circle mr-1",
1321
1212
  style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)(`background: linear-gradient(180deg, ${item.color})`)
1322
- }, null, 4
1323
- /* STYLE */
1324
- ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(item.name), 1
1325
- /* TEXT */
1326
- )]);
1327
- }), 64
1328
- /* STABLE_FRAGMENT */
1329
- ))])]),
1330
- _: 1
1331
- /* STABLE */
1332
-
1333
- })])], 2
1334
- /* CLASS */
1335
- );
1213
+ }, null, 4 /* STYLE */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(item.name), 1 /* TEXT */)]);
1214
+ }), 64 /* STABLE_FRAGMENT */))])]),
1215
+ _: 1 /* STABLE */
1216
+ })])], 2 /* CLASS */);
1336
1217
  };
1337
1218
  }
1338
-
1339
1219
  }));
1340
1220
  ;// CONCATENATED MODULE: ./src/webgl/typhoontrac/TyphoonTrac.vue?vue&type=script&setup=true&lang=js
1341
1221
 
@@ -1357,13 +1237,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1357
1237
 
1358
1238
 
1359
1239
 
1360
-
1361
1240
  TyphoonTrac.install = (Vue, opts) => {
1362
1241
  init_js_default()(Vue, opts);
1363
1242
  Vue.component(TyphoonTrac.name, TyphoonTrac);
1364
1243
  };
1365
1244
 
1366
-
1367
1245
  }();
1368
1246
  /******/ return __webpack_exports__;
1369
1247
  /******/ })()