@kq_npm/client3d_webgl_vue 3.2.7-beta → 3.2.9-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/clientPrint/index.js +22 -115
- package/index.js +22 -73
- package/package.json +1 -1
- package/scenceview/index.js +22 -87
package/clientPrint/index.js
CHANGED
|
@@ -2,44 +2,6 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/ 9821:
|
|
6
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
|
-
|
|
8
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
-
/* harmony export */ "Z": function() { return /* binding */ ClientPrintViewModel; }
|
|
10
|
-
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @class ClientPrintViewModel
|
|
16
|
-
* @classdesc 客户端打印
|
|
17
|
-
*/
|
|
18
|
-
class ClientPrintViewModel {
|
|
19
|
-
constructor(scenceView) {
|
|
20
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
21
|
-
|
|
22
|
-
this._viewer = scenceView._viewer;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 改变状态栏方法
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
changStatusBar(val) {
|
|
30
|
-
this._viewer.statusBar.show = val;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* 销毁执行方法。
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
destroy() {}
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/***/ }),
|
|
42
|
-
|
|
43
5
|
/***/ 8422:
|
|
44
6
|
/***/ (function(module) {
|
|
45
7
|
|
|
@@ -61,13 +23,6 @@ module.exports = require("@kq_npm/client_common_vue/_types/global-event");
|
|
|
61
23
|
|
|
62
24
|
/***/ }),
|
|
63
25
|
|
|
64
|
-
/***/ 9702:
|
|
65
|
-
/***/ (function(module) {
|
|
66
|
-
|
|
67
|
-
module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
68
|
-
|
|
69
|
-
/***/ }),
|
|
70
|
-
|
|
71
26
|
/***/ 5406:
|
|
72
27
|
/***/ (function(module) {
|
|
73
28
|
|
|
@@ -80,29 +35,6 @@ module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
|
80
35
|
|
|
81
36
|
module.exports = require("vue");
|
|
82
37
|
|
|
83
|
-
/***/ }),
|
|
84
|
-
|
|
85
|
-
/***/ 8270:
|
|
86
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
87
|
-
|
|
88
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
89
|
-
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
90
|
-
/* harmony export */ });
|
|
91
|
-
function _defineProperty(obj, key, value) {
|
|
92
|
-
if (key in obj) {
|
|
93
|
-
Object.defineProperty(obj, key, {
|
|
94
|
-
value: value,
|
|
95
|
-
enumerable: true,
|
|
96
|
-
configurable: true,
|
|
97
|
-
writable: true
|
|
98
|
-
});
|
|
99
|
-
} else {
|
|
100
|
-
obj[key] = value;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
return obj;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
38
|
/***/ })
|
|
107
39
|
|
|
108
40
|
/******/ });
|
|
@@ -181,7 +113,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181
113
|
|
|
182
114
|
// EXPORTS
|
|
183
115
|
__webpack_require__.d(__webpack_exports__, {
|
|
184
|
-
"ClientPrint3dViewModel": function() { return /* reexport */ ClientPrintViewModel/* default */.Z; },
|
|
185
116
|
"default": function() { return /* reexport */ ClientPrint; }
|
|
186
117
|
});
|
|
187
118
|
|
|
@@ -189,15 +120,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
189
120
|
var es_array_includes_js_ = __webpack_require__(3600);
|
|
190
121
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
191
122
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
192
|
-
// EXTERNAL MODULE: ./src/webgl/clientPrint/ClientPrintViewModel.js
|
|
193
|
-
var ClientPrintViewModel = __webpack_require__(9821);
|
|
194
123
|
;// CONCATENATED MODULE: external "html2canvas"
|
|
195
124
|
var external_html2canvas_namespaceObject = require("html2canvas");
|
|
196
125
|
var external_html2canvas_default = /*#__PURE__*/__webpack_require__.n(external_html2canvas_namespaceObject);
|
|
197
126
|
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
198
127
|
var icons_vue_ = __webpack_require__(8422);
|
|
199
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
200
|
-
var const_image_ = __webpack_require__(9702);
|
|
201
128
|
;// CONCATENATED MODULE: external "vue3-print-nb"
|
|
202
129
|
var external_vue3_print_nb_namespaceObject = require("vue3-print-nb");
|
|
203
130
|
var external_vue3_print_nb_default = /*#__PURE__*/__webpack_require__.n(external_vue3_print_nb_namespaceObject);
|
|
@@ -342,28 +269,15 @@ const _hoisted_41 = {
|
|
|
342
269
|
class: "baseImage"
|
|
343
270
|
};
|
|
344
271
|
const _hoisted_42 = ["src"];
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
|
|
348
|
-
"width": "100%",
|
|
349
|
-
"height": "100%",
|
|
350
|
-
"position": "absolute",
|
|
351
|
-
"index": "1000"
|
|
352
|
-
}
|
|
353
|
-
}, null, -1
|
|
354
|
-
/* HOISTED */
|
|
355
|
-
);
|
|
356
|
-
|
|
357
|
-
const _hoisted_44 = ["src"];
|
|
358
|
-
const _hoisted_45 = ["id"];
|
|
359
|
-
const _hoisted_46 = ["onClick"];
|
|
360
|
-
const _hoisted_47 = {
|
|
272
|
+
const _hoisted_43 = ["id"];
|
|
273
|
+
const _hoisted_44 = ["onClick"];
|
|
274
|
+
const _hoisted_45 = {
|
|
361
275
|
class: "kq3d-client-print-infomationContainer"
|
|
362
276
|
};
|
|
363
|
-
const
|
|
277
|
+
const _hoisted_46 = {
|
|
364
278
|
class: "kq3d-client-print-systemTime"
|
|
365
279
|
};
|
|
366
|
-
const
|
|
280
|
+
const _hoisted_47 = {
|
|
367
281
|
class: "kq3d-client-print-companyName"
|
|
368
282
|
};
|
|
369
283
|
|
|
@@ -371,8 +285,6 @@ const _hoisted_49 = {
|
|
|
371
285
|
|
|
372
286
|
|
|
373
287
|
|
|
374
|
-
|
|
375
|
-
|
|
376
288
|
const __default__ = {
|
|
377
289
|
name: "Kq3dClientPrint"
|
|
378
290
|
};
|
|
@@ -414,6 +326,10 @@ const __default__ = {
|
|
|
414
326
|
scenceInfo: Object,
|
|
415
327
|
// 默认显示的图层组名称
|
|
416
328
|
defaultShowLayerNames: Array,
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* showToolButtons - 是否显示工具栏按钮
|
|
332
|
+
*/
|
|
417
333
|
showToolButtons: {
|
|
418
334
|
type: Boolean,
|
|
419
335
|
default: true
|
|
@@ -433,8 +349,7 @@ const __default__ = {
|
|
|
433
349
|
setup(__props, {
|
|
434
350
|
expose
|
|
435
351
|
}) {
|
|
436
|
-
const props = __props;
|
|
437
|
-
let viewModel = null; // 标题的数据
|
|
352
|
+
const props = __props; // 标题的数据
|
|
438
353
|
|
|
439
354
|
let setTitleDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
440
355
|
style: {
|
|
@@ -573,9 +488,7 @@ const __default__ = {
|
|
|
573
488
|
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("纵向"); // 默认
|
|
574
489
|
// 图片格式
|
|
575
490
|
|
|
576
|
-
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png");
|
|
577
|
-
|
|
578
|
-
let map2_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); //图例对象
|
|
491
|
+
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png"); //图例对象
|
|
579
492
|
|
|
580
493
|
let lengend_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 图例窗口显示与隐藏
|
|
581
494
|
|
|
@@ -597,7 +510,8 @@ const __default__ = {
|
|
|
597
510
|
let systemTime = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 公司名
|
|
598
511
|
|
|
599
512
|
let companyName = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
600
|
-
let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
513
|
+
let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
514
|
+
let printViewer = null; // 打印对象
|
|
601
515
|
|
|
602
516
|
let printObj = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
603
517
|
id: "printMap",
|
|
@@ -635,7 +549,7 @@ const __default__ = {
|
|
|
635
549
|
initControl();
|
|
636
550
|
global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
|
|
637
551
|
if (scenceView && scenceView._viewer) {
|
|
638
|
-
|
|
552
|
+
printViewer = scenceView._viewer;
|
|
639
553
|
cameraToImage = new Cesium.Kq3dCanvasToImage(scenceView._viewer._container, {
|
|
640
554
|
viewer: scenceView._viewer,
|
|
641
555
|
canvas: scenceView._viewer.scene.canvas
|
|
@@ -645,7 +559,6 @@ const __default__ = {
|
|
|
645
559
|
});
|
|
646
560
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
647
561
|
destroy();
|
|
648
|
-
viewModel = null;
|
|
649
562
|
});
|
|
650
563
|
/**
|
|
651
564
|
* 获取当前时间
|
|
@@ -702,7 +615,7 @@ const __default__ = {
|
|
|
702
615
|
}
|
|
703
616
|
|
|
704
617
|
function changStatusBar() {
|
|
705
|
-
|
|
618
|
+
if (printViewer) printViewer.statusBar.show = scalesShow.value;
|
|
706
619
|
}
|
|
707
620
|
/**
|
|
708
621
|
* 显示切换
|
|
@@ -907,7 +820,6 @@ const __default__ = {
|
|
|
907
820
|
|
|
908
821
|
function moveWin(event) {
|
|
909
822
|
event = event || window.event;
|
|
910
|
-
map2_ref.value.getWebMap().map.dragging.disable();
|
|
911
823
|
var x = event.pageX;
|
|
912
824
|
var y = event.pageY;
|
|
913
825
|
|
|
@@ -1239,7 +1151,6 @@ const __default__ = {
|
|
|
1239
1151
|
labelValue: ""
|
|
1240
1152
|
}
|
|
1241
1153
|
};
|
|
1242
|
-
viewModel.destroy();
|
|
1243
1154
|
} // 抛出方法 外部调用
|
|
1244
1155
|
|
|
1245
1156
|
|
|
@@ -1281,6 +1192,8 @@ const __default__ = {
|
|
|
1281
1192
|
|
|
1282
1193
|
const _component_kq_legend = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-legend");
|
|
1283
1194
|
|
|
1195
|
+
const _component_kq3d_compass = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq3d-compass");
|
|
1196
|
+
|
|
1284
1197
|
const _component_kq_scence_view = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scence-view");
|
|
1285
1198
|
|
|
1286
1199
|
const _component_kq_scrollbar = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scrollbar");
|
|
@@ -2214,12 +2127,7 @@ const __default__ = {
|
|
|
2214
2127
|
onMouseover: setdragCursor,
|
|
2215
2128
|
onMousedown: dragTl,
|
|
2216
2129
|
id: "divcompassDiv"
|
|
2217
|
-
}, [
|
|
2218
|
-
class: "kq3d-client-print-compassImgStyle",
|
|
2219
|
-
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.COMMPASS_URL)
|
|
2220
|
-
}, null, 8
|
|
2221
|
-
/* PROPS */
|
|
2222
|
-
, _hoisted_44)], 544
|
|
2130
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq3d_compass)], 544
|
|
2223
2131
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
2224
2132
|
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(compassShow)]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 文本标注 "), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelData).value, item => {
|
|
2225
2133
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)(((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
|
|
@@ -2255,9 +2163,9 @@ const __default__ = {
|
|
|
2255
2163
|
|
|
2256
2164
|
})], 8
|
|
2257
2165
|
/* PROPS */
|
|
2258
|
-
,
|
|
2166
|
+
, _hoisted_44)], 40
|
|
2259
2167
|
/* PROPS, HYDRATE_EVENTS */
|
|
2260
|
-
,
|
|
2168
|
+
, _hoisted_43)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, item.data.isShow]]);
|
|
2261
2169
|
}), 128
|
|
2262
2170
|
/* KEYED_FRAGMENT */
|
|
2263
2171
|
))]),
|
|
@@ -2268,9 +2176,9 @@ const __default__ = {
|
|
|
2268
2176
|
/* PROPS */
|
|
2269
2177
|
, ["options", "service", "scenceInfo", "showToolButtons", "defaultShowLayerNames", "toolButtonsPosition", "showLogo"])], 512
|
|
2270
2178
|
/* NEED_PATCH */
|
|
2271
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
2179
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_45, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_46, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "日期:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(systemTime)), 1
|
|
2272
2180
|
/* TEXT */
|
|
2273
|
-
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
2181
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_47, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "公司:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(companyName)), 1
|
|
2274
2182
|
/* TEXT */
|
|
2275
2183
|
)])])], 512
|
|
2276
2184
|
/* NEED_PATCH */
|
|
@@ -2303,7 +2211,6 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
2303
2211
|
|
|
2304
2212
|
|
|
2305
2213
|
|
|
2306
|
-
|
|
2307
2214
|
ClientPrint.install = (Vue, opts) => {
|
|
2308
2215
|
init_js_default()(Vue, opts);
|
|
2309
2216
|
Vue.component(ClientPrint.name, ClientPrint);
|
package/index.js
CHANGED
|
@@ -471,7 +471,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
471
471
|
"Kq3dBoxClip": function() { return /* reexport */ BoxClip; },
|
|
472
472
|
"Kq3dBoxClipViewModel": function() { return /* reexport */ BoxClipViewModel; },
|
|
473
473
|
"Kq3dClientPrint": function() { return /* reexport */ ClientPrint; },
|
|
474
|
-
"Kq3dClientPrintViewModel": function() { return /* reexport */ ClientPrintViewModel; },
|
|
475
474
|
"Kq3dCompareMap": function() { return /* reexport */ CompareMap; },
|
|
476
475
|
"Kq3dCompareMapViewModel": function() { return /* reexport */ CompareMapViewModel; },
|
|
477
476
|
"Kq3dCompass": function() { return /* reexport */ Compass; },
|
|
@@ -3809,35 +3808,6 @@ Compass.install = (Vue, opts) => {
|
|
|
3809
3808
|
};
|
|
3810
3809
|
|
|
3811
3810
|
|
|
3812
|
-
;// CONCATENATED MODULE: ./src/webgl/clientPrint/ClientPrintViewModel.js
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
/**
|
|
3816
|
-
* @class ClientPrintViewModel
|
|
3817
|
-
* @classdesc 客户端打印
|
|
3818
|
-
*/
|
|
3819
|
-
class ClientPrintViewModel {
|
|
3820
|
-
constructor(scenceView) {
|
|
3821
|
-
_defineProperty(this, "_viewer", null);
|
|
3822
|
-
|
|
3823
|
-
this._viewer = scenceView._viewer;
|
|
3824
|
-
}
|
|
3825
|
-
/**
|
|
3826
|
-
* 改变状态栏方法
|
|
3827
|
-
*/
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
changStatusBar(val) {
|
|
3831
|
-
this._viewer.statusBar.show = val;
|
|
3832
|
-
}
|
|
3833
|
-
/**
|
|
3834
|
-
* 销毁执行方法。
|
|
3835
|
-
*/
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
destroy() {}
|
|
3839
|
-
|
|
3840
|
-
}
|
|
3841
3811
|
;// CONCATENATED MODULE: external "html2canvas"
|
|
3842
3812
|
var external_html2canvas_namespaceObject = require("html2canvas");
|
|
3843
3813
|
var external_html2canvas_default = /*#__PURE__*/__webpack_require__.n(external_html2canvas_namespaceObject);
|
|
@@ -3982,28 +3952,15 @@ const _hoisted_41 = {
|
|
|
3982
3952
|
class: "baseImage"
|
|
3983
3953
|
};
|
|
3984
3954
|
const _hoisted_42 = ["src"];
|
|
3985
|
-
|
|
3986
|
-
const
|
|
3987
|
-
|
|
3988
|
-
"width": "100%",
|
|
3989
|
-
"height": "100%",
|
|
3990
|
-
"position": "absolute",
|
|
3991
|
-
"index": "1000"
|
|
3992
|
-
}
|
|
3993
|
-
}, null, -1
|
|
3994
|
-
/* HOISTED */
|
|
3995
|
-
);
|
|
3996
|
-
|
|
3997
|
-
const _hoisted_44 = ["src"];
|
|
3998
|
-
const _hoisted_45 = ["id"];
|
|
3999
|
-
const _hoisted_46 = ["onClick"];
|
|
4000
|
-
const _hoisted_47 = {
|
|
3955
|
+
const _hoisted_43 = ["id"];
|
|
3956
|
+
const _hoisted_44 = ["onClick"];
|
|
3957
|
+
const _hoisted_45 = {
|
|
4001
3958
|
class: "kq3d-client-print-infomationContainer"
|
|
4002
3959
|
};
|
|
4003
|
-
const
|
|
3960
|
+
const _hoisted_46 = {
|
|
4004
3961
|
class: "kq3d-client-print-systemTime"
|
|
4005
3962
|
};
|
|
4006
|
-
const
|
|
3963
|
+
const _hoisted_47 = {
|
|
4007
3964
|
class: "kq3d-client-print-companyName"
|
|
4008
3965
|
};
|
|
4009
3966
|
|
|
@@ -4011,8 +3968,6 @@ const _hoisted_49 = {
|
|
|
4011
3968
|
|
|
4012
3969
|
|
|
4013
3970
|
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
3971
|
const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
4017
3972
|
name: "Kq3dClientPrint"
|
|
4018
3973
|
};
|
|
@@ -4054,6 +4009,10 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4054
4009
|
scenceInfo: Object,
|
|
4055
4010
|
// 默认显示的图层组名称
|
|
4056
4011
|
defaultShowLayerNames: Array,
|
|
4012
|
+
|
|
4013
|
+
/**
|
|
4014
|
+
* showToolButtons - 是否显示工具栏按钮
|
|
4015
|
+
*/
|
|
4057
4016
|
showToolButtons: {
|
|
4058
4017
|
type: Boolean,
|
|
4059
4018
|
default: true
|
|
@@ -4073,8 +4032,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4073
4032
|
setup(__props, {
|
|
4074
4033
|
expose
|
|
4075
4034
|
}) {
|
|
4076
|
-
const props = __props;
|
|
4077
|
-
let viewModel = null; // 标题的数据
|
|
4035
|
+
const props = __props; // 标题的数据
|
|
4078
4036
|
|
|
4079
4037
|
let setTitleDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({
|
|
4080
4038
|
style: {
|
|
@@ -4213,9 +4171,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4213
4171
|
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("纵向"); // 默认
|
|
4214
4172
|
// 图片格式
|
|
4215
4173
|
|
|
4216
|
-
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("png");
|
|
4217
|
-
|
|
4218
|
-
let map2_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); //图例对象
|
|
4174
|
+
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("png"); //图例对象
|
|
4219
4175
|
|
|
4220
4176
|
let lengend_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(); // 图例窗口显示与隐藏
|
|
4221
4177
|
|
|
@@ -4237,7 +4193,8 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4237
4193
|
let systemTime = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 公司名
|
|
4238
4194
|
|
|
4239
4195
|
let companyName = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("");
|
|
4240
|
-
let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(false);
|
|
4196
|
+
let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(false);
|
|
4197
|
+
let printViewer = null; // 打印对象
|
|
4241
4198
|
|
|
4242
4199
|
let printObj = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({
|
|
4243
4200
|
id: "printMap",
|
|
@@ -4275,7 +4232,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4275
4232
|
initControl();
|
|
4276
4233
|
global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
|
|
4277
4234
|
if (scenceView && scenceView._viewer) {
|
|
4278
|
-
|
|
4235
|
+
printViewer = scenceView._viewer;
|
|
4279
4236
|
cameraToImage = new Cesium.Kq3dCanvasToImage(scenceView._viewer._container, {
|
|
4280
4237
|
viewer: scenceView._viewer,
|
|
4281
4238
|
canvas: scenceView._viewer.scene.canvas
|
|
@@ -4285,7 +4242,6 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4285
4242
|
});
|
|
4286
4243
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
|
|
4287
4244
|
destroy();
|
|
4288
|
-
viewModel = null;
|
|
4289
4245
|
});
|
|
4290
4246
|
/**
|
|
4291
4247
|
* 获取当前时间
|
|
@@ -4342,7 +4298,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4342
4298
|
}
|
|
4343
4299
|
|
|
4344
4300
|
function changStatusBar() {
|
|
4345
|
-
|
|
4301
|
+
if (printViewer) printViewer.statusBar.show = scalesShow.value;
|
|
4346
4302
|
}
|
|
4347
4303
|
/**
|
|
4348
4304
|
* 显示切换
|
|
@@ -4547,7 +4503,6 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4547
4503
|
|
|
4548
4504
|
function moveWin(event) {
|
|
4549
4505
|
event = event || window.event;
|
|
4550
|
-
map2_ref.value.getWebMap().map.dragging.disable();
|
|
4551
4506
|
var x = event.pageX;
|
|
4552
4507
|
var y = event.pageY;
|
|
4553
4508
|
|
|
@@ -4879,7 +4834,6 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4879
4834
|
labelValue: ""
|
|
4880
4835
|
}
|
|
4881
4836
|
};
|
|
4882
|
-
viewModel.destroy();
|
|
4883
4837
|
} // 抛出方法 外部调用
|
|
4884
4838
|
|
|
4885
4839
|
|
|
@@ -4921,6 +4875,8 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4921
4875
|
|
|
4922
4876
|
const _component_kq_legend = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-legend");
|
|
4923
4877
|
|
|
4878
|
+
const _component_kq3d_compass = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq3d-compass");
|
|
4879
|
+
|
|
4924
4880
|
const _component_kq_scence_view = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-scence-view");
|
|
4925
4881
|
|
|
4926
4882
|
const _component_kq_scrollbar = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-scrollbar");
|
|
@@ -5854,12 +5810,7 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5854
5810
|
onMouseover: setdragCursor,
|
|
5855
5811
|
onMousedown: dragTl,
|
|
5856
5812
|
id: "divcompassDiv"
|
|
5857
|
-
}, [
|
|
5858
|
-
class: "kq3d-client-print-compassImgStyle",
|
|
5859
|
-
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(const_image_namespaceObject.COMMPASS_URL)
|
|
5860
|
-
}, null, 8
|
|
5861
|
-
/* PROPS */
|
|
5862
|
-
, _hoisted_44)], 544
|
|
5813
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq3d_compass)], 544
|
|
5863
5814
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
5864
5815
|
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(compassShow)]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" 文本标注 "), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(setLabelData).value, item => {
|
|
5865
5816
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)(((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)("div", {
|
|
@@ -5895,9 +5846,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5895
5846
|
|
|
5896
5847
|
})], 8
|
|
5897
5848
|
/* PROPS */
|
|
5898
|
-
,
|
|
5849
|
+
, _hoisted_44)], 40
|
|
5899
5850
|
/* PROPS, HYDRATE_EVENTS */
|
|
5900
|
-
,
|
|
5851
|
+
, _hoisted_43)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, item.data.isShow]]);
|
|
5901
5852
|
}), 128
|
|
5902
5853
|
/* KEYED_FRAGMENT */
|
|
5903
5854
|
))]),
|
|
@@ -5908,9 +5859,9 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5908
5859
|
/* PROPS */
|
|
5909
5860
|
, ["options", "service", "scenceInfo", "showToolButtons", "defaultShowLayerNames", "toolButtonsPosition", "showLogo"])], 512
|
|
5910
5861
|
/* NEED_PATCH */
|
|
5911
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
5862
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_45, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_46, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", null, "日期:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(systemTime)), 1
|
|
5912
5863
|
/* TEXT */
|
|
5913
|
-
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div",
|
|
5864
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_47, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", null, "公司:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(companyName)), 1
|
|
5914
5865
|
/* TEXT */
|
|
5915
5866
|
)])])], 512
|
|
5916
5867
|
/* NEED_PATCH */
|
|
@@ -5940,7 +5891,6 @@ const ClientPrint_exports_ = ClientPrintvue_type_script_setup_true_lang_js;
|
|
|
5940
5891
|
|
|
5941
5892
|
|
|
5942
5893
|
|
|
5943
|
-
|
|
5944
5894
|
ClientPrint.install = (Vue, opts) => {
|
|
5945
5895
|
init_js_default()(Vue, opts);
|
|
5946
5896
|
Vue.component(ClientPrint.name, ClientPrint);
|
|
@@ -27207,7 +27157,6 @@ StatusBar.install = (Vue, opts) => {
|
|
|
27207
27157
|
|
|
27208
27158
|
// 客户端打印
|
|
27209
27159
|
|
|
27210
|
-
|
|
27211
27160
|
// 在线地形
|
|
27212
27161
|
|
|
27213
27162
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.2.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.2.9-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","html2canvas":"^1.4.1","xe-utils":"^3.5.4"}}
|
package/scenceview/index.js
CHANGED
|
@@ -3834,44 +3834,6 @@ BoxClip.install = (Vue, opts) => {
|
|
|
3834
3834
|
|
|
3835
3835
|
|
|
3836
3836
|
|
|
3837
|
-
/***/ }),
|
|
3838
|
-
|
|
3839
|
-
/***/ 9821:
|
|
3840
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3841
|
-
|
|
3842
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3843
|
-
/* harmony export */ "Z": function() { return /* binding */ ClientPrintViewModel; }
|
|
3844
|
-
/* harmony export */ });
|
|
3845
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
/**
|
|
3849
|
-
* @class ClientPrintViewModel
|
|
3850
|
-
* @classdesc 客户端打印
|
|
3851
|
-
*/
|
|
3852
|
-
class ClientPrintViewModel {
|
|
3853
|
-
constructor(scenceView) {
|
|
3854
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
3855
|
-
|
|
3856
|
-
this._viewer = scenceView._viewer;
|
|
3857
|
-
}
|
|
3858
|
-
/**
|
|
3859
|
-
* 改变状态栏方法
|
|
3860
|
-
*/
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
changStatusBar(val) {
|
|
3864
|
-
this._viewer.statusBar.show = val;
|
|
3865
|
-
}
|
|
3866
|
-
/**
|
|
3867
|
-
* 销毁执行方法。
|
|
3868
|
-
*/
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
destroy() {}
|
|
3872
|
-
|
|
3873
|
-
}
|
|
3874
|
-
|
|
3875
3837
|
/***/ }),
|
|
3876
3838
|
|
|
3877
3839
|
/***/ 2935:
|
|
@@ -3883,21 +3845,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3883
3845
|
"default": function() { return /* reexport */ ClientPrint; }
|
|
3884
3846
|
});
|
|
3885
3847
|
|
|
3886
|
-
// UNUSED EXPORTS: ClientPrint3dViewModel
|
|
3887
|
-
|
|
3888
3848
|
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
3889
3849
|
var es_array_includes_js_ = __webpack_require__(3600);
|
|
3890
3850
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
3891
3851
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
3892
|
-
// EXTERNAL MODULE: ./src/webgl/clientPrint/ClientPrintViewModel.js
|
|
3893
|
-
var ClientPrintViewModel = __webpack_require__(9821);
|
|
3894
3852
|
;// CONCATENATED MODULE: external "html2canvas"
|
|
3895
3853
|
var external_html2canvas_namespaceObject = require("html2canvas");
|
|
3896
3854
|
var external_html2canvas_default = /*#__PURE__*/__webpack_require__.n(external_html2canvas_namespaceObject);
|
|
3897
3855
|
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
3898
3856
|
var icons_vue_ = __webpack_require__(8422);
|
|
3899
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
3900
|
-
var const_image_ = __webpack_require__(9702);
|
|
3901
3857
|
;// CONCATENATED MODULE: external "vue3-print-nb"
|
|
3902
3858
|
var external_vue3_print_nb_namespaceObject = require("vue3-print-nb");
|
|
3903
3859
|
var external_vue3_print_nb_default = /*#__PURE__*/__webpack_require__.n(external_vue3_print_nb_namespaceObject);
|
|
@@ -4042,28 +3998,15 @@ const _hoisted_41 = {
|
|
|
4042
3998
|
class: "baseImage"
|
|
4043
3999
|
};
|
|
4044
4000
|
const _hoisted_42 = ["src"];
|
|
4045
|
-
|
|
4046
|
-
const
|
|
4047
|
-
|
|
4048
|
-
"width": "100%",
|
|
4049
|
-
"height": "100%",
|
|
4050
|
-
"position": "absolute",
|
|
4051
|
-
"index": "1000"
|
|
4052
|
-
}
|
|
4053
|
-
}, null, -1
|
|
4054
|
-
/* HOISTED */
|
|
4055
|
-
);
|
|
4056
|
-
|
|
4057
|
-
const _hoisted_44 = ["src"];
|
|
4058
|
-
const _hoisted_45 = ["id"];
|
|
4059
|
-
const _hoisted_46 = ["onClick"];
|
|
4060
|
-
const _hoisted_47 = {
|
|
4001
|
+
const _hoisted_43 = ["id"];
|
|
4002
|
+
const _hoisted_44 = ["onClick"];
|
|
4003
|
+
const _hoisted_45 = {
|
|
4061
4004
|
class: "kq3d-client-print-infomationContainer"
|
|
4062
4005
|
};
|
|
4063
|
-
const
|
|
4006
|
+
const _hoisted_46 = {
|
|
4064
4007
|
class: "kq3d-client-print-systemTime"
|
|
4065
4008
|
};
|
|
4066
|
-
const
|
|
4009
|
+
const _hoisted_47 = {
|
|
4067
4010
|
class: "kq3d-client-print-companyName"
|
|
4068
4011
|
};
|
|
4069
4012
|
|
|
@@ -4071,8 +4014,6 @@ const _hoisted_49 = {
|
|
|
4071
4014
|
|
|
4072
4015
|
|
|
4073
4016
|
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
4017
|
const __default__ = {
|
|
4077
4018
|
name: "Kq3dClientPrint"
|
|
4078
4019
|
};
|
|
@@ -4114,6 +4055,10 @@ const __default__ = {
|
|
|
4114
4055
|
scenceInfo: Object,
|
|
4115
4056
|
// 默认显示的图层组名称
|
|
4116
4057
|
defaultShowLayerNames: Array,
|
|
4058
|
+
|
|
4059
|
+
/**
|
|
4060
|
+
* showToolButtons - 是否显示工具栏按钮
|
|
4061
|
+
*/
|
|
4117
4062
|
showToolButtons: {
|
|
4118
4063
|
type: Boolean,
|
|
4119
4064
|
default: true
|
|
@@ -4133,8 +4078,7 @@ const __default__ = {
|
|
|
4133
4078
|
setup(__props, {
|
|
4134
4079
|
expose
|
|
4135
4080
|
}) {
|
|
4136
|
-
const props = __props;
|
|
4137
|
-
let viewModel = null; // 标题的数据
|
|
4081
|
+
const props = __props; // 标题的数据
|
|
4138
4082
|
|
|
4139
4083
|
let setTitleDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
4140
4084
|
style: {
|
|
@@ -4273,9 +4217,7 @@ const __default__ = {
|
|
|
4273
4217
|
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("纵向"); // 默认
|
|
4274
4218
|
// 图片格式
|
|
4275
4219
|
|
|
4276
|
-
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png");
|
|
4277
|
-
|
|
4278
|
-
let map2_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); //图例对象
|
|
4220
|
+
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png"); //图例对象
|
|
4279
4221
|
|
|
4280
4222
|
let lengend_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 图例窗口显示与隐藏
|
|
4281
4223
|
|
|
@@ -4297,7 +4239,8 @@ const __default__ = {
|
|
|
4297
4239
|
let systemTime = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 公司名
|
|
4298
4240
|
|
|
4299
4241
|
let companyName = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
4300
|
-
let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
4242
|
+
let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
4243
|
+
let printViewer = null; // 打印对象
|
|
4301
4244
|
|
|
4302
4245
|
let printObj = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
4303
4246
|
id: "printMap",
|
|
@@ -4335,7 +4278,7 @@ const __default__ = {
|
|
|
4335
4278
|
initControl();
|
|
4336
4279
|
global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
|
|
4337
4280
|
if (scenceView && scenceView._viewer) {
|
|
4338
|
-
|
|
4281
|
+
printViewer = scenceView._viewer;
|
|
4339
4282
|
cameraToImage = new Cesium.Kq3dCanvasToImage(scenceView._viewer._container, {
|
|
4340
4283
|
viewer: scenceView._viewer,
|
|
4341
4284
|
canvas: scenceView._viewer.scene.canvas
|
|
@@ -4345,7 +4288,6 @@ const __default__ = {
|
|
|
4345
4288
|
});
|
|
4346
4289
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
4347
4290
|
destroy();
|
|
4348
|
-
viewModel = null;
|
|
4349
4291
|
});
|
|
4350
4292
|
/**
|
|
4351
4293
|
* 获取当前时间
|
|
@@ -4402,7 +4344,7 @@ const __default__ = {
|
|
|
4402
4344
|
}
|
|
4403
4345
|
|
|
4404
4346
|
function changStatusBar() {
|
|
4405
|
-
|
|
4347
|
+
if (printViewer) printViewer.statusBar.show = scalesShow.value;
|
|
4406
4348
|
}
|
|
4407
4349
|
/**
|
|
4408
4350
|
* 显示切换
|
|
@@ -4607,7 +4549,6 @@ const __default__ = {
|
|
|
4607
4549
|
|
|
4608
4550
|
function moveWin(event) {
|
|
4609
4551
|
event = event || window.event;
|
|
4610
|
-
map2_ref.value.getWebMap().map.dragging.disable();
|
|
4611
4552
|
var x = event.pageX;
|
|
4612
4553
|
var y = event.pageY;
|
|
4613
4554
|
|
|
@@ -4939,7 +4880,6 @@ const __default__ = {
|
|
|
4939
4880
|
labelValue: ""
|
|
4940
4881
|
}
|
|
4941
4882
|
};
|
|
4942
|
-
viewModel.destroy();
|
|
4943
4883
|
} // 抛出方法 外部调用
|
|
4944
4884
|
|
|
4945
4885
|
|
|
@@ -4981,6 +4921,8 @@ const __default__ = {
|
|
|
4981
4921
|
|
|
4982
4922
|
const _component_kq_legend = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-legend");
|
|
4983
4923
|
|
|
4924
|
+
const _component_kq3d_compass = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq3d-compass");
|
|
4925
|
+
|
|
4984
4926
|
const _component_kq_scence_view = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scence-view");
|
|
4985
4927
|
|
|
4986
4928
|
const _component_kq_scrollbar = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scrollbar");
|
|
@@ -5914,12 +5856,7 @@ const __default__ = {
|
|
|
5914
5856
|
onMouseover: setdragCursor,
|
|
5915
5857
|
onMousedown: dragTl,
|
|
5916
5858
|
id: "divcompassDiv"
|
|
5917
|
-
}, [
|
|
5918
|
-
class: "kq3d-client-print-compassImgStyle",
|
|
5919
|
-
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.COMMPASS_URL)
|
|
5920
|
-
}, null, 8
|
|
5921
|
-
/* PROPS */
|
|
5922
|
-
, _hoisted_44)], 544
|
|
5859
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq3d_compass)], 544
|
|
5923
5860
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
5924
5861
|
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(compassShow)]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 文本标注 "), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelData).value, item => {
|
|
5925
5862
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)(((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
|
|
@@ -5955,9 +5892,9 @@ const __default__ = {
|
|
|
5955
5892
|
|
|
5956
5893
|
})], 8
|
|
5957
5894
|
/* PROPS */
|
|
5958
|
-
,
|
|
5895
|
+
, _hoisted_44)], 40
|
|
5959
5896
|
/* PROPS, HYDRATE_EVENTS */
|
|
5960
|
-
,
|
|
5897
|
+
, _hoisted_43)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, item.data.isShow]]);
|
|
5961
5898
|
}), 128
|
|
5962
5899
|
/* KEYED_FRAGMENT */
|
|
5963
5900
|
))]),
|
|
@@ -5968,9 +5905,9 @@ const __default__ = {
|
|
|
5968
5905
|
/* PROPS */
|
|
5969
5906
|
, ["options", "service", "scenceInfo", "showToolButtons", "defaultShowLayerNames", "toolButtonsPosition", "showLogo"])], 512
|
|
5970
5907
|
/* NEED_PATCH */
|
|
5971
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
5908
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_45, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_46, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "日期:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(systemTime)), 1
|
|
5972
5909
|
/* TEXT */
|
|
5973
|
-
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
5910
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_47, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "公司:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(companyName)), 1
|
|
5974
5911
|
/* TEXT */
|
|
5975
5912
|
)])])], 512
|
|
5976
5913
|
/* NEED_PATCH */
|
|
@@ -6003,7 +5940,6 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
6003
5940
|
|
|
6004
5941
|
|
|
6005
5942
|
|
|
6006
|
-
|
|
6007
5943
|
ClientPrint.install = (Vue, opts) => {
|
|
6008
5944
|
init_js_default()(Vue, opts);
|
|
6009
5945
|
Vue.component(ClientPrint.name, ClientPrint);
|
|
@@ -25733,7 +25669,6 @@ var statusbar = __webpack_require__(6466);
|
|
|
25733
25669
|
|
|
25734
25670
|
// 客户端打印
|
|
25735
25671
|
|
|
25736
|
-
|
|
25737
25672
|
// 在线地形
|
|
25738
25673
|
|
|
25739
25674
|
|