@kq_npm/client3d_webgl_vue 3.0.7-beta → 3.0.9-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +290 -319
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +47 -179
- package/aspectanalysis/style/aspectanalysis.css +1 -1
- package/baseterraingallery/index.js +39 -177
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +50 -182
- package/boxclip/style/boxclip.css +1 -1
- package/excavatefillanalysis/index.js +57 -189
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -1
- package/flight/index.js +42 -177
- package/floodanalysis/index.js +64 -199
- package/floodanalysis/style/floodanalysis.css +1 -1
- package/gpuspatialquery/index.js +47 -179
- package/gpuspatialquery/style/gpuspatialquery.css +1 -1
- package/headertemp/index.js +34 -83
- package/index.js +1378 -733
- package/isolineanalysis/index.js +75 -207
- package/isolineanalysis/style/isolineanalysis.css +1 -1
- package/measure/index.js +42 -177
- package/modelselect/index.js +49 -182
- package/modelselect/style/modelselect.css +1 -1
- package/package.json +1 -1
- package/particleeffect/index.js +45 -178
- package/particleeffect/style/particleeffect.css +1 -1
- package/planeclip/index.js +51 -183
- package/planeclip/style/planeclip.css +1 -1
- package/profileanalysis/index.js +50 -182
- package/profileanalysis/style/profileanalysis.css +1 -1
- package/roller/index.js +43 -188
- package/scenceview/index.js +1477 -851
- package/screenshot/index.js +47 -179
- package/screenshot/style/screenshot.css +1 -1
- package/shadowanalysis/index.js +58 -190
- package/shadowanalysis/style/shadowanalysis.css +1 -1
- package/sightlineanalysis/index.js +46 -179
- package/sightlineanalysis/style/sightlineanalysis.css +1 -1
- package/skylineanalysis/index.js +49 -181
- package/skylineanalysis/style/skylineanalysis.css +1 -1
- package/slopeanalysis/index.js +62 -194
- package/slopeanalysis/style/slopeanalysis.css +1 -1
- package/style.css +1 -1
- package/terrainoperation/index.js +53 -185
- package/terrainoperation/style/terrainoperation.css +1 -1
- package/underground/index.js +32 -20
- package/viewshedanalysis/index.js +45 -178
- package/viewshedanalysis/style/viewshedanalysis.css +1 -1
- package/weathereffect/index.js +48 -180
- package/weathereffect/style/weathereffect.css +1 -1
|
@@ -2,169 +2,6 @@
|
|
|
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
|
-
} else {
|
|
85
|
-
if (props.showShadow) {
|
|
86
|
-
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
-
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
-
} else {
|
|
89
|
-
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
-
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}); // 图标按钮点击事件
|
|
94
|
-
|
|
95
|
-
function btnClick() {
|
|
96
|
-
isCollapse = !isCollapse;
|
|
97
|
-
let dom = proxy.parent.vnode.el;
|
|
98
|
-
|
|
99
|
-
if (isCollapse) {
|
|
100
|
-
// 折叠
|
|
101
|
-
if (props.showShadow) {
|
|
102
|
-
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
103
|
-
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
104
|
-
} else {
|
|
105
|
-
(0,util_.addClass)(dom, "kq-is-hide");
|
|
106
|
-
(0,util_.removeClass)(dom, "kq-is-show");
|
|
107
|
-
}
|
|
108
|
-
} else {
|
|
109
|
-
// 展开
|
|
110
|
-
if (props.showShadow) {
|
|
111
|
-
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
112
|
-
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
113
|
-
} else {
|
|
114
|
-
(0,util_.addClass)(dom, "kq-is-show");
|
|
115
|
-
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
expose({
|
|
121
|
-
btnClick
|
|
122
|
-
});
|
|
123
|
-
return (_ctx, _cache) => {
|
|
124
|
-
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
125
|
-
|
|
126
|
-
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
|
|
127
|
-
/* TEXT */
|
|
128
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
129
|
-
class: "_btn kq-control-header-temp_btn",
|
|
130
|
-
onClick: btnClick
|
|
131
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
132
|
-
size: 16
|
|
133
|
-
}, {
|
|
134
|
-
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))))]),
|
|
135
|
-
_: 1
|
|
136
|
-
/* STABLE */
|
|
137
|
-
|
|
138
|
-
})])]);
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
}));
|
|
143
|
-
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
144
|
-
|
|
145
|
-
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
150
|
-
|
|
151
|
-
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
152
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
153
|
-
var init_js_ = __webpack_require__(5406);
|
|
154
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
155
|
-
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
HeaderTemp.install = (Vue, opts) => {
|
|
160
|
-
init_js_default()(Vue, opts);
|
|
161
|
-
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
/***/ }),
|
|
167
|
-
|
|
168
5
|
/***/ 5925:
|
|
169
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
170
7
|
|
|
@@ -526,17 +363,20 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
526
363
|
var TerrainOperationViewModel = __webpack_require__(5925);
|
|
527
364
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
528
365
|
var client_icons_vue_ = __webpack_require__(348);
|
|
529
|
-
// EXTERNAL MODULE:
|
|
530
|
-
var
|
|
366
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
367
|
+
var util_ = __webpack_require__(9519);
|
|
531
368
|
;// 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
|
|
532
369
|
|
|
533
370
|
const _hoisted_1 = {
|
|
534
|
-
class: "kq3d-terrain-operation-analysis-
|
|
371
|
+
class: "kq3d-terrain-operation-analysis-box"
|
|
535
372
|
};
|
|
536
373
|
const _hoisted_2 = {
|
|
537
|
-
|
|
374
|
+
class: "kq3d-terrain-operation-analysis-span"
|
|
538
375
|
};
|
|
539
376
|
const _hoisted_3 = {
|
|
377
|
+
key: 0
|
|
378
|
+
};
|
|
379
|
+
const _hoisted_4 = {
|
|
540
380
|
class: "kq3d-terrain-operation-analysis-footer"
|
|
541
381
|
};
|
|
542
382
|
|
|
@@ -563,6 +403,11 @@ const __default__ = {
|
|
|
563
403
|
type: Boolean,
|
|
564
404
|
default: true
|
|
565
405
|
},
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
409
|
+
*/
|
|
410
|
+
position: [String, Object],
|
|
566
411
|
// 是否生成HeaderTemp
|
|
567
412
|
showHeaderTemp: {
|
|
568
413
|
type: Boolean,
|
|
@@ -609,8 +454,21 @@ const __default__ = {
|
|
|
609
454
|
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 5000 // 地形开挖深度范围最大值
|
|
610
455
|
|
|
611
456
|
});
|
|
612
|
-
let viewModel = null;
|
|
457
|
+
let viewModel = null; // 组件容器Ref
|
|
458
|
+
|
|
459
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
460
|
+
|
|
461
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
462
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
613
463
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
464
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
465
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
466
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
467
|
+
});
|
|
468
|
+
watchCreateHeaderTemp();
|
|
469
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
470
|
+
watchCreateHeaderTemp();
|
|
471
|
+
});
|
|
614
472
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
615
473
|
|
|
616
474
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
@@ -626,7 +484,18 @@ const __default__ = {
|
|
|
626
484
|
});
|
|
627
485
|
}
|
|
628
486
|
});
|
|
629
|
-
});
|
|
487
|
+
});
|
|
488
|
+
/**
|
|
489
|
+
* @description 监听header生成
|
|
490
|
+
*/
|
|
491
|
+
|
|
492
|
+
const watchCreateHeaderTemp = () => {
|
|
493
|
+
if (props.showHeaderTemp) {
|
|
494
|
+
// 生成headerTemp
|
|
495
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef);
|
|
496
|
+
}
|
|
497
|
+
}; // 改变样式
|
|
498
|
+
|
|
630
499
|
|
|
631
500
|
function changeStyle() {
|
|
632
501
|
viewModel && viewModel.setTerrainStyle(formItem.terrainStyle);
|
|
@@ -673,18 +542,17 @@ const __default__ = {
|
|
|
673
542
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
674
543
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
|
|
675
544
|
'kq-box-shadow': __props.showShadow
|
|
676
|
-
}])
|
|
677
|
-
|
|
545
|
+
}]),
|
|
546
|
+
ref_key: "boxRef",
|
|
547
|
+
ref: boxRef
|
|
548
|
+
}, [__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_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
678
549
|
key: 0,
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
/* PROPS */
|
|
686
|
-
, ["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, {
|
|
687
|
-
key: 1
|
|
550
|
+
ref_key: "headerTempRef",
|
|
551
|
+
ref: headerTempRef
|
|
552
|
+
}, null, 512
|
|
553
|
+
/* NEED_PATCH */
|
|
554
|
+
)) : (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", _hoisted_1, [__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, {
|
|
555
|
+
key: 0
|
|
688
556
|
}, {
|
|
689
557
|
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, {
|
|
690
558
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
|
|
@@ -719,13 +587,13 @@ const __default__ = {
|
|
|
719
587
|
/* STABLE */
|
|
720
588
|
|
|
721
589
|
})) : (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, {
|
|
722
|
-
key:
|
|
590
|
+
key: 1,
|
|
723
591
|
gutter: 10
|
|
724
592
|
}, {
|
|
725
593
|
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, {
|
|
726
594
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
727
595
|
}, {
|
|
728
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
596
|
+
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_2, (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
|
|
729
597
|
/* TEXT */
|
|
730
598
|
)]),
|
|
731
599
|
_: 1
|
|
@@ -781,13 +649,13 @@ const __default__ = {
|
|
|
781
649
|
}, {
|
|
782
650
|
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
|
|
783
651
|
/* TEXT */
|
|
784
|
-
), (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",
|
|
652
|
+
), (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_3, (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
|
|
785
653
|
/* TEXT */
|
|
786
654
|
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
787
655
|
_: 1
|
|
788
656
|
/* STABLE */
|
|
789
657
|
|
|
790
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
658
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
791
659
|
onClick: _cache[7] || (_cache[7] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
792
660
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
793
661
|
type: "primary"
|
|
@@ -812,7 +680,7 @@ const __default__ = {
|
|
|
812
680
|
|
|
813
681
|
}, 8
|
|
814
682
|
/* PROPS */
|
|
815
|
-
, ["title"])])], 2
|
|
683
|
+
, ["title"])])])], 2
|
|
816
684
|
/* CLASS */
|
|
817
685
|
);
|
|
818
686
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.kq3d-terrain-operation-analysis{z-index:999;
|
|
1
|
+
.kq3d-terrain-operation-analysis{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-terrain-operation-analysis .kq3d-terrain-operation-analysis-box{width:350px}.kq3d-terrain-operation-analysis .kq-form-item,.kq3d-terrain-operation-analysis .kq-row{margin-bottom:8px}.kq3d-terrain-operation-analysis .kq3d-terrain-operation-analysis-span{color:var(--kq-text-color-regular);line-height:32px;font-size:var(--kq-font-size-base)}.kq3d-terrain-operation-analysis .kq3d-terrain-operation-analysis-tip{color:var(--kq-text-color-regular);font-size:var(--kq-font-size-base)}.kq3d-terrain-operation-analysis .kq3d-terrain-operation-analysis-tip p{margin:8px 0 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-font-feature-settings:"tnum" on,"lnum" on;font-feature-settings:"tnum" on,"lnum" on;font-family:Noto Sans SC;font-style:normal;font-weight:400}.kq3d-terrain-operation-analysis .kq-slider{width:100%}.kq3d-terrain-operation-analysis .kq-slider .kq-slider__button{width:14px;height:14px}.kq3d-terrain-operation-analysis .kq-input-number.is-controls-right{width:65px}.kq3d-terrain-operation-analysis .kq-input-number.is-controls-right .kq-input-number__decrease,.kq3d-terrain-operation-analysis .kq-input-number.is-controls-right .kq-input-number__increase{width:20px}.kq3d-terrain-operation-analysis .kq-col-8 .kq-input-number .kq-input__wrapper,.kq3d-terrain-operation-analysis .kq-input-number.is-controls-right .kq-input__wrapper{padding-left:0;padding-right:20px}.kq3d-terrain-operation-analysis .kq3d-terrain-operation-analysis-footer{float:right;padding:8px 0 0}
|
package/underground/index.js
CHANGED
|
@@ -74,6 +74,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
74
74
|
|
|
75
75
|
/***/ }),
|
|
76
76
|
|
|
77
|
+
/***/ 9519:
|
|
78
|
+
/***/ (function(module) {
|
|
79
|
+
|
|
80
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
81
|
+
|
|
82
|
+
/***/ }),
|
|
83
|
+
|
|
77
84
|
/***/ 5406:
|
|
78
85
|
/***/ (function(module) {
|
|
79
86
|
|
|
@@ -197,28 +204,26 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
197
204
|
var gis_utils_ = __webpack_require__(826);
|
|
198
205
|
// EXTERNAL MODULE: ./src/webgl/underground/UndergroundViewModel.js
|
|
199
206
|
var UndergroundViewModel = __webpack_require__(7656);
|
|
207
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
208
|
+
var util_ = __webpack_require__(9519);
|
|
200
209
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
|
|
201
210
|
|
|
202
211
|
const _hoisted_1 = {
|
|
203
|
-
class: "kq3d-underground"
|
|
212
|
+
class: "kq3d-underground-switch"
|
|
204
213
|
};
|
|
205
214
|
|
|
206
215
|
|
|
207
216
|
|
|
217
|
+
|
|
208
218
|
const __default__ = {
|
|
209
219
|
name: "kq3dUnderground"
|
|
210
220
|
};
|
|
211
221
|
/* harmony default export */ var Undergroundvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
212
222
|
props: {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
right: {
|
|
219
|
-
type: Number,
|
|
220
|
-
default: 20
|
|
221
|
-
}
|
|
223
|
+
/**
|
|
224
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
225
|
+
*/
|
|
226
|
+
position: [String, Object]
|
|
222
227
|
},
|
|
223
228
|
emits: ["undergroundChange"],
|
|
224
229
|
|
|
@@ -234,8 +239,14 @@ const __default__ = {
|
|
|
234
239
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
235
240
|
let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
236
241
|
let viewer = null;
|
|
237
|
-
let viewModel = null;
|
|
242
|
+
let viewModel = null; // 组件容器Ref
|
|
243
|
+
|
|
244
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
238
245
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
246
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
247
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
248
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
249
|
+
});
|
|
239
250
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
240
251
|
if (scenceView) {
|
|
241
252
|
viewer = scenceView._viewer;
|
|
@@ -267,14 +278,15 @@ const __default__ = {
|
|
|
267
278
|
|
|
268
279
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
269
280
|
|
|
270
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
281
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
282
|
+
class: "kq3d-underground",
|
|
283
|
+
ref_key: "boxRef",
|
|
284
|
+
ref: boxRef
|
|
285
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
271
286
|
"label-width": "120px",
|
|
272
287
|
"label-position": "left"
|
|
273
288
|
}, {
|
|
274
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
275
|
-
class: "kq3d-underground-switch",
|
|
276
|
-
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('top: ' + props.top + 'px; right: ' + props.right + 'px;')
|
|
277
|
-
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
289
|
+
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_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
278
290
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isUndergroundMode),
|
|
279
291
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(isUndergroundMode) ? isUndergroundMode.value = $event : isUndergroundMode = $event),
|
|
280
292
|
onChange: undergroundChange,
|
|
@@ -287,13 +299,13 @@ const __default__ = {
|
|
|
287
299
|
}
|
|
288
300
|
}, null, 8
|
|
289
301
|
/* PROPS */
|
|
290
|
-
, ["modelValue", "active-text"])],
|
|
291
|
-
/* STYLE */
|
|
292
|
-
)]),
|
|
302
|
+
, ["modelValue", "active-text"])])]),
|
|
293
303
|
_: 1
|
|
294
304
|
/* STABLE */
|
|
295
305
|
|
|
296
|
-
})]
|
|
306
|
+
})], 512
|
|
307
|
+
/* NEED_PATCH */
|
|
308
|
+
);
|
|
297
309
|
};
|
|
298
310
|
}
|
|
299
311
|
|