@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +163 -229
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +291 -472
- package/clientPrint/index.js +368 -906
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +185 -255
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +298 -402
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +248 -385
- package/geologicalbodyanalysis/index.js +206 -288
- package/gpuspatialquery/index.js +243 -392
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +427 -734
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +8170 -17000
- package/isolineanalysis/index.js +557 -1233
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +341 -495
- package/modelFlat/index.js +261 -259
- package/modelexcavate/index.js +214 -266
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +183 -175
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +240 -330
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +274 -572
- package/sceneadvancedtoimage/index.js +1057 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9208 -17907
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +259 -437
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +204 -341
- package/slopeanalysis/index.js +274 -435
- package/slopeaspectanalysis/index.js +307 -524
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +222 -271
- package/terrainprofileanalysis/index.js +166 -173
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/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
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,39 +313,33 @@ 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
|
-
|
|
297
334
|
__expose({
|
|
298
335
|
show,
|
|
299
336
|
hide,
|
|
300
337
|
setLayers
|
|
301
338
|
});
|
|
302
|
-
|
|
303
339
|
return (_ctx, _cache) => {
|
|
304
340
|
return null;
|
|
305
341
|
};
|
|
306
342
|
}
|
|
307
|
-
|
|
308
343
|
}));
|
|
309
344
|
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
310
345
|
|
|
@@ -316,10 +351,13 @@ const __exports__ = Hawkeyevue_type_script_setup_true_lang_js;
|
|
|
316
351
|
|
|
317
352
|
/* harmony default export */ var Hawkeye = (__exports__);
|
|
318
353
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
319
|
-
var init_js_ = __webpack_require__(
|
|
354
|
+
var init_js_ = __webpack_require__(455);
|
|
320
355
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
321
356
|
;// CONCATENATED MODULE: ./src/webgl/hawkeye/index.js
|
|
322
|
-
|
|
357
|
+
/*
|
|
358
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
359
|
+
* All rights reserved.
|
|
360
|
+
*/
|
|
323
361
|
|
|
324
362
|
|
|
325
363
|
|
|
@@ -328,8 +366,6 @@ Hawkeye.install = (Vue, opts) => {
|
|
|
328
366
|
Vue.component(Hawkeye.name, Hawkeye);
|
|
329
367
|
};
|
|
330
368
|
|
|
331
|
-
|
|
332
|
-
}();
|
|
333
369
|
/******/ return __webpack_exports__;
|
|
334
370
|
/******/ })()
|
|
335
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
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,30 +214,22 @@ const __default__ = {
|
|
|
217
214
|
}
|
|
218
215
|
}
|
|
219
216
|
}
|
|
220
|
-
|
|
221
217
|
__expose({
|
|
222
218
|
btnClick
|
|
223
219
|
});
|
|
224
|
-
|
|
225
220
|
return (_ctx, _cache) => {
|
|
226
221
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
227
|
-
|
|
228
|
-
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
|
|
229
|
-
/* TEXT */
|
|
230
|
-
), (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", {
|
|
231
223
|
class: "_btn kq-control-header-temp_btn",
|
|
232
224
|
onClick: btnClick
|
|
233
225
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
234
226
|
size: 16
|
|
235
227
|
}, {
|
|
236
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))))]),
|
|
237
|
-
_: 1
|
|
238
|
-
/* STABLE */
|
|
239
|
-
|
|
229
|
+
_: 1 /* STABLE */
|
|
240
230
|
})])]);
|
|
241
231
|
};
|
|
242
232
|
}
|
|
243
|
-
|
|
244
233
|
}));
|
|
245
234
|
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
246
235
|
|
|
@@ -252,10 +241,13 @@ const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
|
252
241
|
|
|
253
242
|
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
254
243
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
255
|
-
var init_js_ = __webpack_require__(
|
|
244
|
+
var init_js_ = __webpack_require__(455);
|
|
256
245
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
257
246
|
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
258
|
-
|
|
247
|
+
/*
|
|
248
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
249
|
+
* All rights reserved.
|
|
250
|
+
*/
|
|
259
251
|
|
|
260
252
|
|
|
261
253
|
HeaderTemp.install = (Vue, opts) => {
|
|
@@ -263,8 +255,6 @@ HeaderTemp.install = (Vue, opts) => {
|
|
|
263
255
|
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
264
256
|
};
|
|
265
257
|
|
|
266
|
-
|
|
267
|
-
}();
|
|
268
258
|
/******/ return __webpack_exports__;
|
|
269
259
|
/******/ })()
|
|
270
260
|
;
|