@kq_npm/client3d_webgl_vue 3.2.4-beta → 3.2.6-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 +2273 -0
- package/clientPrint/style/clientPrint.css +1 -0
- package/clientPrint/style/index.js +3 -0
- package/index.js +2176 -51
- package/package.json +1 -1
- package/scenceview/index.js +2174 -4
- package/style.css +1 -1
- package/terrainoperation/style/terrainoperation.css +1 -1
|
@@ -0,0 +1,2273 @@
|
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
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
|
+
/**
|
|
12
|
+
* @class ClientPrintViewModel
|
|
13
|
+
* @classdesc 客户端打印
|
|
14
|
+
*/
|
|
15
|
+
class ClientPrintViewModel {
|
|
16
|
+
constructor() {}
|
|
17
|
+
/**
|
|
18
|
+
* 销毁执行方法。
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
destroy() {}
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/***/ }),
|
|
27
|
+
|
|
28
|
+
/***/ 8422:
|
|
29
|
+
/***/ (function(module) {
|
|
30
|
+
|
|
31
|
+
module.exports = require("@element-plus/icons-vue");
|
|
32
|
+
|
|
33
|
+
/***/ }),
|
|
34
|
+
|
|
35
|
+
/***/ 3600:
|
|
36
|
+
/***/ (function(module) {
|
|
37
|
+
|
|
38
|
+
module.exports = require("core-js/modules/es.array.includes.js");
|
|
39
|
+
|
|
40
|
+
/***/ }),
|
|
41
|
+
|
|
42
|
+
/***/ 1088:
|
|
43
|
+
/***/ (function(module) {
|
|
44
|
+
|
|
45
|
+
module.exports = require("@kq_npm/client_common_vue/_types/global-event");
|
|
46
|
+
|
|
47
|
+
/***/ }),
|
|
48
|
+
|
|
49
|
+
/***/ 9702:
|
|
50
|
+
/***/ (function(module) {
|
|
51
|
+
|
|
52
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
53
|
+
|
|
54
|
+
/***/ }),
|
|
55
|
+
|
|
56
|
+
/***/ 5406:
|
|
57
|
+
/***/ (function(module) {
|
|
58
|
+
|
|
59
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
60
|
+
|
|
61
|
+
/***/ }),
|
|
62
|
+
|
|
63
|
+
/***/ 637:
|
|
64
|
+
/***/ (function(module) {
|
|
65
|
+
|
|
66
|
+
module.exports = require("vue");
|
|
67
|
+
|
|
68
|
+
/***/ })
|
|
69
|
+
|
|
70
|
+
/******/ });
|
|
71
|
+
/************************************************************************/
|
|
72
|
+
/******/ // The module cache
|
|
73
|
+
/******/ var __webpack_module_cache__ = {};
|
|
74
|
+
/******/
|
|
75
|
+
/******/ // The require function
|
|
76
|
+
/******/ function __webpack_require__(moduleId) {
|
|
77
|
+
/******/ // Check if module is in cache
|
|
78
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
79
|
+
/******/ if (cachedModule !== undefined) {
|
|
80
|
+
/******/ return cachedModule.exports;
|
|
81
|
+
/******/ }
|
|
82
|
+
/******/ // Create a new module (and put it into the cache)
|
|
83
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
84
|
+
/******/ // no module.id needed
|
|
85
|
+
/******/ // no module.loaded needed
|
|
86
|
+
/******/ exports: {}
|
|
87
|
+
/******/ };
|
|
88
|
+
/******/
|
|
89
|
+
/******/ // Execute the module function
|
|
90
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
91
|
+
/******/
|
|
92
|
+
/******/ // Return the exports of the module
|
|
93
|
+
/******/ return module.exports;
|
|
94
|
+
/******/ }
|
|
95
|
+
/******/
|
|
96
|
+
/************************************************************************/
|
|
97
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
98
|
+
/******/ !function() {
|
|
99
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
100
|
+
/******/ __webpack_require__.n = function(module) {
|
|
101
|
+
/******/ var getter = module && module.__esModule ?
|
|
102
|
+
/******/ function() { return module['default']; } :
|
|
103
|
+
/******/ function() { return module; };
|
|
104
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
105
|
+
/******/ return getter;
|
|
106
|
+
/******/ };
|
|
107
|
+
/******/ }();
|
|
108
|
+
/******/
|
|
109
|
+
/******/ /* webpack/runtime/define property getters */
|
|
110
|
+
/******/ !function() {
|
|
111
|
+
/******/ // define getter functions for harmony exports
|
|
112
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
113
|
+
/******/ for(var key in definition) {
|
|
114
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
115
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
116
|
+
/******/ }
|
|
117
|
+
/******/ }
|
|
118
|
+
/******/ };
|
|
119
|
+
/******/ }();
|
|
120
|
+
/******/
|
|
121
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
122
|
+
/******/ !function() {
|
|
123
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
124
|
+
/******/ }();
|
|
125
|
+
/******/
|
|
126
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
127
|
+
/******/ !function() {
|
|
128
|
+
/******/ // define __esModule on exports
|
|
129
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
130
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
131
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
132
|
+
/******/ }
|
|
133
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
134
|
+
/******/ };
|
|
135
|
+
/******/ }();
|
|
136
|
+
/******/
|
|
137
|
+
/************************************************************************/
|
|
138
|
+
var __webpack_exports__ = {};
|
|
139
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
140
|
+
!function() {
|
|
141
|
+
// ESM COMPAT FLAG
|
|
142
|
+
__webpack_require__.r(__webpack_exports__);
|
|
143
|
+
|
|
144
|
+
// EXPORTS
|
|
145
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
146
|
+
"ClientPrint3dViewModel": function() { return /* reexport */ ClientPrintViewModel/* default */.Z; },
|
|
147
|
+
"default": function() { return /* reexport */ ClientPrint; }
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
151
|
+
var es_array_includes_js_ = __webpack_require__(3600);
|
|
152
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
153
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
154
|
+
// EXTERNAL MODULE: ./src/webgl/clientPrint/ClientPrintViewModel.js
|
|
155
|
+
var ClientPrintViewModel = __webpack_require__(9821);
|
|
156
|
+
;// CONCATENATED MODULE: external "html2canvas"
|
|
157
|
+
var external_html2canvas_namespaceObject = require("html2canvas");
|
|
158
|
+
var external_html2canvas_default = /*#__PURE__*/__webpack_require__.n(external_html2canvas_namespaceObject);
|
|
159
|
+
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
160
|
+
var icons_vue_ = __webpack_require__(8422);
|
|
161
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
162
|
+
var const_image_ = __webpack_require__(9702);
|
|
163
|
+
;// CONCATENATED MODULE: external "vue3-print-nb"
|
|
164
|
+
var external_vue3_print_nb_namespaceObject = require("vue3-print-nb");
|
|
165
|
+
var external_vue3_print_nb_default = /*#__PURE__*/__webpack_require__.n(external_vue3_print_nb_namespaceObject);
|
|
166
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_types/global-event"
|
|
167
|
+
var global_event_ = __webpack_require__(1088);
|
|
168
|
+
var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_);
|
|
169
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/clientPrint/ClientPrint.vue?vue&type=script&setup=true&lang=js
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
const _hoisted_1 = {
|
|
173
|
+
class: "kq3d-client-print-wrapper",
|
|
174
|
+
ref: "clientRef"
|
|
175
|
+
};
|
|
176
|
+
const _hoisted_2 = {
|
|
177
|
+
class: "setting-box-btn"
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
const _hoisted_3 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
181
|
+
class: "title"
|
|
182
|
+
}, "图层选择", -1
|
|
183
|
+
/* HOISTED */
|
|
184
|
+
);
|
|
185
|
+
|
|
186
|
+
const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
187
|
+
class: "title"
|
|
188
|
+
}, "标题设置", -1
|
|
189
|
+
/* HOISTED */
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
193
|
+
class: "title"
|
|
194
|
+
}, "添加文本", -1
|
|
195
|
+
/* HOISTED */
|
|
196
|
+
);
|
|
197
|
+
|
|
198
|
+
const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(" 页面设置 ");
|
|
199
|
+
|
|
200
|
+
const _hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("图例");
|
|
201
|
+
|
|
202
|
+
const _hoisted_8 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("指北针");
|
|
203
|
+
|
|
204
|
+
const _hoisted_9 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("状态栏");
|
|
205
|
+
|
|
206
|
+
const _hoisted_10 = {
|
|
207
|
+
class: "select-content-inner"
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
const _hoisted_11 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("A2");
|
|
211
|
+
|
|
212
|
+
const _hoisted_12 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("A3");
|
|
213
|
+
|
|
214
|
+
const _hoisted_13 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("A4");
|
|
215
|
+
|
|
216
|
+
const _hoisted_14 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("A5");
|
|
217
|
+
|
|
218
|
+
const _hoisted_15 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("A6");
|
|
219
|
+
|
|
220
|
+
const _hoisted_16 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("纵向");
|
|
221
|
+
|
|
222
|
+
const _hoisted_17 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("横向");
|
|
223
|
+
|
|
224
|
+
const _hoisted_18 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("png");
|
|
225
|
+
|
|
226
|
+
const _hoisted_19 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("jpg");
|
|
227
|
+
|
|
228
|
+
const _hoisted_20 = {
|
|
229
|
+
style: {
|
|
230
|
+
"text-align": "right"
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
const _hoisted_21 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("保存为图片");
|
|
235
|
+
|
|
236
|
+
const _hoisted_22 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(" 发送到打印机 ");
|
|
237
|
+
|
|
238
|
+
const _hoisted_23 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
239
|
+
class: "title"
|
|
240
|
+
}, "图层选择", -1
|
|
241
|
+
/* HOISTED */
|
|
242
|
+
);
|
|
243
|
+
|
|
244
|
+
const _hoisted_24 = {
|
|
245
|
+
class: "select-layer-content"
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
const _hoisted_25 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
249
|
+
class: "title"
|
|
250
|
+
}, "标题设置", -1
|
|
251
|
+
/* HOISTED */
|
|
252
|
+
);
|
|
253
|
+
|
|
254
|
+
const _hoisted_26 = {
|
|
255
|
+
class: "select-content-inner"
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
const _hoisted_27 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(" ");
|
|
259
|
+
|
|
260
|
+
const _hoisted_28 = {
|
|
261
|
+
style: {
|
|
262
|
+
"float": "right"
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
const _hoisted_29 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("背景阴影");
|
|
267
|
+
|
|
268
|
+
const _hoisted_30 = {
|
|
269
|
+
class: "clientprint-title"
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
const _hoisted_31 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("显示标题");
|
|
273
|
+
|
|
274
|
+
const _hoisted_32 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", {
|
|
275
|
+
class: "title"
|
|
276
|
+
}, "添加文本", -1
|
|
277
|
+
/* HOISTED */
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
const _hoisted_33 = {
|
|
281
|
+
class: "select-content-inner"
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
const _hoisted_34 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(" ");
|
|
285
|
+
|
|
286
|
+
const _hoisted_35 = {
|
|
287
|
+
class: "btn"
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
const _hoisted_36 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("增加");
|
|
291
|
+
|
|
292
|
+
const _hoisted_37 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)("清空");
|
|
293
|
+
|
|
294
|
+
const _hoisted_38 = {
|
|
295
|
+
class: "show-right-box-btn"
|
|
296
|
+
};
|
|
297
|
+
const _hoisted_39 = {
|
|
298
|
+
class: "btn-group"
|
|
299
|
+
};
|
|
300
|
+
const _hoisted_40 = {
|
|
301
|
+
class: "kq3d-client-print-titleContainerDiv"
|
|
302
|
+
};
|
|
303
|
+
const _hoisted_41 = {
|
|
304
|
+
class: "baseImage"
|
|
305
|
+
};
|
|
306
|
+
const _hoisted_42 = ["src"];
|
|
307
|
+
|
|
308
|
+
const _hoisted_43 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
309
|
+
style: {
|
|
310
|
+
"width": "100%",
|
|
311
|
+
"height": "100%",
|
|
312
|
+
"position": "absolute",
|
|
313
|
+
"index": "1000"
|
|
314
|
+
}
|
|
315
|
+
}, null, -1
|
|
316
|
+
/* HOISTED */
|
|
317
|
+
);
|
|
318
|
+
|
|
319
|
+
const _hoisted_44 = ["src"];
|
|
320
|
+
const _hoisted_45 = ["id"];
|
|
321
|
+
const _hoisted_46 = ["onClick"];
|
|
322
|
+
const _hoisted_47 = {
|
|
323
|
+
class: "kq3d-client-print-infomationContainer"
|
|
324
|
+
};
|
|
325
|
+
const _hoisted_48 = {
|
|
326
|
+
class: "kq3d-client-print-systemTime"
|
|
327
|
+
};
|
|
328
|
+
const _hoisted_49 = {
|
|
329
|
+
class: "kq3d-client-print-companyName"
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
const __default__ = {
|
|
339
|
+
name: "Kq3dClientPrint"
|
|
340
|
+
};
|
|
341
|
+
/* harmony default export */ var ClientPrintvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
342
|
+
props: {
|
|
343
|
+
// 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
|
|
344
|
+
mapTarget: String,
|
|
345
|
+
//打印标题
|
|
346
|
+
printTitle: {
|
|
347
|
+
type: String,
|
|
348
|
+
default: "XXXX一张图"
|
|
349
|
+
},
|
|
350
|
+
//打印显示的公司名
|
|
351
|
+
companyName: {
|
|
352
|
+
type: String,
|
|
353
|
+
default: "苍穹数码技术股份有限公司"
|
|
354
|
+
},
|
|
355
|
+
// 是否显示阴影
|
|
356
|
+
showShadow: {
|
|
357
|
+
type: Boolean,
|
|
358
|
+
default: true
|
|
359
|
+
},
|
|
360
|
+
options: Object,
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* 图层数据源
|
|
364
|
+
* 事例:
|
|
365
|
+
* {
|
|
366
|
+
name: null,// 服务名称
|
|
367
|
+
url: null,//服务地址
|
|
368
|
+
token: null,//服务token
|
|
369
|
+
type: "kqmapserver", //服务类型 kqmapserver或者kq3dserver
|
|
370
|
+
isShowAllLayers: true,
|
|
371
|
+
defaultShowLayerNames: []
|
|
372
|
+
}
|
|
373
|
+
*/
|
|
374
|
+
service: Object,
|
|
375
|
+
// ScenceView初始化的参数对象,包含初始化范围和layer信息。
|
|
376
|
+
scenceInfo: Object,
|
|
377
|
+
// 默认显示的图层组名称
|
|
378
|
+
defaultShowLayerNames: Array,
|
|
379
|
+
showToolButtons: {
|
|
380
|
+
type: Boolean,
|
|
381
|
+
default: true
|
|
382
|
+
},
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* 例:"top-left","top-right","bottom-left","bottom-right","left","right","bottom"
|
|
386
|
+
* {top:'16px',left:'16px'}, {top:16,left:16}
|
|
387
|
+
*/
|
|
388
|
+
toolButtonsPosition: [String, Object],
|
|
389
|
+
showLogo: {
|
|
390
|
+
type: Boolean,
|
|
391
|
+
default: false
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
|
|
395
|
+
setup(__props, {
|
|
396
|
+
expose
|
|
397
|
+
}) {
|
|
398
|
+
const props = __props;
|
|
399
|
+
let viewModel = null; // 标题的数据
|
|
400
|
+
|
|
401
|
+
let setTitleDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
402
|
+
style: {
|
|
403
|
+
fontSize: "18px",
|
|
404
|
+
fontFamily: "微软雅黑",
|
|
405
|
+
color: "rgba(0, 0, 0)",
|
|
406
|
+
textarea: "",
|
|
407
|
+
backgroundColor: "",
|
|
408
|
+
padding: "5px",
|
|
409
|
+
borderRadius: "3px",
|
|
410
|
+
shadowShowBg: "red",
|
|
411
|
+
fontFamilys: [{
|
|
412
|
+
value: "微软雅黑",
|
|
413
|
+
label: "微软雅黑"
|
|
414
|
+
}, {
|
|
415
|
+
value: "新宋体",
|
|
416
|
+
label: "新宋体"
|
|
417
|
+
}, {
|
|
418
|
+
value: "楷体",
|
|
419
|
+
label: "楷体"
|
|
420
|
+
}]
|
|
421
|
+
},
|
|
422
|
+
data: {
|
|
423
|
+
title: "",
|
|
424
|
+
shadowShow: false,
|
|
425
|
+
titleShow: true
|
|
426
|
+
}
|
|
427
|
+
}); // 文本的数据
|
|
428
|
+
|
|
429
|
+
let setLabelDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
430
|
+
style: {
|
|
431
|
+
fontSize: "18px",
|
|
432
|
+
fontFamily: "微软雅黑",
|
|
433
|
+
color: "#000000",
|
|
434
|
+
width: "100%",
|
|
435
|
+
resize: "none",
|
|
436
|
+
height: "96px",
|
|
437
|
+
border: "solid 1px #dcdee2",
|
|
438
|
+
fontFamilys: [{
|
|
439
|
+
value: "微软雅黑",
|
|
440
|
+
label: "微软雅黑"
|
|
441
|
+
}, {
|
|
442
|
+
value: "新宋体",
|
|
443
|
+
label: "新宋体"
|
|
444
|
+
}, {
|
|
445
|
+
value: "楷体",
|
|
446
|
+
label: "楷体"
|
|
447
|
+
}]
|
|
448
|
+
},
|
|
449
|
+
data: {
|
|
450
|
+
labelValue: ""
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
let cameraToImage = null; // 组件容器
|
|
454
|
+
|
|
455
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 选择容器
|
|
456
|
+
|
|
457
|
+
let settingBoxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 主内容容器
|
|
458
|
+
|
|
459
|
+
let mainBoxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
460
|
+
let scenceImageUrl = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
461
|
+
let titleRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 图层选择容器
|
|
462
|
+
|
|
463
|
+
let selectLayerBoxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 样式设置容器
|
|
464
|
+
|
|
465
|
+
let selectTitleBoxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 添加文本容器
|
|
466
|
+
|
|
467
|
+
let selectTextBoxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); //页面设置tab设置
|
|
468
|
+
|
|
469
|
+
const activeNames = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(["1"]); // 控制主容器与图层选择容器的切换
|
|
470
|
+
|
|
471
|
+
let isShowSettingBox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true); //图层选择显示控制
|
|
472
|
+
|
|
473
|
+
let isShowLayer = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); //标题设置显示控制
|
|
474
|
+
|
|
475
|
+
let isShowTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); //添加文本显示控制
|
|
476
|
+
|
|
477
|
+
let isShowText = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 边框样式
|
|
478
|
+
|
|
479
|
+
let borderStyleValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("printborder1"); //边框样式下拉选择
|
|
480
|
+
|
|
481
|
+
let borderStyleData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([{
|
|
482
|
+
value: "printborder1",
|
|
483
|
+
label: "模板一"
|
|
484
|
+
}, {
|
|
485
|
+
value: "printborder2",
|
|
486
|
+
label: "模板二"
|
|
487
|
+
}, {
|
|
488
|
+
value: "printborder3",
|
|
489
|
+
label: "模板三"
|
|
490
|
+
}, {
|
|
491
|
+
value: "printborder4",
|
|
492
|
+
label: "模板四"
|
|
493
|
+
}, {
|
|
494
|
+
value: "printborder5",
|
|
495
|
+
label: "模板五"
|
|
496
|
+
}]); // 纸张设置
|
|
497
|
+
|
|
498
|
+
let sizeData = [[{
|
|
499
|
+
f: "A2",
|
|
500
|
+
a: "纵向"
|
|
501
|
+
}, "a2VSize"], [{
|
|
502
|
+
f: "A3",
|
|
503
|
+
a: "纵向"
|
|
504
|
+
}, "a3VSize"], [{
|
|
505
|
+
f: "A4",
|
|
506
|
+
a: "纵向"
|
|
507
|
+
}, "a4VSize"], [{
|
|
508
|
+
f: "A5",
|
|
509
|
+
a: "纵向"
|
|
510
|
+
}, "a5VSize"], [{
|
|
511
|
+
f: "A6",
|
|
512
|
+
a: "纵向"
|
|
513
|
+
}, "a6VSize"], [{
|
|
514
|
+
f: "A2",
|
|
515
|
+
a: "横向"
|
|
516
|
+
}, "a2HSize"], [{
|
|
517
|
+
f: "A3",
|
|
518
|
+
a: "横向"
|
|
519
|
+
}, "a3HSize"], [{
|
|
520
|
+
f: "A4",
|
|
521
|
+
a: "横向"
|
|
522
|
+
}, "a4HSize"], [{
|
|
523
|
+
f: "A5",
|
|
524
|
+
a: "横向"
|
|
525
|
+
}, "a5HSize"], [{
|
|
526
|
+
f: "A6",
|
|
527
|
+
a: "横向"
|
|
528
|
+
}, "a6HSize"]]; // 字体大小
|
|
529
|
+
|
|
530
|
+
let sizelist = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([]); // 纸张类型
|
|
531
|
+
|
|
532
|
+
let papForm = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("A4"); // 默认
|
|
533
|
+
// 纸张方向
|
|
534
|
+
|
|
535
|
+
let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("纵向"); // 默认
|
|
536
|
+
// 图片格式
|
|
537
|
+
|
|
538
|
+
let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png"); //地图对象
|
|
539
|
+
|
|
540
|
+
let map2_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); //图例对象
|
|
541
|
+
|
|
542
|
+
let lengend_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 图例窗口显示与隐藏
|
|
543
|
+
|
|
544
|
+
let legendShow = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 比例尺显示与隐藏
|
|
545
|
+
|
|
546
|
+
let scalesShow = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 指北针的显示与隐藏
|
|
547
|
+
|
|
548
|
+
let compassShow = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
549
|
+
let isActive = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0); //打印内容div
|
|
550
|
+
|
|
551
|
+
let printContentDiv = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 打印内容
|
|
552
|
+
|
|
553
|
+
let printDiv = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 打印内容中的地图容器
|
|
554
|
+
|
|
555
|
+
let printMap = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 增加的文本的数据
|
|
556
|
+
|
|
557
|
+
let setLabelData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([]); //当前时间
|
|
558
|
+
|
|
559
|
+
let systemTime = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 公司名
|
|
560
|
+
|
|
561
|
+
let companyName = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
562
|
+
let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 打印对象
|
|
563
|
+
|
|
564
|
+
let printObj = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
|
|
565
|
+
id: "printMap",
|
|
566
|
+
popTitle: "打印",
|
|
567
|
+
|
|
568
|
+
beforeOpenCallback() {
|
|
569
|
+
printState.value = true;
|
|
570
|
+
},
|
|
571
|
+
|
|
572
|
+
openCallback() {
|
|
573
|
+
printState.value = false;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
});
|
|
577
|
+
let currentClick = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({});
|
|
578
|
+
let scaleFloor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(1);
|
|
579
|
+
let scaleStep = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0.2); // 查询进度条
|
|
580
|
+
|
|
581
|
+
let loadState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 三维球id
|
|
582
|
+
|
|
583
|
+
global_event_default().setDefaultMapInfo("scencePrint", "cesium", null);
|
|
584
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
585
|
+
viewModel = new ClientPrintViewModel/* default */.Z();
|
|
586
|
+
setTitleDataform.value.data.title = props.printTitle;
|
|
587
|
+
companyName.value = props.companyName;
|
|
588
|
+
sizelist.value = [];
|
|
589
|
+
|
|
590
|
+
for (let i = 15; i <= 32; i++) {
|
|
591
|
+
// 字体大小下拉
|
|
592
|
+
sizelist.value.push(i);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
setLabelData.value = []; //当前时间
|
|
596
|
+
|
|
597
|
+
systemTime.value = getSystemIime();
|
|
598
|
+
initControl();
|
|
599
|
+
global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
|
|
600
|
+
if (scenceView && scenceView._viewer) {
|
|
601
|
+
cameraToImage = new Cesium.Kq3dCanvasToImage(scenceView._viewer._container, {
|
|
602
|
+
viewer: scenceView._viewer,
|
|
603
|
+
canvas: scenceView._viewer.scene.canvas
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
});
|
|
607
|
+
});
|
|
608
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
609
|
+
destroy();
|
|
610
|
+
viewModel = null;
|
|
611
|
+
});
|
|
612
|
+
/**
|
|
613
|
+
* 获取当前时间
|
|
614
|
+
* @returns {string}
|
|
615
|
+
*/
|
|
616
|
+
|
|
617
|
+
function getSystemIime() {
|
|
618
|
+
let numMap = new Map([["0", "零"], ["1", "一"], ["2", "二"], ["3", "三"], ["4", "四"], ["5", "五"], ["6", "六"], ["7", "七"], ["8", "八"], ["9", "九"]]);
|
|
619
|
+
let tennumMap = new Map([["1", "十"], ["2", "二十"], ["3", "三十"]]);
|
|
620
|
+
let nowDate = new Date();
|
|
621
|
+
let year = nowDate.getFullYear() + ""; //年数字
|
|
622
|
+
|
|
623
|
+
let month = nowDate.getMonth() + 1 + ""; //月数字
|
|
624
|
+
|
|
625
|
+
let day = nowDate.getDate() + ""; //日数字
|
|
626
|
+
|
|
627
|
+
let yearCNStr = ""; //年中文
|
|
628
|
+
|
|
629
|
+
let nonthCNStr = ""; //月中文
|
|
630
|
+
|
|
631
|
+
let dayCNStr = ""; //日中文
|
|
632
|
+
|
|
633
|
+
for (let i = 0; i < year.length; i++) {
|
|
634
|
+
yearCNStr += numMap.get(year[i]);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
yearCNStr += "年";
|
|
638
|
+
|
|
639
|
+
if (month.length > 1) {
|
|
640
|
+
nonthCNStr = tennumMap.get(month[0]);
|
|
641
|
+
|
|
642
|
+
if (month[1] != "0") {
|
|
643
|
+
nonthCNStr += numMap.get(month[1]);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
nonthCNStr += "月";
|
|
647
|
+
} else {
|
|
648
|
+
nonthCNStr = numMap.get(month[0]) + "月";
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
if (day.length > 1) {
|
|
652
|
+
dayCNStr = tennumMap.get(day[0]);
|
|
653
|
+
|
|
654
|
+
if (day[1] != "0") {
|
|
655
|
+
dayCNStr += numMap.get(day[1]);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
dayCNStr += "日";
|
|
659
|
+
} else {
|
|
660
|
+
dayCNStr = numMap.get(day[0]) + "日";
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
return yearCNStr + nonthCNStr + dayCNStr;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* 显示切换
|
|
667
|
+
* @param {string} type
|
|
668
|
+
*/
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
function setShowChange(type) {
|
|
672
|
+
settingBoxRef.value.style.height = `${mainBoxRef.value.clientHeight}px`; // settingBoxRef.value.style.height = `${mainBoxRef.value.clientHeight}px`;
|
|
673
|
+
|
|
674
|
+
if (type === "layer") {
|
|
675
|
+
isShowLayer.value = true;
|
|
676
|
+
isShowTitle.value = false;
|
|
677
|
+
isShowText.value = false;
|
|
678
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
679
|
+
// settingBoxRef.value.style.height = `${selectLayerBoxRef.value.clientHeight}px`;
|
|
680
|
+
settingBoxRef.value.style.height = `${selectLayerBoxRef.value.clientHeight}px`;
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
if (type === "title") {
|
|
685
|
+
isShowLayer.value = false;
|
|
686
|
+
isShowTitle.value = true;
|
|
687
|
+
isShowText.value = false;
|
|
688
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
689
|
+
// settingBoxRef.value.style.height = `${selectTitleBoxRef.value.clientHeight}px`;
|
|
690
|
+
settingBoxRef.value.style.height = `${selectTitleBoxRef.value.clientHeight}px`;
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
if (type === "text") {
|
|
695
|
+
isShowLayer.value = false;
|
|
696
|
+
isShowTitle.value = false;
|
|
697
|
+
isShowText.value = true;
|
|
698
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
699
|
+
// settingBoxRef.value.style.height = `${selectTextBoxRef.value.clientHeight}px`;
|
|
700
|
+
settingBoxRef.value.style.height = `${selectTextBoxRef.value.clientHeight}px`;
|
|
701
|
+
});
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
* 切换后的左侧高度样式还原
|
|
706
|
+
*/
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
function setMainStyle() {
|
|
710
|
+
isShowLayer.value = false;
|
|
711
|
+
isShowTitle.value = false;
|
|
712
|
+
isShowText.value = false;
|
|
713
|
+
settingBoxRef.value.style.height = `${mainBoxRef.value.clientHeight}px`;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* 左侧窗口高度还原
|
|
717
|
+
*/
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
function changeMainHeight() {
|
|
721
|
+
settingBoxRef.value.style.height = "auto";
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* 初始化要在地图中显示的控件
|
|
725
|
+
*/
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
function initControl() {
|
|
729
|
+
var mapdiv = document.getElementById("scencePrint");
|
|
730
|
+
let html = mapdiv.innerHTML;
|
|
731
|
+
var legendDiv = document.getElementById("divlegendDiv");
|
|
732
|
+
var compassDiv = document.getElementById("divcompassDiv");
|
|
733
|
+
legendDiv.className = "kq3d-client-print-legendDiv";
|
|
734
|
+
compassDiv.className = "kq3d-client-print-compassDiv";
|
|
735
|
+
mapdiv.appendChild(compassDiv);
|
|
736
|
+
mapdiv.appendChild(legendDiv);
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* 边框样式切换
|
|
740
|
+
* @param {object} value
|
|
741
|
+
*/
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
function changeBorderStyleData(value) {
|
|
745
|
+
printContentDiv.value.className = "kq3d-client-print-printContentDiv " + "kq3d-client-print-" + borderStyleValue.value;
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* 纸张大小的切换
|
|
749
|
+
*/
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
function changeMapContainerSize() {
|
|
753
|
+
sizeData.forEach(item => {
|
|
754
|
+
if (item[0].f === papForm.value && item[0].a === papAnchor.value) {
|
|
755
|
+
let param = item[1];
|
|
756
|
+
printMap.value.className = "kq3d-client-print-mapContainerDiv " + "kq3d-client-print-" + param;
|
|
757
|
+
setScroll();
|
|
758
|
+
}
|
|
759
|
+
});
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* 滚动条居中
|
|
763
|
+
*/
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
function setScroll() {
|
|
767
|
+
printDiv.value.scrollTop = printMap.value.clientHeight / 2 - printDiv.value.clientHeight / 2;
|
|
768
|
+
printDiv.value.scrollLeft = printMap.value.clientWidth / 2 - printDiv.value.clientWidth / 2;
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* 添加文本
|
|
772
|
+
*/
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
function addLabel() {
|
|
776
|
+
let item = {
|
|
777
|
+
style: {
|
|
778
|
+
fontSize: setLabelDataform.value.style.fontSize,
|
|
779
|
+
fontFamily: setLabelDataform.value.style.fontFamily,
|
|
780
|
+
color: setLabelDataform.value.style.color,
|
|
781
|
+
padding: "10px 10px 5px 5px"
|
|
782
|
+
},
|
|
783
|
+
data: {
|
|
784
|
+
dataId: setLabelData.value.length + 1,
|
|
785
|
+
labelValue: setLabelDataform.value.data.labelValue,
|
|
786
|
+
isShow: false
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
setLabelData.value.push(item);
|
|
790
|
+
setTimeout(() => {
|
|
791
|
+
var mapdiv = document.getElementById("scencePrint");
|
|
792
|
+
|
|
793
|
+
for (let i = 0; i < setLabelData.value.length; i++) {
|
|
794
|
+
var labelDiv = document.getElementById(setLabelData.value[i].data.dataId);
|
|
795
|
+
labelDiv.style.display = "block";
|
|
796
|
+
mapdiv.appendChild(labelDiv);
|
|
797
|
+
}
|
|
798
|
+
}, 200);
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* 通过id删除文本
|
|
802
|
+
* @param {string} id
|
|
803
|
+
*/
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
function delLabel(id) {
|
|
807
|
+
for (let i = 0; i < setLabelData.value.length; i++) {
|
|
808
|
+
if (id === setLabelData.value[i].data.dataId) {
|
|
809
|
+
setLabelData.value.splice(i, 1);
|
|
810
|
+
break;
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* 清空文本
|
|
816
|
+
*/
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
function clearLabel() {
|
|
820
|
+
setLabelData.value.splice(0, setLabelData.value.length);
|
|
821
|
+
setLabelDataform.value.data.labelValue = "";
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* 设置拖动时的鼠标样式
|
|
825
|
+
* @param {object} event
|
|
826
|
+
*/
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
function setdragCursor(event) {
|
|
830
|
+
let el = event.currentTarget;
|
|
831
|
+
el.style.cursor = "move";
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* 拖动DIV,地图不随着拖动
|
|
835
|
+
* @param {object} event
|
|
836
|
+
*/
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
function dragTl(event) {
|
|
840
|
+
let mx = 0;
|
|
841
|
+
let my = 0;
|
|
842
|
+
let dx = 0;
|
|
843
|
+
let dy = 0;
|
|
844
|
+
let isDraging = false;
|
|
845
|
+
let el = event.currentTarget;
|
|
846
|
+
|
|
847
|
+
if (el.offsetTop < 0) {
|
|
848
|
+
el.style.top = "0px";
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
event = event || window.event;
|
|
852
|
+
mx = event.pageX;
|
|
853
|
+
my = event.pageY;
|
|
854
|
+
dx = el.offsetLeft;
|
|
855
|
+
dy = el.offsetTop;
|
|
856
|
+
isDraging = true;
|
|
857
|
+
document.addEventListener("mousemove", moveWin);
|
|
858
|
+
document.addEventListener("mouseup", removeEvent);
|
|
859
|
+
|
|
860
|
+
document.onselectstart = function () {
|
|
861
|
+
return false;
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
event.stopPropagation(); // }
|
|
865
|
+
|
|
866
|
+
function moveWin(event) {
|
|
867
|
+
event = event || window.event;
|
|
868
|
+
map2_ref.value.getWebMap().map.dragging.disable();
|
|
869
|
+
var x = event.pageX;
|
|
870
|
+
var y = event.pageY;
|
|
871
|
+
|
|
872
|
+
if (isDraging) {
|
|
873
|
+
var moveX = dx + x - mx;
|
|
874
|
+
var moveY = dy + y - my;
|
|
875
|
+
let pageW = 0;
|
|
876
|
+
let pageH = 0;
|
|
877
|
+
pageW = printContentDiv.value.clientWidth - 2;
|
|
878
|
+
pageH = printContentDiv.value.clientHeight - 2; // 2 控制下面的终点
|
|
879
|
+
|
|
880
|
+
var dialogW = el.clientWidth;
|
|
881
|
+
var dialogH = el.clientHeight;
|
|
882
|
+
var maxX = pageW - dialogW;
|
|
883
|
+
var maxY = pageH - dialogH;
|
|
884
|
+
moveX = Math.min(Math.max(0, moveX), maxX); // 58 控制上面的起点
|
|
885
|
+
|
|
886
|
+
moveY = Math.min(Math.max(0, moveY), maxY); // 58 控制上面的起点
|
|
887
|
+
|
|
888
|
+
el.style.right = "auto";
|
|
889
|
+
el.style.bottom = "auto";
|
|
890
|
+
el.style.left = moveX + "px";
|
|
891
|
+
el.style.top = moveY + "px";
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
function removeEvent() {
|
|
896
|
+
document.removeEventListener("mousemove", moveWin);
|
|
897
|
+
document.removeEventListener("mouseup", removeEvent);
|
|
898
|
+
el.style.cursor = "";
|
|
899
|
+
|
|
900
|
+
document.onselectstart = function () {
|
|
901
|
+
return true;
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
isDraging = false;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
function canvasToImage() {
|
|
909
|
+
global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
|
|
910
|
+
if (scenceView && scenceView._viewer) {
|
|
911
|
+
scenceImageUrl.value = cameraToImage.toDataURL(scenceView._viewer.scene.canvas, {
|
|
912
|
+
width: scenceView._viewer._lastWidth,
|
|
913
|
+
height: scenceView._viewer._lastHeight,
|
|
914
|
+
type: "JPG"
|
|
915
|
+
});
|
|
916
|
+
}
|
|
917
|
+
});
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* 保存为图片
|
|
921
|
+
*/
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
function getPic() {
|
|
925
|
+
canvasToImage();
|
|
926
|
+
loadState.value = true; // 延时1000ms,等待图片读入到blob文件对象,然后使用URL.createObjectURL转换成src可用的地址
|
|
927
|
+
|
|
928
|
+
setTimeout(() => {
|
|
929
|
+
external_html2canvas_default()(printMap.value, {
|
|
930
|
+
taintTest: true,
|
|
931
|
+
// 检测每张图片都已经加载完成
|
|
932
|
+
logging: true,
|
|
933
|
+
// 启用日志记录以进行调试 (发现加上对去白边有帮助)
|
|
934
|
+
allowTaint: true,
|
|
935
|
+
// 否允许跨源图像污染画布
|
|
936
|
+
backgroundColor: null,
|
|
937
|
+
// 解决生成的图片有白边
|
|
938
|
+
useCORS: true,
|
|
939
|
+
// 如果截图的内容里有图片,解决文件跨域问题
|
|
940
|
+
timeout: 2000 // 加载延时
|
|
941
|
+
|
|
942
|
+
}).then(canvas => {
|
|
943
|
+
loadState.value = false;
|
|
944
|
+
let pageData = canvas.toDataURL("image/png", 1.0);
|
|
945
|
+
let title = "printMap.png";
|
|
946
|
+
|
|
947
|
+
if (imageType.value === "jpg") {
|
|
948
|
+
pageData = canvas.toDataURL("image/jpeg", 1.0);
|
|
949
|
+
title = "printMap.jpg";
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
const el = document.createElement("a"); // 设置 href 为图片经过 base64 编码后的字符串,默认为 png 格式
|
|
953
|
+
|
|
954
|
+
el.href = pageData;
|
|
955
|
+
el.download = title; // 创建一个点击事件并对 a 标签进行触发
|
|
956
|
+
|
|
957
|
+
const event = new MouseEvent("click");
|
|
958
|
+
el.dispatchEvent(event);
|
|
959
|
+
});
|
|
960
|
+
}, 1000);
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* 显示图例
|
|
964
|
+
* @param {object} e
|
|
965
|
+
*/
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
function showLegend(e) {
|
|
969
|
+
if (e) {
|
|
970
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
971
|
+
lengend_ref.value.init();
|
|
972
|
+
});
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* 等比例放大
|
|
977
|
+
*/
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
function Enlarge() {
|
|
981
|
+
isActive.value = 1;
|
|
982
|
+
mouseScrollEnlarge(1);
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* 等比例缩小
|
|
986
|
+
*/
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
function Narrow() {
|
|
990
|
+
isActive.value = 2;
|
|
991
|
+
mouseScrollNarrow(-1);
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* 拖动打印范围
|
|
995
|
+
*/
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
function MovePrint() {
|
|
999
|
+
if (isActive.value === 3) {
|
|
1000
|
+
isActive.value = 0;
|
|
1001
|
+
} else {
|
|
1002
|
+
isActive.value = 3;
|
|
1003
|
+
let divScreen = document.querySelector("#printMap");
|
|
1004
|
+
divScreen.addEventListener("mousedown", downFunc);
|
|
1005
|
+
divScreen.addEventListener("mouseup", upFunc);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
/**
|
|
1009
|
+
* 拖动打印范围后还原
|
|
1010
|
+
*/
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
function RefreshStatus() {
|
|
1014
|
+
isActive.value = 0;
|
|
1015
|
+
document.querySelector("#printMap").style.cursor = "";
|
|
1016
|
+
document.getElementById("printMap").style.marginLeft = "auto";
|
|
1017
|
+
document.getElementById("printMap").style.marginTop = 0;
|
|
1018
|
+
document.getElementById("printMap").style.transform = "";
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* 拖动打印范围的点击鼠标左键事件
|
|
1022
|
+
* @param {object} e
|
|
1023
|
+
*/
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
function downFunc(e) {
|
|
1027
|
+
if (isActive.value !== 3) {
|
|
1028
|
+
return false;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
document.querySelector("#printMap").style.cursor = "move";
|
|
1032
|
+
currentClick.x = e.pageX - document.getElementById("printMap").offsetLeft;
|
|
1033
|
+
currentClick.y = e.pageY - document.getElementById("printMap").offsetTop;
|
|
1034
|
+
document.addEventListener("mousemove", moveFunc);
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* 拖动打印范围的松开鼠标左键事件
|
|
1038
|
+
* @param {object} e
|
|
1039
|
+
*/
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
function upFunc() {
|
|
1043
|
+
document.querySelector("#printMap").style.cursor = "";
|
|
1044
|
+
document.removeEventListener("mousemove", moveFunc);
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* 拖动打印范围的拖动鼠标事件
|
|
1048
|
+
* @param {object} e
|
|
1049
|
+
*/
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
function moveFunc() {
|
|
1053
|
+
let mosPostion = getMousePos();
|
|
1054
|
+
moveScreenTable(mosPostion.x - currentClick.x, mosPostion.y - (currentClick.y + 50));
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
* 计算拖动后的位置
|
|
1058
|
+
* @param {nubmer} x
|
|
1059
|
+
* @param {nubmer} y
|
|
1060
|
+
*/
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
function moveScreenTable(x, y) {
|
|
1064
|
+
let docScreen = document.querySelector("#printMap");
|
|
1065
|
+
let moveX = getPixelValue(docScreen, "left");
|
|
1066
|
+
let moveY = getPixelValue(docScreen, "top");
|
|
1067
|
+
moveX += x;
|
|
1068
|
+
moveY += y;
|
|
1069
|
+
|
|
1070
|
+
if (moveY < 0) {
|
|
1071
|
+
moveY = 0;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
document.getElementById("printMap").style.marginLeft = moveX + "px";
|
|
1075
|
+
document.getElementById("printMap").style.marginTop = moveY + "px";
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* 等比例放大
|
|
1079
|
+
* @param {number} step
|
|
1080
|
+
*/
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
function mouseScrollEnlarge(step) {
|
|
1084
|
+
if (step > 0) {
|
|
1085
|
+
scaleFloor.value = scaleFloor.value + scaleStep.value;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
if (scaleFloor.value > 0) {
|
|
1089
|
+
document.getElementById("printMap").style.transform = "scale(" + scaleFloor.value + ")";
|
|
1090
|
+
} else {
|
|
1091
|
+
document.getElementById("printMap").style.transform = "";
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* 等比例缩小
|
|
1096
|
+
* @param {number} step
|
|
1097
|
+
*/
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
function mouseScrollNarrow(step) {
|
|
1101
|
+
if (step < 0 && scaleFloor.value > scaleStep.value * 2) {
|
|
1102
|
+
scaleFloor.value = scaleFloor.value - scaleStep.value;
|
|
1103
|
+
} else {
|
|
1104
|
+
undefined;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
if (scaleFloor.value > 0) {
|
|
1108
|
+
document.getElementById("printMap").style.transform = "scale(" + scaleFloor.value + ")";
|
|
1109
|
+
} else {
|
|
1110
|
+
document.getElementById("printMap").style.transform = "";
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* 获取鼠标位置
|
|
1115
|
+
* @param {object} event
|
|
1116
|
+
*/
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
function getMousePos(event) {
|
|
1120
|
+
const e = event || window.event;
|
|
1121
|
+
const x = e.clientX - document.querySelector("#printMap").offsetLeft;
|
|
1122
|
+
const y = e.clientY - document.querySelector("#printMap").offsetTop;
|
|
1123
|
+
return {
|
|
1124
|
+
x: e.clientX,
|
|
1125
|
+
y: e.clientY
|
|
1126
|
+
};
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
function getPixelValue(doc, key) {
|
|
1130
|
+
return Number(doc.style[key].replace("px", ""));
|
|
1131
|
+
}
|
|
1132
|
+
/**
|
|
1133
|
+
* 清除设置
|
|
1134
|
+
*/
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
function destroy() {
|
|
1138
|
+
if (legendShow.value) {
|
|
1139
|
+
legendShow.value = false;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
if (scalesShow.value) {
|
|
1143
|
+
scalesShow.value = false;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
setLabelData.value = [];
|
|
1147
|
+
setTitleDataform.value = {
|
|
1148
|
+
// 标题的数据
|
|
1149
|
+
style: {
|
|
1150
|
+
fontSize: "18px",
|
|
1151
|
+
fontFamily: "微软雅黑",
|
|
1152
|
+
color: "rgba(0, 0, 0)",
|
|
1153
|
+
textarea: "",
|
|
1154
|
+
backgroundColor: "",
|
|
1155
|
+
padding: "5px",
|
|
1156
|
+
borderRadius: "3px",
|
|
1157
|
+
shadowShowBg: "red",
|
|
1158
|
+
fontFamilys: [{
|
|
1159
|
+
value: "微软雅黑",
|
|
1160
|
+
label: "微软雅黑"
|
|
1161
|
+
}, {
|
|
1162
|
+
value: "新宋体",
|
|
1163
|
+
label: "新宋体"
|
|
1164
|
+
}, {
|
|
1165
|
+
value: "楷体",
|
|
1166
|
+
label: "楷体"
|
|
1167
|
+
}]
|
|
1168
|
+
},
|
|
1169
|
+
data: {
|
|
1170
|
+
title: "",
|
|
1171
|
+
shadowShow: false,
|
|
1172
|
+
titleShow: true
|
|
1173
|
+
}
|
|
1174
|
+
};
|
|
1175
|
+
setLabelDataform.value = {
|
|
1176
|
+
// 文本的数据
|
|
1177
|
+
style: {
|
|
1178
|
+
fontSize: "18px",
|
|
1179
|
+
fontFamily: "微软雅黑",
|
|
1180
|
+
color: "#000000",
|
|
1181
|
+
width: "216px",
|
|
1182
|
+
resize: "none",
|
|
1183
|
+
height: "96px",
|
|
1184
|
+
border: "solid 1px #dcdee2",
|
|
1185
|
+
fontFamilys: [{
|
|
1186
|
+
value: "微软雅黑",
|
|
1187
|
+
label: "微软雅黑"
|
|
1188
|
+
}, {
|
|
1189
|
+
value: "新宋体",
|
|
1190
|
+
label: "新宋体"
|
|
1191
|
+
}, {
|
|
1192
|
+
value: "楷体",
|
|
1193
|
+
label: "楷体"
|
|
1194
|
+
}]
|
|
1195
|
+
},
|
|
1196
|
+
data: {
|
|
1197
|
+
labelValue: ""
|
|
1198
|
+
}
|
|
1199
|
+
};
|
|
1200
|
+
viewModel.destroy();
|
|
1201
|
+
} // 抛出方法 外部调用
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
expose({
|
|
1205
|
+
destroy
|
|
1206
|
+
});
|
|
1207
|
+
return (_ctx, _cache) => {
|
|
1208
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
1209
|
+
|
|
1210
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
1211
|
+
|
|
1212
|
+
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
1213
|
+
|
|
1214
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
1215
|
+
|
|
1216
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
1217
|
+
|
|
1218
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
1219
|
+
|
|
1220
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
1221
|
+
|
|
1222
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
1223
|
+
|
|
1224
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
1225
|
+
|
|
1226
|
+
const _component_kq_divider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-divider");
|
|
1227
|
+
|
|
1228
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
1229
|
+
|
|
1230
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
1231
|
+
|
|
1232
|
+
const _component_kq_layer_tree = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-layer-tree");
|
|
1233
|
+
|
|
1234
|
+
const _component_kq_input = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input");
|
|
1235
|
+
|
|
1236
|
+
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
1237
|
+
|
|
1238
|
+
const _component_kq3d_status_bar = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq3d-status-bar");
|
|
1239
|
+
|
|
1240
|
+
const _component_kq_legend = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-legend");
|
|
1241
|
+
|
|
1242
|
+
const _component_kq_scence_view = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scence-view");
|
|
1243
|
+
|
|
1244
|
+
const _component_kq_scrollbar = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scrollbar");
|
|
1245
|
+
|
|
1246
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1247
|
+
class: "settleLayer",
|
|
1248
|
+
ref_key: "boxRef",
|
|
1249
|
+
ref: boxRef,
|
|
1250
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
1251
|
+
left: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowSettingBox) ? `16px` : `-442px`
|
|
1252
|
+
})
|
|
1253
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowSettingBox) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_button, {
|
|
1254
|
+
key: 0,
|
|
1255
|
+
onClick: _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(isShowSettingBox) ? isShowSettingBox.value = false : isShowSettingBox = false),
|
|
1256
|
+
class: "hide-setting-box-btn"
|
|
1257
|
+
}, {
|
|
1258
|
+
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_icon, null, {
|
|
1259
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.DArrowLeft))]),
|
|
1260
|
+
_: 1
|
|
1261
|
+
/* STABLE */
|
|
1262
|
+
|
|
1263
|
+
})]),
|
|
1264
|
+
_: 1
|
|
1265
|
+
/* STABLE */
|
|
1266
|
+
|
|
1267
|
+
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), !(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowSettingBox) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_button, {
|
|
1268
|
+
key: 1,
|
|
1269
|
+
onClick: _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(isShowSettingBox) ? isShowSettingBox.value = true : isShowSettingBox = true),
|
|
1270
|
+
class: "show-setting-box-btn"
|
|
1271
|
+
}, {
|
|
1272
|
+
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_icon, null, {
|
|
1273
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.DArrowRight))]),
|
|
1274
|
+
_: 1
|
|
1275
|
+
/* STABLE */
|
|
1276
|
+
|
|
1277
|
+
})]),
|
|
1278
|
+
_: 1
|
|
1279
|
+
/* STABLE */
|
|
1280
|
+
|
|
1281
|
+
})) : (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", {
|
|
1282
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["setting-box", {
|
|
1283
|
+
'kq-box-shadow': __props.showShadow
|
|
1284
|
+
}]),
|
|
1285
|
+
ref_key: "settingBoxRef",
|
|
1286
|
+
ref: settingBoxRef
|
|
1287
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1288
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["box", (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowLayer) ? 'is-show-layer' : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowTitle) ? 'is-show-layer' : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowText) ? 'is-show-layer' : null])
|
|
1289
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1290
|
+
class: "main-box",
|
|
1291
|
+
ref_key: "mainBoxRef",
|
|
1292
|
+
ref: mainBoxRef
|
|
1293
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 图层选择-bar "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1294
|
+
class: "select-layer-bar bar",
|
|
1295
|
+
onClick: _cache[2] || (_cache[2] = $event => setShowChange('layer'))
|
|
1296
|
+
}, [_hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
1297
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowRight))]),
|
|
1298
|
+
_: 1
|
|
1299
|
+
/* STABLE */
|
|
1300
|
+
|
|
1301
|
+
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1302
|
+
class: "select-layer-bar bar select-layer-margin",
|
|
1303
|
+
onClick: _cache[3] || (_cache[3] = $event => setShowChange('title'))
|
|
1304
|
+
}, [_hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
1305
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowRight))]),
|
|
1306
|
+
_: 1
|
|
1307
|
+
/* STABLE */
|
|
1308
|
+
|
|
1309
|
+
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1310
|
+
class: "select-layer-bar bar select-layer-margin",
|
|
1311
|
+
onClick: _cache[4] || (_cache[4] = $event => setShowChange('text'))
|
|
1312
|
+
}, [_hoisted_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
1313
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowRight))]),
|
|
1314
|
+
_: 1
|
|
1315
|
+
/* STABLE */
|
|
1316
|
+
|
|
1317
|
+
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
1318
|
+
modelValue: activeNames.value,
|
|
1319
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => activeNames.value = $event),
|
|
1320
|
+
onChange: changeMainHeight
|
|
1321
|
+
}, {
|
|
1322
|
+
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, {
|
|
1323
|
+
name: "1"
|
|
1324
|
+
}, {
|
|
1325
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
1326
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["header-icon", activeNames.value.includes('1') ? 'is-active' : null])
|
|
1327
|
+
}, {
|
|
1328
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.CaretRight))]),
|
|
1329
|
+
_: 1
|
|
1330
|
+
/* STABLE */
|
|
1331
|
+
|
|
1332
|
+
}, 8
|
|
1333
|
+
/* PROPS */
|
|
1334
|
+
, ["class"])]),
|
|
1335
|
+
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_row, null, {
|
|
1336
|
+
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_col, {
|
|
1337
|
+
span: 9
|
|
1338
|
+
}, {
|
|
1339
|
+
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_checkbox, {
|
|
1340
|
+
class: "btnStyle",
|
|
1341
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(legendShow),
|
|
1342
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(legendShow) ? legendShow.value = $event : legendShow = $event),
|
|
1343
|
+
onChange: showLegend
|
|
1344
|
+
}, {
|
|
1345
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_7]),
|
|
1346
|
+
_: 1
|
|
1347
|
+
/* STABLE */
|
|
1348
|
+
|
|
1349
|
+
}, 8
|
|
1350
|
+
/* PROPS */
|
|
1351
|
+
, ["modelValue"])]),
|
|
1352
|
+
_: 1
|
|
1353
|
+
/* STABLE */
|
|
1354
|
+
|
|
1355
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1356
|
+
span: 9
|
|
1357
|
+
}, {
|
|
1358
|
+
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_checkbox, {
|
|
1359
|
+
class: "btnStyle",
|
|
1360
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(compassShow),
|
|
1361
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(compassShow) ? compassShow.value = $event : compassShow = $event)
|
|
1362
|
+
}, {
|
|
1363
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_8]),
|
|
1364
|
+
_: 1
|
|
1365
|
+
/* STABLE */
|
|
1366
|
+
|
|
1367
|
+
}, 8
|
|
1368
|
+
/* PROPS */
|
|
1369
|
+
, ["modelValue"])]),
|
|
1370
|
+
_: 1
|
|
1371
|
+
/* STABLE */
|
|
1372
|
+
|
|
1373
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1374
|
+
span: 6
|
|
1375
|
+
}, {
|
|
1376
|
+
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_checkbox, {
|
|
1377
|
+
class: "btnStyle",
|
|
1378
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(scalesShow),
|
|
1379
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(scalesShow) ? scalesShow.value = $event : scalesShow = $event)
|
|
1380
|
+
}, {
|
|
1381
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_9]),
|
|
1382
|
+
_: 1
|
|
1383
|
+
/* STABLE */
|
|
1384
|
+
|
|
1385
|
+
}, 8
|
|
1386
|
+
/* PROPS */
|
|
1387
|
+
, ["modelValue"])]),
|
|
1388
|
+
_: 1
|
|
1389
|
+
/* STABLE */
|
|
1390
|
+
|
|
1391
|
+
})]),
|
|
1392
|
+
_: 1
|
|
1393
|
+
/* STABLE */
|
|
1394
|
+
|
|
1395
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
1396
|
+
model: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform),
|
|
1397
|
+
"label-width": "70px",
|
|
1398
|
+
"label-position": "left"
|
|
1399
|
+
}, {
|
|
1400
|
+
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_row, null, {
|
|
1401
|
+
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_col, null, {
|
|
1402
|
+
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, {
|
|
1403
|
+
label: "花边"
|
|
1404
|
+
}, {
|
|
1405
|
+
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, {
|
|
1406
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(borderStyleValue),
|
|
1407
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(borderStyleValue) ? borderStyleValue.value = $event : borderStyleValue = $event),
|
|
1408
|
+
onChange: changeBorderStyleData
|
|
1409
|
+
}, {
|
|
1410
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(borderStyleData), item => {
|
|
1411
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
1412
|
+
key: item.value,
|
|
1413
|
+
label: item.label,
|
|
1414
|
+
value: item.value
|
|
1415
|
+
}, null, 8
|
|
1416
|
+
/* PROPS */
|
|
1417
|
+
, ["label", "value"]);
|
|
1418
|
+
}), 128
|
|
1419
|
+
/* KEYED_FRAGMENT */
|
|
1420
|
+
))]),
|
|
1421
|
+
_: 1
|
|
1422
|
+
/* STABLE */
|
|
1423
|
+
|
|
1424
|
+
}, 8
|
|
1425
|
+
/* PROPS */
|
|
1426
|
+
, ["modelValue"])]),
|
|
1427
|
+
_: 1
|
|
1428
|
+
/* STABLE */
|
|
1429
|
+
|
|
1430
|
+
})]),
|
|
1431
|
+
_: 1
|
|
1432
|
+
/* STABLE */
|
|
1433
|
+
|
|
1434
|
+
})]),
|
|
1435
|
+
_: 1
|
|
1436
|
+
/* STABLE */
|
|
1437
|
+
|
|
1438
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1439
|
+
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_col, null, {
|
|
1440
|
+
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, {
|
|
1441
|
+
label: "纸张类型"
|
|
1442
|
+
}, {
|
|
1443
|
+
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, {
|
|
1444
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(papForm),
|
|
1445
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(papForm) ? papForm.value = $event : papForm = $event),
|
|
1446
|
+
onChange: changeMapContainerSize
|
|
1447
|
+
}, {
|
|
1448
|
+
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_option, {
|
|
1449
|
+
value: "A2"
|
|
1450
|
+
}, {
|
|
1451
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_11]),
|
|
1452
|
+
_: 1
|
|
1453
|
+
/* STABLE */
|
|
1454
|
+
|
|
1455
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
1456
|
+
value: "A3"
|
|
1457
|
+
}, {
|
|
1458
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_12]),
|
|
1459
|
+
_: 1
|
|
1460
|
+
/* STABLE */
|
|
1461
|
+
|
|
1462
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
1463
|
+
value: "A4"
|
|
1464
|
+
}, {
|
|
1465
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_13]),
|
|
1466
|
+
_: 1
|
|
1467
|
+
/* STABLE */
|
|
1468
|
+
|
|
1469
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
1470
|
+
value: "A5"
|
|
1471
|
+
}, {
|
|
1472
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_14]),
|
|
1473
|
+
_: 1
|
|
1474
|
+
/* STABLE */
|
|
1475
|
+
|
|
1476
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
1477
|
+
value: "A6"
|
|
1478
|
+
}, {
|
|
1479
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_15]),
|
|
1480
|
+
_: 1
|
|
1481
|
+
/* STABLE */
|
|
1482
|
+
|
|
1483
|
+
})]),
|
|
1484
|
+
_: 1
|
|
1485
|
+
/* STABLE */
|
|
1486
|
+
|
|
1487
|
+
}, 8
|
|
1488
|
+
/* PROPS */
|
|
1489
|
+
, ["modelValue"])]),
|
|
1490
|
+
_: 1
|
|
1491
|
+
/* STABLE */
|
|
1492
|
+
|
|
1493
|
+
})]),
|
|
1494
|
+
_: 1
|
|
1495
|
+
/* STABLE */
|
|
1496
|
+
|
|
1497
|
+
})]),
|
|
1498
|
+
_: 1
|
|
1499
|
+
/* STABLE */
|
|
1500
|
+
|
|
1501
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1502
|
+
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_col, null, {
|
|
1503
|
+
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, {
|
|
1504
|
+
label: "纸张方向"
|
|
1505
|
+
}, {
|
|
1506
|
+
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, {
|
|
1507
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(papAnchor),
|
|
1508
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(papAnchor) ? papAnchor.value = $event : papAnchor = $event),
|
|
1509
|
+
onChange: changeMapContainerSize
|
|
1510
|
+
}, {
|
|
1511
|
+
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_option, {
|
|
1512
|
+
value: "纵向"
|
|
1513
|
+
}, {
|
|
1514
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_16]),
|
|
1515
|
+
_: 1
|
|
1516
|
+
/* STABLE */
|
|
1517
|
+
|
|
1518
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
1519
|
+
value: "横向"
|
|
1520
|
+
}, {
|
|
1521
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_17]),
|
|
1522
|
+
_: 1
|
|
1523
|
+
/* STABLE */
|
|
1524
|
+
|
|
1525
|
+
})]),
|
|
1526
|
+
_: 1
|
|
1527
|
+
/* STABLE */
|
|
1528
|
+
|
|
1529
|
+
}, 8
|
|
1530
|
+
/* PROPS */
|
|
1531
|
+
, ["modelValue"])]),
|
|
1532
|
+
_: 1
|
|
1533
|
+
/* STABLE */
|
|
1534
|
+
|
|
1535
|
+
})]),
|
|
1536
|
+
_: 1
|
|
1537
|
+
/* STABLE */
|
|
1538
|
+
|
|
1539
|
+
})]),
|
|
1540
|
+
_: 1
|
|
1541
|
+
/* STABLE */
|
|
1542
|
+
|
|
1543
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1544
|
+
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_col, null, {
|
|
1545
|
+
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, {
|
|
1546
|
+
label: "图片格式"
|
|
1547
|
+
}, {
|
|
1548
|
+
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, {
|
|
1549
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(imageType),
|
|
1550
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(imageType) ? imageType.value = $event : imageType = $event)
|
|
1551
|
+
}, {
|
|
1552
|
+
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_option, {
|
|
1553
|
+
value: "png"
|
|
1554
|
+
}, {
|
|
1555
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_18]),
|
|
1556
|
+
_: 1
|
|
1557
|
+
/* STABLE */
|
|
1558
|
+
|
|
1559
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
1560
|
+
value: "jpg"
|
|
1561
|
+
}, {
|
|
1562
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_19]),
|
|
1563
|
+
_: 1
|
|
1564
|
+
/* STABLE */
|
|
1565
|
+
|
|
1566
|
+
})]),
|
|
1567
|
+
_: 1
|
|
1568
|
+
/* STABLE */
|
|
1569
|
+
|
|
1570
|
+
}, 8
|
|
1571
|
+
/* PROPS */
|
|
1572
|
+
, ["modelValue"])]),
|
|
1573
|
+
_: 1
|
|
1574
|
+
/* STABLE */
|
|
1575
|
+
|
|
1576
|
+
})]),
|
|
1577
|
+
_: 1
|
|
1578
|
+
/* STABLE */
|
|
1579
|
+
|
|
1580
|
+
})]),
|
|
1581
|
+
_: 1
|
|
1582
|
+
/* STABLE */
|
|
1583
|
+
|
|
1584
|
+
})]),
|
|
1585
|
+
_: 1
|
|
1586
|
+
/* STABLE */
|
|
1587
|
+
|
|
1588
|
+
}, 8
|
|
1589
|
+
/* PROPS */
|
|
1590
|
+
, ["model"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_20, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1591
|
+
type: "primary",
|
|
1592
|
+
onClick: _cache[12] || (_cache[12] = $event => getPic()),
|
|
1593
|
+
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loadState)
|
|
1594
|
+
}, {
|
|
1595
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_21]),
|
|
1596
|
+
_: 1
|
|
1597
|
+
/* STABLE */
|
|
1598
|
+
|
|
1599
|
+
}, 8
|
|
1600
|
+
/* PROPS */
|
|
1601
|
+
, ["loading"]), (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_.createBlock)(_component_kq_button, {
|
|
1602
|
+
type: "plain",
|
|
1603
|
+
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(printState),
|
|
1604
|
+
onClick: _cache[13] || (_cache[13] = $event => canvasToImage())
|
|
1605
|
+
}, {
|
|
1606
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_22]),
|
|
1607
|
+
_: 1
|
|
1608
|
+
/* STABLE */
|
|
1609
|
+
|
|
1610
|
+
}, 8
|
|
1611
|
+
/* PROPS */
|
|
1612
|
+
, ["loading"])), [[(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)((external_vue3_print_nb_default())), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(printObj)]])])]),
|
|
1613
|
+
_: 1
|
|
1614
|
+
/* STABLE */
|
|
1615
|
+
|
|
1616
|
+
})]),
|
|
1617
|
+
_: 1
|
|
1618
|
+
/* STABLE */
|
|
1619
|
+
|
|
1620
|
+
}, 8
|
|
1621
|
+
/* PROPS */
|
|
1622
|
+
, ["modelValue"])], 512
|
|
1623
|
+
/* NEED_PATCH */
|
|
1624
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 图层选择-box "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowLayer) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
|
|
1625
|
+
key: 0,
|
|
1626
|
+
class: "select-layer-box",
|
|
1627
|
+
ref_key: "selectLayerBoxRef",
|
|
1628
|
+
ref: selectLayerBoxRef
|
|
1629
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 图层选择-bar "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1630
|
+
class: "select-layer-bar bar",
|
|
1631
|
+
onClick: setMainStyle
|
|
1632
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
1633
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowLeft))]),
|
|
1634
|
+
_: 1
|
|
1635
|
+
/* STABLE */
|
|
1636
|
+
|
|
1637
|
+
}), _hoisted_23]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_24, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_layer_tree, {
|
|
1638
|
+
showShadow: false,
|
|
1639
|
+
"map-target": 'scencePrint'
|
|
1640
|
+
})])], 512
|
|
1641
|
+
/* NEED_PATCH */
|
|
1642
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 标题设置-box "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1643
|
+
class: "select-layer-box",
|
|
1644
|
+
ref_key: "selectTitleBoxRef",
|
|
1645
|
+
ref: selectTitleBoxRef
|
|
1646
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 标题设置-bar "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1647
|
+
class: "select-layer-bar bar",
|
|
1648
|
+
onClick: setMainStyle
|
|
1649
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
1650
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowLeft))]),
|
|
1651
|
+
_: 1
|
|
1652
|
+
/* STABLE */
|
|
1653
|
+
|
|
1654
|
+
}), _hoisted_25]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
1655
|
+
model: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform),
|
|
1656
|
+
"label-width": "70px",
|
|
1657
|
+
"label-position": "left"
|
|
1658
|
+
}, {
|
|
1659
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_26, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1660
|
+
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_col, {
|
|
1661
|
+
span: 24
|
|
1662
|
+
}, {
|
|
1663
|
+
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, {
|
|
1664
|
+
label: "标题"
|
|
1665
|
+
}, {
|
|
1666
|
+
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, {
|
|
1667
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.title,
|
|
1668
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.title = $event)
|
|
1669
|
+
}, null, 8
|
|
1670
|
+
/* PROPS */
|
|
1671
|
+
, ["modelValue"])]),
|
|
1672
|
+
_: 1
|
|
1673
|
+
/* STABLE */
|
|
1674
|
+
|
|
1675
|
+
})]),
|
|
1676
|
+
_: 1
|
|
1677
|
+
/* STABLE */
|
|
1678
|
+
|
|
1679
|
+
})]),
|
|
1680
|
+
_: 1
|
|
1681
|
+
/* STABLE */
|
|
1682
|
+
|
|
1683
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1684
|
+
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_col, {
|
|
1685
|
+
span: 24
|
|
1686
|
+
}, {
|
|
1687
|
+
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, {
|
|
1688
|
+
label: "字体样式"
|
|
1689
|
+
}, {
|
|
1690
|
+
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, {
|
|
1691
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontFamily,
|
|
1692
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontFamily = $event),
|
|
1693
|
+
placeholder: "请选择",
|
|
1694
|
+
style: {
|
|
1695
|
+
"width": "100%"
|
|
1696
|
+
}
|
|
1697
|
+
}, {
|
|
1698
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontFamilys, item => {
|
|
1699
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
1700
|
+
key: item.value,
|
|
1701
|
+
label: item.label,
|
|
1702
|
+
value: item.value
|
|
1703
|
+
}, null, 8
|
|
1704
|
+
/* PROPS */
|
|
1705
|
+
, ["label", "value"]);
|
|
1706
|
+
}), 128
|
|
1707
|
+
/* KEYED_FRAGMENT */
|
|
1708
|
+
))]),
|
|
1709
|
+
_: 1
|
|
1710
|
+
/* STABLE */
|
|
1711
|
+
|
|
1712
|
+
}, 8
|
|
1713
|
+
/* PROPS */
|
|
1714
|
+
, ["modelValue"])]),
|
|
1715
|
+
_: 1
|
|
1716
|
+
/* STABLE */
|
|
1717
|
+
|
|
1718
|
+
})]),
|
|
1719
|
+
_: 1
|
|
1720
|
+
/* STABLE */
|
|
1721
|
+
|
|
1722
|
+
})]),
|
|
1723
|
+
_: 1
|
|
1724
|
+
/* STABLE */
|
|
1725
|
+
|
|
1726
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1727
|
+
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_col, {
|
|
1728
|
+
span: 16
|
|
1729
|
+
}, {
|
|
1730
|
+
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, {
|
|
1731
|
+
label: "字体大小"
|
|
1732
|
+
}, {
|
|
1733
|
+
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, {
|
|
1734
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontSize,
|
|
1735
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.fontSize = $event),
|
|
1736
|
+
placeholder: "字体大小"
|
|
1737
|
+
}, {
|
|
1738
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(sizelist).value, size => {
|
|
1739
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
1740
|
+
key: size,
|
|
1741
|
+
value: `${size}px`
|
|
1742
|
+
}, {
|
|
1743
|
+
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)(size), 1
|
|
1744
|
+
/* TEXT */
|
|
1745
|
+
)]),
|
|
1746
|
+
_: 2
|
|
1747
|
+
/* DYNAMIC */
|
|
1748
|
+
|
|
1749
|
+
}, 1032
|
|
1750
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
1751
|
+
, ["value"]);
|
|
1752
|
+
}), 128
|
|
1753
|
+
/* KEYED_FRAGMENT */
|
|
1754
|
+
))]),
|
|
1755
|
+
_: 1
|
|
1756
|
+
/* STABLE */
|
|
1757
|
+
|
|
1758
|
+
}, 8
|
|
1759
|
+
/* PROPS */
|
|
1760
|
+
, ["modelValue"])]),
|
|
1761
|
+
_: 1
|
|
1762
|
+
/* STABLE */
|
|
1763
|
+
|
|
1764
|
+
})]),
|
|
1765
|
+
_: 1
|
|
1766
|
+
/* STABLE */
|
|
1767
|
+
|
|
1768
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1769
|
+
span: 2
|
|
1770
|
+
}, {
|
|
1771
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_27]),
|
|
1772
|
+
_: 1
|
|
1773
|
+
/* STABLE */
|
|
1774
|
+
|
|
1775
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1776
|
+
span: 6
|
|
1777
|
+
}, {
|
|
1778
|
+
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, {
|
|
1779
|
+
label: "字体颜色"
|
|
1780
|
+
}, {
|
|
1781
|
+
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_color_picker, {
|
|
1782
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.color,
|
|
1783
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.color = $event),
|
|
1784
|
+
"show-alpha": ""
|
|
1785
|
+
}, null, 8
|
|
1786
|
+
/* PROPS */
|
|
1787
|
+
, ["modelValue"])]),
|
|
1788
|
+
_: 1
|
|
1789
|
+
/* STABLE */
|
|
1790
|
+
|
|
1791
|
+
})]),
|
|
1792
|
+
_: 1
|
|
1793
|
+
/* STABLE */
|
|
1794
|
+
|
|
1795
|
+
})]),
|
|
1796
|
+
_: 1
|
|
1797
|
+
/* STABLE */
|
|
1798
|
+
|
|
1799
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1800
|
+
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_col, {
|
|
1801
|
+
span: 8
|
|
1802
|
+
}, {
|
|
1803
|
+
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, {
|
|
1804
|
+
label: "背景颜色"
|
|
1805
|
+
}, {
|
|
1806
|
+
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_color_picker, {
|
|
1807
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.backgroundColor,
|
|
1808
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.backgroundColor = $event),
|
|
1809
|
+
"show-alpha": ""
|
|
1810
|
+
}, null, 8
|
|
1811
|
+
/* PROPS */
|
|
1812
|
+
, ["modelValue"])]),
|
|
1813
|
+
_: 1
|
|
1814
|
+
/* STABLE */
|
|
1815
|
+
|
|
1816
|
+
})]),
|
|
1817
|
+
_: 1
|
|
1818
|
+
/* STABLE */
|
|
1819
|
+
|
|
1820
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1821
|
+
span: 8
|
|
1822
|
+
}, {
|
|
1823
|
+
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, {
|
|
1824
|
+
label: "阴影颜色"
|
|
1825
|
+
}, {
|
|
1826
|
+
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_color_picker, {
|
|
1827
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.shadowShowBg,
|
|
1828
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.shadowShowBg = $event),
|
|
1829
|
+
"show-alpha": ""
|
|
1830
|
+
}, null, 8
|
|
1831
|
+
/* PROPS */
|
|
1832
|
+
, ["modelValue"])]),
|
|
1833
|
+
_: 1
|
|
1834
|
+
/* STABLE */
|
|
1835
|
+
|
|
1836
|
+
})]),
|
|
1837
|
+
_: 1
|
|
1838
|
+
/* STABLE */
|
|
1839
|
+
|
|
1840
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1841
|
+
span: 8
|
|
1842
|
+
}, {
|
|
1843
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_28, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_checkbox, {
|
|
1844
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.shadowShow,
|
|
1845
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.shadowShow = $event)
|
|
1846
|
+
}, {
|
|
1847
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_29]),
|
|
1848
|
+
_: 1
|
|
1849
|
+
/* STABLE */
|
|
1850
|
+
|
|
1851
|
+
}, 8
|
|
1852
|
+
/* PROPS */
|
|
1853
|
+
, ["modelValue"])])]),
|
|
1854
|
+
_: 1
|
|
1855
|
+
/* STABLE */
|
|
1856
|
+
|
|
1857
|
+
})]),
|
|
1858
|
+
_: 1
|
|
1859
|
+
/* STABLE */
|
|
1860
|
+
|
|
1861
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_30, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_checkbox, {
|
|
1862
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.titleShow,
|
|
1863
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.titleShow = $event)
|
|
1864
|
+
}, {
|
|
1865
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_31]),
|
|
1866
|
+
_: 1
|
|
1867
|
+
/* STABLE */
|
|
1868
|
+
|
|
1869
|
+
}, 8
|
|
1870
|
+
/* PROPS */
|
|
1871
|
+
, ["modelValue"])])])]),
|
|
1872
|
+
_: 1
|
|
1873
|
+
/* STABLE */
|
|
1874
|
+
|
|
1875
|
+
}, 8
|
|
1876
|
+
/* PROPS */
|
|
1877
|
+
, ["model"])], 512
|
|
1878
|
+
/* NEED_PATCH */
|
|
1879
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowTitle)]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 添加文本-box "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1880
|
+
class: "select-layer-box",
|
|
1881
|
+
ref_key: "selectTextBoxRef",
|
|
1882
|
+
ref: selectTextBoxRef
|
|
1883
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 添加文本-bar "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
1884
|
+
class: "select-layer-bar bar",
|
|
1885
|
+
onClick: setMainStyle
|
|
1886
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, null, {
|
|
1887
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ArrowLeft))]),
|
|
1888
|
+
_: 1
|
|
1889
|
+
/* STABLE */
|
|
1890
|
+
|
|
1891
|
+
}), _hoisted_32]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_33, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
1892
|
+
model: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform),
|
|
1893
|
+
"label-width": "70px",
|
|
1894
|
+
"label-position": "left"
|
|
1895
|
+
}, {
|
|
1896
|
+
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, {
|
|
1897
|
+
label: "字体样式"
|
|
1898
|
+
}, {
|
|
1899
|
+
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, {
|
|
1900
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontFamily,
|
|
1901
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontFamily = $event),
|
|
1902
|
+
placeholder: "请选择",
|
|
1903
|
+
style: {
|
|
1904
|
+
"width": "100%"
|
|
1905
|
+
}
|
|
1906
|
+
}, {
|
|
1907
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontFamilys, item => {
|
|
1908
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
1909
|
+
key: item.value,
|
|
1910
|
+
label: item.label,
|
|
1911
|
+
value: item.value
|
|
1912
|
+
}, null, 8
|
|
1913
|
+
/* PROPS */
|
|
1914
|
+
, ["label", "value"]);
|
|
1915
|
+
}), 128
|
|
1916
|
+
/* KEYED_FRAGMENT */
|
|
1917
|
+
))]),
|
|
1918
|
+
_: 1
|
|
1919
|
+
/* STABLE */
|
|
1920
|
+
|
|
1921
|
+
}, 8
|
|
1922
|
+
/* PROPS */
|
|
1923
|
+
, ["modelValue"])]),
|
|
1924
|
+
_: 1
|
|
1925
|
+
/* STABLE */
|
|
1926
|
+
|
|
1927
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1928
|
+
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_col, {
|
|
1929
|
+
span: 16
|
|
1930
|
+
}, {
|
|
1931
|
+
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, {
|
|
1932
|
+
label: "字体大小"
|
|
1933
|
+
}, {
|
|
1934
|
+
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, {
|
|
1935
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontSize,
|
|
1936
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.fontSize = $event),
|
|
1937
|
+
placeholder: "大小"
|
|
1938
|
+
}, {
|
|
1939
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(sizelist).value, size => {
|
|
1940
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
1941
|
+
key: size,
|
|
1942
|
+
value: `${size}px`
|
|
1943
|
+
}, {
|
|
1944
|
+
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)(size), 1
|
|
1945
|
+
/* TEXT */
|
|
1946
|
+
)]),
|
|
1947
|
+
_: 2
|
|
1948
|
+
/* DYNAMIC */
|
|
1949
|
+
|
|
1950
|
+
}, 1032
|
|
1951
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
1952
|
+
, ["value"]);
|
|
1953
|
+
}), 128
|
|
1954
|
+
/* KEYED_FRAGMENT */
|
|
1955
|
+
))]),
|
|
1956
|
+
_: 1
|
|
1957
|
+
/* STABLE */
|
|
1958
|
+
|
|
1959
|
+
}, 8
|
|
1960
|
+
/* PROPS */
|
|
1961
|
+
, ["modelValue"])]),
|
|
1962
|
+
_: 1
|
|
1963
|
+
/* STABLE */
|
|
1964
|
+
|
|
1965
|
+
})]),
|
|
1966
|
+
_: 1
|
|
1967
|
+
/* STABLE */
|
|
1968
|
+
|
|
1969
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1970
|
+
span: 2
|
|
1971
|
+
}, {
|
|
1972
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_34]),
|
|
1973
|
+
_: 1
|
|
1974
|
+
/* STABLE */
|
|
1975
|
+
|
|
1976
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1977
|
+
span: 6
|
|
1978
|
+
}, {
|
|
1979
|
+
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, {
|
|
1980
|
+
label: "字体颜色"
|
|
1981
|
+
}, {
|
|
1982
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
1983
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.color,
|
|
1984
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style.color = $event),
|
|
1985
|
+
"show-alpha": ""
|
|
1986
|
+
}, null, 8
|
|
1987
|
+
/* PROPS */
|
|
1988
|
+
, ["modelValue"])])]),
|
|
1989
|
+
_: 1
|
|
1990
|
+
/* STABLE */
|
|
1991
|
+
|
|
1992
|
+
})]),
|
|
1993
|
+
_: 1
|
|
1994
|
+
/* STABLE */
|
|
1995
|
+
|
|
1996
|
+
})]),
|
|
1997
|
+
_: 1
|
|
1998
|
+
/* STABLE */
|
|
1999
|
+
|
|
2000
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
2001
|
+
class: "textarea",
|
|
2002
|
+
label: "文本"
|
|
2003
|
+
}, {
|
|
2004
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("textarea", {
|
|
2005
|
+
class: "textcontent",
|
|
2006
|
+
rows: "12",
|
|
2007
|
+
placeholder: "请输入内容",
|
|
2008
|
+
spellcheck: "false",
|
|
2009
|
+
"onUpdate:modelValue": _cache[26] || (_cache[26] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).data.labelValue = $event),
|
|
2010
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).style)
|
|
2011
|
+
}, null, 4
|
|
2012
|
+
/* STYLE */
|
|
2013
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vModelText, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelDataform).data.labelValue]])]),
|
|
2014
|
+
_: 1
|
|
2015
|
+
/* STABLE */
|
|
2016
|
+
|
|
2017
|
+
})]),
|
|
2018
|
+
_: 1
|
|
2019
|
+
/* STABLE */
|
|
2020
|
+
|
|
2021
|
+
}, 8
|
|
2022
|
+
/* PROPS */
|
|
2023
|
+
, ["model"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_35, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2024
|
+
type: "primary",
|
|
2025
|
+
onClick: addLabel
|
|
2026
|
+
}, {
|
|
2027
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_36]),
|
|
2028
|
+
_: 1
|
|
2029
|
+
/* STABLE */
|
|
2030
|
+
|
|
2031
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2032
|
+
type: "plain",
|
|
2033
|
+
onClick: clearLabel
|
|
2034
|
+
}, {
|
|
2035
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_37]),
|
|
2036
|
+
_: 1
|
|
2037
|
+
/* STABLE */
|
|
2038
|
+
|
|
2039
|
+
})])])], 512
|
|
2040
|
+
/* NEED_PATCH */
|
|
2041
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isShowText)]])], 2
|
|
2042
|
+
/* CLASS */
|
|
2043
|
+
)], 2
|
|
2044
|
+
/* CLASS */
|
|
2045
|
+
)], 4
|
|
2046
|
+
/* STYLE */
|
|
2047
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_38, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_39, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2048
|
+
onClick: Enlarge,
|
|
2049
|
+
title: "等比例放大",
|
|
2050
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) === 1 ? 'clickborder' : '')
|
|
2051
|
+
}, {
|
|
2052
|
+
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_icon, null, {
|
|
2053
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ZoomIn))]),
|
|
2054
|
+
_: 1
|
|
2055
|
+
/* STABLE */
|
|
2056
|
+
|
|
2057
|
+
})]),
|
|
2058
|
+
_: 1
|
|
2059
|
+
/* STABLE */
|
|
2060
|
+
|
|
2061
|
+
}, 8
|
|
2062
|
+
/* PROPS */
|
|
2063
|
+
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2064
|
+
onClick: Narrow,
|
|
2065
|
+
title: "等比例缩小",
|
|
2066
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) === 2 ? 'clickborder' : '')
|
|
2067
|
+
}, {
|
|
2068
|
+
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_icon, null, {
|
|
2069
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.ZoomOut))]),
|
|
2070
|
+
_: 1
|
|
2071
|
+
/* STABLE */
|
|
2072
|
+
|
|
2073
|
+
})]),
|
|
2074
|
+
_: 1
|
|
2075
|
+
/* STABLE */
|
|
2076
|
+
|
|
2077
|
+
}, 8
|
|
2078
|
+
/* PROPS */
|
|
2079
|
+
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2080
|
+
onClick: MovePrint,
|
|
2081
|
+
title: "拖拽",
|
|
2082
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) === 3 ? 'clickborder' : '')
|
|
2083
|
+
}, {
|
|
2084
|
+
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_icon, null, {
|
|
2085
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Rank))]),
|
|
2086
|
+
_: 1
|
|
2087
|
+
/* STABLE */
|
|
2088
|
+
|
|
2089
|
+
})]),
|
|
2090
|
+
_: 1
|
|
2091
|
+
/* STABLE */
|
|
2092
|
+
|
|
2093
|
+
}, 8
|
|
2094
|
+
/* PROPS */
|
|
2095
|
+
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2096
|
+
onClick: RefreshStatus,
|
|
2097
|
+
title: "恢复"
|
|
2098
|
+
}, {
|
|
2099
|
+
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_icon, null, {
|
|
2100
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Refresh))]),
|
|
2101
|
+
_: 1
|
|
2102
|
+
/* STABLE */
|
|
2103
|
+
|
|
2104
|
+
})]),
|
|
2105
|
+
_: 1
|
|
2106
|
+
/* STABLE */
|
|
2107
|
+
|
|
2108
|
+
})])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2109
|
+
ref_key: "printDiv",
|
|
2110
|
+
ref: printDiv,
|
|
2111
|
+
class: "kq3d-client-print-printDiv"
|
|
2112
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_scrollbar, null, {
|
|
2113
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2114
|
+
ref_key: "printMap",
|
|
2115
|
+
ref: printMap,
|
|
2116
|
+
class: "kq3d-client-print-mapContainerDiv kq3d-client-print-a4VSize",
|
|
2117
|
+
onselectstart: "return false",
|
|
2118
|
+
id: "printMap"
|
|
2119
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_40, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2120
|
+
ref_key: "titleRef",
|
|
2121
|
+
ref: titleRef,
|
|
2122
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
2123
|
+
boxShadow: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.shadowShow ? (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style.shadowShowBg + ' 5px 2px 6px' : ''
|
|
2124
|
+
}),
|
|
2125
|
+
class: "kq3d-client-print-titleDivStyle"
|
|
2126
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2127
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).style)
|
|
2128
|
+
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.title), 5
|
|
2129
|
+
/* TEXT, STYLE */
|
|
2130
|
+
)], 4
|
|
2131
|
+
/* STYLE */
|
|
2132
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setTitleDataform).data.titleShow]])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2133
|
+
class: "kq3d-client-print-printContentDiv kq3d-client-print-printborder1",
|
|
2134
|
+
ref_key: "printContentDiv",
|
|
2135
|
+
ref: printContentDiv
|
|
2136
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_41, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
2137
|
+
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(scenceImageUrl)
|
|
2138
|
+
}, null, 8
|
|
2139
|
+
/* PROPS */
|
|
2140
|
+
, _hoisted_42)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_scence_view, {
|
|
2141
|
+
target: 'scencePrint',
|
|
2142
|
+
options: __props.options,
|
|
2143
|
+
service: __props.service,
|
|
2144
|
+
scenceInfo: __props.scenceInfo,
|
|
2145
|
+
showToolButtons: __props.showToolButtons,
|
|
2146
|
+
defaultShowLayerNames: __props.defaultShowLayerNames,
|
|
2147
|
+
toolButtonsPosition: __props.toolButtonsPosition,
|
|
2148
|
+
showLogo: __props.showLogo,
|
|
2149
|
+
style: {
|
|
2150
|
+
"position": "relative"
|
|
2151
|
+
}
|
|
2152
|
+
}, {
|
|
2153
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(scalesShow) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq3d_status_bar, {
|
|
2154
|
+
key: 0
|
|
2155
|
+
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("图例"), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2156
|
+
class: "kq3d-client-print-legendDiv",
|
|
2157
|
+
onMouseover: setdragCursor,
|
|
2158
|
+
onMousedown: dragTl,
|
|
2159
|
+
id: "divlegendDiv"
|
|
2160
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(legendShow) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_legend, {
|
|
2161
|
+
key: 0,
|
|
2162
|
+
mapTarget: "scencePrint",
|
|
2163
|
+
ref_key: "lengend_ref",
|
|
2164
|
+
ref: lengend_ref
|
|
2165
|
+
}, null, 512
|
|
2166
|
+
/* NEED_PATCH */
|
|
2167
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)], 32
|
|
2168
|
+
/* HYDRATE_EVENTS */
|
|
2169
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("指北针"), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2170
|
+
class: "kq3d-client-print-compassDiv",
|
|
2171
|
+
onMouseover: setdragCursor,
|
|
2172
|
+
onMousedown: dragTl,
|
|
2173
|
+
id: "divcompassDiv"
|
|
2174
|
+
}, [_hoisted_43, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
2175
|
+
class: "kq3d-client-print-compassImgStyle",
|
|
2176
|
+
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.COMMPASS_URL)
|
|
2177
|
+
}, null, 8
|
|
2178
|
+
/* PROPS */
|
|
2179
|
+
, _hoisted_44)], 544
|
|
2180
|
+
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
2181
|
+
), [[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 => {
|
|
2182
|
+
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", {
|
|
2183
|
+
id: item.data.dataId,
|
|
2184
|
+
key: item.data.dataId,
|
|
2185
|
+
class: "kq3d-client-print-labelDivStyle",
|
|
2186
|
+
onMouseover: setdragCursor,
|
|
2187
|
+
onMousedown: dragTl
|
|
2188
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2189
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)(item.style)
|
|
2190
|
+
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(item.data.labelValue), 5
|
|
2191
|
+
/* TEXT, STYLE */
|
|
2192
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
2193
|
+
class: "closeIconDiv",
|
|
2194
|
+
onClick: $event => delLabel(item.data.dataId),
|
|
2195
|
+
style: {
|
|
2196
|
+
"position": "absolute",
|
|
2197
|
+
"top": "0px",
|
|
2198
|
+
"right": "0px",
|
|
2199
|
+
"display": "none"
|
|
2200
|
+
}
|
|
2201
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
2202
|
+
size: 24,
|
|
2203
|
+
style: {
|
|
2204
|
+
"cursor": "Pointer",
|
|
2205
|
+
"color": "#da0000"
|
|
2206
|
+
},
|
|
2207
|
+
title: "关闭"
|
|
2208
|
+
}, {
|
|
2209
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Close))]),
|
|
2210
|
+
_: 1
|
|
2211
|
+
/* STABLE */
|
|
2212
|
+
|
|
2213
|
+
})], 8
|
|
2214
|
+
/* PROPS */
|
|
2215
|
+
, _hoisted_46)], 40
|
|
2216
|
+
/* PROPS, HYDRATE_EVENTS */
|
|
2217
|
+
, _hoisted_45)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, item.data.isShow]]);
|
|
2218
|
+
}), 128
|
|
2219
|
+
/* KEYED_FRAGMENT */
|
|
2220
|
+
))]),
|
|
2221
|
+
_: 1
|
|
2222
|
+
/* STABLE */
|
|
2223
|
+
|
|
2224
|
+
}, 8
|
|
2225
|
+
/* PROPS */
|
|
2226
|
+
, ["options", "service", "scenceInfo", "showToolButtons", "defaultShowLayerNames", "toolButtonsPosition", "showLogo"])], 512
|
|
2227
|
+
/* NEED_PATCH */
|
|
2228
|
+
), (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)("div", _hoisted_48, [(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
|
|
2229
|
+
/* TEXT */
|
|
2230
|
+
)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_49, [(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
|
|
2231
|
+
/* TEXT */
|
|
2232
|
+
)])])], 512
|
|
2233
|
+
/* NEED_PATCH */
|
|
2234
|
+
)]),
|
|
2235
|
+
_: 1
|
|
2236
|
+
/* STABLE */
|
|
2237
|
+
|
|
2238
|
+
})], 512
|
|
2239
|
+
/* NEED_PATCH */
|
|
2240
|
+
)], 512
|
|
2241
|
+
/* NEED_PATCH */
|
|
2242
|
+
);
|
|
2243
|
+
};
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
}));
|
|
2247
|
+
;// CONCATENATED MODULE: ./src/webgl/clientPrint/ClientPrint.vue?vue&type=script&setup=true&lang=js
|
|
2248
|
+
|
|
2249
|
+
;// CONCATENATED MODULE: ./src/webgl/clientPrint/ClientPrint.vue
|
|
2250
|
+
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
const __exports__ = ClientPrintvue_type_script_setup_true_lang_js;
|
|
2254
|
+
|
|
2255
|
+
/* harmony default export */ var ClientPrint = (__exports__);
|
|
2256
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
2257
|
+
var init_js_ = __webpack_require__(5406);
|
|
2258
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
2259
|
+
;// CONCATENATED MODULE: ./src/webgl/clientPrint/index.js
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
ClientPrint.install = (Vue, opts) => {
|
|
2265
|
+
init_js_default()(Vue, opts);
|
|
2266
|
+
Vue.component(ClientPrint.name, ClientPrint);
|
|
2267
|
+
};
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
}();
|
|
2271
|
+
module.exports = __webpack_exports__;
|
|
2272
|
+
/******/ })()
|
|
2273
|
+
;
|