@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/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
|
-
expose
|
|
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,38 +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
|
-
|
|
491
|
+
__expose({});
|
|
481
492
|
return (_ctx, _cache) => {
|
|
482
493
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
483
|
-
|
|
484
494
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
485
|
-
|
|
486
495
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
487
|
-
|
|
488
496
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
489
|
-
|
|
490
497
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
491
|
-
|
|
492
498
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
493
|
-
|
|
494
499
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
495
|
-
|
|
496
500
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
497
|
-
|
|
498
501
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
499
|
-
|
|
500
502
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
501
|
-
|
|
502
503
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
503
|
-
|
|
504
504
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
505
|
-
|
|
506
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", {
|
|
507
506
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-scene-to-hd-image", {
|
|
508
507
|
'kq-box-shadow': __props.showShadow
|
|
@@ -513,9 +512,7 @@ const __default__ = {
|
|
|
513
512
|
key: 0,
|
|
514
513
|
ref_key: "headerTempRef",
|
|
515
514
|
ref: headerTempRef
|
|
516
|
-
}, null, 512
|
|
517
|
-
/* NEED_PATCH */
|
|
518
|
-
)) : (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, {
|
|
519
516
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
|
|
520
517
|
}, {
|
|
521
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, {
|
|
@@ -546,12 +543,8 @@ const __default__ = {
|
|
|
546
543
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenWidth,
|
|
547
544
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenWidth,
|
|
548
545
|
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('screenWidth'))
|
|
549
|
-
}, null, 8
|
|
550
|
-
/*
|
|
551
|
-
, ["modelValue", "min", "max"])]),
|
|
552
|
-
_: 1
|
|
553
|
-
/* STABLE */
|
|
554
|
-
|
|
546
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
547
|
+
_: 1 /* STABLE */
|
|
555
548
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
556
549
|
span: 8
|
|
557
550
|
}, {
|
|
@@ -562,28 +555,15 @@ const __default__ = {
|
|
|
562
555
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenWidth,
|
|
563
556
|
step: 1,
|
|
564
557
|
"controls-position": "right",
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
/* PROPS */
|
|
569
|
-
, ["modelValue", "min", "max"])]),
|
|
570
|
-
_: 1
|
|
571
|
-
/* STABLE */
|
|
572
|
-
|
|
558
|
+
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('screenWidth'))
|
|
559
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
560
|
+
_: 1 /* STABLE */
|
|
573
561
|
})]),
|
|
574
|
-
_: 1
|
|
575
|
-
/* STABLE */
|
|
576
|
-
|
|
562
|
+
_: 1 /* STABLE */
|
|
577
563
|
})]),
|
|
578
|
-
_: 1
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
}, 8
|
|
582
|
-
/* PROPS */
|
|
583
|
-
, ["label"])]),
|
|
584
|
-
_: 1
|
|
585
|
-
/* STABLE */
|
|
586
|
-
|
|
564
|
+
_: 1 /* STABLE */
|
|
565
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
566
|
+
_: 1 /* STABLE */
|
|
587
567
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
588
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, {
|
|
589
569
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).screenHeight
|
|
@@ -598,48 +578,32 @@ const __default__ = {
|
|
|
598
578
|
}, {
|
|
599
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, {
|
|
600
580
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
601
|
-
"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),
|
|
602
582
|
step: 1,
|
|
603
583
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenHeight,
|
|
604
584
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenHeight,
|
|
605
|
-
onInput: _cache[
|
|
606
|
-
}, null, 8
|
|
607
|
-
/*
|
|
608
|
-
, ["modelValue", "min", "max"])]),
|
|
609
|
-
_: 1
|
|
610
|
-
/* STABLE */
|
|
611
|
-
|
|
585
|
+
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('screenHeight'))
|
|
586
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
587
|
+
_: 1 /* STABLE */
|
|
612
588
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
613
589
|
span: 8
|
|
614
590
|
}, {
|
|
615
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, {
|
|
616
592
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
617
|
-
"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),
|
|
618
594
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenHeight,
|
|
619
595
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenHeight,
|
|
620
596
|
step: 1,
|
|
621
597
|
"controls-position": "right",
|
|
622
|
-
onInput: _cache[
|
|
623
|
-
}, null, 8
|
|
624
|
-
/*
|
|
625
|
-
, ["modelValue", "min", "max"])]),
|
|
626
|
-
_: 1
|
|
627
|
-
/* STABLE */
|
|
628
|
-
|
|
598
|
+
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('screenHeight'))
|
|
599
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
600
|
+
_: 1 /* STABLE */
|
|
629
601
|
})]),
|
|
630
|
-
_: 1
|
|
631
|
-
/* STABLE */
|
|
632
|
-
|
|
602
|
+
_: 1 /* STABLE */
|
|
633
603
|
})]),
|
|
634
|
-
_: 1
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}, 8
|
|
638
|
-
/* PROPS */
|
|
639
|
-
, ["label"])]),
|
|
640
|
-
_: 1
|
|
641
|
-
/* STABLE */
|
|
642
|
-
|
|
604
|
+
_: 1 /* STABLE */
|
|
605
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
606
|
+
_: 1 /* STABLE */
|
|
643
607
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
644
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, {
|
|
645
609
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pantographRatio
|
|
@@ -654,48 +618,32 @@ const __default__ = {
|
|
|
654
618
|
}, {
|
|
655
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, {
|
|
656
620
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).pantographRatio,
|
|
657
|
-
"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),
|
|
658
622
|
step: 0.01,
|
|
659
623
|
min: 0.01,
|
|
660
624
|
max: 1,
|
|
661
|
-
onInput: _cache[
|
|
662
|
-
}, null, 8
|
|
663
|
-
/*
|
|
664
|
-
, ["modelValue", "step", "min"])]),
|
|
665
|
-
_: 1
|
|
666
|
-
/* STABLE */
|
|
667
|
-
|
|
625
|
+
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('pantographRatio'))
|
|
626
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
627
|
+
_: 1 /* STABLE */
|
|
668
628
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
669
629
|
span: 8
|
|
670
630
|
}, {
|
|
671
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, {
|
|
672
632
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).pantographRatio,
|
|
673
|
-
"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),
|
|
674
634
|
step: 0.01,
|
|
675
635
|
min: 0.01,
|
|
676
636
|
max: 1,
|
|
677
637
|
"controls-position": "right",
|
|
678
|
-
onInput: _cache[
|
|
679
|
-
}, null, 8
|
|
680
|
-
/*
|
|
681
|
-
, ["modelValue", "step", "min"])]),
|
|
682
|
-
_: 1
|
|
683
|
-
/* STABLE */
|
|
684
|
-
|
|
638
|
+
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('pantographRatio'))
|
|
639
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
640
|
+
_: 1 /* STABLE */
|
|
685
641
|
})]),
|
|
686
|
-
_: 1
|
|
687
|
-
/* STABLE */
|
|
688
|
-
|
|
642
|
+
_: 1 /* STABLE */
|
|
689
643
|
})]),
|
|
690
|
-
_: 1
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
}, 8
|
|
694
|
-
/* PROPS */
|
|
695
|
-
, ["label"])]),
|
|
696
|
-
_: 1
|
|
697
|
-
/* STABLE */
|
|
698
|
-
|
|
644
|
+
_: 1 /* STABLE */
|
|
645
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
646
|
+
_: 1 /* STABLE */
|
|
699
647
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
700
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, {
|
|
701
649
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).displayArea
|
|
@@ -711,40 +659,22 @@ const __default__ = {
|
|
|
711
659
|
}, {
|
|
712
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, {
|
|
713
661
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).displayArea,
|
|
714
|
-
"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),
|
|
715
663
|
"controls-position": "left",
|
|
716
|
-
onChange: _cache[
|
|
717
|
-
}, null, 8
|
|
718
|
-
/*
|
|
719
|
-
, ["modelValue"])]),
|
|
720
|
-
_: 1
|
|
721
|
-
/* STABLE */
|
|
722
|
-
|
|
664
|
+
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('displayArea'))
|
|
665
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
666
|
+
_: 1 /* STABLE */
|
|
723
667
|
})]),
|
|
724
|
-
_: 1
|
|
725
|
-
/* STABLE */
|
|
726
|
-
|
|
668
|
+
_: 1 /* STABLE */
|
|
727
669
|
})]),
|
|
728
|
-
_: 1
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
}, 8
|
|
732
|
-
/* PROPS */
|
|
733
|
-
, ["label"])]),
|
|
734
|
-
_: 1
|
|
735
|
-
/* STABLE */
|
|
736
|
-
|
|
670
|
+
_: 1 /* STABLE */
|
|
671
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
672
|
+
_: 1 /* STABLE */
|
|
737
673
|
})]),
|
|
738
|
-
_: 1
|
|
739
|
-
/* STABLE */
|
|
740
|
-
|
|
674
|
+
_: 1 /* STABLE */
|
|
741
675
|
})]),
|
|
742
|
-
_: 1
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}, 8
|
|
746
|
-
/* PROPS */
|
|
747
|
-
, ["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, {
|
|
748
678
|
class: "kq3d-scene-to-hd-image-collapse-item",
|
|
749
679
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pictureSpecification,
|
|
750
680
|
name: "pictureSpecification"
|
|
@@ -764,8 +694,8 @@ const __default__ = {
|
|
|
764
694
|
}, {
|
|
765
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, {
|
|
766
696
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgFormat,
|
|
767
|
-
"onUpdate:modelValue": _cache[
|
|
768
|
-
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')),
|
|
769
699
|
style: {
|
|
770
700
|
"width": "100%"
|
|
771
701
|
}
|
|
@@ -783,25 +713,13 @@ const __default__ = {
|
|
|
783
713
|
label: "JPEG",
|
|
784
714
|
value: "jpeg"
|
|
785
715
|
})]),
|
|
786
|
-
_: 1
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
}, 8
|
|
790
|
-
/* PROPS */
|
|
791
|
-
, ["modelValue"])]),
|
|
792
|
-
_: 1
|
|
793
|
-
/* STABLE */
|
|
794
|
-
|
|
716
|
+
_: 1 /* STABLE */
|
|
717
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
718
|
+
_: 1 /* STABLE */
|
|
795
719
|
})]),
|
|
796
|
-
_: 1
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}, 8
|
|
800
|
-
/* PROPS */
|
|
801
|
-
, ["label"])]),
|
|
802
|
-
_: 1
|
|
803
|
-
/* STABLE */
|
|
804
|
-
|
|
720
|
+
_: 1 /* STABLE */
|
|
721
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
722
|
+
_: 1 /* STABLE */
|
|
805
723
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
806
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, {
|
|
807
725
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgWidth + '(px)'
|
|
@@ -816,48 +734,32 @@ const __default__ = {
|
|
|
816
734
|
}, {
|
|
817
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, {
|
|
818
736
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgWidth,
|
|
819
|
-
"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),
|
|
820
738
|
step: 1,
|
|
821
739
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgWidth,
|
|
822
740
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenWidth,
|
|
823
|
-
onInput: _cache[
|
|
824
|
-
}, null, 8
|
|
825
|
-
/*
|
|
826
|
-
, ["modelValue", "min", "max"])]),
|
|
827
|
-
_: 1
|
|
828
|
-
/* STABLE */
|
|
829
|
-
|
|
741
|
+
onInput: _cache[17] || (_cache[17] = $event => paramsChanged('imgWidth'))
|
|
742
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
743
|
+
_: 1 /* STABLE */
|
|
830
744
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
831
745
|
span: 8
|
|
832
746
|
}, {
|
|
833
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, {
|
|
834
748
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgWidth,
|
|
835
|
-
"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),
|
|
836
750
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgWidth,
|
|
837
751
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenWidth,
|
|
838
752
|
step: 1,
|
|
839
753
|
"controls-position": "right",
|
|
840
|
-
onInput: _cache[
|
|
841
|
-
}, null, 8
|
|
842
|
-
/*
|
|
843
|
-
, ["modelValue", "min", "max"])]),
|
|
844
|
-
_: 1
|
|
845
|
-
/* STABLE */
|
|
846
|
-
|
|
754
|
+
onInput: _cache[19] || (_cache[19] = $event => paramsChanged('imgWidth'))
|
|
755
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
756
|
+
_: 1 /* STABLE */
|
|
847
757
|
})]),
|
|
848
|
-
_: 1
|
|
849
|
-
/* STABLE */
|
|
850
|
-
|
|
758
|
+
_: 1 /* STABLE */
|
|
851
759
|
})]),
|
|
852
|
-
_: 1
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
}, 8
|
|
856
|
-
/* PROPS */
|
|
857
|
-
, ["label"])]),
|
|
858
|
-
_: 1
|
|
859
|
-
/* STABLE */
|
|
860
|
-
|
|
760
|
+
_: 1 /* STABLE */
|
|
761
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
762
|
+
_: 1 /* STABLE */
|
|
861
763
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
862
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, {
|
|
863
765
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgHeight + '(px)'
|
|
@@ -872,83 +774,48 @@ const __default__ = {
|
|
|
872
774
|
}, {
|
|
873
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, {
|
|
874
776
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgHeight,
|
|
875
|
-
"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),
|
|
876
778
|
step: 1,
|
|
877
779
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgHeight,
|
|
878
780
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
879
|
-
onInput: _cache[
|
|
880
|
-
}, null, 8
|
|
881
|
-
/*
|
|
882
|
-
, ["modelValue", "min", "max"])]),
|
|
883
|
-
_: 1
|
|
884
|
-
/* STABLE */
|
|
885
|
-
|
|
781
|
+
onInput: _cache[21] || (_cache[21] = $event => paramsChanged('imgHeight'))
|
|
782
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
783
|
+
_: 1 /* STABLE */
|
|
886
784
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
887
785
|
span: 8
|
|
888
786
|
}, {
|
|
889
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, {
|
|
890
788
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).imgHeight,
|
|
891
|
-
"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),
|
|
892
790
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgHeight,
|
|
893
791
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
894
792
|
step: 1,
|
|
895
793
|
"controls-position": "right",
|
|
896
|
-
onInput: _cache[
|
|
897
|
-
}, null, 8
|
|
898
|
-
/*
|
|
899
|
-
, ["modelValue", "min", "max"])]),
|
|
900
|
-
_: 1
|
|
901
|
-
/* STABLE */
|
|
902
|
-
|
|
794
|
+
onInput: _cache[23] || (_cache[23] = $event => paramsChanged('imgHeight'))
|
|
795
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
796
|
+
_: 1 /* STABLE */
|
|
903
797
|
})]),
|
|
904
|
-
_: 1
|
|
905
|
-
/* STABLE */
|
|
906
|
-
|
|
798
|
+
_: 1 /* STABLE */
|
|
907
799
|
})]),
|
|
908
|
-
_: 1
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}, 8
|
|
912
|
-
/* PROPS */
|
|
913
|
-
, ["label"])]),
|
|
914
|
-
_: 1
|
|
915
|
-
/* STABLE */
|
|
916
|
-
|
|
800
|
+
_: 1 /* STABLE */
|
|
801
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
802
|
+
_: 1 /* STABLE */
|
|
917
803
|
})]),
|
|
918
|
-
_: 1
|
|
919
|
-
/* STABLE */
|
|
920
|
-
|
|
804
|
+
_: 1 /* STABLE */
|
|
921
805
|
})]),
|
|
922
|
-
_: 1
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
, ["title"])]),
|
|
928
|
-
_: 1
|
|
929
|
-
/* STABLE */
|
|
930
|
-
|
|
931
|
-
}, 8
|
|
932
|
-
/* PROPS */
|
|
933
|
-
, ["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, {
|
|
934
|
-
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"])),
|
|
935
811
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sceneToHDImageTips,
|
|
936
812
|
type: "primary"
|
|
937
813
|
}, {
|
|
938
|
-
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
|
|
939
|
-
/*
|
|
940
|
-
|
|
941
|
-
_: 1
|
|
942
|
-
/* STABLE */
|
|
943
|
-
|
|
944
|
-
}, 8
|
|
945
|
-
/* PROPS */
|
|
946
|
-
, ["title"])])])], 2
|
|
947
|
-
/* CLASS */
|
|
948
|
-
);
|
|
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 */);
|
|
949
817
|
};
|
|
950
818
|
}
|
|
951
|
-
|
|
952
819
|
}));
|
|
953
820
|
;// CONCATENATED MODULE: ./src/webgl/scenetohdimage/SceneToHDImage.vue?vue&type=script&setup=true&lang=js
|
|
954
821
|
|
|
@@ -960,10 +827,13 @@ const __exports__ = SceneToHDImagevue_type_script_setup_true_lang_js;
|
|
|
960
827
|
|
|
961
828
|
/* harmony default export */ var SceneToHDImage = (__exports__);
|
|
962
829
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
963
|
-
var init_js_ = __webpack_require__(
|
|
830
|
+
var init_js_ = __webpack_require__(455);
|
|
964
831
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
965
832
|
;// CONCATENATED MODULE: ./src/webgl/scenetohdimage/index.js
|
|
966
|
-
|
|
833
|
+
/*
|
|
834
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
835
|
+
* All rights reserved.
|
|
836
|
+
*/
|
|
967
837
|
|
|
968
838
|
|
|
969
839
|
|
|
@@ -972,8 +842,6 @@ SceneToHDImage.install = (Vue, opts) => {
|
|
|
972
842
|
Vue.component(SceneToHDImage.name, SceneToHDImage);
|
|
973
843
|
};
|
|
974
844
|
|
|
975
|
-
|
|
976
|
-
}();
|
|
977
845
|
/******/ return __webpack_exports__;
|
|
978
846
|
/******/ })()
|
|
979
847
|
;
|