@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
|
@@ -82,6 +82,168 @@ class BaseterrainGalleryViewModel {
|
|
|
82
82
|
|
|
83
83
|
/***/ }),
|
|
84
84
|
|
|
85
|
+
/***/ 519:
|
|
86
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
// EXPORTS
|
|
90
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
91
|
+
"default": function() { return /* reexport */ HeaderTemp; }
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
95
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
96
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
97
|
+
var util_ = __webpack_require__(9519);
|
|
98
|
+
;// 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
|
|
99
|
+
|
|
100
|
+
const _hoisted_1 = {
|
|
101
|
+
class: "kq-control-header-temp"
|
|
102
|
+
};
|
|
103
|
+
const _hoisted_2 = {
|
|
104
|
+
class: "_title"
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
const __default__ = {
|
|
109
|
+
name: "Kq3dHeaderTemp"
|
|
110
|
+
};
|
|
111
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
112
|
+
props: {
|
|
113
|
+
// 是否显示阴影效果
|
|
114
|
+
showShadow: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
default: true
|
|
117
|
+
},
|
|
118
|
+
// HeaderTemp标题
|
|
119
|
+
headerTempTitle: {
|
|
120
|
+
type: String,
|
|
121
|
+
default: ""
|
|
122
|
+
},
|
|
123
|
+
// HeaderTemp图标
|
|
124
|
+
headerTempIcon: {
|
|
125
|
+
type: Object
|
|
126
|
+
},
|
|
127
|
+
// HeaderTemp是否折叠
|
|
128
|
+
isCollapse: {
|
|
129
|
+
type: Boolean,
|
|
130
|
+
default: false
|
|
131
|
+
},
|
|
132
|
+
// HeaderTemp Title&Icon的位置
|
|
133
|
+
isRight: {
|
|
134
|
+
type: Boolean,
|
|
135
|
+
default: true
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
setup(__props, {
|
|
140
|
+
expose
|
|
141
|
+
}) {
|
|
142
|
+
const props = __props;
|
|
143
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
144
|
+
// 图标组件
|
|
145
|
+
|
|
146
|
+
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
147
|
+
let isCollapse = props.isCollapse;
|
|
148
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
149
|
+
iconBtn.value = props.headerTempIcon;
|
|
150
|
+
let dom = proxy.parent.vnode.el;
|
|
151
|
+
|
|
152
|
+
if (!props.isRight) {
|
|
153
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (isCollapse) {
|
|
157
|
+
if (props.showShadow) {
|
|
158
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
159
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
160
|
+
} else {
|
|
161
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
162
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}); // 图标按钮点击事件
|
|
166
|
+
|
|
167
|
+
function btnClick() {
|
|
168
|
+
isCollapse = !isCollapse;
|
|
169
|
+
let dom = proxy.parent.vnode.el;
|
|
170
|
+
|
|
171
|
+
if (isCollapse) {
|
|
172
|
+
// 折叠
|
|
173
|
+
if (props.showShadow) {
|
|
174
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
175
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
176
|
+
} else {
|
|
177
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
178
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
179
|
+
}
|
|
180
|
+
} else {
|
|
181
|
+
// 展开
|
|
182
|
+
if (props.showShadow) {
|
|
183
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
184
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
185
|
+
} else {
|
|
186
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
187
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
expose({
|
|
193
|
+
btnClick
|
|
194
|
+
});
|
|
195
|
+
return (_ctx, _cache) => {
|
|
196
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
197
|
+
|
|
198
|
+
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
|
|
199
|
+
/* TEXT */
|
|
200
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
201
|
+
class: "_btn kq-control-header-temp_btn",
|
|
202
|
+
onClick: btnClick
|
|
203
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
204
|
+
size: 16
|
|
205
|
+
}, {
|
|
206
|
+
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))))]),
|
|
207
|
+
_: 1
|
|
208
|
+
/* STABLE */
|
|
209
|
+
|
|
210
|
+
})])]);
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
}));
|
|
215
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
216
|
+
|
|
217
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
222
|
+
|
|
223
|
+
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
224
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
225
|
+
var init_js_ = __webpack_require__(5406);
|
|
226
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
227
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
HeaderTemp.install = (Vue, opts) => {
|
|
232
|
+
init_js_default()(Vue, opts);
|
|
233
|
+
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
/***/ }),
|
|
239
|
+
|
|
240
|
+
/***/ 348:
|
|
241
|
+
/***/ (function(module) {
|
|
242
|
+
|
|
243
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
244
|
+
|
|
245
|
+
/***/ }),
|
|
246
|
+
|
|
85
247
|
/***/ 9702:
|
|
86
248
|
/***/ (function(module) {
|
|
87
249
|
|
|
@@ -96,6 +258,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
96
258
|
|
|
97
259
|
/***/ }),
|
|
98
260
|
|
|
261
|
+
/***/ 9519:
|
|
262
|
+
/***/ (function(module) {
|
|
263
|
+
|
|
264
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
265
|
+
|
|
266
|
+
/***/ }),
|
|
267
|
+
|
|
99
268
|
/***/ 5406:
|
|
100
269
|
/***/ (function(module) {
|
|
101
270
|
|
|
@@ -221,38 +390,41 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
221
390
|
var BaseterrainGalleryViewModel = __webpack_require__(2109);
|
|
222
391
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
223
392
|
var const_image_ = __webpack_require__(9702);
|
|
393
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
394
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
395
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
396
|
+
var headertemp = __webpack_require__(519);
|
|
224
397
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
225
398
|
|
|
226
399
|
const _hoisted_1 = {
|
|
227
|
-
class: "kq3d-baseterrain-gallery"
|
|
228
|
-
};
|
|
229
|
-
const _hoisted_2 = {
|
|
230
400
|
class: "divSpan"
|
|
231
401
|
};
|
|
232
|
-
const
|
|
402
|
+
const _hoisted_2 = {
|
|
233
403
|
class: "divImg"
|
|
234
404
|
};
|
|
235
|
-
const
|
|
236
|
-
const
|
|
405
|
+
const _hoisted_3 = ["src"];
|
|
406
|
+
const _hoisted_4 = {
|
|
237
407
|
class: "divText"
|
|
238
408
|
};
|
|
239
|
-
const
|
|
409
|
+
const _hoisted_5 = {
|
|
240
410
|
class: "text"
|
|
241
411
|
};
|
|
242
|
-
const
|
|
412
|
+
const _hoisted_6 = {
|
|
243
413
|
class: "divImg"
|
|
244
414
|
};
|
|
245
|
-
const
|
|
246
|
-
const
|
|
415
|
+
const _hoisted_7 = ["src"];
|
|
416
|
+
const _hoisted_8 = {
|
|
247
417
|
class: "divText"
|
|
248
418
|
};
|
|
249
|
-
const
|
|
419
|
+
const _hoisted_9 = {
|
|
250
420
|
class: "text"
|
|
251
421
|
};
|
|
252
422
|
|
|
253
423
|
|
|
254
424
|
|
|
255
425
|
|
|
426
|
+
|
|
427
|
+
|
|
256
428
|
const __default__ = {
|
|
257
429
|
name: "Kq3dBaseterrainGallery"
|
|
258
430
|
};
|
|
@@ -261,6 +433,34 @@ const __default__ = {
|
|
|
261
433
|
selectIndex: {
|
|
262
434
|
type: Number,
|
|
263
435
|
default: 2
|
|
436
|
+
},
|
|
437
|
+
showShadow: {
|
|
438
|
+
type: Boolean,
|
|
439
|
+
default: true
|
|
440
|
+
},
|
|
441
|
+
// 是否生成HeaderTemp
|
|
442
|
+
showHeaderTemp: {
|
|
443
|
+
type: Boolean,
|
|
444
|
+
default: false
|
|
445
|
+
},
|
|
446
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
447
|
+
isCollapseHeaderTemp: {
|
|
448
|
+
type: Boolean,
|
|
449
|
+
default: false
|
|
450
|
+
},
|
|
451
|
+
// HeaderTemp标题
|
|
452
|
+
headerTempTitle: {
|
|
453
|
+
type: String
|
|
454
|
+
},
|
|
455
|
+
// HeaderTemp图标
|
|
456
|
+
headerTempIcon: {
|
|
457
|
+
type: [Object, String],
|
|
458
|
+
default: client_icons_vue_.IconBaseterrainGallery
|
|
459
|
+
},
|
|
460
|
+
// HeaderTemp Title&Icon的位置
|
|
461
|
+
isRight: {
|
|
462
|
+
type: Boolean,
|
|
463
|
+
default: true
|
|
264
464
|
}
|
|
265
465
|
},
|
|
266
466
|
|
|
@@ -338,7 +538,20 @@ const __default__ = {
|
|
|
338
538
|
|
|
339
539
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
340
540
|
|
|
341
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
541
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
542
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-baseterrain-gallery", {
|
|
543
|
+
'kq-box-shadow': __props.showShadow
|
|
544
|
+
}])
|
|
545
|
+
}, [__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"]), {
|
|
546
|
+
key: 0,
|
|
547
|
+
showShadow: __props.showShadow,
|
|
548
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).onlineTerrain,
|
|
549
|
+
headerTempIcon: __props.headerTempIcon,
|
|
550
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
551
|
+
isRight: __props.isRight
|
|
552
|
+
}, null, 8
|
|
553
|
+
/* PROPS */
|
|
554
|
+
, ["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, {
|
|
342
555
|
style: {
|
|
343
556
|
"line-height": "48px",
|
|
344
557
|
"height": "48px"
|
|
@@ -347,7 +560,7 @@ const __default__ = {
|
|
|
347
560
|
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_form_item, {
|
|
348
561
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).onlineTerrain
|
|
349
562
|
}, {
|
|
350
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
563
|
+
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_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentTerrain)), 1
|
|
351
564
|
/* TEXT */
|
|
352
565
|
)]),
|
|
353
566
|
_: 1
|
|
@@ -368,12 +581,12 @@ const __default__ = {
|
|
|
368
581
|
onClick: _cache[0] || (_cache[0] = $event => clickHandler(1)),
|
|
369
582
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentIndex) == 1 ? 'active' : '')
|
|
370
583
|
}, {
|
|
371
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
584
|
+
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_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
372
585
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.CESIUM_TERRAiIN_URL),
|
|
373
586
|
alt: ""
|
|
374
587
|
}, null, 8
|
|
375
588
|
/* PROPS */
|
|
376
|
-
,
|
|
589
|
+
, _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_.createElementVNode)("div", _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).cesiumTerrain), 1
|
|
377
590
|
/* TEXT */
|
|
378
591
|
)])]),
|
|
379
592
|
_: 1
|
|
@@ -385,12 +598,12 @@ const __default__ = {
|
|
|
385
598
|
onClick: _cache[1] || (_cache[1] = $event => clickHandler(2)),
|
|
386
599
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentIndex) == 2 ? 'active' : '')
|
|
387
600
|
}, {
|
|
388
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
601
|
+
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_6, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
389
602
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.NO_TERRAiIN_URL),
|
|
390
603
|
alt: ""
|
|
391
604
|
}, null, 8
|
|
392
605
|
/* PROPS */
|
|
393
|
-
,
|
|
606
|
+
, _hoisted_7)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_8, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_9, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).ellipsoidTerrain), 1
|
|
394
607
|
/* TEXT */
|
|
395
608
|
)])]),
|
|
396
609
|
_: 1
|
|
@@ -410,7 +623,9 @@ const __default__ = {
|
|
|
410
623
|
_: 1
|
|
411
624
|
/* STABLE */
|
|
412
625
|
|
|
413
|
-
})]
|
|
626
|
+
})], 2
|
|
627
|
+
/* CLASS */
|
|
628
|
+
);
|
|
414
629
|
};
|
|
415
630
|
}
|
|
416
631
|
|
package/boxclip/index.js
CHANGED
|
@@ -204,6 +204,168 @@ class BoxClipViewModel {
|
|
|
204
204
|
|
|
205
205
|
/***/ }),
|
|
206
206
|
|
|
207
|
+
/***/ 519:
|
|
208
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
// EXPORTS
|
|
212
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
213
|
+
"default": function() { return /* reexport */ HeaderTemp; }
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
217
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
218
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
219
|
+
var util_ = __webpack_require__(9519);
|
|
220
|
+
;// 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
|
|
221
|
+
|
|
222
|
+
const _hoisted_1 = {
|
|
223
|
+
class: "kq-control-header-temp"
|
|
224
|
+
};
|
|
225
|
+
const _hoisted_2 = {
|
|
226
|
+
class: "_title"
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
const __default__ = {
|
|
231
|
+
name: "Kq3dHeaderTemp"
|
|
232
|
+
};
|
|
233
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
234
|
+
props: {
|
|
235
|
+
// 是否显示阴影效果
|
|
236
|
+
showShadow: {
|
|
237
|
+
type: Boolean,
|
|
238
|
+
default: true
|
|
239
|
+
},
|
|
240
|
+
// HeaderTemp标题
|
|
241
|
+
headerTempTitle: {
|
|
242
|
+
type: String,
|
|
243
|
+
default: ""
|
|
244
|
+
},
|
|
245
|
+
// HeaderTemp图标
|
|
246
|
+
headerTempIcon: {
|
|
247
|
+
type: Object
|
|
248
|
+
},
|
|
249
|
+
// HeaderTemp是否折叠
|
|
250
|
+
isCollapse: {
|
|
251
|
+
type: Boolean,
|
|
252
|
+
default: false
|
|
253
|
+
},
|
|
254
|
+
// HeaderTemp Title&Icon的位置
|
|
255
|
+
isRight: {
|
|
256
|
+
type: Boolean,
|
|
257
|
+
default: true
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
|
|
261
|
+
setup(__props, {
|
|
262
|
+
expose
|
|
263
|
+
}) {
|
|
264
|
+
const props = __props;
|
|
265
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
266
|
+
// 图标组件
|
|
267
|
+
|
|
268
|
+
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
269
|
+
let isCollapse = props.isCollapse;
|
|
270
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
271
|
+
iconBtn.value = props.headerTempIcon;
|
|
272
|
+
let dom = proxy.parent.vnode.el;
|
|
273
|
+
|
|
274
|
+
if (!props.isRight) {
|
|
275
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
if (isCollapse) {
|
|
279
|
+
if (props.showShadow) {
|
|
280
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
281
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
282
|
+
} else {
|
|
283
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
284
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}); // 图标按钮点击事件
|
|
288
|
+
|
|
289
|
+
function btnClick() {
|
|
290
|
+
isCollapse = !isCollapse;
|
|
291
|
+
let dom = proxy.parent.vnode.el;
|
|
292
|
+
|
|
293
|
+
if (isCollapse) {
|
|
294
|
+
// 折叠
|
|
295
|
+
if (props.showShadow) {
|
|
296
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
297
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
298
|
+
} else {
|
|
299
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
300
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
301
|
+
}
|
|
302
|
+
} else {
|
|
303
|
+
// 展开
|
|
304
|
+
if (props.showShadow) {
|
|
305
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
306
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
307
|
+
} else {
|
|
308
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
309
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
expose({
|
|
315
|
+
btnClick
|
|
316
|
+
});
|
|
317
|
+
return (_ctx, _cache) => {
|
|
318
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
319
|
+
|
|
320
|
+
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
|
|
321
|
+
/* TEXT */
|
|
322
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
323
|
+
class: "_btn kq-control-header-temp_btn",
|
|
324
|
+
onClick: btnClick
|
|
325
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
326
|
+
size: 16
|
|
327
|
+
}, {
|
|
328
|
+
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))))]),
|
|
329
|
+
_: 1
|
|
330
|
+
/* STABLE */
|
|
331
|
+
|
|
332
|
+
})])]);
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
}));
|
|
337
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
338
|
+
|
|
339
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
344
|
+
|
|
345
|
+
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
346
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
347
|
+
var init_js_ = __webpack_require__(5406);
|
|
348
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
349
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
HeaderTemp.install = (Vue, opts) => {
|
|
354
|
+
init_js_default()(Vue, opts);
|
|
355
|
+
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
/***/ }),
|
|
361
|
+
|
|
362
|
+
/***/ 348:
|
|
363
|
+
/***/ (function(module) {
|
|
364
|
+
|
|
365
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
366
|
+
|
|
367
|
+
/***/ }),
|
|
368
|
+
|
|
207
369
|
/***/ 826:
|
|
208
370
|
/***/ (function(module) {
|
|
209
371
|
|
|
@@ -211,6 +373,13 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
211
373
|
|
|
212
374
|
/***/ }),
|
|
213
375
|
|
|
376
|
+
/***/ 9519:
|
|
377
|
+
/***/ (function(module) {
|
|
378
|
+
|
|
379
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
380
|
+
|
|
381
|
+
/***/ }),
|
|
382
|
+
|
|
214
383
|
/***/ 5406:
|
|
215
384
|
/***/ (function(module) {
|
|
216
385
|
|
|
@@ -334,23 +503,26 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
334
503
|
var gis_utils_ = __webpack_require__(826);
|
|
335
504
|
// EXTERNAL MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
|
|
336
505
|
var BoxClipViewModel = __webpack_require__(219);
|
|
506
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
507
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
508
|
+
// EXTERNAL MODULE: ./src/webgl/headertemp/index.js + 3 modules
|
|
509
|
+
var headertemp = __webpack_require__(519);
|
|
337
510
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
|
|
338
511
|
|
|
339
512
|
const _hoisted_1 = {
|
|
340
|
-
class: "kq3d-box-clip"
|
|
513
|
+
class: "kq3d-box-clip-span"
|
|
341
514
|
};
|
|
342
515
|
const _hoisted_2 = {
|
|
343
516
|
class: "kq3d-box-clip-span"
|
|
344
517
|
};
|
|
345
518
|
const _hoisted_3 = {
|
|
346
|
-
class: "kq3d-box-clip-span"
|
|
347
|
-
};
|
|
348
|
-
const _hoisted_4 = {
|
|
349
519
|
class: "kq3d-box-clip-footer"
|
|
350
520
|
};
|
|
351
521
|
|
|
352
522
|
|
|
353
523
|
|
|
524
|
+
|
|
525
|
+
|
|
354
526
|
const __default__ = {
|
|
355
527
|
name: "Kq3dBoxClip"
|
|
356
528
|
};
|
|
@@ -359,6 +531,35 @@ const __default__ = {
|
|
|
359
531
|
// 设置参数
|
|
360
532
|
settingParams: {
|
|
361
533
|
type: Object
|
|
534
|
+
},
|
|
535
|
+
// 是否显示阴影效果
|
|
536
|
+
showShadow: {
|
|
537
|
+
type: Boolean,
|
|
538
|
+
default: true
|
|
539
|
+
},
|
|
540
|
+
// 是否生成HeaderTemp
|
|
541
|
+
showHeaderTemp: {
|
|
542
|
+
type: Boolean,
|
|
543
|
+
default: false
|
|
544
|
+
},
|
|
545
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
546
|
+
isCollapseHeaderTemp: {
|
|
547
|
+
type: Boolean,
|
|
548
|
+
default: false
|
|
549
|
+
},
|
|
550
|
+
// HeaderTemp标题
|
|
551
|
+
headerTempTitle: {
|
|
552
|
+
type: String
|
|
553
|
+
},
|
|
554
|
+
// HeaderTemp图标
|
|
555
|
+
headerTempIcon: {
|
|
556
|
+
type: [Object, String],
|
|
557
|
+
default: client_icons_vue_.IconBoxClip
|
|
558
|
+
},
|
|
559
|
+
// HeaderTemp Title&Icon的位置
|
|
560
|
+
isRight: {
|
|
561
|
+
type: Boolean,
|
|
562
|
+
default: true
|
|
362
563
|
}
|
|
363
564
|
},
|
|
364
565
|
|
|
@@ -520,7 +721,20 @@ const __default__ = {
|
|
|
520
721
|
|
|
521
722
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
522
723
|
|
|
523
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section",
|
|
724
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
725
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-box-clip", {
|
|
726
|
+
'kq-box-shadow': __props.showShadow
|
|
727
|
+
}])
|
|
728
|
+
}, [__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"]), {
|
|
729
|
+
key: 0,
|
|
730
|
+
showShadow: __props.showShadow,
|
|
731
|
+
headerTempTitle: __props.headerTempTitle || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).boxClip,
|
|
732
|
+
headerTempIcon: __props.headerTempIcon,
|
|
733
|
+
isCollapse: __props.isCollapseHeaderTemp,
|
|
734
|
+
isRight: __props.isRight
|
|
735
|
+
}, null, 8
|
|
736
|
+
/* PROPS */
|
|
737
|
+
, ["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, {
|
|
524
738
|
gutter: 20,
|
|
525
739
|
class: "rowClass"
|
|
526
740
|
}, {
|
|
@@ -528,7 +742,7 @@ const __default__ = {
|
|
|
528
742
|
span: 6,
|
|
529
743
|
class: "colClass"
|
|
530
744
|
}, {
|
|
531
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
745
|
+
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
|
|
532
746
|
/* TEXT */
|
|
533
747
|
)]),
|
|
534
748
|
_: 1
|
|
@@ -581,7 +795,7 @@ const __default__ = {
|
|
|
581
795
|
span: 6,
|
|
582
796
|
class: "colClass"
|
|
583
797
|
}, {
|
|
584
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span",
|
|
798
|
+
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).clipPattern), 1
|
|
585
799
|
/* TEXT */
|
|
586
800
|
)]),
|
|
587
801
|
_: 1
|
|
@@ -1110,7 +1324,7 @@ const __default__ = {
|
|
|
1110
1324
|
|
|
1111
1325
|
}, 8
|
|
1112
1326
|
/* PROPS */
|
|
1113
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
1327
|
+
, ["model-value"]), (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, {
|
|
1114
1328
|
onClick: _cache[38] || (_cache[38] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
1115
1329
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
1116
1330
|
type: "primary"
|
|
@@ -1135,7 +1349,9 @@ const __default__ = {
|
|
|
1135
1349
|
|
|
1136
1350
|
}, 8
|
|
1137
1351
|
/* PROPS */
|
|
1138
|
-
, ["title"])])]
|
|
1352
|
+
, ["title"])])], 2
|
|
1353
|
+
/* CLASS */
|
|
1354
|
+
);
|
|
1139
1355
|
};
|
|
1140
1356
|
}
|
|
1141
1357
|
|