@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
package/hawkeye/index.js
CHANGED
|
@@ -7,118 +7,99 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
16
|
-
/***/ (function(
|
|
17
|
-
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "Z": function() { return /* binding */ HawkeyeViewModel; }
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
22
|
-
|
|
23
|
-
//鹰眼逻辑类
|
|
24
|
-
class HawkeyeViewModel {
|
|
25
|
-
//鹰眼三维对象
|
|
26
|
-
constructor(scenceView, options) {
|
|
27
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_overviewMap", null);
|
|
15
|
+
/***/ 3658:
|
|
16
|
+
/***/ (function(module) {
|
|
28
17
|
|
|
29
|
-
|
|
30
|
-
options.centerRectColor = Cesium.Color.fromCssColorString(options.centerColor || "#0000ff").withAlpha(options.centerColorAlpha || 0.5);
|
|
31
|
-
this.init(options);
|
|
32
|
-
}
|
|
18
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
33
19
|
|
|
34
|
-
|
|
35
|
-
// if(!options.layers) {
|
|
36
|
-
// let layers = [];
|
|
37
|
-
// options.viewer.imageryLayers._layers.forEach(function (layer) {
|
|
38
|
-
// layers.push(layer);
|
|
39
|
-
// });
|
|
40
|
-
// options.layers = layers;
|
|
41
|
-
// options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
|
|
42
|
-
// url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
|
|
43
|
-
// });
|
|
44
|
-
// }
|
|
45
|
-
this._overviewMap = new Cesium.Kq3dOverviewMap(options);
|
|
46
|
-
} //显示
|
|
20
|
+
/***/ }),
|
|
47
21
|
|
|
22
|
+
/***/ 4669:
|
|
23
|
+
/***/ (function(module) {
|
|
48
24
|
|
|
49
|
-
|
|
50
|
-
this._overviewMap.show = true;
|
|
51
|
-
} //隐藏
|
|
25
|
+
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
52
26
|
|
|
27
|
+
/***/ }),
|
|
53
28
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} // 设置图层
|
|
29
|
+
/***/ 64:
|
|
30
|
+
/***/ (function(module) {
|
|
57
31
|
|
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
58
33
|
|
|
59
|
-
|
|
60
|
-
if (Array.isArray(layers)) {
|
|
61
|
-
this._overviewMap._viewer.imageryLayers.removeAll();
|
|
34
|
+
/***/ }),
|
|
62
35
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
} //销毁
|
|
36
|
+
/***/ 455:
|
|
37
|
+
/***/ (function(module) {
|
|
68
38
|
|
|
39
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
69
40
|
|
|
70
|
-
|
|
71
|
-
this._overviewMap.destroy();
|
|
41
|
+
/***/ }),
|
|
72
42
|
|
|
73
|
-
|
|
74
|
-
|
|
43
|
+
/***/ 154:
|
|
44
|
+
/***/ (function(module) {
|
|
75
45
|
|
|
76
|
-
|
|
46
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
77
47
|
|
|
78
48
|
/***/ }),
|
|
79
49
|
|
|
80
|
-
/***/
|
|
81
|
-
/***/ (function(
|
|
50
|
+
/***/ 6913:
|
|
51
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
82
52
|
|
|
83
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
84
53
|
|
|
85
|
-
|
|
54
|
+
// EXPORTS
|
|
55
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
56
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
57
|
+
});
|
|
86
58
|
|
|
87
|
-
|
|
88
|
-
|
|
59
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
60
|
+
function _typeof(o) {
|
|
61
|
+
"@babel/helpers - typeof";
|
|
89
62
|
|
|
90
|
-
|
|
63
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
64
|
+
return typeof o;
|
|
65
|
+
} : function (o) {
|
|
66
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
67
|
+
}, _typeof(o);
|
|
68
|
+
}
|
|
91
69
|
|
|
92
|
-
|
|
70
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
93
71
|
|
|
94
|
-
|
|
95
|
-
|
|
72
|
+
function toPrimitive(t, r) {
|
|
73
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
74
|
+
var e = t[Symbol.toPrimitive];
|
|
75
|
+
if (void 0 !== e) {
|
|
76
|
+
var i = e.call(t, r || "default");
|
|
77
|
+
if ("object" != _typeof(i)) return i;
|
|
78
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
79
|
+
}
|
|
80
|
+
return ("string" === r ? String : Number)(t);
|
|
81
|
+
}
|
|
96
82
|
|
|
97
|
-
|
|
83
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
98
84
|
|
|
99
|
-
/***/ }),
|
|
100
85
|
|
|
101
|
-
|
|
102
|
-
|
|
86
|
+
function toPropertyKey(t) {
|
|
87
|
+
var i = toPrimitive(t, "string");
|
|
88
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
89
|
+
}
|
|
103
90
|
|
|
104
|
-
|
|
105
|
-
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
106
|
-
/* harmony export */ });
|
|
107
|
-
function _defineProperty(obj, key, value) {
|
|
108
|
-
if (key in obj) {
|
|
109
|
-
Object.defineProperty(obj, key, {
|
|
110
|
-
value: value,
|
|
111
|
-
enumerable: true,
|
|
112
|
-
configurable: true,
|
|
113
|
-
writable: true
|
|
114
|
-
});
|
|
115
|
-
} else {
|
|
116
|
-
obj[key] = value;
|
|
117
|
-
}
|
|
91
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
118
92
|
|
|
119
|
-
|
|
93
|
+
function _defineProperty(e, r, t) {
|
|
94
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
95
|
+
value: t,
|
|
96
|
+
enumerable: !0,
|
|
97
|
+
configurable: !0,
|
|
98
|
+
writable: !0
|
|
99
|
+
}) : e[r] = t, e;
|
|
120
100
|
}
|
|
121
101
|
|
|
102
|
+
|
|
122
103
|
/***/ })
|
|
123
104
|
|
|
124
105
|
/******/ });
|
|
@@ -190,23 +171,83 @@ function _defineProperty(obj, key, value) {
|
|
|
190
171
|
/******/
|
|
191
172
|
/************************************************************************/
|
|
192
173
|
var __webpack_exports__ = {};
|
|
193
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
194
|
-
!function() {
|
|
195
174
|
// ESM COMPAT FLAG
|
|
196
175
|
__webpack_require__.r(__webpack_exports__);
|
|
197
176
|
|
|
198
177
|
// EXPORTS
|
|
199
178
|
__webpack_require__.d(__webpack_exports__, {
|
|
200
|
-
|
|
179
|
+
HawkeyeViewModel: function() { return /* reexport */ HawkeyeViewModel; },
|
|
201
180
|
"default": function() { return /* reexport */ Hawkeye; }
|
|
202
181
|
});
|
|
203
182
|
|
|
204
183
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
205
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
184
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
206
185
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
207
|
-
var gis_utils_ = __webpack_require__(
|
|
208
|
-
// EXTERNAL MODULE: ./
|
|
209
|
-
var
|
|
186
|
+
var gis_utils_ = __webpack_require__(64);
|
|
187
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
188
|
+
var defineProperty = __webpack_require__(6913);
|
|
189
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
190
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
191
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
192
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(4669);
|
|
193
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/HawkeyeViewModel.js
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
/*
|
|
198
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
199
|
+
* All rights reserved.
|
|
200
|
+
*/
|
|
201
|
+
//鹰眼逻辑类
|
|
202
|
+
class HawkeyeViewModel {
|
|
203
|
+
//鹰眼三维对象
|
|
204
|
+
|
|
205
|
+
constructor(scenceView, options) {
|
|
206
|
+
(0,defineProperty/* default */.A)(this, "_overviewMap", null);
|
|
207
|
+
options.viewer = scenceView._viewer;
|
|
208
|
+
options.centerRectColor = Cesium.Color.fromCssColorString(options.centerColor || "#0000ff").withAlpha(options.centerColorAlpha || 0.5);
|
|
209
|
+
this.init(options);
|
|
210
|
+
}
|
|
211
|
+
init(options) {
|
|
212
|
+
// if(!options.layers) {
|
|
213
|
+
// let layers = [];
|
|
214
|
+
// options.viewer.imageryLayers._layers.forEach(function (layer) {
|
|
215
|
+
// layers.push(layer);
|
|
216
|
+
// });
|
|
217
|
+
// options.layers = layers;
|
|
218
|
+
// options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
|
|
219
|
+
// url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
|
|
220
|
+
// });
|
|
221
|
+
// }
|
|
222
|
+
this._overviewMap = new Cesium.Kq3dOverviewMap(options);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
//显示
|
|
226
|
+
show() {
|
|
227
|
+
this._overviewMap.show = true;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
//隐藏
|
|
231
|
+
hide() {
|
|
232
|
+
this._overviewMap.show = false;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// 设置图层
|
|
236
|
+
setLayers(layers) {
|
|
237
|
+
if (Array.isArray(layers)) {
|
|
238
|
+
this._overviewMap._viewer.imageryLayers.removeAll();
|
|
239
|
+
layers.forEach(layer => {
|
|
240
|
+
this._overviewMap._viewer.imageryLayers.add(layer);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
//销毁
|
|
246
|
+
destroy() {
|
|
247
|
+
this._overviewMap.destroy();
|
|
248
|
+
this._overviewMap = null;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
210
251
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
211
252
|
|
|
212
253
|
|
|
@@ -214,7 +255,7 @@ var HawkeyeViewModel = __webpack_require__(1162);
|
|
|
214
255
|
const __default__ = {
|
|
215
256
|
name: "Kq3dHawkeye"
|
|
216
257
|
};
|
|
217
|
-
/* harmony default export */ var Hawkeyevue_type_script_setup_true_lang_js = (
|
|
258
|
+
/* harmony default export */ var Hawkeyevue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
218
259
|
props: {
|
|
219
260
|
//指定组件绑定的viewer对象的div的id
|
|
220
261
|
mapTarget: String,
|
|
@@ -250,13 +291,13 @@ const __default__ = {
|
|
|
250
291
|
},
|
|
251
292
|
layers: Array
|
|
252
293
|
},
|
|
253
|
-
|
|
254
294
|
setup(__props, {
|
|
255
|
-
expose
|
|
295
|
+
expose: __expose
|
|
256
296
|
}) {
|
|
257
|
-
|
|
258
|
-
let viewModel = null; // 获取组件传参
|
|
297
|
+
let viewModel = null;
|
|
259
298
|
|
|
299
|
+
// 获取组件传参
|
|
300
|
+
const props = __props;
|
|
260
301
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
261
302
|
//父组件ScenceView初始化完成后执行
|
|
262
303
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -272,28 +313,25 @@ const __default__ = {
|
|
|
272
313
|
centerColorAlpha: props.centerColorAlpha,
|
|
273
314
|
layers: props.layers
|
|
274
315
|
};
|
|
275
|
-
viewModel = new HawkeyeViewModel
|
|
316
|
+
viewModel = new HawkeyeViewModel(scenceView, options);
|
|
276
317
|
}
|
|
277
318
|
});
|
|
278
319
|
});
|
|
279
|
-
|
|
280
320
|
function show() {
|
|
281
321
|
viewModel && viewModel.show();
|
|
282
322
|
}
|
|
283
|
-
|
|
284
323
|
function hide() {
|
|
285
324
|
viewModel && viewModel.hide();
|
|
286
325
|
}
|
|
287
|
-
|
|
288
326
|
function setLayers(layers) {
|
|
289
327
|
viewModel && viewModel.setLayers(layers);
|
|
290
|
-
}
|
|
291
|
-
|
|
328
|
+
}
|
|
292
329
|
|
|
330
|
+
// 销毁
|
|
293
331
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
294
332
|
viewModel && viewModel.destroy();
|
|
295
333
|
});
|
|
296
|
-
|
|
334
|
+
__expose({
|
|
297
335
|
show,
|
|
298
336
|
hide,
|
|
299
337
|
setLayers
|
|
@@ -302,7 +340,6 @@ const __default__ = {
|
|
|
302
340
|
return null;
|
|
303
341
|
};
|
|
304
342
|
}
|
|
305
|
-
|
|
306
343
|
}));
|
|
307
344
|
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
308
345
|
|
|
@@ -314,10 +351,13 @@ const __exports__ = Hawkeyevue_type_script_setup_true_lang_js;
|
|
|
314
351
|
|
|
315
352
|
/* harmony default export */ var Hawkeye = (__exports__);
|
|
316
353
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
317
|
-
var init_js_ = __webpack_require__(
|
|
354
|
+
var init_js_ = __webpack_require__(455);
|
|
318
355
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
319
356
|
;// CONCATENATED MODULE: ./src/webgl/hawkeye/index.js
|
|
320
|
-
|
|
357
|
+
/*
|
|
358
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
359
|
+
* All rights reserved.
|
|
360
|
+
*/
|
|
321
361
|
|
|
322
362
|
|
|
323
363
|
|
|
@@ -326,8 +366,6 @@ Hawkeye.install = (Vue, opts) => {
|
|
|
326
366
|
Vue.component(Hawkeye.name, Hawkeye);
|
|
327
367
|
};
|
|
328
368
|
|
|
329
|
-
|
|
330
|
-
}();
|
|
331
369
|
/******/ return __webpack_exports__;
|
|
332
370
|
/******/ })()
|
|
333
371
|
;
|
package/headertemp/index.js
CHANGED
|
@@ -7,29 +7,29 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 2975:
|
|
16
16
|
/***/ (function(module) {
|
|
17
17
|
|
|
18
|
-
module.exports =
|
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
19
19
|
|
|
20
20
|
/***/ }),
|
|
21
21
|
|
|
22
|
-
/***/
|
|
22
|
+
/***/ 455:
|
|
23
23
|
/***/ (function(module) {
|
|
24
24
|
|
|
25
|
-
module.exports =
|
|
25
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
26
26
|
|
|
27
27
|
/***/ }),
|
|
28
28
|
|
|
29
|
-
/***/
|
|
29
|
+
/***/ 154:
|
|
30
30
|
/***/ (function(module) {
|
|
31
31
|
|
|
32
|
-
module.exports =
|
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
33
33
|
|
|
34
34
|
/***/ })
|
|
35
35
|
|
|
@@ -102,8 +102,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
102
102
|
/******/
|
|
103
103
|
/************************************************************************/
|
|
104
104
|
var __webpack_exports__ = {};
|
|
105
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
106
|
-
!function() {
|
|
107
105
|
// ESM COMPAT FLAG
|
|
108
106
|
__webpack_require__.r(__webpack_exports__);
|
|
109
107
|
|
|
@@ -113,9 +111,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
113
111
|
});
|
|
114
112
|
|
|
115
113
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
116
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
114
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
117
115
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
118
|
-
var util_ = __webpack_require__(
|
|
116
|
+
var util_ = __webpack_require__(2975);
|
|
119
117
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
120
118
|
|
|
121
119
|
const _hoisted_1 = {
|
|
@@ -129,7 +127,7 @@ const _hoisted_2 = {
|
|
|
129
127
|
const __default__ = {
|
|
130
128
|
name: "Kq3dHeaderTemp"
|
|
131
129
|
};
|
|
132
|
-
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (
|
|
130
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
133
131
|
props: {
|
|
134
132
|
// 是否显示阴影效果
|
|
135
133
|
showShadow: {
|
|
@@ -156,24 +154,23 @@ const __default__ = {
|
|
|
156
154
|
default: true
|
|
157
155
|
}
|
|
158
156
|
},
|
|
159
|
-
|
|
160
157
|
setup(__props, {
|
|
161
|
-
expose
|
|
158
|
+
expose: __expose
|
|
162
159
|
}) {
|
|
160
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
161
|
+
|
|
162
|
+
// 获取组件传参
|
|
163
163
|
const props = __props;
|
|
164
|
-
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
165
|
-
// 图标组件
|
|
166
164
|
|
|
165
|
+
// 图标组件
|
|
167
166
|
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
168
167
|
let isCollapse = props.isCollapse;
|
|
169
168
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
170
169
|
iconBtn.value = props.headerTempIcon;
|
|
171
170
|
let dom = proxy.parent.vnode.el;
|
|
172
|
-
|
|
173
171
|
if (!props.isRight) {
|
|
174
172
|
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
175
173
|
}
|
|
176
|
-
|
|
177
174
|
if (isCollapse) {
|
|
178
175
|
if (props.showShadow) {
|
|
179
176
|
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
@@ -191,12 +188,12 @@ const __default__ = {
|
|
|
191
188
|
(0,util_.addClass)(dom, "kq-is-show");
|
|
192
189
|
}
|
|
193
190
|
}
|
|
194
|
-
});
|
|
191
|
+
});
|
|
195
192
|
|
|
193
|
+
// 图标按钮点击事件
|
|
196
194
|
function btnClick() {
|
|
197
195
|
isCollapse = !isCollapse;
|
|
198
196
|
let dom = proxy.parent.vnode.el;
|
|
199
|
-
|
|
200
197
|
if (isCollapse) {
|
|
201
198
|
// 折叠
|
|
202
199
|
if (props.showShadow) {
|
|
@@ -217,29 +214,22 @@ const __default__ = {
|
|
|
217
214
|
}
|
|
218
215
|
}
|
|
219
216
|
}
|
|
220
|
-
|
|
221
|
-
expose({
|
|
217
|
+
__expose({
|
|
222
218
|
btnClick
|
|
223
219
|
});
|
|
224
220
|
return (_ctx, _cache) => {
|
|
225
221
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
226
|
-
|
|
227
|
-
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)("h4", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(__props.headerTempTitle), 1
|
|
228
|
-
/* TEXT */
|
|
229
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
222
|
+
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)("h4", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(__props.headerTempTitle), 1 /* TEXT */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
230
223
|
class: "_btn kq-control-header-temp_btn",
|
|
231
224
|
onClick: btnClick
|
|
232
225
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
233
226
|
size: 16
|
|
234
227
|
}, {
|
|
235
228
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(iconBtn))))]),
|
|
236
|
-
_: 1
|
|
237
|
-
/* STABLE */
|
|
238
|
-
|
|
229
|
+
_: 1 /* STABLE */
|
|
239
230
|
})])]);
|
|
240
231
|
};
|
|
241
232
|
}
|
|
242
|
-
|
|
243
233
|
}));
|
|
244
234
|
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
245
235
|
|
|
@@ -251,10 +241,13 @@ const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
|
251
241
|
|
|
252
242
|
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
253
243
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
254
|
-
var init_js_ = __webpack_require__(
|
|
244
|
+
var init_js_ = __webpack_require__(455);
|
|
255
245
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
256
246
|
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
257
|
-
|
|
247
|
+
/*
|
|
248
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
249
|
+
* All rights reserved.
|
|
250
|
+
*/
|
|
258
251
|
|
|
259
252
|
|
|
260
253
|
HeaderTemp.install = (Vue, opts) => {
|
|
@@ -262,8 +255,6 @@ HeaderTemp.install = (Vue, opts) => {
|
|
|
262
255
|
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
263
256
|
};
|
|
264
257
|
|
|
265
|
-
|
|
266
|
-
}();
|
|
267
258
|
/******/ return __webpack_exports__;
|
|
268
259
|
/******/ })()
|
|
269
260
|
;
|