@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30

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 (68) hide show
  1. package/adddata/index.js +518 -262
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +201 -123
  4. package/baseterraingallery/index.js +123 -94
  5. package/baseterraingallery/style/baseterraingallery.css +1 -1
  6. package/boxclip/index.js +442 -249
  7. package/clientPrint/index.js +27088 -14116
  8. package/clientPrint/style/clientPrint.css +1 -1
  9. package/comparemap/index.js +243 -213
  10. package/compass/index.js +68 -74
  11. package/excavatefillanalysis/index.js +225 -143
  12. package/fixedzoomin/index.js +82 -72
  13. package/fixedzoomout/index.js +80 -71
  14. package/flight/index.js +371 -257
  15. package/flight/style/flight.css +1 -1
  16. package/floodanalysis/index.js +347 -199
  17. package/geologicalbodyanalysis/index.js +260 -166
  18. package/gpuspatialquery/index.js +359 -198
  19. package/hawkeye/index.js +100 -131
  20. package/headertemp/index.js +25 -14
  21. package/heatmap3d/index.js +678 -366
  22. package/heatmap3d/style/heatmap3d.css +1 -1
  23. package/index.js +20310 -7159
  24. package/isolineanalysis/index.js +1202 -504
  25. package/light/index.js +494 -349
  26. package/limitheightanalysis/index.js +223 -159
  27. package/measure/index.js +353 -198
  28. package/modelFlat/index.js +204 -167
  29. package/modelexcavate/index.js +191 -130
  30. package/modelfilter/index.js +271 -179
  31. package/modelprofileanalysis/index.js +316 -206
  32. package/modelselect/index.js +147 -142
  33. package/package.json +1 -1
  34. package/particleeffect/index.js +403 -225
  35. package/planeclip/index.js +300 -198
  36. package/resetview/index.js +52 -66
  37. package/roller/index.js +372 -304
  38. package/scaneffect/index.js +537 -230
  39. package/sceneadvancedtoimage/index.js +358 -205
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
  41. package/sceneapp/index.js +27088 -14116
  42. package/sceneset/index.js +864 -350
  43. package/scenetohdimage/index.js +297 -159
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +27088 -14116
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +301 -257
  48. package/shadowanalysis/index.js +405 -217
  49. package/sightlineanalysis/index.js +271 -183
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +308 -160
  52. package/slopeanalysis/index.js +397 -227
  53. package/slopeaspectanalysis/index.js +485 -259
  54. package/statusbar/index.js +65 -88
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +237 -176
  57. package/terrainprofileanalysis/index.js +138 -120
  58. package/typhoontrac/index.js +970 -234
  59. package/typhoontrac/style/typhoontrac.css +1 -1
  60. package/underground/index.js +61 -70
  61. package/videofusion/index.js +488 -265
  62. package/videoproject/index.js +490 -271
  63. package/viewshedanalysis/index.js +255 -151
  64. package/weathereffect/index.js +317 -166
  65. package/windyslicing/index.js +1947 -0
  66. package/windyslicing/style/index.js +3 -0
  67. package/windyslicing/style/windyslicing.css +1 -0
  68. package/wireframesketch/index.js +142 -110
@@ -2,19 +2,18 @@
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
8
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
5
+ define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
8
+ else
9
+ root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
10
10
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
15
  /***/ 7705:
16
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
17
-
16
+ /***/ (function(module) {
18
17
 
19
18
 
20
19
  /*
@@ -23,43 +22,51 @@ return /******/ (function() { // webpackBootstrap
23
22
  */
24
23
  // css base code, injected by the css-loader
25
24
  // eslint-disable-next-line func-names
26
- __webpack_require__(2118);
27
- __webpack_require__(2170);
25
+
28
26
  module.exports = function (cssWithMappingToString) {
29
27
  var list = []; // return the list of modules as css string
30
28
 
31
29
  list.toString = function toString() {
32
30
  return this.map(function (item) {
33
31
  var content = cssWithMappingToString(item);
32
+
34
33
  if (item[2]) {
35
34
  return "@media ".concat(item[2], " {").concat(content, "}");
36
35
  }
36
+
37
37
  return content;
38
38
  }).join("");
39
39
  }; // import a list of modules into the list
40
40
  // eslint-disable-next-line func-names
41
41
 
42
+
42
43
  list.i = function (modules, mediaQuery, dedupe) {
43
44
  if (typeof modules === "string") {
44
45
  // eslint-disable-next-line no-param-reassign
45
46
  modules = [[null, modules, ""]];
46
47
  }
48
+
47
49
  var alreadyImportedModules = {};
50
+
48
51
  if (dedupe) {
49
52
  for (var i = 0; i < this.length; i++) {
50
53
  // eslint-disable-next-line prefer-destructuring
51
54
  var id = this[i][0];
55
+
52
56
  if (id != null) {
53
57
  alreadyImportedModules[id] = true;
54
58
  }
55
59
  }
56
60
  }
61
+
57
62
  for (var _i = 0; _i < modules.length; _i++) {
58
63
  var item = [].concat(modules[_i]);
64
+
59
65
  if (dedupe && alreadyImportedModules[item[0]]) {
60
66
  // eslint-disable-next-line no-continue
61
67
  continue;
62
68
  }
69
+
63
70
  if (mediaQuery) {
64
71
  if (!item[2]) {
65
72
  item[2] = mediaQuery;
@@ -67,9 +74,11 @@ module.exports = function (cssWithMappingToString) {
67
74
  item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
68
75
  }
69
76
  }
77
+
70
78
  list.push(item);
71
79
  }
72
80
  };
81
+
73
82
  return list;
74
83
  };
75
84
 
@@ -83,14 +92,16 @@ var __webpack_unused_export__;
83
92
 
84
93
  __webpack_unused_export__ = ({
85
94
  value: true
86
- });
87
- // runtime helper for setting properties on components
95
+ }); // runtime helper for setting properties on components
88
96
  // in a tree-shakable way
97
+
89
98
  exports.Z = (sfc, props) => {
90
99
  const target = sfc.__vccOpts || sfc;
100
+
91
101
  for (const [key, val] of props) {
92
102
  target[key] = val;
93
103
  }
104
+
94
105
  return target;
95
106
  };
96
107
 
@@ -109,15 +120,17 @@ exports.Z = (sfc, props) => {
109
120
  */
110
121
 
111
122
 
123
+
112
124
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
113
125
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
114
126
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
115
127
  };
128
+
116
129
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
117
130
 
118
131
  /***/ }),
119
132
 
120
- /***/ 4098:
133
+ /***/ 8764:
121
134
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
122
135
 
123
136
  /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
@@ -133,7 +146,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".gp[data-v-b1608504]{display:flex;flex
133
146
 
134
147
  /***/ }),
135
148
 
136
- /***/ 5757:
149
+ /***/ 5445:
137
150
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
138
151
 
139
152
  /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
@@ -438,59 +451,10 @@ module.exports = require("@kq_npm/client_icons_vue");
438
451
 
439
452
  /***/ }),
440
453
 
441
- /***/ 2118:
442
- /***/ (function(module) {
443
-
444
- module.exports = require("core-js/modules/es.array.push.js");
445
-
446
- /***/ }),
447
-
448
- /***/ 8470:
449
- /***/ (function(module) {
450
-
451
- module.exports = require("core-js/modules/esnext.iterator.constructor.js");
452
-
453
- /***/ }),
454
-
455
- /***/ 2753:
456
- /***/ (function(module) {
457
-
458
- module.exports = require("core-js/modules/esnext.iterator.filter.js");
459
-
460
- /***/ }),
461
-
462
- /***/ 1058:
454
+ /***/ 3600:
463
455
  /***/ (function(module) {
464
456
 
465
- module.exports = require("core-js/modules/esnext.iterator.for-each.js");
466
-
467
- /***/ }),
468
-
469
- /***/ 2170:
470
- /***/ (function(module) {
471
-
472
- module.exports = require("core-js/modules/esnext.iterator.map.js");
473
-
474
- /***/ }),
475
-
476
- /***/ 4360:
477
- /***/ (function(module) {
478
-
479
- module.exports = require("core-js/modules/web.url-search-params.delete.js");
480
-
481
- /***/ }),
482
-
483
- /***/ 8824:
484
- /***/ (function(module) {
485
-
486
- module.exports = require("core-js/modules/web.url-search-params.has.js");
487
-
488
- /***/ }),
489
-
490
- /***/ 2936:
491
- /***/ (function(module) {
492
-
493
- module.exports = require("core-js/modules/web.url-search-params.size.js");
457
+ module.exports = require("core-js/modules/es.array.includes.js");
494
458
 
495
459
  /***/ }),
496
460
 
@@ -536,59 +500,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
536
500
 
537
501
  /***/ }),
538
502
 
539
- /***/ 5301:
503
+ /***/ 8270:
540
504
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
541
505
 
542
-
543
- // EXPORTS
544
- __webpack_require__.d(__webpack_exports__, {
545
- "Z": function() { return /* binding */ _defineProperty; }
546
- });
547
-
548
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
549
- function _typeof(o) {
550
- "@babel/helpers - typeof";
551
-
552
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
553
- return typeof o;
554
- } : function (o) {
555
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
556
- }, _typeof(o);
557
- }
558
-
559
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
560
-
561
- function toPrimitive(t, r) {
562
- if ("object" != _typeof(t) || !t) return t;
563
- var e = t[Symbol.toPrimitive];
564
- if (void 0 !== e) {
565
- var i = e.call(t, r || "default");
566
- if ("object" != _typeof(i)) return i;
567
- throw new TypeError("@@toPrimitive must return a primitive value.");
506
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
507
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
508
+ /* harmony export */ });
509
+ function _defineProperty(obj, key, value) {
510
+ if (key in obj) {
511
+ Object.defineProperty(obj, key, {
512
+ value: value,
513
+ enumerable: true,
514
+ configurable: true,
515
+ writable: true
516
+ });
517
+ } else {
518
+ obj[key] = value;
568
519
  }
569
- return ("string" === r ? String : Number)(t);
570
- }
571
-
572
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
573
520
 
574
-
575
- function toPropertyKey(t) {
576
- var i = toPrimitive(t, "string");
577
- return "symbol" == _typeof(i) ? i : i + "";
521
+ return obj;
578
522
  }
579
523
 
580
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
581
-
582
- function _defineProperty(e, r, t) {
583
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
584
- value: t,
585
- enumerable: !0,
586
- configurable: !0,
587
- writable: !0
588
- }) : e[r] = t, e;
589
- }
590
-
591
-
592
524
  /***/ })
593
525
 
594
526
  /******/ });
@@ -676,32 +608,21 @@ __webpack_require__.d(__webpack_exports__, {
676
608
  "default": function() { return /* reexport */ Heatmap3d; }
677
609
  });
678
610
 
679
- // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
680
- var es_array_push_js_ = __webpack_require__(2118);
681
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
682
- var esnext_iterator_constructor_js_ = __webpack_require__(8470);
683
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.filter.js"
684
- var esnext_iterator_filter_js_ = __webpack_require__(2753);
685
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
686
- var esnext_iterator_for_each_js_ = __webpack_require__(1058);
687
- // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.delete.js"
688
- var web_url_search_params_delete_js_ = __webpack_require__(4360);
689
- // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.has.js"
690
- var web_url_search_params_has_js_ = __webpack_require__(8824);
691
- // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.size.js"
692
- var web_url_search_params_size_js_ = __webpack_require__(2936);
611
+ // EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
612
+ var es_array_includes_js_ = __webpack_require__(3600);
693
613
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
694
614
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
695
615
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
696
616
  var gis_utils_ = __webpack_require__(7135);
697
617
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
698
618
  var util_ = __webpack_require__(3458);
699
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
700
- var defineProperty = __webpack_require__(5301);
619
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
620
+ var defineProperty = __webpack_require__(8270);
701
621
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
702
622
  var message = __webpack_require__(1349);
703
623
  ;// CONCATENATED MODULE: ./src/webgl/heatmap3d/Heatmap3dViewModel.js
704
624
 
625
+
705
626
  /*
706
627
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
707
628
  * All rights reserved.
@@ -712,18 +633,27 @@ var message = __webpack_require__(1349);
712
633
  class Heatmap3dViewModel {
713
634
  constructor(scenceView, options) {
714
635
  (0,defineProperty/* default */.Z)(this, "_viewer", null);
636
+
715
637
  (0,defineProperty/* default */.Z)(this, "_options", null);
638
+
716
639
  (0,defineProperty/* default */.Z)(this, "_heatmap", null);
640
+
717
641
  (0,defineProperty/* default */.Z)(this, "_mouseLabel", null);
642
+
718
643
  (0,defineProperty/* default */.Z)(this, "language", null);
644
+
719
645
  (0,defineProperty/* default */.Z)(this, "_heatmap2d", null);
646
+
720
647
  (0,defineProperty/* default */.Z)(this, "_heatmap2dCountLayer", null);
648
+
721
649
  (0,defineProperty/* default */.Z)(this, "heatmapData", null);
650
+
722
651
  (0,defineProperty/* default */.Z)(this, "_heatmapHandler", null);
652
+
723
653
  this._viewer = scenceView._viewer;
724
654
  this._options = options;
725
- this._viewer.scene.globe.depthTestAgainstTerrain = true;
726
- // 地图标注对象
655
+ this._viewer.scene.globe.depthTestAgainstTerrain = true; // 地图标注对象
656
+
727
657
  this._mouseLabel = new Cesium.Kq3dHtmlTag(this._viewer, {
728
658
  position: new Cesium.Cartesian3(0, 0, 0),
729
659
  html: `<div>
@@ -739,20 +669,23 @@ class Heatmap3dViewModel {
739
669
  anchor: [0, -138],
740
670
  noEvent: true,
741
671
  visible: false
742
- });
743
- // 地图拾取事件,交互展示
672
+ }); // 地图拾取事件,交互展示
673
+
744
674
  let that = this;
745
675
  this._heatmapHandler = new window.Cesium.ScreenSpaceEventHandler(this._viewer.canvas);
676
+
746
677
  this._heatmapHandler.setInputAction(function (movement) {
747
678
  var worldPosition = that._viewer.scene.pickPosition(movement.position);
679
+
748
680
  if (worldPosition) {
749
681
  if (!that._heatmap && !that._heatmap2d) return;
750
682
  if (!that._options.isShow) return;
751
683
  that._mouseLabel.position = worldPosition;
752
684
  var lonlat = Cesium.Cartographic.fromCartesian(worldPosition);
753
685
  var lon = Cesium.Math.toDegrees(lonlat.longitude),
754
- lat = Cesium.Math.toDegrees(lonlat.latitude);
686
+ lat = Cesium.Math.toDegrees(lonlat.latitude);
755
687
  var val = 0;
688
+
756
689
  if (that._options.heatmapType == "3D") {
757
690
  val = String(that._heatmap.getValueAt({
758
691
  lng: lon,
@@ -764,14 +697,17 @@ class Heatmap3dViewModel {
764
697
  lat: lat
765
698
  }));
766
699
  }
700
+
767
701
  (0,util_.setInnerHtml)(document.getElementById('mouse_lonlat'), `<p>${that.language['longitude'] || "longitude"}:${lon.toFixed(5)}</p><p>${that.language['latitude'] || "latitude"}:${lat.toFixed(5)}</p><p>${that.language['heatValue'] || "value"}:${val}</p>`);
702
+
768
703
  that._mouseLabel.setVisible(true);
769
704
  } else {
770
705
  that._mouseLabel.setVisible(false);
771
706
  }
772
707
  }, Cesium.ScreenSpaceEventType.LEFT_CLICK);
773
- }
774
- // 创建三维热力图对象
708
+ } // 创建三维热力图对象
709
+
710
+
775
711
  initHeatmap3d(heatmapData) {
776
712
  this._heatmap = new Cesium.Kq3dHeatmap3D({
777
713
  xField: 'lng',
@@ -787,8 +723,11 @@ class Heatmap3dViewModel {
787
723
  show: this._options.heatmapType == "3D" ? this._options.isShow : false
788
724
  });
789
725
  if (this._options.gradient) this._heatmap.gradient = this._options.gradient;
726
+
790
727
  this._viewer.scene.primitives.add(this._heatmap);
728
+
791
729
  this._heatmap && this._heatmap.setData(heatmapData);
730
+
792
731
  if (this._heatmap) {
793
732
  this._heatmap.readyPromise.then(() => {
794
733
  this._viewer.camera.flyTo({
@@ -796,8 +735,9 @@ class Heatmap3dViewModel {
796
735
  });
797
736
  });
798
737
  }
799
- }
800
- // 创建二维热力图对象
738
+ } // 创建二维热力图对象
739
+
740
+
801
741
  initHeatmap2d(heatmapData) {
802
742
  this._heatmap2d = new Cesium.Kq3dHeatmap2D({
803
743
  xField: 'lng',
@@ -809,7 +749,9 @@ class Heatmap3dViewModel {
809
749
  blur: 1.0,
810
750
  gradient: this._options.gradient
811
751
  });
752
+
812
753
  this._heatmap2d.setData(heatmapData);
754
+
813
755
  let extent = this._heatmap2d.extent;
814
756
  let pv = new Cesium.SingleTileImageryProvider({
815
757
  url: this._heatmap2d.toDataURL(),
@@ -819,12 +761,15 @@ class Heatmap3dViewModel {
819
761
  alpha: this._options.transparents,
820
762
  show: this._options.heatmapType == "2D" ? this._options.isShow : false
821
763
  });
764
+
822
765
  this._viewer.imageryLayers.add(this._heatmap2dCountLayer);
766
+
823
767
  this._viewer.camera.flyTo({
824
768
  destination: Cesium.Rectangle.fromDegrees(extent[0], extent[1], extent[2], extent[3])
825
769
  });
826
- }
827
- // 切换二维数据
770
+ } // 切换二维数据
771
+
772
+
828
773
  changeHeatmap2d() {
829
774
  if (this._options.gradient) this._heatmap2d.gradient = this._options.gradient;
830
775
  if (this._options.radius) this._heatmap2d.radius = this._options.radius;
@@ -838,22 +783,27 @@ class Heatmap3dViewModel {
838
783
  alpha: this._options.transparents,
839
784
  show: this._options.heatmapType == "2D" ? true : false
840
785
  });
786
+
841
787
  this._viewer.imageryLayers.add(this._heatmap2dCountLayer);
842
- }
843
- // 设置颜色渲染
788
+ } // 设置颜色渲染
789
+
790
+
844
791
  setColorArray(val) {
845
792
  this._options.gradient = val;
846
793
  if (this._heatmap) this._heatmap.gradient = val;
847
794
  if (this._heatmap2d) this.changeHeatmap2d();
848
- }
849
- // 参数改变
795
+ } // 参数改变
796
+
797
+
850
798
  paramsChanged(key, val) {
851
799
  this._options[key] = val;
852
800
  if (!this._heatmap) return;
853
801
  if (!this._heatmap2dCountLayer) return;
802
+
854
803
  switch (key) {
855
804
  case "heatmapType":
856
805
  this._mouseLabel.setVisible(false);
806
+
857
807
  if (this._options.heatmapType == "3D") {
858
808
  this._viewer.scene.highDynamicRange = false;
859
809
  this._viewer.scene.globe.showGroundAtmosphere = true;
@@ -865,60 +815,87 @@ class Heatmap3dViewModel {
865
815
  this._heatmap.show = false;
866
816
  this._heatmap2dCountLayer.show = this._options.isShow;
867
817
  }
818
+
868
819
  break;
820
+
869
821
  case "radius":
870
822
  this._mouseLabel.setVisible(false);
823
+
871
824
  this._heatmap[key] = Number(val);
825
+
872
826
  if (this._heatmap.dynamic) {
873
827
  this._heatmap.dynamic = false;
874
828
  }
829
+
875
830
  this.changeHeatmap2d();
876
831
  break;
832
+
877
833
  case "height":
878
834
  this._mouseLabel.setVisible(false);
835
+
879
836
  this._heatmap[key] = Number(val);
837
+
880
838
  if (this._heatmap.dynamic) {
881
839
  this._heatmap.dynamic = false;
882
840
  }
841
+
883
842
  break;
843
+
884
844
  case "transparents":
885
845
  this._heatmap.alpha = Number(val);
886
846
  this._heatmap2dCountLayer.alpha = Number(val);
887
847
  break;
848
+
888
849
  case "heightRatio":
889
850
  this._mouseLabel.setVisible(false);
851
+
890
852
  this._heatmap.heightRatio = Number(val);
891
853
  break;
854
+
892
855
  case "isShow":
893
856
  if (this._options.heatmapType == "3D") {
894
857
  this._heatmap.show = val;
895
858
  } else if (this._options.heatmapType == "2D") {
896
859
  this._heatmap2dCountLayer.show = val;
897
860
  }
861
+
898
862
  this._mouseLabel.setVisible(false);
863
+
899
864
  break;
865
+
900
866
  case "isFollowingPerspective":
901
867
  this._heatmap.dynamic = val;
868
+
902
869
  this._mouseLabel.setVisible(false);
870
+
903
871
  break;
872
+
904
873
  case "isGround":
905
874
  this._heatmap.clampToGround = val;
875
+
906
876
  this._mouseLabel.setVisible(false);
877
+
907
878
  break;
879
+
908
880
  case "valueField":
909
881
  this.clear();
882
+
910
883
  if (this.heatmapData) {
911
884
  this.initHeatmap3d(this.heatmapData);
912
885
  this.initHeatmap2d(this.heatmapData);
913
886
  }
887
+
914
888
  break;
889
+
915
890
  default:
916
891
  break;
917
892
  }
918
- }
919
- // 加载
893
+ } // 加载
894
+
895
+
920
896
  start() {
921
897
  this.clear();
898
+
922
899
  if (this.heatmapData) {
923
900
  this.initHeatmap3d(this.heatmapData);
924
901
  this.initHeatmap2d(this.heatmapData);
@@ -930,23 +907,31 @@ class Heatmap3dViewModel {
930
907
  });
931
908
  return;
932
909
  }
933
- }
934
- //清除全部结果
910
+ } //清除全部结果
911
+
912
+
935
913
  clear() {
936
914
  this._mouseLabel.setVisible(false);
915
+
937
916
  if (this._heatmap) {
938
917
  this._viewer.scene.primitives.remove(this._heatmap);
918
+
939
919
  this._heatmap = null;
940
920
  }
921
+
941
922
  if (this._heatmap2d) this._heatmap2d = null;
942
923
  if (this._heatmap2dCountLayer) this._viewer.imageryLayers.remove(this._heatmap2dCountLayer, true);
943
- }
944
- //销毁
924
+ } //销毁
925
+
926
+
945
927
  destroy() {
946
928
  this.clear();
929
+
947
930
  this._mouseLabel.destroy();
931
+
948
932
  this._heatmapHandler && this._heatmapHandler.destroy();
949
933
  }
934
+
950
935
  }
951
936
  // EXTERNAL MODULE: external "@element-plus/icons-vue"
952
937
  var icons_vue_ = __webpack_require__(8422);
@@ -954,24 +939,29 @@ var icons_vue_ = __webpack_require__(8422);
954
939
  var client_icons_vue_ = __webpack_require__(348);
955
940
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
956
941
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
957
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=script&setup=true&lang=js
942
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=script&setup=true&lang=js
943
+
958
944
 
959
945
  const _withScopeId = n => ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.pushScopeId)("data-v-c771bfde"), n = n(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.popScopeId)(), n);
946
+
960
947
  const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
961
948
  class: "arrow"
962
- }, null, -1 /* HOISTED */));
949
+ }, null, -1
950
+ /* HOISTED */
951
+ ));
952
+
963
953
 
964
954
  const rangeMin = -5;
965
955
  /* harmony default export */ var CustomColorPickerSlidervue_type_script_setup_true_lang_js = ({
966
956
  __name: 'CustomColorPickerSlider',
967
957
  props: ["width", "color", "percentage", "id"],
968
958
  emits: ["updatePercentage", "updateColor", "deleteColorSlider"],
959
+
969
960
  setup(__props, {
970
961
  emit
971
962
  }) {
972
- const props = __props;
963
+ const props = __props; // eslint-disable-next-line vue/no-setup-props-destructure
973
964
 
974
- // eslint-disable-next-line vue/no-setup-props-destructure
975
965
  const initId = props.id;
976
966
  const initColor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.color);
977
967
  const rangeMax = props.width - 5;
@@ -980,27 +970,25 @@ const rangeMin = -5;
980
970
 
981
971
  let offsetX = 0;
982
972
  let isDragging = false; // 是否拖动
973
+
983
974
  let mouseDownX = 0; // 通过拖动的距离,判断是拖动还是点击
984
975
 
985
976
  function handleMouseDown(event) {
986
977
  isDragging = true;
987
978
  offsetX = event.clientX - position.value;
988
- mouseDownX = event.clientX;
979
+ mouseDownX = event.clientX; // 监听mousemove、mouseup事件 注意是在document上监听
989
980
 
990
- // 监听mousemove、mouseup事件 注意是在document上监听
991
981
  document.addEventListener("mousemove", handleMouseMove);
992
- document.addEventListener("mouseup", handleMouseUp);
982
+ document.addEventListener("mouseup", handleMouseUp); // 阻止了默认行为,防止出现not-allowed的光标
993
983
 
994
- // 阻止了默认行为,防止出现not-allowed的光标
995
984
  event.preventDefault();
996
- }
985
+ } // 处理MouseMove
986
+
997
987
 
998
- // 处理MouseMove
999
988
  function handleMouseMove(event) {
1000
989
  if (isDragging) {
1001
- position.value = Math.min(Math.max(event.clientX - offsetX, rangeMin), rangeMax);
990
+ position.value = Math.min(Math.max(event.clientX - offsetX, rangeMin), rangeMax); // 拖动的过程中,不断改变percentage
1002
991
 
1003
- // 拖动的过程中,不断改变percentage
1004
992
  const percentage = (position.value + Math.abs(rangeMin)) / (rangeMax - rangeMin) * 100;
1005
993
  emit("updatePercentage", {
1006
994
  percentage: percentage,
@@ -1008,16 +996,16 @@ const rangeMin = -5;
1008
996
  });
1009
997
  }
1010
998
  }
999
+
1011
1000
  function handleMouseUp(event) {
1012
1001
  if (isDragging) {
1013
- isDragging = false;
1002
+ isDragging = false; // 移除mousemove、mouseup的事件监听
1014
1003
 
1015
- // 移除mousemove、mouseup的事件监听
1016
1004
  document.removeEventListener("mousemove", handleMouseMove);
1017
1005
  document.removeEventListener("mouseup", handleMouseUp);
1018
- }
1006
+ } // 判断是否拖动模式
1007
+
1019
1008
 
1020
- // 判断是否拖动模式
1021
1009
  if (Math.abs(event.clientX - mouseDownX) > 2) {
1022
1010
  // 是拖动模式 禁止colorPicker组件弹出
1023
1011
  disabled.value = true;
@@ -1026,6 +1014,7 @@ const rangeMin = -5;
1026
1014
  }, 100);
1027
1015
  }
1028
1016
  }
1017
+
1029
1018
  function updateColor(color) {
1030
1019
  initColor.value = color;
1031
1020
  emit("updateColor", {
@@ -1033,17 +1022,21 @@ const rangeMin = -5;
1033
1022
  id: initId
1034
1023
  });
1035
1024
  }
1025
+
1036
1026
  function deleteColorSlider() {
1037
1027
  emit("deleteColorSlider", {
1038
1028
  id: initId
1039
1029
  });
1040
1030
  }
1031
+
1041
1032
  function handleClick(event) {
1042
1033
  // 阻止滑块上的点击事件冒泡
1043
1034
  event.stopPropagation();
1044
1035
  }
1036
+
1045
1037
  return (_ctx, _cache) => {
1046
1038
  const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
1039
+
1047
1040
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
1048
1041
  class: "cs",
1049
1042
  style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
@@ -1056,21 +1049,26 @@ const rangeMin = -5;
1056
1049
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => initColor.value = $event),
1057
1050
  onActiveChange: updateColor,
1058
1051
  disabled: disabled.value
1059
- }, null, 8 /* PROPS */, ["modelValue", "disabled"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1052
+ }, null, 8
1053
+ /* PROPS */
1054
+ , ["modelValue", "disabled"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1060
1055
  class: "delete",
1061
1056
  onClick: deleteColorSlider
1062
- }, "x")], 36 /* STYLE, HYDRATE_EVENTS */);
1057
+ }, "x")], 36
1058
+ /* STYLE, HYDRATE_EVENTS */
1059
+ );
1063
1060
  };
1064
1061
  }
1062
+
1065
1063
  });
1066
1064
  ;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=script&setup=true&lang=js
1067
1065
 
1068
1066
  // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
1069
1067
  var injectStylesIntoStyleTag = __webpack_require__(3379);
1070
1068
  var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
1071
- // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=style&index=0&id=c771bfde&scoped=true&lang=scss
1072
- var CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss = __webpack_require__(5757);
1073
- ;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=style&index=0&id=c771bfde&scoped=true&lang=scss
1069
+ // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=style&index=0&id=c771bfde&scoped=true&lang=scss
1070
+ var CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss = __webpack_require__(5445);
1071
+ ;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=style&index=0&id=c771bfde&scoped=true&lang=scss
1074
1072
 
1075
1073
 
1076
1074
 
@@ -1098,10 +1096,11 @@ var exportHelper = __webpack_require__(6021);
1098
1096
  const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(CustomColorPickerSlidervue_type_script_setup_true_lang_js, [['__scopeId',"data-v-c771bfde"]])
1099
1097
 
1100
1098
  /* harmony default export */ var CustomColorPickerSlider = (__exports__);
1101
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=script&setup=true&lang=js
1099
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=script&setup=true&lang=js
1102
1100
 
1103
1101
 
1104
1102
  const CustomColorPickervue_type_script_setup_true_lang_js_withScopeId = n => (_pushScopeId("data-v-b1608504"), n = n(), _popScopeId(), n);
1103
+
1105
1104
  const CustomColorPickervue_type_script_setup_true_lang_js_hoisted_1 = {
1106
1105
  class: "gp"
1107
1106
  };
@@ -1113,99 +1112,107 @@ const width = 257;
1113
1112
  __name: 'CustomColorPicker',
1114
1113
  props: ["data"],
1115
1114
  emits: ["color-changed"],
1115
+
1116
1116
  setup(__props, {
1117
1117
  emit
1118
1118
  }) {
1119
- const props = __props;
1119
+ const props = __props; // 宽度
1120
1120
 
1121
- // 宽度
1122
1121
  const items = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.data);
1123
- let backgroundImage = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(updateBackgroundImage());
1122
+ let backgroundImage = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(updateBackgroundImage()); // 更新色带条
1124
1123
 
1125
- // 更新色带条
1126
1124
  function updateBackgroundImage() {
1127
1125
  let style = [];
1126
+
1128
1127
  for (let i = 0; i < items.value.length; i++) {
1129
1128
  const item = items.value[i];
1130
1129
  style.push(`${item.color} ${item.percentage}%`);
1131
1130
  }
1131
+
1132
1132
  return `background-image: linear-gradient(90deg, ${style.toString()})`;
1133
- }
1133
+ } // 更新颜色百分比
1134
+
1134
1135
 
1135
- // 更新颜色百分比
1136
1136
  function updatePercentage(args) {
1137
1137
  const {
1138
1138
  percentage,
1139
1139
  id
1140
1140
  } = args;
1141
+
1141
1142
  for (let i = 0; i < items.value.length; i++) {
1142
1143
  if (items.value[i].id == id) {
1143
1144
  items.value[i].percentage = percentage;
1144
1145
  break;
1145
1146
  }
1146
- }
1147
+ } // 重新排序数组
1148
+
1147
1149
 
1148
- // 重新排序数组
1149
1150
  items.value.sort((a, b) => a.percentage - b.percentage);
1150
1151
  backgroundImage.value = updateBackgroundImage();
1151
1152
  emit("color-changed", items.value);
1152
- }
1153
+ } // 更新颜色
1154
+
1153
1155
 
1154
- // 更新颜色
1155
1156
  function updateColor(args) {
1156
1157
  const {
1157
1158
  color,
1158
1159
  id
1159
1160
  } = args;
1161
+
1160
1162
  for (let i = 0; i < items.value.length; i++) {
1161
1163
  if (items.value[i].id == id) {
1162
1164
  items.value[i].color = color;
1163
1165
  break;
1164
1166
  }
1165
- }
1167
+ } // 重新排序数组
1168
+
1166
1169
 
1167
- // 重新排序数组
1168
1170
  items.value.sort((a, b) => a.percentage - b.percentage);
1169
1171
  backgroundImage.value = updateBackgroundImage();
1170
1172
  emit("color-changed", items.value);
1171
- }
1173
+ } // 删除色块
1174
+
1172
1175
 
1173
- // 删除色块
1174
1176
  function deleteColorSlider(args) {
1175
1177
  if (items.value.length <= 2) {
1176
1178
  return;
1177
1179
  }
1180
+
1178
1181
  const {
1179
1182
  id
1180
1183
  } = args;
1184
+
1181
1185
  for (let i = 0; i < items.value.length; i++) {
1182
1186
  if (items.value[i].id == id) {
1183
1187
  items.value.splice(i, 1);
1184
1188
  break;
1185
1189
  }
1186
1190
  }
1191
+
1187
1192
  backgroundImage.value = updateBackgroundImage();
1188
1193
  emit("color-changed", items.value);
1189
- }
1194
+ } // 增加色块
1195
+
1190
1196
 
1191
- // 增加色块
1192
1197
  function addColorSlider(event) {
1193
1198
  items.value.push({
1194
1199
  id: (0,util_.guid)(),
1195
1200
  color: "#0000FF",
1196
1201
  percentage: event.offsetX / width * 100
1197
- });
1202
+ }); // 重新排序数组
1198
1203
 
1199
- // 重新排序数组
1200
1204
  items.value.sort((a, b) => a.percentage - b.percentage);
1201
1205
  backgroundImage.value = updateBackgroundImage();
1202
1206
  emit("color-changed", items.value);
1203
1207
  }
1208
+
1204
1209
  return (_ctx, _cache) => {
1205
1210
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", CustomColorPickervue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1206
1211
  class: "palette",
1207
1212
  style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(backgroundImage))
1208
- }, null, 4 /* STYLE */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1213
+ }, null, 4
1214
+ /* STYLE */
1215
+ ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1209
1216
  class: "csh",
1210
1217
  onClick: addColorSlider
1211
1218
  }, [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)(items.value, item => {
@@ -1218,16 +1225,21 @@ const width = 257;
1218
1225
  onUpdatePercentage: updatePercentage,
1219
1226
  onUpdateColor: updateColor,
1220
1227
  onDeleteColorSlider: deleteColorSlider
1221
- }, null, 8 /* PROPS */, ["color", "id", "percentage"]);
1222
- }), 128 /* KEYED_FRAGMENT */))])]);
1228
+ }, null, 8
1229
+ /* PROPS */
1230
+ , ["color", "id", "percentage"]);
1231
+ }), 128
1232
+ /* KEYED_FRAGMENT */
1233
+ ))])]);
1223
1234
  };
1224
1235
  }
1236
+
1225
1237
  });
1226
1238
  ;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=script&setup=true&lang=js
1227
1239
 
1228
- // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=style&index=0&id=b1608504&scoped=true&lang=scss
1229
- var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss = __webpack_require__(4098);
1230
- ;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=style&index=0&id=b1608504&scoped=true&lang=scss
1240
+ // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=style&index=0&id=b1608504&scoped=true&lang=scss
1241
+ var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss = __webpack_require__(8764);
1242
+ ;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=style&index=0&id=b1608504&scoped=true&lang=scss
1231
1243
 
1232
1244
 
1233
1245
 
@@ -1253,13 +1265,7 @@ var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_up
1253
1265
  const CustomColorPicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(CustomColorPickervue_type_script_setup_true_lang_js, [['__scopeId',"data-v-b1608504"]])
1254
1266
 
1255
1267
  /* harmony default export */ var CustomColorPicker = (CustomColorPicker_exports_);
1256
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/heatmap3d/Heatmap3d.vue?vue&type=script&setup=true&lang=js
1257
-
1258
-
1259
-
1260
-
1261
-
1262
-
1268
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/heatmap3d/Heatmap3d.vue?vue&type=script&setup=true&lang=js
1263
1269
 
1264
1270
 
1265
1271
  const Heatmap3dvue_type_script_setup_true_lang_js_hoisted_1 = {
@@ -1298,6 +1304,7 @@ const __default__ = {
1298
1304
  type: Boolean,
1299
1305
  default: true
1300
1306
  },
1307
+
1301
1308
  /**
1302
1309
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
1303
1310
  */
@@ -1327,6 +1334,7 @@ const __default__ = {
1327
1334
  default: true
1328
1335
  }
1329
1336
  },
1337
+
1330
1338
  setup(__props, {
1331
1339
  expose: __expose
1332
1340
  }) {
@@ -1336,8 +1344,7 @@ const __default__ = {
1336
1344
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
1337
1345
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
1338
1346
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
1339
- let weightFields = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
1340
- // 获取组件传参
1347
+ let weightFields = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 获取组件传参
1341
1348
 
1342
1349
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
1343
1350
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
@@ -1375,17 +1382,15 @@ const __default__ = {
1375
1382
  colorMode: props.settingParams && props.settingParams.colorMode || 1,
1376
1383
  // 1:预设 2:自定义
1377
1384
  colorRamp: props.settingParams && props.settingParams.colorRamp || 0 //色带索引,0-16
1385
+
1378
1386
  });
1379
- let viewModel = null;
1387
+ let viewModel = null; // 组件容器Ref
1380
1388
 
1381
- // 组件容器Ref
1382
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
1389
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
1383
1390
 
1384
- // 生成组件默认header
1385
1391
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
1386
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
1392
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
1387
1393
 
1388
- // 国际化
1389
1394
  let {
1390
1395
  locale,
1391
1396
  messages
@@ -1410,11 +1415,13 @@ const __default__ = {
1410
1415
  });
1411
1416
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
1412
1417
  //父组 件ScenceView初始化完成后执行
1418
+
1413
1419
  weightFields.value = [language.value.noSet];
1414
1420
  if (!formItem.valueField) formItem.valueField = language.value.noSet;
1415
1421
  gis_utils_.utils.getWebMap(null, scenceView => {
1416
1422
  if (scenceView) {
1417
1423
  viewModel = new Heatmap3dViewModel(scenceView, formItem);
1424
+
1418
1425
  if (viewModel) {
1419
1426
  viewModel.language = language.value;
1420
1427
  let test = heatColor.value; // 触发赋值
@@ -1422,37 +1429,43 @@ const __default__ = {
1422
1429
  }
1423
1430
  });
1424
1431
  });
1425
-
1426
1432
  /**
1427
1433
  * @description 监听header生成
1428
1434
  */
1435
+
1429
1436
  const watchCreateHeaderTemp = () => {
1430
1437
  if (props.showHeaderTemp) {
1431
1438
  // 生成headerTemp
1432
1439
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
1433
1440
  }
1434
1441
  };
1442
+
1435
1443
  function selectData(file) {
1436
1444
  let url = URL.createObjectURL(file.raw);
1437
1445
  formItem.dataPath = url;
1438
- }
1439
- // 参数改变
1446
+ } // 参数改变
1447
+
1448
+
1440
1449
  function paramsChanged(key) {
1441
1450
  viewModel && viewModel.paramsChanged(key, formItem[key]);
1451
+
1442
1452
  switch (key) {
1443
1453
  case "radius":
1444
1454
  case "height":
1445
1455
  formItem.isFollowingPerspective = false;
1446
1456
  break;
1457
+
1447
1458
  default:
1448
1459
  break;
1449
1460
  }
1450
- }
1451
- // 加载
1461
+ } // 加载
1462
+
1463
+
1452
1464
  function startAnalysis() {
1453
1465
  getDataByPath();
1454
- }
1455
- // 获取路径数据
1466
+ } // 获取路径数据
1467
+
1468
+
1456
1469
  function getDataByPath() {
1457
1470
  if (formItem && formItem.dataPath) {
1458
1471
  Cesium.Resource.fetchJson(formItem.dataPath).then(res => {
@@ -1465,6 +1478,7 @@ const __default__ = {
1465
1478
  });
1466
1479
  return;
1467
1480
  }
1481
+
1468
1482
  let heatmapArr = [];
1469
1483
  let bigArray = [];
1470
1484
  res.features.forEach(element => {
@@ -1481,11 +1495,11 @@ const __default__ = {
1481
1495
  });
1482
1496
  });
1483
1497
  let commonArr = commonValues(bigArray);
1484
- weightFields.value = [language.value.noSet].concat(commonArr);
1485
- // if (!formItem.valueField) {
1498
+ weightFields.value = [language.value.noSet].concat(commonArr); // if (!formItem.valueField) {
1486
1499
  // formItem.valueField = commonArr[0];
1487
1500
  // paramsChanged("valueField");
1488
1501
  // }
1502
+
1489
1503
  if (viewModel) {
1490
1504
  viewModel.heatmapData = heatmapArr;
1491
1505
  viewModel.start();
@@ -1498,13 +1512,6 @@ const __default__ = {
1498
1512
  });
1499
1513
  return;
1500
1514
  }
1501
- }).otherwise(ret => {
1502
- (0,message/* default */.Z)({
1503
- message: language.value.dataParsingMessage + "!",
1504
- type: "error",
1505
- duration: 2000
1506
- });
1507
- return;
1508
1515
  });
1509
1516
  } else {
1510
1517
  (0,message/* default */.Z)({
@@ -1515,49 +1522,61 @@ const __default__ = {
1515
1522
  return;
1516
1523
  }
1517
1524
  }
1525
+
1518
1526
  function commonValues(bigArray) {
1519
1527
  // 如果大数组为空,直接返回空数组
1520
1528
  if (bigArray.length === 0) {
1521
1529
  return [];
1522
- }
1523
- // 以第一个小数组为初始值进行比较
1530
+ } // 以第一个小数组为初始值进行比较
1531
+
1532
+
1524
1533
  let common = [...bigArray[0]];
1534
+
1525
1535
  for (let i = 1; i < bigArray.length; i++) {
1526
1536
  common = common.filter(item => bigArray[i].includes(item));
1527
1537
  }
1538
+
1528
1539
  return common;
1529
- }
1530
- // 获取对象键列表
1540
+ } // 获取对象键列表
1541
+
1542
+
1531
1543
  function getValidKeysAndValues(obj) {
1532
1544
  const validKeys = [];
1533
1545
  const newObj = {};
1546
+
1534
1547
  for (const key in obj) {
1535
1548
  const value = obj[key];
1549
+
1536
1550
  if (!isNaN(value) && value > 0) {
1537
1551
  validKeys.push(key);
1538
1552
  newObj[key] = value;
1539
1553
  }
1540
1554
  }
1555
+
1541
1556
  return {
1542
1557
  validKeys,
1543
1558
  newObj
1544
1559
  };
1545
- }
1546
- // 预设的色带
1547
- const colorData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([["#F0EDB6", "#E0831F", "#910909"], ["#80FFFF", "#2EA7F2", "#000068"], ["#9999FF", "#99FFFF", "#FF9999", "#FFFF99"], ["#9766BF", "#C9ADAD", "#B5ADDD", "#93A9DD", "#74A9E1"], ["#0000FF", "#00FFFF", "#00FF00", "#FFFF00", "#FF0000"], ["#814BAB", "#821498", "#D53448", "#FDD944", "#FFFFFF"], ["#636CEA", "#1B1DD5", "#BE1C4D", "#F79390", "#FFFFCC"], ["#7FC97F", "#BEAED4", "#FDC086", "#FFFF99", "#386CB0", "#70027F", "#BF5B17"], ["#A6CEE3", "#1F78B4", "#B2DF8A", "#33A02C", "#FB9A99", "#D2212D", "#FDBF6F"], ["#E41A1C", "#377EB8", "#4DAF4A", "#984EA3", "#FF7F00", "#FFFF33", "#A65628"], ["#D73027", "#FC8D59", "#FEE08B", "#FFFFBF", "#D9EF8B", "#91CF60", "#1A9850"], ["#D53E4F", "#FC8D59", "#FEE08B", "#FFFFBF", "#E6F598", "#99D594", "#3288BD"], ["#D73027", "#FC8D59", "#FEE090", "#FFFFBF", "#E0F3F8", "#91BFDB", "#4575B4"], ["#B2182B", "#EF8A62", "#FDDBC7", "#FFFFFF", "#E0E0E0", "#999999", "#4D4D4D"], ["#E9F013", "#B3B3B3", "#408000", "#000080", "#0D3069", "#ABABAB", "#FFFCFF"], ["#B0B0B0", "#0000FF", "#00A6FF", "#00FF00", "#00FFFF", "#FF0000", "#FFA600", "#FF00FF", "#0000FF"], ["#531DAB", "#2F54EB", "#40A9FF", "#5CDBD3", "#B7EB8F", "#FFE58F", "#FFC069", "#FF7A45", "#F53B44", "#A8071A"]]);
1548
- // 自定义的颜色
1560
+ } // 预设的色带
1561
+
1562
+
1563
+ const colorData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([["#F0EDB6", "#E0831F", "#910909"], ["#80FFFF", "#2EA7F2", "#000068"], ["#9999FF", "#99FFFF", "#FF9999", "#FFFF99"], ["#9766BF", "#C9ADAD", "#B5ADDD", "#93A9DD", "#74A9E1"], ["#0000FF", "#00FFFF", "#00FF00", "#FFFF00", "#FF0000"], ["#814BAB", "#821498", "#D53448", "#FDD944", "#FFFFFF"], ["#636CEA", "#1B1DD5", "#BE1C4D", "#F79390", "#FFFFCC"], ["#7FC97F", "#BEAED4", "#FDC086", "#FFFF99", "#386CB0", "#70027F", "#BF5B17"], ["#A6CEE3", "#1F78B4", "#B2DF8A", "#33A02C", "#FB9A99", "#D2212D", "#FDBF6F"], ["#E41A1C", "#377EB8", "#4DAF4A", "#984EA3", "#FF7F00", "#FFFF33", "#A65628"], ["#D73027", "#FC8D59", "#FEE08B", "#FFFFBF", "#D9EF8B", "#91CF60", "#1A9850"], ["#D53E4F", "#FC8D59", "#FEE08B", "#FFFFBF", "#E6F598", "#99D594", "#3288BD"], ["#D73027", "#FC8D59", "#FEE090", "#FFFFBF", "#E0F3F8", "#91BFDB", "#4575B4"], ["#B2182B", "#EF8A62", "#FDDBC7", "#FFFFFF", "#E0E0E0", "#999999", "#4D4D4D"], ["#E9F013", "#B3B3B3", "#408000", "#000080", "#0D3069", "#ABABAB", "#FFFCFF"], ["#B0B0B0", "#0000FF", "#00A6FF", "#00FF00", "#00FFFF", "#FF0000", "#FFA600", "#FF00FF", "#0000FF"], ["#531DAB", "#2F54EB", "#40A9FF", "#5CDBD3", "#B7EB8F", "#FFE58F", "#FFC069", "#FF7A45", "#F53B44", "#A8071A"]]); // 自定义的颜色
1564
+
1549
1565
  const customColors = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)({
1550
1566
  get() {
1551
1567
  const custom = props.settingParams && props.settingParams.custom;
1568
+
1552
1569
  if (!custom || custom.length == 0) {
1553
1570
  return getCustomColors(colorData.value[formItem.colorRamp]);
1554
1571
  } else {
1555
1572
  return custom;
1556
1573
  }
1557
1574
  },
1575
+
1558
1576
  set(value) {
1559
1577
  regroupColors();
1560
1578
  }
1579
+
1561
1580
  });
1562
1581
  const heatColor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)({
1563
1582
  get() {
@@ -1567,14 +1586,19 @@ const __default__ = {
1567
1586
  } else {
1568
1587
  onChangeColorRamp();
1569
1588
  }
1589
+
1570
1590
  return heatColor.value;
1571
1591
  },
1592
+
1572
1593
  set(value) {
1573
1594
  viewModel && viewModel.setColorArray(value);
1574
1595
  }
1596
+
1575
1597
  });
1576
- function getHeatColor() {}
1577
- // 重组颜色渲染对象
1598
+
1599
+ function getHeatColor() {} // 重组颜色渲染对象
1600
+
1601
+
1578
1602
  function regroupColors() {
1579
1603
  let obj = {};
1580
1604
  customColors.value.forEach(element => {
@@ -1582,25 +1606,30 @@ const __default__ = {
1582
1606
  });
1583
1607
  heatColor.value = obj;
1584
1608
  }
1609
+
1585
1610
  function onChangeColorRamp() {
1586
1611
  // 固定的开头
1587
1612
  const colors = colorData.value[formItem.colorRamp];
1588
1613
  const len = colors.length;
1589
1614
  const delta = 1 / len;
1590
1615
  let ramp = {};
1616
+
1591
1617
  for (let i = 0; i < len - 1; i++) {
1592
1618
  ramp[delta * (i + 1)] = colors[i];
1593
1619
  }
1620
+
1594
1621
  ramp[1] = colors[len - 1];
1595
1622
  heatColor.value = {
1596
1623
  0: "rgba(0, 0, 0, 0)",
1597
1624
  ...ramp
1598
1625
  };
1599
1626
  }
1627
+
1600
1628
  function getCustomColors(colors) {
1601
1629
  let custom = [];
1602
1630
  const len = colors.length;
1603
1631
  const delta = 1 / (len - 1);
1632
+
1604
1633
  for (let i = 0; i < len; i++) {
1605
1634
  custom.push({
1606
1635
  id: (0,util_.guid)(),
@@ -1608,58 +1637,86 @@ const __default__ = {
1608
1637
  percentage: i * delta * 100
1609
1638
  });
1610
1639
  }
1640
+
1611
1641
  return custom;
1612
1642
  }
1643
+
1613
1644
  function colorChanged(items) {
1614
1645
  let ramp = {};
1646
+
1615
1647
  for (let i = 0; i < items.length; i++) {
1616
1648
  if (items[i].percentage == 0) {
1617
1649
  items[i].percentage = 1;
1618
1650
  }
1651
+
1619
1652
  ramp[items[i].percentage / 100] = items[i].color;
1620
1653
  }
1654
+
1621
1655
  heatColor.value = {
1622
1656
  0: "rgba(0, 0, 0, 0)",
1623
1657
  ...ramp
1624
1658
  };
1625
1659
  }
1660
+
1626
1661
  function generateColorStyle(colors) {
1627
1662
  return `background-image: linear-gradient(90deg, ${colors.toString()})`;
1628
- }
1629
- // 反转色带的颜色
1663
+ } // 反转色带的颜色
1664
+
1665
+
1630
1666
  function onClickReverseRamp(colors) {
1631
1667
  colors = colors.reverse();
1632
1668
  onChangeColorRamp();
1633
- }
1634
- // 清除
1669
+ } // 清除
1670
+
1671
+
1635
1672
  function clearResult() {
1636
1673
  viewModel && viewModel.clear();
1637
- }
1674
+ } // 销毁
1675
+
1638
1676
 
1639
- // 销毁
1640
1677
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
1641
1678
  viewModel && viewModel.destroy();
1642
1679
  });
1680
+
1643
1681
  __expose({});
1682
+
1644
1683
  return (_ctx, _cache) => {
1645
1684
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
1685
+
1646
1686
  const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
1687
+
1647
1688
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
1689
+
1648
1690
  const _component_kq_upload = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-upload");
1691
+
1649
1692
  const _component_kq_input = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input");
1693
+
1650
1694
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
1695
+
1651
1696
  const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
1697
+
1652
1698
  const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
1699
+
1653
1700
  const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
1701
+
1654
1702
  const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
1703
+
1655
1704
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
1705
+
1656
1706
  const _component_kq_radio_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-button");
1707
+
1657
1708
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
1709
+
1658
1710
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
1711
+
1659
1712
  const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
1713
+
1660
1714
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
1715
+
1661
1716
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
1717
+
1662
1718
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
1719
+
1663
1720
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
1664
1721
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-heatmap", {
1665
1722
  'kq-box-shadow': __props.showShadow
@@ -1670,15 +1727,21 @@ const __default__ = {
1670
1727
  key: 0,
1671
1728
  ref_key: "headerTempRef",
1672
1729
  ref: headerTempRef
1673
- }, 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", Heatmap3dvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1730
+ }, null, 512
1731
+ /* NEED_PATCH */
1732
+ )) : (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", Heatmap3dvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1674
1733
  class: "rowClass"
1675
1734
  }, {
1676
1735
  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, {
1677
1736
  span: 7,
1678
1737
  class: "colClass"
1679
1738
  }, {
1680
- 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).dataPath), 1 /* TEXT */)]),
1681
- _: 1 /* STABLE */
1739
+ 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).dataPath), 1
1740
+ /* TEXT */
1741
+ )]),
1742
+ _: 1
1743
+ /* STABLE */
1744
+
1682
1745
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1683
1746
  span: 17
1684
1747
  }, {
@@ -1699,17 +1762,31 @@ const __default__ = {
1699
1762
  size: 16
1700
1763
  }, {
1701
1764
  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))]),
1702
- _: 1 /* STABLE */
1765
+ _: 1
1766
+ /* STABLE */
1767
+
1703
1768
  })]),
1704
- _: 1 /* STABLE */
1769
+ _: 1
1770
+ /* STABLE */
1771
+
1705
1772
  })]),
1706
- _: 1 /* STABLE */
1773
+ _: 1
1774
+ /* STABLE */
1775
+
1707
1776
  })]),
1708
- _: 1 /* STABLE */
1709
- }, 8 /* PROPS */, ["modelValue", "placeholder"])]),
1710
- _: 1 /* STABLE */
1777
+ _: 1
1778
+ /* STABLE */
1779
+
1780
+ }, 8
1781
+ /* PROPS */
1782
+ , ["modelValue", "placeholder"])]),
1783
+ _: 1
1784
+ /* STABLE */
1785
+
1711
1786
  })]),
1712
- _: 1 /* STABLE */
1787
+ _: 1
1788
+ /* STABLE */
1789
+
1713
1790
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1714
1791
  class: "rowClass"
1715
1792
  }, {
@@ -1717,8 +1794,12 @@ const __default__ = {
1717
1794
  span: 7,
1718
1795
  class: "colClass"
1719
1796
  }, {
1720
- 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).heatmapType), 1 /* TEXT */)]),
1721
- _: 1 /* STABLE */
1797
+ 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).heatmapType), 1
1798
+ /* TEXT */
1799
+ )]),
1800
+ _: 1
1801
+ /* STABLE */
1802
+
1722
1803
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1723
1804
  span: 17
1724
1805
  }, {
@@ -1730,25 +1811,43 @@ const __default__ = {
1730
1811
  label: "3D",
1731
1812
  onChange: _cache[2] || (_cache[2] = $event => paramsChanged('heatmapType'))
1732
1813
  }, {
1733
- 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).classic3d), 1 /* TEXT */)]),
1734
- _: 1 /* STABLE */
1814
+ 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).classic3d), 1
1815
+ /* TEXT */
1816
+ )]),
1817
+ _: 1
1818
+ /* STABLE */
1819
+
1735
1820
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
1736
1821
  label: "2D",
1737
1822
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('heatmapType'))
1738
1823
  }, {
1739
1824
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("2D")]),
1740
- _: 1 /* STABLE */
1825
+ _: 1
1826
+ /* STABLE */
1827
+
1741
1828
  })]),
1742
- _: 1 /* STABLE */
1743
- }, 8 /* PROPS */, ["modelValue"])]),
1744
- _: 1 /* STABLE */
1829
+ _: 1
1830
+ /* STABLE */
1831
+
1832
+ }, 8
1833
+ /* PROPS */
1834
+ , ["modelValue"])]),
1835
+ _: 1
1836
+ /* STABLE */
1837
+
1745
1838
  })]),
1746
- _: 1 /* STABLE */
1839
+ _: 1
1840
+ /* STABLE */
1841
+
1747
1842
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1748
1843
  class: "kq3d-heatmap-tip"
1749
1844
  }, {
1750
- 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).heatmapTips), 1 /* TEXT */)]),
1751
- _: 1 /* STABLE */
1845
+ 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).heatmapTips), 1
1846
+ /* TEXT */
1847
+ )]),
1848
+ _: 1
1849
+ /* STABLE */
1850
+
1752
1851
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
1753
1852
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
1754
1853
  class: "kq3d-heatmap-collapse"
@@ -1778,13 +1877,27 @@ const __default__ = {
1778
1877
  key: index,
1779
1878
  label: item,
1780
1879
  value: item
1781
- }, null, 8 /* PROPS */, ["label", "value"]);
1782
- }), 128 /* KEYED_FRAGMENT */))]),
1783
- _: 1 /* STABLE */
1784
- }, 8 /* PROPS */, ["modelValue"])]),
1785
- _: 1 /* STABLE */
1786
- }, 8 /* PROPS */, ["label"])]),
1787
- _: 1 /* STABLE */
1880
+ }, null, 8
1881
+ /* PROPS */
1882
+ , ["label", "value"]);
1883
+ }), 128
1884
+ /* KEYED_FRAGMENT */
1885
+ ))]),
1886
+ _: 1
1887
+ /* STABLE */
1888
+
1889
+ }, 8
1890
+ /* PROPS */
1891
+ , ["modelValue"])]),
1892
+ _: 1
1893
+ /* STABLE */
1894
+
1895
+ }, 8
1896
+ /* PROPS */
1897
+ , ["label"])]),
1898
+ _: 1
1899
+ /* STABLE */
1900
+
1788
1901
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1789
1902
  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, {
1790
1903
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).colorScheme
@@ -1802,23 +1915,45 @@ const __default__ = {
1802
1915
  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_button, {
1803
1916
  label: "1"
1804
1917
  }, {
1805
- 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).preset), 1 /* TEXT */)]),
1806
- _: 1 /* STABLE */
1918
+ 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).preset), 1
1919
+ /* TEXT */
1920
+ )]),
1921
+ _: 1
1922
+ /* STABLE */
1923
+
1807
1924
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, {
1808
1925
  label: "2"
1809
1926
  }, {
1810
- 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).customTitle), 1 /* TEXT */)]),
1811
- _: 1 /* STABLE */
1927
+ 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).customTitle), 1
1928
+ /* TEXT */
1929
+ )]),
1930
+ _: 1
1931
+ /* STABLE */
1932
+
1812
1933
  })]),
1813
- _: 1 /* STABLE */
1814
- }, 8 /* PROPS */, ["modelValue"])]),
1815
- _: 1 /* STABLE */
1934
+ _: 1
1935
+ /* STABLE */
1936
+
1937
+ }, 8
1938
+ /* PROPS */
1939
+ , ["modelValue"])]),
1940
+ _: 1
1941
+ /* STABLE */
1942
+
1816
1943
  })]),
1817
- _: 1 /* STABLE */
1944
+ _: 1
1945
+ /* STABLE */
1946
+
1818
1947
  })]),
1819
- _: 1 /* STABLE */
1820
- }, 8 /* PROPS */, ["label"])]),
1821
- _: 1 /* STABLE */
1948
+ _: 1
1949
+ /* STABLE */
1950
+
1951
+ }, 8
1952
+ /* PROPS */
1953
+ , ["label"])]),
1954
+ _: 1
1955
+ /* STABLE */
1956
+
1822
1957
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorMode == 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, {
1823
1958
  key: 0
1824
1959
  }, {
@@ -1844,7 +1979,9 @@ const __default__ = {
1844
1979
  prefix: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1845
1980
  class: "color-ramp",
1846
1981
  style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)(generateColorStyle(colorData.value[(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorRamp]))
1847
- }, null, 4 /* STYLE */)]),
1982
+ }, null, 4
1983
+ /* STYLE */
1984
+ )]),
1848
1985
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)(colorData.value, (item, index) => {
1849
1986
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
1850
1987
  class: "color-option",
@@ -1854,25 +1991,51 @@ const __default__ = {
1854
1991
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
1855
1992
  class: "color-ramp",
1856
1993
  style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)(generateColorStyle(item))
1857
- }, null, 4 /* STYLE */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
1994
+ }, null, 4
1995
+ /* STYLE */
1996
+ ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
1858
1997
  class: "reverse",
1859
1998
  onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => onClickReverseRamp(item), ["stop"])
1860
1999
  }, {
1861
2000
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Switch))]),
1862
- _: 2 /* DYNAMIC */
1863
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])]),
1864
- _: 2 /* DYNAMIC */
1865
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value"]);
1866
- }), 128 /* KEYED_FRAGMENT */))]),
1867
- _: 1 /* STABLE */
1868
- }, 8 /* PROPS */, ["modelValue"])]),
1869
- _: 1 /* STABLE */
2001
+ _: 2
2002
+ /* DYNAMIC */
2003
+
2004
+ }, 1032
2005
+ /* PROPS, DYNAMIC_SLOTS */
2006
+ , ["onClick"])]),
2007
+ _: 2
2008
+ /* DYNAMIC */
2009
+
2010
+ }, 1032
2011
+ /* PROPS, DYNAMIC_SLOTS */
2012
+ , ["value"]);
2013
+ }), 128
2014
+ /* KEYED_FRAGMENT */
2015
+ ))]),
2016
+ _: 1
2017
+ /* STABLE */
2018
+
2019
+ }, 8
2020
+ /* PROPS */
2021
+ , ["modelValue"])]),
2022
+ _: 1
2023
+ /* STABLE */
2024
+
1870
2025
  })]),
1871
- _: 1 /* STABLE */
2026
+ _: 1
2027
+ /* STABLE */
2028
+
1872
2029
  })]),
1873
- _: 1 /* STABLE */
1874
- }, 8 /* PROPS */, ["label"])]),
1875
- _: 1 /* STABLE */
2030
+ _: 1
2031
+ /* STABLE */
2032
+
2033
+ }, 8
2034
+ /* PROPS */
2035
+ , ["label"])]),
2036
+ _: 1
2037
+ /* STABLE */
2038
+
1876
2039
  })) : (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).colorMode == 2 ? ((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, {
1877
2040
  key: 1
1878
2041
  }, {
@@ -1888,14 +2051,26 @@ const __default__ = {
1888
2051
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(CustomColorPicker, {
1889
2052
  data: customColors.value,
1890
2053
  onColorChanged: colorChanged
1891
- }, null, 8 /* PROPS */, ["data"])]),
1892
- _: 1 /* STABLE */
2054
+ }, null, 8
2055
+ /* PROPS */
2056
+ , ["data"])]),
2057
+ _: 1
2058
+ /* STABLE */
2059
+
1893
2060
  })]),
1894
- _: 1 /* STABLE */
2061
+ _: 1
2062
+ /* STABLE */
2063
+
1895
2064
  })]),
1896
- _: 1 /* STABLE */
1897
- }, 8 /* PROPS */, ["label"])]),
1898
- _: 1 /* STABLE */
2065
+ _: 1
2066
+ /* STABLE */
2067
+
2068
+ }, 8
2069
+ /* PROPS */
2070
+ , ["label"])]),
2071
+ _: 1
2072
+ /* STABLE */
2073
+
1899
2074
  })) : (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, {
1900
2075
  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, {
1901
2076
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).radius + '(m)'
@@ -1915,8 +2090,12 @@ const __default__ = {
1915
2090
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minRadius,
1916
2091
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxRadius,
1917
2092
  onChange: _cache[10] || (_cache[10] = $event => paramsChanged('radius'))
1918
- }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
1919
- _: 1 /* STABLE */
2093
+ }, null, 8
2094
+ /* PROPS */
2095
+ , ["modelValue", "step", "min", "max"])]),
2096
+ _: 1
2097
+ /* STABLE */
2098
+
1920
2099
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1921
2100
  span: 8
1922
2101
  }, {
@@ -1928,14 +2107,26 @@ const __default__ = {
1928
2107
  step: 0.1,
1929
2108
  onChange: _cache[12] || (_cache[12] = $event => paramsChanged('radius')),
1930
2109
  "controls-position": "right"
1931
- }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
1932
- _: 1 /* STABLE */
2110
+ }, null, 8
2111
+ /* PROPS */
2112
+ , ["modelValue", "min", "max", "step"])]),
2113
+ _: 1
2114
+ /* STABLE */
2115
+
1933
2116
  })]),
1934
- _: 1 /* STABLE */
2117
+ _: 1
2118
+ /* STABLE */
2119
+
1935
2120
  })]),
1936
- _: 1 /* STABLE */
1937
- }, 8 /* PROPS */, ["label"])]),
1938
- _: 1 /* STABLE */
2121
+ _: 1
2122
+ /* STABLE */
2123
+
2124
+ }, 8
2125
+ /* PROPS */
2126
+ , ["label"])]),
2127
+ _: 1
2128
+ /* STABLE */
2129
+
1939
2130
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1940
2131
  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, {
1941
2132
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).transparents
@@ -1955,8 +2146,12 @@ const __default__ = {
1955
2146
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTransparents,
1956
2147
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTransparents,
1957
2148
  onChange: _cache[14] || (_cache[14] = $event => paramsChanged('transparents'))
1958
- }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
1959
- _: 1 /* STABLE */
2149
+ }, null, 8
2150
+ /* PROPS */
2151
+ , ["modelValue", "step", "min", "max"])]),
2152
+ _: 1
2153
+ /* STABLE */
2154
+
1960
2155
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1961
2156
  span: 8
1962
2157
  }, {
@@ -1968,14 +2163,26 @@ const __default__ = {
1968
2163
  step: 0.01,
1969
2164
  onChange: _cache[16] || (_cache[16] = $event => paramsChanged('transparents')),
1970
2165
  "controls-position": "right"
1971
- }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
1972
- _: 1 /* STABLE */
2166
+ }, null, 8
2167
+ /* PROPS */
2168
+ , ["modelValue", "min", "max", "step"])]),
2169
+ _: 1
2170
+ /* STABLE */
2171
+
1973
2172
  })]),
1974
- _: 1 /* STABLE */
2173
+ _: 1
2174
+ /* STABLE */
2175
+
1975
2176
  })]),
1976
- _: 1 /* STABLE */
1977
- }, 8 /* PROPS */, ["label"])]),
1978
- _: 1 /* STABLE */
2177
+ _: 1
2178
+ /* STABLE */
2179
+
2180
+ }, 8
2181
+ /* PROPS */
2182
+ , ["label"])]),
2183
+ _: 1
2184
+ /* STABLE */
2185
+
1979
2186
  }), (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, null, {
1980
2187
  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, {
1981
2188
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height + '(m)'
@@ -1995,8 +2202,12 @@ const __default__ = {
1995
2202
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeight,
1996
2203
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeight,
1997
2204
  onChange: _cache[18] || (_cache[18] = $event => paramsChanged('height'))
1998
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
1999
- _: 1 /* STABLE */
2205
+ }, null, 8
2206
+ /* PROPS */
2207
+ , ["modelValue", "min", "max"])]),
2208
+ _: 1
2209
+ /* STABLE */
2210
+
2000
2211
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
2001
2212
  span: 8
2002
2213
  }, {
@@ -2008,15 +2219,29 @@ const __default__ = {
2008
2219
  step: 1,
2009
2220
  onChange: _cache[20] || (_cache[20] = $event => paramsChanged('height')),
2010
2221
  "controls-position": "right"
2011
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
2012
- _: 1 /* STABLE */
2222
+ }, null, 8
2223
+ /* PROPS */
2224
+ , ["modelValue", "min", "max"])]),
2225
+ _: 1
2226
+ /* STABLE */
2227
+
2013
2228
  })]),
2014
- _: 1 /* STABLE */
2229
+ _: 1
2230
+ /* STABLE */
2231
+
2015
2232
  })]),
2016
- _: 1 /* STABLE */
2017
- }, 8 /* PROPS */, ["label"])]),
2018
- _: 1 /* STABLE */
2019
- }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']]), (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, null, {
2233
+ _: 1
2234
+ /* STABLE */
2235
+
2236
+ }, 8
2237
+ /* PROPS */
2238
+ , ["label"])]),
2239
+ _: 1
2240
+ /* STABLE */
2241
+
2242
+ }, 512
2243
+ /* NEED_PATCH */
2244
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']]), (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, null, {
2020
2245
  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, {
2021
2246
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heightRatio
2022
2247
  }, {
@@ -2035,8 +2260,12 @@ const __default__ = {
2035
2260
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeightRatio,
2036
2261
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeightRatio,
2037
2262
  onChange: _cache[22] || (_cache[22] = $event => paramsChanged('heightRatio'))
2038
- }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
2039
- _: 1 /* STABLE */
2263
+ }, null, 8
2264
+ /* PROPS */
2265
+ , ["modelValue", "step", "min", "max"])]),
2266
+ _: 1
2267
+ /* STABLE */
2268
+
2040
2269
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
2041
2270
  span: 8
2042
2271
  }, {
@@ -2048,15 +2277,29 @@ const __default__ = {
2048
2277
  step: 0.1,
2049
2278
  onChange: _cache[24] || (_cache[24] = $event => paramsChanged('heightRatio')),
2050
2279
  "controls-position": "right"
2051
- }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
2052
- _: 1 /* STABLE */
2280
+ }, null, 8
2281
+ /* PROPS */
2282
+ , ["modelValue", "min", "max", "step"])]),
2283
+ _: 1
2284
+ /* STABLE */
2285
+
2053
2286
  })]),
2054
- _: 1 /* STABLE */
2287
+ _: 1
2288
+ /* STABLE */
2289
+
2055
2290
  })]),
2056
- _: 1 /* STABLE */
2057
- }, 8 /* PROPS */, ["label"])]),
2058
- _: 1 /* STABLE */
2059
- }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
2291
+ _: 1
2292
+ /* STABLE */
2293
+
2294
+ }, 8
2295
+ /* PROPS */
2296
+ , ["label"])]),
2297
+ _: 1
2298
+ /* STABLE */
2299
+
2300
+ }, 512
2301
+ /* NEED_PATCH */
2302
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
2060
2303
  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, {
2061
2304
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).isShow
2062
2305
  }, {
@@ -2074,14 +2317,26 @@ const __default__ = {
2074
2317
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isShow,
2075
2318
  "onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isShow = $event),
2076
2319
  onChange: _cache[26] || (_cache[26] = $event => paramsChanged('isShow'))
2077
- }, null, 8 /* PROPS */, ["modelValue"])]),
2078
- _: 1 /* STABLE */
2320
+ }, null, 8
2321
+ /* PROPS */
2322
+ , ["modelValue"])]),
2323
+ _: 1
2324
+ /* STABLE */
2325
+
2079
2326
  })]),
2080
- _: 1 /* STABLE */
2327
+ _: 1
2328
+ /* STABLE */
2329
+
2081
2330
  })]),
2082
- _: 1 /* STABLE */
2083
- }, 8 /* PROPS */, ["label"])]),
2084
- _: 1 /* STABLE */
2331
+ _: 1
2332
+ /* STABLE */
2333
+
2334
+ }, 8
2335
+ /* PROPS */
2336
+ , ["label"])]),
2337
+ _: 1
2338
+ /* STABLE */
2339
+
2085
2340
  }), (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, null, {
2086
2341
  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, {
2087
2342
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).isGround
@@ -2100,15 +2355,29 @@ const __default__ = {
2100
2355
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isGround,
2101
2356
  "onUpdate:modelValue": _cache[27] || (_cache[27] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isGround = $event),
2102
2357
  onChange: _cache[28] || (_cache[28] = $event => paramsChanged('isGround'))
2103
- }, null, 8 /* PROPS */, ["modelValue"])]),
2104
- _: 1 /* STABLE */
2358
+ }, null, 8
2359
+ /* PROPS */
2360
+ , ["modelValue"])]),
2361
+ _: 1
2362
+ /* STABLE */
2363
+
2105
2364
  })]),
2106
- _: 1 /* STABLE */
2365
+ _: 1
2366
+ /* STABLE */
2367
+
2107
2368
  })]),
2108
- _: 1 /* STABLE */
2109
- }, 8 /* PROPS */, ["label"])]),
2110
- _: 1 /* STABLE */
2111
- }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']]), (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, null, {
2369
+ _: 1
2370
+ /* STABLE */
2371
+
2372
+ }, 8
2373
+ /* PROPS */
2374
+ , ["label"])]),
2375
+ _: 1
2376
+ /* STABLE */
2377
+
2378
+ }, 512
2379
+ /* NEED_PATCH */
2380
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']]), (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, null, {
2112
2381
  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, {
2113
2382
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).isFollowingPerspective
2114
2383
  }, {
@@ -2126,36 +2395,77 @@ const __default__ = {
2126
2395
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isFollowingPerspective,
2127
2396
  "onUpdate:modelValue": _cache[29] || (_cache[29] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isFollowingPerspective = $event),
2128
2397
  onChange: _cache[30] || (_cache[30] = $event => paramsChanged('isFollowingPerspective'))
2129
- }, null, 8 /* PROPS */, ["modelValue"])]),
2130
- _: 1 /* STABLE */
2398
+ }, null, 8
2399
+ /* PROPS */
2400
+ , ["modelValue"])]),
2401
+ _: 1
2402
+ /* STABLE */
2403
+
2131
2404
  })]),
2132
- _: 1 /* STABLE */
2405
+ _: 1
2406
+ /* STABLE */
2407
+
2133
2408
  })]),
2134
- _: 1 /* STABLE */
2135
- }, 8 /* PROPS */, ["label"])]),
2136
- _: 1 /* STABLE */
2137
- }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']])]),
2138
- _: 1 /* STABLE */
2139
- }, 8 /* PROPS */, ["label-width"])]),
2140
- _: 1 /* STABLE */
2141
- }, 8 /* PROPS */, ["title"])]),
2142
- _: 1 /* STABLE */
2143
- }, 8 /* PROPS */, ["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, {
2409
+ _: 1
2410
+ /* STABLE */
2411
+
2412
+ }, 8
2413
+ /* PROPS */
2414
+ , ["label"])]),
2415
+ _: 1
2416
+ /* STABLE */
2417
+
2418
+ }, 512
2419
+ /* NEED_PATCH */
2420
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']])]),
2421
+ _: 1
2422
+ /* STABLE */
2423
+
2424
+ }, 8
2425
+ /* PROPS */
2426
+ , ["label-width"])]),
2427
+ _: 1
2428
+ /* STABLE */
2429
+
2430
+ }, 8
2431
+ /* PROPS */
2432
+ , ["title"])]),
2433
+ _: 1
2434
+ /* STABLE */
2435
+
2436
+ }, 8
2437
+ /* PROPS */
2438
+ , ["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, {
2144
2439
  onClick: _cache[31] || (_cache[31] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
2145
2440
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heatmapLoad,
2146
2441
  type: "primary"
2147
2442
  }, {
2148
- 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).heatmapLoad), 1 /* TEXT */)]),
2149
- _: 1 /* STABLE */
2150
- }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
2443
+ 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).heatmapLoad), 1
2444
+ /* TEXT */
2445
+ )]),
2446
+ _: 1
2447
+ /* STABLE */
2448
+
2449
+ }, 8
2450
+ /* PROPS */
2451
+ , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
2151
2452
  onClick: _cache[32] || (_cache[32] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
2152
2453
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
2153
2454
  }, {
2154
- 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).clearResult), 1 /* TEXT */)]),
2155
- _: 1 /* STABLE */
2156
- }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
2455
+ 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).clearResult), 1
2456
+ /* TEXT */
2457
+ )]),
2458
+ _: 1
2459
+ /* STABLE */
2460
+
2461
+ }, 8
2462
+ /* PROPS */
2463
+ , ["title"])])])], 2
2464
+ /* CLASS */
2465
+ );
2157
2466
  };
2158
2467
  }
2468
+
2159
2469
  }));
2160
2470
  ;// CONCATENATED MODULE: ./src/webgl/heatmap3d/Heatmap3d.vue?vue&type=script&setup=true&lang=js
2161
2471
 
@@ -2177,11 +2487,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
2177
2487
 
2178
2488
 
2179
2489
 
2490
+
2180
2491
  Heatmap3d.install = (Vue, opts) => {
2181
2492
  init_js_default()(Vue, opts);
2182
2493
  Vue.component(Heatmap3d.name, Heatmap3d);
2183
2494
  };
2184
2495
 
2496
+
2185
2497
  }();
2186
2498
  /******/ return __webpack_exports__;
2187
2499
  /******/ })()