@kq_npm/client3d_webgl_vue 4.0.0-beta → 4.0.1-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +149 -10
- package/aspectanalysis/index.js +8 -7
- package/baseterraingallery/index.js +8 -7
- package/boxclip/index.js +9 -7
- package/clientPrint/index.js +6 -4
- package/comparemap/index.js +11 -9
- package/compass/index.js +4 -4
- package/excavatefillanalysis/index.js +8 -7
- package/fixedzoomin/index.js +4 -4
- package/fixedzoomout/index.js +4 -4
- package/flight/index.js +10 -9
- package/floodanalysis/index.js +7 -6
- package/gpuspatialquery/index.js +8 -7
- package/hawkeye/index.js +8 -7
- package/headertemp/index.js +5 -4
- package/index.js +567 -189
- package/isolineanalysis/index.js +7 -6
- package/measure/index.js +15 -12
- package/modelselect/index.js +145 -9
- package/package.json +1 -1
- package/particleeffect/index.js +142 -6
- package/planeclip/index.js +8 -7
- package/profileanalysis/index.js +8 -7
- package/resetview/index.js +4 -4
- package/roller/index.js +8 -7
- package/scenceview/index.js +728 -291
- package/scenceview/style/scenceview.css +1 -1
- package/screenshot/index.js +8 -7
- package/shadowanalysis/index.js +146 -9
- package/sightlineanalysis/index.js +8 -6
- package/skylineanalysis/index.js +8 -7
- package/slopeanalysis/index.js +7 -6
- package/statusbar/index.js +4 -4
- package/style.css +1 -1
- package/terrainoperation/index.js +145 -9
- package/underground/index.js +8 -7
- package/viewshedanalysis/index.js +5 -4
- package/weathereffect/index.js +142 -6
package/isolineanalysis/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 8143:
|
|
6
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
|
|
8
8
|
|
|
@@ -190,7 +190,7 @@ var defineProperty = __webpack_require__(8270);
|
|
|
190
190
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
191
191
|
var const_image_ = __webpack_require__(9702);
|
|
192
192
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
193
|
-
var message = __webpack_require__(
|
|
193
|
+
var message = __webpack_require__(8143);
|
|
194
194
|
;// CONCATENATED MODULE: ./src/webgl/isolineanalysis/IsolineAnalysisViewModel.js
|
|
195
195
|
|
|
196
196
|
//等值线分析逻辑类
|
|
@@ -539,7 +539,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
539
539
|
var util_ = __webpack_require__(9519);
|
|
540
540
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
541
541
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
542
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/isolineanalysis/IsolineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
542
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/isolineanalysis/IsolineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
543
543
|
|
|
544
544
|
const _hoisted_1 = {
|
|
545
545
|
class: "kq3d-isoline-analysis-box"
|
|
@@ -660,9 +660,10 @@ const __default__ = {
|
|
|
660
660
|
}
|
|
661
661
|
},
|
|
662
662
|
|
|
663
|
-
setup(__props, {
|
|
664
|
-
|
|
665
|
-
|
|
663
|
+
setup(__props, _ref) {
|
|
664
|
+
let {
|
|
665
|
+
expose
|
|
666
|
+
} = _ref;
|
|
666
667
|
const props = __props;
|
|
667
668
|
const {
|
|
668
669
|
proxy
|
package/measure/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 8143:
|
|
6
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
|
|
8
8
|
|
|
@@ -29,15 +29,15 @@ es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
|
29
29
|
|
|
30
30
|
/***/ }),
|
|
31
31
|
|
|
32
|
-
/***/
|
|
32
|
+
/***/ 4786:
|
|
33
33
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
34
34
|
|
|
35
35
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36
36
|
/* harmony export */ "Z": function() { return /* binding */ MeasureViewModel; }
|
|
37
37
|
/* harmony export */ });
|
|
38
38
|
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
39
|
+
//测量操作类
|
|
39
40
|
|
|
40
|
-
//测量操作类
|
|
41
41
|
class MeasureViewModel {
|
|
42
42
|
//测量三维对象
|
|
43
43
|
//测量事件
|
|
@@ -49,9 +49,9 @@ class MeasureViewModel {
|
|
|
49
49
|
|
|
50
50
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "measureEvent", null);
|
|
51
51
|
|
|
52
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "activeEvent", null);
|
|
52
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "activeEvent", null); //开启深度检测
|
|
53
|
+
|
|
53
54
|
|
|
54
|
-
//开启深度检测
|
|
55
55
|
viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
56
56
|
this._measureHandler = new Cesium.Kq3dMeasureHandler(viewer);
|
|
57
57
|
this._viewer = viewer;
|
|
@@ -342,14 +342,14 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
342
342
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
343
343
|
var gis_utils_ = __webpack_require__(826);
|
|
344
344
|
// EXTERNAL MODULE: ./src/webgl/measure/MeasureViewModel.js
|
|
345
|
-
var MeasureViewModel = __webpack_require__(
|
|
345
|
+
var MeasureViewModel = __webpack_require__(4786);
|
|
346
346
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
347
347
|
var util_ = __webpack_require__(9519);
|
|
348
348
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
349
|
-
var message = __webpack_require__(
|
|
349
|
+
var message = __webpack_require__(8143);
|
|
350
350
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
351
351
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
352
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
352
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
353
353
|
|
|
354
354
|
const _hoisted_1 = {
|
|
355
355
|
class: "kq-measure3d-box"
|
|
@@ -472,6 +472,8 @@ const __default__ = {
|
|
|
472
472
|
};
|
|
473
473
|
/* harmony default export */ var Measurevue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
474
474
|
props: {
|
|
475
|
+
//指定组件绑定的viewer对象的div的id
|
|
476
|
+
target: String,
|
|
475
477
|
// 是否显示阴影效果
|
|
476
478
|
showShadow: {
|
|
477
479
|
type: Boolean,
|
|
@@ -508,9 +510,10 @@ const __default__ = {
|
|
|
508
510
|
}
|
|
509
511
|
},
|
|
510
512
|
|
|
511
|
-
setup(__props, {
|
|
512
|
-
|
|
513
|
-
|
|
513
|
+
setup(__props, _ref) {
|
|
514
|
+
let {
|
|
515
|
+
expose
|
|
516
|
+
} = _ref;
|
|
514
517
|
const props = __props;
|
|
515
518
|
let measureType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 测量类型
|
|
516
519
|
|
|
@@ -567,7 +570,7 @@ const __default__ = {
|
|
|
567
570
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
568
571
|
watchCreateHeaderTemp();
|
|
569
572
|
});
|
|
570
|
-
gis_utils_.utils.getWebMap(
|
|
573
|
+
gis_utils_.utils.getWebMap(props.target, scenceView => {
|
|
571
574
|
if (scenceView) {
|
|
572
575
|
viewModel = new MeasureViewModel/* default */.Z(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
573
576
|
|
package/modelselect/index.js
CHANGED
|
@@ -1,10 +1,100 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
2
|
/******/ var __webpack_modules__ = ({
|
|
4
3
|
|
|
5
|
-
/***/
|
|
4
|
+
/***/ 1283:
|
|
5
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6
|
+
|
|
7
|
+
__webpack_require__(4271);
|
|
8
|
+
|
|
9
|
+
/*global window, global*/
|
|
10
|
+
var util = __webpack_require__(6464);
|
|
11
|
+
|
|
12
|
+
var assert = __webpack_require__(9084);
|
|
13
|
+
|
|
14
|
+
function now() {
|
|
15
|
+
return new Date().getTime();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var slice = Array.prototype.slice;
|
|
19
|
+
var console;
|
|
20
|
+
var times = {};
|
|
21
|
+
|
|
22
|
+
if (typeof __webpack_require__.g !== "undefined" && __webpack_require__.g.console) {
|
|
23
|
+
console = __webpack_require__.g.console;
|
|
24
|
+
} else if (typeof window !== "undefined" && window.console) {
|
|
25
|
+
console = window.console;
|
|
26
|
+
} else {
|
|
27
|
+
console = {};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var functions = [[log, "log"], [info, "info"], [warn, "warn"], [error, "error"], [time, "time"], [timeEnd, "timeEnd"], [trace, "trace"], [dir, "dir"], [consoleAssert, "assert"]];
|
|
31
|
+
|
|
32
|
+
for (var i = 0; i < functions.length; i++) {
|
|
33
|
+
var tuple = functions[i];
|
|
34
|
+
var f = tuple[0];
|
|
35
|
+
var name = tuple[1];
|
|
36
|
+
|
|
37
|
+
if (!console[name]) {
|
|
38
|
+
console[name] = f;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
module.exports = console;
|
|
43
|
+
|
|
44
|
+
function log() {}
|
|
45
|
+
|
|
46
|
+
function info() {
|
|
47
|
+
console.log.apply(console, arguments);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function warn() {
|
|
51
|
+
console.log.apply(console, arguments);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function error() {
|
|
55
|
+
console.warn.apply(console, arguments);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function time(label) {
|
|
59
|
+
times[label] = now();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function timeEnd(label) {
|
|
63
|
+
var time = times[label];
|
|
64
|
+
|
|
65
|
+
if (!time) {
|
|
66
|
+
throw new Error("No such label: " + label);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
delete times[label];
|
|
70
|
+
var duration = now() - time;
|
|
71
|
+
console.log(label + ": " + duration + "ms");
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function trace() {
|
|
75
|
+
var err = new Error();
|
|
76
|
+
err.name = "Trace";
|
|
77
|
+
err.message = util.format.apply(null, arguments);
|
|
78
|
+
console.error(err.stack);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function dir(object) {
|
|
82
|
+
console.log(util.inspect(object) + "\n");
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function consoleAssert(expression) {
|
|
86
|
+
if (!expression) {
|
|
87
|
+
var arr = slice.call(arguments, 1);
|
|
88
|
+
assert.ok(false, util.format.apply(null, arr));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/***/ }),
|
|
93
|
+
|
|
94
|
+
/***/ 8143:
|
|
6
95
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
96
|
|
|
97
|
+
"use strict";
|
|
8
98
|
|
|
9
99
|
// EXPORTS
|
|
10
100
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -32,13 +122,39 @@ es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
|
32
122
|
/***/ 348:
|
|
33
123
|
/***/ (function(module) {
|
|
34
124
|
|
|
125
|
+
"use strict";
|
|
35
126
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
36
127
|
|
|
37
128
|
/***/ }),
|
|
38
129
|
|
|
130
|
+
/***/ 9084:
|
|
131
|
+
/***/ (function(module) {
|
|
132
|
+
|
|
133
|
+
"use strict";
|
|
134
|
+
module.exports = require("assert");
|
|
135
|
+
|
|
136
|
+
/***/ }),
|
|
137
|
+
|
|
138
|
+
/***/ 4271:
|
|
139
|
+
/***/ (function(module) {
|
|
140
|
+
|
|
141
|
+
"use strict";
|
|
142
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
143
|
+
|
|
144
|
+
/***/ }),
|
|
145
|
+
|
|
146
|
+
/***/ 6464:
|
|
147
|
+
/***/ (function(module) {
|
|
148
|
+
|
|
149
|
+
"use strict";
|
|
150
|
+
module.exports = require("util");
|
|
151
|
+
|
|
152
|
+
/***/ }),
|
|
153
|
+
|
|
39
154
|
/***/ 7080:
|
|
40
155
|
/***/ (function(module) {
|
|
41
156
|
|
|
157
|
+
"use strict";
|
|
42
158
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
43
159
|
|
|
44
160
|
/***/ }),
|
|
@@ -46,6 +162,7 @@ module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
|
46
162
|
/***/ 826:
|
|
47
163
|
/***/ (function(module) {
|
|
48
164
|
|
|
165
|
+
"use strict";
|
|
49
166
|
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
50
167
|
|
|
51
168
|
/***/ }),
|
|
@@ -53,6 +170,7 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
53
170
|
/***/ 9519:
|
|
54
171
|
/***/ (function(module) {
|
|
55
172
|
|
|
173
|
+
"use strict";
|
|
56
174
|
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
57
175
|
|
|
58
176
|
/***/ }),
|
|
@@ -60,6 +178,7 @@ module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
|
60
178
|
/***/ 5406:
|
|
61
179
|
/***/ (function(module) {
|
|
62
180
|
|
|
181
|
+
"use strict";
|
|
63
182
|
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
64
183
|
|
|
65
184
|
/***/ }),
|
|
@@ -67,6 +186,7 @@ module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
|
67
186
|
/***/ 637:
|
|
68
187
|
/***/ (function(module) {
|
|
69
188
|
|
|
189
|
+
"use strict";
|
|
70
190
|
module.exports = require("vue");
|
|
71
191
|
|
|
72
192
|
/***/ }),
|
|
@@ -74,6 +194,7 @@ module.exports = require("vue");
|
|
|
74
194
|
/***/ 8270:
|
|
75
195
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
76
196
|
|
|
197
|
+
"use strict";
|
|
77
198
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
78
199
|
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
79
200
|
/* harmony export */ });
|
|
@@ -145,6 +266,18 @@ function _defineProperty(obj, key, value) {
|
|
|
145
266
|
/******/ };
|
|
146
267
|
/******/ }();
|
|
147
268
|
/******/
|
|
269
|
+
/******/ /* webpack/runtime/global */
|
|
270
|
+
/******/ !function() {
|
|
271
|
+
/******/ __webpack_require__.g = (function() {
|
|
272
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
273
|
+
/******/ try {
|
|
274
|
+
/******/ return this || new Function('return this')();
|
|
275
|
+
/******/ } catch (e) {
|
|
276
|
+
/******/ if (typeof window === 'object') return window;
|
|
277
|
+
/******/ }
|
|
278
|
+
/******/ })();
|
|
279
|
+
/******/ }();
|
|
280
|
+
/******/
|
|
148
281
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
149
282
|
/******/ !function() {
|
|
150
283
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -163,8 +296,9 @@ function _defineProperty(obj, key, value) {
|
|
|
163
296
|
/******/
|
|
164
297
|
/************************************************************************/
|
|
165
298
|
var __webpack_exports__ = {};
|
|
166
|
-
// This entry need to be wrapped in an IIFE because it need to be
|
|
299
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
167
300
|
!function() {
|
|
301
|
+
"use strict";
|
|
168
302
|
// ESM COMPAT FLAG
|
|
169
303
|
__webpack_require__.r(__webpack_exports__);
|
|
170
304
|
|
|
@@ -181,10 +315,11 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
181
315
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
182
316
|
var defineProperty = __webpack_require__(8270);
|
|
183
317
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
184
|
-
var message = __webpack_require__(
|
|
318
|
+
var message = __webpack_require__(8143);
|
|
185
319
|
;// CONCATENATED MODULE: ./src/webgl/modelselect/ModelSelectViewModel.js
|
|
320
|
+
/* provided dependency */ var console = __webpack_require__(1283);
|
|
321
|
+
//模型拾取逻辑类
|
|
186
322
|
|
|
187
|
-
//模型拾取逻辑类
|
|
188
323
|
|
|
189
324
|
class ModelSelectViewModel {
|
|
190
325
|
//三维viewer对象
|
|
@@ -306,7 +441,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
306
441
|
var util_ = __webpack_require__(9519);
|
|
307
442
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
308
443
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
309
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
|
|
444
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
|
|
310
445
|
|
|
311
446
|
const _hoisted_1 = {
|
|
312
447
|
class: "title"
|
|
@@ -380,9 +515,10 @@ const __default__ = {
|
|
|
380
515
|
}
|
|
381
516
|
},
|
|
382
517
|
|
|
383
|
-
setup(__props, {
|
|
384
|
-
|
|
385
|
-
|
|
518
|
+
setup(__props, _ref) {
|
|
519
|
+
let {
|
|
520
|
+
expose
|
|
521
|
+
} = _ref;
|
|
386
522
|
const props = __props;
|
|
387
523
|
let layerNameTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 属性值
|
|
388
524
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.0.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.0.1-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","html2canvas":"^1.4.1","xe-utils":"^3.5.4"}}
|
package/particleeffect/index.js
CHANGED
|
@@ -1,17 +1,132 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
2
|
/******/ var __webpack_modules__ = ({
|
|
4
3
|
|
|
4
|
+
/***/ 1283:
|
|
5
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6
|
+
|
|
7
|
+
__webpack_require__(4271);
|
|
8
|
+
|
|
9
|
+
/*global window, global*/
|
|
10
|
+
var util = __webpack_require__(6464);
|
|
11
|
+
|
|
12
|
+
var assert = __webpack_require__(9084);
|
|
13
|
+
|
|
14
|
+
function now() {
|
|
15
|
+
return new Date().getTime();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var slice = Array.prototype.slice;
|
|
19
|
+
var console;
|
|
20
|
+
var times = {};
|
|
21
|
+
|
|
22
|
+
if (typeof __webpack_require__.g !== "undefined" && __webpack_require__.g.console) {
|
|
23
|
+
console = __webpack_require__.g.console;
|
|
24
|
+
} else if (typeof window !== "undefined" && window.console) {
|
|
25
|
+
console = window.console;
|
|
26
|
+
} else {
|
|
27
|
+
console = {};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var functions = [[log, "log"], [info, "info"], [warn, "warn"], [error, "error"], [time, "time"], [timeEnd, "timeEnd"], [trace, "trace"], [dir, "dir"], [consoleAssert, "assert"]];
|
|
31
|
+
|
|
32
|
+
for (var i = 0; i < functions.length; i++) {
|
|
33
|
+
var tuple = functions[i];
|
|
34
|
+
var f = tuple[0];
|
|
35
|
+
var name = tuple[1];
|
|
36
|
+
|
|
37
|
+
if (!console[name]) {
|
|
38
|
+
console[name] = f;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
module.exports = console;
|
|
43
|
+
|
|
44
|
+
function log() {}
|
|
45
|
+
|
|
46
|
+
function info() {
|
|
47
|
+
console.log.apply(console, arguments);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function warn() {
|
|
51
|
+
console.log.apply(console, arguments);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function error() {
|
|
55
|
+
console.warn.apply(console, arguments);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function time(label) {
|
|
59
|
+
times[label] = now();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function timeEnd(label) {
|
|
63
|
+
var time = times[label];
|
|
64
|
+
|
|
65
|
+
if (!time) {
|
|
66
|
+
throw new Error("No such label: " + label);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
delete times[label];
|
|
70
|
+
var duration = now() - time;
|
|
71
|
+
console.log(label + ": " + duration + "ms");
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function trace() {
|
|
75
|
+
var err = new Error();
|
|
76
|
+
err.name = "Trace";
|
|
77
|
+
err.message = util.format.apply(null, arguments);
|
|
78
|
+
console.error(err.stack);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function dir(object) {
|
|
82
|
+
console.log(util.inspect(object) + "\n");
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function consoleAssert(expression) {
|
|
86
|
+
if (!expression) {
|
|
87
|
+
var arr = slice.call(arguments, 1);
|
|
88
|
+
assert.ok(false, util.format.apply(null, arr));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/***/ }),
|
|
93
|
+
|
|
5
94
|
/***/ 348:
|
|
6
95
|
/***/ (function(module) {
|
|
7
96
|
|
|
97
|
+
"use strict";
|
|
8
98
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
9
99
|
|
|
10
100
|
/***/ }),
|
|
11
101
|
|
|
102
|
+
/***/ 9084:
|
|
103
|
+
/***/ (function(module) {
|
|
104
|
+
|
|
105
|
+
"use strict";
|
|
106
|
+
module.exports = require("assert");
|
|
107
|
+
|
|
108
|
+
/***/ }),
|
|
109
|
+
|
|
110
|
+
/***/ 4271:
|
|
111
|
+
/***/ (function(module) {
|
|
112
|
+
|
|
113
|
+
"use strict";
|
|
114
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
115
|
+
|
|
116
|
+
/***/ }),
|
|
117
|
+
|
|
118
|
+
/***/ 6464:
|
|
119
|
+
/***/ (function(module) {
|
|
120
|
+
|
|
121
|
+
"use strict";
|
|
122
|
+
module.exports = require("util");
|
|
123
|
+
|
|
124
|
+
/***/ }),
|
|
125
|
+
|
|
12
126
|
/***/ 7080:
|
|
13
127
|
/***/ (function(module) {
|
|
14
128
|
|
|
129
|
+
"use strict";
|
|
15
130
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
16
131
|
|
|
17
132
|
/***/ }),
|
|
@@ -19,6 +134,7 @@ module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
|
19
134
|
/***/ 9702:
|
|
20
135
|
/***/ (function(module) {
|
|
21
136
|
|
|
137
|
+
"use strict";
|
|
22
138
|
module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
23
139
|
|
|
24
140
|
/***/ }),
|
|
@@ -26,6 +142,7 @@ module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
|
26
142
|
/***/ 826:
|
|
27
143
|
/***/ (function(module) {
|
|
28
144
|
|
|
145
|
+
"use strict";
|
|
29
146
|
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
30
147
|
|
|
31
148
|
/***/ }),
|
|
@@ -33,6 +150,7 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
33
150
|
/***/ 9519:
|
|
34
151
|
/***/ (function(module) {
|
|
35
152
|
|
|
153
|
+
"use strict";
|
|
36
154
|
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
37
155
|
|
|
38
156
|
/***/ }),
|
|
@@ -40,6 +158,7 @@ module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
|
40
158
|
/***/ 5406:
|
|
41
159
|
/***/ (function(module) {
|
|
42
160
|
|
|
161
|
+
"use strict";
|
|
43
162
|
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
44
163
|
|
|
45
164
|
/***/ }),
|
|
@@ -47,6 +166,7 @@ module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
|
47
166
|
/***/ 637:
|
|
48
167
|
/***/ (function(module) {
|
|
49
168
|
|
|
169
|
+
"use strict";
|
|
50
170
|
module.exports = require("vue");
|
|
51
171
|
|
|
52
172
|
/***/ }),
|
|
@@ -54,6 +174,7 @@ module.exports = require("vue");
|
|
|
54
174
|
/***/ 8270:
|
|
55
175
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
56
176
|
|
|
177
|
+
"use strict";
|
|
57
178
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
58
179
|
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
59
180
|
/* harmony export */ });
|
|
@@ -125,6 +246,18 @@ function _defineProperty(obj, key, value) {
|
|
|
125
246
|
/******/ };
|
|
126
247
|
/******/ }();
|
|
127
248
|
/******/
|
|
249
|
+
/******/ /* webpack/runtime/global */
|
|
250
|
+
/******/ !function() {
|
|
251
|
+
/******/ __webpack_require__.g = (function() {
|
|
252
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
253
|
+
/******/ try {
|
|
254
|
+
/******/ return this || new Function('return this')();
|
|
255
|
+
/******/ } catch (e) {
|
|
256
|
+
/******/ if (typeof window === 'object') return window;
|
|
257
|
+
/******/ }
|
|
258
|
+
/******/ })();
|
|
259
|
+
/******/ }();
|
|
260
|
+
/******/
|
|
128
261
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
129
262
|
/******/ !function() {
|
|
130
263
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -143,8 +276,9 @@ function _defineProperty(obj, key, value) {
|
|
|
143
276
|
/******/
|
|
144
277
|
/************************************************************************/
|
|
145
278
|
var __webpack_exports__ = {};
|
|
146
|
-
// This entry need to be wrapped in an IIFE because it need to be
|
|
279
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
147
280
|
!function() {
|
|
281
|
+
"use strict";
|
|
148
282
|
// ESM COMPAT FLAG
|
|
149
283
|
__webpack_require__.r(__webpack_exports__);
|
|
150
284
|
|
|
@@ -165,6 +299,7 @@ var defineProperty = __webpack_require__(8270);
|
|
|
165
299
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
166
300
|
var const_image_ = __webpack_require__(9702);
|
|
167
301
|
;// CONCATENATED MODULE: ./src/webgl/particleeffect/ParticleEffectViewModel.js
|
|
302
|
+
/* provided dependency */ var console = __webpack_require__(1283);
|
|
168
303
|
|
|
169
304
|
|
|
170
305
|
let _gravityScratch = null;
|
|
@@ -396,7 +531,7 @@ class ParticleEffectViewModel {
|
|
|
396
531
|
var util_ = __webpack_require__(9519);
|
|
397
532
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
398
533
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
399
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
|
|
534
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
|
|
400
535
|
|
|
401
536
|
const _hoisted_1 = {
|
|
402
537
|
class: "kq3d-particle-effect-box"
|
|
@@ -455,9 +590,10 @@ const __default__ = {
|
|
|
455
590
|
}
|
|
456
591
|
},
|
|
457
592
|
|
|
458
|
-
setup(__props, {
|
|
459
|
-
|
|
460
|
-
|
|
593
|
+
setup(__props, _ref) {
|
|
594
|
+
let {
|
|
595
|
+
expose
|
|
596
|
+
} = _ref;
|
|
461
597
|
const props = __props;
|
|
462
598
|
const {
|
|
463
599
|
proxy
|
package/planeclip/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 8143:
|
|
6
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
|
|
8
8
|
|
|
@@ -181,10 +181,10 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
181
181
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
182
182
|
var defineProperty = __webpack_require__(8270);
|
|
183
183
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
184
|
-
var message = __webpack_require__(
|
|
184
|
+
var message = __webpack_require__(8143);
|
|
185
185
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
|
|
186
|
+
//平面裁剪逻辑类
|
|
186
187
|
|
|
187
|
-
//平面裁剪逻辑类
|
|
188
188
|
|
|
189
189
|
class PlaneClipViewModel {
|
|
190
190
|
//三维viewer对象
|
|
@@ -368,7 +368,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
368
368
|
var util_ = __webpack_require__(9519);
|
|
369
369
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
370
370
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
371
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
371
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
372
372
|
|
|
373
373
|
const _hoisted_1 = {
|
|
374
374
|
class: "kq3d-plane-clip-box"
|
|
@@ -436,9 +436,10 @@ const __default__ = {
|
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
438
|
|
|
439
|
-
setup(__props, {
|
|
440
|
-
|
|
441
|
-
|
|
439
|
+
setup(__props, _ref) {
|
|
440
|
+
let {
|
|
441
|
+
expose
|
|
442
|
+
} = _ref;
|
|
442
443
|
const props = __props;
|
|
443
444
|
const {
|
|
444
445
|
proxy
|