@kq_npm/client3d_webgl_vue 3.0.1-beta → 3.0.3-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
package/particleeffect/index.js
CHANGED
|
@@ -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
|
/***/ 348:
|
|
6
161
|
/***/ (function(module) {
|
|
7
162
|
|
|
@@ -23,6 +178,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
23
178
|
|
|
24
179
|
/***/ }),
|
|
25
180
|
|
|
181
|
+
/***/ 9519:
|
|
182
|
+
/***/ (function(module) {
|
|
183
|
+
|
|
184
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
185
|
+
|
|
186
|
+
/***/ }),
|
|
187
|
+
|
|
26
188
|
/***/ 5406:
|
|
27
189
|
/***/ (function(module) {
|
|
28
190
|
|
|
@@ -370,18 +532,18 @@ class ParticleEffectViewModel {
|
|
|
370
532
|
}
|
|
371
533
|
|
|
372
534
|
}
|
|
535
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
536
|
+
var headertemp = __webpack_require__(519);
|
|
373
537
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
|
|
374
538
|
|
|
375
539
|
const _hoisted_1 = {
|
|
376
|
-
class: "kq3d-particle-effect"
|
|
377
|
-
};
|
|
378
|
-
const _hoisted_2 = {
|
|
379
540
|
class: "kq3d-particle-effect-footer"
|
|
380
541
|
};
|
|
381
542
|
|
|
382
543
|
|
|
383
544
|
|
|
384
545
|
|
|
546
|
+
|
|
385
547
|
const __default__ = {
|
|
386
548
|
name: "Kq3dParticleEffect"
|
|
387
549
|
};
|
|
@@ -390,6 +552,35 @@ const __default__ = {
|
|
|
390
552
|
// 设置参数
|
|
391
553
|
settingParams: {
|
|
392
554
|
type: Object
|
|
555
|
+
},
|
|
556
|
+
// 是否显示阴影效果
|
|
557
|
+
showShadow: {
|
|
558
|
+
type: Boolean,
|
|
559
|
+
default: true
|
|
560
|
+
},
|
|
561
|
+
// 是否生成HeaderTemp
|
|
562
|
+
showHeaderTemp: {
|
|
563
|
+
type: Boolean,
|
|
564
|
+
default: false
|
|
565
|
+
},
|
|
566
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
567
|
+
isCollapseHeaderTemp: {
|
|
568
|
+
type: Boolean,
|
|
569
|
+
default: false
|
|
570
|
+
},
|
|
571
|
+
// HeaderTemp标题
|
|
572
|
+
headerTempTitle: {
|
|
573
|
+
type: String
|
|
574
|
+
},
|
|
575
|
+
// HeaderTemp图标
|
|
576
|
+
headerTempIcon: {
|
|
577
|
+
type: [Object, String],
|
|
578
|
+
default: client_icons_vue_.IconParticleEffect
|
|
579
|
+
},
|
|
580
|
+
// HeaderTemp Title&Icon的位置
|
|
581
|
+
isRight: {
|
|
582
|
+
type: Boolean,
|
|
583
|
+
default: true
|
|
393
584
|
}
|
|
394
585
|
},
|
|
395
586
|
|
|
@@ -537,7 +728,20 @@ const __default__ = {
|
|
|
537
728
|
|
|
538
729
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
539
730
|
|
|
540
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
731
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
732
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-particle-effect", {
|
|
733
|
+
'kq-box-shadow': __props.showShadow
|
|
734
|
+
}])
|
|
735
|
+
}, [__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"]), {
|
|
736
|
+
key: 0,
|
|
737
|
+
showShadow: __props.showShadow,
|
|
738
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).particleEffect,
|
|
739
|
+
headerTempIcon: __props.headerTempIcon,
|
|
740
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
741
|
+
isRight: __props.isRight
|
|
742
|
+
}, null, 8
|
|
743
|
+
/* PROPS */
|
|
744
|
+
, ["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, {
|
|
541
745
|
gutter: 20,
|
|
542
746
|
class: "rowclass"
|
|
543
747
|
}, {
|
|
@@ -1102,7 +1306,7 @@ const __default__ = {
|
|
|
1102
1306
|
|
|
1103
1307
|
}, 8
|
|
1104
1308
|
/* PROPS */
|
|
1105
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
1309
|
+
, ["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, {
|
|
1106
1310
|
onClick: _cache[38] || (_cache[38] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
|
|
1107
1311
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
|
|
1108
1312
|
type: "primary"
|
|
@@ -1127,7 +1331,9 @@ const __default__ = {
|
|
|
1127
1331
|
|
|
1128
1332
|
}, 8
|
|
1129
1333
|
/* PROPS */
|
|
1130
|
-
, ["title"])])]
|
|
1334
|
+
, ["title"])])], 2
|
|
1335
|
+
/* CLASS */
|
|
1336
|
+
);
|
|
1131
1337
|
};
|
|
1132
1338
|
}
|
|
1133
1339
|
|
package/planeclip/index.js
CHANGED
|
@@ -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
|
/***/ 5673:
|
|
6
161
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
162
|
|
|
@@ -187,6 +342,13 @@ class PlaneClipViewModel {
|
|
|
187
342
|
|
|
188
343
|
/***/ }),
|
|
189
344
|
|
|
345
|
+
/***/ 348:
|
|
346
|
+
/***/ (function(module) {
|
|
347
|
+
|
|
348
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
349
|
+
|
|
350
|
+
/***/ }),
|
|
351
|
+
|
|
190
352
|
/***/ 826:
|
|
191
353
|
/***/ (function(module) {
|
|
192
354
|
|
|
@@ -194,6 +356,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
194
356
|
|
|
195
357
|
/***/ }),
|
|
196
358
|
|
|
359
|
+
/***/ 9519:
|
|
360
|
+
/***/ (function(module) {
|
|
361
|
+
|
|
362
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
363
|
+
|
|
364
|
+
/***/ }),
|
|
365
|
+
|
|
197
366
|
/***/ 5406:
|
|
198
367
|
/***/ (function(module) {
|
|
199
368
|
|
|
@@ -317,10 +486,14 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
317
486
|
var gis_utils_ = __webpack_require__(826);
|
|
318
487
|
// EXTERNAL MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
|
|
319
488
|
var PlaneClipViewModel = __webpack_require__(5673);
|
|
489
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
490
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
491
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
492
|
+
var headertemp = __webpack_require__(519);
|
|
320
493
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
321
494
|
|
|
322
495
|
const _hoisted_1 = {
|
|
323
|
-
class: "kq3d-plane-clip"
|
|
496
|
+
class: "kq3d-plane-clip-span"
|
|
324
497
|
};
|
|
325
498
|
const _hoisted_2 = {
|
|
326
499
|
class: "kq3d-plane-clip-span"
|
|
@@ -329,14 +502,13 @@ const _hoisted_3 = {
|
|
|
329
502
|
class: "kq3d-plane-clip-span"
|
|
330
503
|
};
|
|
331
504
|
const _hoisted_4 = {
|
|
332
|
-
class: "kq3d-plane-clip-span"
|
|
333
|
-
};
|
|
334
|
-
const _hoisted_5 = {
|
|
335
505
|
class: "kq3d-plane-clip-footer"
|
|
336
506
|
};
|
|
337
507
|
|
|
338
508
|
|
|
339
509
|
|
|
510
|
+
|
|
511
|
+
|
|
340
512
|
const __default__ = {
|
|
341
513
|
name: "Kq3dPlaneClip"
|
|
342
514
|
};
|
|
@@ -345,6 +517,35 @@ const __default__ = {
|
|
|
345
517
|
// 设置参数
|
|
346
518
|
settingParams: {
|
|
347
519
|
type: Object
|
|
520
|
+
},
|
|
521
|
+
// 是否显示阴影效果
|
|
522
|
+
showShadow: {
|
|
523
|
+
type: Boolean,
|
|
524
|
+
default: true
|
|
525
|
+
},
|
|
526
|
+
// 是否生成HeaderTemp
|
|
527
|
+
showHeaderTemp: {
|
|
528
|
+
type: Boolean,
|
|
529
|
+
default: false
|
|
530
|
+
},
|
|
531
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
532
|
+
isCollapseHeaderTemp: {
|
|
533
|
+
type: Boolean,
|
|
534
|
+
default: false
|
|
535
|
+
},
|
|
536
|
+
// HeaderTemp标题
|
|
537
|
+
headerTempTitle: {
|
|
538
|
+
type: String
|
|
539
|
+
},
|
|
540
|
+
// HeaderTemp图标
|
|
541
|
+
headerTempIcon: {
|
|
542
|
+
type: [Object, String],
|
|
543
|
+
default: client_icons_vue_.IconPlaneClip
|
|
544
|
+
},
|
|
545
|
+
// HeaderTemp Title&Icon的位置
|
|
546
|
+
isRight: {
|
|
547
|
+
type: Boolean,
|
|
548
|
+
default: true
|
|
348
549
|
}
|
|
349
550
|
},
|
|
350
551
|
|
|
@@ -474,7 +675,20 @@ const __default__ = {
|
|
|
474
675
|
|
|
475
676
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
476
677
|
|
|
477
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
678
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
679
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-plane-clip", {
|
|
680
|
+
'kq-box-shadow': __props.showShadow
|
|
681
|
+
}])
|
|
682
|
+
}, [__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"]), {
|
|
683
|
+
key: 0,
|
|
684
|
+
showShadow: __props.showShadow,
|
|
685
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).planeClip,
|
|
686
|
+
headerTempIcon: __props.headerTempIcon,
|
|
687
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
688
|
+
isRight: __props.isRight
|
|
689
|
+
}, null, 8
|
|
690
|
+
/* PROPS */
|
|
691
|
+
, ["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, {
|
|
478
692
|
gutter: 20,
|
|
479
693
|
class: "rowClass"
|
|
480
694
|
}, {
|
|
@@ -482,7 +696,7 @@ const __default__ = {
|
|
|
482
696
|
span: 6,
|
|
483
697
|
class: "colClass"
|
|
484
698
|
}, {
|
|
485
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
699
|
+
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).clipObj), 1
|
|
486
700
|
/* TEXT */
|
|
487
701
|
)]),
|
|
488
702
|
_: 1
|
|
@@ -536,7 +750,7 @@ const __default__ = {
|
|
|
536
750
|
span: 6,
|
|
537
751
|
class: "colClass"
|
|
538
752
|
}, {
|
|
539
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
753
|
+
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).clipStyle), 1
|
|
540
754
|
/* TEXT */
|
|
541
755
|
)]),
|
|
542
756
|
_: 1
|
|
@@ -588,7 +802,7 @@ const __default__ = {
|
|
|
588
802
|
span: 6,
|
|
589
803
|
class: "colClass"
|
|
590
804
|
}, {
|
|
591
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
805
|
+
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_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipPattern), 1
|
|
592
806
|
/* TEXT */
|
|
593
807
|
)]),
|
|
594
808
|
_: 1
|
|
@@ -771,7 +985,7 @@ const __default__ = {
|
|
|
771
985
|
|
|
772
986
|
}, 8
|
|
773
987
|
/* PROPS */
|
|
774
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
988
|
+
, ["model-value"]), (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, {
|
|
775
989
|
onClick: _cache[14] || (_cache[14] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
776
990
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
777
991
|
type: "primary"
|
|
@@ -796,7 +1010,9 @@ const __default__ = {
|
|
|
796
1010
|
|
|
797
1011
|
}, 8
|
|
798
1012
|
/* PROPS */
|
|
799
|
-
, ["title"])])]
|
|
1013
|
+
, ["title"])])], 2
|
|
1014
|
+
/* CLASS */
|
|
1015
|
+
);
|
|
800
1016
|
};
|
|
801
1017
|
}
|
|
802
1018
|
|