@kq_npm/client3d_webgl_vue 3.0.1-beta → 3.0.2-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 +203 -2
- package/aspectanalysis/index.js +222 -6
- package/baseterraingallery/index.js +233 -18
- package/boxclip/index.js +225 -9
- package/excavatefillanalysis/index.js +230 -14
- package/flight/index.js +204 -5
- package/floodanalysis/index.js +242 -11
- package/gpuspatialquery/index.js +222 -6
- package/headertemp/index.js +251 -0
- package/index.js +1340 -227
- package/isolineanalysis/index.js +250 -34
- package/measure/index.js +206 -4
- package/modelselect/index.js +224 -8
- package/modelselect/style/modelselect.css +1 -1
- package/package.json +1 -1
- package/particleeffect/index.js +212 -6
- package/planeclip/index.js +226 -10
- package/profileanalysis/index.js +225 -9
- package/roller/index.js +218 -4
- package/roller/style/roller.css +1 -1
- package/scenceview/index.js +1453 -237
- package/screenshot/index.js +221 -6
- package/screenshot/style/screenshot.css +1 -1
- package/shadowanalysis/index.js +231 -15
- package/sightlineanalysis/index.js +222 -6
- package/skylineanalysis/index.js +224 -8
- package/slopeanalysis/index.js +236 -20
- package/style.css +1 -1
- package/terrainoperation/index.js +228 -12
- package/viewshedanalysis/index.js +222 -6
- package/weathereffect/index.js +212 -6
|
@@ -2,6 +2,161 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
+
/***/ 519:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// EXPORTS
|
|
10
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
11
|
+
"default": function() { return /* reexport */ HeaderTemp; }
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
15
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
16
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
17
|
+
var util_ = __webpack_require__(9519);
|
|
18
|
+
;// 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
|
|
19
|
+
|
|
20
|
+
const _hoisted_1 = {
|
|
21
|
+
class: "kq-control-header-temp"
|
|
22
|
+
};
|
|
23
|
+
const _hoisted_2 = {
|
|
24
|
+
class: "_title"
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
const __default__ = {
|
|
29
|
+
name: "Kq3dHeaderTemp"
|
|
30
|
+
};
|
|
31
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
32
|
+
props: {
|
|
33
|
+
// 是否显示阴影效果
|
|
34
|
+
showShadow: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: true
|
|
37
|
+
},
|
|
38
|
+
// HeaderTemp标题
|
|
39
|
+
headerTempTitle: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: ""
|
|
42
|
+
},
|
|
43
|
+
// HeaderTemp图标
|
|
44
|
+
headerTempIcon: {
|
|
45
|
+
type: Object
|
|
46
|
+
},
|
|
47
|
+
// HeaderTemp是否折叠
|
|
48
|
+
isCollapse: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
52
|
+
// HeaderTemp Title&Icon的位置
|
|
53
|
+
isRight: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
setup(__props, {
|
|
60
|
+
expose
|
|
61
|
+
}) {
|
|
62
|
+
const props = __props;
|
|
63
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
64
|
+
// 图标组件
|
|
65
|
+
|
|
66
|
+
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
67
|
+
let isCollapse = props.isCollapse;
|
|
68
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
69
|
+
iconBtn.value = props.headerTempIcon;
|
|
70
|
+
let dom = proxy.parent.vnode.el;
|
|
71
|
+
|
|
72
|
+
if (!props.isRight) {
|
|
73
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (isCollapse) {
|
|
77
|
+
if (props.showShadow) {
|
|
78
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
79
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
80
|
+
} else {
|
|
81
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}); // 图标按钮点击事件
|
|
86
|
+
|
|
87
|
+
function btnClick() {
|
|
88
|
+
isCollapse = !isCollapse;
|
|
89
|
+
let dom = proxy.parent.vnode.el;
|
|
90
|
+
|
|
91
|
+
if (isCollapse) {
|
|
92
|
+
// 折叠
|
|
93
|
+
if (props.showShadow) {
|
|
94
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
95
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
96
|
+
} else {
|
|
97
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
98
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
99
|
+
}
|
|
100
|
+
} else {
|
|
101
|
+
// 展开
|
|
102
|
+
if (props.showShadow) {
|
|
103
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
104
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
105
|
+
} else {
|
|
106
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
107
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
expose({
|
|
113
|
+
btnClick
|
|
114
|
+
});
|
|
115
|
+
return (_ctx, _cache) => {
|
|
116
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
117
|
+
|
|
118
|
+
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
|
|
119
|
+
/* TEXT */
|
|
120
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
121
|
+
class: "_btn kq-control-header-temp_btn",
|
|
122
|
+
onClick: btnClick
|
|
123
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
124
|
+
size: 16
|
|
125
|
+
}, {
|
|
126
|
+
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))))]),
|
|
127
|
+
_: 1
|
|
128
|
+
/* STABLE */
|
|
129
|
+
|
|
130
|
+
})])]);
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
}));
|
|
135
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
136
|
+
|
|
137
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
142
|
+
|
|
143
|
+
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
144
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
145
|
+
var init_js_ = __webpack_require__(5406);
|
|
146
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
147
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
HeaderTemp.install = (Vue, opts) => {
|
|
152
|
+
init_js_default()(Vue, opts);
|
|
153
|
+
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/***/ }),
|
|
159
|
+
|
|
5
160
|
/***/ 5925:
|
|
6
161
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
162
|
|
|
@@ -217,6 +372,13 @@ class TerrainOperationViewModel {
|
|
|
217
372
|
|
|
218
373
|
/***/ }),
|
|
219
374
|
|
|
375
|
+
/***/ 348:
|
|
376
|
+
/***/ (function(module) {
|
|
377
|
+
|
|
378
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
379
|
+
|
|
380
|
+
/***/ }),
|
|
381
|
+
|
|
220
382
|
/***/ 826:
|
|
221
383
|
/***/ (function(module) {
|
|
222
384
|
|
|
@@ -224,6 +386,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
224
386
|
|
|
225
387
|
/***/ }),
|
|
226
388
|
|
|
389
|
+
/***/ 9519:
|
|
390
|
+
/***/ (function(module) {
|
|
391
|
+
|
|
392
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
393
|
+
|
|
394
|
+
/***/ }),
|
|
395
|
+
|
|
227
396
|
/***/ 5406:
|
|
228
397
|
/***/ (function(module) {
|
|
229
398
|
|
|
@@ -347,23 +516,26 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
347
516
|
var gis_utils_ = __webpack_require__(826);
|
|
348
517
|
// EXTERNAL MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
|
|
349
518
|
var TerrainOperationViewModel = __webpack_require__(5925);
|
|
519
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
520
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
521
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
522
|
+
var headertemp = __webpack_require__(519);
|
|
350
523
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
351
524
|
|
|
352
525
|
const _hoisted_1 = {
|
|
353
|
-
class: "kq3d-terrain-operation-analysis"
|
|
354
|
-
};
|
|
355
|
-
const _hoisted_2 = {
|
|
356
526
|
class: "kq3d-terrain-operation-analysis-span"
|
|
357
527
|
};
|
|
358
|
-
const
|
|
528
|
+
const _hoisted_2 = {
|
|
359
529
|
key: 0
|
|
360
530
|
};
|
|
361
|
-
const
|
|
531
|
+
const _hoisted_3 = {
|
|
362
532
|
class: "kq3d-terrain-operation-analysis-footer"
|
|
363
533
|
};
|
|
364
534
|
|
|
365
535
|
|
|
366
536
|
|
|
537
|
+
|
|
538
|
+
|
|
367
539
|
const __default__ = {
|
|
368
540
|
name: "Kq3dTerrainOperation"
|
|
369
541
|
};
|
|
@@ -377,6 +549,35 @@ const __default__ = {
|
|
|
377
549
|
operationMode: {
|
|
378
550
|
type: Number,
|
|
379
551
|
default: 0
|
|
552
|
+
},
|
|
553
|
+
// 是否显示阴影效果
|
|
554
|
+
showShadow: {
|
|
555
|
+
type: Boolean,
|
|
556
|
+
default: true
|
|
557
|
+
},
|
|
558
|
+
// 是否生成HeaderTemp
|
|
559
|
+
showHeaderTemp: {
|
|
560
|
+
type: Boolean,
|
|
561
|
+
default: false
|
|
562
|
+
},
|
|
563
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
564
|
+
isCollapseHeaderTemp: {
|
|
565
|
+
type: Boolean,
|
|
566
|
+
default: false
|
|
567
|
+
},
|
|
568
|
+
// HeaderTemp标题
|
|
569
|
+
headerTempTitle: {
|
|
570
|
+
type: String
|
|
571
|
+
},
|
|
572
|
+
// HeaderTemp图标
|
|
573
|
+
headerTempIcon: {
|
|
574
|
+
type: [Object, String],
|
|
575
|
+
default: client_icons_vue_.IconTerrainOperation
|
|
576
|
+
},
|
|
577
|
+
// HeaderTemp Title&Icon的位置
|
|
578
|
+
isRight: {
|
|
579
|
+
type: Boolean,
|
|
580
|
+
default: true
|
|
380
581
|
}
|
|
381
582
|
},
|
|
382
583
|
|
|
@@ -461,8 +662,21 @@ const __default__ = {
|
|
|
461
662
|
|
|
462
663
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
463
664
|
|
|
464
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
465
|
-
|
|
665
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
666
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
|
|
667
|
+
'kq-box-shadow': __props.showShadow
|
|
668
|
+
}])
|
|
669
|
+
}, [__props.showHeaderTemp ? ((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_.unref)(headertemp["default"]), {
|
|
670
|
+
key: 0,
|
|
671
|
+
showShadow: __props.showShadow,
|
|
672
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).terrainOperation,
|
|
673
|
+
headerTempIcon: __props.headerTempIcon,
|
|
674
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
675
|
+
isRight: __props.isRight
|
|
676
|
+
}, null, 8
|
|
677
|
+
/* PROPS */
|
|
678
|
+
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), __props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
679
|
+
key: 1
|
|
466
680
|
}, {
|
|
467
681
|
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_radio, {
|
|
468
682
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
|
|
@@ -497,13 +711,13 @@ const __default__ = {
|
|
|
497
711
|
/* STABLE */
|
|
498
712
|
|
|
499
713
|
})) : (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)(formItem).terrainStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
500
|
-
key:
|
|
714
|
+
key: 2,
|
|
501
715
|
gutter: 10
|
|
502
716
|
}, {
|
|
503
717
|
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, {
|
|
504
718
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
505
719
|
}, {
|
|
506
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
720
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_1, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1
|
|
507
721
|
/* TEXT */
|
|
508
722
|
)]),
|
|
509
723
|
_: 1
|
|
@@ -559,13 +773,13 @@ const __default__ = {
|
|
|
559
773
|
}, {
|
|
560
774
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1
|
|
561
775
|
/* TEXT */
|
|
562
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 2 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p",
|
|
776
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 2 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)("(" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reverseDrawPolygon + ")"), 1
|
|
563
777
|
/* TEXT */
|
|
564
778
|
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
565
779
|
_: 1
|
|
566
780
|
/* STABLE */
|
|
567
781
|
|
|
568
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
782
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
569
783
|
onClick: _cache[7] || (_cache[7] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
570
784
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
571
785
|
type: "primary"
|
|
@@ -590,7 +804,9 @@ const __default__ = {
|
|
|
590
804
|
|
|
591
805
|
}, 8
|
|
592
806
|
/* PROPS */
|
|
593
|
-
, ["title"])])]
|
|
807
|
+
, ["title"])])], 2
|
|
808
|
+
/* CLASS */
|
|
809
|
+
);
|
|
594
810
|
};
|
|
595
811
|
}
|
|
596
812
|
|
|
@@ -2,6 +2,161 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
+
/***/ 519:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// EXPORTS
|
|
10
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
11
|
+
"default": function() { return /* reexport */ HeaderTemp; }
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
15
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
16
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
17
|
+
var util_ = __webpack_require__(9519);
|
|
18
|
+
;// 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
|
|
19
|
+
|
|
20
|
+
const _hoisted_1 = {
|
|
21
|
+
class: "kq-control-header-temp"
|
|
22
|
+
};
|
|
23
|
+
const _hoisted_2 = {
|
|
24
|
+
class: "_title"
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
const __default__ = {
|
|
29
|
+
name: "Kq3dHeaderTemp"
|
|
30
|
+
};
|
|
31
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
32
|
+
props: {
|
|
33
|
+
// 是否显示阴影效果
|
|
34
|
+
showShadow: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: true
|
|
37
|
+
},
|
|
38
|
+
// HeaderTemp标题
|
|
39
|
+
headerTempTitle: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: ""
|
|
42
|
+
},
|
|
43
|
+
// HeaderTemp图标
|
|
44
|
+
headerTempIcon: {
|
|
45
|
+
type: Object
|
|
46
|
+
},
|
|
47
|
+
// HeaderTemp是否折叠
|
|
48
|
+
isCollapse: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
52
|
+
// HeaderTemp Title&Icon的位置
|
|
53
|
+
isRight: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
setup(__props, {
|
|
60
|
+
expose
|
|
61
|
+
}) {
|
|
62
|
+
const props = __props;
|
|
63
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
64
|
+
// 图标组件
|
|
65
|
+
|
|
66
|
+
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
67
|
+
let isCollapse = props.isCollapse;
|
|
68
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
69
|
+
iconBtn.value = props.headerTempIcon;
|
|
70
|
+
let dom = proxy.parent.vnode.el;
|
|
71
|
+
|
|
72
|
+
if (!props.isRight) {
|
|
73
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (isCollapse) {
|
|
77
|
+
if (props.showShadow) {
|
|
78
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
79
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
80
|
+
} else {
|
|
81
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}); // 图标按钮点击事件
|
|
86
|
+
|
|
87
|
+
function btnClick() {
|
|
88
|
+
isCollapse = !isCollapse;
|
|
89
|
+
let dom = proxy.parent.vnode.el;
|
|
90
|
+
|
|
91
|
+
if (isCollapse) {
|
|
92
|
+
// 折叠
|
|
93
|
+
if (props.showShadow) {
|
|
94
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
95
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
96
|
+
} else {
|
|
97
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
98
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
99
|
+
}
|
|
100
|
+
} else {
|
|
101
|
+
// 展开
|
|
102
|
+
if (props.showShadow) {
|
|
103
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
104
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
105
|
+
} else {
|
|
106
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
107
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
expose({
|
|
113
|
+
btnClick
|
|
114
|
+
});
|
|
115
|
+
return (_ctx, _cache) => {
|
|
116
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
117
|
+
|
|
118
|
+
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
|
|
119
|
+
/* TEXT */
|
|
120
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
121
|
+
class: "_btn kq-control-header-temp_btn",
|
|
122
|
+
onClick: btnClick
|
|
123
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
124
|
+
size: 16
|
|
125
|
+
}, {
|
|
126
|
+
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))))]),
|
|
127
|
+
_: 1
|
|
128
|
+
/* STABLE */
|
|
129
|
+
|
|
130
|
+
})])]);
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
}));
|
|
135
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
136
|
+
|
|
137
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
142
|
+
|
|
143
|
+
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
144
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
145
|
+
var init_js_ = __webpack_require__(5406);
|
|
146
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
147
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
HeaderTemp.install = (Vue, opts) => {
|
|
152
|
+
init_js_default()(Vue, opts);
|
|
153
|
+
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/***/ }),
|
|
159
|
+
|
|
5
160
|
/***/ 9721:
|
|
6
161
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
162
|
|
|
@@ -108,6 +263,13 @@ class ViewshedAnalysisViewModel {
|
|
|
108
263
|
|
|
109
264
|
/***/ }),
|
|
110
265
|
|
|
266
|
+
/***/ 348:
|
|
267
|
+
/***/ (function(module) {
|
|
268
|
+
|
|
269
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
270
|
+
|
|
271
|
+
/***/ }),
|
|
272
|
+
|
|
111
273
|
/***/ 826:
|
|
112
274
|
/***/ (function(module) {
|
|
113
275
|
|
|
@@ -115,6 +277,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
115
277
|
|
|
116
278
|
/***/ }),
|
|
117
279
|
|
|
280
|
+
/***/ 9519:
|
|
281
|
+
/***/ (function(module) {
|
|
282
|
+
|
|
283
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
284
|
+
|
|
285
|
+
/***/ }),
|
|
286
|
+
|
|
118
287
|
/***/ 5406:
|
|
119
288
|
/***/ (function(module) {
|
|
120
289
|
|
|
@@ -238,17 +407,20 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
238
407
|
var gis_utils_ = __webpack_require__(826);
|
|
239
408
|
// EXTERNAL MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
|
|
240
409
|
var ViewshedAnalysisViewModel = __webpack_require__(9721);
|
|
410
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
411
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
412
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
413
|
+
var headertemp = __webpack_require__(519);
|
|
241
414
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
242
415
|
|
|
243
416
|
const _hoisted_1 = {
|
|
244
|
-
class: "kq3d-viewshed-analysis"
|
|
245
|
-
};
|
|
246
|
-
const _hoisted_2 = {
|
|
247
417
|
class: "kq3d-viewshed-analysis-footer"
|
|
248
418
|
};
|
|
249
419
|
|
|
250
420
|
|
|
251
421
|
|
|
422
|
+
|
|
423
|
+
|
|
252
424
|
const __default__ = {
|
|
253
425
|
name: "Kq3dViewshedAnalysis"
|
|
254
426
|
};
|
|
@@ -257,6 +429,35 @@ const __default__ = {
|
|
|
257
429
|
// 设置参数
|
|
258
430
|
settingParams: {
|
|
259
431
|
type: Object
|
|
432
|
+
},
|
|
433
|
+
// 是否显示阴影效果
|
|
434
|
+
showShadow: {
|
|
435
|
+
type: Boolean,
|
|
436
|
+
default: true
|
|
437
|
+
},
|
|
438
|
+
// 是否生成HeaderTemp
|
|
439
|
+
showHeaderTemp: {
|
|
440
|
+
type: Boolean,
|
|
441
|
+
default: false
|
|
442
|
+
},
|
|
443
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
444
|
+
isCollapseHeaderTemp: {
|
|
445
|
+
type: Boolean,
|
|
446
|
+
default: false
|
|
447
|
+
},
|
|
448
|
+
// HeaderTemp标题
|
|
449
|
+
headerTempTitle: {
|
|
450
|
+
type: String
|
|
451
|
+
},
|
|
452
|
+
// HeaderTemp图标
|
|
453
|
+
headerTempIcon: {
|
|
454
|
+
type: [Object, String],
|
|
455
|
+
default: client_icons_vue_.IconViewshedAnalysis
|
|
456
|
+
},
|
|
457
|
+
// HeaderTemp Title&Icon的位置
|
|
458
|
+
isRight: {
|
|
459
|
+
type: Boolean,
|
|
460
|
+
default: true
|
|
260
461
|
}
|
|
261
462
|
},
|
|
262
463
|
|
|
@@ -386,7 +587,20 @@ const __default__ = {
|
|
|
386
587
|
|
|
387
588
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
388
589
|
|
|
389
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
590
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
591
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-viewshed-analysis", {
|
|
592
|
+
'kq-box-shadow': __props.showShadow
|
|
593
|
+
}])
|
|
594
|
+
}, [__props.showHeaderTemp ? ((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_.unref)(headertemp["default"]), {
|
|
595
|
+
key: 0,
|
|
596
|
+
showShadow: __props.showShadow,
|
|
597
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).viewshedAnalysis,
|
|
598
|
+
headerTempIcon: __props.headerTempIcon,
|
|
599
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
600
|
+
isRight: __props.isRight
|
|
601
|
+
}, null, 8
|
|
602
|
+
/* PROPS */
|
|
603
|
+
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
390
604
|
class: "kq3d-viewshed-analysis-tip"
|
|
391
605
|
}, {
|
|
392
606
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).viewshedTips), 1
|
|
@@ -632,7 +846,7 @@ const __default__ = {
|
|
|
632
846
|
|
|
633
847
|
}, 8
|
|
634
848
|
/* PROPS */
|
|
635
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
849
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
636
850
|
onClick: _cache[16] || (_cache[16] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
637
851
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
638
852
|
type: "primary"
|
|
@@ -657,7 +871,9 @@ const __default__ = {
|
|
|
657
871
|
|
|
658
872
|
}, 8
|
|
659
873
|
/* PROPS */
|
|
660
|
-
, ["title"])])]
|
|
874
|
+
, ["title"])])], 2
|
|
875
|
+
/* CLASS */
|
|
876
|
+
);
|
|
661
877
|
};
|
|
662
878
|
}
|
|
663
879
|
|