@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
|
@@ -127,6 +127,168 @@ class ExcavateFillAnalysisViewModel {
|
|
|
127
127
|
|
|
128
128
|
/***/ }),
|
|
129
129
|
|
|
130
|
+
/***/ 519:
|
|
131
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
// EXPORTS
|
|
135
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
136
|
+
"default": function() { return /* reexport */ HeaderTemp; }
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
140
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
141
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
142
|
+
var util_ = __webpack_require__(9519);
|
|
143
|
+
;// 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
|
|
144
|
+
|
|
145
|
+
const _hoisted_1 = {
|
|
146
|
+
class: "kq-control-header-temp"
|
|
147
|
+
};
|
|
148
|
+
const _hoisted_2 = {
|
|
149
|
+
class: "_title"
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
const __default__ = {
|
|
154
|
+
name: "Kq3dHeaderTemp"
|
|
155
|
+
};
|
|
156
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
157
|
+
props: {
|
|
158
|
+
// 是否显示阴影效果
|
|
159
|
+
showShadow: {
|
|
160
|
+
type: Boolean,
|
|
161
|
+
default: true
|
|
162
|
+
},
|
|
163
|
+
// HeaderTemp标题
|
|
164
|
+
headerTempTitle: {
|
|
165
|
+
type: String,
|
|
166
|
+
default: ""
|
|
167
|
+
},
|
|
168
|
+
// HeaderTemp图标
|
|
169
|
+
headerTempIcon: {
|
|
170
|
+
type: Object
|
|
171
|
+
},
|
|
172
|
+
// HeaderTemp是否折叠
|
|
173
|
+
isCollapse: {
|
|
174
|
+
type: Boolean,
|
|
175
|
+
default: false
|
|
176
|
+
},
|
|
177
|
+
// HeaderTemp Title&Icon的位置
|
|
178
|
+
isRight: {
|
|
179
|
+
type: Boolean,
|
|
180
|
+
default: true
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
setup(__props, {
|
|
185
|
+
expose
|
|
186
|
+
}) {
|
|
187
|
+
const props = __props;
|
|
188
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
189
|
+
// 图标组件
|
|
190
|
+
|
|
191
|
+
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
192
|
+
let isCollapse = props.isCollapse;
|
|
193
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
194
|
+
iconBtn.value = props.headerTempIcon;
|
|
195
|
+
let dom = proxy.parent.vnode.el;
|
|
196
|
+
|
|
197
|
+
if (!props.isRight) {
|
|
198
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
if (isCollapse) {
|
|
202
|
+
if (props.showShadow) {
|
|
203
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
204
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
205
|
+
} else {
|
|
206
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
207
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}); // 图标按钮点击事件
|
|
211
|
+
|
|
212
|
+
function btnClick() {
|
|
213
|
+
isCollapse = !isCollapse;
|
|
214
|
+
let dom = proxy.parent.vnode.el;
|
|
215
|
+
|
|
216
|
+
if (isCollapse) {
|
|
217
|
+
// 折叠
|
|
218
|
+
if (props.showShadow) {
|
|
219
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
220
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
221
|
+
} else {
|
|
222
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
223
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
224
|
+
}
|
|
225
|
+
} else {
|
|
226
|
+
// 展开
|
|
227
|
+
if (props.showShadow) {
|
|
228
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
229
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
230
|
+
} else {
|
|
231
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
232
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
expose({
|
|
238
|
+
btnClick
|
|
239
|
+
});
|
|
240
|
+
return (_ctx, _cache) => {
|
|
241
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
242
|
+
|
|
243
|
+
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
|
|
244
|
+
/* TEXT */
|
|
245
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
246
|
+
class: "_btn kq-control-header-temp_btn",
|
|
247
|
+
onClick: btnClick
|
|
248
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
249
|
+
size: 16
|
|
250
|
+
}, {
|
|
251
|
+
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))))]),
|
|
252
|
+
_: 1
|
|
253
|
+
/* STABLE */
|
|
254
|
+
|
|
255
|
+
})])]);
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
}));
|
|
260
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
261
|
+
|
|
262
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
267
|
+
|
|
268
|
+
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
269
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
270
|
+
var init_js_ = __webpack_require__(5406);
|
|
271
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
272
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
HeaderTemp.install = (Vue, opts) => {
|
|
277
|
+
init_js_default()(Vue, opts);
|
|
278
|
+
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
/***/ }),
|
|
284
|
+
|
|
285
|
+
/***/ 348:
|
|
286
|
+
/***/ (function(module) {
|
|
287
|
+
|
|
288
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
289
|
+
|
|
290
|
+
/***/ }),
|
|
291
|
+
|
|
130
292
|
/***/ 826:
|
|
131
293
|
/***/ (function(module) {
|
|
132
294
|
|
|
@@ -134,6 +296,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
134
296
|
|
|
135
297
|
/***/ }),
|
|
136
298
|
|
|
299
|
+
/***/ 9519:
|
|
300
|
+
/***/ (function(module) {
|
|
301
|
+
|
|
302
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
303
|
+
|
|
304
|
+
/***/ }),
|
|
305
|
+
|
|
137
306
|
/***/ 5406:
|
|
138
307
|
/***/ (function(module) {
|
|
139
308
|
|
|
@@ -257,30 +426,33 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
257
426
|
var gis_utils_ = __webpack_require__(826);
|
|
258
427
|
// EXTERNAL MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
|
|
259
428
|
var ExcavateFillAnalysisViewModel = __webpack_require__(5183);
|
|
429
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
430
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
431
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
432
|
+
var headertemp = __webpack_require__(519);
|
|
260
433
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/excavatefillanalysis/ExcavateFillAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
261
434
|
|
|
262
435
|
const _hoisted_1 = {
|
|
263
|
-
class: "kq3d-excavate-fill-analysis"
|
|
264
|
-
};
|
|
265
|
-
const _hoisted_2 = {
|
|
266
436
|
class: "kq3d-excavate-fill-analysis-content"
|
|
267
437
|
};
|
|
268
|
-
const
|
|
438
|
+
const _hoisted_2 = {
|
|
269
439
|
class: "kq3d-excavate-fill-analysis-footer"
|
|
270
440
|
};
|
|
271
|
-
const
|
|
272
|
-
key:
|
|
441
|
+
const _hoisted_3 = {
|
|
442
|
+
key: 1,
|
|
273
443
|
class: "kq3d-excavate-fill-analysis-result"
|
|
274
444
|
};
|
|
275
|
-
const
|
|
445
|
+
const _hoisted_4 = {
|
|
276
446
|
class: "kq3d-excavate-fill-analysis-result-div"
|
|
277
447
|
};
|
|
278
|
-
const
|
|
448
|
+
const _hoisted_5 = {
|
|
279
449
|
class: "title"
|
|
280
450
|
};
|
|
281
451
|
|
|
282
452
|
|
|
283
453
|
|
|
454
|
+
|
|
455
|
+
|
|
284
456
|
const __default__ = {
|
|
285
457
|
name: "Kq3dExcavateFillAnalysis"
|
|
286
458
|
};
|
|
@@ -289,6 +461,35 @@ const __default__ = {
|
|
|
289
461
|
// 设置参数
|
|
290
462
|
settingParams: {
|
|
291
463
|
type: Object
|
|
464
|
+
},
|
|
465
|
+
// 是否显示阴影效果
|
|
466
|
+
showShadow: {
|
|
467
|
+
type: Boolean,
|
|
468
|
+
default: true
|
|
469
|
+
},
|
|
470
|
+
// 是否生成HeaderTemp
|
|
471
|
+
showHeaderTemp: {
|
|
472
|
+
type: Boolean,
|
|
473
|
+
default: false
|
|
474
|
+
},
|
|
475
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
476
|
+
isCollapseHeaderTemp: {
|
|
477
|
+
type: Boolean,
|
|
478
|
+
default: false
|
|
479
|
+
},
|
|
480
|
+
// HeaderTemp标题
|
|
481
|
+
headerTempTitle: {
|
|
482
|
+
type: String
|
|
483
|
+
},
|
|
484
|
+
// HeaderTemp图标
|
|
485
|
+
headerTempIcon: {
|
|
486
|
+
type: [Object, String],
|
|
487
|
+
default: client_icons_vue_.IconExcavateFillAnalysis
|
|
488
|
+
},
|
|
489
|
+
// HeaderTemp Title&Icon的位置
|
|
490
|
+
isRight: {
|
|
491
|
+
type: Boolean,
|
|
492
|
+
default: true
|
|
292
493
|
}
|
|
293
494
|
},
|
|
294
495
|
|
|
@@ -441,7 +642,20 @@ const __default__ = {
|
|
|
441
642
|
|
|
442
643
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
443
644
|
|
|
444
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
645
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
646
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-excavate-fill-analysis", {
|
|
647
|
+
'kq-box-shadow': __props.showShadow
|
|
648
|
+
}])
|
|
649
|
+
}, [__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"]), {
|
|
650
|
+
key: 0,
|
|
651
|
+
showShadow: __props.showShadow,
|
|
652
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavateFillAnalysis,
|
|
653
|
+
headerTempIcon: __props.headerTempIcon,
|
|
654
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
655
|
+
isRight: __props.isRight
|
|
656
|
+
}, null, 8
|
|
657
|
+
/* PROPS */
|
|
658
|
+
, ["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, {
|
|
445
659
|
style: {
|
|
446
660
|
"display": "flex"
|
|
447
661
|
}
|
|
@@ -453,7 +667,7 @@ const __default__ = {
|
|
|
453
667
|
})
|
|
454
668
|
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).altitudeHeight), 5
|
|
455
669
|
/* TEXT, STYLE */
|
|
456
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
670
|
+
), (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_row, {
|
|
457
671
|
style: {
|
|
458
672
|
"display": "flex"
|
|
459
673
|
}
|
|
@@ -591,7 +805,7 @@ const __default__ = {
|
|
|
591
805
|
|
|
592
806
|
}, 8
|
|
593
807
|
/* PROPS */
|
|
594
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
808
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
595
809
|
onClick: _cache[8] || (_cache[8] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
596
810
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
597
811
|
type: "primary"
|
|
@@ -616,13 +830,13 @@ const __default__ = {
|
|
|
616
830
|
|
|
617
831
|
}, 8
|
|
618
832
|
/* PROPS */
|
|
619
|
-
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showResult) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
833
|
+
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showResult) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_3, [(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_row, {
|
|
620
834
|
class: "kq3d-excavate-fill-analysis-result-title"
|
|
621
835
|
}, {
|
|
622
836
|
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, {
|
|
623
837
|
span: 18
|
|
624
838
|
}, {
|
|
625
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
839
|
+
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_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analysisResult), 1
|
|
626
840
|
/* TEXT */
|
|
627
841
|
)]),
|
|
628
842
|
_: 1
|
|
@@ -646,7 +860,9 @@ const __default__ = {
|
|
|
646
860
|
_: 1
|
|
647
861
|
/* STABLE */
|
|
648
862
|
|
|
649
|
-
})])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]
|
|
863
|
+
})])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)], 2
|
|
864
|
+
/* CLASS */
|
|
865
|
+
);
|
|
650
866
|
};
|
|
651
867
|
}
|
|
652
868
|
|
package/flight/index.js
CHANGED
|
@@ -142,6 +142,161 @@ class FlightViewModel {
|
|
|
142
142
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
/***/ }),
|
|
146
|
+
|
|
147
|
+
/***/ 519:
|
|
148
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
// EXPORTS
|
|
152
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
153
|
+
"default": function() { return /* reexport */ HeaderTemp; }
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
157
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
158
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
159
|
+
var util_ = __webpack_require__(9519);
|
|
160
|
+
;// 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
|
|
161
|
+
|
|
162
|
+
const _hoisted_1 = {
|
|
163
|
+
class: "kq-control-header-temp"
|
|
164
|
+
};
|
|
165
|
+
const _hoisted_2 = {
|
|
166
|
+
class: "_title"
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
const __default__ = {
|
|
171
|
+
name: "Kq3dHeaderTemp"
|
|
172
|
+
};
|
|
173
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
174
|
+
props: {
|
|
175
|
+
// 是否显示阴影效果
|
|
176
|
+
showShadow: {
|
|
177
|
+
type: Boolean,
|
|
178
|
+
default: true
|
|
179
|
+
},
|
|
180
|
+
// HeaderTemp标题
|
|
181
|
+
headerTempTitle: {
|
|
182
|
+
type: String,
|
|
183
|
+
default: ""
|
|
184
|
+
},
|
|
185
|
+
// HeaderTemp图标
|
|
186
|
+
headerTempIcon: {
|
|
187
|
+
type: Object
|
|
188
|
+
},
|
|
189
|
+
// HeaderTemp是否折叠
|
|
190
|
+
isCollapse: {
|
|
191
|
+
type: Boolean,
|
|
192
|
+
default: false
|
|
193
|
+
},
|
|
194
|
+
// HeaderTemp Title&Icon的位置
|
|
195
|
+
isRight: {
|
|
196
|
+
type: Boolean,
|
|
197
|
+
default: true
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
|
|
201
|
+
setup(__props, {
|
|
202
|
+
expose
|
|
203
|
+
}) {
|
|
204
|
+
const props = __props;
|
|
205
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
206
|
+
// 图标组件
|
|
207
|
+
|
|
208
|
+
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
209
|
+
let isCollapse = props.isCollapse;
|
|
210
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
211
|
+
iconBtn.value = props.headerTempIcon;
|
|
212
|
+
let dom = proxy.parent.vnode.el;
|
|
213
|
+
|
|
214
|
+
if (!props.isRight) {
|
|
215
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
if (isCollapse) {
|
|
219
|
+
if (props.showShadow) {
|
|
220
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
221
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
222
|
+
} else {
|
|
223
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
224
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}); // 图标按钮点击事件
|
|
228
|
+
|
|
229
|
+
function btnClick() {
|
|
230
|
+
isCollapse = !isCollapse;
|
|
231
|
+
let dom = proxy.parent.vnode.el;
|
|
232
|
+
|
|
233
|
+
if (isCollapse) {
|
|
234
|
+
// 折叠
|
|
235
|
+
if (props.showShadow) {
|
|
236
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
237
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
238
|
+
} else {
|
|
239
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
240
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
241
|
+
}
|
|
242
|
+
} else {
|
|
243
|
+
// 展开
|
|
244
|
+
if (props.showShadow) {
|
|
245
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
246
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
247
|
+
} else {
|
|
248
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
249
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
expose({
|
|
255
|
+
btnClick
|
|
256
|
+
});
|
|
257
|
+
return (_ctx, _cache) => {
|
|
258
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
259
|
+
|
|
260
|
+
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
|
|
261
|
+
/* TEXT */
|
|
262
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
263
|
+
class: "_btn kq-control-header-temp_btn",
|
|
264
|
+
onClick: btnClick
|
|
265
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
266
|
+
size: 16
|
|
267
|
+
}, {
|
|
268
|
+
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))))]),
|
|
269
|
+
_: 1
|
|
270
|
+
/* STABLE */
|
|
271
|
+
|
|
272
|
+
})])]);
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
}));
|
|
277
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
278
|
+
|
|
279
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
284
|
+
|
|
285
|
+
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
286
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
287
|
+
var init_js_ = __webpack_require__(5406);
|
|
288
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
289
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
HeaderTemp.install = (Vue, opts) => {
|
|
294
|
+
init_js_default()(Vue, opts);
|
|
295
|
+
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
145
300
|
/***/ }),
|
|
146
301
|
|
|
147
302
|
/***/ 8422:
|
|
@@ -165,6 +320,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
165
320
|
|
|
166
321
|
/***/ }),
|
|
167
322
|
|
|
323
|
+
/***/ 9519:
|
|
324
|
+
/***/ (function(module) {
|
|
325
|
+
|
|
326
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
327
|
+
|
|
328
|
+
/***/ }),
|
|
329
|
+
|
|
168
330
|
/***/ 5406:
|
|
169
331
|
/***/ (function(module) {
|
|
170
332
|
|
|
@@ -294,10 +456,12 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
294
456
|
var gis_utils_ = __webpack_require__(826);
|
|
295
457
|
// EXTERNAL MODULE: ./src/webgl/flight/FlightViewModel.js
|
|
296
458
|
var FlightViewModel = __webpack_require__(5372);
|
|
459
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
460
|
+
var headertemp = __webpack_require__(519);
|
|
297
461
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/flight/Flight.vue?vue&type=script&setup=true&lang=js
|
|
298
462
|
|
|
299
463
|
const _hoisted_1 = {
|
|
300
|
-
key:
|
|
464
|
+
key: 1
|
|
301
465
|
};
|
|
302
466
|
const _hoisted_2 = {
|
|
303
467
|
class: "kq-flight3d-btns"
|
|
@@ -306,7 +470,7 @@ const _hoisted_3 = {
|
|
|
306
470
|
class: "kq-flight3d-list-title"
|
|
307
471
|
};
|
|
308
472
|
const _hoisted_4 = {
|
|
309
|
-
key:
|
|
473
|
+
key: 2
|
|
310
474
|
};
|
|
311
475
|
const _hoisted_5 = {
|
|
312
476
|
class: "kq-flight3d-add-title"
|
|
@@ -328,14 +492,16 @@ const _hoisted_8 = {
|
|
|
328
492
|
|
|
329
493
|
|
|
330
494
|
|
|
495
|
+
|
|
331
496
|
const __default__ = {
|
|
332
497
|
name: "Kq3dFlight"
|
|
333
498
|
};
|
|
334
499
|
/* harmony default export */ var Flightvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
335
500
|
props: {
|
|
501
|
+
// 是否显示阴影效果
|
|
336
502
|
showShadow: {
|
|
337
503
|
type: Boolean,
|
|
338
|
-
default:
|
|
504
|
+
default: true
|
|
339
505
|
},
|
|
340
506
|
// 加载外部飞行路径数据方法
|
|
341
507
|
loadFlightPath: {
|
|
@@ -348,6 +514,30 @@ const __default__ = {
|
|
|
348
514
|
// 外部删除飞行路径方法
|
|
349
515
|
deleteFlightPath: {
|
|
350
516
|
type: Function
|
|
517
|
+
},
|
|
518
|
+
// 是否生成HeaderTemp
|
|
519
|
+
showHeaderTemp: {
|
|
520
|
+
type: Boolean,
|
|
521
|
+
default: false
|
|
522
|
+
},
|
|
523
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
524
|
+
isCollapseHeaderTemp: {
|
|
525
|
+
type: Boolean,
|
|
526
|
+
default: false
|
|
527
|
+
},
|
|
528
|
+
// HeaderTemp标题
|
|
529
|
+
headerTempTitle: {
|
|
530
|
+
type: String
|
|
531
|
+
},
|
|
532
|
+
// HeaderTemp图标
|
|
533
|
+
headerTempIcon: {
|
|
534
|
+
type: [Object, String],
|
|
535
|
+
default: client_icons_vue_.IconFlight
|
|
536
|
+
},
|
|
537
|
+
// HeaderTemp Title&Icon的位置
|
|
538
|
+
isRight: {
|
|
539
|
+
type: Boolean,
|
|
540
|
+
default: true
|
|
351
541
|
}
|
|
352
542
|
},
|
|
353
543
|
|
|
@@ -728,7 +918,16 @@ const __default__ = {
|
|
|
728
918
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq-flight3d", {
|
|
729
919
|
'kq-box-shadow': __props.showShadow
|
|
730
920
|
}])
|
|
731
|
-
}, [
|
|
921
|
+
}, [__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"]), {
|
|
922
|
+
key: 0,
|
|
923
|
+
showShadow: __props.showShadow,
|
|
924
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).flight,
|
|
925
|
+
headerTempIcon: __props.headerTempIcon,
|
|
926
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
927
|
+
isRight: __props.isRight
|
|
928
|
+
}, null, 8
|
|
929
|
+
/* PROPS */
|
|
930
|
+
, ["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_.unref)(isAdd) ? ((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)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
732
931
|
onClick: addPath,
|
|
733
932
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).addPath
|
|
734
933
|
}, {
|
|
@@ -1131,7 +1330,7 @@ const __default__ = {
|
|
|
1131
1330
|
_: 1
|
|
1132
1331
|
/* STABLE */
|
|
1133
1332
|
|
|
1134
|
-
})])]))
|
|
1333
|
+
})])]))], 2
|
|
1135
1334
|
/* CLASS */
|
|
1136
1335
|
);
|
|
1137
1336
|
};
|