@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
package/heatmap3d/index.js
CHANGED
|
@@ -7,13 +7,14 @@
|
|
|
7
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
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
16
|
-
/***/ (function(module) {
|
|
15
|
+
/***/ 9089:
|
|
16
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
17
|
+
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
/*
|
|
@@ -22,51 +23,43 @@ return /******/ (function() { // webpackBootstrap
|
|
|
22
23
|
*/
|
|
23
24
|
// css base code, injected by the css-loader
|
|
24
25
|
// eslint-disable-next-line func-names
|
|
25
|
-
|
|
26
|
+
__webpack_require__(2652);
|
|
27
|
+
__webpack_require__(8224);
|
|
26
28
|
module.exports = function (cssWithMappingToString) {
|
|
27
29
|
var list = []; // return the list of modules as css string
|
|
28
30
|
|
|
29
31
|
list.toString = function toString() {
|
|
30
32
|
return this.map(function (item) {
|
|
31
33
|
var content = cssWithMappingToString(item);
|
|
32
|
-
|
|
33
34
|
if (item[2]) {
|
|
34
35
|
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
35
36
|
}
|
|
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
|
-
|
|
43
42
|
list.i = function (modules, mediaQuery, dedupe) {
|
|
44
43
|
if (typeof modules === "string") {
|
|
45
44
|
// eslint-disable-next-line no-param-reassign
|
|
46
45
|
modules = [[null, modules, ""]];
|
|
47
46
|
}
|
|
48
|
-
|
|
49
47
|
var alreadyImportedModules = {};
|
|
50
|
-
|
|
51
48
|
if (dedupe) {
|
|
52
49
|
for (var i = 0; i < this.length; i++) {
|
|
53
50
|
// eslint-disable-next-line prefer-destructuring
|
|
54
51
|
var id = this[i][0];
|
|
55
|
-
|
|
56
52
|
if (id != null) {
|
|
57
53
|
alreadyImportedModules[id] = true;
|
|
58
54
|
}
|
|
59
55
|
}
|
|
60
56
|
}
|
|
61
|
-
|
|
62
57
|
for (var _i = 0; _i < modules.length; _i++) {
|
|
63
58
|
var item = [].concat(modules[_i]);
|
|
64
|
-
|
|
65
59
|
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
66
60
|
// eslint-disable-next-line no-continue
|
|
67
61
|
continue;
|
|
68
62
|
}
|
|
69
|
-
|
|
70
63
|
if (mediaQuery) {
|
|
71
64
|
if (!item[2]) {
|
|
72
65
|
item[2] = mediaQuery;
|
|
@@ -74,17 +67,15 @@ module.exports = function (cssWithMappingToString) {
|
|
|
74
67
|
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
75
68
|
}
|
|
76
69
|
}
|
|
77
|
-
|
|
78
70
|
list.push(item);
|
|
79
71
|
}
|
|
80
72
|
};
|
|
81
|
-
|
|
82
73
|
return list;
|
|
83
74
|
};
|
|
84
75
|
|
|
85
76
|
/***/ }),
|
|
86
77
|
|
|
87
|
-
/***/
|
|
78
|
+
/***/ 1535:
|
|
88
79
|
/***/ (function(__unused_webpack_module, exports) {
|
|
89
80
|
|
|
90
81
|
var __webpack_unused_export__;
|
|
@@ -92,52 +83,44 @@ var __webpack_unused_export__;
|
|
|
92
83
|
|
|
93
84
|
__webpack_unused_export__ = ({
|
|
94
85
|
value: true
|
|
95
|
-
});
|
|
86
|
+
});
|
|
87
|
+
// runtime helper for setting properties on components
|
|
96
88
|
// in a tree-shakable way
|
|
97
|
-
|
|
98
|
-
exports.Z = (sfc, props) => {
|
|
89
|
+
exports.A = (sfc, props) => {
|
|
99
90
|
const target = sfc.__vccOpts || sfc;
|
|
100
|
-
|
|
101
91
|
for (const [key, val] of props) {
|
|
102
92
|
target[key] = val;
|
|
103
93
|
}
|
|
104
|
-
|
|
105
94
|
return target;
|
|
106
95
|
};
|
|
107
96
|
|
|
108
97
|
/***/ }),
|
|
109
98
|
|
|
110
|
-
/***/
|
|
99
|
+
/***/ 3275:
|
|
111
100
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
112
101
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
__webpack_require__
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
122
|
-
var init_js_ = __webpack_require__(7997);
|
|
123
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
124
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
125
|
-
|
|
102
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
103
|
+
/* 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__);
|
|
104
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
|
|
105
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
106
|
+
/*
|
|
107
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
108
|
+
* All rights reserved.
|
|
109
|
+
*/
|
|
126
110
|
|
|
127
111
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
Vue.component("KqMessage",
|
|
112
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
113
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
114
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
131
115
|
};
|
|
132
|
-
|
|
133
|
-
/* harmony default export */ var message = (index_full_js_namespaceObject.ElMessage);
|
|
116
|
+
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
134
117
|
|
|
135
118
|
/***/ }),
|
|
136
119
|
|
|
137
|
-
/***/
|
|
120
|
+
/***/ 7120:
|
|
138
121
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
139
122
|
|
|
140
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
123
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9089);
|
|
141
124
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
142
125
|
// Imports
|
|
143
126
|
|
|
@@ -145,15 +128,15 @@ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBP
|
|
|
145
128
|
// Module
|
|
146
129
|
___CSS_LOADER_EXPORT___.push([module.id, ".gp[data-v-b1608504]{display:flex;flex-direction:column;align-items:flex-start}.gp .palette[data-v-b1608504]{width:257px;height:16px}.gp .csh[data-v-b1608504]{width:257px;height:17.5px;position:relative;cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAATUlEQVQ4T2NkwAH+////HybFyMjIiE0ZVkGQQpBmkB6QGaOaEUHHiByq6CEKCzBcMQLWjCMmcOkBi4NjgSKb8SWS0XjGDB28GYNQrgIAPsNjBG37r7sAAAAASUVORK5CYII=),crosshair !important}", ""]);
|
|
147
130
|
// Exports
|
|
148
|
-
/* harmony default export */ __webpack_exports__
|
|
131
|
+
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
|
|
149
132
|
|
|
150
133
|
|
|
151
134
|
/***/ }),
|
|
152
135
|
|
|
153
|
-
/***/
|
|
136
|
+
/***/ 9374:
|
|
154
137
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
155
138
|
|
|
156
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
139
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9089);
|
|
157
140
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
158
141
|
// Imports
|
|
159
142
|
|
|
@@ -161,12 +144,12 @@ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBP
|
|
|
161
144
|
// Module
|
|
162
145
|
___CSS_LOADER_EXPORT___.push([module.id, ".cs[data-v-c771bfde]{position:absolute;width:10px;cursor:pointer}.cs[data-v-c771bfde] .kq-color-picker{display:block}.cs[data-v-c771bfde] .kq-color-picker .kq-color-picker__trigger{display:flex;height:8px;width:10px;border:none;border-radius:0}.cs[data-v-c771bfde] .kq-color-picker .kq-color-picker__trigger .kq-color-picker__color{border:none;height:8px;width:10px}.cs[data-v-c771bfde] .kq-color-picker .kq-color-picker__trigger .kq-color-picker__color .kq-color-picker__color-inner{height:8px;width:10px}.cs[data-v-c771bfde] .kq-color-picker .kq-color-picker__trigger .kq-color-picker__color .kq-color-picker__color-inner .kq-color-picker__icon{display:none}.cs[data-v-c771bfde] .kq-color-picker .kq-color-picker__mask{display:none}.cs[data-v-c771bfde] .kq-color-picker:hover:not(.is-disabled) .kq-color-picker__trigger{border:none}.cs[data-v-c771bfde] .kq-color-picker.is-disabled .kq-color-picker__trigger{cursor:pointer}.cs .delete[data-v-c771bfde]{display:none;font-size:12px;line-height:normal;text-align:center;margin-left:-16px}.cs:hover .delete[data-v-c771bfde]{display:block}.cs .arrow[data-v-c771bfde]{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-bottom:4px solid #d9d9d9}.cs .content[data-v-c771bfde]{height:8px;width:10px;border:1px solid #d9d9d9;box-sizing:border-box}", ""]);
|
|
163
146
|
// Exports
|
|
164
|
-
/* harmony default export */ __webpack_exports__
|
|
147
|
+
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
|
|
165
148
|
|
|
166
149
|
|
|
167
150
|
/***/ }),
|
|
168
151
|
|
|
169
|
-
/***/
|
|
152
|
+
/***/ 5072:
|
|
170
153
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
171
154
|
|
|
172
155
|
|
|
@@ -441,83 +424,171 @@ module.exports = function (list, options) {
|
|
|
441
424
|
|
|
442
425
|
/***/ }),
|
|
443
426
|
|
|
444
|
-
/***/
|
|
427
|
+
/***/ 9371:
|
|
445
428
|
/***/ (function(module) {
|
|
446
429
|
|
|
447
430
|
module.exports = require("@element-plus/icons-vue");
|
|
448
431
|
|
|
449
432
|
/***/ }),
|
|
450
433
|
|
|
451
|
-
/***/
|
|
434
|
+
/***/ 5698:
|
|
452
435
|
/***/ (function(module) {
|
|
453
436
|
|
|
454
437
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
455
438
|
|
|
456
439
|
/***/ }),
|
|
457
440
|
|
|
458
|
-
/***/
|
|
441
|
+
/***/ 2652:
|
|
442
|
+
/***/ (function(module) {
|
|
443
|
+
|
|
444
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
445
|
+
|
|
446
|
+
/***/ }),
|
|
447
|
+
|
|
448
|
+
/***/ 3658:
|
|
449
|
+
/***/ (function(module) {
|
|
450
|
+
|
|
451
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
452
|
+
|
|
453
|
+
/***/ }),
|
|
454
|
+
|
|
455
|
+
/***/ 1602:
|
|
456
|
+
/***/ (function(module) {
|
|
457
|
+
|
|
458
|
+
module.exports = require("core-js/modules/esnext.iterator.filter.js");
|
|
459
|
+
|
|
460
|
+
/***/ }),
|
|
461
|
+
|
|
462
|
+
/***/ 4669:
|
|
463
|
+
/***/ (function(module) {
|
|
464
|
+
|
|
465
|
+
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
466
|
+
|
|
467
|
+
/***/ }),
|
|
468
|
+
|
|
469
|
+
/***/ 8224:
|
|
470
|
+
/***/ (function(module) {
|
|
471
|
+
|
|
472
|
+
module.exports = require("core-js/modules/esnext.iterator.map.js");
|
|
473
|
+
|
|
474
|
+
/***/ }),
|
|
475
|
+
|
|
476
|
+
/***/ 411:
|
|
477
|
+
/***/ (function(module) {
|
|
478
|
+
|
|
479
|
+
module.exports = require("core-js/modules/web.url-search-params.delete.js");
|
|
480
|
+
|
|
481
|
+
/***/ }),
|
|
482
|
+
|
|
483
|
+
/***/ 7168:
|
|
484
|
+
/***/ (function(module) {
|
|
485
|
+
|
|
486
|
+
module.exports = require("core-js/modules/web.url-search-params.has.js");
|
|
487
|
+
|
|
488
|
+
/***/ }),
|
|
489
|
+
|
|
490
|
+
/***/ 6217:
|
|
491
|
+
/***/ (function(module) {
|
|
492
|
+
|
|
493
|
+
module.exports = require("core-js/modules/web.url-search-params.size.js");
|
|
494
|
+
|
|
495
|
+
/***/ }),
|
|
496
|
+
|
|
497
|
+
/***/ 6363:
|
|
459
498
|
/***/ (function(module) {
|
|
460
499
|
|
|
461
|
-
module.exports = require("
|
|
500
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
462
501
|
|
|
463
502
|
/***/ }),
|
|
464
503
|
|
|
465
|
-
/***/
|
|
504
|
+
/***/ 3579:
|
|
466
505
|
/***/ (function(module) {
|
|
467
506
|
|
|
468
507
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
469
508
|
|
|
470
509
|
/***/ }),
|
|
471
510
|
|
|
472
|
-
/***/
|
|
511
|
+
/***/ 64:
|
|
473
512
|
/***/ (function(module) {
|
|
474
513
|
|
|
475
|
-
module.exports =
|
|
514
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
476
515
|
|
|
477
516
|
/***/ }),
|
|
478
517
|
|
|
479
|
-
/***/
|
|
518
|
+
/***/ 2975:
|
|
480
519
|
/***/ (function(module) {
|
|
481
520
|
|
|
482
|
-
module.exports =
|
|
521
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
483
522
|
|
|
484
523
|
/***/ }),
|
|
485
524
|
|
|
486
|
-
/***/
|
|
525
|
+
/***/ 455:
|
|
487
526
|
/***/ (function(module) {
|
|
488
527
|
|
|
489
|
-
module.exports =
|
|
528
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
490
529
|
|
|
491
530
|
/***/ }),
|
|
492
531
|
|
|
493
|
-
/***/
|
|
532
|
+
/***/ 154:
|
|
494
533
|
/***/ (function(module) {
|
|
495
534
|
|
|
496
|
-
module.exports =
|
|
535
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
497
536
|
|
|
498
537
|
/***/ }),
|
|
499
538
|
|
|
500
|
-
/***/
|
|
539
|
+
/***/ 6913:
|
|
501
540
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
502
541
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
function
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
542
|
+
|
|
543
|
+
// EXPORTS
|
|
544
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
545
|
+
A: 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.");
|
|
516
568
|
}
|
|
569
|
+
return ("string" === r ? String : Number)(t);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
function toPropertyKey(t) {
|
|
576
|
+
var i = toPrimitive(t, "string");
|
|
577
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
517
581
|
|
|
518
|
-
|
|
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;
|
|
519
589
|
}
|
|
520
590
|
|
|
591
|
+
|
|
521
592
|
/***/ })
|
|
522
593
|
|
|
523
594
|
/******/ });
|
|
@@ -594,56 +665,63 @@ function _defineProperty(obj, key, value) {
|
|
|
594
665
|
/******/
|
|
595
666
|
/************************************************************************/
|
|
596
667
|
var __webpack_exports__ = {};
|
|
597
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
598
|
-
!function() {
|
|
599
668
|
// ESM COMPAT FLAG
|
|
600
669
|
__webpack_require__.r(__webpack_exports__);
|
|
601
670
|
|
|
602
671
|
// EXPORTS
|
|
603
672
|
__webpack_require__.d(__webpack_exports__, {
|
|
604
|
-
|
|
673
|
+
Heatmap3dViewModel: function() { return /* reexport */ Heatmap3dViewModel; },
|
|
605
674
|
"default": function() { return /* reexport */ Heatmap3d; }
|
|
606
675
|
});
|
|
607
676
|
|
|
608
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.
|
|
609
|
-
var
|
|
677
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
678
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
679
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
680
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
681
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.filter.js"
|
|
682
|
+
var esnext_iterator_filter_js_ = __webpack_require__(1602);
|
|
683
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
684
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(4669);
|
|
685
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.delete.js"
|
|
686
|
+
var web_url_search_params_delete_js_ = __webpack_require__(411);
|
|
687
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.has.js"
|
|
688
|
+
var web_url_search_params_has_js_ = __webpack_require__(7168);
|
|
689
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.size.js"
|
|
690
|
+
var web_url_search_params_size_js_ = __webpack_require__(6217);
|
|
610
691
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
611
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
692
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
612
693
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
613
|
-
var gis_utils_ = __webpack_require__(
|
|
694
|
+
var gis_utils_ = __webpack_require__(64);
|
|
614
695
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
615
|
-
var util_ = __webpack_require__(
|
|
616
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
617
|
-
var defineProperty = __webpack_require__(
|
|
618
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
619
|
-
var message = __webpack_require__(
|
|
696
|
+
var util_ = __webpack_require__(2975);
|
|
697
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
698
|
+
var defineProperty = __webpack_require__(6913);
|
|
699
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
700
|
+
var message = __webpack_require__(3275);
|
|
620
701
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/Heatmap3dViewModel.js
|
|
621
702
|
|
|
622
|
-
|
|
703
|
+
/*
|
|
704
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
705
|
+
* All rights reserved.
|
|
706
|
+
*/
|
|
623
707
|
//热力图
|
|
624
708
|
|
|
709
|
+
|
|
625
710
|
class Heatmap3dViewModel {
|
|
626
711
|
constructor(scenceView, options) {
|
|
627
|
-
(0,defineProperty/* default */.
|
|
628
|
-
|
|
629
|
-
(0,defineProperty/* default */.
|
|
630
|
-
|
|
631
|
-
(0,defineProperty/* default */.
|
|
632
|
-
|
|
633
|
-
(0,defineProperty/* default */.
|
|
634
|
-
|
|
635
|
-
(0,defineProperty/* default */.
|
|
636
|
-
|
|
637
|
-
(0,defineProperty/* default */.Z)(this, "_heatmap2d", null);
|
|
638
|
-
|
|
639
|
-
(0,defineProperty/* default */.Z)(this, "_heatmap2dCountLayer", null);
|
|
640
|
-
|
|
641
|
-
(0,defineProperty/* default */.Z)(this, "heatmapData", null);
|
|
642
|
-
|
|
712
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
713
|
+
(0,defineProperty/* default */.A)(this, "_options", null);
|
|
714
|
+
(0,defineProperty/* default */.A)(this, "_heatmap", null);
|
|
715
|
+
(0,defineProperty/* default */.A)(this, "_mouseLabel", null);
|
|
716
|
+
(0,defineProperty/* default */.A)(this, "language", null);
|
|
717
|
+
(0,defineProperty/* default */.A)(this, "_heatmap2d", null);
|
|
718
|
+
(0,defineProperty/* default */.A)(this, "_heatmap2dCountLayer", null);
|
|
719
|
+
(0,defineProperty/* default */.A)(this, "heatmapData", null);
|
|
720
|
+
(0,defineProperty/* default */.A)(this, "_heatmapHandler", null);
|
|
643
721
|
this._viewer = scenceView._viewer;
|
|
644
722
|
this._options = options;
|
|
645
|
-
this._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
646
|
-
|
|
723
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
724
|
+
// 地图标注对象
|
|
647
725
|
this._mouseLabel = new Cesium.Kq3dHtmlTag(this._viewer, {
|
|
648
726
|
position: new Cesium.Cartesian3(0, 0, 0),
|
|
649
727
|
html: `<div>
|
|
@@ -659,20 +737,20 @@ class Heatmap3dViewModel {
|
|
|
659
737
|
anchor: [0, -138],
|
|
660
738
|
noEvent: true,
|
|
661
739
|
visible: false
|
|
662
|
-
});
|
|
663
|
-
|
|
740
|
+
});
|
|
741
|
+
// 地图拾取事件,交互展示
|
|
664
742
|
let that = this;
|
|
665
|
-
|
|
666
|
-
|
|
743
|
+
this._heatmapHandler = new window.Cesium.ScreenSpaceEventHandler(this._viewer.canvas);
|
|
744
|
+
this._heatmapHandler.setInputAction(function (movement) {
|
|
667
745
|
var worldPosition = that._viewer.scene.pickPosition(movement.position);
|
|
668
|
-
|
|
669
746
|
if (worldPosition) {
|
|
747
|
+
if (!that._heatmap && !that._heatmap2d) return;
|
|
748
|
+
if (!that._options.isShow) return;
|
|
670
749
|
that._mouseLabel.position = worldPosition;
|
|
671
750
|
var lonlat = Cesium.Cartographic.fromCartesian(worldPosition);
|
|
672
751
|
var lon = Cesium.Math.toDegrees(lonlat.longitude),
|
|
673
|
-
|
|
752
|
+
lat = Cesium.Math.toDegrees(lonlat.latitude);
|
|
674
753
|
var val = 0;
|
|
675
|
-
|
|
676
754
|
if (that._options.heatmapType == "3D") {
|
|
677
755
|
val = String(that._heatmap.getValueAt({
|
|
678
756
|
lng: lon,
|
|
@@ -684,30 +762,14 @@ class Heatmap3dViewModel {
|
|
|
684
762
|
lat: lat
|
|
685
763
|
}));
|
|
686
764
|
}
|
|
687
|
-
|
|
688
|
-
document.getElementById('mouse_lonlat').innerHTML = that.sanitizeInput(`<p>${that.language['longitude'] || "经度"}:${lon.toFixed(5)}</p><p>${that.language['latitude'] || "纬度"}:${lat.toFixed(5)}</p><p>${that.language['heatValue'] || "热力值"}:${val}</p>`);
|
|
689
|
-
|
|
765
|
+
(0,util_.setInnerHtml)(document.getElementById('mouse_lonlat'), `<p>${that.language['longitude'] || "经度"}:${lon.toFixed(5)}</p><p>${that.language['latitude'] || "纬度"}:${lat.toFixed(5)}</p><p>${that.language['heatValue'] || "热力值"}:${val}</p>`);
|
|
690
766
|
that._mouseLabel.setVisible(true);
|
|
691
767
|
} else {
|
|
692
768
|
that._mouseLabel.setVisible(false);
|
|
693
769
|
}
|
|
694
770
|
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
695
771
|
}
|
|
696
|
-
|
|
697
|
-
sanitizeInput(inputHTML) {
|
|
698
|
-
const allowedTags = ['p', 'strong', 'em'];
|
|
699
|
-
const tempDiv = document.createElement('div');
|
|
700
|
-
tempDiv.innerHTML = inputHTML;
|
|
701
|
-
const childNodes = Array.from(tempDiv.childNodes);
|
|
702
|
-
childNodes.forEach(node => {
|
|
703
|
-
if (!allowedTags.includes(node.tagName.toLowerCase())) {
|
|
704
|
-
tempDiv.removeChild(node);
|
|
705
|
-
}
|
|
706
|
-
});
|
|
707
|
-
return tempDiv.innerHTML;
|
|
708
|
-
} // 创建三维热力图对象
|
|
709
|
-
|
|
710
|
-
|
|
772
|
+
// 创建三维热力图对象
|
|
711
773
|
initHeatmap3d(heatmapData) {
|
|
712
774
|
this._heatmap = new Cesium.Kq3dHeatmap3D({
|
|
713
775
|
xField: 'lng',
|
|
@@ -720,16 +782,13 @@ class Heatmap3dViewModel {
|
|
|
720
782
|
alpha: this._options.transparents,
|
|
721
783
|
dynamic: this._options.isFollowingPerspective,
|
|
722
784
|
clampToGround: this._options.isGround,
|
|
723
|
-
show: this._options.heatmapType == "3D" ?
|
|
785
|
+
show: this._options.heatmapType == "3D" ? this._options.isShow : false
|
|
724
786
|
});
|
|
725
787
|
if (this._options.gradient) this._heatmap.gradient = this._options.gradient;
|
|
726
|
-
|
|
727
788
|
this._viewer.scene.primitives.add(this._heatmap);
|
|
728
|
-
|
|
729
789
|
this._heatmap && this._heatmap.setData(heatmapData);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
790
|
+
}
|
|
791
|
+
// 创建二维热力图对象
|
|
733
792
|
initHeatmap2d(heatmapData) {
|
|
734
793
|
this._heatmap2d = new Cesium.Kq3dHeatmap2D({
|
|
735
794
|
xField: 'lng',
|
|
@@ -741,9 +800,7 @@ class Heatmap3dViewModel {
|
|
|
741
800
|
blur: 1.0,
|
|
742
801
|
gradient: this._options.gradient
|
|
743
802
|
});
|
|
744
|
-
|
|
745
803
|
this._heatmap2d.setData(heatmapData);
|
|
746
|
-
|
|
747
804
|
let extent = this._heatmap2d.extent;
|
|
748
805
|
let pv = new Cesium.SingleTileImageryProvider({
|
|
749
806
|
url: this._heatmap2d.toDataURL(),
|
|
@@ -751,13 +808,11 @@ class Heatmap3dViewModel {
|
|
|
751
808
|
});
|
|
752
809
|
this._heatmap2dCountLayer = new Cesium.ImageryLayer(pv, {
|
|
753
810
|
alpha: this._options.transparents,
|
|
754
|
-
show: this._options.heatmapType == "2D" ?
|
|
811
|
+
show: this._options.heatmapType == "2D" ? this._options.isShow : false
|
|
755
812
|
});
|
|
756
|
-
|
|
757
813
|
this._viewer.imageryLayers.add(this._heatmap2dCountLayer);
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
|
|
814
|
+
}
|
|
815
|
+
// 切换二维数据
|
|
761
816
|
changeHeatmap2d() {
|
|
762
817
|
if (this._options.gradient) this._heatmap2d.gradient = this._options.gradient;
|
|
763
818
|
if (this._options.radius) this._heatmap2d.radius = this._options.radius;
|
|
@@ -771,27 +826,22 @@ class Heatmap3dViewModel {
|
|
|
771
826
|
alpha: this._options.transparents,
|
|
772
827
|
show: this._options.heatmapType == "2D" ? true : false
|
|
773
828
|
});
|
|
774
|
-
|
|
775
829
|
this._viewer.imageryLayers.add(this._heatmap2dCountLayer);
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
|
|
830
|
+
}
|
|
831
|
+
// 设置颜色渲染
|
|
779
832
|
setColorArray(val) {
|
|
780
833
|
this._options.gradient = val;
|
|
781
834
|
if (this._heatmap) this._heatmap.gradient = val;
|
|
782
835
|
if (this._heatmap2d) this.changeHeatmap2d();
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
|
|
836
|
+
}
|
|
837
|
+
// 参数改变
|
|
786
838
|
paramsChanged(key, val) {
|
|
787
839
|
this._options[key] = val;
|
|
788
840
|
if (!this._heatmap) return;
|
|
789
841
|
if (!this._heatmap2dCountLayer) return;
|
|
790
|
-
|
|
791
842
|
switch (key) {
|
|
792
843
|
case "heatmapType":
|
|
793
844
|
this._mouseLabel.setVisible(false);
|
|
794
|
-
|
|
795
845
|
if (this._options.heatmapType == "3D") {
|
|
796
846
|
this._viewer.scene.highDynamicRange = false;
|
|
797
847
|
this._viewer.scene.globe.showGroundAtmosphere = true;
|
|
@@ -803,178 +853,139 @@ class Heatmap3dViewModel {
|
|
|
803
853
|
this._heatmap.show = false;
|
|
804
854
|
this._heatmap2dCountLayer.show = this._options.isShow;
|
|
805
855
|
}
|
|
806
|
-
|
|
807
856
|
break;
|
|
808
|
-
|
|
809
857
|
case "radius":
|
|
810
858
|
this._mouseLabel.setVisible(false);
|
|
811
|
-
|
|
812
859
|
this._heatmap[key] = Number(val);
|
|
813
|
-
|
|
814
860
|
if (this._heatmap.dynamic) {
|
|
815
861
|
this._heatmap.dynamic = false;
|
|
816
862
|
}
|
|
817
|
-
|
|
818
863
|
this.changeHeatmap2d();
|
|
819
864
|
break;
|
|
820
|
-
|
|
821
865
|
case "height":
|
|
822
866
|
this._mouseLabel.setVisible(false);
|
|
823
|
-
|
|
824
867
|
this._heatmap[key] = Number(val);
|
|
825
|
-
|
|
826
868
|
if (this._heatmap.dynamic) {
|
|
827
869
|
this._heatmap.dynamic = false;
|
|
828
870
|
}
|
|
829
|
-
|
|
830
871
|
break;
|
|
831
|
-
|
|
832
872
|
case "transparents":
|
|
833
873
|
this._heatmap.alpha = Number(val);
|
|
834
874
|
this._heatmap2dCountLayer.alpha = Number(val);
|
|
835
875
|
break;
|
|
836
|
-
|
|
837
876
|
case "heightRatio":
|
|
838
877
|
this._mouseLabel.setVisible(false);
|
|
839
|
-
|
|
840
878
|
this._heatmap.heightRatio = Number(val);
|
|
841
879
|
break;
|
|
842
|
-
|
|
843
880
|
case "isShow":
|
|
844
881
|
if (this._options.heatmapType == "3D") {
|
|
845
882
|
this._heatmap.show = val;
|
|
846
883
|
} else if (this._options.heatmapType == "2D") {
|
|
847
884
|
this._heatmap2dCountLayer.show = val;
|
|
848
885
|
}
|
|
849
|
-
|
|
850
886
|
this._mouseLabel.setVisible(false);
|
|
851
|
-
|
|
852
887
|
break;
|
|
853
|
-
|
|
854
888
|
case "isFollowingPerspective":
|
|
855
889
|
this._heatmap.dynamic = val;
|
|
856
|
-
|
|
857
890
|
this._mouseLabel.setVisible(false);
|
|
858
|
-
|
|
859
891
|
break;
|
|
860
|
-
|
|
861
892
|
case "isGround":
|
|
862
893
|
this._heatmap.clampToGround = val;
|
|
863
|
-
|
|
864
894
|
this._mouseLabel.setVisible(false);
|
|
865
|
-
|
|
866
895
|
break;
|
|
867
|
-
|
|
868
896
|
case "valueField":
|
|
869
897
|
this.clear();
|
|
870
|
-
|
|
871
898
|
if (this.heatmapData) {
|
|
872
899
|
this.initHeatmap3d(this.heatmapData);
|
|
873
900
|
this.initHeatmap2d(this.heatmapData);
|
|
874
901
|
}
|
|
875
|
-
|
|
876
902
|
break;
|
|
877
|
-
|
|
878
903
|
default:
|
|
879
904
|
break;
|
|
880
905
|
}
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
|
|
906
|
+
}
|
|
907
|
+
// 加载
|
|
884
908
|
start() {
|
|
885
909
|
this.clear();
|
|
886
|
-
|
|
887
910
|
if (this.heatmapData) {
|
|
888
911
|
this.initHeatmap3d(this.heatmapData);
|
|
889
912
|
this.initHeatmap2d(this.heatmapData);
|
|
890
913
|
} else {
|
|
891
|
-
(0,message/* default */.
|
|
914
|
+
(0,message/* default */.A)({
|
|
892
915
|
message: this.language["fileTypeMessage"] + "!",
|
|
893
916
|
type: "warning",
|
|
894
917
|
duration: 2000
|
|
895
918
|
});
|
|
896
919
|
return;
|
|
897
920
|
}
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
|
|
921
|
+
}
|
|
922
|
+
//清除全部结果
|
|
901
923
|
clear() {
|
|
902
924
|
this._mouseLabel.setVisible(false);
|
|
903
|
-
|
|
904
925
|
if (this._heatmap) {
|
|
905
926
|
this._viewer.scene.primitives.remove(this._heatmap);
|
|
906
|
-
|
|
907
927
|
this._heatmap = null;
|
|
908
928
|
}
|
|
909
|
-
|
|
910
929
|
if (this._heatmap2d) this._heatmap2d = null;
|
|
911
930
|
if (this._heatmap2dCountLayer) this._viewer.imageryLayers.remove(this._heatmap2dCountLayer, true);
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
|
|
931
|
+
}
|
|
932
|
+
//销毁
|
|
915
933
|
destroy() {
|
|
916
934
|
this.clear();
|
|
917
|
-
|
|
918
935
|
this._mouseLabel.destroy();
|
|
936
|
+
this._heatmapHandler && this._heatmapHandler.destroy();
|
|
919
937
|
}
|
|
920
|
-
|
|
921
938
|
}
|
|
922
939
|
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
923
|
-
var icons_vue_ = __webpack_require__(
|
|
940
|
+
var icons_vue_ = __webpack_require__(9371);
|
|
924
941
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
925
|
-
var client_icons_vue_ = __webpack_require__(
|
|
942
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
926
943
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
927
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
944
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
928
945
|
;// 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
|
|
929
946
|
|
|
930
947
|
|
|
931
|
-
const
|
|
932
|
-
|
|
933
|
-
const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
934
|
-
class: "arrow"
|
|
935
|
-
}, null, -1
|
|
936
|
-
/* HOISTED */
|
|
937
|
-
));
|
|
938
|
-
|
|
939
|
-
|
|
948
|
+
const rangeMin = -5;
|
|
940
949
|
/* harmony default export */ var CustomColorPickerSlidervue_type_script_setup_true_lang_js = ({
|
|
941
950
|
__name: 'CustomColorPickerSlider',
|
|
942
951
|
props: ["width", "color", "percentage", "id"],
|
|
943
952
|
emits: ["updatePercentage", "updateColor", "deleteColorSlider"],
|
|
944
|
-
|
|
945
953
|
setup(__props, {
|
|
946
|
-
emit
|
|
954
|
+
emit: __emit
|
|
947
955
|
}) {
|
|
948
|
-
const
|
|
956
|
+
const emit = __emit;
|
|
957
|
+
const props = __props;
|
|
949
958
|
|
|
959
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
950
960
|
const initId = props.id;
|
|
951
961
|
const initColor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.color);
|
|
952
|
-
const rangeMin = -5;
|
|
953
962
|
const rangeMax = props.width - 5;
|
|
954
963
|
const position = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.percentage / 100 * props.width + rangeMin);
|
|
955
964
|
const disabled = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 为了防止在mouseup事件结束后,弹出颜色框
|
|
956
965
|
|
|
957
966
|
let offsetX = 0;
|
|
958
967
|
let isDragging = false; // 是否拖动
|
|
959
|
-
|
|
960
968
|
let mouseDownX = 0; // 通过拖动的距离,判断是拖动还是点击
|
|
961
969
|
|
|
962
970
|
function handleMouseDown(event) {
|
|
963
971
|
isDragging = true;
|
|
964
972
|
offsetX = event.clientX - position.value;
|
|
965
|
-
mouseDownX = event.clientX;
|
|
973
|
+
mouseDownX = event.clientX;
|
|
966
974
|
|
|
975
|
+
// 监听mousemove、mouseup事件 注意是在document上监听
|
|
967
976
|
document.addEventListener("mousemove", handleMouseMove);
|
|
968
|
-
document.addEventListener("mouseup", handleMouseUp);
|
|
977
|
+
document.addEventListener("mouseup", handleMouseUp);
|
|
969
978
|
|
|
979
|
+
// 阻止了默认行为,防止出现not-allowed的光标
|
|
970
980
|
event.preventDefault();
|
|
971
|
-
}
|
|
972
|
-
|
|
981
|
+
}
|
|
973
982
|
|
|
983
|
+
// 处理MouseMove
|
|
974
984
|
function handleMouseMove(event) {
|
|
975
985
|
if (isDragging) {
|
|
976
|
-
position.value = Math.min(Math.max(event.clientX - offsetX, rangeMin), rangeMax);
|
|
986
|
+
position.value = Math.min(Math.max(event.clientX - offsetX, rangeMin), rangeMax);
|
|
977
987
|
|
|
988
|
+
// 拖动的过程中,不断改变percentage
|
|
978
989
|
const percentage = (position.value + Math.abs(rangeMin)) / (rangeMax - rangeMin) * 100;
|
|
979
990
|
emit("updatePercentage", {
|
|
980
991
|
percentage: percentage,
|
|
@@ -982,16 +993,16 @@ const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root
|
|
|
982
993
|
});
|
|
983
994
|
}
|
|
984
995
|
}
|
|
985
|
-
|
|
986
996
|
function handleMouseUp(event) {
|
|
987
997
|
if (isDragging) {
|
|
988
|
-
isDragging = false;
|
|
998
|
+
isDragging = false;
|
|
989
999
|
|
|
1000
|
+
// 移除mousemove、mouseup的事件监听
|
|
990
1001
|
document.removeEventListener("mousemove", handleMouseMove);
|
|
991
1002
|
document.removeEventListener("mouseup", handleMouseUp);
|
|
992
|
-
}
|
|
993
|
-
|
|
1003
|
+
}
|
|
994
1004
|
|
|
1005
|
+
// 判断是否拖动模式
|
|
995
1006
|
if (Math.abs(event.clientX - mouseDownX) > 2) {
|
|
996
1007
|
// 是拖动模式 禁止colorPicker组件弹出
|
|
997
1008
|
disabled.value = true;
|
|
@@ -1000,7 +1011,6 @@ const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root
|
|
|
1000
1011
|
}, 100);
|
|
1001
1012
|
}
|
|
1002
1013
|
}
|
|
1003
|
-
|
|
1004
1014
|
function updateColor(color) {
|
|
1005
1015
|
initColor.value = color;
|
|
1006
1016
|
emit("updateColor", {
|
|
@@ -1008,21 +1018,17 @@ const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root
|
|
|
1008
1018
|
id: initId
|
|
1009
1019
|
});
|
|
1010
1020
|
}
|
|
1011
|
-
|
|
1012
1021
|
function deleteColorSlider() {
|
|
1013
1022
|
emit("deleteColorSlider", {
|
|
1014
1023
|
id: initId
|
|
1015
1024
|
});
|
|
1016
1025
|
}
|
|
1017
|
-
|
|
1018
1026
|
function handleClick(event) {
|
|
1019
1027
|
// 阻止滑块上的点击事件冒泡
|
|
1020
1028
|
event.stopPropagation();
|
|
1021
1029
|
}
|
|
1022
|
-
|
|
1023
1030
|
return (_ctx, _cache) => {
|
|
1024
1031
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
1025
|
-
|
|
1026
1032
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
|
|
1027
1033
|
class: "cs",
|
|
1028
1034
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
@@ -1030,30 +1036,27 @@ const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root
|
|
|
1030
1036
|
}),
|
|
1031
1037
|
onMousedown: handleMouseDown,
|
|
1032
1038
|
onClick: handleClick
|
|
1033
|
-
}, [
|
|
1039
|
+
}, [_cache[1] || (_cache[1] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1040
|
+
class: "arrow"
|
|
1041
|
+
}, null, -1 /* HOISTED */)), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
1034
1042
|
modelValue: initColor.value,
|
|
1035
1043
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => initColor.value = $event),
|
|
1036
1044
|
onActiveChange: updateColor,
|
|
1037
1045
|
disabled: disabled.value
|
|
1038
|
-
}, null, 8
|
|
1039
|
-
/* PROPS */
|
|
1040
|
-
, ["modelValue", "disabled"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1046
|
+
}, null, 8 /* PROPS */, ["modelValue", "disabled"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1041
1047
|
class: "delete",
|
|
1042
1048
|
onClick: deleteColorSlider
|
|
1043
|
-
}, "x")], 36
|
|
1044
|
-
/* STYLE, HYDRATE_EVENTS */
|
|
1045
|
-
);
|
|
1049
|
+
}, "x")], 36 /* STYLE, NEED_HYDRATION */);
|
|
1046
1050
|
};
|
|
1047
1051
|
}
|
|
1048
|
-
|
|
1049
1052
|
});
|
|
1050
1053
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=script&setup=true&lang=js
|
|
1051
1054
|
|
|
1052
1055
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
1053
|
-
var injectStylesIntoStyleTag = __webpack_require__(
|
|
1056
|
+
var injectStylesIntoStyleTag = __webpack_require__(5072);
|
|
1054
1057
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
1055
1058
|
// 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
|
|
1056
|
-
var CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss = __webpack_require__(
|
|
1059
|
+
var CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss = __webpack_require__(9374);
|
|
1057
1060
|
;// 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
|
|
1058
1061
|
|
|
1059
1062
|
|
|
@@ -1063,15 +1066,15 @@ var options = {};
|
|
|
1063
1066
|
options.insert = "head";
|
|
1064
1067
|
options.singleton = false;
|
|
1065
1068
|
|
|
1066
|
-
var update = injectStylesIntoStyleTag_default()(CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss/* default */.
|
|
1069
|
+
var update = injectStylesIntoStyleTag_default()(CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss/* default */.A, options);
|
|
1067
1070
|
|
|
1068
1071
|
|
|
1069
1072
|
|
|
1070
|
-
/* harmony default export */ var heatmap3d_CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss = (CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss/* default
|
|
1073
|
+
/* harmony default export */ var heatmap3d_CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss = (CustomColorPickerSlidervue_type_style_index_0_id_c771bfde_scoped_true_lang_scss/* default */.A.locals || {});
|
|
1071
1074
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPickerSlider.vue?vue&type=style&index=0&id=c771bfde&scoped=true&lang=scss
|
|
1072
1075
|
|
|
1073
1076
|
// EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
|
|
1074
|
-
var exportHelper = __webpack_require__(
|
|
1077
|
+
var exportHelper = __webpack_require__(1535);
|
|
1075
1078
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPickerSlider.vue
|
|
1076
1079
|
|
|
1077
1080
|
|
|
@@ -1079,126 +1082,117 @@ var exportHelper = __webpack_require__(6021);
|
|
|
1079
1082
|
;
|
|
1080
1083
|
|
|
1081
1084
|
|
|
1082
|
-
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
1085
|
+
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.A)(CustomColorPickerSlidervue_type_script_setup_true_lang_js, [['__scopeId',"data-v-c771bfde"]])
|
|
1083
1086
|
|
|
1084
1087
|
/* harmony default export */ var CustomColorPickerSlider = (__exports__);
|
|
1085
1088
|
;// 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
|
|
1086
1089
|
|
|
1087
1090
|
|
|
1088
|
-
const
|
|
1089
|
-
|
|
1090
|
-
const CustomColorPickervue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
1091
|
+
const _hoisted_1 = {
|
|
1091
1092
|
class: "gp"
|
|
1092
1093
|
};
|
|
1093
1094
|
|
|
1094
1095
|
|
|
1095
1096
|
|
|
1097
|
+
const width = 257;
|
|
1096
1098
|
/* harmony default export */ var CustomColorPickervue_type_script_setup_true_lang_js = ({
|
|
1097
1099
|
__name: 'CustomColorPicker',
|
|
1098
1100
|
props: ["data"],
|
|
1099
1101
|
emits: ["color-changed"],
|
|
1100
|
-
|
|
1101
1102
|
setup(__props, {
|
|
1102
|
-
emit
|
|
1103
|
+
emit: __emit
|
|
1103
1104
|
}) {
|
|
1104
|
-
const
|
|
1105
|
+
const emit = __emit;
|
|
1106
|
+
const props = __props;
|
|
1105
1107
|
|
|
1106
|
-
|
|
1108
|
+
// 宽度
|
|
1107
1109
|
const items = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.data);
|
|
1108
|
-
let backgroundImage = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(updateBackgroundImage());
|
|
1110
|
+
let backgroundImage = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(updateBackgroundImage());
|
|
1109
1111
|
|
|
1112
|
+
// 更新色带条
|
|
1110
1113
|
function updateBackgroundImage() {
|
|
1111
1114
|
let style = [];
|
|
1112
|
-
|
|
1113
1115
|
for (let i = 0; i < items.value.length; i++) {
|
|
1114
1116
|
const item = items.value[i];
|
|
1115
1117
|
style.push(`${item.color} ${item.percentage}%`);
|
|
1116
1118
|
}
|
|
1117
|
-
|
|
1118
1119
|
return `background-image: linear-gradient(90deg, ${style.toString()})`;
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1120
|
+
}
|
|
1121
1121
|
|
|
1122
|
+
// 更新颜色百分比
|
|
1122
1123
|
function updatePercentage(args) {
|
|
1123
1124
|
const {
|
|
1124
1125
|
percentage,
|
|
1125
1126
|
id
|
|
1126
1127
|
} = args;
|
|
1127
|
-
|
|
1128
1128
|
for (let i = 0; i < items.value.length; i++) {
|
|
1129
1129
|
if (items.value[i].id == id) {
|
|
1130
1130
|
items.value[i].percentage = percentage;
|
|
1131
1131
|
break;
|
|
1132
1132
|
}
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1133
|
+
}
|
|
1135
1134
|
|
|
1135
|
+
// 重新排序数组
|
|
1136
1136
|
items.value.sort((a, b) => a.percentage - b.percentage);
|
|
1137
1137
|
backgroundImage.value = updateBackgroundImage();
|
|
1138
1138
|
emit("color-changed", items.value);
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1139
|
+
}
|
|
1141
1140
|
|
|
1141
|
+
// 更新颜色
|
|
1142
1142
|
function updateColor(args) {
|
|
1143
1143
|
const {
|
|
1144
1144
|
color,
|
|
1145
1145
|
id
|
|
1146
1146
|
} = args;
|
|
1147
|
-
|
|
1148
1147
|
for (let i = 0; i < items.value.length; i++) {
|
|
1149
1148
|
if (items.value[i].id == id) {
|
|
1150
1149
|
items.value[i].color = color;
|
|
1151
1150
|
break;
|
|
1152
1151
|
}
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1152
|
+
}
|
|
1155
1153
|
|
|
1154
|
+
// 重新排序数组
|
|
1156
1155
|
items.value.sort((a, b) => a.percentage - b.percentage);
|
|
1157
1156
|
backgroundImage.value = updateBackgroundImage();
|
|
1158
1157
|
emit("color-changed", items.value);
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1158
|
+
}
|
|
1161
1159
|
|
|
1160
|
+
// 删除色块
|
|
1162
1161
|
function deleteColorSlider(args) {
|
|
1163
1162
|
if (items.value.length <= 2) {
|
|
1164
1163
|
return;
|
|
1165
1164
|
}
|
|
1166
|
-
|
|
1167
1165
|
const {
|
|
1168
1166
|
id
|
|
1169
1167
|
} = args;
|
|
1170
|
-
|
|
1171
1168
|
for (let i = 0; i < items.value.length; i++) {
|
|
1172
1169
|
if (items.value[i].id == id) {
|
|
1173
1170
|
items.value.splice(i, 1);
|
|
1174
1171
|
break;
|
|
1175
1172
|
}
|
|
1176
1173
|
}
|
|
1177
|
-
|
|
1178
1174
|
backgroundImage.value = updateBackgroundImage();
|
|
1179
1175
|
emit("color-changed", items.value);
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1176
|
+
}
|
|
1182
1177
|
|
|
1178
|
+
// 增加色块
|
|
1183
1179
|
function addColorSlider(event) {
|
|
1184
1180
|
items.value.push({
|
|
1185
1181
|
id: (0,util_.guid)(),
|
|
1186
1182
|
color: "#0000FF",
|
|
1187
1183
|
percentage: event.offsetX / width * 100
|
|
1188
|
-
});
|
|
1184
|
+
});
|
|
1189
1185
|
|
|
1186
|
+
// 重新排序数组
|
|
1190
1187
|
items.value.sort((a, b) => a.percentage - b.percentage);
|
|
1191
1188
|
backgroundImage.value = updateBackgroundImage();
|
|
1192
1189
|
emit("color-changed", items.value);
|
|
1193
1190
|
}
|
|
1194
|
-
|
|
1195
1191
|
return (_ctx, _cache) => {
|
|
1196
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
1192
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1197
1193
|
class: "palette",
|
|
1198
1194
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(backgroundImage))
|
|
1199
|
-
}, null, 4
|
|
1200
|
-
/* STYLE */
|
|
1201
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1195
|
+
}, null, 4 /* STYLE */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1202
1196
|
class: "csh",
|
|
1203
1197
|
onClick: addColorSlider
|
|
1204
1198
|
}, [((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 => {
|
|
@@ -1211,20 +1205,15 @@ const CustomColorPickervue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
1211
1205
|
onUpdatePercentage: updatePercentage,
|
|
1212
1206
|
onUpdateColor: updateColor,
|
|
1213
1207
|
onDeleteColorSlider: deleteColorSlider
|
|
1214
|
-
}, null, 8
|
|
1215
|
-
|
|
1216
|
-
, ["color", "id", "percentage"]);
|
|
1217
|
-
}), 128
|
|
1218
|
-
/* KEYED_FRAGMENT */
|
|
1219
|
-
))])]);
|
|
1208
|
+
}, null, 8 /* PROPS */, ["color", "id", "percentage"]);
|
|
1209
|
+
}), 128 /* KEYED_FRAGMENT */))])]);
|
|
1220
1210
|
};
|
|
1221
1211
|
}
|
|
1222
|
-
|
|
1223
1212
|
});
|
|
1224
1213
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=script&setup=true&lang=js
|
|
1225
1214
|
|
|
1226
1215
|
// 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
|
|
1227
|
-
var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss = __webpack_require__(
|
|
1216
|
+
var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss = __webpack_require__(7120);
|
|
1228
1217
|
;// 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
|
|
1229
1218
|
|
|
1230
1219
|
|
|
@@ -1234,11 +1223,11 @@ var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_op
|
|
|
1234
1223
|
CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_options.insert = "head";
|
|
1235
1224
|
CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_options.singleton = false;
|
|
1236
1225
|
|
|
1237
|
-
var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_update = injectStylesIntoStyleTag_default()(CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss/* default */.
|
|
1226
|
+
var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_update = injectStylesIntoStyleTag_default()(CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss/* default */.A, CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_options);
|
|
1238
1227
|
|
|
1239
1228
|
|
|
1240
1229
|
|
|
1241
|
-
/* harmony default export */ var heatmap3d_CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss = (CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss/* default
|
|
1230
|
+
/* harmony default export */ var heatmap3d_CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss = (CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss/* default */.A.locals || {});
|
|
1242
1231
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPicker.vue?vue&type=style&index=0&id=b1608504&scoped=true&lang=scss
|
|
1243
1232
|
|
|
1244
1233
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/CustomColorPicker.vue
|
|
@@ -1248,12 +1237,18 @@ var CustomColorPickervue_type_style_index_0_id_b1608504_scoped_true_lang_scss_up
|
|
|
1248
1237
|
;
|
|
1249
1238
|
|
|
1250
1239
|
|
|
1251
|
-
const CustomColorPicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.
|
|
1240
|
+
const CustomColorPicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(CustomColorPickervue_type_script_setup_true_lang_js, [['__scopeId',"data-v-b1608504"]])
|
|
1252
1241
|
|
|
1253
1242
|
/* harmony default export */ var CustomColorPicker = (CustomColorPicker_exports_);
|
|
1254
1243
|
;// 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
|
|
1255
1244
|
|
|
1256
1245
|
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1257
1252
|
const Heatmap3dvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
1258
1253
|
class: "kq3d-heatmap-box"
|
|
1259
1254
|
};
|
|
@@ -1279,7 +1274,7 @@ const _hoisted_4 = {
|
|
|
1279
1274
|
const __default__ = {
|
|
1280
1275
|
name: "Kq3dHeatmap"
|
|
1281
1276
|
};
|
|
1282
|
-
/* harmony default export */ var Heatmap3dvue_type_script_setup_true_lang_js = (
|
|
1277
|
+
/* harmony default export */ var Heatmap3dvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
1283
1278
|
props: {
|
|
1284
1279
|
// 设置参数
|
|
1285
1280
|
settingParams: {
|
|
@@ -1290,7 +1285,6 @@ const __default__ = {
|
|
|
1290
1285
|
type: Boolean,
|
|
1291
1286
|
default: true
|
|
1292
1287
|
},
|
|
1293
|
-
|
|
1294
1288
|
/**
|
|
1295
1289
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
1296
1290
|
*/
|
|
@@ -1320,19 +1314,18 @@ const __default__ = {
|
|
|
1320
1314
|
default: true
|
|
1321
1315
|
}
|
|
1322
1316
|
},
|
|
1323
|
-
|
|
1324
1317
|
setup(__props, {
|
|
1325
|
-
expose
|
|
1318
|
+
expose: __expose
|
|
1326
1319
|
}) {
|
|
1327
|
-
const props = __props;
|
|
1328
1320
|
const {
|
|
1329
1321
|
proxy
|
|
1330
1322
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
1331
1323
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
1332
1324
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
1333
1325
|
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
1334
|
-
let weightFields = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
1335
|
-
|
|
1326
|
+
let weightFields = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
1327
|
+
// 获取组件传参
|
|
1328
|
+
const props = __props;
|
|
1336
1329
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
1337
1330
|
dataPath: props.settingParams && props.settingParams.dataPath || "",
|
|
1338
1331
|
//数据地址,json文件或json地址
|
|
@@ -1367,15 +1360,17 @@ const __default__ = {
|
|
|
1367
1360
|
colorMode: props.settingParams && props.settingParams.colorMode || 1,
|
|
1368
1361
|
// 1:预设 2:自定义
|
|
1369
1362
|
colorRamp: props.settingParams && props.settingParams.colorRamp || 0 //色带索引,0-16
|
|
1370
|
-
|
|
1371
1363
|
});
|
|
1372
|
-
let viewModel = null;
|
|
1364
|
+
let viewModel = null;
|
|
1373
1365
|
|
|
1374
|
-
|
|
1366
|
+
// 组件容器Ref
|
|
1367
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
1375
1368
|
|
|
1369
|
+
// 生成组件默认header
|
|
1376
1370
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1377
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1371
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1378
1372
|
|
|
1373
|
+
// 国际化
|
|
1379
1374
|
let {
|
|
1380
1375
|
locale,
|
|
1381
1376
|
messages
|
|
@@ -1397,13 +1392,11 @@ const __default__ = {
|
|
|
1397
1392
|
});
|
|
1398
1393
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
1399
1394
|
//父组 件ScenceView初始化完成后执行
|
|
1400
|
-
|
|
1401
1395
|
weightFields.value = [language.value.noSet];
|
|
1402
1396
|
if (!formItem.valueField) formItem.valueField = language.value.noSet;
|
|
1403
1397
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
1404
1398
|
if (scenceView) {
|
|
1405
1399
|
viewModel = new Heatmap3dViewModel(scenceView, formItem);
|
|
1406
|
-
|
|
1407
1400
|
if (viewModel) {
|
|
1408
1401
|
viewModel.language = language.value;
|
|
1409
1402
|
let test = heatColor.value; // 触发赋值
|
|
@@ -1411,56 +1404,49 @@ const __default__ = {
|
|
|
1411
1404
|
}
|
|
1412
1405
|
});
|
|
1413
1406
|
});
|
|
1407
|
+
|
|
1414
1408
|
/**
|
|
1415
1409
|
* @description 监听header生成
|
|
1416
1410
|
*/
|
|
1417
|
-
|
|
1418
1411
|
const watchCreateHeaderTemp = () => {
|
|
1419
1412
|
if (props.showHeaderTemp) {
|
|
1420
1413
|
// 生成headerTemp
|
|
1421
1414
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
1422
1415
|
}
|
|
1423
1416
|
};
|
|
1424
|
-
|
|
1425
1417
|
function selectData(file) {
|
|
1426
1418
|
let url = URL.createObjectURL(file.raw);
|
|
1427
1419
|
formItem.dataPath = url;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
|
|
1420
|
+
}
|
|
1421
|
+
// 参数改变
|
|
1431
1422
|
function paramsChanged(key) {
|
|
1432
1423
|
viewModel && viewModel.paramsChanged(key, formItem[key]);
|
|
1433
|
-
|
|
1434
1424
|
switch (key) {
|
|
1435
1425
|
case "radius":
|
|
1436
1426
|
case "height":
|
|
1437
1427
|
formItem.isFollowingPerspective = false;
|
|
1438
1428
|
break;
|
|
1439
|
-
|
|
1440
1429
|
default:
|
|
1441
1430
|
break;
|
|
1442
1431
|
}
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
|
|
1432
|
+
}
|
|
1433
|
+
// 加载
|
|
1446
1434
|
function startAnalysis() {
|
|
1447
1435
|
getDataByPath();
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
|
|
1436
|
+
}
|
|
1437
|
+
// 获取路径数据
|
|
1451
1438
|
function getDataByPath() {
|
|
1452
1439
|
if (formItem && formItem.dataPath) {
|
|
1453
1440
|
Cesium.Resource.fetchJson(formItem.dataPath).then(res => {
|
|
1454
1441
|
if (res && res.features) {
|
|
1455
1442
|
if (res.features.length === 0) {
|
|
1456
|
-
(0,message/* default */.
|
|
1443
|
+
(0,message/* default */.A)({
|
|
1457
1444
|
message: "features " + language.value.noDataMessage + "!",
|
|
1458
1445
|
type: "warning",
|
|
1459
1446
|
duration: 2000
|
|
1460
1447
|
});
|
|
1461
1448
|
return;
|
|
1462
1449
|
}
|
|
1463
|
-
|
|
1464
1450
|
let heatmapArr = [];
|
|
1465
1451
|
let bigArray = [];
|
|
1466
1452
|
res.features.forEach(element => {
|
|
@@ -1477,17 +1463,17 @@ const __default__ = {
|
|
|
1477
1463
|
});
|
|
1478
1464
|
});
|
|
1479
1465
|
let commonArr = commonValues(bigArray);
|
|
1480
|
-
weightFields.value = [language.value.noSet].concat(commonArr);
|
|
1466
|
+
weightFields.value = [language.value.noSet].concat(commonArr);
|
|
1467
|
+
// if (!formItem.valueField) {
|
|
1481
1468
|
// formItem.valueField = commonArr[0];
|
|
1482
1469
|
// paramsChanged("valueField");
|
|
1483
1470
|
// }
|
|
1484
|
-
|
|
1485
1471
|
if (viewModel) {
|
|
1486
1472
|
viewModel.heatmapData = heatmapArr;
|
|
1487
1473
|
viewModel.start();
|
|
1488
1474
|
}
|
|
1489
1475
|
} else {
|
|
1490
|
-
(0,message/* default */.
|
|
1476
|
+
(0,message/* default */.A)({
|
|
1491
1477
|
message: language.value.geojsonTypeMessage + "!",
|
|
1492
1478
|
type: "warning",
|
|
1493
1479
|
duration: 2000
|
|
@@ -1496,7 +1482,7 @@ const __default__ = {
|
|
|
1496
1482
|
}
|
|
1497
1483
|
}).otherwise(ret => {
|
|
1498
1484
|
console.log(ret);
|
|
1499
|
-
(0,message/* default */.
|
|
1485
|
+
(0,message/* default */.A)({
|
|
1500
1486
|
message: language.value.dataParsingMessage + "!",
|
|
1501
1487
|
type: "error",
|
|
1502
1488
|
duration: 2000
|
|
@@ -1504,7 +1490,7 @@ const __default__ = {
|
|
|
1504
1490
|
return;
|
|
1505
1491
|
});
|
|
1506
1492
|
} else {
|
|
1507
|
-
(0,message/* default */.
|
|
1493
|
+
(0,message/* default */.A)({
|
|
1508
1494
|
message: language.value.fileTypeMessage + "!",
|
|
1509
1495
|
type: "warning",
|
|
1510
1496
|
duration: 2000
|
|
@@ -1512,61 +1498,49 @@ const __default__ = {
|
|
|
1512
1498
|
return;
|
|
1513
1499
|
}
|
|
1514
1500
|
}
|
|
1515
|
-
|
|
1516
1501
|
function commonValues(bigArray) {
|
|
1517
1502
|
// 如果大数组为空,直接返回空数组
|
|
1518
1503
|
if (bigArray.length === 0) {
|
|
1519
1504
|
return [];
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
|
|
1505
|
+
}
|
|
1506
|
+
// 以第一个小数组为初始值进行比较
|
|
1523
1507
|
let common = [...bigArray[0]];
|
|
1524
|
-
|
|
1525
1508
|
for (let i = 1; i < bigArray.length; i++) {
|
|
1526
1509
|
common = common.filter(item => bigArray[i].includes(item));
|
|
1527
1510
|
}
|
|
1528
|
-
|
|
1529
1511
|
return common;
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
|
|
1512
|
+
}
|
|
1513
|
+
// 获取对象键列表
|
|
1533
1514
|
function getValidKeysAndValues(obj) {
|
|
1534
1515
|
const validKeys = [];
|
|
1535
1516
|
const newObj = {};
|
|
1536
|
-
|
|
1537
1517
|
for (const key in obj) {
|
|
1538
1518
|
const value = obj[key];
|
|
1539
|
-
|
|
1540
1519
|
if (!isNaN(value) && value > 0) {
|
|
1541
1520
|
validKeys.push(key);
|
|
1542
1521
|
newObj[key] = value;
|
|
1543
1522
|
}
|
|
1544
1523
|
}
|
|
1545
|
-
|
|
1546
1524
|
return {
|
|
1547
1525
|
validKeys,
|
|
1548
1526
|
newObj
|
|
1549
1527
|
};
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1528
|
+
}
|
|
1529
|
+
// 预设的色带
|
|
1530
|
+
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"]]);
|
|
1531
|
+
// 自定义的颜色
|
|
1555
1532
|
const customColors = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)({
|
|
1556
1533
|
get() {
|
|
1557
1534
|
const custom = props.settingParams && props.settingParams.custom;
|
|
1558
|
-
|
|
1559
1535
|
if (!custom || custom.length == 0) {
|
|
1560
1536
|
return getCustomColors(colorData.value[formItem.colorRamp]);
|
|
1561
1537
|
} else {
|
|
1562
1538
|
return custom;
|
|
1563
1539
|
}
|
|
1564
1540
|
},
|
|
1565
|
-
|
|
1566
1541
|
set(value) {
|
|
1567
1542
|
regroupColors();
|
|
1568
1543
|
}
|
|
1569
|
-
|
|
1570
1544
|
});
|
|
1571
1545
|
const heatColor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)({
|
|
1572
1546
|
get() {
|
|
@@ -1576,19 +1550,14 @@ const __default__ = {
|
|
|
1576
1550
|
} else {
|
|
1577
1551
|
onChangeColorRamp();
|
|
1578
1552
|
}
|
|
1579
|
-
|
|
1580
1553
|
return heatColor.value;
|
|
1581
1554
|
},
|
|
1582
|
-
|
|
1583
1555
|
set(value) {
|
|
1584
1556
|
viewModel && viewModel.setColorArray(value);
|
|
1585
1557
|
}
|
|
1586
|
-
|
|
1587
1558
|
});
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1559
|
+
function getHeatColor() {}
|
|
1560
|
+
// 重组颜色渲染对象
|
|
1592
1561
|
function regroupColors() {
|
|
1593
1562
|
let obj = {};
|
|
1594
1563
|
customColors.value.forEach(element => {
|
|
@@ -1596,30 +1565,25 @@ const __default__ = {
|
|
|
1596
1565
|
});
|
|
1597
1566
|
heatColor.value = obj;
|
|
1598
1567
|
}
|
|
1599
|
-
|
|
1600
1568
|
function onChangeColorRamp() {
|
|
1601
1569
|
// 固定的开头
|
|
1602
1570
|
const colors = colorData.value[formItem.colorRamp];
|
|
1603
1571
|
const len = colors.length;
|
|
1604
1572
|
const delta = 1 / len;
|
|
1605
1573
|
let ramp = {};
|
|
1606
|
-
|
|
1607
1574
|
for (let i = 0; i < len - 1; i++) {
|
|
1608
1575
|
ramp[delta * (i + 1)] = colors[i];
|
|
1609
1576
|
}
|
|
1610
|
-
|
|
1611
1577
|
ramp[1] = colors[len - 1];
|
|
1612
1578
|
heatColor.value = {
|
|
1613
1579
|
0: "rgba(0, 0, 0, 0)",
|
|
1614
1580
|
...ramp
|
|
1615
1581
|
};
|
|
1616
1582
|
}
|
|
1617
|
-
|
|
1618
1583
|
function getCustomColors(colors) {
|
|
1619
1584
|
let custom = [];
|
|
1620
1585
|
const len = colors.length;
|
|
1621
1586
|
const delta = 1 / (len - 1);
|
|
1622
|
-
|
|
1623
1587
|
for (let i = 0; i < len; i++) {
|
|
1624
1588
|
custom.push({
|
|
1625
1589
|
id: (0,util_.guid)(),
|
|
@@ -1627,84 +1591,58 @@ const __default__ = {
|
|
|
1627
1591
|
percentage: i * delta * 100
|
|
1628
1592
|
});
|
|
1629
1593
|
}
|
|
1630
|
-
|
|
1631
1594
|
return custom;
|
|
1632
1595
|
}
|
|
1633
|
-
|
|
1634
1596
|
function colorChanged(items) {
|
|
1635
1597
|
let ramp = {};
|
|
1636
|
-
|
|
1637
1598
|
for (let i = 0; i < items.length; i++) {
|
|
1638
1599
|
if (items[i].percentage == 0) {
|
|
1639
1600
|
items[i].percentage = 1;
|
|
1640
1601
|
}
|
|
1641
|
-
|
|
1642
1602
|
ramp[items[i].percentage / 100] = items[i].color;
|
|
1643
1603
|
}
|
|
1644
|
-
|
|
1645
1604
|
heatColor.value = {
|
|
1646
1605
|
0: "rgba(0, 0, 0, 0)",
|
|
1647
1606
|
...ramp
|
|
1648
1607
|
};
|
|
1649
1608
|
}
|
|
1650
|
-
|
|
1651
1609
|
function generateColorStyle(colors) {
|
|
1652
1610
|
return `background-image: linear-gradient(90deg, ${colors.toString()})`;
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
|
|
1611
|
+
}
|
|
1612
|
+
// 反转色带的颜色
|
|
1656
1613
|
function onClickReverseRamp(colors) {
|
|
1657
1614
|
colors = colors.reverse();
|
|
1658
1615
|
onChangeColorRamp();
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
|
|
1616
|
+
}
|
|
1617
|
+
// 清除
|
|
1662
1618
|
function clearResult() {
|
|
1663
1619
|
viewModel && viewModel.clear();
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1620
|
+
}
|
|
1666
1621
|
|
|
1622
|
+
// 销毁
|
|
1667
1623
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
1668
1624
|
viewModel && viewModel.destroy();
|
|
1669
1625
|
});
|
|
1670
|
-
|
|
1626
|
+
__expose({});
|
|
1671
1627
|
return (_ctx, _cache) => {
|
|
1672
1628
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
1673
|
-
|
|
1674
1629
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
1675
|
-
|
|
1676
1630
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
1677
|
-
|
|
1678
1631
|
const _component_kq_upload = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-upload");
|
|
1679
|
-
|
|
1680
1632
|
const _component_kq_input = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input");
|
|
1681
|
-
|
|
1682
1633
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
1683
|
-
|
|
1684
1634
|
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
1685
|
-
|
|
1686
1635
|
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
|
|
1687
|
-
|
|
1688
1636
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
1689
|
-
|
|
1690
1637
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
1691
|
-
|
|
1692
1638
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
1693
|
-
|
|
1694
1639
|
const _component_kq_radio_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-button");
|
|
1695
|
-
|
|
1696
1640
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
1697
|
-
|
|
1698
1641
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
1699
|
-
|
|
1700
1642
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
1701
|
-
|
|
1702
1643
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
1703
|
-
|
|
1704
1644
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
1705
|
-
|
|
1706
1645
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
1707
|
-
|
|
1708
1646
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
1709
1647
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-heatmap", {
|
|
1710
1648
|
'kq-box-shadow': __props.showShadow
|
|
@@ -1715,9 +1653,7 @@ const __default__ = {
|
|
|
1715
1653
|
key: 0,
|
|
1716
1654
|
ref_key: "headerTempRef",
|
|
1717
1655
|
ref: headerTempRef
|
|
1718
|
-
}, null, 512
|
|
1719
|
-
/* NEED_PATCH */
|
|
1720
|
-
)) : (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, {
|
|
1656
|
+
}, 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, {
|
|
1721
1657
|
gutter: 20,
|
|
1722
1658
|
class: "rowClass"
|
|
1723
1659
|
}, {
|
|
@@ -1725,12 +1661,8 @@ const __default__ = {
|
|
|
1725
1661
|
span: 6,
|
|
1726
1662
|
class: "colClass"
|
|
1727
1663
|
}, {
|
|
1728
|
-
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
|
|
1729
|
-
/*
|
|
1730
|
-
)]),
|
|
1731
|
-
_: 1
|
|
1732
|
-
/* STABLE */
|
|
1733
|
-
|
|
1664
|
+
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 */)]),
|
|
1665
|
+
_: 1 /* STABLE */
|
|
1734
1666
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1735
1667
|
span: 18
|
|
1736
1668
|
}, {
|
|
@@ -1751,31 +1683,17 @@ const __default__ = {
|
|
|
1751
1683
|
size: 16
|
|
1752
1684
|
}, {
|
|
1753
1685
|
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))]),
|
|
1754
|
-
_: 1
|
|
1755
|
-
/* STABLE */
|
|
1756
|
-
|
|
1686
|
+
_: 1 /* STABLE */
|
|
1757
1687
|
})]),
|
|
1758
|
-
_: 1
|
|
1759
|
-
/* STABLE */
|
|
1760
|
-
|
|
1688
|
+
_: 1 /* STABLE */
|
|
1761
1689
|
})]),
|
|
1762
|
-
_: 1
|
|
1763
|
-
/* STABLE */
|
|
1764
|
-
|
|
1690
|
+
_: 1 /* STABLE */
|
|
1765
1691
|
})]),
|
|
1766
|
-
_: 1
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
}, 8
|
|
1770
|
-
/* PROPS */
|
|
1771
|
-
, ["modelValue", "placeholder"])]),
|
|
1772
|
-
_: 1
|
|
1773
|
-
/* STABLE */
|
|
1774
|
-
|
|
1692
|
+
_: 1 /* STABLE */
|
|
1693
|
+
}, 8 /* PROPS */, ["modelValue", "placeholder"])]),
|
|
1694
|
+
_: 1 /* STABLE */
|
|
1775
1695
|
})]),
|
|
1776
|
-
_: 1
|
|
1777
|
-
/* STABLE */
|
|
1778
|
-
|
|
1696
|
+
_: 1 /* STABLE */
|
|
1779
1697
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1780
1698
|
gutter: 20,
|
|
1781
1699
|
class: "rowClass"
|
|
@@ -1784,12 +1702,8 @@ const __default__ = {
|
|
|
1784
1702
|
span: 6,
|
|
1785
1703
|
class: "colClass"
|
|
1786
1704
|
}, {
|
|
1787
|
-
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
|
|
1788
|
-
/*
|
|
1789
|
-
)]),
|
|
1790
|
-
_: 1
|
|
1791
|
-
/* STABLE */
|
|
1792
|
-
|
|
1705
|
+
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 */)]),
|
|
1706
|
+
_: 1 /* STABLE */
|
|
1793
1707
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1794
1708
|
span: 18
|
|
1795
1709
|
}, {
|
|
@@ -1801,41 +1715,25 @@ const __default__ = {
|
|
|
1801
1715
|
label: "3D",
|
|
1802
1716
|
onChange: _cache[2] || (_cache[2] = $event => paramsChanged('heatmapType'))
|
|
1803
1717
|
}, {
|
|
1804
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("3D")]),
|
|
1805
|
-
_: 1
|
|
1806
|
-
/* STABLE */
|
|
1807
|
-
|
|
1718
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => _cache[33] || (_cache[33] = [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("3D")])),
|
|
1719
|
+
_: 1 /* STABLE */
|
|
1808
1720
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
1809
1721
|
label: "2D",
|
|
1810
1722
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('heatmapType'))
|
|
1811
1723
|
}, {
|
|
1812
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("2D")]),
|
|
1813
|
-
_: 1
|
|
1814
|
-
/* STABLE */
|
|
1815
|
-
|
|
1724
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => _cache[34] || (_cache[34] = [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("2D")])),
|
|
1725
|
+
_: 1 /* STABLE */
|
|
1816
1726
|
})]),
|
|
1817
|
-
_: 1
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
}, 8
|
|
1821
|
-
/* PROPS */
|
|
1822
|
-
, ["modelValue"])]),
|
|
1823
|
-
_: 1
|
|
1824
|
-
/* STABLE */
|
|
1825
|
-
|
|
1727
|
+
_: 1 /* STABLE */
|
|
1728
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
1729
|
+
_: 1 /* STABLE */
|
|
1826
1730
|
})]),
|
|
1827
|
-
_: 1
|
|
1828
|
-
/* STABLE */
|
|
1829
|
-
|
|
1731
|
+
_: 1 /* STABLE */
|
|
1830
1732
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1831
1733
|
class: "kq3d-heatmap-tip"
|
|
1832
1734
|
}, {
|
|
1833
|
-
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
|
|
1834
|
-
/*
|
|
1835
|
-
)]),
|
|
1836
|
-
_: 1
|
|
1837
|
-
/* STABLE */
|
|
1838
|
-
|
|
1735
|
+
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 */)]),
|
|
1736
|
+
_: 1 /* STABLE */
|
|
1839
1737
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
1840
1738
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
1841
1739
|
class: "kq3d-heatmap-collapse"
|
|
@@ -1865,27 +1763,13 @@ const __default__ = {
|
|
|
1865
1763
|
key: index,
|
|
1866
1764
|
label: item,
|
|
1867
1765
|
value: item
|
|
1868
|
-
}, null, 8
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
/* STABLE */
|
|
1876
|
-
|
|
1877
|
-
}, 8
|
|
1878
|
-
/* PROPS */
|
|
1879
|
-
, ["modelValue"])]),
|
|
1880
|
-
_: 1
|
|
1881
|
-
/* STABLE */
|
|
1882
|
-
|
|
1883
|
-
}, 8
|
|
1884
|
-
/* PROPS */
|
|
1885
|
-
, ["label"])]),
|
|
1886
|
-
_: 1
|
|
1887
|
-
/* STABLE */
|
|
1888
|
-
|
|
1766
|
+
}, null, 8 /* PROPS */, ["label", "value"]);
|
|
1767
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
1768
|
+
_: 1 /* STABLE */
|
|
1769
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
1770
|
+
_: 1 /* STABLE */
|
|
1771
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1772
|
+
_: 1 /* STABLE */
|
|
1889
1773
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1890
1774
|
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, {
|
|
1891
1775
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).colorScheme
|
|
@@ -1903,45 +1787,23 @@ const __default__ = {
|
|
|
1903
1787
|
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, {
|
|
1904
1788
|
label: "1"
|
|
1905
1789
|
}, {
|
|
1906
|
-
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
|
|
1907
|
-
/*
|
|
1908
|
-
)]),
|
|
1909
|
-
_: 1
|
|
1910
|
-
/* STABLE */
|
|
1911
|
-
|
|
1790
|
+
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 */)]),
|
|
1791
|
+
_: 1 /* STABLE */
|
|
1912
1792
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, {
|
|
1913
1793
|
label: "2"
|
|
1914
1794
|
}, {
|
|
1915
|
-
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
|
|
1916
|
-
/*
|
|
1917
|
-
)]),
|
|
1918
|
-
_: 1
|
|
1919
|
-
/* STABLE */
|
|
1920
|
-
|
|
1795
|
+
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 */)]),
|
|
1796
|
+
_: 1 /* STABLE */
|
|
1921
1797
|
})]),
|
|
1922
|
-
_: 1
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
}, 8
|
|
1926
|
-
/* PROPS */
|
|
1927
|
-
, ["modelValue"])]),
|
|
1928
|
-
_: 1
|
|
1929
|
-
/* STABLE */
|
|
1930
|
-
|
|
1798
|
+
_: 1 /* STABLE */
|
|
1799
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
1800
|
+
_: 1 /* STABLE */
|
|
1931
1801
|
})]),
|
|
1932
|
-
_: 1
|
|
1933
|
-
/* STABLE */
|
|
1934
|
-
|
|
1802
|
+
_: 1 /* STABLE */
|
|
1935
1803
|
})]),
|
|
1936
|
-
_: 1
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
}, 8
|
|
1940
|
-
/* PROPS */
|
|
1941
|
-
, ["label"])]),
|
|
1942
|
-
_: 1
|
|
1943
|
-
/* STABLE */
|
|
1944
|
-
|
|
1804
|
+
_: 1 /* STABLE */
|
|
1805
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1806
|
+
_: 1 /* STABLE */
|
|
1945
1807
|
}), (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, {
|
|
1946
1808
|
key: 0
|
|
1947
1809
|
}, {
|
|
@@ -1967,9 +1829,7 @@ const __default__ = {
|
|
|
1967
1829
|
prefix: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1968
1830
|
class: "color-ramp",
|
|
1969
1831
|
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]))
|
|
1970
|
-
}, null, 4
|
|
1971
|
-
/* STYLE */
|
|
1972
|
-
)]),
|
|
1832
|
+
}, null, 4 /* STYLE */)]),
|
|
1973
1833
|
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) => {
|
|
1974
1834
|
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, {
|
|
1975
1835
|
class: "color-option",
|
|
@@ -1979,51 +1839,25 @@ const __default__ = {
|
|
|
1979
1839
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1980
1840
|
class: "color-ramp",
|
|
1981
1841
|
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)(generateColorStyle(item))
|
|
1982
|
-
}, null, 4
|
|
1983
|
-
/* STYLE */
|
|
1984
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
1842
|
+
}, null, 4 /* STYLE */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
1985
1843
|
class: "reverse",
|
|
1986
1844
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => onClickReverseRamp(item), ["stop"])
|
|
1987
1845
|
}, {
|
|
1988
1846
|
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))]),
|
|
1989
|
-
_: 2
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
}, 1032
|
|
1999
|
-
/* PROPS, DYNAMIC_SLOTS */
|
|
2000
|
-
, ["value"]);
|
|
2001
|
-
}), 128
|
|
2002
|
-
/* KEYED_FRAGMENT */
|
|
2003
|
-
))]),
|
|
2004
|
-
_: 1
|
|
2005
|
-
/* STABLE */
|
|
2006
|
-
|
|
2007
|
-
}, 8
|
|
2008
|
-
/* PROPS */
|
|
2009
|
-
, ["modelValue"])]),
|
|
2010
|
-
_: 1
|
|
2011
|
-
/* STABLE */
|
|
2012
|
-
|
|
1847
|
+
_: 2 /* DYNAMIC */
|
|
1848
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])]),
|
|
1849
|
+
_: 2 /* DYNAMIC */
|
|
1850
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value"]);
|
|
1851
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
1852
|
+
_: 1 /* STABLE */
|
|
1853
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
1854
|
+
_: 1 /* STABLE */
|
|
2013
1855
|
})]),
|
|
2014
|
-
_: 1
|
|
2015
|
-
/* STABLE */
|
|
2016
|
-
|
|
1856
|
+
_: 1 /* STABLE */
|
|
2017
1857
|
})]),
|
|
2018
|
-
_: 1
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
}, 8
|
|
2022
|
-
/* PROPS */
|
|
2023
|
-
, ["label"])]),
|
|
2024
|
-
_: 1
|
|
2025
|
-
/* STABLE */
|
|
2026
|
-
|
|
1858
|
+
_: 1 /* STABLE */
|
|
1859
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1860
|
+
_: 1 /* STABLE */
|
|
2027
1861
|
})) : (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, {
|
|
2028
1862
|
key: 1
|
|
2029
1863
|
}, {
|
|
@@ -2037,28 +1871,16 @@ const __default__ = {
|
|
|
2037
1871
|
}
|
|
2038
1872
|
}, {
|
|
2039
1873
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(CustomColorPicker, {
|
|
2040
|
-
data:
|
|
1874
|
+
data: customColors.value,
|
|
2041
1875
|
onColorChanged: colorChanged
|
|
2042
|
-
}, null, 8
|
|
2043
|
-
/*
|
|
2044
|
-
, ["data"])]),
|
|
2045
|
-
_: 1
|
|
2046
|
-
/* STABLE */
|
|
2047
|
-
|
|
1876
|
+
}, null, 8 /* PROPS */, ["data"])]),
|
|
1877
|
+
_: 1 /* STABLE */
|
|
2048
1878
|
})]),
|
|
2049
|
-
_: 1
|
|
2050
|
-
/* STABLE */
|
|
2051
|
-
|
|
1879
|
+
_: 1 /* STABLE */
|
|
2052
1880
|
})]),
|
|
2053
|
-
_: 1
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
}, 8
|
|
2057
|
-
/* PROPS */
|
|
2058
|
-
, ["label"])]),
|
|
2059
|
-
_: 1
|
|
2060
|
-
/* STABLE */
|
|
2061
|
-
|
|
1881
|
+
_: 1 /* STABLE */
|
|
1882
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1883
|
+
_: 1 /* STABLE */
|
|
2062
1884
|
})) : (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, {
|
|
2063
1885
|
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, {
|
|
2064
1886
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).radius + '(m)'
|
|
@@ -2078,12 +1900,8 @@ const __default__ = {
|
|
|
2078
1900
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minRadius,
|
|
2079
1901
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxRadius,
|
|
2080
1902
|
onInput: _cache[10] || (_cache[10] = $event => paramsChanged('radius'))
|
|
2081
|
-
}, null, 8
|
|
2082
|
-
/*
|
|
2083
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
2084
|
-
_: 1
|
|
2085
|
-
/* STABLE */
|
|
2086
|
-
|
|
1903
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
1904
|
+
_: 1 /* STABLE */
|
|
2087
1905
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
2088
1906
|
span: 8
|
|
2089
1907
|
}, {
|
|
@@ -2095,26 +1913,14 @@ const __default__ = {
|
|
|
2095
1913
|
step: 0.1,
|
|
2096
1914
|
onInput: _cache[12] || (_cache[12] = $event => paramsChanged('radius')),
|
|
2097
1915
|
"controls-position": "right"
|
|
2098
|
-
}, null, 8
|
|
2099
|
-
/*
|
|
2100
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
2101
|
-
_: 1
|
|
2102
|
-
/* STABLE */
|
|
2103
|
-
|
|
1916
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
1917
|
+
_: 1 /* STABLE */
|
|
2104
1918
|
})]),
|
|
2105
|
-
_: 1
|
|
2106
|
-
/* STABLE */
|
|
2107
|
-
|
|
1919
|
+
_: 1 /* STABLE */
|
|
2108
1920
|
})]),
|
|
2109
|
-
_: 1
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
}, 8
|
|
2113
|
-
/* PROPS */
|
|
2114
|
-
, ["label"])]),
|
|
2115
|
-
_: 1
|
|
2116
|
-
/* STABLE */
|
|
2117
|
-
|
|
1921
|
+
_: 1 /* STABLE */
|
|
1922
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1923
|
+
_: 1 /* STABLE */
|
|
2118
1924
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
2119
1925
|
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, {
|
|
2120
1926
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).transparents
|
|
@@ -2134,12 +1940,8 @@ const __default__ = {
|
|
|
2134
1940
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTransparents,
|
|
2135
1941
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTransparents,
|
|
2136
1942
|
onInput: _cache[14] || (_cache[14] = $event => paramsChanged('transparents'))
|
|
2137
|
-
}, null, 8
|
|
2138
|
-
/*
|
|
2139
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
2140
|
-
_: 1
|
|
2141
|
-
/* STABLE */
|
|
2142
|
-
|
|
1943
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
1944
|
+
_: 1 /* STABLE */
|
|
2143
1945
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
2144
1946
|
span: 8
|
|
2145
1947
|
}, {
|
|
@@ -2151,26 +1953,14 @@ const __default__ = {
|
|
|
2151
1953
|
step: 0.01,
|
|
2152
1954
|
onInput: _cache[16] || (_cache[16] = $event => paramsChanged('transparents')),
|
|
2153
1955
|
"controls-position": "right"
|
|
2154
|
-
}, null, 8
|
|
2155
|
-
/*
|
|
2156
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
2157
|
-
_: 1
|
|
2158
|
-
/* STABLE */
|
|
2159
|
-
|
|
1956
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
1957
|
+
_: 1 /* STABLE */
|
|
2160
1958
|
})]),
|
|
2161
|
-
_: 1
|
|
2162
|
-
/* STABLE */
|
|
2163
|
-
|
|
1959
|
+
_: 1 /* STABLE */
|
|
2164
1960
|
})]),
|
|
2165
|
-
_: 1
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
}, 8
|
|
2169
|
-
/* PROPS */
|
|
2170
|
-
, ["label"])]),
|
|
2171
|
-
_: 1
|
|
2172
|
-
/* STABLE */
|
|
2173
|
-
|
|
1961
|
+
_: 1 /* STABLE */
|
|
1962
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1963
|
+
_: 1 /* STABLE */
|
|
2174
1964
|
}), (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, {
|
|
2175
1965
|
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, {
|
|
2176
1966
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height
|
|
@@ -2190,12 +1980,8 @@ const __default__ = {
|
|
|
2190
1980
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeight,
|
|
2191
1981
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeight,
|
|
2192
1982
|
onInput: _cache[18] || (_cache[18] = $event => paramsChanged('height'))
|
|
2193
|
-
}, null, 8
|
|
2194
|
-
/*
|
|
2195
|
-
, ["modelValue", "min", "max"])]),
|
|
2196
|
-
_: 1
|
|
2197
|
-
/* STABLE */
|
|
2198
|
-
|
|
1983
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
1984
|
+
_: 1 /* STABLE */
|
|
2199
1985
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
2200
1986
|
span: 8
|
|
2201
1987
|
}, {
|
|
@@ -2207,29 +1993,15 @@ const __default__ = {
|
|
|
2207
1993
|
step: 1,
|
|
2208
1994
|
onInput: _cache[20] || (_cache[20] = $event => paramsChanged('height')),
|
|
2209
1995
|
"controls-position": "right"
|
|
2210
|
-
}, null, 8
|
|
2211
|
-
/*
|
|
2212
|
-
, ["modelValue", "min", "max"])]),
|
|
2213
|
-
_: 1
|
|
2214
|
-
/* STABLE */
|
|
2215
|
-
|
|
1996
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
1997
|
+
_: 1 /* STABLE */
|
|
2216
1998
|
})]),
|
|
2217
|
-
_: 1
|
|
2218
|
-
/* STABLE */
|
|
2219
|
-
|
|
1999
|
+
_: 1 /* STABLE */
|
|
2220
2000
|
})]),
|
|
2221
|
-
_: 1
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
/* PROPS */
|
|
2226
|
-
, ["label"])]),
|
|
2227
|
-
_: 1
|
|
2228
|
-
/* STABLE */
|
|
2229
|
-
|
|
2230
|
-
}, 512
|
|
2231
|
-
/* NEED_PATCH */
|
|
2232
|
-
), [[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, {
|
|
2001
|
+
_: 1 /* STABLE */
|
|
2002
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2003
|
+
_: 1 /* STABLE */
|
|
2004
|
+
}, 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
2005
|
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, {
|
|
2234
2006
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heightRatio
|
|
2235
2007
|
}, {
|
|
@@ -2248,12 +2020,8 @@ const __default__ = {
|
|
|
2248
2020
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeightRatio,
|
|
2249
2021
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeightRatio,
|
|
2250
2022
|
onInput: _cache[22] || (_cache[22] = $event => paramsChanged('heightRatio'))
|
|
2251
|
-
}, null, 8
|
|
2252
|
-
/*
|
|
2253
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
2254
|
-
_: 1
|
|
2255
|
-
/* STABLE */
|
|
2256
|
-
|
|
2023
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
2024
|
+
_: 1 /* STABLE */
|
|
2257
2025
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
2258
2026
|
span: 8
|
|
2259
2027
|
}, {
|
|
@@ -2265,29 +2033,15 @@ const __default__ = {
|
|
|
2265
2033
|
step: 0.1,
|
|
2266
2034
|
onInput: _cache[24] || (_cache[24] = $event => paramsChanged('heightRatio')),
|
|
2267
2035
|
"controls-position": "right"
|
|
2268
|
-
}, null, 8
|
|
2269
|
-
/*
|
|
2270
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
2271
|
-
_: 1
|
|
2272
|
-
/* STABLE */
|
|
2273
|
-
|
|
2036
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
2037
|
+
_: 1 /* STABLE */
|
|
2274
2038
|
})]),
|
|
2275
|
-
_: 1
|
|
2276
|
-
/* STABLE */
|
|
2277
|
-
|
|
2039
|
+
_: 1 /* STABLE */
|
|
2278
2040
|
})]),
|
|
2279
|
-
_: 1
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
/* PROPS */
|
|
2284
|
-
, ["label"])]),
|
|
2285
|
-
_: 1
|
|
2286
|
-
/* STABLE */
|
|
2287
|
-
|
|
2288
|
-
}, 512
|
|
2289
|
-
/* NEED_PATCH */
|
|
2290
|
-
), [[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, {
|
|
2041
|
+
_: 1 /* STABLE */
|
|
2042
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2043
|
+
_: 1 /* STABLE */
|
|
2044
|
+
}, 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
2045
|
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, {
|
|
2292
2046
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).isShow
|
|
2293
2047
|
}, {
|
|
@@ -2305,26 +2059,14 @@ const __default__ = {
|
|
|
2305
2059
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isShow,
|
|
2306
2060
|
"onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isShow = $event),
|
|
2307
2061
|
onChange: _cache[26] || (_cache[26] = $event => paramsChanged('isShow'))
|
|
2308
|
-
}, null, 8
|
|
2309
|
-
/*
|
|
2310
|
-
, ["modelValue"])]),
|
|
2311
|
-
_: 1
|
|
2312
|
-
/* STABLE */
|
|
2313
|
-
|
|
2062
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
2063
|
+
_: 1 /* STABLE */
|
|
2314
2064
|
})]),
|
|
2315
|
-
_: 1
|
|
2316
|
-
/* STABLE */
|
|
2317
|
-
|
|
2065
|
+
_: 1 /* STABLE */
|
|
2318
2066
|
})]),
|
|
2319
|
-
_: 1
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
}, 8
|
|
2323
|
-
/* PROPS */
|
|
2324
|
-
, ["label"])]),
|
|
2325
|
-
_: 1
|
|
2326
|
-
/* STABLE */
|
|
2327
|
-
|
|
2067
|
+
_: 1 /* STABLE */
|
|
2068
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2069
|
+
_: 1 /* STABLE */
|
|
2328
2070
|
}), (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, {
|
|
2329
2071
|
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, {
|
|
2330
2072
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).isGround
|
|
@@ -2343,29 +2085,15 @@ const __default__ = {
|
|
|
2343
2085
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isGround,
|
|
2344
2086
|
"onUpdate:modelValue": _cache[27] || (_cache[27] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isGround = $event),
|
|
2345
2087
|
onChange: _cache[28] || (_cache[28] = $event => paramsChanged('isGround'))
|
|
2346
|
-
}, null, 8
|
|
2347
|
-
/*
|
|
2348
|
-
, ["modelValue"])]),
|
|
2349
|
-
_: 1
|
|
2350
|
-
/* STABLE */
|
|
2351
|
-
|
|
2088
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
2089
|
+
_: 1 /* STABLE */
|
|
2352
2090
|
})]),
|
|
2353
|
-
_: 1
|
|
2354
|
-
/* STABLE */
|
|
2355
|
-
|
|
2091
|
+
_: 1 /* STABLE */
|
|
2356
2092
|
})]),
|
|
2357
|
-
_: 1
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
/* PROPS */
|
|
2362
|
-
, ["label"])]),
|
|
2363
|
-
_: 1
|
|
2364
|
-
/* STABLE */
|
|
2365
|
-
|
|
2366
|
-
}, 512
|
|
2367
|
-
/* NEED_PATCH */
|
|
2368
|
-
), [[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, {
|
|
2093
|
+
_: 1 /* STABLE */
|
|
2094
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2095
|
+
_: 1 /* STABLE */
|
|
2096
|
+
}, 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
2097
|
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, {
|
|
2370
2098
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).isFollowingPerspective
|
|
2371
2099
|
}, {
|
|
@@ -2383,77 +2111,36 @@ const __default__ = {
|
|
|
2383
2111
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isFollowingPerspective,
|
|
2384
2112
|
"onUpdate:modelValue": _cache[29] || (_cache[29] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isFollowingPerspective = $event),
|
|
2385
2113
|
onChange: _cache[30] || (_cache[30] = $event => paramsChanged('isFollowingPerspective'))
|
|
2386
|
-
}, null, 8
|
|
2387
|
-
/*
|
|
2388
|
-
, ["modelValue"])]),
|
|
2389
|
-
_: 1
|
|
2390
|
-
/* STABLE */
|
|
2391
|
-
|
|
2114
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
2115
|
+
_: 1 /* STABLE */
|
|
2392
2116
|
})]),
|
|
2393
|
-
_: 1
|
|
2394
|
-
/* STABLE */
|
|
2395
|
-
|
|
2117
|
+
_: 1 /* STABLE */
|
|
2396
2118
|
})]),
|
|
2397
|
-
_: 1
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
/* NEED_PATCH */
|
|
2408
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType === '3D']])]),
|
|
2409
|
-
_: 1
|
|
2410
|
-
/* STABLE */
|
|
2411
|
-
|
|
2412
|
-
}, 8
|
|
2413
|
-
/* PROPS */
|
|
2414
|
-
, ["label-width"])]),
|
|
2415
|
-
_: 1
|
|
2416
|
-
/* STABLE */
|
|
2417
|
-
|
|
2418
|
-
}, 8
|
|
2419
|
-
/* PROPS */
|
|
2420
|
-
, ["title"])]),
|
|
2421
|
-
_: 1
|
|
2422
|
-
/* STABLE */
|
|
2423
|
-
|
|
2424
|
-
}, 8
|
|
2425
|
-
/* PROPS */
|
|
2426
|
-
, ["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, {
|
|
2119
|
+
_: 1 /* STABLE */
|
|
2120
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2121
|
+
_: 1 /* STABLE */
|
|
2122
|
+
}, 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']])]),
|
|
2123
|
+
_: 1 /* STABLE */
|
|
2124
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
2125
|
+
_: 1 /* STABLE */
|
|
2126
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
2127
|
+
_: 1 /* STABLE */
|
|
2128
|
+
}, 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, {
|
|
2427
2129
|
onClick: _cache[31] || (_cache[31] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
2428
2130
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heatmapLoad,
|
|
2429
2131
|
type: "primary"
|
|
2430
2132
|
}, {
|
|
2431
|
-
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
|
|
2432
|
-
/*
|
|
2433
|
-
|
|
2434
|
-
_: 1
|
|
2435
|
-
/* STABLE */
|
|
2436
|
-
|
|
2437
|
-
}, 8
|
|
2438
|
-
/* PROPS */
|
|
2439
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2133
|
+
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 */)]),
|
|
2134
|
+
_: 1 /* STABLE */
|
|
2135
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2440
2136
|
onClick: _cache[32] || (_cache[32] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
2441
2137
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
2442
2138
|
}, {
|
|
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).clearResult), 1
|
|
2444
|
-
/*
|
|
2445
|
-
|
|
2446
|
-
_: 1
|
|
2447
|
-
/* STABLE */
|
|
2448
|
-
|
|
2449
|
-
}, 8
|
|
2450
|
-
/* PROPS */
|
|
2451
|
-
, ["title"])])])], 2
|
|
2452
|
-
/* CLASS */
|
|
2453
|
-
);
|
|
2139
|
+
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 */)]),
|
|
2140
|
+
_: 1 /* STABLE */
|
|
2141
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
2454
2142
|
};
|
|
2455
2143
|
}
|
|
2456
|
-
|
|
2457
2144
|
}));
|
|
2458
2145
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/Heatmap3d.vue?vue&type=script&setup=true&lang=js
|
|
2459
2146
|
|
|
@@ -2465,10 +2152,13 @@ const Heatmap3d_exports_ = Heatmap3dvue_type_script_setup_true_lang_js;
|
|
|
2465
2152
|
|
|
2466
2153
|
/* harmony default export */ var Heatmap3d = (Heatmap3d_exports_);
|
|
2467
2154
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
2468
|
-
var init_js_ = __webpack_require__(
|
|
2155
|
+
var init_js_ = __webpack_require__(455);
|
|
2469
2156
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
2470
2157
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/index.js
|
|
2471
|
-
|
|
2158
|
+
/*
|
|
2159
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
2160
|
+
* All rights reserved.
|
|
2161
|
+
*/
|
|
2472
2162
|
|
|
2473
2163
|
|
|
2474
2164
|
|
|
@@ -2477,8 +2167,6 @@ Heatmap3d.install = (Vue, opts) => {
|
|
|
2477
2167
|
Vue.component(Heatmap3d.name, Heatmap3d);
|
|
2478
2168
|
};
|
|
2479
2169
|
|
|
2480
|
-
|
|
2481
|
-
}();
|
|
2482
2170
|
/******/ return __webpack_exports__;
|
|
2483
2171
|
/******/ })()
|
|
2484
2172
|
;
|