@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-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 +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +163 -229
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +291 -472
- package/clientPrint/index.js +368 -906
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +185 -255
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +298 -402
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +248 -385
- package/geologicalbodyanalysis/index.js +206 -288
- package/gpuspatialquery/index.js +243 -392
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +427 -734
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +8170 -17000
- package/isolineanalysis/index.js +557 -1233
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +341 -495
- package/modelFlat/index.js +261 -259
- package/modelexcavate/index.js +214 -266
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +183 -175
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +240 -330
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +274 -572
- package/sceneadvancedtoimage/index.js +1057 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9208 -17907
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +259 -437
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +204 -341
- package/slopeanalysis/index.js +274 -435
- package/slopeaspectanalysis/index.js +307 -524
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +222 -271
- package/terrainprofileanalysis/index.js +166 -173
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/scenetohdimage/index.js
CHANGED
|
@@ -7,90 +7,84 @@
|
|
|
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
|
-
/***/
|
|
15
|
+
/***/ 174:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */
|
|
19
|
+
/* harmony export */ A: function() { return /* binding */ SceneToHDImageViewModel; }
|
|
20
20
|
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
21
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6913);
|
|
22
22
|
|
|
23
|
+
/*
|
|
24
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
25
|
+
* All rights reserved.
|
|
26
|
+
*/
|
|
23
27
|
|
|
24
28
|
/**
|
|
25
29
|
* 场景高清出图
|
|
26
30
|
**/
|
|
27
31
|
class SceneToHDImageViewModel {
|
|
28
32
|
// 输出图片区域
|
|
29
|
-
constructor(
|
|
30
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .
|
|
31
|
-
|
|
32
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_exportPictureRegion", null);
|
|
37
|
-
|
|
38
|
-
this._viewer = viewer;
|
|
33
|
+
constructor(scenceView, options) {
|
|
34
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_viewer", null);
|
|
35
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_options", null);
|
|
36
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_canvasToImage", null);
|
|
37
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_exportPictureRegion", null);
|
|
38
|
+
this._viewer = scenceView._viewer;
|
|
39
39
|
this._options = options;
|
|
40
40
|
this._viewer.enabledFXAA = true;
|
|
41
41
|
this._exportPictureRegion = document.createElement("div");
|
|
42
42
|
this._exportPictureRegion.class = "export-picture-region";
|
|
43
43
|
this._exportPictureRegion.id = "exportPictureRegion";
|
|
44
44
|
document.getElementById(this._viewer._container.id).parentNode.insertBefore(this._exportPictureRegion, null);
|
|
45
|
-
document.getElementById(this._viewer._container.id).classList.add('scene-to-hd-image-viewer');
|
|
46
|
-
|
|
45
|
+
document.getElementById(this._viewer._container.id).classList.add('scene-to-hd-image-viewer');
|
|
46
|
+
//声明场景出图类
|
|
47
47
|
this._canvasToImage = new Cesium.Kq3dCanvasToImage(this._viewer._container.id, {
|
|
48
48
|
viewer: this._viewer,
|
|
49
49
|
canvas: this._viewer.scene.canvas
|
|
50
50
|
});
|
|
51
51
|
this.resizeExportRegionSize();
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
}
|
|
53
|
+
// 重置输出图片尺寸
|
|
55
54
|
resizeExportRegionSize() {
|
|
56
55
|
document.getElementById('exportPictureRegion').style.width = Number(this._options.imgWidth) * Number(this._options.pantographRatio) + 'px';
|
|
57
56
|
document.getElementById('exportPictureRegion').style.height = Number(this._options.imgHeight) * Number(this._options.pantographRatio) + 'px';
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
}
|
|
58
|
+
// 出图
|
|
61
59
|
sceneToImages() {
|
|
62
60
|
var width = Number(this._options.imgWidth),
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
height = Number(this._options.imgHeight),
|
|
62
|
+
resolutionWidth = Number(this._options.screenWidth),
|
|
63
|
+
resolutionHeight = Number(this._options.screenHeight);
|
|
66
64
|
|
|
65
|
+
//设置宽、高、图片类型
|
|
67
66
|
var options = {
|
|
68
67
|
width: width,
|
|
69
68
|
//图片宽度
|
|
70
69
|
height: height,
|
|
71
70
|
//图片高度
|
|
72
71
|
type: this._options.imgFormat //图片类型
|
|
73
|
-
|
|
74
72
|
};
|
|
75
|
-
|
|
76
73
|
if (width == resolutionWidth && height == resolutionHeight) {
|
|
77
74
|
this._canvasToImage.saveAsimages(this._viewer.scene.canvas, options);
|
|
78
75
|
} else {
|
|
79
76
|
this._viewer.render();
|
|
80
|
-
|
|
81
77
|
var startX = (resolutionWidth - width) / 2,
|
|
82
|
-
|
|
78
|
+
startY = (resolutionHeight - height) / 2;
|
|
83
79
|
var canvas = document.createElement('canvas');
|
|
84
80
|
canvas.width = width;
|
|
85
81
|
canvas.height = height;
|
|
86
82
|
var newCtx = canvas.getContext("2d");
|
|
87
83
|
newCtx.drawImage(this._viewer.canvas, startX, startY, width, height, 0, 0, width, height);
|
|
88
|
-
|
|
89
84
|
this._canvasToImage.saveAsimages(canvas, options);
|
|
90
85
|
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
}
|
|
87
|
+
// 重新设置场景尺寸
|
|
94
88
|
scaleCesiumContainer() {
|
|
95
89
|
// var bWidth = document.getElementById(this._viewer._container.id).parentNode.clientWidth,
|
|
96
90
|
// bHeight = document.getElementById(this._viewer._container.id).parentNode.clientHeight;
|
|
@@ -100,96 +94,125 @@ class SceneToHDImageViewModel {
|
|
|
100
94
|
// hRatio = bHeight / height;
|
|
101
95
|
// var scale = Math.min(wRatio, hRatio);
|
|
102
96
|
document.getElementById(this._viewer._container.id).style.width = Number(this._options.screenWidth) + 'px';
|
|
103
|
-
document.getElementById(this._viewer._container.id).style.height = Number(this._options.screenHeight) + 'px';
|
|
97
|
+
document.getElementById(this._viewer._container.id).style.height = Number(this._options.screenHeight) + 'px';
|
|
98
|
+
// document.getElementById(this._viewer._container.id).style.transform = `translate(-50%,-50%) scale(${scale > 1 ? 1 : scale})`;
|
|
104
99
|
// this._options.pantographRatio = scale > 1 ? 1 : scale;
|
|
105
100
|
// if (call) call(this._options.pantographRatio)
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
}
|
|
102
|
+
// 切换显示区域
|
|
109
103
|
changeDisplayArea() {
|
|
110
104
|
document.getElementById('exportPictureRegion').style.display = this._options.displayArea ? 'block' : 'none';
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
105
|
+
}
|
|
106
|
+
// 调整出图范围尺寸
|
|
114
107
|
changPantographRatio() {
|
|
115
108
|
this._viewer.container.style.transform = `translate(-50%,-50%) scale(${this._options.pantographRatio})`;
|
|
116
109
|
this.resizeExportRegionSize();
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
110
|
+
}
|
|
111
|
+
// 销毁
|
|
120
112
|
destroy() {
|
|
121
113
|
document.getElementById(this._viewer._container.id).classList.remove('scene-to-hd-image-viewer');
|
|
122
114
|
document.getElementById(this._viewer._container.id).removeAttribute('style');
|
|
123
115
|
document.getElementById('exportPictureRegion').remove();
|
|
124
116
|
}
|
|
125
|
-
|
|
126
117
|
}
|
|
127
118
|
|
|
128
119
|
/***/ }),
|
|
129
120
|
|
|
130
|
-
/***/
|
|
121
|
+
/***/ 5698:
|
|
131
122
|
/***/ (function(module) {
|
|
132
123
|
|
|
133
124
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
134
125
|
|
|
135
126
|
/***/ }),
|
|
136
127
|
|
|
137
|
-
/***/
|
|
128
|
+
/***/ 3579:
|
|
138
129
|
/***/ (function(module) {
|
|
139
130
|
|
|
140
131
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
141
132
|
|
|
142
133
|
/***/ }),
|
|
143
134
|
|
|
144
|
-
/***/
|
|
135
|
+
/***/ 64:
|
|
145
136
|
/***/ (function(module) {
|
|
146
137
|
|
|
147
|
-
module.exports =
|
|
138
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
148
139
|
|
|
149
140
|
/***/ }),
|
|
150
141
|
|
|
151
|
-
/***/
|
|
142
|
+
/***/ 2975:
|
|
152
143
|
/***/ (function(module) {
|
|
153
144
|
|
|
154
|
-
module.exports =
|
|
145
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
155
146
|
|
|
156
147
|
/***/ }),
|
|
157
148
|
|
|
158
|
-
/***/
|
|
149
|
+
/***/ 455:
|
|
159
150
|
/***/ (function(module) {
|
|
160
151
|
|
|
161
|
-
module.exports =
|
|
152
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
162
153
|
|
|
163
154
|
/***/ }),
|
|
164
155
|
|
|
165
|
-
/***/
|
|
156
|
+
/***/ 154:
|
|
166
157
|
/***/ (function(module) {
|
|
167
158
|
|
|
168
|
-
module.exports =
|
|
159
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
169
160
|
|
|
170
161
|
/***/ }),
|
|
171
162
|
|
|
172
|
-
/***/
|
|
163
|
+
/***/ 6913:
|
|
173
164
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
174
165
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
function
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
166
|
+
|
|
167
|
+
// EXPORTS
|
|
168
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
169
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
173
|
+
function _typeof(o) {
|
|
174
|
+
"@babel/helpers - typeof";
|
|
175
|
+
|
|
176
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
177
|
+
return typeof o;
|
|
178
|
+
} : function (o) {
|
|
179
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
180
|
+
}, _typeof(o);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
184
|
+
|
|
185
|
+
function toPrimitive(t, r) {
|
|
186
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
187
|
+
var e = t[Symbol.toPrimitive];
|
|
188
|
+
if (void 0 !== e) {
|
|
189
|
+
var i = e.call(t, r || "default");
|
|
190
|
+
if ("object" != _typeof(i)) return i;
|
|
191
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
188
192
|
}
|
|
193
|
+
return ("string" === r ? String : Number)(t);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
function toPropertyKey(t) {
|
|
200
|
+
var i = toPrimitive(t, "string");
|
|
201
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
189
205
|
|
|
190
|
-
|
|
206
|
+
function _defineProperty(e, r, t) {
|
|
207
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
208
|
+
value: t,
|
|
209
|
+
enumerable: !0,
|
|
210
|
+
configurable: !0,
|
|
211
|
+
writable: !0
|
|
212
|
+
}) : e[r] = t, e;
|
|
191
213
|
}
|
|
192
214
|
|
|
215
|
+
|
|
193
216
|
/***/ })
|
|
194
217
|
|
|
195
218
|
/******/ });
|
|
@@ -261,29 +284,27 @@ function _defineProperty(obj, key, value) {
|
|
|
261
284
|
/******/
|
|
262
285
|
/************************************************************************/
|
|
263
286
|
var __webpack_exports__ = {};
|
|
264
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
265
|
-
!function() {
|
|
266
287
|
// ESM COMPAT FLAG
|
|
267
288
|
__webpack_require__.r(__webpack_exports__);
|
|
268
289
|
|
|
269
290
|
// EXPORTS
|
|
270
291
|
__webpack_require__.d(__webpack_exports__, {
|
|
271
|
-
|
|
292
|
+
SceneToHDImageViewModel: function() { return /* reexport */ SceneToHDImageViewModel/* default */.A; },
|
|
272
293
|
"default": function() { return /* reexport */ SceneToHDImage; }
|
|
273
294
|
});
|
|
274
295
|
|
|
275
296
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
276
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
297
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
277
298
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
278
|
-
var gis_utils_ = __webpack_require__(
|
|
299
|
+
var gis_utils_ = __webpack_require__(64);
|
|
279
300
|
// EXTERNAL MODULE: ./src/webgl/scenetohdimage/SceneToHDImageViewModel.js
|
|
280
|
-
var SceneToHDImageViewModel = __webpack_require__(
|
|
301
|
+
var SceneToHDImageViewModel = __webpack_require__(174);
|
|
281
302
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
282
|
-
var client_icons_vue_ = __webpack_require__(
|
|
303
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
283
304
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
284
|
-
var util_ = __webpack_require__(
|
|
305
|
+
var util_ = __webpack_require__(2975);
|
|
285
306
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
286
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
307
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
287
308
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/scenetohdimage/SceneToHDImage.vue?vue&type=script&setup=true&lang=js
|
|
288
309
|
|
|
289
310
|
const _hoisted_1 = {
|
|
@@ -301,7 +322,7 @@ const _hoisted_2 = {
|
|
|
301
322
|
const __default__ = {
|
|
302
323
|
name: "Kq3dSceneToHDImage"
|
|
303
324
|
};
|
|
304
|
-
/* harmony default export */ var SceneToHDImagevue_type_script_setup_true_lang_js = (
|
|
325
|
+
/* harmony default export */ var SceneToHDImagevue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
305
326
|
props: {
|
|
306
327
|
// 设置参数
|
|
307
328
|
settingParams: {
|
|
@@ -312,7 +333,6 @@ const __default__ = {
|
|
|
312
333
|
type: Boolean,
|
|
313
334
|
default: true
|
|
314
335
|
},
|
|
315
|
-
|
|
316
336
|
/**
|
|
317
337
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
318
338
|
*/
|
|
@@ -342,21 +362,22 @@ const __default__ = {
|
|
|
342
362
|
default: true
|
|
343
363
|
}
|
|
344
364
|
},
|
|
345
|
-
|
|
346
365
|
setup(__props, {
|
|
347
366
|
expose: __expose
|
|
348
367
|
}) {
|
|
349
|
-
const props = __props;
|
|
350
368
|
const {
|
|
351
369
|
proxy
|
|
352
370
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
353
371
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
354
372
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
355
|
-
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("screenParameter");
|
|
356
|
-
// 分析类
|
|
373
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("screenParameter");
|
|
357
374
|
|
|
358
|
-
|
|
375
|
+
// 获取组件传参
|
|
376
|
+
const props = __props;
|
|
377
|
+
// 分析类
|
|
378
|
+
let viewModel = {};
|
|
359
379
|
|
|
380
|
+
// 参数
|
|
360
381
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
361
382
|
screenWidth: 100,
|
|
362
383
|
// 屏幕宽度
|
|
@@ -379,14 +400,13 @@ const __default__ = {
|
|
|
379
400
|
imgFormat: props.settingParams && props.settingParams.imgFormat || "jpg",
|
|
380
401
|
// 图片类型
|
|
381
402
|
pantographRatio: 1 // 缩放比
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
403
|
+
});
|
|
404
|
+
// 组件容器Ref
|
|
405
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
406
|
+
// 生成组件默认header
|
|
387
407
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
388
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
389
|
-
|
|
408
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
409
|
+
// 国际化
|
|
390
410
|
let {
|
|
391
411
|
locale,
|
|
392
412
|
messages
|
|
@@ -406,63 +426,54 @@ const __default__ = {
|
|
|
406
426
|
watchCreateHeaderTemp();
|
|
407
427
|
});
|
|
408
428
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
409
|
-
|
|
410
429
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
411
430
|
if (scenceView) {
|
|
412
431
|
// 初始化视图参数
|
|
413
432
|
intViewModelParams(scenceView._viewer._container.id);
|
|
414
|
-
viewModel = new SceneToHDImageViewModel/* default */.
|
|
433
|
+
viewModel = new SceneToHDImageViewModel/* default */.A(scenceView, formItem);
|
|
415
434
|
}
|
|
416
435
|
});
|
|
417
436
|
});
|
|
437
|
+
|
|
418
438
|
/**
|
|
419
439
|
* @description 监听header生成
|
|
420
440
|
*/
|
|
421
|
-
|
|
422
441
|
const watchCreateHeaderTemp = () => {
|
|
423
442
|
if (props.showHeaderTemp) {
|
|
424
443
|
// 生成headerTemp
|
|
425
444
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
426
445
|
}
|
|
427
|
-
};
|
|
428
|
-
|
|
429
|
-
|
|
446
|
+
};
|
|
447
|
+
// 高清出图
|
|
430
448
|
function toHDImageHander() {
|
|
431
449
|
viewModel && viewModel.sceneToImages();
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
|
|
450
|
+
}
|
|
451
|
+
// 参数改变
|
|
435
452
|
function paramsChanged(key) {
|
|
436
453
|
if (!viewModel || !viewModel._options) return;
|
|
437
454
|
viewModel._options[key] = formItem[key];
|
|
438
|
-
|
|
439
455
|
switch (key) {
|
|
440
456
|
case "displayArea":
|
|
441
457
|
viewModel.changeDisplayArea();
|
|
442
458
|
break;
|
|
443
|
-
|
|
444
459
|
case "screenWidth":
|
|
445
460
|
case "screenHeight":
|
|
446
461
|
viewModel.scaleCesiumContainer();
|
|
447
462
|
break;
|
|
448
|
-
|
|
449
463
|
case "imgWidth":
|
|
450
464
|
case "imgHeight":
|
|
451
465
|
viewModel.resizeExportRegionSize();
|
|
452
466
|
break;
|
|
453
|
-
|
|
454
467
|
case "pantographRatio":
|
|
455
468
|
viewModel.changPantographRatio();
|
|
456
469
|
break;
|
|
457
|
-
|
|
458
470
|
default:
|
|
459
471
|
break;
|
|
460
472
|
}
|
|
461
473
|
}
|
|
462
|
-
|
|
463
474
|
function intViewModelParams(id) {
|
|
464
475
|
var bodyW = 1920,
|
|
465
|
-
|
|
476
|
+
bodyH = 1024;
|
|
466
477
|
bodyW = document.getElementById(id).clientWidth;
|
|
467
478
|
bodyH = document.getElementById(id).clientHeight;
|
|
468
479
|
formItem.screenWidth = bodyW;
|
|
@@ -471,40 +482,26 @@ const __default__ = {
|
|
|
471
482
|
formItem.maxScreenHeight = bodyH;
|
|
472
483
|
formItem.imgWidth = parseInt(bodyW / 5 * 4);
|
|
473
484
|
formItem.imgHeight = parseInt(bodyH / 5 * 4);
|
|
474
|
-
}
|
|
475
|
-
|
|
485
|
+
}
|
|
476
486
|
|
|
487
|
+
// 销毁
|
|
477
488
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
478
489
|
viewModel && viewModel.destroy();
|
|
479
490
|
});
|
|
480
|
-
|
|
481
491
|
__expose({});
|
|
482
|
-
|
|
483
492
|
return (_ctx, _cache) => {
|
|
484
493
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
485
|
-
|
|
486
494
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
487
|
-
|
|
488
495
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
489
|
-
|
|
490
496
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
491
|
-
|
|
492
497
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
493
|
-
|
|
494
498
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
495
|
-
|
|
496
499
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
497
|
-
|
|
498
500
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
499
|
-
|
|
500
501
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
501
|
-
|
|
502
502
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
503
|
-
|
|
504
503
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
505
|
-
|
|
506
504
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
507
|
-
|
|
508
505
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
509
506
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-scene-to-hd-image", {
|
|
510
507
|
'kq-box-shadow': __props.showShadow
|
|
@@ -515,9 +512,7 @@ const __default__ = {
|
|
|
515
512
|
key: 0,
|
|
516
513
|
ref_key: "headerTempRef",
|
|
517
514
|
ref: headerTempRef
|
|
518
|
-
}, null, 512
|
|
519
|
-
/* NEED_PATCH */
|
|
520
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
515
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
521
516
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
|
|
522
517
|
}, {
|
|
523
518
|
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_collapse_item, {
|
|
@@ -548,12 +543,8 @@ const __default__ = {
|
|
|
548
543
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenWidth,
|
|
549
544
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenWidth,
|
|
550
545
|
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('screenWidth'))
|
|
551
|
-
}, null, 8
|
|
552
|
-
/*
|
|
553
|
-
, ["modelValue", "min", "max"])]),
|
|
554
|
-
_: 1
|
|
555
|
-
/* STABLE */
|
|
556
|
-
|
|
546
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
547
|
+
_: 1 /* STABLE */
|
|
557
548
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
558
549
|
span: 8
|
|
559
550
|
}, {
|
|
@@ -564,28 +555,15 @@ const __default__ = {
|
|
|
564
555
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenWidth,
|
|
565
556
|
step: 1,
|
|
566
557
|
"controls-position": "right",
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
/* PROPS */
|
|
571
|
-
, ["modelValue", "min", "max"])]),
|
|
572
|
-
_: 1
|
|
573
|
-
/* STABLE */
|
|
574
|
-
|
|
558
|
+
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('screenWidth'))
|
|
559
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
560
|
+
_: 1 /* STABLE */
|
|
575
561
|
})]),
|
|
576
|
-
_: 1
|
|
577
|
-
/* STABLE */
|
|
578
|
-
|
|
562
|
+
_: 1 /* STABLE */
|
|
579
563
|
})]),
|
|
580
|
-
_: 1
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
}, 8
|
|
584
|
-
/* PROPS */
|
|
585
|
-
, ["label"])]),
|
|
586
|
-
_: 1
|
|
587
|
-
/* STABLE */
|
|
588
|
-
|
|
564
|
+
_: 1 /* STABLE */
|
|
565
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
566
|
+
_: 1 /* STABLE */
|
|
589
567
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
590
568
|
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, {
|
|
591
569
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).screenHeight
|
|
@@ -600,48 +578,32 @@ const __default__ = {
|
|
|
600
578
|
}, {
|
|
601
579
|
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_slider, {
|
|
602
580
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
603
|
-
"onUpdate:modelValue": _cache[
|
|
581
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight = $event),
|
|
604
582
|
step: 1,
|
|
605
583
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenHeight,
|
|
606
584
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenHeight,
|
|
607
|
-
onInput: _cache[
|
|
608
|
-
}, null, 8
|
|
609
|
-
/*
|
|
610
|
-
, ["modelValue", "min", "max"])]),
|
|
611
|
-
_: 1
|
|
612
|
-
/* STABLE */
|
|
613
|
-
|
|
585
|
+
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('screenHeight'))
|
|
586
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
587
|
+
_: 1 /* STABLE */
|
|
614
588
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
615
589
|
span: 8
|
|
616
590
|
}, {
|
|
617
591
|
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_input_number, {
|
|
618
592
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
619
|
-
"onUpdate:modelValue": _cache[
|
|
593
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight = $event),
|
|
620
594
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenHeight,
|
|
621
595
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenHeight,
|
|
622
596
|
step: 1,
|
|
623
597
|
"controls-position": "right",
|
|
624
|
-
onInput: _cache[
|
|
625
|
-
}, null, 8
|
|
626
|
-
/*
|
|
627
|
-
, ["modelValue", "min", "max"])]),
|
|
628
|
-
_: 1
|
|
629
|
-
/* STABLE */
|
|
630
|
-
|
|
598
|
+
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('screenHeight'))
|
|
599
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
600
|
+
_: 1 /* STABLE */
|
|
631
601
|
})]),
|
|
632
|
-
_: 1
|
|
633
|
-
/* STABLE */
|
|
634
|
-
|
|
602
|
+
_: 1 /* STABLE */
|
|
635
603
|
})]),
|
|
636
|
-
_: 1
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
}, 8
|
|
640
|
-
/* PROPS */
|
|
641
|
-
, ["label"])]),
|
|
642
|
-
_: 1
|
|
643
|
-
/* STABLE */
|
|
644
|
-
|
|
604
|
+
_: 1 /* STABLE */
|
|
605
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
606
|
+
_: 1 /* STABLE */
|
|
645
607
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
646
608
|
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, {
|
|
647
609
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pantographRatio
|
|
@@ -656,48 +618,32 @@ const __default__ = {
|
|
|
656
618
|
}, {
|
|
657
619
|
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_slider, {
|
|
658
620
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).pantographRatio,
|
|
659
|
-
"onUpdate:modelValue": _cache[
|
|
621
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).pantographRatio = $event),
|
|
660
622
|
step: 0.01,
|
|
661
623
|
min: 0.01,
|
|
662
624
|
max: 1,
|
|
663
|
-
onInput: _cache[
|
|
664
|
-
}, null, 8
|
|
665
|
-
/*
|
|
666
|
-
, ["modelValue", "step", "min"])]),
|
|
667
|
-
_: 1
|
|
668
|
-
/* STABLE */
|
|
669
|
-
|
|
625
|
+
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('pantographRatio'))
|
|
626
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
627
|
+
_: 1 /* STABLE */
|
|
670
628
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
671
629
|
span: 8
|
|
672
630
|
}, {
|
|
673
631
|
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_input_number, {
|
|
674
632
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).pantographRatio,
|
|
675
|
-
"onUpdate:modelValue": _cache[
|
|
633
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).pantographRatio = $event),
|
|
676
634
|
step: 0.01,
|
|
677
635
|
min: 0.01,
|
|
678
636
|
max: 1,
|
|
679
637
|
"controls-position": "right",
|
|
680
|
-
onInput: _cache[
|
|
681
|
-
}, null, 8
|
|
682
|
-
/*
|
|
683
|
-
, ["modelValue", "step", "min"])]),
|
|
684
|
-
_: 1
|
|
685
|
-
/* STABLE */
|
|
686
|
-
|
|
638
|
+
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('pantographRatio'))
|
|
639
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
640
|
+
_: 1 /* STABLE */
|
|
687
641
|
})]),
|
|
688
|
-
_: 1
|
|
689
|
-
/* STABLE */
|
|
690
|
-
|
|
642
|
+
_: 1 /* STABLE */
|
|
691
643
|
})]),
|
|
692
|
-
_: 1
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}, 8
|
|
696
|
-
/* PROPS */
|
|
697
|
-
, ["label"])]),
|
|
698
|
-
_: 1
|
|
699
|
-
/* STABLE */
|
|
700
|
-
|
|
644
|
+
_: 1 /* STABLE */
|
|
645
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
646
|
+
_: 1 /* STABLE */
|
|
701
647
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
702
648
|
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, {
|
|
703
649
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).displayArea
|
|
@@ -713,40 +659,22 @@ const __default__ = {
|
|
|
713
659
|
}, {
|
|
714
660
|
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_switch, {
|
|
715
661
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).displayArea,
|
|
716
|
-
"onUpdate:modelValue": _cache[
|
|
662
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).displayArea = $event),
|
|
717
663
|
"controls-position": "left",
|
|
718
|
-
onChange: _cache[
|
|
719
|
-
}, null, 8
|
|
720
|
-
/*
|
|
721
|
-
, ["modelValue"])]),
|
|
722
|
-
_: 1
|
|
723
|
-
/* STABLE */
|
|
724
|
-
|
|
664
|
+
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('displayArea'))
|
|
665
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
666
|
+
_: 1 /* STABLE */
|
|
725
667
|
})]),
|
|
726
|
-
_: 1
|
|
727
|
-
/* STABLE */
|
|
728
|
-
|
|
668
|
+
_: 1 /* STABLE */
|
|
729
669
|
})]),
|
|
730
|
-
_: 1
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
}, 8
|
|
734
|
-
/* PROPS */
|
|
735
|
-
, ["label"])]),
|
|
736
|
-
_: 1
|
|
737
|
-
/* STABLE */
|
|
738
|
-
|
|
670
|
+
_: 1 /* STABLE */
|
|
671
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
672
|
+
_: 1 /* STABLE */
|
|
739
673
|
})]),
|
|
740
|
-
_: 1
|
|
741
|
-
/* STABLE */
|
|
742
|
-
|
|
674
|
+
_: 1 /* STABLE */
|
|
743
675
|
})]),
|
|
744
|
-
_: 1
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
}, 8
|
|
748
|
-
/* PROPS */
|
|
749
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
676
|
+
_: 1 /* STABLE */
|
|
677
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
750
678
|
class: "kq3d-scene-to-hd-image-collapse-item",
|
|
751
679
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pictureSpecification,
|
|
752
680
|
name: "pictureSpecification"
|
|
@@ -766,8 +694,8 @@ const __default__ = {
|
|
|
766
694
|
}, {
|
|
767
695
|
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_select, {
|
|
768
696
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgFormat,
|
|
769
|
-
"onUpdate:modelValue": _cache[
|
|
770
|
-
onChange: _cache[
|
|
697
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgFormat = $event),
|
|
698
|
+
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('imgFormat')),
|
|
771
699
|
style: {
|
|
772
700
|
"width": "100%"
|
|
773
701
|
}
|
|
@@ -785,25 +713,13 @@ const __default__ = {
|
|
|
785
713
|
label: "JPEG",
|
|
786
714
|
value: "jpeg"
|
|
787
715
|
})]),
|
|
788
|
-
_: 1
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
}, 8
|
|
792
|
-
/* PROPS */
|
|
793
|
-
, ["modelValue"])]),
|
|
794
|
-
_: 1
|
|
795
|
-
/* STABLE */
|
|
796
|
-
|
|
716
|
+
_: 1 /* STABLE */
|
|
717
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
718
|
+
_: 1 /* STABLE */
|
|
797
719
|
})]),
|
|
798
|
-
_: 1
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}, 8
|
|
802
|
-
/* PROPS */
|
|
803
|
-
, ["label"])]),
|
|
804
|
-
_: 1
|
|
805
|
-
/* STABLE */
|
|
806
|
-
|
|
720
|
+
_: 1 /* STABLE */
|
|
721
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
722
|
+
_: 1 /* STABLE */
|
|
807
723
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
808
724
|
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, {
|
|
809
725
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgWidth + '(px)'
|
|
@@ -818,48 +734,32 @@ const __default__ = {
|
|
|
818
734
|
}, {
|
|
819
735
|
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_slider, {
|
|
820
736
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgWidth,
|
|
821
|
-
"onUpdate:modelValue": _cache[
|
|
737
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgWidth = $event),
|
|
822
738
|
step: 1,
|
|
823
739
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgWidth,
|
|
824
740
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenWidth,
|
|
825
|
-
onInput: _cache[
|
|
826
|
-
}, null, 8
|
|
827
|
-
/*
|
|
828
|
-
, ["modelValue", "min", "max"])]),
|
|
829
|
-
_: 1
|
|
830
|
-
/* STABLE */
|
|
831
|
-
|
|
741
|
+
onInput: _cache[17] || (_cache[17] = $event => paramsChanged('imgWidth'))
|
|
742
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
743
|
+
_: 1 /* STABLE */
|
|
832
744
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
833
745
|
span: 8
|
|
834
746
|
}, {
|
|
835
747
|
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_input_number, {
|
|
836
748
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgWidth,
|
|
837
|
-
"onUpdate:modelValue": _cache[
|
|
749
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgWidth = $event),
|
|
838
750
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgWidth,
|
|
839
751
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenWidth,
|
|
840
752
|
step: 1,
|
|
841
753
|
"controls-position": "right",
|
|
842
|
-
onInput: _cache[
|
|
843
|
-
}, null, 8
|
|
844
|
-
/*
|
|
845
|
-
, ["modelValue", "min", "max"])]),
|
|
846
|
-
_: 1
|
|
847
|
-
/* STABLE */
|
|
848
|
-
|
|
754
|
+
onInput: _cache[19] || (_cache[19] = $event => paramsChanged('imgWidth'))
|
|
755
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
756
|
+
_: 1 /* STABLE */
|
|
849
757
|
})]),
|
|
850
|
-
_: 1
|
|
851
|
-
/* STABLE */
|
|
852
|
-
|
|
758
|
+
_: 1 /* STABLE */
|
|
853
759
|
})]),
|
|
854
|
-
_: 1
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
}, 8
|
|
858
|
-
/* PROPS */
|
|
859
|
-
, ["label"])]),
|
|
860
|
-
_: 1
|
|
861
|
-
/* STABLE */
|
|
862
|
-
|
|
760
|
+
_: 1 /* STABLE */
|
|
761
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
762
|
+
_: 1 /* STABLE */
|
|
863
763
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
864
764
|
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, {
|
|
865
765
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgHeight + '(px)'
|
|
@@ -874,83 +774,48 @@ const __default__ = {
|
|
|
874
774
|
}, {
|
|
875
775
|
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_slider, {
|
|
876
776
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgHeight,
|
|
877
|
-
"onUpdate:modelValue": _cache[
|
|
777
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgHeight = $event),
|
|
878
778
|
step: 1,
|
|
879
779
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgHeight,
|
|
880
780
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
881
|
-
onInput: _cache[
|
|
882
|
-
}, null, 8
|
|
883
|
-
/*
|
|
884
|
-
, ["modelValue", "min", "max"])]),
|
|
885
|
-
_: 1
|
|
886
|
-
/* STABLE */
|
|
887
|
-
|
|
781
|
+
onInput: _cache[21] || (_cache[21] = $event => paramsChanged('imgHeight'))
|
|
782
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
783
|
+
_: 1 /* STABLE */
|
|
888
784
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
889
785
|
span: 8
|
|
890
786
|
}, {
|
|
891
787
|
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_input_number, {
|
|
892
788
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgHeight,
|
|
893
|
-
"onUpdate:modelValue": _cache[
|
|
789
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgHeight = $event),
|
|
894
790
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgHeight,
|
|
895
791
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
896
792
|
step: 1,
|
|
897
793
|
"controls-position": "right",
|
|
898
|
-
onInput: _cache[
|
|
899
|
-
}, null, 8
|
|
900
|
-
/*
|
|
901
|
-
, ["modelValue", "min", "max"])]),
|
|
902
|
-
_: 1
|
|
903
|
-
/* STABLE */
|
|
904
|
-
|
|
794
|
+
onInput: _cache[23] || (_cache[23] = $event => paramsChanged('imgHeight'))
|
|
795
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
796
|
+
_: 1 /* STABLE */
|
|
905
797
|
})]),
|
|
906
|
-
_: 1
|
|
907
|
-
/* STABLE */
|
|
908
|
-
|
|
798
|
+
_: 1 /* STABLE */
|
|
909
799
|
})]),
|
|
910
|
-
_: 1
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
}, 8
|
|
914
|
-
/* PROPS */
|
|
915
|
-
, ["label"])]),
|
|
916
|
-
_: 1
|
|
917
|
-
/* STABLE */
|
|
918
|
-
|
|
800
|
+
_: 1 /* STABLE */
|
|
801
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
802
|
+
_: 1 /* STABLE */
|
|
919
803
|
})]),
|
|
920
|
-
_: 1
|
|
921
|
-
/* STABLE */
|
|
922
|
-
|
|
804
|
+
_: 1 /* STABLE */
|
|
923
805
|
})]),
|
|
924
|
-
_: 1
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
, ["title"])]),
|
|
930
|
-
_: 1
|
|
931
|
-
/* STABLE */
|
|
932
|
-
|
|
933
|
-
}, 8
|
|
934
|
-
/* PROPS */
|
|
935
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
936
|
-
onClick: _cache[25] || (_cache[25] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => toHDImageHander(), ["stop"])),
|
|
806
|
+
_: 1 /* STABLE */
|
|
807
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
808
|
+
_: 1 /* STABLE */
|
|
809
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
810
|
+
onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => toHDImageHander(), ["stop"])),
|
|
937
811
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sceneToHDImageTips,
|
|
938
812
|
type: "primary"
|
|
939
813
|
}, {
|
|
940
|
-
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).sceneToHDImageTips), 1
|
|
941
|
-
/*
|
|
942
|
-
|
|
943
|
-
_: 1
|
|
944
|
-
/* STABLE */
|
|
945
|
-
|
|
946
|
-
}, 8
|
|
947
|
-
/* PROPS */
|
|
948
|
-
, ["title"])])])], 2
|
|
949
|
-
/* CLASS */
|
|
950
|
-
);
|
|
814
|
+
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).sceneToHDImageTips), 1 /* TEXT */)]),
|
|
815
|
+
_: 1 /* STABLE */
|
|
816
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
951
817
|
};
|
|
952
818
|
}
|
|
953
|
-
|
|
954
819
|
}));
|
|
955
820
|
;// CONCATENATED MODULE: ./src/webgl/scenetohdimage/SceneToHDImage.vue?vue&type=script&setup=true&lang=js
|
|
956
821
|
|
|
@@ -962,10 +827,13 @@ const __exports__ = SceneToHDImagevue_type_script_setup_true_lang_js;
|
|
|
962
827
|
|
|
963
828
|
/* harmony default export */ var SceneToHDImage = (__exports__);
|
|
964
829
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
965
|
-
var init_js_ = __webpack_require__(
|
|
830
|
+
var init_js_ = __webpack_require__(455);
|
|
966
831
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
967
832
|
;// CONCATENATED MODULE: ./src/webgl/scenetohdimage/index.js
|
|
968
|
-
|
|
833
|
+
/*
|
|
834
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
835
|
+
* All rights reserved.
|
|
836
|
+
*/
|
|
969
837
|
|
|
970
838
|
|
|
971
839
|
|
|
@@ -974,8 +842,6 @@ SceneToHDImage.install = (Vue, opts) => {
|
|
|
974
842
|
Vue.component(SceneToHDImage.name, SceneToHDImage);
|
|
975
843
|
};
|
|
976
844
|
|
|
977
|
-
|
|
978
|
-
}();
|
|
979
845
|
/******/ return __webpack_exports__;
|
|
980
846
|
/******/ })()
|
|
981
847
|
;
|